<!DOCTYPE html>
<html>
<head><meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>README</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>




<style type="text/css">
    pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: var(--jp-cell-editor-active-background) }
.highlight { background: var(--jp-cell-editor-background); color: var(--jp-mirror-editor-variable-color) }
.highlight .c { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment */
.highlight .err { color: var(--jp-mirror-editor-error-color) } /* Error */
.highlight .k { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword */
.highlight .o { color: var(--jp-mirror-editor-operator-color); font-weight: bold } /* Operator */
.highlight .p { color: var(--jp-mirror-editor-punctuation-color) } /* Punctuation */
.highlight .ch { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.Multiline */
.highlight .cp { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.Preproc */
.highlight .cpf { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.Single */
.highlight .cs { color: var(--jp-mirror-editor-comment-color); font-style: italic } /* Comment.Special */
.highlight .kc { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: var(--jp-mirror-editor-keyword-color); font-weight: bold } /* Keyword.Type */
.highlight .m { color: var(--jp-mirror-editor-number-color) } /* Literal.Number */
.highlight .s { color: var(--jp-mirror-editor-string-color) } /* Literal.String */
.highlight .ow { color: var(--jp-mirror-editor-operator-color); font-weight: bold } /* Operator.Word */
.highlight .w { color: var(--jp-mirror-editor-variable-color) } /* Text.Whitespace */
.highlight .mb { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Bin */
.highlight .mf { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Float */
.highlight .mh { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Hex */
.highlight .mi { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Integer */
.highlight .mo { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Oct */
.highlight .sa { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Affix */
.highlight .sb { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Backtick */
.highlight .sc { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Char */
.highlight .dl { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Delimiter */
.highlight .sd { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Doc */
.highlight .s2 { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Double */
.highlight .se { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Escape */
.highlight .sh { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Heredoc */
.highlight .si { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Interpol */
.highlight .sx { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Other */
.highlight .sr { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Regex */
.highlight .s1 { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Single */
.highlight .ss { color: var(--jp-mirror-editor-string-color) } /* Literal.String.Symbol */
.highlight .il { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Integer.Long */
  </style>



<style type="text/css">
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*
 * Mozilla scrollbar styling
 */

/* use standard opaque scrollbars for most nodes */
[data-jp-theme-scrollbars='true'] {
  scrollbar-color: rgb(var(--jp-scrollbar-thumb-color))
    var(--jp-scrollbar-background-color);
}

/* for code nodes, use a transparent style of scrollbar. These selectors
 * will match lower in the tree, and so will override the above */
[data-jp-theme-scrollbars='true'] .CodeMirror-hscrollbar,
[data-jp-theme-scrollbars='true'] .CodeMirror-vscrollbar {
  scrollbar-color: rgba(var(--jp-scrollbar-thumb-color), 0.5) transparent;
}

/* tiny scrollbar */

.jp-scrollbar-tiny {
  scrollbar-color: rgba(var(--jp-scrollbar-thumb-color), 0.5) transparent;
  scrollbar-width: thin;
}

/*
 * Webkit scrollbar styling
 */

/* use standard opaque scrollbars for most nodes */

[data-jp-theme-scrollbars='true'] ::-webkit-scrollbar,
[data-jp-theme-scrollbars='true'] ::-webkit-scrollbar-corner {
  background: var(--jp-scrollbar-background-color);
}

[data-jp-theme-scrollbars='true'] ::-webkit-scrollbar-thumb {
  background: rgb(var(--jp-scrollbar-thumb-color));
  border: var(--jp-scrollbar-thumb-margin) solid transparent;
  background-clip: content-box;
  border-radius: var(--jp-scrollbar-thumb-radius);
}

[data-jp-theme-scrollbars='true'] ::-webkit-scrollbar-track:horizontal {
  border-left: var(--jp-scrollbar-endpad) solid
    var(--jp-scrollbar-background-color);
  border-right: var(--jp-scrollbar-endpad) solid
    var(--jp-scrollbar-background-color);
}

[data-jp-theme-scrollbars='true'] ::-webkit-scrollbar-track:vertical {
  border-top: var(--jp-scrollbar-endpad) solid
    var(--jp-scrollbar-background-color);
  border-bottom: var(--jp-scrollbar-endpad) solid
    var(--jp-scrollbar-background-color);
}

/* for code nodes, use a transparent style of scrollbar */

[data-jp-theme-scrollbars='true'] .CodeMirror-hscrollbar::-webkit-scrollbar,
[data-jp-theme-scrollbars='true'] .CodeMirror-vscrollbar::-webkit-scrollbar,
[data-jp-theme-scrollbars='true']
  .CodeMirror-hscrollbar::-webkit-scrollbar-corner,
[data-jp-theme-scrollbars='true']
  .CodeMirror-vscrollbar::-webkit-scrollbar-corner {
  background-color: transparent;
}

[data-jp-theme-scrollbars='true']
  .CodeMirror-hscrollbar::-webkit-scrollbar-thumb,
[data-jp-theme-scrollbars='true']
  .CodeMirror-vscrollbar::-webkit-scrollbar-thumb {
  background: rgba(var(--jp-scrollbar-thumb-color), 0.5);
  border: var(--jp-scrollbar-thumb-margin) solid transparent;
  background-clip: content-box;
  border-radius: var(--jp-scrollbar-thumb-radius);
}

[data-jp-theme-scrollbars='true']
  .CodeMirror-hscrollbar::-webkit-scrollbar-track:horizontal {
  border-left: var(--jp-scrollbar-endpad) solid transparent;
  border-right: var(--jp-scrollbar-endpad) solid transparent;
}

[data-jp-theme-scrollbars='true']
  .CodeMirror-vscrollbar::-webkit-scrollbar-track:vertical {
  border-top: var(--jp-scrollbar-endpad) solid transparent;
  border-bottom: var(--jp-scrollbar-endpad) solid transparent;
}

/* tiny scrollbar */

.jp-scrollbar-tiny::-webkit-scrollbar,
.jp-scrollbar-tiny::-webkit-scrollbar-corner {
  background-color: transparent;
  height: 4px;
  width: 4px;
}

.jp-scrollbar-tiny::-webkit-scrollbar-thumb {
  background: rgba(var(--jp-scrollbar-thumb-color), 0.5);
}

.jp-scrollbar-tiny::-webkit-scrollbar-track:horizontal {
  border-left: 0px solid transparent;
  border-right: 0px solid transparent;
}

.jp-scrollbar-tiny::-webkit-scrollbar-track:vertical {
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
}

/*
 * Phosphor
 */

.lm-ScrollBar[data-orientation='horizontal'] {
  min-height: 16px;
  max-height: 16px;
  min-width: 45px;
  border-top: 1px solid #a0a0a0;
}

.lm-ScrollBar[data-orientation='vertical'] {
  min-width: 16px;
  max-width: 16px;
  min-height: 45px;
  border-left: 1px solid #a0a0a0;
}

.lm-ScrollBar-button {
  background-color: #f0f0f0;
  background-position: center center;
  min-height: 15px;
  max-height: 15px;
  min-width: 15px;
  max-width: 15px;
}

.lm-ScrollBar-button:hover {
  background-color: #dadada;
}

.lm-ScrollBar-button.lm-mod-active {
  background-color: #cdcdcd;
}

.lm-ScrollBar-track {
  background: #f0f0f0;
}

.lm-ScrollBar-thumb {
  background: #cdcdcd;
}

.lm-ScrollBar-thumb:hover {
  background: #bababa;
}

.lm-ScrollBar-thumb.lm-mod-active {
  background: #a0a0a0;
}

.lm-ScrollBar[data-orientation='horizontal'] .lm-ScrollBar-thumb {
  height: 100%;
  min-width: 15px;
  border-left: 1px solid #a0a0a0;
  border-right: 1px solid #a0a0a0;
}

.lm-ScrollBar[data-orientation='vertical'] .lm-ScrollBar-thumb {
  width: 100%;
  min-height: 15px;
  border-top: 1px solid #a0a0a0;
  border-bottom: 1px solid #a0a0a0;
}

.lm-ScrollBar[data-orientation='horizontal']
  .lm-ScrollBar-button[data-action='decrement'] {
  background-image: var(--jp-icon-caret-left);
  background-size: 17px;
}

.lm-ScrollBar[data-orientation='horizontal']
  .lm-ScrollBar-button[data-action='increment'] {
  background-image: var(--jp-icon-caret-right);
  background-size: 17px;
}

.lm-ScrollBar[data-orientation='vertical']
  .lm-ScrollBar-button[data-action='decrement'] {
  background-image: var(--jp-icon-caret-up);
  background-size: 17px;
}

.lm-ScrollBar[data-orientation='vertical']
  .lm-ScrollBar-button[data-action='increment'] {
  background-image: var(--jp-icon-caret-down);
  background-size: 17px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-Widget, /* </DEPRECATED> */
.lm-Widget {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: default;
}


/* <DEPRECATED> */ .p-Widget.p-mod-hidden, /* </DEPRECATED> */
.lm-Widget.lm-mod-hidden {
  display: none !important;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-CommandPalette, /* </DEPRECATED> */
.lm-CommandPalette {
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* <DEPRECATED> */ .p-CommandPalette-search, /* </DEPRECATED> */
.lm-CommandPalette-search {
  flex: 0 0 auto;
}


/* <DEPRECATED> */ .p-CommandPalette-content, /* </DEPRECATED> */
.lm-CommandPalette-content {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow: auto;
  list-style-type: none;
}


/* <DEPRECATED> */ .p-CommandPalette-header, /* </DEPRECATED> */
.lm-CommandPalette-header {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


/* <DEPRECATED> */ .p-CommandPalette-item, /* </DEPRECATED> */
.lm-CommandPalette-item {
  display: flex;
  flex-direction: row;
}


/* <DEPRECATED> */ .p-CommandPalette-itemIcon, /* </DEPRECATED> */
.lm-CommandPalette-itemIcon {
  flex: 0 0 auto;
}


/* <DEPRECATED> */ .p-CommandPalette-itemContent, /* </DEPRECATED> */
.lm-CommandPalette-itemContent {
  flex: 1 1 auto;
  overflow: hidden;
}


/* <DEPRECATED> */ .p-CommandPalette-itemShortcut, /* </DEPRECATED> */
.lm-CommandPalette-itemShortcut {
  flex: 0 0 auto;
}


/* <DEPRECATED> */ .p-CommandPalette-itemLabel, /* </DEPRECATED> */
.lm-CommandPalette-itemLabel {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lm-close-icon {
	border:1px solid transparent;
  background-color: transparent;
  position: absolute;
	z-index:1;
	right:3%;
	top: 0;
	bottom: 0;
	margin: auto;
	padding: 7px 0;
	display: none;
	vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.lm-close-icon:after {
	content: "X";
	display: block;
	width: 15px;
	height: 15px;
	text-align: center;
	color:#000;
	font-weight: normal;
	font-size: 12px;
	cursor: pointer;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-DockPanel, /* </DEPRECATED> */
.lm-DockPanel {
  z-index: 0;
}


/* <DEPRECATED> */ .p-DockPanel-widget, /* </DEPRECATED> */
.lm-DockPanel-widget {
  z-index: 0;
}


/* <DEPRECATED> */ .p-DockPanel-tabBar, /* </DEPRECATED> */
.lm-DockPanel-tabBar {
  z-index: 1;
}


/* <DEPRECATED> */ .p-DockPanel-handle, /* </DEPRECATED> */
.lm-DockPanel-handle {
  z-index: 2;
}


/* <DEPRECATED> */ .p-DockPanel-handle.p-mod-hidden, /* </DEPRECATED> */
.lm-DockPanel-handle.lm-mod-hidden {
  display: none !important;
}


/* <DEPRECATED> */ .p-DockPanel-handle:after, /* </DEPRECATED> */
.lm-DockPanel-handle:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
}


/* <DEPRECATED> */
.p-DockPanel-handle[data-orientation='horizontal'],
/* </DEPRECATED> */
.lm-DockPanel-handle[data-orientation='horizontal'] {
  cursor: ew-resize;
}


/* <DEPRECATED> */
.p-DockPanel-handle[data-orientation='vertical'],
/* </DEPRECATED> */
.lm-DockPanel-handle[data-orientation='vertical'] {
  cursor: ns-resize;
}


/* <DEPRECATED> */
.p-DockPanel-handle[data-orientation='horizontal']:after,
/* </DEPRECATED> */
.lm-DockPanel-handle[data-orientation='horizontal']:after {
  left: 50%;
  min-width: 8px;
  transform: translateX(-50%);
}


/* <DEPRECATED> */
.p-DockPanel-handle[data-orientation='vertical']:after,
/* </DEPRECATED> */
.lm-DockPanel-handle[data-orientation='vertical']:after {
  top: 50%;
  min-height: 8px;
  transform: translateY(-50%);
}


/* <DEPRECATED> */ .p-DockPanel-overlay, /* </DEPRECATED> */
.lm-DockPanel-overlay {
  z-index: 3;
  box-sizing: border-box;
  pointer-events: none;
}


/* <DEPRECATED> */ .p-DockPanel-overlay.p-mod-hidden, /* </DEPRECATED> */
.lm-DockPanel-overlay.lm-mod-hidden {
  display: none !important;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-Menu, /* </DEPRECATED> */
.lm-Menu {
  z-index: 10000;
  position: absolute;
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: auto;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* <DEPRECATED> */ .p-Menu-content, /* </DEPRECATED> */
.lm-Menu-content {
  margin: 0;
  padding: 0;
  display: table;
  list-style-type: none;
}


/* <DEPRECATED> */ .p-Menu-item, /* </DEPRECATED> */
.lm-Menu-item {
  display: table-row;
}


/* <DEPRECATED> */
.p-Menu-item.p-mod-hidden,
.p-Menu-item.p-mod-collapsed,
/* </DEPRECATED> */
.lm-Menu-item.lm-mod-hidden,
.lm-Menu-item.lm-mod-collapsed {
  display: none !important;
}


/* <DEPRECATED> */
.p-Menu-itemIcon,
.p-Menu-itemSubmenuIcon,
/* </DEPRECATED> */
.lm-Menu-itemIcon,
.lm-Menu-itemSubmenuIcon {
  display: table-cell;
  text-align: center;
}


/* <DEPRECATED> */ .p-Menu-itemLabel, /* </DEPRECATED> */
.lm-Menu-itemLabel {
  display: table-cell;
  text-align: left;
}


/* <DEPRECATED> */ .p-Menu-itemShortcut, /* </DEPRECATED> */
.lm-Menu-itemShortcut {
  display: table-cell;
  text-align: right;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-MenuBar, /* </DEPRECATED> */
.lm-MenuBar {
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* <DEPRECATED> */ .p-MenuBar-content, /* </DEPRECATED> */
.lm-MenuBar-content {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  list-style-type: none;
}


/* <DEPRECATED> */ .p--MenuBar-item, /* </DEPRECATED> */
.lm-MenuBar-item {
  box-sizing: border-box;
}


/* <DEPRECATED> */
.p-MenuBar-itemIcon,
.p-MenuBar-itemLabel,
/* </DEPRECATED> */
.lm-MenuBar-itemIcon,
.lm-MenuBar-itemLabel {
  display: inline-block;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-ScrollBar, /* </DEPRECATED> */
.lm-ScrollBar {
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* <DEPRECATED> */
.p-ScrollBar[data-orientation='horizontal'],
/* </DEPRECATED> */
.lm-ScrollBar[data-orientation='horizontal'] {
  flex-direction: row;
}


/* <DEPRECATED> */
.p-ScrollBar[data-orientation='vertical'],
/* </DEPRECATED> */
.lm-ScrollBar[data-orientation='vertical'] {
  flex-direction: column;
}


/* <DEPRECATED> */ .p-ScrollBar-button, /* </DEPRECATED> */
.lm-ScrollBar-button {
  box-sizing: border-box;
  flex: 0 0 auto;
}


/* <DEPRECATED> */ .p-ScrollBar-track, /* </DEPRECATED> */
.lm-ScrollBar-track {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
}


/* <DEPRECATED> */ .p-ScrollBar-thumb, /* </DEPRECATED> */
.lm-ScrollBar-thumb {
  box-sizing: border-box;
  position: absolute;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-SplitPanel-child, /* </DEPRECATED> */
.lm-SplitPanel-child {
  z-index: 0;
}


/* <DEPRECATED> */ .p-SplitPanel-handle, /* </DEPRECATED> */
.lm-SplitPanel-handle {
  z-index: 1;
}


/* <DEPRECATED> */ .p-SplitPanel-handle.p-mod-hidden, /* </DEPRECATED> */
.lm-SplitPanel-handle.lm-mod-hidden {
  display: none !important;
}


/* <DEPRECATED> */ .p-SplitPanel-handle:after, /* </DEPRECATED> */
.lm-SplitPanel-handle:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
}


/* <DEPRECATED> */
.p-SplitPanel[data-orientation='horizontal'] > .p-SplitPanel-handle,
/* </DEPRECATED> */
.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle {
  cursor: ew-resize;
}


/* <DEPRECATED> */
.p-SplitPanel[data-orientation='vertical'] > .p-SplitPanel-handle,
/* </DEPRECATED> */
.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle {
  cursor: ns-resize;
}


/* <DEPRECATED> */
.p-SplitPanel[data-orientation='horizontal'] > .p-SplitPanel-handle:after,
/* </DEPRECATED> */
.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle:after {
  left: 50%;
  min-width: 8px;
  transform: translateX(-50%);
}


/* <DEPRECATED> */
.p-SplitPanel[data-orientation='vertical'] > .p-SplitPanel-handle:after,
/* </DEPRECATED> */
.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle:after {
  top: 50%;
  min-height: 8px;
  transform: translateY(-50%);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-TabBar, /* </DEPRECATED> */
.lm-TabBar {
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* <DEPRECATED> */ .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */
.lm-TabBar[data-orientation='horizontal'] {
  flex-direction: row;
}


/* <DEPRECATED> */ .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */
.lm-TabBar[data-orientation='vertical'] {
  flex-direction: column;
}


/* <DEPRECATED> */ .p-TabBar-content, /* </DEPRECATED> */
.lm-TabBar-content {
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1 1 auto;
  list-style-type: none;
}


/* <DEPRECATED> */
.p-TabBar[data-orientation='horizontal'] > .p-TabBar-content,
/* </DEPRECATED> */
.lm-TabBar[data-orientation='horizontal'] > .lm-TabBar-content {
  flex-direction: row;
}


/* <DEPRECATED> */
.p-TabBar[data-orientation='vertical'] > .p-TabBar-content,
/* </DEPRECATED> */
.lm-TabBar[data-orientation='vertical'] > .lm-TabBar-content {
  flex-direction: column;
}


/* <DEPRECATED> */ .p-TabBar-tab, /* </DEPRECATED> */
.lm-TabBar-tab {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  overflow: hidden;
}


/* <DEPRECATED> */
.p-TabBar-tabIcon,
.p-TabBar-tabCloseIcon,
/* </DEPRECATED> */
.lm-TabBar-tabIcon,
.lm-TabBar-tabCloseIcon {
  flex: 0 0 auto;
}


/* <DEPRECATED> */ .p-TabBar-tabLabel, /* </DEPRECATED> */
.lm-TabBar-tabLabel {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
}


.lm-TabBar-tabInput {
  user-select: all;
  width: 100%;
  box-sizing : border-box;
}


/* <DEPRECATED> */ .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */
.lm-TabBar-tab.lm-mod-hidden {
  display: none !important;
}


/* <DEPRECATED> */ .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */
.lm-TabBar.lm-mod-dragging .lm-TabBar-tab {
  position: relative;
}


/* <DEPRECATED> */
.p-TabBar.p-mod-dragging[data-orientation='horizontal'] .p-TabBar-tab,
/* </DEPRECATED> */
.lm-TabBar.lm-mod-dragging[data-orientation='horizontal'] .lm-TabBar-tab {
  left: 0;
  transition: left 150ms ease;
}


/* <DEPRECATED> */
.p-TabBar.p-mod-dragging[data-orientation='vertical'] .p-TabBar-tab,
/* </DEPRECATED> */
.lm-TabBar.lm-mod-dragging[data-orientation='vertical'] .lm-TabBar-tab {
  top: 0;
  transition: top 150ms ease;
}


/* <DEPRECATED> */
.p-TabBar.p-mod-dragging .p-TabBar-tab.p-mod-dragging,
/* </DEPRECATED> */
.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging {
  transition: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ .p-TabPanel-tabBar, /* </DEPRECATED> */
.lm-TabPanel-tabBar {
  z-index: 1;
}


/* <DEPRECATED> */ .p-TabPanel-stackedPanel, /* </DEPRECATED> */
.lm-TabPanel-stackedPanel {
  z-index: 0;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/

@charset "UTF-8";
html{
  -webkit-box-sizing:border-box;
          box-sizing:border-box; }

*,
*::before,
*::after{
  -webkit-box-sizing:inherit;
          box-sizing:inherit; }

body{
  font-size:14px;
  font-weight:400;
  letter-spacing:0;
  line-height:1.28581;
  text-transform:none;
  color:#182026;
  font-family:-apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Helvetica Neue", "Icons16", sans-serif; }

p{
  margin-bottom:10px;
  margin-top:0; }

small{
  font-size:12px; }

strong{
  font-weight:600; }

::-moz-selection{
  background:rgba(125, 188, 255, 0.6); }

::selection{
  background:rgba(125, 188, 255, 0.6); }
.bp3-heading{
  color:#182026;
  font-weight:600;
  margin:0 0 10px;
  padding:0; }
  .bp3-dark .bp3-heading{
    color:#f5f8fa; }

h1.bp3-heading, .bp3-running-text h1{
  font-size:36px;
  line-height:40px; }

h2.bp3-heading, .bp3-running-text h2{
  font-size:28px;
  line-height:32px; }

h3.bp3-heading, .bp3-running-text h3{
  font-size:22px;
  line-height:25px; }

h4.bp3-heading, .bp3-running-text h4{
  font-size:18px;
  line-height:21px; }

h5.bp3-heading, .bp3-running-text h5{
  font-size:16px;
  line-height:19px; }

h6.bp3-heading, .bp3-running-text h6{
  font-size:14px;
  line-height:16px; }
.bp3-ui-text{
  font-size:14px;
  font-weight:400;
  letter-spacing:0;
  line-height:1.28581;
  text-transform:none; }

.bp3-monospace-text{
  font-family:monospace;
  text-transform:none; }

.bp3-text-muted{
  color:#5c7080; }
  .bp3-dark .bp3-text-muted{
    color:#a7b6c2; }

.bp3-text-disabled{
  color:rgba(92, 112, 128, 0.6); }
  .bp3-dark .bp3-text-disabled{
    color:rgba(167, 182, 194, 0.6); }

.bp3-text-overflow-ellipsis{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal; }
.bp3-running-text{
  font-size:14px;
  line-height:1.5; }
  .bp3-running-text h1{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h1{
      color:#f5f8fa; }
  .bp3-running-text h2{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h2{
      color:#f5f8fa; }
  .bp3-running-text h3{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h3{
      color:#f5f8fa; }
  .bp3-running-text h4{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h4{
      color:#f5f8fa; }
  .bp3-running-text h5{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h5{
      color:#f5f8fa; }
  .bp3-running-text h6{
    color:#182026;
    font-weight:600;
    margin-bottom:20px;
    margin-top:40px; }
    .bp3-dark .bp3-running-text h6{
      color:#f5f8fa; }
  .bp3-running-text hr{
    border:none;
    border-bottom:1px solid rgba(16, 22, 26, 0.15);
    margin:20px 0; }
    .bp3-dark .bp3-running-text hr{
      border-color:rgba(255, 255, 255, 0.15); }
  .bp3-running-text p{
    margin:0 0 10px;
    padding:0; }

.bp3-text-large{
  font-size:16px; }

.bp3-text-small{
  font-size:12px; }
a{
  color:#106ba3;
  text-decoration:none; }
  a:hover{
    color:#106ba3;
    cursor:pointer;
    text-decoration:underline; }
  a .bp3-icon, a .bp3-icon-standard, a .bp3-icon-large{
    color:inherit; }
  a code,
  .bp3-dark a code{
    color:inherit; }
  .bp3-dark a,
  .bp3-dark a:hover{
    color:#48aff0; }
    .bp3-dark a .bp3-icon, .bp3-dark a .bp3-icon-standard, .bp3-dark a .bp3-icon-large,
    .bp3-dark a:hover .bp3-icon,
    .bp3-dark a:hover .bp3-icon-standard,
    .bp3-dark a:hover .bp3-icon-large{
      color:inherit; }
.bp3-running-text code, .bp3-code{
  font-family:monospace;
  text-transform:none;
  background:rgba(255, 255, 255, 0.7);
  border-radius:3px;
  -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2);
          box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2);
  color:#5c7080;
  font-size:smaller;
  padding:2px 5px; }
  .bp3-dark .bp3-running-text code, .bp3-running-text .bp3-dark code, .bp3-dark .bp3-code{
    background:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
    color:#a7b6c2; }
  .bp3-running-text a > code, a > .bp3-code{
    color:#137cbd; }
    .bp3-dark .bp3-running-text a > code, .bp3-running-text .bp3-dark a > code, .bp3-dark a > .bp3-code{
      color:inherit; }

.bp3-running-text pre, .bp3-code-block{
  font-family:monospace;
  text-transform:none;
  background:rgba(255, 255, 255, 0.7);
  border-radius:3px;
  -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15);
          box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15);
  color:#182026;
  display:block;
  font-size:13px;
  line-height:1.4;
  margin:10px 0;
  padding:13px 15px 12px;
  word-break:break-all;
  word-wrap:break-word; }
  .bp3-dark .bp3-running-text pre, .bp3-running-text .bp3-dark pre, .bp3-dark .bp3-code-block{
    background:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }
  .bp3-running-text pre > code, .bp3-code-block > code{
    background:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    color:inherit;
    font-size:inherit;
    padding:0; }

.bp3-running-text kbd, .bp3-key{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  background:#ffffff;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
  color:#5c7080;
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  font-family:inherit;
  font-size:12px;
  height:24px;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  line-height:24px;
  min-width:24px;
  padding:3px 6px;
  vertical-align:middle; }
  .bp3-running-text kbd .bp3-icon, .bp3-key .bp3-icon, .bp3-running-text kbd .bp3-icon-standard, .bp3-key .bp3-icon-standard, .bp3-running-text kbd .bp3-icon-large, .bp3-key .bp3-icon-large{
    margin-right:5px; }
  .bp3-dark .bp3-running-text kbd, .bp3-running-text .bp3-dark kbd, .bp3-dark .bp3-key{
    background:#394b59;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
    color:#a7b6c2; }
.bp3-running-text blockquote, .bp3-blockquote{
  border-left:solid 4px rgba(167, 182, 194, 0.5);
  margin:0 0 10px;
  padding:0 20px; }
  .bp3-dark .bp3-running-text blockquote, .bp3-running-text .bp3-dark blockquote, .bp3-dark .bp3-blockquote{
    border-color:rgba(115, 134, 148, 0.5); }
.bp3-running-text ul,
.bp3-running-text ol, .bp3-list{
  margin:10px 0;
  padding-left:30px; }
  .bp3-running-text ul li:not(:last-child), .bp3-running-text ol li:not(:last-child), .bp3-list li:not(:last-child){
    margin-bottom:5px; }
  .bp3-running-text ul ol, .bp3-running-text ol ol, .bp3-list ol,
  .bp3-running-text ul ul,
  .bp3-running-text ol ul,
  .bp3-list ul{
    margin-top:5px; }

.bp3-list-unstyled{
  list-style:none;
  margin:0;
  padding:0; }
  .bp3-list-unstyled li{
    padding:0; }
.bp3-rtl{
  text-align:right; }

.bp3-dark{
  color:#f5f8fa; }

:focus{
  outline:rgba(19, 124, 189, 0.6) auto 2px;
  outline-offset:2px;
  -moz-outline-radius:6px; }

.bp3-focus-disabled :focus{
  outline:none !important; }
  .bp3-focus-disabled :focus ~ .bp3-control-indicator{
    outline:none !important; }

.bp3-alert{
  max-width:400px;
  padding:20px; }

.bp3-alert-body{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex; }
  .bp3-alert-body .bp3-icon{
    font-size:40px;
    margin-right:20px;
    margin-top:0; }

.bp3-alert-contents{
  word-break:break-word; }

.bp3-alert-footer{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:reverse;
      -ms-flex-direction:row-reverse;
          flex-direction:row-reverse;
  margin-top:10px; }
  .bp3-alert-footer .bp3-button{
    margin-left:10px; }
.bp3-breadcrumbs{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  cursor:default;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  height:30px;
  list-style:none;
  margin:0;
  padding:0; }
  .bp3-breadcrumbs > li{
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex; }
    .bp3-breadcrumbs > li::after{
      background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.71 7.29l-4-4a1.003 1.003 0 00-1.42 1.42L8.59 8 5.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z' fill='%235C7080'/%3e%3c/svg%3e");
      content:"";
      display:block;
      height:16px;
      margin:0 5px;
      width:16px; }
    .bp3-breadcrumbs > li:last-of-type::after{
      display:none; }

.bp3-breadcrumb,
.bp3-breadcrumb-current,
.bp3-breadcrumbs-collapsed{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  font-size:16px; }

.bp3-breadcrumb,
.bp3-breadcrumbs-collapsed{
  color:#5c7080; }

.bp3-breadcrumb:hover{
  text-decoration:none; }

.bp3-breadcrumb.bp3-disabled{
  color:rgba(92, 112, 128, 0.6);
  cursor:not-allowed; }

.bp3-breadcrumb .bp3-icon{
  margin-right:5px; }

.bp3-breadcrumb-current{
  color:inherit;
  font-weight:600; }
  .bp3-breadcrumb-current .bp3-input{
    font-size:inherit;
    font-weight:inherit;
    vertical-align:baseline; }

.bp3-breadcrumbs-collapsed{
  background:#ced9e0;
  border:none;
  border-radius:3px;
  cursor:pointer;
  margin-right:2px;
  padding:1px 5px;
  vertical-align:text-bottom; }
  .bp3-breadcrumbs-collapsed::before{
    background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg fill='%235C7080'%3e%3ccircle cx='2' cy='8.03' r='2'/%3e%3ccircle cx='14' cy='8.03' r='2'/%3e%3ccircle cx='8' cy='8.03' r='2'/%3e%3c/g%3e%3c/svg%3e") center no-repeat;
    content:"";
    display:block;
    height:16px;
    width:16px; }
  .bp3-breadcrumbs-collapsed:hover{
    background:#bfccd6;
    color:#182026;
    text-decoration:none; }

.bp3-dark .bp3-breadcrumb,
.bp3-dark .bp3-breadcrumbs-collapsed{
  color:#a7b6c2; }

.bp3-dark .bp3-breadcrumbs > li::after{
  color:#a7b6c2; }

.bp3-dark .bp3-breadcrumb.bp3-disabled{
  color:rgba(167, 182, 194, 0.6); }

.bp3-dark .bp3-breadcrumb-current{
  color:#f5f8fa; }

.bp3-dark .bp3-breadcrumbs-collapsed{
  background:rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-breadcrumbs-collapsed:hover{
    background:rgba(16, 22, 26, 0.6);
    color:#f5f8fa; }
.bp3-button{
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  border:none;
  border-radius:3px;
  cursor:pointer;
  font-size:14px;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  padding:5px 10px;
  text-align:left;
  vertical-align:middle;
  min-height:30px;
  min-width:30px; }
  .bp3-button > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-button > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-button::before,
  .bp3-button > *{
    margin-right:7px; }
  .bp3-button:empty::before,
  .bp3-button > :last-child{
    margin-right:0; }
  .bp3-button:empty{
    padding:0 !important; }
  .bp3-button:disabled, .bp3-button.bp3-disabled{
    cursor:not-allowed; }
  .bp3-button.bp3-fill{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    width:100%; }
  .bp3-button.bp3-align-right,
  .bp3-align-right .bp3-button{
    text-align:right; }
  .bp3-button.bp3-align-left,
  .bp3-align-left .bp3-button{
    text-align:left; }
  .bp3-button:not([class*="bp3-intent-"]){
    background-color:#f5f8fa;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
    color:#182026; }
    .bp3-button:not([class*="bp3-intent-"]):hover{
      background-clip:padding-box;
      background-color:#ebf1f5;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
    .bp3-button:not([class*="bp3-intent-"]):active, .bp3-button:not([class*="bp3-intent-"]).bp3-active{
      background-color:#d8e1e8;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-button:not([class*="bp3-intent-"]):disabled, .bp3-button:not([class*="bp3-intent-"]).bp3-disabled{
      background-color:rgba(206, 217, 224, 0.5);
      background-image:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed;
      outline:none; }
      .bp3-button:not([class*="bp3-intent-"]):disabled.bp3-active, .bp3-button:not([class*="bp3-intent-"]):disabled.bp3-active:hover, .bp3-button:not([class*="bp3-intent-"]).bp3-disabled.bp3-active, .bp3-button:not([class*="bp3-intent-"]).bp3-disabled.bp3-active:hover{
        background:rgba(206, 217, 224, 0.7); }
  .bp3-button.bp3-intent-primary{
    background-color:#137cbd;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
    .bp3-button.bp3-intent-primary:hover, .bp3-button.bp3-intent-primary:active, .bp3-button.bp3-intent-primary.bp3-active{
      color:#ffffff; }
    .bp3-button.bp3-intent-primary:hover{
      background-color:#106ba3;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-primary:active, .bp3-button.bp3-intent-primary.bp3-active{
      background-color:#0e5a8a;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-primary:disabled, .bp3-button.bp3-intent-primary.bp3-disabled{
      background-color:rgba(19, 124, 189, 0.5);
      background-image:none;
      border-color:transparent;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(255, 255, 255, 0.6); }
  .bp3-button.bp3-intent-success{
    background-color:#0f9960;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
    .bp3-button.bp3-intent-success:hover, .bp3-button.bp3-intent-success:active, .bp3-button.bp3-intent-success.bp3-active{
      color:#ffffff; }
    .bp3-button.bp3-intent-success:hover{
      background-color:#0d8050;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-success:active, .bp3-button.bp3-intent-success.bp3-active{
      background-color:#0a6640;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-success:disabled, .bp3-button.bp3-intent-success.bp3-disabled{
      background-color:rgba(15, 153, 96, 0.5);
      background-image:none;
      border-color:transparent;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(255, 255, 255, 0.6); }
  .bp3-button.bp3-intent-warning{
    background-color:#d9822b;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
    .bp3-button.bp3-intent-warning:hover, .bp3-button.bp3-intent-warning:active, .bp3-button.bp3-intent-warning.bp3-active{
      color:#ffffff; }
    .bp3-button.bp3-intent-warning:hover{
      background-color:#bf7326;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-warning:active, .bp3-button.bp3-intent-warning.bp3-active{
      background-color:#a66321;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-warning:disabled, .bp3-button.bp3-intent-warning.bp3-disabled{
      background-color:rgba(217, 130, 43, 0.5);
      background-image:none;
      border-color:transparent;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(255, 255, 255, 0.6); }
  .bp3-button.bp3-intent-danger{
    background-color:#db3737;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
    .bp3-button.bp3-intent-danger:hover, .bp3-button.bp3-intent-danger:active, .bp3-button.bp3-intent-danger.bp3-active{
      color:#ffffff; }
    .bp3-button.bp3-intent-danger:hover{
      background-color:#c23030;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-danger:active, .bp3-button.bp3-intent-danger.bp3-active{
      background-color:#a82a2a;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-button.bp3-intent-danger:disabled, .bp3-button.bp3-intent-danger.bp3-disabled{
      background-color:rgba(219, 55, 55, 0.5);
      background-image:none;
      border-color:transparent;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(255, 255, 255, 0.6); }
  .bp3-button[class*="bp3-intent-"] .bp3-button-spinner .bp3-spinner-head{
    stroke:#ffffff; }
  .bp3-button.bp3-large,
  .bp3-large .bp3-button{
    min-height:40px;
    min-width:40px;
    font-size:16px;
    padding:5px 15px; }
    .bp3-button.bp3-large::before,
    .bp3-button.bp3-large > *,
    .bp3-large .bp3-button::before,
    .bp3-large .bp3-button > *{
      margin-right:10px; }
    .bp3-button.bp3-large:empty::before,
    .bp3-button.bp3-large > :last-child,
    .bp3-large .bp3-button:empty::before,
    .bp3-large .bp3-button > :last-child{
      margin-right:0; }
  .bp3-button.bp3-small,
  .bp3-small .bp3-button{
    min-height:24px;
    min-width:24px;
    padding:0 7px; }
  .bp3-button.bp3-loading{
    position:relative; }
    .bp3-button.bp3-loading[class*="bp3-icon-"]::before{
      visibility:hidden; }
    .bp3-button.bp3-loading .bp3-button-spinner{
      margin:0;
      position:absolute; }
    .bp3-button.bp3-loading > :not(.bp3-button-spinner){
      visibility:hidden; }
  .bp3-button[class*="bp3-icon-"]::before{
    font-family:"Icons16", sans-serif;
    font-size:16px;
    font-style:normal;
    font-weight:400;
    line-height:1;
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    color:#5c7080; }
  .bp3-button .bp3-icon, .bp3-button .bp3-icon-standard, .bp3-button .bp3-icon-large{
    color:#5c7080; }
    .bp3-button .bp3-icon.bp3-align-right, .bp3-button .bp3-icon-standard.bp3-align-right, .bp3-button .bp3-icon-large.bp3-align-right{
      margin-left:7px; }
  .bp3-button .bp3-icon:first-child:last-child,
  .bp3-button .bp3-spinner + .bp3-icon:last-child{
    margin:0 -7px; }
  .bp3-dark .bp3-button:not([class*="bp3-intent-"]){
    background-color:#394b59;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.05)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]):hover, .bp3-dark .bp3-button:not([class*="bp3-intent-"]):active, .bp3-dark .bp3-button:not([class*="bp3-intent-"]).bp3-active{
      color:#f5f8fa; }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]):hover{
      background-color:#30404d;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]):active, .bp3-dark .bp3-button:not([class*="bp3-intent-"]).bp3-active{
      background-color:#202b33;
      background-image:none;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]):disabled, .bp3-dark .bp3-button:not([class*="bp3-intent-"]).bp3-disabled{
      background-color:rgba(57, 75, 89, 0.5);
      background-image:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(167, 182, 194, 0.6); }
      .bp3-dark .bp3-button:not([class*="bp3-intent-"]):disabled.bp3-active, .bp3-dark .bp3-button:not([class*="bp3-intent-"]).bp3-disabled.bp3-active{
        background:rgba(57, 75, 89, 0.7); }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]) .bp3-button-spinner .bp3-spinner-head{
      background:rgba(16, 22, 26, 0.5);
      stroke:#8a9ba8; }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"])[class*="bp3-icon-"]::before{
      color:#a7b6c2; }
    .bp3-dark .bp3-button:not([class*="bp3-intent-"]) .bp3-icon, .bp3-dark .bp3-button:not([class*="bp3-intent-"]) .bp3-icon-standard, .bp3-dark .bp3-button:not([class*="bp3-intent-"]) .bp3-icon-large{
      color:#a7b6c2; }
  .bp3-dark .bp3-button[class*="bp3-intent-"]{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-button[class*="bp3-intent-"]:hover{
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-button[class*="bp3-intent-"]:active, .bp3-dark .bp3-button[class*="bp3-intent-"].bp3-active{
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-dark .bp3-button[class*="bp3-intent-"]:disabled, .bp3-dark .bp3-button[class*="bp3-intent-"].bp3-disabled{
      background-image:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(255, 255, 255, 0.3); }
    .bp3-dark .bp3-button[class*="bp3-intent-"] .bp3-button-spinner .bp3-spinner-head{
      stroke:#8a9ba8; }
  .bp3-button:disabled::before,
  .bp3-button:disabled .bp3-icon, .bp3-button:disabled .bp3-icon-standard, .bp3-button:disabled .bp3-icon-large, .bp3-button.bp3-disabled::before,
  .bp3-button.bp3-disabled .bp3-icon, .bp3-button.bp3-disabled .bp3-icon-standard, .bp3-button.bp3-disabled .bp3-icon-large, .bp3-button[class*="bp3-intent-"]::before,
  .bp3-button[class*="bp3-intent-"] .bp3-icon, .bp3-button[class*="bp3-intent-"] .bp3-icon-standard, .bp3-button[class*="bp3-intent-"] .bp3-icon-large{
    color:inherit !important; }
  .bp3-button.bp3-minimal{
    background:none;
    -webkit-box-shadow:none;
            box-shadow:none; }
    .bp3-button.bp3-minimal:hover{
      background:rgba(167, 182, 194, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026;
      text-decoration:none; }
    .bp3-button.bp3-minimal:active, .bp3-button.bp3-minimal.bp3-active{
      background:rgba(115, 134, 148, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026; }
    .bp3-button.bp3-minimal:disabled, .bp3-button.bp3-minimal:disabled:hover, .bp3-button.bp3-minimal.bp3-disabled, .bp3-button.bp3-minimal.bp3-disabled:hover{
      background:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed; }
      .bp3-button.bp3-minimal:disabled.bp3-active, .bp3-button.bp3-minimal:disabled:hover.bp3-active, .bp3-button.bp3-minimal.bp3-disabled.bp3-active, .bp3-button.bp3-minimal.bp3-disabled:hover.bp3-active{
        background:rgba(115, 134, 148, 0.3); }
    .bp3-dark .bp3-button.bp3-minimal{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:inherit; }
      .bp3-dark .bp3-button.bp3-minimal:hover, .bp3-dark .bp3-button.bp3-minimal:active, .bp3-dark .bp3-button.bp3-minimal.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none; }
      .bp3-dark .bp3-button.bp3-minimal:hover{
        background:rgba(138, 155, 168, 0.15); }
      .bp3-dark .bp3-button.bp3-minimal:active, .bp3-dark .bp3-button.bp3-minimal.bp3-active{
        background:rgba(138, 155, 168, 0.3);
        color:#f5f8fa; }
      .bp3-dark .bp3-button.bp3-minimal:disabled, .bp3-dark .bp3-button.bp3-minimal:disabled:hover, .bp3-dark .bp3-button.bp3-minimal.bp3-disabled, .bp3-dark .bp3-button.bp3-minimal.bp3-disabled:hover{
        background:none;
        color:rgba(167, 182, 194, 0.6);
        cursor:not-allowed; }
        .bp3-dark .bp3-button.bp3-minimal:disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal:disabled:hover.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-disabled:hover.bp3-active{
          background:rgba(138, 155, 168, 0.3); }
    .bp3-button.bp3-minimal.bp3-intent-primary{
      color:#106ba3; }
      .bp3-button.bp3-minimal.bp3-intent-primary:hover, .bp3-button.bp3-minimal.bp3-intent-primary:active, .bp3-button.bp3-minimal.bp3-intent-primary.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#106ba3; }
      .bp3-button.bp3-minimal.bp3-intent-primary:hover{
        background:rgba(19, 124, 189, 0.15);
        color:#106ba3; }
      .bp3-button.bp3-minimal.bp3-intent-primary:active, .bp3-button.bp3-minimal.bp3-intent-primary.bp3-active{
        background:rgba(19, 124, 189, 0.3);
        color:#106ba3; }
      .bp3-button.bp3-minimal.bp3-intent-primary:disabled, .bp3-button.bp3-minimal.bp3-intent-primary.bp3-disabled{
        background:none;
        color:rgba(16, 107, 163, 0.5); }
        .bp3-button.bp3-minimal.bp3-intent-primary:disabled.bp3-active, .bp3-button.bp3-minimal.bp3-intent-primary.bp3-disabled.bp3-active{
          background:rgba(19, 124, 189, 0.3); }
      .bp3-button.bp3-minimal.bp3-intent-primary .bp3-button-spinner .bp3-spinner-head{
        stroke:#106ba3; }
      .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary{
        color:#48aff0; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary:hover{
          background:rgba(19, 124, 189, 0.2);
          color:#48aff0; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary:active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary.bp3-active{
          background:rgba(19, 124, 189, 0.3);
          color:#48aff0; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary:disabled, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary.bp3-disabled{
          background:none;
          color:rgba(72, 175, 240, 0.5); }
          .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary:disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-primary.bp3-disabled.bp3-active{
            background:rgba(19, 124, 189, 0.3); }
    .bp3-button.bp3-minimal.bp3-intent-success{
      color:#0d8050; }
      .bp3-button.bp3-minimal.bp3-intent-success:hover, .bp3-button.bp3-minimal.bp3-intent-success:active, .bp3-button.bp3-minimal.bp3-intent-success.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#0d8050; }
      .bp3-button.bp3-minimal.bp3-intent-success:hover{
        background:rgba(15, 153, 96, 0.15);
        color:#0d8050; }
      .bp3-button.bp3-minimal.bp3-intent-success:active, .bp3-button.bp3-minimal.bp3-intent-success.bp3-active{
        background:rgba(15, 153, 96, 0.3);
        color:#0d8050; }
      .bp3-button.bp3-minimal.bp3-intent-success:disabled, .bp3-button.bp3-minimal.bp3-intent-success.bp3-disabled{
        background:none;
        color:rgba(13, 128, 80, 0.5); }
        .bp3-button.bp3-minimal.bp3-intent-success:disabled.bp3-active, .bp3-button.bp3-minimal.bp3-intent-success.bp3-disabled.bp3-active{
          background:rgba(15, 153, 96, 0.3); }
      .bp3-button.bp3-minimal.bp3-intent-success .bp3-button-spinner .bp3-spinner-head{
        stroke:#0d8050; }
      .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success{
        color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success:hover{
          background:rgba(15, 153, 96, 0.2);
          color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success:active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success.bp3-active{
          background:rgba(15, 153, 96, 0.3);
          color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success:disabled, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success.bp3-disabled{
          background:none;
          color:rgba(61, 204, 145, 0.5); }
          .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success:disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-success.bp3-disabled.bp3-active{
            background:rgba(15, 153, 96, 0.3); }
    .bp3-button.bp3-minimal.bp3-intent-warning{
      color:#bf7326; }
      .bp3-button.bp3-minimal.bp3-intent-warning:hover, .bp3-button.bp3-minimal.bp3-intent-warning:active, .bp3-button.bp3-minimal.bp3-intent-warning.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#bf7326; }
      .bp3-button.bp3-minimal.bp3-intent-warning:hover{
        background:rgba(217, 130, 43, 0.15);
        color:#bf7326; }
      .bp3-button.bp3-minimal.bp3-intent-warning:active, .bp3-button.bp3-minimal.bp3-intent-warning.bp3-active{
        background:rgba(217, 130, 43, 0.3);
        color:#bf7326; }
      .bp3-button.bp3-minimal.bp3-intent-warning:disabled, .bp3-button.bp3-minimal.bp3-intent-warning.bp3-disabled{
        background:none;
        color:rgba(191, 115, 38, 0.5); }
        .bp3-button.bp3-minimal.bp3-intent-warning:disabled.bp3-active, .bp3-button.bp3-minimal.bp3-intent-warning.bp3-disabled.bp3-active{
          background:rgba(217, 130, 43, 0.3); }
      .bp3-button.bp3-minimal.bp3-intent-warning .bp3-button-spinner .bp3-spinner-head{
        stroke:#bf7326; }
      .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning{
        color:#ffb366; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning:hover{
          background:rgba(217, 130, 43, 0.2);
          color:#ffb366; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning:active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning.bp3-active{
          background:rgba(217, 130, 43, 0.3);
          color:#ffb366; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning:disabled, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning.bp3-disabled{
          background:none;
          color:rgba(255, 179, 102, 0.5); }
          .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning:disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-warning.bp3-disabled.bp3-active{
            background:rgba(217, 130, 43, 0.3); }
    .bp3-button.bp3-minimal.bp3-intent-danger{
      color:#c23030; }
      .bp3-button.bp3-minimal.bp3-intent-danger:hover, .bp3-button.bp3-minimal.bp3-intent-danger:active, .bp3-button.bp3-minimal.bp3-intent-danger.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#c23030; }
      .bp3-button.bp3-minimal.bp3-intent-danger:hover{
        background:rgba(219, 55, 55, 0.15);
        color:#c23030; }
      .bp3-button.bp3-minimal.bp3-intent-danger:active, .bp3-button.bp3-minimal.bp3-intent-danger.bp3-active{
        background:rgba(219, 55, 55, 0.3);
        color:#c23030; }
      .bp3-button.bp3-minimal.bp3-intent-danger:disabled, .bp3-button.bp3-minimal.bp3-intent-danger.bp3-disabled{
        background:none;
        color:rgba(194, 48, 48, 0.5); }
        .bp3-button.bp3-minimal.bp3-intent-danger:disabled.bp3-active, .bp3-button.bp3-minimal.bp3-intent-danger.bp3-disabled.bp3-active{
          background:rgba(219, 55, 55, 0.3); }
      .bp3-button.bp3-minimal.bp3-intent-danger .bp3-button-spinner .bp3-spinner-head{
        stroke:#c23030; }
      .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger{
        color:#ff7373; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger:hover{
          background:rgba(219, 55, 55, 0.2);
          color:#ff7373; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger:active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger.bp3-active{
          background:rgba(219, 55, 55, 0.3);
          color:#ff7373; }
        .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger:disabled, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger.bp3-disabled{
          background:none;
          color:rgba(255, 115, 115, 0.5); }
          .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger:disabled.bp3-active, .bp3-dark .bp3-button.bp3-minimal.bp3-intent-danger.bp3-disabled.bp3-active{
            background:rgba(219, 55, 55, 0.3); }
  .bp3-button.bp3-outlined{
    background:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    border:1px solid rgba(24, 32, 38, 0.2);
    -webkit-box-sizing:border-box;
            box-sizing:border-box; }
    .bp3-button.bp3-outlined:hover{
      background:rgba(167, 182, 194, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026;
      text-decoration:none; }
    .bp3-button.bp3-outlined:active, .bp3-button.bp3-outlined.bp3-active{
      background:rgba(115, 134, 148, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026; }
    .bp3-button.bp3-outlined:disabled, .bp3-button.bp3-outlined:disabled:hover, .bp3-button.bp3-outlined.bp3-disabled, .bp3-button.bp3-outlined.bp3-disabled:hover{
      background:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed; }
      .bp3-button.bp3-outlined:disabled.bp3-active, .bp3-button.bp3-outlined:disabled:hover.bp3-active, .bp3-button.bp3-outlined.bp3-disabled.bp3-active, .bp3-button.bp3-outlined.bp3-disabled:hover.bp3-active{
        background:rgba(115, 134, 148, 0.3); }
    .bp3-dark .bp3-button.bp3-outlined{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:inherit; }
      .bp3-dark .bp3-button.bp3-outlined:hover, .bp3-dark .bp3-button.bp3-outlined:active, .bp3-dark .bp3-button.bp3-outlined.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none; }
      .bp3-dark .bp3-button.bp3-outlined:hover{
        background:rgba(138, 155, 168, 0.15); }
      .bp3-dark .bp3-button.bp3-outlined:active, .bp3-dark .bp3-button.bp3-outlined.bp3-active{
        background:rgba(138, 155, 168, 0.3);
        color:#f5f8fa; }
      .bp3-dark .bp3-button.bp3-outlined:disabled, .bp3-dark .bp3-button.bp3-outlined:disabled:hover, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled:hover{
        background:none;
        color:rgba(167, 182, 194, 0.6);
        cursor:not-allowed; }
        .bp3-dark .bp3-button.bp3-outlined:disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined:disabled:hover.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled:hover.bp3-active{
          background:rgba(138, 155, 168, 0.3); }
    .bp3-button.bp3-outlined.bp3-intent-primary{
      color:#106ba3; }
      .bp3-button.bp3-outlined.bp3-intent-primary:hover, .bp3-button.bp3-outlined.bp3-intent-primary:active, .bp3-button.bp3-outlined.bp3-intent-primary.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#106ba3; }
      .bp3-button.bp3-outlined.bp3-intent-primary:hover{
        background:rgba(19, 124, 189, 0.15);
        color:#106ba3; }
      .bp3-button.bp3-outlined.bp3-intent-primary:active, .bp3-button.bp3-outlined.bp3-intent-primary.bp3-active{
        background:rgba(19, 124, 189, 0.3);
        color:#106ba3; }
      .bp3-button.bp3-outlined.bp3-intent-primary:disabled, .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled{
        background:none;
        color:rgba(16, 107, 163, 0.5); }
        .bp3-button.bp3-outlined.bp3-intent-primary:disabled.bp3-active, .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled.bp3-active{
          background:rgba(19, 124, 189, 0.3); }
      .bp3-button.bp3-outlined.bp3-intent-primary .bp3-button-spinner .bp3-spinner-head{
        stroke:#106ba3; }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary{
        color:#48aff0; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary:hover{
          background:rgba(19, 124, 189, 0.2);
          color:#48aff0; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary:active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary.bp3-active{
          background:rgba(19, 124, 189, 0.3);
          color:#48aff0; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled{
          background:none;
          color:rgba(72, 175, 240, 0.5); }
          .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary:disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled.bp3-active{
            background:rgba(19, 124, 189, 0.3); }
    .bp3-button.bp3-outlined.bp3-intent-success{
      color:#0d8050; }
      .bp3-button.bp3-outlined.bp3-intent-success:hover, .bp3-button.bp3-outlined.bp3-intent-success:active, .bp3-button.bp3-outlined.bp3-intent-success.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#0d8050; }
      .bp3-button.bp3-outlined.bp3-intent-success:hover{
        background:rgba(15, 153, 96, 0.15);
        color:#0d8050; }
      .bp3-button.bp3-outlined.bp3-intent-success:active, .bp3-button.bp3-outlined.bp3-intent-success.bp3-active{
        background:rgba(15, 153, 96, 0.3);
        color:#0d8050; }
      .bp3-button.bp3-outlined.bp3-intent-success:disabled, .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled{
        background:none;
        color:rgba(13, 128, 80, 0.5); }
        .bp3-button.bp3-outlined.bp3-intent-success:disabled.bp3-active, .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled.bp3-active{
          background:rgba(15, 153, 96, 0.3); }
      .bp3-button.bp3-outlined.bp3-intent-success .bp3-button-spinner .bp3-spinner-head{
        stroke:#0d8050; }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success{
        color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success:hover{
          background:rgba(15, 153, 96, 0.2);
          color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success:active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success.bp3-active{
          background:rgba(15, 153, 96, 0.3);
          color:#3dcc91; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled{
          background:none;
          color:rgba(61, 204, 145, 0.5); }
          .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success:disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled.bp3-active{
            background:rgba(15, 153, 96, 0.3); }
    .bp3-button.bp3-outlined.bp3-intent-warning{
      color:#bf7326; }
      .bp3-button.bp3-outlined.bp3-intent-warning:hover, .bp3-button.bp3-outlined.bp3-intent-warning:active, .bp3-button.bp3-outlined.bp3-intent-warning.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#bf7326; }
      .bp3-button.bp3-outlined.bp3-intent-warning:hover{
        background:rgba(217, 130, 43, 0.15);
        color:#bf7326; }
      .bp3-button.bp3-outlined.bp3-intent-warning:active, .bp3-button.bp3-outlined.bp3-intent-warning.bp3-active{
        background:rgba(217, 130, 43, 0.3);
        color:#bf7326; }
      .bp3-button.bp3-outlined.bp3-intent-warning:disabled, .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled{
        background:none;
        color:rgba(191, 115, 38, 0.5); }
        .bp3-button.bp3-outlined.bp3-intent-warning:disabled.bp3-active, .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled.bp3-active{
          background:rgba(217, 130, 43, 0.3); }
      .bp3-button.bp3-outlined.bp3-intent-warning .bp3-button-spinner .bp3-spinner-head{
        stroke:#bf7326; }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning{
        color:#ffb366; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning:hover{
          background:rgba(217, 130, 43, 0.2);
          color:#ffb366; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning:active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning.bp3-active{
          background:rgba(217, 130, 43, 0.3);
          color:#ffb366; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled{
          background:none;
          color:rgba(255, 179, 102, 0.5); }
          .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning:disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled.bp3-active{
            background:rgba(217, 130, 43, 0.3); }
    .bp3-button.bp3-outlined.bp3-intent-danger{
      color:#c23030; }
      .bp3-button.bp3-outlined.bp3-intent-danger:hover, .bp3-button.bp3-outlined.bp3-intent-danger:active, .bp3-button.bp3-outlined.bp3-intent-danger.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#c23030; }
      .bp3-button.bp3-outlined.bp3-intent-danger:hover{
        background:rgba(219, 55, 55, 0.15);
        color:#c23030; }
      .bp3-button.bp3-outlined.bp3-intent-danger:active, .bp3-button.bp3-outlined.bp3-intent-danger.bp3-active{
        background:rgba(219, 55, 55, 0.3);
        color:#c23030; }
      .bp3-button.bp3-outlined.bp3-intent-danger:disabled, .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled{
        background:none;
        color:rgba(194, 48, 48, 0.5); }
        .bp3-button.bp3-outlined.bp3-intent-danger:disabled.bp3-active, .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled.bp3-active{
          background:rgba(219, 55, 55, 0.3); }
      .bp3-button.bp3-outlined.bp3-intent-danger .bp3-button-spinner .bp3-spinner-head{
        stroke:#c23030; }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger{
        color:#ff7373; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger:hover{
          background:rgba(219, 55, 55, 0.2);
          color:#ff7373; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger:active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger.bp3-active{
          background:rgba(219, 55, 55, 0.3);
          color:#ff7373; }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled{
          background:none;
          color:rgba(255, 115, 115, 0.5); }
          .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger:disabled.bp3-active, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled.bp3-active{
            background:rgba(219, 55, 55, 0.3); }
    .bp3-button.bp3-outlined:disabled, .bp3-button.bp3-outlined.bp3-disabled, .bp3-button.bp3-outlined:disabled:hover, .bp3-button.bp3-outlined.bp3-disabled:hover{
      border-color:rgba(92, 112, 128, 0.1); }
    .bp3-dark .bp3-button.bp3-outlined{
      border-color:rgba(255, 255, 255, 0.4); }
      .bp3-dark .bp3-button.bp3-outlined:disabled, .bp3-dark .bp3-button.bp3-outlined:disabled:hover, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-disabled:hover{
        border-color:rgba(255, 255, 255, 0.2); }
    .bp3-button.bp3-outlined.bp3-intent-primary{
      border-color:rgba(16, 107, 163, 0.6); }
      .bp3-button.bp3-outlined.bp3-intent-primary:disabled, .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled{
        border-color:rgba(16, 107, 163, 0.2); }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary{
        border-color:rgba(72, 175, 240, 0.6); }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-primary.bp3-disabled{
          border-color:rgba(72, 175, 240, 0.2); }
    .bp3-button.bp3-outlined.bp3-intent-success{
      border-color:rgba(13, 128, 80, 0.6); }
      .bp3-button.bp3-outlined.bp3-intent-success:disabled, .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled{
        border-color:rgba(13, 128, 80, 0.2); }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success{
        border-color:rgba(61, 204, 145, 0.6); }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-success.bp3-disabled{
          border-color:rgba(61, 204, 145, 0.2); }
    .bp3-button.bp3-outlined.bp3-intent-warning{
      border-color:rgba(191, 115, 38, 0.6); }
      .bp3-button.bp3-outlined.bp3-intent-warning:disabled, .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled{
        border-color:rgba(191, 115, 38, 0.2); }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning{
        border-color:rgba(255, 179, 102, 0.6); }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-warning.bp3-disabled{
          border-color:rgba(255, 179, 102, 0.2); }
    .bp3-button.bp3-outlined.bp3-intent-danger{
      border-color:rgba(194, 48, 48, 0.6); }
      .bp3-button.bp3-outlined.bp3-intent-danger:disabled, .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled{
        border-color:rgba(194, 48, 48, 0.2); }
      .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger{
        border-color:rgba(255, 115, 115, 0.6); }
        .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger:disabled, .bp3-dark .bp3-button.bp3-outlined.bp3-intent-danger.bp3-disabled{
          border-color:rgba(255, 115, 115, 0.2); }

a.bp3-button{
  text-align:center;
  text-decoration:none;
  -webkit-transition:none;
  transition:none; }
  a.bp3-button, a.bp3-button:hover, a.bp3-button:active{
    color:#182026; }
  a.bp3-button.bp3-disabled{
    color:rgba(92, 112, 128, 0.6); }

.bp3-button-text{
  -webkit-box-flex:0;
      -ms-flex:0 1 auto;
          flex:0 1 auto; }

.bp3-button.bp3-align-left .bp3-button-text, .bp3-button.bp3-align-right .bp3-button-text,
.bp3-button-group.bp3-align-left .bp3-button-text,
.bp3-button-group.bp3-align-right .bp3-button-text{
  -webkit-box-flex:1;
      -ms-flex:1 1 auto;
          flex:1 1 auto; }
.bp3-button-group{
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex; }
  .bp3-button-group .bp3-button{
    -webkit-box-flex:0;
        -ms-flex:0 0 auto;
            flex:0 0 auto;
    position:relative;
    z-index:4; }
    .bp3-button-group .bp3-button:focus{
      z-index:5; }
    .bp3-button-group .bp3-button:hover{
      z-index:6; }
    .bp3-button-group .bp3-button:active, .bp3-button-group .bp3-button.bp3-active{
      z-index:7; }
    .bp3-button-group .bp3-button:disabled, .bp3-button-group .bp3-button.bp3-disabled{
      z-index:3; }
    .bp3-button-group .bp3-button[class*="bp3-intent-"]{
      z-index:9; }
      .bp3-button-group .bp3-button[class*="bp3-intent-"]:focus{
        z-index:10; }
      .bp3-button-group .bp3-button[class*="bp3-intent-"]:hover{
        z-index:11; }
      .bp3-button-group .bp3-button[class*="bp3-intent-"]:active, .bp3-button-group .bp3-button[class*="bp3-intent-"].bp3-active{
        z-index:12; }
      .bp3-button-group .bp3-button[class*="bp3-intent-"]:disabled, .bp3-button-group .bp3-button[class*="bp3-intent-"].bp3-disabled{
        z-index:8; }
  .bp3-button-group:not(.bp3-minimal) > .bp3-popover-wrapper:not(:first-child) .bp3-button,
  .bp3-button-group:not(.bp3-minimal) > .bp3-button:not(:first-child){
    border-bottom-left-radius:0;
    border-top-left-radius:0; }
  .bp3-button-group:not(.bp3-minimal) > .bp3-popover-wrapper:not(:last-child) .bp3-button,
  .bp3-button-group:not(.bp3-minimal) > .bp3-button:not(:last-child){
    border-bottom-right-radius:0;
    border-top-right-radius:0;
    margin-right:-1px; }
  .bp3-button-group.bp3-minimal .bp3-button{
    background:none;
    -webkit-box-shadow:none;
            box-shadow:none; }
    .bp3-button-group.bp3-minimal .bp3-button:hover{
      background:rgba(167, 182, 194, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026;
      text-decoration:none; }
    .bp3-button-group.bp3-minimal .bp3-button:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-active{
      background:rgba(115, 134, 148, 0.3);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#182026; }
    .bp3-button-group.bp3-minimal .bp3-button:disabled, .bp3-button-group.bp3-minimal .bp3-button:disabled:hover, .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled, .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled:hover{
      background:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed; }
      .bp3-button-group.bp3-minimal .bp3-button:disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button:disabled:hover.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled:hover.bp3-active{
        background:rgba(115, 134, 148, 0.3); }
    .bp3-dark .bp3-button-group.bp3-minimal .bp3-button{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:inherit; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:hover, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:hover{
        background:rgba(138, 155, 168, 0.15); }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-active{
        background:rgba(138, 155, 168, 0.3);
        color:#f5f8fa; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:disabled:hover, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled:hover{
        background:none;
        color:rgba(167, 182, 194, 0.6);
        cursor:not-allowed; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button:disabled:hover.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-disabled:hover.bp3-active{
          background:rgba(138, 155, 168, 0.3); }
    .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary{
      color:#106ba3; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:hover, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#106ba3; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:hover{
        background:rgba(19, 124, 189, 0.15);
        color:#106ba3; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-active{
        background:rgba(19, 124, 189, 0.3);
        color:#106ba3; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:disabled, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-disabled{
        background:none;
        color:rgba(16, 107, 163, 0.5); }
        .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-disabled.bp3-active{
          background:rgba(19, 124, 189, 0.3); }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary .bp3-button-spinner .bp3-spinner-head{
        stroke:#106ba3; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary{
        color:#48aff0; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:hover{
          background:rgba(19, 124, 189, 0.2);
          color:#48aff0; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-active{
          background:rgba(19, 124, 189, 0.3);
          color:#48aff0; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-disabled{
          background:none;
          color:rgba(72, 175, 240, 0.5); }
          .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary:disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-primary.bp3-disabled.bp3-active{
            background:rgba(19, 124, 189, 0.3); }
    .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success{
      color:#0d8050; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:hover, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#0d8050; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:hover{
        background:rgba(15, 153, 96, 0.15);
        color:#0d8050; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-active{
        background:rgba(15, 153, 96, 0.3);
        color:#0d8050; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:disabled, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-disabled{
        background:none;
        color:rgba(13, 128, 80, 0.5); }
        .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-disabled.bp3-active{
          background:rgba(15, 153, 96, 0.3); }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success .bp3-button-spinner .bp3-spinner-head{
        stroke:#0d8050; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success{
        color:#3dcc91; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:hover{
          background:rgba(15, 153, 96, 0.2);
          color:#3dcc91; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-active{
          background:rgba(15, 153, 96, 0.3);
          color:#3dcc91; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-disabled{
          background:none;
          color:rgba(61, 204, 145, 0.5); }
          .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success:disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-success.bp3-disabled.bp3-active{
            background:rgba(15, 153, 96, 0.3); }
    .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning{
      color:#bf7326; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:hover, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#bf7326; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:hover{
        background:rgba(217, 130, 43, 0.15);
        color:#bf7326; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-active{
        background:rgba(217, 130, 43, 0.3);
        color:#bf7326; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:disabled, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-disabled{
        background:none;
        color:rgba(191, 115, 38, 0.5); }
        .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-disabled.bp3-active{
          background:rgba(217, 130, 43, 0.3); }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning .bp3-button-spinner .bp3-spinner-head{
        stroke:#bf7326; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning{
        color:#ffb366; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:hover{
          background:rgba(217, 130, 43, 0.2);
          color:#ffb366; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-active{
          background:rgba(217, 130, 43, 0.3);
          color:#ffb366; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-disabled{
          background:none;
          color:rgba(255, 179, 102, 0.5); }
          .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning:disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-warning.bp3-disabled.bp3-active{
            background:rgba(217, 130, 43, 0.3); }
    .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger{
      color:#c23030; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:hover, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-active{
        background:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:#c23030; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:hover{
        background:rgba(219, 55, 55, 0.15);
        color:#c23030; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-active{
        background:rgba(219, 55, 55, 0.3);
        color:#c23030; }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:disabled, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-disabled{
        background:none;
        color:rgba(194, 48, 48, 0.5); }
        .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:disabled.bp3-active, .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-disabled.bp3-active{
          background:rgba(219, 55, 55, 0.3); }
      .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger .bp3-button-spinner .bp3-spinner-head{
        stroke:#c23030; }
      .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger{
        color:#ff7373; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:hover{
          background:rgba(219, 55, 55, 0.2);
          color:#ff7373; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-active{
          background:rgba(219, 55, 55, 0.3);
          color:#ff7373; }
        .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:disabled, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-disabled{
          background:none;
          color:rgba(255, 115, 115, 0.5); }
          .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger:disabled.bp3-active, .bp3-dark .bp3-button-group.bp3-minimal .bp3-button.bp3-intent-danger.bp3-disabled.bp3-active{
            background:rgba(219, 55, 55, 0.3); }
  .bp3-button-group .bp3-popover-wrapper,
  .bp3-button-group .bp3-popover-target{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto; }
  .bp3-button-group.bp3-fill{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    width:100%; }
  .bp3-button-group .bp3-button.bp3-fill,
  .bp3-button-group.bp3-fill .bp3-button:not(.bp3-fixed){
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto; }
  .bp3-button-group.bp3-vertical{
    -webkit-box-align:stretch;
        -ms-flex-align:stretch;
            align-items:stretch;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
        -ms-flex-direction:column;
            flex-direction:column;
    vertical-align:top; }
    .bp3-button-group.bp3-vertical.bp3-fill{
      height:100%;
      width:unset; }
    .bp3-button-group.bp3-vertical .bp3-button{
      margin-right:0 !important;
      width:100%; }
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-popover-wrapper:first-child .bp3-button,
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-button:first-child{
      border-radius:3px 3px 0 0; }
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-popover-wrapper:last-child .bp3-button,
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-button:last-child{
      border-radius:0 0 3px 3px; }
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-popover-wrapper:not(:last-child) .bp3-button,
    .bp3-button-group.bp3-vertical:not(.bp3-minimal) > .bp3-button:not(:last-child){
      margin-bottom:-1px; }
  .bp3-button-group.bp3-align-left .bp3-button{
    text-align:left; }
  .bp3-dark .bp3-button-group:not(.bp3-minimal) > .bp3-popover-wrapper:not(:last-child) .bp3-button,
  .bp3-dark .bp3-button-group:not(.bp3-minimal) > .bp3-button:not(:last-child){
    margin-right:1px; }
  .bp3-dark .bp3-button-group.bp3-vertical > .bp3-popover-wrapper:not(:last-child) .bp3-button,
  .bp3-dark .bp3-button-group.bp3-vertical > .bp3-button:not(:last-child){
    margin-bottom:1px; }
.bp3-callout{
  font-size:14px;
  line-height:1.5;
  background-color:rgba(138, 155, 168, 0.15);
  border-radius:3px;
  padding:10px 12px 9px;
  position:relative;
  width:100%; }
  .bp3-callout[class*="bp3-icon-"]{
    padding-left:40px; }
    .bp3-callout[class*="bp3-icon-"]::before{
      font-family:"Icons20", sans-serif;
      font-size:20px;
      font-style:normal;
      font-weight:400;
      line-height:1;
      -moz-osx-font-smoothing:grayscale;
      -webkit-font-smoothing:antialiased;
      color:#5c7080;
      left:10px;
      position:absolute;
      top:10px; }
  .bp3-callout.bp3-callout-icon{
    padding-left:40px; }
    .bp3-callout.bp3-callout-icon > .bp3-icon:first-child{
      color:#5c7080;
      left:10px;
      position:absolute;
      top:10px; }
  .bp3-callout .bp3-heading{
    line-height:20px;
    margin-bottom:5px;
    margin-top:0; }
    .bp3-callout .bp3-heading:last-child{
      margin-bottom:0; }
  .bp3-dark .bp3-callout{
    background-color:rgba(138, 155, 168, 0.2); }
    .bp3-dark .bp3-callout[class*="bp3-icon-"]::before{
      color:#a7b6c2; }
  .bp3-callout.bp3-intent-primary{
    background-color:rgba(19, 124, 189, 0.15); }
    .bp3-callout.bp3-intent-primary[class*="bp3-icon-"]::before,
    .bp3-callout.bp3-intent-primary > .bp3-icon:first-child,
    .bp3-callout.bp3-intent-primary .bp3-heading{
      color:#106ba3; }
    .bp3-dark .bp3-callout.bp3-intent-primary{
      background-color:rgba(19, 124, 189, 0.25); }
      .bp3-dark .bp3-callout.bp3-intent-primary[class*="bp3-icon-"]::before,
      .bp3-dark .bp3-callout.bp3-intent-primary > .bp3-icon:first-child,
      .bp3-dark .bp3-callout.bp3-intent-primary .bp3-heading{
        color:#48aff0; }
  .bp3-callout.bp3-intent-success{
    background-color:rgba(15, 153, 96, 0.15); }
    .bp3-callout.bp3-intent-success[class*="bp3-icon-"]::before,
    .bp3-callout.bp3-intent-success > .bp3-icon:first-child,
    .bp3-callout.bp3-intent-success .bp3-heading{
      color:#0d8050; }
    .bp3-dark .bp3-callout.bp3-intent-success{
      background-color:rgba(15, 153, 96, 0.25); }
      .bp3-dark .bp3-callout.bp3-intent-success[class*="bp3-icon-"]::before,
      .bp3-dark .bp3-callout.bp3-intent-success > .bp3-icon:first-child,
      .bp3-dark .bp3-callout.bp3-intent-success .bp3-heading{
        color:#3dcc91; }
  .bp3-callout.bp3-intent-warning{
    background-color:rgba(217, 130, 43, 0.15); }
    .bp3-callout.bp3-intent-warning[class*="bp3-icon-"]::before,
    .bp3-callout.bp3-intent-warning > .bp3-icon:first-child,
    .bp3-callout.bp3-intent-warning .bp3-heading{
      color:#bf7326; }
    .bp3-dark .bp3-callout.bp3-intent-warning{
      background-color:rgba(217, 130, 43, 0.25); }
      .bp3-dark .bp3-callout.bp3-intent-warning[class*="bp3-icon-"]::before,
      .bp3-dark .bp3-callout.bp3-intent-warning > .bp3-icon:first-child,
      .bp3-dark .bp3-callout.bp3-intent-warning .bp3-heading{
        color:#ffb366; }
  .bp3-callout.bp3-intent-danger{
    background-color:rgba(219, 55, 55, 0.15); }
    .bp3-callout.bp3-intent-danger[class*="bp3-icon-"]::before,
    .bp3-callout.bp3-intent-danger > .bp3-icon:first-child,
    .bp3-callout.bp3-intent-danger .bp3-heading{
      color:#c23030; }
    .bp3-dark .bp3-callout.bp3-intent-danger{
      background-color:rgba(219, 55, 55, 0.25); }
      .bp3-dark .bp3-callout.bp3-intent-danger[class*="bp3-icon-"]::before,
      .bp3-dark .bp3-callout.bp3-intent-danger > .bp3-icon:first-child,
      .bp3-dark .bp3-callout.bp3-intent-danger .bp3-heading{
        color:#ff7373; }
  .bp3-running-text .bp3-callout{
    margin:20px 0; }
.bp3-card{
  background-color:#ffffff;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.15), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.15), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0);
  padding:20px;
  -webkit-transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), box-shadow 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), box-shadow 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 200ms cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-card.bp3-dark,
  .bp3-dark .bp3-card{
    background-color:#30404d;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0); }

.bp3-elevation-0{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.15), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.15), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0); }
  .bp3-elevation-0.bp3-dark,
  .bp3-dark .bp3-elevation-0{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), 0 0 0 rgba(16, 22, 26, 0), 0 0 0 rgba(16, 22, 26, 0); }

.bp3-elevation-1{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-elevation-1.bp3-dark,
  .bp3-dark .bp3-elevation-1{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4); }

.bp3-elevation-2{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 1px 1px rgba(16, 22, 26, 0.2), 0 2px 6px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 1px 1px rgba(16, 22, 26, 0.2), 0 2px 6px rgba(16, 22, 26, 0.2); }
  .bp3-elevation-2.bp3-dark,
  .bp3-dark .bp3-elevation-2{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.4), 0 2px 6px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.4), 0 2px 6px rgba(16, 22, 26, 0.4); }

.bp3-elevation-3{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2); }
  .bp3-elevation-3.bp3-dark,
  .bp3-dark .bp3-elevation-3{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }

.bp3-elevation-4{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2); }
  .bp3-elevation-4.bp3-dark,
  .bp3-dark .bp3-elevation-4{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4); }

.bp3-card.bp3-interactive:hover{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
  cursor:pointer; }
  .bp3-card.bp3-interactive:hover.bp3-dark,
  .bp3-dark .bp3-card.bp3-interactive:hover{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }

.bp3-card.bp3-interactive:active{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
  opacity:0.9;
  -webkit-transition-duration:0;
          transition-duration:0; }
  .bp3-card.bp3-interactive:active.bp3-dark,
  .bp3-dark .bp3-card.bp3-interactive:active{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4); }

.bp3-collapse{
  height:0;
  overflow-y:hidden;
  -webkit-transition:height 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:height 200ms cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-collapse .bp3-collapse-body{
    -webkit-transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-collapse .bp3-collapse-body[aria-hidden="true"]{
      display:none; }

.bp3-context-menu .bp3-popover-target{
  display:block; }

.bp3-context-menu-popover-target{
  position:fixed; }

.bp3-divider{
  border-bottom:1px solid rgba(16, 22, 26, 0.15);
  border-right:1px solid rgba(16, 22, 26, 0.15);
  margin:5px; }
  .bp3-dark .bp3-divider{
    border-color:rgba(16, 22, 26, 0.4); }
.bp3-dialog-container{
  opacity:1;
  -webkit-transform:scale(1);
          transform:scale(1);
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  min-height:100%;
  pointer-events:none;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none;
  width:100%; }
  .bp3-dialog-container.bp3-overlay-enter > .bp3-dialog, .bp3-dialog-container.bp3-overlay-appear > .bp3-dialog{
    opacity:0;
    -webkit-transform:scale(0.5);
            transform:scale(0.5); }
  .bp3-dialog-container.bp3-overlay-enter-active > .bp3-dialog, .bp3-dialog-container.bp3-overlay-appear-active > .bp3-dialog{
    opacity:1;
    -webkit-transform:scale(1);
            transform:scale(1);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:opacity, -webkit-transform;
    transition-property:opacity, -webkit-transform;
    transition-property:opacity, transform;
    transition-property:opacity, transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }
  .bp3-dialog-container.bp3-overlay-exit > .bp3-dialog{
    opacity:1;
    -webkit-transform:scale(1);
            transform:scale(1); }
  .bp3-dialog-container.bp3-overlay-exit-active > .bp3-dialog{
    opacity:0;
    -webkit-transform:scale(0.5);
            transform:scale(0.5);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:opacity, -webkit-transform;
    transition-property:opacity, -webkit-transform;
    transition-property:opacity, transform;
    transition-property:opacity, transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }

.bp3-dialog{
  background:#ebf1f5;
  border-radius:6px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  margin:30px 0;
  padding-bottom:20px;
  pointer-events:all;
  -webkit-user-select:text;
     -moz-user-select:text;
      -ms-user-select:text;
          user-select:text;
  width:500px; }
  .bp3-dialog:focus{
    outline:0; }
  .bp3-dialog.bp3-dark,
  .bp3-dark .bp3-dialog{
    background:#293742;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }

.bp3-dialog-header{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  background:#ffffff;
  border-radius:6px 6px 0 0;
  -webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
          box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  min-height:40px;
  padding-left:20px;
  padding-right:5px; }
  .bp3-dialog-header .bp3-icon-large,
  .bp3-dialog-header .bp3-icon{
    color:#5c7080;
    -webkit-box-flex:0;
        -ms-flex:0 0 auto;
            flex:0 0 auto;
    margin-right:10px; }
  .bp3-dialog-header .bp3-heading{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    line-height:inherit;
    margin:0; }
    .bp3-dialog-header .bp3-heading:last-child{
      margin-right:20px; }
  .bp3-dark .bp3-dialog-header{
    background:#30404d;
    -webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.4);
            box-shadow:0 1px 0 rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-dialog-header .bp3-icon-large,
    .bp3-dark .bp3-dialog-header .bp3-icon{
      color:#a7b6c2; }

.bp3-dialog-body{
  -webkit-box-flex:1;
      -ms-flex:1 1 auto;
          flex:1 1 auto;
  line-height:18px;
  margin:20px; }

.bp3-dialog-footer{
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  margin:0 20px; }

.bp3-dialog-footer-actions{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:end;
      -ms-flex-pack:end;
          justify-content:flex-end; }
  .bp3-dialog-footer-actions .bp3-button{
    margin-left:10px; }
.bp3-drawer{
  background:#ffffff;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  margin:0;
  padding:0; }
  .bp3-drawer:focus{
    outline:0; }
  .bp3-drawer.bp3-position-top{
    height:50%;
    left:0;
    right:0;
    top:0; }
    .bp3-drawer.bp3-position-top.bp3-overlay-enter, .bp3-drawer.bp3-position-top.bp3-overlay-appear{
      -webkit-transform:translateY(-100%);
              transform:translateY(-100%); }
    .bp3-drawer.bp3-position-top.bp3-overlay-enter-active, .bp3-drawer.bp3-position-top.bp3-overlay-appear-active{
      -webkit-transform:translateY(0);
              transform:translateY(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer.bp3-position-top.bp3-overlay-exit{
      -webkit-transform:translateY(0);
              transform:translateY(0); }
    .bp3-drawer.bp3-position-top.bp3-overlay-exit-active{
      -webkit-transform:translateY(-100%);
              transform:translateY(-100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer.bp3-position-bottom{
    bottom:0;
    height:50%;
    left:0;
    right:0; }
    .bp3-drawer.bp3-position-bottom.bp3-overlay-enter, .bp3-drawer.bp3-position-bottom.bp3-overlay-appear{
      -webkit-transform:translateY(100%);
              transform:translateY(100%); }
    .bp3-drawer.bp3-position-bottom.bp3-overlay-enter-active, .bp3-drawer.bp3-position-bottom.bp3-overlay-appear-active{
      -webkit-transform:translateY(0);
              transform:translateY(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer.bp3-position-bottom.bp3-overlay-exit{
      -webkit-transform:translateY(0);
              transform:translateY(0); }
    .bp3-drawer.bp3-position-bottom.bp3-overlay-exit-active{
      -webkit-transform:translateY(100%);
              transform:translateY(100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer.bp3-position-left{
    bottom:0;
    left:0;
    top:0;
    width:50%; }
    .bp3-drawer.bp3-position-left.bp3-overlay-enter, .bp3-drawer.bp3-position-left.bp3-overlay-appear{
      -webkit-transform:translateX(-100%);
              transform:translateX(-100%); }
    .bp3-drawer.bp3-position-left.bp3-overlay-enter-active, .bp3-drawer.bp3-position-left.bp3-overlay-appear-active{
      -webkit-transform:translateX(0);
              transform:translateX(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer.bp3-position-left.bp3-overlay-exit{
      -webkit-transform:translateX(0);
              transform:translateX(0); }
    .bp3-drawer.bp3-position-left.bp3-overlay-exit-active{
      -webkit-transform:translateX(-100%);
              transform:translateX(-100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer.bp3-position-right{
    bottom:0;
    right:0;
    top:0;
    width:50%; }
    .bp3-drawer.bp3-position-right.bp3-overlay-enter, .bp3-drawer.bp3-position-right.bp3-overlay-appear{
      -webkit-transform:translateX(100%);
              transform:translateX(100%); }
    .bp3-drawer.bp3-position-right.bp3-overlay-enter-active, .bp3-drawer.bp3-position-right.bp3-overlay-appear-active{
      -webkit-transform:translateX(0);
              transform:translateX(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer.bp3-position-right.bp3-overlay-exit{
      -webkit-transform:translateX(0);
              transform:translateX(0); }
    .bp3-drawer.bp3-position-right.bp3-overlay-exit-active{
      -webkit-transform:translateX(100%);
              transform:translateX(100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
  .bp3-position-right):not(.bp3-vertical){
    bottom:0;
    right:0;
    top:0;
    width:50%; }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-enter, .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-appear{
      -webkit-transform:translateX(100%);
              transform:translateX(100%); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-enter-active, .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-appear-active{
      -webkit-transform:translateX(0);
              transform:translateX(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-exit{
      -webkit-transform:translateX(0);
              transform:translateX(0); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right):not(.bp3-vertical).bp3-overlay-exit-active{
      -webkit-transform:translateX(100%);
              transform:translateX(100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
  .bp3-position-right).bp3-vertical{
    bottom:0;
    height:50%;
    left:0;
    right:0; }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-enter, .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-appear{
      -webkit-transform:translateY(100%);
              transform:translateY(100%); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-enter-active, .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-appear-active{
      -webkit-transform:translateY(0);
              transform:translateY(0);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:200ms;
              transition-duration:200ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-exit{
      -webkit-transform:translateY(0);
              transform:translateY(0); }
    .bp3-drawer:not(.bp3-position-top):not(.bp3-position-bottom):not(.bp3-position-left):not(
    .bp3-position-right).bp3-vertical.bp3-overlay-exit-active{
      -webkit-transform:translateY(100%);
              transform:translateY(100%);
      -webkit-transition-delay:0;
              transition-delay:0;
      -webkit-transition-duration:100ms;
              transition-duration:100ms;
      -webkit-transition-property:-webkit-transform;
      transition-property:-webkit-transform;
      transition-property:transform;
      transition-property:transform, -webkit-transform;
      -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
              transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-drawer.bp3-dark,
  .bp3-dark .bp3-drawer{
    background:#30404d;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }

.bp3-drawer-header{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  border-radius:0;
  -webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
          box-shadow:0 1px 0 rgba(16, 22, 26, 0.15);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  min-height:40px;
  padding:5px;
  padding-left:20px;
  position:relative; }
  .bp3-drawer-header .bp3-icon-large,
  .bp3-drawer-header .bp3-icon{
    color:#5c7080;
    -webkit-box-flex:0;
        -ms-flex:0 0 auto;
            flex:0 0 auto;
    margin-right:10px; }
  .bp3-drawer-header .bp3-heading{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    line-height:inherit;
    margin:0; }
    .bp3-drawer-header .bp3-heading:last-child{
      margin-right:20px; }
  .bp3-dark .bp3-drawer-header{
    -webkit-box-shadow:0 1px 0 rgba(16, 22, 26, 0.4);
            box-shadow:0 1px 0 rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-drawer-header .bp3-icon-large,
    .bp3-dark .bp3-drawer-header .bp3-icon{
      color:#a7b6c2; }

.bp3-drawer-body{
  -webkit-box-flex:1;
      -ms-flex:1 1 auto;
          flex:1 1 auto;
  line-height:18px;
  overflow:auto; }

.bp3-drawer-footer{
  -webkit-box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.15);
          box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.15);
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  padding:10px 20px;
  position:relative; }
  .bp3-dark .bp3-drawer-footer{
    -webkit-box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.4);
            box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.4); }
.bp3-editable-text{
  cursor:text;
  display:inline-block;
  max-width:100%;
  position:relative;
  vertical-align:top;
  white-space:nowrap; }
  .bp3-editable-text::before{
    bottom:-3px;
    left:-3px;
    position:absolute;
    right:-3px;
    top:-3px;
    border-radius:3px;
    content:"";
    -webkit-transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9), box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9), box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-editable-text:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15); }
  .bp3-editable-text.bp3-editable-text-editing::before{
    background-color:#ffffff;
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-editable-text.bp3-disabled::before{
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-editable-text.bp3-intent-primary .bp3-editable-text-input,
  .bp3-editable-text.bp3-intent-primary .bp3-editable-text-content{
    color:#137cbd; }
  .bp3-editable-text.bp3-intent-primary:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(19, 124, 189, 0.4);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(19, 124, 189, 0.4); }
  .bp3-editable-text.bp3-intent-primary.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-editable-text.bp3-intent-success .bp3-editable-text-input,
  .bp3-editable-text.bp3-intent-success .bp3-editable-text-content{
    color:#0f9960; }
  .bp3-editable-text.bp3-intent-success:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px rgba(15, 153, 96, 0.4);
            box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px rgba(15, 153, 96, 0.4); }
  .bp3-editable-text.bp3-intent-success.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-editable-text.bp3-intent-warning .bp3-editable-text-input,
  .bp3-editable-text.bp3-intent-warning .bp3-editable-text-content{
    color:#d9822b; }
  .bp3-editable-text.bp3-intent-warning:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px rgba(217, 130, 43, 0.4);
            box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px rgba(217, 130, 43, 0.4); }
  .bp3-editable-text.bp3-intent-warning.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-editable-text.bp3-intent-danger .bp3-editable-text-input,
  .bp3-editable-text.bp3-intent-danger .bp3-editable-text-content{
    color:#db3737; }
  .bp3-editable-text.bp3-intent-danger:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px rgba(219, 55, 55, 0.4);
            box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px rgba(219, 55, 55, 0.4); }
  .bp3-editable-text.bp3-intent-danger.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-editable-text:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
  .bp3-dark .bp3-editable-text.bp3-editable-text-editing::before{
    background-color:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-disabled::before{
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-dark .bp3-editable-text.bp3-intent-primary .bp3-editable-text-content{
    color:#48aff0; }
  .bp3-dark .bp3-editable-text.bp3-intent-primary:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(72, 175, 240, 0), 0 0 0 0 rgba(72, 175, 240, 0), inset 0 0 0 1px rgba(72, 175, 240, 0.4);
            box-shadow:0 0 0 0 rgba(72, 175, 240, 0), 0 0 0 0 rgba(72, 175, 240, 0), inset 0 0 0 1px rgba(72, 175, 240, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-primary.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #48aff0, 0 0 0 3px rgba(72, 175, 240, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #48aff0, 0 0 0 3px rgba(72, 175, 240, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-success .bp3-editable-text-content{
    color:#3dcc91; }
  .bp3-dark .bp3-editable-text.bp3-intent-success:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(61, 204, 145, 0), 0 0 0 0 rgba(61, 204, 145, 0), inset 0 0 0 1px rgba(61, 204, 145, 0.4);
            box-shadow:0 0 0 0 rgba(61, 204, 145, 0), 0 0 0 0 rgba(61, 204, 145, 0), inset 0 0 0 1px rgba(61, 204, 145, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-success.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #3dcc91, 0 0 0 3px rgba(61, 204, 145, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #3dcc91, 0 0 0 3px rgba(61, 204, 145, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-warning .bp3-editable-text-content{
    color:#ffb366; }
  .bp3-dark .bp3-editable-text.bp3-intent-warning:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(255, 179, 102, 0), 0 0 0 0 rgba(255, 179, 102, 0), inset 0 0 0 1px rgba(255, 179, 102, 0.4);
            box-shadow:0 0 0 0 rgba(255, 179, 102, 0), 0 0 0 0 rgba(255, 179, 102, 0), inset 0 0 0 1px rgba(255, 179, 102, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-warning.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #ffb366, 0 0 0 3px rgba(255, 179, 102, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #ffb366, 0 0 0 3px rgba(255, 179, 102, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-danger .bp3-editable-text-content{
    color:#ff7373; }
  .bp3-dark .bp3-editable-text.bp3-intent-danger:hover::before{
    -webkit-box-shadow:0 0 0 0 rgba(255, 115, 115, 0), 0 0 0 0 rgba(255, 115, 115, 0), inset 0 0 0 1px rgba(255, 115, 115, 0.4);
            box-shadow:0 0 0 0 rgba(255, 115, 115, 0), 0 0 0 0 rgba(255, 115, 115, 0), inset 0 0 0 1px rgba(255, 115, 115, 0.4); }
  .bp3-dark .bp3-editable-text.bp3-intent-danger.bp3-editable-text-editing::before{
    -webkit-box-shadow:0 0 0 1px #ff7373, 0 0 0 3px rgba(255, 115, 115, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #ff7373, 0 0 0 3px rgba(255, 115, 115, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }

.bp3-editable-text-input,
.bp3-editable-text-content{
  color:inherit;
  display:inherit;
  font:inherit;
  letter-spacing:inherit;
  max-width:inherit;
  min-width:inherit;
  position:relative;
  resize:none;
  text-transform:inherit;
  vertical-align:top; }

.bp3-editable-text-input{
  background:none;
  border:none;
  -webkit-box-shadow:none;
          box-shadow:none;
  padding:0;
  white-space:pre-wrap;
  width:100%; }
  .bp3-editable-text-input::-webkit-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-editable-text-input::-moz-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-editable-text-input:-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-editable-text-input::-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-editable-text-input::placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-editable-text-input:focus{
    outline:none; }
  .bp3-editable-text-input::-ms-clear{
    display:none; }

.bp3-editable-text-content{
  overflow:hidden;
  padding-right:2px;
  text-overflow:ellipsis;
  white-space:pre; }
  .bp3-editable-text-editing > .bp3-editable-text-content{
    left:0;
    position:absolute;
    visibility:hidden; }
  .bp3-editable-text-placeholder > .bp3-editable-text-content{
    color:rgba(92, 112, 128, 0.6); }
    .bp3-dark .bp3-editable-text-placeholder > .bp3-editable-text-content{
      color:rgba(167, 182, 194, 0.6); }

.bp3-editable-text.bp3-multiline{
  display:block; }
  .bp3-editable-text.bp3-multiline .bp3-editable-text-content{
    overflow:auto;
    white-space:pre-wrap;
    word-wrap:break-word; }
.bp3-divider{
  border-bottom:1px solid rgba(16, 22, 26, 0.15);
  border-right:1px solid rgba(16, 22, 26, 0.15);
  margin:5px; }
  .bp3-dark .bp3-divider{
    border-color:rgba(16, 22, 26, 0.4); }
.bp3-control-group{
  -webkit-transform:translateZ(0);
          transform:translateZ(0);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:stretch;
      -ms-flex-align:stretch;
          align-items:stretch; }
  .bp3-control-group > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-control-group > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-control-group .bp3-button,
  .bp3-control-group .bp3-html-select,
  .bp3-control-group .bp3-input,
  .bp3-control-group .bp3-select{
    position:relative; }
  .bp3-control-group .bp3-input{
    border-radius:inherit;
    z-index:2; }
    .bp3-control-group .bp3-input:focus{
      border-radius:3px;
      z-index:14; }
    .bp3-control-group .bp3-input[class*="bp3-intent"]{
      z-index:13; }
      .bp3-control-group .bp3-input[class*="bp3-intent"]:focus{
        z-index:15; }
    .bp3-control-group .bp3-input[readonly], .bp3-control-group .bp3-input:disabled, .bp3-control-group .bp3-input.bp3-disabled{
      z-index:1; }
  .bp3-control-group .bp3-input-group[class*="bp3-intent"] .bp3-input{
    z-index:13; }
    .bp3-control-group .bp3-input-group[class*="bp3-intent"] .bp3-input:focus{
      z-index:15; }
  .bp3-control-group .bp3-button,
  .bp3-control-group .bp3-html-select select,
  .bp3-control-group .bp3-select select{
    -webkit-transform:translateZ(0);
            transform:translateZ(0);
    border-radius:inherit;
    z-index:4; }
    .bp3-control-group .bp3-button:focus,
    .bp3-control-group .bp3-html-select select:focus,
    .bp3-control-group .bp3-select select:focus{
      z-index:5; }
    .bp3-control-group .bp3-button:hover,
    .bp3-control-group .bp3-html-select select:hover,
    .bp3-control-group .bp3-select select:hover{
      z-index:6; }
    .bp3-control-group .bp3-button:active,
    .bp3-control-group .bp3-html-select select:active,
    .bp3-control-group .bp3-select select:active{
      z-index:7; }
    .bp3-control-group .bp3-button[readonly], .bp3-control-group .bp3-button:disabled, .bp3-control-group .bp3-button.bp3-disabled,
    .bp3-control-group .bp3-html-select select[readonly],
    .bp3-control-group .bp3-html-select select:disabled,
    .bp3-control-group .bp3-html-select select.bp3-disabled,
    .bp3-control-group .bp3-select select[readonly],
    .bp3-control-group .bp3-select select:disabled,
    .bp3-control-group .bp3-select select.bp3-disabled{
      z-index:3; }
    .bp3-control-group .bp3-button[class*="bp3-intent"],
    .bp3-control-group .bp3-html-select select[class*="bp3-intent"],
    .bp3-control-group .bp3-select select[class*="bp3-intent"]{
      z-index:9; }
      .bp3-control-group .bp3-button[class*="bp3-intent"]:focus,
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"]:focus,
      .bp3-control-group .bp3-select select[class*="bp3-intent"]:focus{
        z-index:10; }
      .bp3-control-group .bp3-button[class*="bp3-intent"]:hover,
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"]:hover,
      .bp3-control-group .bp3-select select[class*="bp3-intent"]:hover{
        z-index:11; }
      .bp3-control-group .bp3-button[class*="bp3-intent"]:active,
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"]:active,
      .bp3-control-group .bp3-select select[class*="bp3-intent"]:active{
        z-index:12; }
      .bp3-control-group .bp3-button[class*="bp3-intent"][readonly], .bp3-control-group .bp3-button[class*="bp3-intent"]:disabled, .bp3-control-group .bp3-button[class*="bp3-intent"].bp3-disabled,
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"][readonly],
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"]:disabled,
      .bp3-control-group .bp3-html-select select[class*="bp3-intent"].bp3-disabled,
      .bp3-control-group .bp3-select select[class*="bp3-intent"][readonly],
      .bp3-control-group .bp3-select select[class*="bp3-intent"]:disabled,
      .bp3-control-group .bp3-select select[class*="bp3-intent"].bp3-disabled{
        z-index:8; }
  .bp3-control-group .bp3-input-group > .bp3-icon,
  .bp3-control-group .bp3-input-group > .bp3-button,
  .bp3-control-group .bp3-input-group > .bp3-input-action{
    z-index:16; }
  .bp3-control-group .bp3-select::after,
  .bp3-control-group .bp3-html-select::after,
  .bp3-control-group .bp3-select > .bp3-icon,
  .bp3-control-group .bp3-html-select > .bp3-icon{
    z-index:17; }
  .bp3-control-group .bp3-select:focus-within{
    z-index:5; }
  .bp3-control-group:not(.bp3-vertical) > *:not(.bp3-divider){
    margin-right:-1px; }
  .bp3-control-group:not(.bp3-vertical) > .bp3-divider:not(:first-child){
    margin-left:6px; }
  .bp3-dark .bp3-control-group:not(.bp3-vertical) > *:not(.bp3-divider){
    margin-right:0; }
  .bp3-dark .bp3-control-group:not(.bp3-vertical) > .bp3-button + .bp3-button{
    margin-left:1px; }
  .bp3-control-group .bp3-popover-wrapper,
  .bp3-control-group .bp3-popover-target{
    border-radius:inherit; }
  .bp3-control-group > :first-child{
    border-radius:3px 0 0 3px; }
  .bp3-control-group > :last-child{
    border-radius:0 3px 3px 0;
    margin-right:0; }
  .bp3-control-group > :only-child{
    border-radius:3px;
    margin-right:0; }
  .bp3-control-group .bp3-input-group .bp3-button{
    border-radius:3px; }
  .bp3-control-group .bp3-numeric-input:not(:first-child) .bp3-input-group{
    border-bottom-left-radius:0;
    border-top-left-radius:0; }
  .bp3-control-group.bp3-fill{
    width:100%; }
  .bp3-control-group > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto; }
  .bp3-control-group.bp3-fill > *:not(.bp3-fixed){
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto; }
  .bp3-control-group.bp3-vertical{
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
        -ms-flex-direction:column;
            flex-direction:column; }
    .bp3-control-group.bp3-vertical > *{
      margin-top:-1px; }
    .bp3-control-group.bp3-vertical > :first-child{
      border-radius:3px 3px 0 0;
      margin-top:0; }
    .bp3-control-group.bp3-vertical > :last-child{
      border-radius:0 0 3px 3px; }
.bp3-control{
  cursor:pointer;
  display:block;
  margin-bottom:10px;
  position:relative;
  text-transform:none; }
  .bp3-control input:checked ~ .bp3-control-indicator{
    background-color:#137cbd;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
  .bp3-control:hover input:checked ~ .bp3-control-indicator{
    background-color:#106ba3;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
  .bp3-control input:not(:disabled):active:checked ~ .bp3-control-indicator{
    background:#0e5a8a;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-control input:disabled:checked ~ .bp3-control-indicator{
    background:rgba(19, 124, 189, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-dark .bp3-control input:checked ~ .bp3-control-indicator{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control:hover input:checked ~ .bp3-control-indicator{
    background-color:#106ba3;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control input:not(:disabled):active:checked ~ .bp3-control-indicator{
    background-color:#0e5a8a;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-control input:disabled:checked ~ .bp3-control-indicator{
    background:rgba(14, 90, 138, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-control:not(.bp3-align-right){
    padding-left:26px; }
    .bp3-control:not(.bp3-align-right) .bp3-control-indicator{
      margin-left:-26px; }
  .bp3-control.bp3-align-right{
    padding-right:26px; }
    .bp3-control.bp3-align-right .bp3-control-indicator{
      margin-right:-26px; }
  .bp3-control.bp3-disabled{
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed; }
  .bp3-control.bp3-inline{
    display:inline-block;
    margin-right:20px; }
  .bp3-control input{
    left:0;
    opacity:0;
    position:absolute;
    top:0;
    z-index:-1; }
  .bp3-control .bp3-control-indicator{
    background-clip:padding-box;
    background-color:#f5f8fa;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    border:none;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
    cursor:pointer;
    display:inline-block;
    font-size:16px;
    height:1em;
    margin-right:10px;
    margin-top:-3px;
    position:relative;
    -webkit-user-select:none;
       -moz-user-select:none;
        -ms-user-select:none;
            user-select:none;
    vertical-align:middle;
    width:1em; }
    .bp3-control .bp3-control-indicator::before{
      content:"";
      display:block;
      height:1em;
      width:1em; }
  .bp3-control:hover .bp3-control-indicator{
    background-color:#ebf1f5; }
  .bp3-control input:not(:disabled):active ~ .bp3-control-indicator{
    background:#d8e1e8;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-control input:disabled ~ .bp3-control-indicator{
    background:rgba(206, 217, 224, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none;
    cursor:not-allowed; }
  .bp3-control input:focus ~ .bp3-control-indicator{
    outline:rgba(19, 124, 189, 0.6) auto 2px;
    outline-offset:2px;
    -moz-outline-radius:6px; }
  .bp3-control.bp3-align-right .bp3-control-indicator{
    float:right;
    margin-left:10px;
    margin-top:1px; }
  .bp3-control.bp3-large{
    font-size:16px; }
    .bp3-control.bp3-large:not(.bp3-align-right){
      padding-left:30px; }
      .bp3-control.bp3-large:not(.bp3-align-right) .bp3-control-indicator{
        margin-left:-30px; }
    .bp3-control.bp3-large.bp3-align-right{
      padding-right:30px; }
      .bp3-control.bp3-large.bp3-align-right .bp3-control-indicator{
        margin-right:-30px; }
    .bp3-control.bp3-large .bp3-control-indicator{
      font-size:20px; }
    .bp3-control.bp3-large.bp3-align-right .bp3-control-indicator{
      margin-top:0; }
  .bp3-control.bp3-checkbox input:indeterminate ~ .bp3-control-indicator{
    background-color:#137cbd;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
    color:#ffffff; }
  .bp3-control.bp3-checkbox:hover input:indeterminate ~ .bp3-control-indicator{
    background-color:#106ba3;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 -1px 0 rgba(16, 22, 26, 0.2); }
  .bp3-control.bp3-checkbox input:not(:disabled):active:indeterminate ~ .bp3-control-indicator{
    background:#0e5a8a;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-control.bp3-checkbox input:disabled:indeterminate ~ .bp3-control-indicator{
    background:rgba(19, 124, 189, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-dark .bp3-control.bp3-checkbox input:indeterminate ~ .bp3-control-indicator{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control.bp3-checkbox:hover input:indeterminate ~ .bp3-control-indicator{
    background-color:#106ba3;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control.bp3-checkbox input:not(:disabled):active:indeterminate ~ .bp3-control-indicator{
    background-color:#0e5a8a;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-control.bp3-checkbox input:disabled:indeterminate ~ .bp3-control-indicator{
    background:rgba(14, 90, 138, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-control.bp3-checkbox .bp3-control-indicator{
    border-radius:3px; }
  .bp3-control.bp3-checkbox input:checked ~ .bp3-control-indicator::before{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='white'/%3e%3c/svg%3e"); }
  .bp3-control.bp3-checkbox input:indeterminate ~ .bp3-control-indicator::before{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1z' fill='white'/%3e%3c/svg%3e"); }
  .bp3-control.bp3-radio .bp3-control-indicator{
    border-radius:50%; }
  .bp3-control.bp3-radio input:checked ~ .bp3-control-indicator::before{
    background-image:radial-gradient(#ffffff, #ffffff 28%, transparent 32%); }
  .bp3-control.bp3-radio input:checked:disabled ~ .bp3-control-indicator::before{
    opacity:0.5; }
  .bp3-control.bp3-radio input:focus ~ .bp3-control-indicator{
    -moz-outline-radius:16px; }
  .bp3-control.bp3-switch input ~ .bp3-control-indicator{
    background:rgba(167, 182, 194, 0.5); }
  .bp3-control.bp3-switch:hover input ~ .bp3-control-indicator{
    background:rgba(115, 134, 148, 0.5); }
  .bp3-control.bp3-switch input:not(:disabled):active ~ .bp3-control-indicator{
    background:rgba(92, 112, 128, 0.5); }
  .bp3-control.bp3-switch input:disabled ~ .bp3-control-indicator{
    background:rgba(206, 217, 224, 0.5); }
    .bp3-control.bp3-switch input:disabled ~ .bp3-control-indicator::before{
      background:rgba(255, 255, 255, 0.8); }
  .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator{
    background:#137cbd; }
  .bp3-control.bp3-switch:hover input:checked ~ .bp3-control-indicator{
    background:#106ba3; }
  .bp3-control.bp3-switch input:checked:not(:disabled):active ~ .bp3-control-indicator{
    background:#0e5a8a; }
  .bp3-control.bp3-switch input:checked:disabled ~ .bp3-control-indicator{
    background:rgba(19, 124, 189, 0.5); }
    .bp3-control.bp3-switch input:checked:disabled ~ .bp3-control-indicator::before{
      background:rgba(255, 255, 255, 0.8); }
  .bp3-control.bp3-switch:not(.bp3-align-right){
    padding-left:38px; }
    .bp3-control.bp3-switch:not(.bp3-align-right) .bp3-control-indicator{
      margin-left:-38px; }
  .bp3-control.bp3-switch.bp3-align-right{
    padding-right:38px; }
    .bp3-control.bp3-switch.bp3-align-right .bp3-control-indicator{
      margin-right:-38px; }
  .bp3-control.bp3-switch .bp3-control-indicator{
    border:none;
    border-radius:1.75em;
    -webkit-box-shadow:none !important;
            box-shadow:none !important;
    min-width:1.75em;
    -webkit-transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:background-color 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
    width:auto; }
    .bp3-control.bp3-switch .bp3-control-indicator::before{
      background:#ffffff;
      border-radius:50%;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
      height:calc(1em - 4px);
      left:0;
      margin:2px;
      position:absolute;
      -webkit-transition:left 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
      transition:left 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
      width:calc(1em - 4px); }
  .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator::before{
    left:calc(100% - 1em); }
  .bp3-control.bp3-switch.bp3-large:not(.bp3-align-right){
    padding-left:45px; }
    .bp3-control.bp3-switch.bp3-large:not(.bp3-align-right) .bp3-control-indicator{
      margin-left:-45px; }
  .bp3-control.bp3-switch.bp3-large.bp3-align-right{
    padding-right:45px; }
    .bp3-control.bp3-switch.bp3-large.bp3-align-right .bp3-control-indicator{
      margin-right:-45px; }
  .bp3-dark .bp3-control.bp3-switch input ~ .bp3-control-indicator{
    background:rgba(16, 22, 26, 0.5); }
  .bp3-dark .bp3-control.bp3-switch:hover input ~ .bp3-control-indicator{
    background:rgba(16, 22, 26, 0.7); }
  .bp3-dark .bp3-control.bp3-switch input:not(:disabled):active ~ .bp3-control-indicator{
    background:rgba(16, 22, 26, 0.9); }
  .bp3-dark .bp3-control.bp3-switch input:disabled ~ .bp3-control-indicator{
    background:rgba(57, 75, 89, 0.5); }
    .bp3-dark .bp3-control.bp3-switch input:disabled ~ .bp3-control-indicator::before{
      background:rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator{
    background:#137cbd; }
  .bp3-dark .bp3-control.bp3-switch:hover input:checked ~ .bp3-control-indicator{
    background:#106ba3; }
  .bp3-dark .bp3-control.bp3-switch input:checked:not(:disabled):active ~ .bp3-control-indicator{
    background:#0e5a8a; }
  .bp3-dark .bp3-control.bp3-switch input:checked:disabled ~ .bp3-control-indicator{
    background:rgba(14, 90, 138, 0.5); }
    .bp3-dark .bp3-control.bp3-switch input:checked:disabled ~ .bp3-control-indicator::before{
      background:rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control.bp3-switch .bp3-control-indicator::before{
    background:#394b59;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator::before{
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-control.bp3-switch .bp3-switch-inner-text{
    font-size:0.7em;
    text-align:center; }
  .bp3-control.bp3-switch .bp3-control-indicator-child:first-child{
    line-height:0;
    margin-left:0.5em;
    margin-right:1.2em;
    visibility:hidden; }
  .bp3-control.bp3-switch .bp3-control-indicator-child:last-child{
    line-height:1em;
    margin-left:1.2em;
    margin-right:0.5em;
    visibility:visible; }
  .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator .bp3-control-indicator-child:first-child{
    line-height:1em;
    visibility:visible; }
  .bp3-control.bp3-switch input:checked ~ .bp3-control-indicator .bp3-control-indicator-child:last-child{
    line-height:0;
    visibility:hidden; }
  .bp3-dark .bp3-control{
    color:#f5f8fa; }
    .bp3-dark .bp3-control.bp3-disabled{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-control .bp3-control-indicator{
      background-color:#394b59;
      background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.05)), to(rgba(255, 255, 255, 0)));
      background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-control:hover .bp3-control-indicator{
      background-color:#30404d; }
    .bp3-dark .bp3-control input:not(:disabled):active ~ .bp3-control-indicator{
      background:#202b33;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-dark .bp3-control input:disabled ~ .bp3-control-indicator{
      background:rgba(57, 75, 89, 0.5);
      -webkit-box-shadow:none;
              box-shadow:none;
      cursor:not-allowed; }
    .bp3-dark .bp3-control.bp3-checkbox input:disabled:checked ~ .bp3-control-indicator, .bp3-dark .bp3-control.bp3-checkbox input:disabled:indeterminate ~ .bp3-control-indicator{
      color:rgba(167, 182, 194, 0.6); }
.bp3-file-input{
  cursor:pointer;
  display:inline-block;
  height:30px;
  position:relative; }
  .bp3-file-input input{
    margin:0;
    min-width:200px;
    opacity:0; }
    .bp3-file-input input:disabled + .bp3-file-upload-input,
    .bp3-file-input input.bp3-disabled + .bp3-file-upload-input{
      background:rgba(206, 217, 224, 0.5);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed;
      resize:none; }
      .bp3-file-input input:disabled + .bp3-file-upload-input::after,
      .bp3-file-input input.bp3-disabled + .bp3-file-upload-input::after{
        background-color:rgba(206, 217, 224, 0.5);
        background-image:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:rgba(92, 112, 128, 0.6);
        cursor:not-allowed;
        outline:none; }
        .bp3-file-input input:disabled + .bp3-file-upload-input::after.bp3-active, .bp3-file-input input:disabled + .bp3-file-upload-input::after.bp3-active:hover,
        .bp3-file-input input.bp3-disabled + .bp3-file-upload-input::after.bp3-active,
        .bp3-file-input input.bp3-disabled + .bp3-file-upload-input::after.bp3-active:hover{
          background:rgba(206, 217, 224, 0.7); }
      .bp3-dark .bp3-file-input input:disabled + .bp3-file-upload-input, .bp3-dark
      .bp3-file-input input.bp3-disabled + .bp3-file-upload-input{
        background:rgba(57, 75, 89, 0.5);
        -webkit-box-shadow:none;
                box-shadow:none;
        color:rgba(167, 182, 194, 0.6); }
        .bp3-dark .bp3-file-input input:disabled + .bp3-file-upload-input::after, .bp3-dark
        .bp3-file-input input.bp3-disabled + .bp3-file-upload-input::after{
          background-color:rgba(57, 75, 89, 0.5);
          background-image:none;
          -webkit-box-shadow:none;
                  box-shadow:none;
          color:rgba(167, 182, 194, 0.6); }
          .bp3-dark .bp3-file-input input:disabled + .bp3-file-upload-input::after.bp3-active, .bp3-dark
          .bp3-file-input input.bp3-disabled + .bp3-file-upload-input::after.bp3-active{
            background:rgba(57, 75, 89, 0.7); }
  .bp3-file-input.bp3-file-input-has-selection .bp3-file-upload-input{
    color:#182026; }
  .bp3-dark .bp3-file-input.bp3-file-input-has-selection .bp3-file-upload-input{
    color:#f5f8fa; }
  .bp3-file-input.bp3-fill{
    width:100%; }
  .bp3-file-input.bp3-large,
  .bp3-large .bp3-file-input{
    height:40px; }
  .bp3-file-input .bp3-file-upload-input-custom-text::after{
    content:attr(bp3-button-text); }

.bp3-file-upload-input{
  -webkit-appearance:none;
     -moz-appearance:none;
          appearance:none;
  background:#ffffff;
  border:none;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
  color:#182026;
  font-size:14px;
  font-weight:400;
  height:30px;
  line-height:30px;
  outline:none;
  padding:0 10px;
  -webkit-transition:-webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:-webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  vertical-align:middle;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal;
  color:rgba(92, 112, 128, 0.6);
  left:0;
  padding-right:80px;
  position:absolute;
  right:0;
  top:0;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-file-upload-input::-webkit-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-file-upload-input::-moz-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-file-upload-input:-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-file-upload-input::-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-file-upload-input::placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-file-upload-input:focus, .bp3-file-upload-input.bp3-active{
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-file-upload-input[type="search"], .bp3-file-upload-input.bp3-round{
    border-radius:30px;
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
    padding-left:10px; }
  .bp3-file-upload-input[readonly]{
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15); }
  .bp3-file-upload-input:disabled, .bp3-file-upload-input.bp3-disabled{
    background:rgba(206, 217, 224, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed;
    resize:none; }
  .bp3-file-upload-input::after{
    background-color:#f5f8fa;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
    color:#182026;
    min-height:24px;
    min-width:24px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    border-radius:3px;
    content:"Browse";
    line-height:24px;
    margin:3px;
    position:absolute;
    right:0;
    text-align:center;
    top:0;
    width:70px; }
    .bp3-file-upload-input::after:hover{
      background-clip:padding-box;
      background-color:#ebf1f5;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
    .bp3-file-upload-input::after:active, .bp3-file-upload-input::after.bp3-active{
      background-color:#d8e1e8;
      background-image:none;
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-file-upload-input::after:disabled, .bp3-file-upload-input::after.bp3-disabled{
      background-color:rgba(206, 217, 224, 0.5);
      background-image:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(92, 112, 128, 0.6);
      cursor:not-allowed;
      outline:none; }
      .bp3-file-upload-input::after:disabled.bp3-active, .bp3-file-upload-input::after:disabled.bp3-active:hover, .bp3-file-upload-input::after.bp3-disabled.bp3-active, .bp3-file-upload-input::after.bp3-disabled.bp3-active:hover{
        background:rgba(206, 217, 224, 0.7); }
  .bp3-file-upload-input:hover::after{
    background-clip:padding-box;
    background-color:#ebf1f5;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
  .bp3-file-upload-input:active::after{
    background-color:#d8e1e8;
    background-image:none;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-large .bp3-file-upload-input{
    font-size:16px;
    height:40px;
    line-height:40px;
    padding-right:95px; }
    .bp3-large .bp3-file-upload-input[type="search"], .bp3-large .bp3-file-upload-input.bp3-round{
      padding:0 15px; }
    .bp3-large .bp3-file-upload-input::after{
      min-height:30px;
      min-width:30px;
      line-height:30px;
      margin:5px;
      width:85px; }
  .bp3-dark .bp3-file-upload-input{
    background:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa;
    color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input::-webkit-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input::-moz-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input:-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input::-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input::placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input:focus{
      -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-file-upload-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-file-upload-input:disabled, .bp3-dark .bp3-file-upload-input.bp3-disabled{
      background:rgba(57, 75, 89, 0.5);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-file-upload-input::after{
      background-color:#394b59;
      background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.05)), to(rgba(255, 255, 255, 0)));
      background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
      color:#f5f8fa; }
      .bp3-dark .bp3-file-upload-input::after:hover, .bp3-dark .bp3-file-upload-input::after:active, .bp3-dark .bp3-file-upload-input::after.bp3-active{
        color:#f5f8fa; }
      .bp3-dark .bp3-file-upload-input::after:hover{
        background-color:#30404d;
        -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
                box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-file-upload-input::after:active, .bp3-dark .bp3-file-upload-input::after.bp3-active{
        background-color:#202b33;
        background-image:none;
        -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
                box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
      .bp3-dark .bp3-file-upload-input::after:disabled, .bp3-dark .bp3-file-upload-input::after.bp3-disabled{
        background-color:rgba(57, 75, 89, 0.5);
        background-image:none;
        -webkit-box-shadow:none;
                box-shadow:none;
        color:rgba(167, 182, 194, 0.6); }
        .bp3-dark .bp3-file-upload-input::after:disabled.bp3-active, .bp3-dark .bp3-file-upload-input::after.bp3-disabled.bp3-active{
          background:rgba(57, 75, 89, 0.7); }
      .bp3-dark .bp3-file-upload-input::after .bp3-button-spinner .bp3-spinner-head{
        background:rgba(16, 22, 26, 0.5);
        stroke:#8a9ba8; }
    .bp3-dark .bp3-file-upload-input:hover::after{
      background-color:#30404d;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-file-upload-input:active::after{
      background-color:#202b33;
      background-image:none;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
.bp3-file-upload-input::after{
  -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
          box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
.bp3-form-group{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  margin:0 0 15px; }
  .bp3-form-group label.bp3-label{
    margin-bottom:5px; }
  .bp3-form-group .bp3-control{
    margin-top:7px; }
  .bp3-form-group .bp3-form-helper-text{
    color:#5c7080;
    font-size:12px;
    margin-top:5px; }
  .bp3-form-group.bp3-intent-primary .bp3-form-helper-text{
    color:#106ba3; }
  .bp3-form-group.bp3-intent-success .bp3-form-helper-text{
    color:#0d8050; }
  .bp3-form-group.bp3-intent-warning .bp3-form-helper-text{
    color:#bf7326; }
  .bp3-form-group.bp3-intent-danger .bp3-form-helper-text{
    color:#c23030; }
  .bp3-form-group.bp3-inline{
    -webkit-box-align:start;
        -ms-flex-align:start;
            align-items:flex-start;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
        -ms-flex-direction:row;
            flex-direction:row; }
    .bp3-form-group.bp3-inline.bp3-large label.bp3-label{
      line-height:40px;
      margin:0 10px 0 0; }
    .bp3-form-group.bp3-inline label.bp3-label{
      line-height:30px;
      margin:0 10px 0 0; }
  .bp3-form-group.bp3-disabled .bp3-label,
  .bp3-form-group.bp3-disabled .bp3-text-muted,
  .bp3-form-group.bp3-disabled .bp3-form-helper-text{
    color:rgba(92, 112, 128, 0.6) !important; }
  .bp3-dark .bp3-form-group.bp3-intent-primary .bp3-form-helper-text{
    color:#48aff0; }
  .bp3-dark .bp3-form-group.bp3-intent-success .bp3-form-helper-text{
    color:#3dcc91; }
  .bp3-dark .bp3-form-group.bp3-intent-warning .bp3-form-helper-text{
    color:#ffb366; }
  .bp3-dark .bp3-form-group.bp3-intent-danger .bp3-form-helper-text{
    color:#ff7373; }
  .bp3-dark .bp3-form-group .bp3-form-helper-text{
    color:#a7b6c2; }
  .bp3-dark .bp3-form-group.bp3-disabled .bp3-label,
  .bp3-dark .bp3-form-group.bp3-disabled .bp3-text-muted,
  .bp3-dark .bp3-form-group.bp3-disabled .bp3-form-helper-text{
    color:rgba(167, 182, 194, 0.6) !important; }
.bp3-input-group{
  display:block;
  position:relative; }
  .bp3-input-group .bp3-input{
    position:relative;
    width:100%; }
    .bp3-input-group .bp3-input:not(:first-child){
      padding-left:30px; }
    .bp3-input-group .bp3-input:not(:last-child){
      padding-right:30px; }
  .bp3-input-group .bp3-input-action,
  .bp3-input-group > .bp3-input-left-container,
  .bp3-input-group > .bp3-button,
  .bp3-input-group > .bp3-icon{
    position:absolute;
    top:0; }
    .bp3-input-group .bp3-input-action:first-child,
    .bp3-input-group > .bp3-input-left-container:first-child,
    .bp3-input-group > .bp3-button:first-child,
    .bp3-input-group > .bp3-icon:first-child{
      left:0; }
    .bp3-input-group .bp3-input-action:last-child,
    .bp3-input-group > .bp3-input-left-container:last-child,
    .bp3-input-group > .bp3-button:last-child,
    .bp3-input-group > .bp3-icon:last-child{
      right:0; }
  .bp3-input-group .bp3-button{
    min-height:24px;
    min-width:24px;
    margin:3px;
    padding:0 7px; }
    .bp3-input-group .bp3-button:empty{
      padding:0; }
  .bp3-input-group > .bp3-input-left-container,
  .bp3-input-group > .bp3-icon{
    z-index:1; }
  .bp3-input-group > .bp3-input-left-container > .bp3-icon,
  .bp3-input-group > .bp3-icon{
    color:#5c7080; }
    .bp3-input-group > .bp3-input-left-container > .bp3-icon:empty,
    .bp3-input-group > .bp3-icon:empty{
      font-family:"Icons16", sans-serif;
      font-size:16px;
      font-style:normal;
      font-weight:400;
      line-height:1;
      -moz-osx-font-smoothing:grayscale;
      -webkit-font-smoothing:antialiased; }
  .bp3-input-group > .bp3-input-left-container > .bp3-icon,
  .bp3-input-group > .bp3-icon,
  .bp3-input-group .bp3-input-action > .bp3-spinner{
    margin:7px; }
  .bp3-input-group .bp3-tag{
    margin:5px; }
  .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:not(:hover):not(:focus),
  .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:not(:hover):not(:focus){
    color:#5c7080; }
    .bp3-dark .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:not(:hover):not(:focus), .bp3-dark
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:not(:hover):not(:focus){
      color:#a7b6c2; }
    .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon, .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon-standard, .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon-large,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon-standard,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:not(:hover):not(:focus) .bp3-icon-large{
      color:#5c7080; }
  .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:disabled,
  .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:disabled{
    color:rgba(92, 112, 128, 0.6) !important; }
    .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:disabled .bp3-icon, .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:disabled .bp3-icon-standard, .bp3-input-group .bp3-input:not(:focus) + .bp3-button.bp3-minimal:disabled .bp3-icon-large,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:disabled .bp3-icon,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:disabled .bp3-icon-standard,
    .bp3-input-group .bp3-input:not(:focus) + .bp3-input-action .bp3-button.bp3-minimal:disabled .bp3-icon-large{
      color:rgba(92, 112, 128, 0.6) !important; }
  .bp3-input-group.bp3-disabled{
    cursor:not-allowed; }
    .bp3-input-group.bp3-disabled .bp3-icon{
      color:rgba(92, 112, 128, 0.6); }
  .bp3-input-group.bp3-large .bp3-button{
    min-height:30px;
    min-width:30px;
    margin:5px; }
  .bp3-input-group.bp3-large > .bp3-input-left-container > .bp3-icon,
  .bp3-input-group.bp3-large > .bp3-icon,
  .bp3-input-group.bp3-large .bp3-input-action > .bp3-spinner{
    margin:12px; }
  .bp3-input-group.bp3-large .bp3-input{
    font-size:16px;
    height:40px;
    line-height:40px; }
    .bp3-input-group.bp3-large .bp3-input[type="search"], .bp3-input-group.bp3-large .bp3-input.bp3-round{
      padding:0 15px; }
    .bp3-input-group.bp3-large .bp3-input:not(:first-child){
      padding-left:40px; }
    .bp3-input-group.bp3-large .bp3-input:not(:last-child){
      padding-right:40px; }
  .bp3-input-group.bp3-small .bp3-button{
    min-height:20px;
    min-width:20px;
    margin:2px; }
  .bp3-input-group.bp3-small .bp3-tag{
    min-height:20px;
    min-width:20px;
    margin:2px; }
  .bp3-input-group.bp3-small > .bp3-input-left-container > .bp3-icon,
  .bp3-input-group.bp3-small > .bp3-icon,
  .bp3-input-group.bp3-small .bp3-input-action > .bp3-spinner{
    margin:4px; }
  .bp3-input-group.bp3-small .bp3-input{
    font-size:12px;
    height:24px;
    line-height:24px;
    padding-left:8px;
    padding-right:8px; }
    .bp3-input-group.bp3-small .bp3-input[type="search"], .bp3-input-group.bp3-small .bp3-input.bp3-round{
      padding:0 12px; }
    .bp3-input-group.bp3-small .bp3-input:not(:first-child){
      padding-left:24px; }
    .bp3-input-group.bp3-small .bp3-input:not(:last-child){
      padding-right:24px; }
  .bp3-input-group.bp3-fill{
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    width:100%; }
  .bp3-input-group.bp3-round .bp3-button,
  .bp3-input-group.bp3-round .bp3-input,
  .bp3-input-group.bp3-round .bp3-tag{
    border-radius:30px; }
  .bp3-dark .bp3-input-group .bp3-icon{
    color:#a7b6c2; }
  .bp3-dark .bp3-input-group.bp3-disabled .bp3-icon{
    color:rgba(167, 182, 194, 0.6); }
  .bp3-input-group.bp3-intent-primary .bp3-input{
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-primary .bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-primary .bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #137cbd;
              box-shadow:inset 0 0 0 1px #137cbd; }
    .bp3-input-group.bp3-intent-primary .bp3-input:disabled, .bp3-input-group.bp3-intent-primary .bp3-input.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-input-group.bp3-intent-primary > .bp3-icon{
    color:#106ba3; }
    .bp3-dark .bp3-input-group.bp3-intent-primary > .bp3-icon{
      color:#48aff0; }
  .bp3-input-group.bp3-intent-success .bp3-input{
    -webkit-box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-success .bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-success .bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #0f9960;
              box-shadow:inset 0 0 0 1px #0f9960; }
    .bp3-input-group.bp3-intent-success .bp3-input:disabled, .bp3-input-group.bp3-intent-success .bp3-input.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-input-group.bp3-intent-success > .bp3-icon{
    color:#0d8050; }
    .bp3-dark .bp3-input-group.bp3-intent-success > .bp3-icon{
      color:#3dcc91; }
  .bp3-input-group.bp3-intent-warning .bp3-input{
    -webkit-box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-warning .bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-warning .bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #d9822b;
              box-shadow:inset 0 0 0 1px #d9822b; }
    .bp3-input-group.bp3-intent-warning .bp3-input:disabled, .bp3-input-group.bp3-intent-warning .bp3-input.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-input-group.bp3-intent-warning > .bp3-icon{
    color:#bf7326; }
    .bp3-dark .bp3-input-group.bp3-intent-warning > .bp3-icon{
      color:#ffb366; }
  .bp3-input-group.bp3-intent-danger .bp3-input{
    -webkit-box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-danger .bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input-group.bp3-intent-danger .bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #db3737;
              box-shadow:inset 0 0 0 1px #db3737; }
    .bp3-input-group.bp3-intent-danger .bp3-input:disabled, .bp3-input-group.bp3-intent-danger .bp3-input.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-input-group.bp3-intent-danger > .bp3-icon{
    color:#c23030; }
    .bp3-dark .bp3-input-group.bp3-intent-danger > .bp3-icon{
      color:#ff7373; }
.bp3-input{
  -webkit-appearance:none;
     -moz-appearance:none;
          appearance:none;
  background:#ffffff;
  border:none;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
  color:#182026;
  font-size:14px;
  font-weight:400;
  height:30px;
  line-height:30px;
  outline:none;
  padding:0 10px;
  -webkit-transition:-webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:-webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-box-shadow 100ms cubic-bezier(0.4, 1, 0.75, 0.9);
  vertical-align:middle; }
  .bp3-input::-webkit-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input::-moz-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input:-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input::-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input::placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input:focus, .bp3-input.bp3-active{
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-input[type="search"], .bp3-input.bp3-round{
    border-radius:30px;
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
    padding-left:10px; }
  .bp3-input[readonly]{
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.15); }
  .bp3-input:disabled, .bp3-input.bp3-disabled{
    background:rgba(206, 217, 224, 0.5);
    -webkit-box-shadow:none;
            box-shadow:none;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed;
    resize:none; }
  .bp3-input.bp3-large{
    font-size:16px;
    height:40px;
    line-height:40px; }
    .bp3-input.bp3-large[type="search"], .bp3-input.bp3-large.bp3-round{
      padding:0 15px; }
  .bp3-input.bp3-small{
    font-size:12px;
    height:24px;
    line-height:24px;
    padding-left:8px;
    padding-right:8px; }
    .bp3-input.bp3-small[type="search"], .bp3-input.bp3-small.bp3-round{
      padding:0 12px; }
  .bp3-input.bp3-fill{
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    width:100%; }
  .bp3-dark .bp3-input{
    background:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }
    .bp3-dark .bp3-input::-webkit-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-input::-moz-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-input:-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-input::-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-input::placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-input:disabled, .bp3-dark .bp3-input.bp3-disabled{
      background:rgba(57, 75, 89, 0.5);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(167, 182, 194, 0.6); }
  .bp3-input.bp3-intent-primary{
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-primary:focus{
      -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-primary[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #137cbd;
              box-shadow:inset 0 0 0 1px #137cbd; }
    .bp3-input.bp3-intent-primary:disabled, .bp3-input.bp3-intent-primary.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
    .bp3-dark .bp3-input.bp3-intent-primary{
      -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px #137cbd, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-primary:focus{
        -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
                box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-primary[readonly]{
        -webkit-box-shadow:inset 0 0 0 1px #137cbd;
                box-shadow:inset 0 0 0 1px #137cbd; }
      .bp3-dark .bp3-input.bp3-intent-primary:disabled, .bp3-dark .bp3-input.bp3-intent-primary.bp3-disabled{
        -webkit-box-shadow:none;
                box-shadow:none; }
  .bp3-input.bp3-intent-success{
    -webkit-box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-success:focus{
      -webkit-box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-success[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #0f9960;
              box-shadow:inset 0 0 0 1px #0f9960; }
    .bp3-input.bp3-intent-success:disabled, .bp3-input.bp3-intent-success.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
    .bp3-dark .bp3-input.bp3-intent-success{
      -webkit-box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), 0 0 0 0 rgba(15, 153, 96, 0), inset 0 0 0 1px #0f9960, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-success:focus{
        -webkit-box-shadow:0 0 0 1px #0f9960, 0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
                box-shadow:0 0 0 1px #0f9960, 0 0 0 1px #0f9960, 0 0 0 3px rgba(15, 153, 96, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-success[readonly]{
        -webkit-box-shadow:inset 0 0 0 1px #0f9960;
                box-shadow:inset 0 0 0 1px #0f9960; }
      .bp3-dark .bp3-input.bp3-intent-success:disabled, .bp3-dark .bp3-input.bp3-intent-success.bp3-disabled{
        -webkit-box-shadow:none;
                box-shadow:none; }
  .bp3-input.bp3-intent-warning{
    -webkit-box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-warning:focus{
      -webkit-box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-warning[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #d9822b;
              box-shadow:inset 0 0 0 1px #d9822b; }
    .bp3-input.bp3-intent-warning:disabled, .bp3-input.bp3-intent-warning.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
    .bp3-dark .bp3-input.bp3-intent-warning{
      -webkit-box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), 0 0 0 0 rgba(217, 130, 43, 0), inset 0 0 0 1px #d9822b, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-warning:focus{
        -webkit-box-shadow:0 0 0 1px #d9822b, 0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
                box-shadow:0 0 0 1px #d9822b, 0 0 0 1px #d9822b, 0 0 0 3px rgba(217, 130, 43, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-warning[readonly]{
        -webkit-box-shadow:inset 0 0 0 1px #d9822b;
                box-shadow:inset 0 0 0 1px #d9822b; }
      .bp3-dark .bp3-input.bp3-intent-warning:disabled, .bp3-dark .bp3-input.bp3-intent-warning.bp3-disabled{
        -webkit-box-shadow:none;
                box-shadow:none; }
  .bp3-input.bp3-intent-danger{
    -webkit-box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-danger:focus{
      -webkit-box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-input.bp3-intent-danger[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px #db3737;
              box-shadow:inset 0 0 0 1px #db3737; }
    .bp3-input.bp3-intent-danger:disabled, .bp3-input.bp3-intent-danger.bp3-disabled{
      -webkit-box-shadow:none;
              box-shadow:none; }
    .bp3-dark .bp3-input.bp3-intent-danger{
      -webkit-box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), 0 0 0 0 rgba(219, 55, 55, 0), inset 0 0 0 1px #db3737, inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-danger:focus{
        -webkit-box-shadow:0 0 0 1px #db3737, 0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
                box-shadow:0 0 0 1px #db3737, 0 0 0 1px #db3737, 0 0 0 3px rgba(219, 55, 55, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
      .bp3-dark .bp3-input.bp3-intent-danger[readonly]{
        -webkit-box-shadow:inset 0 0 0 1px #db3737;
                box-shadow:inset 0 0 0 1px #db3737; }
      .bp3-dark .bp3-input.bp3-intent-danger:disabled, .bp3-dark .bp3-input.bp3-intent-danger.bp3-disabled{
        -webkit-box-shadow:none;
                box-shadow:none; }
  .bp3-input::-ms-clear{
    display:none; }
textarea.bp3-input{
  max-width:100%;
  padding:10px; }
  textarea.bp3-input, textarea.bp3-input.bp3-large, textarea.bp3-input.bp3-small{
    height:auto;
    line-height:inherit; }
  textarea.bp3-input.bp3-small{
    padding:8px; }
  .bp3-dark textarea.bp3-input{
    background:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }
    .bp3-dark textarea.bp3-input::-webkit-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark textarea.bp3-input::-moz-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark textarea.bp3-input:-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark textarea.bp3-input::-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark textarea.bp3-input::placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark textarea.bp3-input:focus{
      -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark textarea.bp3-input[readonly]{
      -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark textarea.bp3-input:disabled, .bp3-dark textarea.bp3-input.bp3-disabled{
      background:rgba(57, 75, 89, 0.5);
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(167, 182, 194, 0.6); }
label.bp3-label{
  display:block;
  margin-bottom:15px;
  margin-top:0; }
  label.bp3-label .bp3-html-select,
  label.bp3-label .bp3-input,
  label.bp3-label .bp3-select,
  label.bp3-label .bp3-slider,
  label.bp3-label .bp3-popover-wrapper{
    display:block;
    margin-top:5px;
    text-transform:none; }
  label.bp3-label .bp3-button-group{
    margin-top:5px; }
  label.bp3-label .bp3-select select,
  label.bp3-label .bp3-html-select select{
    font-weight:400;
    vertical-align:top;
    width:100%; }
  label.bp3-label.bp3-disabled,
  label.bp3-label.bp3-disabled .bp3-text-muted{
    color:rgba(92, 112, 128, 0.6); }
  label.bp3-label.bp3-inline{
    line-height:30px; }
    label.bp3-label.bp3-inline .bp3-html-select,
    label.bp3-label.bp3-inline .bp3-input,
    label.bp3-label.bp3-inline .bp3-input-group,
    label.bp3-label.bp3-inline .bp3-select,
    label.bp3-label.bp3-inline .bp3-popover-wrapper{
      display:inline-block;
      margin:0 0 0 5px;
      vertical-align:top; }
    label.bp3-label.bp3-inline .bp3-button-group{
      margin:0 0 0 5px; }
    label.bp3-label.bp3-inline .bp3-input-group .bp3-input{
      margin-left:0; }
    label.bp3-label.bp3-inline.bp3-large{
      line-height:40px; }
  label.bp3-label:not(.bp3-inline) .bp3-popover-target{
    display:block; }
  .bp3-dark label.bp3-label{
    color:#f5f8fa; }
    .bp3-dark label.bp3-label.bp3-disabled,
    .bp3-dark label.bp3-label.bp3-disabled .bp3-text-muted{
      color:rgba(167, 182, 194, 0.6); }
.bp3-numeric-input .bp3-button-group.bp3-vertical > .bp3-button{
  -webkit-box-flex:1;
      -ms-flex:1 1 14px;
          flex:1 1 14px;
  min-height:0;
  padding:0;
  width:30px; }
  .bp3-numeric-input .bp3-button-group.bp3-vertical > .bp3-button:first-child{
    border-radius:0 3px 0 0; }
  .bp3-numeric-input .bp3-button-group.bp3-vertical > .bp3-button:last-child{
    border-radius:0 0 3px 0; }

.bp3-numeric-input .bp3-button-group.bp3-vertical:first-child > .bp3-button:first-child{
  border-radius:3px 0 0 0; }

.bp3-numeric-input .bp3-button-group.bp3-vertical:first-child > .bp3-button:last-child{
  border-radius:0 0 0 3px; }

.bp3-numeric-input.bp3-large .bp3-button-group.bp3-vertical > .bp3-button{
  width:40px; }

form{
  display:block; }
.bp3-html-select select,
.bp3-select select{
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  border:none;
  border-radius:3px;
  cursor:pointer;
  font-size:14px;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  padding:5px 10px;
  text-align:left;
  vertical-align:middle;
  background-color:#f5f8fa;
  background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
  background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
          box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
  color:#182026;
  -moz-appearance:none;
  -webkit-appearance:none;
  border-radius:3px;
  height:30px;
  padding:0 25px 0 10px;
  width:100%; }
  .bp3-html-select select > *, .bp3-select select > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-html-select select > .bp3-fill, .bp3-select select > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-html-select select::before,
  .bp3-select select::before, .bp3-html-select select > *, .bp3-select select > *{
    margin-right:7px; }
  .bp3-html-select select:empty::before,
  .bp3-select select:empty::before,
  .bp3-html-select select > :last-child,
  .bp3-select select > :last-child{
    margin-right:0; }
  .bp3-html-select select:hover,
  .bp3-select select:hover{
    background-clip:padding-box;
    background-color:#ebf1f5;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
  .bp3-html-select select:active,
  .bp3-select select:active, .bp3-html-select select.bp3-active,
  .bp3-select select.bp3-active{
    background-color:#d8e1e8;
    background-image:none;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-html-select select:disabled,
  .bp3-select select:disabled, .bp3-html-select select.bp3-disabled,
  .bp3-select select.bp3-disabled{
    background-color:rgba(206, 217, 224, 0.5);
    background-image:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed;
    outline:none; }
    .bp3-html-select select:disabled.bp3-active,
    .bp3-select select:disabled.bp3-active, .bp3-html-select select:disabled.bp3-active:hover,
    .bp3-select select:disabled.bp3-active:hover, .bp3-html-select select.bp3-disabled.bp3-active,
    .bp3-select select.bp3-disabled.bp3-active, .bp3-html-select select.bp3-disabled.bp3-active:hover,
    .bp3-select select.bp3-disabled.bp3-active:hover{
      background:rgba(206, 217, 224, 0.7); }

.bp3-html-select.bp3-minimal select,
.bp3-select.bp3-minimal select{
  background:none;
  -webkit-box-shadow:none;
          box-shadow:none; }
  .bp3-html-select.bp3-minimal select:hover,
  .bp3-select.bp3-minimal select:hover{
    background:rgba(167, 182, 194, 0.3);
    -webkit-box-shadow:none;
            box-shadow:none;
    color:#182026;
    text-decoration:none; }
  .bp3-html-select.bp3-minimal select:active,
  .bp3-select.bp3-minimal select:active, .bp3-html-select.bp3-minimal select.bp3-active,
  .bp3-select.bp3-minimal select.bp3-active{
    background:rgba(115, 134, 148, 0.3);
    -webkit-box-shadow:none;
            box-shadow:none;
    color:#182026; }
  .bp3-html-select.bp3-minimal select:disabled,
  .bp3-select.bp3-minimal select:disabled, .bp3-html-select.bp3-minimal select:disabled:hover,
  .bp3-select.bp3-minimal select:disabled:hover, .bp3-html-select.bp3-minimal select.bp3-disabled,
  .bp3-select.bp3-minimal select.bp3-disabled, .bp3-html-select.bp3-minimal select.bp3-disabled:hover,
  .bp3-select.bp3-minimal select.bp3-disabled:hover{
    background:none;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed; }
    .bp3-html-select.bp3-minimal select:disabled.bp3-active,
    .bp3-select.bp3-minimal select:disabled.bp3-active, .bp3-html-select.bp3-minimal select:disabled:hover.bp3-active,
    .bp3-select.bp3-minimal select:disabled:hover.bp3-active, .bp3-html-select.bp3-minimal select.bp3-disabled.bp3-active,
    .bp3-select.bp3-minimal select.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal select.bp3-disabled:hover.bp3-active,
    .bp3-select.bp3-minimal select.bp3-disabled:hover.bp3-active{
      background:rgba(115, 134, 148, 0.3); }
  .bp3-dark .bp3-html-select.bp3-minimal select, .bp3-html-select.bp3-minimal .bp3-dark select,
  .bp3-dark .bp3-select.bp3-minimal select, .bp3-select.bp3-minimal .bp3-dark select{
    background:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    color:inherit; }
    .bp3-dark .bp3-html-select.bp3-minimal select:hover, .bp3-html-select.bp3-minimal .bp3-dark select:hover,
    .bp3-dark .bp3-select.bp3-minimal select:hover, .bp3-select.bp3-minimal .bp3-dark select:hover, .bp3-dark .bp3-html-select.bp3-minimal select:active, .bp3-html-select.bp3-minimal .bp3-dark select:active,
    .bp3-dark .bp3-select.bp3-minimal select:active, .bp3-select.bp3-minimal .bp3-dark select:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-active,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-active{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none; }
    .bp3-dark .bp3-html-select.bp3-minimal select:hover, .bp3-html-select.bp3-minimal .bp3-dark select:hover,
    .bp3-dark .bp3-select.bp3-minimal select:hover, .bp3-select.bp3-minimal .bp3-dark select:hover{
      background:rgba(138, 155, 168, 0.15); }
    .bp3-dark .bp3-html-select.bp3-minimal select:active, .bp3-html-select.bp3-minimal .bp3-dark select:active,
    .bp3-dark .bp3-select.bp3-minimal select:active, .bp3-select.bp3-minimal .bp3-dark select:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-active,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-active{
      background:rgba(138, 155, 168, 0.3);
      color:#f5f8fa; }
    .bp3-dark .bp3-html-select.bp3-minimal select:disabled, .bp3-html-select.bp3-minimal .bp3-dark select:disabled,
    .bp3-dark .bp3-select.bp3-minimal select:disabled, .bp3-select.bp3-minimal .bp3-dark select:disabled, .bp3-dark .bp3-html-select.bp3-minimal select:disabled:hover, .bp3-html-select.bp3-minimal .bp3-dark select:disabled:hover,
    .bp3-dark .bp3-select.bp3-minimal select:disabled:hover, .bp3-select.bp3-minimal .bp3-dark select:disabled:hover, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-disabled,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-disabled, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-disabled:hover, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-disabled:hover,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-disabled:hover, .bp3-select.bp3-minimal .bp3-dark select.bp3-disabled:hover{
      background:none;
      color:rgba(167, 182, 194, 0.6);
      cursor:not-allowed; }
      .bp3-dark .bp3-html-select.bp3-minimal select:disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select:disabled.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select:disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select:disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select:disabled:hover.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select:disabled:hover.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select:disabled:hover.bp3-active, .bp3-select.bp3-minimal .bp3-dark select:disabled:hover.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-disabled.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-disabled:hover.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-disabled:hover.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-disabled:hover.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-disabled:hover.bp3-active{
        background:rgba(138, 155, 168, 0.3); }
  .bp3-html-select.bp3-minimal select.bp3-intent-primary,
  .bp3-select.bp3-minimal select.bp3-intent-primary{
    color:#106ba3; }
    .bp3-html-select.bp3-minimal select.bp3-intent-primary:hover,
    .bp3-select.bp3-minimal select.bp3-intent-primary:hover, .bp3-html-select.bp3-minimal select.bp3-intent-primary:active,
    .bp3-select.bp3-minimal select.bp3-intent-primary:active, .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-active{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#106ba3; }
    .bp3-html-select.bp3-minimal select.bp3-intent-primary:hover,
    .bp3-select.bp3-minimal select.bp3-intent-primary:hover{
      background:rgba(19, 124, 189, 0.15);
      color:#106ba3; }
    .bp3-html-select.bp3-minimal select.bp3-intent-primary:active,
    .bp3-select.bp3-minimal select.bp3-intent-primary:active, .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-active{
      background:rgba(19, 124, 189, 0.3);
      color:#106ba3; }
    .bp3-html-select.bp3-minimal select.bp3-intent-primary:disabled,
    .bp3-select.bp3-minimal select.bp3-intent-primary:disabled, .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-disabled,
    .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-disabled{
      background:none;
      color:rgba(16, 107, 163, 0.5); }
      .bp3-html-select.bp3-minimal select.bp3-intent-primary:disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-primary:disabled.bp3-active, .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-disabled.bp3-active{
        background:rgba(19, 124, 189, 0.3); }
    .bp3-html-select.bp3-minimal select.bp3-intent-primary .bp3-button-spinner .bp3-spinner-head, .bp3-select.bp3-minimal select.bp3-intent-primary .bp3-button-spinner .bp3-spinner-head{
      stroke:#106ba3; }
    .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary{
      color:#48aff0; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary:hover, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary:hover,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary:hover, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary:hover{
        background:rgba(19, 124, 189, 0.2);
        color:#48aff0; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary:active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary:active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary:active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-active{
        background:rgba(19, 124, 189, 0.3);
        color:#48aff0; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary:disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary:disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary:disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary:disabled, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-disabled{
        background:none;
        color:rgba(72, 175, 240, 0.5); }
        .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary:disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary:disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary:disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary:disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-primary.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-primary.bp3-disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-primary.bp3-disabled.bp3-active{
          background:rgba(19, 124, 189, 0.3); }
  .bp3-html-select.bp3-minimal select.bp3-intent-success,
  .bp3-select.bp3-minimal select.bp3-intent-success{
    color:#0d8050; }
    .bp3-html-select.bp3-minimal select.bp3-intent-success:hover,
    .bp3-select.bp3-minimal select.bp3-intent-success:hover, .bp3-html-select.bp3-minimal select.bp3-intent-success:active,
    .bp3-select.bp3-minimal select.bp3-intent-success:active, .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-success.bp3-active{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#0d8050; }
    .bp3-html-select.bp3-minimal select.bp3-intent-success:hover,
    .bp3-select.bp3-minimal select.bp3-intent-success:hover{
      background:rgba(15, 153, 96, 0.15);
      color:#0d8050; }
    .bp3-html-select.bp3-minimal select.bp3-intent-success:active,
    .bp3-select.bp3-minimal select.bp3-intent-success:active, .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-success.bp3-active{
      background:rgba(15, 153, 96, 0.3);
      color:#0d8050; }
    .bp3-html-select.bp3-minimal select.bp3-intent-success:disabled,
    .bp3-select.bp3-minimal select.bp3-intent-success:disabled, .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-disabled,
    .bp3-select.bp3-minimal select.bp3-intent-success.bp3-disabled{
      background:none;
      color:rgba(13, 128, 80, 0.5); }
      .bp3-html-select.bp3-minimal select.bp3-intent-success:disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-success:disabled.bp3-active, .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-success.bp3-disabled.bp3-active{
        background:rgba(15, 153, 96, 0.3); }
    .bp3-html-select.bp3-minimal select.bp3-intent-success .bp3-button-spinner .bp3-spinner-head, .bp3-select.bp3-minimal select.bp3-intent-success .bp3-button-spinner .bp3-spinner-head{
      stroke:#0d8050; }
    .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success{
      color:#3dcc91; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success:hover, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success:hover,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success:hover, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success:hover{
        background:rgba(15, 153, 96, 0.2);
        color:#3dcc91; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success:active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success:active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success:active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-active{
        background:rgba(15, 153, 96, 0.3);
        color:#3dcc91; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success:disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success:disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success:disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success:disabled, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success.bp3-disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-disabled{
        background:none;
        color:rgba(61, 204, 145, 0.5); }
        .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success:disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success:disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success:disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success:disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-success.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-success.bp3-disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-success.bp3-disabled.bp3-active{
          background:rgba(15, 153, 96, 0.3); }
  .bp3-html-select.bp3-minimal select.bp3-intent-warning,
  .bp3-select.bp3-minimal select.bp3-intent-warning{
    color:#bf7326; }
    .bp3-html-select.bp3-minimal select.bp3-intent-warning:hover,
    .bp3-select.bp3-minimal select.bp3-intent-warning:hover, .bp3-html-select.bp3-minimal select.bp3-intent-warning:active,
    .bp3-select.bp3-minimal select.bp3-intent-warning:active, .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-active{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#bf7326; }
    .bp3-html-select.bp3-minimal select.bp3-intent-warning:hover,
    .bp3-select.bp3-minimal select.bp3-intent-warning:hover{
      background:rgba(217, 130, 43, 0.15);
      color:#bf7326; }
    .bp3-html-select.bp3-minimal select.bp3-intent-warning:active,
    .bp3-select.bp3-minimal select.bp3-intent-warning:active, .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-active{
      background:rgba(217, 130, 43, 0.3);
      color:#bf7326; }
    .bp3-html-select.bp3-minimal select.bp3-intent-warning:disabled,
    .bp3-select.bp3-minimal select.bp3-intent-warning:disabled, .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-disabled,
    .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-disabled{
      background:none;
      color:rgba(191, 115, 38, 0.5); }
      .bp3-html-select.bp3-minimal select.bp3-intent-warning:disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-warning:disabled.bp3-active, .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-disabled.bp3-active{
        background:rgba(217, 130, 43, 0.3); }
    .bp3-html-select.bp3-minimal select.bp3-intent-warning .bp3-button-spinner .bp3-spinner-head, .bp3-select.bp3-minimal select.bp3-intent-warning .bp3-button-spinner .bp3-spinner-head{
      stroke:#bf7326; }
    .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning{
      color:#ffb366; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning:hover, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning:hover,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning:hover, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning:hover{
        background:rgba(217, 130, 43, 0.2);
        color:#ffb366; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning:active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning:active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning:active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-active{
        background:rgba(217, 130, 43, 0.3);
        color:#ffb366; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning:disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning:disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning:disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning:disabled, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-disabled{
        background:none;
        color:rgba(255, 179, 102, 0.5); }
        .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning:disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning:disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning:disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning:disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-warning.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-warning.bp3-disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-warning.bp3-disabled.bp3-active{
          background:rgba(217, 130, 43, 0.3); }
  .bp3-html-select.bp3-minimal select.bp3-intent-danger,
  .bp3-select.bp3-minimal select.bp3-intent-danger{
    color:#c23030; }
    .bp3-html-select.bp3-minimal select.bp3-intent-danger:hover,
    .bp3-select.bp3-minimal select.bp3-intent-danger:hover, .bp3-html-select.bp3-minimal select.bp3-intent-danger:active,
    .bp3-select.bp3-minimal select.bp3-intent-danger:active, .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-active{
      background:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:#c23030; }
    .bp3-html-select.bp3-minimal select.bp3-intent-danger:hover,
    .bp3-select.bp3-minimal select.bp3-intent-danger:hover{
      background:rgba(219, 55, 55, 0.15);
      color:#c23030; }
    .bp3-html-select.bp3-minimal select.bp3-intent-danger:active,
    .bp3-select.bp3-minimal select.bp3-intent-danger:active, .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-active,
    .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-active{
      background:rgba(219, 55, 55, 0.3);
      color:#c23030; }
    .bp3-html-select.bp3-minimal select.bp3-intent-danger:disabled,
    .bp3-select.bp3-minimal select.bp3-intent-danger:disabled, .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-disabled,
    .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-disabled{
      background:none;
      color:rgba(194, 48, 48, 0.5); }
      .bp3-html-select.bp3-minimal select.bp3-intent-danger:disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-danger:disabled.bp3-active, .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-disabled.bp3-active,
      .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-disabled.bp3-active{
        background:rgba(219, 55, 55, 0.3); }
    .bp3-html-select.bp3-minimal select.bp3-intent-danger .bp3-button-spinner .bp3-spinner-head, .bp3-select.bp3-minimal select.bp3-intent-danger .bp3-button-spinner .bp3-spinner-head{
      stroke:#c23030; }
    .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger,
    .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger{
      color:#ff7373; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger:hover, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger:hover,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger:hover, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger:hover{
        background:rgba(219, 55, 55, 0.2);
        color:#ff7373; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger:active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger:active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger:active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger:active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-active,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-active{
        background:rgba(219, 55, 55, 0.3);
        color:#ff7373; }
      .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger:disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger:disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger:disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger:disabled, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-disabled, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-disabled,
      .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-disabled, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-disabled{
        background:none;
        color:rgba(255, 115, 115, 0.5); }
        .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger:disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger:disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger:disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger:disabled.bp3-active, .bp3-dark .bp3-html-select.bp3-minimal select.bp3-intent-danger.bp3-disabled.bp3-active, .bp3-html-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-disabled.bp3-active,
        .bp3-dark .bp3-select.bp3-minimal select.bp3-intent-danger.bp3-disabled.bp3-active, .bp3-select.bp3-minimal .bp3-dark select.bp3-intent-danger.bp3-disabled.bp3-active{
          background:rgba(219, 55, 55, 0.3); }

.bp3-html-select.bp3-large select,
.bp3-select.bp3-large select{
  font-size:16px;
  height:40px;
  padding-right:35px; }

.bp3-dark .bp3-html-select select, .bp3-dark .bp3-select select{
  background-color:#394b59;
  background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.05)), to(rgba(255, 255, 255, 0)));
  background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
  color:#f5f8fa; }
  .bp3-dark .bp3-html-select select:hover, .bp3-dark .bp3-select select:hover, .bp3-dark .bp3-html-select select:active, .bp3-dark .bp3-select select:active, .bp3-dark .bp3-html-select select.bp3-active, .bp3-dark .bp3-select select.bp3-active{
    color:#f5f8fa; }
  .bp3-dark .bp3-html-select select:hover, .bp3-dark .bp3-select select:hover{
    background-color:#30404d;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-html-select select:active, .bp3-dark .bp3-select select:active, .bp3-dark .bp3-html-select select.bp3-active, .bp3-dark .bp3-select select.bp3-active{
    background-color:#202b33;
    background-image:none;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-html-select select:disabled, .bp3-dark .bp3-select select:disabled, .bp3-dark .bp3-html-select select.bp3-disabled, .bp3-dark .bp3-select select.bp3-disabled{
    background-color:rgba(57, 75, 89, 0.5);
    background-image:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-html-select select:disabled.bp3-active, .bp3-dark .bp3-select select:disabled.bp3-active, .bp3-dark .bp3-html-select select.bp3-disabled.bp3-active, .bp3-dark .bp3-select select.bp3-disabled.bp3-active{
      background:rgba(57, 75, 89, 0.7); }
  .bp3-dark .bp3-html-select select .bp3-button-spinner .bp3-spinner-head, .bp3-dark .bp3-select select .bp3-button-spinner .bp3-spinner-head{
    background:rgba(16, 22, 26, 0.5);
    stroke:#8a9ba8; }

.bp3-html-select select:disabled,
.bp3-select select:disabled{
  background-color:rgba(206, 217, 224, 0.5);
  -webkit-box-shadow:none;
          box-shadow:none;
  color:rgba(92, 112, 128, 0.6);
  cursor:not-allowed; }

.bp3-html-select .bp3-icon,
.bp3-select .bp3-icon, .bp3-select::after{
  color:#5c7080;
  pointer-events:none;
  position:absolute;
  right:7px;
  top:7px; }
  .bp3-html-select .bp3-disabled.bp3-icon,
  .bp3-select .bp3-disabled.bp3-icon, .bp3-disabled.bp3-select::after{
    color:rgba(92, 112, 128, 0.6); }
.bp3-html-select,
.bp3-select{
  display:inline-block;
  letter-spacing:normal;
  position:relative;
  vertical-align:middle; }
  .bp3-html-select select::-ms-expand,
  .bp3-select select::-ms-expand{
    display:none; }
  .bp3-html-select .bp3-icon,
  .bp3-select .bp3-icon{
    color:#5c7080; }
    .bp3-html-select .bp3-icon:hover,
    .bp3-select .bp3-icon:hover{
      color:#182026; }
    .bp3-dark .bp3-html-select .bp3-icon, .bp3-dark
    .bp3-select .bp3-icon{
      color:#a7b6c2; }
      .bp3-dark .bp3-html-select .bp3-icon:hover, .bp3-dark
      .bp3-select .bp3-icon:hover{
        color:#f5f8fa; }
  .bp3-html-select.bp3-large::after,
  .bp3-html-select.bp3-large .bp3-icon,
  .bp3-select.bp3-large::after,
  .bp3-select.bp3-large .bp3-icon{
    right:12px;
    top:12px; }
  .bp3-html-select.bp3-fill,
  .bp3-html-select.bp3-fill select,
  .bp3-select.bp3-fill,
  .bp3-select.bp3-fill select{
    width:100%; }
  .bp3-dark .bp3-html-select option, .bp3-dark
  .bp3-select option{
    background-color:#30404d;
    color:#f5f8fa; }
  .bp3-dark .bp3-html-select option:disabled, .bp3-dark
  .bp3-select option:disabled{
    color:rgba(167, 182, 194, 0.6); }
  .bp3-dark .bp3-html-select::after, .bp3-dark
  .bp3-select::after{
    color:#a7b6c2; }

.bp3-select::after{
  font-family:"Icons16", sans-serif;
  font-size:16px;
  font-style:normal;
  font-weight:400;
  line-height:1;
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
  content:""; }
.bp3-running-text table, table.bp3-html-table{
  border-spacing:0;
  font-size:14px; }
  .bp3-running-text table th, table.bp3-html-table th,
  .bp3-running-text table td,
  table.bp3-html-table td{
    padding:11px;
    text-align:left;
    vertical-align:top; }
  .bp3-running-text table th, table.bp3-html-table th{
    color:#182026;
    font-weight:600; }
  
  .bp3-running-text table td,
  table.bp3-html-table td{
    color:#182026; }
  .bp3-running-text table tbody tr:first-child th, table.bp3-html-table tbody tr:first-child th,
  .bp3-running-text table tbody tr:first-child td,
  table.bp3-html-table tbody tr:first-child td{
    -webkit-box-shadow:inset 0 1px 0 0 rgba(16, 22, 26, 0.15);
            box-shadow:inset 0 1px 0 0 rgba(16, 22, 26, 0.15); }
  .bp3-dark .bp3-running-text table th, .bp3-running-text .bp3-dark table th, .bp3-dark table.bp3-html-table th{
    color:#f5f8fa; }
  .bp3-dark .bp3-running-text table td, .bp3-running-text .bp3-dark table td, .bp3-dark table.bp3-html-table td{
    color:#f5f8fa; }
  .bp3-dark .bp3-running-text table tbody tr:first-child th, .bp3-running-text .bp3-dark table tbody tr:first-child th, .bp3-dark table.bp3-html-table tbody tr:first-child th,
  .bp3-dark .bp3-running-text table tbody tr:first-child td,
  .bp3-running-text .bp3-dark table tbody tr:first-child td,
  .bp3-dark table.bp3-html-table tbody tr:first-child td{
    -webkit-box-shadow:inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
            box-shadow:inset 0 1px 0 0 rgba(255, 255, 255, 0.15); }

table.bp3-html-table.bp3-html-table-condensed th,
table.bp3-html-table.bp3-html-table-condensed td, table.bp3-html-table.bp3-small th,
table.bp3-html-table.bp3-small td{
  padding-bottom:6px;
  padding-top:6px; }

table.bp3-html-table.bp3-html-table-striped tbody tr:nth-child(odd) td{
  background:rgba(191, 204, 214, 0.15); }

table.bp3-html-table.bp3-html-table-bordered th:not(:first-child){
  -webkit-box-shadow:inset 1px 0 0 0 rgba(16, 22, 26, 0.15);
          box-shadow:inset 1px 0 0 0 rgba(16, 22, 26, 0.15); }

table.bp3-html-table.bp3-html-table-bordered tbody tr td{
  -webkit-box-shadow:inset 0 1px 0 0 rgba(16, 22, 26, 0.15);
          box-shadow:inset 0 1px 0 0 rgba(16, 22, 26, 0.15); }
  table.bp3-html-table.bp3-html-table-bordered tbody tr td:not(:first-child){
    -webkit-box-shadow:inset 1px 1px 0 0 rgba(16, 22, 26, 0.15);
            box-shadow:inset 1px 1px 0 0 rgba(16, 22, 26, 0.15); }

table.bp3-html-table.bp3-html-table-bordered.bp3-html-table-striped tbody tr:not(:first-child) td{
  -webkit-box-shadow:none;
          box-shadow:none; }
  table.bp3-html-table.bp3-html-table-bordered.bp3-html-table-striped tbody tr:not(:first-child) td:not(:first-child){
    -webkit-box-shadow:inset 1px 0 0 0 rgba(16, 22, 26, 0.15);
            box-shadow:inset 1px 0 0 0 rgba(16, 22, 26, 0.15); }

table.bp3-html-table.bp3-interactive tbody tr:hover td{
  background-color:rgba(191, 204, 214, 0.3);
  cursor:pointer; }

table.bp3-html-table.bp3-interactive tbody tr:active td{
  background-color:rgba(191, 204, 214, 0.4); }

.bp3-dark table.bp3-html-table{ }
  .bp3-dark table.bp3-html-table.bp3-html-table-striped tbody tr:nth-child(odd) td{
    background:rgba(92, 112, 128, 0.15); }
  .bp3-dark table.bp3-html-table.bp3-html-table-bordered th:not(:first-child){
    -webkit-box-shadow:inset 1px 0 0 0 rgba(255, 255, 255, 0.15);
            box-shadow:inset 1px 0 0 0 rgba(255, 255, 255, 0.15); }
  .bp3-dark table.bp3-html-table.bp3-html-table-bordered tbody tr td{
    -webkit-box-shadow:inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
            box-shadow:inset 0 1px 0 0 rgba(255, 255, 255, 0.15); }
    .bp3-dark table.bp3-html-table.bp3-html-table-bordered tbody tr td:not(:first-child){
      -webkit-box-shadow:inset 1px 1px 0 0 rgba(255, 255, 255, 0.15);
              box-shadow:inset 1px 1px 0 0 rgba(255, 255, 255, 0.15); }
  .bp3-dark table.bp3-html-table.bp3-html-table-bordered.bp3-html-table-striped tbody tr:not(:first-child) td{
    -webkit-box-shadow:inset 1px 0 0 0 rgba(255, 255, 255, 0.15);
            box-shadow:inset 1px 0 0 0 rgba(255, 255, 255, 0.15); }
    .bp3-dark table.bp3-html-table.bp3-html-table-bordered.bp3-html-table-striped tbody tr:not(:first-child) td:first-child{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-dark table.bp3-html-table.bp3-interactive tbody tr:hover td{
    background-color:rgba(92, 112, 128, 0.3);
    cursor:pointer; }
  .bp3-dark table.bp3-html-table.bp3-interactive tbody tr:active td{
    background-color:rgba(92, 112, 128, 0.4); }

.bp3-key-combo{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center; }
  .bp3-key-combo > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-key-combo > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-key-combo::before,
  .bp3-key-combo > *{
    margin-right:5px; }
  .bp3-key-combo:empty::before,
  .bp3-key-combo > :last-child{
    margin-right:0; }

.bp3-hotkey-dialog{
  padding-bottom:0;
  top:40px; }
  .bp3-hotkey-dialog .bp3-dialog-body{
    margin:0;
    padding:0; }
  .bp3-hotkey-dialog .bp3-hotkey-label{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1; }

.bp3-hotkey-column{
  margin:auto;
  max-height:80vh;
  overflow-y:auto;
  padding:30px; }
  .bp3-hotkey-column .bp3-heading{
    margin-bottom:20px; }
    .bp3-hotkey-column .bp3-heading:not(:first-child){
      margin-top:40px; }

.bp3-hotkey{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:justify;
      -ms-flex-pack:justify;
          justify-content:space-between;
  margin-left:0;
  margin-right:0; }
  .bp3-hotkey:not(:last-child){
    margin-bottom:10px; }
.bp3-icon{
  display:inline-block;
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  vertical-align:text-bottom; }
  .bp3-icon:not(:empty)::before{
    content:"" !important;
    content:unset !important; }
  .bp3-icon > svg{
    display:block; }
    .bp3-icon > svg:not([fill]){
      fill:currentColor; }

.bp3-icon.bp3-intent-primary, .bp3-icon-standard.bp3-intent-primary, .bp3-icon-large.bp3-intent-primary{
  color:#106ba3; }
  .bp3-dark .bp3-icon.bp3-intent-primary, .bp3-dark .bp3-icon-standard.bp3-intent-primary, .bp3-dark .bp3-icon-large.bp3-intent-primary{
    color:#48aff0; }

.bp3-icon.bp3-intent-success, .bp3-icon-standard.bp3-intent-success, .bp3-icon-large.bp3-intent-success{
  color:#0d8050; }
  .bp3-dark .bp3-icon.bp3-intent-success, .bp3-dark .bp3-icon-standard.bp3-intent-success, .bp3-dark .bp3-icon-large.bp3-intent-success{
    color:#3dcc91; }

.bp3-icon.bp3-intent-warning, .bp3-icon-standard.bp3-intent-warning, .bp3-icon-large.bp3-intent-warning{
  color:#bf7326; }
  .bp3-dark .bp3-icon.bp3-intent-warning, .bp3-dark .bp3-icon-standard.bp3-intent-warning, .bp3-dark .bp3-icon-large.bp3-intent-warning{
    color:#ffb366; }

.bp3-icon.bp3-intent-danger, .bp3-icon-standard.bp3-intent-danger, .bp3-icon-large.bp3-intent-danger{
  color:#c23030; }
  .bp3-dark .bp3-icon.bp3-intent-danger, .bp3-dark .bp3-icon-standard.bp3-intent-danger, .bp3-dark .bp3-icon-large.bp3-intent-danger{
    color:#ff7373; }

span.bp3-icon-standard{
  font-family:"Icons16", sans-serif;
  font-size:16px;
  font-style:normal;
  font-weight:400;
  line-height:1;
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
  display:inline-block; }

span.bp3-icon-large{
  font-family:"Icons20", sans-serif;
  font-size:20px;
  font-style:normal;
  font-weight:400;
  line-height:1;
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
  display:inline-block; }

span.bp3-icon:empty{
  font-family:"Icons20";
  font-size:inherit;
  font-style:normal;
  font-weight:400;
  line-height:1; }
  span.bp3-icon:empty::before{
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased; }

.bp3-icon-add::before{
  content:""; }

.bp3-icon-add-column-left::before{
  content:""; }

.bp3-icon-add-column-right::before{
  content:""; }

.bp3-icon-add-row-bottom::before{
  content:""; }

.bp3-icon-add-row-top::before{
  content:""; }

.bp3-icon-add-to-artifact::before{
  content:""; }

.bp3-icon-add-to-folder::before{
  content:""; }

.bp3-icon-airplane::before{
  content:""; }

.bp3-icon-align-center::before{
  content:""; }

.bp3-icon-align-justify::before{
  content:""; }

.bp3-icon-align-left::before{
  content:""; }

.bp3-icon-align-right::before{
  content:""; }

.bp3-icon-alignment-bottom::before{
  content:""; }

.bp3-icon-alignment-horizontal-center::before{
  content:""; }

.bp3-icon-alignment-left::before{
  content:""; }

.bp3-icon-alignment-right::before{
  content:""; }

.bp3-icon-alignment-top::before{
  content:""; }

.bp3-icon-alignment-vertical-center::before{
  content:""; }

.bp3-icon-annotation::before{
  content:""; }

.bp3-icon-application::before{
  content:""; }

.bp3-icon-applications::before{
  content:""; }

.bp3-icon-archive::before{
  content:""; }

.bp3-icon-arrow-bottom-left::before{
  content:"↙"; }

.bp3-icon-arrow-bottom-right::before{
  content:"↘"; }

.bp3-icon-arrow-down::before{
  content:"↓"; }

.bp3-icon-arrow-left::before{
  content:"←"; }

.bp3-icon-arrow-right::before{
  content:"→"; }

.bp3-icon-arrow-top-left::before{
  content:"↖"; }

.bp3-icon-arrow-top-right::before{
  content:"↗"; }

.bp3-icon-arrow-up::before{
  content:"↑"; }

.bp3-icon-arrows-horizontal::before{
  content:"↔"; }

.bp3-icon-arrows-vertical::before{
  content:"↕"; }

.bp3-icon-asterisk::before{
  content:"*"; }

.bp3-icon-automatic-updates::before{
  content:""; }

.bp3-icon-badge::before{
  content:""; }

.bp3-icon-ban-circle::before{
  content:""; }

.bp3-icon-bank-account::before{
  content:""; }

.bp3-icon-barcode::before{
  content:""; }

.bp3-icon-blank::before{
  content:""; }

.bp3-icon-blocked-person::before{
  content:""; }

.bp3-icon-bold::before{
  content:""; }

.bp3-icon-book::before{
  content:""; }

.bp3-icon-bookmark::before{
  content:""; }

.bp3-icon-box::before{
  content:""; }

.bp3-icon-briefcase::before{
  content:""; }

.bp3-icon-bring-data::before{
  content:""; }

.bp3-icon-build::before{
  content:""; }

.bp3-icon-calculator::before{
  content:""; }

.bp3-icon-calendar::before{
  content:""; }

.bp3-icon-camera::before{
  content:""; }

.bp3-icon-caret-down::before{
  content:"⌄"; }

.bp3-icon-caret-left::before{
  content:"〈"; }

.bp3-icon-caret-right::before{
  content:"〉"; }

.bp3-icon-caret-up::before{
  content:"⌃"; }

.bp3-icon-cell-tower::before{
  content:""; }

.bp3-icon-changes::before{
  content:""; }

.bp3-icon-chart::before{
  content:""; }

.bp3-icon-chat::before{
  content:""; }

.bp3-icon-chevron-backward::before{
  content:""; }

.bp3-icon-chevron-down::before{
  content:""; }

.bp3-icon-chevron-forward::before{
  content:""; }

.bp3-icon-chevron-left::before{
  content:""; }

.bp3-icon-chevron-right::before{
  content:""; }

.bp3-icon-chevron-up::before{
  content:""; }

.bp3-icon-circle::before{
  content:""; }

.bp3-icon-circle-arrow-down::before{
  content:""; }

.bp3-icon-circle-arrow-left::before{
  content:""; }

.bp3-icon-circle-arrow-right::before{
  content:""; }

.bp3-icon-circle-arrow-up::before{
  content:""; }

.bp3-icon-citation::before{
  content:""; }

.bp3-icon-clean::before{
  content:""; }

.bp3-icon-clipboard::before{
  content:""; }

.bp3-icon-cloud::before{
  content:"☁"; }

.bp3-icon-cloud-download::before{
  content:""; }

.bp3-icon-cloud-upload::before{
  content:""; }

.bp3-icon-code::before{
  content:""; }

.bp3-icon-code-block::before{
  content:""; }

.bp3-icon-cog::before{
  content:""; }

.bp3-icon-collapse-all::before{
  content:""; }

.bp3-icon-column-layout::before{
  content:""; }

.bp3-icon-comment::before{
  content:""; }

.bp3-icon-comparison::before{
  content:""; }

.bp3-icon-compass::before{
  content:""; }

.bp3-icon-compressed::before{
  content:""; }

.bp3-icon-confirm::before{
  content:""; }

.bp3-icon-console::before{
  content:""; }

.bp3-icon-contrast::before{
  content:""; }

.bp3-icon-control::before{
  content:""; }

.bp3-icon-credit-card::before{
  content:""; }

.bp3-icon-cross::before{
  content:"✗"; }

.bp3-icon-crown::before{
  content:""; }

.bp3-icon-cube::before{
  content:""; }

.bp3-icon-cube-add::before{
  content:""; }

.bp3-icon-cube-remove::before{
  content:""; }

.bp3-icon-curved-range-chart::before{
  content:""; }

.bp3-icon-cut::before{
  content:""; }

.bp3-icon-dashboard::before{
  content:""; }

.bp3-icon-data-lineage::before{
  content:""; }

.bp3-icon-database::before{
  content:""; }

.bp3-icon-delete::before{
  content:""; }

.bp3-icon-delta::before{
  content:"Δ"; }

.bp3-icon-derive-column::before{
  content:""; }

.bp3-icon-desktop::before{
  content:""; }

.bp3-icon-diagnosis::before{
  content:""; }

.bp3-icon-diagram-tree::before{
  content:""; }

.bp3-icon-direction-left::before{
  content:""; }

.bp3-icon-direction-right::before{
  content:""; }

.bp3-icon-disable::before{
  content:""; }

.bp3-icon-document::before{
  content:""; }

.bp3-icon-document-open::before{
  content:""; }

.bp3-icon-document-share::before{
  content:""; }

.bp3-icon-dollar::before{
  content:"$"; }

.bp3-icon-dot::before{
  content:"•"; }

.bp3-icon-double-caret-horizontal::before{
  content:""; }

.bp3-icon-double-caret-vertical::before{
  content:""; }

.bp3-icon-double-chevron-down::before{
  content:""; }

.bp3-icon-double-chevron-left::before{
  content:""; }

.bp3-icon-double-chevron-right::before{
  content:""; }

.bp3-icon-double-chevron-up::before{
  content:""; }

.bp3-icon-doughnut-chart::before{
  content:""; }

.bp3-icon-download::before{
  content:""; }

.bp3-icon-drag-handle-horizontal::before{
  content:""; }

.bp3-icon-drag-handle-vertical::before{
  content:""; }

.bp3-icon-draw::before{
  content:""; }

.bp3-icon-drive-time::before{
  content:""; }

.bp3-icon-duplicate::before{
  content:""; }

.bp3-icon-edit::before{
  content:"✎"; }

.bp3-icon-eject::before{
  content:"⏏"; }

.bp3-icon-endorsed::before{
  content:""; }

.bp3-icon-envelope::before{
  content:"✉"; }

.bp3-icon-equals::before{
  content:""; }

.bp3-icon-eraser::before{
  content:""; }

.bp3-icon-error::before{
  content:""; }

.bp3-icon-euro::before{
  content:"€"; }

.bp3-icon-exchange::before{
  content:""; }

.bp3-icon-exclude-row::before{
  content:""; }

.bp3-icon-expand-all::before{
  content:""; }

.bp3-icon-export::before{
  content:""; }

.bp3-icon-eye-off::before{
  content:""; }

.bp3-icon-eye-on::before{
  content:""; }

.bp3-icon-eye-open::before{
  content:""; }

.bp3-icon-fast-backward::before{
  content:""; }

.bp3-icon-fast-forward::before{
  content:""; }

.bp3-icon-feed::before{
  content:""; }

.bp3-icon-feed-subscribed::before{
  content:""; }

.bp3-icon-film::before{
  content:""; }

.bp3-icon-filter::before{
  content:""; }

.bp3-icon-filter-keep::before{
  content:""; }

.bp3-icon-filter-list::before{
  content:""; }

.bp3-icon-filter-open::before{
  content:""; }

.bp3-icon-filter-remove::before{
  content:""; }

.bp3-icon-flag::before{
  content:"⚑"; }

.bp3-icon-flame::before{
  content:""; }

.bp3-icon-flash::before{
  content:""; }

.bp3-icon-floppy-disk::before{
  content:""; }

.bp3-icon-flow-branch::before{
  content:""; }

.bp3-icon-flow-end::before{
  content:""; }

.bp3-icon-flow-linear::before{
  content:""; }

.bp3-icon-flow-review::before{
  content:""; }

.bp3-icon-flow-review-branch::before{
  content:""; }

.bp3-icon-flows::before{
  content:""; }

.bp3-icon-folder-close::before{
  content:""; }

.bp3-icon-folder-new::before{
  content:""; }

.bp3-icon-folder-open::before{
  content:""; }

.bp3-icon-folder-shared::before{
  content:""; }

.bp3-icon-folder-shared-open::before{
  content:""; }

.bp3-icon-follower::before{
  content:""; }

.bp3-icon-following::before{
  content:""; }

.bp3-icon-font::before{
  content:""; }

.bp3-icon-fork::before{
  content:""; }

.bp3-icon-form::before{
  content:""; }

.bp3-icon-full-circle::before{
  content:""; }

.bp3-icon-full-stacked-chart::before{
  content:""; }

.bp3-icon-fullscreen::before{
  content:""; }

.bp3-icon-function::before{
  content:""; }

.bp3-icon-gantt-chart::before{
  content:""; }

.bp3-icon-geolocation::before{
  content:""; }

.bp3-icon-geosearch::before{
  content:""; }

.bp3-icon-git-branch::before{
  content:""; }

.bp3-icon-git-commit::before{
  content:""; }

.bp3-icon-git-merge::before{
  content:""; }

.bp3-icon-git-new-branch::before{
  content:""; }

.bp3-icon-git-pull::before{
  content:""; }

.bp3-icon-git-push::before{
  content:""; }

.bp3-icon-git-repo::before{
  content:""; }

.bp3-icon-glass::before{
  content:""; }

.bp3-icon-globe::before{
  content:""; }

.bp3-icon-globe-network::before{
  content:""; }

.bp3-icon-graph::before{
  content:""; }

.bp3-icon-graph-remove::before{
  content:""; }

.bp3-icon-greater-than::before{
  content:""; }

.bp3-icon-greater-than-or-equal-to::before{
  content:""; }

.bp3-icon-grid::before{
  content:""; }

.bp3-icon-grid-view::before{
  content:""; }

.bp3-icon-group-objects::before{
  content:""; }

.bp3-icon-grouped-bar-chart::before{
  content:""; }

.bp3-icon-hand::before{
  content:""; }

.bp3-icon-hand-down::before{
  content:""; }

.bp3-icon-hand-left::before{
  content:""; }

.bp3-icon-hand-right::before{
  content:""; }

.bp3-icon-hand-up::before{
  content:""; }

.bp3-icon-header::before{
  content:""; }

.bp3-icon-header-one::before{
  content:""; }

.bp3-icon-header-two::before{
  content:""; }

.bp3-icon-headset::before{
  content:""; }

.bp3-icon-heart::before{
  content:"♥"; }

.bp3-icon-heart-broken::before{
  content:""; }

.bp3-icon-heat-grid::before{
  content:""; }

.bp3-icon-heatmap::before{
  content:""; }

.bp3-icon-help::before{
  content:"?"; }

.bp3-icon-helper-management::before{
  content:""; }

.bp3-icon-highlight::before{
  content:""; }

.bp3-icon-history::before{
  content:""; }

.bp3-icon-home::before{
  content:"⌂"; }

.bp3-icon-horizontal-bar-chart::before{
  content:""; }

.bp3-icon-horizontal-bar-chart-asc::before{
  content:""; }

.bp3-icon-horizontal-bar-chart-desc::before{
  content:""; }

.bp3-icon-horizontal-distribution::before{
  content:""; }

.bp3-icon-id-number::before{
  content:""; }

.bp3-icon-image-rotate-left::before{
  content:""; }

.bp3-icon-image-rotate-right::before{
  content:""; }

.bp3-icon-import::before{
  content:""; }

.bp3-icon-inbox::before{
  content:""; }

.bp3-icon-inbox-filtered::before{
  content:""; }

.bp3-icon-inbox-geo::before{
  content:""; }

.bp3-icon-inbox-search::before{
  content:""; }

.bp3-icon-inbox-update::before{
  content:""; }

.bp3-icon-info-sign::before{
  content:"ℹ"; }

.bp3-icon-inheritance::before{
  content:""; }

.bp3-icon-inner-join::before{
  content:""; }

.bp3-icon-insert::before{
  content:""; }

.bp3-icon-intersection::before{
  content:""; }

.bp3-icon-ip-address::before{
  content:""; }

.bp3-icon-issue::before{
  content:""; }

.bp3-icon-issue-closed::before{
  content:""; }

.bp3-icon-issue-new::before{
  content:""; }

.bp3-icon-italic::before{
  content:""; }

.bp3-icon-join-table::before{
  content:""; }

.bp3-icon-key::before{
  content:""; }

.bp3-icon-key-backspace::before{
  content:""; }

.bp3-icon-key-command::before{
  content:""; }

.bp3-icon-key-control::before{
  content:""; }

.bp3-icon-key-delete::before{
  content:""; }

.bp3-icon-key-enter::before{
  content:""; }

.bp3-icon-key-escape::before{
  content:""; }

.bp3-icon-key-option::before{
  content:""; }

.bp3-icon-key-shift::before{
  content:""; }

.bp3-icon-key-tab::before{
  content:""; }

.bp3-icon-known-vehicle::before{
  content:""; }

.bp3-icon-lab-test::before{
  content:""; }

.bp3-icon-label::before{
  content:""; }

.bp3-icon-layer::before{
  content:""; }

.bp3-icon-layers::before{
  content:""; }

.bp3-icon-layout::before{
  content:""; }

.bp3-icon-layout-auto::before{
  content:""; }

.bp3-icon-layout-balloon::before{
  content:""; }

.bp3-icon-layout-circle::before{
  content:""; }

.bp3-icon-layout-grid::before{
  content:""; }

.bp3-icon-layout-group-by::before{
  content:""; }

.bp3-icon-layout-hierarchy::before{
  content:""; }

.bp3-icon-layout-linear::before{
  content:""; }

.bp3-icon-layout-skew-grid::before{
  content:""; }

.bp3-icon-layout-sorted-clusters::before{
  content:""; }

.bp3-icon-learning::before{
  content:""; }

.bp3-icon-left-join::before{
  content:""; }

.bp3-icon-less-than::before{
  content:""; }

.bp3-icon-less-than-or-equal-to::before{
  content:""; }

.bp3-icon-lifesaver::before{
  content:""; }

.bp3-icon-lightbulb::before{
  content:""; }

.bp3-icon-link::before{
  content:""; }

.bp3-icon-list::before{
  content:"☰"; }

.bp3-icon-list-columns::before{
  content:""; }

.bp3-icon-list-detail-view::before{
  content:""; }

.bp3-icon-locate::before{
  content:""; }

.bp3-icon-lock::before{
  content:""; }

.bp3-icon-log-in::before{
  content:""; }

.bp3-icon-log-out::before{
  content:""; }

.bp3-icon-manual::before{
  content:""; }

.bp3-icon-manually-entered-data::before{
  content:""; }

.bp3-icon-map::before{
  content:""; }

.bp3-icon-map-create::before{
  content:""; }

.bp3-icon-map-marker::before{
  content:""; }

.bp3-icon-maximize::before{
  content:""; }

.bp3-icon-media::before{
  content:""; }

.bp3-icon-menu::before{
  content:""; }

.bp3-icon-menu-closed::before{
  content:""; }

.bp3-icon-menu-open::before{
  content:""; }

.bp3-icon-merge-columns::before{
  content:""; }

.bp3-icon-merge-links::before{
  content:""; }

.bp3-icon-minimize::before{
  content:""; }

.bp3-icon-minus::before{
  content:"−"; }

.bp3-icon-mobile-phone::before{
  content:""; }

.bp3-icon-mobile-video::before{
  content:""; }

.bp3-icon-moon::before{
  content:""; }

.bp3-icon-more::before{
  content:""; }

.bp3-icon-mountain::before{
  content:""; }

.bp3-icon-move::before{
  content:""; }

.bp3-icon-mugshot::before{
  content:""; }

.bp3-icon-multi-select::before{
  content:""; }

.bp3-icon-music::before{
  content:""; }

.bp3-icon-new-drawing::before{
  content:""; }

.bp3-icon-new-grid-item::before{
  content:""; }

.bp3-icon-new-layer::before{
  content:""; }

.bp3-icon-new-layers::before{
  content:""; }

.bp3-icon-new-link::before{
  content:""; }

.bp3-icon-new-object::before{
  content:""; }

.bp3-icon-new-person::before{
  content:""; }

.bp3-icon-new-prescription::before{
  content:""; }

.bp3-icon-new-text-box::before{
  content:""; }

.bp3-icon-ninja::before{
  content:""; }

.bp3-icon-not-equal-to::before{
  content:""; }

.bp3-icon-notifications::before{
  content:""; }

.bp3-icon-notifications-updated::before{
  content:""; }

.bp3-icon-numbered-list::before{
  content:""; }

.bp3-icon-numerical::before{
  content:""; }

.bp3-icon-office::before{
  content:""; }

.bp3-icon-offline::before{
  content:""; }

.bp3-icon-oil-field::before{
  content:""; }

.bp3-icon-one-column::before{
  content:""; }

.bp3-icon-outdated::before{
  content:""; }

.bp3-icon-page-layout::before{
  content:""; }

.bp3-icon-panel-stats::before{
  content:""; }

.bp3-icon-panel-table::before{
  content:""; }

.bp3-icon-paperclip::before{
  content:""; }

.bp3-icon-paragraph::before{
  content:""; }

.bp3-icon-path::before{
  content:""; }

.bp3-icon-path-search::before{
  content:""; }

.bp3-icon-pause::before{
  content:""; }

.bp3-icon-people::before{
  content:""; }

.bp3-icon-percentage::before{
  content:""; }

.bp3-icon-person::before{
  content:""; }

.bp3-icon-phone::before{
  content:"☎"; }

.bp3-icon-pie-chart::before{
  content:""; }

.bp3-icon-pin::before{
  content:""; }

.bp3-icon-pivot::before{
  content:""; }

.bp3-icon-pivot-table::before{
  content:""; }

.bp3-icon-play::before{
  content:""; }

.bp3-icon-plus::before{
  content:"+"; }

.bp3-icon-polygon-filter::before{
  content:""; }

.bp3-icon-power::before{
  content:""; }

.bp3-icon-predictive-analysis::before{
  content:""; }

.bp3-icon-prescription::before{
  content:""; }

.bp3-icon-presentation::before{
  content:""; }

.bp3-icon-print::before{
  content:"⎙"; }

.bp3-icon-projects::before{
  content:""; }

.bp3-icon-properties::before{
  content:""; }

.bp3-icon-property::before{
  content:""; }

.bp3-icon-publish-function::before{
  content:""; }

.bp3-icon-pulse::before{
  content:""; }

.bp3-icon-random::before{
  content:""; }

.bp3-icon-record::before{
  content:""; }

.bp3-icon-redo::before{
  content:""; }

.bp3-icon-refresh::before{
  content:""; }

.bp3-icon-regression-chart::before{
  content:""; }

.bp3-icon-remove::before{
  content:""; }

.bp3-icon-remove-column::before{
  content:""; }

.bp3-icon-remove-column-left::before{
  content:""; }

.bp3-icon-remove-column-right::before{
  content:""; }

.bp3-icon-remove-row-bottom::before{
  content:""; }

.bp3-icon-remove-row-top::before{
  content:""; }

.bp3-icon-repeat::before{
  content:""; }

.bp3-icon-reset::before{
  content:""; }

.bp3-icon-resolve::before{
  content:""; }

.bp3-icon-rig::before{
  content:""; }

.bp3-icon-right-join::before{
  content:""; }

.bp3-icon-ring::before{
  content:""; }

.bp3-icon-rotate-document::before{
  content:""; }

.bp3-icon-rotate-page::before{
  content:""; }

.bp3-icon-satellite::before{
  content:""; }

.bp3-icon-saved::before{
  content:""; }

.bp3-icon-scatter-plot::before{
  content:""; }

.bp3-icon-search::before{
  content:""; }

.bp3-icon-search-around::before{
  content:""; }

.bp3-icon-search-template::before{
  content:""; }

.bp3-icon-search-text::before{
  content:""; }

.bp3-icon-segmented-control::before{
  content:""; }

.bp3-icon-select::before{
  content:""; }

.bp3-icon-selection::before{
  content:"⦿"; }

.bp3-icon-send-to::before{
  content:""; }

.bp3-icon-send-to-graph::before{
  content:""; }

.bp3-icon-send-to-map::before{
  content:""; }

.bp3-icon-series-add::before{
  content:""; }

.bp3-icon-series-configuration::before{
  content:""; }

.bp3-icon-series-derived::before{
  content:""; }

.bp3-icon-series-filtered::before{
  content:""; }

.bp3-icon-series-search::before{
  content:""; }

.bp3-icon-settings::before{
  content:""; }

.bp3-icon-share::before{
  content:""; }

.bp3-icon-shield::before{
  content:""; }

.bp3-icon-shop::before{
  content:""; }

.bp3-icon-shopping-cart::before{
  content:""; }

.bp3-icon-signal-search::before{
  content:""; }

.bp3-icon-sim-card::before{
  content:""; }

.bp3-icon-slash::before{
  content:""; }

.bp3-icon-small-cross::before{
  content:""; }

.bp3-icon-small-minus::before{
  content:""; }

.bp3-icon-small-plus::before{
  content:""; }

.bp3-icon-small-tick::before{
  content:""; }

.bp3-icon-snowflake::before{
  content:""; }

.bp3-icon-social-media::before{
  content:""; }

.bp3-icon-sort::before{
  content:""; }

.bp3-icon-sort-alphabetical::before{
  content:""; }

.bp3-icon-sort-alphabetical-desc::before{
  content:""; }

.bp3-icon-sort-asc::before{
  content:""; }

.bp3-icon-sort-desc::before{
  content:""; }

.bp3-icon-sort-numerical::before{
  content:""; }

.bp3-icon-sort-numerical-desc::before{
  content:""; }

.bp3-icon-split-columns::before{
  content:""; }

.bp3-icon-square::before{
  content:""; }

.bp3-icon-stacked-chart::before{
  content:""; }

.bp3-icon-star::before{
  content:"★"; }

.bp3-icon-star-empty::before{
  content:"☆"; }

.bp3-icon-step-backward::before{
  content:""; }

.bp3-icon-step-chart::before{
  content:""; }

.bp3-icon-step-forward::before{
  content:""; }

.bp3-icon-stop::before{
  content:""; }

.bp3-icon-stopwatch::before{
  content:""; }

.bp3-icon-strikethrough::before{
  content:""; }

.bp3-icon-style::before{
  content:""; }

.bp3-icon-swap-horizontal::before{
  content:""; }

.bp3-icon-swap-vertical::before{
  content:""; }

.bp3-icon-symbol-circle::before{
  content:""; }

.bp3-icon-symbol-cross::before{
  content:""; }

.bp3-icon-symbol-diamond::before{
  content:""; }

.bp3-icon-symbol-square::before{
  content:""; }

.bp3-icon-symbol-triangle-down::before{
  content:""; }

.bp3-icon-symbol-triangle-up::before{
  content:""; }

.bp3-icon-tag::before{
  content:""; }

.bp3-icon-take-action::before{
  content:""; }

.bp3-icon-taxi::before{
  content:""; }

.bp3-icon-text-highlight::before{
  content:""; }

.bp3-icon-th::before{
  content:""; }

.bp3-icon-th-derived::before{
  content:""; }

.bp3-icon-th-disconnect::before{
  content:""; }

.bp3-icon-th-filtered::before{
  content:""; }

.bp3-icon-th-list::before{
  content:""; }

.bp3-icon-thumbs-down::before{
  content:""; }

.bp3-icon-thumbs-up::before{
  content:""; }

.bp3-icon-tick::before{
  content:"✓"; }

.bp3-icon-tick-circle::before{
  content:""; }

.bp3-icon-time::before{
  content:"⏲"; }

.bp3-icon-timeline-area-chart::before{
  content:""; }

.bp3-icon-timeline-bar-chart::before{
  content:""; }

.bp3-icon-timeline-events::before{
  content:""; }

.bp3-icon-timeline-line-chart::before{
  content:""; }

.bp3-icon-tint::before{
  content:""; }

.bp3-icon-torch::before{
  content:""; }

.bp3-icon-tractor::before{
  content:""; }

.bp3-icon-train::before{
  content:""; }

.bp3-icon-translate::before{
  content:""; }

.bp3-icon-trash::before{
  content:""; }

.bp3-icon-tree::before{
  content:""; }

.bp3-icon-trending-down::before{
  content:""; }

.bp3-icon-trending-up::before{
  content:""; }

.bp3-icon-truck::before{
  content:""; }

.bp3-icon-two-columns::before{
  content:""; }

.bp3-icon-unarchive::before{
  content:""; }

.bp3-icon-underline::before{
  content:"⎁"; }

.bp3-icon-undo::before{
  content:"⎌"; }

.bp3-icon-ungroup-objects::before{
  content:""; }

.bp3-icon-unknown-vehicle::before{
  content:""; }

.bp3-icon-unlock::before{
  content:""; }

.bp3-icon-unpin::before{
  content:""; }

.bp3-icon-unresolve::before{
  content:""; }

.bp3-icon-updated::before{
  content:""; }

.bp3-icon-upload::before{
  content:""; }

.bp3-icon-user::before{
  content:""; }

.bp3-icon-variable::before{
  content:""; }

.bp3-icon-vertical-bar-chart-asc::before{
  content:""; }

.bp3-icon-vertical-bar-chart-desc::before{
  content:""; }

.bp3-icon-vertical-distribution::before{
  content:""; }

.bp3-icon-video::before{
  content:""; }

.bp3-icon-volume-down::before{
  content:""; }

.bp3-icon-volume-off::before{
  content:""; }

.bp3-icon-volume-up::before{
  content:""; }

.bp3-icon-walk::before{
  content:""; }

.bp3-icon-warning-sign::before{
  content:""; }

.bp3-icon-waterfall-chart::before{
  content:""; }

.bp3-icon-widget::before{
  content:""; }

.bp3-icon-widget-button::before{
  content:""; }

.bp3-icon-widget-footer::before{
  content:""; }

.bp3-icon-widget-header::before{
  content:""; }

.bp3-icon-wrench::before{
  content:""; }

.bp3-icon-zoom-in::before{
  content:""; }

.bp3-icon-zoom-out::before{
  content:""; }

.bp3-icon-zoom-to-fit::before{
  content:""; }
.bp3-submenu > .bp3-popover-wrapper{
  display:block; }

.bp3-submenu .bp3-popover-target{
  display:block; }
  .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-menu-item{ }

.bp3-submenu.bp3-popover{
  -webkit-box-shadow:none;
          box-shadow:none;
  padding:0 5px; }
  .bp3-submenu.bp3-popover > .bp3-popover-content{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-submenu.bp3-popover, .bp3-submenu.bp3-popover.bp3-dark{
    -webkit-box-shadow:none;
            box-shadow:none; }
    .bp3-dark .bp3-submenu.bp3-popover > .bp3-popover-content, .bp3-submenu.bp3-popover.bp3-dark > .bp3-popover-content{
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }
.bp3-menu{
  background:#ffffff;
  border-radius:3px;
  color:#182026;
  list-style:none;
  margin:0;
  min-width:180px;
  padding:5px;
  text-align:left; }

.bp3-menu-divider{
  border-top:1px solid rgba(16, 22, 26, 0.15);
  display:block;
  margin:5px; }
  .bp3-dark .bp3-menu-divider{
    border-top-color:rgba(255, 255, 255, 0.15); }

.bp3-menu-item{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:flex-start;
  border-radius:2px;
  color:inherit;
  line-height:20px;
  padding:5px 7px;
  text-decoration:none;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-menu-item > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-menu-item > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-menu-item::before,
  .bp3-menu-item > *{
    margin-right:7px; }
  .bp3-menu-item:empty::before,
  .bp3-menu-item > :last-child{
    margin-right:0; }
  .bp3-menu-item > .bp3-fill{
    word-break:break-word; }
  .bp3-menu-item:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-menu-item{
    background-color:rgba(167, 182, 194, 0.3);
    cursor:pointer;
    text-decoration:none; }
  .bp3-menu-item.bp3-disabled{
    background-color:inherit;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed; }
  .bp3-dark .bp3-menu-item{
    color:inherit; }
    .bp3-dark .bp3-menu-item:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-menu-item{
      background-color:rgba(138, 155, 168, 0.15);
      color:inherit; }
    .bp3-dark .bp3-menu-item.bp3-disabled{
      background-color:inherit;
      color:rgba(167, 182, 194, 0.6); }
  .bp3-menu-item.bp3-intent-primary{
    color:#106ba3; }
    .bp3-menu-item.bp3-intent-primary .bp3-icon{
      color:inherit; }
    .bp3-menu-item.bp3-intent-primary::before, .bp3-menu-item.bp3-intent-primary::after,
    .bp3-menu-item.bp3-intent-primary .bp3-menu-item-label{
      color:#106ba3; }
    .bp3-menu-item.bp3-intent-primary:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-menu-item.bp3-intent-primary.bp3-active{
      background-color:#137cbd; }
    .bp3-menu-item.bp3-intent-primary:active{
      background-color:#106ba3; }
    .bp3-menu-item.bp3-intent-primary:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-menu-item.bp3-intent-primary:hover::before, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::before, .bp3-menu-item.bp3-intent-primary:hover::after, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::after,
    .bp3-menu-item.bp3-intent-primary:hover .bp3-menu-item-label,
    .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item .bp3-menu-item-label, .bp3-menu-item.bp3-intent-primary:active, .bp3-menu-item.bp3-intent-primary:active::before, .bp3-menu-item.bp3-intent-primary:active::after,
    .bp3-menu-item.bp3-intent-primary:active .bp3-menu-item-label, .bp3-menu-item.bp3-intent-primary.bp3-active, .bp3-menu-item.bp3-intent-primary.bp3-active::before, .bp3-menu-item.bp3-intent-primary.bp3-active::after,
    .bp3-menu-item.bp3-intent-primary.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-menu-item.bp3-intent-success{
    color:#0d8050; }
    .bp3-menu-item.bp3-intent-success .bp3-icon{
      color:inherit; }
    .bp3-menu-item.bp3-intent-success::before, .bp3-menu-item.bp3-intent-success::after,
    .bp3-menu-item.bp3-intent-success .bp3-menu-item-label{
      color:#0d8050; }
    .bp3-menu-item.bp3-intent-success:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-menu-item.bp3-intent-success.bp3-active{
      background-color:#0f9960; }
    .bp3-menu-item.bp3-intent-success:active{
      background-color:#0d8050; }
    .bp3-menu-item.bp3-intent-success:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-menu-item.bp3-intent-success:hover::before, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::before, .bp3-menu-item.bp3-intent-success:hover::after, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::after,
    .bp3-menu-item.bp3-intent-success:hover .bp3-menu-item-label,
    .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item .bp3-menu-item-label, .bp3-menu-item.bp3-intent-success:active, .bp3-menu-item.bp3-intent-success:active::before, .bp3-menu-item.bp3-intent-success:active::after,
    .bp3-menu-item.bp3-intent-success:active .bp3-menu-item-label, .bp3-menu-item.bp3-intent-success.bp3-active, .bp3-menu-item.bp3-intent-success.bp3-active::before, .bp3-menu-item.bp3-intent-success.bp3-active::after,
    .bp3-menu-item.bp3-intent-success.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-menu-item.bp3-intent-warning{
    color:#bf7326; }
    .bp3-menu-item.bp3-intent-warning .bp3-icon{
      color:inherit; }
    .bp3-menu-item.bp3-intent-warning::before, .bp3-menu-item.bp3-intent-warning::after,
    .bp3-menu-item.bp3-intent-warning .bp3-menu-item-label{
      color:#bf7326; }
    .bp3-menu-item.bp3-intent-warning:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-menu-item.bp3-intent-warning.bp3-active{
      background-color:#d9822b; }
    .bp3-menu-item.bp3-intent-warning:active{
      background-color:#bf7326; }
    .bp3-menu-item.bp3-intent-warning:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-menu-item.bp3-intent-warning:hover::before, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::before, .bp3-menu-item.bp3-intent-warning:hover::after, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::after,
    .bp3-menu-item.bp3-intent-warning:hover .bp3-menu-item-label,
    .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item .bp3-menu-item-label, .bp3-menu-item.bp3-intent-warning:active, .bp3-menu-item.bp3-intent-warning:active::before, .bp3-menu-item.bp3-intent-warning:active::after,
    .bp3-menu-item.bp3-intent-warning:active .bp3-menu-item-label, .bp3-menu-item.bp3-intent-warning.bp3-active, .bp3-menu-item.bp3-intent-warning.bp3-active::before, .bp3-menu-item.bp3-intent-warning.bp3-active::after,
    .bp3-menu-item.bp3-intent-warning.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-menu-item.bp3-intent-danger{
    color:#c23030; }
    .bp3-menu-item.bp3-intent-danger .bp3-icon{
      color:inherit; }
    .bp3-menu-item.bp3-intent-danger::before, .bp3-menu-item.bp3-intent-danger::after,
    .bp3-menu-item.bp3-intent-danger .bp3-menu-item-label{
      color:#c23030; }
    .bp3-menu-item.bp3-intent-danger:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-menu-item.bp3-intent-danger.bp3-active{
      background-color:#db3737; }
    .bp3-menu-item.bp3-intent-danger:active{
      background-color:#c23030; }
    .bp3-menu-item.bp3-intent-danger:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-menu-item.bp3-intent-danger:hover::before, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::before, .bp3-menu-item.bp3-intent-danger:hover::after, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::after,
    .bp3-menu-item.bp3-intent-danger:hover .bp3-menu-item-label,
    .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item .bp3-menu-item-label, .bp3-menu-item.bp3-intent-danger:active, .bp3-menu-item.bp3-intent-danger:active::before, .bp3-menu-item.bp3-intent-danger:active::after,
    .bp3-menu-item.bp3-intent-danger:active .bp3-menu-item-label, .bp3-menu-item.bp3-intent-danger.bp3-active, .bp3-menu-item.bp3-intent-danger.bp3-active::before, .bp3-menu-item.bp3-intent-danger.bp3-active::after,
    .bp3-menu-item.bp3-intent-danger.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-menu-item::before{
    font-family:"Icons16", sans-serif;
    font-size:16px;
    font-style:normal;
    font-weight:400;
    line-height:1;
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    margin-right:7px; }
  .bp3-menu-item::before,
  .bp3-menu-item > .bp3-icon{
    color:#5c7080;
    margin-top:2px; }
  .bp3-menu-item .bp3-menu-item-label{
    color:#5c7080; }
  .bp3-menu-item:hover, .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-menu-item{
    color:inherit; }
  .bp3-menu-item.bp3-active, .bp3-menu-item:active{
    background-color:rgba(115, 134, 148, 0.3); }
  .bp3-menu-item.bp3-disabled{
    background-color:inherit !important;
    color:rgba(92, 112, 128, 0.6) !important;
    cursor:not-allowed !important;
    outline:none !important; }
    .bp3-menu-item.bp3-disabled::before,
    .bp3-menu-item.bp3-disabled > .bp3-icon,
    .bp3-menu-item.bp3-disabled .bp3-menu-item-label{
      color:rgba(92, 112, 128, 0.6) !important; }
  .bp3-large .bp3-menu-item{
    font-size:16px;
    line-height:22px;
    padding:9px 7px; }
    .bp3-large .bp3-menu-item .bp3-icon{
      margin-top:3px; }
    .bp3-large .bp3-menu-item::before{
      font-family:"Icons20", sans-serif;
      font-size:20px;
      font-style:normal;
      font-weight:400;
      line-height:1;
      -moz-osx-font-smoothing:grayscale;
      -webkit-font-smoothing:antialiased;
      margin-right:10px;
      margin-top:1px; }

button.bp3-menu-item{
  background:none;
  border:none;
  text-align:left;
  width:100%; }
.bp3-menu-header{
  border-top:1px solid rgba(16, 22, 26, 0.15);
  display:block;
  margin:5px;
  cursor:default;
  padding-left:2px; }
  .bp3-dark .bp3-menu-header{
    border-top-color:rgba(255, 255, 255, 0.15); }
  .bp3-menu-header:first-of-type{
    border-top:none; }
  .bp3-menu-header > h6{
    color:#182026;
    font-weight:600;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    line-height:17px;
    margin:0;
    padding:10px 7px 0 1px; }
    .bp3-dark .bp3-menu-header > h6{
      color:#f5f8fa; }
  .bp3-menu-header:first-of-type > h6{
    padding-top:0; }
  .bp3-large .bp3-menu-header > h6{
    font-size:18px;
    padding-bottom:5px;
    padding-top:15px; }
  .bp3-large .bp3-menu-header:first-of-type > h6{
    padding-top:0; }

.bp3-dark .bp3-menu{
  background:#30404d;
  color:#f5f8fa; }

.bp3-dark .bp3-menu-item{ }
  .bp3-dark .bp3-menu-item.bp3-intent-primary{
    color:#48aff0; }
    .bp3-dark .bp3-menu-item.bp3-intent-primary .bp3-icon{
      color:inherit; }
    .bp3-dark .bp3-menu-item.bp3-intent-primary::before, .bp3-dark .bp3-menu-item.bp3-intent-primary::after,
    .bp3-dark .bp3-menu-item.bp3-intent-primary .bp3-menu-item-label{
      color:#48aff0; }
    .bp3-dark .bp3-menu-item.bp3-intent-primary:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-primary.bp3-active{
      background-color:#137cbd; }
    .bp3-dark .bp3-menu-item.bp3-intent-primary:active{
      background-color:#106ba3; }
    .bp3-dark .bp3-menu-item.bp3-intent-primary:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-primary:hover::before, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::before, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::before, .bp3-dark .bp3-menu-item.bp3-intent-primary:hover::after, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::after, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item::after,
    .bp3-dark .bp3-menu-item.bp3-intent-primary:hover .bp3-menu-item-label,
    .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item .bp3-menu-item-label,
    .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-primary.bp3-menu-item .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-primary:active, .bp3-dark .bp3-menu-item.bp3-intent-primary:active::before, .bp3-dark .bp3-menu-item.bp3-intent-primary:active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-primary:active .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-primary.bp3-active, .bp3-dark .bp3-menu-item.bp3-intent-primary.bp3-active::before, .bp3-dark .bp3-menu-item.bp3-intent-primary.bp3-active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-primary.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-dark .bp3-menu-item.bp3-intent-success{
    color:#3dcc91; }
    .bp3-dark .bp3-menu-item.bp3-intent-success .bp3-icon{
      color:inherit; }
    .bp3-dark .bp3-menu-item.bp3-intent-success::before, .bp3-dark .bp3-menu-item.bp3-intent-success::after,
    .bp3-dark .bp3-menu-item.bp3-intent-success .bp3-menu-item-label{
      color:#3dcc91; }
    .bp3-dark .bp3-menu-item.bp3-intent-success:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-success.bp3-active{
      background-color:#0f9960; }
    .bp3-dark .bp3-menu-item.bp3-intent-success:active{
      background-color:#0d8050; }
    .bp3-dark .bp3-menu-item.bp3-intent-success:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-success:hover::before, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::before, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::before, .bp3-dark .bp3-menu-item.bp3-intent-success:hover::after, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::after, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item::after,
    .bp3-dark .bp3-menu-item.bp3-intent-success:hover .bp3-menu-item-label,
    .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item .bp3-menu-item-label,
    .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-success.bp3-menu-item .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-success:active, .bp3-dark .bp3-menu-item.bp3-intent-success:active::before, .bp3-dark .bp3-menu-item.bp3-intent-success:active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-success:active .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-success.bp3-active, .bp3-dark .bp3-menu-item.bp3-intent-success.bp3-active::before, .bp3-dark .bp3-menu-item.bp3-intent-success.bp3-active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-success.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-dark .bp3-menu-item.bp3-intent-warning{
    color:#ffb366; }
    .bp3-dark .bp3-menu-item.bp3-intent-warning .bp3-icon{
      color:inherit; }
    .bp3-dark .bp3-menu-item.bp3-intent-warning::before, .bp3-dark .bp3-menu-item.bp3-intent-warning::after,
    .bp3-dark .bp3-menu-item.bp3-intent-warning .bp3-menu-item-label{
      color:#ffb366; }
    .bp3-dark .bp3-menu-item.bp3-intent-warning:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-warning.bp3-active{
      background-color:#d9822b; }
    .bp3-dark .bp3-menu-item.bp3-intent-warning:active{
      background-color:#bf7326; }
    .bp3-dark .bp3-menu-item.bp3-intent-warning:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-warning:hover::before, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::before, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::before, .bp3-dark .bp3-menu-item.bp3-intent-warning:hover::after, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::after, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item::after,
    .bp3-dark .bp3-menu-item.bp3-intent-warning:hover .bp3-menu-item-label,
    .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item .bp3-menu-item-label,
    .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-warning.bp3-menu-item .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-warning:active, .bp3-dark .bp3-menu-item.bp3-intent-warning:active::before, .bp3-dark .bp3-menu-item.bp3-intent-warning:active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-warning:active .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-warning.bp3-active, .bp3-dark .bp3-menu-item.bp3-intent-warning.bp3-active::before, .bp3-dark .bp3-menu-item.bp3-intent-warning.bp3-active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-warning.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-dark .bp3-menu-item.bp3-intent-danger{
    color:#ff7373; }
    .bp3-dark .bp3-menu-item.bp3-intent-danger .bp3-icon{
      color:inherit; }
    .bp3-dark .bp3-menu-item.bp3-intent-danger::before, .bp3-dark .bp3-menu-item.bp3-intent-danger::after,
    .bp3-dark .bp3-menu-item.bp3-intent-danger .bp3-menu-item-label{
      color:#ff7373; }
    .bp3-dark .bp3-menu-item.bp3-intent-danger:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-danger.bp3-active{
      background-color:#db3737; }
    .bp3-dark .bp3-menu-item.bp3-intent-danger:active{
      background-color:#c23030; }
    .bp3-dark .bp3-menu-item.bp3-intent-danger:hover, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item, .bp3-dark .bp3-menu-item.bp3-intent-danger:hover::before, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::before, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::before, .bp3-dark .bp3-menu-item.bp3-intent-danger:hover::after, .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::after, .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item::after,
    .bp3-dark .bp3-menu-item.bp3-intent-danger:hover .bp3-menu-item-label,
    .bp3-dark .bp3-submenu .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item .bp3-menu-item-label,
    .bp3-submenu .bp3-dark .bp3-popover-target.bp3-popover-open > .bp3-intent-danger.bp3-menu-item .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-danger:active, .bp3-dark .bp3-menu-item.bp3-intent-danger:active::before, .bp3-dark .bp3-menu-item.bp3-intent-danger:active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-danger:active .bp3-menu-item-label, .bp3-dark .bp3-menu-item.bp3-intent-danger.bp3-active, .bp3-dark .bp3-menu-item.bp3-intent-danger.bp3-active::before, .bp3-dark .bp3-menu-item.bp3-intent-danger.bp3-active::after,
    .bp3-dark .bp3-menu-item.bp3-intent-danger.bp3-active .bp3-menu-item-label{
      color:#ffffff; }
  .bp3-dark .bp3-menu-item::before,
  .bp3-dark .bp3-menu-item > .bp3-icon{
    color:#a7b6c2; }
  .bp3-dark .bp3-menu-item .bp3-menu-item-label{
    color:#a7b6c2; }
  .bp3-dark .bp3-menu-item.bp3-active, .bp3-dark .bp3-menu-item:active{
    background-color:rgba(138, 155, 168, 0.3); }
  .bp3-dark .bp3-menu-item.bp3-disabled{
    color:rgba(167, 182, 194, 0.6) !important; }
    .bp3-dark .bp3-menu-item.bp3-disabled::before,
    .bp3-dark .bp3-menu-item.bp3-disabled > .bp3-icon,
    .bp3-dark .bp3-menu-item.bp3-disabled .bp3-menu-item-label{
      color:rgba(167, 182, 194, 0.6) !important; }

.bp3-dark .bp3-menu-divider,
.bp3-dark .bp3-menu-header{
  border-color:rgba(255, 255, 255, 0.15); }

.bp3-dark .bp3-menu-header > h6{
  color:#f5f8fa; }

.bp3-label .bp3-menu{
  margin-top:5px; }
.bp3-navbar{
  background-color:#ffffff;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
  height:50px;
  padding:0 15px;
  position:relative;
  width:100%;
  z-index:10; }
  .bp3-navbar.bp3-dark,
  .bp3-dark .bp3-navbar{
    background-color:#394b59; }
  .bp3-navbar.bp3-dark{
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-dark .bp3-navbar{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4); }
  .bp3-navbar.bp3-fixed-top{
    left:0;
    position:fixed;
    right:0;
    top:0; }

.bp3-navbar-heading{
  font-size:16px;
  margin-right:15px; }

.bp3-navbar-group{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  height:50px; }
  .bp3-navbar-group.bp3-align-left{
    float:left; }
  .bp3-navbar-group.bp3-align-right{
    float:right; }

.bp3-navbar-divider{
  border-left:1px solid rgba(16, 22, 26, 0.15);
  height:20px;
  margin:0 10px; }
  .bp3-dark .bp3-navbar-divider{
    border-left-color:rgba(255, 255, 255, 0.15); }
.bp3-non-ideal-state{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  height:100%;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  text-align:center;
  width:100%; }
  .bp3-non-ideal-state > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-non-ideal-state > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-non-ideal-state::before,
  .bp3-non-ideal-state > *{
    margin-bottom:20px; }
  .bp3-non-ideal-state:empty::before,
  .bp3-non-ideal-state > :last-child{
    margin-bottom:0; }
  .bp3-non-ideal-state > *{
    max-width:400px; }

.bp3-non-ideal-state-visual{
  color:rgba(92, 112, 128, 0.6);
  font-size:60px; }
  .bp3-dark .bp3-non-ideal-state-visual{
    color:rgba(167, 182, 194, 0.6); }

.bp3-overflow-list{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:nowrap;
      flex-wrap:nowrap;
  min-width:0; }

.bp3-overflow-list-spacer{
  -ms-flex-negative:1;
      flex-shrink:1;
  width:1px; }

body.bp3-overlay-open{
  overflow:hidden; }

.bp3-overlay{
  bottom:0;
  left:0;
  position:static;
  right:0;
  top:0;
  z-index:20; }
  .bp3-overlay:not(.bp3-overlay-open){
    pointer-events:none; }
  .bp3-overlay.bp3-overlay-container{
    overflow:hidden;
    position:fixed; }
    .bp3-overlay.bp3-overlay-container.bp3-overlay-inline{
      position:absolute; }
  .bp3-overlay.bp3-overlay-scroll-container{
    overflow:auto;
    position:fixed; }
    .bp3-overlay.bp3-overlay-scroll-container.bp3-overlay-inline{
      position:absolute; }
  .bp3-overlay.bp3-overlay-inline{
    display:inline;
    overflow:visible; }

.bp3-overlay-content{
  position:fixed;
  z-index:20; }
  .bp3-overlay-inline .bp3-overlay-content,
  .bp3-overlay-scroll-container .bp3-overlay-content{
    position:absolute; }

.bp3-overlay-backdrop{
  bottom:0;
  left:0;
  position:fixed;
  right:0;
  top:0;
  opacity:1;
  background-color:rgba(16, 22, 26, 0.7);
  overflow:auto;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none;
  z-index:20; }
  .bp3-overlay-backdrop.bp3-overlay-enter, .bp3-overlay-backdrop.bp3-overlay-appear{
    opacity:0; }
  .bp3-overlay-backdrop.bp3-overlay-enter-active, .bp3-overlay-backdrop.bp3-overlay-appear-active{
    opacity:1;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:200ms;
            transition-duration:200ms;
    -webkit-transition-property:opacity;
    transition-property:opacity;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-overlay-backdrop.bp3-overlay-exit{
    opacity:1; }
  .bp3-overlay-backdrop.bp3-overlay-exit-active{
    opacity:0;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:200ms;
            transition-duration:200ms;
    -webkit-transition-property:opacity;
    transition-property:opacity;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-overlay-backdrop:focus{
    outline:none; }
  .bp3-overlay-inline .bp3-overlay-backdrop{
    position:absolute; }
.bp3-panel-stack{
  overflow:hidden;
  position:relative; }

.bp3-panel-stack-header{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  -webkit-box-shadow:0 1px rgba(16, 22, 26, 0.15);
          box-shadow:0 1px rgba(16, 22, 26, 0.15);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-negative:0;
      flex-shrink:0;
  height:30px;
  z-index:1; }
  .bp3-dark .bp3-panel-stack-header{
    -webkit-box-shadow:0 1px rgba(255, 255, 255, 0.15);
            box-shadow:0 1px rgba(255, 255, 255, 0.15); }
  .bp3-panel-stack-header > span{
    -webkit-box-align:stretch;
        -ms-flex-align:stretch;
            align-items:stretch;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1; }
  .bp3-panel-stack-header .bp3-heading{
    margin:0 5px; }

.bp3-button.bp3-panel-stack-header-back{
  margin-left:5px;
  padding-left:0;
  white-space:nowrap; }
  .bp3-button.bp3-panel-stack-header-back .bp3-icon{
    margin:0 2px; }

.bp3-panel-stack-view{
  bottom:0;
  left:0;
  position:absolute;
  right:0;
  top:0;
  background-color:#ffffff;
  border-right:1px solid rgba(16, 22, 26, 0.15);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  margin-right:-1px;
  overflow-y:auto;
  z-index:1; }
  .bp3-dark .bp3-panel-stack-view{
    background-color:#30404d; }
  .bp3-panel-stack-view:nth-last-child(n + 4){
    display:none; }

.bp3-panel-stack-push .bp3-panel-stack-enter, .bp3-panel-stack-push .bp3-panel-stack-appear{
  -webkit-transform:translateX(100%);
          transform:translateX(100%);
  opacity:0; }

.bp3-panel-stack-push .bp3-panel-stack-enter-active, .bp3-panel-stack-push .bp3-panel-stack-appear-active{
  -webkit-transform:translate(0%);
          transform:translate(0%);
  opacity:1;
  -webkit-transition-delay:0;
          transition-delay:0;
  -webkit-transition-duration:400ms;
          transition-duration:400ms;
  -webkit-transition-property:opacity, -webkit-transform;
  transition-property:opacity, -webkit-transform;
  transition-property:transform, opacity;
  transition-property:transform, opacity, -webkit-transform;
  -webkit-transition-timing-function:ease;
          transition-timing-function:ease; }

.bp3-panel-stack-push .bp3-panel-stack-exit{
  -webkit-transform:translate(0%);
          transform:translate(0%);
  opacity:1; }

.bp3-panel-stack-push .bp3-panel-stack-exit-active{
  -webkit-transform:translateX(-50%);
          transform:translateX(-50%);
  opacity:0;
  -webkit-transition-delay:0;
          transition-delay:0;
  -webkit-transition-duration:400ms;
          transition-duration:400ms;
  -webkit-transition-property:opacity, -webkit-transform;
  transition-property:opacity, -webkit-transform;
  transition-property:transform, opacity;
  transition-property:transform, opacity, -webkit-transform;
  -webkit-transition-timing-function:ease;
          transition-timing-function:ease; }

.bp3-panel-stack-pop .bp3-panel-stack-enter, .bp3-panel-stack-pop .bp3-panel-stack-appear{
  -webkit-transform:translateX(-50%);
          transform:translateX(-50%);
  opacity:0; }

.bp3-panel-stack-pop .bp3-panel-stack-enter-active, .bp3-panel-stack-pop .bp3-panel-stack-appear-active{
  -webkit-transform:translate(0%);
          transform:translate(0%);
  opacity:1;
  -webkit-transition-delay:0;
          transition-delay:0;
  -webkit-transition-duration:400ms;
          transition-duration:400ms;
  -webkit-transition-property:opacity, -webkit-transform;
  transition-property:opacity, -webkit-transform;
  transition-property:transform, opacity;
  transition-property:transform, opacity, -webkit-transform;
  -webkit-transition-timing-function:ease;
          transition-timing-function:ease; }

.bp3-panel-stack-pop .bp3-panel-stack-exit{
  -webkit-transform:translate(0%);
          transform:translate(0%);
  opacity:1; }

.bp3-panel-stack-pop .bp3-panel-stack-exit-active{
  -webkit-transform:translateX(100%);
          transform:translateX(100%);
  opacity:0;
  -webkit-transition-delay:0;
          transition-delay:0;
  -webkit-transition-duration:400ms;
          transition-duration:400ms;
  -webkit-transition-property:opacity, -webkit-transform;
  transition-property:opacity, -webkit-transform;
  transition-property:transform, opacity;
  transition-property:transform, opacity, -webkit-transform;
  -webkit-transition-timing-function:ease;
          transition-timing-function:ease; }
.bp3-popover{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
  -webkit-transform:scale(1);
          transform:scale(1);
  border-radius:3px;
  display:inline-block;
  z-index:20; }
  .bp3-popover .bp3-popover-arrow{
    height:30px;
    position:absolute;
    width:30px; }
    .bp3-popover .bp3-popover-arrow::before{
      height:20px;
      margin:5px;
      width:20px; }
  .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-popover{
    margin-bottom:17px;
    margin-top:-17px; }
    .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-popover > .bp3-popover-arrow{
      bottom:-11px; }
      .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-popover > .bp3-popover-arrow svg{
        -webkit-transform:rotate(-90deg);
                transform:rotate(-90deg); }
  .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-popover{
    margin-left:17px; }
    .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-popover > .bp3-popover-arrow{
      left:-11px; }
      .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-popover > .bp3-popover-arrow svg{
        -webkit-transform:rotate(0);
                transform:rotate(0); }
  .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-popover{
    margin-top:17px; }
    .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-popover > .bp3-popover-arrow{
      top:-11px; }
      .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-popover > .bp3-popover-arrow svg{
        -webkit-transform:rotate(90deg);
                transform:rotate(90deg); }
  .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-popover{
    margin-left:-17px;
    margin-right:17px; }
    .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-popover > .bp3-popover-arrow{
      right:-11px; }
      .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-popover > .bp3-popover-arrow svg{
        -webkit-transform:rotate(180deg);
                transform:rotate(180deg); }
  .bp3-tether-element-attached-middle > .bp3-popover > .bp3-popover-arrow{
    top:50%;
    -webkit-transform:translateY(-50%);
            transform:translateY(-50%); }
  .bp3-tether-element-attached-center > .bp3-popover > .bp3-popover-arrow{
    right:50%;
    -webkit-transform:translateX(50%);
            transform:translateX(50%); }
  .bp3-tether-element-attached-top.bp3-tether-target-attached-top > .bp3-popover > .bp3-popover-arrow{
    top:-0.3934px; }
  .bp3-tether-element-attached-right.bp3-tether-target-attached-right > .bp3-popover > .bp3-popover-arrow{
    right:-0.3934px; }
  .bp3-tether-element-attached-left.bp3-tether-target-attached-left > .bp3-popover > .bp3-popover-arrow{
    left:-0.3934px; }
  .bp3-tether-element-attached-bottom.bp3-tether-target-attached-bottom > .bp3-popover > .bp3-popover-arrow{
    bottom:-0.3934px; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-left > .bp3-popover{
    -webkit-transform-origin:top left;
            transform-origin:top left; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-center > .bp3-popover{
    -webkit-transform-origin:top center;
            transform-origin:top center; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-right > .bp3-popover{
    -webkit-transform-origin:top right;
            transform-origin:top right; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-left > .bp3-popover{
    -webkit-transform-origin:center left;
            transform-origin:center left; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-center > .bp3-popover{
    -webkit-transform-origin:center center;
            transform-origin:center center; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-right > .bp3-popover{
    -webkit-transform-origin:center right;
            transform-origin:center right; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-left > .bp3-popover{
    -webkit-transform-origin:bottom left;
            transform-origin:bottom left; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-center > .bp3-popover{
    -webkit-transform-origin:bottom center;
            transform-origin:bottom center; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-right > .bp3-popover{
    -webkit-transform-origin:bottom right;
            transform-origin:bottom right; }
  .bp3-popover .bp3-popover-content{
    background:#ffffff;
    color:inherit; }
  .bp3-popover .bp3-popover-arrow::before{
    -webkit-box-shadow:1px 1px 6px rgba(16, 22, 26, 0.2);
            box-shadow:1px 1px 6px rgba(16, 22, 26, 0.2); }
  .bp3-popover .bp3-popover-arrow-border{
    fill:#10161a;
    fill-opacity:0.1; }
  .bp3-popover .bp3-popover-arrow-fill{
    fill:#ffffff; }
  .bp3-popover-enter > .bp3-popover, .bp3-popover-appear > .bp3-popover{
    -webkit-transform:scale(0.3);
            transform:scale(0.3); }
  .bp3-popover-enter-active > .bp3-popover, .bp3-popover-appear-active > .bp3-popover{
    -webkit-transform:scale(1);
            transform:scale(1);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }
  .bp3-popover-exit > .bp3-popover{
    -webkit-transform:scale(1);
            transform:scale(1); }
  .bp3-popover-exit-active > .bp3-popover{
    -webkit-transform:scale(0.3);
            transform:scale(0.3);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }
  .bp3-popover .bp3-popover-content{
    border-radius:3px;
    position:relative; }
  .bp3-popover.bp3-popover-content-sizing .bp3-popover-content{
    max-width:350px;
    padding:20px; }
  .bp3-popover-target + .bp3-overlay .bp3-popover.bp3-popover-content-sizing{
    width:350px; }
  .bp3-popover.bp3-minimal{
    margin:0 !important; }
    .bp3-popover.bp3-minimal .bp3-popover-arrow{
      display:none; }
    .bp3-popover.bp3-minimal.bp3-popover{
      -webkit-transform:scale(1);
              transform:scale(1); }
      .bp3-popover-enter > .bp3-popover.bp3-minimal.bp3-popover, .bp3-popover-appear > .bp3-popover.bp3-minimal.bp3-popover{
        -webkit-transform:scale(1);
                transform:scale(1); }
      .bp3-popover-enter-active > .bp3-popover.bp3-minimal.bp3-popover, .bp3-popover-appear-active > .bp3-popover.bp3-minimal.bp3-popover{
        -webkit-transform:scale(1);
                transform:scale(1);
        -webkit-transition-delay:0;
                transition-delay:0;
        -webkit-transition-duration:100ms;
                transition-duration:100ms;
        -webkit-transition-property:-webkit-transform;
        transition-property:-webkit-transform;
        transition-property:transform;
        transition-property:transform, -webkit-transform;
        -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
                transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
      .bp3-popover-exit > .bp3-popover.bp3-minimal.bp3-popover{
        -webkit-transform:scale(1);
                transform:scale(1); }
      .bp3-popover-exit-active > .bp3-popover.bp3-minimal.bp3-popover{
        -webkit-transform:scale(1);
                transform:scale(1);
        -webkit-transition-delay:0;
                transition-delay:0;
        -webkit-transition-duration:100ms;
                transition-duration:100ms;
        -webkit-transition-property:-webkit-transform;
        transition-property:-webkit-transform;
        transition-property:transform;
        transition-property:transform, -webkit-transform;
        -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
                transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-popover.bp3-dark,
  .bp3-dark .bp3-popover{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }
    .bp3-popover.bp3-dark .bp3-popover-content,
    .bp3-dark .bp3-popover .bp3-popover-content{
      background:#30404d;
      color:inherit; }
    .bp3-popover.bp3-dark .bp3-popover-arrow::before,
    .bp3-dark .bp3-popover .bp3-popover-arrow::before{
      -webkit-box-shadow:1px 1px 6px rgba(16, 22, 26, 0.4);
              box-shadow:1px 1px 6px rgba(16, 22, 26, 0.4); }
    .bp3-popover.bp3-dark .bp3-popover-arrow-border,
    .bp3-dark .bp3-popover .bp3-popover-arrow-border{
      fill:#10161a;
      fill-opacity:0.2; }
    .bp3-popover.bp3-dark .bp3-popover-arrow-fill,
    .bp3-dark .bp3-popover .bp3-popover-arrow-fill{
      fill:#30404d; }

.bp3-popover-arrow::before{
  border-radius:2px;
  content:"";
  display:block;
  position:absolute;
  -webkit-transform:rotate(45deg);
          transform:rotate(45deg); }

.bp3-tether-pinned .bp3-popover-arrow{
  display:none; }

.bp3-popover-backdrop{
  background:rgba(255, 255, 255, 0); }

.bp3-transition-container{
  opacity:1;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  z-index:20; }
  .bp3-transition-container.bp3-popover-enter, .bp3-transition-container.bp3-popover-appear{
    opacity:0; }
  .bp3-transition-container.bp3-popover-enter-active, .bp3-transition-container.bp3-popover-appear-active{
    opacity:1;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:100ms;
            transition-duration:100ms;
    -webkit-transition-property:opacity;
    transition-property:opacity;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-transition-container.bp3-popover-exit{
    opacity:1; }
  .bp3-transition-container.bp3-popover-exit-active{
    opacity:0;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:100ms;
            transition-duration:100ms;
    -webkit-transition-property:opacity;
    transition-property:opacity;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-transition-container:focus{
    outline:none; }
  .bp3-transition-container.bp3-popover-leave .bp3-popover-content{
    pointer-events:none; }
  .bp3-transition-container[data-x-out-of-boundaries]{
    display:none; }

span.bp3-popover-target{
  display:inline-block; }

.bp3-popover-wrapper.bp3-fill{
  width:100%; }

.bp3-portal{
  left:0;
  position:absolute;
  right:0;
  top:0; }
@-webkit-keyframes linear-progress-bar-stripes{
  from{
    background-position:0 0; }
  to{
    background-position:30px 0; } }
@keyframes linear-progress-bar-stripes{
  from{
    background-position:0 0; }
  to{
    background-position:30px 0; } }

.bp3-progress-bar{
  background:rgba(92, 112, 128, 0.2);
  border-radius:40px;
  display:block;
  height:8px;
  overflow:hidden;
  position:relative;
  width:100%; }
  .bp3-progress-bar .bp3-progress-meter{
    background:linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%);
    background-color:rgba(92, 112, 128, 0.8);
    background-size:30px 30px;
    border-radius:40px;
    height:100%;
    position:absolute;
    -webkit-transition:width 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:width 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    width:100%; }
  .bp3-progress-bar:not(.bp3-no-animation):not(.bp3-no-stripes) .bp3-progress-meter{
    animation:linear-progress-bar-stripes 300ms linear infinite reverse; }
  .bp3-progress-bar.bp3-no-stripes .bp3-progress-meter{
    background-image:none; }

.bp3-dark .bp3-progress-bar{
  background:rgba(16, 22, 26, 0.5); }
  .bp3-dark .bp3-progress-bar .bp3-progress-meter{
    background-color:#8a9ba8; }

.bp3-progress-bar.bp3-intent-primary .bp3-progress-meter{
  background-color:#137cbd; }

.bp3-progress-bar.bp3-intent-success .bp3-progress-meter{
  background-color:#0f9960; }

.bp3-progress-bar.bp3-intent-warning .bp3-progress-meter{
  background-color:#d9822b; }

.bp3-progress-bar.bp3-intent-danger .bp3-progress-meter{
  background-color:#db3737; }
@-webkit-keyframes skeleton-glow{
  from{
    background:rgba(206, 217, 224, 0.2);
    border-color:rgba(206, 217, 224, 0.2); }
  to{
    background:rgba(92, 112, 128, 0.2);
    border-color:rgba(92, 112, 128, 0.2); } }
@keyframes skeleton-glow{
  from{
    background:rgba(206, 217, 224, 0.2);
    border-color:rgba(206, 217, 224, 0.2); }
  to{
    background:rgba(92, 112, 128, 0.2);
    border-color:rgba(92, 112, 128, 0.2); } }
.bp3-skeleton{
  -webkit-animation:1000ms linear infinite alternate skeleton-glow;
          animation:1000ms linear infinite alternate skeleton-glow;
  background:rgba(206, 217, 224, 0.2);
  background-clip:padding-box !important;
  border-color:rgba(206, 217, 224, 0.2) !important;
  border-radius:2px;
  -webkit-box-shadow:none !important;
          box-shadow:none !important;
  color:transparent !important;
  cursor:default;
  pointer-events:none;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-skeleton::before, .bp3-skeleton::after,
  .bp3-skeleton *{
    visibility:hidden !important; }
.bp3-slider{
  height:40px;
  min-width:150px;
  width:100%;
  cursor:default;
  outline:none;
  position:relative;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-slider:hover{
    cursor:pointer; }
  .bp3-slider:active{
    cursor:-webkit-grabbing;
    cursor:grabbing; }
  .bp3-slider.bp3-disabled{
    cursor:not-allowed;
    opacity:0.5; }
  .bp3-slider.bp3-slider-unlabeled{
    height:16px; }

.bp3-slider-track,
.bp3-slider-progress{
  height:6px;
  left:0;
  right:0;
  top:5px;
  position:absolute; }

.bp3-slider-track{
  border-radius:3px;
  overflow:hidden; }

.bp3-slider-progress{
  background:rgba(92, 112, 128, 0.2); }
  .bp3-dark .bp3-slider-progress{
    background:rgba(16, 22, 26, 0.5); }
  .bp3-slider-progress.bp3-intent-primary{
    background-color:#137cbd; }
  .bp3-slider-progress.bp3-intent-success{
    background-color:#0f9960; }
  .bp3-slider-progress.bp3-intent-warning{
    background-color:#d9822b; }
  .bp3-slider-progress.bp3-intent-danger{
    background-color:#db3737; }

.bp3-slider-handle{
  background-color:#f5f8fa;
  background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
  background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
          box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
  color:#182026;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
  cursor:pointer;
  height:16px;
  left:0;
  position:absolute;
  top:0;
  width:16px; }
  .bp3-slider-handle:hover{
    background-clip:padding-box;
    background-color:#ebf1f5;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); }
  .bp3-slider-handle:active, .bp3-slider-handle.bp3-active{
    background-color:#d8e1e8;
    background-image:none;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
  .bp3-slider-handle:disabled, .bp3-slider-handle.bp3-disabled{
    background-color:rgba(206, 217, 224, 0.5);
    background-image:none;
    -webkit-box-shadow:none;
            box-shadow:none;
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed;
    outline:none; }
    .bp3-slider-handle:disabled.bp3-active, .bp3-slider-handle:disabled.bp3-active:hover, .bp3-slider-handle.bp3-disabled.bp3-active, .bp3-slider-handle.bp3-disabled.bp3-active:hover{
      background:rgba(206, 217, 224, 0.7); }
  .bp3-slider-handle:focus{
    z-index:1; }
  .bp3-slider-handle:hover{
    background-clip:padding-box;
    background-color:#ebf1f5;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 1px 1px rgba(16, 22, 26, 0.2);
    cursor:-webkit-grab;
    cursor:grab;
    z-index:2; }
  .bp3-slider-handle.bp3-active{
    background-color:#d8e1e8;
    background-image:none;
    -webkit-box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
            box-shadow:inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 2px rgba(16, 22, 26, 0.2);
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 1px rgba(16, 22, 26, 0.1);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 1px 1px rgba(16, 22, 26, 0.1);
    cursor:-webkit-grabbing;
    cursor:grabbing; }
  .bp3-disabled .bp3-slider-handle{
    background:#bfccd6;
    -webkit-box-shadow:none;
            box-shadow:none;
    pointer-events:none; }
  .bp3-dark .bp3-slider-handle{
    background-color:#394b59;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.05)), to(rgba(255, 255, 255, 0)));
    background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
    color:#f5f8fa; }
    .bp3-dark .bp3-slider-handle:hover, .bp3-dark .bp3-slider-handle:active, .bp3-dark .bp3-slider-handle.bp3-active{
      color:#f5f8fa; }
    .bp3-dark .bp3-slider-handle:hover{
      background-color:#30404d;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-slider-handle:active, .bp3-dark .bp3-slider-handle.bp3-active{
      background-color:#202b33;
      background-image:none;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.6), inset 0 1px 2px rgba(16, 22, 26, 0.2); }
    .bp3-dark .bp3-slider-handle:disabled, .bp3-dark .bp3-slider-handle.bp3-disabled{
      background-color:rgba(57, 75, 89, 0.5);
      background-image:none;
      -webkit-box-shadow:none;
              box-shadow:none;
      color:rgba(167, 182, 194, 0.6); }
      .bp3-dark .bp3-slider-handle:disabled.bp3-active, .bp3-dark .bp3-slider-handle.bp3-disabled.bp3-active{
        background:rgba(57, 75, 89, 0.7); }
    .bp3-dark .bp3-slider-handle .bp3-button-spinner .bp3-spinner-head{
      background:rgba(16, 22, 26, 0.5);
      stroke:#8a9ba8; }
    .bp3-dark .bp3-slider-handle, .bp3-dark .bp3-slider-handle:hover{
      background-color:#394b59; }
    .bp3-dark .bp3-slider-handle.bp3-active{
      background-color:#293742; }
  .bp3-dark .bp3-disabled .bp3-slider-handle{
    background:#5c7080;
    border-color:#5c7080;
    -webkit-box-shadow:none;
            box-shadow:none; }
  .bp3-slider-handle .bp3-slider-label{
    background:#394b59;
    border-radius:3px;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
    color:#f5f8fa;
    margin-left:8px; }
    .bp3-dark .bp3-slider-handle .bp3-slider-label{
      background:#e1e8ed;
      -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
      color:#394b59; }
    .bp3-disabled .bp3-slider-handle .bp3-slider-label{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-slider-handle.bp3-start, .bp3-slider-handle.bp3-end{
    width:8px; }
  .bp3-slider-handle.bp3-start{
    border-bottom-right-radius:0;
    border-top-right-radius:0; }
  .bp3-slider-handle.bp3-end{
    border-bottom-left-radius:0;
    border-top-left-radius:0;
    margin-left:8px; }
    .bp3-slider-handle.bp3-end .bp3-slider-label{
      margin-left:0; }

.bp3-slider-label{
  -webkit-transform:translate(-50%, 20px);
          transform:translate(-50%, 20px);
  display:inline-block;
  font-size:12px;
  line-height:1;
  padding:2px 5px;
  position:absolute;
  vertical-align:top; }

.bp3-slider.bp3-vertical{
  height:150px;
  min-width:40px;
  width:40px; }
  .bp3-slider.bp3-vertical .bp3-slider-track,
  .bp3-slider.bp3-vertical .bp3-slider-progress{
    bottom:0;
    height:auto;
    left:5px;
    top:0;
    width:6px; }
  .bp3-slider.bp3-vertical .bp3-slider-progress{
    top:auto; }
  .bp3-slider.bp3-vertical .bp3-slider-label{
    -webkit-transform:translate(20px, 50%);
            transform:translate(20px, 50%); }
  .bp3-slider.bp3-vertical .bp3-slider-handle{
    top:auto; }
    .bp3-slider.bp3-vertical .bp3-slider-handle .bp3-slider-label{
      margin-left:0;
      margin-top:-8px; }
    .bp3-slider.bp3-vertical .bp3-slider-handle.bp3-end, .bp3-slider.bp3-vertical .bp3-slider-handle.bp3-start{
      height:8px;
      margin-left:0;
      width:16px; }
    .bp3-slider.bp3-vertical .bp3-slider-handle.bp3-start{
      border-bottom-right-radius:3px;
      border-top-left-radius:0; }
      .bp3-slider.bp3-vertical .bp3-slider-handle.bp3-start .bp3-slider-label{
        -webkit-transform:translate(20px);
                transform:translate(20px); }
    .bp3-slider.bp3-vertical .bp3-slider-handle.bp3-end{
      border-bottom-left-radius:0;
      border-bottom-right-radius:0;
      border-top-left-radius:3px;
      margin-bottom:8px; }

@-webkit-keyframes pt-spinner-animation{
  from{
    -webkit-transform:rotate(0deg);
            transform:rotate(0deg); }
  to{
    -webkit-transform:rotate(360deg);
            transform:rotate(360deg); } }

@keyframes pt-spinner-animation{
  from{
    -webkit-transform:rotate(0deg);
            transform:rotate(0deg); }
  to{
    -webkit-transform:rotate(360deg);
            transform:rotate(360deg); } }

.bp3-spinner{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
  overflow:visible;
  vertical-align:middle; }
  .bp3-spinner svg{
    display:block; }
  .bp3-spinner path{
    fill-opacity:0; }
  .bp3-spinner .bp3-spinner-head{
    stroke:rgba(92, 112, 128, 0.8);
    stroke-linecap:round;
    -webkit-transform-origin:center;
            transform-origin:center;
    -webkit-transition:stroke-dashoffset 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
    transition:stroke-dashoffset 200ms cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-spinner .bp3-spinner-track{
    stroke:rgba(92, 112, 128, 0.2); }

.bp3-spinner-animation{
  -webkit-animation:pt-spinner-animation 500ms linear infinite;
          animation:pt-spinner-animation 500ms linear infinite; }
  .bp3-no-spin > .bp3-spinner-animation{
    -webkit-animation:none;
            animation:none; }

.bp3-dark .bp3-spinner .bp3-spinner-head{
  stroke:#8a9ba8; }

.bp3-dark .bp3-spinner .bp3-spinner-track{
  stroke:rgba(16, 22, 26, 0.5); }

.bp3-spinner.bp3-intent-primary .bp3-spinner-head{
  stroke:#137cbd; }

.bp3-spinner.bp3-intent-success .bp3-spinner-head{
  stroke:#0f9960; }

.bp3-spinner.bp3-intent-warning .bp3-spinner-head{
  stroke:#d9822b; }

.bp3-spinner.bp3-intent-danger .bp3-spinner-head{
  stroke:#db3737; }
.bp3-tabs.bp3-vertical{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex; }
  .bp3-tabs.bp3-vertical > .bp3-tab-list{
    -webkit-box-align:start;
        -ms-flex-align:start;
            align-items:flex-start;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
        -ms-flex-direction:column;
            flex-direction:column; }
    .bp3-tabs.bp3-vertical > .bp3-tab-list .bp3-tab{
      border-radius:3px;
      padding:0 10px;
      width:100%; }
      .bp3-tabs.bp3-vertical > .bp3-tab-list .bp3-tab[aria-selected="true"]{
        background-color:rgba(19, 124, 189, 0.2);
        -webkit-box-shadow:none;
                box-shadow:none; }
    .bp3-tabs.bp3-vertical > .bp3-tab-list .bp3-tab-indicator-wrapper .bp3-tab-indicator{
      background-color:rgba(19, 124, 189, 0.2);
      border-radius:3px;
      bottom:0;
      height:auto;
      left:0;
      right:0;
      top:0; }
  .bp3-tabs.bp3-vertical > .bp3-tab-panel{
    margin-top:0;
    padding-left:20px; }

.bp3-tab-list{
  -webkit-box-align:end;
      -ms-flex-align:end;
          align-items:flex-end;
  border:none;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  list-style:none;
  margin:0;
  padding:0;
  position:relative; }
  .bp3-tab-list > *:not(:last-child){
    margin-right:20px; }

.bp3-tab{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal;
  color:#182026;
  cursor:pointer;
  -webkit-box-flex:0;
      -ms-flex:0 0 auto;
          flex:0 0 auto;
  font-size:14px;
  line-height:30px;
  max-width:100%;
  position:relative;
  vertical-align:top; }
  .bp3-tab a{
    color:inherit;
    display:block;
    text-decoration:none; }
  .bp3-tab-indicator-wrapper ~ .bp3-tab{
    background-color:transparent !important;
    -webkit-box-shadow:none !important;
            box-shadow:none !important; }
  .bp3-tab[aria-disabled="true"]{
    color:rgba(92, 112, 128, 0.6);
    cursor:not-allowed; }
  .bp3-tab[aria-selected="true"]{
    border-radius:0;
    -webkit-box-shadow:inset 0 -3px 0 #106ba3;
            box-shadow:inset 0 -3px 0 #106ba3; }
  .bp3-tab[aria-selected="true"], .bp3-tab:not([aria-disabled="true"]):hover{
    color:#106ba3; }
  .bp3-tab:focus{
    -moz-outline-radius:0; }
  .bp3-large > .bp3-tab{
    font-size:16px;
    line-height:40px; }

.bp3-tab-panel{
  margin-top:20px; }
  .bp3-tab-panel[aria-hidden="true"]{
    display:none; }

.bp3-tab-indicator-wrapper{
  left:0;
  pointer-events:none;
  position:absolute;
  top:0;
  -webkit-transform:translateX(0), translateY(0);
          transform:translateX(0), translateY(0);
  -webkit-transition:height, width, -webkit-transform;
  transition:height, width, -webkit-transform;
  transition:height, transform, width;
  transition:height, transform, width, -webkit-transform;
  -webkit-transition-duration:200ms;
          transition-duration:200ms;
  -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
          transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-tab-indicator-wrapper .bp3-tab-indicator{
    background-color:#106ba3;
    bottom:0;
    height:3px;
    left:0;
    position:absolute;
    right:0; }
  .bp3-tab-indicator-wrapper.bp3-no-animation{
    -webkit-transition:none;
    transition:none; }

.bp3-dark .bp3-tab{
  color:#f5f8fa; }
  .bp3-dark .bp3-tab[aria-disabled="true"]{
    color:rgba(167, 182, 194, 0.6); }
  .bp3-dark .bp3-tab[aria-selected="true"]{
    -webkit-box-shadow:inset 0 -3px 0 #48aff0;
            box-shadow:inset 0 -3px 0 #48aff0; }
  .bp3-dark .bp3-tab[aria-selected="true"], .bp3-dark .bp3-tab:not([aria-disabled="true"]):hover{
    color:#48aff0; }

.bp3-dark .bp3-tab-indicator{
  background-color:#48aff0; }

.bp3-flex-expander{
  -webkit-box-flex:1;
      -ms-flex:1 1;
          flex:1 1; }
.bp3-tag{
  display:-webkit-inline-box;
  display:-ms-inline-flexbox;
  display:inline-flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  background-color:#5c7080;
  border:none;
  border-radius:3px;
  -webkit-box-shadow:none;
          box-shadow:none;
  color:#f5f8fa;
  font-size:12px;
  line-height:16px;
  max-width:100%;
  min-height:20px;
  min-width:20px;
  padding:2px 6px;
  position:relative; }
  .bp3-tag.bp3-interactive{
    cursor:pointer; }
    .bp3-tag.bp3-interactive:hover{
      background-color:rgba(92, 112, 128, 0.85); }
    .bp3-tag.bp3-interactive.bp3-active, .bp3-tag.bp3-interactive:active{
      background-color:rgba(92, 112, 128, 0.7); }
  .bp3-tag > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-tag > .bp3-fill{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-tag::before,
  .bp3-tag > *{
    margin-right:4px; }
  .bp3-tag:empty::before,
  .bp3-tag > :last-child{
    margin-right:0; }
  .bp3-tag:focus{
    outline:rgba(19, 124, 189, 0.6) auto 2px;
    outline-offset:0;
    -moz-outline-radius:6px; }
  .bp3-tag.bp3-round{
    border-radius:30px;
    padding-left:8px;
    padding-right:8px; }
  .bp3-dark .bp3-tag{
    background-color:#bfccd6;
    color:#182026; }
    .bp3-dark .bp3-tag.bp3-interactive{
      cursor:pointer; }
      .bp3-dark .bp3-tag.bp3-interactive:hover{
        background-color:rgba(191, 204, 214, 0.85); }
      .bp3-dark .bp3-tag.bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-interactive:active{
        background-color:rgba(191, 204, 214, 0.7); }
    .bp3-dark .bp3-tag > .bp3-icon, .bp3-dark .bp3-tag .bp3-icon-standard, .bp3-dark .bp3-tag .bp3-icon-large{
      fill:currentColor; }
  .bp3-tag > .bp3-icon, .bp3-tag .bp3-icon-standard, .bp3-tag .bp3-icon-large{
    fill:#ffffff; }
  .bp3-tag.bp3-large,
  .bp3-large .bp3-tag{
    font-size:14px;
    line-height:20px;
    min-height:30px;
    min-width:30px;
    padding:5px 10px; }
    .bp3-tag.bp3-large::before,
    .bp3-tag.bp3-large > *,
    .bp3-large .bp3-tag::before,
    .bp3-large .bp3-tag > *{
      margin-right:7px; }
    .bp3-tag.bp3-large:empty::before,
    .bp3-tag.bp3-large > :last-child,
    .bp3-large .bp3-tag:empty::before,
    .bp3-large .bp3-tag > :last-child{
      margin-right:0; }
    .bp3-tag.bp3-large.bp3-round,
    .bp3-large .bp3-tag.bp3-round{
      padding-left:12px;
      padding-right:12px; }
  .bp3-tag.bp3-intent-primary{
    background:#137cbd;
    color:#ffffff; }
    .bp3-tag.bp3-intent-primary.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-intent-primary.bp3-interactive:hover{
        background-color:rgba(19, 124, 189, 0.85); }
      .bp3-tag.bp3-intent-primary.bp3-interactive.bp3-active, .bp3-tag.bp3-intent-primary.bp3-interactive:active{
        background-color:rgba(19, 124, 189, 0.7); }
  .bp3-tag.bp3-intent-success{
    background:#0f9960;
    color:#ffffff; }
    .bp3-tag.bp3-intent-success.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-intent-success.bp3-interactive:hover{
        background-color:rgba(15, 153, 96, 0.85); }
      .bp3-tag.bp3-intent-success.bp3-interactive.bp3-active, .bp3-tag.bp3-intent-success.bp3-interactive:active{
        background-color:rgba(15, 153, 96, 0.7); }
  .bp3-tag.bp3-intent-warning{
    background:#d9822b;
    color:#ffffff; }
    .bp3-tag.bp3-intent-warning.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-intent-warning.bp3-interactive:hover{
        background-color:rgba(217, 130, 43, 0.85); }
      .bp3-tag.bp3-intent-warning.bp3-interactive.bp3-active, .bp3-tag.bp3-intent-warning.bp3-interactive:active{
        background-color:rgba(217, 130, 43, 0.7); }
  .bp3-tag.bp3-intent-danger{
    background:#db3737;
    color:#ffffff; }
    .bp3-tag.bp3-intent-danger.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-intent-danger.bp3-interactive:hover{
        background-color:rgba(219, 55, 55, 0.85); }
      .bp3-tag.bp3-intent-danger.bp3-interactive.bp3-active, .bp3-tag.bp3-intent-danger.bp3-interactive:active{
        background-color:rgba(219, 55, 55, 0.7); }
  .bp3-tag.bp3-fill{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    width:100%; }
  .bp3-tag.bp3-minimal > .bp3-icon, .bp3-tag.bp3-minimal .bp3-icon-standard, .bp3-tag.bp3-minimal .bp3-icon-large{
    fill:#5c7080; }
  .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]){
    background-color:rgba(138, 155, 168, 0.2);
    color:#182026; }
    .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive:hover{
        background-color:rgba(92, 112, 128, 0.3); }
      .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive.bp3-active, .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive:active{
        background-color:rgba(92, 112, 128, 0.4); }
    .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]){
      color:#f5f8fa; }
      .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive{
        cursor:pointer; }
        .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive:hover{
          background-color:rgba(191, 204, 214, 0.3); }
        .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]).bp3-interactive:active{
          background-color:rgba(191, 204, 214, 0.4); }
      .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]) > .bp3-icon, .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]) .bp3-icon-standard, .bp3-dark .bp3-tag.bp3-minimal:not([class*="bp3-intent-"]) .bp3-icon-large{
        fill:#a7b6c2; }
  .bp3-tag.bp3-minimal.bp3-intent-primary{
    background-color:rgba(19, 124, 189, 0.15);
    color:#106ba3; }
    .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive:hover{
        background-color:rgba(19, 124, 189, 0.25); }
      .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive.bp3-active, .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive:active{
        background-color:rgba(19, 124, 189, 0.35); }
    .bp3-tag.bp3-minimal.bp3-intent-primary > .bp3-icon, .bp3-tag.bp3-minimal.bp3-intent-primary .bp3-icon-standard, .bp3-tag.bp3-minimal.bp3-intent-primary .bp3-icon-large{
      fill:#137cbd; }
    .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-primary{
      background-color:rgba(19, 124, 189, 0.25);
      color:#48aff0; }
      .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive{
        cursor:pointer; }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive:hover{
          background-color:rgba(19, 124, 189, 0.35); }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-primary.bp3-interactive:active{
          background-color:rgba(19, 124, 189, 0.45); }
  .bp3-tag.bp3-minimal.bp3-intent-success{
    background-color:rgba(15, 153, 96, 0.15);
    color:#0d8050; }
    .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive:hover{
        background-color:rgba(15, 153, 96, 0.25); }
      .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive.bp3-active, .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive:active{
        background-color:rgba(15, 153, 96, 0.35); }
    .bp3-tag.bp3-minimal.bp3-intent-success > .bp3-icon, .bp3-tag.bp3-minimal.bp3-intent-success .bp3-icon-standard, .bp3-tag.bp3-minimal.bp3-intent-success .bp3-icon-large{
      fill:#0f9960; }
    .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-success{
      background-color:rgba(15, 153, 96, 0.25);
      color:#3dcc91; }
      .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive{
        cursor:pointer; }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive:hover{
          background-color:rgba(15, 153, 96, 0.35); }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-success.bp3-interactive:active{
          background-color:rgba(15, 153, 96, 0.45); }
  .bp3-tag.bp3-minimal.bp3-intent-warning{
    background-color:rgba(217, 130, 43, 0.15);
    color:#bf7326; }
    .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive:hover{
        background-color:rgba(217, 130, 43, 0.25); }
      .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive.bp3-active, .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive:active{
        background-color:rgba(217, 130, 43, 0.35); }
    .bp3-tag.bp3-minimal.bp3-intent-warning > .bp3-icon, .bp3-tag.bp3-minimal.bp3-intent-warning .bp3-icon-standard, .bp3-tag.bp3-minimal.bp3-intent-warning .bp3-icon-large{
      fill:#d9822b; }
    .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-warning{
      background-color:rgba(217, 130, 43, 0.25);
      color:#ffb366; }
      .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive{
        cursor:pointer; }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive:hover{
          background-color:rgba(217, 130, 43, 0.35); }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-warning.bp3-interactive:active{
          background-color:rgba(217, 130, 43, 0.45); }
  .bp3-tag.bp3-minimal.bp3-intent-danger{
    background-color:rgba(219, 55, 55, 0.15);
    color:#c23030; }
    .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive{
      cursor:pointer; }
      .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive:hover{
        background-color:rgba(219, 55, 55, 0.25); }
      .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive.bp3-active, .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive:active{
        background-color:rgba(219, 55, 55, 0.35); }
    .bp3-tag.bp3-minimal.bp3-intent-danger > .bp3-icon, .bp3-tag.bp3-minimal.bp3-intent-danger .bp3-icon-standard, .bp3-tag.bp3-minimal.bp3-intent-danger .bp3-icon-large{
      fill:#db3737; }
    .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-danger{
      background-color:rgba(219, 55, 55, 0.25);
      color:#ff7373; }
      .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive{
        cursor:pointer; }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive:hover{
          background-color:rgba(219, 55, 55, 0.35); }
        .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive.bp3-active, .bp3-dark .bp3-tag.bp3-minimal.bp3-intent-danger.bp3-interactive:active{
          background-color:rgba(219, 55, 55, 0.45); }

.bp3-tag-remove{
  background:none;
  border:none;
  color:inherit;
  cursor:pointer;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin-bottom:-2px;
  margin-right:-6px !important;
  margin-top:-2px;
  opacity:0.5;
  padding:2px;
  padding-left:0; }
  .bp3-tag-remove:hover{
    background:none;
    opacity:0.8;
    text-decoration:none; }
  .bp3-tag-remove:active{
    opacity:1; }
  .bp3-tag-remove:empty::before{
    font-family:"Icons16", sans-serif;
    font-size:16px;
    font-style:normal;
    font-weight:400;
    line-height:1;
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    content:""; }
  .bp3-large .bp3-tag-remove{
    margin-right:-10px !important;
    padding:0 5px 0 0; }
    .bp3-large .bp3-tag-remove:empty::before{
      font-family:"Icons20", sans-serif;
      font-size:20px;
      font-style:normal;
      font-weight:400;
      line-height:1; }
.bp3-tag-input{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:flex-start;
  cursor:text;
  height:auto;
  line-height:inherit;
  min-height:30px;
  padding-left:5px;
  padding-right:0; }
  .bp3-tag-input > *{
    -webkit-box-flex:0;
        -ms-flex-positive:0;
            flex-grow:0;
    -ms-flex-negative:0;
        flex-shrink:0; }
  .bp3-tag-input > .bp3-tag-input-values{
    -webkit-box-flex:1;
        -ms-flex-positive:1;
            flex-grow:1;
    -ms-flex-negative:1;
        flex-shrink:1; }
  .bp3-tag-input .bp3-tag-input-icon{
    color:#5c7080;
    margin-left:2px;
    margin-right:7px;
    margin-top:7px; }
  .bp3-tag-input .bp3-tag-input-values{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
        -ms-flex-direction:row;
            flex-direction:row;
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    -ms-flex-item-align:stretch;
        align-self:stretch;
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
    margin-right:7px;
    margin-top:5px;
    min-width:0; }
    .bp3-tag-input .bp3-tag-input-values > *{
      -webkit-box-flex:0;
          -ms-flex-positive:0;
              flex-grow:0;
      -ms-flex-negative:0;
          flex-shrink:0; }
    .bp3-tag-input .bp3-tag-input-values > .bp3-fill{
      -webkit-box-flex:1;
          -ms-flex-positive:1;
              flex-grow:1;
      -ms-flex-negative:1;
          flex-shrink:1; }
    .bp3-tag-input .bp3-tag-input-values::before,
    .bp3-tag-input .bp3-tag-input-values > *{
      margin-right:5px; }
    .bp3-tag-input .bp3-tag-input-values:empty::before,
    .bp3-tag-input .bp3-tag-input-values > :last-child{
      margin-right:0; }
    .bp3-tag-input .bp3-tag-input-values:first-child .bp3-input-ghost:first-child{
      padding-left:5px; }
    .bp3-tag-input .bp3-tag-input-values > *{
      margin-bottom:5px; }
  .bp3-tag-input .bp3-tag{
    overflow-wrap:break-word; }
    .bp3-tag-input .bp3-tag.bp3-active{
      outline:rgba(19, 124, 189, 0.6) auto 2px;
      outline-offset:0;
      -moz-outline-radius:6px; }
  .bp3-tag-input .bp3-input-ghost{
    -webkit-box-flex:1;
        -ms-flex:1 1 auto;
            flex:1 1 auto;
    line-height:20px;
    width:80px; }
    .bp3-tag-input .bp3-input-ghost:disabled, .bp3-tag-input .bp3-input-ghost.bp3-disabled{
      cursor:not-allowed; }
  .bp3-tag-input .bp3-button,
  .bp3-tag-input .bp3-spinner{
    margin:3px;
    margin-left:0; }
  .bp3-tag-input .bp3-button{
    min-height:24px;
    min-width:24px;
    padding:0 7px; }
  .bp3-tag-input.bp3-large{
    height:auto;
    min-height:40px; }
    .bp3-tag-input.bp3-large::before,
    .bp3-tag-input.bp3-large > *{
      margin-right:10px; }
    .bp3-tag-input.bp3-large:empty::before,
    .bp3-tag-input.bp3-large > :last-child{
      margin-right:0; }
    .bp3-tag-input.bp3-large .bp3-tag-input-icon{
      margin-left:5px;
      margin-top:10px; }
    .bp3-tag-input.bp3-large .bp3-input-ghost{
      line-height:30px; }
    .bp3-tag-input.bp3-large .bp3-button{
      min-height:30px;
      min-width:30px;
      padding:5px 10px;
      margin:5px;
      margin-left:0; }
    .bp3-tag-input.bp3-large .bp3-spinner{
      margin:8px;
      margin-left:0; }
  .bp3-tag-input.bp3-active{
    background-color:#ffffff;
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-tag-input.bp3-active.bp3-intent-primary{
      -webkit-box-shadow:0 0 0 1px #106ba3, 0 0 0 3px rgba(16, 107, 163, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #106ba3, 0 0 0 3px rgba(16, 107, 163, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-tag-input.bp3-active.bp3-intent-success{
      -webkit-box-shadow:0 0 0 1px #0d8050, 0 0 0 3px rgba(13, 128, 80, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #0d8050, 0 0 0 3px rgba(13, 128, 80, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-tag-input.bp3-active.bp3-intent-warning{
      -webkit-box-shadow:0 0 0 1px #bf7326, 0 0 0 3px rgba(191, 115, 38, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #bf7326, 0 0 0 3px rgba(191, 115, 38, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
    .bp3-tag-input.bp3-active.bp3-intent-danger{
      -webkit-box-shadow:0 0 0 1px #c23030, 0 0 0 3px rgba(194, 48, 48, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2);
              box-shadow:0 0 0 1px #c23030, 0 0 0 3px rgba(194, 48, 48, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.2); }
  .bp3-dark .bp3-tag-input .bp3-tag-input-icon, .bp3-tag-input.bp3-dark .bp3-tag-input-icon{
    color:#a7b6c2; }
  .bp3-dark .bp3-tag-input .bp3-input-ghost, .bp3-tag-input.bp3-dark .bp3-input-ghost{
    color:#f5f8fa; }
    .bp3-dark .bp3-tag-input .bp3-input-ghost::-webkit-input-placeholder, .bp3-tag-input.bp3-dark .bp3-input-ghost::-webkit-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-tag-input .bp3-input-ghost::-moz-placeholder, .bp3-tag-input.bp3-dark .bp3-input-ghost::-moz-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-tag-input .bp3-input-ghost:-ms-input-placeholder, .bp3-tag-input.bp3-dark .bp3-input-ghost:-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-tag-input .bp3-input-ghost::-ms-input-placeholder, .bp3-tag-input.bp3-dark .bp3-input-ghost::-ms-input-placeholder{
      color:rgba(167, 182, 194, 0.6); }
    .bp3-dark .bp3-tag-input .bp3-input-ghost::placeholder, .bp3-tag-input.bp3-dark .bp3-input-ghost::placeholder{
      color:rgba(167, 182, 194, 0.6); }
  .bp3-dark .bp3-tag-input.bp3-active, .bp3-tag-input.bp3-dark.bp3-active{
    background-color:rgba(16, 22, 26, 0.3);
    -webkit-box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px #137cbd, 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-tag-input.bp3-active.bp3-intent-primary, .bp3-tag-input.bp3-dark.bp3-active.bp3-intent-primary{
      -webkit-box-shadow:0 0 0 1px #106ba3, 0 0 0 3px rgba(16, 107, 163, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #106ba3, 0 0 0 3px rgba(16, 107, 163, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-tag-input.bp3-active.bp3-intent-success, .bp3-tag-input.bp3-dark.bp3-active.bp3-intent-success{
      -webkit-box-shadow:0 0 0 1px #0d8050, 0 0 0 3px rgba(13, 128, 80, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #0d8050, 0 0 0 3px rgba(13, 128, 80, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-tag-input.bp3-active.bp3-intent-warning, .bp3-tag-input.bp3-dark.bp3-active.bp3-intent-warning{
      -webkit-box-shadow:0 0 0 1px #bf7326, 0 0 0 3px rgba(191, 115, 38, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #bf7326, 0 0 0 3px rgba(191, 115, 38, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }
    .bp3-dark .bp3-tag-input.bp3-active.bp3-intent-danger, .bp3-tag-input.bp3-dark.bp3-active.bp3-intent-danger{
      -webkit-box-shadow:0 0 0 1px #c23030, 0 0 0 3px rgba(194, 48, 48, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4);
              box-shadow:0 0 0 1px #c23030, 0 0 0 3px rgba(194, 48, 48, 0.3), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); }

.bp3-input-ghost{
  background:none;
  border:none;
  -webkit-box-shadow:none;
          box-shadow:none;
  padding:0; }
  .bp3-input-ghost::-webkit-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input-ghost::-moz-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input-ghost:-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input-ghost::-ms-input-placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input-ghost::placeholder{
    color:rgba(92, 112, 128, 0.6);
    opacity:1; }
  .bp3-input-ghost:focus{
    outline:none !important; }
.bp3-toast{
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:flex-start;
  background-color:#ffffff;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin:20px 0 0;
  max-width:500px;
  min-width:300px;
  pointer-events:all;
  position:relative !important; }
  .bp3-toast.bp3-toast-enter, .bp3-toast.bp3-toast-appear{
    -webkit-transform:translateY(-40px);
            transform:translateY(-40px); }
  .bp3-toast.bp3-toast-enter-active, .bp3-toast.bp3-toast-appear-active{
    -webkit-transform:translateY(0);
            transform:translateY(0);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }
  .bp3-toast.bp3-toast-enter ~ .bp3-toast, .bp3-toast.bp3-toast-appear ~ .bp3-toast{
    -webkit-transform:translateY(-40px);
            transform:translateY(-40px); }
  .bp3-toast.bp3-toast-enter-active ~ .bp3-toast, .bp3-toast.bp3-toast-appear-active ~ .bp3-toast{
    -webkit-transform:translateY(0);
            transform:translateY(0);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11);
            transition-timing-function:cubic-bezier(0.54, 1.12, 0.38, 1.11); }
  .bp3-toast.bp3-toast-exit{
    opacity:1;
    -webkit-filter:blur(0);
            filter:blur(0); }
  .bp3-toast.bp3-toast-exit-active{
    opacity:0;
    -webkit-filter:blur(10px);
            filter:blur(10px);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:300ms;
            transition-duration:300ms;
    -webkit-transition-property:opacity, -webkit-filter;
    transition-property:opacity, -webkit-filter;
    transition-property:opacity, filter;
    transition-property:opacity, filter, -webkit-filter;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-toast.bp3-toast-exit ~ .bp3-toast{
    -webkit-transform:translateY(0);
            transform:translateY(0); }
  .bp3-toast.bp3-toast-exit-active ~ .bp3-toast{
    -webkit-transform:translateY(-40px);
            transform:translateY(-40px);
    -webkit-transition-delay:50ms;
            transition-delay:50ms;
    -webkit-transition-duration:100ms;
            transition-duration:100ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-toast .bp3-button-group{
    -webkit-box-flex:0;
        -ms-flex:0 0 auto;
            flex:0 0 auto;
    padding:5px;
    padding-left:0; }
  .bp3-toast > .bp3-icon{
    color:#5c7080;
    margin:12px;
    margin-right:0; }
  .bp3-toast.bp3-dark,
  .bp3-dark .bp3-toast{
    background-color:#394b59;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }
    .bp3-toast.bp3-dark > .bp3-icon,
    .bp3-dark .bp3-toast > .bp3-icon{
      color:#a7b6c2; }
  .bp3-toast[class*="bp3-intent-"] a{
    color:rgba(255, 255, 255, 0.7); }
    .bp3-toast[class*="bp3-intent-"] a:hover{
      color:#ffffff; }
  .bp3-toast[class*="bp3-intent-"] > .bp3-icon{
    color:#ffffff; }
  .bp3-toast[class*="bp3-intent-"] .bp3-button, .bp3-toast[class*="bp3-intent-"] .bp3-button::before,
  .bp3-toast[class*="bp3-intent-"] .bp3-button .bp3-icon, .bp3-toast[class*="bp3-intent-"] .bp3-button:active{
    color:rgba(255, 255, 255, 0.7) !important; }
  .bp3-toast[class*="bp3-intent-"] .bp3-button:focus{
    outline-color:rgba(255, 255, 255, 0.5); }
  .bp3-toast[class*="bp3-intent-"] .bp3-button:hover{
    background-color:rgba(255, 255, 255, 0.15) !important;
    color:#ffffff !important; }
  .bp3-toast[class*="bp3-intent-"] .bp3-button:active{
    background-color:rgba(255, 255, 255, 0.3) !important;
    color:#ffffff !important; }
  .bp3-toast[class*="bp3-intent-"] .bp3-button::after{
    background:rgba(255, 255, 255, 0.3) !important; }
  .bp3-toast.bp3-intent-primary{
    background-color:#137cbd;
    color:#ffffff; }
  .bp3-toast.bp3-intent-success{
    background-color:#0f9960;
    color:#ffffff; }
  .bp3-toast.bp3-intent-warning{
    background-color:#d9822b;
    color:#ffffff; }
  .bp3-toast.bp3-intent-danger{
    background-color:#db3737;
    color:#ffffff; }

.bp3-toast-message{
  -webkit-box-flex:1;
      -ms-flex:1 1 auto;
          flex:1 1 auto;
  padding:11px;
  word-break:break-word; }

.bp3-toast-container{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box !important;
  display:-ms-flexbox !important;
  display:flex !important;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  left:0;
  overflow:hidden;
  padding:0 20px 20px;
  pointer-events:none;
  position:fixed;
  right:0;
  z-index:40; }
  .bp3-toast-container.bp3-toast-container-top{
    top:0; }
  .bp3-toast-container.bp3-toast-container-bottom{
    bottom:0;
    -webkit-box-orient:vertical;
    -webkit-box-direction:reverse;
        -ms-flex-direction:column-reverse;
            flex-direction:column-reverse;
    top:auto; }
  .bp3-toast-container.bp3-toast-container-left{
    -webkit-box-align:start;
        -ms-flex-align:start;
            align-items:flex-start; }
  .bp3-toast-container.bp3-toast-container-right{
    -webkit-box-align:end;
        -ms-flex-align:end;
            align-items:flex-end; }

.bp3-toast-container-bottom .bp3-toast.bp3-toast-enter:not(.bp3-toast-enter-active),
.bp3-toast-container-bottom .bp3-toast.bp3-toast-enter:not(.bp3-toast-enter-active) ~ .bp3-toast, .bp3-toast-container-bottom .bp3-toast.bp3-toast-appear:not(.bp3-toast-appear-active),
.bp3-toast-container-bottom .bp3-toast.bp3-toast-appear:not(.bp3-toast-appear-active) ~ .bp3-toast,
.bp3-toast-container-bottom .bp3-toast.bp3-toast-exit-active ~ .bp3-toast,
.bp3-toast-container-bottom .bp3-toast.bp3-toast-leave-active ~ .bp3-toast{
  -webkit-transform:translateY(60px);
          transform:translateY(60px); }
.bp3-tooltip{
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
  -webkit-transform:scale(1);
          transform:scale(1); }
  .bp3-tooltip .bp3-popover-arrow{
    height:22px;
    position:absolute;
    width:22px; }
    .bp3-tooltip .bp3-popover-arrow::before{
      height:14px;
      margin:4px;
      width:14px; }
  .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-tooltip{
    margin-bottom:11px;
    margin-top:-11px; }
    .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-tooltip > .bp3-popover-arrow{
      bottom:-8px; }
      .bp3-tether-element-attached-bottom.bp3-tether-target-attached-top > .bp3-tooltip > .bp3-popover-arrow svg{
        -webkit-transform:rotate(-90deg);
                transform:rotate(-90deg); }
  .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-tooltip{
    margin-left:11px; }
    .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-tooltip > .bp3-popover-arrow{
      left:-8px; }
      .bp3-tether-element-attached-left.bp3-tether-target-attached-right > .bp3-tooltip > .bp3-popover-arrow svg{
        -webkit-transform:rotate(0);
                transform:rotate(0); }
  .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-tooltip{
    margin-top:11px; }
    .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-tooltip > .bp3-popover-arrow{
      top:-8px; }
      .bp3-tether-element-attached-top.bp3-tether-target-attached-bottom > .bp3-tooltip > .bp3-popover-arrow svg{
        -webkit-transform:rotate(90deg);
                transform:rotate(90deg); }
  .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-tooltip{
    margin-left:-11px;
    margin-right:11px; }
    .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-tooltip > .bp3-popover-arrow{
      right:-8px; }
      .bp3-tether-element-attached-right.bp3-tether-target-attached-left > .bp3-tooltip > .bp3-popover-arrow svg{
        -webkit-transform:rotate(180deg);
                transform:rotate(180deg); }
  .bp3-tether-element-attached-middle > .bp3-tooltip > .bp3-popover-arrow{
    top:50%;
    -webkit-transform:translateY(-50%);
            transform:translateY(-50%); }
  .bp3-tether-element-attached-center > .bp3-tooltip > .bp3-popover-arrow{
    right:50%;
    -webkit-transform:translateX(50%);
            transform:translateX(50%); }
  .bp3-tether-element-attached-top.bp3-tether-target-attached-top > .bp3-tooltip > .bp3-popover-arrow{
    top:-0.22183px; }
  .bp3-tether-element-attached-right.bp3-tether-target-attached-right > .bp3-tooltip > .bp3-popover-arrow{
    right:-0.22183px; }
  .bp3-tether-element-attached-left.bp3-tether-target-attached-left > .bp3-tooltip > .bp3-popover-arrow{
    left:-0.22183px; }
  .bp3-tether-element-attached-bottom.bp3-tether-target-attached-bottom > .bp3-tooltip > .bp3-popover-arrow{
    bottom:-0.22183px; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-left > .bp3-tooltip{
    -webkit-transform-origin:top left;
            transform-origin:top left; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-center > .bp3-tooltip{
    -webkit-transform-origin:top center;
            transform-origin:top center; }
  .bp3-tether-element-attached-top.bp3-tether-element-attached-right > .bp3-tooltip{
    -webkit-transform-origin:top right;
            transform-origin:top right; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-left > .bp3-tooltip{
    -webkit-transform-origin:center left;
            transform-origin:center left; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-center > .bp3-tooltip{
    -webkit-transform-origin:center center;
            transform-origin:center center; }
  .bp3-tether-element-attached-middle.bp3-tether-element-attached-right > .bp3-tooltip{
    -webkit-transform-origin:center right;
            transform-origin:center right; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-left > .bp3-tooltip{
    -webkit-transform-origin:bottom left;
            transform-origin:bottom left; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-center > .bp3-tooltip{
    -webkit-transform-origin:bottom center;
            transform-origin:bottom center; }
  .bp3-tether-element-attached-bottom.bp3-tether-element-attached-right > .bp3-tooltip{
    -webkit-transform-origin:bottom right;
            transform-origin:bottom right; }
  .bp3-tooltip .bp3-popover-content{
    background:#394b59;
    color:#f5f8fa; }
  .bp3-tooltip .bp3-popover-arrow::before{
    -webkit-box-shadow:1px 1px 6px rgba(16, 22, 26, 0.2);
            box-shadow:1px 1px 6px rgba(16, 22, 26, 0.2); }
  .bp3-tooltip .bp3-popover-arrow-border{
    fill:#10161a;
    fill-opacity:0.1; }
  .bp3-tooltip .bp3-popover-arrow-fill{
    fill:#394b59; }
  .bp3-popover-enter > .bp3-tooltip, .bp3-popover-appear > .bp3-tooltip{
    -webkit-transform:scale(0.8);
            transform:scale(0.8); }
  .bp3-popover-enter-active > .bp3-tooltip, .bp3-popover-appear-active > .bp3-tooltip{
    -webkit-transform:scale(1);
            transform:scale(1);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:100ms;
            transition-duration:100ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-popover-exit > .bp3-tooltip{
    -webkit-transform:scale(1);
            transform:scale(1); }
  .bp3-popover-exit-active > .bp3-tooltip{
    -webkit-transform:scale(0.8);
            transform:scale(0.8);
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:100ms;
            transition-duration:100ms;
    -webkit-transition-property:-webkit-transform;
    transition-property:-webkit-transform;
    transition-property:transform;
    transition-property:transform, -webkit-transform;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-tooltip .bp3-popover-content{
    padding:10px 12px; }
  .bp3-tooltip.bp3-dark,
  .bp3-dark .bp3-tooltip{
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 2px 4px rgba(16, 22, 26, 0.4), 0 8px 24px rgba(16, 22, 26, 0.4); }
    .bp3-tooltip.bp3-dark .bp3-popover-content,
    .bp3-dark .bp3-tooltip .bp3-popover-content{
      background:#e1e8ed;
      color:#394b59; }
    .bp3-tooltip.bp3-dark .bp3-popover-arrow::before,
    .bp3-dark .bp3-tooltip .bp3-popover-arrow::before{
      -webkit-box-shadow:1px 1px 6px rgba(16, 22, 26, 0.4);
              box-shadow:1px 1px 6px rgba(16, 22, 26, 0.4); }
    .bp3-tooltip.bp3-dark .bp3-popover-arrow-border,
    .bp3-dark .bp3-tooltip .bp3-popover-arrow-border{
      fill:#10161a;
      fill-opacity:0.2; }
    .bp3-tooltip.bp3-dark .bp3-popover-arrow-fill,
    .bp3-dark .bp3-tooltip .bp3-popover-arrow-fill{
      fill:#e1e8ed; }
  .bp3-tooltip.bp3-intent-primary .bp3-popover-content{
    background:#137cbd;
    color:#ffffff; }
  .bp3-tooltip.bp3-intent-primary .bp3-popover-arrow-fill{
    fill:#137cbd; }
  .bp3-tooltip.bp3-intent-success .bp3-popover-content{
    background:#0f9960;
    color:#ffffff; }
  .bp3-tooltip.bp3-intent-success .bp3-popover-arrow-fill{
    fill:#0f9960; }
  .bp3-tooltip.bp3-intent-warning .bp3-popover-content{
    background:#d9822b;
    color:#ffffff; }
  .bp3-tooltip.bp3-intent-warning .bp3-popover-arrow-fill{
    fill:#d9822b; }
  .bp3-tooltip.bp3-intent-danger .bp3-popover-content{
    background:#db3737;
    color:#ffffff; }
  .bp3-tooltip.bp3-intent-danger .bp3-popover-arrow-fill{
    fill:#db3737; }

.bp3-tooltip-indicator{
  border-bottom:dotted 1px;
  cursor:help; }
.bp3-tree .bp3-icon, .bp3-tree .bp3-icon-standard, .bp3-tree .bp3-icon-large{
  color:#5c7080; }
  .bp3-tree .bp3-icon.bp3-intent-primary, .bp3-tree .bp3-icon-standard.bp3-intent-primary, .bp3-tree .bp3-icon-large.bp3-intent-primary{
    color:#137cbd; }
  .bp3-tree .bp3-icon.bp3-intent-success, .bp3-tree .bp3-icon-standard.bp3-intent-success, .bp3-tree .bp3-icon-large.bp3-intent-success{
    color:#0f9960; }
  .bp3-tree .bp3-icon.bp3-intent-warning, .bp3-tree .bp3-icon-standard.bp3-intent-warning, .bp3-tree .bp3-icon-large.bp3-intent-warning{
    color:#d9822b; }
  .bp3-tree .bp3-icon.bp3-intent-danger, .bp3-tree .bp3-icon-standard.bp3-intent-danger, .bp3-tree .bp3-icon-large.bp3-intent-danger{
    color:#db3737; }

.bp3-tree-node-list{
  list-style:none;
  margin:0;
  padding-left:0; }

.bp3-tree-root{
  background-color:transparent;
  cursor:default;
  padding-left:0;
  position:relative; }

.bp3-tree-node-content-0{
  padding-left:0px; }

.bp3-tree-node-content-1{
  padding-left:23px; }

.bp3-tree-node-content-2{
  padding-left:46px; }

.bp3-tree-node-content-3{
  padding-left:69px; }

.bp3-tree-node-content-4{
  padding-left:92px; }

.bp3-tree-node-content-5{
  padding-left:115px; }

.bp3-tree-node-content-6{
  padding-left:138px; }

.bp3-tree-node-content-7{
  padding-left:161px; }

.bp3-tree-node-content-8{
  padding-left:184px; }

.bp3-tree-node-content-9{
  padding-left:207px; }

.bp3-tree-node-content-10{
  padding-left:230px; }

.bp3-tree-node-content-11{
  padding-left:253px; }

.bp3-tree-node-content-12{
  padding-left:276px; }

.bp3-tree-node-content-13{
  padding-left:299px; }

.bp3-tree-node-content-14{
  padding-left:322px; }

.bp3-tree-node-content-15{
  padding-left:345px; }

.bp3-tree-node-content-16{
  padding-left:368px; }

.bp3-tree-node-content-17{
  padding-left:391px; }

.bp3-tree-node-content-18{
  padding-left:414px; }

.bp3-tree-node-content-19{
  padding-left:437px; }

.bp3-tree-node-content-20{
  padding-left:460px; }

.bp3-tree-node-content{
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  height:30px;
  padding-right:5px;
  width:100%; }
  .bp3-tree-node-content:hover{
    background-color:rgba(191, 204, 214, 0.4); }

.bp3-tree-node-caret,
.bp3-tree-node-caret-none{
  min-width:30px; }

.bp3-tree-node-caret{
  color:#5c7080;
  cursor:pointer;
  padding:7px;
  -webkit-transform:rotate(0deg);
          transform:rotate(0deg);
  -webkit-transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:-webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9);
  transition:transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-transform 200ms cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-tree-node-caret:hover{
    color:#182026; }
  .bp3-dark .bp3-tree-node-caret{
    color:#a7b6c2; }
    .bp3-dark .bp3-tree-node-caret:hover{
      color:#f5f8fa; }
  .bp3-tree-node-caret.bp3-tree-node-caret-open{
    -webkit-transform:rotate(90deg);
            transform:rotate(90deg); }
  .bp3-tree-node-caret.bp3-icon-standard::before{
    content:""; }

.bp3-tree-node-icon{
  margin-right:7px;
  position:relative; }

.bp3-tree-node-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal;
  -webkit-box-flex:1;
      -ms-flex:1 1 auto;
          flex:1 1 auto;
  position:relative;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-tree-node-label span{
    display:inline; }

.bp3-tree-node-secondary-label{
  padding:0 5px;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none; }
  .bp3-tree-node-secondary-label .bp3-popover-wrapper,
  .bp3-tree-node-secondary-label .bp3-popover-target{
    -webkit-box-align:center;
        -ms-flex-align:center;
            align-items:center;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex; }

.bp3-tree-node.bp3-disabled .bp3-tree-node-content{
  background-color:inherit;
  color:rgba(92, 112, 128, 0.6);
  cursor:not-allowed; }

.bp3-tree-node.bp3-disabled .bp3-tree-node-caret,
.bp3-tree-node.bp3-disabled .bp3-tree-node-icon{
  color:rgba(92, 112, 128, 0.6);
  cursor:not-allowed; }

.bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content{
  background-color:#137cbd; }
  .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content,
  .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content .bp3-icon, .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content .bp3-icon-standard, .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content .bp3-icon-large{
    color:#ffffff; }
  .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content .bp3-tree-node-caret::before{
    color:rgba(255, 255, 255, 0.7); }
  .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content .bp3-tree-node-caret:hover::before{
    color:#ffffff; }

.bp3-dark .bp3-tree-node-content:hover{
  background-color:rgba(92, 112, 128, 0.3); }

.bp3-dark .bp3-tree .bp3-icon, .bp3-dark .bp3-tree .bp3-icon-standard, .bp3-dark .bp3-tree .bp3-icon-large{
  color:#a7b6c2; }
  .bp3-dark .bp3-tree .bp3-icon.bp3-intent-primary, .bp3-dark .bp3-tree .bp3-icon-standard.bp3-intent-primary, .bp3-dark .bp3-tree .bp3-icon-large.bp3-intent-primary{
    color:#137cbd; }
  .bp3-dark .bp3-tree .bp3-icon.bp3-intent-success, .bp3-dark .bp3-tree .bp3-icon-standard.bp3-intent-success, .bp3-dark .bp3-tree .bp3-icon-large.bp3-intent-success{
    color:#0f9960; }
  .bp3-dark .bp3-tree .bp3-icon.bp3-intent-warning, .bp3-dark .bp3-tree .bp3-icon-standard.bp3-intent-warning, .bp3-dark .bp3-tree .bp3-icon-large.bp3-intent-warning{
    color:#d9822b; }
  .bp3-dark .bp3-tree .bp3-icon.bp3-intent-danger, .bp3-dark .bp3-tree .bp3-icon-standard.bp3-intent-danger, .bp3-dark .bp3-tree .bp3-icon-large.bp3-intent-danger{
    color:#db3737; }

.bp3-dark .bp3-tree-node.bp3-tree-node-selected > .bp3-tree-node-content{
  background-color:#137cbd; }
.bp3-omnibar{
  -webkit-filter:blur(0);
          filter:blur(0);
  opacity:1;
  background-color:#ffffff;
  border-radius:3px;
  -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
          box-shadow:0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
  left:calc(50% - 250px);
  top:20vh;
  width:500px;
  z-index:21; }
  .bp3-omnibar.bp3-overlay-enter, .bp3-omnibar.bp3-overlay-appear{
    -webkit-filter:blur(20px);
            filter:blur(20px);
    opacity:0.2; }
  .bp3-omnibar.bp3-overlay-enter-active, .bp3-omnibar.bp3-overlay-appear-active{
    -webkit-filter:blur(0);
            filter:blur(0);
    opacity:1;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:200ms;
            transition-duration:200ms;
    -webkit-transition-property:opacity, -webkit-filter;
    transition-property:opacity, -webkit-filter;
    transition-property:filter, opacity;
    transition-property:filter, opacity, -webkit-filter;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-omnibar.bp3-overlay-exit{
    -webkit-filter:blur(0);
            filter:blur(0);
    opacity:1; }
  .bp3-omnibar.bp3-overlay-exit-active{
    -webkit-filter:blur(20px);
            filter:blur(20px);
    opacity:0.2;
    -webkit-transition-delay:0;
            transition-delay:0;
    -webkit-transition-duration:200ms;
            transition-duration:200ms;
    -webkit-transition-property:opacity, -webkit-filter;
    transition-property:opacity, -webkit-filter;
    transition-property:filter, opacity;
    transition-property:filter, opacity, -webkit-filter;
    -webkit-transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9);
            transition-timing-function:cubic-bezier(0.4, 1, 0.75, 0.9); }
  .bp3-omnibar .bp3-input{
    background-color:transparent;
    border-radius:0; }
    .bp3-omnibar .bp3-input, .bp3-omnibar .bp3-input:focus{
      -webkit-box-shadow:none;
              box-shadow:none; }
  .bp3-omnibar .bp3-menu{
    background-color:transparent;
    border-radius:0;
    -webkit-box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.15);
            box-shadow:inset 0 1px 0 rgba(16, 22, 26, 0.15);
    max-height:calc(60vh - 40px);
    overflow:auto; }
    .bp3-omnibar .bp3-menu:empty{
      display:none; }
  .bp3-dark .bp3-omnibar, .bp3-omnibar.bp3-dark{
    background-color:#30404d;
    -webkit-box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4);
            box-shadow:0 0 0 1px rgba(16, 22, 26, 0.2), 0 4px 8px rgba(16, 22, 26, 0.4), 0 18px 46px 6px rgba(16, 22, 26, 0.4); }

.bp3-omnibar-overlay .bp3-overlay-backdrop{
  background-color:rgba(16, 22, 26, 0.2); }

.bp3-select-popover .bp3-popover-content{
  padding:5px; }

.bp3-select-popover .bp3-input-group{
  margin-bottom:0; }

.bp3-select-popover .bp3-menu{
  max-height:300px;
  max-width:400px;
  overflow:auto;
  padding:0; }
  .bp3-select-popover .bp3-menu:not(:first-child){
    padding-top:5px; }

.bp3-multi-select{
  min-width:150px; }

.bp3-multi-select-popover .bp3-menu{
  max-height:300px;
  max-width:400px;
  overflow:auto; }

.bp3-select-popover .bp3-popover-content{
  padding:5px; }

.bp3-select-popover .bp3-input-group{
  margin-bottom:0; }

.bp3-select-popover .bp3-menu{
  max-height:300px;
  max-width:400px;
  overflow:auto;
  padding:0; }
  .bp3-select-popover .bp3-menu:not(:first-child){
    padding-top:5px; }
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/* This file was auto-generated by ensureUiComponents() in @jupyterlab/buildutils */

/**
 * (DEPRECATED) Support for consuming icons as CSS background images
 */

/* Icons urls */

:root {
  --jp-icon-add: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-bug: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTIwIDhoLTIuODFjLS40NS0uNzgtMS4wNy0xLjQ1LTEuODItMS45NkwxNyA0LjQxIDE1LjU5IDNsLTIuMTcgMi4xN0MxMi45NiA1LjA2IDEyLjQ5IDUgMTIgNWMtLjQ5IDAtLjk2LjA2LTEuNDEuMTdMOC40MSAzIDcgNC40MWwxLjYyIDEuNjNDNy44OCA2LjU1IDcuMjYgNy4yMiA2LjgxIDhINHYyaDIuMDljLS4wNS4zMy0uMDkuNjYtLjA5IDF2MUg0djJoMnYxYzAgLjM0LjA0LjY3LjA5IDFINHYyaDIuODFjMS4wNCAxLjc5IDIuOTcgMyA1LjE5IDNzNC4xNS0xLjIxIDUuMTktM0gyMHYtMmgtMi4wOWMuMDUtLjMzLjA5LS42Ni4wOS0xdi0xaDJ2LTJoLTJ2LTFjMC0uMzQtLjA0LS42Ny0uMDktMUgyMFY4em0tNiA4aC00di0yaDR2MnptMC00aC00di0yaDR2MnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-build: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTE0LjkgMTcuNDVDMTYuMjUgMTcuNDUgMTcuMzUgMTYuMzUgMTcuMzUgMTVDMTcuMzUgMTMuNjUgMTYuMjUgMTIuNTUgMTQuOSAxMi41NUMxMy41NCAxMi41NSAxMi40NSAxMy42NSAxMi40NSAxNUMxMi40NSAxNi4zNSAxMy41NCAxNy40NSAxNC45IDE3LjQ1Wk0yMC4xIDE1LjY4TDIxLjU4IDE2Ljg0QzIxLjcxIDE2Ljk1IDIxLjc1IDE3LjEzIDIxLjY2IDE3LjI5TDIwLjI2IDE5LjcxQzIwLjE3IDE5Ljg2IDIwIDE5LjkyIDE5LjgzIDE5Ljg2TDE4LjA5IDE5LjE2QzE3LjczIDE5LjQ0IDE3LjMzIDE5LjY3IDE2LjkxIDE5Ljg1TDE2LjY0IDIxLjdDMTYuNjIgMjEuODcgMTYuNDcgMjIgMTYuMyAyMkgxMy41QzEzLjMyIDIyIDEzLjE4IDIxLjg3IDEzLjE1IDIxLjdMMTIuODkgMTkuODVDMTIuNDYgMTkuNjcgMTIuMDcgMTkuNDQgMTEuNzEgMTkuMTZMOS45NjAwMiAxOS44NkM5LjgxMDAyIDE5LjkyIDkuNjIwMDIgMTkuODYgOS41NDAwMiAxOS43MUw4LjE0MDAyIDE3LjI5QzguMDUwMDIgMTcuMTMgOC4wOTAwMiAxNi45NSA4LjIyMDAyIDE2Ljg0TDkuNzAwMDIgMTUuNjhMOS42NTAwMSAxNUw5LjcwMDAyIDE0LjMxTDguMjIwMDIgMTMuMTZDOC4wOTAwMiAxMy4wNSA4LjA1MDAyIDEyLjg2IDguMTQwMDIgMTIuNzFMOS41NDAwMiAxMC4yOUM5LjYyMDAyIDEwLjEzIDkuODEwMDIgMTAuMDcgOS45NjAwMiAxMC4xM0wxMS43MSAxMC44NEMxMi4wNyAxMC41NiAxMi40NiAxMC4zMiAxMi44OSAxMC4xNUwxMy4xNSA4LjI4OTk4QzEzLjE4IDguMTI5OTggMTMuMzIgNy45OTk5OCAxMy41IDcuOTk5OThIMTYuM0MxNi40NyA3Ljk5OTk4IDE2LjYyIDguMTI5OTggMTYuNjQgOC4yODk5OEwxNi45MSAxMC4xNUMxNy4zMyAxMC4zMiAxNy43MyAxMC41NiAxOC4wOSAxMC44NEwxOS44MyAxMC4xM0MyMCAxMC4wNyAyMC4xNyAxMC4xMyAyMC4yNiAxMC4yOUwyMS42NiAxMi43MUMyMS43NSAxMi44NiAyMS43MSAxMy4wNSAyMS41OCAxMy4xNkwyMC4xIDE0LjMxTDIwLjE1IDE1TDIwLjEgMTUuNjhaIi8+CiAgICA8cGF0aCBkPSJNNy4zMjk2NiA3LjQ0NDU0QzguMDgzMSA3LjAwOTU0IDguMzM5MzIgNi4wNTMzMiA3LjkwNDMyIDUuMjk5ODhDNy40NjkzMiA0LjU0NjQzIDYuNTA4MSA0LjI4MTU2IDUuNzU0NjYgNC43MTY1NkM1LjM5MTc2IDQuOTI2MDggNS4xMjY5NSA1LjI3MTE4IDUuMDE4NDkgNS42NzU5NEM0LjkxMDA0IDYuMDgwNzEgNC45NjY4MiA2LjUxMTk4IDUuMTc2MzQgNi44NzQ4OEM1LjYxMTM0IDcuNjI4MzIgNi41NzYyMiA3Ljg3OTU0IDcuMzI5NjYgNy40NDQ1NFpNOS42NTcxOCA0Ljc5NTkzTDEwLjg2NzIgNC45NTE3OUMxMC45NjI4IDQuOTc3NDEgMTEuMDQwMiA1LjA3MTMzIDExLjAzODIgNS4xODc5M0wxMS4wMzg4IDYuOTg4OTNDMTEuMDQ1NSA3LjEwMDU0IDEwLjk2MTYgNy4xOTUxOCAxMC44NTUgNy4yMTA1NEw5LjY2MDAxIDcuMzgwODNMOS4yMzkxNSA4LjEzMTg4TDkuNjY5NjEgOS4yNTc0NUM5LjcwNzI5IDkuMzYyNzEgOS42NjkzNCA5LjQ3Njk5IDkuNTc0MDggOS41MzE5OUw4LjAxNTIzIDEwLjQzMkM3LjkxMTMxIDEwLjQ5MiA3Ljc5MzM3IDEwLjQ2NzcgNy43MjEwNSAxMC4zODI0TDYuOTg3NDggOS40MzE4OEw2LjEwOTMxIDkuNDMwODNMNS4zNDcwNCAxMC4zOTA1QzUuMjg5MDkgMTAuNDcwMiA1LjE3MzgzIDEwLjQ5MDUgNS4wNzE4NyAxMC40MzM5TDMuNTEyNDUgOS41MzI5M0MzLjQxMDQ5IDkuNDc2MzMgMy4zNzY0NyA5LjM1NzQxIDMuNDEwNzUgOS4yNTY3OUwzLjg2MzQ3IDguMTQwOTNMMy42MTc0OSA3Ljc3NDg4TDMuNDIzNDcgNy4zNzg4M0wyLjIzMDc1IDcuMjEyOTdDMi4xMjY0NyA3LjE5MjM1IDIuMDQwNDkgNy4xMDM0MiAyLjA0MjQ1IDYuOTg2ODJMMi4wNDE4NyA1LjE4NTgyQzIuMDQzODMgNS4wNjkyMiAyLjExOTA5IDQuOTc5NTggMi4yMTcwNCA0Ljk2OTIyTDMuNDIwNjUgNC43OTM5M0wzLjg2NzQ5IDQuMDI3ODhMMy40MTEwNSAyLjkxNzMxQzMuMzczMzcgMi44MTIwNCAzLjQxMTMxIDIuNjk3NzYgMy41MTUyMyAyLjYzNzc2TDUuMDc0MDggMS43Mzc3NkM1LjE2OTM0IDEuNjgyNzYgNS4yODcyOSAxLjcwNzA0IDUuMzU5NjEgMS43OTIzMUw2LjExOTE1IDIuNzI3ODhMNi45ODAwMSAyLjczODkzTDcuNzI0OTYgMS43ODkyMkM3Ljc5MTU2IDEuNzA0NTggNy45MTU0OCAxLjY3OTIyIDguMDA4NzkgMS43NDA4Mkw5LjU2ODIxIDIuNjQxODJDOS42NzAxNyAyLjY5ODQyIDkuNzEyODUgMi44MTIzNCA5LjY4NzIzIDIuOTA3OTdMOS4yMTcxOCA0LjAzMzgzTDkuNDYzMTYgNC4zOTk4OEw5LjY1NzE4IDQuNzk1OTNaIi8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-caret-down-empty-thin: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgoJCTxwb2x5Z29uIGNsYXNzPSJzdDEiIHBvaW50cz0iOS45LDEzLjYgMy42LDcuNCA0LjQsNi42IDkuOSwxMi4yIDE1LjQsNi43IDE2LjEsNy40ICIvPgoJPC9nPgo8L3N2Zz4K);
  --jp-icon-caret-down-empty: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KICAgIDxwYXRoIGQ9Ik01LjIsNS45TDksOS43bDMuOC0zLjhsMS4yLDEuMmwtNC45LDVsLTQuOS01TDUuMiw1Ljl6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-caret-down: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KICAgIDxwYXRoIGQ9Ik01LjIsNy41TDksMTEuMmwzLjgtMy44SDUuMnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-caret-left: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgoJCTxwYXRoIGQ9Ik0xMC44LDEyLjhMNy4xLDlsMy44LTMuOGwwLDcuNkgxMC44eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-caret-right: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KICAgIDxwYXRoIGQ9Ik03LjIsNS4yTDEwLjksOWwtMy44LDMuOFY1LjJINy4yeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-caret-up-empty-thin: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgoJCTxwb2x5Z29uIGNsYXNzPSJzdDEiIHBvaW50cz0iMTUuNCwxMy4zIDkuOSw3LjcgNC40LDEzLjIgMy42LDEyLjUgOS45LDYuMyAxNi4xLDEyLjYgIi8+Cgk8L2c+Cjwvc3ZnPgo=);
  --jp-icon-caret-up: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgoJCTxwYXRoIGQ9Ik01LjIsMTAuNUw5LDYuOGwzLjgsMy44SDUuMnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-case-sensitive: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIwIDIwIj4KICA8ZyBjbGFzcz0ianAtaWNvbjIiIGZpbGw9IiM0MTQxNDEiPgogICAgPHJlY3QgeD0iMiIgeT0iMiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CiAgPC9nPgogIDxnIGNsYXNzPSJqcC1pY29uLWFjY2VudDIiIGZpbGw9IiNGRkYiPgogICAgPHBhdGggZD0iTTcuNiw4aDAuOWwzLjUsOGgtMS4xTDEwLDE0SDZsLTAuOSwySDRMNy42LDh6IE04LDkuMUw2LjQsMTNoMy4yTDgsOS4xeiIvPgogICAgPHBhdGggZD0iTTE2LjYsOS44Yy0wLjIsMC4xLTAuNCwwLjEtMC43LDAuMWMtMC4yLDAtMC40LTAuMS0wLjYtMC4yYy0wLjEtMC4xLTAuMi0wLjQtMC4yLTAuNyBjLTAuMywwLjMtMC42LDAuNS0wLjksMC43Yy0wLjMsMC4xLTAuNywwLjItMS4xLDAuMmMtMC4zLDAtMC41LDAtMC43LTAuMWMtMC4yLTAuMS0wLjQtMC4yLTAuNi0wLjNjLTAuMi0wLjEtMC4zLTAuMy0wLjQtMC41IGMtMC4xLTAuMi0wLjEtMC40LTAuMS0wLjdjMC0wLjMsMC4xLTAuNiwwLjItMC44YzAuMS0wLjIsMC4zLTAuNCwwLjQtMC41QzEyLDcsMTIuMiw2LjksMTIuNSw2LjhjMC4yLTAuMSwwLjUtMC4xLDAuNy0wLjIgYzAuMy0wLjEsMC41LTAuMSwwLjctMC4xYzAuMiwwLDAuNC0wLjEsMC42LTAuMWMwLjIsMCwwLjMtMC4xLDAuNC0wLjJjMC4xLTAuMSwwLjItMC4yLDAuMi0wLjRjMC0xLTEuMS0xLTEuMy0xIGMtMC40LDAtMS40LDAtMS40LDEuMmgtMC45YzAtMC40LDAuMS0wLjcsMC4yLTFjMC4xLTAuMiwwLjMtMC40LDAuNS0wLjZjMC4yLTAuMiwwLjUtMC4zLDAuOC0wLjNDMTMuMyw0LDEzLjYsNCwxMy45LDQgYzAuMywwLDAuNSwwLDAuOCwwLjFjMC4zLDAsMC41LDAuMSwwLjcsMC4yYzAuMiwwLjEsMC40LDAuMywwLjUsMC41QzE2LDUsMTYsNS4yLDE2LDUuNnYyLjljMCwwLjIsMCwwLjQsMCwwLjUgYzAsMC4xLDAuMSwwLjIsMC4zLDAuMmMwLjEsMCwwLjIsMCwwLjMsMFY5Ljh6IE0xNS4yLDYuOWMtMS4yLDAuNi0zLjEsMC4yLTMuMSwxLjRjMCwxLjQsMy4xLDEsMy4xLTAuNVY2Ljl6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-check: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTkgMTYuMTdMNC44MyAxMmwtMS40MiAxLjQxTDkgMTkgMjEgN2wtMS40MS0xLjQxeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-circle-empty: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-circle: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTggMTgiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-clear: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8bWFzayBpZD0iZG9udXRIb2xlIj4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiIC8+CiAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI4IiBmaWxsPSJibGFjayIvPgogIDwvbWFzaz4KCiAgPGcgY2xhc3M9ImpwLWljb24zIiBmaWxsPSIjNjE2MTYxIj4KICAgIDxyZWN0IGhlaWdodD0iMTgiIHdpZHRoPSIyIiB4PSIxMSIgeT0iMyIgdHJhbnNmb3JtPSJyb3RhdGUoMzE1LCAxMiwgMTIpIi8+CiAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgbWFzaz0idXJsKCNkb251dEhvbGUpIi8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-close: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbi1ub25lIGpwLWljb24tc2VsZWN0YWJsZS1pbnZlcnNlIGpwLWljb24zLWhvdmVyIiBmaWxsPSJub25lIj4KICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjExIi8+CiAgPC9nPgoKICA8ZyBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIGpwLWljb24tYWNjZW50Mi1ob3ZlciIgZmlsbD0iIzYxNjE2MSI+CiAgICA8cGF0aCBkPSJNMTkgNi40MUwxNy41OSA1IDEyIDEwLjU5IDYuNDEgNSA1IDYuNDEgMTAuNTkgMTIgNSAxNy41OSA2LjQxIDE5IDEyIDEzLjQxIDE3LjU5IDE5IDE5IDE3LjU5IDEzLjQxIDEyeiIvPgogIDwvZz4KCiAgPGcgY2xhc3M9ImpwLWljb24tbm9uZSBqcC1pY29uLWJ1c3kiIGZpbGw9Im5vbmUiPgogICAgPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iNyIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-code: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyOCAyOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CgkJPHBhdGggZD0iTTExLjQgMTguNkw2LjggMTRMMTEuNCA5LjRMMTAgOEw0IDE0TDEwIDIwTDExLjQgMTguNlpNMTYuNiAxOC42TDIxLjIgMTRMMTYuNiA5LjRMMTggOEwyNCAxNEwxOCAyMEwxNi42IDE4LjZWMTguNloiLz4KCTwvZz4KPC9zdmc+Cg==);
  --jp-icon-console: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIwMCAyMDAiPgogIDxnIGNsYXNzPSJqcC1pY29uLWJyYW5kMSBqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiMwMjg4RDEiPgogICAgPHBhdGggZD0iTTIwIDE5LjhoMTYwdjE1OS45SDIweiIvPgogIDwvZz4KICA8ZyBjbGFzcz0ianAtaWNvbi1zZWxlY3RhYmxlLWludmVyc2UiIGZpbGw9IiNmZmYiPgogICAgPHBhdGggZD0iTTEwNSAxMjcuM2g0MHYxMi44aC00MHpNNTEuMSA3N0w3NCA5OS45bC0yMy4zIDIzLjMgMTAuNSAxMC41IDIzLjMtMjMuM0w5NSA5OS45IDg0LjUgODkuNCA2MS42IDY2LjV6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-copy: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTggMTgiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTExLjksMUgzLjJDMi40LDEsMS43LDEuNywxLjcsMi41djEwLjJoMS41VjIuNWg4LjdWMXogTTE0LjEsMy45aC04Yy0wLjgsMC0xLjUsMC43LTEuNSwxLjV2MTAuMmMwLDAuOCwwLjcsMS41LDEuNSwxLjVoOCBjMC44LDAsMS41LTAuNywxLjUtMS41VjUuNEMxNS41LDQuNiwxNC45LDMuOSwxNC4xLDMuOXogTTE0LjEsMTUuNWgtOFY1LjRoOFYxNS41eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-cut: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTkuNjQgNy42NGMuMjMtLjUuMzYtMS4wNS4zNi0xLjY0IDAtMi4yMS0xLjc5LTQtNC00UzIgMy43OSAyIDZzMS43OSA0IDQgNGMuNTkgMCAxLjE0LS4xMyAxLjY0LS4zNkwxMCAxMmwtMi4zNiAyLjM2QzcuMTQgMTQuMTMgNi41OSAxNCA2IDE0Yy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTRjMC0uNTktLjEzLTEuMTQtLjM2LTEuNjRMMTIgMTRsNyA3aDN2LTFMOS42NCA3LjY0ek02IDhjLTEuMSAwLTItLjg5LTItMnMuOS0yIDItMiAyIC44OSAyIDItLjkgMi0yIDJ6bTAgMTJjLTEuMSAwLTItLjg5LTItMnMuOS0yIDItMiAyIC44OSAyIDItLjkgMi0yIDJ6bTYtNy41Yy0uMjggMC0uNS0uMjItLjUtLjVzLjIyLS41LjUtLjUuNS4yMi41LjUtLjIyLjUtLjUuNXpNMTkgM2wtNiA2IDIgMiA3LTdWM3oiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-download: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTE5IDloLTRWM0g5djZINWw3IDcgNy03ek01IDE4djJoMTR2LTJINXoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-edit: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTMgMTcuMjVWMjFoMy43NUwxNy44MSA5Ljk0bC0zLjc1LTMuNzVMMyAxNy4yNXpNMjAuNzEgNy4wNGMuMzktLjM5LjM5LTEuMDIgMC0xLjQxbC0yLjM0LTIuMzRjLS4zOS0uMzktMS4wMi0uMzktMS40MSAwbC0xLjgzIDEuODMgMy43NSAzLjc1IDEuODMtMS44M3oiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-ellipses: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPGNpcmNsZSBjeD0iNSIgY3k9IjEyIiByPSIyIi8+CiAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIyIi8+CiAgICA8Y2lyY2xlIGN4PSIxOSIgY3k9IjEyIiByPSIyIi8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-extension: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTIwLjUgMTFIMTlWN2MwLTEuMS0uOS0yLTItMmgtNFYzLjVDMTMgMi4xMiAxMS44OCAxIDEwLjUgMVM4IDIuMTIgOCAzLjVWNUg0Yy0xLjEgMC0xLjk5LjktMS45OSAydjMuOEgzLjVjMS40OSAwIDIuNyAxLjIxIDIuNyAyLjdzLTEuMjEgMi43LTIuNyAyLjdIMlYyMGMwIDEuMS45IDIgMiAyaDMuOHYtMS41YzAtMS40OSAxLjIxLTIuNyAyLjctMi43IDEuNDkgMCAyLjcgMS4yMSAyLjcgMi43VjIySDE3YzEuMSAwIDItLjkgMi0ydi00aDEuNWMxLjM4IDAgMi41LTEuMTIgMi41LTIuNVMyMS44OCAxMSAyMC41IDExeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-fast-forward: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTQgMThsOC41LTZMNCA2djEyem05LTEydjEybDguNS02TDEzIDZ6Ii8+CiAgICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-file-upload: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTkgMTZoNnYtNmg0bC03LTctNyA3aDR6bS00IDJoMTR2Mkg1eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-file: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMTkuMyA4LjJsLTUuNS01LjVjLS4zLS4zLS43LS41LTEuMi0uNUgzLjljLS44LjEtMS42LjktMS42IDEuOHYxNC4xYzAgLjkuNyAxLjYgMS42IDEuNmgxNC4yYy45IDAgMS42LS43IDEuNi0xLjZWOS40Yy4xLS41LS4xLS45LS40LTEuMnptLTUuOC0zLjNsMy40IDMuNmgtMy40VjQuOXptMy45IDEyLjdINC43Yy0uMSAwLS4yIDAtLjItLjJWNC43YzAtLjIuMS0uMy4yLS4zaDcuMnY0LjRzMCAuOC4zIDEuMWMuMy4zIDEuMS4zIDEuMS4zaDQuM3Y3LjJzLS4xLjItLjIuMnoiLz4KPC9zdmc+Cg==);
  --jp-icon-filter-list: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEwIDE4aDR2LTJoLTR2MnpNMyA2djJoMThWNkgzem0zIDdoMTJ2LTJINnYyeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-folder: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMTAgNEg0Yy0xLjEgMC0xLjk5LjktMS45OSAyTDIgMThjMCAxLjEuOSAyIDIgMmgxNmMxLjEgMCAyLS45IDItMlY4YzAtMS4xLS45LTItMi0yaC04bC0yLTJ6Ii8+Cjwvc3ZnPgo=);
  --jp-icon-html5: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDUxMiA1MTIiPgogIDxwYXRoIGNsYXNzPSJqcC1pY29uMCBqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiMwMDAiIGQ9Ik0xMDguNCAwaDIzdjIyLjhoMjEuMlYwaDIzdjY5aC0yM1Y0NmgtMjF2MjNoLTIzLjJNMjA2IDIzaC0yMC4zVjBoNjMuN3YyM0gyMjl2NDZoLTIzbTUzLjUtNjloMjQuMWwxNC44IDI0LjNMMzEzLjIgMGgyNC4xdjY5aC0yM1YzNC44bC0xNi4xIDI0LjgtMTYuMS0yNC44VjY5aC0yMi42bTg5LjItNjloMjN2NDYuMmgzMi42VjY5aC01NS42Ii8+CiAgPHBhdGggY2xhc3M9ImpwLWljb24tc2VsZWN0YWJsZSIgZmlsbD0iI2U0NGQyNiIgZD0iTTEwNy42IDQ3MWwtMzMtMzcwLjRoMzYyLjhsLTMzIDM3MC4yTDI1NS43IDUxMiIvPgogIDxwYXRoIGNsYXNzPSJqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiNmMTY1MjkiIGQ9Ik0yNTYgNDgwLjVWMTMxaDE0OC4zTDM3NiA0NDciLz4KICA8cGF0aCBjbGFzcz0ianAtaWNvbi1zZWxlY3RhYmxlLWludmVyc2UiIGZpbGw9IiNlYmViZWIiIGQ9Ik0xNDIgMTc2LjNoMTE0djQ1LjRoLTY0LjJsNC4yIDQ2LjVoNjB2NDUuM0gxNTQuNG0yIDIyLjhIMjAybDMuMiAzNi4zIDUwLjggMTMuNnY0Ny40bC05My4yLTI2Ii8+CiAgPHBhdGggY2xhc3M9ImpwLWljb24tc2VsZWN0YWJsZS1pbnZlcnNlIiBmaWxsPSIjZmZmIiBkPSJNMzY5LjYgMTc2LjNIMjU1Ljh2NDUuNGgxMDkuNm0tNC4xIDQ2LjVIMjU1Ljh2NDUuNGg1NmwtNS4zIDU5LTUwLjcgMTMuNnY0Ny4ybDkzLTI1LjgiLz4KPC9zdmc+Cg==);
  --jp-icon-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8cGF0aCBjbGFzcz0ianAtaWNvbi1icmFuZDQganAtaWNvbi1zZWxlY3RhYmxlLWludmVyc2UiIGZpbGw9IiNGRkYiIGQ9Ik0yLjIgMi4yaDE3LjV2MTcuNUgyLjJ6Ii8+CiAgPHBhdGggY2xhc3M9ImpwLWljb24tYnJhbmQwIGpwLWljb24tc2VsZWN0YWJsZSIgZmlsbD0iIzNGNTFCNSIgZD0iTTIuMiAyLjJ2MTcuNWgxNy41bC4xLTE3LjVIMi4yem0xMi4xIDIuMmMxLjIgMCAyLjIgMSAyLjIgMi4ycy0xIDIuMi0yLjIgMi4yLTIuMi0xLTIuMi0yLjIgMS0yLjIgMi4yLTIuMnpNNC40IDE3LjZsMy4zLTguOCAzLjMgNi42IDIuMi0zLjIgNC40IDUuNEg0LjR6Ii8+Cjwvc3ZnPgo=);
  --jp-icon-inspector: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMjAgNEg0Yy0xLjEgMC0xLjk5LjktMS45OSAyTDIgMThjMCAxLjEuOSAyIDIgMmgxNmMxLjEgMCAyLS45IDItMlY2YzAtMS4xLS45LTItMi0yem0tNSAxNEg0di00aDExdjR6bTAtNUg0VjloMTF2NHptNSA1aC00VjloNHY5eiIvPgo8L3N2Zz4K);
  --jp-icon-json: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8ZyBjbGFzcz0ianAtaWNvbi13YXJuMSBqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiNGOUE4MjUiPgogICAgPHBhdGggZD0iTTIwLjIgMTEuOGMtMS42IDAtMS43LjUtMS43IDEgMCAuNC4xLjkuMSAxLjMuMS41LjEuOS4xIDEuMyAwIDEuNy0xLjQgMi4zLTMuNSAyLjNoLS45di0xLjloLjVjMS4xIDAgMS40IDAgMS40LS44IDAtLjMgMC0uNi0uMS0xIDAtLjQtLjEtLjgtLjEtMS4yIDAtMS4zIDAtMS44IDEuMy0yLTEuMy0uMi0xLjMtLjctMS4zLTIgMC0uNC4xLS44LjEtMS4yLjEtLjQuMS0uNy4xLTEgMC0uOC0uNC0uNy0xLjQtLjhoLS41VjQuMWguOWMyLjIgMCAzLjUuNyAzLjUgMi4zIDAgLjQtLjEuOS0uMSAxLjMtLjEuNS0uMS45LS4xIDEuMyAwIC41LjIgMSAxLjcgMXYxLjh6TTEuOCAxMC4xYzEuNiAwIDEuNy0uNSAxLjctMSAwLS40LS4xLS45LS4xLTEuMy0uMS0uNS0uMS0uOS0uMS0xLjMgMC0xLjYgMS40LTIuMyAzLjUtMi4zaC45djEuOWgtLjVjLTEgMC0xLjQgMC0xLjQuOCAwIC4zIDAgLjYuMSAxIDAgLjIuMS42LjEgMSAwIDEuMyAwIDEuOC0xLjMgMkM2IDExLjIgNiAxMS43IDYgMTNjMCAuNC0uMS44LS4xIDEuMi0uMS4zLS4xLjctLjEgMSAwIC44LjMuOCAxLjQuOGguNXYxLjloLS45Yy0yLjEgMC0zLjUtLjYtMy41LTIuMyAwLS40LjEtLjkuMS0xLjMuMS0uNS4xLS45LjEtMS4zIDAtLjUtLjItMS0xLjctMXYtMS45eiIvPgogICAgPGNpcmNsZSBjeD0iMTEiIGN5PSIxMy44IiByPSIyLjEiLz4KICAgIDxjaXJjbGUgY3g9IjExIiBjeT0iOC4yIiByPSIyLjEiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-jupyter-favicon: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUyIiBoZWlnaHQ9IjE2NSIgdmlld0JveD0iMCAwIDE1MiAxNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbi13YXJuMCIgZmlsbD0iI0YzNzcyNiI+CiAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjA3ODk0NywgMTEwLjU4MjkyNykiIGQ9Ik03NS45NDIyODQyLDI5LjU4MDQ1NjEgQzQzLjMwMjM5NDcsMjkuNTgwNDU2MSAxNC43OTY3ODMyLDE3LjY1MzQ2MzQgMCwwIEM1LjUxMDgzMjExLDE1Ljg0MDY4MjkgMTUuNzgxNTM4OSwyOS41NjY3NzMyIDI5LjM5MDQ5NDcsMzkuMjc4NDE3MSBDNDIuOTk5Nyw0OC45ODk4NTM3IDU5LjI3MzcsNTQuMjA2NzgwNSA3NS45NjA1Nzg5LDU0LjIwNjc4MDUgQzkyLjY0NzQ1NzksNTQuMjA2NzgwNSAxMDguOTIxNDU4LDQ4Ljk4OTg1MzcgMTIyLjUzMDY2MywzOS4yNzg0MTcxIEMxMzYuMTM5NDUzLDI5LjU2Njc3MzIgMTQ2LjQxMDI4NCwxNS44NDA2ODI5IDE1MS45MjExNTgsMCBDMTM3LjA4Nzg2OCwxNy42NTM0NjM0IDEwOC41ODI1ODksMjkuNTgwNDU2MSA3NS45NDIyODQyLDI5LjU4MDQ1NjEgTDc1Ljk0MjI4NDIsMjkuNTgwNDU2MSBaIiAvPgogICAgPHBhdGggdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMzczNjgsIDAuNzA0ODc4KSIgZD0iTTc1Ljk3ODQ1NzksMjQuNjI2NDA3MyBDMTA4LjYxODc2MywyNC42MjY0MDczIDEzNy4xMjQ0NTgsMzYuNTUzNDQxNSAxNTEuOTIxMTU4LDU0LjIwNjc4MDUgQzE0Ni40MTAyODQsMzguMzY2MjIyIDEzNi4xMzk0NTMsMjQuNjQwMTMxNyAxMjIuNTMwNjYzLDE0LjkyODQ4NzggQzEwOC45MjE0NTgsNS4yMTY4NDM5IDkyLjY0NzQ1NzksMCA3NS45NjA1Nzg5LDAgQzU5LjI3MzcsMCA0Mi45OTk3LDUuMjE2ODQzOSAyOS4zOTA0OTQ3LDE0LjkyODQ4NzggQzE1Ljc4MTUzODksMjQuNjQwMTMxNyA1LjUxMDgzMjExLDM4LjM2NjIyMiAwLDU0LjIwNjc4MDUgQzE0LjgzMzA4MTYsMzYuNTg5OTI5MyA0My4zMzg1Njg0LDI0LjYyNjQwNzMgNzUuOTc4NDU3OSwyNC42MjY0MDczIEw3NS45Nzg0NTc5LDI0LjYyNjQwNzMgWiIgLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-jupyter: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iNTEiIHZpZXdCb3g9IjAgMCAzOSA1MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTYzOCAtMjI4MSkiPgogICAgPGcgY2xhc3M9ImpwLWljb24td2FybjAiIGZpbGw9IiNGMzc3MjYiPgogICAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjM5Ljc0IDIzMTEuOTgpIiBkPSJNIDE4LjI2NDYgNy4xMzQxMUMgMTAuNDE0NSA3LjEzNDExIDMuNTU4NzIgNC4yNTc2IDAgMEMgMS4zMjUzOSAzLjgyMDQgMy43OTU1NiA3LjEzMDgxIDcuMDY4NiA5LjQ3MzAzQyAxMC4zNDE3IDExLjgxNTIgMTQuMjU1NyAxMy4wNzM0IDE4LjI2OSAxMy4wNzM0QyAyMi4yODIzIDEzLjA3MzQgMjYuMTk2MyAxMS44MTUyIDI5LjQ2OTQgOS40NzMwM0MgMzIuNzQyNCA3LjEzMDgxIDM1LjIxMjYgMy44MjA0IDM2LjUzOCAwQyAzMi45NzA1IDQuMjU3NiAyNi4xMTQ4IDcuMTM0MTEgMTguMjY0NiA3LjEzNDExWiIvPgogICAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjM5LjczIDIyODUuNDgpIiBkPSJNIDE4LjI3MzMgNS45MzkzMUMgMjYuMTIzNSA1LjkzOTMxIDMyLjk3OTMgOC44MTU4MyAzNi41MzggMTMuMDczNEMgMzUuMjEyNiA5LjI1MzAzIDMyLjc0MjQgNS45NDI2MiAyOS40Njk0IDMuNjAwNEMgMjYuMTk2MyAxLjI1ODE4IDIyLjI4MjMgMCAxOC4yNjkgMEMgMTQuMjU1NyAwIDEwLjM0MTcgMS4yNTgxOCA3LjA2ODYgMy42MDA0QyAzLjc5NTU2IDUuOTQyNjIgMS4zMjUzOSA5LjI1MzAzIDAgMTMuMDczNEMgMy41Njc0NSA4LjgyNDYzIDEwLjQyMzIgNS45MzkzMSAxOC4yNzMzIDUuOTM5MzFaIi8+CiAgICA8L2c+CiAgICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjY5LjMgMjI4MS4zMSkiIGQ9Ik0gNS44OTM1MyAyLjg0NEMgNS45MTg4OSAzLjQzMTY1IDUuNzcwODUgNC4wMTM2NyA1LjQ2ODE1IDQuNTE2NDVDIDUuMTY1NDUgNS4wMTkyMiA0LjcyMTY4IDUuNDIwMTUgNC4xOTI5OSA1LjY2ODUxQyAzLjY2NDMgNS45MTY4OCAzLjA3NDQ0IDYuMDAxNTEgMi40OTgwNSA1LjkxMTcxQyAxLjkyMTY2IDUuODIxOSAxLjM4NDYzIDUuNTYxNyAwLjk1NDg5OCA1LjE2NDAxQyAwLjUyNTE3IDQuNzY2MzMgMC4yMjIwNTYgNC4yNDkwMyAwLjA4MzkwMzcgMy42Nzc1N0MgLTAuMDU0MjQ4MyAzLjEwNjExIC0wLjAyMTIzIDIuNTA2MTcgMC4xNzg3ODEgMS45NTM2NEMgMC4zNzg3OTMgMS40MDExIDAuNzM2ODA5IDAuOTIwODE3IDEuMjA3NTQgMC41NzM1MzhDIDEuNjc4MjYgMC4yMjYyNTkgMi4yNDA1NSAwLjAyNzU5MTkgMi44MjMyNiAwLjAwMjY3MjI5QyAzLjYwMzg5IC0wLjAzMDcxMTUgNC4zNjU3MyAwLjI0OTc4OSA0Ljk0MTQyIDAuNzgyNTUxQyA1LjUxNzExIDEuMzE1MzEgNS44NTk1NiAyLjA1Njc2IDUuODkzNTMgMi44NDRaIi8+CiAgICAgIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MzkuOCAyMzIzLjgxKSIgZD0iTSA3LjQyNzg5IDMuNTgzMzhDIDcuNDYwMDggNC4zMjQzIDcuMjczNTUgNS4wNTgxOSA2Ljg5MTkzIDUuNjkyMTNDIDYuNTEwMzEgNi4zMjYwNyA1Ljk1MDc1IDYuODMxNTYgNS4yODQxMSA3LjE0NDZDIDQuNjE3NDcgNy40NTc2MyAzLjg3MzcxIDcuNTY0MTQgMy4xNDcwMiA3LjQ1MDYzQyAyLjQyMDMyIDcuMzM3MTIgMS43NDMzNiA3LjAwODcgMS4yMDE4NCA2LjUwNjk1QyAwLjY2MDMyOCA2LjAwNTIgMC4yNzg2MSA1LjM1MjY4IDAuMTA1MDE3IDQuNjMyMDJDIC0wLjA2ODU3NTcgMy45MTEzNSAtMC4wMjYyMzYxIDMuMTU0OTQgMC4yMjY2NzUgMi40NTg1NkMgMC40Nzk1ODcgMS43NjIxNyAwLjkzMTY5NyAxLjE1NzEzIDEuNTI1NzYgMC43MjAwMzNDIDIuMTE5ODMgMC4yODI5MzUgMi44MjkxNCAwLjAzMzQzOTUgMy41NjM4OSAwLjAwMzEzMzQ0QyA0LjU0NjY3IC0wLjAzNzQwMzMgNS41MDUyOSAwLjMxNjcwNiA2LjIyOTYxIDAuOTg3ODM1QyA2Ljk1MzkzIDEuNjU4OTYgNy4zODQ4NCAyLjU5MjM1IDcuNDI3ODkgMy41ODMzOEwgNy40Mjc4OSAzLjU4MzM4WiIvPgogICAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjM4LjM2IDIyODYuMDYpIiBkPSJNIDIuMjc0NzEgNC4zOTYyOUMgMS44NDM2MyA0LjQxNTA4IDEuNDE2NzEgNC4zMDQ0NSAxLjA0Nzk5IDQuMDc4NDNDIDAuNjc5MjY4IDMuODUyNCAwLjM4NTMyOCAzLjUyMTE0IDAuMjAzMzcxIDMuMTI2NTZDIDAuMDIxNDEzNiAyLjczMTk4IC0wLjA0MDM3OTggMi4yOTE4MyAwLjAyNTgxMTYgMS44NjE4MUMgMC4wOTIwMDMxIDEuNDMxOCAwLjI4MzIwNCAxLjAzMTI2IDAuNTc1MjEzIDAuNzEwODgzQyAwLjg2NzIyMiAwLjM5MDUxIDEuMjQ2OTEgMC4xNjQ3MDggMS42NjYyMiAwLjA2MjA1OTJDIDIuMDg1NTMgLTAuMDQwNTg5NyAyLjUyNTYxIC0wLjAxNTQ3MTQgMi45MzA3NiAwLjEzNDIzNUMgMy4zMzU5MSAwLjI4Mzk0MSAzLjY4NzkyIDAuNTUxNTA1IDMuOTQyMjIgMC45MDMwNkMgNC4xOTY1MiAxLjI1NDYyIDQuMzQxNjkgMS42NzQzNiA0LjM1OTM1IDIuMTA5MTZDIDQuMzgyOTkgMi42OTEwNyA0LjE3Njc4IDMuMjU4NjkgMy43ODU5NyAzLjY4NzQ2QyAzLjM5NTE2IDQuMTE2MjQgMi44NTE2NiA0LjM3MTE2IDIuMjc0NzEgNC4zOTYyOUwgMi4yNzQ3MSA0LjM5NjI5WiIvPgogICAgPC9nPgogIDwvZz4+Cjwvc3ZnPgo=);
  --jp-icon-jupyterlab-wordmark: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIHZpZXdCb3g9IjAgMCAxODYwLjggNDc1Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjIiIGZpbGw9IiM0RTRFNEUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4MC4xMzY0MDEsIDY0LjI3MTQ5MykiPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDU4Ljg3NTU2NikiPgogICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjA4NzYwMywgMC4xNDAyOTQpIj4KICAgICAgICA8cGF0aCBkPSJNLTQyNi45LDE2OS44YzAsNDguNy0zLjcsNjQuNy0xMy42LDc2LjRjLTEwLjgsMTAtMjUsMTUuNS0zOS43LDE1LjVsMy43LDI5IGMyMi44LDAuMyw0NC44LTcuOSw2MS45LTIzLjFjMTcuOC0xOC41LDI0LTQ0LjEsMjQtODMuM1YwSC00Mjd2MTcwLjFMLTQyNi45LDE2OS44TC00MjYuOSwxNjkuOHoiLz4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTU1LjA0NTI5NiwgNTYuODM3MTA0KSI+CiAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuNTYyNDUzLCAxLjc5OTg0MikiPgogICAgICAgIDxwYXRoIGQ9Ik0tMzEyLDE0OGMwLDIxLDAsMzkuNSwxLjcsNTUuNGgtMzEuOGwtMi4xLTMzLjNoLTAuOGMtNi43LDExLjYtMTYuNCwyMS4zLTI4LDI3LjkgYy0xMS42LDYuNi0yNC44LDEwLTM4LjIsOS44Yy0zMS40LDAtNjktMTcuNy02OS04OVYwaDM2LjR2MTEyLjdjMCwzOC43LDExLjYsNjQuNyw0NC42LDY0LjdjMTAuMy0wLjIsMjAuNC0zLjUsMjguOS05LjQgYzguNS01LjksMTUuMS0xNC4zLDE4LjktMjMuOWMyLjItNi4xLDMuMy0xMi41LDMuMy0xOC45VjAuMmgzNi40VjE0OEgtMzEyTC0zMTIsMTQ4eiIvPgogICAgICA8L2c+CiAgICA8L2c+CiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzOTAuMDEzMzIyLCA1My40Nzk2MzgpIj4KICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS43MDY0NTgsIDAuMjMxNDI1KSI+CiAgICAgICAgPHBhdGggZD0iTS00NzguNiw3MS40YzAtMjYtMC44LTQ3LTEuNy02Ni43aDMyLjdsMS43LDM0LjhoMC44YzcuMS0xMi41LDE3LjUtMjIuOCwzMC4xLTI5LjcgYzEyLjUtNywyNi43LTEwLjMsNDEtOS44YzQ4LjMsMCw4NC43LDQxLjcsODQuNywxMDMuM2MwLDczLjEtNDMuNywxMDkuMi05MSwxMDkuMmMtMTIuMSwwLjUtMjQuMi0yLjItMzUtNy44IGMtMTAuOC01LjYtMTkuOS0xMy45LTI2LjYtMjQuMmgtMC44VjI5MWgtMzZ2LTIyMEwtNDc4LjYsNzEuNEwtNDc4LjYsNzEuNHogTS00NDIuNiwxMjUuNmMwLjEsNS4xLDAuNiwxMC4xLDEuNywxNS4xIGMzLDEyLjMsOS45LDIzLjMsMTkuOCwzMS4xYzkuOSw3LjgsMjIuMSwxMi4xLDM0LjcsMTIuMWMzOC41LDAsNjAuNy0zMS45LDYwLjctNzguNWMwLTQwLjctMjEuMS03NS42LTU5LjUtNzUuNiBjLTEyLjksMC40LTI1LjMsNS4xLTM1LjMsMTMuNGMtOS45LDguMy0xNi45LDE5LjctMTkuNiwzMi40Yy0xLjUsNC45LTIuMywxMC0yLjUsMTUuMVYxMjUuNkwtNDQyLjYsMTI1LjZMLTQ0Mi42LDEyNS42eiIvPgogICAgICA8L2c+CiAgICA8L2c+CiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2MDYuNzQwNzI2LCA1Ni44MzcxMDQpIj4KICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC43NTEyMjYsIDEuOTg5Mjk5KSI+CiAgICAgICAgPHBhdGggZD0iTS00NDAuOCwwbDQzLjcsMTIwLjFjNC41LDEzLjQsOS41LDI5LjQsMTIuOCw0MS43aDAuOGMzLjctMTIuMiw3LjktMjcuNywxMi44LTQyLjQgbDM5LjctMTE5LjJoMzguNUwtMzQ2LjksMTQ1Yy0yNiw2OS43LTQzLjcsMTA1LjQtNjguNiwxMjcuMmMtMTIuNSwxMS43LTI3LjksMjAtNDQuNiwyMy45bC05LjEtMzEuMSBjMTEuNy0zLjksMjIuNS0xMC4xLDMxLjgtMTguMWMxMy4yLTExLjEsMjMuNy0yNS4yLDMwLjYtNDEuMmMxLjUtMi44LDIuNS01LjcsMi45LTguOGMtMC4zLTMuMy0xLjItNi42LTIuNS05LjdMLTQ4MC4yLDAuMSBoMzkuN0wtNDQwLjgsMEwtNDQwLjgsMHoiLz4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoODIyLjc0ODEwNCwgMC4wMDAwMDApIj4KICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS40NjQwNTAsIDAuMzc4OTE0KSI+CiAgICAgICAgPHBhdGggZD0iTS00MTMuNywwdjU4LjNoNTJ2MjguMmgtNTJWMTk2YzAsMjUsNywzOS41LDI3LjMsMzkuNWM3LjEsMC4xLDE0LjItMC43LDIxLjEtMi41IGwxLjcsMjcuN2MtMTAuMywzLjctMjEuMyw1LjQtMzIuMiw1Yy03LjMsMC40LTE0LjYtMC43LTIxLjMtMy40Yy02LjgtMi43LTEyLjktNi44LTE3LjktMTIuMWMtMTAuMy0xMC45LTE0LjEtMjktMTQuMS01Mi45IFY4Ni41aC0zMVY1OC4zaDMxVjkuNkwtNDEzLjcsMEwtNDEzLjcsMHoiLz4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTc0LjQzMzI4NiwgNTMuNDc5NjM4KSI+CiAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuOTkwMDM0LCAwLjYxMDMzOSkiPgogICAgICAgIDxwYXRoIGQ9Ik0tNDQ1LjgsMTEzYzAuOCw1MCwzMi4yLDcwLjYsNjguNiw3MC42YzE5LDAuNiwzNy45LTMsNTUuMy0xMC41bDYuMiwyNi40IGMtMjAuOSw4LjktNDMuNSwxMy4xLTY2LjIsMTIuNmMtNjEuNSwwLTk4LjMtNDEuMi05OC4zLTEwMi41Qy00ODAuMiw0OC4yLTQ0NC43LDAtMzg2LjUsMGM2NS4yLDAsODIuNyw1OC4zLDgyLjcsOTUuNyBjLTAuMSw1LjgtMC41LDExLjUtMS4yLDE3LjJoLTE0MC42SC00NDUuOEwtNDQ1LjgsMTEzeiBNLTMzOS4yLDg2LjZjMC40LTIzLjUtOS41LTYwLjEtNTAuNC02MC4xIGMtMzYuOCwwLTUyLjgsMzQuNC01NS43LDYwLjFILTMzOS4yTC0zMzkuMiw4Ni42TC0zMzkuMiw4Ni42eiIvPgogICAgICA8L2c+CiAgICA8L2c+CiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAxLjk2MTA1OCwgNTMuNDc5NjM4KSI+CiAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuMTc5NjQwLCAwLjcwNTA2OCkiPgogICAgICAgIDxwYXRoIGQ9Ik0tNDc4LjYsNjhjMC0yMy45LTAuNC00NC41LTEuNy02My40aDMxLjhsMS4yLDM5LjloMS43YzkuMS0yNy4zLDMxLTQ0LjUsNTUuMy00NC41IGMzLjUtMC4xLDcsMC40LDEwLjMsMS4ydjM0LjhjLTQuMS0wLjktOC4yLTEuMy0xMi40LTEuMmMtMjUuNiwwLTQzLjcsMTkuNy00OC43LDQ3LjRjLTEsNS43LTEuNiwxMS41LTEuNywxNy4ydjEwOC4zaC0zNlY2OCBMLTQ3OC42LDY4eiIvPgogICAgICA8L2c+CiAgICA8L2c+CiAgPC9nPgoKICA8ZyBjbGFzcz0ianAtaWNvbi13YXJuMCIgZmlsbD0iI0YzNzcyNiI+CiAgICA8cGF0aCBkPSJNMTM1Mi4zLDMyNi4yaDM3VjI4aC0zN1YzMjYuMnogTTE2MDQuOCwzMjYuMmMtMi41LTEzLjktMy40LTMxLjEtMy40LTQ4Ljd2LTc2IGMwLTQwLjctMTUuMS04My4xLTc3LjMtODMuMWMtMjUuNiwwLTUwLDcuMS02Ni44LDE4LjFsOC40LDI0LjRjMTQuMy05LjIsMzQtMTUuMSw1My0xNS4xYzQxLjYsMCw0Ni4yLDMwLjIsNDYuMiw0N3Y0LjIgYy03OC42LTAuNC0xMjIuMywyNi41LTEyMi4zLDc1LjZjMCwyOS40LDIxLDU4LjQsNjIuMiw1OC40YzI5LDAsNTAuOS0xNC4zLDYyLjItMzAuMmgxLjNsMi45LDI1LjZIMTYwNC44eiBNMTU2NS43LDI1Ny43IGMwLDMuOC0wLjgsOC0yLjEsMTEuOGMtNS45LDE3LjItMjIuNywzNC00OS4yLDM0Yy0xOC45LDAtMzQuOS0xMS4zLTM0LjktMzUuM2MwLTM5LjUsNDUuOC00Ni42LDg2LjItNDUuOFYyNTcuN3ogTTE2OTguNSwzMjYuMiBsMS43LTMzLjZoMS4zYzE1LjEsMjYuOSwzOC43LDM4LjIsNjguMSwzOC4yYzQ1LjQsMCw5MS4yLTM2LjEsOTEuMi0xMDguOGMwLjQtNjEuNy0zNS4zLTEwMy43LTg1LjctMTAzLjcgYy0zMi44LDAtNTYuMywxNC43LTY5LjMsMzcuNGgtMC44VjI4aC0zNi42djI0NS43YzAsMTguMS0wLjgsMzguNi0xLjcsNTIuNUgxNjk4LjV6IE0xNzA0LjgsMjA4LjJjMC01LjksMS4zLTEwLjksMi4xLTE1LjEgYzcuNi0yOC4xLDMxLjEtNDUuNCw1Ni4zLTQ1LjRjMzkuNSwwLDYwLjUsMzQuOSw2MC41LDc1LjZjMCw0Ni42LTIzLjEsNzguMS02MS44LDc4LjFjLTI2LjksMC00OC4zLTE3LjYtNTUuNS00My4zIGMtMC44LTQuMi0xLjctOC44LTEuNy0xMy40VjIwOC4yeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-kernel: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uMiIgZmlsbD0iIzYxNjE2MSIgZD0iTTE1IDlIOXY2aDZWOXptLTIgNGgtMnYtMmgydjJ6bTgtMlY5aC0yVjdjMC0xLjEtLjktMi0yLTJoLTJWM2gtMnYyaC0yVjNIOXYySDdjLTEuMSAwLTIgLjktMiAydjJIM3YyaDJ2MkgzdjJoMnYyYzAgMS4xLjkgMiAyIDJoMnYyaDJ2LTJoMnYyaDJ2LTJoMmMxLjEgMCAyLS45IDItMnYtMmgydi0yaC0ydi0yaDJ6bS00IDZIN1Y3aDEwdjEweiIvPgo8L3N2Zz4K);
  --jp-icon-keyboard: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMjAgNUg0Yy0xLjEgMC0xLjk5LjktMS45OSAyTDIgMTdjMCAxLjEuOSAyIDIgMmgxNmMxLjEgMCAyLS45IDItMlY3YzAtMS4xLS45LTItMi0yem0tOSAzaDJ2MmgtMlY4em0wIDNoMnYyaC0ydi0yek04IDhoMnYySDhWOHptMCAzaDJ2Mkg4di0yem0tMSAySDV2LTJoMnYyem0wLTNINVY4aDJ2MnptOSA3SDh2LTJoOHYyem0wLTRoLTJ2LTJoMnYyem0wLTNoLTJWOGgydjJ6bTMgM2gtMnYtMmgydjJ6bTAtM2gtMlY4aDJ2MnoiLz4KPC9zdmc+Cg==);
  --jp-icon-launcher: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMTkgMTlINVY1aDdWM0g1YTIgMiAwIDAwLTIgMnYxNGEyIDIgMCAwMDIgMmgxNGMxLjEgMCAyLS45IDItMnYtN2gtMnY3ek0xNCAzdjJoMy41OWwtOS44MyA5LjgzIDEuNDEgMS40MUwxOSA2LjQxVjEwaDJWM2gtN3oiLz4KPC9zdmc+Cg==);
  --jp-icon-line-form: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGZpbGw9IndoaXRlIiBkPSJNNS44OCA0LjEyTDEzLjc2IDEybC03Ljg4IDcuODhMOCAyMmwxMC0xMEw4IDJ6Ii8+Cjwvc3ZnPgo=);
  --jp-icon-link: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTMuOSAxMmMwLTEuNzEgMS4zOS0zLjEgMy4xLTMuMWg0VjdIN2MtMi43NiAwLTUgMi4yNC01IDVzMi4yNCA1IDUgNWg0di0xLjlIN2MtMS43MSAwLTMuMS0xLjM5LTMuMS0zLjF6TTggMTNoOHYtMkg4djJ6bTktNmgtNHYxLjloNGMxLjcxIDAgMy4xIDEuMzkgMy4xIDMuMXMtMS4zOSAzLjEtMy4xIDMuMWgtNFYxN2g0YzIuNzYgMCA1LTIuMjQgNS01cy0yLjI0LTUtNS01eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-list: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uMiBqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiM2MTYxNjEiIGQ9Ik0xOSA1djE0SDVWNWgxNG0xLjEtMkgzLjljLS41IDAtLjkuNC0uOS45djE2LjJjMCAuNC40LjkuOS45aDE2LjJjLjQgMCAuOS0uNS45LS45VjMuOWMwLS41LS41LS45LS45LS45ek0xMSA3aDZ2MmgtNlY3em0wIDRoNnYyaC02di0yem0wIDRoNnYyaC02ek03IDdoMnYySDd6bTAgNGgydjJIN3ptMCA0aDJ2Mkg3eiIvPgo8L3N2Zz4=);
  --jp-icon-listings-info: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNTAuOTc4IDUwLjk3OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAuOTc4IDUwLjk3ODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPGc+DQoJCTxnPg0KCQkJPHBhdGggc3R5bGU9ImZpbGw6IzAxMDAwMjsiIGQ9Ik00My41Miw3LjQ1OEMzOC43MTEsMi42NDgsMzIuMzA3LDAsMjUuNDg5LDBDMTguNjcsMCwxMi4yNjYsMi42NDgsNy40NTgsNy40NTgNCgkJCQljLTkuOTQzLDkuOTQxLTkuOTQzLDI2LjExOSwwLDM2LjA2MmM0LjgwOSw0LjgwOSwxMS4yMTIsNy40NTYsMTguMDMxLDcuNDU4YzAsMCwwLjAwMSwwLDAuMDAyLDANCgkJCQljNi44MTYsMCwxMy4yMjEtMi42NDgsMTguMDI5LTcuNDU4YzQuODA5LTQuODA5LDcuNDU3LTExLjIxMiw3LjQ1Ny0xOC4wM0M1MC45NzcsMTguNjcsNDguMzI4LDEyLjI2Niw0My41Miw3LjQ1OHoNCgkJCQkgTTQyLjEwNiw0Mi4xMDVjLTQuNDMyLDQuNDMxLTEwLjMzMiw2Ljg3Mi0xNi42MTUsNi44NzJoLTAuMDAyYy02LjI4NS0wLjAwMS0xMi4xODctMi40NDEtMTYuNjE3LTYuODcyDQoJCQkJYy05LjE2Mi05LjE2My05LjE2Mi0yNC4wNzEsMC0zMy4yMzNDMTMuMzAzLDQuNDQsMTkuMjA0LDIsMjUuNDg5LDJjNi4yODQsMCwxMi4xODYsMi40NCwxNi42MTcsNi44NzINCgkJCQljNC40MzEsNC40MzEsNi44NzEsMTAuMzMyLDYuODcxLDE2LjYxN0M0OC45NzcsMzEuNzcyLDQ2LjUzNiwzNy42NzUsNDIuMTA2LDQyLjEwNXoiLz4NCgkJPC9nPg0KCQk8Zz4NCgkJCTxwYXRoIHN0eWxlPSJmaWxsOiMwMTAwMDI7IiBkPSJNMjMuNTc4LDMyLjIxOGMtMC4wMjMtMS43MzQsMC4xNDMtMy4wNTksMC40OTYtMy45NzJjMC4zNTMtMC45MTMsMS4xMS0xLjk5NywyLjI3Mi0zLjI1Mw0KCQkJCWMwLjQ2OC0wLjUzNiwwLjkyMy0xLjA2MiwxLjM2Ny0xLjU3NWMwLjYyNi0wLjc1MywxLjEwNC0xLjQ3OCwxLjQzNi0yLjE3NWMwLjMzMS0wLjcwNywwLjQ5NS0xLjU0MSwwLjQ5NS0yLjUNCgkJCQljMC0xLjA5Ni0wLjI2LTIuMDg4LTAuNzc5LTIuOTc5Yy0wLjU2NS0wLjg3OS0xLjUwMS0xLjMzNi0yLjgwNi0xLjM2OWMtMS44MDIsMC4wNTctMi45ODUsMC42NjctMy41NSwxLjgzMg0KCQkJCWMtMC4zMDEsMC41MzUtMC41MDMsMS4xNDEtMC42MDcsMS44MTRjLTAuMTM5LDAuNzA3LTAuMjA3LDEuNDMyLTAuMjA3LDIuMTc0aC0yLjkzN2MtMC4wOTEtMi4yMDgsMC40MDctNC4xMTQsMS40OTMtNS43MTkNCgkJCQljMS4wNjItMS42NCwyLjg1NS0yLjQ4MSw1LjM3OC0yLjUyN2MyLjE2LDAuMDIzLDMuODc0LDAuNjA4LDUuMTQxLDEuNzU4YzEuMjc4LDEuMTYsMS45MjksMi43NjQsMS45NSw0LjgxMQ0KCQkJCWMwLDEuMTQyLTAuMTM3LDIuMTExLTAuNDEsMi45MTFjLTAuMzA5LDAuODQ1LTAuNzMxLDEuNTkzLTEuMjY4LDIuMjQzYy0wLjQ5MiwwLjY1LTEuMDY4LDEuMzE4LTEuNzMsMi4wMDINCgkJCQljLTAuNjUsMC42OTctMS4zMTMsMS40NzktMS45ODcsMi4zNDZjLTAuMjM5LDAuMzc3LTAuNDI5LDAuNzc3LTAuNTY1LDEuMTk5Yy0wLjE2LDAuOTU5LTAuMjE3LDEuOTUxLTAuMTcxLDIuOTc5DQoJCQkJQzI2LjU4OSwzMi4yMTgsMjMuNTc4LDMyLjIxOCwyMy41NzgsMzIuMjE4eiBNMjMuNTc4LDM4LjIydi0zLjQ4NGgzLjA3NnYzLjQ4NEgyMy41Nzh6Ii8+DQoJCTwvZz4NCgk8L2c+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8L3N2Zz4NCg==);
  --jp-icon-markdown: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8cGF0aCBjbGFzcz0ianAtaWNvbi1jb250cmFzdDAganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjN0IxRkEyIiBkPSJNNSAxNC45aDEybC02LjEgNnptOS40LTYuOGMwLTEuMy0uMS0yLjktLjEtNC41LS40IDEuNC0uOSAyLjktMS4zIDQuM2wtMS4zIDQuM2gtMkw4LjUgNy45Yy0uNC0xLjMtLjctMi45LTEtNC4zLS4xIDEuNi0uMSAzLjItLjIgNC42TDcgMTIuNEg0LjhsLjctMTFoMy4zTDEwIDVjLjQgMS4yLjcgMi43IDEgMy45LjMtMS4yLjctMi42IDEtMy45bDEuMi0zLjdoMy4zbC42IDExaC0yLjRsLS4zLTQuMnoiLz4KPC9zdmc+Cg==);
  --jp-icon-new-folder: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTIwIDZoLThsLTItMkg0Yy0xLjExIDAtMS45OS44OS0xLjk5IDJMMiAxOGMwIDEuMTEuODkgMiAyIDJoMTZjMS4xMSAwIDItLjg5IDItMlY4YzAtMS4xMS0uODktMi0yLTJ6bS0xIDhoLTN2M2gtMnYtM2gtM3YtMmgzVjloMnYzaDN2MnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-not-trusted: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI1IDI1Ij4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uMiIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMgMykiIGQ9Ik0xLjg2MDk0IDExLjQ0MDlDMC44MjY0NDggOC43NzAyNyAwLjg2Mzc3OSA2LjA1NzY0IDEuMjQ5MDcgNC4xOTkzMkMyLjQ4MjA2IDMuOTMzNDcgNC4wODA2OCAzLjQwMzQ3IDUuNjAxMDIgMi44NDQ5QzcuMjM1NDkgMi4yNDQ0IDguODU2NjYgMS41ODE1IDkuOTg3NiAxLjA5NTM5QzExLjA1OTcgMS41ODM0MSAxMi42MDk0IDIuMjQ0NCAxNC4yMTggMi44NDMzOUMxNS43NTAzIDMuNDEzOTQgMTcuMzk5NSAzLjk1MjU4IDE4Ljc1MzkgNC4yMTM4NUMxOS4xMzY0IDYuMDcxNzcgMTkuMTcwOSA4Ljc3NzIyIDE4LjEzOSAxMS40NDA5QzE3LjAzMDMgMTQuMzAzMiAxNC42NjY4IDE3LjE4NDQgOS45OTk5OSAxOC45MzU0QzUuMzMzMTkgMTcuMTg0NCAyLjk2OTY4IDE0LjMwMzIgMS44NjA5NCAxMS40NDA5WiIvPgogICAgPHBhdGggY2xhc3M9ImpwLWljb24yIiBzdHJva2U9IiMzMzMzMzMiIHN0cm9rZS13aWR0aD0iMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOS4zMTU5MiA5LjMyMDMxKSIgZD0iTTcuMzY4NDIgMEwwIDcuMzY0NzkiLz4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uMiIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkuMzE1OTIgMTYuNjgzNikgc2NhbGUoMSAtMSkiIGQ9Ik03LjM2ODQyIDBMMCA3LjM2NDc5Ii8+Cjwvc3ZnPgo=);
  --jp-icon-notebook: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8ZyBjbGFzcz0ianAtaWNvbi13YXJuMCBqcC1pY29uLXNlbGVjdGFibGUiIGZpbGw9IiNFRjZDMDAiPgogICAgPHBhdGggZD0iTTE4LjcgMy4zdjE1LjRIMy4zVjMuM2gxNS40bTEuNS0xLjVIMS44djE4LjNoMTguM2wuMS0xOC4zeiIvPgogICAgPHBhdGggZD0iTTE2LjUgMTYuNWwtNS40LTQuMy01LjYgNC4zdi0xMWgxMXoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-numbering: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyOCAyOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CgkJPHBhdGggZD0iTTQgMTlINlYxOS41SDVWMjAuNUg2VjIxSDRWMjJIN1YxOEg0VjE5Wk01IDEwSDZWNkg0VjdINVYxMFpNNCAxM0g1LjhMNCAxNS4xVjE2SDdWMTVINS4yTDcgMTIuOVYxMkg0VjEzWk05IDdWOUgyM1Y3SDlaTTkgMjFIMjNWMTlIOVYyMVpNOSAxNUgyM1YxM0g5VjE1WiIvPgoJPC9nPgo8L3N2Zz4K);
  --jp-icon-offline-bolt: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjE2Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEyIDIuMDJjLTUuNTEgMC05Ljk4IDQuNDctOS45OCA5Ljk4czQuNDcgOS45OCA5Ljk4IDkuOTggOS45OC00LjQ3IDkuOTgtOS45OFMxNy41MSAyLjAyIDEyIDIuMDJ6TTExLjQ4IDIwdi02LjI2SDhMMTMgNHY2LjI2aDMuMzVMMTEuNDggMjB6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-palette: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTE4IDEzVjIwSDRWNkg5LjAyQzkuMDcgNS4yOSA5LjI0IDQuNjIgOS41IDRINEMyLjkgNCAyIDQuOSAyIDZWMjBDMiAyMS4xIDIuOSAyMiA0IDIySDE4QzE5LjEgMjIgMjAgMjEuMSAyMCAyMFYxNUwxOCAxM1pNMTkuMyA4Ljg5QzE5Ljc0IDguMTkgMjAgNy4zOCAyMCA2LjVDMjAgNC4wMSAxNy45OSAyIDE1LjUgMkMxMy4wMSAyIDExIDQuMDEgMTEgNi41QzExIDguOTkgMTMuMDEgMTEgMTUuNDkgMTFDMTYuMzcgMTEgMTcuMTkgMTAuNzQgMTcuODggMTAuM0wyMSAxMy40MkwyMi40MiAxMkwxOS4zIDguODlaTTE1LjUgOUMxNC4xMiA5IDEzIDcuODggMTMgNi41QzEzIDUuMTIgMTQuMTIgNCAxNS41IDRDMTYuODggNCAxOCA1LjEyIDE4IDYuNUMxOCA3Ljg4IDE2Ljg4IDkgMTUuNSA5WiIvPgogICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00IDZIOS4wMTg5NEM5LjAwNjM5IDYuMTY1MDIgOSA2LjMzMTc2IDkgNi41QzkgOC44MTU3NyAxMC4yMTEgMTAuODQ4NyAxMi4wMzQzIDEySDlWMTRIMTZWMTIuOTgxMUMxNi41NzAzIDEyLjkzNzcgMTcuMTIgMTIuODIwNyAxNy42Mzk2IDEyLjYzOTZMMTggMTNWMjBINFY2Wk04IDhINlYxMEg4VjhaTTYgMTJIOFYxNEg2VjEyWk04IDE2SDZWMThIOFYxNlpNOSAxNkgxNlYxOEg5VjE2WiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-paste: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTE5IDJoLTQuMThDMTQuNC44NCAxMy4zIDAgMTIgMGMtMS4zIDAtMi40Ljg0LTIuODIgMkg1Yy0xLjEgMC0yIC45LTIgMnYxNmMwIDEuMS45IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjRjMC0xLjEtLjktMi0yLTJ6bS03IDBjLjU1IDAgMSAuNDUgMSAxcy0uNDUgMS0xIDEtMS0uNDUtMS0xIC40NS0xIDEtMXptNyAxOEg1VjRoMnYzaDEwVjRoMnYxNnoiLz4KICAgIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-pdf: url(data:image/svg+xml;base64,PHN2ZwogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMiIgd2lkdGg9IjE2Ij4KICAgIDxwYXRoIHRyYW5zZm9ybT0icm90YXRlKDQ1KSIgY2xhc3M9ImpwLWljb24tc2VsZWN0YWJsZSIgZmlsbD0iI0ZGMkEyQSIKICAgICAgIGQ9Im0gMjIuMzQ0MzY5LC0zLjAxNjM2NDIgaCA1LjYzODYwNCB2IDEuNTc5MjQzMyBoIC0zLjU0OTIyNyB2IDEuNTA4NjkyOTkgaCAzLjMzNzU3NiBWIDEuNjUwODE1NCBoIC0zLjMzNzU3NiB2IDMuNDM1MjYxMyBoIC0yLjA4OTM3NyB6IG0gLTcuMTM2NDQ0LDEuNTc5MjQzMyB2IDQuOTQzOTU0MyBoIDAuNzQ4OTIgcSAxLjI4MDc2MSwwIDEuOTUzNzAzLC0wLjYzNDk1MzUgMC42NzgzNjksLTAuNjM0OTUzNSAwLjY3ODM2OSwtMS44NDUxNjQxIDAsLTEuMjA0NzgzNTUgLTAuNjcyOTQyLC0xLjgzNDMxMDExIC0wLjY3Mjk0MiwtMC42Mjk1MjY1OSAtMS45NTkxMywtMC42Mjk1MjY1OSB6IG0gLTIuMDg5Mzc3LC0xLjU3OTI0MzMgaCAyLjIwMzM0MyBxIDEuODQ1MTY0LDAgMi43NDYwMzksMC4yNjU5MjA3IDAuOTA2MzAxLDAuMjYwNDkzNyAxLjU1MjEwOCwwLjg5MDAyMDMgMC41Njk4MywwLjU0ODEyMjMgMC44NDY2MDUsMS4yNjQ0ODAwNiAwLjI3Njc3NCwwLjcxNjM1NzgxIDAuMjc2Nzc0LDEuNjIyNjU4OTQgMCwwLjkxNzE1NTEgLTAuMjc2Nzc0LDEuNjM4OTM5OSAtMC4yNzY3NzUsMC43MTYzNTc4IC0wLjg0NjYwNSwxLjI2NDQ4IC0wLjY1MTIzNCwwLjYyOTUyNjYgLTEuNTYyOTYyLDAuODk1NDQ3MyAtMC45MTE3MjgsMC4yNjA0OTM3IC0yLjczNTE4NSwwLjI2MDQ5MzcgaCAtMi4yMDMzNDMgeiBtIC04LjE0NTg1NjUsMCBoIDMuNDY3ODIzIHEgMS41NDY2ODE2LDAgMi4zNzE1Nzg1LDAuNjg5MjIzIDAuODMwMzI0LDAuNjgzNzk2MSAwLjgzMDMyNCwxLjk1MzcwMzE0IDAsMS4yNzUzMzM5NyAtMC44MzAzMjQsMS45NjQ1NTcwNiBRIDkuOTg3MTk2MSwyLjI3NDkxNSA4LjQ0MDUxNDUsMi4yNzQ5MTUgSCA3LjA2MjA2ODQgViA1LjA4NjA3NjcgSCA0Ljk3MjY5MTUgWiBtIDIuMDg5Mzc2OSwxLjUxNDExOTkgdiAyLjI2MzAzOTQzIGggMS4xNTU5NDEgcSAwLjYwNzgxODgsMCAwLjkzODg2MjksLTAuMjkzMDU1NDcgMC4zMzEwNDQxLC0wLjI5ODQ4MjQxIDAuMzMxMDQ0MSwtMC44NDExNzc3MiAwLC0wLjU0MjY5NTMxIC0wLjMzMTA0NDEsLTAuODM1NzUwNzQgLTAuMzMxMDQ0MSwtMC4yOTMwNTU1IC0wLjkzODg2MjksLTAuMjkzMDU1NSB6IgovPgo8L3N2Zz4K);
  --jp-icon-python: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8ZyBjbGFzcz0ianAtaWNvbi1icmFuZDAganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjMEQ0N0ExIj4KICAgIDxwYXRoIGQ9Ik0xMS4xIDYuOVY1LjhINi45YzAtLjUgMC0xLjMuMi0xLjYuNC0uNy44LTEuMSAxLjctMS40IDEuNy0uMyAyLjUtLjMgMy45LS4xIDEgLjEgMS45LjkgMS45IDEuOXY0LjJjMCAuNS0uOSAxLjYtMiAxLjZIOC44Yy0xLjUgMC0yLjQgMS40LTIuNCAyLjh2Mi4ySDQuN0MzLjUgMTUuMSAzIDE0IDMgMTMuMVY5Yy0uMS0xIC42LTIgMS44LTIgMS41LS4xIDYuMy0uMSA2LjMtLjF6Ii8+CiAgICA8cGF0aCBkPSJNMTAuOSAxNS4xdjEuMWg0LjJjMCAuNSAwIDEuMy0uMiAxLjYtLjQuNy0uOCAxLjEtMS43IDEuNC0xLjcuMy0yLjUuMy0zLjkuMS0xLS4xLTEuOS0uOS0xLjktMS45di00LjJjMC0uNS45LTEuNiAyLTEuNmgzLjhjMS41IDAgMi40LTEuNCAyLjQtMi44VjYuNmgxLjdDMTguNSA2LjkgMTkgOCAxOSA4LjlWMTNjMCAxLS43IDIuMS0xLjkgMi4xaC02LjJ6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-r-kernel: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8cGF0aCBjbGFzcz0ianAtaWNvbi1jb250cmFzdDMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjMjE5NkYzIiBkPSJNNC40IDIuNWMxLjItLjEgMi45LS4zIDQuOS0uMyAyLjUgMCA0LjEuNCA1LjIgMS4zIDEgLjcgMS41IDEuOSAxLjUgMy41IDAgMi0xLjQgMy41LTIuOSA0LjEgMS4yLjQgMS43IDEuNiAyLjIgMyAuNiAxLjkgMSAzLjkgMS4zIDQuNmgtMy44Yy0uMy0uNC0uOC0xLjctMS4yLTMuN3MtMS4yLTIuNi0yLjYtMi42aC0uOXY2LjRINC40VjIuNXptMy43IDYuOWgxLjRjMS45IDAgMi45LS45IDIuOS0yLjNzLTEtMi4zLTIuOC0yLjNjLS43IDAtMS4zIDAtMS42LjJ2NC41aC4xdi0uMXoiLz4KPC9zdmc+Cg==);
  --jp-icon-react: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMTUwIDE1MCA1NDEuOSAyOTUuMyI+CiAgPGcgY2xhc3M9ImpwLWljb24tYnJhbmQyIGpwLWljb24tc2VsZWN0YWJsZSIgZmlsbD0iIzYxREFGQiI+CiAgICA8cGF0aCBkPSJNNjY2LjMgMjk2LjVjMC0zMi41LTQwLjctNjMuMy0xMDMuMS04Mi40IDE0LjQtNjMuNiA4LTExNC4yLTIwLjItMTMwLjQtNi41LTMuOC0xNC4xLTUuNi0yMi40LTUuNnYyMi4zYzQuNiAwIDguMy45IDExLjQgMi42IDEzLjYgNy44IDE5LjUgMzcuNSAxNC45IDc1LjctMS4xIDkuNC0yLjkgMTkuMy01LjEgMjkuNC0xOS42LTQuOC00MS04LjUtNjMuNS0xMC45LTEzLjUtMTguNS0yNy41LTM1LjMtNDEuNi01MCAzMi42LTMwLjMgNjMuMi00Ni45IDg0LTQ2LjlWNzhjLTI3LjUgMC02My41IDE5LjYtOTkuOSA1My42LTM2LjQtMzMuOC03Mi40LTUzLjItOTkuOS01My4ydjIyLjNjMjAuNyAwIDUxLjQgMTYuNSA4NCA0Ni42LTE0IDE0LjctMjggMzEuNC00MS4zIDQ5LjktMjIuNiAyLjQtNDQgNi4xLTYzLjYgMTEtMi4zLTEwLTQtMTkuNy01LjItMjktNC43LTM4LjIgMS4xLTY3LjkgMTQuNi03NS44IDMtMS44IDYuOS0yLjYgMTEuNS0yLjZWNzguNWMtOC40IDAtMTYgMS44LTIyLjYgNS42LTI4LjEgMTYuMi0zNC40IDY2LjctMTkuOSAxMzAuMS02Mi4yIDE5LjItMTAyLjcgNDkuOS0xMDIuNyA4Mi4zIDAgMzIuNSA0MC43IDYzLjMgMTAzLjEgODIuNC0xNC40IDYzLjYtOCAxMTQuMiAyMC4yIDEzMC40IDYuNSAzLjggMTQuMSA1LjYgMjIuNSA1LjYgMjcuNSAwIDYzLjUtMTkuNiA5OS45LTUzLjYgMzYuNCAzMy44IDcyLjQgNTMuMiA5OS45IDUzLjIgOC40IDAgMTYtMS44IDIyLjYtNS42IDI4LjEtMTYuMiAzNC40LTY2LjcgMTkuOS0xMzAuMSA2Mi0xOS4xIDEwMi41LTQ5LjkgMTAyLjUtODIuM3ptLTEzMC4yLTY2LjdjLTMuNyAxMi45LTguMyAyNi4yLTEzLjUgMzkuNS00LjEtOC04LjQtMTYtMTMuMS0yNC00LjYtOC05LjUtMTUuOC0xNC40LTIzLjQgMTQuMiAyLjEgMjcuOSA0LjcgNDEgNy45em0tNDUuOCAxMDYuNWMtNy44IDEzLjUtMTUuOCAyNi4zLTI0LjEgMzguMi0xNC45IDEuMy0zMCAyLTQ1LjIgMi0xNS4xIDAtMzAuMi0uNy00NS0xLjktOC4zLTExLjktMTYuNC0yNC42LTI0LjItMzgtNy42LTEzLjEtMTQuNS0yNi40LTIwLjgtMzkuOCA2LjItMTMuNCAxMy4yLTI2LjggMjAuNy0zOS45IDcuOC0xMy41IDE1LjgtMjYuMyAyNC4xLTM4LjIgMTQuOS0xLjMgMzAtMiA0NS4yLTIgMTUuMSAwIDMwLjIuNyA0NSAxLjkgOC4zIDExLjkgMTYuNCAyNC42IDI0LjIgMzggNy42IDEzLjEgMTQuNSAyNi40IDIwLjggMzkuOC02LjMgMTMuNC0xMy4yIDI2LjgtMjAuNyAzOS45em0zMi4zLTEzYzUuNCAxMy40IDEwIDI2LjggMTMuOCAzOS44LTEzLjEgMy4yLTI2LjkgNS45LTQxLjIgOCA0LjktNy43IDkuOC0xNS42IDE0LjQtMjMuNyA0LjYtOCA4LjktMTYuMSAxMy0yNC4xek00MjEuMiA0MzBjLTkuMy05LjYtMTguNi0yMC4zLTI3LjgtMzIgOSAuNCAxOC4yLjcgMjcuNS43IDkuNCAwIDE4LjctLjIgMjcuOC0uNy05IDExLjctMTguMyAyMi40LTI3LjUgMzJ6bS03NC40LTU4LjljLTE0LjItMi4xLTI3LjktNC43LTQxLTcuOSAzLjctMTIuOSA4LjMtMjYuMiAxMy41LTM5LjUgNC4xIDggOC40IDE2IDEzLjEgMjQgNC43IDggOS41IDE1LjggMTQuNCAyMy40ek00MjAuNyAxNjNjOS4zIDkuNiAxOC42IDIwLjMgMjcuOCAzMi05LS40LTE4LjItLjctMjcuNS0uNy05LjQgMC0xOC43LjItMjcuOC43IDktMTEuNyAxOC4zLTIyLjQgMjcuNS0zMnptLTc0IDU4LjljLTQuOSA3LjctOS44IDE1LjYtMTQuNCAyMy43LTQuNiA4LTguOSAxNi0xMyAyNC01LjQtMTMuNC0xMC0yNi44LTEzLjgtMzkuOCAxMy4xLTMuMSAyNi45LTUuOCA0MS4yLTcuOXptLTkwLjUgMTI1LjJjLTM1LjQtMTUuMS01OC4zLTM0LjktNTguMy01MC42IDAtMTUuNyAyMi45LTM1LjYgNTguMy01MC42IDguNi0zLjcgMTgtNyAyNy43LTEwLjEgNS43IDE5LjYgMTMuMiA0MCAyMi41IDYwLjktOS4yIDIwLjgtMTYuNiA0MS4xLTIyLjIgNjAuNi05LjktMy4xLTE5LjMtNi41LTI4LTEwLjJ6TTMxMCA0OTBjLTEzLjYtNy44LTE5LjUtMzcuNS0xNC45LTc1LjcgMS4xLTkuNCAyLjktMTkuMyA1LjEtMjkuNCAxOS42IDQuOCA0MSA4LjUgNjMuNSAxMC45IDEzLjUgMTguNSAyNy41IDM1LjMgNDEuNiA1MC0zMi42IDMwLjMtNjMuMiA0Ni45LTg0IDQ2LjktNC41LS4xLTguMy0xLTExLjMtMi43em0yMzcuMi03Ni4yYzQuNyAzOC4yLTEuMSA2Ny45LTE0LjYgNzUuOC0zIDEuOC02LjkgMi42LTExLjUgMi42LTIwLjcgMC01MS40LTE2LjUtODQtNDYuNiAxNC0xNC43IDI4LTMxLjQgNDEuMy00OS45IDIyLjYtMi40IDQ0LTYuMSA2My42LTExIDIuMyAxMC4xIDQuMSAxOS44IDUuMiAyOS4xem0zOC41LTY2LjdjLTguNiAzLjctMTggNy0yNy43IDEwLjEtNS43LTE5LjYtMTMuMi00MC0yMi41LTYwLjkgOS4yLTIwLjggMTYuNi00MS4xIDIyLjItNjAuNiA5LjkgMy4xIDE5LjMgNi41IDI4LjEgMTAuMiAzNS40IDE1LjEgNTguMyAzNC45IDU4LjMgNTAuNi0uMSAxNS43LTIzIDM1LjYtNTguNCA1MC42ek0zMjAuOCA3OC40eiIvPgogICAgPGNpcmNsZSBjeD0iNDIwLjkiIGN5PSIyOTYuNSIgcj0iNDUuNyIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-redo: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjE2Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTE4LjQgMTAuNkMxNi41NSA4Ljk5IDE0LjE1IDggMTEuNSA4Yy00LjY1IDAtOC41OCAzLjAzLTkuOTYgNy4yMkwzLjkgMTZjMS4wNS0zLjE5IDQuMDUtNS41IDcuNi01LjUgMS45NSAwIDMuNzMuNzIgNS4xMiAxLjg4TDEzIDE2aDlWN2wtMy42IDMuNnoiLz4KICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-refresh: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTkgMTMuNWMtMi40OSAwLTQuNS0yLjAxLTQuNS00LjVTNi41MSA0LjUgOSA0LjVjMS4yNCAwIDIuMzYuNTIgMy4xNyAxLjMzTDEwIDhoNVYzbC0xLjc2IDEuNzZDMTIuMTUgMy42OCAxMC42NiAzIDkgMyA1LjY5IDMgMy4wMSA1LjY5IDMuMDEgOVM1LjY5IDE1IDkgMTVjMi45NyAwIDUuNDMtMi4xNiA1LjktNWgtMS41MmMtLjQ2IDItMi4yNCAzLjUtNC4zOCAzLjV6Ii8+CiAgICA8L2c+Cjwvc3ZnPgo=);
  --jp-icon-regex: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIwIDIwIj4KICA8ZyBjbGFzcz0ianAtaWNvbjIiIGZpbGw9IiM0MTQxNDEiPgogICAgPHJlY3QgeD0iMiIgeT0iMiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CiAgPC9nPgoKICA8ZyBjbGFzcz0ianAtaWNvbi1hY2NlbnQyIiBmaWxsPSIjRkZGIj4KICAgIDxjaXJjbGUgY2xhc3M9InN0MiIgY3g9IjUuNSIgY3k9IjE0LjUiIHI9IjEuNSIvPgogICAgPHJlY3QgeD0iMTIiIHk9IjQiIGNsYXNzPSJzdDIiIHdpZHRoPSIxIiBoZWlnaHQ9IjgiLz4KICAgIDxyZWN0IHg9IjguNSIgeT0iNy41IiB0cmFuc2Zvcm09Im1hdHJpeCgwLjg2NiAtMC41IDAuNSAwLjg2NiAtMi4zMjU1IDcuMzIxOSkiIGNsYXNzPSJzdDIiIHdpZHRoPSI4IiBoZWlnaHQ9IjEiLz4KICAgIDxyZWN0IHg9IjEyIiB5PSI0IiB0cmFuc2Zvcm09Im1hdHJpeCgwLjUgLTAuODY2IDAuODY2IDAuNSAtMC42Nzc5IDE0LjgyNTIpIiBjbGFzcz0ic3QyIiB3aWR0aD0iMSIgaGVpZ2h0PSI4Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-run: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTggNXYxNGwxMS03eiIvPgogICAgPC9nPgo8L3N2Zz4K);
  --jp-icon-running: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDUxMiA1MTIiPgogIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICA8cGF0aCBkPSJNMjU2IDhDMTE5IDggOCAxMTkgOCAyNTZzMTExIDI0OCAyNDggMjQ4IDI0OC0xMTEgMjQ4LTI0OFMzOTMgOCAyNTYgOHptOTYgMzI4YzAgOC44LTcuMiAxNi0xNiAxNkgxNzZjLTguOCAwLTE2LTcuMi0xNi0xNlYxNzZjMC04LjggNy4yLTE2IDE2LTE2aDE2MGM4LjggMCAxNiA3LjIgMTYgMTZ2MTYweiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-save: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTE3IDNINWMtMS4xMSAwLTIgLjktMiAydjE0YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjdsLTQtNHptLTUgMTZjLTEuNjYgMC0zLTEuMzQtMy0zczEuMzQtMyAzLTMgMyAxLjM0IDMgMy0xLjM0IDMtMyAzem0zLTEwSDVWNWgxMHY0eiIvPgogICAgPC9nPgo8L3N2Zz4K);
  --jp-icon-search: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTggMTgiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEyLjEsMTAuOWgtMC43bC0wLjItMC4yYzAuOC0wLjksMS4zLTIuMiwxLjMtMy41YzAtMy0yLjQtNS40LTUuNC01LjRTMS44LDQuMiwxLjgsNy4xczIuNCw1LjQsNS40LDUuNCBjMS4zLDAsMi41LTAuNSwzLjUtMS4zbDAuMiwwLjJ2MC43bDQuMSw0LjFsMS4yLTEuMkwxMi4xLDEwLjl6IE03LjEsMTAuOWMtMi4xLDAtMy43LTEuNy0zLjctMy43czEuNy0zLjcsMy43LTMuN3MzLjcsMS43LDMuNywzLjcgUzkuMiwxMC45LDcuMSwxMC45eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-settings: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMTkuNDMgMTIuOThjLjA0LS4zMi4wNy0uNjQuMDctLjk4cy0uMDMtLjY2LS4wNy0uOThsMi4xMS0xLjY1Yy4xOS0uMTUuMjQtLjQyLjEyLS42NGwtMi0zLjQ2Yy0uMTItLjIyLS4zOS0uMy0uNjEtLjIybC0yLjQ5IDFjLS41Mi0uNC0xLjA4LS43My0xLjY5LS45OGwtLjM4LTIuNjVBLjQ4OC40ODggMCAwMDE0IDJoLTRjLS4yNSAwLS40Ni4xOC0uNDkuNDJsLS4zOCAyLjY1Yy0uNjEuMjUtMS4xNy41OS0xLjY5Ljk4bC0yLjQ5LTFjLS4yMy0uMDktLjQ5IDAtLjYxLjIybC0yIDMuNDZjLS4xMy4yMi0uMDcuNDkuMTIuNjRsMi4xMSAxLjY1Yy0uMDQuMzItLjA3LjY1LS4wNy45OHMuMDMuNjYuMDcuOThsLTIuMTEgMS42NWMtLjE5LjE1LS4yNC40Mi0uMTIuNjRsMiAzLjQ2Yy4xMi4yMi4zOS4zLjYxLjIybDIuNDktMWMuNTIuNCAxLjA4LjczIDEuNjkuOThsLjM4IDIuNjVjLjAzLjI0LjI0LjQyLjQ5LjQyaDRjLjI1IDAgLjQ2LS4xOC40OS0uNDJsLjM4LTIuNjVjLjYxLS4yNSAxLjE3LS41OSAxLjY5LS45OGwyLjQ5IDFjLjIzLjA5LjQ5IDAgLjYxLS4yMmwyLTMuNDZjLjEyLS4yMi4wNy0uNDktLjEyLS42NGwtMi4xMS0xLjY1ek0xMiAxNS41Yy0xLjkzIDAtMy41LTEuNTctMy41LTMuNXMxLjU3LTMuNSAzLjUtMy41IDMuNSAxLjU3IDMuNSAzLjUtMS41NyAzLjUtMy41IDMuNXoiLz4KPC9zdmc+Cg==);
  --jp-icon-spreadsheet: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8cGF0aCBjbGFzcz0ianAtaWNvbi1jb250cmFzdDEganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNENBRjUwIiBkPSJNMi4yIDIuMnYxNy42aDE3LjZWMi4ySDIuMnptMTUuNCA3LjdoLTUuNVY0LjRoNS41djUuNXpNOS45IDQuNHY1LjVINC40VjQuNGg1LjV6bS01LjUgNy43aDUuNXY1LjVINC40di01LjV6bTcuNyA1LjV2LTUuNWg1LjV2NS41aC01LjV6Ii8+Cjwvc3ZnPgo=);
  --jp-icon-stop: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPgogICAgICAgIDxwYXRoIGQ9Ik02IDZoMTJ2MTJINnoiLz4KICAgIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-tab: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTIxIDNIM2MtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxOGMxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yem0wIDE2SDNWNWgxMHY0aDh2MTB6Ii8+CiAgPC9nPgo8L3N2Zz4K);
  --jp-icon-table-rows: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPgogICAgICAgIDxwYXRoIGQ9Ik0yMSw4SDNWNGgxOFY4eiBNMjEsMTBIM3Y0aDE4VjEweiBNMjEsMTZIM3Y0aDE4VjE2eiIvPgogICAgPC9nPgo8L3N2Zz4=);
  --jp-icon-tag: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCA0MyAyOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CgkJPHBhdGggZD0iTTI4LjgzMzIgMTIuMzM0TDMyLjk5OTggMTYuNTAwN0wzNy4xNjY1IDEyLjMzNEgyOC44MzMyWiIvPgoJCTxwYXRoIGQ9Ik0xNi4yMDk1IDIxLjYxMDRDMTUuNjg3MyAyMi4xMjk5IDE0Ljg0NDMgMjIuMTI5OSAxNC4zMjQ4IDIxLjYxMDRMNi45ODI5IDE0LjcyNDVDNi41NzI0IDE0LjMzOTQgNi4wODMxMyAxMy42MDk4IDYuMDQ3ODYgMTMuMDQ4MkM1Ljk1MzQ3IDExLjUyODggNi4wMjAwMiA4LjYxOTQ0IDYuMDY2MjEgNy4wNzY5NUM2LjA4MjgxIDYuNTE0NzcgNi41NTU0OCA2LjA0MzQ3IDcuMTE4MDQgNi4wMzA1NUM5LjA4ODYzIDUuOTg0NzMgMTMuMjYzOCA1LjkzNTc5IDEzLjY1MTggNi4zMjQyNUwyMS43MzY5IDEzLjYzOUMyMi4yNTYgMTQuMTU4NSAyMS43ODUxIDE1LjQ3MjQgMjEuMjYyIDE1Ljk5NDZMMTYuMjA5NSAyMS42MTA0Wk05Ljc3NTg1IDguMjY1QzkuMzM1NTEgNy44MjU2NiA4LjYyMzUxIDcuODI1NjYgOC4xODI4IDguMjY1QzcuNzQzNDYgOC43MDU3MSA3Ljc0MzQ2IDkuNDE3MzMgOC4xODI4IDkuODU2NjdDOC42MjM4MiAxMC4yOTY0IDkuMzM1ODIgMTAuMjk2NCA5Ljc3NTg1IDkuODU2NjdDMTAuMjE1NiA5LjQxNzMzIDEwLjIxNTYgOC43MDUzMyA5Ljc3NTg1IDguMjY1WiIvPgoJPC9nPgo8L3N2Zz4K);
  --jp-icon-terminal: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiA+CiAgICA8cmVjdCBjbGFzcz0ianAtaWNvbjIganAtaWNvbi1zZWxlY3RhYmxlIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGZpbGw9IiMzMzMzMzMiLz4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uLWFjY2VudDIganAtaWNvbi1zZWxlY3RhYmxlLWludmVyc2UiIGQ9Ik01LjA1NjY0IDguNzYxNzJDNS4wNTY2NCA4LjU5NzY2IDUuMDMxMjUgOC40NTMxMiA0Ljk4MDQ3IDguMzI4MTJDNC45MzM1OSA4LjE5OTIyIDQuODU1NDcgOC4wODIwMyA0Ljc0NjA5IDcuOTc2NTZDNC42NDA2MiA3Ljg3MTA5IDQuNSA3Ljc3NTM5IDQuMzI0MjIgNy42ODk0NUM0LjE1MjM0IDcuNTk5NjEgMy45NDMzNiA3LjUxMTcyIDMuNjk3MjcgNy40MjU3OEMzLjMwMjczIDcuMjg1MTYgMi45NDMzNiA3LjEzNjcyIDIuNjE5MTQgNi45ODA0N0MyLjI5NDkyIDYuODI0MjIgMi4wMTc1OCA2LjY0MjU4IDEuNzg3MTEgNi40MzU1NUMxLjU2MDU1IDYuMjI4NTIgMS4zODQ3NyA1Ljk4ODI4IDEuMjU5NzcgNS43MTQ4NEMxLjEzNDc3IDUuNDM3NSAxLjA3MjI3IDUuMTA5MzggMS4wNzIyNyA0LjczMDQ3QzEuMDcyMjcgNC4zOTg0NCAxLjEyODkxIDQuMDk1NyAxLjI0MjE5IDMuODIyMjdDMS4zNTU0NyAzLjU0NDkyIDEuNTE1NjIgMy4zMDQ2OSAxLjcyMjY2IDMuMTAxNTZDMS45Mjk2OSAyLjg5ODQ0IDIuMTc5NjkgMi43MzQzNyAyLjQ3MjY2IDIuNjA5MzhDMi43NjU2MiAyLjQ4NDM4IDMuMDkxOCAyLjQwNDMgMy40NTExNyAyLjM2OTE0VjEuMTA5MzhINC4zODg2N1YyLjM4MDg2QzQuNzQwMjMgMi40Mjc3MyA1LjA1NjY0IDIuNTIzNDQgNS4zMzc4OSAyLjY2Nzk3QzUuNjE5MTQgMi44MTI1IDUuODU3NDIgMy4wMDE5NSA2LjA1MjczIDMuMjM2MzNDNi4yNTE5NSAzLjQ2NjggNi40MDQzIDMuNzQwMjMgNi41MDk3NyA0LjA1NjY0QzYuNjE5MTQgNC4zNjkxNCA2LjY3MzgzIDQuNzIwNyA2LjY3MzgzIDUuMTExMzNINS4wNDQ5MkM1LjA0NDkyIDQuNjM4NjcgNC45Mzc1IDQuMjgxMjUgNC43MjI2NiA0LjAzOTA2QzQuNTA3ODEgMy43OTI5NyA0LjIxNjggMy42Njk5MiAzLjg0OTYxIDMuNjY5OTJDMy42NTAzOSAzLjY2OTkyIDMuNDc2NTYgMy42OTcyNyAzLjMyODEyIDMuNzUxOTVDMy4xODM1OSAzLjgwMjczIDMuMDY0NDUgMy44NzY5NSAyLjk3MDcgMy45NzQ2MUMyLjg3Njk1IDQuMDY4MzYgMi44MDY2NCA0LjE3OTY5IDIuNzU5NzcgNC4zMDg1OUMyLjcxNjggNC40Mzc1IDIuNjk1MzEgNC41NzgxMiAyLjY5NTMxIDQuNzMwNDdDMi42OTUzMSA0Ljg4MjgxIDIuNzE2OCA1LjAxOTUzIDIuNzU5NzcgNS4xNDA2MkMyLjgwNjY0IDUuMjU3ODEgMi44ODI4MSA1LjM2NzE5IDIuOTg4MjggNS40Njg3NUMzLjA5NzY2IDUuNTcwMzEgMy4yNDAyMyA1LjY2Nzk3IDMuNDE2MDIgNS43NjE3MkMzLjU5MTggNS44NTE1NiAzLjgxMDU1IDUuOTQzMzYgNC4wNzIyNyA2LjAzNzExQzQuNDY2OCA2LjE4NTU1IDQuODI0MjIgNi4zMzk4NCA1LjE0NDUzIDYuNUM1LjQ2NDg0IDYuNjU2MjUgNS43MzgyOCA2LjgzOTg0IDUuOTY0ODQgNy4wNTA3OEM2LjE5NTMxIDcuMjU3ODEgNi4zNzEwOSA3LjUgNi40OTIxOSA3Ljc3NzM0QzYuNjE3MTkgOC4wNTA3OCA2LjY3OTY5IDguMzc1IDYuNjc5NjkgOC43NUM2LjY3OTY5IDkuMDkzNzUgNi42MjMwNSA5LjQwNDMgNi41MDk3NyA5LjY4MTY0QzYuMzk2NDggOS45NTUwOCA2LjIzNDM4IDEwLjE5MTQgNi4wMjM0NCAxMC4zOTA2QzUuODEyNSAxMC41ODk4IDUuNTU4NTkgMTAuNzUgNS4yNjE3MiAxMC44NzExQzQuOTY0ODQgMTAuOTg4MyA0LjYzMjgxIDExLjA2NDUgNC4yNjU2MiAxMS4wOTk2VjEyLjI0OEgzLjMzMzk4VjExLjA5OTZDMy4wMDE5NSAxMS4wNjg0IDIuNjc5NjkgMTAuOTk2MSAyLjM2NzE5IDEwLjg4MjhDMi4wNTQ2OSAxMC43NjU2IDEuNzc3MzQgMTAuNTk3NyAxLjUzNTE2IDEwLjM3ODlDMS4yOTY4OCAxMC4xNjAyIDEuMTA1NDcgOS44ODQ3NyAwLjk2MDkzOCA5LjU1MjczQzAuODE2NDA2IDkuMjE2OCAwLjc0NDE0MSA4LjgxNDQ1IDAuNzQ0MTQxIDguMzQ1N0gyLjM3ODkxQzIuMzc4OTEgOC42MjY5NSAyLjQxOTkyIDguODYzMjggMi41MDE5NSA5LjA1NDY5QzIuNTgzOTggOS4yNDIxOSAyLjY4OTQ1IDkuMzkyNTggMi44MTgzNiA5LjUwNTg2QzIuOTUxMTcgOS42MTUyMyAzLjEwMTU2IDkuNjkzMzYgMy4yNjk1MyA5Ljc0MDIzQzMuNDM3NSA5Ljc4NzExIDMuNjA5MzggOS44MTA1NSAzLjc4NTE2IDkuODEwNTVDNC4yMDMxMiA5LjgxMDU1IDQuNTE5NTMgOS43MTI4OSA0LjczNDM4IDkuNTE3NThDNC45NDkyMiA5LjMyMjI3IDUuMDU2NjQgOS4wNzAzMSA1LjA1NjY0IDguNzYxNzJaTTEzLjQxOCAxMi4yNzE1SDguMDc0MjJWMTFIMTMuNDE4VjEyLjI3MTVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjk1MjY0IDYpIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K);
  --jp-icon-text-editor: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBjbGFzcz0ianAtaWNvbjMganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjNjE2MTYxIiBkPSJNMTUgMTVIM3YyaDEydi0yem0wLThIM3YyaDEyVjd6TTMgMTNoMTh2LTJIM3Yyem0wIDhoMTh2LTJIM3Yyek0zIDN2MmgxOFYzSDN6Ii8+Cjwvc3ZnPgo=);
  --jp-icon-toc: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgoJPHBhdGggZD0iTTcsNUgyMVY3SDdWNU03LDEzVjExSDIxVjEzSDdNNCw0LjVBMS41LDEuNSAwIDAsMSA1LjUsNkExLjUsMS41IDAgMCwxIDQsNy41QTEuNSwxLjUgMCAwLDEgMi41LDZBMS41LDEuNSAwIDAsMSA0LDQuNU00LDEwLjVBMS41LDEuNSAwIDAsMSA1LjUsMTJBMS41LDEuNSAwIDAsMSA0LDEzLjVBMS41LDEuNSAwIDAsMSAyLjUsMTJBMS41LDEuNSAwIDAsMSA0LDEwLjVNNywxOVYxN0gyMVYxOUg3TTQsMTYuNUExLjUsMS41IDAgMCwxIDUuNSwxOEExLjUsMS41IDAgMCwxIDQsMTkuNUExLjUsMS41IDAgMCwxIDIuNSwxOEExLjUsMS41IDAgMCwxIDQsMTYuNVoiIC8+Cjwvc3ZnPgo=);
  --jp-icon-tree-view: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsYXNzPSJqcC1pY29uMyIgZmlsbD0iIzYxNjE2MSI+CiAgICAgICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPgogICAgICAgIDxwYXRoIGQ9Ik0yMiAxMVYzaC03djNIOVYzSDJ2OGg3VjhoMnYxMGg0djNoN3YtOGgtN3YzaC0yVjhoMnYzeiIvPgogICAgPC9nPgo8L3N2Zz4=);
  --jp-icon-trusted: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDI0IDI1Ij4KICAgIDxwYXRoIGNsYXNzPSJqcC1pY29uMiIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMykiIGQ9Ik0xLjg2MDk0IDExLjQ0MDlDMC44MjY0NDggOC43NzAyNyAwLjg2Mzc3OSA2LjA1NzY0IDEuMjQ5MDcgNC4xOTkzMkMyLjQ4MjA2IDMuOTMzNDcgNC4wODA2OCAzLjQwMzQ3IDUuNjAxMDIgMi44NDQ5QzcuMjM1NDkgMi4yNDQ0IDguODU2NjYgMS41ODE1IDkuOTg3NiAxLjA5NTM5QzExLjA1OTcgMS41ODM0MSAxMi42MDk0IDIuMjQ0NCAxNC4yMTggMi44NDMzOUMxNS43NTAzIDMuNDEzOTQgMTcuMzk5NSAzLjk1MjU4IDE4Ljc1MzkgNC4yMTM4NUMxOS4xMzY0IDYuMDcxNzcgMTkuMTcwOSA4Ljc3NzIyIDE4LjEzOSAxMS40NDA5QzE3LjAzMDMgMTQuMzAzMiAxNC42NjY4IDE3LjE4NDQgOS45OTk5OSAxOC45MzU0QzUuMzMzMiAxNy4xODQ0IDIuOTY5NjggMTQuMzAzMiAxLjg2MDk0IDExLjQ0MDlaIi8+CiAgICA8cGF0aCBjbGFzcz0ianAtaWNvbjIiIGZpbGw9IiMzMzMzMzMiIHN0cm9rZT0iIzMzMzMzMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCA5Ljg2NzE5KSIgZD0iTTIuODYwMTUgNC44NjUzNUwwLjcyNjU0OSAyLjk5OTU5TDAgMy42MzA0NUwyLjg2MDE1IDYuMTMxNTdMOCAwLjYzMDg3Mkw3LjI3ODU3IDBMMi44NjAxNSA0Ljg2NTM1WiIvPgo8L3N2Zz4K);
  --jp-icon-undo: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEyLjUgOGMtMi42NSAwLTUuMDUuOTktNi45IDIuNkwyIDd2OWg5bC0zLjYyLTMuNjJjMS4zOS0xLjE2IDMuMTYtMS44OCA1LjEyLTEuODggMy41NCAwIDYuNTUgMi4zMSA3LjYgNS41bDIuMzctLjc4QzIxLjA4IDExLjAzIDE3LjE1IDggMTIuNSA4eiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-vega: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8ZyBjbGFzcz0ianAtaWNvbjEganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjMjEyMTIxIj4KICAgIDxwYXRoIGQ9Ik0xMC42IDUuNGwyLjItMy4ySDIuMnY3LjNsNC02LjZ6Ii8+CiAgICA8cGF0aCBkPSJNMTUuOCAyLjJsLTQuNCA2LjZMNyA2LjNsLTQuOCA4djUuNWgxNy42VjIuMmgtNHptLTcgMTUuNEg1LjV2LTQuNGgzLjN2NC40em00LjQgMEg5LjhWOS44aDMuNHY3Ljh6bTQuNCAwaC0zLjRWNi41aDMuNHYxMS4xeiIvPgogIDwvZz4KPC9zdmc+Cg==);
  --jp-icon-yaml: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgdmlld0JveD0iMCAwIDIyIDIyIj4KICA8ZyBjbGFzcz0ianAtaWNvbi1jb250cmFzdDIganAtaWNvbi1zZWxlY3RhYmxlIiBmaWxsPSIjRDgxQjYwIj4KICAgIDxwYXRoIGQ9Ik03LjIgMTguNnYtNS40TDMgNS42aDMuM2wxLjQgMy4xYy4zLjkuNiAxLjYgMSAyLjUuMy0uOC42LTEuNiAxLTIuNWwxLjQtMy4xaDMuNGwtNC40IDcuNnY1LjVsLTIuOS0uMXoiLz4KICAgIDxjaXJjbGUgY2xhc3M9InN0MCIgY3g9IjE3LjYiIGN5PSIxNi41IiByPSIyLjEiLz4KICAgIDxjaXJjbGUgY2xhc3M9InN0MCIgY3g9IjE3LjYiIGN5PSIxMSIgcj0iMi4xIi8+CiAgPC9nPgo8L3N2Zz4K);
}

/* Icon CSS class declarations */

.jp-AddIcon {
  background-image: var(--jp-icon-add);
}
.jp-BugIcon {
  background-image: var(--jp-icon-bug);
}
.jp-BuildIcon {
  background-image: var(--jp-icon-build);
}
.jp-CaretDownEmptyIcon {
  background-image: var(--jp-icon-caret-down-empty);
}
.jp-CaretDownEmptyThinIcon {
  background-image: var(--jp-icon-caret-down-empty-thin);
}
.jp-CaretDownIcon {
  background-image: var(--jp-icon-caret-down);
}
.jp-CaretLeftIcon {
  background-image: var(--jp-icon-caret-left);
}
.jp-CaretRightIcon {
  background-image: var(--jp-icon-caret-right);
}
.jp-CaretUpEmptyThinIcon {
  background-image: var(--jp-icon-caret-up-empty-thin);
}
.jp-CaretUpIcon {
  background-image: var(--jp-icon-caret-up);
}
.jp-CaseSensitiveIcon {
  background-image: var(--jp-icon-case-sensitive);
}
.jp-CheckIcon {
  background-image: var(--jp-icon-check);
}
.jp-CircleEmptyIcon {
  background-image: var(--jp-icon-circle-empty);
}
.jp-CircleIcon {
  background-image: var(--jp-icon-circle);
}
.jp-ClearIcon {
  background-image: var(--jp-icon-clear);
}
.jp-CloseIcon {
  background-image: var(--jp-icon-close);
}
.jp-CodeIcon {
  background-image: var(--jp-icon-code);
}
.jp-ConsoleIcon {
  background-image: var(--jp-icon-console);
}
.jp-CopyIcon {
  background-image: var(--jp-icon-copy);
}
.jp-CutIcon {
  background-image: var(--jp-icon-cut);
}
.jp-DownloadIcon {
  background-image: var(--jp-icon-download);
}
.jp-EditIcon {
  background-image: var(--jp-icon-edit);
}
.jp-EllipsesIcon {
  background-image: var(--jp-icon-ellipses);
}
.jp-ExtensionIcon {
  background-image: var(--jp-icon-extension);
}
.jp-FastForwardIcon {
  background-image: var(--jp-icon-fast-forward);
}
.jp-FileIcon {
  background-image: var(--jp-icon-file);
}
.jp-FileUploadIcon {
  background-image: var(--jp-icon-file-upload);
}
.jp-FilterListIcon {
  background-image: var(--jp-icon-filter-list);
}
.jp-FolderIcon {
  background-image: var(--jp-icon-folder);
}
.jp-Html5Icon {
  background-image: var(--jp-icon-html5);
}
.jp-ImageIcon {
  background-image: var(--jp-icon-image);
}
.jp-InspectorIcon {
  background-image: var(--jp-icon-inspector);
}
.jp-JsonIcon {
  background-image: var(--jp-icon-json);
}
.jp-JupyterFaviconIcon {
  background-image: var(--jp-icon-jupyter-favicon);
}
.jp-JupyterIcon {
  background-image: var(--jp-icon-jupyter);
}
.jp-JupyterlabWordmarkIcon {
  background-image: var(--jp-icon-jupyterlab-wordmark);
}
.jp-KernelIcon {
  background-image: var(--jp-icon-kernel);
}
.jp-KeyboardIcon {
  background-image: var(--jp-icon-keyboard);
}
.jp-LauncherIcon {
  background-image: var(--jp-icon-launcher);
}
.jp-LineFormIcon {
  background-image: var(--jp-icon-line-form);
}
.jp-LinkIcon {
  background-image: var(--jp-icon-link);
}
.jp-ListIcon {
  background-image: var(--jp-icon-list);
}
.jp-ListingsInfoIcon {
  background-image: var(--jp-icon-listings-info);
}
.jp-MarkdownIcon {
  background-image: var(--jp-icon-markdown);
}
.jp-NewFolderIcon {
  background-image: var(--jp-icon-new-folder);
}
.jp-NotTrustedIcon {
  background-image: var(--jp-icon-not-trusted);
}
.jp-NotebookIcon {
  background-image: var(--jp-icon-notebook);
}
.jp-NumberingIcon {
  background-image: var(--jp-icon-numbering);
}
.jp-OfflineBoltIcon {
  background-image: var(--jp-icon-offline-bolt);
}
.jp-PaletteIcon {
  background-image: var(--jp-icon-palette);
}
.jp-PasteIcon {
  background-image: var(--jp-icon-paste);
}
.jp-PdfIcon {
  background-image: var(--jp-icon-pdf);
}
.jp-PythonIcon {
  background-image: var(--jp-icon-python);
}
.jp-RKernelIcon {
  background-image: var(--jp-icon-r-kernel);
}
.jp-ReactIcon {
  background-image: var(--jp-icon-react);
}
.jp-RedoIcon {
  background-image: var(--jp-icon-redo);
}
.jp-RefreshIcon {
  background-image: var(--jp-icon-refresh);
}
.jp-RegexIcon {
  background-image: var(--jp-icon-regex);
}
.jp-RunIcon {
  background-image: var(--jp-icon-run);
}
.jp-RunningIcon {
  background-image: var(--jp-icon-running);
}
.jp-SaveIcon {
  background-image: var(--jp-icon-save);
}
.jp-SearchIcon {
  background-image: var(--jp-icon-search);
}
.jp-SettingsIcon {
  background-image: var(--jp-icon-settings);
}
.jp-SpreadsheetIcon {
  background-image: var(--jp-icon-spreadsheet);
}
.jp-StopIcon {
  background-image: var(--jp-icon-stop);
}
.jp-TabIcon {
  background-image: var(--jp-icon-tab);
}
.jp-TableRowsIcon {
  background-image: var(--jp-icon-table-rows);
}
.jp-TagIcon {
  background-image: var(--jp-icon-tag);
}
.jp-TerminalIcon {
  background-image: var(--jp-icon-terminal);
}
.jp-TextEditorIcon {
  background-image: var(--jp-icon-text-editor);
}
.jp-TocIcon {
  background-image: var(--jp-icon-toc);
}
.jp-TreeViewIcon {
  background-image: var(--jp-icon-tree-view);
}
.jp-TrustedIcon {
  background-image: var(--jp-icon-trusted);
}
.jp-UndoIcon {
  background-image: var(--jp-icon-undo);
}
.jp-VegaIcon {
  background-image: var(--jp-icon-vega);
}
.jp-YamlIcon {
  background-image: var(--jp-icon-yaml);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/**
 * (DEPRECATED) Support for consuming icons as CSS background images
 */

:root {
  --jp-icon-search-white: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTggMTgiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGFzcz0ianAtaWNvbjMiIGZpbGw9IiM2MTYxNjEiPgogICAgPHBhdGggZD0iTTEyLjEsMTAuOWgtMC43bC0wLjItMC4yYzAuOC0wLjksMS4zLTIuMiwxLjMtMy41YzAtMy0yLjQtNS40LTUuNC01LjRTMS44LDQuMiwxLjgsNy4xczIuNCw1LjQsNS40LDUuNCBjMS4zLDAsMi41LTAuNSwzLjUtMS4zbDAuMiwwLjJ2MC43bDQuMSw0LjFsMS4yLTEuMkwxMi4xLDEwLjl6IE03LjEsMTAuOWMtMi4xLDAtMy43LTEuNy0zLjctMy43czEuNy0zLjcsMy43LTMuN3MzLjcsMS43LDMuNywzLjcgUzkuMiwxMC45LDcuMSwxMC45eiIvPgogIDwvZz4KPC9zdmc+Cg==);
}

.jp-Icon,
.jp-MaterialIcon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  min-width: 16px;
  min-height: 16px;
}

.jp-Icon-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/**
 * (DEPRECATED) Support for specific CSS icon sizes
 */

.jp-Icon-16 {
  background-size: 16px;
  min-width: 16px;
  min-height: 16px;
}

.jp-Icon-18 {
  background-size: 18px;
  min-width: 18px;
  min-height: 18px;
}

.jp-Icon-20 {
  background-size: 20px;
  min-width: 20px;
  min-height: 20px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/**
 * Support for icons as inline SVG HTMLElements
 */

/* recolor the primary elements of an icon */
.jp-icon0[fill] {
  fill: var(--jp-inverse-layout-color0);
}
.jp-icon1[fill] {
  fill: var(--jp-inverse-layout-color1);
}
.jp-icon2[fill] {
  fill: var(--jp-inverse-layout-color2);
}
.jp-icon3[fill] {
  fill: var(--jp-inverse-layout-color3);
}
.jp-icon4[fill] {
  fill: var(--jp-inverse-layout-color4);
}

.jp-icon0[stroke] {
  stroke: var(--jp-inverse-layout-color0);
}
.jp-icon1[stroke] {
  stroke: var(--jp-inverse-layout-color1);
}
.jp-icon2[stroke] {
  stroke: var(--jp-inverse-layout-color2);
}
.jp-icon3[stroke] {
  stroke: var(--jp-inverse-layout-color3);
}
.jp-icon4[stroke] {
  stroke: var(--jp-inverse-layout-color4);
}
/* recolor the accent elements of an icon */
.jp-icon-accent0[fill] {
  fill: var(--jp-layout-color0);
}
.jp-icon-accent1[fill] {
  fill: var(--jp-layout-color1);
}
.jp-icon-accent2[fill] {
  fill: var(--jp-layout-color2);
}
.jp-icon-accent3[fill] {
  fill: var(--jp-layout-color3);
}
.jp-icon-accent4[fill] {
  fill: var(--jp-layout-color4);
}

.jp-icon-accent0[stroke] {
  stroke: var(--jp-layout-color0);
}
.jp-icon-accent1[stroke] {
  stroke: var(--jp-layout-color1);
}
.jp-icon-accent2[stroke] {
  stroke: var(--jp-layout-color2);
}
.jp-icon-accent3[stroke] {
  stroke: var(--jp-layout-color3);
}
.jp-icon-accent4[stroke] {
  stroke: var(--jp-layout-color4);
}
/* set the color of an icon to transparent */
.jp-icon-none[fill] {
  fill: none;
}

.jp-icon-none[stroke] {
  stroke: none;
}
/* brand icon colors. Same for light and dark */
.jp-icon-brand0[fill] {
  fill: var(--jp-brand-color0);
}
.jp-icon-brand1[fill] {
  fill: var(--jp-brand-color1);
}
.jp-icon-brand2[fill] {
  fill: var(--jp-brand-color2);
}
.jp-icon-brand3[fill] {
  fill: var(--jp-brand-color3);
}
.jp-icon-brand4[fill] {
  fill: var(--jp-brand-color4);
}

.jp-icon-brand0[stroke] {
  stroke: var(--jp-brand-color0);
}
.jp-icon-brand1[stroke] {
  stroke: var(--jp-brand-color1);
}
.jp-icon-brand2[stroke] {
  stroke: var(--jp-brand-color2);
}
.jp-icon-brand3[stroke] {
  stroke: var(--jp-brand-color3);
}
.jp-icon-brand4[stroke] {
  stroke: var(--jp-brand-color4);
}
/* warn icon colors. Same for light and dark */
.jp-icon-warn0[fill] {
  fill: var(--jp-warn-color0);
}
.jp-icon-warn1[fill] {
  fill: var(--jp-warn-color1);
}
.jp-icon-warn2[fill] {
  fill: var(--jp-warn-color2);
}
.jp-icon-warn3[fill] {
  fill: var(--jp-warn-color3);
}

.jp-icon-warn0[stroke] {
  stroke: var(--jp-warn-color0);
}
.jp-icon-warn1[stroke] {
  stroke: var(--jp-warn-color1);
}
.jp-icon-warn2[stroke] {
  stroke: var(--jp-warn-color2);
}
.jp-icon-warn3[stroke] {
  stroke: var(--jp-warn-color3);
}
/* icon colors that contrast well with each other and most backgrounds */
.jp-icon-contrast0[fill] {
  fill: var(--jp-icon-contrast-color0);
}
.jp-icon-contrast1[fill] {
  fill: var(--jp-icon-contrast-color1);
}
.jp-icon-contrast2[fill] {
  fill: var(--jp-icon-contrast-color2);
}
.jp-icon-contrast3[fill] {
  fill: var(--jp-icon-contrast-color3);
}

.jp-icon-contrast0[stroke] {
  stroke: var(--jp-icon-contrast-color0);
}
.jp-icon-contrast1[stroke] {
  stroke: var(--jp-icon-contrast-color1);
}
.jp-icon-contrast2[stroke] {
  stroke: var(--jp-icon-contrast-color2);
}
.jp-icon-contrast3[stroke] {
  stroke: var(--jp-icon-contrast-color3);
}

/* CSS for icons in selected items in the settings editor */
#setting-editor .jp-PluginList .jp-mod-selected .jp-icon-selectable[fill] {
  fill: #fff;
}
#setting-editor
  .jp-PluginList
  .jp-mod-selected
  .jp-icon-selectable-inverse[fill] {
  fill: var(--jp-brand-color1);
}

/* CSS for icons in selected filebrowser listing items */
.jp-DirListing-item.jp-mod-selected .jp-icon-selectable[fill] {
  fill: #fff;
}
.jp-DirListing-item.jp-mod-selected .jp-icon-selectable-inverse[fill] {
  fill: var(--jp-brand-color1);
}

/* CSS for icons in selected tabs in the sidebar tab manager */
#tab-manager .lm-TabBar-tab.jp-mod-active .jp-icon-selectable[fill] {
  fill: #fff;
}

#tab-manager .lm-TabBar-tab.jp-mod-active .jp-icon-selectable-inverse[fill] {
  fill: var(--jp-brand-color1);
}
#tab-manager
  .lm-TabBar-tab.jp-mod-active
  .jp-icon-hover
  :hover
  .jp-icon-selectable[fill] {
  fill: var(--jp-brand-color1);
}

#tab-manager
  .lm-TabBar-tab.jp-mod-active
  .jp-icon-hover
  :hover
  .jp-icon-selectable-inverse[fill] {
  fill: #fff;
}

/**
 * TODO: come up with non css-hack solution for showing the busy icon on top
 *  of the close icon
 * CSS for complex behavior of close icon of tabs in the sidebar tab manager
 */
#tab-manager
  .lm-TabBar-tab.jp-mod-dirty
  > .lm-TabBar-tabCloseIcon
  > :not(:hover)
  > .jp-icon3[fill] {
  fill: none;
}
#tab-manager
  .lm-TabBar-tab.jp-mod-dirty
  > .lm-TabBar-tabCloseIcon
  > :not(:hover)
  > .jp-icon-busy[fill] {
  fill: var(--jp-inverse-layout-color3);
}

#tab-manager
  .lm-TabBar-tab.jp-mod-dirty.jp-mod-active
  > .lm-TabBar-tabCloseIcon
  > :not(:hover)
  > .jp-icon-busy[fill] {
  fill: #fff;
}

/**
* TODO: come up with non css-hack solution for showing the busy icon on top
*  of the close icon
* CSS for complex behavior of close icon of tabs in the main area tabbar
*/
.lm-DockPanel-tabBar
  .lm-TabBar-tab.lm-mod-closable.jp-mod-dirty
  > .lm-TabBar-tabCloseIcon
  > :not(:hover)
  > .jp-icon3[fill] {
  fill: none;
}
.lm-DockPanel-tabBar
  .lm-TabBar-tab.lm-mod-closable.jp-mod-dirty
  > .lm-TabBar-tabCloseIcon
  > :not(:hover)
  > .jp-icon-busy[fill] {
  fill: var(--jp-inverse-layout-color3);
}

/* CSS for icons in status bar */
#jp-main-statusbar .jp-mod-selected .jp-icon-selectable[fill] {
  fill: #fff;
}

#jp-main-statusbar .jp-mod-selected .jp-icon-selectable-inverse[fill] {
  fill: var(--jp-brand-color1);
}
/* special handling for splash icon CSS. While the theme CSS reloads during
   splash, the splash icon can loose theming. To prevent that, we set a
   default for its color variable */
:root {
  --jp-warn-color0: var(--md-orange-700);
}

/* not sure what to do with this one, used in filebrowser listing */
.jp-DragIcon {
  margin-right: 4px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/**
 * Support for alt colors for icons as inline SVG HTMLElements
 */

/* alt recolor the primary elements of an icon */
.jp-icon-alt .jp-icon0[fill] {
  fill: var(--jp-layout-color0);
}
.jp-icon-alt .jp-icon1[fill] {
  fill: var(--jp-layout-color1);
}
.jp-icon-alt .jp-icon2[fill] {
  fill: var(--jp-layout-color2);
}
.jp-icon-alt .jp-icon3[fill] {
  fill: var(--jp-layout-color3);
}
.jp-icon-alt .jp-icon4[fill] {
  fill: var(--jp-layout-color4);
}

.jp-icon-alt .jp-icon0[stroke] {
  stroke: var(--jp-layout-color0);
}
.jp-icon-alt .jp-icon1[stroke] {
  stroke: var(--jp-layout-color1);
}
.jp-icon-alt .jp-icon2[stroke] {
  stroke: var(--jp-layout-color2);
}
.jp-icon-alt .jp-icon3[stroke] {
  stroke: var(--jp-layout-color3);
}
.jp-icon-alt .jp-icon4[stroke] {
  stroke: var(--jp-layout-color4);
}

/* alt recolor the accent elements of an icon */
.jp-icon-alt .jp-icon-accent0[fill] {
  fill: var(--jp-inverse-layout-color0);
}
.jp-icon-alt .jp-icon-accent1[fill] {
  fill: var(--jp-inverse-layout-color1);
}
.jp-icon-alt .jp-icon-accent2[fill] {
  fill: var(--jp-inverse-layout-color2);
}
.jp-icon-alt .jp-icon-accent3[fill] {
  fill: var(--jp-inverse-layout-color3);
}
.jp-icon-alt .jp-icon-accent4[fill] {
  fill: var(--jp-inverse-layout-color4);
}

.jp-icon-alt .jp-icon-accent0[stroke] {
  stroke: var(--jp-inverse-layout-color0);
}
.jp-icon-alt .jp-icon-accent1[stroke] {
  stroke: var(--jp-inverse-layout-color1);
}
.jp-icon-alt .jp-icon-accent2[stroke] {
  stroke: var(--jp-inverse-layout-color2);
}
.jp-icon-alt .jp-icon-accent3[stroke] {
  stroke: var(--jp-inverse-layout-color3);
}
.jp-icon-alt .jp-icon-accent4[stroke] {
  stroke: var(--jp-inverse-layout-color4);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-icon-hoverShow:not(:hover) svg {
  display: none !important;
}

/**
 * Support for hover colors for icons as inline SVG HTMLElements
 */

/**
 * regular colors
 */

/* recolor the primary elements of an icon */
.jp-icon-hover :hover .jp-icon0-hover[fill] {
  fill: var(--jp-inverse-layout-color0);
}
.jp-icon-hover :hover .jp-icon1-hover[fill] {
  fill: var(--jp-inverse-layout-color1);
}
.jp-icon-hover :hover .jp-icon2-hover[fill] {
  fill: var(--jp-inverse-layout-color2);
}
.jp-icon-hover :hover .jp-icon3-hover[fill] {
  fill: var(--jp-inverse-layout-color3);
}
.jp-icon-hover :hover .jp-icon4-hover[fill] {
  fill: var(--jp-inverse-layout-color4);
}

.jp-icon-hover :hover .jp-icon0-hover[stroke] {
  stroke: var(--jp-inverse-layout-color0);
}
.jp-icon-hover :hover .jp-icon1-hover[stroke] {
  stroke: var(--jp-inverse-layout-color1);
}
.jp-icon-hover :hover .jp-icon2-hover[stroke] {
  stroke: var(--jp-inverse-layout-color2);
}
.jp-icon-hover :hover .jp-icon3-hover[stroke] {
  stroke: var(--jp-inverse-layout-color3);
}
.jp-icon-hover :hover .jp-icon4-hover[stroke] {
  stroke: var(--jp-inverse-layout-color4);
}

/* recolor the accent elements of an icon */
.jp-icon-hover :hover .jp-icon-accent0-hover[fill] {
  fill: var(--jp-layout-color0);
}
.jp-icon-hover :hover .jp-icon-accent1-hover[fill] {
  fill: var(--jp-layout-color1);
}
.jp-icon-hover :hover .jp-icon-accent2-hover[fill] {
  fill: var(--jp-layout-color2);
}
.jp-icon-hover :hover .jp-icon-accent3-hover[fill] {
  fill: var(--jp-layout-color3);
}
.jp-icon-hover :hover .jp-icon-accent4-hover[fill] {
  fill: var(--jp-layout-color4);
}

.jp-icon-hover :hover .jp-icon-accent0-hover[stroke] {
  stroke: var(--jp-layout-color0);
}
.jp-icon-hover :hover .jp-icon-accent1-hover[stroke] {
  stroke: var(--jp-layout-color1);
}
.jp-icon-hover :hover .jp-icon-accent2-hover[stroke] {
  stroke: var(--jp-layout-color2);
}
.jp-icon-hover :hover .jp-icon-accent3-hover[stroke] {
  stroke: var(--jp-layout-color3);
}
.jp-icon-hover :hover .jp-icon-accent4-hover[stroke] {
  stroke: var(--jp-layout-color4);
}

/* set the color of an icon to transparent */
.jp-icon-hover :hover .jp-icon-none-hover[fill] {
  fill: none;
}

.jp-icon-hover :hover .jp-icon-none-hover[stroke] {
  stroke: none;
}

/**
 * inverse colors
 */

/* inverse recolor the primary elements of an icon */
.jp-icon-hover.jp-icon-alt :hover .jp-icon0-hover[fill] {
  fill: var(--jp-layout-color0);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon1-hover[fill] {
  fill: var(--jp-layout-color1);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon2-hover[fill] {
  fill: var(--jp-layout-color2);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon3-hover[fill] {
  fill: var(--jp-layout-color3);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon4-hover[fill] {
  fill: var(--jp-layout-color4);
}

.jp-icon-hover.jp-icon-alt :hover .jp-icon0-hover[stroke] {
  stroke: var(--jp-layout-color0);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon1-hover[stroke] {
  stroke: var(--jp-layout-color1);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon2-hover[stroke] {
  stroke: var(--jp-layout-color2);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon3-hover[stroke] {
  stroke: var(--jp-layout-color3);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon4-hover[stroke] {
  stroke: var(--jp-layout-color4);
}

/* inverse recolor the accent elements of an icon */
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent0-hover[fill] {
  fill: var(--jp-inverse-layout-color0);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent1-hover[fill] {
  fill: var(--jp-inverse-layout-color1);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent2-hover[fill] {
  fill: var(--jp-inverse-layout-color2);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent3-hover[fill] {
  fill: var(--jp-inverse-layout-color3);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent4-hover[fill] {
  fill: var(--jp-inverse-layout-color4);
}

.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent0-hover[stroke] {
  stroke: var(--jp-inverse-layout-color0);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent1-hover[stroke] {
  stroke: var(--jp-inverse-layout-color1);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent2-hover[stroke] {
  stroke: var(--jp-inverse-layout-color2);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent3-hover[stroke] {
  stroke: var(--jp-inverse-layout-color3);
}
.jp-icon-hover.jp-icon-alt :hover .jp-icon-accent4-hover[stroke] {
  stroke: var(--jp-inverse-layout-color4);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-switch {
  display: flex;
  align-items: center;
  padding-left: 4px;
  padding-right: 4px;
  font-size: var(--jp-ui-font-size1);
  background-color: transparent;
  color: var(--jp-ui-font-color1);
  border: none;
  height: 20px;
}

.jp-switch:hover {
  background-color: var(--jp-layout-color2);
}

.jp-switch-label {
  margin-right: 5px;
}

.jp-switch-track {
  cursor: pointer;
  background-color: var(--jp-border-color1);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
  height: 16px;
  width: 35px;
  position: relative;
}

.jp-switch-track::before {
  content: '';
  position: absolute;
  height: 10px;
  width: 10px;
  margin: 3px;
  left: 0px;
  background-color: var(--jp-ui-inverse-font-color1);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.jp-switch[aria-checked='true'] .jp-switch-track {
  background-color: var(--jp-warn-color0);
}

.jp-switch[aria-checked='true'] .jp-switch-track::before {
  /* track width (35) - margins (3 + 3) - thumb width (10) */
  left: 19px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/* Sibling imports */

/* Override Blueprint's _reset.scss styles */
html {
  box-sizing: unset;
}

*,
*::before,
*::after {
  box-sizing: unset;
}

body {
  color: unset;
  font-family: var(--jp-ui-font-family);
}

p {
  margin-top: unset;
  margin-bottom: unset;
}

small {
  font-size: unset;
}

strong {
  font-weight: unset;
}

/* Override Blueprint's _typography.scss styles */
a {
  text-decoration: unset;
  color: unset;
}
a:hover {
  text-decoration: unset;
  color: unset;
}

/* Override Blueprint's _accessibility.scss styles */
:focus {
  outline: unset;
  outline-offset: unset;
  -moz-outline-radius: unset;
}

/* Styles for ui-components */
.jp-Button {
  border-radius: var(--jp-border-radius);
  padding: 0px 12px;
  font-size: var(--jp-ui-font-size1);
}

/* Use our own theme for hover styles */
button.jp-Button.bp3-button.bp3-minimal:hover {
  background-color: var(--jp-layout-color2);
}
.jp-Button.minimal {
  color: unset !important;
}

.jp-Button.jp-ToolbarButtonComponent {
  text-transform: none;
}

.jp-InputGroup input {
  box-sizing: border-box;
  border-radius: 0;
  background-color: transparent;
  color: var(--jp-ui-font-color0);
  box-shadow: inset 0 0 0 var(--jp-border-width) var(--jp-input-border-color);
}

.jp-InputGroup input:focus {
  box-shadow: inset 0 0 0 var(--jp-border-width)
      var(--jp-input-active-box-shadow-color),
    inset 0 0 0 3px var(--jp-input-active-box-shadow-color);
}

.jp-InputGroup input::placeholder,
input::placeholder {
  color: var(--jp-ui-font-color3);
}

.jp-BPIcon {
  display: inline-block;
  vertical-align: middle;
  margin: auto;
}

/* Stop blueprint futzing with our icon fills */
.bp3-icon.jp-BPIcon > svg:not([fill]) {
  fill: var(--jp-inverse-layout-color3);
}

.jp-InputGroupAction {
  padding: 6px;
}

.jp-HTMLSelect.jp-DefaultStyle select {
  background-color: initial;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--jp-ui-font-color0);
  display: block;
  font-size: var(--jp-ui-font-size1);
  height: 24px;
  line-height: 14px;
  padding: 0 25px 0 10px;
  text-align: left;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/* Use our own theme for hover and option styles */
.jp-HTMLSelect.jp-DefaultStyle select:hover,
.jp-HTMLSelect.jp-DefaultStyle select > option {
  background-color: var(--jp-layout-color2);
  color: var(--jp-ui-font-color0);
}
select {
  box-sizing: border-box;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Collapse {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--jp-border-color2);
  border-bottom: 1px solid var(--jp-border-color2);
}

.jp-Collapse-header {
  padding: 1px 12px;
  color: var(--jp-ui-font-color1);
  background-color: var(--jp-layout-color1);
  font-size: var(--jp-ui-font-size2);
}

.jp-Collapse-header:hover {
  background-color: var(--jp-layout-color2);
}

.jp-Collapse-contents {
  padding: 0px 12px 0px 12px;
  background-color: var(--jp-layout-color1);
  color: var(--jp-ui-font-color1);
  overflow: auto;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Variables
|----------------------------------------------------------------------------*/

:root {
  --jp-private-commandpalette-search-height: 28px;
}

/*-----------------------------------------------------------------------------
| Overall styles
|----------------------------------------------------------------------------*/

.lm-CommandPalette {
  padding-bottom: 0px;
  color: var(--jp-ui-font-color1);
  background: var(--jp-layout-color1);
  /* This is needed so that all font sizing of children done in ems is
   * relative to this base size */
  font-size: var(--jp-ui-font-size1);
}

/*-----------------------------------------------------------------------------
| Modal variant
|----------------------------------------------------------------------------*/

.jp-ModalCommandPalette {
  position: absolute;
  z-index: 10000;
  top: 38px;
  left: 30%;
  margin: 0;
  padding: 4px;
  width: 40%;
  box-shadow: var(--jp-elevation-z4);
  border-radius: 4px;
  background: var(--jp-layout-color0);
}

.jp-ModalCommandPalette .lm-CommandPalette {
  max-height: 40vh;
}

.jp-ModalCommandPalette .lm-CommandPalette .lm-close-icon::after {
  display: none;
}

.jp-ModalCommandPalette .lm-CommandPalette .lm-CommandPalette-header {
  display: none;
}

.jp-ModalCommandPalette .lm-CommandPalette .lm-CommandPalette-item {
  margin-left: 4px;
  margin-right: 4px;
}

.jp-ModalCommandPalette
  .lm-CommandPalette
  .lm-CommandPalette-item.lm-mod-disabled {
  display: none;
}

/*-----------------------------------------------------------------------------
| Search
|----------------------------------------------------------------------------*/

.lm-CommandPalette-search {
  padding: 4px;
  background-color: var(--jp-layout-color1);
  z-index: 2;
}

.lm-CommandPalette-wrapper {
  overflow: overlay;
  padding: 0px 9px;
  background-color: var(--jp-input-active-background);
  height: 30px;
  box-shadow: inset 0 0 0 var(--jp-border-width) var(--jp-input-border-color);
}

.lm-CommandPalette.lm-mod-focused .lm-CommandPalette-wrapper {
  box-shadow: inset 0 0 0 1px var(--jp-input-active-box-shadow-color),
    inset 0 0 0 3px var(--jp-input-active-box-shadow-color);
}

.lm-CommandPalette-wrapper::after {
  content: ' ';
  color: white;
  background-color: var(--jp-brand-color1);
  position: absolute;
  top: 4px;
  right: 4px;
  height: 30px;
  width: 10px;
  padding: 0px 10px;
  background-image: var(--jp-icon-search-white);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.lm-CommandPalette-input {
  background: transparent;
  width: calc(100% - 18px);
  float: left;
  border: none;
  outline: none;
  font-size: var(--jp-ui-font-size1);
  color: var(--jp-ui-font-color0);
  line-height: var(--jp-private-commandpalette-search-height);
}

.lm-CommandPalette-input::-webkit-input-placeholder,
.lm-CommandPalette-input::-moz-placeholder,
.lm-CommandPalette-input:-ms-input-placeholder {
  color: var(--jp-ui-font-color3);
  font-size: var(--jp-ui-font-size1);
}

/*-----------------------------------------------------------------------------
| Results
|----------------------------------------------------------------------------*/

.lm-CommandPalette-header:first-child {
  margin-top: 0px;
}

.lm-CommandPalette-header {
  border-bottom: solid var(--jp-border-width) var(--jp-border-color2);
  color: var(--jp-ui-font-color1);
  cursor: pointer;
  display: flex;
  font-size: var(--jp-ui-font-size0);
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 8px;
  padding: 8px 0 8px 12px;
  text-transform: uppercase;
}

.lm-CommandPalette-header.lm-mod-active {
  background: var(--jp-layout-color2);
}

.lm-CommandPalette-header > mark {
  background-color: transparent;
  font-weight: bold;
  color: var(--jp-ui-font-color1);
}

.lm-CommandPalette-item {
  padding: 4px 12px 4px 4px;
  color: var(--jp-ui-font-color1);
  font-size: var(--jp-ui-font-size1);
  font-weight: 400;
  display: flex;
}

.lm-CommandPalette-item.lm-mod-disabled {
  color: var(--jp-ui-font-color3);
}

.lm-CommandPalette-item.lm-mod-active {
  background: var(--jp-layout-color3);
}

.lm-CommandPalette-item.lm-mod-active:hover:not(.lm-mod-disabled) {
  background: var(--jp-layout-color4);
}

.lm-CommandPalette-item:hover:not(.lm-mod-active):not(.lm-mod-disabled) {
  background: var(--jp-layout-color2);
}

.lm-CommandPalette-itemContent {
  overflow: hidden;
}

.lm-CommandPalette-itemLabel > mark {
  color: var(--jp-ui-font-color0);
  background-color: transparent;
  font-weight: bold;
}

.lm-CommandPalette-item.lm-mod-disabled mark {
  color: var(--jp-ui-font-color3);
}

.lm-CommandPalette-item .lm-CommandPalette-itemIcon {
  margin: 0 4px 0 0;
  position: relative;
  width: 16px;
  top: 2px;
  flex: 0 0 auto;
}

.lm-CommandPalette-item.lm-mod-disabled .lm-CommandPalette-itemIcon {
  opacity: 0.4;
}

.lm-CommandPalette-item .lm-CommandPalette-itemShortcut {
  flex: 0 0 auto;
}

.lm-CommandPalette-itemCaption {
  display: none;
}

.lm-CommandPalette-content {
  background-color: var(--jp-layout-color1);
}

.lm-CommandPalette-content:empty:after {
  content: 'No results';
  margin: auto;
  margin-top: 20px;
  width: 100px;
  display: block;
  font-size: var(--jp-ui-font-size2);
  font-family: var(--jp-ui-font-family);
  font-weight: lighter;
}

.lm-CommandPalette-emptyMessage {
  text-align: center;
  margin-top: 24px;
  line-height: 1.32;
  padding: 0px 8px;
  color: var(--jp-content-font-color3);
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Dialog {
  position: absolute;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0px;
  left: 0px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--jp-dialog-background);
}

.jp-Dialog-content {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  background: var(--jp-layout-color1);
  padding: 24px;
  padding-bottom: 12px;
  min-width: 300px;
  min-height: 150px;
  max-width: 1000px;
  max-height: 500px;
  box-sizing: border-box;
  box-shadow: var(--jp-elevation-z20);
  word-wrap: break-word;
  border-radius: var(--jp-border-radius);
  /* This is needed so that all font sizing of children done in ems is
   * relative to this base size */
  font-size: var(--jp-ui-font-size1);
  color: var(--jp-ui-font-color1);
  resize: both;
}

.jp-Dialog-button {
  overflow: visible;
}

button.jp-Dialog-button:focus {
  outline: 1px solid var(--jp-brand-color1);
  outline-offset: 4px;
  -moz-outline-radius: 0px;
}

button.jp-Dialog-button:focus::-moz-focus-inner {
  border: 0;
}

button.jp-Dialog-close-button {
  padding: 0;
  height: 100%;
  min-width: unset;
  min-height: unset;
}

.jp-Dialog-header {
  display: flex;
  justify-content: space-between;
  flex: 0 0 auto;
  padding-bottom: 12px;
  font-size: var(--jp-ui-font-size3);
  font-weight: 400;
  color: var(--jp-ui-font-color0);
}

.jp-Dialog-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  font-size: var(--jp-ui-font-size1);
  background: var(--jp-layout-color1);
  overflow: auto;
}

.jp-Dialog-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: -12px;
  margin-right: -12px;
  padding: 12px;
}

.jp-Dialog-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jp-Dialog-body > .jp-select-wrapper {
  width: 100%;
}

.jp-Dialog-body > button {
  padding: 0px 16px;
}

.jp-Dialog-body > label {
  line-height: 1.4;
  color: var(--jp-ui-font-color0);
}

.jp-Dialog-button.jp-mod-styled:not(:last-child) {
  margin-right: 12px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-HoverBox {
  position: fixed;
}

.jp-HoverBox.jp-mod-outofview {
  display: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-IFrame {
  width: 100%;
  height: 100%;
}

.jp-IFrame > iframe {
  border: none;
}

/*
When drag events occur, `p-mod-override-cursor` is added to the body.
Because iframes steal all cursor events, the following two rules are necessary
to suppress pointer events while resize drags are occurring. There may be a
better solution to this problem.
*/
body.lm-mod-override-cursor .jp-IFrame {
  position: relative;
}

body.lm-mod-override-cursor .jp-IFrame:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-MainAreaWidget > :focus {
  outline: none;
}

/**
 * google-material-color v1.2.6
 * https://github.com/danlevan/google-material-color
 */
:root {
  --md-red-50: #ffebee;
  --md-red-100: #ffcdd2;
  --md-red-200: #ef9a9a;
  --md-red-300: #e57373;
  --md-red-400: #ef5350;
  --md-red-500: #f44336;
  --md-red-600: #e53935;
  --md-red-700: #d32f2f;
  --md-red-800: #c62828;
  --md-red-900: #b71c1c;
  --md-red-A100: #ff8a80;
  --md-red-A200: #ff5252;
  --md-red-A400: #ff1744;
  --md-red-A700: #d50000;

  --md-pink-50: #fce4ec;
  --md-pink-100: #f8bbd0;
  --md-pink-200: #f48fb1;
  --md-pink-300: #f06292;
  --md-pink-400: #ec407a;
  --md-pink-500: #e91e63;
  --md-pink-600: #d81b60;
  --md-pink-700: #c2185b;
  --md-pink-800: #ad1457;
  --md-pink-900: #880e4f;
  --md-pink-A100: #ff80ab;
  --md-pink-A200: #ff4081;
  --md-pink-A400: #f50057;
  --md-pink-A700: #c51162;

  --md-purple-50: #f3e5f5;
  --md-purple-100: #e1bee7;
  --md-purple-200: #ce93d8;
  --md-purple-300: #ba68c8;
  --md-purple-400: #ab47bc;
  --md-purple-500: #9c27b0;
  --md-purple-600: #8e24aa;
  --md-purple-700: #7b1fa2;
  --md-purple-800: #6a1b9a;
  --md-purple-900: #4a148c;
  --md-purple-A100: #ea80fc;
  --md-purple-A200: #e040fb;
  --md-purple-A400: #d500f9;
  --md-purple-A700: #aa00ff;

  --md-deep-purple-50: #ede7f6;
  --md-deep-purple-100: #d1c4e9;
  --md-deep-purple-200: #b39ddb;
  --md-deep-purple-300: #9575cd;
  --md-deep-purple-400: #7e57c2;
  --md-deep-purple-500: #673ab7;
  --md-deep-purple-600: #5e35b1;
  --md-deep-purple-700: #512da8;
  --md-deep-purple-800: #4527a0;
  --md-deep-purple-900: #311b92;
  --md-deep-purple-A100: #b388ff;
  --md-deep-purple-A200: #7c4dff;
  --md-deep-purple-A400: #651fff;
  --md-deep-purple-A700: #6200ea;

  --md-indigo-50: #e8eaf6;
  --md-indigo-100: #c5cae9;
  --md-indigo-200: #9fa8da;
  --md-indigo-300: #7986cb;
  --md-indigo-400: #5c6bc0;
  --md-indigo-500: #3f51b5;
  --md-indigo-600: #3949ab;
  --md-indigo-700: #303f9f;
  --md-indigo-800: #283593;
  --md-indigo-900: #1a237e;
  --md-indigo-A100: #8c9eff;
  --md-indigo-A200: #536dfe;
  --md-indigo-A400: #3d5afe;
  --md-indigo-A700: #304ffe;

  --md-blue-50: #e3f2fd;
  --md-blue-100: #bbdefb;
  --md-blue-200: #90caf9;
  --md-blue-300: #64b5f6;
  --md-blue-400: #42a5f5;
  --md-blue-500: #2196f3;
  --md-blue-600: #1e88e5;
  --md-blue-700: #1976d2;
  --md-blue-800: #1565c0;
  --md-blue-900: #0d47a1;
  --md-blue-A100: #82b1ff;
  --md-blue-A200: #448aff;
  --md-blue-A400: #2979ff;
  --md-blue-A700: #2962ff;

  --md-light-blue-50: #e1f5fe;
  --md-light-blue-100: #b3e5fc;
  --md-light-blue-200: #81d4fa;
  --md-light-blue-300: #4fc3f7;
  --md-light-blue-400: #29b6f6;
  --md-light-blue-500: #03a9f4;
  --md-light-blue-600: #039be5;
  --md-light-blue-700: #0288d1;
  --md-light-blue-800: #0277bd;
  --md-light-blue-900: #01579b;
  --md-light-blue-A100: #80d8ff;
  --md-light-blue-A200: #40c4ff;
  --md-light-blue-A400: #00b0ff;
  --md-light-blue-A700: #0091ea;

  --md-cyan-50: #e0f7fa;
  --md-cyan-100: #b2ebf2;
  --md-cyan-200: #80deea;
  --md-cyan-300: #4dd0e1;
  --md-cyan-400: #26c6da;
  --md-cyan-500: #00bcd4;
  --md-cyan-600: #00acc1;
  --md-cyan-700: #0097a7;
  --md-cyan-800: #00838f;
  --md-cyan-900: #006064;
  --md-cyan-A100: #84ffff;
  --md-cyan-A200: #18ffff;
  --md-cyan-A400: #00e5ff;
  --md-cyan-A700: #00b8d4;

  --md-teal-50: #e0f2f1;
  --md-teal-100: #b2dfdb;
  --md-teal-200: #80cbc4;
  --md-teal-300: #4db6ac;
  --md-teal-400: #26a69a;
  --md-teal-500: #009688;
  --md-teal-600: #00897b;
  --md-teal-700: #00796b;
  --md-teal-800: #00695c;
  --md-teal-900: #004d40;
  --md-teal-A100: #a7ffeb;
  --md-teal-A200: #64ffda;
  --md-teal-A400: #1de9b6;
  --md-teal-A700: #00bfa5;

  --md-green-50: #e8f5e9;
  --md-green-100: #c8e6c9;
  --md-green-200: #a5d6a7;
  --md-green-300: #81c784;
  --md-green-400: #66bb6a;
  --md-green-500: #4caf50;
  --md-green-600: #43a047;
  --md-green-700: #388e3c;
  --md-green-800: #2e7d32;
  --md-green-900: #1b5e20;
  --md-green-A100: #b9f6ca;
  --md-green-A200: #69f0ae;
  --md-green-A400: #00e676;
  --md-green-A700: #00c853;

  --md-light-green-50: #f1f8e9;
  --md-light-green-100: #dcedc8;
  --md-light-green-200: #c5e1a5;
  --md-light-green-300: #aed581;
  --md-light-green-400: #9ccc65;
  --md-light-green-500: #8bc34a;
  --md-light-green-600: #7cb342;
  --md-light-green-700: #689f38;
  --md-light-green-800: #558b2f;
  --md-light-green-900: #33691e;
  --md-light-green-A100: #ccff90;
  --md-light-green-A200: #b2ff59;
  --md-light-green-A400: #76ff03;
  --md-light-green-A700: #64dd17;

  --md-lime-50: #f9fbe7;
  --md-lime-100: #f0f4c3;
  --md-lime-200: #e6ee9c;
  --md-lime-300: #dce775;
  --md-lime-400: #d4e157;
  --md-lime-500: #cddc39;
  --md-lime-600: #c0ca33;
  --md-lime-700: #afb42b;
  --md-lime-800: #9e9d24;
  --md-lime-900: #827717;
  --md-lime-A100: #f4ff81;
  --md-lime-A200: #eeff41;
  --md-lime-A400: #c6ff00;
  --md-lime-A700: #aeea00;

  --md-yellow-50: #fffde7;
  --md-yellow-100: #fff9c4;
  --md-yellow-200: #fff59d;
  --md-yellow-300: #fff176;
  --md-yellow-400: #ffee58;
  --md-yellow-500: #ffeb3b;
  --md-yellow-600: #fdd835;
  --md-yellow-700: #fbc02d;
  --md-yellow-800: #f9a825;
  --md-yellow-900: #f57f17;
  --md-yellow-A100: #ffff8d;
  --md-yellow-A200: #ffff00;
  --md-yellow-A400: #ffea00;
  --md-yellow-A700: #ffd600;

  --md-amber-50: #fff8e1;
  --md-amber-100: #ffecb3;
  --md-amber-200: #ffe082;
  --md-amber-300: #ffd54f;
  --md-amber-400: #ffca28;
  --md-amber-500: #ffc107;
  --md-amber-600: #ffb300;
  --md-amber-700: #ffa000;
  --md-amber-800: #ff8f00;
  --md-amber-900: #ff6f00;
  --md-amber-A100: #ffe57f;
  --md-amber-A200: #ffd740;
  --md-amber-A400: #ffc400;
  --md-amber-A700: #ffab00;

  --md-orange-50: #fff3e0;
  --md-orange-100: #ffe0b2;
  --md-orange-200: #ffcc80;
  --md-orange-300: #ffb74d;
  --md-orange-400: #ffa726;
  --md-orange-500: #ff9800;
  --md-orange-600: #fb8c00;
  --md-orange-700: #f57c00;
  --md-orange-800: #ef6c00;
  --md-orange-900: #e65100;
  --md-orange-A100: #ffd180;
  --md-orange-A200: #ffab40;
  --md-orange-A400: #ff9100;
  --md-orange-A700: #ff6d00;

  --md-deep-orange-50: #fbe9e7;
  --md-deep-orange-100: #ffccbc;
  --md-deep-orange-200: #ffab91;
  --md-deep-orange-300: #ff8a65;
  --md-deep-orange-400: #ff7043;
  --md-deep-orange-500: #ff5722;
  --md-deep-orange-600: #f4511e;
  --md-deep-orange-700: #e64a19;
  --md-deep-orange-800: #d84315;
  --md-deep-orange-900: #bf360c;
  --md-deep-orange-A100: #ff9e80;
  --md-deep-orange-A200: #ff6e40;
  --md-deep-orange-A400: #ff3d00;
  --md-deep-orange-A700: #dd2c00;

  --md-brown-50: #efebe9;
  --md-brown-100: #d7ccc8;
  --md-brown-200: #bcaaa4;
  --md-brown-300: #a1887f;
  --md-brown-400: #8d6e63;
  --md-brown-500: #795548;
  --md-brown-600: #6d4c41;
  --md-brown-700: #5d4037;
  --md-brown-800: #4e342e;
  --md-brown-900: #3e2723;

  --md-grey-50: #fafafa;
  --md-grey-100: #f5f5f5;
  --md-grey-200: #eeeeee;
  --md-grey-300: #e0e0e0;
  --md-grey-400: #bdbdbd;
  --md-grey-500: #9e9e9e;
  --md-grey-600: #757575;
  --md-grey-700: #616161;
  --md-grey-800: #424242;
  --md-grey-900: #212121;

  --md-blue-grey-50: #eceff1;
  --md-blue-grey-100: #cfd8dc;
  --md-blue-grey-200: #b0bec5;
  --md-blue-grey-300: #90a4ae;
  --md-blue-grey-400: #78909c;
  --md-blue-grey-500: #607d8b;
  --md-blue-grey-600: #546e7a;
  --md-blue-grey-700: #455a64;
  --md-blue-grey-800: #37474f;
  --md-blue-grey-900: #263238;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Spinner {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--jp-layout-color0);
  outline: none;
}

.jp-SpinnerContent {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  background: var(--jp-brand-color3);
  background: linear-gradient(
    to right,
    #f37626 10%,
    rgba(255, 255, 255, 0) 42%
  );
  position: relative;
  animation: load3 1s infinite linear, fadeIn 1s;
}

.jp-SpinnerContent:before {
  width: 50%;
  height: 50%;
  background: #f37626;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}

.jp-SpinnerContent:after {
  background: var(--jp-layout-color0);
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes load3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

button.jp-mod-styled {
  font-size: var(--jp-ui-font-size1);
  color: var(--jp-ui-font-color0);
  border: none;
  box-sizing: border-box;
  text-align: center;
  line-height: 32px;
  height: 32px;
  padding: 0px 12px;
  letter-spacing: 0.8px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input.jp-mod-styled {
  background: var(--jp-input-background);
  height: 28px;
  box-sizing: border-box;
  border: var(--jp-border-width) solid var(--jp-border-color1);
  padding-left: 7px;
  padding-right: 7px;
  font-size: var(--jp-ui-font-size2);
  color: var(--jp-ui-font-color0);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input.jp-mod-styled:focus {
  border: var(--jp-border-width) solid var(--md-blue-500);
  box-shadow: inset 0 0 4px var(--md-blue-300);
}

.jp-select-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  padding: 1px;
  background-color: var(--jp-layout-color1);
  height: 28px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.jp-select-wrapper.jp-mod-focused select.jp-mod-styled {
  border: var(--jp-border-width) solid var(--jp-input-active-border-color);
  box-shadow: var(--jp-input-box-shadow);
  background-color: var(--jp-input-active-background);
}

select.jp-mod-styled:hover {
  background-color: var(--jp-layout-color1);
  cursor: pointer;
  color: var(--jp-ui-font-color0);
  background-color: var(--jp-input-hover-background);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.5);
}

select.jp-mod-styled {
  flex: 1 1 auto;
  height: 32px;
  width: 100%;
  font-size: var(--jp-ui-font-size2);
  background: var(--jp-input-background);
  color: var(--jp-ui-font-color0);
  padding: 0 25px 0 8px;
  border: var(--jp-border-width) solid var(--jp-input-border-color);
  border-radius: 0px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

:root {
  --jp-private-toolbar-height: calc(
    28px + var(--jp-border-width)
  ); /* leave 28px for content */
}

.jp-Toolbar {
  color: var(--jp-ui-font-color1);
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  border-bottom: var(--jp-border-width) solid var(--jp-toolbar-border-color);
  box-shadow: var(--jp-toolbar-box-shadow);
  background: var(--jp-toolbar-background);
  min-height: var(--jp-toolbar-micro-height);
  padding: 2px;
  z-index: 1;
  overflow-x: hidden;
}

.jp-Toolbar:hover {
  overflow-x: auto;
}

/* Toolbar items */

.jp-Toolbar > .jp-Toolbar-item.jp-Toolbar-spacer {
  flex-grow: 1;
  flex-shrink: 1;
}

.jp-Toolbar-item.jp-Toolbar-kernelStatus {
  display: inline-block;
  width: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

.jp-Toolbar > .jp-Toolbar-item {
  flex: 0 0 auto;
  display: flex;
  padding-left: 1px;
  padding-right: 1px;
  font-size: var(--jp-ui-font-size1);
  line-height: var(--jp-private-toolbar-height);
  height: 100%;
}

/* Toolbar buttons */

/* This is the div we use to wrap the react component into a Widget */
div.jp-ToolbarButton {
  color: transparent;
  border: none;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0px;
  margin: 0px;
}

button.jp-ToolbarButtonComponent {
  background: var(--jp-layout-color1);
  border: none;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0px 6px;
  margin: 0px;
  height: 24px;
  border-radius: var(--jp-border-radius);
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 14px;
  min-width: unset;
  min-height: unset;
}

button.jp-ToolbarButtonComponent:disabled {
  opacity: 0.4;
}

button.jp-ToolbarButtonComponent span {
  padding: 0px;
  flex: 0 0 auto;
}

button.jp-ToolbarButtonComponent .jp-ToolbarButtonComponent-label {
  font-size: var(--jp-ui-font-size1);
  line-height: 100%;
  padding-left: 2px;
  color: var(--jp-ui-font-color1);
}

#jp-main-dock-panel[data-mode='single-document']
  .jp-MainAreaWidget
  > .jp-Toolbar.jp-Toolbar-micro {
  padding: 0;
  min-height: 0;
}

#jp-main-dock-panel[data-mode='single-document']
  .jp-MainAreaWidget
  > .jp-Toolbar {
  border: none;
  box-shadow: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/


/* <DEPRECATED> */ body.p-mod-override-cursor *, /* </DEPRECATED> */
body.lm-mod-override-cursor * {
  cursor: inherit !important;
}

/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2016, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-JSONEditor {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.jp-JSONEditor-host {
  flex: 1 1 auto;
  border: var(--jp-border-width) solid var(--jp-input-border-color);
  border-radius: 0px;
  background: var(--jp-layout-color0);
  min-height: 50px;
  padding: 1px;
}

.jp-JSONEditor.jp-mod-error .jp-JSONEditor-host {
  border-color: red;
  outline-color: red;
}

.jp-JSONEditor-header {
  display: flex;
  flex: 1 0 auto;
  padding: 0 0 0 12px;
}

.jp-JSONEditor-header label {
  flex: 0 0 auto;
}

.jp-JSONEditor-commitButton {
  height: 16px;
  width: 16px;
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.jp-JSONEditor-host.jp-mod-focused {
  background-color: var(--jp-input-active-background);
  border: 1px solid var(--jp-input-active-border-color);
  box-shadow: var(--jp-input-box-shadow);
}

.jp-Editor.jp-mod-dropTarget {
  border: var(--jp-border-width) solid var(--jp-input-active-border-color);
  box-shadow: var(--jp-input-box-shadow);
}

/* BASICS */

.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family: monospace;
  height: 300px;
  color: black;
  direction: ltr;
}

/* PADDING */

.CodeMirror-lines {
  padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  padding: 0 4px; /* Horizontal padding of content */
}

.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background-color: white; /* The little square between H and V scrollbars */
}

/* GUTTER */

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #f7f7f7;
  white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
  padding: 0 3px 0 5px;
  min-width: 20px;
  text-align: right;
  color: #999;
  white-space: nowrap;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror-cursor {
  border-left: 1px solid black;
  border-right: none;
  width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
  border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
  width: auto;
  border: 0 !important;
  background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
  z-index: 1;
}
.cm-fat-cursor-mark {
  background-color: rgba(20, 255, 20, 0.5);
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
  width: auto;
  border: 0;
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
  background-color: #7e7;
}
@-moz-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@-webkit-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}

/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror-overwrite .CodeMirror-cursor {}

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-rulers {
  position: absolute;
  left: 0; right: 0; top: -50px; bottom: 0;
  overflow: hidden;
}
.CodeMirror-ruler {
  border-left: 1px solid #ccc;
  top: 0; bottom: 0;
  position: absolute;
}

/* DEFAULT THEME */

.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

.CodeMirror-composing { border-bottom: 2px solid; }

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
  position: relative;
  overflow: hidden;
  background: white;
}

.CodeMirror-scroll {
  overflow: scroll !important; /* Things will break if this is overridden */
  /* 50px is the magic margin used to hide the element's real scrollbars */
  /* See overflow: hidden in .CodeMirror */
  margin-bottom: -50px; margin-right: -50px;
  padding-bottom: 50px;
  height: 100%;
  outline: none; /* Prevent dragging from highlighting the element */
  position: relative;
}
.CodeMirror-sizer {
  position: relative;
  border-right: 50px solid transparent;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actual scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  position: absolute;
  z-index: 6;
  display: none;
}
.CodeMirror-vscrollbar {
  right: 0; top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.CodeMirror-hscrollbar {
  bottom: 0; left: 0;
  overflow-y: hidden;
  overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
  right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
  left: 0; bottom: 0;
}

.CodeMirror-gutters {
  position: absolute; left: 0; top: 0;
  min-height: 100%;
  z-index: 3;
}
.CodeMirror-gutter {
  white-space: normal;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  margin-bottom: -50px;
}
.CodeMirror-gutter-wrapper {
  position: absolute;
  z-index: 4;
  background: none !important;
  border: none !important;
}
.CodeMirror-gutter-background {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 4;
}
.CodeMirror-gutter-elt {
  position: absolute;
  cursor: default;
  z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }

.CodeMirror-lines {
  cursor: text;
  min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  /* Reset some styles that the rest of the page might have set */
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-variant-ligatures: contextual;
  font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}

.CodeMirror-linebackground {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
}

.CodeMirror-linewidget {
  position: relative;
  z-index: 2;
  padding: 0.1px; /* Force widget margins to stay inside of the container */
}

.CodeMirror-widget {}

.CodeMirror-rtl pre { direction: rtl; }

.CodeMirror-code {
  outline: none;
}

/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.CodeMirror-measure {
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.CodeMirror-cursor {
  position: absolute;
  pointer-events: none;
}
.CodeMirror-measure pre { position: static; }

div.CodeMirror-cursors {
  visibility: hidden;
  position: relative;
  z-index: 3;
}
div.CodeMirror-dragcursors {
  visibility: visible;
}

.CodeMirror-focused div.CodeMirror-cursors {
  visibility: visible;
}

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }

.cm-searching {
  background-color: #ffa;
  background-color: rgba(255, 255, 0, .4);
}

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
  /* Hide the cursor when printing */
  .CodeMirror div.CodeMirror-cursors {
    visibility: hidden;
  }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }

.CodeMirror-dialog {
  position: absolute;
  left: 0; right: 0;
  background: inherit;
  z-index: 15;
  padding: .1em .8em;
  overflow: hidden;
  color: inherit;
}

.CodeMirror-dialog-top {
  border-bottom: 1px solid #eee;
  top: 0;
}

.CodeMirror-dialog-bottom {
  border-top: 1px solid #eee;
  bottom: 0;
}

.CodeMirror-dialog input {
  border: none;
  outline: none;
  background: transparent;
  width: 20em;
  color: inherit;
  font-family: monospace;
}

.CodeMirror-dialog button {
  font-size: 70%;
}

.CodeMirror-foldmarker {
  color: blue;
  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
  font-family: arial;
  line-height: .3;
  cursor: pointer;
}
.CodeMirror-foldgutter {
  width: .7em;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
  cursor: pointer;
}
.CodeMirror-foldgutter-open:after {
  content: "\25BE";
}
.CodeMirror-foldgutter-folded:after {
  content: "\25B8";
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.CodeMirror {
  line-height: var(--jp-code-line-height);
  font-size: var(--jp-code-font-size);
  font-family: var(--jp-code-font-family);
  border: 0;
  border-radius: 0;
  height: auto;
  /* Changed to auto to autogrow */
}

.CodeMirror pre {
  padding: 0 var(--jp-code-padding);
}

.jp-CodeMirrorEditor[data-type='inline'] .CodeMirror-dialog {
  background-color: var(--jp-layout-color0);
  color: var(--jp-content-font-color1);
}

/* This causes https://github.com/jupyter/jupyterlab/issues/522 */
/* May not cause it not because we changed it! */
.CodeMirror-lines {
  padding: var(--jp-code-padding) 0;
}

.CodeMirror-linenumber {
  padding: 0 8px;
}

.jp-CodeMirrorEditor {
  cursor: text;
}

.jp-CodeMirrorEditor[data-type='inline'] .CodeMirror-cursor {
  border-left: var(--jp-code-cursor-width0) solid var(--jp-editor-cursor-color);
}

/* When zoomed out 67% and 33% on a screen of 1440 width x 900 height */
@media screen and (min-width: 2138px) and (max-width: 4319px) {
  .jp-CodeMirrorEditor[data-type='inline'] .CodeMirror-cursor {
    border-left: var(--jp-code-cursor-width1) solid
      var(--jp-editor-cursor-color);
  }
}

/* When zoomed out less than 33% */
@media screen and (min-width: 4320px) {
  .jp-CodeMirrorEditor[data-type='inline'] .CodeMirror-cursor {
    border-left: var(--jp-code-cursor-width2) solid
      var(--jp-editor-cursor-color);
  }
}

.CodeMirror.jp-mod-readOnly .CodeMirror-cursor {
  display: none;
}

.CodeMirror-gutters {
  border-right: 1px solid var(--jp-border-color2);
  background-color: var(--jp-layout-color0);
}

.jp-CollaboratorCursor {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: none;
  border-bottom: 3px solid;
  background-clip: content-box;
  margin-left: -5px;
  margin-right: -5px;
}

.CodeMirror-selectedtext.cm-searching {
  background-color: var(--jp-search-selected-match-background-color) !important;
  color: var(--jp-search-selected-match-color) !important;
}

.cm-searching {
  background-color: var(
    --jp-search-unselected-match-background-color
  ) !important;
  color: var(--jp-search-unselected-match-color) !important;
}

.CodeMirror-focused .CodeMirror-selected {
  background-color: var(--jp-editor-selected-focused-background);
}

.CodeMirror-selected {
  background-color: var(--jp-editor-selected-background);
}

.jp-CollaboratorCursor-hover {
  position: absolute;
  z-index: 1;
  transform: translateX(-50%);
  color: white;
  border-radius: 3px;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: center;
  font-size: var(--jp-ui-font-size1);
  white-space: nowrap;
}

.jp-CodeMirror-ruler {
  border-left: 1px dashed var(--jp-border-color2);
}

/**
 * Here is our jupyter theme for CodeMirror syntax highlighting
 * This is used in our marked.js syntax highlighting and CodeMirror itself
 * The string "jupyter" is set in ../codemirror/widget.DEFAULT_CODEMIRROR_THEME
 * This came from the classic notebook, which came form highlight.js/GitHub
 */

/**
 * CodeMirror themes are handling the background/color in this way. This works
 * fine for CodeMirror editors outside the notebook, but the notebook styles
 * these things differently.
 */
.CodeMirror.cm-s-jupyter {
  background: var(--jp-layout-color0);
  color: var(--jp-content-font-color1);
}

/* In the notebook, we want this styling to be handled by its container */
.jp-CodeConsole .CodeMirror.cm-s-jupyter,
.jp-Notebook .CodeMirror.cm-s-jupyter {
  background: transparent;
}

.cm-s-jupyter .CodeMirror-cursor {
  border-left: var(--jp-code-cursor-width0) solid var(--jp-editor-cursor-color);
}
.cm-s-jupyter span.cm-keyword {
  color: var(--jp-mirror-editor-keyword-color);
  font-weight: bold;
}
.cm-s-jupyter span.cm-atom {
  color: var(--jp-mirror-editor-atom-color);
}
.cm-s-jupyter span.cm-number {
  color: var(--jp-mirror-editor-number-color);
}
.cm-s-jupyter span.cm-def {
  color: var(--jp-mirror-editor-def-color);
}
.cm-s-jupyter span.cm-variable {
  color: var(--jp-mirror-editor-variable-color);
}
.cm-s-jupyter span.cm-variable-2 {
  color: var(--jp-mirror-editor-variable-2-color);
}
.cm-s-jupyter span.cm-variable-3 {
  color: var(--jp-mirror-editor-variable-3-color);
}
.cm-s-jupyter span.cm-punctuation {
  color: var(--jp-mirror-editor-punctuation-color);
}
.cm-s-jupyter span.cm-property {
  color: var(--jp-mirror-editor-property-color);
}
.cm-s-jupyter span.cm-operator {
  color: var(--jp-mirror-editor-operator-color);
  font-weight: bold;
}
.cm-s-jupyter span.cm-comment {
  color: var(--jp-mirror-editor-comment-color);
  font-style: italic;
}
.cm-s-jupyter span.cm-string {
  color: var(--jp-mirror-editor-string-color);
}
.cm-s-jupyter span.cm-string-2 {
  color: var(--jp-mirror-editor-string-2-color);
}
.cm-s-jupyter span.cm-meta {
  color: var(--jp-mirror-editor-meta-color);
}
.cm-s-jupyter span.cm-qualifier {
  color: var(--jp-mirror-editor-qualifier-color);
}
.cm-s-jupyter span.cm-builtin {
  color: var(--jp-mirror-editor-builtin-color);
}
.cm-s-jupyter span.cm-bracket {
  color: var(--jp-mirror-editor-bracket-color);
}
.cm-s-jupyter span.cm-tag {
  color: var(--jp-mirror-editor-tag-color);
}
.cm-s-jupyter span.cm-attribute {
  color: var(--jp-mirror-editor-attribute-color);
}
.cm-s-jupyter span.cm-header {
  color: var(--jp-mirror-editor-header-color);
}
.cm-s-jupyter span.cm-quote {
  color: var(--jp-mirror-editor-quote-color);
}
.cm-s-jupyter span.cm-link {
  color: var(--jp-mirror-editor-link-color);
}
.cm-s-jupyter span.cm-error {
  color: var(--jp-mirror-editor-error-color);
}
.cm-s-jupyter span.cm-hr {
  color: #999;
}

.cm-s-jupyter span.cm-tab {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
  background-position: right;
  background-repeat: no-repeat;
}

.cm-s-jupyter .CodeMirror-activeline-background,
.cm-s-jupyter .CodeMirror-gutter {
  background-color: var(--jp-layout-color2);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| RenderedText
|----------------------------------------------------------------------------*/

:root {
  /* This is the padding value to fill the gaps between lines containing spans with background color. */
  --jp-private-code-span-padding: calc(
    (var(--jp-code-line-height) - 1) * var(--jp-code-font-size) / 2
  );
}

.jp-RenderedText {
  text-align: left;
  padding-left: var(--jp-code-padding);
  line-height: var(--jp-code-line-height);
  font-family: var(--jp-code-font-family);
}

.jp-RenderedText pre,
.jp-RenderedJavaScript pre,
.jp-RenderedHTMLCommon pre {
  color: var(--jp-content-font-color1);
  font-size: var(--jp-code-font-size);
  border: none;
  margin: 0px;
  padding: 0px;
}

.jp-RenderedText pre a:link {
  text-decoration: none;
  color: var(--jp-content-link-color);
}
.jp-RenderedText pre a:hover {
  text-decoration: underline;
  color: var(--jp-content-link-color);
}
.jp-RenderedText pre a:visited {
  text-decoration: none;
  color: var(--jp-content-link-color);
}

/* console foregrounds and backgrounds */
.jp-RenderedText pre .ansi-black-fg {
  color: #3e424d;
}
.jp-RenderedText pre .ansi-red-fg {
  color: #e75c58;
}
.jp-RenderedText pre .ansi-green-fg {
  color: #00a250;
}
.jp-RenderedText pre .ansi-yellow-fg {
  color: #ddb62b;
}
.jp-RenderedText pre .ansi-blue-fg {
  color: #208ffb;
}
.jp-RenderedText pre .ansi-magenta-fg {
  color: #d160c4;
}
.jp-RenderedText pre .ansi-cyan-fg {
  color: #60c6c8;
}
.jp-RenderedText pre .ansi-white-fg {
  color: #c5c1b4;
}

.jp-RenderedText pre .ansi-black-bg {
  background-color: #3e424d;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-red-bg {
  background-color: #e75c58;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-green-bg {
  background-color: #00a250;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-yellow-bg {
  background-color: #ddb62b;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-blue-bg {
  background-color: #208ffb;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-magenta-bg {
  background-color: #d160c4;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-cyan-bg {
  background-color: #60c6c8;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-white-bg {
  background-color: #c5c1b4;
  padding: var(--jp-private-code-span-padding) 0;
}

.jp-RenderedText pre .ansi-black-intense-fg {
  color: #282c36;
}
.jp-RenderedText pre .ansi-red-intense-fg {
  color: #b22b31;
}
.jp-RenderedText pre .ansi-green-intense-fg {
  color: #007427;
}
.jp-RenderedText pre .ansi-yellow-intense-fg {
  color: #b27d12;
}
.jp-RenderedText pre .ansi-blue-intense-fg {
  color: #0065ca;
}
.jp-RenderedText pre .ansi-magenta-intense-fg {
  color: #a03196;
}
.jp-RenderedText pre .ansi-cyan-intense-fg {
  color: #258f8f;
}
.jp-RenderedText pre .ansi-white-intense-fg {
  color: #a1a6b2;
}

.jp-RenderedText pre .ansi-black-intense-bg {
  background-color: #282c36;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-red-intense-bg {
  background-color: #b22b31;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-green-intense-bg {
  background-color: #007427;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-yellow-intense-bg {
  background-color: #b27d12;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-blue-intense-bg {
  background-color: #0065ca;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-magenta-intense-bg {
  background-color: #a03196;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-cyan-intense-bg {
  background-color: #258f8f;
  padding: var(--jp-private-code-span-padding) 0;
}
.jp-RenderedText pre .ansi-white-intense-bg {
  background-color: #a1a6b2;
  padding: var(--jp-private-code-span-padding) 0;
}

.jp-RenderedText pre .ansi-default-inverse-fg {
  color: var(--jp-ui-inverse-font-color0);
}
.jp-RenderedText pre .ansi-default-inverse-bg {
  background-color: var(--jp-inverse-layout-color0);
  padding: var(--jp-private-code-span-padding) 0;
}

.jp-RenderedText pre .ansi-bold {
  font-weight: bold;
}
.jp-RenderedText pre .ansi-underline {
  text-decoration: underline;
}

.jp-RenderedText[data-mime-type='application/vnd.jupyter.stderr'] {
  background: var(--jp-rendermime-error-background);
  padding-top: var(--jp-code-padding);
}

/*-----------------------------------------------------------------------------
| RenderedLatex
|----------------------------------------------------------------------------*/

.jp-RenderedLatex {
  color: var(--jp-content-font-color1);
  font-size: var(--jp-content-font-size1);
  line-height: var(--jp-content-line-height);
}

/* Left-justify outputs.*/
.jp-OutputArea-output.jp-RenderedLatex {
  padding: var(--jp-code-padding);
  text-align: left;
}

/*-----------------------------------------------------------------------------
| RenderedHTML
|----------------------------------------------------------------------------*/

.jp-RenderedHTMLCommon {
  color: var(--jp-content-font-color1);
  font-family: var(--jp-content-font-family);
  font-size: var(--jp-content-font-size1);
  line-height: var(--jp-content-line-height);
  /* Give a bit more R padding on Markdown text to keep line lengths reasonable */
  padding-right: 20px;
}

.jp-RenderedHTMLCommon em {
  font-style: italic;
}

.jp-RenderedHTMLCommon strong {
  font-weight: bold;
}

.jp-RenderedHTMLCommon u {
  text-decoration: underline;
}

.jp-RenderedHTMLCommon a:link {
  text-decoration: none;
  color: var(--jp-content-link-color);
}

.jp-RenderedHTMLCommon a:hover {
  text-decoration: underline;
  color: var(--jp-content-link-color);
}

.jp-RenderedHTMLCommon a:visited {
  text-decoration: none;
  color: var(--jp-content-link-color);
}

/* Headings */

.jp-RenderedHTMLCommon h1,
.jp-RenderedHTMLCommon h2,
.jp-RenderedHTMLCommon h3,
.jp-RenderedHTMLCommon h4,
.jp-RenderedHTMLCommon h5,
.jp-RenderedHTMLCommon h6 {
  line-height: var(--jp-content-heading-line-height);
  font-weight: var(--jp-content-heading-font-weight);
  font-style: normal;
  margin: var(--jp-content-heading-margin-top) 0
    var(--jp-content-heading-margin-bottom) 0;
}

.jp-RenderedHTMLCommon h1:first-child,
.jp-RenderedHTMLCommon h2:first-child,
.jp-RenderedHTMLCommon h3:first-child,
.jp-RenderedHTMLCommon h4:first-child,
.jp-RenderedHTMLCommon h5:first-child,
.jp-RenderedHTMLCommon h6:first-child {
  margin-top: calc(0.5 * var(--jp-content-heading-margin-top));
}

.jp-RenderedHTMLCommon h1:last-child,
.jp-RenderedHTMLCommon h2:last-child,
.jp-RenderedHTMLCommon h3:last-child,
.jp-RenderedHTMLCommon h4:last-child,
.jp-RenderedHTMLCommon h5:last-child,
.jp-RenderedHTMLCommon h6:last-child {
  margin-bottom: calc(0.5 * var(--jp-content-heading-margin-bottom));
}

.jp-RenderedHTMLCommon h1 {
  font-size: var(--jp-content-font-size5);
}

.jp-RenderedHTMLCommon h2 {
  font-size: var(--jp-content-font-size4);
}

.jp-RenderedHTMLCommon h3 {
  font-size: var(--jp-content-font-size3);
}

.jp-RenderedHTMLCommon h4 {
  font-size: var(--jp-content-font-size2);
}

.jp-RenderedHTMLCommon h5 {
  font-size: var(--jp-content-font-size1);
}

.jp-RenderedHTMLCommon h6 {
  font-size: var(--jp-content-font-size0);
}

/* Lists */

.jp-RenderedHTMLCommon ul:not(.list-inline),
.jp-RenderedHTMLCommon ol:not(.list-inline) {
  padding-left: 2em;
}

.jp-RenderedHTMLCommon ul {
  list-style: disc;
}

.jp-RenderedHTMLCommon ul ul {
  list-style: square;
}

.jp-RenderedHTMLCommon ul ul ul {
  list-style: circle;
}

.jp-RenderedHTMLCommon ol {
  list-style: decimal;
}

.jp-RenderedHTMLCommon ol ol {
  list-style: upper-alpha;
}

.jp-RenderedHTMLCommon ol ol ol {
  list-style: lower-alpha;
}

.jp-RenderedHTMLCommon ol ol ol ol {
  list-style: lower-roman;
}

.jp-RenderedHTMLCommon ol ol ol ol ol {
  list-style: decimal;
}

.jp-RenderedHTMLCommon ol,
.jp-RenderedHTMLCommon ul {
  margin-bottom: 1em;
}

.jp-RenderedHTMLCommon ul ul,
.jp-RenderedHTMLCommon ul ol,
.jp-RenderedHTMLCommon ol ul,
.jp-RenderedHTMLCommon ol ol {
  margin-bottom: 0em;
}

.jp-RenderedHTMLCommon hr {
  color: var(--jp-border-color2);
  background-color: var(--jp-border-color1);
  margin-top: 1em;
  margin-bottom: 1em;
}

.jp-RenderedHTMLCommon > pre {
  margin: 1.5em 2em;
}

.jp-RenderedHTMLCommon pre,
.jp-RenderedHTMLCommon code {
  border: 0;
  background-color: var(--jp-layout-color0);
  color: var(--jp-content-font-color1);
  font-family: var(--jp-code-font-family);
  font-size: inherit;
  line-height: var(--jp-code-line-height);
  padding: 0;
  white-space: pre-wrap;
}

.jp-RenderedHTMLCommon :not(pre) > code {
  background-color: var(--jp-layout-color2);
  padding: 1px 5px;
}

/* Tables */

.jp-RenderedHTMLCommon table {
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  color: var(--jp-ui-font-color1);
  font-size: 12px;
  table-layout: fixed;
  margin-left: auto;
  margin-right: auto;
}

.jp-RenderedHTMLCommon thead {
  border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
  vertical-align: bottom;
}

.jp-RenderedHTMLCommon td,
.jp-RenderedHTMLCommon th,
.jp-RenderedHTMLCommon tr {
  vertical-align: middle;
  padding: 0.5em 0.5em;
  line-height: normal;
  white-space: normal;
  max-width: none;
  border: none;
}

.jp-RenderedMarkdown.jp-RenderedHTMLCommon td,
.jp-RenderedMarkdown.jp-RenderedHTMLCommon th {
  max-width: none;
}

:not(.jp-RenderedMarkdown).jp-RenderedHTMLCommon td,
:not(.jp-RenderedMarkdown).jp-RenderedHTMLCommon th,
:not(.jp-RenderedMarkdown).jp-RenderedHTMLCommon tr {
  text-align: right;
}

.jp-RenderedHTMLCommon th {
  font-weight: bold;
}

.jp-RenderedHTMLCommon tbody tr:nth-child(odd) {
  background: var(--jp-layout-color0);
}

.jp-RenderedHTMLCommon tbody tr:nth-child(even) {
  background: var(--jp-rendermime-table-row-background);
}

.jp-RenderedHTMLCommon tbody tr:hover {
  background: var(--jp-rendermime-table-row-hover-background);
}

.jp-RenderedHTMLCommon table {
  margin-bottom: 1em;
}

.jp-RenderedHTMLCommon p {
  text-align: left;
  margin: 0px;
}

.jp-RenderedHTMLCommon p {
  margin-bottom: 1em;
}

.jp-RenderedHTMLCommon img {
  -moz-force-broken-image-icon: 1;
}

/* Restrict to direct children as other images could be nested in other content. */
.jp-RenderedHTMLCommon > img {
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
}

/* Change color behind transparent images if they need it... */
[data-jp-theme-light='false'] .jp-RenderedImage img.jp-needs-light-background {
  background-color: var(--jp-inverse-layout-color1);
}
[data-jp-theme-light='true'] .jp-RenderedImage img.jp-needs-dark-background {
  background-color: var(--jp-inverse-layout-color1);
}
/* ...or leave it untouched if they don't */
[data-jp-theme-light='false'] .jp-RenderedImage img.jp-needs-dark-background {
}
[data-jp-theme-light='true'] .jp-RenderedImage img.jp-needs-light-background {
}

.jp-RenderedHTMLCommon img,
.jp-RenderedImage img,
.jp-RenderedHTMLCommon svg,
.jp-RenderedSVG svg {
  max-width: 100%;
  height: auto;
}

.jp-RenderedHTMLCommon img.jp-mod-unconfined,
.jp-RenderedImage img.jp-mod-unconfined,
.jp-RenderedHTMLCommon svg.jp-mod-unconfined,
.jp-RenderedSVG svg.jp-mod-unconfined {
  max-width: none;
}

.jp-RenderedHTMLCommon .alert {
  padding: var(--jp-notebook-padding);
  border: var(--jp-border-width) solid transparent;
  border-radius: var(--jp-border-radius);
  margin-bottom: 1em;
}

.jp-RenderedHTMLCommon .alert-info {
  color: var(--jp-info-color0);
  background-color: var(--jp-info-color3);
  border-color: var(--jp-info-color2);
}
.jp-RenderedHTMLCommon .alert-info hr {
  border-color: var(--jp-info-color3);
}
.jp-RenderedHTMLCommon .alert-info > p:last-child,
.jp-RenderedHTMLCommon .alert-info > ul:last-child {
  margin-bottom: 0;
}

.jp-RenderedHTMLCommon .alert-warning {
  color: var(--jp-warn-color0);
  background-color: var(--jp-warn-color3);
  border-color: var(--jp-warn-color2);
}
.jp-RenderedHTMLCommon .alert-warning hr {
  border-color: var(--jp-warn-color3);
}
.jp-RenderedHTMLCommon .alert-warning > p:last-child,
.jp-RenderedHTMLCommon .alert-warning > ul:last-child {
  margin-bottom: 0;
}

.jp-RenderedHTMLCommon .alert-success {
  color: var(--jp-success-color0);
  background-color: var(--jp-success-color3);
  border-color: var(--jp-success-color2);
}
.jp-RenderedHTMLCommon .alert-success hr {
  border-color: var(--jp-success-color3);
}
.jp-RenderedHTMLCommon .alert-success > p:last-child,
.jp-RenderedHTMLCommon .alert-success > ul:last-child {
  margin-bottom: 0;
}

.jp-RenderedHTMLCommon .alert-danger {
  color: var(--jp-error-color0);
  background-color: var(--jp-error-color3);
  border-color: var(--jp-error-color2);
}
.jp-RenderedHTMLCommon .alert-danger hr {
  border-color: var(--jp-error-color3);
}
.jp-RenderedHTMLCommon .alert-danger > p:last-child,
.jp-RenderedHTMLCommon .alert-danger > ul:last-child {
  margin-bottom: 0;
}

.jp-RenderedHTMLCommon blockquote {
  margin: 1em 2em;
  padding: 0 1em;
  border-left: 5px solid var(--jp-border-color2);
}

a.jp-InternalAnchorLink {
  visibility: hidden;
  margin-left: 8px;
  color: var(--md-blue-800);
}

h1:hover .jp-InternalAnchorLink,
h2:hover .jp-InternalAnchorLink,
h3:hover .jp-InternalAnchorLink,
h4:hover .jp-InternalAnchorLink,
h5:hover .jp-InternalAnchorLink,
h6:hover .jp-InternalAnchorLink {
  visibility: visible;
}

.jp-RenderedHTMLCommon kbd {
  background-color: var(--jp-rendermime-table-row-background);
  border: 1px solid var(--jp-border-color0);
  border-bottom-color: var(--jp-border-color2);
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  display: inline-block;
  font-size: 0.8em;
  line-height: 1em;
  padding: 0.2em 0.5em;
}

/* Most direct children of .jp-RenderedHTMLCommon have a margin-bottom of 1.0.
 * At the bottom of cells this is a bit too much as there is also spacing
 * between cells. Going all the way to 0 gets too tight between markdown and
 * code cells.
 */
.jp-RenderedHTMLCommon > *:last-child {
  margin-bottom: 0.5em;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-MimeDocument {
  outline: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Variables
|----------------------------------------------------------------------------*/

:root {
  --jp-private-filebrowser-button-height: 28px;
  --jp-private-filebrowser-button-width: 48px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-FileBrowser {
  display: flex;
  flex-direction: column;
  color: var(--jp-ui-font-color1);
  background: var(--jp-layout-color1);
  /* This is needed so that all font sizing of children done in ems is
   * relative to this base size */
  font-size: var(--jp-ui-font-size1);
}

.jp-FileBrowser-toolbar.jp-Toolbar {
  border-bottom: none;
  height: auto;
  margin: var(--jp-toolbar-header-margin);
  box-shadow: none;
}

.jp-BreadCrumbs {
  flex: 0 0 auto;
  margin: 8px 12px 8px 12px;
}

.jp-BreadCrumbs-item {
  margin: 0px 2px;
  padding: 0px 2px;
  border-radius: var(--jp-border-radius);
  cursor: pointer;
}

.jp-BreadCrumbs-item:hover {
  background-color: var(--jp-layout-color2);
}

.jp-BreadCrumbs-item:first-child {
  margin-left: 0px;
}

.jp-BreadCrumbs-item.jp-mod-dropTarget {
  background-color: var(--jp-brand-color2);
  opacity: 0.7;
}

/*-----------------------------------------------------------------------------
| Buttons
|----------------------------------------------------------------------------*/

.jp-FileBrowser-toolbar.jp-Toolbar {
  padding: 0px;
  margin: 8px 12px 0px 12px;
}

.jp-FileBrowser-toolbar.jp-Toolbar {
  justify-content: flex-start;
}

.jp-FileBrowser-toolbar.jp-Toolbar .jp-Toolbar-item {
  flex: 0 0 auto;
  padding-left: 0px;
  padding-right: 2px;
}

.jp-FileBrowser-toolbar.jp-Toolbar .jp-ToolbarButtonComponent {
  width: 40px;
}

.jp-FileBrowser-toolbar.jp-Toolbar
  .jp-Toolbar-item:first-child
  .jp-ToolbarButtonComponent {
  width: 72px;
  background: var(--jp-brand-color1);
}

.jp-FileBrowser-toolbar.jp-Toolbar
  .jp-Toolbar-item:first-child
  .jp-ToolbarButtonComponent
  .jp-icon3 {
  fill: white;
}

/*-----------------------------------------------------------------------------
| Other styles
|----------------------------------------------------------------------------*/

.jp-FileDialog.jp-mod-conflict input {
  color: red;
}

.jp-FileDialog .jp-new-name-title {
  margin-top: 12px;
}

.jp-LastModified-hidden {
  display: none;
}

.jp-FileBrowser-filterBox {
  padding: 0px;
  flex: 0 0 auto;
  margin: 8px 12px 0px 12px;
}

/*-----------------------------------------------------------------------------
| DirListing
|----------------------------------------------------------------------------*/

.jp-DirListing {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  outline: 0;
}

.jp-DirListing-header {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border-top: var(--jp-border-width) solid var(--jp-border-color2);
  border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
  box-shadow: var(--jp-toolbar-box-shadow);
  z-index: 2;
}

.jp-DirListing-headerItem {
  padding: 4px 12px 2px 12px;
  font-weight: 500;
}

.jp-DirListing-headerItem:hover {
  background: var(--jp-layout-color2);
}

.jp-DirListing-headerItem.jp-id-name {
  flex: 1 0 84px;
}

.jp-DirListing-headerItem.jp-id-modified {
  flex: 0 0 112px;
  border-left: var(--jp-border-width) solid var(--jp-border-color2);
  text-align: right;
}

.jp-id-narrow {
  display: none;
  flex: 0 0 5px;
  padding: 4px 4px;
  border-left: var(--jp-border-width) solid var(--jp-border-color2);
  text-align: right;
  color: var(--jp-border-color2);
}

.jp-DirListing-narrow .jp-id-narrow {
  display: block;
}

.jp-DirListing-narrow .jp-id-modified,
.jp-DirListing-narrow .jp-DirListing-itemModified {
  display: none;
}

.jp-DirListing-headerItem.jp-mod-selected {
  font-weight: 600;
}

/* increase specificity to override bundled default */
.jp-DirListing-content {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: auto;
  background-color: var(--jp-layout-color1);
}

.jp-DirListing-content mark {
  color: var(--jp-ui-font-color0);
  background-color: transparent;
  font-weight: bold;
}

/* Style the directory listing content when a user drops a file to upload */
.jp-DirListing.jp-mod-native-drop .jp-DirListing-content {
  outline: 5px dashed rgba(128, 128, 128, 0.5);
  outline-offset: -10px;
  cursor: copy;
}

.jp-DirListing-item {
  display: flex;
  flex-direction: row;
  padding: 4px 12px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jp-DirListing-item[data-is-dot] {
  opacity: 75%;
}

.jp-DirListing-item.jp-mod-selected {
  color: white;
  background: var(--jp-brand-color1);
}

.jp-DirListing-item.jp-mod-dropTarget {
  background: var(--jp-brand-color3);
}

.jp-DirListing-item:hover:not(.jp-mod-selected) {
  background: var(--jp-layout-color2);
}

.jp-DirListing-itemIcon {
  flex: 0 0 20px;
  margin-right: 4px;
}

.jp-DirListing-itemText {
  flex: 1 0 64px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

.jp-DirListing-itemModified {
  flex: 0 0 125px;
  text-align: right;
}

.jp-DirListing-editor {
  flex: 1 0 64px;
  outline: none;
  border: none;
}

.jp-DirListing-item.jp-mod-running .jp-DirListing-itemIcon:before {
  color: limegreen;
  content: '\25CF';
  font-size: 8px;
  position: absolute;
  left: -8px;
}

.jp-DirListing-item.lm-mod-drag-image,
.jp-DirListing-item.jp-mod-selected.lm-mod-drag-image {
  font-size: var(--jp-ui-font-size1);
  padding-left: 4px;
  margin-left: 4px;
  width: 160px;
  background-color: var(--jp-ui-inverse-font-color2);
  box-shadow: var(--jp-elevation-z2);
  border-radius: 0px;
  color: var(--jp-ui-font-color1);
  transform: translateX(-40%) translateY(-58%);
}

.jp-DirListing-deadSpace {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: auto;
  background-color: var(--jp-layout-color1);
}

.jp-Document {
  min-width: 120px;
  min-height: 120px;
  outline: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Private CSS variables
|----------------------------------------------------------------------------*/

:root {
}

/*-----------------------------------------------------------------------------
| Main OutputArea
| OutputArea has a list of Outputs
|----------------------------------------------------------------------------*/

.jp-OutputArea {
  overflow-y: auto;
}

.jp-OutputArea-child {
  display: flex;
  flex-direction: row;
}

.jp-OutputPrompt {
  flex: 0 0 var(--jp-cell-prompt-width);
  color: var(--jp-cell-outprompt-font-color);
  font-family: var(--jp-cell-prompt-font-family);
  padding: var(--jp-code-padding);
  letter-spacing: var(--jp-cell-prompt-letter-spacing);
  line-height: var(--jp-code-line-height);
  font-size: var(--jp-code-font-size);
  border: var(--jp-border-width) solid transparent;
  opacity: var(--jp-cell-prompt-opacity);
  /* Right align prompt text, don't wrap to handle large prompt numbers */
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Disable text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jp-OutputArea-output {
  height: auto;
  overflow: auto;
  user-select: text;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
}

.jp-OutputArea-child .jp-OutputArea-output {
  flex-grow: 1;
  flex-shrink: 1;
}

/**
 * Isolated output.
 */
.jp-OutputArea-output.jp-mod-isolated {
  width: 100%;
  display: block;
}

/*
When drag events occur, `p-mod-override-cursor` is added to the body.
Because iframes steal all cursor events, the following two rules are necessary
to suppress pointer events while resize drags are occurring. There may be a
better solution to this problem.
*/
body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated {
  position: relative;
}

body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

/* pre */

.jp-OutputArea-output pre {
  border: none;
  margin: 0px;
  padding: 0px;
  overflow-x: auto;
  overflow-y: auto;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* tables */

.jp-OutputArea-output.jp-RenderedHTMLCommon table {
  margin-left: 0;
  margin-right: 0;
}

/* description lists */

.jp-OutputArea-output dl,
.jp-OutputArea-output dt,
.jp-OutputArea-output dd {
  display: block;
}

.jp-OutputArea-output dl {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.jp-OutputArea-output dt {
  font-weight: bold;
  float: left;
  width: 20%;
  padding: 0;
  margin: 0;
}

.jp-OutputArea-output dd {
  float: left;
  width: 80%;
  padding: 0;
  margin: 0;
}

/* Hide the gutter in case of
 *  - nested output areas (e.g. in the case of output widgets)
 *  - mirrored output areas
 */
.jp-OutputArea .jp-OutputArea .jp-OutputArea-prompt {
  display: none;
}

/*-----------------------------------------------------------------------------
| executeResult is added to any Output-result for the display of the object
| returned by a cell
|----------------------------------------------------------------------------*/

.jp-OutputArea-output.jp-OutputArea-executeResult {
  margin-left: 0px;
  flex: 1 1 auto;
}

/* Text output with the Out[] prompt needs a top padding to match the
 * alignment of the Out[] prompt itself.
 */
.jp-OutputArea-executeResult .jp-RenderedText.jp-OutputArea-output {
  padding-top: var(--jp-code-padding);
  border-top: var(--jp-border-width) solid transparent;
}

/*-----------------------------------------------------------------------------
| The Stdin output
|----------------------------------------------------------------------------*/

.jp-OutputArea-stdin {
  line-height: var(--jp-code-line-height);
  padding-top: var(--jp-code-padding);
  display: flex;
}

.jp-Stdin-prompt {
  color: var(--jp-content-font-color0);
  padding-right: var(--jp-code-padding);
  vertical-align: baseline;
  flex: 0 0 auto;
}

.jp-Stdin-input {
  font-family: var(--jp-code-font-family);
  font-size: inherit;
  color: inherit;
  background-color: inherit;
  width: 42%;
  min-width: 200px;
  /* make sure input baseline aligns with prompt */
  vertical-align: baseline;
  /* padding + margin = 0.5em between prompt and cursor */
  padding: 0em 0.25em;
  margin: 0em 0.25em;
  flex: 0 0 70%;
}

.jp-Stdin-input:focus {
  box-shadow: none;
}

/*-----------------------------------------------------------------------------
| Output Area View
|----------------------------------------------------------------------------*/

.jp-LinkedOutputView .jp-OutputArea {
  height: 100%;
  display: block;
}

.jp-LinkedOutputView .jp-OutputArea-output:only-child {
  height: 100%;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Collapser {
  flex: 0 0 var(--jp-cell-collapser-width);
  padding: 0px;
  margin: 0px;
  border: none;
  outline: none;
  background: transparent;
  border-radius: var(--jp-border-radius);
  opacity: 1;
}

.jp-Collapser-child {
  display: block;
  width: 100%;
  box-sizing: border-box;
  /* height: 100% doesn't work because the height of its parent is computed from content */
  position: absolute;
  top: 0px;
  bottom: 0px;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Header/Footer
|----------------------------------------------------------------------------*/

/* Hidden by zero height by default */
.jp-CellHeader,
.jp-CellFooter {
  height: 0px;
  width: 100%;
  padding: 0px;
  margin: 0px;
  border: none;
  outline: none;
  background: transparent;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Input
|----------------------------------------------------------------------------*/

/* All input areas */
.jp-InputArea {
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.jp-InputArea-editor {
  flex: 1 1 auto;
  overflow: hidden;
}

.jp-InputArea-editor {
  /* This is the non-active, default styling */
  border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
  border-radius: 0px;
  background: var(--jp-cell-editor-background);
}

.jp-InputPrompt {
  flex: 0 0 var(--jp-cell-prompt-width);
  color: var(--jp-cell-inprompt-font-color);
  font-family: var(--jp-cell-prompt-font-family);
  padding: var(--jp-code-padding);
  letter-spacing: var(--jp-cell-prompt-letter-spacing);
  opacity: var(--jp-cell-prompt-opacity);
  line-height: var(--jp-code-line-height);
  font-size: var(--jp-code-font-size);
  border: var(--jp-border-width) solid transparent;
  opacity: var(--jp-cell-prompt-opacity);
  /* Right align prompt text, don't wrap to handle large prompt numbers */
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Disable text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Placeholder
|----------------------------------------------------------------------------*/

.jp-Placeholder {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
}

.jp-Placeholder-prompt {
  box-sizing: border-box;
}

.jp-Placeholder-content {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  height: 20px;
  box-sizing: border-box;
}

.jp-Placeholder-content .jp-MoreHorizIcon {
  width: 32px;
  height: 16px;
  border: 1px solid transparent;
  border-radius: var(--jp-border-radius);
}

.jp-Placeholder-content .jp-MoreHorizIcon:hover {
  border: 1px solid var(--jp-border-color1);
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);
  background-color: var(--jp-layout-color0);
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Private CSS variables
|----------------------------------------------------------------------------*/

:root {
  --jp-private-cell-scrolling-output-offset: 5px;
}

/*-----------------------------------------------------------------------------
| Cell
|----------------------------------------------------------------------------*/

.jp-Cell {
  padding: var(--jp-cell-padding);
  margin: 0px;
  border: none;
  outline: none;
  background: transparent;
}

/*-----------------------------------------------------------------------------
| Common input/output
|----------------------------------------------------------------------------*/

.jp-Cell-inputWrapper,
.jp-Cell-outputWrapper {
  display: flex;
  flex-direction: row;
  padding: 0px;
  margin: 0px;
  /* Added to reveal the box-shadow on the input and output collapsers. */
  overflow: visible;
}

/* Only input/output areas inside cells */
.jp-Cell-inputArea,
.jp-Cell-outputArea {
  flex: 1 1 auto;
}

/*-----------------------------------------------------------------------------
| Collapser
|----------------------------------------------------------------------------*/

/* Make the output collapser disappear when there is not output, but do so
 * in a manner that leaves it in the layout and preserves its width.
 */
.jp-Cell.jp-mod-noOutputs .jp-Cell-outputCollapser {
  border: none !important;
  background: transparent !important;
}

.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputCollapser {
  min-height: var(--jp-cell-collapser-min-height);
}

/*-----------------------------------------------------------------------------
| Output
|----------------------------------------------------------------------------*/

/* Put a space between input and output when there IS output */
.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputWrapper {
  margin-top: 5px;
}

.jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea {
  overflow-y: auto;
  max-height: 200px;
  box-shadow: inset 0 0 6px 2px rgba(0, 0, 0, 0.3);
  margin-left: var(--jp-private-cell-scrolling-output-offset);
}

.jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-prompt {
  flex: 0 0
    calc(
      var(--jp-cell-prompt-width) -
        var(--jp-private-cell-scrolling-output-offset)
    );
}

/*-----------------------------------------------------------------------------
| CodeCell
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| MarkdownCell
|----------------------------------------------------------------------------*/

.jp-MarkdownOutput {
  flex: 1 1 auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: var(--jp-code-padding);
}

.jp-MarkdownOutput.jp-RenderedHTMLCommon {
  overflow: auto;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Variables
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------

/*-----------------------------------------------------------------------------
| Styles
|----------------------------------------------------------------------------*/

.jp-NotebookPanel-toolbar {
  padding: 2px;
}

.jp-Toolbar-item.jp-Notebook-toolbarCellType .jp-select-wrapper.jp-mod-focused {
  border: none;
  box-shadow: none;
}

.jp-Notebook-toolbarCellTypeDropdown select {
  height: 24px;
  font-size: var(--jp-ui-font-size1);
  line-height: 14px;
  border-radius: 0;
  display: block;
}

.jp-Notebook-toolbarCellTypeDropdown span {
  top: 5px !important;
}

/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Private CSS variables
|----------------------------------------------------------------------------*/

:root {
  --jp-private-notebook-dragImage-width: 304px;
  --jp-private-notebook-dragImage-height: 36px;
  --jp-private-notebook-selected-color: var(--md-blue-400);
  --jp-private-notebook-active-color: var(--md-green-400);
}

/*-----------------------------------------------------------------------------
| Imports
|----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
| Notebook
|----------------------------------------------------------------------------*/

.jp-NotebookPanel {
  display: block;
  height: 100%;
}

.jp-NotebookPanel.jp-Document {
  min-width: 240px;
  min-height: 120px;
}

.jp-Notebook {
  padding: var(--jp-notebook-padding);
  outline: none;
  overflow: auto;
  background: var(--jp-layout-color0);
}

.jp-Notebook.jp-mod-scrollPastEnd::after {
  display: block;
  content: '';
  min-height: var(--jp-notebook-scroll-padding);
}

.jp-Notebook .jp-Cell {
  overflow: visible;
}

.jp-Notebook .jp-Cell .jp-InputPrompt {
  cursor: move;
}

/*-----------------------------------------------------------------------------
| Notebook state related styling
|
| The notebook and cells each have states, here are the possibilities:
|
| - Notebook
|   - Command
|   - Edit
| - Cell
|   - None
|   - Active (only one can be active)
|   - Selected (the cells actions are applied to)
|   - Multiselected (when multiple selected, the cursor)
|   - No outputs
|----------------------------------------------------------------------------*/

/* Command or edit modes */

.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-InputPrompt {
  opacity: var(--jp-cell-prompt-not-active-opacity);
  color: var(--jp-cell-prompt-not-active-font-color);
}

.jp-Notebook .jp-Cell:not(.jp-mod-active) .jp-OutputPrompt {
  opacity: var(--jp-cell-prompt-not-active-opacity);
  color: var(--jp-cell-prompt-not-active-font-color);
}

/* cell is active */
.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser {
  background: var(--jp-brand-color1);
}

/* collapser is hovered */
.jp-Notebook .jp-Cell .jp-Collapser:hover {
  box-shadow: var(--jp-elevation-z2);
  background: var(--jp-brand-color1);
  opacity: var(--jp-cell-collapser-not-active-hover-opacity);
}

/* cell is active and collapser is hovered */
.jp-Notebook .jp-Cell.jp-mod-active .jp-Collapser:hover {
  background: var(--jp-brand-color0);
  opacity: 1;
}

/* Command mode */

.jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-selected {
  background: var(--jp-notebook-multiselected-color);
}

.jp-Notebook.jp-mod-commandMode
  .jp-Cell.jp-mod-active.jp-mod-selected:not(.jp-mod-multiSelected) {
  background: transparent;
}

/* Edit mode */

.jp-Notebook.jp-mod-editMode .jp-Cell.jp-mod-active .jp-InputArea-editor {
  border: var(--jp-border-width) solid var(--jp-cell-editor-active-border-color);
  box-shadow: var(--jp-input-box-shadow);
  background-color: var(--jp-cell-editor-active-background);
}

/*-----------------------------------------------------------------------------
| Notebook drag and drop
|----------------------------------------------------------------------------*/

.jp-Notebook-cell.jp-mod-dropSource {
  opacity: 0.5;
}

.jp-Notebook-cell.jp-mod-dropTarget,
.jp-Notebook.jp-mod-commandMode
  .jp-Notebook-cell.jp-mod-active.jp-mod-selected.jp-mod-dropTarget {
  border-top-color: var(--jp-private-notebook-selected-color);
  border-top-style: solid;
  border-top-width: 2px;
}

.jp-dragImage {
  display: flex;
  flex-direction: row;
  width: var(--jp-private-notebook-dragImage-width);
  height: var(--jp-private-notebook-dragImage-height);
  border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
  background: var(--jp-cell-editor-background);
  overflow: visible;
}

.jp-dragImage-singlePrompt {
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.12);
}

.jp-dragImage .jp-dragImage-content {
  flex: 1 1 auto;
  z-index: 2;
  font-size: var(--jp-code-font-size);
  font-family: var(--jp-code-font-family);
  line-height: var(--jp-code-line-height);
  padding: var(--jp-code-padding);
  border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
  background: var(--jp-cell-editor-background-color);
  color: var(--jp-content-font-color3);
  text-align: left;
  margin: 4px 4px 4px 0px;
}

.jp-dragImage .jp-dragImage-prompt {
  flex: 0 0 auto;
  min-width: 36px;
  color: var(--jp-cell-inprompt-font-color);
  padding: var(--jp-code-padding);
  padding-left: 12px;
  font-family: var(--jp-cell-prompt-font-family);
  letter-spacing: var(--jp-cell-prompt-letter-spacing);
  line-height: 1.9;
  font-size: var(--jp-code-font-size);
  border: var(--jp-border-width) solid transparent;
}

.jp-dragImage-multipleBack {
  z-index: -1;
  position: absolute;
  height: 32px;
  width: 300px;
  top: 8px;
  left: 8px;
  background: var(--jp-layout-color2);
  border: var(--jp-border-width) solid var(--jp-input-border-color);
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.12);
}

/*-----------------------------------------------------------------------------
| Cell toolbar
|----------------------------------------------------------------------------*/

.jp-NotebookTools {
  display: block;
  min-width: var(--jp-sidebar-min-width);
  color: var(--jp-ui-font-color1);
  background: var(--jp-layout-color1);
  /* This is needed so that all font sizing of children done in ems is
    * relative to this base size */
  font-size: var(--jp-ui-font-size1);
  overflow: auto;
}

.jp-NotebookTools-tool {
  padding: 0px 12px 0 12px;
}

.jp-ActiveCellTool {
  padding: 12px;
  background-color: var(--jp-layout-color1);
  border-top: none !important;
}

.jp-ActiveCellTool .jp-InputArea-prompt {
  flex: 0 0 auto;
  padding-left: 0px;
}

.jp-ActiveCellTool .jp-InputArea-editor {
  flex: 1 1 auto;
  background: var(--jp-cell-editor-background);
  border-color: var(--jp-cell-editor-border-color);
}

.jp-ActiveCellTool .jp-InputArea-editor .CodeMirror {
  background: transparent;
}

.jp-MetadataEditorTool {
  flex-direction: column;
  padding: 12px 0px 12px 0px;
}

.jp-RankedPanel > :not(:first-child) {
  margin-top: 12px;
}

.jp-KeySelector select.jp-mod-styled {
  font-size: var(--jp-ui-font-size1);
  color: var(--jp-ui-font-color0);
  border: var(--jp-border-width) solid var(--jp-border-color1);
}

.jp-KeySelector label,
.jp-MetadataEditorTool label {
  line-height: 1.4;
}

.jp-NotebookTools .jp-select-wrapper {
  margin-top: 4px;
  margin-bottom: 0px;
}

.jp-NotebookTools .jp-Collapse {
  margin-top: 16px;
}

/*-----------------------------------------------------------------------------
| Presentation Mode (.jp-mod-presentationMode)
|----------------------------------------------------------------------------*/

.jp-mod-presentationMode .jp-Notebook {
  --jp-content-font-size1: var(--jp-content-presentation-font-size1);
  --jp-code-font-size: var(--jp-code-presentation-font-size);
}

.jp-mod-presentationMode .jp-Notebook .jp-Cell .jp-InputPrompt,
.jp-mod-presentationMode .jp-Notebook .jp-Cell .jp-OutputPrompt {
  flex: 0 0 110px;
}

</style>

    <style type="text/css">
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/*
The following CSS variables define the main, public API for styling JupyterLab.
These variables should be used by all plugins wherever possible. In other
words, plugins should not define custom colors, sizes, etc unless absolutely
necessary. This enables users to change the visual theme of JupyterLab
by changing these variables.

Many variables appear in an ordered sequence (0,1,2,3). These sequences
are designed to work well together, so for example, `--jp-border-color1` should
be used with `--jp-layout-color1`. The numbers have the following meanings:

* 0: super-primary, reserved for special emphasis
* 1: primary, most important under normal situations
* 2: secondary, next most important under normal situations
* 3: tertiary, next most important under normal situations

Throughout JupyterLab, we are mostly following principles from Google's
Material Design when selecting colors. We are not, however, following
all of MD as it is not optimized for dense, information rich UIs.
*/

:root {
  /* Elevation
   *
   * We style box-shadows using Material Design's idea of elevation. These particular numbers are taken from here:
   *
   * https://github.com/material-components/material-components-web
   * https://material-components-web.appspot.com/elevation.html
   */

  --jp-shadow-base-lightness: 0;
  --jp-shadow-umbra-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.2
  );
  --jp-shadow-penumbra-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.14
  );
  --jp-shadow-ambient-color: rgba(
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    var(--jp-shadow-base-lightness),
    0.12
  );
  --jp-elevation-z0: none;
  --jp-elevation-z1: 0px 2px 1px -1px var(--jp-shadow-umbra-color),
    0px 1px 1px 0px var(--jp-shadow-penumbra-color),
    0px 1px 3px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z2: 0px 3px 1px -2px var(--jp-shadow-umbra-color),
    0px 2px 2px 0px var(--jp-shadow-penumbra-color),
    0px 1px 5px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z4: 0px 2px 4px -1px var(--jp-shadow-umbra-color),
    0px 4px 5px 0px var(--jp-shadow-penumbra-color),
    0px 1px 10px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z6: 0px 3px 5px -1px var(--jp-shadow-umbra-color),
    0px 6px 10px 0px var(--jp-shadow-penumbra-color),
    0px 1px 18px 0px var(--jp-shadow-ambient-color);
  --jp-elevation-z8: 0px 5px 5px -3px var(--jp-shadow-umbra-color),
    0px 8px 10px 1px var(--jp-shadow-penumbra-color),
    0px 3px 14px 2px var(--jp-shadow-ambient-color);
  --jp-elevation-z12: 0px 7px 8px -4px var(--jp-shadow-umbra-color),
    0px 12px 17px 2px var(--jp-shadow-penumbra-color),
    0px 5px 22px 4px var(--jp-shadow-ambient-color);
  --jp-elevation-z16: 0px 8px 10px -5px var(--jp-shadow-umbra-color),
    0px 16px 24px 2px var(--jp-shadow-penumbra-color),
    0px 6px 30px 5px var(--jp-shadow-ambient-color);
  --jp-elevation-z20: 0px 10px 13px -6px var(--jp-shadow-umbra-color),
    0px 20px 31px 3px var(--jp-shadow-penumbra-color),
    0px 8px 38px 7px var(--jp-shadow-ambient-color);
  --jp-elevation-z24: 0px 11px 15px -7px var(--jp-shadow-umbra-color),
    0px 24px 38px 3px var(--jp-shadow-penumbra-color),
    0px 9px 46px 8px var(--jp-shadow-ambient-color);

  /* Borders
   *
   * The following variables, specify the visual styling of borders in JupyterLab.
   */

  --jp-border-width: 1px;
  --jp-border-color0: var(--md-grey-400);
  --jp-border-color1: var(--md-grey-400);
  --jp-border-color2: var(--md-grey-300);
  --jp-border-color3: var(--md-grey-200);
  --jp-border-radius: 2px;

  /* UI Fonts
   *
   * The UI font CSS variables are used for the typography all of the JupyterLab
   * user interface elements that are not directly user generated content.
   *
   * The font sizing here is done assuming that the body font size of --jp-ui-font-size1
   * is applied to a parent element. When children elements, such as headings, are sized
   * in em all things will be computed relative to that body size.
   */

  --jp-ui-font-scale-factor: 1.2;
  --jp-ui-font-size0: 0.83333em;
  --jp-ui-font-size1: 13px; /* Base font size */
  --jp-ui-font-size2: 1.2em;
  --jp-ui-font-size3: 1.44em;

  --jp-ui-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';

  /*
   * Use these font colors against the corresponding main layout colors.
   * In a light theme, these go from dark to light.
   */

  /* Defaults use Material Design specification */
  --jp-ui-font-color0: rgba(0, 0, 0, 1);
  --jp-ui-font-color1: rgba(0, 0, 0, 0.87);
  --jp-ui-font-color2: rgba(0, 0, 0, 0.54);
  --jp-ui-font-color3: rgba(0, 0, 0, 0.38);

  /*
   * Use these against the brand/accent/warn/error colors.
   * These will typically go from light to darker, in both a dark and light theme.
   */

  --jp-ui-inverse-font-color0: rgba(255, 255, 255, 1);
  --jp-ui-inverse-font-color1: rgba(255, 255, 255, 1);
  --jp-ui-inverse-font-color2: rgba(255, 255, 255, 0.7);
  --jp-ui-inverse-font-color3: rgba(255, 255, 255, 0.5);

  /* Content Fonts
   *
   * Content font variables are used for typography of user generated content.
   *
   * The font sizing here is done assuming that the body font size of --jp-content-font-size1
   * is applied to a parent element. When children elements, such as headings, are sized
   * in em all things will be computed relative to that body size.
   */

  --jp-content-line-height: 1.6;
  --jp-content-font-scale-factor: 1.2;
  --jp-content-font-size0: 0.83333em;
  --jp-content-font-size1: 14px; /* Base font size */
  --jp-content-font-size2: 1.2em;
  --jp-content-font-size3: 1.44em;
  --jp-content-font-size4: 1.728em;
  --jp-content-font-size5: 2.0736em;

  /* This gives a magnification of about 125% in presentation mode over normal. */
  --jp-content-presentation-font-size1: 17px;

  --jp-content-heading-line-height: 1;
  --jp-content-heading-margin-top: 1.2em;
  --jp-content-heading-margin-bottom: 0.8em;
  --jp-content-heading-font-weight: 500;

  /* Defaults use Material Design specification */
  --jp-content-font-color0: rgba(0, 0, 0, 1);
  --jp-content-font-color1: rgba(0, 0, 0, 0.87);
  --jp-content-font-color2: rgba(0, 0, 0, 0.54);
  --jp-content-font-color3: rgba(0, 0, 0, 0.38);

  --jp-content-link-color: var(--md-blue-700);

  --jp-content-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';

  /*
   * Code Fonts
   *
   * Code font variables are used for typography of code and other monospaces content.
   */

  --jp-code-font-size: 13px;
  --jp-code-line-height: 1.3077; /* 17px for 13px base */
  --jp-code-padding: 5px; /* 5px for 13px base, codemirror highlighting needs integer px value */
  --jp-code-font-family-default: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  --jp-code-font-family: var(--jp-code-font-family-default);

  /* This gives a magnification of about 125% in presentation mode over normal. */
  --jp-code-presentation-font-size: 16px;

  /* may need to tweak cursor width if you change font size */
  --jp-code-cursor-width0: 1.4px;
  --jp-code-cursor-width1: 2px;
  --jp-code-cursor-width2: 4px;

  /* Layout
   *
   * The following are the main layout colors use in JupyterLab. In a light
   * theme these would go from light to dark.
   */

  --jp-layout-color0: white;
  --jp-layout-color1: white;
  --jp-layout-color2: var(--md-grey-200);
  --jp-layout-color3: var(--md-grey-400);
  --jp-layout-color4: var(--md-grey-600);

  /* Inverse Layout
   *
   * The following are the inverse layout colors use in JupyterLab. In a light
   * theme these would go from dark to light.
   */

  --jp-inverse-layout-color0: #111111;
  --jp-inverse-layout-color1: var(--md-grey-900);
  --jp-inverse-layout-color2: var(--md-grey-800);
  --jp-inverse-layout-color3: var(--md-grey-700);
  --jp-inverse-layout-color4: var(--md-grey-600);

  /* Brand/accent */

  --jp-brand-color0: var(--md-blue-700);
  --jp-brand-color1: var(--md-blue-500);
  --jp-brand-color2: var(--md-blue-300);
  --jp-brand-color3: var(--md-blue-100);
  --jp-brand-color4: var(--md-blue-50);

  --jp-accent-color0: var(--md-green-700);
  --jp-accent-color1: var(--md-green-500);
  --jp-accent-color2: var(--md-green-300);
  --jp-accent-color3: var(--md-green-100);

  /* State colors (warn, error, success, info) */

  --jp-warn-color0: var(--md-orange-700);
  --jp-warn-color1: var(--md-orange-500);
  --jp-warn-color2: var(--md-orange-300);
  --jp-warn-color3: var(--md-orange-100);

  --jp-error-color0: var(--md-red-700);
  --jp-error-color1: var(--md-red-500);
  --jp-error-color2: var(--md-red-300);
  --jp-error-color3: var(--md-red-100);

  --jp-success-color0: var(--md-green-700);
  --jp-success-color1: var(--md-green-500);
  --jp-success-color2: var(--md-green-300);
  --jp-success-color3: var(--md-green-100);

  --jp-info-color0: var(--md-cyan-700);
  --jp-info-color1: var(--md-cyan-500);
  --jp-info-color2: var(--md-cyan-300);
  --jp-info-color3: var(--md-cyan-100);

  /* Cell specific styles */

  --jp-cell-padding: 5px;

  --jp-cell-collapser-width: 8px;
  --jp-cell-collapser-min-height: 20px;
  --jp-cell-collapser-not-active-hover-opacity: 0.6;

  --jp-cell-editor-background: var(--md-grey-100);
  --jp-cell-editor-border-color: var(--md-grey-300);
  --jp-cell-editor-box-shadow: inset 0 0 2px var(--md-blue-300);
  --jp-cell-editor-active-background: var(--jp-layout-color0);
  --jp-cell-editor-active-border-color: var(--jp-brand-color1);

  --jp-cell-prompt-width: 64px;
  --jp-cell-prompt-font-family: var(--jp-code-font-family-default);
  --jp-cell-prompt-letter-spacing: 0px;
  --jp-cell-prompt-opacity: 1;
  --jp-cell-prompt-not-active-opacity: 0.5;
  --jp-cell-prompt-not-active-font-color: var(--md-grey-700);
  /* A custom blend of MD grey and blue 600
   * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */
  --jp-cell-inprompt-font-color: #307fc1;
  /* A custom blend of MD grey and orange 600
   * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */
  --jp-cell-outprompt-font-color: #bf5b3d;

  /* Notebook specific styles */

  --jp-notebook-padding: 10px;
  --jp-notebook-select-background: var(--jp-layout-color1);
  --jp-notebook-multiselected-color: var(--md-blue-50);

  /* The scroll padding is calculated to fill enough space at the bottom of the
  notebook to show one single-line cell (with appropriate padding) at the top
  when the notebook is scrolled all the way to the bottom. We also subtract one
  pixel so that no scrollbar appears if we have just one single-line cell in the
  notebook. This padding is to enable a 'scroll past end' feature in a notebook.
  */
  --jp-notebook-scroll-padding: calc(
    100% - var(--jp-code-font-size) * var(--jp-code-line-height) -
      var(--jp-code-padding) - var(--jp-cell-padding) - 1px
  );

  /* Rendermime styles */

  --jp-rendermime-error-background: #fdd;
  --jp-rendermime-table-row-background: var(--md-grey-100);
  --jp-rendermime-table-row-hover-background: var(--md-light-blue-50);

  /* Dialog specific styles */

  --jp-dialog-background: rgba(0, 0, 0, 0.25);

  /* Console specific styles */

  --jp-console-padding: 10px;

  /* Toolbar specific styles */

  --jp-toolbar-border-color: var(--jp-border-color1);
  --jp-toolbar-micro-height: 8px;
  --jp-toolbar-background: var(--jp-layout-color1);
  --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);
  --jp-toolbar-header-margin: 4px 4px 0px 4px;
  --jp-toolbar-active-background: var(--md-grey-300);

  /* Input field styles */

  --jp-input-box-shadow: inset 0 0 2px var(--md-blue-300);
  --jp-input-active-background: var(--jp-layout-color1);
  --jp-input-hover-background: var(--jp-layout-color1);
  --jp-input-background: var(--md-grey-100);
  --jp-input-border-color: var(--jp-border-color1);
  --jp-input-active-border-color: var(--jp-brand-color1);
  --jp-input-active-box-shadow-color: rgba(19, 124, 189, 0.3);

  /* General editor styles */

  --jp-editor-selected-background: #d9d9d9;
  --jp-editor-selected-focused-background: #d7d4f0;
  --jp-editor-cursor-color: var(--jp-ui-font-color0);

  /* Code mirror specific styles */

  --jp-mirror-editor-keyword-color: #008000;
  --jp-mirror-editor-atom-color: #88f;
  --jp-mirror-editor-number-color: #080;
  --jp-mirror-editor-def-color: #00f;
  --jp-mirror-editor-variable-color: var(--md-grey-900);
  --jp-mirror-editor-variable-2-color: #05a;
  --jp-mirror-editor-variable-3-color: #085;
  --jp-mirror-editor-punctuation-color: #05a;
  --jp-mirror-editor-property-color: #05a;
  --jp-mirror-editor-operator-color: #aa22ff;
  --jp-mirror-editor-comment-color: #408080;
  --jp-mirror-editor-string-color: #ba2121;
  --jp-mirror-editor-string-2-color: #708;
  --jp-mirror-editor-meta-color: #aa22ff;
  --jp-mirror-editor-qualifier-color: #555;
  --jp-mirror-editor-builtin-color: #008000;
  --jp-mirror-editor-bracket-color: #997;
  --jp-mirror-editor-tag-color: #170;
  --jp-mirror-editor-attribute-color: #00c;
  --jp-mirror-editor-header-color: blue;
  --jp-mirror-editor-quote-color: #090;
  --jp-mirror-editor-link-color: #00c;
  --jp-mirror-editor-error-color: #f00;
  --jp-mirror-editor-hr-color: #999;

  /* Vega extension styles */

  --jp-vega-background: white;

  /* Sidebar-related styles */

  --jp-sidebar-min-width: 250px;

  /* Search-related styles */

  --jp-search-toggle-off-opacity: 0.5;
  --jp-search-toggle-hover-opacity: 0.8;
  --jp-search-toggle-on-opacity: 1;
  --jp-search-selected-match-background-color: rgb(245, 200, 0);
  --jp-search-selected-match-color: black;
  --jp-search-unselected-match-background-color: var(
    --jp-inverse-layout-color0
  );
  --jp-search-unselected-match-color: var(--jp-ui-inverse-font-color0);

  /* Icon colors that work well with light or dark backgrounds */
  --jp-icon-contrast-color0: var(--md-purple-600);
  --jp-icon-contrast-color1: var(--md-green-600);
  --jp-icon-contrast-color2: var(--md-pink-600);
  --jp-icon-contrast-color3: var(--md-blue-600);
}
</style>

<style type="text/css">
a.anchor-link {
   display: none;
}
.highlight  {
    margin: 0.4em;
}

/* Input area styling */
.jp-InputArea {
    overflow: hidden;
}

.jp-InputArea-editor {
    overflow: hidden;
}

@media print {
  body {
    margin: 0;
  }
}
</style>

<!-- Load mathjax -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-MML-AM_CHTML-full,Safe"> </script>
    <!-- MathJax configuration -->
    <script type="text/x-mathjax-config">
    init_mathjax = function() {
        if (window.MathJax) {
        // MathJax loaded
            MathJax.Hub.Config({
                TeX: {
                    equationNumbers: {
                    autoNumber: "AMS",
                    useLabelIds: true
                    }
                },
                tex2jax: {
                    inlineMath: [ ['$','$'], ["\\(","\\)"] ],
                    displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
                    processEscapes: true,
                    processEnvironments: true
                },
                displayAlign: 'center',
                CommonHTML: {
                    linebreaks: { 
                    automatic: true 
                    }
                },
                "HTML-CSS": {
                    linebreaks: { 
                    automatic: true 
                    }
                }
            });
        
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
        }
    }
    init_mathjax();
    </script>
    <!-- End of mathjax configuration --></head>
<body class="jp-Notebook" data-jp-theme-light="true" data-jp-theme-name="JupyterLab Light">

<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<h1 id="Measuring-the-impact-of-campaign-finance-on-congressional-voting:-A-maching-learning-approach">Measuring the impact of campaign finance on congressional voting: A maching learning approach<a class="anchor-link" href="#Measuring-the-impact-of-campaign-finance-on-congressional-voting:-A-maching-learning-approach">&#182;</a></h1>
</div>
</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>This lab notebook provides a brief tour of the replication dataset for <a href="https://www.ineteconomics.org/research/research-papers/measuring-the-impact-of-campaign-finance-on-congressional-voting-a-machine-learning-approach">(Lalisse 2022)</a> made available as a <a href="https://dataverse.harvard.edu/">Harvard Dataverse</a> galaxy (<a href="https://doi.org/10.7910/DVN/DHQQHX">https://doi.org/10.7910/DVN/DHQQHX</a>).</p>
<h4 id="Summary">Summary<a class="anchor-link" href="#Summary">&#182;</a></h4><ul>
<li><strong>Bill embeddings</strong>: embeddings and of text summaries for legislation, used as features for vote classification</li>
<li><strong>Legislator embeddings</strong>: PCA embeddings of legislators derived from financial indicators</li>
<li><strong>Vote records</strong>: tables of votes for each member of congress (110th to 117th session up to the month of December)</li>
<li><strong>Replication scripts</strong>: all the code needed to replicate the main analyses from the paper</li>
</ul>
<h4 id="Questions/comments?">Questions/comments?<a class="anchor-link" href="#Questions/comments?">&#182;</a></h4><p><a href="https://pages.jh.edu/mlaliss1/">The author</a> can be reached at <a href="mailto:lalisse@jhu.edu">lalisse@jhu.edu</a>.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs  ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[1]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="kn">import</span> <span class="nn">scipy</span>
<span class="kn">import</span> <span class="nn">pandas</span> <span class="k">as</span> <span class="nn">pd</span>
</pre></div>

     </div>
</div>
</div>
</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<h2 id="Bill-embeddings">Bill embeddings<a class="anchor-link" href="#Bill-embeddings">&#182;</a></h2>
</div>
</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>Bills were embedded using the <a href="https://arxiv.org/abs/2004.05150">LongFormer</a>, a Transformer-based architecture optimized for extracting text features from medium-length documents (up to around 4,000 tokens). The embeddings are stored in a column of the files titled <code>Nth_congress-vote_profiles-embedded.csv</code>. To automatically process the raw csv and obtain the embeddings as <code>numpy</code> arrays, use the custom <code>load_csv</code> function provided as a utility.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[2]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">from</span> <span class="nn">utils</span> <span class="kn">import</span> <span class="n">load_csv</span>

<span class="n">bills</span> <span class="o">=</span> <span class="n">load_csv</span><span class="p">(</span><span class="s1">&#39;115th_congress-vote_profiles-embedded.csv&#39;</span><span class="p">)</span>
<span class="n">bills</span><span class="o">.</span><span class="n">head</span><span class="p">()</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt">Out[2]:</div>



<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/html">
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }

    .dataframe tbody tr th {
        vertical-align: top;
    }

    .dataframe thead th {
        text-align: right;
    }
</style>
<table border="1" class="dataframe">
  <thead>
    <tr style="text-align: right;">
      <th></th>
      <th>congress</th>
      <th>chamber</th>
      <th>rollnumber</th>
      <th>date</th>
      <th>session</th>
      <th>clerk_rollnumber</th>
      <th>yea_count</th>
      <th>nay_count</th>
      <th>nominate_mid_1</th>
      <th>nominate_mid_2</th>
      <th>...</th>
      <th>sponsor</th>
      <th>sponsor_id</th>
      <th>sponsor_party</th>
      <th>sponsor_state</th>
      <th>introduced_date</th>
      <th>primary_subject</th>
      <th>committees</th>
      <th>summary_short</th>
      <th>summary</th>
      <th>embedding_LongFormer</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>0</th>
      <td>115</td>
      <td>House</td>
      <td>1</td>
      <td>2017-01-03</td>
      <td>1</td>
      <td>2</td>
      <td>239</td>
      <td>194</td>
      <td>-0.146</td>
      <td>0.989</td>
      <td>...</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
      <td>NaN</td>
    </tr>
    <tr>
      <th>1</th>
      <td>115</td>
      <td>House</td>
      <td>2</td>
      <td>2017-01-03</td>
      <td>1</td>
      <td>3</td>
      <td>228</td>
      <td>184</td>
      <td>0.017</td>
      <td>0.047</td>
      <td>...</td>
      <td>Kevin McCarthy</td>
      <td>M001165</td>
      <td>R</td>
      <td>CA</td>
      <td>2017-01-03</td>
      <td>Congress</td>
      <td>NaN</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>[0.169950053095818, -0.275754123926163, 0.1049...</td>
    </tr>
    <tr>
      <th>2</th>
      <td>115</td>
      <td>House</td>
      <td>3</td>
      <td>2017-01-03</td>
      <td>1</td>
      <td>4</td>
      <td>237</td>
      <td>193</td>
      <td>0.016</td>
      <td>0.045</td>
      <td>...</td>
      <td>Kevin McCarthy</td>
      <td>M001165</td>
      <td>R</td>
      <td>CA</td>
      <td>2017-01-03</td>
      <td>Congress</td>
      <td>NaN</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>[0.169950053095818, -0.275754123926163, 0.1049...</td>
    </tr>
    <tr>
      <th>3</th>
      <td>115</td>
      <td>House</td>
      <td>4</td>
      <td>2017-01-03</td>
      <td>1</td>
      <td>5</td>
      <td>193</td>
      <td>236</td>
      <td>0.016</td>
      <td>0.045</td>
      <td>...</td>
      <td>Kevin McCarthy</td>
      <td>M001165</td>
      <td>R</td>
      <td>CA</td>
      <td>2017-01-03</td>
      <td>Congress</td>
      <td>NaN</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>[0.169950053095818, -0.275754123926163, 0.1049...</td>
    </tr>
    <tr>
      <th>4</th>
      <td>115</td>
      <td>House</td>
      <td>5</td>
      <td>2017-01-03</td>
      <td>1</td>
      <td>6</td>
      <td>234</td>
      <td>193</td>
      <td>-0.198</td>
      <td>0.980</td>
      <td>...</td>
      <td>Kevin McCarthy</td>
      <td>M001165</td>
      <td>R</td>
      <td>CA</td>
      <td>2017-01-03</td>
      <td>Congress</td>
      <td>NaN</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>(This measure has not been amended since it wa...</td>
      <td>[0.169950053095818, -0.275754123926163, 0.1049...</td>
    </tr>
  </tbody>
</table>
<p>5 rows × 39 columns</p>
</div>
</div>

</div>

</div>

</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[3]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">row</span> <span class="o">=</span> <span class="mi">45</span>

<span class="c1">#bill from the 45th row:</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Title:&#39;</span><span class="p">,</span> <span class="n">bills</span><span class="o">.</span><span class="n">title</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">row</span><span class="p">])</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Sponsor:&#39;</span><span class="p">,</span> <span class="n">bills</span><span class="o">.</span><span class="n">sponsor</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">row</span><span class="p">],</span> <span class="sa">f</span><span class="s1">&#39;(</span><span class="si">{</span><span class="n">bills</span><span class="o">.</span><span class="n">sponsor_party</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">row</span><span class="p">]</span><span class="si">}</span><span class="s1">)&#39;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Summary:&#39;</span><span class="p">,</span> <span class="n">bills</span><span class="o">.</span><span class="n">summary</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">row</span><span class="p">])</span>
<span class="nb">print</span><span class="p">(</span><span class="n">bills</span><span class="o">.</span><span class="n">embedding_LongFormer</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">row</span><span class="p">]</span><span class="o">.</span><span class="n">shape</span><span class="p">)</span> <span class="c1">#bill as 768d LongFormer embedding</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>Title: To improve the consideration by the Securities and Exchange Commission of the costs and benefits of its regulations and orders.
Sponsor: Ann Wagner (R)
Summary: SEC Regulatory Accountability Act (Sec. 2) This bill amends the Securities Exchange Act of 1934 to direct the Securities and Exchange Commission (SEC) to:  before issuing a regulation under the securities laws, identify the nature and source of the problem that the proposed regulation is designed to address;  adopt a regulation only upon a reasoned determination that its benefits justify its costs;  identify and assess available alternatives to any regulation; and  ensure that any regulation is accessible, consistent, written in plain language, and easy to understand.  In determining the costs and benefits of a proposed regulation, the SEC shall consider its impact on investor choice, market liquidity, and small businesses.  In addition, the SEC shall: (1) periodically review its existing regulations to determine if they are outmoded, ineffective, insufficient, or excessively burdensome; and (2) in accordance with such review, modify, streamline, expand, or repeal them. Whenever it adopts or amends a rule that is &#34;major&#34; (in terms of economic impact), the SEC shall state in its adopting release: (1) the regulation&#39;s purposes and intended consequences, (2) metrics for measuring the regulation&#39;s economic impact, (3) the assessment plan to be used to assess whether the regulation has achieved its stated purposes, and (4) any foreseeable unintended or negative consequences of the regulation.
(768,)
</pre>
</div>
</div>

</div>

</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[4]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">bills</span><span class="o">.</span><span class="n">keys</span><span class="p">()</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt">Out[4]:</div>




<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>Index([&#39;congress&#39;, &#39;chamber&#39;, &#39;rollnumber&#39;, &#39;date&#39;, &#39;session&#39;,
       &#39;clerk_rollnumber&#39;, &#39;yea_count&#39;, &#39;nay_count&#39;, &#39;nominate_mid_1&#39;,
       &#39;nominate_mid_2&#39;, &#39;nominate_spread_1&#39;, &#39;nominate_spread_2&#39;,
       &#39;nominate_log_likelihood&#39;, &#39;bill_number&#39;, &#39;vote_result&#39;, &#39;vote_desc&#39;,
       &#39;vote_question&#39;, &#39;dtl_desc&#39;, &#39;issue_codes&#39;, &#39;peltzman_codes&#39;,
       &#39;clausen_codes&#39;, &#39;crs_policy_area&#39;, &#39;crs_subjects&#39;, &#39;congress_url&#39;,
       &#39;source_documents&#39;, &#39;title&#39;, &#39;bill_type&#39;, &#39;short_title&#39;,
       &#39;sponsor_title&#39;, &#39;sponsor&#39;, &#39;sponsor_id&#39;, &#39;sponsor_party&#39;,
       &#39;sponsor_state&#39;, &#39;introduced_date&#39;, &#39;primary_subject&#39;, &#39;committees&#39;,
       &#39;summary_short&#39;, &#39;summary&#39;, &#39;embedding_LongFormer&#39;],
      dtype=&#39;object&#39;)</pre>
</div>

</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>2-dimensional UMAP embeddings of the LongFormer outputs are provided as a column of the <code>Nth_congress-vote_by_member-procced.csv</code> files, facilitating visualization of the space of bill texts. Proximity of bill embeddings reflects both sponsor party and policy domain content (see Section 2 of <a href="https://www.ineteconomics.org/uploads/papers/WP_178-Lalisse-MoneyCongressionalVoting33.pdf">Lalisse, 2022</a>).</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs  ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[5]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">all_bills</span> <span class="o">=</span> <span class="n">load_csv</span><span class="p">(</span><span class="s1">&#39;all_congresses-vote_profiles-embedded.csv&#39;</span><span class="p">)</span>
</pre></div>

     </div>
</div>
</div>
</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs  ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[6]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">bills_to_plot</span> <span class="o">=</span> <span class="n">all_bills</span><span class="o">.</span><span class="n">dropna</span><span class="p">(</span><span class="n">subset</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;embedding_LongFormer_umap&#39;</span><span class="p">])</span>
<span class="n">bills_to_plot</span> <span class="o">=</span> <span class="n">bills_to_plot</span><span class="o">.</span><span class="n">drop_duplicates</span><span class="p">(</span><span class="n">subset</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;summary&#39;</span><span class="p">])</span>

<span class="n">viz_embeddings</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">vstack</span><span class="p">(</span><span class="n">bills_to_plot</span><span class="o">.</span><span class="n">embedding_LongFormer_umap_viz</span><span class="p">)</span>
<span class="n">viz_embeddings</span><span class="o">.</span><span class="n">shape</span>

<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;x&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">viz_embeddings</span><span class="p">[:,</span><span class="mi">0</span><span class="p">]</span>
<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;y&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">viz_embeddings</span><span class="p">[:,</span><span class="mi">1</span><span class="p">]</span>

<span class="c1"># reformat text for pretty visualization</span>
<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;title&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">bills_to_plot</span><span class="o">.</span><span class="n">title</span><span class="o">.</span><span class="n">str</span><span class="o">.</span><span class="n">wrap</span><span class="p">(</span><span class="mi">90</span><span class="p">,</span> <span class="n">break_long_words</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;title&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">bills_to_plot</span><span class="o">.</span><span class="n">title</span><span class="o">.</span><span class="n">apply</span><span class="p">(</span><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">str</span><span class="p">(</span><span class="n">x</span><span class="p">)</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s1">&#39;</span><span class="se">\n</span><span class="s1">&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;br&gt;&#39;</span><span class="p">))</span>
<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;summary_short&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">bills_to_plot</span><span class="o">.</span><span class="n">summary_short</span><span class="o">.</span><span class="n">str</span><span class="o">.</span><span class="n">wrap</span><span class="p">(</span><span class="mi">90</span><span class="p">,</span> <span class="n">break_long_words</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
<span class="n">bills_to_plot</span><span class="p">[</span><span class="s1">&#39;summary_short&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">bills_to_plot</span><span class="o">.</span><span class="n">summary_short</span><span class="o">.</span><span class="n">apply</span><span class="p">(</span><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">str</span><span class="p">(</span><span class="n">x</span><span class="p">)</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s1">&#39;</span><span class="se">\n</span><span class="s1">&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;br&gt;&#39;</span><span class="p">))</span>
</pre></div>

     </div>
</div>
</div>
</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[7]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">plotly.express</span> <span class="k">as</span> <span class="nn">px</span>
<span class="n">bills_scatter</span> <span class="o">=</span> <span class="n">px</span><span class="o">.</span><span class="n">scatter</span><span class="p">(</span><span class="n">bills_to_plot</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="s1">&#39;x&#39;</span><span class="p">,</span> <span class="n">y</span><span class="o">=</span><span class="s1">&#39;y&#39;</span><span class="p">,</span> 
                                          <span class="n">color</span><span class="o">=</span><span class="s1">&#39;sponsor_party&#39;</span><span class="p">,</span> 
                                          <span class="n">hover_data</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;title&#39;</span><span class="p">,</span> <span class="s1">&#39;bill_number&#39;</span><span class="p">,</span> <span class="s1">&#39;summary_short&#39;</span><span class="p">],</span>
                                          <span class="n">title</span><span class="o">=</span><span class="s1">&#39;Bill embeddings&#39;</span>
                          <span class="p">)</span>
<span class="n">bills_scatter</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>



<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output " data-mime-type="text/html">
        <script type="text/javascript">
        window.PlotlyConfig = {MathJaxConfig: 'local'};
        if (window.MathJax) {MathJax.Hub.Config({SVG: {font: "STIX-Web"}});}
        if (typeof require !== 'undefined') {
        require.undef("plotly");
        define('plotly', function(require, exports, module) {
            /**
* plotly.js v2.9.0
* Copyright 2012-2022, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Plotly=t()}}((function(){return function t(e,r,n){function i(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,(function(t){return i(e[o][1][t]||t)}),u,u.exports,t,e,r,n)}return r[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){"use strict";var n=t("../src/lib"),i={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:#fff;","X .select-outline-2":"stroke:#000;stroke-dasharray:2px 2px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in i){var o=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");n.addStyleRule(o,i[a])}},{"../src/lib":503}],2:[function(t,e,r){"use strict";e.exports=t("../src/transforms/aggregate")},{"../src/transforms/aggregate":1114}],3:[function(t,e,r){"use strict";e.exports=t("../src/traces/bar")},{"../src/traces/bar":656}],4:[function(t,e,r){"use strict";e.exports=t("../src/traces/barpolar")},{"../src/traces/barpolar":669}],5:[function(t,e,r){"use strict";e.exports=t("../src/traces/box")},{"../src/traces/box":679}],6:[function(t,e,r){"use strict";e.exports=t("../src/components/calendars")},{"../src/components/calendars":364}],7:[function(t,e,r){"use strict";e.exports=t("../src/traces/candlestick")},{"../src/traces/candlestick":688}],8:[function(t,e,r){"use strict";e.exports=t("../src/traces/carpet")},{"../src/traces/carpet":707}],9:[function(t,e,r){"use strict";e.exports=t("../src/traces/choropleth")},{"../src/traces/choropleth":721}],10:[function(t,e,r){"use strict";e.exports=t("../src/traces/choroplethmapbox")},{"../src/traces/choroplethmapbox":728}],11:[function(t,e,r){"use strict";e.exports=t("../src/traces/cone")},{"../src/traces/cone":734}],12:[function(t,e,r){"use strict";e.exports=t("../src/traces/contour")},{"../src/traces/contour":749}],13:[function(t,e,r){"use strict";e.exports=t("../src/traces/contourcarpet")},{"../src/traces/contourcarpet":760}],14:[function(t,e,r){"use strict";e.exports=t("../src/core")},{"../src/core":481}],15:[function(t,e,r){"use strict";e.exports=t("../src/traces/densitymapbox")},{"../src/traces/densitymapbox":768}],16:[function(t,e,r){"use strict";e.exports=t("../src/transforms/filter")},{"../src/transforms/filter":1115}],17:[function(t,e,r){"use strict";e.exports=t("../src/traces/funnel")},{"../src/traces/funnel":778}],18:[function(t,e,r){"use strict";e.exports=t("../src/traces/funnelarea")},{"../src/traces/funnelarea":787}],19:[function(t,e,r){"use strict";e.exports=t("../src/transforms/groupby")},{"../src/transforms/groupby":1116}],20:[function(t,e,r){"use strict";e.exports=t("../src/traces/heatmap")},{"../src/traces/heatmap":800}],21:[function(t,e,r){"use strict";e.exports=t("../src/traces/heatmapgl")},{"../src/traces/heatmapgl":811}],22:[function(t,e,r){"use strict";e.exports=t("../src/traces/histogram")},{"../src/traces/histogram":823}],23:[function(t,e,r){"use strict";e.exports=t("../src/traces/histogram2d")},{"../src/traces/histogram2d":829}],24:[function(t,e,r){"use strict";e.exports=t("../src/traces/histogram2dcontour")},{"../src/traces/histogram2dcontour":833}],25:[function(t,e,r){"use strict";e.exports=t("../src/traces/icicle")},{"../src/traces/icicle":839}],26:[function(t,e,r){"use strict";e.exports=t("../src/traces/image")},{"../src/traces/image":852}],27:[function(t,e,r){"use strict";var n=t("./core");n.register([t("./bar"),t("./box"),t("./heatmap"),t("./histogram"),t("./histogram2d"),t("./histogram2dcontour"),t("./contour"),t("./scatterternary"),t("./violin"),t("./funnel"),t("./waterfall"),t("./image"),t("./pie"),t("./sunburst"),t("./treemap"),t("./icicle"),t("./funnelarea"),t("./scatter3d"),t("./surface"),t("./isosurface"),t("./volume"),t("./mesh3d"),t("./cone"),t("./streamtube"),t("./scattergeo"),t("./choropleth"),t("./scattergl"),t("./splom"),t("./pointcloud"),t("./heatmapgl"),t("./parcoords"),t("./parcats"),t("./scattermapbox"),t("./choroplethmapbox"),t("./densitymapbox"),t("./sankey"),t("./indicator"),t("./table"),t("./carpet"),t("./scattercarpet"),t("./contourcarpet"),t("./ohlc"),t("./candlestick"),t("./scatterpolar"),t("./scatterpolargl"),t("./barpolar"),t("./scattersmith"),t("./aggregate"),t("./filter"),t("./groupby"),t("./sort"),t("./calendars")]),e.exports=n},{"./aggregate":2,"./bar":3,"./barpolar":4,"./box":5,"./calendars":6,"./candlestick":7,"./carpet":8,"./choropleth":9,"./choroplethmapbox":10,"./cone":11,"./contour":12,"./contourcarpet":13,"./core":14,"./densitymapbox":15,"./filter":16,"./funnel":17,"./funnelarea":18,"./groupby":19,"./heatmap":20,"./heatmapgl":21,"./histogram":22,"./histogram2d":23,"./histogram2dcontour":24,"./icicle":25,"./image":26,"./indicator":28,"./isosurface":29,"./mesh3d":30,"./ohlc":31,"./parcats":32,"./parcoords":33,"./pie":34,"./pointcloud":35,"./sankey":36,"./scatter3d":37,"./scattercarpet":38,"./scattergeo":39,"./scattergl":40,"./scattermapbox":41,"./scatterpolar":42,"./scatterpolargl":43,"./scattersmith":44,"./scatterternary":45,"./sort":46,"./splom":47,"./streamtube":48,"./sunburst":49,"./surface":50,"./table":51,"./treemap":52,"./violin":53,"./volume":54,"./waterfall":55}],28:[function(t,e,r){"use strict";e.exports=t("../src/traces/indicator")},{"../src/traces/indicator":860}],29:[function(t,e,r){"use strict";e.exports=t("../src/traces/isosurface")},{"../src/traces/isosurface":866}],30:[function(t,e,r){"use strict";e.exports=t("../src/traces/mesh3d")},{"../src/traces/mesh3d":871}],31:[function(t,e,r){"use strict";e.exports=t("../src/traces/ohlc")},{"../src/traces/ohlc":876}],32:[function(t,e,r){"use strict";e.exports=t("../src/traces/parcats")},{"../src/traces/parcats":885}],33:[function(t,e,r){"use strict";e.exports=t("../src/traces/parcoords")},{"../src/traces/parcoords":895}],34:[function(t,e,r){"use strict";e.exports=t("../src/traces/pie")},{"../src/traces/pie":906}],35:[function(t,e,r){"use strict";e.exports=t("../src/traces/pointcloud")},{"../src/traces/pointcloud":915}],36:[function(t,e,r){"use strict";e.exports=t("../src/traces/sankey")},{"../src/traces/sankey":921}],37:[function(t,e,r){"use strict";e.exports=t("../src/traces/scatter3d")},{"../src/traces/scatter3d":959}],38:[function(t,e,r){"use strict";e.exports=t("../src/traces/scattercarpet")},{"../src/traces/scattercarpet":966}],39:[function(t,e,r){"use strict";e.exports=t("../src/traces/scattergeo")},{"../src/traces/scattergeo":974}],40:[function(t,e,r){"use strict";e.exports=t("../src/traces/scattergl")},{"../src/traces/scattergl":987}],41:[function(t,e,r){"use strict";e.exports=t("../src/traces/scattermapbox")},{"../src/traces/scattermapbox":997}],42:[function(t,e,r){"use strict";e.exports=t("../src/traces/scatterpolar")},{"../src/traces/scatterpolar":1005}],43:[function(t,e,r){"use strict";e.exports=t("../src/traces/scatterpolargl")},{"../src/traces/scatterpolargl":1012}],44:[function(t,e,r){"use strict";e.exports=t("../src/traces/scattersmith")},{"../src/traces/scattersmith":1019}],45:[function(t,e,r){"use strict";e.exports=t("../src/traces/scatterternary")},{"../src/traces/scatterternary":1027}],46:[function(t,e,r){"use strict";e.exports=t("../src/transforms/sort")},{"../src/transforms/sort":1118}],47:[function(t,e,r){"use strict";e.exports=t("../src/traces/splom")},{"../src/traces/splom":1036}],48:[function(t,e,r){"use strict";e.exports=t("../src/traces/streamtube")},{"../src/traces/streamtube":1044}],49:[function(t,e,r){"use strict";e.exports=t("../src/traces/sunburst")},{"../src/traces/sunburst":1052}],50:[function(t,e,r){"use strict";e.exports=t("../src/traces/surface")},{"../src/traces/surface":1061}],51:[function(t,e,r){"use strict";e.exports=t("../src/traces/table")},{"../src/traces/table":1069}],52:[function(t,e,r){"use strict";e.exports=t("../src/traces/treemap")},{"../src/traces/treemap":1080}],53:[function(t,e,r){"use strict";e.exports=t("../src/traces/violin")},{"../src/traces/violin":1093}],54:[function(t,e,r){"use strict";e.exports=t("../src/traces/volume")},{"../src/traces/volume":1101}],55:[function(t,e,r){"use strict";e.exports=t("../src/traces/waterfall")},{"../src/traces/waterfall":1109}],56:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-array"),t("d3-collection"),t("d3-shape"),t("elementary-circuits-directed-graph")):i(n.d3=n.d3||{},n.d3,n.d3,n.d3,null)}(this,(function(t,e,r,n,i){"use strict";function a(t){return t.target.depth}function o(t,e){return t.sourceLinks.length?t.depth:e-1}function s(t){return function(){return t}}i=i&&i.hasOwnProperty("default")?i.default:i;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function c(t,e){return f(t.source,e.source)||t.index-e.index}function u(t,e){return f(t.target,e.target)||t.index-e.index}function f(t,e){return t.partOfCycle===e.partOfCycle?t.y0-e.y0:"top"===t.circularLinkType||"bottom"===e.circularLinkType?-1:1}function h(t){return t.value}function p(t){return(t.y0+t.y1)/2}function d(t){return p(t.source)}function g(t){return p(t.target)}function m(t){return t.index}function v(t){return t.nodes}function y(t){return t.links}function x(t,e){var r=t.get(e);if(!r)throw new Error("missing: "+e);return r}function b(t,e){return e(t)}function _(t,e,r){var n=0;if(null===r){for(var a=[],o=0;o<t.links.length;o++){var s=t.links[o],l=s.source.index,c=s.target.index;a[l]||(a[l]=[]),a[c]||(a[c]=[]),-1===a[l].indexOf(c)&&a[l].push(c)}var u=i(a);u.sort((function(t,e){return t.length-e.length}));var f={};for(o=0;o<u.length;o++){var h=u[o].slice(-2);f[h[0]]||(f[h[0]]={}),f[h[0]][h[1]]=!0}t.links.forEach((function(t){var e=t.target.index,r=t.source.index;e===r||f[r]&&f[r][e]?(t.circular=!0,t.circularLinkID=n,n+=1):t.circular=!1}))}else t.links.forEach((function(t){t.source[r]<t.target[r]?t.circular=!1:(t.circular=!0,t.circularLinkID=n,n+=1)}))}function w(t,e){var r=0,n=0;t.links.forEach((function(i){i.circular&&(i.source.circularLinkType||i.target.circularLinkType?i.circularLinkType=i.source.circularLinkType?i.source.circularLinkType:i.target.circularLinkType:i.circularLinkType=r<n?"top":"bottom","top"==i.circularLinkType?r+=1:n+=1,t.nodes.forEach((function(t){b(t,e)!=b(i.source,e)&&b(t,e)!=b(i.target,e)||(t.circularLinkType=i.circularLinkType)})))})),t.links.forEach((function(t){t.circular&&(t.source.circularLinkType==t.target.circularLinkType&&(t.circularLinkType=t.source.circularLinkType),q(t,e)&&(t.circularLinkType=t.source.circularLinkType))}))}function T(t){var e=Math.abs(t.y1-t.y0),r=Math.abs(t.target.x0-t.source.x1);return Math.atan(r/e)}function k(t,e){var r=0;t.sourceLinks.forEach((function(t){r=t.circular&&!q(t,e)?r+1:r}));var n=0;return t.targetLinks.forEach((function(t){n=t.circular&&!q(t,e)?n+1:n})),r+n}function A(t){var e=t.source.sourceLinks,r=0;e.forEach((function(t){r=t.circular?r+1:r}));var n=t.target.targetLinks,i=0;return n.forEach((function(t){i=t.circular?i+1:i})),!(r>1||i>1)}function M(t,e,r){return t.sort(E),t.forEach((function(n,i){var a,o,s=0;if(q(n,r)&&A(n))n.circularPathData.verticalBuffer=s+n.width/2;else{for(var l=0;l<i;l++)if(a=t[i],o=t[l],!(a.source.column<o.target.column||a.target.column>o.source.column)){var c=t[l].circularPathData.verticalBuffer+t[l].width/2+e;s=c>s?c:s}n.circularPathData.verticalBuffer=s+n.width/2}})),t}function S(t,r,i,a){var o=e.min(t.links,(function(t){return t.source.y0}));t.links.forEach((function(t){t.circular&&(t.circularPathData={})})),M(t.links.filter((function(t){return"top"==t.circularLinkType})),r,a),M(t.links.filter((function(t){return"bottom"==t.circularLinkType})),r,a),t.links.forEach((function(e){if(e.circular){if(e.circularPathData.arcRadius=e.width+10,e.circularPathData.leftNodeBuffer=5,e.circularPathData.rightNodeBuffer=5,e.circularPathData.sourceWidth=e.source.x1-e.source.x0,e.circularPathData.sourceX=e.source.x0+e.circularPathData.sourceWidth,e.circularPathData.targetX=e.target.x0,e.circularPathData.sourceY=e.y0,e.circularPathData.targetY=e.y1,q(e,a)&&A(e))e.circularPathData.leftSmallArcRadius=10+e.width/2,e.circularPathData.leftLargeArcRadius=10+e.width/2,e.circularPathData.rightSmallArcRadius=10+e.width/2,e.circularPathData.rightLargeArcRadius=10+e.width/2,"bottom"==e.circularLinkType?(e.circularPathData.verticalFullExtent=e.source.y1+25+e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.rightLargeArcRadius):(e.circularPathData.verticalFullExtent=e.source.y0-25-e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.rightLargeArcRadius);else{var s=e.source.column,l=e.circularLinkType,c=t.links.filter((function(t){return t.source.column==s&&t.circularLinkType==l}));"bottom"==e.circularLinkType?c.sort(C):c.sort(L);var u=0;c.forEach((function(t,n){t.circularLinkID==e.circularLinkID&&(e.circularPathData.leftSmallArcRadius=10+e.width/2+u,e.circularPathData.leftLargeArcRadius=10+e.width/2+n*r+u),u+=t.width})),s=e.target.column,c=t.links.filter((function(t){return t.target.column==s&&t.circularLinkType==l})),"bottom"==e.circularLinkType?c.sort(I):c.sort(P),u=0,c.forEach((function(t,n){t.circularLinkID==e.circularLinkID&&(e.circularPathData.rightSmallArcRadius=10+e.width/2+u,e.circularPathData.rightLargeArcRadius=10+e.width/2+n*r+u),u+=t.width})),"bottom"==e.circularLinkType?(e.circularPathData.verticalFullExtent=Math.max(i,e.source.y1,e.target.y1)+25+e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.rightLargeArcRadius):(e.circularPathData.verticalFullExtent=o-25-e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.rightLargeArcRadius)}e.circularPathData.leftInnerExtent=e.circularPathData.sourceX+e.circularPathData.leftNodeBuffer,e.circularPathData.rightInnerExtent=e.circularPathData.targetX-e.circularPathData.rightNodeBuffer,e.circularPathData.leftFullExtent=e.circularPathData.sourceX+e.circularPathData.leftLargeArcRadius+e.circularPathData.leftNodeBuffer,e.circularPathData.rightFullExtent=e.circularPathData.targetX-e.circularPathData.rightLargeArcRadius-e.circularPathData.rightNodeBuffer}if(e.circular)e.path=function(t){var e="";e="top"==t.circularLinkType?"M"+t.circularPathData.sourceX+" "+t.circularPathData.sourceY+" L"+t.circularPathData.leftInnerExtent+" "+t.circularPathData.sourceY+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftSmallArcRadius+" 0 0 0 "+t.circularPathData.leftFullExtent+" "+(t.circularPathData.sourceY-t.circularPathData.leftSmallArcRadius)+" L"+t.circularPathData.leftFullExtent+" "+t.circularPathData.verticalLeftInnerExtent+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftLargeArcRadius+" 0 0 0 "+t.circularPathData.leftInnerExtent+" "+t.circularPathData.verticalFullExtent+" L"+t.circularPathData.rightInnerExtent+" "+t.circularPathData.verticalFullExtent+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightLargeArcRadius+" 0 0 0 "+t.circularPathData.rightFullExtent+" "+t.circularPathData.verticalRightInnerExtent+" L"+t.circularPathData.rightFullExtent+" "+(t.circularPathData.targetY-t.circularPathData.rightSmallArcRadius)+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightSmallArcRadius+" 0 0 0 "+t.circularPathData.rightInnerExtent+" "+t.circularPathData.targetY+" L"+t.circularPathData.targetX+" "+t.circularPathData.targetY:"M"+t.circularPathData.sourceX+" "+t.circularPathData.sourceY+" L"+t.circularPathData.leftInnerExtent+" "+t.circularPathData.sourceY+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftSmallArcRadius+" 0 0 1 "+t.circularPathData.leftFullExtent+" "+(t.circularPathData.sourceY+t.circularPathData.leftSmallArcRadius)+" L"+t.circularPathData.leftFullExtent+" "+t.circularPathData.verticalLeftInnerExtent+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftLargeArcRadius+" 0 0 1 "+t.circularPathData.leftInnerExtent+" "+t.circularPathData.verticalFullExtent+" L"+t.circularPathData.rightInnerExtent+" "+t.circularPathData.verticalFullExtent+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightLargeArcRadius+" 0 0 1 "+t.circularPathData.rightFullExtent+" "+t.circularPathData.verticalRightInnerExtent+" L"+t.circularPathData.rightFullExtent+" "+(t.circularPathData.targetY+t.circularPathData.rightSmallArcRadius)+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightSmallArcRadius+" 0 0 1 "+t.circularPathData.rightInnerExtent+" "+t.circularPathData.targetY+" L"+t.circularPathData.targetX+" "+t.circularPathData.targetY;return e}(e);else{var f=n.linkHorizontal().source((function(t){return[t.source.x0+(t.source.x1-t.source.x0),t.y0]})).target((function(t){return[t.target.x0,t.y1]}));e.path=f(e)}}))}function E(t,e){return O(t)==O(e)?"bottom"==t.circularLinkType?C(t,e):L(t,e):O(e)-O(t)}function L(t,e){return t.y0-e.y0}function C(t,e){return e.y0-t.y0}function P(t,e){return t.y1-e.y1}function I(t,e){return e.y1-t.y1}function O(t){return t.target.column-t.source.column}function z(t){return t.target.x0-t.source.x1}function D(t,e){var r=T(t),n=z(e)/Math.tan(r);return"up"==H(t)?t.y1+n:t.y1-n}function R(t,e){var r=T(t),n=z(e)/Math.tan(r);return"up"==H(t)?t.y1-n:t.y1+n}function F(t,e,r,n){t.links.forEach((function(i){if(!i.circular&&i.target.column-i.source.column>1){var a=i.source.column+1,o=i.target.column-1,s=1,l=o-a+1;for(s=1;a<=o;a++,s++)t.nodes.forEach((function(o){if(o.column==a){var c,u=s/(l+1),f=Math.pow(1-u,3),h=3*u*Math.pow(1-u,2),p=3*Math.pow(u,2)*(1-u),d=Math.pow(u,3),g=f*i.y0+h*i.y0+p*i.y1+d*i.y1,m=g-i.width/2,v=g+i.width/2;m>o.y0&&m<o.y1?(c=o.y1-m+10,c="bottom"==o.circularLinkType?c:-c,o=N(o,c,e,r),t.nodes.forEach((function(t){b(t,n)!=b(o,n)&&t.column==o.column&&B(o,t)&&N(t,c,e,r)}))):(v>o.y0&&v<o.y1||m<o.y0&&v>o.y1)&&(c=v-o.y0+10,o=N(o,c,e,r),t.nodes.forEach((function(t){b(t,n)!=b(o,n)&&t.column==o.column&&t.y0<o.y1&&t.y1>o.y1&&N(t,c,e,r)})))}}))}}))}function B(t,e){return t.y0>e.y0&&t.y0<e.y1||(t.y1>e.y0&&t.y1<e.y1||t.y0<e.y0&&t.y1>e.y1)}function N(t,e,r,n){return t.y0+e>=r&&t.y1+e<=n&&(t.y0=t.y0+e,t.y1=t.y1+e,t.targetLinks.forEach((function(t){t.y1=t.y1+e})),t.sourceLinks.forEach((function(t){t.y0=t.y0+e}))),t}function j(t,e,r,n){t.nodes.forEach((function(i){n&&i.y+(i.y1-i.y0)>e&&(i.y=i.y-(i.y+(i.y1-i.y0)-e));var a=t.links.filter((function(t){return b(t.source,r)==b(i,r)})),o=a.length;o>1&&a.sort((function(t,e){if(!t.circular&&!e.circular){if(t.target.column==e.target.column)return t.y1-e.y1;if(!V(t,e))return t.y1-e.y1;if(t.target.column>e.target.column){var r=R(e,t);return t.y1-r}if(e.target.column>t.target.column)return R(t,e)-e.y1}return t.circular&&!e.circular?"top"==t.circularLinkType?-1:1:e.circular&&!t.circular?"top"==e.circularLinkType?1:-1:t.circular&&e.circular?t.circularLinkType===e.circularLinkType&&"top"==t.circularLinkType?t.target.column===e.target.column?t.target.y1-e.target.y1:e.target.column-t.target.column:t.circularLinkType===e.circularLinkType&&"bottom"==t.circularLinkType?t.target.column===e.target.column?e.target.y1-t.target.y1:t.target.column-e.target.column:"top"==t.circularLinkType?-1:1:void 0}));var s=i.y0;a.forEach((function(t){t.y0=s+t.width/2,s+=t.width})),a.forEach((function(t,e){if("bottom"==t.circularLinkType){for(var r=e+1,n=0;r<o;r++)n+=a[r].width;t.y0=i.y1-n-t.width/2}}))}))}function U(t,e,r){t.nodes.forEach((function(e){var n=t.links.filter((function(t){return b(t.target,r)==b(e,r)})),i=n.length;i>1&&n.sort((function(t,e){if(!t.circular&&!e.circular){if(t.source.column==e.source.column)return t.y0-e.y0;if(!V(t,e))return t.y0-e.y0;if(e.source.column<t.source.column){var r=D(e,t);return t.y0-r}if(t.source.column<e.source.column)return D(t,e)-e.y0}return t.circular&&!e.circular?"top"==t.circularLinkType?-1:1:e.circular&&!t.circular?"top"==e.circularLinkType?1:-1:t.circular&&e.circular?t.circularLinkType===e.circularLinkType&&"top"==t.circularLinkType?t.source.column===e.source.column?t.source.y1-e.source.y1:t.source.column-e.source.column:t.circularLinkType===e.circularLinkType&&"bottom"==t.circularLinkType?t.source.column===e.source.column?t.source.y1-e.source.y1:e.source.column-t.source.column:"top"==t.circularLinkType?-1:1:void 0}));var a=e.y0;n.forEach((function(t){t.y1=a+t.width/2,a+=t.width})),n.forEach((function(t,r){if("bottom"==t.circularLinkType){for(var a=r+1,o=0;a<i;a++)o+=n[a].width;t.y1=e.y1-o-t.width/2}}))}))}function V(t,e){return H(t)==H(e)}function H(t){return t.y0-t.y1>0?"up":"down"}function q(t,e){return b(t.source,e)==b(t.target,e)}function G(t,r,n){var i=t.nodes,a=t.links,o=!1,s=!1;if(a.forEach((function(t){"top"==t.circularLinkType?o=!0:"bottom"==t.circularLinkType&&(s=!0)})),0==o||0==s){var l=e.min(i,(function(t){return t.y0})),c=(n-r)/(e.max(i,(function(t){return t.y1}))-l);i.forEach((function(t){var e=(t.y1-t.y0)*c;t.y0=(t.y0-l)*c,t.y1=t.y0+e})),a.forEach((function(t){t.y0=(t.y0-l)*c,t.y1=(t.y1-l)*c,t.width=t.width*c}))}}t.sankeyCircular=function(){var t,n,i=0,a=0,b=1,T=1,A=24,M=m,E=o,L=v,C=y,P=32,I=2,O=null;function z(){var t={nodes:L.apply(null,arguments),links:C.apply(null,arguments)};D(t),_(t,M,O),R(t),B(t),w(t,M),N(t,P,M),V(t);for(var e=4,r=0;r<e;r++)j(t,T,M),U(t,T,M),F(t,a,T,M),j(t,T,M),U(t,T,M);return G(t,a,T),S(t,I,T,M),t}function D(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=r.map(t.nodes,M);return t.links.forEach((function(t,r){t.index=r;var n=t.source,i=t.target;"object"!==(void 0===n?"undefined":l(n))&&(n=t.source=x(e,n)),"object"!==(void 0===i?"undefined":l(i))&&(i=t.target=x(e,i)),n.sourceLinks.push(t),i.targetLinks.push(t)})),t}function R(t){t.nodes.forEach((function(t){t.partOfCycle=!1,t.value=Math.max(e.sum(t.sourceLinks,h),e.sum(t.targetLinks,h)),t.sourceLinks.forEach((function(e){e.circular&&(t.partOfCycle=!0,t.circularLinkType=e.circularLinkType)})),t.targetLinks.forEach((function(e){e.circular&&(t.partOfCycle=!0,t.circularLinkType=e.circularLinkType)}))}))}function B(t){var e,r,n;for(e=t.nodes,r=[],n=0;e.length;++n,e=r,r=[])e.forEach((function(t){t.depth=n,t.sourceLinks.forEach((function(t){r.indexOf(t.target)<0&&!t.circular&&r.push(t.target)}))}));for(e=t.nodes,r=[],n=0;e.length;++n,e=r,r=[])e.forEach((function(t){t.height=n,t.targetLinks.forEach((function(t){r.indexOf(t.source)<0&&!t.circular&&r.push(t.source)}))}));t.nodes.forEach((function(t){t.column=Math.floor(E.call(null,t,n))}))}function N(o,s,l){var c=r.nest().key((function(t){return t.column})).sortKeys(e.ascending).entries(o.nodes).map((function(t){return t.values}));!function(r){if(n){var s=1/0;c.forEach((function(t){var e=T*n/(t.length+1);s=e<s?e:s})),t=s}var l=e.min(c,(function(r){return(T-a-(r.length-1)*t)/e.sum(r,h)}));l*=.3,o.links.forEach((function(t){t.width=t.value*l}));var u=function(t){var r=0,n=0,i=0,a=0,o=e.max(t.nodes,(function(t){return t.column}));return t.links.forEach((function(t){t.circular&&("top"==t.circularLinkType?r+=t.width:n+=t.width,0==t.target.column&&(a+=t.width),t.source.column==o&&(i+=t.width))})),{top:r=r>0?r+25+10:r,bottom:n=n>0?n+25+10:n,left:a=a>0?a+25+10:a,right:i=i>0?i+25+10:i}}(o),f=function(t,r){var n=e.max(t.nodes,(function(t){return t.column})),o=b-i,s=T-a,l=o/(o+r.right+r.left),c=s/(s+r.top+r.bottom);return i=i*l+r.left,b=0==r.right?b:b*l,a=a*c+r.top,T*=c,t.nodes.forEach((function(t){t.x0=i+t.column*((b-i-A)/n),t.x1=t.x0+A})),c}(o,u);l*=f,o.links.forEach((function(t){t.width=t.value*l})),c.forEach((function(t){var e=t.length;t.forEach((function(t,n){t.depth==c.length-1&&1==e||0==t.depth&&1==e?(t.y0=T/2-t.value*l,t.y1=t.y0+t.value*l):t.partOfCycle?0==k(t,r)?(t.y0=T/2+n,t.y1=t.y0+t.value*l):"top"==t.circularLinkType?(t.y0=a+n,t.y1=t.y0+t.value*l):(t.y0=T-t.value*l-n,t.y1=t.y0+t.value*l):0==u.top||0==u.bottom?(t.y0=(T-a)/e*n,t.y1=t.y0+t.value*l):(t.y0=(T-a)/2-e/2+n,t.y1=t.y0+t.value*l)}))}))}(l),y();for(var u=1,m=s;m>0;--m)v(u*=.99,l),y();function v(t,r){var n=c.length;c.forEach((function(i){var a=i.length,o=i[0].depth;i.forEach((function(i){var s;if(i.sourceLinks.length||i.targetLinks.length)if(i.partOfCycle&&k(i,r)>0);else if(0==o&&1==a)s=i.y1-i.y0,i.y0=T/2-s/2,i.y1=T/2+s/2;else if(o==n-1&&1==a)s=i.y1-i.y0,i.y0=T/2-s/2,i.y1=T/2+s/2;else{var l=e.mean(i.sourceLinks,g),c=e.mean(i.targetLinks,d),u=((l&&c?(l+c)/2:l||c)-p(i))*t;i.y0+=u,i.y1+=u}}))}))}function y(){c.forEach((function(e){var r,n,i,o=a,s=e.length;for(e.sort(f),i=0;i<s;++i)(n=o-(r=e[i]).y0)>0&&(r.y0+=n,r.y1+=n),o=r.y1+t;if((n=o-t-T)>0)for(o=r.y0-=n,r.y1-=n,i=s-2;i>=0;--i)(n=(r=e[i]).y1+t-o)>0&&(r.y0-=n,r.y1-=n),o=r.y0}))}}function V(t){t.nodes.forEach((function(t){t.sourceLinks.sort(u),t.targetLinks.sort(c)})),t.nodes.forEach((function(t){var e=t.y0,r=e,n=t.y1,i=n;t.sourceLinks.forEach((function(t){t.circular?(t.y0=n-t.width/2,n-=t.width):(t.y0=e+t.width/2,e+=t.width)})),t.targetLinks.forEach((function(t){t.circular?(t.y1=i-t.width/2,i-=t.width):(t.y1=r+t.width/2,r+=t.width)}))}))}return z.nodeId=function(t){return arguments.length?(M="function"==typeof t?t:s(t),z):M},z.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:s(t),z):E},z.nodeWidth=function(t){return arguments.length?(A=+t,z):A},z.nodePadding=function(e){return arguments.length?(t=+e,z):t},z.nodes=function(t){return arguments.length?(L="function"==typeof t?t:s(t),z):L},z.links=function(t){return arguments.length?(C="function"==typeof t?t:s(t),z):C},z.size=function(t){return arguments.length?(i=a=0,b=+t[0],T=+t[1],z):[b-i,T-a]},z.extent=function(t){return arguments.length?(i=+t[0][0],b=+t[1][0],a=+t[0][1],T=+t[1][1],z):[[i,a],[b,T]]},z.iterations=function(t){return arguments.length?(P=+t,z):P},z.circularLinkGap=function(t){return arguments.length?(I=+t,z):I},z.nodePaddingRatio=function(t){return arguments.length?(n=+t,z):n},z.sortNodes=function(t){return arguments.length?(O=t,z):O},z.update=function(t){return w(t,M),V(t),t.links.forEach((function(t){t.circular&&(t.circularLinkType=t.y0+t.y1<T?"top":"bottom",t.source.circularLinkType=t.circularLinkType,t.target.circularLinkType=t.circularLinkType)})),j(t,T,M,!1),U(t,T,M),S(t,I,T,M),t},z},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,a)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=o,Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-array":107,"d3-collection":108,"d3-shape":119,"elementary-circuits-directed-graph":130}],57:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-array"),t("d3-collection"),t("d3-shape")):i(n.d3=n.d3||{},n.d3,n.d3,n.d3)}(this,(function(t,e,r,n){"use strict";function i(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function o(t){return function(){return t}}function s(t,e){return c(t.source,e.source)||t.index-e.index}function l(t,e){return c(t.target,e.target)||t.index-e.index}function c(t,e){return t.y0-e.y0}function u(t){return t.value}function f(t){return(t.y0+t.y1)/2}function h(t){return f(t.source)*t.value}function p(t){return f(t.target)*t.value}function d(t){return t.index}function g(t){return t.nodes}function m(t){return t.links}function v(t,e){var r=t.get(e);if(!r)throw new Error("missing: "+e);return r}function y(t){return[t.source.x1,t.y0]}function x(t){return[t.target.x0,t.y1]}t.sankey=function(){var t=0,n=0,i=1,y=1,x=24,b=8,_=d,w=a,T=g,k=m,A=32;function M(){var t={nodes:T.apply(null,arguments),links:k.apply(null,arguments)};return S(t),E(t),L(t),C(t),P(t),t}function S(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=r.map(t.nodes,_);t.links.forEach((function(t,r){t.index=r;var n=t.source,i=t.target;"object"!=typeof n&&(n=t.source=v(e,n)),"object"!=typeof i&&(i=t.target=v(e,i)),n.sourceLinks.push(t),i.targetLinks.push(t)}))}function E(t){t.nodes.forEach((function(t){t.value=Math.max(e.sum(t.sourceLinks,u),e.sum(t.targetLinks,u))}))}function L(e){var r,n,a;for(r=e.nodes,n=[],a=0;r.length;++a,r=n,n=[])r.forEach((function(t){t.depth=a,t.sourceLinks.forEach((function(t){n.indexOf(t.target)<0&&n.push(t.target)}))}));for(r=e.nodes,n=[],a=0;r.length;++a,r=n,n=[])r.forEach((function(t){t.height=a,t.targetLinks.forEach((function(t){n.indexOf(t.source)<0&&n.push(t.source)}))}));var o=(i-t-x)/(a-1);e.nodes.forEach((function(e){e.x1=(e.x0=t+Math.max(0,Math.min(a-1,Math.floor(w.call(null,e,a))))*o)+x}))}function C(t){var i=r.nest().key((function(t){return t.x0})).sortKeys(e.ascending).entries(t.nodes).map((function(t){return t.values}));!function(){var r=e.max(i,(function(t){return t.length})),a=2/3*(y-n)/(r-1);b>a&&(b=a);var o=e.min(i,(function(t){return(y-n-(t.length-1)*b)/e.sum(t,u)}));i.forEach((function(t){t.forEach((function(t,e){t.y1=(t.y0=e)+t.value*o}))})),t.links.forEach((function(t){t.width=t.value*o}))}(),d();for(var a=1,o=A;o>0;--o)l(a*=.99),d(),s(a),d();function s(t){i.forEach((function(r){r.forEach((function(r){if(r.targetLinks.length){var n=(e.sum(r.targetLinks,h)/e.sum(r.targetLinks,u)-f(r))*t;r.y0+=n,r.y1+=n}}))}))}function l(t){i.slice().reverse().forEach((function(r){r.forEach((function(r){if(r.sourceLinks.length){var n=(e.sum(r.sourceLinks,p)/e.sum(r.sourceLinks,u)-f(r))*t;r.y0+=n,r.y1+=n}}))}))}function d(){i.forEach((function(t){var e,r,i,a=n,o=t.length;for(t.sort(c),i=0;i<o;++i)(r=a-(e=t[i]).y0)>0&&(e.y0+=r,e.y1+=r),a=e.y1+b;if((r=a-b-y)>0)for(a=e.y0-=r,e.y1-=r,i=o-2;i>=0;--i)(r=(e=t[i]).y1+b-a)>0&&(e.y0-=r,e.y1-=r),a=e.y0}))}}function P(t){t.nodes.forEach((function(t){t.sourceLinks.sort(l),t.targetLinks.sort(s)})),t.nodes.forEach((function(t){var e=t.y0,r=e;t.sourceLinks.forEach((function(t){t.y0=e+t.width/2,e+=t.width})),t.targetLinks.forEach((function(t){t.y1=r+t.width/2,r+=t.width}))}))}return M.update=function(t){return P(t),t},M.nodeId=function(t){return arguments.length?(_="function"==typeof t?t:o(t),M):_},M.nodeAlign=function(t){return arguments.length?(w="function"==typeof t?t:o(t),M):w},M.nodeWidth=function(t){return arguments.length?(x=+t,M):x},M.nodePadding=function(t){return arguments.length?(b=+t,M):b},M.nodes=function(t){return arguments.length?(T="function"==typeof t?t:o(t),M):T},M.links=function(t){return arguments.length?(k="function"==typeof t?t:o(t),M):k},M.size=function(e){return arguments.length?(t=n=0,i=+e[0],y=+e[1],M):[i-t,y-n]},M.extent=function(e){return arguments.length?(t=+e[0][0],i=+e[1][0],n=+e[0][1],y=+e[1][1],M):[[t,n],[i,y]]},M.iterations=function(t){return arguments.length?(A=+t,M):A},M},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,i)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=a,t.sankeyLinkHorizontal=function(){return n.linkHorizontal().source(y).target(x)},Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-array":107,"d3-collection":108,"d3-shape":119}],58:[function(t,e,r){(function(){var t={version:"3.8.0"},r=[].slice,n=function(t){return r.call(t)},i=self.document;function a(t){return t&&(t.ownerDocument||t.document||t).documentElement}function o(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}if(i)try{n(i.documentElement.childNodes)[0].nodeType}catch(t){n=function(t){for(var e=t.length,r=new Array(e);e--;)r[e]=t[e];return r}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var s=this.Element.prototype,l=s.setAttribute,c=s.setAttributeNS,u=this.CSSStyleDeclaration.prototype,f=u.setProperty;s.setAttribute=function(t,e){l.call(this,t,e+"")},s.setAttributeNS=function(t,e,r){c.call(this,t,e,r+"")},u.setProperty=function(t,e,r){f.call(this,t,e+"",r)}}function h(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function p(t){return null===t?NaN:+t}function d(t){return!isNaN(t)}function g(t){return{left:function(e,r,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=e.length);n<i;){var a=n+i>>>1;t(e[a],r)<0?n=a+1:i=a}return n},right:function(e,r,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=e.length);n<i;){var a=n+i>>>1;t(e[a],r)>0?i=a:n=a+1}return n}}}t.ascending=h,t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.min=function(t,e){var r,n,i=-1,a=t.length;if(1===arguments.length){for(;++i<a;)if(null!=(n=t[i])&&n>=n){r=n;break}for(;++i<a;)null!=(n=t[i])&&r>n&&(r=n)}else{for(;++i<a;)if(null!=(n=e.call(t,t[i],i))&&n>=n){r=n;break}for(;++i<a;)null!=(n=e.call(t,t[i],i))&&r>n&&(r=n)}return r},t.max=function(t,e){var r,n,i=-1,a=t.length;if(1===arguments.length){for(;++i<a;)if(null!=(n=t[i])&&n>=n){r=n;break}for(;++i<a;)null!=(n=t[i])&&n>r&&(r=n)}else{for(;++i<a;)if(null!=(n=e.call(t,t[i],i))&&n>=n){r=n;break}for(;++i<a;)null!=(n=e.call(t,t[i],i))&&n>r&&(r=n)}return r},t.extent=function(t,e){var r,n,i,a=-1,o=t.length;if(1===arguments.length){for(;++a<o;)if(null!=(n=t[a])&&n>=n){r=i=n;break}for(;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else{for(;++a<o;)if(null!=(n=e.call(t,t[a],a))&&n>=n){r=i=n;break}for(;++a<o;)null!=(n=e.call(t,t[a],a))&&(r>n&&(r=n),i<n&&(i=n))}return[r,i]},t.sum=function(t,e){var r,n=0,i=t.length,a=-1;if(1===arguments.length)for(;++a<i;)d(r=+t[a])&&(n+=r);else for(;++a<i;)d(r=+e.call(t,t[a],a))&&(n+=r);return n},t.mean=function(t,e){var r,n=0,i=t.length,a=-1,o=i;if(1===arguments.length)for(;++a<i;)d(r=p(t[a]))?n+=r:--o;else for(;++a<i;)d(r=p(e.call(t,t[a],a)))?n+=r:--o;if(o)return n/o},t.quantile=function(t,e){var r=(t.length-1)*e+1,n=Math.floor(r),i=+t[n-1],a=r-n;return a?i+a*(t[n]-i):i},t.median=function(e,r){var n,i=[],a=e.length,o=-1;if(1===arguments.length)for(;++o<a;)d(n=p(e[o]))&&i.push(n);else for(;++o<a;)d(n=p(r.call(e,e[o],o)))&&i.push(n);if(i.length)return t.quantile(i.sort(h),.5)},t.variance=function(t,e){var r,n,i=t.length,a=0,o=0,s=-1,l=0;if(1===arguments.length)for(;++s<i;)d(r=p(t[s]))&&(o+=(n=r-a)*(r-(a+=n/++l)));else for(;++s<i;)d(r=p(e.call(t,t[s],s)))&&(o+=(n=r-a)*(r-(a+=n/++l)));if(l>1)return o/(l-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var m=g(h);function v(t){return t.length}t.bisectLeft=m.left,t.bisect=t.bisectRight=m.right,t.bisector=function(t){return g(1===t.length?function(e,r){return h(t(e),r)}:t)},t.shuffle=function(t,e,r){(a=arguments.length)<3&&(r=t.length,a<2&&(e=0));for(var n,i,a=r-e;a;)i=Math.random()*a--|0,n=t[a+e],t[a+e]=t[i+e],t[i+e]=n;return t},t.permute=function(t,e){for(var r=e.length,n=new Array(r);r--;)n[r]=t[e[r]];return n},t.pairs=function(t){for(var e=0,r=t.length-1,n=t[0],i=new Array(r<0?0:r);e<r;)i[e]=[n,n=t[++e]];return i},t.transpose=function(e){if(!(a=e.length))return[];for(var r=-1,n=t.min(e,v),i=new Array(n);++r<n;)for(var a,o=-1,s=i[r]=new Array(a);++o<a;)s[o]=e[o][r];return i},t.zip=function(){return t.transpose(arguments)},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e},t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.entries=function(t){var e=[];for(var r in t)e.push({key:r,value:t[r]});return e},t.merge=function(t){for(var e,r,n,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(r=new Array(o);--i>=0;)for(e=(n=t[i]).length;--e>=0;)r[--o]=n[e];return r};var y=Math.abs;function x(t){for(var e=1;t*e%1;)e*=10;return e}function b(t,e){for(var r in e)Object.defineProperty(t.prototype,r,{value:e[r],enumerable:!1})}function _(){this._=Object.create(null)}t.range=function(t,e,r){if(arguments.length<3&&(r=1,arguments.length<2&&(e=t,t=0)),(e-t)/r==1/0)throw new Error("infinite range");var n,i=[],a=x(y(r)),o=-1;if(t*=a,e*=a,(r*=a)<0)for(;(n=t+r*++o)>e;)i.push(n/a);else for(;(n=t+r*++o)<e;)i.push(n/a);return i},t.map=function(t,e){var r=new _;if(t instanceof _)t.forEach((function(t,e){r.set(t,e)}));else if(Array.isArray(t)){var n,i=-1,a=t.length;if(1===arguments.length)for(;++i<a;)r.set(i,t[i]);else for(;++i<a;)r.set(e.call(t,n=t[i],i),n)}else for(var o in t)r.set(o,t[o]);return r};function w(t){return"__proto__"==(t+="")||"\0"===t[0]?"\0"+t:t}function T(t){return"\0"===(t+="")[0]?t.slice(1):t}function k(t){return w(t)in this._}function A(t){return(t=w(t))in this._&&delete this._[t]}function M(){var t=[];for(var e in this._)t.push(T(e));return t}function S(){var t=0;for(var e in this._)++t;return t}function E(){for(var t in this._)return!1;return!0}function L(){this._=Object.create(null)}function C(t){return t}function P(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}function I(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var r=0,n=O.length;r<n;++r){var i=O[r]+e;if(i in t)return i}}b(_,{has:k,get:function(t){return this._[w(t)]},set:function(t,e){return this._[w(t)]=e},remove:A,keys:M,values:function(){var t=[];for(var e in this._)t.push(this._[e]);return t},entries:function(){var t=[];for(var e in this._)t.push({key:T(e),value:this._[e]});return t},size:S,empty:E,forEach:function(t){for(var e in this._)t.call(this,T(e),this._[e])}}),t.nest=function(){var e,r,n={},i=[],a=[];function o(t,a,s){if(s>=i.length)return r?r.call(n,a):e?a.sort(e):a;for(var l,c,u,f,h=-1,p=a.length,d=i[s++],g=new _;++h<p;)(f=g.get(l=d(c=a[h])))?f.push(c):g.set(l,[c]);return t?(c=t(),u=function(e,r){c.set(e,o(t,r,s))}):(c={},u=function(e,r){c[e]=o(t,r,s)}),g.forEach(u),c}return n.map=function(t,e){return o(e,t,0)},n.entries=function(e){return function t(e,r){if(r>=i.length)return e;var n=[],o=a[r++];return e.forEach((function(e,i){n.push({key:e,values:t(i,r)})})),o?n.sort((function(t,e){return o(t.key,e.key)})):n}(o(t.map,e,0),0)},n.key=function(t){return i.push(t),n},n.sortKeys=function(t){return a[i.length-1]=t,n},n.sortValues=function(t){return e=t,n},n.rollup=function(t){return r=t,n},n},t.set=function(t){var e=new L;if(t)for(var r=0,n=t.length;r<n;++r)e.add(t[r]);return e},b(L,{has:k,add:function(t){return this._[w(t+="")]=!0,t},remove:A,values:M,size:S,empty:E,forEach:function(t){for(var e in this._)t.call(this,T(e))}}),t.behavior={},t.rebind=function(t,e){for(var r,n=1,i=arguments.length;++n<i;)t[r=arguments[n]]=P(t,e,e[r]);return t};var O=["webkit","ms","moz","Moz","o","O"];function z(){}function D(){}function R(t){var e=[],r=new _;function n(){for(var r,n=e,i=-1,a=n.length;++i<a;)(r=n[i].on)&&r.apply(this,arguments);return t}return n.on=function(n,i){var a,o=r.get(n);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,a=e.indexOf(o)).concat(e.slice(a+1)),r.remove(n)),i&&e.push(r.set(n,{on:i})),t)},n}function F(){t.event.preventDefault()}function B(){for(var e,r=t.event;e=r.sourceEvent;)r=e;return r}function N(e){for(var r=new D,n=0,i=arguments.length;++n<i;)r[arguments[n]]=R(r);return r.of=function(n,i){return function(a){try{var o=a.sourceEvent=t.event;a.target=e,t.event=a,r[a.type].apply(n,i)}finally{t.event=o}}},r}t.dispatch=function(){for(var t=new D,e=-1,r=arguments.length;++e<r;)t[arguments[e]]=R(t);return t},D.prototype.on=function(t,e){var r=t.indexOf("."),n="";if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t)return arguments.length<2?this[t].on(n):this[t].on(n,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(n,null);return this}},t.event=null,t.requote=function(t){return t.replace(j,"\\$&")};var j=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,U={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var r in e)t[r]=e[r]};function V(t){return U(t,Y),t}var H=function(t,e){return e.querySelector(t)},q=function(t,e){return e.querySelectorAll(t)},G=function(t,e){var r=t.matches||t[I(t,"matchesSelector")];return(G=function(t,e){return r.call(t,e)})(t,e)};"function"==typeof Sizzle&&(H=function(t,e){return Sizzle(t,e)[0]||null},q=Sizzle,G=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var Y=t.selection.prototype=[];function W(t){return"function"==typeof t?t:function(){return H(t,this)}}function X(t){return"function"==typeof t?t:function(){return q(t,this)}}Y.select=function(t){var e,r,n,i,a=[];t=W(t);for(var o=-1,s=this.length;++o<s;){a.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var l=-1,c=n.length;++l<c;)(i=n[l])?(e.push(r=t.call(i,i.__data__,l,o)),r&&"__data__"in i&&(r.__data__=i.__data__)):e.push(null)}return V(a)},Y.selectAll=function(t){var e,r,i=[];t=X(t);for(var a=-1,o=this.length;++a<o;)for(var s=this[a],l=-1,c=s.length;++l<c;)(r=s[l])&&(i.push(e=n(t.call(r,r.__data__,l,a))),e.parentNode=r);return V(i)};var Z="http://www.w3.org/1999/xhtml",J={svg:"http://www.w3.org/2000/svg",xhtml:Z,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function K(e,r){return e=t.ns.qualify(e),null==r?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof r?e.local?function(){var t=r.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}:function(){var t=r.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}:e.local?function(){this.setAttributeNS(e.space,e.local,r)}:function(){this.setAttribute(e,r)}}function Q(t){return t.trim().replace(/\s+/g," ")}function $(e){return new RegExp("(?:^|\\s+)"+t.requote(e)+"(?:\\s+|$)","g")}function tt(t){return(t+"").trim().split(/^|\s+/)}function et(t,e){var r=(t=tt(t).map(rt)).length;return"function"==typeof e?function(){for(var n=-1,i=e.apply(this,arguments);++n<r;)t[n](this,i)}:function(){for(var n=-1;++n<r;)t[n](this,e)}}function rt(t){var e=$(t);return function(r,n){if(i=r.classList)return n?i.add(t):i.remove(t);var i=r.getAttribute("class")||"";n?(e.lastIndex=0,e.test(i)||r.setAttribute("class",Q(i+" "+t))):r.setAttribute("class",Q(i.replace(e," ")))}}function nt(t,e,r){return null==e?function(){this.style.removeProperty(t)}:"function"==typeof e?function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}:function(){this.style.setProperty(t,e,r)}}function it(t,e){return null==e?function(){delete this[t]}:"function"==typeof e?function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}:function(){this[t]=e}}function at(e){return"function"==typeof e?e:(e=t.ns.qualify(e)).local?function(){return this.ownerDocument.createElementNS(e.space,e.local)}:function(){var t=this.ownerDocument,r=this.namespaceURI;return r===Z&&t.documentElement.namespaceURI===Z?t.createElement(e):t.createElementNS(r,e)}}function ot(){var t=this.parentNode;t&&t.removeChild(this)}function st(t){return{__data__:t}}function lt(t){return function(){return G(this,t)}}function ct(t){return arguments.length||(t=h),function(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}}function ut(t,e){for(var r=0,n=t.length;r<n;r++)for(var i,a=t[r],o=0,s=a.length;o<s;o++)(i=a[o])&&e(i,o,r);return t}function ft(t){return U(t,ht),t}t.ns={prefix:J,qualify:function(t){var e=t.indexOf(":"),r=t;return e>=0&&"xmlns"!==(r=t.slice(0,e))&&(t=t.slice(e+1)),J.hasOwnProperty(r)?{space:J[r],local:t}:t}},Y.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(K(r,e[r]));return this}return this.each(K(e,r))},Y.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var r=this.node(),n=(t=tt(t)).length,i=-1;if(e=r.classList){for(;++i<n;)if(!e.contains(t[i]))return!1}else for(e=r.getAttribute("class");++i<n;)if(!$(t[i]).test(e))return!1;return!0}for(e in t)this.each(et(e,t[e]));return this}return this.each(et(t,e))},Y.style=function(t,e,r){var n=arguments.length;if(n<3){if("string"!=typeof t){for(r in n<2&&(e=""),t)this.each(nt(r,t[r],e));return this}if(n<2){var i=this.node();return o(i).getComputedStyle(i,null).getPropertyValue(t)}r=""}return this.each(nt(t,e,r))},Y.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(it(e,t[e]));return this}return this.each(it(t,e))},Y.text=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}:null==t?function(){this.textContent=""}:function(){this.textContent=t}):this.node().textContent},Y.html=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}:null==t?function(){this.innerHTML=""}:function(){this.innerHTML=t}):this.node().innerHTML},Y.append=function(t){return t=at(t),this.select((function(){return this.appendChild(t.apply(this,arguments))}))},Y.insert=function(t,e){return t=at(t),e=W(e),this.select((function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)}))},Y.remove=function(){return this.each(ot)},Y.data=function(t,e){var r,n,i=-1,a=this.length;if(!arguments.length){for(t=new Array(a=(r=this[0]).length);++i<a;)(n=r[i])&&(t[i]=n.__data__);return t}function o(t,r){var n,i,a,o=t.length,u=r.length,f=Math.min(o,u),h=new Array(u),p=new Array(u),d=new Array(o);if(e){var g,m=new _,v=new Array(o);for(n=-1;++n<o;)(i=t[n])&&(m.has(g=e.call(i,i.__data__,n))?d[n]=i:m.set(g,i),v[n]=g);for(n=-1;++n<u;)(i=m.get(g=e.call(r,a=r[n],n)))?!0!==i&&(h[n]=i,i.__data__=a):p[n]=st(a),m.set(g,!0);for(n=-1;++n<o;)n in v&&!0!==m.get(v[n])&&(d[n]=t[n])}else{for(n=-1;++n<f;)i=t[n],a=r[n],i?(i.__data__=a,h[n]=i):p[n]=st(a);for(;n<u;++n)p[n]=st(r[n]);for(;n<o;++n)d[n]=t[n]}p.update=h,p.parentNode=h.parentNode=d.parentNode=t.parentNode,s.push(p),l.push(h),c.push(d)}var s=ft([]),l=V([]),c=V([]);if("function"==typeof t)for(;++i<a;)o(r=this[i],t.call(r,r.parentNode.__data__,i));else for(;++i<a;)o(r=this[i],t);return l.enter=function(){return s},l.exit=function(){return c},l},Y.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},Y.filter=function(t){var e,r,n,i=[];"function"!=typeof t&&(t=lt(t));for(var a=0,o=this.length;a<o;a++){i.push(e=[]),e.parentNode=(r=this[a]).parentNode;for(var s=0,l=r.length;s<l;s++)(n=r[s])&&t.call(n,n.__data__,s,a)&&e.push(n)}return V(i)},Y.order=function(){for(var t=-1,e=this.length;++t<e;)for(var r,n=this[t],i=n.length-1,a=n[i];--i>=0;)(r=n[i])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},Y.sort=function(t){t=ct.apply(this,arguments);for(var e=-1,r=this.length;++e<r;)this[e].sort(t);return this.order()},Y.each=function(t){return ut(this,(function(e,r,n){t.call(e,e.__data__,r,n)}))},Y.call=function(t){var e=n(arguments);return t.apply(e[0]=this,e),this},Y.empty=function(){return!this.node()},Y.node=function(){for(var t=0,e=this.length;t<e;t++)for(var r=this[t],n=0,i=r.length;n<i;n++){var a=r[n];if(a)return a}return null},Y.size=function(){var t=0;return ut(this,(function(){++t})),t};var ht=[];function pt(t){var e,r;return function(n,i,a){var o,s=t[a].update,l=s.length;for(a!=r&&(r=a,e=0),i>=e&&(e=i+1);!(o=s[e])&&++e<l;);return o}}function dt(e,r,i){var a="__on"+e,o=e.indexOf("."),s=mt;o>0&&(e=e.slice(0,o));var l=gt.get(e);function c(){var t=this[a];t&&(this.removeEventListener(e,t,t.$),delete this[a])}return l&&(e=l,s=vt),o?r?function(){var t=s(r,n(arguments));c.call(this),this.addEventListener(e,this[a]=t,t.$=i),t._=r}:c:r?z:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var i in this)if(r=i.match(n)){var a=this[i];this.removeEventListener(r[1],a,a.$),delete this[i]}}}t.selection.enter=ft,t.selection.enter.prototype=ht,ht.append=Y.append,ht.empty=Y.empty,ht.node=Y.node,ht.call=Y.call,ht.size=Y.size,ht.select=function(t){for(var e,r,n,i,a,o=[],s=-1,l=this.length;++s<l;){n=(i=this[s]).update,o.push(e=[]),e.parentNode=i.parentNode;for(var c=-1,u=i.length;++c<u;)(a=i[c])?(e.push(n[c]=r=t.call(i.parentNode,a.__data__,c,s)),r.__data__=a.__data__):e.push(null)}return V(o)},ht.insert=function(t,e){return arguments.length<2&&(e=pt(this)),Y.insert.call(this,t,e)},t.select=function(t){var e;return"string"==typeof t?(e=[H(t,i)]).parentNode=i.documentElement:(e=[t]).parentNode=a(t),V([e])},t.selectAll=function(t){var e;return"string"==typeof t?(e=n(q(t,i))).parentNode=i.documentElement:(e=n(t)).parentNode=null,V([e])},Y.on=function(t,e,r){var n=arguments.length;if(n<3){if("string"!=typeof t){for(r in n<2&&(e=!1),t)this.each(dt(r,t[r],e));return this}if(n<2)return(n=this.node()["__on"+t])&&n._;r=!1}return this.each(dt(t,e,r))};var gt=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});function mt(e,r){return function(n){var i=t.event;t.event=n,r[0]=this.__data__;try{e.apply(this,r)}finally{t.event=i}}}function vt(t,e){var r=mt(t,e);return function(t){var e=t.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||r.call(this,t)}}i&&gt.forEach((function(t){"on"+t in i&&gt.remove(t)}));var yt,xt=0;function bt(e){var r=".dragsuppress-"+ ++xt,n="click"+r,i=t.select(o(e)).on("touchmove"+r,F).on("dragstart"+r,F).on("selectstart"+r,F);if(null==yt&&(yt=!("onselectstart"in e)&&I(e.style,"userSelect")),yt){var s=a(e).style,l=s[yt];s[yt]="none"}return function(t){if(i.on(r,null),yt&&(s[yt]=l),t){var e=function(){i.on(n,null)};i.on(n,(function(){F(),e()}),!0),setTimeout(e,0)}}}t.mouse=function(t){return wt(t,B())};var _t=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function wt(e,r){r.changedTouches&&(r=r.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();if(_t<0){var a=o(e);if(a.scrollX||a.scrollY){var s=(n=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();_t=!(s.f||s.e),n.remove()}}return _t?(i.x=r.pageX,i.y=r.pageY):(i.x=r.clientX,i.y=r.clientY),[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}var l=e.getBoundingClientRect();return[r.clientX-l.left-e.clientLeft,r.clientY-l.top-e.clientTop]}function Tt(){return t.event.changedTouches[0].identifier}t.touch=function(t,e,r){if(arguments.length<3&&(r=e,e=B().changedTouches),e)for(var n,i=0,a=e.length;i<a;++i)if((n=e[i]).identifier===r)return wt(t,n)},t.behavior.drag=function(){var e=N(a,"drag","dragstart","dragend"),r=null,n=s(z,t.mouse,o,"mousemove","mouseup"),i=s(Tt,t.touch,C,"touchmove","touchend");function a(){this.on("mousedown.drag",n).on("touchstart.drag",i)}function s(n,i,a,o,s){return function(){var l,c=this,u=t.event.target.correspondingElement||t.event.target,f=c.parentNode,h=e.of(c,arguments),p=0,d=n(),g=".drag"+(null==d?"":"-"+d),m=t.select(a(u)).on(o+g,x).on(s+g,b),v=bt(u),y=i(f,d);function x(){var t,e,r=i(f,d);r&&(t=r[0]-y[0],e=r[1]-y[1],p|=t|e,y=r,h({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:t,dy:e}))}function b(){i(f,d)&&(m.on(o+g,null).on(s+g,null),v(p),h({type:"dragend"}))}l=r?[(l=r.apply(c,arguments)).x-y[0],l.y-y[1]]:[0,0],h({type:"dragstart"})}}return a.origin=function(t){return arguments.length?(r=t,a):r},t.rebind(a,e,"on")},t.touches=function(t,e){return arguments.length<2&&(e=B().touches),e?n(e).map((function(e){var r=wt(t,e);return r.identifier=e.identifier,r})):[]};var kt=1e-6,At=Math.PI,Mt=2*At,St=Mt-kt,Et=At/2,Lt=At/180,Ct=180/At;function Pt(t){return t>1?Et:t<-1?-Et:Math.asin(t)}function It(t){return((t=Math.exp(t))+1/t)/2}var Ot=Math.SQRT2;t.interpolateZoom=function(t,e){var r,n,i=t[0],a=t[1],o=t[2],s=e[0],l=e[1],c=e[2],u=s-i,f=l-a,h=u*u+f*f;if(h<1e-12)n=Math.log(c/o)/Ot,r=function(t){return[i+t*u,a+t*f,o*Math.exp(Ot*t*n)]};else{var p=Math.sqrt(h),d=(c*c-o*o+4*h)/(2*o*2*p),g=(c*c-o*o-4*h)/(2*c*2*p),m=Math.log(Math.sqrt(d*d+1)-d),v=Math.log(Math.sqrt(g*g+1)-g);n=(v-m)/Ot,r=function(t){var e,r=t*n,s=It(m),l=o/(2*p)*(s*(e=Ot*r+m,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[i+l*u,a+l*f,o*s/It(Ot*r+m)]}}return r.duration=1e3*n,r},t.behavior.zoom=function(){var e,r,n,a,s,l,c,u,f,h={x:0,y:0,k:1},p=[960,500],d=Rt,g=250,m=0,v="mousedown.zoom",y="mousemove.zoom",x="mouseup.zoom",b="touchstart.zoom",_=N(w,"zoomstart","zoom","zoomend");function w(t){t.on(v,P).on(Dt+".zoom",O).on("dblclick.zoom",z).on(b,I)}function T(t){return[(t[0]-h.x)/h.k,(t[1]-h.y)/h.k]}function k(t){h.k=Math.max(d[0],Math.min(d[1],t))}function A(t,e){e=function(t){return[t[0]*h.k+h.x,t[1]*h.k+h.y]}(e),h.x+=t[0]-e[0],h.y+=t[1]-e[1]}function M(e,n,i,a){e.__chart__={x:h.x,y:h.y,k:h.k},k(Math.pow(2,a)),A(r=n,i),e=t.select(e),g>0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(l.range().map((function(t){return(t-h.x)/h.k})).map(l.invert)),f&&f.domain(u.range().map((function(t){return(t-h.y)/h.k})).map(u.invert))}function E(t){m++||t({type:"zoomstart"})}function L(t){S(),t({type:"zoom",scale:h.k,translate:[h.x,h.y]})}function C(t){--m||(t({type:"zoomend"}),r=null)}function P(){var e=this,r=_.of(e,arguments),n=0,i=t.select(o(e)).on(y,l).on(x,c),a=T(t.mouse(e)),s=bt(e);function l(){n=1,A(t.mouse(e),a),L(r)}function c(){i.on(y,null).on(x,null),s(n),C(r)}Di.call(e),E(r)}function I(){var e,r=this,n=_.of(r,arguments),i={},a=0,o=".zoom-"+t.event.changedTouches[0].identifier,l="touchmove"+o,c="touchend"+o,u=[],f=t.select(r),p=bt(r);function d(){var n=t.touches(r);return e=h.k,n.forEach((function(t){t.identifier in i&&(i[t.identifier]=T(t))})),n}function g(){var e=t.event.target;t.select(e).on(l,m).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,f=n.length;o<f;++o)i[n[o].identifier]=null;var p=d(),g=Date.now();if(1===p.length){if(g-s<500){var v=p[0];M(r,v,i[v.identifier],Math.floor(Math.log(h.k)/Math.LN2)+1),F()}s=g}else if(p.length>1){v=p[0];var x=p[1],b=v[0]-x[0],_=v[1]-x[1];a=b*b+_*_}}function m(){var o,l,c,u,f=t.touches(r);Di.call(r);for(var h=0,p=f.length;h<p;++h,u=null)if(c=f[h],u=i[c.identifier]){if(l)break;o=c,l=u}if(u){var d=(d=c[0]-o[0])*d+(d=c[1]-o[1])*d,g=a&&Math.sqrt(d/a);o=[(o[0]+c[0])/2,(o[1]+c[1])/2],l=[(l[0]+u[0])/2,(l[1]+u[1])/2],k(g*e)}s=null,A(o,l),L(n)}function y(){if(t.event.touches.length){for(var e=t.event.changedTouches,r=0,a=e.length;r<a;++r)delete i[e[r].identifier];for(var s in i)return void d()}t.selectAll(u).on(o,null),f.on(v,P).on(b,I),p(),C(n)}g(),E(n),f.on(v,null).on(b,g)}function O(){var i=_.of(this,arguments);a?clearTimeout(a):(Di.call(this),e=T(r=n||t.mouse(this)),E(i)),a=setTimeout((function(){a=null,C(i)}),50),F(),k(Math.pow(2,.002*zt())*h.k),A(r,e),L(i)}function z(){var e=t.mouse(this),r=Math.log(h.k)/Math.LN2;M(this,e,T(e),t.event.shiftKey?Math.ceil(r)-1:Math.floor(r)+1)}return Dt||(Dt="onwheel"in i?(zt=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(zt=function(){return t.event.wheelDelta},"mousewheel"):(zt=function(){return-t.event.detail},"MozMousePixelScroll")),w.event=function(e){e.each((function(){var e=_.of(this,arguments),n=h;Bi?t.select(this).transition().each("start.zoom",(function(){h=this.__chart__||{x:0,y:0,k:1},E(e)})).tween("zoom:zoom",(function(){var i=p[0],a=p[1],o=r?r[0]:i/2,s=r?r[1]:a/2,l=t.interpolateZoom([(o-h.x)/h.k,(s-h.y)/h.k,i/h.k],[(o-n.x)/n.k,(s-n.y)/n.k,i/n.k]);return function(t){var r=l(t),n=i/r[2];this.__chart__=h={x:o-r[0]*n,y:s-r[1]*n,k:n},L(e)}})).each("interrupt.zoom",(function(){C(e)})).each("end.zoom",(function(){C(e)})):(this.__chart__=h,E(e),L(e),C(e))}))},w.translate=function(t){return arguments.length?(h={x:+t[0],y:+t[1],k:h.k},S(),w):[h.x,h.y]},w.scale=function(t){return arguments.length?(h={x:h.x,y:h.y,k:null},k(+t),S(),w):h.k},w.scaleExtent=function(t){return arguments.length?(d=null==t?Rt:[+t[0],+t[1]],w):d},w.center=function(t){return arguments.length?(n=t&&[+t[0],+t[1]],w):n},w.size=function(t){return arguments.length?(p=t&&[+t[0],+t[1]],w):p},w.duration=function(t){return arguments.length?(g=+t,w):g},w.x=function(t){return arguments.length?(c=t,l=t.copy(),h={x:0,y:0,k:1},w):c},w.y=function(t){return arguments.length?(f=t,u=t.copy(),h={x:0,y:0,k:1},w):f},t.rebind(w,_,"on")};var zt,Dt,Rt=[0,1/0];function Ft(){}function Bt(t,e,r){return this instanceof Bt?(this.h=+t,this.s=+e,void(this.l=+r)):arguments.length<2?t instanceof Bt?new Bt(t.h,t.s,t.l):ne(""+t,ie,Bt):new Bt(t,e,r)}t.color=Ft,Ft.prototype.toString=function(){return this.rgb()+""},t.hsl=Bt;var Nt=Bt.prototype=new Ft;function jt(t,e,r){var n,i;function a(t){return Math.round(255*function(t){return t>360?t-=360:t<0&&(t+=360),t<60?n+(i-n)*t/60:t<180?i:t<240?n+(i-n)*(240-t)/60:n}(t))}return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)||e<0?0:e>1?1:e,n=2*(r=r<0?0:r>1?1:r)-(i=r<=.5?r*(1+e):r+e-r*e),new Qt(a(t+120),a(t),a(t-120))}function Ut(e,r,n){return this instanceof Ut?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ut?new Ut(e.h,e.c,e.l):Xt(e instanceof qt?e.l:(e=ae((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ut(e,r,n)}Nt.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new Bt(this.h,this.s,this.l/t)},Nt.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new Bt(this.h,this.s,t*this.l)},Nt.rgb=function(){return jt(this.h,this.s,this.l)},t.hcl=Ut;var Vt=Ut.prototype=new Ft;function Ht(t,e,r){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new qt(r,Math.cos(t*=Lt)*e,Math.sin(t)*e)}function qt(t,e,r){return this instanceof qt?(this.l=+t,this.a=+e,void(this.b=+r)):arguments.length<2?t instanceof qt?new qt(t.l,t.a,t.b):t instanceof Ut?Ht(t.h,t.c,t.l):ae((t=Qt(t)).r,t.g,t.b):new qt(t,e,r)}Vt.brighter=function(t){return new Ut(this.h,this.c,Math.min(100,this.l+Gt*(arguments.length?t:1)))},Vt.darker=function(t){return new Ut(this.h,this.c,Math.max(0,this.l-Gt*(arguments.length?t:1)))},Vt.rgb=function(){return Ht(this.h,this.c,this.l).rgb()},t.lab=qt;var Gt=18,Yt=qt.prototype=new Ft;function Wt(t,e,r){var n=(t+16)/116,i=n+e/500,a=n-r/200;return new Qt(Kt(3.2404542*(i=.95047*Zt(i))-1.5371385*(n=1*Zt(n))-.4985314*(a=1.08883*Zt(a))),Kt(-.969266*i+1.8760108*n+.041556*a),Kt(.0556434*i-.2040259*n+1.0572252*a))}function Xt(t,e,r){return t>0?new Ut(Math.atan2(r,e)*Ct,Math.sqrt(e*e+r*r),t):new Ut(NaN,NaN,t)}function Zt(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function Jt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function Kt(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function Qt(t,e,r){return this instanceof Qt?(this.r=~~t,this.g=~~e,void(this.b=~~r)):arguments.length<2?t instanceof Qt?new Qt(t.r,t.g,t.b):ne(""+t,Qt,jt):new Qt(t,e,r)}function $t(t){return new Qt(t>>16,t>>8&255,255&t)}function te(t){return $t(t)+""}Yt.brighter=function(t){return new qt(Math.min(100,this.l+Gt*(arguments.length?t:1)),this.a,this.b)},Yt.darker=function(t){return new qt(Math.max(0,this.l-Gt*(arguments.length?t:1)),this.a,this.b)},Yt.rgb=function(){return Wt(this.l,this.a,this.b)},t.rgb=Qt;var ee=Qt.prototype=new Ft;function re(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function ne(t,e,r){var n,i,a,o=0,s=0,l=0;if(n=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(i=n[2].split(","),n[1]){case"hsl":return r(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(se(i[0]),se(i[1]),se(i[2]))}return(a=le.get(t))?e(a.r,a.g,a.b):(null==t||"#"!==t.charAt(0)||isNaN(a=parseInt(t.slice(1),16))||(4===t.length?(o=(3840&a)>>4,o|=o>>4,s=240&a,s|=s>>4,l=15&a,l|=l<<4):7===t.length&&(o=(16711680&a)>>16,s=(65280&a)>>8,l=255&a)),e(o,s,l))}function ie(t,e,r){var n,i,a=Math.min(t/=255,e/=255,r/=255),o=Math.max(t,e,r),s=o-a,l=(o+a)/2;return s?(i=l<.5?s/(o+a):s/(2-o-a),n=t==o?(e-r)/s+(e<r?6:0):e==o?(r-t)/s+2:(t-e)/s+4,n*=60):(n=NaN,i=l>0&&l<1?0:n),new Bt(n,i,l)}function ae(t,e,r){var n=Jt((.4124564*(t=oe(t))+.3575761*(e=oe(e))+.1804375*(r=oe(r)))/.95047),i=Jt((.2126729*t+.7151522*e+.072175*r)/1);return qt(116*i-16,500*(n-i),200*(i-Jt((.0193339*t+.119192*e+.9503041*r)/1.08883)))}function oe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function se(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}ee.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,r=this.g,n=this.b,i=30;return e||r||n?(e&&e<i&&(e=i),r&&r<i&&(r=i),n&&n<i&&(n=i),new Qt(Math.min(255,e/t),Math.min(255,r/t),Math.min(255,n/t))):new Qt(i,i,i)},ee.darker=function(t){return new Qt((t=Math.pow(.7,arguments.length?t:1))*this.r,t*this.g,t*this.b)},ee.hsl=function(){return ie(this.r,this.g,this.b)},ee.toString=function(){return"#"+re(this.r)+re(this.g)+re(this.b)};var le=t.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function ce(t){return"function"==typeof t?t:function(){return t}}function ue(t){return function(e,r,n){return 2===arguments.length&&"function"==typeof r&&(n=r,r=null),fe(e,r,t,n)}}function fe(e,r,i,a){var o={},s=t.dispatch("beforesend","progress","load","error"),l={},c=new XMLHttpRequest,u=null;function f(){var t,e=c.status;if(!e&&function(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}(c)||e>=200&&e<300||304===e){try{t=i.call(o,c)}catch(t){return void s.error.call(o,t)}s.load.call(o,t)}else s.error.call(o,c)}return self.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=f:c.onreadystatechange=function(){c.readyState>3&&f()},c.onprogress=function(e){var r=t.event;t.event=e;try{s.progress.call(o,c)}finally{t.event=r}},o.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?l[t]:(null==e?delete l[t]:l[t]=e+"",o)},o.mimeType=function(t){return arguments.length?(r=null==t?null:t+"",o):r},o.responseType=function(t){return arguments.length?(u=t,o):u},o.response=function(t){return i=t,o},["get","post"].forEach((function(t){o[t]=function(){return o.send.apply(o,[t].concat(n(arguments)))}})),o.send=function(t,n,i){if(2===arguments.length&&"function"==typeof n&&(i=n,n=null),c.open(t,e,!0),null==r||"accept"in l||(l.accept=r+",*/*"),c.setRequestHeader)for(var a in l)c.setRequestHeader(a,l[a]);return null!=r&&c.overrideMimeType&&c.overrideMimeType(r),null!=u&&(c.responseType=u),null!=i&&o.on("error",i).on("load",(function(t){i(null,t)})),s.beforesend.call(o,c),c.send(null==n?null:n),o},o.abort=function(){return c.abort(),o},t.rebind(o,s,"on"),null==a?o:o.get(function(t){return 1===t.length?function(e,r){t(null==e?r:null)}:t}(a))}le.forEach((function(t,e){le.set(t,$t(e))})),t.functor=ce,t.xhr=ue(C),t.dsv=function(t,e){var r=new RegExp('["'+t+"\n]"),n=t.charCodeAt(0);function i(t,r,n){arguments.length<3&&(n=r,r=null);var i=fe(t,e,null==r?a:o(r),n);return i.row=function(t){return arguments.length?i.response(null==(r=t)?a:o(t)):r},i}function a(t){return i.parse(t.responseText)}function o(t){return function(e){return i.parse(e.responseText,t)}}function s(e){return e.map(l).join(t)}function l(t){return r.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}return i.parse=function(t,e){var r;return i.parseRows(t,(function(t,n){if(r)return r(t,n-1);var i=function(e){for(var r={},n=t.length,i=0;i<n;++i)r[t[i]]=e[i];return r};r=e?function(t,r){return e(i(t),r)}:i}))},i.parseRows=function(t,e){var r,i,a={},o={},s=[],l=t.length,c=0,u=0;function f(){if(c>=l)return o;if(i)return i=!1,a;var e=c;if(34===t.charCodeAt(e)){for(var r=e;r++<l;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return c=r+2,13===(s=t.charCodeAt(r+1))?(i=!0,10===t.charCodeAt(r+2)&&++c):10===s&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;c<l;){var s,u=1;if(10===(s=t.charCodeAt(c++)))i=!0;else if(13===s)i=!0,10===t.charCodeAt(c)&&(++c,++u);else if(s!==n)continue;return t.slice(e,c-u)}return t.slice(e)}for(;(r=f())!==o;){for(var h=[];r!==a&&r!==o;)h.push(r),r=f();e&&null==(h=e(h,u++))||s.push(h)}return s},i.format=function(e){if(Array.isArray(e[0]))return i.formatRows(e);var r=new L,n=[];return e.forEach((function(t){for(var e in t)r.has(e)||n.push(r.add(e))})),[n.map(l).join(t)].concat(e.map((function(e){return n.map((function(t){return l(e[t])})).join(t)}))).join("\n")},i.formatRows=function(t){return t.map(s).join("\n")},i},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv("\t","text/tab-separated-values");var he,pe,de,ge,me=this[I(this,"requestAnimationFrame")]||function(t){setTimeout(t,17)};function ve(t,e,r){var n=arguments.length;n<2&&(e=0),n<3&&(r=Date.now());var i=r+e,a={c:t,t:i,n:null};return pe?pe.n=a:he=a,pe=a,de||(ge=clearTimeout(ge),de=1,me(ye)),a}function ye(){var t=xe(),e=be()-t;e>24?(isFinite(e)&&(clearTimeout(ge),ge=setTimeout(ye,e)),de=0):(de=1,me(ye))}function xe(){for(var t=Date.now(),e=he;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function be(){for(var t,e=he,r=1/0;e;)e.c?(e.t<r&&(r=e.t),e=(t=e).n):e=t?t.n=e.n:he=e.n;return pe=t,r}function _e(t){return t[0]}function we(t){return t[1]}function Te(t){for(var e,r,n,i=t.length,a=[0,1],o=2,s=2;s<i;s++){for(;o>1&&(e=t[a[o-2]],r=t[a[o-1]],n=t[s],(r[0]-e[0])*(n[1]-e[1])-(r[1]-e[1])*(n[0]-e[0])<=0);)--o;a[o++]=s}return a.slice(0,o)}function ke(t,e){return t[0]-e[0]||t[1]-e[1]}t.timer=function(){ve.apply(this,arguments)},t.timer.flush=function(){xe(),be()},t.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)},t.geom={},t.geom.hull=function(t){var e=_e,r=we;if(arguments.length)return n(t);function n(t){if(t.length<3)return[];var n,i=ce(e),a=ce(r),o=t.length,s=[],l=[];for(n=0;n<o;n++)s.push([+i.call(this,t[n],n),+a.call(this,t[n],n),n]);for(s.sort(ke),n=0;n<o;n++)l.push([s[n][0],-s[n][1]]);var c=Te(s),u=Te(l),f=u[0]===c[0],h=u[u.length-1]===c[c.length-1],p=[];for(n=c.length-1;n>=0;--n)p.push(t[s[c[n]][2]]);for(n=+f;n<u.length-h;++n)p.push(t[s[u[n]][2]]);return p}return n.x=function(t){return arguments.length?(e=t,n):e},n.y=function(t){return arguments.length?(r=t,n):r},n},t.geom.polygon=function(t){return U(t,Ae),t};var Ae=t.geom.polygon.prototype=[];function Me(t,e,r){return(r[0]-e[0])*(t[1]-e[1])<(r[1]-e[1])*(t[0]-e[0])}function Se(t,e,r,n){var i=t[0],a=r[0],o=e[0]-i,s=n[0]-a,l=t[1],c=r[1],u=e[1]-l,f=n[1]-c,h=(s*(l-c)-f*(i-a))/(f*o-s*u);return[i+h*o,l+h*u]}function Ee(t){var e=t[0],r=t[t.length-1];return!(e[0]-r[0]||e[1]-r[1])}Ae.area=function(){for(var t,e=-1,r=this.length,n=this[r-1],i=0;++e<r;)t=n,n=this[e],i+=t[1]*n[0]-t[0]*n[1];return.5*i},Ae.centroid=function(t){var e,r,n=-1,i=this.length,a=0,o=0,s=this[i-1];for(arguments.length||(t=-1/(6*this.area()));++n<i;)e=s,s=this[n],r=e[0]*s[1]-s[0]*e[1],a+=(e[0]+s[0])*r,o+=(e[1]+s[1])*r;return[a*t,o*t]},Ae.clip=function(t){for(var e,r,n,i,a,o,s=Ee(t),l=-1,c=this.length-Ee(this),u=this[c-1];++l<c;){for(e=t.slice(),t.length=0,i=this[l],a=e[(n=e.length-s)-1],r=-1;++r<n;)Me(o=e[r],u,i)?(Me(a,u,i)||t.push(Se(a,o,u,i)),t.push(o)):Me(a,u,i)&&t.push(Se(a,o,u,i)),a=o;s&&t.push(t[0]),u=i}return t};var Le,Ce,Pe,Ie,Oe,ze=[],De=[];function Re(){er(this),this.edge=this.site=this.circle=null}function Fe(t){var e=ze.pop()||new Re;return e.site=t,e}function Be(t){We(t),Pe.remove(t),ze.push(t),er(t)}function Ne(t){var e=t.circle,r=e.x,n=e.cy,i={x:r,y:n},a=t.P,o=t.N,s=[t];Be(t);for(var l=a;l.circle&&y(r-l.circle.x)<kt&&y(n-l.circle.cy)<kt;)a=l.P,s.unshift(l),Be(l),l=a;s.unshift(l),We(l);for(var c=o;c.circle&&y(r-c.circle.x)<kt&&y(n-c.circle.cy)<kt;)o=c.N,s.push(c),Be(c),c=o;s.push(c),We(c);var u,f=s.length;for(u=1;u<f;++u)c=s[u],l=s[u-1],Qe(c.edge,l.site,c.site,i);l=s[0],(c=s[f-1]).edge=Je(l.site,c.site,null,i),Ye(l),Ye(c)}function je(t){for(var e,r,n,i,a=t.x,o=t.y,s=Pe._;s;)if((n=Ue(s,o)-a)>kt)s=s.L;else{if(!((i=a-Ve(s,o))>kt)){n>-kt?(e=s.P,r=s):i>-kt?(e=s,r=s.N):e=r=s;break}if(!s.R){e=s;break}s=s.R}var l=Fe(t);if(Pe.insert(e,l),e||r){if(e===r)return We(e),r=Fe(e.site),Pe.insert(l,r),l.edge=r.edge=Je(e.site,l.site),Ye(e),void Ye(r);if(r){We(e),We(r);var c=e.site,u=c.x,f=c.y,h=t.x-u,p=t.y-f,d=r.site,g=d.x-u,m=d.y-f,v=2*(h*m-p*g),y=h*h+p*p,x=g*g+m*m,b={x:(m*y-p*x)/v+u,y:(h*x-g*y)/v+f};Qe(r.edge,c,d,b),l.edge=Je(c,t,null,b),r.edge=Je(t,d,null,b),Ye(e),Ye(r)}else l.edge=Je(e.site,l.site)}}function Ue(t,e){var r=t.site,n=r.x,i=r.y,a=i-e;if(!a)return n;var o=t.P;if(!o)return-1/0;var s=(r=o.site).x,l=r.y,c=l-e;if(!c)return s;var u=s-n,f=1/a-1/c,h=u/c;return f?(-h+Math.sqrt(h*h-2*f*(u*u/(-2*c)-l+c/2+i-a/2)))/f+n:(n+s)/2}function Ve(t,e){var r=t.N;if(r)return Ue(r,e);var n=t.site;return n.y===e?n.x:1/0}function He(t){this.site=t,this.edges=[]}function qe(t,e){return e.angle-t.angle}function Ge(){er(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ye(t){var e=t.P,r=t.N;if(e&&r){var n=e.site,i=t.site,a=r.site;if(n!==a){var o=i.x,s=i.y,l=n.x-o,c=n.y-s,u=a.x-o,f=2*(l*(m=a.y-s)-c*u);if(!(f>=-1e-12)){var h=l*l+c*c,p=u*u+m*m,d=(m*h-c*p)/f,g=(l*p-u*h)/f,m=g+s,v=De.pop()||new Ge;v.arc=t,v.site=i,v.x=d+o,v.y=m+Math.sqrt(d*d+g*g),v.cy=m,t.circle=v;for(var y=null,x=Oe._;x;)if(v.y<x.y||v.y===x.y&&v.x<=x.x){if(!x.L){y=x.P;break}x=x.L}else{if(!x.R){y=x;break}x=x.R}Oe.insert(y,v),y||(Ie=v)}}}}function We(t){var e=t.circle;e&&(e.P||(Ie=e.N),Oe.remove(e),De.push(e),er(e),t.circle=null)}function Xe(t,e){var r=t.b;if(r)return!0;var n,i,a=t.a,o=e[0][0],s=e[1][0],l=e[0][1],c=e[1][1],u=t.l,f=t.r,h=u.x,p=u.y,d=f.x,g=f.y,m=(h+d)/2,v=(p+g)/2;if(g===p){if(m<o||m>=s)return;if(h>d){if(a){if(a.y>=c)return}else a={x:m,y:l};r={x:m,y:c}}else{if(a){if(a.y<l)return}else a={x:m,y:c};r={x:m,y:l}}}else if(i=v-(n=(h-d)/(g-p))*m,n<-1||n>1)if(h>d){if(a){if(a.y>=c)return}else a={x:(l-i)/n,y:l};r={x:(c-i)/n,y:c}}else{if(a){if(a.y<l)return}else a={x:(c-i)/n,y:c};r={x:(l-i)/n,y:l}}else if(p<g){if(a){if(a.x>=s)return}else a={x:o,y:n*o+i};r={x:s,y:n*s+i}}else{if(a){if(a.x<o)return}else a={x:s,y:n*s+i};r={x:o,y:n*o+i}}return t.a=a,t.b=r,!0}function Ze(t,e){this.l=t,this.r=e,this.a=this.b=null}function Je(t,e,r,n){var i=new Ze(t,e);return Le.push(i),r&&Qe(i,t,e,r),n&&Qe(i,e,t,n),Ce[t.i].edges.push(new $e(i,t,e)),Ce[e.i].edges.push(new $e(i,e,t)),i}function Ke(t,e,r){var n=new Ze(t,null);return n.a=e,n.b=r,Le.push(n),n}function Qe(t,e,r,n){t.a||t.b?t.l===r?t.b=n:t.a=n:(t.a=n,t.l=e,t.r=r)}function $e(t,e,r){var n=t.a,i=t.b;this.edge=t,this.site=e,this.angle=r?Math.atan2(r.y-e.y,r.x-e.x):t.l===e?Math.atan2(i.x-n.x,n.y-i.y):Math.atan2(n.x-i.x,i.y-n.y)}function tr(){this._=null}function er(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function rr(t,e){var r=e,n=e.R,i=r.U;i?i.L===r?i.L=n:i.R=n:t._=n,n.U=i,r.U=n,r.R=n.L,r.R&&(r.R.U=r),n.L=r}function nr(t,e){var r=e,n=e.L,i=r.U;i?i.L===r?i.L=n:i.R=n:t._=n,n.U=i,r.U=n,r.L=n.R,r.L&&(r.L.U=r),n.R=r}function ir(t){for(;t.L;)t=t.L;return t}function ar(t,e){var r,n,i,a=t.sort(or).pop();for(Le=[],Ce=new Array(t.length),Pe=new tr,Oe=new tr;;)if(i=Ie,a&&(!i||a.y<i.y||a.y===i.y&&a.x<i.x))a.x===r&&a.y===n||(Ce[a.i]=new He(a),je(a),r=a.x,n=a.y),a=t.pop();else{if(!i)break;Ne(i.arc)}e&&(function(t){for(var e,r,n,i,a,o=Le,s=(r=t[0][0],n=t[0][1],i=t[1][0],a=t[1][1],function(t){var e,o=t.a,s=t.b,l=o.x,c=o.y,u=0,f=1,h=s.x-l,p=s.y-c;if(e=r-l,h||!(e>0)){if(e/=h,h<0){if(e<u)return;e<f&&(f=e)}else if(h>0){if(e>f)return;e>u&&(u=e)}if(e=i-l,h||!(e<0)){if(e/=h,h<0){if(e>f)return;e>u&&(u=e)}else if(h>0){if(e<u)return;e<f&&(f=e)}if(e=n-c,p||!(e>0)){if(e/=p,p<0){if(e<u)return;e<f&&(f=e)}else if(p>0){if(e>f)return;e>u&&(u=e)}if(e=a-c,p||!(e<0)){if(e/=p,p<0){if(e>f)return;e>u&&(u=e)}else if(p>0){if(e<u)return;e<f&&(f=e)}return u>0&&(t.a={x:l+u*h,y:c+u*p}),f<1&&(t.b={x:l+f*h,y:c+f*p}),t}}}}}),l=o.length;l--;)(!Xe(e=o[l],t)||!s(e)||y(e.a.x-e.b.x)<kt&&y(e.a.y-e.b.y)<kt)&&(e.a=e.b=null,o.splice(l,1))}(e),function(t){for(var e,r,n,i,a,o,s,l,c,u,f=t[0][0],h=t[1][0],p=t[0][1],d=t[1][1],g=Ce,m=g.length;m--;)if((a=g[m])&&a.prepare())for(l=(s=a.edges).length,o=0;o<l;)n=(u=s[o].end()).x,i=u.y,e=(c=s[++o%l].start()).x,r=c.y,(y(n-e)>kt||y(i-r)>kt)&&(s.splice(o,0,new $e(Ke(a.site,u,y(n-f)<kt&&d-i>kt?{x:f,y:y(e-f)<kt?r:d}:y(i-d)<kt&&h-n>kt?{x:y(r-d)<kt?e:h,y:d}:y(n-h)<kt&&i-p>kt?{x:h,y:y(e-h)<kt?r:p}:y(i-p)<kt&&n-f>kt?{x:y(r-p)<kt?e:f,y:p}:null),a.site,null)),++l)}(e));var o={cells:Ce,edges:Le};return Pe=Oe=Le=Ce=null,o}function or(t,e){return e.y-t.y||e.x-t.x}He.prototype.prepare=function(){for(var t,e=this.edges,r=e.length;r--;)(t=e[r].edge).b&&t.a||e.splice(r,1);return e.sort(qe),e.length},$e.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},tr.prototype={insert:function(t,e){var r,n,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;r=t}else this._?(t=ir(this._),e.P=null,e.N=t,t.P=t.L=e,r=t):(e.P=e.N=null,this._=e,r=null);for(e.L=e.R=null,e.U=r,e.C=!0,t=e;r&&r.C;)r===(n=r.U).L?(i=n.R)&&i.C?(r.C=i.C=!1,n.C=!0,t=n):(t===r.R&&(rr(this,r),r=(t=r).U),r.C=!1,n.C=!0,nr(this,n)):(i=n.L)&&i.C?(r.C=i.C=!1,n.C=!0,t=n):(t===r.L&&(nr(this,r),r=(t=r).U),r.C=!1,n.C=!0,rr(this,n)),r=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,r,n,i=t.U,a=t.L,o=t.R;if(r=a?o?ir(o):a:o,i?i.L===t?i.L=r:i.R=r:this._=r,a&&o?(n=r.C,r.C=t.C,r.L=a,a.U=r,r!==o?(i=r.U,r.U=t.U,t=r.R,i.L=t,r.R=o,o.U=r):(r.U=i,i=r,t=r.R)):(n=t.C,t=r),t&&(t.U=i),!n)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,rr(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,nr(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,rr(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,nr(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,rr(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,nr(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},t.geom.voronoi=function(t){var e=_e,r=we,n=e,i=r,a=sr;if(t)return o(t);function o(t){var e=new Array(t.length),r=a[0][0],n=a[0][1],i=a[1][0],o=a[1][1];return ar(s(t),a).cells.forEach((function(a,s){var l=a.edges,c=a.site;(e[s]=l.length?l.map((function(t){var e=t.start();return[e.x,e.y]})):c.x>=r&&c.x<=i&&c.y>=n&&c.y<=o?[[r,o],[i,o],[i,n],[r,n]]:[]).point=t[s]})),e}function s(t){return t.map((function(t,e){return{x:Math.round(n(t,e)/kt)*kt,y:Math.round(i(t,e)/kt)*kt,i:e}}))}return o.links=function(t){return ar(s(t)).edges.filter((function(t){return t.l&&t.r})).map((function(e){return{source:t[e.l.i],target:t[e.r.i]}}))},o.triangles=function(t){var e=[];return ar(s(t)).cells.forEach((function(r,n){for(var i,a,o,s,l=r.site,c=r.edges.sort(qe),u=-1,f=c.length,h=c[f-1].edge,p=h.l===l?h.r:h.l;++u<f;)h,i=p,p=(h=c[u].edge).l===l?h.r:h.l,n<i.i&&n<p.i&&(o=i,s=p,((a=l).x-s.x)*(o.y-a.y)-(a.x-o.x)*(s.y-a.y)<0)&&e.push([t[n],t[i.i],t[p.i]])})),e},o.x=function(t){return arguments.length?(n=ce(e=t),o):e},o.y=function(t){return arguments.length?(i=ce(r=t),o):r},o.clipExtent=function(t){return arguments.length?(a=null==t?sr:t,o):a===sr?null:a},o.size=function(t){return arguments.length?o.clipExtent(t&&[[0,0],t]):a===sr?null:a&&a[1]},o};var sr=[[-1e6,-1e6],[1e6,1e6]];function lr(t){return t.x}function cr(t){return t.y}function ur(t,e,r,n,i,a){if(!t(e,r,n,i,a)){var o=.5*(r+i),s=.5*(n+a),l=e.nodes;l[0]&&ur(t,l[0],r,n,o,s),l[1]&&ur(t,l[1],o,n,i,s),l[2]&&ur(t,l[2],r,s,o,a),l[3]&&ur(t,l[3],o,s,i,a)}}function fr(t,e,r,n,i,a,o){var s,l=1/0;return function t(c,u,f,h,p){if(!(u>a||f>o||h<n||p<i)){if(d=c.point){var d,g=e-c.x,m=r-c.y,v=g*g+m*m;if(v<l){var y=Math.sqrt(l=v);n=e-y,i=r-y,a=e+y,o=r+y,s=d}}for(var x=c.nodes,b=.5*(u+h),_=.5*(f+p),w=(r>=_)<<1|e>=b,T=w+4;w<T;++w)if(c=x[3&w])switch(3&w){case 0:t(c,u,f,b,_);break;case 1:t(c,b,f,h,_);break;case 2:t(c,u,_,b,p);break;case 3:t(c,b,_,h,p)}}}(t,n,i,a,o),s}function hr(e,r){e=t.rgb(e),r=t.rgb(r);var n=e.r,i=e.g,a=e.b,o=r.r-n,s=r.g-i,l=r.b-a;return function(t){return"#"+re(Math.round(n+o*t))+re(Math.round(i+s*t))+re(Math.round(a+l*t))}}function pr(t,e){var r,n={},i={};for(r in t)r in e?n[r]=yr(t[r],e[r]):i[r]=t[r];for(r in e)r in t||(i[r]=e[r]);return function(t){for(r in n)i[r]=n[r](t);return i}}function dr(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function gr(t,e){var r,n,i,a=mr.lastIndex=vr.lastIndex=0,o=-1,s=[],l=[];for(t+="",e+="";(r=mr.exec(t))&&(n=vr.exec(e));)(i=n.index)>a&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(r=r[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:dr(r,n)})),a=vr.lastIndex;return a<e.length&&(i=e.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?(e=l[0].x,function(t){return e(t)+""}):function(){return e}:(e=l.length,function(t){for(var r,n=0;n<e;++n)s[(r=l[n]).i]=r.x(t);return s.join("")})}t.geom.delaunay=function(e){return t.geom.voronoi().triangles(e)},t.geom.quadtree=function(t,e,r,n,i){var a,o=_e,s=we;if(a=arguments.length)return o=lr,s=cr,3===a&&(i=r,n=e,r=e=0),l(t);function l(t){var l,c,u,f,h,p,d,g,m,v=ce(o),x=ce(s);if(null!=e)p=e,d=r,g=n,m=i;else if(g=m=-(p=d=1/0),c=[],u=[],h=t.length,a)for(f=0;f<h;++f)(l=t[f]).x<p&&(p=l.x),l.y<d&&(d=l.y),l.x>g&&(g=l.x),l.y>m&&(m=l.y),c.push(l.x),u.push(l.y);else for(f=0;f<h;++f){var b=+v(l=t[f],f),_=+x(l,f);b<p&&(p=b),_<d&&(d=_),b>g&&(g=b),_>m&&(m=_),c.push(b),u.push(_)}var w=g-p,T=m-d;function k(t,e,r,n,i,a,o,s){if(!isNaN(r)&&!isNaN(n))if(t.leaf){var l=t.x,c=t.y;if(null!=l)if(y(l-r)+y(c-n)<.01)A(t,e,r,n,i,a,o,s);else{var u=t.point;t.x=t.y=t.point=null,A(t,u,l,c,i,a,o,s),A(t,e,r,n,i,a,o,s)}else t.x=r,t.y=n,t.point=e}else A(t,e,r,n,i,a,o,s)}function A(t,e,r,n,i,a,o,s){var l=.5*(i+o),c=.5*(a+s),u=r>=l,f=n>=c,h=f<<1|u;t.leaf=!1,u?i=l:o=l,f?a=c:s=c,k(t=t.nodes[h]||(t.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null}),e,r,n,i,a,o,s)}w>T?m=d+w:g=p+T;var M={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){k(M,t,+v(t,++f),+x(t,f),p,d,g,m)},visit:function(t){ur(t,M,p,d,g,m)},find:function(t){return fr(M,t[0],t[1],p,d,g,m)}};if(f=-1,null==e){for(;++f<h;)k(M,t[f],c[f],u[f],p,d,g,m);--f}else t.forEach(M.add);return c=u=t=l=null,M}return l.x=function(t){return arguments.length?(o=t,l):o},l.y=function(t){return arguments.length?(s=t,l):s},l.extent=function(t){return arguments.length?(null==t?e=r=n=i=null:(e=+t[0][0],r=+t[0][1],n=+t[1][0],i=+t[1][1]),l):null==e?null:[[e,r],[n,i]]},l.size=function(t){return arguments.length?(null==t?e=r=n=i=null:(e=r=0,n=+t[0],i=+t[1]),l):null==e?null:[n-e,i-r]},l},t.interpolateRgb=hr,t.interpolateObject=pr,t.interpolateNumber=dr,t.interpolateString=gr;var mr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vr=new RegExp(mr.source,"g");function yr(e,r){for(var n,i=t.interpolators.length;--i>=0&&!(n=t.interpolators[i](e,r)););return n}function xr(t,e){var r,n=[],i=[],a=t.length,o=e.length,s=Math.min(t.length,e.length);for(r=0;r<s;++r)n.push(yr(t[r],e[r]));for(;r<a;++r)i[r]=t[r];for(;r<o;++r)i[r]=e[r];return function(t){for(r=0;r<s;++r)i[r]=n[r](t);return i}}t.interpolate=yr,t.interpolators=[function(t,e){var r=typeof e;return("string"===r?le.has(e.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(e)?hr:gr:e instanceof Ft?hr:Array.isArray(e)?xr:"object"===r&&isNaN(e)?pr:dr)(t,e)}],t.interpolateArray=xr;var br=function(){return C},_r=t.map({linear:br,poly:function(t){return function(e){return Math.pow(e,t)}},quad:function(){return Mr},cubic:function(){return Sr},sin:function(){return Lr},exp:function(){return Cr},circle:function(){return Pr},elastic:function(t,e){var r;arguments.length<2&&(e=.45);arguments.length?r=e/Mt*Math.asin(1/t):(t=1,r=e/4);return function(n){return 1+t*Math.pow(2,-10*n)*Math.sin((n-r)*Mt/e)}},back:function(t){t||(t=1.70158);return function(e){return e*e*((t+1)*e-t)}},bounce:function(){return Ir}}),wr=t.map({in:C,out:kr,"in-out":Ar,"out-in":function(t){return Ar(kr(t))}});function Tr(t){return function(e){return e<=0?0:e>=1?1:t(e)}}function kr(t){return function(e){return 1-t(1-e)}}function Ar(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function Mr(t){return t*t}function Sr(t){return t*t*t}function Er(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}function Lr(t){return 1-Math.cos(t*Et)}function Cr(t){return Math.pow(2,10*(t-1))}function Pr(t){return 1-Math.sqrt(1-t*t)}function Ir(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function Or(t,e){return e-=t,function(r){return Math.round(t+e*r)}}function zr(t){var e,r,n,i=[t.a,t.b],a=[t.c,t.d],o=Rr(i),s=Dr(i,a),l=Rr(((e=a)[0]+=(n=-s)*(r=i)[0],e[1]+=n*r[1],e))||0;i[0]*a[1]<a[0]*i[1]&&(i[0]*=-1,i[1]*=-1,o*=-1,s*=-1),this.rotate=(o?Math.atan2(i[1],i[0]):Math.atan2(-a[0],a[1]))*Ct,this.translate=[t.e,t.f],this.scale=[o,l],this.skew=l?Math.atan2(s,l)*Ct:0}function Dr(t,e){return t[0]*e[0]+t[1]*e[1]}function Rr(t){var e=Math.sqrt(Dr(t,t));return e&&(t[0]/=e,t[1]/=e),e}t.ease=function(t){var e=t.indexOf("-"),n=e>=0?t.slice(0,e):t,i=e>=0?t.slice(e+1):"in";return n=_r.get(n)||br,Tr((i=wr.get(i)||C)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,i=e.c,a=e.l,o=r.h-n,s=r.c-i,l=r.l-a;isNaN(s)&&(s=0,i=isNaN(i)?r.c:i);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(t){return Ht(n+o*t,i+s*t,a+l*t)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,i=e.s,a=e.l,o=r.h-n,s=r.s-i,l=r.l-a;isNaN(s)&&(s=0,i=isNaN(i)?r.s:i);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(t){return jt(n+o*t,i+s*t,a+l*t)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,i=e.a,a=e.b,o=r.l-n,s=r.a-i,l=r.b-a;return function(t){return Wt(n+o*t,i+s*t,a+l*t)+""}},t.interpolateRound=Or,t.transform=function(e){var r=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(t){if(null!=t){r.setAttribute("transform",t);var e=r.transform.baseVal.consolidate()}return new zr(e?e.matrix:Fr)})(e)},zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Fr={a:1,b:0,c:0,d:1,e:0,f:0};function Br(t){return t.length?t.pop()+",":""}function Nr(e,r){var n=[],i=[];return e=t.transform(e),r=t.transform(r),function(t,e,r,n){if(t[0]!==e[0]||t[1]!==e[1]){var i=r.push("translate(",null,",",null,")");n.push({i:i-4,x:dr(t[0],e[0])},{i:i-2,x:dr(t[1],e[1])})}else(e[0]||e[1])&&r.push("translate("+e+")")}(e.translate,r.translate,n,i),function(t,e,r,n){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),n.push({i:r.push(Br(r)+"rotate(",null,")")-2,x:dr(t,e)})):e&&r.push(Br(r)+"rotate("+e+")")}(e.rotate,r.rotate,n,i),function(t,e,r,n){t!==e?n.push({i:r.push(Br(r)+"skewX(",null,")")-2,x:dr(t,e)}):e&&r.push(Br(r)+"skewX("+e+")")}(e.skew,r.skew,n,i),function(t,e,r,n){if(t[0]!==e[0]||t[1]!==e[1]){var i=r.push(Br(r)+"scale(",null,",",null,")");n.push({i:i-4,x:dr(t[0],e[0])},{i:i-2,x:dr(t[1],e[1])})}else 1===e[0]&&1===e[1]||r.push(Br(r)+"scale("+e+")")}(e.scale,r.scale,n,i),e=r=null,function(t){for(var e,r=-1,a=i.length;++r<a;)n[(e=i[r]).i]=e.x(t);return n.join("")}}function jr(t,e){return e=(e-=t=+t)||1/e,function(r){return(r-t)/e}}function Ur(t,e){return e=(e-=t=+t)||1/e,function(r){return Math.max(0,Math.min(1,(r-t)/e))}}function Vr(t){for(var e=t.source,r=t.target,n=function(t,e){if(t===e)return t;var r=Hr(t),n=Hr(e),i=r.pop(),a=n.pop(),o=null;for(;i===a;)o=i,i=r.pop(),a=n.pop();return o}(e,r),i=[e];e!==n;)e=e.parent,i.push(e);for(var a=i.length;r!==n;)i.splice(a,0,r),r=r.parent;return i}function Hr(t){for(var e=[],r=t.parent;null!=r;)e.push(t),t=r,r=r.parent;return e.push(t),e}function qr(t){t.fixed|=2}function Gr(t){t.fixed&=-7}function Yr(t){t.fixed|=4,t.px=t.x,t.py=t.y}function Wr(t){t.fixed&=-5}t.interpolateTransform=Nr,t.layout={},t.layout.bundle=function(){return function(t){for(var e=[],r=-1,n=t.length;++r<n;)e.push(Vr(t[r]));return e}},t.layout.chord=function(){var e,r,n,i,a,o,s,l={},c=0;function u(){var l,u,h,p,d,g={},m=[],v=t.range(i),y=[];for(e=[],r=[],l=0,p=-1;++p<i;){for(u=0,d=-1;++d<i;)u+=n[p][d];m.push(u),y.push(t.range(i)),l+=u}for(a&&v.sort((function(t,e){return a(m[t],m[e])})),o&&y.forEach((function(t,e){t.sort((function(t,r){return o(n[e][t],n[e][r])}))})),l=(Mt-c*i)/l,u=0,p=-1;++p<i;){for(h=u,d=-1;++d<i;){var x=v[p],b=y[x][d],_=n[x][b],w=u,T=u+=_*l;g[x+"-"+b]={index:x,subindex:b,startAngle:w,endAngle:T,value:_}}r[x]={index:x,startAngle:h,endAngle:u,value:m[x]},u+=c}for(p=-1;++p<i;)for(d=p-1;++d<i;){var k=g[p+"-"+d],A=g[d+"-"+p];(k.value||A.value)&&e.push(k.value<A.value?{source:A,target:k}:{source:k,target:A})}s&&f()}function f(){e.sort((function(t,e){return s((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)}))}return l.matrix=function(t){return arguments.length?(i=(n=t)&&n.length,e=r=null,l):n},l.padding=function(t){return arguments.length?(c=t,e=r=null,l):c},l.sortGroups=function(t){return arguments.length?(a=t,e=r=null,l):a},l.sortSubgroups=function(t){return arguments.length?(o=t,e=null,l):o},l.sortChords=function(t){return arguments.length?(s=t,e&&f(),l):s},l.chords=function(){return e||u(),e},l.groups=function(){return r||u(),r},l},t.layout.force=function(){var e,r,n,i,a,o,s={},l=t.dispatch("start","tick","end"),c=[1,1],u=.9,f=Xr,h=Zr,p=-30,d=Jr,g=.1,m=.64,v=[],y=[];function x(t){return function(e,r,n,i){if(e.point!==t){var a=e.cx-t.x,o=e.cy-t.y,s=i-r,l=a*a+o*o;if(s*s/m<l){if(l<d){var c=e.charge/l;t.px-=a*c,t.py-=o*c}return!0}if(e.point&&l&&l<d){c=e.pointCharge/l;t.px-=a*c,t.py-=o*c}}return!e.charge}}function b(e){e.px=t.event.x,e.py=t.event.y,s.resume()}return s.tick=function(){if((n*=.99)<.005)return e=null,l.end({type:"end",alpha:n=0}),!0;var r,s,f,h,d,m,b,_,w,T=v.length,k=y.length;for(s=0;s<k;++s)h=(f=y[s]).source,(m=(_=(d=f.target).x-h.x)*_+(w=d.y-h.y)*w)&&(_*=m=n*a[s]*((m=Math.sqrt(m))-i[s])/m,w*=m,d.x-=_*(b=h.weight+d.weight?h.weight/(h.weight+d.weight):.5),d.y-=w*b,h.x+=_*(b=1-b),h.y+=w*b);if((b=n*g)&&(_=c[0]/2,w=c[1]/2,s=-1,b))for(;++s<T;)(f=v[s]).x+=(_-f.x)*b,f.y+=(w-f.y)*b;if(p)for(!function t(e,r,n){var i=0,a=0;if(e.charge=0,!e.leaf)for(var o,s=e.nodes,l=s.length,c=-1;++c<l;)null!=(o=s[c])&&(t(o,r,n),e.charge+=o.charge,i+=o.charge*o.cx,a+=o.charge*o.cy);if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var u=r*n[e.point.index];e.charge+=e.pointCharge=u,i+=u*e.point.x,a+=u*e.point.y}e.cx=i/e.charge,e.cy=a/e.charge}(r=t.geom.quadtree(v),n,o),s=-1;++s<T;)(f=v[s]).fixed||r.visit(x(f));for(s=-1;++s<T;)(f=v[s]).fixed?(f.x=f.px,f.y=f.py):(f.x-=(f.px-(f.px=f.x))*u,f.y-=(f.py-(f.py=f.y))*u);l.tick({type:"tick",alpha:n})},s.nodes=function(t){return arguments.length?(v=t,s):v},s.links=function(t){return arguments.length?(y=t,s):y},s.size=function(t){return arguments.length?(c=t,s):c},s.linkDistance=function(t){return arguments.length?(f="function"==typeof t?t:+t,s):f},s.distance=s.linkDistance,s.linkStrength=function(t){return arguments.length?(h="function"==typeof t?t:+t,s):h},s.friction=function(t){return arguments.length?(u=+t,s):u},s.charge=function(t){return arguments.length?(p="function"==typeof t?t:+t,s):p},s.chargeDistance=function(t){return arguments.length?(d=t*t,s):Math.sqrt(d)},s.gravity=function(t){return arguments.length?(g=+t,s):g},s.theta=function(t){return arguments.length?(m=t*t,s):Math.sqrt(m)},s.alpha=function(t){return arguments.length?(t=+t,n?t>0?n=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:n=0})):t>0&&(l.start({type:"start",alpha:n=t}),e=ve(s.tick)),s):n},s.start=function(){var t,e,r,n=v.length,l=y.length,u=c[0],d=c[1];for(t=0;t<n;++t)(r=v[t]).index=t,r.weight=0;for(t=0;t<l;++t)"number"==typeof(r=y[t]).source&&(r.source=v[r.source]),"number"==typeof r.target&&(r.target=v[r.target]),++r.source.weight,++r.target.weight;for(t=0;t<n;++t)r=v[t],isNaN(r.x)&&(r.x=g("x",u)),isNaN(r.y)&&(r.y=g("y",d)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(i=[],"function"==typeof f)for(t=0;t<l;++t)i[t]=+f.call(this,y[t],t);else for(t=0;t<l;++t)i[t]=f;if(a=[],"function"==typeof h)for(t=0;t<l;++t)a[t]=+h.call(this,y[t],t);else for(t=0;t<l;++t)a[t]=h;if(o=[],"function"==typeof p)for(t=0;t<n;++t)o[t]=+p.call(this,v[t],t);else for(t=0;t<n;++t)o[t]=p;function g(r,i){if(!e){for(e=new Array(n),c=0;c<n;++c)e[c]=[];for(c=0;c<l;++c){var a=y[c];e[a.source.index].push(a.target),e[a.target.index].push(a.source)}}for(var o,s=e[t],c=-1,u=s.length;++c<u;)if(!isNaN(o=s[c][r]))return o;return Math.random()*i}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(r||(r=t.behavior.drag().origin(C).on("dragstart.force",qr).on("drag.force",b).on("dragend.force",Gr)),!arguments.length)return r;this.on("mouseover.force",Yr).on("mouseout.force",Wr).call(r)},t.rebind(s,l,"on")};var Xr=20,Zr=1,Jr=1/0;function Kr(e,r){return t.rebind(e,r,"sort","children","value"),e.nodes=e,e.links=nn,e}function Qr(t,e){for(var r=[t];null!=(t=r.pop());)if(e(t),(i=t.children)&&(n=i.length))for(var n,i;--n>=0;)r.push(i[n])}function $r(t,e){for(var r=[t],n=[];null!=(t=r.pop());)if(n.push(t),(a=t.children)&&(i=a.length))for(var i,a,o=-1;++o<i;)r.push(a[o]);for(;null!=(t=n.pop());)e(t)}function tn(t){return t.children}function en(t){return t.value}function rn(t,e){return e.value-t.value}function nn(e){return t.merge(e.map((function(t){return(t.children||[]).map((function(e){return{source:t,target:e}}))})))}t.layout.hierarchy=function(){var t=rn,e=tn,r=en;function n(i){var a,o=[i],s=[];for(i.depth=0;null!=(a=o.pop());)if(s.push(a),(c=e.call(n,a,a.depth))&&(l=c.length)){for(var l,c,u;--l>=0;)o.push(u=c[l]),u.parent=a,u.depth=a.depth+1;r&&(a.value=0),a.children=c}else r&&(a.value=+r.call(n,a,a.depth)||0),delete a.children;return $r(i,(function(e){var n,i;t&&(n=e.children)&&n.sort(t),r&&(i=e.parent)&&(i.value+=e.value)})),s}return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(Qr(t,(function(t){t.children&&(t.value=0)})),$r(t,(function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)}))),t},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(t,n){var i=e.call(this,t,n);return function t(e,r,n,i){var a=e.children;if(e.x=r,e.y=e.depth*i,e.dx=n,e.dy=i,a&&(o=a.length)){var o,s,l,c=-1;for(n=e.value?n/e.value:0;++c<o;)t(s=a[c],r,l=s.value*n,i),r+=l}}(i[0],0,r[0],r[1]/function t(e){var r=e.children,n=0;if(r&&(i=r.length))for(var i,a=-1;++a<i;)n=Math.max(n,t(r[a]));return 1+n}(i[0])),i}return n.size=function(t){return arguments.length?(r=t,n):r},Kr(n,e)},t.layout.pie=function(){var e=Number,r=an,n=0,i=Mt,a=0;function o(s){var l,c=s.length,u=s.map((function(t,r){return+e.call(o,t,r)})),f=+("function"==typeof n?n.apply(this,arguments):n),h=("function"==typeof i?i.apply(this,arguments):i)-f,p=Math.min(Math.abs(h)/c,+("function"==typeof a?a.apply(this,arguments):a)),d=p*(h<0?-1:1),g=t.sum(u),m=g?(h-c*d)/g:0,v=t.range(c),y=[];return null!=r&&v.sort(r===an?function(t,e){return u[e]-u[t]}:function(t,e){return r(s[t],s[e])}),v.forEach((function(t){y[t]={data:s[t],value:l=u[t],startAngle:f,endAngle:f+=l*m+d,padAngle:p}})),y}return o.value=function(t){return arguments.length?(e=t,o):e},o.sort=function(t){return arguments.length?(r=t,o):r},o.startAngle=function(t){return arguments.length?(n=t,o):n},o.endAngle=function(t){return arguments.length?(i=t,o):i},o.padAngle=function(t){return arguments.length?(a=t,o):a},o};var an={};function on(t){return t.x}function sn(t){return t.y}function ln(t,e,r){t.y0=e,t.y=r}t.layout.stack=function(){var e=C,r=fn,n=hn,i=ln,a=on,o=sn;function s(l,c){if(!(p=l.length))return l;var u=l.map((function(t,r){return e.call(s,t,r)})),f=u.map((function(t){return t.map((function(t,e){return[a.call(s,t,e),o.call(s,t,e)]}))})),h=r.call(s,f,c);u=t.permute(u,h),f=t.permute(f,h);var p,d,g,m,v=n.call(s,f,c),y=u[0].length;for(g=0;g<y;++g)for(i.call(s,u[0][g],m=v[g],f[0][g][1]),d=1;d<p;++d)i.call(s,u[d][g],m+=f[d-1][g][1],f[d][g][1]);return l}return s.values=function(t){return arguments.length?(e=t,s):e},s.order=function(t){return arguments.length?(r="function"==typeof t?t:cn.get(t)||fn,s):r},s.offset=function(t){return arguments.length?(n="function"==typeof t?t:un.get(t)||hn,s):n},s.x=function(t){return arguments.length?(a=t,s):a},s.y=function(t){return arguments.length?(o=t,s):o},s.out=function(t){return arguments.length?(i=t,s):i},s};var cn=t.map({"inside-out":function(e){var r,n,i=e.length,a=e.map(pn),o=e.map(dn),s=t.range(i).sort((function(t,e){return a[t]-a[e]})),l=0,c=0,u=[],f=[];for(r=0;r<i;++r)n=s[r],l<c?(l+=o[n],u.push(n)):(c+=o[n],f.push(n));return f.reverse().concat(u)},reverse:function(e){return t.range(e.length).reverse()},default:fn}),un=t.map({silhouette:function(t){var e,r,n,i=t.length,a=t[0].length,o=[],s=0,l=[];for(r=0;r<a;++r){for(e=0,n=0;e<i;e++)n+=t[e][r][1];n>s&&(s=n),o.push(n)}for(r=0;r<a;++r)l[r]=(s-o[r])/2;return l},wiggle:function(t){var e,r,n,i,a,o,s,l,c,u=t.length,f=t[0],h=f.length,p=[];for(p[0]=l=c=0,r=1;r<h;++r){for(e=0,i=0;e<u;++e)i+=t[e][r][1];for(e=0,a=0,s=f[r][0]-f[r-1][0];e<u;++e){for(n=0,o=(t[e][r][1]-t[e][r-1][1])/(2*s);n<e;++n)o+=(t[n][r][1]-t[n][r-1][1])/s;a+=o*t[e][r][1]}p[r]=l-=i?a/i*s:0,l<c&&(c=l)}for(r=0;r<h;++r)p[r]-=c;return p},expand:function(t){var e,r,n,i=t.length,a=t[0].length,o=1/i,s=[];for(r=0;r<a;++r){for(e=0,n=0;e<i;e++)n+=t[e][r][1];if(n)for(e=0;e<i;e++)t[e][r][1]/=n;else for(e=0;e<i;e++)t[e][r][1]=o}for(r=0;r<a;++r)s[r]=0;return s},zero:hn});function fn(e){return t.range(e.length)}function hn(t){for(var e=-1,r=t[0].length,n=[];++e<r;)n[e]=0;return n}function pn(t){for(var e,r=1,n=0,i=t[0][1],a=t.length;r<a;++r)(e=t[r][1])>i&&(n=r,i=e);return n}function dn(t){return t.reduce(gn,0)}function gn(t,e){return t+e[1]}function mn(t,e){return vn(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function vn(t,e){for(var r=-1,n=+t[0],i=(t[1]-n)/e,a=[];++r<=e;)a[r]=i*r+n;return a}function yn(e){return[t.min(e),t.max(e)]}function xn(t,e){return t.value-e.value}function bn(t,e){var r=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=r,r._pack_prev=e}function _n(t,e){t._pack_next=e,e._pack_prev=t}function wn(t,e){var r=e.x-t.x,n=e.y-t.y,i=t.r+e.r;return.999*i*i>r*r+n*n}function Tn(t){if((e=t.children)&&(l=e.length)){var e,r,n,i,a,o,s,l,c=1/0,u=-1/0,f=1/0,h=-1/0;if(e.forEach(kn),(r=e[0]).x=-r.r,r.y=0,x(r),l>1&&((n=e[1]).x=n.r,n.y=0,x(n),l>2))for(Mn(r,n,i=e[2]),x(i),bn(r,i),r._pack_prev=i,bn(i,n),n=r._pack_next,a=3;a<l;a++){Mn(r,n,i=e[a]);var p=0,d=1,g=1;for(o=n._pack_next;o!==n;o=o._pack_next,d++)if(wn(o,i)){p=1;break}if(1==p)for(s=r._pack_prev;s!==o._pack_prev&&!wn(s,i);s=s._pack_prev,g++);p?(d<g||d==g&&n.r<r.r?_n(r,n=o):_n(r=s,n),a--):(bn(r,i),n=i,x(i))}var m=(c+u)/2,v=(f+h)/2,y=0;for(a=0;a<l;a++)(i=e[a]).x-=m,i.y-=v,y=Math.max(y,i.r+Math.sqrt(i.x*i.x+i.y*i.y));t.r=y,e.forEach(An)}function x(t){c=Math.min(t.x-t.r,c),u=Math.max(t.x+t.r,u),f=Math.min(t.y-t.r,f),h=Math.max(t.y+t.r,h)}}function kn(t){t._pack_next=t._pack_prev=t}function An(t){delete t._pack_next,delete t._pack_prev}function Mn(t,e,r){var n=t.r+r.r,i=e.x-t.x,a=e.y-t.y;if(n&&(i||a)){var o=e.r+r.r,s=i*i+a*a,l=.5+((n*=n)-(o*=o))/(2*s),c=Math.sqrt(Math.max(0,2*o*(n+s)-(n-=s)*n-o*o))/(2*s);r.x=t.x+l*i+c*a,r.y=t.y+l*a-c*i}else r.x=t.x+n,r.y=t.y}function Sn(t,e){return t.parent==e.parent?1:2}function En(t){var e=t.children;return e.length?e[0]:t.t}function Ln(t){var e,r=t.children;return(e=r.length)?r[e-1]:t.t}function Cn(t,e,r){var n=r/(e.i-t.i);e.c-=n,e.s+=r,t.c+=n,e.z+=r,e.m+=r}function Pn(t,e,r){return t.a.parent===e.parent?t.a:r}function In(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function On(t,e){var r=t.x+e[3],n=t.y+e[0],i=t.dx-e[1]-e[3],a=t.dy-e[0]-e[2];return i<0&&(r+=i/2,i=0),a<0&&(n+=a/2,a=0),{x:r,y:n,dx:i,dy:a}}function zn(t){var e=t[0],r=t[t.length-1];return e<r?[e,r]:[r,e]}function Dn(t){return t.rangeExtent?t.rangeExtent():zn(t.range())}function Rn(t,e,r,n){var i=r(t[0],t[1]),a=n(e[0],e[1]);return function(t){return a(i(t))}}function Fn(t,e){var r,n=0,i=t.length-1,a=t[n],o=t[i];return o<a&&(r=n,n=i,i=r,r=a,a=o,o=r),t[n]=e.floor(a),t[i]=e.ceil(o),t}function Bn(t){return t?{floor:function(e){return Math.floor(e/t)*t},ceil:function(e){return Math.ceil(e/t)*t}}:Nn}t.layout.histogram=function(){var e=!0,r=Number,n=yn,i=mn;function a(a,o){for(var s,l,c=[],u=a.map(r,this),f=n.call(this,u,o),h=i.call(this,f,u,o),p=(o=-1,u.length),d=h.length-1,g=e?1:1/p;++o<d;)(s=c[o]=[]).dx=h[o+1]-(s.x=h[o]),s.y=0;if(d>0)for(o=-1;++o<p;)(l=u[o])>=f[0]&&l<=f[1]&&((s=c[t.bisect(h,l,1,d)-1]).y+=g,s.push(a[o]));return c}return a.value=function(t){return arguments.length?(r=t,a):r},a.range=function(t){return arguments.length?(n=ce(t),a):n},a.bins=function(t){return arguments.length?(i="number"==typeof t?function(e){return vn(e,t)}:ce(t),a):i},a.frequency=function(t){return arguments.length?(e=!!t,a):e},a},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(xn),n=0,i=[1,1];function a(t,a){var o=r.call(this,t,a),s=o[0],l=i[0],c=i[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,$r(s,(function(t){t.r=+u(t.value)})),$r(s,Tn),n){var f=n*(e?1:Math.max(2*s.r/l,2*s.r/c))/2;$r(s,(function(t){t.r+=f})),$r(s,Tn),$r(s,(function(t){t.r-=f}))}return function t(e,r,n,i){var a=e.children;if(e.x=r+=i*e.x,e.y=n+=i*e.y,e.r*=i,a)for(var o=-1,s=a.length;++o<s;)t(a[o],r,n,i)}(s,l/2,c/2,e?1:1/Math.max(2*s.r/l,2*s.r/c)),o}return a.size=function(t){return arguments.length?(i=t,a):i},a.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,a):e},a.padding=function(t){return arguments.length?(n=+t,a):n},Kr(a,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=Sn,n=[1,1],i=null;function a(t,a){var c=e.call(this,t,a),u=c[0],f=function(t){var e,r={A:null,children:[t]},n=[r];for(;null!=(e=n.pop());)for(var i,a=e.children,o=0,s=a.length;o<s;++o)n.push((a[o]=i={_:a[o],parent:e,children:(i=a[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return r.children[0]}(u);if($r(f,o),f.parent.m=-f.z,Qr(f,s),i)Qr(u,l);else{var h=u,p=u,d=u;Qr(u,(function(t){t.x<h.x&&(h=t),t.x>p.x&&(p=t),t.depth>d.depth&&(d=t)}));var g=r(h,p)/2-h.x,m=n[0]/(p.x+r(p,h)/2+g),v=n[1]/(d.depth||1);Qr(u,(function(t){t.x=(t.x+g)*m,t.y=t.depth*v}))}return c}function o(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(e.length){!function(t){var e,r=0,n=0,i=t.children,a=i.length;for(;--a>=0;)(e=i[a]).z+=r,e.m+=r,r+=e.s+(n+=e.c)}(t);var a=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+r(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+r(t._,i._));t.parent.A=function(t,e,n){if(e){for(var i,a=t,o=t,s=e,l=a.parent.children[0],c=a.m,u=o.m,f=s.m,h=l.m;s=Ln(s),a=En(a),s&&a;)l=En(l),(o=Ln(o)).a=t,(i=s.z+f-a.z-c+r(s._,a._))>0&&(Cn(Pn(s,t,n),t,i),c+=i,u+=i),f+=s.m,c+=a.m,h+=l.m,u+=o.m;s&&!Ln(o)&&(o.t=s,o.m+=f-u),a&&!En(l)&&(l.t=a,l.m+=c-h,n=t)}return n}(t,i,t.parent.A||n[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function l(t){t.x*=n[0],t.y=t.depth*n[1]}return a.separation=function(t){return arguments.length?(r=t,a):r},a.size=function(t){return arguments.length?(i=null==(n=t)?l:null,a):i?null:n},a.nodeSize=function(t){return arguments.length?(i=null==(n=t)?null:l,a):i?n:null},Kr(a,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=Sn,n=[1,1],i=!1;function a(a,o){var s,l=e.call(this,a,o),c=l[0],u=0;$r(c,(function(e){var n=e.children;n&&n.length?(e.x=function(t){return t.reduce((function(t,e){return t+e.x}),0)/t.length}(n),e.y=function(e){return 1+t.max(e,(function(t){return t.y}))}(n)):(e.x=s?u+=r(e,s):0,e.y=0,s=e)}));var f=function t(e){var r=e.children;return r&&r.length?t(r[0]):e}(c),h=function t(e){var r,n=e.children;return n&&(r=n.length)?t(n[r-1]):e}(c),p=f.x-r(f,h)/2,d=h.x+r(h,f)/2;return $r(c,i?function(t){t.x=(t.x-c.x)*n[0],t.y=(c.y-t.y)*n[1]}:function(t){t.x=(t.x-p)/(d-p)*n[0],t.y=(1-(c.y?t.y/c.y:1))*n[1]}),l}return a.separation=function(t){return arguments.length?(r=t,a):r},a.size=function(t){return arguments.length?(i=null==(n=t),a):i?null:n},a.nodeSize=function(t){return arguments.length?(i=null!=(n=t),a):i?n:null},Kr(a,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,i=[1,1],a=null,o=In,s=!1,l="squarify",c=.5*(1+Math.sqrt(5));function u(t,e){for(var r,n,i=-1,a=t.length;++i<a;)n=(r=t[i]).value*(e<0?0:e),r.area=isNaN(n)||n<=0?0:n}function f(t){var e=t.children;if(e&&e.length){var r,n,i,a=o(t),s=[],c=e.slice(),h=1/0,g="slice"===l?a.dx:"dice"===l?a.dy:"slice-dice"===l?1&t.depth?a.dy:a.dx:Math.min(a.dx,a.dy);for(u(c,a.dx*a.dy/t.value),s.area=0;(i=c.length)>0;)s.push(r=c[i-1]),s.area+=r.area,"squarify"!==l||(n=p(s,g))<=h?(c.pop(),h=n):(s.area-=s.pop().area,d(s,g,a,!1),g=Math.min(a.dx,a.dy),s.length=s.area=0,h=1/0);s.length&&(d(s,g,a,!0),s.length=s.area=0),e.forEach(f)}}function h(t){var e=t.children;if(e&&e.length){var r,n=o(t),i=e.slice(),a=[];for(u(i,n.dx*n.dy/t.value),a.area=0;r=i.pop();)a.push(r),a.area+=r.area,null!=r.z&&(d(a,r.z?n.dx:n.dy,n,!i.length),a.length=a.area=0);e.forEach(h)}}function p(t,e){for(var r,n=t.area,i=0,a=1/0,o=-1,s=t.length;++o<s;)(r=t[o].area)&&(r<a&&(a=r),r>i&&(i=r));return e*=e,(n*=n)?Math.max(e*i*c/n,n/(e*a*c)):1/0}function d(t,e,r,i){var a,o=-1,s=t.length,l=r.x,c=r.y,u=e?n(t.area/e):0;if(e==r.dx){for((i||u>r.dy)&&(u=r.dy);++o<s;)(a=t[o]).x=l,a.y=c,a.dy=u,l+=a.dx=Math.min(r.x+r.dx-l,u?n(a.area/u):0);a.z=!0,a.dx+=r.x+r.dx-l,r.y+=u,r.dy-=u}else{for((i||u>r.dx)&&(u=r.dx);++o<s;)(a=t[o]).x=l,a.y=c,a.dx=u,c+=a.dy=Math.min(r.y+r.dy-c,u?n(a.area/u):0);a.z=!1,a.dy+=r.y+r.dy-c,r.x+=u,r.dx-=u}}function g(t){var n=e||r(t),a=n[0];return a.x=a.y=0,a.value?(a.dx=i[0],a.dy=i[1]):a.dx=a.dy=0,e&&r.revalue(a),u([a],a.dx*a.dy/a.value),(e?h:f)(a),s&&(e=n),n}return g.size=function(t){return arguments.length?(i=t,g):i},g.padding=function(t){if(!arguments.length)return a;function e(e){var r=t.call(g,e,e.depth);return null==r?In(e):On(e,"number"==typeof r?[r,r,r,r]:r)}function r(e){return On(e,t)}var n;return o=null==(a=t)?In:"function"==(n=typeof t)?e:"number"===n?(t=[t,t,t,t],r):r,g},g.round=function(t){return arguments.length?(n=t?Math.round:Number,g):n!=Number},g.sticky=function(t){return arguments.length?(s=t,e=null,g):s},g.ratio=function(t){return arguments.length?(c=t,g):c},g.mode=function(t){return arguments.length?(l=t+"",g):l},Kr(g,r)},t.random={normal:function(t,e){var r=arguments.length;return r<2&&(e=1),r<1&&(t=0),function(){var r,n,i;do{i=(r=2*Math.random()-1)*r+(n=2*Math.random()-1)*n}while(!i||i>1);return t+e*r*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(t){return function(){for(var e=0,r=0;r<t;r++)e+=Math.random();return e}}},t.scale={};var Nn={floor:C,ceil:C};function jn(e,r,n,i){var a=[],o=[],s=0,l=Math.min(e.length,r.length)-1;for(e[l]<e[0]&&(e=e.slice().reverse(),r=r.slice().reverse());++s<=l;)a.push(n(e[s-1],e[s])),o.push(i(r[s-1],r[s]));return function(r){var n=t.bisect(e,r,1,l)-1;return o[n](a[n](r))}}function Un(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Vn(t,e){return Fn(t,Bn(Hn(t,e)[2])),Fn(t,Bn(Hn(t,e)[2])),t}function Hn(t,e){null==e&&(e=10);var r=zn(t),n=r[1]-r[0],i=Math.pow(10,Math.floor(Math.log(n/e)/Math.LN10)),a=e/n*i;return a<=.15?i*=10:a<=.35?i*=5:a<=.75&&(i*=2),r[0]=Math.ceil(r[0]/i)*i,r[1]=Math.floor(r[1]/i)*i+.5*i,r[2]=i,r}function qn(e,r){return t.range.apply(t,Hn(e,r))}t.scale.linear=function(){return function t(e,r,n,i){var a,o;function s(){var t=Math.min(e.length,r.length)>2?jn:Rn,s=i?Ur:jr;return a=t(e,r,s,n),o=t(r,e,s,yr),l}function l(t){return a(t)}return l.invert=function(t){return o(t)},l.domain=function(t){return arguments.length?(e=t.map(Number),s()):e},l.range=function(t){return arguments.length?(r=t,s()):r},l.rangeRound=function(t){return l.range(t).interpolate(Or)},l.clamp=function(t){return arguments.length?(i=t,s()):i},l.interpolate=function(t){return arguments.length?(n=t,s()):n},l.ticks=function(t){return qn(e,t)},l.tickFormat=function(t,r){return d3_scale_linearTickFormat(e,t,r)},l.nice=function(t){return Vn(e,t),s()},l.copy=function(){return t(e,r,n,i)},s()}([0,1],[0,1],yr,!1)};t.scale.log=function(){return function t(e,r,n,i){function a(t){return(n?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(r)}function o(t){return n?Math.pow(r,t):-Math.pow(r,-t)}function s(t){return e(a(t))}return s.invert=function(t){return o(e.invert(t))},s.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((i=t.map(Number)).map(a)),s):i},s.base=function(t){return arguments.length?(r=+t,e.domain(i.map(a)),s):r},s.nice=function(){var t=Fn(i.map(a),n?Math:Gn);return e.domain(t),i=t.map(o),s},s.ticks=function(){var t=zn(i),e=[],s=t[0],l=t[1],c=Math.floor(a(s)),u=Math.ceil(a(l)),f=r%1?2:r;if(isFinite(u-c)){if(n){for(;c<u;c++)for(var h=1;h<f;h++)e.push(o(c)*h);e.push(o(c))}else for(e.push(o(c));c++<u;)for(h=f-1;h>0;h--)e.push(o(c)*h);for(c=0;e[c]<s;c++);for(u=e.length;e[u-1]>l;u--);e=e.slice(c,u)}return e},s.copy=function(){return t(e.copy(),r,n,i)},Un(s,e)}(t.scale.linear().domain([0,1]),10,!0,[1,10])};var Gn={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};function Yn(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}t.scale.pow=function(){return function t(e,r,n){var i=Yn(r),a=Yn(1/r);function o(t){return e(i(t))}return o.invert=function(t){return a(e.invert(t))},o.domain=function(t){return arguments.length?(e.domain((n=t.map(Number)).map(i)),o):n},o.ticks=function(t){return qn(n,t)},o.tickFormat=function(t,e){return d3_scale_linearTickFormat(n,t,e)},o.nice=function(t){return o.domain(Vn(n,t))},o.exponent=function(t){return arguments.length?(i=Yn(r=t),a=Yn(1/r),e.domain(n.map(i)),o):r},o.copy=function(){return t(e.copy(),r,n)},Un(o,e)}(t.scale.linear(),1,[0,1])},t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return function e(r,n){var i,a,o;function s(t){return a[((i.get(t)||("range"===n.t?i.set(t,r.push(t)):NaN))-1)%a.length]}function l(e,n){return t.range(r.length).map((function(t){return e+n*t}))}return s.domain=function(t){if(!arguments.length)return r;r=[],i=new _;for(var e,a=-1,o=t.length;++a<o;)i.has(e=t[a])||i.set(e,r.push(e));return s[n.t].apply(s,n.a)},s.range=function(t){return arguments.length?(a=t,o=0,n={t:"range",a:arguments},s):a},s.rangePoints=function(t,e){arguments.length<2&&(e=0);var i=t[0],c=t[1],u=r.length<2?(i=(i+c)/2,0):(c-i)/(r.length-1+e);return a=l(i+u*e/2,u),o=0,n={t:"rangePoints",a:arguments},s},s.rangeRoundPoints=function(t,e){arguments.length<2&&(e=0);var i=t[0],c=t[1],u=r.length<2?(i=c=Math.round((i+c)/2),0):(c-i)/(r.length-1+e)|0;return a=l(i+Math.round(u*e/2+(c-i-(r.length-1+e)*u)/2),u),o=0,n={t:"rangeRoundPoints",a:arguments},s},s.rangeBands=function(t,e,i){arguments.length<2&&(e=0),arguments.length<3&&(i=e);var c=t[1]<t[0],u=t[c-0],f=t[1-c],h=(f-u)/(r.length-e+2*i);return a=l(u+h*i,h),c&&a.reverse(),o=h*(1-e),n={t:"rangeBands",a:arguments},s},s.rangeRoundBands=function(t,e,i){arguments.length<2&&(e=0),arguments.length<3&&(i=e);var c=t[1]<t[0],u=t[c-0],f=t[1-c],h=Math.floor((f-u)/(r.length-e+2*i));return a=l(u+Math.round((f-u-(r.length-e)*h)/2),h),c&&a.reverse(),o=Math.round(h*(1-e)),n={t:"rangeRoundBands",a:arguments},s},s.rangeBand=function(){return o},s.rangeExtent=function(){return zn(n.a[0])},s.copy=function(){return e(r,n)},s.domain(r)}([],{t:"range",a:[[]]})},t.scale.category10=function(){return t.scale.ordinal().range(Wn)},t.scale.category20=function(){return t.scale.ordinal().range(Xn)},t.scale.category20b=function(){return t.scale.ordinal().range(Zn)},t.scale.category20c=function(){return t.scale.ordinal().range(Jn)};var Wn=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(te),Xn=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(te),Zn=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(te),Jn=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(te);function Kn(){return 0}t.scale.quantile=function(){return function e(r,n){var i;function a(){var e=0,a=n.length;for(i=[];++e<a;)i[e-1]=t.quantile(r,e/a);return o}function o(e){if(!isNaN(e=+e))return n[t.bisect(i,e)]}return o.domain=function(t){return arguments.length?(r=t.map(p).filter(d).sort(h),a()):r},o.range=function(t){return arguments.length?(n=t,a()):n},o.quantiles=function(){return i},o.invertExtent=function(t){return(t=n.indexOf(t))<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t<i.length?i[t]:r[r.length-1]]},o.copy=function(){return e(r,n)},a()}([],[])},t.scale.quantize=function(){return function t(e,r,n){var i,a;function o(t){return n[Math.max(0,Math.min(a,Math.floor(i*(t-e))))]}function s(){return i=n.length/(r-e),a=n.length-1,o}return o.domain=function(t){return arguments.length?(e=+t[0],r=+t[t.length-1],s()):[e,r]},o.range=function(t){return arguments.length?(n=t,s()):n},o.invertExtent=function(t){return[t=(t=n.indexOf(t))<0?NaN:t/i+e,t+1/i]},o.copy=function(){return t(e,r,n)},s()}(0,1,[0,1])},t.scale.threshold=function(){return function e(r,n){function i(e){if(e<=e)return n[t.bisect(r,e)]}return i.domain=function(t){return arguments.length?(r=t,i):r},i.range=function(t){return arguments.length?(n=t,i):n},i.invertExtent=function(t){return t=n.indexOf(t),[r[t-1],r[t]]},i.copy=function(){return e(r,n)},i}([.5],[0,1])},t.scale.identity=function(){return function t(e){function r(t){return+t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=t.map(r),r):e},r.ticks=function(t){return qn(e,t)},r.tickFormat=function(t,r){return d3_scale_linearTickFormat(e,t,r)},r.copy=function(){return t(e)},r}([0,1])},t.svg={},t.svg.arc=function(){var t=$n,e=ti,r=Kn,n=Qn,i=ei,a=ri,o=ni;function s(){var s=Math.max(0,+t.apply(this,arguments)),c=Math.max(0,+e.apply(this,arguments)),u=i.apply(this,arguments)-Et,f=a.apply(this,arguments)-Et,h=Math.abs(f-u),p=u>f?0:1;if(c<s&&(d=c,c=s,s=d),h>=St)return l(c,p)+(s?l(s,1-p):"")+"Z";var d,g,m,v,y,x,b,_,w,T,k,A,M=0,S=0,E=[];if((v=(+o.apply(this,arguments)||0)/2)&&(m=n===Qn?Math.sqrt(s*s+c*c):+n.apply(this,arguments),p||(S*=-1),c&&(S=Pt(m/c*Math.sin(v))),s&&(M=Pt(m/s*Math.sin(v)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(f-S),_=c*Math.sin(f-S);var L=Math.abs(f-u-2*S)<=At?0:1;if(S&&ii(y,x,b,_)===p^L){var C=(u+f)/2;y=c*Math.cos(C),x=c*Math.sin(C),b=_=null}}else y=x=0;if(s){w=s*Math.cos(f-M),T=s*Math.sin(f-M),k=s*Math.cos(u+M),A=s*Math.sin(u+M);var P=Math.abs(u-f+2*M)<=At?0:1;if(M&&ii(w,T,k,A)===1-p^P){var I=(u+f)/2;w=s*Math.cos(I),T=s*Math.sin(I),k=A=null}}else w=T=0;if(h>kt&&(d=Math.min(Math.abs(c-s)/2,+r.apply(this,arguments)))>.001){g=s<c^p?0:1;var O=d,z=d;if(h<At){var D=null==k?[w,T]:null==b?[y,x]:Se([y,x],[k,A],[b,_],[w,T]),R=y-D[0],F=x-D[1],B=b-D[0],N=_-D[1],j=1/Math.sin(Math.acos((R*B+F*N)/(Math.sqrt(R*R+F*F)*Math.sqrt(B*B+N*N)))/2),U=Math.sqrt(D[0]*D[0]+D[1]*D[1]);z=Math.min(d,(s-U)/(j-1)),O=Math.min(d,(c-U)/(j+1))}if(null!=b){var V=ai(null==k?[w,T]:[k,A],[y,x],c,O,p),H=ai([b,_],[w,T],c,O,p);d===O?E.push("M",V[0],"A",O,",",O," 0 0,",g," ",V[1],"A",c,",",c," 0 ",1-p^ii(V[1][0],V[1][1],H[1][0],H[1][1]),",",p," ",H[1],"A",O,",",O," 0 0,",g," ",H[0]):E.push("M",V[0],"A",O,",",O," 0 1,",g," ",H[0])}else E.push("M",y,",",x);if(null!=k){var q=ai([y,x],[k,A],s,-z,p),G=ai([w,T],null==b?[y,x]:[b,_],s,-z,p);d===z?E.push("L",G[0],"A",z,",",z," 0 0,",g," ",G[1],"A",s,",",s," 0 ",p^ii(G[1][0],G[1][1],q[1][0],q[1][1]),",",1-p," ",q[1],"A",z,",",z," 0 0,",g," ",q[0]):E.push("L",G[0],"A",z,",",z," 0 0,",g," ",q[0])}else E.push("L",w,",",T)}else E.push("M",y,",",x),null!=b&&E.push("A",c,",",c," 0 ",L,",",p," ",b,",",_),E.push("L",w,",",T),null!=k&&E.push("A",s,",",s," 0 ",P,",",1-p," ",k,",",A);return E.push("Z"),E.join("")}function l(t,e){return"M0,"+t+"A"+t+","+t+" 0 1,"+e+" 0,"+-t+"A"+t+","+t+" 0 1,"+e+" 0,"+t}return s.innerRadius=function(e){return arguments.length?(t=ce(e),s):t},s.outerRadius=function(t){return arguments.length?(e=ce(t),s):e},s.cornerRadius=function(t){return arguments.length?(r=ce(t),s):r},s.padRadius=function(t){return arguments.length?(n=t==Qn?Qn:ce(t),s):n},s.startAngle=function(t){return arguments.length?(i=ce(t),s):i},s.endAngle=function(t){return arguments.length?(a=ce(t),s):a},s.padAngle=function(t){return arguments.length?(o=ce(t),s):o},s.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Et;return[Math.cos(n)*r,Math.sin(n)*r]},s};var Qn="auto";function $n(t){return t.innerRadius}function ti(t){return t.outerRadius}function ei(t){return t.startAngle}function ri(t){return t.endAngle}function ni(t){return t&&t.padAngle}function ii(t,e,r,n){return(t-r)*e-(e-n)*t>0?0:1}function ai(t,e,r,n,i){var a=t[0]-e[0],o=t[1]-e[1],s=(i?n:-n)/Math.sqrt(a*a+o*o),l=s*o,c=-s*a,u=t[0]+l,f=t[1]+c,h=e[0]+l,p=e[1]+c,d=(u+h)/2,g=(f+p)/2,m=h-u,v=p-f,y=m*m+v*v,x=r-n,b=u*p-h*f,_=(v<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*v-m*_)/y,T=(-b*m-v*_)/y,k=(b*v+m*_)/y,A=(-b*m+v*_)/y,M=w-d,S=T-g,E=k-d,L=A-g;return M*M+S*S>E*E+L*L&&(w=k,T=A),[[w-l,T-c],[w*r/x,T*r/x]]}function oi(){return!0}function si(t){var e=_e,r=we,n=oi,i=ci,a=i.key,o=.7;function s(a){var s,l=[],c=[],u=-1,f=a.length,h=ce(e),p=ce(r);function d(){l.push("M",i(t(c),o))}for(;++u<f;)n.call(this,s=a[u],u)?c.push([+h.call(this,s,u),+p.call(this,s,u)]):c.length&&(d(),c=[]);return c.length&&d(),l.length?l.join(""):null}return s.x=function(t){return arguments.length?(e=t,s):e},s.y=function(t){return arguments.length?(r=t,s):r},s.defined=function(t){return arguments.length?(n=t,s):n},s.interpolate=function(t){return arguments.length?(a="function"==typeof t?i=t:(i=li.get(t)||ci).key,s):a},s.tension=function(t){return arguments.length?(o=t,s):o},s}t.svg.line=function(){return si(C)};var li=t.map({linear:ci,"linear-closed":ui,step:function(t){var e=0,r=t.length,n=t[0],i=[n[0],",",n[1]];for(;++e<r;)i.push("H",(n[0]+(n=t[e])[0])/2,"V",n[1]);r>1&&i.push("H",n[0]);return i.join("")},"step-before":fi,"step-after":hi,basis:gi,"basis-open":function(t){if(t.length<4)return ci(t);var e,r=[],n=-1,i=t.length,a=[0],o=[0];for(;++n<3;)e=t[n],a.push(e[0]),o.push(e[1]);r.push(mi(xi,a)+","+mi(xi,o)),--n;for(;++n<i;)e=t[n],a.shift(),a.push(e[0]),o.shift(),o.push(e[1]),bi(r,a,o);return r.join("")},"basis-closed":function(t){var e,r,n=-1,i=t.length,a=i+4,o=[],s=[];for(;++n<4;)r=t[n%i],o.push(r[0]),s.push(r[1]);e=[mi(xi,o),",",mi(xi,s)],--n;for(;++n<a;)r=t[n%i],o.shift(),o.push(r[0]),s.shift(),s.push(r[1]),bi(e,o,s);return e.join("")},bundle:function(t,e){var r=t.length-1;if(r)for(var n,i,a=t[0][0],o=t[0][1],s=t[r][0]-a,l=t[r][1]-o,c=-1;++c<=r;)n=t[c],i=c/r,n[0]=e*n[0]+(1-e)*(a+i*s),n[1]=e*n[1]+(1-e)*(o+i*l);return gi(t)},cardinal:function(t,e){return t.length<3?ci(t):t[0]+pi(t,di(t,e))},"cardinal-open":function(t,e){return t.length<4?ci(t):t[1]+pi(t.slice(1,-1),di(t,e))},"cardinal-closed":function(t,e){return t.length<3?ui(t):t[0]+pi((t.push(t[0]),t),di([t[t.length-2]].concat(t,[t[1]]),e))},monotone:function(t){return t.length<3?ci(t):t[0]+pi(t,function(t){var e,r,n,i,a=[],o=function(t){var e=0,r=t.length-1,n=[],i=t[0],a=t[1],o=n[0]=_i(i,a);for(;++e<r;)n[e]=(o+(o=_i(i=a,a=t[e+1])))/2;return n[e]=o,n}(t),s=-1,l=t.length-1;for(;++s<l;)e=_i(t[s],t[s+1]),y(e)<kt?o[s]=o[s+1]=0:(r=o[s]/e,n=o[s+1]/e,(i=r*r+n*n)>9&&(i=3*e/Math.sqrt(i),o[s]=i*r,o[s+1]=i*n));s=-1;for(;++s<=l;)i=(t[Math.min(l,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+o[s]*o[s])),a.push([i||0,o[s]*i||0]);return a}(t))}});function ci(t){return t.length>1?t.join("L"):t+"Z"}function ui(t){return t.join("L")+"Z"}function fi(t){for(var e=0,r=t.length,n=t[0],i=[n[0],",",n[1]];++e<r;)i.push("V",(n=t[e])[1],"H",n[0]);return i.join("")}function hi(t){for(var e=0,r=t.length,n=t[0],i=[n[0],",",n[1]];++e<r;)i.push("H",(n=t[e])[0],"V",n[1]);return i.join("")}function pi(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return ci(t);var r=t.length!=e.length,n="",i=t[0],a=t[1],o=e[0],s=o,l=1;if(r&&(n+="Q"+(a[0]-2*o[0]/3)+","+(a[1]-2*o[1]/3)+","+a[0]+","+a[1],i=t[1],l=2),e.length>1){s=e[1],a=t[l],l++,n+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(a[0]-s[0])+","+(a[1]-s[1])+","+a[0]+","+a[1];for(var c=2;c<e.length;c++,l++)a=t[l],s=e[c],n+="S"+(a[0]-s[0])+","+(a[1]-s[1])+","+a[0]+","+a[1]}if(r){var u=t[l];n+="Q"+(a[0]+2*s[0]/3)+","+(a[1]+2*s[1]/3)+","+u[0]+","+u[1]}return n}function di(t,e){for(var r,n=[],i=(1-e)/2,a=t[0],o=t[1],s=1,l=t.length;++s<l;)r=a,a=o,o=t[s],n.push([i*(o[0]-r[0]),i*(o[1]-r[1])]);return n}function gi(t){if(t.length<3)return ci(t);var e=1,r=t.length,n=t[0],i=n[0],a=n[1],o=[i,i,i,(n=t[1])[0]],s=[a,a,a,n[1]],l=[i,",",a,"L",mi(xi,o),",",mi(xi,s)];for(t.push(t[r-1]);++e<=r;)n=t[e],o.shift(),o.push(n[0]),s.shift(),s.push(n[1]),bi(l,o,s);return t.pop(),l.push("L",n),l.join("")}function mi(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}li.forEach((function(t,e){e.key=t,e.closed=/-closed$/.test(t)}));var vi=[0,2/3,1/3,0],yi=[0,1/3,2/3,0],xi=[0,1/6,2/3,1/6];function bi(t,e,r){t.push("C",mi(vi,e),",",mi(vi,r),",",mi(yi,e),",",mi(yi,r),",",mi(xi,e),",",mi(xi,r))}function _i(t,e){return(e[1]-t[1])/(e[0]-t[0])}function wi(t){for(var e,r,n,i=-1,a=t.length;++i<a;)r=(e=t[i])[0],n=e[1]-Et,e[0]=r*Math.cos(n),e[1]=r*Math.sin(n);return t}function Ti(t){var e=_e,r=_e,n=0,i=we,a=oi,o=ci,s=o.key,l=o,c="L",u=.7;function f(s){var f,h,p,d=[],g=[],m=[],v=-1,y=s.length,x=ce(e),b=ce(n),_=e===r?function(){return h}:ce(r),w=n===i?function(){return p}:ce(i);function T(){d.push("M",o(t(m),u),c,l(t(g.reverse()),u),"Z")}for(;++v<y;)a.call(this,f=s[v],v)?(g.push([h=+x.call(this,f,v),p=+b.call(this,f,v)]),m.push([+_.call(this,f,v),+w.call(this,f,v)])):g.length&&(T(),g=[],m=[]);return g.length&&T(),d.length?d.join(""):null}return f.x=function(t){return arguments.length?(e=r=t,f):r},f.x0=function(t){return arguments.length?(e=t,f):e},f.x1=function(t){return arguments.length?(r=t,f):r},f.y=function(t){return arguments.length?(n=i=t,f):i},f.y0=function(t){return arguments.length?(n=t,f):n},f.y1=function(t){return arguments.length?(i=t,f):i},f.defined=function(t){return arguments.length?(a=t,f):a},f.interpolate=function(t){return arguments.length?(s="function"==typeof t?o=t:(o=li.get(t)||ci).key,l=o.reverse||o,c=o.closed?"M":"L",f):s},f.tension=function(t){return arguments.length?(u=t,f):u},f}function ki(t){return t.source}function Ai(t){return t.target}function Mi(t){return t.radius}function Si(t){return[t.x,t.y]}function Ei(t){return function(){var e=t.apply(this,arguments),r=e[0],n=e[1]-Et;return[r*Math.cos(n),r*Math.sin(n)]}}function Li(){return 64}function Ci(){return"circle"}function Pi(t){var e=Math.sqrt(t/At);return"M0,"+e+"A"+e+","+e+" 0 1,1 0,"+-e+"A"+e+","+e+" 0 1,1 0,"+e+"Z"}t.svg.line.radial=function(){var t=si(wi);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},fi.reverse=hi,hi.reverse=fi,t.svg.area=function(){return Ti(C)},t.svg.area.radial=function(){var t=Ti(wi);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},t.svg.chord=function(){var t=ki,e=Ai,r=Mi,n=ei,i=ri;function a(r,n){var i,a,c=o(this,t,r,n),u=o(this,e,r,n);return"M"+c.p0+s(c.r,c.p1,c.a1-c.a0)+(a=u,((i=c).a0==a.a0&&i.a1==a.a1?l(c.r,c.p1,c.r,c.p0):l(c.r,c.p1,u.r,u.p0)+s(u.r,u.p1,u.a1-u.a0)+l(u.r,u.p1,c.r,c.p0))+"Z")}function o(t,e,a,o){var s=e.call(t,a,o),l=r.call(t,s,o),c=n.call(t,s,o)-Et,u=i.call(t,s,o)-Et;return{r:l,a0:c,a1:u,p0:[l*Math.cos(c),l*Math.sin(c)],p1:[l*Math.cos(u),l*Math.sin(u)]}}function s(t,e,r){return"A"+t+","+t+" 0 "+ +(r>At)+",1 "+e}function l(t,e,r,n){return"Q 0,0 "+n}return a.radius=function(t){return arguments.length?(r=ce(t),a):r},a.source=function(e){return arguments.length?(t=ce(e),a):t},a.target=function(t){return arguments.length?(e=ce(t),a):e},a.startAngle=function(t){return arguments.length?(n=ce(t),a):n},a.endAngle=function(t){return arguments.length?(i=ce(t),a):i},a},t.svg.diagonal=function(){var t=ki,e=Ai,r=Si;function n(n,i){var a=t.call(this,n,i),o=e.call(this,n,i),s=(a.y+o.y)/2,l=[a,{x:a.x,y:s},{x:o.x,y:s},o];return"M"+(l=l.map(r))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return n.source=function(e){return arguments.length?(t=ce(e),n):t},n.target=function(t){return arguments.length?(e=ce(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Si,n=e.projection;return e.projection=function(t){return arguments.length?n(Ei(r=t)):r},e},t.svg.symbol=function(){var t=Ci,e=Li;function r(r,n){return(Ii.get(t.call(this,r,n))||Pi)(e.call(this,r,n))}return r.type=function(e){return arguments.length?(t=ce(e),r):t},r.size=function(t){return arguments.length?(e=ce(t),r):e},r};var Ii=t.map({circle:Pi,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*zi)),r=e*zi;return"M0,"+-e+"L"+r+",0 0,"+e+" "+-r+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Oi),r=e*Oi/2;return"M0,"+r+"L"+e+","+-r+" "+-e+","+-r+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Oi),r=e*Oi/2;return"M0,"+-r+"L"+e+","+r+" "+-e+","+r+"Z"}});t.svg.symbolTypes=Ii.keys();var Oi=Math.sqrt(3),zi=Math.tan(30*Lt);Y.transition=function(t){for(var e,r,n=Bi||++Ui,i=qi(t),a=[],o=Ni||{time:Date.now(),ease:Er,delay:0,duration:250},s=-1,l=this.length;++s<l;){a.push(e=[]);for(var c=this[s],u=-1,f=c.length;++u<f;)(r=c[u])&&Gi(r,u,i,n,o),e.push(r)}return Fi(a,i,n)},Y.interrupt=function(t){return this.each(null==t?Di:Ri(qi(t)))};var Di=Ri(qi());function Ri(t){return function(){var e,r,n;(e=this[t])&&(n=e[r=e.active])&&(n.timer.c=null,n.timer.t=NaN,--e.count?delete e[r]:delete this[t],e.active+=.5,n.event&&n.event.interrupt.call(this,this.__data__,n.index))}}function Fi(t,e,r){return U(t,ji),t.namespace=e,t.id=r,t}var Bi,Ni,ji=[],Ui=0;function Vi(t,e,r,n){var i=t.id,a=t.namespace;return ut(t,"function"==typeof r?function(t,o,s){t[a][i].tween.set(e,n(r.call(t,t.__data__,o,s)))}:(r=n(r),function(t){t[a][i].tween.set(e,r)}))}function Hi(t){return null==t&&(t=""),function(){this.textContent=t}}function qi(t){return null==t?"__transition__":"__transition_"+t+"__"}function Gi(t,e,r,n,i){var a,o,s,l,c,u=t[r]||(t[r]={active:0,count:0}),f=u[n];function h(r){var i=u.active,h=u[i];for(var d in h&&(h.timer.c=null,h.timer.t=NaN,--u.count,delete u[i],h.event&&h.event.interrupt.call(t,t.__data__,h.index)),u)if(+d<n){var g=u[d];g.timer.c=null,g.timer.t=NaN,--u.count,delete u[d]}o.c=p,ve((function(){return o.c&&p(r||1)&&(o.c=null,o.t=NaN),1}),0,a),u.active=n,f.event&&f.event.start.call(t,t.__data__,e),c=[],f.tween.forEach((function(r,n){(n=n.call(t,t.__data__,e))&&c.push(n)})),l=f.ease,s=f.duration}function p(i){for(var a=i/s,o=l(a),h=c.length;h>0;)c[--h].call(t,o);if(a>=1)return f.event&&f.event.end.call(t,t.__data__,e),--u.count?delete u[n]:delete t[r],1}f||(a=i.time,o=ve((function(t){var e=f.delay;if(o.t=e+a,e<=t)return h(t-e);o.c=h}),0,a),f=u[n]={tween:new _,time:a,timer:o,delay:i.delay,duration:i.duration,ease:i.ease,index:e},i=null,++u.count)}ji.call=Y.call,ji.empty=Y.empty,ji.node=Y.node,ji.size=Y.size,t.transition=function(e,r){return e&&e.transition?Bi?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=ji,ji.select=function(t){var e,r,n,i=this.id,a=this.namespace,o=[];t=W(t);for(var s=-1,l=this.length;++s<l;){o.push(e=[]);for(var c=this[s],u=-1,f=c.length;++u<f;)(n=c[u])&&(r=t.call(n,n.__data__,u,s))?("__data__"in n&&(r.__data__=n.__data__),Gi(r,u,a,i,n[a][i]),e.push(r)):e.push(null)}return Fi(o,a,i)},ji.selectAll=function(t){var e,r,n,i,a,o=this.id,s=this.namespace,l=[];t=X(t);for(var c=-1,u=this.length;++c<u;)for(var f=this[c],h=-1,p=f.length;++h<p;)if(n=f[h]){a=n[s][o],r=t.call(n,n.__data__,h,c),l.push(e=[]);for(var d=-1,g=r.length;++d<g;)(i=r[d])&&Gi(i,d,s,o,a),e.push(i)}return Fi(l,s,o)},ji.filter=function(t){var e,r,n=[];"function"!=typeof t&&(t=lt(t));for(var i=0,a=this.length;i<a;i++){n.push(e=[]);for(var o,s=0,l=(o=this[i]).length;s<l;s++)(r=o[s])&&t.call(r,r.__data__,s,i)&&e.push(r)}return Fi(n,this.namespace,this.id)},ji.tween=function(t,e){var r=this.id,n=this.namespace;return arguments.length<2?this.node()[n][r].tween.get(t):ut(this,null==e?function(e){e[n][r].tween.remove(t)}:function(i){i[n][r].tween.set(t,e)})},ji.attr=function(e,r){if(arguments.length<2){for(r in e)this.attr(r,e[r]);return this}var n="transform"==e?Nr:yr,i=t.ns.qualify(e);function a(){this.removeAttribute(i)}function o(){this.removeAttributeNS(i.space,i.local)}function s(t){return null==t?a:(t+="",function(){var e,r=this.getAttribute(i);return r!==t&&(e=n(r,t),function(t){this.setAttribute(i,e(t))})})}function l(t){return null==t?o:(t+="",function(){var e,r=this.getAttributeNS(i.space,i.local);return r!==t&&(e=n(r,t),function(t){this.setAttributeNS(i.space,i.local,e(t))})})}return Vi(this,"attr."+e,r,i.local?l:s)},ji.attrTween=function(e,r){var n=t.ns.qualify(e);return this.tween("attr."+e,n.local?function(t,e){var i=r.call(this,t,e,this.getAttributeNS(n.space,n.local));return i&&function(t){this.setAttributeNS(n.space,n.local,i(t))}}:function(t,e){var i=r.call(this,t,e,this.getAttribute(n));return i&&function(t){this.setAttribute(n,i(t))}})},ji.style=function(t,e,r){var n=arguments.length;if(n<3){if("string"!=typeof t){for(r in n<2&&(e=""),t)this.style(r,t[r],e);return this}r=""}function i(){this.style.removeProperty(t)}function a(e){return null==e?i:(e+="",function(){var n,i=o(this).getComputedStyle(this,null).getPropertyValue(t);return i!==e&&(n=yr(i,e),function(e){this.style.setProperty(t,n(e),r)})})}return Vi(this,"style."+t,e,a)},ji.styleTween=function(t,e,r){function n(n,i){var a=e.call(this,n,i,o(this).getComputedStyle(this,null).getPropertyValue(t));return a&&function(e){this.style.setProperty(t,a(e),r)}}return arguments.length<3&&(r=""),this.tween("style."+t,n)},ji.text=function(t){return Vi(this,"text",t,Hi)},ji.remove=function(){var t=this.namespace;return this.each("end.transition",(function(){var e;this[t].count<2&&(e=this.parentNode)&&e.removeChild(this)}))},ji.ease=function(e){var r=this.id,n=this.namespace;return arguments.length<1?this.node()[n][r].ease:("function"!=typeof e&&(e=t.ease.apply(t,arguments)),ut(this,(function(t){t[n][r].ease=e})))},ji.delay=function(t){var e=this.id,r=this.namespace;return arguments.length<1?this.node()[r][e].delay:ut(this,"function"==typeof t?function(n,i,a){n[r][e].delay=+t.call(n,n.__data__,i,a)}:(t=+t,function(n){n[r][e].delay=t}))},ji.duration=function(t){var e=this.id,r=this.namespace;return arguments.length<1?this.node()[r][e].duration:ut(this,"function"==typeof t?function(n,i,a){n[r][e].duration=Math.max(1,t.call(n,n.__data__,i,a))}:(t=Math.max(1,t),function(n){n[r][e].duration=t}))},ji.each=function(e,r){var n=this.id,i=this.namespace;if(arguments.length<2){var a=Ni,o=Bi;try{Bi=n,ut(this,(function(t,r,a){Ni=t[i][n],e.call(t,t.__data__,r,a)}))}finally{Ni=a,Bi=o}}else ut(this,(function(a){var o=a[i][n];(o.event||(o.event=t.dispatch("start","end","interrupt"))).on(e,r)}));return this},ji.transition=function(){for(var t,e,r,n=this.id,i=++Ui,a=this.namespace,o=[],s=0,l=this.length;s<l;s++){o.push(t=[]);for(var c,u=0,f=(c=this[s]).length;u<f;u++)(e=c[u])&&Gi(e,u,a,i,{time:(r=e[a][n]).time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration}),t.push(e)}return Fi(o,a,i)},t.svg.axis=function(){var e,r=t.scale.linear(),i=Yi,a=6,o=6,s=3,l=[10],c=null;function u(n){n.each((function(){var n,u=t.select(this),f=this.__chart__||r,h=this.__chart__=r.copy(),p=null==c?h.ticks?h.ticks.apply(h,l):h.domain():c,d=null==e?h.tickFormat?h.tickFormat.apply(h,l):C:e,g=u.selectAll(".tick").data(p,h),m=g.enter().insert("g",".domain").attr("class","tick").style("opacity",kt),v=t.transition(g.exit()).style("opacity",kt).remove(),y=t.transition(g.order()).style("opacity",1),x=Math.max(a,0)+s,b=Dn(h),_=u.selectAll(".domain").data([0]),w=(_.enter().append("path").attr("class","domain"),t.transition(_));m.append("line"),m.append("text");var T,k,A,M,S=m.select("line"),E=y.select("line"),L=g.select("text").text(d),P=m.select("text"),I=y.select("text"),O="top"===i||"left"===i?-1:1;if("bottom"===i||"top"===i?(n=Xi,T="x",A="y",k="x2",M="y2",L.attr("dy",O<0?"0em":".71em").style("text-anchor","middle"),w.attr("d","M"+b[0]+","+O*o+"V0H"+b[1]+"V"+O*o)):(n=Zi,T="y",A="x",k="y2",M="x2",L.attr("dy",".32em").style("text-anchor",O<0?"end":"start"),w.attr("d","M"+O*o+","+b[0]+"H0V"+b[1]+"H"+O*o)),S.attr(M,O*a),P.attr(A,O*x),E.attr(k,0).attr(M,O*a),I.attr(T,0).attr(A,O*x),h.rangeBand){var z=h,D=z.rangeBand()/2;f=h=function(t){return z(t)+D}}else f.rangeBand?f=h:v.call(n,h,f);m.call(n,f,h),y.call(n,h,h)}))}return u.scale=function(t){return arguments.length?(r=t,u):r},u.orient=function(t){return arguments.length?(i=t in Wi?t+"":Yi,u):i},u.ticks=function(){return arguments.length?(l=n(arguments),u):l},u.tickValues=function(t){return arguments.length?(c=t,u):c},u.tickFormat=function(t){return arguments.length?(e=t,u):e},u.tickSize=function(t){var e=arguments.length;return e?(a=+t,o=+arguments[e-1],u):a},u.innerTickSize=function(t){return arguments.length?(a=+t,u):a},u.outerTickSize=function(t){return arguments.length?(o=+t,u):o},u.tickPadding=function(t){return arguments.length?(s=+t,u):s},u.tickSubdivide=function(){return arguments.length&&u},u};var Yi="bottom",Wi={top:1,right:1,bottom:1,left:1};function Xi(t,e,r){t.attr("transform",(function(t){var n=e(t);return"translate("+(isFinite(n)?n:r(t))+",0)"}))}function Zi(t,e,r){t.attr("transform",(function(t){var n=e(t);return"translate(0,"+(isFinite(n)?n:r(t))+")"}))}t.svg.brush=function(){var e,r,n=N(h,"brushstart","brush","brushend"),i=null,a=null,s=[0,0],l=[0,0],c=!0,u=!0,f=Ki[0];function h(e){e.each((function(){var e=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",m).on("touchstart.brush",m),r=e.selectAll(".background").data([0]);r.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),e.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var n=e.selectAll(".resize").data(f,C);n.exit().remove(),n.enter().append("g").attr("class",(function(t){return"resize "+t})).style("cursor",(function(t){return Ji[t]})).append("rect").attr("x",(function(t){return/[ew]$/.test(t)?-3:null})).attr("y",(function(t){return/^[ns]/.test(t)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),n.style("display",h.empty()?"none":null);var o,s=t.transition(e),l=t.transition(r);i&&(o=Dn(i),l.attr("x",o[0]).attr("width",o[1]-o[0]),d(s)),a&&(o=Dn(a),l.attr("y",o[0]).attr("height",o[1]-o[0]),g(s)),p(s)}))}function p(t){t.selectAll(".resize").attr("transform",(function(t){return"translate("+s[+/e$/.test(t)]+","+l[+/^s/.test(t)]+")"}))}function d(t){t.select(".extent").attr("x",s[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function g(t){t.select(".extent").attr("y",l[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",l[1]-l[0])}function m(){var f,m,v=this,y=t.select(t.event.target),x=n.of(v,arguments),b=t.select(v),_=y.datum(),w=!/^(n|s)$/.test(_)&&i,T=!/^(e|w)$/.test(_)&&a,k=y.classed("extent"),A=bt(v),M=t.mouse(v),S=t.select(o(v)).on("keydown.brush",C).on("keyup.brush",P);if(t.event.changedTouches?S.on("touchmove.brush",I).on("touchend.brush",z):S.on("mousemove.brush",I).on("mouseup.brush",z),b.interrupt().selectAll("*").interrupt(),k)M[0]=s[0]-M[0],M[1]=l[0]-M[1];else if(_){var E=+/w$/.test(_),L=+/^n/.test(_);m=[s[1-E]-M[0],l[1-L]-M[1]],M[0]=s[E],M[1]=l[L]}else t.event.altKey&&(f=M.slice());function C(){32==t.event.keyCode&&(k||(f=null,M[0]-=s[1],M[1]-=l[1],k=2),F())}function P(){32==t.event.keyCode&&2==k&&(M[0]+=s[1],M[1]+=l[1],k=0,F())}function I(){var e=t.mouse(v),r=!1;m&&(e[0]+=m[0],e[1]+=m[1]),k||(t.event.altKey?(f||(f=[(s[0]+s[1])/2,(l[0]+l[1])/2]),M[0]=s[+(e[0]<f[0])],M[1]=l[+(e[1]<f[1])]):f=null),w&&O(e,i,0)&&(d(b),r=!0),T&&O(e,a,1)&&(g(b),r=!0),r&&(p(b),x({type:"brush",mode:k?"move":"resize"}))}function O(t,n,i){var a,o,h=Dn(n),p=h[0],d=h[1],g=M[i],m=i?l:s,v=m[1]-m[0];if(k&&(p-=g,d-=v+g),a=(i?u:c)?Math.max(p,Math.min(d,t[i])):t[i],k?o=(a+=g)+v:(f&&(g=Math.max(p,Math.min(d,2*f[i]-a))),g<a?(o=a,a=g):o=g),m[0]!=a||m[1]!=o)return i?r=null:e=null,m[0]=a,m[1]=o,!0}function z(){I(),b.style("pointer-events","all").selectAll(".resize").style("display",h.empty()?"none":null),t.select("body").style("cursor",null),S.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),A(),x({type:"brushend"})}b.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",y.style("cursor")),x({type:"brushstart"}),I()}return h.event=function(i){i.each((function(){var i=n.of(this,arguments),a={x:s,y:l,i:e,j:r},o=this.__chart__||a;this.__chart__=a,Bi?t.select(this).transition().each("start.brush",(function(){e=o.i,r=o.j,s=o.x,l=o.y,i({type:"brushstart"})})).tween("brush:brush",(function(){var t=xr(s,a.x),n=xr(l,a.y);return e=r=null,function(e){s=a.x=t(e),l=a.y=n(e),i({type:"brush",mode:"resize"})}})).each("end.brush",(function(){e=a.i,r=a.j,i({type:"brush",mode:"resize"}),i({type:"brushend"})})):(i({type:"brushstart"}),i({type:"brush",mode:"resize"}),i({type:"brushend"}))}))},h.x=function(t){return arguments.length?(f=Ki[!(i=t)<<1|!a],h):i},h.y=function(t){return arguments.length?(f=Ki[!i<<1|!(a=t)],h):a},h.clamp=function(t){return arguments.length?(i&&a?(c=!!t[0],u=!!t[1]):i?c=!!t:a&&(u=!!t),h):i&&a?[c,u]:i?c:a?u:null},h.extent=function(t){var n,o,c,u,f;return arguments.length?(i&&(n=t[0],o=t[1],a&&(n=n[0],o=o[0]),e=[n,o],i.invert&&(n=i(n),o=i(o)),o<n&&(f=n,n=o,o=f),n==s[0]&&o==s[1]||(s=[n,o])),a&&(c=t[0],u=t[1],i&&(c=c[1],u=u[1]),r=[c,u],a.invert&&(c=a(c),u=a(u)),u<c&&(f=c,c=u,u=f),c==l[0]&&u==l[1]||(l=[c,u])),h):(i&&(e?(n=e[0],o=e[1]):(n=s[0],o=s[1],i.invert&&(n=i.invert(n),o=i.invert(o)),o<n&&(f=n,n=o,o=f))),a&&(r?(c=r[0],u=r[1]):(c=l[0],u=l[1],a.invert&&(c=a.invert(c),u=a.invert(u)),u<c&&(f=c,c=u,u=f))),i&&a?[[n,c],[o,u]]:i?[n,o]:a&&[c,u])},h.clear=function(){return h.empty()||(s=[0,0],l=[0,0],e=r=null),h},h.empty=function(){return!!i&&s[0]==s[1]||!!a&&l[0]==l[1]},t.rebind(h,n,"on")};var Ji={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ki=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];function Qi(t){return JSON.parse(t.responseText)}function $i(t){var e=i.createRange();return e.selectNode(i.body),e.createContextualFragment(t.responseText)}t.text=ue((function(t){return t.responseText})),t.json=function(t,e){return fe(t,"application/json",Qi,e)},t.html=function(t,e){return fe(t,"text/html",$i,e)},t.xml=ue((function(t){return t.responseXML})),"object"==typeof e&&e.exports?e.exports=t:this.d3=t}).apply(self)},{}],59:[function(t,e,r){"use strict";e.exports=t("./quad")},{"./quad":60}],60:[function(t,e,r){"use strict";var n=t("binary-search-bounds"),i=t("clamp"),a=t("parse-rect"),o=t("array-bounds"),s=t("pick-by-alias"),l=t("defined"),c=t("flatten-vertex-data"),u=t("is-obj"),f=t("dtype"),h=t("math-log2");function p(t,e){for(var r=e[0],n=e[1],a=1/(e[2]-r),o=1/(e[3]-n),s=new Array(t.length),l=0,c=t.length/2;l<c;l++)s[2*l]=i((t[2*l]-r)*a,0,1),s[2*l+1]=i((t[2*l+1]-n)*o,0,1);return s}e.exports=function(t,e){e||(e={}),t=c(t,"float64"),e=s(e,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});var r=l(e.maxDepth,255),i=l(e.bounds,o(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;var d,g=p(t,i),m=t.length>>>1;e.dtype||(e.dtype="array"),"string"==typeof e.dtype?d=new(f(e.dtype))(m):e.dtype&&(d=e.dtype,Array.isArray(d)&&(d.length=m));for(var v=0;v<m;++v)d[v]=v;var y=[],x=[],b=[],_=[];!function t(e,n,i,a,o,s){if(!a.length)return null;var l=y[o]||(y[o]=[]),c=b[o]||(b[o]=[]),u=x[o]||(x[o]=[]),f=l.length;if(++o>r||s>1073741824){for(var h=0;h<a.length;h++)l.push(a[h]),c.push(s),u.push(null,null,null,null);return f}if(l.push(a[0]),c.push(s),a.length<=1)return u.push(null,null,null,null),f;for(var p=.5*i,d=e+p,m=n+p,v=[],_=[],w=[],T=[],k=1,A=a.length;k<A;k++){var M=a[k],S=g[2*M],E=g[2*M+1];S<d?E<m?v.push(M):_.push(M):E<m?w.push(M):T.push(M)}return s<<=2,u.push(t(e,n,p,v,o,s),t(e,m,p,_,o,s+1),t(d,n,p,w,o,s+2),t(d,m,p,T,o,s+3)),f}(0,0,1,d,0,1);for(var w=0,T=0;T<y.length;T++){var k=y[T];if(d.set)d.set(k,w);else for(var A=0,M=k.length;A<M;A++)d[A+w]=k[A];var S=w+y[T].length;_[T]=[w,S],w=S}return d.range=function(){var e,r=[],n=arguments.length;for(;n--;)r[n]=arguments[n];if(u(r[r.length-1])){var o=r.pop();r.length||null==o.x&&null==o.l&&null==o.left||(r=[o],e={}),e=s(o,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else e={};r.length||(r=i);var c=a.apply(void 0,r),f=[Math.min(c.x,c.x+c.width),Math.min(c.y,c.y+c.height),Math.max(c.x,c.x+c.width),Math.max(c.y,c.y+c.height)],d=f[0],g=f[1],m=f[2],v=f[3],b=p([d,g,m,v],i),_=b[0],w=b[1],T=b[2],k=b[3],A=l(e.level,y.length);if(null!=e.d){var M;"number"==typeof e.d?M=[e.d,e.d]:e.d.length&&(M=e.d),A=Math.min(Math.max(Math.ceil(-h(Math.abs(M[0])/(i[2]-i[0]))),Math.ceil(-h(Math.abs(M[1])/(i[3]-i[1])))),A)}if(A=Math.min(A,y.length),e.lod)return E(_,w,T,k,A);var S=[];function L(e,r,n,i,a,o){if(null!==a&&null!==o&&!(_>e+n||w>r+n||T<e||k<r||i>=A||a===o)){var s=y[i];void 0===o&&(o=s.length);for(var l=a;l<o;l++){var c=s[l],u=t[2*c],f=t[2*c+1];u>=d&&u<=m&&f>=g&&f<=v&&S.push(c)}var h=x[i],p=h[4*a+0],b=h[4*a+1],M=h[4*a+2],E=h[4*a+3],P=C(h,a+1),I=.5*n,O=i+1;L(e,r,I,O,p,b||M||E||P),L(e,r+I,I,O,b,M||E||P),L(e+I,r,I,O,M,E||P),L(e+I,r+I,I,O,E,P)}}function C(t,e){for(var r=null,n=0;null===r;)if(r=t[4*e+n],++n>t.length)return null;return r}return L(0,0,1,0,0,1),S},d;function E(t,e,r,i,a){for(var o=[],s=0;s<a;s++){var l=b[s],c=_[s][0],u=L(t,e,s),f=L(r,i,s),h=n.ge(l,u),p=n.gt(l,f,h,l.length-1);o[s]=[h+c,p+c]}return o}function L(t,e,r){for(var n=1,i=.5,a=.5,o=.5,s=0;s<r;s++)n<<=2,n+=t<i?e<a?0:1:e<a?2:3,o*=.5,i+=t<i?-o:o,a+=e<a?-o:o;return n}}},{"array-bounds":71,"binary-search-bounds":80,clamp:86,defined:124,dtype:127,"flatten-vertex-data":191,"is-obj":235,"math-log2":240,"parse-rect":249,"pick-by-alias":253}],61:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@turf/meta");function i(t){var e=0;if(t&&t.length>0){e+=Math.abs(a(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(a(t[r]))}return e}function a(t){var e,r,n,i,a,s,l=0,c=t.length;if(c>2){for(s=0;s<c;s++)s===c-2?(n=c-2,i=c-1,a=0):s===c-1?(n=c-1,i=0,a=1):(n=s,i=s+1,a=s+2),e=t[n],r=t[i],l+=(o(t[a][0])-o(e[0]))*Math.sin(o(r[1]));l=6378137*l*6378137/2}return l}function o(t){return t*Math.PI/180}r.default=function(t){return n.geomReduce(t,(function(t,e){return t+function(t){var e,r=0;switch(t.type){case"Polygon":return i(t.coordinates);case"MultiPolygon":for(e=0;e<t.coordinates.length;e++)r+=i(t.coordinates[e]);return r;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0}return 0}(e)}),0)}},{"@turf/meta":63}],62:[function(t,e,r){"use strict";function n(t,e,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function i(t,e,r){if(void 0===r&&(r={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!d(t[0])||!d(t[1]))throw new Error("coordinates must contain numbers");return n({type:"Point",coordinates:t},e,r)}function a(t,e,r){void 0===r&&(r={});for(var i=0,a=t;i<a.length;i++){var o=a[i];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var s=0;s<o[o.length-1].length;s++)if(o[o.length-1][s]!==o[0][s])throw new Error("First and last Position are not equivalent.")}return n({type:"Polygon",coordinates:t},e,r)}function o(t,e,r){if(void 0===r&&(r={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");return n({type:"LineString",coordinates:t},e,r)}function s(t,e){void 0===e&&(e={});var r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function l(t,e,r){return void 0===r&&(r={}),n({type:"MultiLineString",coordinates:t},e,r)}function c(t,e,r){return void 0===r&&(r={}),n({type:"MultiPoint",coordinates:t},e,r)}function u(t,e,r){return void 0===r&&(r={}),n({type:"MultiPolygon",coordinates:t},e,r)}function f(t,e){void 0===e&&(e="kilometers");var n=r.factors[e];if(!n)throw new Error(e+" units is invalid");return t*n}function h(t,e){void 0===e&&(e="kilometers");var n=r.factors[e];if(!n)throw new Error(e+" units is invalid");return t/n}function p(t){return 180*(t%(2*Math.PI))/Math.PI}function d(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.earthRadius=6371008.8,r.factors={centimeters:100*r.earthRadius,centimetres:100*r.earthRadius,degrees:r.earthRadius/111325,feet:3.28084*r.earthRadius,inches:39.37*r.earthRadius,kilometers:r.earthRadius/1e3,kilometres:r.earthRadius/1e3,meters:r.earthRadius,metres:r.earthRadius,miles:r.earthRadius/1609.344,millimeters:1e3*r.earthRadius,millimetres:1e3*r.earthRadius,nauticalmiles:r.earthRadius/1852,radians:1,yards:1.0936*r.earthRadius},r.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/r.earthRadius,yards:1.0936133},r.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},r.feature=n,r.geometry=function(t,e,r){switch(void 0===r&&(r={}),t){case"Point":return i(e).geometry;case"LineString":return o(e).geometry;case"Polygon":return a(e).geometry;case"MultiPoint":return c(e).geometry;case"MultiLineString":return l(e).geometry;case"MultiPolygon":return u(e).geometry;default:throw new Error(t+" is invalid")}},r.point=i,r.points=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return i(t,e)})),r)},r.polygon=a,r.polygons=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return a(t,e)})),r)},r.lineString=o,r.lineStrings=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return o(t,e)})),r)},r.featureCollection=s,r.multiLineString=l,r.multiPoint=c,r.multiPolygon=u,r.geometryCollection=function(t,e,r){return void 0===r&&(r={}),n({type:"GeometryCollection",geometries:t},e,r)},r.round=function(t,e){if(void 0===e&&(e=0),e&&!(e>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,e||0);return Math.round(t*r)/r},r.radiansToLength=f,r.lengthToRadians=h,r.lengthToDegrees=function(t,e){return p(h(t,e))},r.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},r.radiansToDegrees=p,r.degreesToRadians=function(t){return t%360*Math.PI/180},r.convertLength=function(t,e,r){if(void 0===e&&(e="kilometers"),void 0===r&&(r="kilometers"),!(t>=0))throw new Error("length must be a positive number");return f(h(t,e),r)},r.convertArea=function(t,e,n){if(void 0===e&&(e="meters"),void 0===n&&(n="kilometers"),!(t>=0))throw new Error("area must be a positive number");var i=r.areaFactors[e];if(!i)throw new Error("invalid original units");var a=r.areaFactors[n];if(!a)throw new Error("invalid final units");return t/i*a},r.isNumber=d,r.isObject=function(t){return!!t&&t.constructor===Object},r.validateBBox=function(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!d(t))throw new Error("bbox must only contain numbers")}))},r.validateId=function(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}},{}],63:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@turf/helpers");function i(t,e,r){if(null!==t)for(var n,a,o,s,l,c,u,f,h=0,p=0,d=t.type,g="FeatureCollection"===d,m="Feature"===d,v=g?t.features.length:1,y=0;y<v;y++){l=(f=!!(u=g?t.features[y].geometry:m?t.geometry:t)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var x=0;x<l;x++){var b=0,_=0;if(null!==(s=f?u.geometries[x]:u)){c=s.coordinates;var w=s.type;switch(h=!r||"Polygon"!==w&&"MultiPolygon"!==w?0:1,w){case null:break;case"Point":if(!1===e(c,p,y,b,_))return!1;p++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(!1===e(c[n],p,y,b,_))return!1;p++,"MultiPoint"===w&&b++}"LineString"===w&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(a=0;a<c[n].length-h;a++){if(!1===e(c[n][a],p,y,b,_))return!1;p++}"MultiLineString"===w&&b++,"Polygon"===w&&_++}"Polygon"===w&&b++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(_=0,a=0;a<c[n].length;a++){for(o=0;o<c[n][a].length-h;o++){if(!1===e(c[n][a][o],p,y,b,_))return!1;p++}_++}b++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(!1===i(s.geometries[n],e,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function a(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&!1!==e(t.features[r].properties,r);r++);break;case"Feature":e(t.properties,0)}}function o(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var r=0;r<t.features.length&&!1!==e(t.features[r],r);r++);}function s(t,e){var r,n,i,a,o,s,l,c,u,f,h=0,p="FeatureCollection"===t.type,d="Feature"===t.type,g=p?t.features.length:1;for(r=0;r<g;r++){for(s=p?t.features[r].geometry:d?t.geometry:t,c=p?t.features[r].properties:d?t.properties:{},u=p?t.features[r].bbox:d?t.bbox:void 0,f=p?t.features[r].id:d?t.id:void 0,o=(l=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1,i=0;i<o;i++)if(null!==(a=l?s.geometries[i]:s))switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===e(a,h,c,u,f))return!1;break;case"GeometryCollection":for(n=0;n<a.geometries.length;n++)if(!1===e(a.geometries[n],h,c,u,f))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===e(null,h,c,u,f))return!1;h++}}function l(t,e){s(t,(function(t,r,i,a,o){var s,l=null===t?null:t.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return!1!==e(n.feature(t,i,{bbox:a,id:o}),r,0)&&void 0}switch(l){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}for(var c=0;c<t.coordinates.length;c++){var u={type:s,coordinates:t.coordinates[c]};if(!1===e(n.feature(u,i),r,c))return!1}}))}function c(t,e){l(t,(function(t,r,a){var o=0;if(t.geometry){var s=t.geometry.type;if("Point"!==s&&"MultiPoint"!==s){var l,c=0,u=0,f=0;return!1!==i(t,(function(i,s,h,p,d){if(void 0===l||r>c||p>u||d>f)return l=i,c=r,u=p,f=d,void(o=0);var g=n.lineString([l,i],t.properties);if(!1===e(g,r,a,d,o))return!1;o++,l=i}))&&void 0}}}))}function u(t,e){if(!t)throw new Error("geojson is required");l(t,(function(t,r,i){if(null!==t.geometry){var a=t.geometry.type,o=t.geometry.coordinates;switch(a){case"LineString":if(!1===e(t,r,i,0,0))return!1;break;case"Polygon":for(var s=0;s<o.length;s++)if(!1===e(n.lineString(o[s],t.properties),r,i,s))return!1}}}))}r.coordEach=i,r.coordReduce=function(t,e,r,n){var a=r;return i(t,(function(t,n,i,o,s){a=0===n&&void 0===r?t:e(a,t,n,i,o,s)}),n),a},r.propEach=a,r.propReduce=function(t,e,r){var n=r;return a(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n},r.featureEach=o,r.featureReduce=function(t,e,r){var n=r;return o(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n},r.coordAll=function(t){var e=[];return i(t,(function(t){e.push(t)})),e},r.geomEach=s,r.geomReduce=function(t,e,r){var n=r;return s(t,(function(t,i,a,o,s){n=0===i&&void 0===r?t:e(n,t,i,a,o,s)})),n},r.flattenEach=l,r.flattenReduce=function(t,e,r){var n=r;return l(t,(function(t,i,a){n=0===i&&0===a&&void 0===r?t:e(n,t,i,a)})),n},r.segmentEach=c,r.segmentReduce=function(t,e,r){var n=r,i=!1;return c(t,(function(t,a,o,s,l){n=!1===i&&void 0===r?t:e(n,t,a,o,s,l),i=!0})),n},r.lineEach=u,r.lineReduce=function(t,e,r){var n=r;return u(t,(function(t,i,a,o){n=0===i&&void 0===r?t:e(n,t,i,a,o)})),n},r.findSegment=function(t,e){if(e=e||{},!n.isObject(e))throw new Error("options is invalid");var r,i=e.featureIndex||0,a=e.multiFeatureIndex||0,o=e.geometryIndex||0,s=e.segmentIndex||0,l=e.properties;switch(t.type){case"FeatureCollection":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,r=t.features[i].geometry;break;case"Feature":l=l||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return s<0&&(s=c.length+s-1),n.lineString([c[s],c[s+1]],l,e);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s-1),n.lineString([c[o][s],c[o][s+1]],l,e);case"MultiLineString":return a<0&&(a=c.length+a),s<0&&(s=c[a].length+s-1),n.lineString([c[a][s],c[a][s+1]],l,e);case"MultiPolygon":return a<0&&(a=c.length+a),o<0&&(o=c[a].length+o),s<0&&(s=c[a][o].length-s-1),n.lineString([c[a][o][s],c[a][o][s+1]],l,e)}throw new Error("geojson is invalid")},r.findPoint=function(t,e){if(e=e||{},!n.isObject(e))throw new Error("options is invalid");var r,i=e.featureIndex||0,a=e.multiFeatureIndex||0,o=e.geometryIndex||0,s=e.coordIndex||0,l=e.properties;switch(t.type){case"FeatureCollection":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,r=t.features[i].geometry;break;case"Feature":l=l||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":return n.point(c,l,e);case"MultiPoint":return a<0&&(a=c.length+a),n.point(c[a],l,e);case"LineString":return s<0&&(s=c.length+s),n.point(c[s],l,e);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s),n.point(c[o][s],l,e);case"MultiLineString":return a<0&&(a=c.length+a),s<0&&(s=c[a].length+s),n.point(c[a][s],l,e);case"MultiPolygon":return a<0&&(a=c.length+a),o<0&&(o=c[a].length+o),s<0&&(s=c[a][o].length-s),n.point(c[a][o][s],l,e)}throw new Error("geojson is invalid")}},{"@turf/helpers":62}],64:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@turf/meta");function i(t){var e=[1/0,1/0,-1/0,-1/0];return n.coordEach(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}i.default=i,r.default=i},{"@turf/meta":66}],65:[function(t,e,r){arguments[4][62][0].apply(r,arguments)},{dup:62}],66:[function(t,e,r){arguments[4][63][0].apply(r,arguments)},{"@turf/helpers":65,dup:63}],67:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@turf/meta"),i=t("@turf/helpers");r.default=function(t,e){void 0===e&&(e={});var r=0,a=0,o=0;return n.coordEach(t,(function(t){r+=t[0],a+=t[1],o++})),i.point([r/o,a/o],e.properties)}},{"@turf/helpers":68,"@turf/meta":69}],68:[function(t,e,r){"use strict";function n(t,e,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function i(t,e,r){return void 0===r&&(r={}),n({type:"Point",coordinates:t},e,r)}function a(t,e,r){void 0===r&&(r={});for(var i=0,a=t;i<a.length;i++){var o=a[i];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var s=0;s<o[o.length-1].length;s++)if(o[o.length-1][s]!==o[0][s])throw new Error("First and last Position are not equivalent.")}return n({type:"Polygon",coordinates:t},e,r)}function o(t,e,r){if(void 0===r&&(r={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");return n({type:"LineString",coordinates:t},e,r)}function s(t,e){void 0===e&&(e={});var r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function l(t,e,r){return void 0===r&&(r={}),n({type:"MultiLineString",coordinates:t},e,r)}function c(t,e,r){return void 0===r&&(r={}),n({type:"MultiPoint",coordinates:t},e,r)}function u(t,e,r){return void 0===r&&(r={}),n({type:"MultiPolygon",coordinates:t},e,r)}function f(t,e){void 0===e&&(e="kilometers");var n=r.factors[e];if(!n)throw new Error(e+" units is invalid");return t*n}function h(t,e){void 0===e&&(e="kilometers");var n=r.factors[e];if(!n)throw new Error(e+" units is invalid");return t/n}function p(t){return 180*(t%(2*Math.PI))/Math.PI}function d(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)&&!/^\s*$/.test(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.earthRadius=6371008.8,r.factors={centimeters:100*r.earthRadius,centimetres:100*r.earthRadius,degrees:r.earthRadius/111325,feet:3.28084*r.earthRadius,inches:39.37*r.earthRadius,kilometers:r.earthRadius/1e3,kilometres:r.earthRadius/1e3,meters:r.earthRadius,metres:r.earthRadius,miles:r.earthRadius/1609.344,millimeters:1e3*r.earthRadius,millimetres:1e3*r.earthRadius,nauticalmiles:r.earthRadius/1852,radians:1,yards:r.earthRadius/1.0936},r.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/r.earthRadius,yards:1/1.0936},r.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},r.feature=n,r.geometry=function(t,e,r){switch(void 0===r&&(r={}),t){case"Point":return i(e).geometry;case"LineString":return o(e).geometry;case"Polygon":return a(e).geometry;case"MultiPoint":return c(e).geometry;case"MultiLineString":return l(e).geometry;case"MultiPolygon":return u(e).geometry;default:throw new Error(t+" is invalid")}},r.point=i,r.points=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return i(t,e)})),r)},r.polygon=a,r.polygons=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return a(t,e)})),r)},r.lineString=o,r.lineStrings=function(t,e,r){return void 0===r&&(r={}),s(t.map((function(t){return o(t,e)})),r)},r.featureCollection=s,r.multiLineString=l,r.multiPoint=c,r.multiPolygon=u,r.geometryCollection=function(t,e,r){return void 0===r&&(r={}),n({type:"GeometryCollection",geometries:t},e,r)},r.round=function(t,e){if(void 0===e&&(e=0),e&&!(e>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,e||0);return Math.round(t*r)/r},r.radiansToLength=f,r.lengthToRadians=h,r.lengthToDegrees=function(t,e){return p(h(t,e))},r.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},r.radiansToDegrees=p,r.degreesToRadians=function(t){return t%360*Math.PI/180},r.convertLength=function(t,e,r){if(void 0===e&&(e="kilometers"),void 0===r&&(r="kilometers"),!(t>=0))throw new Error("length must be a positive number");return f(h(t,e),r)},r.convertArea=function(t,e,n){if(void 0===e&&(e="meters"),void 0===n&&(n="kilometers"),!(t>=0))throw new Error("area must be a positive number");var i=r.areaFactors[e];if(!i)throw new Error("invalid original units");var a=r.areaFactors[n];if(!a)throw new Error("invalid final units");return t/i*a},r.isNumber=d,r.isObject=function(t){return!!t&&t.constructor===Object},r.validateBBox=function(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!d(t))throw new Error("bbox must only contain numbers")}))},r.validateId=function(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")},r.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},r.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},r.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},r.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},r.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},r.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},r.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},{}],69:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@turf/helpers");function i(t,e,r){if(null!==t)for(var n,a,o,s,l,c,u,f,h=0,p=0,d=t.type,g="FeatureCollection"===d,m="Feature"===d,v=g?t.features.length:1,y=0;y<v;y++){l=(f=!!(u=g?t.features[y].geometry:m?t.geometry:t)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var x=0;x<l;x++){var b=0,_=0;if(null!==(s=f?u.geometries[x]:u)){c=s.coordinates;var w=s.type;switch(h=!r||"Polygon"!==w&&"MultiPolygon"!==w?0:1,w){case null:break;case"Point":if(!1===e(c,p,y,b,_))return!1;p++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(!1===e(c[n],p,y,b,_))return!1;p++,"MultiPoint"===w&&b++}"LineString"===w&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(a=0;a<c[n].length-h;a++){if(!1===e(c[n][a],p,y,b,_))return!1;p++}"MultiLineString"===w&&b++,"Polygon"===w&&_++}"Polygon"===w&&b++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(_=0,a=0;a<c[n].length;a++){for(o=0;o<c[n][a].length-h;o++){if(!1===e(c[n][a][o],p,y,b,_))return!1;p++}_++}b++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(!1===i(s.geometries[n],e,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function a(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&!1!==e(t.features[r].properties,r);r++);break;case"Feature":e(t.properties,0)}}function o(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var r=0;r<t.features.length&&!1!==e(t.features[r],r);r++);}function s(t,e){var r,n,i,a,o,s,l,c,u,f,h=0,p="FeatureCollection"===t.type,d="Feature"===t.type,g=p?t.features.length:1;for(r=0;r<g;r++){for(s=p?t.features[r].geometry:d?t.geometry:t,c=p?t.features[r].properties:d?t.properties:{},u=p?t.features[r].bbox:d?t.bbox:void 0,f=p?t.features[r].id:d?t.id:void 0,o=(l=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1,i=0;i<o;i++)if(null!==(a=l?s.geometries[i]:s))switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===e(a,h,c,u,f))return!1;break;case"GeometryCollection":for(n=0;n<a.geometries.length;n++)if(!1===e(a.geometries[n],h,c,u,f))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===e(null,h,c,u,f))return!1;h++}}function l(t,e){s(t,(function(t,r,i,a,o){var s,l=null===t?null:t.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return!1!==e(n.feature(t,i,{bbox:a,id:o}),r,0)&&void 0}switch(l){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}for(var c=0;c<t.coordinates.length;c++){var u={type:s,coordinates:t.coordinates[c]};if(!1===e(n.feature(u,i),r,c))return!1}}))}function c(t,e){l(t,(function(t,r,a){var o=0;if(t.geometry){var s=t.geometry.type;if("Point"!==s&&"MultiPoint"!==s){var l,c=0,u=0,f=0;return!1!==i(t,(function(i,s,h,p,d){if(void 0===l||r>c||p>u||d>f)return l=i,c=r,u=p,f=d,void(o=0);var g=n.lineString([l,i],t.properties);if(!1===e(g,r,a,d,o))return!1;o++,l=i}))&&void 0}}}))}function u(t,e){if(!t)throw new Error("geojson is required");l(t,(function(t,r,i){if(null!==t.geometry){var a=t.geometry.type,o=t.geometry.coordinates;switch(a){case"LineString":if(!1===e(t,r,i,0,0))return!1;break;case"Polygon":for(var s=0;s<o.length;s++)if(!1===e(n.lineString(o[s],t.properties),r,i,s))return!1}}}))}r.coordEach=i,r.coordReduce=function(t,e,r,n){var a=r;return i(t,(function(t,n,i,o,s){a=0===n&&void 0===r?t:e(a,t,n,i,o,s)}),n),a},r.propEach=a,r.propReduce=function(t,e,r){var n=r;return a(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n},r.featureEach=o,r.featureReduce=function(t,e,r){var n=r;return o(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n},r.coordAll=function(t){var e=[];return i(t,(function(t){e.push(t)})),e},r.geomEach=s,r.geomReduce=function(t,e,r){var n=r;return s(t,(function(t,i,a,o,s){n=0===i&&void 0===r?t:e(n,t,i,a,o,s)})),n},r.flattenEach=l,r.flattenReduce=function(t,e,r){var n=r;return l(t,(function(t,i,a){n=0===i&&0===a&&void 0===r?t:e(n,t,i,a)})),n},r.segmentEach=c,r.segmentReduce=function(t,e,r){var n=r,i=!1;return c(t,(function(t,a,o,s,l){n=!1===i&&void 0===r?t:e(n,t,a,o,s,l),i=!0})),n},r.lineEach=u,r.lineReduce=function(t,e,r){var n=r;return u(t,(function(t,i,a,o){n=0===i&&void 0===r?t:e(n,t,i,a,o)})),n},r.findSegment=function(t,e){if(e=e||{},!n.isObject(e))throw new Error("options is invalid");var r,i=e.featureIndex||0,a=e.multiFeatureIndex||0,o=e.geometryIndex||0,s=e.segmentIndex||0,l=e.properties;switch(t.type){case"FeatureCollection":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,r=t.features[i].geometry;break;case"Feature":l=l||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return s<0&&(s=c.length+s-1),n.lineString([c[s],c[s+1]],l,e);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s-1),n.lineString([c[o][s],c[o][s+1]],l,e);case"MultiLineString":return a<0&&(a=c.length+a),s<0&&(s=c[a].length+s-1),n.lineString([c[a][s],c[a][s+1]],l,e);case"MultiPolygon":return a<0&&(a=c.length+a),o<0&&(o=c[a].length+o),s<0&&(s=c[a][o].length-s-1),n.lineString([c[a][o][s],c[a][o][s+1]],l,e)}throw new Error("geojson is invalid")},r.findPoint=function(t,e){if(e=e||{},!n.isObject(e))throw new Error("options is invalid");var r,i=e.featureIndex||0,a=e.multiFeatureIndex||0,o=e.geometryIndex||0,s=e.coordIndex||0,l=e.properties;switch(t.type){case"FeatureCollection":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,r=t.features[i].geometry;break;case"Feature":l=l||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":return n.point(c,l,e);case"MultiPoint":return a<0&&(a=c.length+a),n.point(c[a],l,e);case"LineString":return s<0&&(s=c.length+s),n.point(c[s],l,e);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s),n.point(c[o][s],l,e);case"MultiLineString":return a<0&&(a=c.length+a),s<0&&(s=c[a].length+s),n.point(c[a][s],l,e);case"MultiPolygon":return a<0&&(a=c.length+a),o<0&&(o=c[a].length+o),s<0&&(s=c[a][o].length-s),n.point(c[a][o][s],l,e)}throw new Error("geojson is invalid")}},{"@turf/helpers":68}],70:[function(t,e,r){e.exports=function(t){var e=0,r=0,n=0,i=0;return t.map((function(t){var a=(t=t.slice())[0],o=a.toUpperCase();if(a!=o)switch(t[0]=o,a){case"a":t[6]+=n,t[7]+=i;break;case"v":t[1]+=i;break;case"h":t[1]+=n;break;default:for(var s=1;s<t.length;)t[s++]+=n,t[s++]+=i}switch(o){case"Z":n=e,i=r;break;case"H":n=t[1];break;case"V":i=t[1];break;case"M":n=e=t[1],i=r=t[2];break;default:n=t[t.length-2],i=t[t.length-1]}return t}))}},{}],71:[function(t,e,r){"use strict";e.exports=function(t,e){if(!t||null==t.length)throw Error("Argument should be an array");e=null==e?1:Math.floor(e);for(var r=Array(2*e),n=0;n<e;n++){for(var i=-1/0,a=1/0,o=n,s=t.length;o<s;o+=e)t[o]>i&&(i=t[o]),t[o]<a&&(a=t[o]);r[n]=a,r[e+n]=i}return r}},{}],72:[function(t,e,r){"use strict";e.exports=function(t,e,r){if("function"==typeof Array.prototype.findIndex)return t.findIndex(e,r);if("function"!=typeof e)throw new TypeError("predicate must be a function");var n=Object(t),i=n.length;if(0===i)return-1;for(var a=0;a<i;a++)if(e.call(r,n[a],a,n))return a;return-1}},{}],73:[function(t,e,r){"use strict";var n=t("array-bounds");e.exports=function(t,e,r){if(!t||null==t.length)throw Error("Argument should be an array");null==e&&(e=1);null==r&&(r=n(t,e));for(var i=0;i<e;i++){var a=r[e+i],o=r[i],s=i,l=t.length;if(a===1/0&&o===-1/0)for(s=i;s<l;s+=e)t[s]=t[s]===a?1:t[s]===o?0:.5;else if(a===1/0)for(s=i;s<l;s+=e)t[s]=t[s]===a?1:0;else if(o===-1/0)for(s=i;s<l;s+=e)t[s]=t[s]===o?0:1;else{var c=a-o;for(s=i;s<l;s+=e)isNaN(t[s])||(t[s]=0===c?.5:(t[s]-o)/c)}}return t}},{"array-bounds":71}],74:[function(t,e,r){e.exports=function(t,e){var r="number"==typeof t,n="number"==typeof e;r&&!n?(e=t,t=0):r||n||(t=0,e=0);var i=(e|=0)-(t|=0);if(i<0)throw new Error("array length must be positive");for(var a=new Array(i),o=0,s=t;o<i;o++,s++)a[o]=s;return a}},{}],75:[function(t,e,r){(function(r){(function(){"use strict";var n=t("object-assign");
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function i(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i<a;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}function a(t){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var o=t("util/"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c="foo"===function(){}.name;function u(t){return Object.prototype.toString.call(t)}function f(t){return!a(t)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var h=e.exports=y,p=/\s*function\s+([^\(\s]*)\s*/;function d(t){if(o.isFunction(t)){if(c)return t.name;var e=t.toString().match(p);return e&&e[1]}}function g(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function m(t){if(c||!o.isFunction(t))return o.inspect(t);var e=d(t);return"[Function"+(e?": "+e:"")+"]"}function v(t,e,r,n,i){throw new h.AssertionError({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}function y(t,e){t||v(t,!0,e,"==",h.ok)}function x(t,e,r,n){if(t===e)return!0;if(a(t)&&a(e))return 0===i(t,e);if(o.isDate(t)&&o.isDate(e))return t.getTime()===e.getTime();if(o.isRegExp(t)&&o.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(f(t)&&f(e)&&u(t)===u(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(a(t)!==a(e))return!1;var s=(n=n||{actual:[],expected:[]}).actual.indexOf(t);return-1!==s&&s===n.expected.indexOf(e)||(n.actual.push(t),n.expected.push(e),function(t,e,r,n){if(null==t||null==e)return!1;if(o.isPrimitive(t)||o.isPrimitive(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=b(t),a=b(e);if(i&&!a||!i&&a)return!1;if(i)return t=l.call(t),e=l.call(e),x(t,e,r);var s,c,u=T(t),f=T(e);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),c=u.length-1;c>=0;c--)if(u[c]!==f[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!x(t[s],e[s],r,n))return!1;return!0}(t,e,r,n))}return r?t===e:t==e}function b(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function _(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function w(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&v(i,r,"Missing expected exception"+n);var a="string"==typeof n,s=!t&&i&&!r;if((!t&&o.isError(i)&&a&&_(i,r)||s)&&v(i,r,"Got unwanted exception"+n),t&&i&&r&&!_(i,r)||!t&&i)throw i}h.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return g(m(t.actual),128)+" "+t.operator+" "+g(m(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=d(e),a=n.indexOf("\n"+i);if(a>=0){var o=n.indexOf("\n",a+1);n=n.substring(o+1)}this.stack=n}}},o.inherits(h.AssertionError,Error),h.fail=v,h.ok=y,h.equal=function(t,e,r){t!=e&&v(t,e,r,"==",h.equal)},h.notEqual=function(t,e,r){t==e&&v(t,e,r,"!=",h.notEqual)},h.deepEqual=function(t,e,r){x(t,e,!1)||v(t,e,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(t,e,r){x(t,e,!0)||v(t,e,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(t,e,r){x(t,e,!1)&&v(t,e,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=function t(e,r,n){x(e,r,!0)&&v(e,r,n,"notDeepStrictEqual",t)},h.strictEqual=function(t,e,r){t!==e&&v(t,e,r,"===",h.strictEqual)},h.notStrictEqual=function(t,e,r){t===e&&v(t,e,r,"!==",h.notStrictEqual)},h.throws=function(t,e,r){w(!0,t,e,r)},h.doesNotThrow=function(t,e,r){w(!1,t,e,r)},h.ifError=function(t){if(t)throw t},h.strict=n((function t(e,r){e||v(e,!0,r,"==",t)}),h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var T=Object.keys||function(t){var e=[];for(var r in t)s.call(t,r)&&e.push(r);return e}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"object-assign":247,"util/":78}],76:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],77:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],78:[function(t,e,r){(function(e,n){(function(){var i=/%[sdj%]/g;r.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(s(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,a=n.length,o=String(t).replace(i,(function(t){if("%%"===t)return"%";if(r>=a)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),l=n[r];r<a;l=n[++r])g(l)||!b(l)?o+=" "+l:o+=" "+s(l);return o},r.deprecate=function(t,i){if(y(n.process))return function(){return r.deprecate(t,i).apply(this,arguments)};if(!0===e.noDeprecation)return t;var a=!1;return function(){if(!a){if(e.throwDeprecation)throw new Error(i);e.traceDeprecation?console.trace(i):console.error(i),a=!0}return t.apply(this,arguments)}};var a,o={};function s(t,e){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(e)?n.showHidden=e:e&&r._extend(n,e),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),u(n,t,n.depth)}function l(t,e){var r=s.styles[e];return r?"\x1b["+s.colors[r][0]+"m"+t+"\x1b["+s.colors[r][1]+"m":t}function c(t,e){return t}function u(t,e,n){if(t.customInspect&&e&&T(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(n,t);return v(i)||(i=u(t,i,n)),i}var a=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(m(e))return t.stylize(""+e,"number");if(d(e))return t.stylize(""+e,"boolean");if(g(e))return t.stylize("null","null")}(t,e);if(a)return a;var o=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),w(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return f(e);if(0===o.length){if(T(e)){var l=e.name?": "+e.name:"";return t.stylize("[Function"+l+"]","special")}if(x(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(_(e))return t.stylize(Date.prototype.toString.call(e),"date");if(w(e))return f(e)}var c,b="",k=!1,A=["{","}"];(p(e)&&(k=!0,A=["[","]"]),T(e))&&(b=" [Function"+(e.name?": "+e.name:"")+"]");return x(e)&&(b=" "+RegExp.prototype.toString.call(e)),_(e)&&(b=" "+Date.prototype.toUTCString.call(e)),w(e)&&(b=" "+f(e)),0!==o.length||k&&0!=e.length?n<0?x(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),c=k?function(t,e,r,n,i){for(var a=[],o=0,s=e.length;o<s;++o)E(e,String(o))?a.push(h(t,e,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(h(t,e,r,n,i,!0))})),a}(t,e,n,s,o):o.map((function(r){return h(t,e,n,s,r,k)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(c,b,A)):A[0]+b+A[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,r,n,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),E(n,i)||(o="["+i+"]"),s||(t.seen.indexOf(l.value)<0?(s=g(r)?u(t,l.value,null):u(t,l.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function p(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function g(t){return null===t}function m(t){return"number"==typeof t}function v(t){return"string"==typeof t}function y(t){return void 0===t}function x(t){return b(t)&&"[object RegExp]"===k(t)}function b(t){return"object"==typeof t&&null!==t}function _(t){return b(t)&&"[object Date]"===k(t)}function w(t){return b(t)&&("[object Error]"===k(t)||t instanceof Error)}function T(t){return"function"==typeof t}function k(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(y(a)&&(a=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!o[t])if(new RegExp("\\b"+t+"\\b","i").test(a)){var n=e.pid;o[t]=function(){var e=r.format.apply(r,arguments);console.error("%s %d: %s",t,n,e)}}else o[t]=function(){};return o[t]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=p,r.isBoolean=d,r.isNull=g,r.isNullOrUndefined=function(t){return null==t},r.isNumber=m,r.isString=v,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=y,r.isRegExp=x,r.isObject=b,r.isDate=_,r.isError=w,r.isFunction=T,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=t("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}r.log=function(){console.log("%s - %s",S(),r.format.apply(r,arguments))},r.inherits=t("inherits"),r._extend=function(t,e){if(!e||!b(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this)}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":77,_process:277,inherits:76}],79:[function(t,e,r){"use strict";r.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},r.toByteArray=function(t){var e,r,n=c(t),o=n[0],s=n[1],l=new a(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),u=0,f=s>0?o-4:o;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,l[u++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},r.fromByteArray=function(t){for(var e,r=t.length,i=r%3,a=[],o=0,s=r-i;o<s;o+=16383)a.push(u(t,o,o+16383>s?s:o+16383));1===i?(e=t[r-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return a.join("")};for(var n=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,r){for(var i,a,o=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(n[(a=i)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],80:[function(t,e,r){"use strict";function n(t,e,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)>=0?(a=o,i=o-1):n=o+1}return a}function i(t,e,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)>0?(a=o,i=o-1):n=o+1}return a}function a(t,e,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)<0?(a=o,n=o+1):i=o-1}return a}function o(t,e,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)<=0?(a=o,n=o+1):i=o-1}return a}function s(t,e,r,n,i){for(;n<=i;){var a=n+i>>>1,o=t[a],s=void 0!==r?r(o,e):o-e;if(0===s)return a;s<=0?n=a+1:i=a-1}return-1}function l(t,e,r,n,i,a){return"function"==typeof r?a(t,e,r,void 0===n?0:0|n,void 0===i?t.length-1:0|i):a(t,e,void 0,void 0===r?0:0|r,void 0===n?t.length-1:0|n)}e.exports={ge:function(t,e,r,i,a){return l(t,e,r,i,a,n)},gt:function(t,e,r,n,a){return l(t,e,r,n,a,i)},lt:function(t,e,r,n,i){return l(t,e,r,n,i,a)},le:function(t,e,r,n,i){return l(t,e,r,n,i,o)},eq:function(t,e,r,n,i){return l(t,e,r,n,i,s)}}},{}],81:[function(t,e,r){"use strict";function n(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}r.INT_BITS=32,r.INT_MAX=2147483647,r.INT_MIN=-1<<31,r.sign=function(t){return(t>0)-(t<0)},r.abs=function(t){var e=t>>31;return(t^e)-e},r.min=function(t,e){return e^(t^e)&-(t<e)},r.max=function(t,e){return t^(t^e)&-(t<e)},r.isPow2=function(t){return!(t&t-1||!t)},r.log2=function(t){var e,r;return e=(t>65535)<<4,e|=r=((t>>>=e)>255)<<3,e|=r=((t>>>=r)>15)<<2,(e|=r=((t>>>=r)>3)<<1)|(t>>>=r)>>1},r.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},r.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},r.countTrailingZeros=n,r.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1},r.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},r.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var r=e,n=e,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=1&r,--i;t[e]=n<<i&255}}(i),r.reverse=function(t){return i[255&t]<<24|i[t>>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},r.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},r.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},r.interleave3=function(t,e,r){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(r=1227133513&((r=3272356035&((r=251719695&((r=4278190335&((r&=1023)|r<<16))|r<<8))|r<<4))|r<<2))<<2},r.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},r.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},{}],82:[function(t,e,r){"use strict";var n=t("clamp");e.exports=function(t,e){e||(e={});var r,o,s,l,c,u,f,h,p,d,g,m=null==e.cutoff?.25:e.cutoff,v=null==e.radius?8:e.radius,y=e.channel||0;if(ArrayBuffer.isView(t)||Array.isArray(t)){if(!e.width||!e.height)throw Error("For raw data width and height should be provided by options");r=e.width,o=e.height,l=t,u=e.stride?e.stride:Math.floor(t.length/r/o)}else window.HTMLCanvasElement&&t instanceof window.HTMLCanvasElement?(f=(h=t).getContext("2d"),r=h.width,o=h.height,p=f.getImageData(0,0,r,o),l=p.data,u=4):window.CanvasRenderingContext2D&&t instanceof window.CanvasRenderingContext2D?(h=t.canvas,f=t,r=h.width,o=h.height,p=f.getImageData(0,0,r,o),l=p.data,u=4):window.ImageData&&t instanceof window.ImageData&&(p=t,r=t.width,o=t.height,l=p.data,u=4);if(s=Math.max(r,o),window.Uint8ClampedArray&&l instanceof window.Uint8ClampedArray||window.Uint8Array&&l instanceof window.Uint8Array)for(c=l,l=Array(r*o),d=0,g=c.length;d<g;d++)l[d]=c[d*u+y]/255;else if(1!==u)throw Error("Raw data can have only 1 value per pixel");var x=Array(r*o),b=Array(r*o),_=Array(s),w=Array(s),T=Array(s+1),k=Array(s);for(d=0,g=r*o;d<g;d++){var A=l[d];x[d]=1===A?0:0===A?i:Math.pow(Math.max(0,.5-A),2),b[d]=1===A?i:0===A?0:Math.pow(Math.max(0,A-.5),2)}a(x,r,o,_,w,k,T),a(b,r,o,_,w,k,T);var M=window.Float32Array?new Float32Array(r*o):new Array(r*o);for(d=0,g=r*o;d<g;d++)M[d]=n(1-((x[d]-b[d])/v+m),0,1);return M};var i=1e20;function a(t,e,r,n,i,a,s){for(var l=0;l<e;l++){for(var c=0;c<r;c++)n[c]=t[c*e+l];for(o(n,i,a,s,r),c=0;c<r;c++)t[c*e+l]=i[c]}for(c=0;c<r;c++){for(l=0;l<e;l++)n[l]=t[c*e+l];for(o(n,i,a,s,e),l=0;l<e;l++)t[c*e+l]=Math.sqrt(i[l])}}function o(t,e,r,n,a){r[0]=0,n[0]=-i,n[1]=+i;for(var o=1,s=0;o<a;o++){for(var l=(t[o]+o*o-(t[r[s]]+r[s]*r[s]))/(2*o-2*r[s]);l<=n[s];)s--,l=(t[o]+o*o-(t[r[s]]+r[s]*r[s]))/(2*o-2*r[s]);r[++s]=o,n[s]=l,n[s+1]=+i}for(o=0,s=0;o<a;o++){for(;n[s+1]<o;)s++;e[o]=(o-r[s])*(o-r[s])+t[r[s]]}}},{clamp:86}],83:[function(t,e,r){},{}],84:[function(t,e,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(t,e){return new Promise((function(r,n){function i(){void 0!==a&&t.removeListener("error",a),r([].slice.call(arguments))}var a;"error"!==e&&(a=function(r){t.removeListener(e,i),n(r)},t.once("error",a)),t.once(e,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,a,o,s;if(c(r),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),a=t._events),o=a[e]),void 0===o)o=a[e]=r,++t._eventsCount;else if("function"==typeof o?o=a[e]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=u(t))>0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):m(i,i.length)}function g(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");l=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[t];if(void 0===l)return!1;if("function"==typeof l)a(l,this,e);else{var c=l.length,u=m(l,c);for(r=0;r<c;++r)a(u[r],this,e)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){return c(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,i,a,o;if(c(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===e||r[a].listener===e){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,o||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(i=a[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return d(this,t,!0)},s.prototype.rawListeners=function(t){return d(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},{}],85:[function(t,e,r){(function(e){(function(){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
"use strict";var e=t("base64-js"),n=t("ieee754");r.Buffer=a,r.SlowBuffer=function(t){+t!=t&&(t=0);return a.alloc(+t)},r.INSPECT_MAX_BYTES=50;function i(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return e.__proto__=a.prototype,e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return o(t,e,r)}function o(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|f(t,e),n=i(r),o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer))return function(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r);return n.__proto__=a.prototype,n}(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return a.from(n,e,r);var o=function(t){if(a.isBuffer(t)){var e=0|u(t.length),r=i(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||N(t.length)?i(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return s(t),i(t<0?0:0|u(t))}function c(t){for(var e=t.length<0?0:0|u(t.length),r=i(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function u(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function f(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(t).length;default:if(i)return n?-1:D(t).length;e=(""+e).toLowerCase(),i=!0}}function h(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return A(this,e,r);case"base64":return w(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function p(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function d(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),N(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var a,o=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var u=-1;for(a=r;a<s;a++)if(c(t,a)===c(e,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var f=!0,h=0;h<l;h++)if(c(t,a+h)!==c(e,h)){f=!1;break}if(f)return a}return-1}function m(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(e.substr(2*o,2),16);if(N(s))return o;t[r+o]=s}return o}function v(t,e,r,n){return F(D(e,t.length-r),t,r,n)}function y(t,e,r,n){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return y(t,e,r,n)}function b(t,e,r,n){return F(R(e),t,r,n)}function _(t,e,r,n){return F(function(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function w(t,r,n){return 0===r&&n===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,n))}function T(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a,o,s,l,c=t[i],u=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(a=t[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}r.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(t,e,r){return o(t,e,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(t,e,r){return function(t,e,r){return s(t),t<=0?i(t):void 0!==e?"string"==typeof r?i(t).fill(e,r):i(t).fill(e):i(t)}(t,e,r)},a.allocUnsafe=function(t){return l(t)},a.allocUnsafeSlow=function(t){return l(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=a.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(B(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):h.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},a.prototype.compare=function(t,e,r,n,i){if(B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),l=Math.min(o,s),c=this.slice(n,i),u=t.slice(e,r),f=0;f<l;++f)if(c[f]!==u[f]){o=c[f],s=u[f];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return d(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return d(this,t,e,r,!1)},a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return m(this,t,e,r);case"utf8":case"utf-8":return v(this,t,e,r);case"ascii":return y(this,t,e,r);case"latin1":case"binary":return x(this,t,e,r);case"base64":return b(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function A(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=z(t[a]);return i}function S(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function E(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function C(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,i,a){return e=+e,r>>>=0,a||C(t,0,r,4),n.write(t,e,r,i,23,4),r+4}function I(t,e,r,i,a){return e=+e,r>>>=0,a||C(t,0,r,8),n.write(t,e,r,i,52,8),r+8}a.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},a.prototype.readInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a<r&&(i*=256);)this[e+a]=t/i&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a<r&&(o*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return I(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return I(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),l=s.length;if(0===l)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%l]}return this};var O=/[^+/0-9A-Za-z-_]/g;function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function D(t,e){var r;e=e||1/0;for(var n=t.length,i=null,a=[],o=0;o<n;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function R(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function N(t){return t!=t}}).call(this)}).call(this,t("buffer").Buffer)},{"base64-js":79,buffer:85,ieee754:230}],86:[function(t,e,r){e.exports=function(t,e,r){return e<r?t<e?e:t>r?r:t:t<r?r:t>e?e:t}},{}],87:[function(t,e,r){"use strict";var n=t("clamp");function i(t,e){null==e&&(e=!0);var r=t[0],i=t[1],a=t[2],o=t[3];return null==o&&(o=e?1:255),e&&(r*=255,i*=255,a*=255,o*=255),16777216*(r=255&n(r,0,255))+((i=255&n(i,0,255))<<16)+((a=255&n(a,0,255))<<8)+(o=255&n(o,0,255))}e.exports=i,e.exports.to=i,e.exports.from=function(t,e){var r=(t=+t)>>>24,n=(16711680&t)>>>16,i=(65280&t)>>>8,a=255&t;return!1===e?[r,n,i,a]:[r/255,n/255,i/255,a/255]}},{clamp:86}],88:[function(t,e,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],89:[function(t,e,r){"use strict";var n=t("color-rgba"),i=t("clamp"),a=t("dtype");e.exports=function(t,e){"float"!==e&&e||(e="array"),"uint"===e&&(e="uint8"),"uint_clamped"===e&&(e="uint8_clamped");var r=new(a(e))(4),o="uint8"!==e&&"uint8_clamped"!==e;return t.length&&"string"!=typeof t||((t=n(t))[0]/=255,t[1]/=255,t[2]/=255),function(t){return t instanceof Uint8Array||t instanceof Uint8ClampedArray||!!(Array.isArray(t)&&(t[0]>1||0===t[0])&&(t[1]>1||0===t[1])&&(t[2]>1||0===t[2])&&(!t[3]||t[3]>1))}(t)?(r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=null!=t[3]?t[3]:255,o&&(r[0]/=255,r[1]/=255,r[2]/=255,r[3]/=255),r):(o?(r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=null!=t[3]?t[3]:1):(r[0]=i(Math.floor(255*t[0]),0,255),r[1]=i(Math.floor(255*t[1]),0,255),r[2]=i(Math.floor(255*t[2]),0,255),r[3]=null==t[3]?255:i(Math.floor(255*t[3]),0,255)),r)}},{clamp:86,"color-rgba":91,dtype:127}],90:[function(t,e,r){(function(r){(function(){"use strict";var n=t("color-name"),i=t("is-plain-obj"),a=t("defined");e.exports=function(t){var e,s,l=[],c=1;if("string"==typeof t)if(n[t])l=n[t].slice(),s="rgb";else if("transparent"===t)c=0,s="rgb",l=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var u=(p=t.slice(1)).length;c=1,u<=4?(l=[parseInt(p[0]+p[0],16),parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16)],4===u&&(c=parseInt(p[3]+p[3],16)/255)):(l=[parseInt(p[0]+p[1],16),parseInt(p[2]+p[3],16),parseInt(p[4]+p[5],16)],8===u&&(c=parseInt(p[6]+p[7],16)/255)),l[0]||(l[0]=0),l[1]||(l[1]=0),l[2]||(l[2]=0),s="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var f=e[1],h="rgb"===f,p=f.replace(/a$/,"");s=p;u="cmyk"===p?4:"gray"===p?1:3;l=e[2].trim().split(/\s*,\s*/).map((function(t,e){if(/%$/.test(t))return e===u?parseFloat(t)/100:"rgb"===p?255*parseFloat(t)/100:parseFloat(t);if("h"===p[e]){if(/deg$/.test(t))return parseFloat(t);if(void 0!==o[t])return o[t]}return parseFloat(t)})),f===p&&l.push(1),c=h||void 0===l[u]?1:l[u],l=l.slice(0,u)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(l=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),s=t.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(t))if(i(t)){var d=a(t.r,t.red,t.R,null);null!==d?(s="rgb",l=[d,a(t.g,t.green,t.G),a(t.b,t.blue,t.B)]):(s="hsl",l=[a(t.h,t.hue,t.H),a(t.s,t.saturation,t.S),a(t.l,t.lightness,t.L,t.b,t.brightness)]),c=a(t.a,t.alpha,t.opacity,1),null!=t.opacity&&(c/=100)}else(Array.isArray(t)||r.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(t))&&(l=[t[0],t[1],t[2]],s="rgb",c=4===t.length?t[3]:1);else s="rgb",l=[t>>>16,(65280&t)>>>8,255&t];return{space:s,values:l,alpha:c}};var o={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"color-name":88,defined:124,"is-plain-obj":236}],91:[function(t,e,r){"use strict";var n=t("color-parse"),i=t("color-space/hsl"),a=t("clamp");e.exports=function(t){var e,r=n(t);return r.space?((e=Array(3))[0]=a(r.values[0],0,255),e[1]=a(r.values[1],0,255),e[2]=a(r.values[2],0,255),"h"===r.space[0]&&(e=i.rgb(e)),e.push(a(r.alpha,0,1)),e):[]}},{clamp:86,"color-parse":90,"color-space/hsl":92}],92:[function(t,e,r){"use strict";var n=t("./rgb");e.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e,r,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[a=255*l,a,a];e=2*l-(r=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var c=0;c<3;c++)(n=o+1/3*-(c-1))<0?n++:n>1&&n--,a=6*n<1?e+6*(r-e)*n:2*n<1?r:3*n<2?e+(r-e)*(2/3-n)*6:e,i[c]=255*a;return i}},n.hsl=function(t){var e,r,n=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(n,i,a),s=Math.max(n,i,a),l=s-o;return s===o?e=0:n===s?e=(i-a)/l:i===s?e=2+(a-n)/l:a===s&&(e=4+(n-i)/l),(e=Math.min(60*e,360))<0&&(e+=360),r=(o+s)/2,[e,100*(s===o?0:r<=.5?l/(s+o):l/(2-s-o)),100*r]}},{"./rgb":93}],93:[function(t,e,r){"use strict";e.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},{}],94:[function(t,e,r){e.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|\xe7)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|\xe9)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|\xe9)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|\xe3)o.?tom(e|\xe9)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},{}],95:[function(t,e,r){e.exports=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]},{}],96:[function(t,e,r){e.exports=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"]},{}],97:[function(t,e,r){e.exports=["normal","italic","oblique"]},{}],98:[function(t,e,r){e.exports=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]},{}],99:[function(t,e,r){"use strict";e.exports={parse:t("./parse"),stringify:t("./stringify")}},{"./parse":101,"./stringify":102}],100:[function(t,e,r){"use strict";var n=t("css-font-size-keywords");e.exports={isSize:function(t){return/^[\d\.]/.test(t)||-1!==t.indexOf("/")||-1!==n.indexOf(t)}}},{"css-font-size-keywords":95}],101:[function(t,e,r){"use strict";var n=t("unquote"),i=t("css-global-keywords"),a=t("css-system-font-keywords"),o=t("css-font-weight-keywords"),s=t("css-font-style-keywords"),l=t("css-font-stretch-keywords"),c=t("string-split-by"),u=t("./lib/util").isSize;e.exports=h;var f=h.cache={};function h(t){if("string"!=typeof t)throw new Error("Font argument must be a string.");if(f[t])return f[t];if(""===t)throw new Error("Cannot parse an empty string.");if(-1!==a.indexOf(t))return f[t]={system:t};for(var e,r={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},h=c(t,/\s+/);e=h.shift();){if(-1!==i.indexOf(e))return["style","variant","weight","stretch"].forEach((function(t){r[t]=e})),f[t]=r;if(-1===s.indexOf(e))if("normal"!==e&&"small-caps"!==e)if(-1===l.indexOf(e)){if(-1===o.indexOf(e)){if(u(e)){var d=c(e,"/");if(r.size=d[0],null!=d[1]?r.lineHeight=p(d[1]):"/"===h[0]&&(h.shift(),r.lineHeight=p(h.shift())),!h.length)throw new Error("Missing required font-family.");return r.family=c(h.join(" "),/\s*,\s*/).map(n),f[t]=r}throw new Error("Unknown or unsupported font token: "+e)}r.weight=e}else r.stretch=e;else r.variant=e;else r.style=e}throw new Error("Missing required font-size.")}function p(t){var e=parseFloat(t);return e.toString()===t?e:t}},{"./lib/util":100,"css-font-stretch-keywords":96,"css-font-style-keywords":97,"css-font-weight-keywords":98,"css-global-keywords":103,"css-system-font-keywords":104,"string-split-by":305,unquote:328}],102:[function(t,e,r){"use strict";var n=t("pick-by-alias"),i=t("./lib/util").isSize,a=g(t("css-global-keywords")),o=g(t("css-system-font-keywords")),s=g(t("css-font-weight-keywords")),l=g(t("css-font-style-keywords")),c=g(t("css-font-stretch-keywords")),u={normal:1,"small-caps":1},f={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},h="1rem",p="serif";function d(t,e){if(t&&!e[t]&&!a[t])throw Error("Unknown keyword `"+t+"`");return t}function g(t){for(var e={},r=0;r<t.length;r++)e[t[r]]=1;return e}e.exports=function(t){if((t=n(t,{style:"style fontstyle fontStyle font-style slope distinction",variant:"variant font-variant fontVariant fontvariant var capitalization",weight:"weight w font-weight fontWeight fontweight",stretch:"stretch font-stretch fontStretch fontstretch width",size:"size s font-size fontSize fontsize height em emSize",lineHeight:"lh line-height lineHeight lineheight leading",family:"font family fontFamily font-family fontfamily type typeface face",system:"system reserved default global"})).system)return t.system&&d(t.system,o),t.system;if(d(t.style,l),d(t.variant,u),d(t.weight,s),d(t.stretch,c),null==t.size&&(t.size=h),"number"==typeof t.size&&(t.size+="px"),!i)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=p),Array.isArray(t.family)&&(t.family.length||(t.family=[p]),t.family=t.family.map((function(t){return f[t]?t:'"'+t+'"'})).join(", "));var e=[];return e.push(t.style),t.variant!==t.style&&e.push(t.variant),t.weight!==t.variant&&t.weight!==t.style&&e.push(t.weight),t.stretch!==t.weight&&t.stretch!==t.variant&&t.stretch!==t.style&&e.push(t.stretch),e.push(t.size+(null==t.lineHeight||"normal"===t.lineHeight||t.lineHeight+""=="1"?"":"/"+t.lineHeight)),e.push(t.family),e.filter(Boolean).join(" ")}},{"./lib/util":100,"css-font-stretch-keywords":96,"css-font-style-keywords":97,"css-font-weight-keywords":98,"css-global-keywords":103,"css-system-font-keywords":104,"pick-by-alias":253}],103:[function(t,e,r){e.exports=["inherit","initial","unset"]},{}],104:[function(t,e,r){e.exports=["caption","icon","menu","message-box","small-caption","status-bar"]},{}],105:[function(t,e,r){"use strict";var n,i=t("type/value/is"),a=t("type/value/ensure"),o=t("type/plain-function/ensure"),s=t("es5-ext/object/copy"),l=t("es5-ext/object/normalize-options"),c=t("es5-ext/object/map"),u=Function.prototype.bind,f=Object.defineProperty,h=Object.prototype.hasOwnProperty;n=function(t,e,r){var n,i=a(e)&&o(e.value);return delete(n=s(e)).writable,delete n.value,n.get=function(){return!r.overwriteDefinition&&h.call(this,t)?i:(e.value=u.call(i,r.resolveContext?r.resolveContext(this):this),f(this,t,e),this[t])},n},e.exports=function(t){var e=l(arguments[1]);return i(e.resolveContext)&&o(e.resolveContext),c(t,(function(t,r){return n(r,t,e)}))}},{"es5-ext/object/copy":147,"es5-ext/object/map":155,"es5-ext/object/normalize-options":156,"type/plain-function/ensure":321,"type/value/ensure":325,"type/value/is":326}],106:[function(t,e,r){"use strict";var n=t("type/value/is"),i=t("type/plain-function/is"),a=t("es5-ext/object/assign"),o=t("es5-ext/object/normalize-options"),s=t("es5-ext/string/#/contains");(e.exports=function(t,e){var r,i,l,c,u;return arguments.length<2||"string"!=typeof t?(c=e,e=t,t=null):c=arguments[2],n(t)?(r=s.call(t,"c"),i=s.call(t,"e"),l=s.call(t,"w")):(r=l=!0,i=!1),u={value:e,configurable:r,enumerable:i,writable:l},c?a(o(c),u):u}).gs=function(t,e,r){var l,c,u,f;return"string"!=typeof t?(u=r,r=e,e=t,t=null):u=arguments[3],n(e)?i(e)?n(r)?i(r)||(u=r,r=void 0):r=void 0:(u=e,e=r=void 0):e=void 0,n(t)?(l=s.call(t,"c"),c=s.call(t,"e")):(l=!0,c=!1),f={get:e,set:r,configurable:l,enumerable:c},u?a(o(u),f):f}},{"es5-ext/object/assign":144,"es5-ext/object/normalize-options":156,"es5-ext/string/#/contains":163,"type/plain-function/is":322,"type/value/is":326}],107:[function(t,e,r){!function(t,n){n("object"==typeof r&&void 0!==e?r:t.d3=t.d3||{})}(this,(function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function r(t){var r;return 1===t.length&&(r=t,t=function(t,n){return e(r(t),n)}),{left:function(e,r,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){var a=n+i>>>1;t(e[a],r)<0?n=a+1:i=a}return n},right:function(e,r,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){var a=n+i>>>1;t(e[a],r)>0?i=a:n=a+1}return n}}}var n=r(e),i=n.right,a=n.left;function o(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function l(t,e){var r,n,i=t.length,a=0,o=-1,l=0,c=0;if(null==e)for(;++o<i;)isNaN(r=s(t[o]))||(c+=(n=r-l)*(r-(l+=n/++a)));else for(;++o<i;)isNaN(r=s(e(t[o],o,t)))||(c+=(n=r-l)*(r-(l+=n/++a)));if(a>1)return c/(a-1)}function c(t,e){var r=l(t,e);return r?Math.sqrt(r):r}function u(t,e){var r,n,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(r=t[o])&&r>=r)for(n=i=r;++o<a;)null!=(r=t[o])&&(n>r&&(n=r),i<r&&(i=r))}else for(;++o<a;)if(null!=(r=e(t[o],o,t))&&r>=r)for(n=i=r;++o<a;)null!=(r=e(t[o],o,t))&&(n>r&&(n=r),i<r&&(i=r));return[n,i]}var f=Array.prototype,h=f.slice,p=f.map;function d(t){return function(){return t}}function g(t){return t}function m(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),a=new Array(i);++n<i;)a[n]=t+n*r;return a}var v=Math.sqrt(50),y=Math.sqrt(10),x=Math.sqrt(2);function b(t,e,r){var n=(e-t)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),a=n/Math.pow(10,i);return i>=0?(a>=v?10:a>=y?5:a>=x?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=v?10:a>=y?5:a>=x?2:1)}function _(t,e,r){var n=Math.abs(e-t)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),a=n/i;return a>=v?i*=10:a>=y?i*=5:a>=x&&(i*=2),e<t?-i:i}function w(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function T(t,e,r){if(null==r&&(r=s),n=t.length){if((e=+e)<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,a=Math.floor(i),o=+r(t[a],a,t);return o+(+r(t[a+1],a+1,t)-o)*(i-a)}}function k(t,e){var r,n,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(r=t[a])&&r>=r)for(n=r;++a<i;)null!=(r=t[a])&&n>r&&(n=r)}else for(;++a<i;)if(null!=(r=e(t[a],a,t))&&r>=r)for(n=r;++a<i;)null!=(r=e(t[a],a,t))&&n>r&&(n=r);return n}function A(t){if(!(i=t.length))return[];for(var e=-1,r=k(t,M),n=new Array(r);++e<r;)for(var i,a=-1,o=n[e]=new Array(i);++a<i;)o[a]=t[a][e];return n}function M(t){return t.length}t.bisect=i,t.bisectRight=i,t.bisectLeft=a,t.ascending=e,t.bisector=r,t.cross=function(t,e,r){var n,i,a,s,l=t.length,c=e.length,u=new Array(l*c);for(null==r&&(r=o),n=a=0;n<l;++n)for(s=t[n],i=0;i<c;++i,++a)u[a]=r(s,e[i]);return u},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=c,t.extent=u,t.histogram=function(){var t=g,e=u,r=w;function n(n){var a,o,s=n.length,l=new Array(s);for(a=0;a<s;++a)l[a]=t(n[a],a,n);var c=e(l),u=c[0],f=c[1],h=r(l,u,f);Array.isArray(h)||(h=_(u,f,h),h=m(Math.ceil(u/h)*h,f,h));for(var p=h.length;h[0]<=u;)h.shift(),--p;for(;h[p-1]>f;)h.pop(),--p;var d,g=new Array(p+1);for(a=0;a<=p;++a)(d=g[a]=[]).x0=a>0?h[a-1]:u,d.x1=a<p?h[a]:f;for(a=0;a<s;++a)u<=(o=l[a])&&o<=f&&g[i(h,o,0,p)].push(n[a]);return g}return n.value=function(e){return arguments.length?(t="function"==typeof e?e:d(e),n):t},n.domain=function(t){return arguments.length?(e="function"==typeof t?t:d([t[0],t[1]]),n):e},n.thresholds=function(t){return arguments.length?(r="function"==typeof t?t:Array.isArray(t)?d(h.call(t)):d(t),n):r},n},t.thresholdFreedmanDiaconis=function(t,r,n){return t=p.call(t,s).sort(e),Math.ceil((n-r)/(2*(T(t,.75)-T(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,r){return Math.ceil((r-e)/(3.5*c(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=w,t.max=function(t,e){var r,n,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(r=t[a])&&r>=r)for(n=r;++a<i;)null!=(r=t[a])&&r>n&&(n=r)}else for(;++a<i;)if(null!=(r=e(t[a],a,t))&&r>=r)for(n=r;++a<i;)null!=(r=e(t[a],a,t))&&r>n&&(n=r);return n},t.mean=function(t,e){var r,n=t.length,i=n,a=-1,o=0;if(null==e)for(;++a<n;)isNaN(r=s(t[a]))?--i:o+=r;else for(;++a<n;)isNaN(r=s(e(t[a],a,t)))?--i:o+=r;if(i)return o/i},t.median=function(t,r){var n,i=t.length,a=-1,o=[];if(null==r)for(;++a<i;)isNaN(n=s(t[a]))||o.push(n);else for(;++a<i;)isNaN(n=s(r(t[a],a,t)))||o.push(n);return T(o.sort(e),.5)},t.merge=function(t){for(var e,r,n,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(r=new Array(o);--i>=0;)for(e=(n=t[i]).length;--e>=0;)r[--o]=n[e];return r},t.min=k,t.pairs=function(t,e){null==e&&(e=o);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return a},t.permute=function(t,e){for(var r=e.length,n=new Array(r);r--;)n[r]=t[e[r]];return n},t.quantile=T,t.range=m,t.scan=function(t,r){if(n=t.length){var n,i,a=0,o=0,s=t[o];for(null==r&&(r=e);++a<n;)(r(i=t[a],s)<0||0!==r(s,s))&&(s=i,o=a);return 0===r(s,s)?o:void 0}},t.shuffle=function(t,e,r){for(var n,i,a=(null==r?t.length:r)-(e=null==e?0:+e);a;)i=Math.random()*a--|0,n=t[a+e],t[a+e]=t[i+e],t[i+e]=n;return t},t.sum=function(t,e){var r,n=t.length,i=-1,a=0;if(null==e)for(;++i<n;)(r=+t[i])&&(a+=r);else for(;++i<n;)(r=+e(t[i],i,t))&&(a+=r);return a},t.ticks=function(t,e,r){var n,i,a,o,s=-1;if(r=+r,(t=+t)===(e=+e)&&r>0)return[t];if((n=e<t)&&(i=t,t=e,e=i),0===(o=b(t,e,r))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++s<i;)a[s]=(t+s)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),a=new Array(i=Math.ceil(t-e+1));++s<i;)a[s]=(t-s)/o;return n&&a.reverse(),a},t.tickIncrement=b,t.tickStep=_,t.transpose=A,t.variance=l,t.zip=function(){return A(arguments)},Object.defineProperty(t,"__esModule",{value:!0})}))},{}],108:[function(t,e,r){!function(t,n){n("object"==typeof r&&void 0!==e?r:t.d3=t.d3||{})}(this,(function(t){"use strict";function e(){}function r(t,r){var n=new e;if(t instanceof e)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var i,a=-1,o=t.length;if(null==r)for(;++a<o;)n.set(a,t[a]);else for(;++a<o;)n.set(r(i=t[a],a,t),i)}else if(t)for(var s in t)n.set(s,t[s]);return n}function n(){return{}}function i(t,e,r){t[e]=r}function a(){return r()}function o(t,e,r){t.set(e,r)}function s(){}e.prototype=r.prototype={constructor:e,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var l=r.prototype;function c(t,e){var r=new s;if(t instanceof s)t.each((function(t){r.add(t)}));else if(t){var n=-1,i=t.length;if(null==e)for(;++n<i;)r.add(t[n]);else for(;++n<i;)r.add(e(t[n],n,t))}return r}s.prototype=c.prototype={constructor:s,has:l.has,add:function(t){return this["$"+(t+="")]=t,this},remove:l.remove,clear:l.clear,values:l.keys,size:l.size,empty:l.empty,each:l.each},t.nest=function(){var t,e,s,l=[],c=[];function u(n,i,a,o){if(i>=l.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var s,c,f,h=-1,p=n.length,d=l[i++],g=r(),m=a();++h<p;)(f=g.get(s=d(c=n[h])+""))?f.push(c):g.set(s,[c]);return g.each((function(t,e){o(m,e,u(t,i,a,o))})),m}return s={object:function(t){return u(t,0,n,i)},map:function(t){return u(t,0,a,o)},entries:function(t){return function t(r,n){if(++n>l.length)return r;var i,a=c[n-1];return null!=e&&n>=l.length?i=r.entries():(i=[],r.each((function(e,r){i.push({key:r,values:t(e,n)})}))),null!=a?i.sort((function(t,e){return a(t.key,e.key)})):i}(u(t,0,a,o),0)},key:function(t){return l.push(t),s},sortKeys:function(t){return c[l.length-1]=t,s},sortValues:function(e){return t=e,s},rollup:function(t){return e=t,s}}},t.set=c,t.map=r,t.keys=function(t){var e=[];for(var r in t)e.push(r);return e},t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.entries=function(t){var e=[];for(var r in t)e.push({key:r,value:t[r]});return e},Object.defineProperty(t,"__esModule",{value:!0})}))},{}],109:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";function e(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function r(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function n(){}var i="\\s*([+-]?\\d+)\\s*",a="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,l=new RegExp("^rgb\\("+[i,i,i]+"\\)$"),c=new RegExp("^rgb\\("+[o,o,o]+"\\)$"),u=new RegExp("^rgba\\("+[i,i,i,a]+"\\)$"),f=new RegExp("^rgba\\("+[o,o,o,a]+"\\)$"),h=new RegExp("^hsl\\("+[a,o,o]+"\\)$"),p=new RegExp("^hsla\\("+[a,o,o,a]+"\\)$"),d={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function v(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=s.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?y(e):3===r?new w(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=l.exec(t))?new w(e[1],e[2],e[3],1):(e=c.exec(t))?new w(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=u.exec(t))?x(e[1],e[2],e[3],e[4]):(e=f.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=h.exec(t))?M(e[1],e[2]/100,e[3]/100,1):(e=p.exec(t))?M(e[1],e[2]/100,e[3]/100,e[4]):d.hasOwnProperty(t)?y(d[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function y(t){return new w(t>>16&255,t>>8&255,255&t,1)}function x(t,e,r,n){return n<=0&&(t=e=r=NaN),new w(t,e,r,n)}function b(t){return t instanceof n||(t=v(t)),t?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function _(t,e,r,n){return 1===arguments.length?b(t):new w(t,e,r,null==n?1:n)}function w(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function T(){return"#"+A(this.r)+A(this.g)+A(this.b)}function k(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function A(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function M(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new L(t,e,r,n)}function S(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof n||(t=v(t)),!t)return new L;if(t instanceof L)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,a=Math.min(e,r,i),o=Math.max(e,r,i),s=NaN,l=o-a,c=(o+a)/2;return l?(s=e===o?(r-i)/l+6*(r<i):r===o?(i-e)/l+2:(e-r)/l+4,l/=c<.5?o+a:2-o-a,s*=60):l=c>0&&c<1?0:s,new L(s,l,c,t.opacity)}function E(t,e,r,n){return 1===arguments.length?S(t):new L(t,e,r,null==n?1:n)}function L(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function C(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}e(n,v,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return S(this).formatHsl()},formatRgb:m,toString:m}),e(w,_,r(n,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:T,formatHex:T,formatRgb:k,toString:k})),e(L,E,r(n,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new w(C(t>=240?t-240:t+120,i,n),C(t,i,n),C(t<120?t+240:t-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var P=Math.PI/180,I=180/Math.PI,O=6/29,z=3*O*O;function D(t){if(t instanceof F)return new F(t.l,t.a,t.b,t.opacity);if(t instanceof q)return G(t);t instanceof w||(t=b(t));var e,r,n=U(t.r),i=U(t.g),a=U(t.b),o=B((.2225045*n+.7168786*i+.0606169*a)/1);return n===i&&i===a?e=r=o:(e=B((.4360747*n+.3850649*i+.1430804*a)/.96422),r=B((.0139322*n+.0971045*i+.7141733*a)/.82521)),new F(116*o-16,500*(e-o),200*(o-r),t.opacity)}function R(t,e,r,n){return 1===arguments.length?D(t):new F(t,e,r,null==n?1:n)}function F(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function B(t){return t>.008856451679035631?Math.pow(t,1/3):t/z+4/29}function N(t){return t>O?t*t*t:z*(t-4/29)}function j(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function U(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function V(t){if(t instanceof q)return new q(t.h,t.c,t.l,t.opacity);if(t instanceof F||(t=D(t)),0===t.a&&0===t.b)return new q(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*I;return new q(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function H(t,e,r,n){return 1===arguments.length?V(t):new q(t,e,r,null==n?1:n)}function q(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function G(t){if(isNaN(t.h))return new F(t.l,0,0,t.opacity);var e=t.h*P;return new F(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}e(F,R,r(n,{brighter:function(t){return new F(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new F(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return new w(j(3.1338561*(e=.96422*N(e))-1.6168667*(t=1*N(t))-.4906146*(r=.82521*N(r))),j(-.9787684*e+1.9161415*t+.033454*r),j(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),e(q,H,r(n,{brighter:function(t){return new q(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new q(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return G(this).rgb()}}));var Y=-.14861,W=1.78277,X=-.29227,Z=-.90649,J=1.97294,K=J*Z,Q=J*W,$=W*X-Z*Y;function tt(t){if(t instanceof rt)return new rt(t.h,t.s,t.l,t.opacity);t instanceof w||(t=b(t));var e=t.r/255,r=t.g/255,n=t.b/255,i=($*n+K*e-Q*r)/($+K-Q),a=n-i,o=(J*(r-i)-X*a)/Z,s=Math.sqrt(o*o+a*a)/(J*i*(1-i)),l=s?Math.atan2(o,a)*I-120:NaN;return new rt(l<0?l+360:l,s,i,t.opacity)}function et(t,e,r,n){return 1===arguments.length?tt(t):new rt(t,e,r,null==n?1:n)}function rt(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}e(rt,et,r(n,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new rt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new rt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*P,e=+this.l,r=isNaN(this.s)?0:this.s*e*(1-e),n=Math.cos(t),i=Math.sin(t);return new w(255*(e+r*(Y*n+W*i)),255*(e+r*(X*n+Z*i)),255*(e+r*(J*n)),this.opacity)}})),t.color=v,t.cubehelix=et,t.gray=function(t,e){return new F(t,0,0,null==e?1:e)},t.hcl=H,t.hsl=E,t.lab=R,t.lch=function(t,e,r,n){return 1===arguments.length?V(t):new q(r,e,t,null==n?1:n)},t.rgb=_,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],110:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";var e={value:function(){}};function r(){for(var t,e=0,r=arguments.length,i={};e<r;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new n(i)}function n(t){this._=t}function i(t,e){return t.trim().split(/^|\s+/).map((function(t){var r="",n=t.indexOf(".");if(n>=0&&(r=t.slice(n+1),t=t.slice(0,n)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:r}}))}function a(t,e){for(var r,n=0,i=t.length;n<i;++n)if((r=t[n]).name===e)return r.value}function o(t,r,n){for(var i=0,a=t.length;i<a;++i)if(t[i].name===r){t[i]=e,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:r,value:n}),t}n.prototype=r.prototype={constructor:n,on:function(t,e){var r,n=this._,s=i(t+"",n),l=-1,c=s.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++l<c;)if(r=(t=s[l]).type)n[r]=o(n[r],t.name,e);else if(null==e)for(r in n)n[r]=o(n[r],t.name,null);return this}for(;++l<c;)if((r=(t=s[l]).type)&&(r=a(n[r],t.name)))return r},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new n(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,i=new Array(r),a=0;a<r;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,r=(n=this._[t]).length;a<r;++a)n[a].value.apply(e,i)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],i=0,a=n.length;i<a;++i)n[i].value.apply(e,r)}},t.dispatch=r,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],111:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-quadtree"),t("d3-collection"),t("d3-dispatch"),t("d3-timer")):i(n.d3=n.d3||{},n.d3,n.d3,n.d3,n.d3)}(this,(function(t,e,r,n,i){"use strict";function a(t){return function(){return t}}function o(){return 1e-6*(Math.random()-.5)}function s(t){return t.x+t.vx}function l(t){return t.y+t.vy}function c(t){return t.index}function u(t,e){var r=t.get(e);if(!r)throw new Error("missing: "+e);return r}function f(t){return t.x}function h(t){return t.y}var p=Math.PI*(3-Math.sqrt(5));t.forceCenter=function(t,e){var r;function n(){var n,i,a=r.length,o=0,s=0;for(n=0;n<a;++n)o+=(i=r[n]).x,s+=i.y;for(o=o/a-t,s=s/a-e,n=0;n<a;++n)(i=r[n]).x-=o,i.y-=s}return null==t&&(t=0),null==e&&(e=0),n.initialize=function(t){r=t},n.x=function(e){return arguments.length?(t=+e,n):t},n.y=function(t){return arguments.length?(e=+t,n):e},n},t.forceCollide=function(t){var r,n,i=1,c=1;function u(){for(var t,a,u,h,p,d,g,m=r.length,v=0;v<c;++v)for(a=e.quadtree(r,s,l).visitAfter(f),t=0;t<m;++t)u=r[t],d=n[u.index],g=d*d,h=u.x+u.vx,p=u.y+u.vy,a.visit(y);function y(t,e,r,n,a){var s=t.data,l=t.r,c=d+l;if(!s)return e>h+c||n<h-c||r>p+c||a<p-c;if(s.index>u.index){var f=h-s.x-s.vx,m=p-s.y-s.vy,v=f*f+m*m;v<c*c&&(0===f&&(v+=(f=o())*f),0===m&&(v+=(m=o())*m),v=(c-(v=Math.sqrt(v)))/v*i,u.vx+=(f*=v)*(c=(l*=l)/(g+l)),u.vy+=(m*=v)*c,s.vx-=f*(c=1-c),s.vy-=m*c)}}}function f(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function h(){if(r){var e,i,a=r.length;for(n=new Array(a),e=0;e<a;++e)i=r[e],n[i.index]=+t(i,e,r)}}return"function"!=typeof t&&(t=a(null==t?1:+t)),u.initialize=function(t){r=t,h()},u.iterations=function(t){return arguments.length?(c=+t,u):c},u.strength=function(t){return arguments.length?(i=+t,u):i},u.radius=function(e){return arguments.length?(t="function"==typeof e?e:a(+e),h(),u):t},u},t.forceLink=function(t){var e,n,i,s,l,f=c,h=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},p=a(30),d=1;function g(r){for(var i=0,a=t.length;i<d;++i)for(var s,c,u,f,h,p,g,m=0;m<a;++m)c=(s=t[m]).source,f=(u=s.target).x+u.vx-c.x-c.vx||o(),h=u.y+u.vy-c.y-c.vy||o(),f*=p=((p=Math.sqrt(f*f+h*h))-n[m])/p*r*e[m],h*=p,u.vx-=f*(g=l[m]),u.vy-=h*g,c.vx+=f*(g=1-g),c.vy+=h*g}function m(){if(i){var a,o,c=i.length,h=t.length,p=r.map(i,f);for(a=0,s=new Array(c);a<h;++a)(o=t[a]).index=a,"object"!=typeof o.source&&(o.source=u(p,o.source)),"object"!=typeof o.target&&(o.target=u(p,o.target)),s[o.source.index]=(s[o.source.index]||0)+1,s[o.target.index]=(s[o.target.index]||0)+1;for(a=0,l=new Array(h);a<h;++a)o=t[a],l[a]=s[o.source.index]/(s[o.source.index]+s[o.target.index]);e=new Array(h),v(),n=new Array(h),y()}}function v(){if(i)for(var r=0,n=t.length;r<n;++r)e[r]=+h(t[r],r,t)}function y(){if(i)for(var e=0,r=t.length;e<r;++e)n[e]=+p(t[e],e,t)}return null==t&&(t=[]),g.initialize=function(t){i=t,m()},g.links=function(e){return arguments.length?(t=e,m(),g):t},g.id=function(t){return arguments.length?(f=t,g):f},g.iterations=function(t){return arguments.length?(d=+t,g):d},g.strength=function(t){return arguments.length?(h="function"==typeof t?t:a(+t),v(),g):h},g.distance=function(t){return arguments.length?(p="function"==typeof t?t:a(+t),y(),g):p},g},t.forceManyBody=function(){var t,r,n,i,s=a(-30),l=1,c=1/0,u=.81;function p(i){var a,o=t.length,s=e.quadtree(t,f,h).visitAfter(g);for(n=i,a=0;a<o;++a)r=t[a],s.visit(m)}function d(){if(t){var e,r,n=t.length;for(i=new Array(n),e=0;e<n;++e)r=t[e],i[r.index]=+s(r,e,t)}}function g(t){var e,r,n,a,o,s=0,l=0;if(t.length){for(n=a=o=0;o<4;++o)(e=t[o])&&(r=Math.abs(e.value))&&(s+=e.value,l+=r,n+=r*e.x,a+=r*e.y);t.x=n/l,t.y=a/l}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function m(t,e,a,s){if(!t.value)return!0;var f=t.x-r.x,h=t.y-r.y,p=s-e,d=f*f+h*h;if(p*p/u<d)return d<c&&(0===f&&(d+=(f=o())*f),0===h&&(d+=(h=o())*h),d<l&&(d=Math.sqrt(l*d)),r.vx+=f*t.value*n/d,r.vy+=h*t.value*n/d),!0;if(!(t.length||d>=c)){(t.data!==r||t.next)&&(0===f&&(d+=(f=o())*f),0===h&&(d+=(h=o())*h),d<l&&(d=Math.sqrt(l*d)));do{t.data!==r&&(p=i[t.data.index]*n/d,r.vx+=f*p,r.vy+=h*p)}while(t=t.next)}}return p.initialize=function(e){t=e,d()},p.strength=function(t){return arguments.length?(s="function"==typeof t?t:a(+t),d(),p):s},p.distanceMin=function(t){return arguments.length?(l=t*t,p):Math.sqrt(l)},p.distanceMax=function(t){return arguments.length?(c=t*t,p):Math.sqrt(c)},p.theta=function(t){return arguments.length?(u=t*t,p):Math.sqrt(u)},p},t.forceRadial=function(t,e,r){var n,i,o,s=a(.1);function l(t){for(var a=0,s=n.length;a<s;++a){var l=n[a],c=l.x-e||1e-6,u=l.y-r||1e-6,f=Math.sqrt(c*c+u*u),h=(o[a]-f)*i[a]*t/f;l.vx+=c*h,l.vy+=u*h}}function c(){if(n){var e,r=n.length;for(i=new Array(r),o=new Array(r),e=0;e<r;++e)o[e]=+t(n[e],e,n),i[e]=isNaN(o[e])?0:+s(n[e],e,n)}}return"function"!=typeof t&&(t=a(+t)),null==e&&(e=0),null==r&&(r=0),l.initialize=function(t){n=t,c()},l.strength=function(t){return arguments.length?(s="function"==typeof t?t:a(+t),c(),l):s},l.radius=function(e){return arguments.length?(t="function"==typeof e?e:a(+e),c(),l):t},l.x=function(t){return arguments.length?(e=+t,l):e},l.y=function(t){return arguments.length?(r=+t,l):r},l},t.forceSimulation=function(t){var e,a=1,o=.001,s=1-Math.pow(o,1/300),l=0,c=.6,u=r.map(),f=i.timer(d),h=n.dispatch("tick","end");function d(){g(),h.call("tick",e),a<o&&(f.stop(),h.call("end",e))}function g(r){var n,i,o=t.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(a+=(l-a)*s,u.each((function(t){t(a)})),n=0;n<o;++n)null==(i=t[n]).fx?i.x+=i.vx*=c:(i.x=i.fx,i.vx=0),null==i.fy?i.y+=i.vy*=c:(i.y=i.fy,i.vy=0);return e}function m(){for(var e,r=0,n=t.length;r<n;++r){if((e=t[r]).index=r,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(r),a=r*p;e.x=i*Math.cos(a),e.y=i*Math.sin(a)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function v(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),m(),e={tick:g,restart:function(){return f.restart(d),e},stop:function(){return f.stop(),e},nodes:function(r){return arguments.length?(t=r,m(),u.each(v),e):t},alpha:function(t){return arguments.length?(a=+t,e):a},alphaMin:function(t){return arguments.length?(o=+t,e):o},alphaDecay:function(t){return arguments.length?(s=+t,e):+s},alphaTarget:function(t){return arguments.length?(l=+t,e):l},velocityDecay:function(t){return arguments.length?(c=1-t,e):1-c},force:function(t,r){return arguments.length>1?(null==r?u.remove(t):u.set(t,v(r)),e):u.get(t)},find:function(e,r,n){var i,a,o,s,l,c=0,u=t.length;for(null==n?n=1/0:n*=n,c=0;c<u;++c)(o=(i=e-(s=t[c]).x)*i+(a=r-s.y)*a)<n&&(l=s,n=o);return l},on:function(t,r){return arguments.length>1?(h.on(t,r),e):h.on(t)}}},t.forceX=function(t){var e,r,n,i=a(.1);function o(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vx+=(n[a]-i.x)*r[a]*t}function s(){if(e){var a,o=e.length;for(r=new Array(o),n=new Array(o),a=0;a<o;++a)r[a]=isNaN(n[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=a(null==t?0:+t)),o.initialize=function(t){e=t,s()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:a(+t),s(),o):i},o.x=function(e){return arguments.length?(t="function"==typeof e?e:a(+e),s(),o):t},o},t.forceY=function(t){var e,r,n,i=a(.1);function o(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vy+=(n[a]-i.y)*r[a]*t}function s(){if(e){var a,o=e.length;for(r=new Array(o),n=new Array(o),a=0;a<o;++a)r[a]=isNaN(n[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=a(null==t?0:+t)),o.initialize=function(t){e=t,s()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:a(+t),s(),o):i},o.y=function(e){return arguments.length?(t="function"==typeof e?e:a(+e),s(),o):t},o},Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-collection":108,"d3-dispatch":110,"d3-quadtree":118,"d3-timer":123}],112:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function e(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function r(t){return(t=e(Math.abs(t)))?t[1]:NaN}var n,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a(t){if(!(e=i.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function s(t,r){var n=e(t,r);if(!n)return t+"";var i=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+new Array(a-i.length+2).join("0")}a.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,r){var i=e(t,r);if(!i)return t+"";var a=i[0],o=i[1],s=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=a.length;return s===l?a:s>l?a+new Array(s-l+1).join("0"):s>0?a.slice(0,s)+"."+a.slice(s):"0."+new Array(1-s).join("0")+e(t,Math.max(0,r+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var u,f=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function p(t){var e,i,o=void 0===t.grouping||void 0===t.thousands?c:(e=f.call(t.grouping,Number),i=t.thousands+"",function(t,r){for(var n=t.length,a=[],o=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(t.substring(n-=s,n+s)),!((l+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(i)}),s=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",p=void 0===t.decimal?".":t.decimal+"",d=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(f.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",m=void 0===t.minus?"-":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=a(t)).fill,r=t.align,i=t.sign,c=t.symbol,f=t.zero,y=t.width,x=t.comma,b=t.precision,_=t.trim,w=t.type;"n"===w?(x=!0,w="g"):l[w]||(void 0===b&&(b=12),_=!0,w="g"),(f||"0"===e&&"="===r)&&(f=!0,e="0",r="=");var T="$"===c?s:"#"===c&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",k="$"===c?u:/[%p]/.test(w)?g:"",A=l[w],M=/[defgprs%]/.test(w);function S(t){var a,s,l,c=T,u=k;if("c"===w)u=A(t)+u,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:A(Math.abs(t),b),_&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),g&&0==+t&&"+"!==i&&(g=!1),c=(g?"("===i?i:m:"-"===i||"("===i?"":i)+c,u=("s"===w?h[8+n/3]:"")+u+(g&&"("===i?")":""),M)for(a=-1,s=t.length;++a<s;)if(48>(l=t.charCodeAt(a))||l>57){u=(46===l?p+t.slice(a+1):t.slice(a))+u,t=t.slice(0,a);break}}x&&!f&&(t=o(t,1/0));var S=c.length+t.length+u.length,E=S<y?new Array(y-S+1).join(e):"";switch(x&&f&&(t=o(E+t,E.length?y-u.length:1/0),E=""),r){case"<":t=c+t+u+E;break;case"=":t=c+E+t+u;break;case"^":t=E.slice(0,S=E.length>>1)+c+t+u+E.slice(S);break;default:t=E+c+t+u}return d(t)}return b=void 0===b?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),S.toString=function(){return t+""},S}return{format:y,formatPrefix:function(t,e){var n=y(((t=a(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(r(e)/3))),o=Math.pow(10,-i),s=h[8+i/3];return function(t){return n(o*t)+s}}}}function d(e){return u=p(e),t.format=u.format,t.formatPrefix=u.formatPrefix,u}d({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),t.FormatSpecifier=o,t.formatDefaultLocale=d,t.formatLocale=p,t.formatSpecifier=a,t.precisionFixed=function(t){return Math.max(0,-r(Math.abs(t)))},t.precisionPrefix=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r(e)/3)))-r(Math.abs(t)))},t.precisionRound=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,r(e)-r(t))+1},Object.defineProperty(t,"__esModule",{value:!0})}))},{}],113:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-geo"),t("d3-array")):i(n.d3=n.d3||{},n.d3,n.d3)}(this,(function(t,e,r){"use strict";var n=Math.abs,i=Math.atan,a=Math.atan2,o=Math.cos,s=Math.exp,l=Math.floor,c=Math.log,u=Math.max,f=Math.min,h=Math.pow,p=Math.round,d=Math.sign||function(t){return t>0?1:t<0?-1:0},g=Math.sin,m=Math.tan,v=1e-6,y=Math.PI,x=y/2,b=y/4,_=Math.SQRT1_2,w=L(2),T=L(y),k=2*y,A=180/y,M=y/180;function S(t){return t>1?x:t<-1?-x:Math.asin(t)}function E(t){return t>1?0:t<-1?y:Math.acos(t)}function L(t){return t>0?Math.sqrt(t):0}function C(t){return(s(t)-s(-t))/2}function P(t){return(s(t)+s(-t))/2}function I(t){var e=m(t/2),r=2*c(o(t/2))/(e*e);function i(t,e){var n=o(t),i=o(e),a=g(e),s=i*n,l=-((1-s?c((1+s)/2)/(1-s):-.5)+r/(1+s));return[l*i*g(t),l*a]}return i.invert=function(e,i){var s,l=L(e*e+i*i),u=-t/2,f=50;if(!l)return[0,0];do{var h=u/2,p=o(h),d=g(h),m=d/p,y=-c(n(p));u-=s=(2/m*y-r*m-l)/(-y/(d*d)+1-r/(2*p*p))*(p<0?.7:1)}while(n(s)>v&&--f>0);var x=g(u);return[a(e*x,l*o(u)),S(i*x/l)]},i}function O(t,e){var r=o(e),n=function(t){return t?t/Math.sin(t):1}(E(r*o(t/=2)));return[2*r*g(t)*n,g(e)*n]}function z(t){var e=g(t),r=o(t),i=t>=0?1:-1,s=m(i*t),l=(1+e-r)/2;function c(t,n){var c=o(n),u=o(t/=2);return[(1+c)*g(t),(i*n>-a(u,s)-.001?0:10*-i)+l+g(n)*r-(1+c)*e*u]}return c.invert=function(t,c){var u=0,f=0,h=50;do{var p=o(u),d=g(u),m=o(f),y=g(f),x=1+m,b=x*d-t,_=l+y*r-x*e*p-c,w=x*p/2,T=-d*y,k=e*x*d/2,A=r*m+e*p*y,M=T*k-A*w,S=(_*T-b*A)/M/2,E=(b*k-_*w)/M;n(E)>2&&(E/=2),u-=S,f-=E}while((n(S)>v||n(E)>v)&&--h>0);return i*f>-a(o(u),s)-.001?[2*u,f]:null},c}function D(t,e){var r=m(e/2),n=L(1-r*r),i=1+n*o(t/=2),a=g(t)*n/i,s=r/i,l=a*a,c=s*s;return[4/3*a*(3+l-3*c),4/3*s*(3+3*l-c)]}O.invert=function(t,e){if(!(t*t+4*e*e>y*y+v)){var r=t,i=e,a=25;do{var s,l=g(r),c=g(r/2),u=o(r/2),f=g(i),h=o(i),p=g(2*i),d=f*f,m=h*h,x=c*c,b=1-m*u*u,_=b?E(h*u)*L(s=1/b):s=0,w=2*_*h*c-t,T=_*f-e,k=s*(m*x+_*h*u*d),A=s*(.5*l*p-2*_*f*c),M=.25*s*(p*c-_*f*m*l),S=s*(d*u+_*x*h),C=A*M-S*k;if(!C)break;var P=(T*A-w*S)/C,I=(w*M-T*k)/C;r-=P,i-=I}while((n(P)>v||n(I)>v)&&--a>0);return[r,i]}},D.invert=function(t,e){if(e*=3/8,!(t*=3/8)&&n(e)>1)return null;var r=1+t*t+e*e,i=L((r-L(r*r-4*e*e))/2),s=S(i)/3,l=i?function(t){return c(t+L(t*t-1))}(n(e/i))/3:function(t){return c(t+L(t*t+1))}(n(t))/3,u=o(s),f=P(l),h=f*f-u*u;return[2*d(t)*a(C(l)*u,.25-h),2*d(e)*a(f*g(s),.25+h)]};var R=L(8),F=c(1+w);function B(t,e){var r=n(e);return r<b?[t,c(m(b+e/2))]:[t*o(r)*(2*w-1/g(r)),d(e)*(2*w*(r-b)-c(m(r/2)))]}function N(t){var r=2*y/t;function s(t,i){var s=e.geoAzimuthalEquidistantRaw(t,i);if(n(t)>x){var l=a(s[1],s[0]),c=L(s[0]*s[0]+s[1]*s[1]),u=r*p((l-x)/r)+x,f=a(g(l-=u),2-o(l));l=u+S(y/c*g(f))-f,s[0]=c*o(l),s[1]=c*g(l)}return s}return s.invert=function(t,n){var s=L(t*t+n*n);if(s>x){var l=a(n,t),c=r*p((l-x)/r)+x,u=l>c?-1:1,f=s*o(c-l),h=1/m(u*E((f-y)/L(y*(y-2*f)+s*s)));l=c+2*i((h+u*L(h*h-3))/3),t=s*o(l),n=s*g(l)}return e.geoAzimuthalEquidistantRaw.invert(t,n)},s}function j(t,r){if(arguments.length<2&&(r=t),1===r)return e.geoAzimuthalEqualAreaRaw;if(r===1/0)return U;function n(n,i){var a=e.geoAzimuthalEqualAreaRaw(n/r,i);return a[0]*=t,a}return n.invert=function(n,i){var a=e.geoAzimuthalEqualAreaRaw.invert(n/t,i);return a[0]*=r,a},n}function U(t,e){return[t*o(e)/o(e/=2),2*g(e)]}function V(t,e,r){var i,a,o,s=100;r=void 0===r?0:+r,e=+e;do{(a=t(r))===(o=t(r+v))&&(o=a+v),r-=i=-1*v*(a-e)/(a-o)}while(s-- >0&&n(i)>v);return s<0?NaN:r}function H(t,e,r){return void 0===e&&(e=40),void 0===r&&(r=1e-12),function(i,a,o,s){var l,c,u;o=void 0===o?0:+o,s=void 0===s?0:+s;for(var f=0;f<e;f++){var h=t(o,s),p=h[0]-i,d=h[1]-a;if(n(p)<r&&n(d)<r)break;var g=p*p+d*d;if(g>l)o-=c/=2,s-=u/=2;else{l=g;var m=(o>0?-1:1)*r,v=(s>0?-1:1)*r,y=t(o+m,s),x=t(o,s+v),b=(y[0]-h[0])/m,_=(y[1]-h[1])/m,w=(x[0]-h[0])/v,T=(x[1]-h[1])/v,k=T*b-_*w,A=(n(k)<.5?.5:1)/k;if(o+=c=(d*w-p*T)*A,s+=u=(p*_-d*b)*A,n(c)<r&&n(u)<r)break}}return[o,s]}}function q(){var t=j(1.68,2);function e(e,r){if(e+r<-1.4){var n=(e-r+1.6)*(e+r+1.4)/8;e+=n,r-=.8*n*g(r+y/2)}var i=t(e,r),a=(1-o(e*r))/12;return i[1]<0&&(i[0]*=1+a),i[1]>0&&(i[1]*=1+a/1.5*i[0]*i[0]),i}return e.invert=H(e),e}function G(t,e){var r,i=t*g(e),a=30;do{e-=r=(e+g(e)-i)/(1+o(e))}while(n(r)>v&&--a>0);return e/2}function Y(t,e,r){function n(n,i){return[t*n*o(i=G(r,i)),e*g(i)]}return n.invert=function(n,i){return i=S(i/e),[n/(t*o(i)),S((2*i+g(2*i))/r)]},n}B.invert=function(t,e){if((a=n(e))<F)return[t,2*i(s(e))-x];var r,a,l=b,u=25;do{var f=o(l/2),h=m(l/2);l-=r=(R*(l-b)-c(h)-a)/(R-f*f/(2*h))}while(n(r)>1e-12&&--u>0);return[t/(o(l)*(R-1/g(l))),d(e)*l]},U.invert=function(t,e){var r=2*S(e/2);return[t*o(r/2)/o(r),r]};var W=Y(w/x,w,y);var X=2.00276,Z=1.11072;function J(t,e){var r=G(y,e);return[X*t/(1/o(e)+Z/o(r)),(e+w*g(r))/X]}function K(t){var r=0,n=e.geoProjectionMutator(t),i=n(r);return i.parallel=function(t){return arguments.length?n(r=t*M):r*A},i}function Q(t,e){return[t*o(e),e]}function $(t){if(!t)return Q;var e=1/m(t);function r(r,n){var i=e+t-n,a=i?r*o(n)/i:i;return[i*g(a),e-i*o(a)]}return r.invert=function(r,n){var i=L(r*r+(n=e-n)*n),s=e+t-i;return[i/o(s)*a(r,n),s]},r}function tt(t){function e(e,r){var n=x-r,i=n?e*t*g(n)/n:n;return[n*g(i)/t,x-n*o(i)]}return e.invert=function(e,r){var n=e*t,i=x-r,o=L(n*n+i*i),s=a(n,i);return[(o?o/g(o):1)*s/t,x-o]},e}J.invert=function(t,e){var r,i,a=X*e,s=e<0?-b:b,l=25;do{i=a-w*g(s),s-=r=(g(2*s)+2*s-y*g(i))/(2*o(2*s)+2+y*o(i)*w*o(s))}while(n(r)>v&&--l>0);return i=a-w*g(s),[t*(1/o(i)+Z/o(s))/X,i]},Q.invert=function(t,e){return[t/o(e),e]};var et=Y(1,4/y,y);function rt(t,e,r,i,s,l){var c,u=o(l);if(n(t)>1||n(l)>1)c=E(r*s+e*i*u);else{var f=g(t/2),h=g(l/2);c=2*S(L(f*f+e*i*h*h))}return n(c)>v?[c,a(i*g(l),e*s-r*i*u)]:[0,0]}function nt(t,e,r){return E((t*t+e*e-r*r)/(2*t*e))}function it(t){return t-2*y*l((t+y)/(2*y))}function at(t,e,r){for(var n,i=[[t[0],t[1],g(t[1]),o(t[1])],[e[0],e[1],g(e[1]),o(e[1])],[r[0],r[1],g(r[1]),o(r[1])]],a=i[2],s=0;s<3;++s,a=n)n=i[s],a.v=rt(n[1]-a[1],a[3],a[2],n[3],n[2],n[0]-a[0]),a.point=[0,0];var l=nt(i[0].v[0],i[2].v[0],i[1].v[0]),c=nt(i[0].v[0],i[1].v[0],i[2].v[0]),u=y-l;i[2].point[1]=0,i[0].point[0]=-(i[1].point[0]=i[0].v[0]/2);var f=[i[2].point[0]=i[0].point[0]+i[2].v[0]*o(l),2*(i[0].point[1]=i[1].point[1]=i[2].v[0]*g(l))];return function(t,e){var r,n=g(e),a=o(e),s=new Array(3);for(r=0;r<3;++r){var l=i[r];if(s[r]=rt(e-l[1],l[3],l[2],a,n,t-l[0]),!s[r][0])return l.point;s[r][1]=it(s[r][1]-l.v[1])}var h=f.slice();for(r=0;r<3;++r){var p=2==r?0:r+1,d=nt(i[r].v[0],s[r][0],s[p][0]);s[r][1]<0&&(d=-d),r?1==r?(d=c-d,h[0]-=s[r][0]*o(d),h[1]-=s[r][0]*g(d)):(d=u-d,h[0]+=s[r][0]*o(d),h[1]+=s[r][0]*g(d)):(h[0]+=s[r][0]*o(d),h[1]-=s[r][0]*g(d))}return h[0]/=3,h[1]/=3,h}}function ot(t){return t[0]*=M,t[1]*=M,t}function st(t,r,n){var i=e.geoCentroid({type:"MultiPoint",coordinates:[t,r,n]}),a=[-i[0],-i[1]],o=e.geoRotation(a),s=at(ot(o(t)),ot(o(r)),ot(o(n)));s.invert=H(s);var l=e.geoProjection(s).rotate(a),c=l.center;return delete l.rotate,l.center=function(t){return arguments.length?c(o(t)):o.invert(c())},l.clipAngle(90)}function lt(t,e){var r=L(1-g(e));return[2/T*t*r,T*(1-r)]}function ct(t){var e=m(t);function r(t,r){return[t,(t?t/g(t):1)*(g(r)*o(t)-e*o(r))]}return r.invert=e?function(t,r){t&&(r*=g(t)/t);var n=o(t);return[t,2*a(L(n*n+e*e-r*r)-n,e-r)]}:function(t,e){return[t,S(t?e*m(t)/t:e)]},r}lt.invert=function(t,e){var r=(r=e/T-1)*r;return[r>0?t*L(y/r)/2:0,S(1-r)]};var ut=L(3);function ft(t,e){return[ut*t*(2*o(2*e/3)-1)/T,ut*T*g(e/3)]}function ht(t){var e=o(t);function r(t,r){return[t*e,g(r)/e]}return r.invert=function(t,r){return[t/e,S(r*e)]},r}function pt(t){var e=o(t);function r(t,r){return[t*e,(1+e)*m(r/2)]}return r.invert=function(t,r){return[t/e,2*i(r/(1+e))]},r}function dt(t,e){var r=L(8/(3*y));return[r*t*(1-n(e)/y),r*e]}function gt(t,e){var r=L(4-3*g(n(e)));return[2/L(6*y)*t*r,d(e)*L(2*y/3)*(2-r)]}function mt(t,e){var r=L(y*(4+y));return[2/r*t*(1+L(1-4*e*e/(y*y))),4/r*e]}function vt(t,e){var r=(2+x)*g(e);e/=2;for(var i=0,a=1/0;i<10&&n(a)>v;i++){var s=o(e);e-=a=(e+g(e)*(s+2)-r)/(2*s*(1+s))}return[2/L(y*(4+y))*t*(1+o(e)),2*L(y/(4+y))*g(e)]}function yt(t,e){return[t*(1+o(e))/L(2+y),2*e/L(2+y)]}function xt(t,e){for(var r=(1+x)*g(e),i=0,a=1/0;i<10&&n(a)>v;i++)e-=a=(e+g(e)-r)/(1+o(e));return r=L(2+y),[t*(1+o(e))/r,2*e/r]}ft.invert=function(t,e){var r=3*S(e/(ut*T));return[T*t/(ut*(2*o(2*r/3)-1)),r]},dt.invert=function(t,e){var r=L(8/(3*y)),i=e/r;return[t/(r*(1-n(i)/y)),i]},gt.invert=function(t,e){var r=2-n(e)/L(2*y/3);return[t*L(6*y)/(2*r),d(e)*S((4-r*r)/3)]},mt.invert=function(t,e){var r=L(y*(4+y))/2;return[t*r/(1+L(1-e*e*(4+y)/(4*y))),e*r/2]},vt.invert=function(t,e){var r=e*L((4+y)/y)/2,n=S(r),i=o(n);return[t/(2/L(y*(4+y))*(1+i)),S((n+r*(i+2))/(2+x))]},yt.invert=function(t,e){var r=L(2+y),n=e*r/2;return[r*t/(1+o(n)),n]},xt.invert=function(t,e){var r=1+x,n=L(r/2);return[2*t*n/(1+o(e*=n)),S((e+g(e))/r)]};var bt=3+2*w;function _t(t,e){var r=g(t/=2),n=o(t),a=L(o(e)),s=o(e/=2),l=g(e)/(s+w*n*a),u=L(2/(1+l*l)),f=L((w*s+(n+r)*a)/(w*s+(n-r)*a));return[bt*(u*(f-1/f)-2*c(f)),bt*(u*l*(f+1/f)-2*i(l))]}_t.invert=function(t,e){if(!(r=D.invert(t/1.2,1.065*e)))return null;var r,a=r[0],s=r[1],l=20;t/=bt,e/=bt;do{var h=a/2,p=s/2,d=g(h),m=o(h),y=g(p),b=o(p),T=o(s),k=L(T),A=y/(b+w*m*k),M=A*A,S=L(2/(1+M)),E=(w*b+(m+d)*k)/(w*b+(m-d)*k),C=L(E),P=C-1/C,I=C+1/C,O=S*P-2*c(C)-t,z=S*A*I-2*i(A)-e,R=y&&_*k*d*M/y,F=(w*m*b+k)/(2*(b+w*m*k)*(b+w*m*k)*k),B=-.5*A*S*S*S,N=B*R,j=B*F,U=(U=2*b+w*k*(m-d))*U*C,V=(w*m*b*k+T)/U,H=-w*d*y/(k*U),q=P*N-2*V/C+S*(V+V/E),G=P*j-2*H/C+S*(H+H/E),Y=A*I*N-2*R/(1+M)+S*I*R+S*A*(V-V/E),W=A*I*j-2*F/(1+M)+S*I*F+S*A*(H-H/E),X=G*Y-W*q;if(!X)break;var Z=(z*G-O*W)/X,J=(O*Y-z*q)/X;a-=Z,s=u(-x,f(x,s-J))}while((n(Z)>v||n(J)>v)&&--l>0);return n(n(s)-x)<v?[0,s]:l&&[a,s]};var wt=o(35*M);function Tt(t,e){var r=m(e/2);return[t*wt*L(1-r*r),(1+wt)*r]}function kt(t,e){var r=e/2,n=o(r);return[2*t/T*o(e)*n*n,T*m(r)]}function At(t){var e=1-t,r=i(y,0)[0]-i(-y,0)[0],n=L(2*(i(0,x)[1]-i(0,-x)[1])/r);function i(r,n){var i=o(n),a=g(n);return[i/(e+t*i)*r,e*n+t*a]}function a(t,e){var r=i(t,e);return[r[0]*n,r[1]/n]}function s(t){return a(0,t)[1]}return a.invert=function(r,i){var a=V(s,i);return[r/n*(t+e/o(a)),a]},a}function Mt(t){return[t[0]/2,S(m(t[1]/2*M))*A]}function St(t){return[2*t[0],2*i(g(t[1]*M))*A]}function Et(t,r){var i=2*y/r,s=t*t;function l(r,l){var c=e.geoAzimuthalEquidistantRaw(r,l),u=c[0],f=c[1],h=u*u+f*f;if(h>s){var d=L(h),m=a(f,u),b=i*p(m/i),_=m-b,w=t*o(_),T=(t*g(_)-_*g(w))/(x-w),k=Lt(_,T),A=(y-t)/Ct(k,w,y);u=d;var M,S=50;do{u-=M=(t+Ct(k,w,u)*A-d)/(k(u)*A)}while(n(M)>v&&--S>0);f=_*g(u),u<x&&(f-=T*(u-x));var E=g(b),C=o(b);c[0]=u*C-f*E,c[1]=u*E+f*C}return c}return l.invert=function(r,l){var c=r*r+l*l;if(c>s){var u=L(c),f=a(l,r),h=i*p(f/i),d=f-h;r=u*o(d),l=u*g(d);for(var m=r-x,v=g(r),b=l/v,_=r<x?1/0:0,w=10;;){var T=t*g(b),k=t*o(b),A=g(k),M=x-k,S=(T-b*A)/M,E=Lt(b,S);if(n(_)<1e-12||!--w)break;b-=_=(b*v-S*m-l)/(v-2*m*(M*(k+b*T*o(k)-A)-T*(T-b*A))/(M*M))}r=(u=t+Ct(E,k,r)*(y-t)/Ct(E,k,y))*o(f=h+b),l=u*g(f)}return e.geoAzimuthalEquidistantRaw.invert(r,l)},l}function Lt(t,e){return function(r){var n=t*o(r);return r<x&&(n-=e),L(1+n*n)}}function Ct(t,e,r){for(var n=(r-e)/50,i=t(e)+t(r),a=1,o=e;a<50;++a)i+=2*t(o+=n);return.5*i*n}function Pt(t,e,r,i,a,s,l,c){function u(n,u){if(!u)return[t*n/y,0];var f=u*u,h=t+f*(e+f*(r+f*i)),p=u*(a-1+f*(s-c+f*l)),d=(h*h+p*p)/(2*p),m=n*S(h/d)/y;return[d*g(m),u*(1+f*c)+d*(1-o(m))]}return arguments.length<8&&(c=0),u.invert=function(u,f){var h,p,d=y*u/t,m=f,x=50;do{var b=m*m,_=t+b*(e+b*(r+b*i)),w=m*(a-1+b*(s-c+b*l)),T=_*_+w*w,k=2*w,A=T/k,M=A*A,E=S(_/A)/y,C=d*E,P=_*_,I=(2*e+b*(4*r+6*b*i))*m,O=a+b*(3*s+5*b*l),z=(2*(_*I+w*(O-1))*k-T*(2*(O-1)))/(k*k),D=o(C),R=g(C),F=A*D,B=A*R,N=d/y*(1/L(1-P/M))*(I*A-_*z)/M,j=B-u,U=m*(1+b*c)+A-F-f,V=z*R+F*N,H=F*E,q=1+z-(z*D-B*N),G=B*E,Y=V*G-q*H;if(!Y)break;d-=h=(U*V-j*q)/Y,m-=p=(j*G-U*H)/Y}while((n(h)>v||n(p)>v)&&--x>0);return[d,m]},u}Tt.invert=function(t,e){var r=e/(1+wt);return[t&&t/(wt*L(1-r*r)),2*i(r)]},kt.invert=function(t,e){var r=i(e/T),n=o(r),a=2*r;return[t*T/2/(o(a)*n*n),a]};var It=Pt(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);var Ot=Pt(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);var zt=Pt(5/6*y,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Dt(t,e){var r=t*t,n=e*e;return[t*(1-.162388*n)*(.87-952426e-9*r*r),e*(1+n/12)]}Dt.invert=function(t,e){var r,i=t,a=e,o=50;do{var s=a*a;a-=r=(a*(1+s/12)-e)/(1+s/4)}while(n(r)>v&&--o>0);o=50,t/=1-.162388*s;do{var l=(l=i*i)*l;i-=r=(i*(.87-952426e-9*l)-t)/(.87-.00476213*l)}while(n(r)>v&&--o>0);return[i,a]};var Rt=Pt(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Ft(t){var e=t(x,0)[0]-t(-x,0)[0];function r(r,n){var i=r>0?-.5:.5,a=t(r+i*y,n);return a[0]-=i*e,a}return t.invert&&(r.invert=function(r,n){var i=r>0?-.5:.5,a=t.invert(r+i*e,n),o=a[0]-i*y;return o<-y?o+=2*y:o>y&&(o-=2*y),a[0]=o,a}),r}function Bt(t,e){var r=d(t),i=d(e),s=o(e),l=o(t)*s,c=g(t)*s,u=g(i*e);t=n(a(c,u)),e=S(l),n(t-x)>v&&(t%=x);var f=function(t,e){if(e===x)return[0,0];var r,i,a=g(e),s=a*a,l=s*s,c=1+l,u=1+3*l,f=1-l,h=S(1/L(c)),p=f+s*c*h,d=(1-a)/p,m=L(d),b=d*c,_=L(b),w=m*f;if(0===t)return[0,-(w+s*_)];var T,k=o(e),A=1/k,M=2*a*k,E=(-p*k-(-3*s+h*u)*M*(1-a))/(p*p),C=-A*M,P=-A*(s*c*E+d*u*M),I=-2*A*(f*(.5*E/m)-2*s*m*M),O=4*t/y;if(t>.222*y||e<y/4&&t>.175*y){if(r=(w+s*L(b*(1+l)-w*w))/(1+l),t>y/4)return[r,r];var z=r,D=.5*r;r=.5*(D+z),i=50;do{var R=L(b-r*r),F=r*(I+C*R)+P*S(r/_)-O;if(!F)break;F<0?D=r:z=r,r=.5*(D+z)}while(n(z-D)>v&&--i>0)}else{r=v,i=25;do{var B=r*r,N=L(b-B),j=I+C*N,U=r*j+P*S(r/_)-O,V=j+(P-C*B)/N;r-=T=N?U/V:0}while(n(T)>v&&--i>0)}return[r,-w-s*L(b-r*r)]}(t>y/4?x-t:t,e);return t>y/4&&(u=f[0],f[0]=-f[1],f[1]=-u),f[0]*=r,f[1]*=-i,f}function Nt(t,e){var r,a,l,c,u,f;if(e<v)return[(c=g(t))-(r=e*(t-c*(a=o(t)))/4)*a,a+r*c,1-e*c*c/2,t-r];if(e>=1-v)return r=(1-e)/4,l=1/(a=P(t)),[(c=((f=s(2*(f=t)))-1)/(f+1))+r*((u=a*C(t))-t)/(a*a),l-r*c*l*(u-t),l+r*c*l*(u+t),2*i(s(t))-x+r*(u-t)/a];var h=[1,0,0,0,0,0,0,0,0],p=[L(e),0,0,0,0,0,0,0,0],d=0;for(a=L(1-e),u=1;n(p[d]/h[d])>v&&d<8;)r=h[d++],p[d]=(r-a)/2,h[d]=(r+a)/2,a=L(r*a),u*=2;l=u*h[d]*t;do{l=(S(c=p[d]*g(a=l)/h[d])+l)/2}while(--d);return[g(l),c=o(l),c/o(l-a),l]}function jt(t,e){if(!e)return t;if(1===e)return c(m(t/2+b));for(var r=1,a=L(1-e),o=L(e),s=0;n(o)>v;s++){if(t%y){var l=i(a*m(t)/r);l<0&&(l+=y),t+=l+~~(t/y)*y}else t+=t;o=(r+a)/2,a=L(r*a),o=((r=o)-a)/2}return t/(h(2,s)*r)}function Ut(t,e){var r=(w-1)/(w+1),l=L(1-r*r),u=jt(x,l*l),f=c(m(y/4+n(e)/2)),h=s(-1*f)/L(r),p=function(t,e){var r=t*t,n=e+1,i=1-r-e*e;return[.5*((t>=0?x:-x)-a(i,2*t)),-.25*c(i*i+4*r)+.5*c(n*n+r)]}(h*o(-1*t),h*g(-1*t)),v=function(t,e,r){var a=n(t),o=C(n(e));if(a){var s=1/g(a),l=1/(m(a)*m(a)),c=-(l+r*(o*o*s*s)-1+r),u=(-c+L(c*c-4*((r-1)*l)))/2;return[jt(i(1/L(u)),r)*d(t),jt(i(L((u/l-1)/r)),1-r)*d(e)]}return[0,jt(i(o),1-r)*d(e)]}(p[0],p[1],l*l);return[-v[1],(e>=0?1:-1)*(.5*u-v[0])]}function Vt(t){var e=g(t),r=o(t),i=Ht(t);function s(t,a){var s=i(t,a);t=s[0],a=s[1];var l=g(a),c=o(a),u=o(t),f=E(e*l+r*c*u),h=g(f),p=n(h)>v?f/h:1;return[p*r*g(t),(n(t)>x?p:-p)*(e*c-r*l*u)]}return i.invert=Ht(-t),s.invert=function(t,r){var n=L(t*t+r*r),s=-g(n),l=o(n),c=n*l,u=-r*s,f=n*e,h=L(c*c+u*u-f*f),p=a(c*f+u*h,u*f-c*h),d=(n>x?-1:1)*a(t*s,n*o(p)*l+r*g(p)*s);return i.invert(d,p)},s}function Ht(t){var e=g(t),r=o(t);return function(t,n){var i=o(n),s=o(t)*i,l=g(t)*i,c=g(n);return[a(l,s*r-c*e),S(c*r+s*e)]}}Bt.invert=function(t,e){n(t)>1&&(t=2*d(t)-t),n(e)>1&&(e=2*d(e)-e);var r=d(t),i=d(e),s=-r*t,l=-i*e,c=l/s<1,u=function(t,e){var r=0,i=1,a=.5,s=50;for(;;){var l=a*a,c=L(a),u=S(1/L(1+l)),f=1-l+a*(1+l)*u,h=(1-c)/f,p=L(h),d=h*(1+l),g=p*(1-l),m=L(d-t*t),v=e+g+a*m;if(n(i-r)<1e-12||0==--s||0===v)break;v>0?r=a:i=a,a=.5*(r+i)}if(!s)return null;var x=S(c),b=o(x),_=1/b,w=2*c*b,T=(-f*b-(-3*a+u*(1+3*l))*w*(1-c))/(f*f);return[y/4*(t*(-2*_*(.5*T/p*(1-l)-2*a*p*w)+-_*w*m)+-_*(a*(1+l)*T+h*(1+3*l)*w)*S(t/L(d))),x]}(c?l:s,c?s:l),f=u[0],h=u[1],p=o(h);return c&&(f=-x-f),[r*(a(g(f)*p,-g(h))+y),i*S(o(f)*p)]},Ut.invert=function(t,e){var r,n,o,l,u,f,h=(w-1)/(w+1),p=L(1-h*h),d=jt(x,p*p),g=(n=-t,o=p*p,(r=.5*d-e)?(l=Nt(r,o),n?(f=(u=Nt(n,1-o))[1]*u[1]+o*l[0]*l[0]*u[0]*u[0],[[l[0]*u[2]/f,l[1]*l[2]*u[0]*u[1]/f],[l[1]*u[1]/f,-l[0]*l[2]*u[0]*u[2]/f],[l[2]*u[1]*u[2]/f,-o*l[0]*l[1]*u[0]/f]]):[[l[0],0],[l[1],0],[l[2],0]]):[[0,(u=Nt(n,1-o))[0]/u[1]],[1/u[1],0],[u[2]/u[1],0]]),m=function(t,e){var r=e[0]*e[0]+e[1]*e[1];return[(t[0]*e[0]+t[1]*e[1])/r,(t[1]*e[0]-t[0]*e[1])/r]}(g[0],g[1]);return[a(m[1],m[0])/-1,2*i(s(-.5*c(h*m[0]*m[0]+h*m[1]*m[1])))-x]};var qt=S(1-1/3)*A,Gt=ht(0);function Yt(t){var e=qt*M,r=lt(y,e)[0]-lt(-y,e)[0],i=Gt(0,e)[1],a=lt(0,e)[1],o=T-a,s=k/t,c=4/k,h=i+o*o*4/k;function p(p,d){var g,m=n(d);if(m>e){var v=f(t-1,u(0,l((p+y)/s)));(g=lt(p+=y*(t-1)/t-v*s,m))[0]=g[0]*k/r-k*(t-1)/(2*t)+v*k/t,g[1]=i+4*(g[1]-a)*o/k,d<0&&(g[1]=-g[1])}else g=Gt(p,d);return g[0]*=c,g[1]/=h,g}return p.invert=function(e,p){e/=c;var d=n(p*=h);if(d>i){var g=f(t-1,u(0,l((e+y)/s)));e=(e+y*(t-1)/t-g*s)*r/k;var m=lt.invert(e,.25*(d-i)*k/o+a);return m[0]-=y*(t-1)/t-g*s,p<0&&(m[1]=-m[1]),m}return Gt.invert(e,p)},p}function Wt(t,e){return[t,1&e?90-v:qt]}function Xt(t,e){return[t,1&e?-90+v:-qt]}function Zt(t){return[t[0]*(1-v),t[1]]}function Jt(t){var e,r=1+t,i=S(g(1/r)),s=2*L(y/(e=y+4*i*r)),l=.5*s*(r+L(t*(2+t))),c=t*t,u=r*r;function f(f,h){var p,d,m=1-g(h);if(m&&m<2){var v,b=x-h,_=25;do{var w=g(b),T=o(b),k=i+a(w,r-T),A=1+u-2*r*T;b-=v=(b-c*i-r*w+A*k-.5*m*e)/(2*r*w*k)}while(n(v)>1e-12&&--_>0);p=s*L(A),d=f*k/y}else p=s*(t+m),d=f*i/y;return[p*g(d),l-p*o(d)]}return f.invert=function(t,n){var o=t*t+(n-=l)*n,f=(1+u-o/(s*s))/(2*r),h=E(f),p=g(h),d=i+a(p,r-f);return[S(t/L(o))*y/d,S(1-2*(h-c*i-r*p+(1+u-2*r*f)*d)/e)]},f}function Kt(t,e){return e>-.7109889596207567?((t=W(t,e))[1]+=.0528035274542,t):Q(t,e)}function Qt(t,e){return n(e)>.7109889596207567?((t=W(t,e))[1]-=e>0?.0528035274542:-.0528035274542,t):Q(t,e)}function $t(t,e,r,n){var i=L(4*y/(2*r+(1+t-e/2)*g(2*r)+(t+e)/2*g(4*r)+e/2*g(6*r))),a=L(n*g(r)*L((1+t*o(2*r)+e*o(4*r))/(1+t+e))),s=r*c(1);function l(r){return L(1+t*o(2*r)+e*o(4*r))}function c(n){var i=n*r;return(2*i+(1+t-e/2)*g(2*i)+(t+e)/2*g(4*i)+e/2*g(6*i))/r}function u(t){return l(t)*g(t)}var f=function(t,e){var n=r*V(c,s*g(e)/r,e/y);isNaN(n)&&(n=r*d(e));var u=i*l(n);return[u*a*t/y*o(n),u/a*g(n)]};return f.invert=function(t,e){var n=V(u,e*a/i);return[t*y/(o(n)*i*a*l(n)),S(r*c(n/r)/s)]},0===r&&(i=L(n/y),(f=function(t,e){return[t*i,g(e)/i]}).invert=function(t,e){return[t/i,S(e*i)]}),f}function te(t,e,r,n,i){void 0===n&&(n=1e-8),void 0===i&&(i=20);var a=t(e),o=t(.5*(e+r)),s=t(r);return function t(e,r,n,i,a,o,s,l,c,u,f){if(f.nanEncountered)return NaN;var h,p,d,g,m,v,y,x,b,_;if(p=e(r+.25*(h=n-r)),d=e(n-.25*h),isNaN(p))f.nanEncountered=!0;else{if(!isNaN(d))return _=((v=(g=h*(i+4*p+a)/12)+(m=h*(a+4*d+o)/12))-s)/15,u>c?(f.maxDepthCount++,v+_):Math.abs(_)<l?v+_:(x=t(e,r,y=r+.5*h,i,p,a,g,.5*l,c,u+1,f),isNaN(x)?(f.nanEncountered=!0,NaN):(b=t(e,y,n,a,d,o,m,.5*l,c,u+1,f),isNaN(b)?(f.nanEncountered=!0,NaN):x+b));f.nanEncountered=!0}}(t,e,r,a,o,s,(a+4*o+s)*(r-e)/6,n,i,1,{maxDepthCount:0,nanEncountered:!1})}function ee(t,e,r){function i(r){return t+(1-t)*h(1-h(r,e),1/e)}function a(t){return te(i,0,t,1e-4)}for(var o=1/a(1),s=1e3,l=(1+1e-8)*o,c=[],u=0;u<=s;u++)c.push(a(u/s)*l);function f(t){var e=0,r=s,n=500;do{c[n]>t?r=n:e=n,n=e+r>>1}while(n>e);var i=c[n+1]-c[n];return i&&(i=(t-c[n+1])/i),(n+1+i)/s}var p=2*f(1)/y*o/r,m=function(t,e){var r=f(n(g(e))),a=i(r)*t;return r/=p,[a,e>=0?r:-r]};return m.invert=function(t,e){var r;return n(e*=p)<1&&(r=d(e)*S(a(n(e))*o)),[t/i(n(e)),r]},m}function re(t,e){return n(t[0]-e[0])<v&&n(t[1]-e[1])<v}function ne(t,e){for(var r,n,i,a=-1,o=t.length,s=t[0],l=[];++a<o;){n=((r=t[a])[0]-s[0])/e,i=(r[1]-s[1])/e;for(var c=0;c<e;++c)l.push([s[0]+c*n,s[1]+c*i]);s=r}return l.push(r),l}function ie(t){var e,n,i,a,o,s,l,c=[],u=t[0].length;for(l=0;l<u;++l)n=(e=t[0][l])[0][0],i=e[0][1],a=e[1][1],o=e[2][0],s=e[2][1],c.push(ne([[n+v,i+v],[n+v,a-v],[o-v,a-v],[o-v,s+v]],30));for(l=t[1].length-1;l>=0;--l)n=(e=t[1][l])[0][0],i=e[0][1],a=e[1][1],o=e[2][0],s=e[2][1],c.push(ne([[o-v,s-v],[o-v,a+v],[n+v,a+v],[n+v,i-v]],30));return{type:"Polygon",coordinates:[r.merge(c)]}}function ae(t,r,n){var i,a;function o(e,n){for(var i=n<0?-1:1,a=r[+(n<0)],o=0,s=a.length-1;o<s&&e>a[o][2][0];++o);var l=t(e-a[o][1][0],n);return l[0]+=t(a[o][1][0],i*n>i*a[o][0][1]?a[o][0][1]:n)[0],l}n?o.invert=n(o):t.invert&&(o.invert=function(e,n){for(var i=a[+(n<0)],s=r[+(n<0)],l=0,c=i.length;l<c;++l){var u=i[l];if(u[0][0]<=e&&e<u[1][0]&&u[0][1]<=n&&n<u[1][1]){var f=t.invert(e-t(s[l][1][0],0)[0],n);return f[0]+=s[l][1][0],re(o(f[0],f[1]),[e,n])?f:null}}});var s=e.geoProjection(o),l=s.stream;return s.stream=function(t){var r=s.rotate(),n=l(t),a=(s.rotate([0,0]),l(t));return s.rotate(r),n.sphere=function(){e.geoStream(i,a)},n},s.lobes=function(e){return arguments.length?(i=ie(e),r=e.map((function(t){return t.map((function(t){return[[t[0][0]*M,t[0][1]*M],[t[1][0]*M,t[1][1]*M],[t[2][0]*M,t[2][1]*M]]}))})),a=r.map((function(e){return e.map((function(e){var r,n=t(e[0][0],e[0][1])[0],i=t(e[2][0],e[2][1])[0],a=t(e[1][0],e[0][1])[1],o=t(e[1][0],e[1][1])[1];return a>o&&(r=a,a=o,o=r),[[n,a],[i,o]]}))})),s):r.map((function(t){return t.map((function(t){return[[t[0][0]*A,t[0][1]*A],[t[1][0]*A,t[1][1]*A],[t[2][0]*A,t[2][1]*A]]}))}))},null!=r&&s.lobes(r),s}Kt.invert=function(t,e){return e>-.7109889596207567?W.invert(t,e-.0528035274542):Q.invert(t,e)},Qt.invert=function(t,e){return n(e)>.7109889596207567?W.invert(t,e+(e>0?.0528035274542:-.0528035274542)):Q.invert(t,e)};var oe=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];var se=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];var le=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];var ce=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];var ue=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];var fe=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function he(t,e){return[3/k*t*L(y*y/3-e*e),e]}function pe(t){function e(e,r){if(n(n(r)-x)<v)return[0,r<0?-2:2];var i=g(r),a=h((1+i)/(1-i),t/2),s=.5*(a+1/a)+o(e*=t);return[2*g(e)/s,(a-1/a)/s]}return e.invert=function(e,r){var i=n(r);if(n(i-2)<v)return e?null:[0,d(r)*x];if(i>2)return null;var o=(e/=2)*e,s=(r/=2)*r,l=2*r/(1+o+s);return l=h((1+l)/(1-l),1/t),[a(2*e,1-o-s)/t,S((l-1)/(l+1))]},e}he.invert=function(t,e){return[k/3*t/L(y*y/3-e*e),e]};var de=y/w;function ge(t,e){return[t*(1+L(o(e)))/2,e/(o(e/2)*o(t/6))]}function me(t,e){var r=t*t,n=e*e;return[t*(.975534+n*(-.0143059*r-.119161+-.0547009*n)),e*(1.00384+r*(.0802894+-.02855*n+199025e-9*r)+n*(.0998909+-.0491032*n))]}function ve(t,e){return[g(t)/o(e),m(e)*o(t)]}function ye(t){var e=o(t),r=m(b+t/2);function i(i,a){var o=a-t,s=n(o)<v?i*e:n(s=b+a/2)<v||n(n(s)-x)<v?0:i*o/c(m(s)/r);return[s,o]}return i.invert=function(i,a){var o,s=a+t;return[n(a)<v?i/e:n(o=b+s/2)<v||n(n(o)-x)<v?0:i*c(m(o)/r)/a,s]},i}function xe(t,e){return[t,1.25*c(m(b+.4*e))]}function be(t){var e=t.length-1;function r(r,n){for(var i,a=o(n),s=2/(1+a*o(r)),l=s*a*g(r),c=s*g(n),u=e,f=t[u],h=f[0],p=f[1];--u>=0;)h=(f=t[u])[0]+l*(i=h)-c*p,p=f[1]+l*p+c*i;return[h=l*(i=h)-c*p,p=l*p+c*i]}return r.invert=function(r,s){var l=20,c=r,u=s;do{for(var f,h=e,p=t[h],d=p[0],m=p[1],v=0,y=0;--h>=0;)v=d+c*(f=v)-u*y,y=m+c*y+u*f,d=(p=t[h])[0]+c*(f=d)-u*m,m=p[1]+c*m+u*f;var x,b,_=(v=d+c*(f=v)-u*y)*v+(y=m+c*y+u*f)*y;c-=x=((d=c*(f=d)-u*m-r)*v+(m=c*m+u*f-s)*y)/_,u-=b=(m*v-d*y)/_}while(n(x)+n(b)>1e-12&&--l>0);if(l){var w=L(c*c+u*u),T=2*i(.5*w),k=g(T);return[a(c*k,w*o(T)),w?S(u*k/w):0]}},r}ge.invert=function(t,e){var r=n(t),i=n(e),a=v,s=x;i<de?s*=i/de:a+=6*E(de/i);for(var l=0;l<25;l++){var c=g(s),u=L(o(s)),f=g(s/2),h=o(s/2),p=g(a/6),d=o(a/6),m=.5*a*(1+u)-r,y=s/(h*d)-i,b=u?-.25*a*c/u:0,_=.5*(1+u),w=(1+.5*s*f/h)/(h*d),T=s/h*(p/6)/(d*d),k=b*T-w*_,A=(m*T-y*_)/k,M=(y*b-m*w)/k;if(s-=A,a-=M,n(A)<v&&n(M)<v)break}return[t<0?-a:a,e<0?-s:s]},me.invert=function(t,e){var r=d(t)*y,i=e/2,a=50;do{var o=r*r,s=i*i,l=r*i,c=r*(.975534+s*(-.0143059*o-.119161+-.0547009*s))-t,u=i*(1.00384+o*(.0802894+-.02855*s+199025e-9*o)+s*(.0998909+-.0491032*s))-e,f=.975534-s*(.119161+3*o*.0143059+.0547009*s),h=-l*(.238322+.2188036*s+.0286118*o),p=l*(.1605788+7961e-7*o+-.0571*s),g=1.00384+o*(.0802894+199025e-9*o)+s*(3*(.0998909-.02855*o)-.245516*s),m=h*p-g*f,x=(u*h-c*g)/m,b=(c*p-u*f)/m;r-=x,i-=b}while((n(x)>v||n(b)>v)&&--a>0);return a&&[r,i]},ve.invert=function(t,e){var r=t*t,n=e*e+1,i=r+n,a=t?_*L((i-L(i*i-4*r))/r):1/L(n);return[S(t*a),d(e)*E(a)]},xe.invert=function(t,e){return[t,2.5*i(s(.8*e))-.625*y]};var _e=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],we=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Te=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],ke=[[.9245,0],[0,0],[.01943,0]],Ae=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Me(t,r){var n=e.geoProjection(be(t)).rotate(r).clipAngle(90),i=e.geoRotation(r),a=n.center;return delete n.rotate,n.center=function(t){return arguments.length?a(i(t)):i.invert(a())},n}var Se=L(6),Ee=L(7);function Le(t,e){var r=S(7*g(e)/(3*Se));return[Se*t*(2*o(2*r/3)-1)/Ee,9*g(r/3)/Ee]}function Ce(t,e){for(var r,i=(1+_)*g(e),a=e,s=0;s<25&&(a-=r=(g(a/2)+g(a)-i)/(.5*o(a/2)+o(a)),!(n(r)<v));s++);return[t*(1+2*o(a)/o(a/2))/(3*w),2*L(3)*g(a/2)/L(2+w)]}function Pe(t,e){for(var r,i=L(6/(4+y)),a=(1+y/4)*g(e),s=e/2,l=0;l<25&&(s-=r=(s/2+g(s)-a)/(.5+o(s)),!(n(r)<v));l++);return[i*(.5+o(s))*t/1.5,i*s]}function Ie(t,e){var r=e*e,n=r*r,i=r*n;return[t*(.84719-.13063*r+i*i*(.05494*r-.04515-.02326*n+.00331*i)),e*(1.01183+n*n*(.01926*r-.02625-.00396*n))]}function Oe(t,e){return[t*(1+o(e))/2,2*(e-m(e/2))]}Le.invert=function(t,e){var r=3*S(e*Ee/9);return[t*Ee/(Se*(2*o(2*r/3)-1)),S(3*g(r)*Se/7)]},Ce.invert=function(t,e){var r=e*L(2+w)/(2*L(3)),n=2*S(r);return[3*w*t/(1+2*o(n)/o(n/2)),S((r+g(n))/(1+_))]},Pe.invert=function(t,e){var r=L(6/(4+y)),i=e/r;return n(n(i)-x)<v&&(i=i<0?-x:x),[1.5*t/(r*(.5+o(i))),S((i/2+g(i))/(1+y/4))]},Ie.invert=function(t,e){var r,i,a,o,s=e,l=25;do{s-=r=(s*(1.01183+(a=(i=s*s)*i)*a*(.01926*i-.02625-.00396*a))-e)/(1.01183+a*a*(.21186*i-.23625+-.05148*a))}while(n(r)>1e-12&&--l>0);return[t/(.84719-.13063*(i=s*s)+(o=i*(a=i*i))*o*(.05494*i-.04515-.02326*a+.00331*o)),s]},Oe.invert=function(t,e){for(var r=e/2,i=0,a=1/0;i<10&&n(a)>v;++i){var s=o(e/2);e-=a=(e-m(e/2)-r)/(1-.5/(s*s))}return[2*t/(1+o(e)),e]};var ze=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function De(t,e){var r=g(e),i=o(e),a=d(t);if(0===t||n(e)===x)return[0,e];if(0===e)return[t,0];if(n(t)===x)return[t*i,x*r];var s=y/(2*t)-2*t/y,l=2*e/y,c=(1-l*l)/(r-l),u=s*s,f=c*c,h=1+u/f,p=1+f/u,m=(s*r/c-s/2)/h,v=(f*r/u+c/2)/p,b=v*v-(f*r*r/u+c*r-1)/p;return[x*(m+L(m*m+i*i/h)*a),x*(v+L(b<0?0:b)*d(-e*s)*a)]}De.invert=function(t,e){var r=(t/=x)*t,n=r+(e/=x)*e,i=y*y;return[t?(n-1+L((1-n)*(1-n)+4*r))/(2*t)*x:0,V((function(t){return n*(y*g(t)-2*t)*y+4*t*t*(e-g(t))+2*y*t-i*e}),0)]};function Re(t,e){var r=e*e;return[t,e*(1.0148+r*r*(.23185+r*(.02406*r-.14499)))]}function Fe(t,e){if(n(e)<v)return[t,0];var r=m(e),i=t*g(e);return[g(i)/r,e+(1-o(i))/r]}function Be(t,e){var r=je(t[1],t[0]),n=je(e[1],e[0]),i=function(t,e){return a(t[0]*e[1]-t[1]*e[0],t[0]*e[0]+t[1]*e[1])}(r,n),s=Ue(r)/Ue(n);return Ne([1,0,t[0][0],0,1,t[0][1]],Ne([s,0,0,0,s,0],Ne([o(i),g(i),0,-g(i),o(i),0],[1,0,-e[0][0],0,1,-e[0][1]])))}function Ne(t,e){return[t[0]*e[0]+t[1]*e[3],t[0]*e[1]+t[1]*e[4],t[0]*e[2]+t[1]*e[5]+t[2],t[3]*e[0]+t[4]*e[3],t[3]*e[1]+t[4]*e[4],t[3]*e[2]+t[4]*e[5]+t[5]]}function je(t,e){return[t[0]-e[0],t[1]-e[1]]}function Ue(t){return L(t[0]*t[0]+t[1]*t[1])}function Ve(t,r,i){function a(t,e){var n,i=r(t,e),a=i.project([t*A,e*A]);return(n=i.transform)?[n[0]*a[0]+n[1]*a[1]+n[2],-(n[3]*a[0]+n[4]*a[1]+n[5])]:(a[1]=-a[1],a)}!function t(e,r){if(e.edges=function(t){for(var e=t.length,r=[],n=t[e-1],i=0;i<e;++i)r.push([n,n=t[i]]);return r}(e.face),r.face){var n=e.shared=function(t,e){for(var r,n,i=t.length,a=null,o=0;o<i;++o){r=t[o];for(var s=e.length;--s>=0;)if(n=e[s],r[0]===n[0]&&r[1]===n[1]){if(a)return[a,r];a=r}}}(e.face,r.face),i=Be(n.map(r.project),n.map(e.project));e.transform=r.transform?Ne(r.transform,i):i;for(var a=r.edges,o=0,s=a.length;o<s;++o)He(n[0],a[o][1])&&He(n[1],a[o][0])&&(a[o]=e),He(n[0],a[o][0])&&He(n[1],a[o][1])&&(a[o]=e);for(a=e.edges,o=0,s=a.length;o<s;++o)He(n[0],a[o][0])&&He(n[1],a[o][1])&&(a[o]=r),He(n[0],a[o][1])&&He(n[1],a[o][0])&&(a[o]=r)}else e.transform=r.transform;e.children&&e.children.forEach((function(r){t(r,e)}));return e}(t,{transform:null}),qe(t)&&(a.invert=function(e,n){var i=function t(e,n){var i=e.project.invert,a=e.transform,o=n;a&&(a=function(t){var e=1/(t[0]*t[4]-t[1]*t[3]);return[e*t[4],-e*t[1],e*(t[1]*t[5]-t[2]*t[4]),-e*t[3],e*t[0],e*(t[2]*t[3]-t[0]*t[5])]}(a),o=[a[0]*o[0]+a[1]*o[1]+a[2],a[3]*o[0]+a[4]*o[1]+a[5]]);if(i&&e===function(t){return r(t[0]*M,t[1]*M)}(s=i(o)))return s;for(var s,l=e.children,c=0,u=l&&l.length;c<u;++c)if(s=t(l[c],n))return s}(t,[e,-n]);return i&&(i[0]*=M,i[1]*=M,i)});var o=e.geoProjection(a),s=o.stream;return o.stream=function(r){var i=o.rotate(),a=s(r),l=(o.rotate([0,0]),s(r));return o.rotate(i),a.sphere=function(){l.polygonStart(),l.lineStart(),function t(r,i,a){var o,s,l=i.edges,c=l.length,u={type:"MultiPoint",coordinates:i.face},f=i.face.filter((function(t){return 90!==n(t[1])})),h=e.geoBounds({type:"MultiPoint",coordinates:f}),p=!1,d=-1,g=h[1][0]-h[0][0],m=180===g||360===g?[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]:e.geoCentroid(u);if(a)for(;++d<c&&l[d]!==a;);++d;for(var y=0;y<c;++y)s=l[(y+d)%c],Array.isArray(s)?(p||(r.point((o=e.geoInterpolate(s[0],m)(v))[0],o[1]),p=!0),r.point((o=e.geoInterpolate(s[1],m)(v))[0],o[1])):(p=!1,s!==a&&t(r,s,i))}(l,t),l.lineEnd(),l.polygonEnd()},a},o.angle(null==i?-30:i*A)}function He(t,e){return t&&e&&t[0]===e[0]&&t[1]===e[1]}function qe(t){return t.project.invert||t.children&&t.children.some(qe)}Re.invert=function(t,e){e>1.790857183?e=1.790857183:e<-1.790857183&&(e=-1.790857183);var r,i=e;do{var a=i*i;i-=r=(i*(1.0148+a*a*(.23185+a*(.02406*a-.14499)))-e)/(1.0148+a*a*(5*.23185+a*(.21654*a-1.01493)))}while(n(r)>v);return[t,i]},Fe.invert=function(t,e){if(n(e)<v)return[t,0];var r,i=t*t+e*e,a=.5*e,s=10;do{var l=m(a),c=1/o(a),u=i-2*e*a+a*a;a-=r=(l*u+2*(a-e))/(2+u*c*c+2*(a-e)*l)}while(n(r)>v&&--s>0);return l=m(a),[(n(e)<n(a+1/l)?S(t*l):d(e)*d(t)*(E(n(t*l))+x))/g(a),a]};var Ge=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Ye=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map((function(t){return t.map((function(t){return Ge[t]}))}));var We=2/L(3);function Xe(t,e){var r=lt(t,e);return[r[0]*We,r[1]]}function Ze(t,e){for(var r=0,n=t.length,i=0;r<n;++r)i+=t[r]*e[r];return i}function Je(t){return[a(t[1],t[0])*A,S(u(-1,f(1,t[2])))*A]}function Ke(t){var e=t[0]*M,r=t[1]*M,n=o(r);return[n*o(e),n*g(e),g(r)]}function Qe(){}function $e(t,e){return{type:"FeatureCollection",features:t.features.map((function(t){return tr(t,e)}))}}function tr(t,e){return{type:"Feature",id:t.id,properties:t.properties,geometry:er(t.geometry,e)}}function er(t,r){if(!t)return null;if("GeometryCollection"===t.type)return function(t,e){return{type:"GeometryCollection",geometries:t.geometries.map((function(t){return er(t,e)}))}}(t,r);var n;switch(t.type){case"Point":case"MultiPoint":n=ir;break;case"LineString":case"MultiLineString":n=ar;break;case"Polygon":case"MultiPolygon":case"Sphere":n=or;break;default:return null}return e.geoStream(t,r(n)),n.result()}Xe.invert=function(t,e){return lt.invert(t/We,e)};var rr=[],nr=[],ir={point:function(t,e){rr.push([t,e])},result:function(){var t=rr.length?rr.length<2?{type:"Point",coordinates:rr[0]}:{type:"MultiPoint",coordinates:rr}:null;return rr=[],t}},ar={lineStart:Qe,point:function(t,e){rr.push([t,e])},lineEnd:function(){rr.length&&(nr.push(rr),rr=[])},result:function(){var t=nr.length?nr.length<2?{type:"LineString",coordinates:nr[0]}:{type:"MultiLineString",coordinates:nr}:null;return nr=[],t}},or={polygonStart:Qe,lineStart:Qe,point:function(t,e){rr.push([t,e])},lineEnd:function(){var t=rr.length;if(t){do{rr.push(rr[0].slice())}while(++t<4);nr.push(rr),rr=[]}},polygonEnd:Qe,result:function(){if(!nr.length)return null;var t=[],e=[];return nr.forEach((function(r){!function(t){if((e=t.length)<4)return!1;for(var e,r=0,n=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++r<e;)n+=t[r-1][1]*t[r][0]-t[r-1][0]*t[r][1];return n<=0}(r)?e.push(r):t.push([r])})),e.forEach((function(e){var r=e[0];t.some((function(t){if(function(t,e){for(var r=e[0],n=e[1],i=!1,a=0,o=t.length,s=o-1;a<o;s=a++){var l=t[a],c=l[0],u=l[1],f=t[s],h=f[0],p=f[1];u>n^p>n&&r<(h-c)*(n-u)/(p-u)+c&&(i=!i)}return i}(t[0],r))return t.push(e),!0}))||t.push([e])})),nr=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}};function sr(t){var r=t(x,0)[0]-t(-x,0)[0];function i(e,i){var a=n(e)<x,o=t(a?e:e>0?e-y:e+y,i),s=(o[0]-o[1])*_,l=(o[0]+o[1])*_;if(a)return[s,l];var c=r*_,u=s>0^l>0?-1:1;return[u*s-d(l)*c,u*l-d(s)*c]}return t.invert&&(i.invert=function(e,i){var a=(e+i)*_,o=(i-e)*_,s=n(a)<.5*r&&n(o)<.5*r;if(!s){var l=r*_,c=a>0^o>0?-1:1,u=-c*e+(o>0?1:-1)*l,f=-c*i+(a>0?1:-1)*l;a=(-u-f)*_,o=(u-f)*_}var h=t.invert(a,o);return s||(h[0]+=a>0?y:-y),h}),e.geoProjection(i).rotate([-90,-90,45]).clipAngle(179.999)}function lr(){return sr(Ut).scale(111.48)}function cr(t){var e=g(t);function r(r,n){var a=e?m(r*e/2)/e:r/2;if(!n)return[2*a,-t];var s=2*i(a*g(n)),l=1/m(n);return[g(s)*l,n+(1-o(s))*l-t]}return r.invert=function(r,a){if(n(a+=t)<v)return[e?2*i(e*r/2)/e:r,0];var s,l=r*r+a*a,c=0,u=10;do{var f=m(c),h=1/o(c),p=l-2*a*c+c*c;c-=s=(f*p+2*(c-a))/(2+p*h*h+2*(c-a)*f)}while(n(s)>v&&--u>0);var d=r*(f=m(c)),x=m(n(a)<n(c+1/f)?.5*S(d):.5*E(d)+y/4)/g(c);return[e?2*i(e*x)/e:2*x,c]},r}var ur=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function fr(t,e){var r,i=f(18,36*n(e)/y),a=l(i),o=i-a,s=(r=ur[a])[0],c=r[1],u=(r=ur[++a])[0],h=r[1],p=(r=ur[f(19,++a)])[0],d=r[1];return[t*(u+o*(p-s)/2+o*o*(p-2*u+s)/2),(e>0?x:-x)*(h+o*(d-c)/2+o*o*(d-2*h+c)/2)]}function hr(t,e){var r=function(t){function e(e,r){var n=o(r),i=(t-1)/(t-n*o(e));return[i*n*g(e),i*g(r)]}return e.invert=function(e,r){var n=e*e+r*r,i=L(n),o=(t-L(1-n*(t+1)/(t-1)))/((t-1)/i+i/(t-1));return[a(e*o,i*L(1-o*o)),i?S(r*o/i):0]},e}(t);if(!e)return r;var n=o(e),i=g(e);function s(e,a){var o=r(e,a),s=o[1],l=s*i/(t-1)+n;return[o[0]*n/l,s/l]}return s.invert=function(e,a){var o=(t-1)/(t-1-a*i);return r.invert(o*e,o*a*n)},s}ur.forEach((function(t){t[1]*=1.0144})),fr.invert=function(t,e){var r=e/x,i=90*r,a=f(18,n(i/5)),o=u(0,l(a));do{var s=ur[o][1],c=ur[o+1][1],h=ur[f(19,o+2)][1],p=h-s,d=h-2*c+s,g=2*(n(r)-c)/p,m=d/p,v=g*(1-m*g*(1-2*m*g));if(v>=0||1===o){i=(e>=0?5:-5)*(v+a);var y,b=50;do{v=(a=f(18,n(i)/5))-(o=l(a)),s=ur[o][1],c=ur[o+1][1],h=ur[f(19,o+2)][1],i-=(y=(e>=0?x:-x)*(c+v*(h-s)/2+v*v*(h-2*c+s)/2)-e)*A}while(n(y)>1e-12&&--b>0);break}}while(--o>=0);var _=ur[o][0],w=ur[o+1][0],T=ur[f(19,o+2)][0];return[t/(w+v*(T-_)/2+v*v*(T-2*w+_)/2),i*M]};var pr=-179.9999,dr=179.9999,gr=-89.9999;function mr(t){return t.length>0}function vr(t){return-90===t||90===t?[0,t]:[-180,(e=t,Math.floor(1e4*e)/1e4)];var e}function yr(t){var e=t[0],r=t[1],n=!1;return e<=pr?(e=-180,n=!0):e>=dr&&(e=180,n=!0),r<=gr?(r=-90,n=!0):r>=89.9999&&(r=90,n=!0),n?[e,r]:t}function xr(t){return t.map(yr)}function br(t,e,r){for(var n=0,i=t.length;n<i;++n){var a=t[n].slice();r.push({index:-1,polygon:e,ring:a});for(var o=0,s=a.length;o<s;++o){var l=a[o],c=l[0],u=l[1];if(c<=pr||c>=dr||u<=gr||u>=89.9999){a[o]=yr(l);for(var f=o+1;f<s;++f){var h=a[f],p=h[0],d=h[1];if(p>pr&&p<dr&&d>gr&&d<89.9999)break}if(f===o+1)continue;if(o){var g={index:-1,polygon:e,ring:a.slice(0,o+1)};g.ring[g.ring.length-1]=vr(u),r[r.length-1]=g}else r.pop();if(f>=s)break;r.push({index:-1,polygon:e,ring:a=a.slice(f-1)}),a[0]=vr(a[0][1]),o=-1,s=a.length}}}}function _r(t){var e,r,n,i,a,o,s=t.length,l={},c={};for(e=0;e<s;++e)n=(r=t[e]).ring[0],a=r.ring[r.ring.length-1],n[0]!==a[0]||n[1]!==a[1]?(r.index=e,l[n]=c[a]=r):(r.polygon.push(r.ring),t[e]=null);for(e=0;e<s;++e)if(r=t[e]){if(n=r.ring[0],a=r.ring[r.ring.length-1],i=c[n],o=l[a],delete l[n],delete c[a],n[0]===a[0]&&n[1]===a[1]){r.polygon.push(r.ring);continue}i?(delete c[n],delete l[i.ring[0]],i.ring.pop(),t[i.index]=null,r={index:-1,polygon:i.polygon,ring:i.ring.concat(r.ring)},i===o?r.polygon.push(r.ring):(r.index=s++,t.push(l[r.ring[0]]=c[r.ring[r.ring.length-1]]=r))):o?(delete l[a],delete c[o.ring[o.ring.length-1]],r.ring.pop(),r={index:s++,polygon:o.polygon,ring:r.ring.concat(o.ring)},t[o.index]=null,t.push(l[r.ring[0]]=c[r.ring[r.ring.length-1]]=r)):(r.ring.push(r.ring[0]),r.polygon.push(r.ring))}}function wr(t){var e={type:"Feature",geometry:Tr(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}function Tr(t){if(null==t)return t;var e,r,n,i;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(Tr)};break;case"Point":e={type:"Point",coordinates:yr(t.coordinates)};break;case"MultiPoint":case"LineString":e={type:t.type,coordinates:xr(t.coordinates)};break;case"MultiLineString":e={type:"MultiLineString",coordinates:t.coordinates.map(xr)};break;case"Polygon":var a=[];br(t.coordinates,a,r=[]),_r(r),e={type:"Polygon",coordinates:a};break;case"MultiPolygon":r=[],n=-1,i=t.coordinates.length;for(var o=new Array(i);++n<i;)br(t.coordinates[n],o[n]=[],r);_r(r),e={type:"MultiPolygon",coordinates:o.filter(mr)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function kr(t,e){var r=m(e/2),n=g(b*r);return[t*(.74482-.34588*n*n),1.70711*r]}function Ar(t,r,n){var i=e.geoInterpolate(r,n),a=i(.5),o=e.geoRotation([-a[0],-a[1]])(r),s=i.distance/2,l=-S(g(o[1]*M)/g(s)),c=[-a[0],-a[1],-(o[0]>0?y-l:l)*A],u=e.geoProjection(t(s)).rotate(c),f=e.geoRotation(c),h=u.center;return delete u.rotate,u.center=function(t){return arguments.length?h(f(t)):f.invert(h())},u.clipAngle(90)}function Mr(t){var r=o(t);function n(t,n){var i=e.geoGnomonicRaw(t,n);return i[0]*=r,i}return n.invert=function(t,n){return e.geoGnomonicRaw.invert(t/r,n)},n}function Sr(t,e){return Ar(Mr,t,e)}function Er(t){if(!(t*=2))return e.geoAzimuthalEquidistantRaw;var r=-t/2,n=-r,i=t*t,s=m(n),l=.5/g(n);function c(e,a){var s=E(o(a)*o(e-r)),l=E(o(a)*o(e-n));return[((s*=s)-(l*=l))/(2*t),(a<0?-1:1)*L(4*i*l-(i-s+l)*(i-s+l))/(2*t)]}return c.invert=function(t,e){var i,c,u=e*e,f=o(L(u+(i=t+r)*i)),h=o(L(u+(i=t+n)*i));return[a(c=f-h,i=(f+h)*s),(e<0?-1:1)*E(L(i*i+c*c)*l)]},c}function Lr(t,e){return Ar(Er,t,e)}function Cr(t,e){if(n(e)<v)return[t,0];var r=n(e/x),i=S(r);if(n(t)<v||n(n(e)-x)<v)return[0,d(e)*y*m(i/2)];var a=o(i),s=n(y/t-t/y)/2,l=s*s,c=a/(r+a-1),u=c*(2/r-1),f=u*u,h=f+l,p=c-f,g=l+c;return[d(t)*y*(s*p+L(l*p*p-h*(c*c-f)))/h,d(e)*y*(u*g-s*L((l+1)*h-g*g))/h]}function Pr(t,e){if(n(e)<v)return[t,0];var r=n(e/x),i=S(r);if(n(t)<v||n(n(e)-x)<v)return[0,d(e)*y*m(i/2)];var a=o(i),s=n(y/t-t/y)/2,l=s*s,c=a*(L(1+l)-s*a)/(1+l*r*r);return[d(t)*y*c,d(e)*y*L(1-c*(2*s+c))]}function Ir(t,e){if(n(e)<v)return[t,0];var r=e/x,i=S(r);if(n(t)<v||n(n(e)-x)<v)return[0,y*m(i/2)];var a=(y/t-t/y)/2,s=r/(1+o(i));return[y*(d(t)*L(a*a+1-s*s)-a),y*s]}function Or(t,e){if(!e)return[t,0];var r=n(e);if(!t||r===x)return[0,e];var i=r/x,a=i*i,o=(8*i-a*(a+2)-5)/(2*a*(i-1)),s=o*o,l=i*o,c=a+s+2*l,u=i+3*o,f=t/x,h=f+1/f,p=d(n(t)-x)*L(h*h-4),g=p*p,m=(p*(c+s-1)+2*L(c*(a+s*g-1)+(1-a)*(a*(u*u+4*s)+12*l*s+4*s*s)))/(4*c+g);return[d(t)*x*m,d(e)*x*L(1+p*n(m)-m*m)]}function zr(t,e,r,n){var i=y/3;t=u(t,v),e=u(e,v),t=f(t,x),e=f(e,y-v),r=u(r,0),r=f(r,100-v);var s=(n=u(n,v))/100,l=E((r/100+1)*o(i))/i,c=g(t)/g(l*x),h=e/y,p=L(s*g(t/2)/g(e/2));return function(t,e,r,n,i){function s(a,s){var l=r*g(n*s),c=L(1-l*l),u=L(2/(1+c*o(a*=i)));return[t*c*u*g(a),e*l*u]}return s.invert=function(o,s){var l=o/t,c=s/e,u=L(l*l+c*c),f=2*S(u/2);return[a(o*m(f),t*u)/i,u&&S(s*g(f)/(e*r*u))/n]},s}(p/L(h*c*l),1/(p*L(h*c*l)),c,l,h)}function Dr(){var t=65*M,r=60*M,n=20,i=200,a=e.geoProjectionMutator(zr),o=a(t,r,n,i);return o.poleline=function(e){return arguments.length?a(t=+e*M,r,n,i):t*A},o.parallels=function(e){return arguments.length?a(t,r=+e*M,n,i):r*A},o.inflation=function(e){return arguments.length?a(t,r,n=+e,i):n},o.ratio=function(e){return arguments.length?a(t,r,n,i=+e):i},o.scale(163.775)}kr.invert=function(t,e){var r=e/1.70711,n=g(b*r);return[t/(.74482-.34588*n*n),2*i(r)]},Cr.invert=function(t,e){if(n(e)<v)return[t,0];if(n(t)<v)return[0,x*g(2*i(e/y))];var r=(t/=y)*t,a=(e/=y)*e,s=r+a,l=s*s,c=-n(e)*(1+s),u=c-2*a+r,f=-2*c+1+2*a+l,h=a/f+(2*u*u*u/(f*f*f)-9*c*u/(f*f))/27,p=(c-u*u/(3*f))/f,m=2*L(-p/3),b=E(3*h/(p*m))/3;return[y*(s-1+L(1+2*(r-a)+l))/(2*t),d(e)*y*(-m*o(b+y/3)-u/(3*f))]},Pr.invert=function(t,e){if(!t)return[0,x*g(2*i(e/y))];var r=n(t/y),o=(1-r*r-(e/=y)*e)/(2*r),s=L(o*o+1);return[d(t)*y*(s-o),d(e)*x*g(2*a(L((1-2*o*r)*(o+s)-r),L(s+o+r)))]},Ir.invert=function(t,e){if(!e)return[t,0];var r=e/y,n=(y*y*(1-r*r)-t*t)/(2*y*t);return[t?y*(d(t)*L(n*n+1)-n):0,x*g(2*i(r))]},Or.invert=function(t,e){var r;if(!t||!e)return[t,e];e/=y;var i=d(t)*t/x,a=(i*i-1+4*e*e)/n(i),o=a*a,s=2*e,l=50;do{var c=s*s,u=(8*s-c*(c+2)-5)/(2*c*(s-1)),f=(3*s-c*s-10)/(2*c*s),h=u*u,p=s*u,g=s+u,m=g*g,b=s+3*u,_=-2*g*(4*p*h+(1-4*c+3*c*c)*(1+f)+h*(14*c-6-o+(8*c-8-2*o)*f)+p*(12*c-8+(10*c-10-o)*f)),w=L(m*(c+h*o-1)+(1-c)*(c*(b*b+4*h)+h*(12*p+4*h)));s-=r=(a*(m+h-1)+2*w-i*(4*m+o))/(a*(2*u*f+2*g*(1+f))+_/w-8*g*(a*(-1+h+m)+2*w)*(1+f)/(o+4*m))}while(r>v&&--l>0);return[d(t)*(L(a*a+4)+a)*y/4,x*s]};var Rr=4*y+3*L(3),Fr=2*L(2*y*L(3)/Rr),Br=Y(Fr*L(3)/y,Fr,Rr/6);function Nr(t,e){return[t*L(1-3*e*e/(y*y)),e]}function jr(t,e){var r=o(e),n=o(t)*r,i=1-n,s=o(t=a(g(t)*r,-g(e))),l=g(t);return[l*(r=L(1-n*n))-s*i,-s*r-l*i]}function Ur(t,e){var r=O(t,e);return[(r[0]+t/x)/2,(r[1]+e)/2]}Nr.invert=function(t,e){return[t/L(1-3*e*e/(y*y)),e]},jr.invert=function(t,e){var r=(t*t+e*e)/-2,n=L(-r*(2+r)),i=e*r+t*n,o=t*r-e*n,s=L(o*o+i*i);return[a(n*i,s*(1+r)),s?-S(n*o/s):0]},Ur.invert=function(t,e){var r=t,i=e,a=25;do{var s,l=o(i),c=g(i),u=g(2*i),f=c*c,h=l*l,p=g(r),d=o(r/2),m=g(r/2),y=m*m,b=1-h*d*d,_=b?E(l*d)*L(s=1/b):s=0,w=.5*(2*_*l*m+r/x)-t,T=.5*(_*c+i)-e,k=.5*s*(h*y+_*l*d*f)+.5/x,A=s*(p*u/4-_*c*m),M=.125*s*(u*m-_*c*h*p),S=.5*s*(f*d+_*y*l)+.5,C=A*M-S*k,P=(T*A-w*S)/C,I=(w*M-T*k)/C;r-=P,i-=I}while((n(P)>v||n(I)>v)&&--a>0);return[r,i]},t.geoNaturalEarth=e.geoNaturalEarth1,t.geoNaturalEarthRaw=e.geoNaturalEarth1Raw,t.geoAiry=function(){var t=x,r=e.geoProjectionMutator(I),n=r(t);return n.radius=function(e){return arguments.length?r(t=e*M):t*A},n.scale(179.976).clipAngle(147)},t.geoAiryRaw=I,t.geoAitoff=function(){return e.geoProjection(O).scale(152.63)},t.geoAitoffRaw=O,t.geoArmadillo=function(){var t=20*M,r=t>=0?1:-1,n=m(r*t),i=e.geoProjectionMutator(z),s=i(t),l=s.stream;return s.parallel=function(e){return arguments.length?(n=m((r=(t=e*M)>=0?1:-1)*t),i(t)):t*A},s.stream=function(e){var i=s.rotate(),c=l(e),u=(s.rotate([0,0]),l(e)),f=s.precision();return s.rotate(i),c.sphere=function(){u.polygonStart(),u.lineStart();for(var e=-180*r;r*e<180;e+=90*r)u.point(e,90*r);if(t)for(;r*(e-=3*r*f)>=-180;)u.point(e,r*-a(o(e*M/2),n)*A);u.lineEnd(),u.polygonEnd()},c},s.scale(218.695).center([0,28.0974])},t.geoArmadilloRaw=z,t.geoAugust=function(){return e.geoProjection(D).scale(66.1603)},t.geoAugustRaw=D,t.geoBaker=function(){return e.geoProjection(B).scale(112.314)},t.geoBakerRaw=B,t.geoBerghaus=function(){var t=5,r=e.geoProjectionMutator(N),n=r(t),i=n.stream,s=-o(.01*M),l=g(.01*M);return n.lobes=function(e){return arguments.length?r(t=+e):t},n.stream=function(e){var r=n.rotate(),c=i(e),u=(n.rotate([0,0]),i(e));return n.rotate(r),c.sphere=function(){u.polygonStart(),u.lineStart();for(var e=0,r=360/t,n=2*y/t,i=90-180/t,c=x;e<t;++e,i-=r,c-=n)u.point(a(l*o(c),s)*A,S(l*g(c))*A),i<-90?(u.point(-90,-180-i-.01),u.point(-90,-180-i+.01)):(u.point(90,i+.01),u.point(90,i-.01));u.lineEnd(),u.polygonEnd()},c},n.scale(87.8076).center([0,17.1875]).clipAngle(179.999)},t.geoBerghausRaw=N,t.geoBertin1953=function(){return e.geoProjection(q()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])},t.geoBertin1953Raw=q,t.geoBoggs=function(){return e.geoProjection(J).scale(160.857)},t.geoBoggsRaw=J,t.geoBonne=function(){return K($).scale(123.082).center([0,26.1441]).parallel(45)},t.geoBonneRaw=$,t.geoBottomley=function(){var t=.5,r=e.geoProjectionMutator(tt),n=r(t);return n.fraction=function(e){return arguments.length?r(t=+e):t},n.scale(158.837)},t.geoBottomleyRaw=tt,t.geoBromley=function(){return e.geoProjection(et).scale(152.63)},t.geoBromleyRaw=et,t.geoChamberlin=st,t.geoChamberlinRaw=at,t.geoChamberlinAfrica=function(){return st([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])},t.geoCollignon=function(){return e.geoProjection(lt).scale(95.6464).center([0,30])},t.geoCollignonRaw=lt,t.geoCraig=function(){return K(ct).scale(249.828).clipAngle(90)},t.geoCraigRaw=ct,t.geoCraster=function(){return e.geoProjection(ft).scale(156.19)},t.geoCrasterRaw=ft,t.geoCylindricalEqualArea=function(){return K(ht).parallel(38.58).scale(195.044)},t.geoCylindricalEqualAreaRaw=ht,t.geoCylindricalStereographic=function(){return K(pt).scale(124.75)},t.geoCylindricalStereographicRaw=pt,t.geoEckert1=function(){return e.geoProjection(dt).scale(165.664)},t.geoEckert1Raw=dt,t.geoEckert2=function(){return e.geoProjection(gt).scale(165.664)},t.geoEckert2Raw=gt,t.geoEckert3=function(){return e.geoProjection(mt).scale(180.739)},t.geoEckert3Raw=mt,t.geoEckert4=function(){return e.geoProjection(vt).scale(180.739)},t.geoEckert4Raw=vt,t.geoEckert5=function(){return e.geoProjection(yt).scale(173.044)},t.geoEckert5Raw=yt,t.geoEckert6=function(){return e.geoProjection(xt).scale(173.044)},t.geoEckert6Raw=xt,t.geoEisenlohr=function(){return e.geoProjection(_t).scale(62.5271)},t.geoEisenlohrRaw=_t,t.geoFahey=function(){return e.geoProjection(Tt).scale(137.152)},t.geoFaheyRaw=Tt,t.geoFoucaut=function(){return e.geoProjection(kt).scale(135.264)},t.geoFoucautRaw=kt,t.geoFoucautSinusoidal=function(){var t=.5,r=e.geoProjectionMutator(At),n=r(t);return n.alpha=function(e){return arguments.length?r(t=+e):t},n.scale(168.725)},t.geoFoucautSinusoidalRaw=At,t.geoGilbert=function(t){null==t&&(t=e.geoOrthographic);var r=t(),n=e.geoEquirectangular().scale(A).precision(0).clipAngle(null).translate([0,0]);function i(t){return r(Mt(t))}function a(t){i[t]=function(){return arguments.length?(r[t].apply(r,arguments),i):r[t]()}}return r.invert&&(i.invert=function(t){return St(r.invert(t))}),i.stream=function(t){var e=r.stream(t),i=n.stream({point:function(t,r){e.point(t/2,S(m(-r/2*M))*A)},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}});return i.sphere=e.sphere,i},i.rotate=function(t){return arguments.length?(n.rotate(t),i):n.rotate()},i.center=function(t){return arguments.length?(r.center(Mt(t)),i):St(r.center())},a("angle"),a("clipAngle"),a("clipExtent"),a("fitExtent"),a("fitHeight"),a("fitSize"),a("fitWidth"),a("scale"),a("translate"),a("precision"),i.scale(249.5)},t.geoGingery=function(){var t=6,r=30*M,n=o(r),i=g(r),s=e.geoProjectionMutator(Et),l=s(r,t),c=l.stream,u=-o(.01*M),f=g(.01*M);return l.radius=function(e){return arguments.length?(n=o(r=e*M),i=g(r),s(r,t)):r*A},l.lobes=function(e){return arguments.length?s(r,t=+e):t},l.stream=function(e){var r=l.rotate(),s=c(e),h=(l.rotate([0,0]),c(e));return l.rotate(r),s.sphere=function(){h.polygonStart(),h.lineStart();for(var e=0,r=2*y/t,s=0;e<t;++e,s-=r)h.point(a(f*o(s),u)*A,S(f*g(s))*A),h.point(a(i*o(s-r/2),n)*A,S(i*g(s-r/2))*A);h.lineEnd(),h.polygonEnd()},s},l.rotate([90,-40]).scale(91.7095).clipAngle(179.999)},t.geoGingeryRaw=Et,t.geoGinzburg4=function(){return e.geoProjection(It).scale(149.995)},t.geoGinzburg4Raw=It,t.geoGinzburg5=function(){return e.geoProjection(Ot).scale(153.93)},t.geoGinzburg5Raw=Ot,t.geoGinzburg6=function(){return e.geoProjection(zt).scale(130.945)},t.geoGinzburg6Raw=zt,t.geoGinzburg8=function(){return e.geoProjection(Dt).scale(131.747)},t.geoGinzburg8Raw=Dt,t.geoGinzburg9=function(){return e.geoProjection(Rt).scale(131.087)},t.geoGinzburg9Raw=Rt,t.geoGringorten=function(){return e.geoProjection(Ft(Bt)).scale(239.75)},t.geoGringortenRaw=Bt,t.geoGuyou=function(){return e.geoProjection(Ft(Ut)).scale(151.496)},t.geoGuyouRaw=Ut,t.geoHammer=function(){var t=2,r=e.geoProjectionMutator(j),n=r(t);return n.coefficient=function(e){return arguments.length?r(t=+e):t},n.scale(169.529)},t.geoHammerRaw=j,t.geoHammerRetroazimuthal=function(){var t=0,r=e.geoProjectionMutator(Vt),n=r(t),i=n.rotate,a=n.stream,o=e.geoCircle();return n.parallel=function(e){if(!arguments.length)return t*A;var i=n.rotate();return r(t=e*M).rotate(i)},n.rotate=function(e){return arguments.length?(i.call(n,[e[0],e[1]-t*A]),o.center([-e[0],-e[1]]),n):((e=i.call(n))[1]+=t*A,e)},n.stream=function(t){return(t=a(t)).sphere=function(){t.polygonStart();var e,r=o.radius(89.99)().coordinates[0],n=r.length-1,i=-1;for(t.lineStart();++i<n;)t.point((e=r[i])[0],e[1]);for(t.lineEnd(),n=(r=o.radius(90.01)().coordinates[0]).length-1,t.lineStart();--i>=0;)t.point((e=r[i])[0],e[1]);t.lineEnd(),t.polygonEnd()},t},n.scale(79.4187).parallel(45).clipAngle(179.999)},t.geoHammerRetroazimuthalRaw=Vt,t.geoHealpix=function(){var t=4,n=e.geoProjectionMutator(Yt),i=n(t),a=i.stream;return i.lobes=function(e){return arguments.length?n(t=+e):t},i.stream=function(n){var o=i.rotate(),s=a(n),l=(i.rotate([0,0]),a(n));return i.rotate(o),s.sphere=function(){var n,i;e.geoStream((n=180/t,i=[].concat(r.range(-180,180+n/2,n).map(Wt),r.range(180,-180-n/2,-n).map(Xt)),{type:"Polygon",coordinates:[180===n?i.map(Zt):i]}),l)},s},i.scale(239.75)},t.geoHealpixRaw=Yt,t.geoHill=function(){var t=1,r=e.geoProjectionMutator(Jt),n=r(t);return n.ratio=function(e){return arguments.length?r(t=+e):t},n.scale(167.774).center([0,18.67])},t.geoHillRaw=Jt,t.geoHomolosine=function(){return e.geoProjection(Qt).scale(152.63)},t.geoHomolosineRaw=Qt,t.geoHufnagel=function(){var t=1,r=0,n=45*M,i=2,a=e.geoProjectionMutator($t),o=a(t,r,n,i);return o.a=function(e){return arguments.length?a(t=+e,r,n,i):t},o.b=function(e){return arguments.length?a(t,r=+e,n,i):r},o.psiMax=function(e){return arguments.length?a(t,r,n=+e*M,i):n*A},o.ratio=function(e){return arguments.length?a(t,r,n,i=+e):i},o.scale(180.739)},t.geoHufnagelRaw=$t,t.geoHyperelliptical=function(){var t=0,r=2.5,n=1.183136,i=e.geoProjectionMutator(ee),a=i(t,r,n);return a.alpha=function(e){return arguments.length?i(t=+e,r,n):t},a.k=function(e){return arguments.length?i(t,r=+e,n):r},a.gamma=function(e){return arguments.length?i(t,r,n=+e):n},a.scale(152.63)},t.geoHyperellipticalRaw=ee,t.geoInterrupt=ae,t.geoInterruptedBoggs=function(){return ae(J,oe).scale(160.857)},t.geoInterruptedHomolosine=function(){return ae(Qt,se).scale(152.63)},t.geoInterruptedMollweide=function(){return ae(W,le).scale(169.529)},t.geoInterruptedMollweideHemispheres=function(){return ae(W,ce).scale(169.529).rotate([20,0])},t.geoInterruptedSinuMollweide=function(){return ae(Kt,ue,H).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoInterruptedSinusoidal=function(){return ae(Q,fe).scale(152.63).rotate([-20,0])},t.geoKavrayskiy7=function(){return e.geoProjection(he).scale(158.837)},t.geoKavrayskiy7Raw=he,t.geoLagrange=function(){var t=.5,r=e.geoProjectionMutator(pe),n=r(t);return n.spacing=function(e){return arguments.length?r(t=+e):t},n.scale(124.75)},t.geoLagrangeRaw=pe,t.geoLarrivee=function(){return e.geoProjection(ge).scale(97.2672)},t.geoLarriveeRaw=ge,t.geoLaskowski=function(){return e.geoProjection(me).scale(139.98)},t.geoLaskowskiRaw=me,t.geoLittrow=function(){return e.geoProjection(ve).scale(144.049).clipAngle(89.999)},t.geoLittrowRaw=ve,t.geoLoximuthal=function(){return K(ye).parallel(40).scale(158.837)},t.geoLoximuthalRaw=ye,t.geoMiller=function(){return e.geoProjection(xe).scale(108.318)},t.geoMillerRaw=xe,t.geoModifiedStereographic=Me,t.geoModifiedStereographicRaw=be,t.geoModifiedStereographicAlaska=function(){return Me(_e,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)},t.geoModifiedStereographicGs48=function(){return Me(we,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])},t.geoModifiedStereographicGs50=function(){return Me(Te,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])},t.geoModifiedStereographicMiller=function(){return Me(ke,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)},t.geoModifiedStereographicLee=function(){return Me(Ae,[165,10]).scale(250).clipAngle(130).center([-165,-10])},t.geoMollweide=function(){return e.geoProjection(W).scale(169.529)},t.geoMollweideRaw=W,t.geoMtFlatPolarParabolic=function(){return e.geoProjection(Le).scale(164.859)},t.geoMtFlatPolarParabolicRaw=Le,t.geoMtFlatPolarQuartic=function(){return e.geoProjection(Ce).scale(188.209)},t.geoMtFlatPolarQuarticRaw=Ce,t.geoMtFlatPolarSinusoidal=function(){return e.geoProjection(Pe).scale(166.518)},t.geoMtFlatPolarSinusoidalRaw=Pe,t.geoNaturalEarth2=function(){return e.geoProjection(Ie).scale(175.295)},t.geoNaturalEarth2Raw=Ie,t.geoNellHammer=function(){return e.geoProjection(Oe).scale(152.63)},t.geoNellHammerRaw=Oe,t.geoInterruptedQuarticAuthalic=function(){return ae(j(1/0),ze).rotate([20,0]).scale(152.63)},t.geoNicolosi=function(){return e.geoProjection(De).scale(127.267)},t.geoNicolosiRaw=De,t.geoPatterson=function(){return e.geoProjection(Re).scale(139.319)},t.geoPattersonRaw=Re,t.geoPolyconic=function(){return e.geoProjection(Fe).scale(103.74)},t.geoPolyconicRaw=Fe,t.geoPolyhedral=Ve,t.geoPolyhedralButterfly=function(t){t=t||function(t){var r=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoGnomonic().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=Ye.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,e){var n=r[t];n&&(n.children||(n.children=[])).push(r[e])})),Ve(r[0],(function(t,e){return r[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]})).angle(-30).scale(101.858).center([0,45])},t.geoPolyhedralCollignon=function(t){t=t||function(t){var r=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoProjection(Xe).translate([0,0]).scale(1).rotate(r[1]>0?[-r[0],0]:[180-r[0],180])};var r=Ye.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,e){var n=r[t];n&&(n.children||(n.children=[])).push(r[e])})),Ve(r[0],(function(t,e){return r[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]})).angle(-30).scale(121.906).center([0,48.5904])},t.geoPolyhedralWaterman=function(t){t=t||function(t){var r=6===t.length?e.geoCentroid({type:"MultiPoint",coordinates:t}):t[0];return e.geoGnomonic().scale(1).translate([0,0]).rotate([-r[0],-r[1]])};var r=Ye.map((function(t){for(var e,r=t.map(Ke),n=r.length,i=r[n-1],a=[],o=0;o<n;++o)e=r[o],a.push(Je([.9486832980505138*i[0]+.31622776601683794*e[0],.9486832980505138*i[1]+.31622776601683794*e[1],.9486832980505138*i[2]+.31622776601683794*e[2]]),Je([.9486832980505138*e[0]+.31622776601683794*i[0],.9486832980505138*e[1]+.31622776601683794*i[1],.9486832980505138*e[2]+.31622776601683794*i[2]])),i=e;return a})),n=[],i=[-1,0,0,1,0,1,4,5];r.forEach((function(t,e){for(var a,o,s=Ye[e],l=s.length,c=n[e]=[],u=0;u<l;++u)r.push([s[u],t[(2*u+2)%(2*l)],t[(2*u+1)%(2*l)]]),i.push(e),c.push((a=Ke(t[(2*u+2)%(2*l)]),o=Ke(t[(2*u+1)%(2*l)]),[a[1]*o[2]-a[2]*o[1],a[2]*o[0]-a[0]*o[2],a[0]*o[1]-a[1]*o[0]]))}));var a=r.map((function(e){return{project:t(e),face:e}}));return i.forEach((function(t,e){var r=a[t];r&&(r.children||(r.children=[])).push(a[e])})),Ve(a[0],(function(t,e){var r=o(e),i=[r*o(t),r*g(t),g(e)],s=t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5,l=n[s];return a[Ze(l[0],i)<0?8+3*s:Ze(l[1],i)<0?8+3*s+1:Ze(l[2],i)<0?8+3*s+2:s]})).angle(-30).scale(110.625).center([0,45])},t.geoProject=function(t,e){var r,n=e.stream;if(!n)throw new Error("invalid projection");switch(t&&t.type){case"Feature":r=tr;break;case"FeatureCollection":r=$e;break;default:r=er}return r(t,n)},t.geoGringortenQuincuncial=function(){return sr(Bt).scale(176.423)},t.geoPeirceQuincuncial=lr,t.geoPierceQuincuncial=lr,t.geoQuantize=function(t,e){if(!(0<=(e=+e)&&e<=20))throw new Error("invalid digits");function r(t){var r=t.length,n=2,i=new Array(r);for(i[0]=+t[0].toFixed(e),i[1]=+t[1].toFixed(e);n<r;)i[n]=t[n],++n;return i}function n(t){return t.map(r)}function i(t){for(var e=r(t[0]),n=[e],i=1;i<t.length;i++){var a=r(t[i]);(a.length>2||a[0]!=e[0]||a[1]!=e[1])&&(n.push(a),e=a)}return 1===n.length&&t.length>1&&n.push(r(t[t.length-1])),n}function a(t){return t.map(i)}function o(t){if(null==t)return t;var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(o)};break;case"Point":e={type:"Point",coordinates:r(t.coordinates)};break;case"MultiPoint":e={type:t.type,coordinates:n(t.coordinates)};break;case"LineString":e={type:t.type,coordinates:i(t.coordinates)};break;case"MultiLineString":case"Polygon":e={type:t.type,coordinates:a(t.coordinates)};break;case"MultiPolygon":e={type:"MultiPolygon",coordinates:t.coordinates.map(a)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function s(t){var e={type:"Feature",properties:t.properties,geometry:o(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),e}if(null!=t)switch(t.type){case"Feature":return s(t);case"FeatureCollection":var l={type:"FeatureCollection",features:t.features.map(s)};return null!=t.bbox&&(l.bbox=t.bbox),l;default:return o(t)}return t},t.geoQuincuncial=sr,t.geoRectangularPolyconic=function(){return K(cr).scale(131.215)},t.geoRectangularPolyconicRaw=cr,t.geoRobinson=function(){return e.geoProjection(fr).scale(152.63)},t.geoRobinsonRaw=fr,t.geoSatellite=function(){var t=2,r=0,n=e.geoProjectionMutator(hr),i=n(t,r);return i.distance=function(e){return arguments.length?n(t=+e,r):t},i.tilt=function(e){return arguments.length?n(t,r=e*M):r*A},i.scale(432.147).clipAngle(E(1/t)*A-1e-6)},t.geoSatelliteRaw=hr,t.geoSinuMollweide=function(){return e.geoProjection(Kt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoSinuMollweideRaw=Kt,t.geoSinusoidal=function(){return e.geoProjection(Q).scale(152.63)},t.geoSinusoidalRaw=Q,t.geoStitch=function(t){if(null==t)return t;switch(t.type){case"Feature":return wr(t);case"FeatureCollection":var e={type:"FeatureCollection",features:t.features.map(wr)};return null!=t.bbox&&(e.bbox=t.bbox),e;default:return Tr(t)}},t.geoTimes=function(){return e.geoProjection(kr).scale(146.153)},t.geoTimesRaw=kr,t.geoTwoPointAzimuthal=Sr,t.geoTwoPointAzimuthalRaw=Mr,t.geoTwoPointAzimuthalUsa=function(){return Sr([-158,21.5],[-77,39]).clipAngle(60).scale(400)},t.geoTwoPointEquidistant=Lr,t.geoTwoPointEquidistantRaw=Er,t.geoTwoPointEquidistantUsa=function(){return Lr([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)},t.geoVanDerGrinten=function(){return e.geoProjection(Cr).scale(79.4183)},t.geoVanDerGrintenRaw=Cr,t.geoVanDerGrinten2=function(){return e.geoProjection(Pr).scale(79.4183)},t.geoVanDerGrinten2Raw=Pr,t.geoVanDerGrinten3=function(){return e.geoProjection(Ir).scale(79.4183)},t.geoVanDerGrinten3Raw=Ir,t.geoVanDerGrinten4=function(){return e.geoProjection(Or).scale(127.16)},t.geoVanDerGrinten4Raw=Or,t.geoWagner=Dr,t.geoWagner7=function(){return Dr().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)},t.geoWagnerRaw=zr,t.geoWagner4=function(){return e.geoProjection(Br).scale(176.84)},t.geoWagner4Raw=Br,t.geoWagner6=function(){return e.geoProjection(Nr).scale(152.63)},t.geoWagner6Raw=Nr,t.geoWiechel=function(){return e.geoProjection(jr).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)},t.geoWiechelRaw=jr,t.geoWinkel3=function(){return e.geoProjection(Ur).scale(158.837)},t.geoWinkel3Raw=Ur,Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-array":107,"d3-geo":114}],114:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-array")):i((n=n||self).d3=n.d3||{},n.d3)}(this,(function(t,e){"use strict";function r(){return new n}function n(){this.reset()}n.prototype={constructor:n,reset:function(){this.s=this.t=0},add:function(t){a(i,t,this.t),a(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new n;function a(t,e,r){var n=t.s=e+r,i=n-e,a=n-i;t.t=e-a+(r-i)}var o=1e-6,s=Math.PI,l=s/2,c=s/4,u=2*s,f=180/s,h=s/180,p=Math.abs,d=Math.atan,g=Math.atan2,m=Math.cos,v=Math.ceil,y=Math.exp,x=Math.log,b=Math.pow,_=Math.sin,w=Math.sign||function(t){return t>0?1:t<0?-1:0},T=Math.sqrt,k=Math.tan;function A(t){return t>1?0:t<-1?s:Math.acos(t)}function M(t){return t>1?l:t<-1?-l:Math.asin(t)}function S(t){return(t=_(t/2))*t}function E(){}function L(t,e){t&&P.hasOwnProperty(t.type)&&P[t.type](t,e)}var C={Feature:function(t,e){L(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)L(r[n].geometry,e)}},P={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)t=r[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){I(t.coordinates,e,0)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)I(r[n],e,0)},Polygon:function(t,e){O(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)O(r[n],e)},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)L(r[n],e)}};function I(t,e,r){var n,i=-1,a=t.length-r;for(e.lineStart();++i<a;)n=t[i],e.point(n[0],n[1],n[2]);e.lineEnd()}function O(t,e){var r=-1,n=t.length;for(e.polygonStart();++r<n;)I(t[r],e,1);e.polygonEnd()}function z(t,e){t&&C.hasOwnProperty(t.type)?C[t.type](t,e):L(t,e)}var D,R,F,B,N,j=r(),U=r(),V={point:E,lineStart:E,lineEnd:E,polygonStart:function(){j.reset(),V.lineStart=H,V.lineEnd=q},polygonEnd:function(){var t=+j;U.add(t<0?u+t:t),this.lineStart=this.lineEnd=this.point=E},sphere:function(){U.add(u)}};function H(){V.point=G}function q(){Y(D,R)}function G(t,e){V.point=Y,D=t,R=e,F=t*=h,B=m(e=(e*=h)/2+c),N=_(e)}function Y(t,e){var r=(t*=h)-F,n=r>=0?1:-1,i=n*r,a=m(e=(e*=h)/2+c),o=_(e),s=N*o,l=B*a+s*m(i),u=s*n*_(i);j.add(g(u,l)),F=t,B=a,N=o}function W(t){return[g(t[1],t[0]),M(t[2])]}function X(t){var e=t[0],r=t[1],n=m(r);return[n*m(e),n*_(e),_(r)]}function Z(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function J(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function K(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Q(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function $(t){var e=T(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var tt,et,rt,nt,it,at,ot,st,lt,ct,ut,ft,ht,pt,dt,gt,mt,vt,yt,xt,bt,_t,wt,Tt,kt,At,Mt=r(),St={point:Et,lineStart:Ct,lineEnd:Pt,polygonStart:function(){St.point=It,St.lineStart=Ot,St.lineEnd=zt,Mt.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),St.point=Et,St.lineStart=Ct,St.lineEnd=Pt,j<0?(tt=-(rt=180),et=-(nt=90)):Mt>o?nt=90:Mt<-o&&(et=-90),ct[0]=tt,ct[1]=rt},sphere:function(){tt=-(rt=180),et=-(nt=90)}};function Et(t,e){lt.push(ct=[tt=t,rt=t]),e<et&&(et=e),e>nt&&(nt=e)}function Lt(t,e){var r=X([t*h,e*h]);if(st){var n=J(st,r),i=J([n[1],-n[0],0],n);$(i),i=W(i);var a,o=t-it,s=o>0?1:-1,l=i[0]*f*s,c=p(o)>180;c^(s*it<l&&l<s*t)?(a=i[1]*f)>nt&&(nt=a):c^(s*it<(l=(l+360)%360-180)&&l<s*t)?(a=-i[1]*f)<et&&(et=a):(e<et&&(et=e),e>nt&&(nt=e)),c?t<it?Dt(tt,t)>Dt(tt,rt)&&(rt=t):Dt(t,rt)>Dt(tt,rt)&&(tt=t):rt>=tt?(t<tt&&(tt=t),t>rt&&(rt=t)):t>it?Dt(tt,t)>Dt(tt,rt)&&(rt=t):Dt(t,rt)>Dt(tt,rt)&&(tt=t)}else lt.push(ct=[tt=t,rt=t]);e<et&&(et=e),e>nt&&(nt=e),st=r,it=t}function Ct(){St.point=Lt}function Pt(){ct[0]=tt,ct[1]=rt,St.point=Et,st=null}function It(t,e){if(st){var r=t-it;Mt.add(p(r)>180?r+(r>0?360:-360):r)}else at=t,ot=e;V.point(t,e),Lt(t,e)}function Ot(){V.lineStart()}function zt(){It(at,ot),V.lineEnd(),p(Mt)>o&&(tt=-(rt=180)),ct[0]=tt,ct[1]=rt,st=null}function Dt(t,e){return(e-=t)<0?e+360:e}function Rt(t,e){return t[0]-e[0]}function Ft(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Bt={sphere:E,point:Nt,lineStart:Ut,lineEnd:qt,polygonStart:function(){Bt.lineStart=Gt,Bt.lineEnd=Yt},polygonEnd:function(){Bt.lineStart=Ut,Bt.lineEnd=qt}};function Nt(t,e){t*=h;var r=m(e*=h);jt(r*m(t),r*_(t),_(e))}function jt(t,e,r){++ut,ht+=(t-ht)/ut,pt+=(e-pt)/ut,dt+=(r-dt)/ut}function Ut(){Bt.point=Vt}function Vt(t,e){t*=h;var r=m(e*=h);Tt=r*m(t),kt=r*_(t),At=_(e),Bt.point=Ht,jt(Tt,kt,At)}function Ht(t,e){t*=h;var r=m(e*=h),n=r*m(t),i=r*_(t),a=_(e),o=g(T((o=kt*a-At*i)*o+(o=At*n-Tt*a)*o+(o=Tt*i-kt*n)*o),Tt*n+kt*i+At*a);ft+=o,gt+=o*(Tt+(Tt=n)),mt+=o*(kt+(kt=i)),vt+=o*(At+(At=a)),jt(Tt,kt,At)}function qt(){Bt.point=Nt}function Gt(){Bt.point=Wt}function Yt(){Xt(_t,wt),Bt.point=Nt}function Wt(t,e){_t=t,wt=e,t*=h,e*=h,Bt.point=Xt;var r=m(e);Tt=r*m(t),kt=r*_(t),At=_(e),jt(Tt,kt,At)}function Xt(t,e){t*=h;var r=m(e*=h),n=r*m(t),i=r*_(t),a=_(e),o=kt*a-At*i,s=At*n-Tt*a,l=Tt*i-kt*n,c=T(o*o+s*s+l*l),u=M(c),f=c&&-u/c;yt+=f*o,xt+=f*s,bt+=f*l,ft+=u,gt+=u*(Tt+(Tt=n)),mt+=u*(kt+(kt=i)),vt+=u*(At+(At=a)),jt(Tt,kt,At)}function Zt(t){return function(){return t}}function Jt(t,e){function r(r,n){return r=t(r,n),e(r[0],r[1])}return t.invert&&e.invert&&(r.invert=function(r,n){return(r=e.invert(r,n))&&t.invert(r[0],r[1])}),r}function Kt(t,e){return[p(t)>s?t+Math.round(-t/u)*u:t,e]}function Qt(t,e,r){return(t%=u)?e||r?Jt(te(t),ee(e,r)):te(t):e||r?ee(e,r):Kt}function $t(t){return function(e,r){return[(e+=t)>s?e-u:e<-s?e+u:e,r]}}function te(t){var e=$t(t);return e.invert=$t(-t),e}function ee(t,e){var r=m(t),n=_(t),i=m(e),a=_(e);function o(t,e){var o=m(e),s=m(t)*o,l=_(t)*o,c=_(e),u=c*r+s*n;return[g(l*i-u*a,s*r-c*n),M(u*i+l*a)]}return o.invert=function(t,e){var o=m(e),s=m(t)*o,l=_(t)*o,c=_(e),u=c*i-l*a;return[g(l*i+c*a,s*r+u*n),M(u*r-s*n)]},o}function re(t){function e(e){return(e=t(e[0]*h,e[1]*h))[0]*=f,e[1]*=f,e}return t=Qt(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),e.invert=function(e){return(e=t.invert(e[0]*h,e[1]*h))[0]*=f,e[1]*=f,e},e}function ne(t,e,r,n,i,a){if(r){var o=m(e),s=_(e),l=n*r;null==i?(i=e+n*u,a=e-l/2):(i=ie(o,i),a=ie(o,a),(n>0?i<a:i>a)&&(i+=n*u));for(var c,f=i;n>0?f>a:f<a;f-=l)c=W([o,-s*m(f),-s*_(f)]),t.point(c[0],c[1])}}function ie(t,e){(e=X(e))[0]-=t,$(e);var r=A(-e[1]);return((-e[2]<0?-r:r)+u-o)%u}function ae(){var t,e=[];return{point:function(e,r,n){t.push([e,r,n])},lineStart:function(){e.push(t=[])},lineEnd:E,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var r=e;return e=[],t=null,r}}}function oe(t,e){return p(t[0]-e[0])<o&&p(t[1]-e[1])<o}function se(t,e,r,n){this.x=t,this.z=e,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}function le(t,e,r,n,i){var a,s,l=[],c=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,r,n=t[0],s=t[e];if(oe(n,s)){if(!n[2]&&!s[2]){for(i.lineStart(),a=0;a<e;++a)i.point((n=t[a])[0],n[1]);return void i.lineEnd()}s[0]+=2*o}l.push(r=new se(n,t,null,!0)),c.push(r.o=new se(n,null,r,!1)),l.push(r=new se(s,t,null,!1)),c.push(r.o=new se(s,null,r,!0))}})),l.length){for(c.sort(e),ce(l),ce(c),a=0,s=c.length;a<s;++a)c[a].e=r=!r;for(var u,f,h=l[0];;){for(var p=h,d=!0;p.v;)if((p=p.n)===h)return;u=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(d)for(a=0,s=u.length;a<s;++a)i.point((f=u[a])[0],f[1]);else n(p.x,p.n.x,1,i);p=p.n}else{if(d)for(u=p.p.z,a=u.length-1;a>=0;--a)i.point((f=u[a])[0],f[1]);else n(p.x,p.p.x,-1,i);p=p.p}u=(p=p.o).z,d=!d}while(!p.v);i.lineEnd()}}}function ce(t){if(e=t.length){for(var e,r,n=0,i=t[0];++n<e;)i.n=r=t[n],r.p=i,i=r;i.n=r=t[0],r.p=i}}Kt.invert=Kt;var ue=r();function fe(t){return p(t[0])<=s?t[0]:w(t[0])*((p(t[0])+s)%u-s)}function he(t,e){var r=fe(e),n=e[1],i=_(n),a=[_(r),-m(r),0],f=0,h=0;ue.reset(),1===i?n=l+o:-1===i&&(n=-l-o);for(var p=0,d=t.length;p<d;++p)if(y=(v=t[p]).length)for(var v,y,x=v[y-1],b=fe(x),w=x[1]/2+c,T=_(w),k=m(w),A=0;A<y;++A,b=E,T=C,k=P,x=S){var S=v[A],E=fe(S),L=S[1]/2+c,C=_(L),P=m(L),I=E-b,O=I>=0?1:-1,z=O*I,D=z>s,R=T*C;if(ue.add(g(R*O*_(z),k*P+R*m(z))),f+=D?I+O*u:I,D^b>=r^E>=r){var F=J(X(x),X(S));$(F);var B=J(a,F);$(B);var N=(D^I>=0?-1:1)*M(B[2]);(n>N||n===N&&(F[0]||F[1]))&&(h+=D^I>=0?1:-1)}}return(f<-o||f<o&&ue<-o)^1&h}function pe(t,r,n,i){return function(a){var o,s,l,c=r(a),u=ae(),f=r(u),h=!1,p={point:d,lineStart:m,lineEnd:v,polygonStart:function(){p.point=y,p.lineStart=x,p.lineEnd=b,s=[],o=[]},polygonEnd:function(){p.point=d,p.lineStart=m,p.lineEnd=v,s=e.merge(s);var t=he(o,i);s.length?(h||(a.polygonStart(),h=!0),le(s,ge,t,n,a)):t&&(h||(a.polygonStart(),h=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),h&&(a.polygonEnd(),h=!1),s=o=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function d(e,r){t(e,r)&&a.point(e,r)}function g(t,e){c.point(t,e)}function m(){p.point=g,c.lineStart()}function v(){p.point=d,c.lineEnd()}function y(t,e){l.push([t,e]),f.point(t,e)}function x(){f.lineStart(),l=[]}function b(){y(l[0][0],l[0][1]),f.lineEnd();var t,e,r,n,i=f.clean(),c=u.result(),p=c.length;if(l.pop(),o.push(l),l=null,p)if(1&i){if((e=(r=c[0]).length-1)>0){for(h||(a.polygonStart(),h=!0),a.lineStart(),t=0;t<e;++t)a.point((n=r[t])[0],n[1]);a.lineEnd()}}else p>1&&2&i&&c.push(c.pop().concat(c.shift())),s.push(c.filter(de))}return p}}function de(t){return t.length>1}function ge(t,e){return((t=t.x)[0]<0?t[1]-l-o:l-t[1])-((e=e.x)[0]<0?e[1]-l-o:l-e[1])}var me=pe((function(){return!0}),(function(t){var e,r=NaN,n=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,c){var u=a>0?s:-s,f=p(a-r);p(f-s)<o?(t.point(r,n=(n+c)/2>0?l:-l),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(u,n),t.point(a,n),e=0):i!==u&&f>=s&&(p(r-i)<o&&(r-=i*o),p(a-u)<o&&(a-=u*o),n=function(t,e,r,n){var i,a,s=_(t-r);return p(s)>o?d((_(e)*(a=m(n))*_(r)-_(n)*(i=m(e))*_(t))/(i*a*s)):(e+n)/2}(r,n,a,c),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(u,n),e=0),t.point(r=a,n=c),i=u},lineEnd:function(){t.lineEnd(),r=n=NaN},clean:function(){return 2-e}}}),(function(t,e,r,n){var i;if(null==t)i=r*l,n.point(-s,i),n.point(0,i),n.point(s,i),n.point(s,0),n.point(s,-i),n.point(0,-i),n.point(-s,-i),n.point(-s,0),n.point(-s,i);else if(p(t[0]-e[0])>o){var a=t[0]<e[0]?s:-s;i=r*a/2,n.point(-a,i),n.point(0,i),n.point(a,i)}else n.point(e[0],e[1])}),[-s,-l]);function ve(t){var e=m(t),r=6*h,n=e>0,i=p(e)>o;function a(t,r){return m(t)*m(r)>e}function l(t,r,n){var i=[1,0,0],a=J(X(t),X(r)),l=Z(a,a),c=a[0],u=l-c*c;if(!u)return!n&&t;var f=e*l/u,h=-e*c/u,d=J(i,a),g=Q(i,f);K(g,Q(a,h));var m=d,v=Z(g,m),y=Z(m,m),x=v*v-y*(Z(g,g)-1);if(!(x<0)){var b=T(x),_=Q(m,(-v-b)/y);if(K(_,g),_=W(_),!n)return _;var w,k=t[0],A=r[0],M=t[1],S=r[1];A<k&&(w=k,k=A,A=w);var E=A-k,L=p(E-s)<o;if(!L&&S<M&&(w=M,M=S,S=w),L||E<o?L?M+S>0^_[1]<(p(_[0]-k)<o?M:S):M<=_[1]&&_[1]<=S:E>s^(k<=_[0]&&_[0]<=A)){var C=Q(m,(-v+b)/y);return K(C,g),[_,W(C)]}}}function c(e,r){var i=n?t:s-t,a=0;return e<-i?a|=1:e>i&&(a|=2),r<-i?a|=4:r>i&&(a|=8),a}return pe(a,(function(t){var e,r,o,u,f;return{lineStart:function(){u=o=!1,f=1},point:function(h,p){var d,g=[h,p],m=a(h,p),v=n?m?0:c(h,p):m?c(h+(h<0?s:-s),p):0;if(!e&&(u=o=m)&&t.lineStart(),m!==o&&(!(d=l(e,g))||oe(e,d)||oe(g,d))&&(g[2]=1),m!==o)f=0,m?(t.lineStart(),d=l(g,e),t.point(d[0],d[1])):(d=l(e,g),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&n^m){var y;v&r||!(y=l(g,e,!0))||(f=0,n?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!m||e&&oe(e,g)||t.point(g[0],g[1]),e=g,o=m,r=v},lineEnd:function(){o&&t.lineEnd(),e=null},clean:function(){return f|(u&&o)<<1}}}),(function(e,n,i,a){ne(a,t,r,i,e,n)}),n?[0,-t]:[-s,t-s])}function ye(t,r,n,i){function a(e,a){return t<=e&&e<=n&&r<=a&&a<=i}function s(e,a,o,s){var c=0,f=0;if(null==e||(c=l(e,o))!==(f=l(a,o))||u(e,a)<0^o>0)do{s.point(0===c||3===c?t:n,c>1?i:r)}while((c=(c+o+4)%4)!==f);else s.point(a[0],a[1])}function l(e,i){return p(e[0]-t)<o?i>0?0:3:p(e[0]-n)<o?i>0?2:1:p(e[1]-r)<o?i>0?1:0:i>0?3:2}function c(t,e){return u(t.x,e.x)}function u(t,e){var r=l(t,1),n=l(e,1);return r!==n?r-n:0===r?e[1]-t[1]:1===r?t[0]-e[0]:2===r?t[1]-e[1]:e[0]-t[0]}return function(o){var l,u,f,h,p,d,g,m,v,y,x,b=o,_=ae(),w={point:T,lineStart:function(){w.point=k,u&&u.push(f=[]);y=!0,v=!1,g=m=NaN},lineEnd:function(){l&&(k(h,p),d&&v&&_.rejoin(),l.push(_.result()));w.point=T,v&&b.lineEnd()},polygonStart:function(){b=_,l=[],u=[],x=!0},polygonEnd:function(){var r=function(){for(var e=0,r=0,n=u.length;r<n;++r)for(var a,o,s=u[r],l=1,c=s.length,f=s[0],h=f[0],p=f[1];l<c;++l)a=h,o=p,f=s[l],h=f[0],p=f[1],o<=i?p>i&&(h-a)*(i-o)>(p-o)*(t-a)&&++e:p<=i&&(h-a)*(i-o)<(p-o)*(t-a)&&--e;return e}(),n=x&&r,a=(l=e.merge(l)).length;(n||a)&&(o.polygonStart(),n&&(o.lineStart(),s(null,null,1,o),o.lineEnd()),a&&le(l,c,r,s,o),o.polygonEnd());b=o,l=u=f=null}};function T(t,e){a(t,e)&&b.point(t,e)}function k(e,o){var s=a(e,o);if(u&&f.push([e,o]),y)h=e,p=o,d=s,y=!1,s&&(b.lineStart(),b.point(e,o));else if(s&&v)b.point(e,o);else{var l=[g=Math.max(-1e9,Math.min(1e9,g)),m=Math.max(-1e9,Math.min(1e9,m))],c=[e=Math.max(-1e9,Math.min(1e9,e)),o=Math.max(-1e9,Math.min(1e9,o))];!function(t,e,r,n,i,a){var o,s=t[0],l=t[1],c=0,u=1,f=e[0]-s,h=e[1]-l;if(o=r-s,f||!(o>0)){if(o/=f,f<0){if(o<c)return;o<u&&(u=o)}else if(f>0){if(o>u)return;o>c&&(c=o)}if(o=i-s,f||!(o<0)){if(o/=f,f<0){if(o>u)return;o>c&&(c=o)}else if(f>0){if(o<c)return;o<u&&(u=o)}if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o<c)return;o<u&&(u=o)}else if(h>0){if(o>u)return;o>c&&(c=o)}if(o=a-l,h||!(o<0)){if(o/=h,h<0){if(o>u)return;o>c&&(c=o)}else if(h>0){if(o<c)return;o<u&&(u=o)}return c>0&&(t[0]=s+c*f,t[1]=l+c*h),u<1&&(e[0]=s+u*f,e[1]=l+u*h),!0}}}}}(l,c,t,r,n,i)?s&&(b.lineStart(),b.point(e,o),x=!1):(v||(b.lineStart(),b.point(l[0],l[1])),b.point(c[0],c[1]),s||b.lineEnd(),x=!1)}g=e,m=o,v=s}return w}}var xe,be,_e,we=r(),Te={sphere:E,point:E,lineStart:function(){Te.point=Ae,Te.lineEnd=ke},lineEnd:E,polygonStart:E,polygonEnd:E};function ke(){Te.point=Te.lineEnd=E}function Ae(t,e){xe=t*=h,be=_(e*=h),_e=m(e),Te.point=Me}function Me(t,e){t*=h;var r=_(e*=h),n=m(e),i=p(t-xe),a=m(i),o=n*_(i),s=_e*r-be*n*a,l=be*r+_e*n*a;we.add(g(T(o*o+s*s),l)),xe=t,be=r,_e=n}function Se(t){return we.reset(),z(t,Te),+we}var Ee=[null,null],Le={type:"LineString",coordinates:Ee};function Ce(t,e){return Ee[0]=t,Ee[1]=e,Se(Le)}var Pe={Feature:function(t,e){return Oe(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)if(Oe(r[n].geometry,e))return!0;return!1}},Ie={Sphere:function(){return!0},Point:function(t,e){return ze(t.coordinates,e)},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(ze(r[n],e))return!0;return!1},LineString:function(t,e){return De(t.coordinates,e)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(De(r[n],e))return!0;return!1},Polygon:function(t,e){return Re(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(Re(r[n],e))return!0;return!1},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)if(Oe(r[n],e))return!0;return!1}};function Oe(t,e){return!(!t||!Ie.hasOwnProperty(t.type))&&Ie[t.type](t,e)}function ze(t,e){return 0===Ce(t,e)}function De(t,e){for(var r,n,i,a=0,o=t.length;a<o;a++){if(0===(n=Ce(t[a],e)))return!0;if(a>0&&(i=Ce(t[a],t[a-1]))>0&&r<=i&&n<=i&&(r+n-i)*(1-Math.pow((r-n)/i,2))<1e-12*i)return!0;r=n}return!1}function Re(t,e){return!!he(t.map(Fe),Be(e))}function Fe(t){return(t=t.map(Be)).pop(),t}function Be(t){return[t[0]*h,t[1]*h]}function Ne(t,r,n){var i=e.range(t,r-o,n).concat(r);return function(t){return i.map((function(e){return[t,e]}))}}function je(t,r,n){var i=e.range(t,r-o,n).concat(r);return function(t){return i.map((function(e){return[e,t]}))}}function Ue(){var t,r,n,i,a,s,l,c,u,f,h,d,g=10,m=g,y=90,x=360,b=2.5;function _(){return{type:"MultiLineString",coordinates:w()}}function w(){return e.range(v(i/y)*y,n,y).map(h).concat(e.range(v(c/x)*x,l,x).map(d)).concat(e.range(v(r/g)*g,t,g).filter((function(t){return p(t%y)>o})).map(u)).concat(e.range(v(s/m)*m,a,m).filter((function(t){return p(t%x)>o})).map(f))}return _.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},_.outline=function(){return{type:"Polygon",coordinates:[h(i).concat(d(l).slice(1),h(n).reverse().slice(1),d(c).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(i=+t[0][0],n=+t[1][0],c=+t[0][1],l=+t[1][1],i>n&&(t=i,i=n,n=t),c>l&&(t=c,c=l,l=t),_.precision(b)):[[i,c],[n,l]]},_.extentMinor=function(e){return arguments.length?(r=+e[0][0],t=+e[1][0],s=+e[0][1],a=+e[1][1],r>t&&(e=r,r=t,t=e),s>a&&(e=s,s=a,a=e),_.precision(b)):[[r,s],[t,a]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],x=+t[1],_):[y,x]},_.stepMinor=function(t){return arguments.length?(g=+t[0],m=+t[1],_):[g,m]},_.precision=function(e){return arguments.length?(b=+e,u=Ne(s,a,90),f=je(r,t,b),h=Ne(c,l,90),d=je(i,n,b),_):b},_.extentMajor([[-180,-90+o],[180,90-o]]).extentMinor([[-180,-80-o],[180,80+o]])}function Ve(t){return t}var He,qe,Ge,Ye,We=r(),Xe=r(),Ze={point:E,lineStart:E,lineEnd:E,polygonStart:function(){Ze.lineStart=Je,Ze.lineEnd=$e},polygonEnd:function(){Ze.lineStart=Ze.lineEnd=Ze.point=E,We.add(p(Xe)),Xe.reset()},result:function(){var t=We/2;return We.reset(),t}};function Je(){Ze.point=Ke}function Ke(t,e){Ze.point=Qe,He=Ge=t,qe=Ye=e}function Qe(t,e){Xe.add(Ye*t-Ge*e),Ge=t,Ye=e}function $e(){Qe(He,qe)}var tr=1/0,er=tr,rr=-tr,nr=rr,ir={point:function(t,e){t<tr&&(tr=t);t>rr&&(rr=t);e<er&&(er=e);e>nr&&(nr=e)},lineStart:E,lineEnd:E,polygonStart:E,polygonEnd:E,result:function(){var t=[[tr,er],[rr,nr]];return rr=nr=-(er=tr=1/0),t}};var ar,or,sr,lr,cr=0,ur=0,fr=0,hr=0,pr=0,dr=0,gr=0,mr=0,vr=0,yr={point:xr,lineStart:br,lineEnd:Tr,polygonStart:function(){yr.lineStart=kr,yr.lineEnd=Ar},polygonEnd:function(){yr.point=xr,yr.lineStart=br,yr.lineEnd=Tr},result:function(){var t=vr?[gr/vr,mr/vr]:dr?[hr/dr,pr/dr]:fr?[cr/fr,ur/fr]:[NaN,NaN];return cr=ur=fr=hr=pr=dr=gr=mr=vr=0,t}};function xr(t,e){cr+=t,ur+=e,++fr}function br(){yr.point=_r}function _r(t,e){yr.point=wr,xr(sr=t,lr=e)}function wr(t,e){var r=t-sr,n=e-lr,i=T(r*r+n*n);hr+=i*(sr+t)/2,pr+=i*(lr+e)/2,dr+=i,xr(sr=t,lr=e)}function Tr(){yr.point=xr}function kr(){yr.point=Mr}function Ar(){Sr(ar,or)}function Mr(t,e){yr.point=Sr,xr(ar=sr=t,or=lr=e)}function Sr(t,e){var r=t-sr,n=e-lr,i=T(r*r+n*n);hr+=i*(sr+t)/2,pr+=i*(lr+e)/2,dr+=i,gr+=(i=lr*t-sr*e)*(sr+t),mr+=i*(lr+e),vr+=3*i,xr(sr=t,lr=e)}function Er(t){this._context=t}Er.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,u)}},result:E};var Lr,Cr,Pr,Ir,Or,zr=r(),Dr={point:E,lineStart:function(){Dr.point=Rr},lineEnd:function(){Lr&&Fr(Cr,Pr),Dr.point=E},polygonStart:function(){Lr=!0},polygonEnd:function(){Lr=null},result:function(){var t=+zr;return zr.reset(),t}};function Rr(t,e){Dr.point=Fr,Cr=Ir=t,Pr=Or=e}function Fr(t,e){Ir-=t,Or-=e,zr.add(T(Ir*Ir+Or*Or)),Ir=t,Or=e}function Br(){this._string=[]}function Nr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function jr(t){return function(e){var r=new Ur;for(var n in t)r[n]=t[n];return r.stream=e,r}}function Ur(){}function Vr(t,e,r){var n=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=n&&t.clipExtent(null),z(r,t.stream(ir)),e(ir.result()),null!=n&&t.clipExtent(n),t}function Hr(t,e,r){return Vr(t,(function(r){var n=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(n/(r[1][0]-r[0][0]),i/(r[1][1]-r[0][1])),o=+e[0][0]+(n-a*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(i-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([o,s])}),r)}function qr(t,e,r){return Hr(t,[[0,0],e],r)}function Gr(t,e,r){return Vr(t,(function(r){var n=+e,i=n/(r[1][0]-r[0][0]),a=(n-i*(r[1][0]+r[0][0]))/2,o=-i*r[0][1];t.scale(150*i).translate([a,o])}),r)}function Yr(t,e,r){return Vr(t,(function(r){var n=+e,i=n/(r[1][1]-r[0][1]),a=-i*r[0][0],o=(n-i*(r[1][1]+r[0][1]))/2;t.scale(150*i).translate([a,o])}),r)}Br.prototype={_radius:4.5,_circle:Nr(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Nr(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Ur.prototype={constructor:Ur,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Wr=m(30*h);function Xr(t,e){return+e?function(t,e){function r(n,i,a,s,l,c,u,f,h,d,m,v,y,x){var b=u-n,_=f-i,w=b*b+_*_;if(w>4*e&&y--){var k=s+d,A=l+m,S=c+v,E=T(k*k+A*A+S*S),L=M(S/=E),C=p(p(S)-1)<o||p(a-h)<o?(a+h)/2:g(A,k),P=t(C,L),I=P[0],O=P[1],z=I-n,D=O-i,R=_*z-b*D;(R*R/w>e||p((b*z+_*D)/w-.5)>.3||s*d+l*m+c*v<Wr)&&(r(n,i,a,s,l,c,I,O,C,k/=E,A/=E,S,y,x),x.point(I,O),r(I,O,C,k,A,S,u,f,h,d,m,v,y,x))}}return function(e){var n,i,a,o,s,l,c,u,f,h,p,d,g={point:m,lineStart:v,lineEnd:x,polygonStart:function(){e.polygonStart(),g.lineStart=b},polygonEnd:function(){e.polygonEnd(),g.lineStart=v}};function m(r,n){r=t(r,n),e.point(r[0],r[1])}function v(){u=NaN,g.point=y,e.lineStart()}function y(n,i){var a=X([n,i]),o=t(n,i);r(u,f,c,h,p,d,u=o[0],f=o[1],c=n,h=a[0],p=a[1],d=a[2],16,e),e.point(u,f)}function x(){g.point=m,e.lineEnd()}function b(){v(),g.point=_,g.lineEnd=w}function _(t,e){y(n=t,e),i=u,a=f,o=h,s=p,l=d,g.point=y}function w(){r(u,f,c,h,p,d,i,a,n,o,s,l,16,e),g.lineEnd=x,x()}return g}}(t,e):function(t){return jr({point:function(e,r){e=t(e,r),this.stream.point(e[0],e[1])}})}(t)}var Zr=jr({point:function(t,e){this.stream.point(t*h,e*h)}});function Jr(t,e,r,n,i){function a(a,o){return[e+t*(a*=n),r-t*(o*=i)]}return a.invert=function(a,o){return[(a-e)/t*n,(r-o)/t*i]},a}function Kr(t,e,r,n,i,a){var o=m(a),s=_(a),l=o*t,c=s*t,u=o/t,f=s/t,h=(s*r-o*e)/t,p=(s*e+o*r)/t;function d(t,a){return[l*(t*=n)-c*(a*=i)+e,r-c*t-l*a]}return d.invert=function(t,e){return[n*(u*t-f*e+h),i*(p-f*t-u*e)]},d}function Qr(t){return $r((function(){return t}))()}function $r(t){var e,r,n,i,a,o,s,l,c,u,p=150,d=480,g=250,m=0,v=0,y=0,x=0,b=0,_=0,w=1,k=1,A=null,M=me,S=null,E=Ve,L=.5;function C(t){return l(t[0]*h,t[1]*h)}function P(t){return(t=l.invert(t[0],t[1]))&&[t[0]*f,t[1]*f]}function I(){var t=Kr(p,0,0,w,k,_).apply(null,e(m,v)),n=(_?Kr:Jr)(p,d-t[0],g-t[1],w,k,_);return r=Qt(y,x,b),s=Jt(e,n),l=Jt(r,s),o=Xr(s,L),O()}function O(){return c=u=null,C}return C.stream=function(t){return c&&u===t?c:c=Zr(function(t){return jr({point:function(e,r){var n=t(e,r);return this.stream.point(n[0],n[1])}})}(r)(M(o(E(u=t)))))},C.preclip=function(t){return arguments.length?(M=t,A=void 0,O()):M},C.postclip=function(t){return arguments.length?(E=t,S=n=i=a=null,O()):E},C.clipAngle=function(t){return arguments.length?(M=+t?ve(A=t*h):(A=null,me),O()):A*f},C.clipExtent=function(t){return arguments.length?(E=null==t?(S=n=i=a=null,Ve):ye(S=+t[0][0],n=+t[0][1],i=+t[1][0],a=+t[1][1]),O()):null==S?null:[[S,n],[i,a]]},C.scale=function(t){return arguments.length?(p=+t,I()):p},C.translate=function(t){return arguments.length?(d=+t[0],g=+t[1],I()):[d,g]},C.center=function(t){return arguments.length?(m=t[0]%360*h,v=t[1]%360*h,I()):[m*f,v*f]},C.rotate=function(t){return arguments.length?(y=t[0]%360*h,x=t[1]%360*h,b=t.length>2?t[2]%360*h:0,I()):[y*f,x*f,b*f]},C.angle=function(t){return arguments.length?(_=t%360*h,I()):_*f},C.reflectX=function(t){return arguments.length?(w=t?-1:1,I()):w<0},C.reflectY=function(t){return arguments.length?(k=t?-1:1,I()):k<0},C.precision=function(t){return arguments.length?(o=Xr(s,L=t*t),O()):T(L)},C.fitExtent=function(t,e){return Hr(C,t,e)},C.fitSize=function(t,e){return qr(C,t,e)},C.fitWidth=function(t,e){return Gr(C,t,e)},C.fitHeight=function(t,e){return Yr(C,t,e)},function(){return e=t.apply(this,arguments),C.invert=e.invert&&P,I()}}function tn(t){var e=0,r=s/3,n=$r(t),i=n(e,r);return i.parallels=function(t){return arguments.length?n(e=t[0]*h,r=t[1]*h):[e*f,r*f]},i}function en(t,e){var r=_(t),n=(r+_(e))/2;if(p(n)<o)return function(t){var e=m(t);function r(t,r){return[t*e,_(r)/e]}return r.invert=function(t,r){return[t/e,M(r*e)]},r}(t);var i=1+r*(2*n-r),a=T(i)/n;function l(t,e){var r=T(i-2*n*_(e))/n;return[r*_(t*=n),a-r*m(t)]}return l.invert=function(t,e){var r=a-e,o=g(t,p(r))*w(r);return r*n<0&&(o-=s*w(t)*w(r)),[o/n,M((i-(t*t+r*r)*n*n)/(2*n))]},l}function rn(){return tn(en).scale(155.424).center([0,33.6442])}function nn(){return rn().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function an(t){return function(e,r){var n=m(e),i=m(r),a=t(n*i);return[a*i*_(e),a*_(r)]}}function on(t){return function(e,r){var n=T(e*e+r*r),i=t(n),a=_(i),o=m(i);return[g(e*a,n*o),M(n&&r*a/n)]}}var sn=an((function(t){return T(2/(1+t))}));sn.invert=on((function(t){return 2*M(t/2)}));var ln=an((function(t){return(t=A(t))&&t/_(t)}));function cn(t,e){return[t,x(k((l+e)/2))]}function un(t){var e,r,n,i=Qr(t),a=i.center,o=i.scale,l=i.translate,c=i.clipExtent,u=null;function f(){var a=s*o(),l=i(re(i.rotate()).invert([0,0]));return c(null==u?[[l[0]-a,l[1]-a],[l[0]+a,l[1]+a]]:t===cn?[[Math.max(l[0]-a,u),e],[Math.min(l[0]+a,r),n]]:[[u,Math.max(l[1]-a,e)],[r,Math.min(l[1]+a,n)]])}return i.scale=function(t){return arguments.length?(o(t),f()):o()},i.translate=function(t){return arguments.length?(l(t),f()):l()},i.center=function(t){return arguments.length?(a(t),f()):a()},i.clipExtent=function(t){return arguments.length?(null==t?u=e=r=n=null:(u=+t[0][0],e=+t[0][1],r=+t[1][0],n=+t[1][1]),f()):null==u?null:[[u,e],[r,n]]},f()}function fn(t){return k((l+t)/2)}function hn(t,e){var r=m(t),n=t===e?_(t):x(r/m(e))/x(fn(e)/fn(t)),i=r*b(fn(t),n)/n;if(!n)return cn;function a(t,e){i>0?e<-l+o&&(e=-l+o):e>l-o&&(e=l-o);var r=i/b(fn(e),n);return[r*_(n*t),i-r*m(n*t)]}return a.invert=function(t,e){var r=i-e,a=w(n)*T(t*t+r*r),o=g(t,p(r))*w(r);return r*n<0&&(o-=s*w(t)*w(r)),[o/n,2*d(b(i/a,1/n))-l]},a}function pn(t,e){return[t,e]}function dn(t,e){var r=m(t),n=t===e?_(t):(r-m(e))/(e-t),i=r/n+t;if(p(n)<o)return pn;function a(t,e){var r=i-e,a=n*t;return[r*_(a),i-r*m(a)]}return a.invert=function(t,e){var r=i-e,a=g(t,p(r))*w(r);return r*n<0&&(a-=s*w(t)*w(r)),[a/n,i-w(n)*T(t*t+r*r)]},a}ln.invert=on((function(t){return t})),cn.invert=function(t,e){return[t,2*d(y(e))-l]},pn.invert=pn;var gn=1.340264,mn=-.081106,vn=893e-6,yn=.003796,xn=T(3)/2;function bn(t,e){var r=M(xn*_(e)),n=r*r,i=n*n*n;return[t*m(r)/(xn*(gn+3*mn*n+i*(7*vn+9*yn*n))),r*(gn+mn*n+i*(vn+yn*n))]}function _n(t,e){var r=m(e),n=m(t)*r;return[r*_(t)/n,_(e)/n]}function wn(t,e){var r=e*e,n=r*r;return[t*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791)),e*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))]}function Tn(t,e){return[m(e)*_(t),_(e)]}function kn(t,e){var r=m(e),n=1+m(t)*r;return[r*_(t)/n,_(e)/n]}function An(t,e){return[x(k((l+e)/2)),-t]}bn.invert=function(t,e){for(var r,n=e,i=n*n,a=i*i*i,o=0;o<12&&(a=(i=(n-=r=(n*(gn+mn*i+a*(vn+yn*i))-e)/(gn+3*mn*i+a*(7*vn+9*yn*i)))*n)*i*i,!(p(r)<1e-12));++o);return[xn*t*(gn+3*mn*i+a*(7*vn+9*yn*i))/m(n),M(_(n)/xn)]},_n.invert=on(d),wn.invert=function(t,e){var r,n=e,i=25;do{var a=n*n,s=a*a;n-=r=(n*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-e)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while(p(r)>o&&--i>0);return[t/(.8707+(a=n*n)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),n]},Tn.invert=on(M),kn.invert=on((function(t){return 2*d(t)})),An.invert=function(t,e){return[-e,2*d(y(t))-l]},t.geoAlbers=nn,t.geoAlbersUsa=function(){var t,e,r,n,i,a,s=nn(),l=rn().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=rn().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){a=[t,e]}};function f(t){var e=t[0],o=t[1];return a=null,r.point(e,o),a||(n.point(e,o),a)||(i.point(e,o),a)}function h(){return t=e=null,f}return f.invert=function(t){var e=s.scale(),r=s.translate(),n=(t[0]-r[0])/e,i=(t[1]-r[1])/e;return(i>=.12&&i<.234&&n>=-.425&&n<-.214?l:i>=.166&&i<.234&&n>=-.214&&n<-.115?c:s).invert(t)},f.stream=function(r){return t&&e===r?t:(n=[s.stream(e=r),l.stream(r),c.stream(r)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},f.precision=function(t){return arguments.length?(s.precision(t),l.precision(t),c.precision(t),h()):s.precision()},f.scale=function(t){return arguments.length?(s.scale(t),l.scale(.35*t),c.scale(t),f.translate(s.translate())):s.scale()},f.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),a=+t[0],f=+t[1];return r=s.translate(t).clipExtent([[a-.455*e,f-.238*e],[a+.455*e,f+.238*e]]).stream(u),n=l.translate([a-.307*e,f+.201*e]).clipExtent([[a-.425*e+o,f+.12*e+o],[a-.214*e-o,f+.234*e-o]]).stream(u),i=c.translate([a-.205*e,f+.212*e]).clipExtent([[a-.214*e+o,f+.166*e+o],[a-.115*e-o,f+.234*e-o]]).stream(u),h()},f.fitExtent=function(t,e){return Hr(f,t,e)},f.fitSize=function(t,e){return qr(f,t,e)},f.fitWidth=function(t,e){return Gr(f,t,e)},f.fitHeight=function(t,e){return Yr(f,t,e)},f.scale(1070)},t.geoArea=function(t){return U.reset(),z(t,V),2*U},t.geoAzimuthalEqualArea=function(){return Qr(sn).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=sn,t.geoAzimuthalEquidistant=function(){return Qr(ln).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=ln,t.geoBounds=function(t){var e,r,n,i,a,o,s;if(nt=rt=-(tt=et=1/0),lt=[],z(t,St),r=lt.length){for(lt.sort(Rt),e=1,a=[n=lt[0]];e<r;++e)Ft(n,(i=lt[e])[0])||Ft(n,i[1])?(Dt(n[0],i[1])>Dt(n[0],n[1])&&(n[1]=i[1]),Dt(i[0],n[1])>Dt(n[0],n[1])&&(n[0]=i[0])):a.push(n=i);for(o=-1/0,e=0,n=a[r=a.length-1];e<=r;n=i,++e)i=a[e],(s=Dt(n[1],i[0]))>o&&(o=s,tt=i[0],rt=n[1])}return lt=ct=null,tt===1/0||et===1/0?[[NaN,NaN],[NaN,NaN]]:[[tt,et],[rt,nt]]},t.geoCentroid=function(t){ut=ft=ht=pt=dt=gt=mt=vt=yt=xt=bt=0,z(t,Bt);var e=yt,r=xt,n=bt,i=e*e+r*r+n*n;return i<1e-12&&(e=gt,r=mt,n=vt,ft<o&&(e=ht,r=pt,n=dt),(i=e*e+r*r+n*n)<1e-12)?[NaN,NaN]:[g(r,e)*f,M(n/T(i))*f]},t.geoCircle=function(){var t,e,r=Zt([0,0]),n=Zt(90),i=Zt(6),a={point:function(r,n){t.push(r=e(r,n)),r[0]*=f,r[1]*=f}};function o(){var o=r.apply(this,arguments),s=n.apply(this,arguments)*h,l=i.apply(this,arguments)*h;return t=[],e=Qt(-o[0]*h,-o[1]*h,0).invert,ne(a,s,l,1),o={type:"Polygon",coordinates:[t]},t=e=null,o}return o.center=function(t){return arguments.length?(r="function"==typeof t?t:Zt([+t[0],+t[1]]),o):r},o.radius=function(t){return arguments.length?(n="function"==typeof t?t:Zt(+t),o):n},o.precision=function(t){return arguments.length?(i="function"==typeof t?t:Zt(+t),o):i},o},t.geoClipAntimeridian=me,t.geoClipCircle=ve,t.geoClipExtent=function(){var t,e,r,n=0,i=0,a=960,o=500;return r={stream:function(r){return t&&e===r?t:t=ye(n,i,a,o)(e=r)},extent:function(s){return arguments.length?(n=+s[0][0],i=+s[0][1],a=+s[1][0],o=+s[1][1],t=e=null,r):[[n,i],[a,o]]}}},t.geoClipRectangle=ye,t.geoConicConformal=function(){return tn(hn).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=hn,t.geoConicEqualArea=rn,t.geoConicEqualAreaRaw=en,t.geoConicEquidistant=function(){return tn(dn).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=dn,t.geoContains=function(t,e){return(t&&Pe.hasOwnProperty(t.type)?Pe[t.type]:Oe)(t,e)},t.geoDistance=Ce,t.geoEqualEarth=function(){return Qr(bn).scale(177.158)},t.geoEqualEarthRaw=bn,t.geoEquirectangular=function(){return Qr(pn).scale(152.63)},t.geoEquirectangularRaw=pn,t.geoGnomonic=function(){return Qr(_n).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=_n,t.geoGraticule=Ue,t.geoGraticule10=function(){return Ue()()},t.geoIdentity=function(){var t,e,r,n,i,a,o,s=1,l=0,c=0,u=1,p=1,d=0,g=null,v=1,y=1,x=jr({point:function(t,e){var r=T([t,e]);this.stream.point(r[0],r[1])}}),b=Ve;function w(){return v=s*u,y=s*p,a=o=null,T}function T(r){var n=r[0]*v,i=r[1]*y;if(d){var a=i*t-n*e;n=n*t+i*e,i=a}return[n+l,i+c]}return T.invert=function(r){var n=r[0]-l,i=r[1]-c;if(d){var a=i*t+n*e;n=n*t-i*e,i=a}return[n/v,i/y]},T.stream=function(t){return a&&o===t?a:a=x(b(o=t))},T.postclip=function(t){return arguments.length?(b=t,g=r=n=i=null,w()):b},T.clipExtent=function(t){return arguments.length?(b=null==t?(g=r=n=i=null,Ve):ye(g=+t[0][0],r=+t[0][1],n=+t[1][0],i=+t[1][1]),w()):null==g?null:[[g,r],[n,i]]},T.scale=function(t){return arguments.length?(s=+t,w()):s},T.translate=function(t){return arguments.length?(l=+t[0],c=+t[1],w()):[l,c]},T.angle=function(r){return arguments.length?(e=_(d=r%360*h),t=m(d),w()):d*f},T.reflectX=function(t){return arguments.length?(u=t?-1:1,w()):u<0},T.reflectY=function(t){return arguments.length?(p=t?-1:1,w()):p<0},T.fitExtent=function(t,e){return Hr(T,t,e)},T.fitSize=function(t,e){return qr(T,t,e)},T.fitWidth=function(t,e){return Gr(T,t,e)},T.fitHeight=function(t,e){return Yr(T,t,e)},T},t.geoInterpolate=function(t,e){var r=t[0]*h,n=t[1]*h,i=e[0]*h,a=e[1]*h,o=m(n),s=_(n),l=m(a),c=_(a),u=o*m(r),p=o*_(r),d=l*m(i),v=l*_(i),y=2*M(T(S(a-n)+o*l*S(i-r))),x=_(y),b=y?function(t){var e=_(t*=y)/x,r=_(y-t)/x,n=r*u+e*d,i=r*p+e*v,a=r*s+e*c;return[g(i,n)*f,g(a,T(n*n+i*i))*f]}:function(){return[r*f,n*f]};return b.distance=y,b},t.geoLength=Se,t.geoMercator=function(){return un(cn).scale(961/u)},t.geoMercatorRaw=cn,t.geoNaturalEarth1=function(){return Qr(wn).scale(175.295)},t.geoNaturalEarth1Raw=wn,t.geoOrthographic=function(){return Qr(Tn).scale(249.5).clipAngle(90+o)},t.geoOrthographicRaw=Tn,t.geoPath=function(t,e){var r,n,i=4.5;function a(t){return t&&("function"==typeof i&&n.pointRadius(+i.apply(this,arguments)),z(t,r(n))),n.result()}return a.area=function(t){return z(t,r(Ze)),Ze.result()},a.measure=function(t){return z(t,r(Dr)),Dr.result()},a.bounds=function(t){return z(t,r(ir)),ir.result()},a.centroid=function(t){return z(t,r(yr)),yr.result()},a.projection=function(e){return arguments.length?(r=null==e?(t=null,Ve):(t=e).stream,a):t},a.context=function(t){return arguments.length?(n=null==t?(e=null,new Br):new Er(e=t),"function"!=typeof i&&n.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(n.pointRadius(+t),+t),a):i},a.projection(t).context(e)},t.geoProjection=Qr,t.geoProjectionMutator=$r,t.geoRotation=re,t.geoStereographic=function(){return Qr(kn).scale(250).clipAngle(142)},t.geoStereographicRaw=kn,t.geoStream=z,t.geoTransform=function(t){return{stream:jr(t)}},t.geoTransverseMercator=function(){var t=un(An),e=t.center,r=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?r([t[0],t[1],t.length>2?t[2]+90:90]):[(t=r())[0],t[1],t[2]-90]},r([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=An,Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-array":107}],115:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";function e(t,e){return t.parent===e.parent?1:2}function r(t,e){return t+e.x}function n(t,e){return Math.max(t,e.y)}function i(t){var e=0,r=t.children,n=r&&r.length;if(n)for(;--n>=0;)e+=r[n].value;else e=1;t.value=e}function a(t,e){var r,n,i,a,s,u=new c(t),f=+t.value&&(u.value=t.value),h=[u];for(null==e&&(e=o);r=h.pop();)if(f&&(r.value=+r.data.value),(i=e(r.data))&&(s=i.length))for(r.children=new Array(s),a=s-1;a>=0;--a)h.push(n=r.children[a]=new c(i[a])),n.parent=r,n.depth=r.depth+1;return u.eachBefore(l)}function o(t){return t.children}function s(t){t.data=t.data.data}function l(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}c.prototype=a.prototype={constructor:c,count:function(){return this.eachAfter(i)},each:function(t){var e,r,n,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),r=a.children)for(n=0,i=r.length;n<i;++n)o.push(r[n])}while(o.length);return this},eachAfter:function(t){for(var e,r,n,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),e=i.children)for(r=0,n=e.length;r<n;++r)a.push(e[r]);for(;i=o.pop();)t(i);return this},eachBefore:function(t){for(var e,r,n=this,i=[n];n=i.pop();)if(t(n),e=n.children)for(r=e.length-1;r>=0;--r)i.push(e[r]);return this},sum:function(t){return this.eachAfter((function(e){for(var r=+t(e.data)||0,n=e.children,i=n&&n.length;--i>=0;)r+=n[i].value;e.value=r}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),i=null;t=r.pop(),e=n.pop();for(;t===e;)i=t,t=r.pop(),e=n.pop();return i}(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(r){r!==t&&e.push({source:r.parent,target:r})})),e},copy:function(){return a(this).eachBefore(s)}};var u=Array.prototype.slice;function f(t){for(var e,r,n=0,i=(t=function(t){for(var e,r,n=t.length;n;)r=Math.random()*n--|0,e=t[n],t[n]=t[r],t[r]=e;return t}(u.call(t))).length,a=[];n<i;)e=t[n],r&&d(r,e)?++n:(r=m(a=h(a,e)),n=0);return r}function h(t,e){var r,n;if(g(e,t))return[e];for(r=0;r<t.length;++r)if(p(e,t[r])&&g(v(t[r],e),t))return[t[r],e];for(r=0;r<t.length-1;++r)for(n=r+1;n<t.length;++n)if(p(v(t[r],t[n]),e)&&p(v(t[r],e),t[n])&&p(v(t[n],e),t[r])&&g(y(t[r],t[n],e),t))return[t[r],t[n],e];throw new Error}function p(t,e){var r=t.r-e.r,n=e.x-t.x,i=e.y-t.y;return r<0||r*r<n*n+i*i}function d(t,e){var r=t.r-e.r+1e-6,n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function g(t,e){for(var r=0;r<e.length;++r)if(!d(t,e[r]))return!1;return!0}function m(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return v(t[0],t[1]);case 3:return y(t[0],t[1],t[2])}var e}function v(t,e){var r=t.x,n=t.y,i=t.r,a=e.x,o=e.y,s=e.r,l=a-r,c=o-n,u=s-i,f=Math.sqrt(l*l+c*c);return{x:(r+a+l/f*u)/2,y:(n+o+c/f*u)/2,r:(f+i+s)/2}}function y(t,e,r){var n=t.x,i=t.y,a=t.r,o=e.x,s=e.y,l=e.r,c=r.x,u=r.y,f=r.r,h=n-o,p=n-c,d=i-s,g=i-u,m=l-a,v=f-a,y=n*n+i*i-a*a,x=y-o*o-s*s+l*l,b=y-c*c-u*u+f*f,_=p*d-h*g,w=(d*b-g*x)/(2*_)-n,T=(g*m-d*v)/_,k=(p*x-h*b)/(2*_)-i,A=(h*v-p*m)/_,M=T*T+A*A-1,S=2*(a+w*T+k*A),E=w*w+k*k-a*a,L=-(M?(S+Math.sqrt(S*S-4*M*E))/(2*M):E/S);return{x:n+w+T*L,y:i+k+A*L,r:L}}function x(t,e,r){var n,i,a,o,s=t.x-e.x,l=t.y-e.y,c=s*s+l*l;c?(i=e.r+r.r,i*=i,o=t.r+r.r,i>(o*=o)?(n=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-n*n)),r.x=t.x-n*s-a*l,r.y=t.y-n*l+a*s):(n=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-n*n)),r.x=e.x+n*s-a*l,r.y=e.y+n*l+a*s)):(r.x=e.x+r.r,r.y=e.y)}function b(t,e){var r=t.r+e.r-1e-6,n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function _(t){var e=t._,r=t.next._,n=e.r+r.r,i=(e.x*r.r+r.x*e.r)/n,a=(e.y*r.r+r.y*e.r)/n;return i*i+a*a}function w(t){this._=t,this.next=null,this.previous=null}function T(t){if(!(i=t.length))return 0;var e,r,n,i,a,o,s,l,c,u,h;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(i>2))return e.r+r.r;x(r,e,n=t[2]),e=new w(e),r=new w(r),n=new w(n),e.next=n.previous=r,r.next=e.previous=n,n.next=r.previous=e;t:for(s=3;s<i;++s){x(e._,r._,n=t[s]),n=new w(n),l=r.next,c=e.previous,u=r._.r,h=e._.r;do{if(u<=h){if(b(l._,n._)){r=l,e.next=r,r.previous=e,--s;continue t}u+=l._.r,l=l.next}else{if(b(c._,n._)){(e=c).next=r,r.previous=e,--s;continue t}h+=c._.r,c=c.previous}}while(l!==c.next);for(n.previous=e,n.next=r,e.next=r.previous=r=n,a=_(e);(n=n.next)!==r;)(o=_(n))<a&&(e=n,a=o);r=e.next}for(e=[r._],n=r;(n=n.next)!==r;)e.push(n._);for(n=f(e),s=0;s<i;++s)(e=t[s]).x-=n.x,e.y-=n.y;return n.r}function k(t){return null==t?null:A(t)}function A(t){if("function"!=typeof t)throw new Error;return t}function M(){return 0}function S(t){return function(){return t}}function E(t){return Math.sqrt(t.value)}function L(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function C(t,e){return function(r){if(n=r.children){var n,i,a,o=n.length,s=t(r)*e||0;if(s)for(i=0;i<o;++i)n[i].r+=s;if(a=T(n),s)for(i=0;i<o;++i)n[i].r-=s;r.r=a+s}}}function P(t){return function(e){var r=e.parent;e.r*=t,r&&(e.x=r.x+t*e.x,e.y=r.y+t*e.y)}}function I(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function O(t,e,r,n,i){for(var a,o=t.children,s=-1,l=o.length,c=t.value&&(n-e)/t.value;++s<l;)(a=o[s]).y0=r,a.y1=i,a.x0=e,a.x1=e+=a.value*c}var z={depth:-1},D={};function R(t){return t.id}function F(t){return t.parentId}function B(t,e){return t.parent===e.parent?1:2}function N(t){var e=t.children;return e?e[0]:t.t}function j(t){var e=t.children;return e?e[e.length-1]:t.t}function U(t,e,r){var n=r/(e.i-t.i);e.c-=n,e.s+=r,t.c+=n,e.z+=r,e.m+=r}function V(t,e,r){return t.a.parent===e.parent?t.a:r}function H(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function q(t,e,r,n,i){for(var a,o=t.children,s=-1,l=o.length,c=t.value&&(i-r)/t.value;++s<l;)(a=o[s]).x0=e,a.x1=n,a.y0=r,a.y1=r+=a.value*c}H.prototype=Object.create(c.prototype);var G=(1+Math.sqrt(5))/2;function Y(t,e,r,n,i,a){for(var o,s,l,c,u,f,h,p,d,g,m,v=[],y=e.children,x=0,b=0,_=y.length,w=e.value;x<_;){l=i-r,c=a-n;do{u=y[b++].value}while(!u&&b<_);for(f=h=u,m=u*u*(g=Math.max(c/l,l/c)/(w*t)),d=Math.max(h/m,m/f);b<_;++b){if(u+=s=y[b].value,s<f&&(f=s),s>h&&(h=s),m=u*u*g,(p=Math.max(h/m,m/f))>d){u-=s;break}d=p}v.push(o={value:u,dice:l<c,children:y.slice(x,b)}),o.dice?O(o,r,n,i,w?n+=c*u/w:a):q(o,r,n,w?r+=l*u/w:i,a),w-=u,x=b}return v}var W=function t(e){function r(t,r,n,i,a){Y(e,t,r,n,i,a)}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(G);var X=function t(e){function r(t,r,n,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,s,l,c,u,f=-1,h=o.length,p=t.value;++f<h;){for(l=(s=o[f]).children,c=s.value=0,u=l.length;c<u;++c)s.value+=l[c].value;s.dice?O(s,r,n,i,n+=(a-n)*s.value/p):q(s,r,n,r+=(i-r)*s.value/p,a),p-=s.value}else t._squarify=o=Y(e,t,r,n,i,a),o.ratio=e}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(G);t.cluster=function(){var t=e,i=1,a=1,o=!1;function s(e){var s,l=0;e.eachAfter((function(e){var i=e.children;i?(e.x=function(t){return t.reduce(r,0)/t.length}(i),e.y=function(t){return 1+t.reduce(n,0)}(i)):(e.x=s?l+=t(e,s):0,e.y=0,s=e)}));var c=function(t){for(var e;e=t.children;)t=e[0];return t}(e),u=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(e),f=c.x-t(c,u)/2,h=u.x+t(u,c)/2;return e.eachAfter(o?function(t){t.x=(t.x-e.x)*i,t.y=(e.y-t.y)*a}:function(t){t.x=(t.x-f)/(h-f)*i,t.y=(1-(e.y?t.y/e.y:1))*a})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(o=!1,i=+t[0],a=+t[1],s):o?null:[i,a]},s.nodeSize=function(t){return arguments.length?(o=!0,i=+t[0],a=+t[1],s):o?[i,a]:null},s},t.hierarchy=a,t.pack=function(){var t=null,e=1,r=1,n=M;function i(i){return i.x=e/2,i.y=r/2,t?i.eachBefore(L(t)).eachAfter(C(n,.5)).eachBefore(P(1)):i.eachBefore(L(E)).eachAfter(C(M,1)).eachAfter(C(n,i.r/Math.min(e,r))).eachBefore(P(Math.min(e,r)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=k(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],r=+t[1],i):[e,r]},i.padding=function(t){return arguments.length?(n="function"==typeof t?t:S(+t),i):n},i},t.packEnclose=f,t.packSiblings=function(t){return T(t),t},t.partition=function(){var t=1,e=1,r=0,n=!1;function i(i){var a=i.height+1;return i.x0=i.y0=r,i.x1=t,i.y1=e/a,i.eachBefore(function(t,e){return function(n){n.children&&O(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var i=n.x0,a=n.y0,o=n.x1-r,s=n.y1-r;o<i&&(i=o=(i+o)/2),s<a&&(a=s=(a+s)/2),n.x0=i,n.y0=a,n.x1=o,n.y1=s}}(e,a)),n&&i.eachBefore(I),i}return i.round=function(t){return arguments.length?(n=!!t,i):n},i.size=function(r){return arguments.length?(t=+r[0],e=+r[1],i):[t,e]},i.padding=function(t){return arguments.length?(r=+t,i):r},i},t.stratify=function(){var t=R,e=F;function r(r){var n,i,a,o,s,u,f,h=r.length,p=new Array(h),d={};for(i=0;i<h;++i)n=r[i],s=p[i]=new c(n),null!=(u=t(n,i,r))&&(u+="")&&(d[f="$"+(s.id=u)]=f in d?D:s);for(i=0;i<h;++i)if(s=p[i],null!=(u=e(r[i],i,r))&&(u+="")){if(!(o=d["$"+u]))throw new Error("missing: "+u);if(o===D)throw new Error("ambiguous: "+u);o.children?o.children.push(s):o.children=[s],s.parent=o}else{if(a)throw new Error("multiple roots");a=s}if(!a)throw new Error("no root");if(a.parent=z,a.eachBefore((function(t){t.depth=t.parent.depth+1,--h})).eachBefore(l),a.parent=null,h>0)throw new Error("cycle");return a}return r.id=function(e){return arguments.length?(t=A(e),r):t},r.parentId=function(t){return arguments.length?(e=A(t),r):e},r},t.tree=function(){var t=B,e=1,r=1,n=null;function i(i){var l=function(t){for(var e,r,n,i,a,o=new H(t,0),s=[o];e=s.pop();)if(n=e._.children)for(e.children=new Array(a=n.length),i=a-1;i>=0;--i)s.push(r=e.children[i]=new H(n[i],i)),r.parent=e;return(o.parent=new H(null,0)).children=[o],o}(i);if(l.eachAfter(a),l.parent.m=-l.z,l.eachBefore(o),n)i.eachBefore(s);else{var c=i,u=i,f=i;i.eachBefore((function(t){t.x<c.x&&(c=t),t.x>u.x&&(u=t),t.depth>f.depth&&(f=t)}));var h=c===u?1:t(c,u)/2,p=h-c.x,d=e/(u.x+h+p),g=r/(f.depth||1);i.eachBefore((function(t){t.x=(t.x+p)*d,t.y=t.depth*g}))}return i}function a(e){var r=e.children,n=e.parent.children,i=e.i?n[e.i-1]:null;if(r){!function(t){for(var e,r=0,n=0,i=t.children,a=i.length;--a>=0;)(e=i[a]).z+=r,e.m+=r,r+=e.s+(n+=e.c)}(e);var a=(r[0].z+r[r.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,r,n){if(r){for(var i,a=e,o=e,s=r,l=a.parent.children[0],c=a.m,u=o.m,f=s.m,h=l.m;s=j(s),a=N(a),s&&a;)l=N(l),(o=j(o)).a=e,(i=s.z+f-a.z-c+t(s._,a._))>0&&(U(V(s,e,n),e,i),c+=i,u+=i),f+=s.m,c+=a.m,h+=l.m,u+=o.m;s&&!j(o)&&(o.t=s,o.m+=f-u),a&&!N(l)&&(l.t=a,l.m+=c-h,n=e)}return n}(e,i,e.parent.A||n[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*r}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(n=!1,e=+t[0],r=+t[1],i):n?null:[e,r]},i.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],r=+t[1],i):n?[e,r]:null},i},t.treemap=function(){var t=W,e=!1,r=1,n=1,i=[0],a=M,o=M,s=M,l=M,c=M;function u(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(f),i=[0],e&&t.eachBefore(I),t}function f(e){var r=i[e.depth],n=e.x0+r,u=e.y0+r,f=e.x1-r,h=e.y1-r;f<n&&(n=f=(n+f)/2),h<u&&(u=h=(u+h)/2),e.x0=n,e.y0=u,e.x1=f,e.y1=h,e.children&&(r=i[e.depth+1]=a(e)/2,n+=c(e)-r,u+=o(e)-r,(f-=s(e)-r)<n&&(n=f=(n+f)/2),(h-=l(e)-r)<u&&(u=h=(u+h)/2),t(e,n,u,f,h))}return u.round=function(t){return arguments.length?(e=!!t,u):e},u.size=function(t){return arguments.length?(r=+t[0],n=+t[1],u):[r,n]},u.tile=function(e){return arguments.length?(t=A(e),u):t},u.padding=function(t){return arguments.length?u.paddingInner(t).paddingOuter(t):u.paddingInner()},u.paddingInner=function(t){return arguments.length?(a="function"==typeof t?t:S(+t),u):a},u.paddingOuter=function(t){return arguments.length?u.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):u.paddingTop()},u.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:S(+t),u):o},u.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:S(+t),u):s},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:S(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:S(+t),u):c},u},t.treemapBinary=function(t,e,r,n,i){var a,o,s=t.children,l=s.length,c=new Array(l+1);for(c[0]=o=a=0;a<l;++a)c[a+1]=o+=s[a].value;!function t(e,r,n,i,a,o,l){if(e>=r-1){var u=s[e];return u.x0=i,u.y0=a,u.x1=o,void(u.y1=l)}var f=c[e],h=n/2+f,p=e+1,d=r-1;for(;p<d;){var g=p+d>>>1;c[g]<h?p=g+1:d=g}h-c[p-1]<c[p]-h&&e+1<p&&--p;var m=c[p]-f,v=n-m;if(o-i>l-a){var y=(i*v+o*m)/n;t(e,p,m,i,a,y,l),t(p,r,v,y,a,o,l)}else{var x=(a*v+l*m)/n;t(e,p,m,i,a,o,x),t(p,r,v,i,x,o,l)}}(0,l,t.value,e,r,n,i)},t.treemapDice=O,t.treemapResquarify=X,t.treemapSlice=q,t.treemapSliceDice=function(t,e,r,n,i){(1&t.depth?q:O)(t,e,r,n,i)},t.treemapSquarify=W,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],116:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-color")):i((n=n||self).d3=n.d3||{},n.d3)}(this,(function(t,e){"use strict";function r(t,e,r,n,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*n+o*i)/6}function n(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),a=t[i],o=t[i+1],s=i>0?t[i-1]:2*a-o,l=i<e-1?t[i+2]:2*o-a;return r((n-i/e)*e,s,a,o,l)}}function i(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e),a=t[(i+e-1)%e],o=t[i%e],s=t[(i+1)%e],l=t[(i+2)%e];return r((n-i/e)*e,a,o,s,l)}}function a(t){return function(){return t}}function o(t,e){return function(r){return t+r*e}}function s(t,e){var r=e-t;return r?o(t,r>180||r<-180?r-360*Math.round(r/360):r):a(isNaN(t)?e:t)}function l(t){return 1==(t=+t)?c:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):a(isNaN(e)?r:e)}}function c(t,e){var r=e-t;return r?o(t,r):a(isNaN(t)?e:t)}var u=function t(r){var n=l(r);function i(t,r){var i=n((t=e.rgb(t)).r,(r=e.rgb(r)).r),a=n(t.g,r.g),o=n(t.b,r.b),s=c(t.opacity,r.opacity);return function(e){return t.r=i(e),t.g=a(e),t.b=o(e),t.opacity=s(e),t+""}}return i.gamma=t,i}(1);function f(t){return function(r){var n,i,a=r.length,o=new Array(a),s=new Array(a),l=new Array(a);for(n=0;n<a;++n)i=e.rgb(r[n]),o[n]=i.r||0,s[n]=i.g||0,l[n]=i.b||0;return o=t(o),s=t(s),l=t(l),i.opacity=1,function(t){return i.r=o(t),i.g=s(t),i.b=l(t),i+""}}}var h=f(n),p=f(i);function d(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(r=0;r<n;++r)i[r]=t[r]*(1-a)+e[r]*a;return i}}function g(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function m(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,a=new Array(i),o=new Array(n);for(r=0;r<i;++r)a[r]=T(t[r],e[r]);for(;r<n;++r)o[r]=e[r];return function(t){for(r=0;r<i;++r)o[r]=a[r](t);return o}}function v(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function y(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function x(t,e){var r,n={},i={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=T(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}var b=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_=new RegExp(b.source,"g");function w(t,e){var r,n,i,a=b.lastIndex=_.lastIndex=0,o=-1,s=[],l=[];for(t+="",e+="";(r=b.exec(t))&&(n=_.exec(e));)(i=n.index)>a&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(r=r[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:y(r,n)})),a=_.lastIndex;return a<e.length&&(i=e.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var r,n=0;n<e;++n)s[(r=l[n]).i]=r.x(t);return s.join("")})}function T(t,r){var n,i=typeof r;return null==r||"boolean"===i?a(r):("number"===i?y:"string"===i?(n=e.color(r))?(r=n,u):w:r instanceof e.color?u:r instanceof Date?v:g(r)?d:Array.isArray(r)?m:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?x:y)(t,r)}var k,A,M,S,E=180/Math.PI,L={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function C(t,e,r,n,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),t*n<e*r&&(t=-t,e=-e,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*E,skewX:Math.atan(l)*E,scaleX:o,scaleY:s}}function P(t,e,r,n){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s=[],l=[];return a=t(a),o=t(o),function(t,n,i,a,o,s){if(t!==i||n!==a){var l=o.push("translate(",null,e,null,r);s.push({i:l-4,x:y(t,i)},{i:l-2,x:y(n,a)})}else(i||a)&&o.push("translate("+i+e+a+r)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(t,e,r,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:r.push(i(r)+"rotate(",null,n)-2,x:y(t,e)})):e&&r.push(i(r)+"rotate("+e+n)}(a.rotate,o.rotate,s,l),function(t,e,r,a){t!==e?a.push({i:r.push(i(r)+"skewX(",null,n)-2,x:y(t,e)}):e&&r.push(i(r)+"skewX("+e+n)}(a.skewX,o.skewX,s,l),function(t,e,r,n,a,o){if(t!==r||e!==n){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:y(t,r)},{i:s-2,x:y(e,n)})}else 1===r&&1===n||a.push(i(a)+"scale("+r+","+n+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,r=-1,n=l.length;++r<n;)s[(e=l[r]).i]=e.x(t);return s.join("")}}}var I=P((function(t){return"none"===t?L:(k||(k=document.createElement("DIV"),A=document.documentElement,M=document.defaultView),k.style.transform=t,t=M.getComputedStyle(A.appendChild(k),null).getPropertyValue("transform"),A.removeChild(k),C(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),O=P((function(t){return null==t?L:(S||(S=document.createElementNS("http://www.w3.org/2000/svg","g")),S.setAttribute("transform",t),(t=S.transform.baseVal.consolidate())?C((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):L)}),", ",")",")"),z=Math.SQRT2;function D(t){return((t=Math.exp(t))+1/t)/2}function R(t){return function(r,n){var i=t((r=e.hsl(r)).h,(n=e.hsl(n)).h),a=c(r.s,n.s),o=c(r.l,n.l),s=c(r.opacity,n.opacity);return function(t){return r.h=i(t),r.s=a(t),r.l=o(t),r.opacity=s(t),r+""}}}var F=R(s),B=R(c);function N(t){return function(r,n){var i=t((r=e.hcl(r)).h,(n=e.hcl(n)).h),a=c(r.c,n.c),o=c(r.l,n.l),s=c(r.opacity,n.opacity);return function(t){return r.h=i(t),r.c=a(t),r.l=o(t),r.opacity=s(t),r+""}}}var j=N(s),U=N(c);function V(t){return function r(n){function i(r,i){var a=t((r=e.cubehelix(r)).h,(i=e.cubehelix(i)).h),o=c(r.s,i.s),s=c(r.l,i.l),l=c(r.opacity,i.opacity);return function(t){return r.h=a(t),r.s=o(t),r.l=s(Math.pow(t,n)),r.opacity=l(t),r+""}}return n=+n,i.gamma=r,i}(1)}var H=V(s),q=V(c);t.interpolate=T,t.interpolateArray=function(t,e){return(g(e)?d:m)(t,e)},t.interpolateBasis=n,t.interpolateBasisClosed=i,t.interpolateCubehelix=H,t.interpolateCubehelixLong=q,t.interpolateDate=v,t.interpolateDiscrete=function(t){var e=t.length;return function(r){return t[Math.max(0,Math.min(e-1,Math.floor(r*e)))]}},t.interpolateHcl=j,t.interpolateHclLong=U,t.interpolateHsl=F,t.interpolateHslLong=B,t.interpolateHue=function(t,e){var r=s(+t,+e);return function(t){var e=r(t);return e-360*Math.floor(e/360)}},t.interpolateLab=function(t,r){var n=c((t=e.lab(t)).l,(r=e.lab(r)).l),i=c(t.a,r.a),a=c(t.b,r.b),o=c(t.opacity,r.opacity);return function(e){return t.l=n(e),t.a=i(e),t.b=a(e),t.opacity=o(e),t+""}},t.interpolateNumber=y,t.interpolateNumberArray=d,t.interpolateObject=x,t.interpolateRgb=u,t.interpolateRgbBasis=h,t.interpolateRgbBasisClosed=p,t.interpolateRound=function(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}},t.interpolateString=w,t.interpolateTransformCss=I,t.interpolateTransformSvg=O,t.interpolateZoom=function(t,e){var r,n,i=t[0],a=t[1],o=t[2],s=e[0],l=e[1],c=e[2],u=s-i,f=l-a,h=u*u+f*f;if(h<1e-12)n=Math.log(c/o)/z,r=function(t){return[i+t*u,a+t*f,o*Math.exp(z*t*n)]};else{var p=Math.sqrt(h),d=(c*c-o*o+4*h)/(2*o*2*p),g=(c*c-o*o-4*h)/(2*c*2*p),m=Math.log(Math.sqrt(d*d+1)-d),v=Math.log(Math.sqrt(g*g+1)-g);n=(v-m)/z,r=function(t){var e,r=t*n,s=D(m),l=o/(2*p)*(s*(e=z*r+m,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[i+l*u,a+l*f,o*s/D(z*r+m)]}}return r.duration=1e3*n,r},t.piecewise=function(t,e){for(var r=0,n=e.length-1,i=e[0],a=new Array(n<0?0:n);r<n;)a[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return a[e](t-e)}},t.quantize=function(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t(n/(e-1));return r},Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-color":109}],117:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";var e=Math.PI,r=2*e,n=r-1e-6;function i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new i}i.prototype=a.prototype={constructor:i,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,r,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(t,e,r,n,i,a){this._+="C"+ +t+","+ +e+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,r,n,i,a){t=+t,r=+r,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,l=n-t,c=i-r,u=o-t,f=s-r,h=u*u+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=r);else if(h>1e-6)if(Math.abs(f*l-c*u)>1e-6&&a){var p=n-o,d=i-s,g=l*l+c*c,m=p*p+d*d,v=Math.sqrt(g),y=Math.sqrt(h),x=a*Math.tan((e-Math.acos((g+h-m)/(2*v*y)))/2),b=x/y,_=x/v;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*u)+","+(r+b*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>u*d)+","+(this._x1=t+_*l)+","+(this._y1=r+_*c)}else this._+="L"+(this._x1=t)+","+(this._y1=r);else;},arc:function(t,i,a,o,s,l){t=+t,i=+i,l=!!l;var c=(a=+a)*Math.cos(o),u=a*Math.sin(o),f=t+c,h=i+u,p=1^l,d=l?o-s:s-o;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),a&&(d<0&&(d=d%r+r),d>n?this._+="A"+a+","+a+",0,1,"+p+","+(t-c)+","+(i-u)+"A"+a+","+a+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+a+","+a+",0,"+ +(d>=e)+","+p+","+(this._x1=t+a*Math.cos(s))+","+(this._y1=i+a*Math.sin(s))))},rect:function(t,e,r,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}},t.path=a,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],118:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";function e(t,e,r,n){if(isNaN(e)||isNaN(r))return t;var i,a,o,s,l,c,u,f,h,p=t._root,d={data:n},g=t._x0,m=t._y0,v=t._x1,y=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((c=e>=(a=(g+v)/2))?g=a:v=a,(u=r>=(o=(m+y)/2))?m=o:y=o,i=p,!(p=p[f=u<<1|c]))return i[f]=d,t;if(s=+t._x.call(null,p.data),l=+t._y.call(null,p.data),e===s&&r===l)return d.next=p,i?i[f]=d:t._root=d,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(a=(g+v)/2))?g=a:v=a,(u=r>=(o=(m+y)/2))?m=o:y=o}while((f=u<<1|c)==(h=(l>=o)<<1|s>=a));return i[h]=p,i[f]=d,t}function r(t,e,r,n,i){this.node=t,this.x0=e,this.y0=r,this.x1=n,this.y1=i}function n(t){return t[0]}function i(t){return t[1]}function a(t,e,r){var a=new o(null==e?n:e,null==r?i:r,NaN,NaN,NaN,NaN);return null==t?a:a.addAll(t)}function o(t,e,r,n,i,a){this._x=t,this._y=e,this._x0=r,this._y0=n,this._x1=i,this._y1=a,this._root=void 0}function s(t){for(var e={data:t.data},r=e;t=t.next;)r=r.next={data:t.data};return e}var l=a.prototype=o.prototype;l.copy=function(){var t,e,r=new o(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return r;if(!n.length)return r._root=s(n),r;for(t=[{source:n,target:r._root=new Array(4)}];n=t.pop();)for(var i=0;i<4;++i)(e=n.source[i])&&(e.length?t.push({source:e,target:n.target[i]=new Array(4)}):n.target[i]=s(e));return r},l.add=function(t){var r=+this._x.call(null,t),n=+this._y.call(null,t);return e(this.cover(r,n),r,n,t)},l.addAll=function(t){var r,n,i,a,o=t.length,s=new Array(o),l=new Array(o),c=1/0,u=1/0,f=-1/0,h=-1/0;for(n=0;n<o;++n)isNaN(i=+this._x.call(null,r=t[n]))||isNaN(a=+this._y.call(null,r))||(s[n]=i,l[n]=a,i<c&&(c=i),i>f&&(f=i),a<u&&(u=a),a>h&&(h=a));if(c>f||u>h)return this;for(this.cover(c,u).cover(f,h),n=0;n<o;++n)e(this,s[n],l[n],t[n]);return this},l.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var r=this._x0,n=this._y0,i=this._x1,a=this._y1;if(isNaN(r))i=(r=Math.floor(t))+1,a=(n=Math.floor(e))+1;else{for(var o,s,l=i-r,c=this._root;r>t||t>=i||n>e||e>=a;)switch(s=(e<n)<<1|t<r,(o=new Array(4))[s]=c,c=o,l*=2,s){case 0:i=r+l,a=n+l;break;case 1:r=i-l,a=n+l;break;case 2:i=r+l,n=a-l;break;case 3:r=i-l,n=a-l}this._root&&this._root.length&&(this._root=c)}return this._x0=r,this._y0=n,this._x1=i,this._y1=a,this},l.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},l.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},l.find=function(t,e,n){var i,a,o,s,l,c,u,f=this._x0,h=this._y0,p=this._x1,d=this._y1,g=[],m=this._root;for(m&&g.push(new r(m,f,h,p,d)),null==n?n=1/0:(f=t-n,h=e-n,p=t+n,d=e+n,n*=n);c=g.pop();)if(!(!(m=c.node)||(a=c.x0)>p||(o=c.y0)>d||(s=c.x1)<f||(l=c.y1)<h))if(m.length){var v=(a+s)/2,y=(o+l)/2;g.push(new r(m[3],v,y,s,l),new r(m[2],a,y,v,l),new r(m[1],v,o,s,y),new r(m[0],a,o,v,y)),(u=(e>=y)<<1|t>=v)&&(c=g[g.length-1],g[g.length-1]=g[g.length-1-u],g[g.length-1-u]=c)}else{var x=t-+this._x.call(null,m.data),b=e-+this._y.call(null,m.data),_=x*x+b*b;if(_<n){var w=Math.sqrt(n=_);f=t-w,h=e-w,p=t+w,d=e+w,i=m.data}}return i},l.remove=function(t){if(isNaN(a=+this._x.call(null,t))||isNaN(o=+this._y.call(null,t)))return this;var e,r,n,i,a,o,s,l,c,u,f,h,p=this._root,d=this._x0,g=this._y0,m=this._x1,v=this._y1;if(!p)return this;if(p.length)for(;;){if((c=a>=(s=(d+m)/2))?d=s:m=s,(u=o>=(l=(g+v)/2))?g=l:v=l,e=p,!(p=p[f=u<<1|c]))return this;if(!p.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(r=e,h=f)}for(;p.data!==t;)if(n=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,n?(i?n.next=i:delete n.next,this):e?(i?e[f]=i:delete e[f],(p=e[0]||e[1]||e[2]||e[3])&&p===(e[3]||e[2]||e[1]||e[0])&&!p.length&&(r?r[h]=p:this._root=p),this):(this._root=i,this)},l.removeAll=function(t){for(var e=0,r=t.length;e<r;++e)this.remove(t[e]);return this},l.root=function(){return this._root},l.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},l.visit=function(t){var e,n,i,a,o,s,l=[],c=this._root;for(c&&l.push(new r(c,this._x0,this._y0,this._x1,this._y1));e=l.pop();)if(!t(c=e.node,i=e.x0,a=e.y0,o=e.x1,s=e.y1)&&c.length){var u=(i+o)/2,f=(a+s)/2;(n=c[3])&&l.push(new r(n,u,f,o,s)),(n=c[2])&&l.push(new r(n,i,f,u,s)),(n=c[1])&&l.push(new r(n,u,a,o,f)),(n=c[0])&&l.push(new r(n,i,a,u,f))}return this},l.visitAfter=function(t){var e,n=[],i=[];for(this._root&&n.push(new r(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var a=e.node;if(a.length){var o,s=e.x0,l=e.y0,c=e.x1,u=e.y1,f=(s+c)/2,h=(l+u)/2;(o=a[0])&&n.push(new r(o,s,l,f,h)),(o=a[1])&&n.push(new r(o,f,l,c,h)),(o=a[2])&&n.push(new r(o,s,h,f,u)),(o=a[3])&&n.push(new r(o,f,h,c,u))}i.push(e)}for(;e=i.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},l.x=function(t){return arguments.length?(this._x=t,this):this._x},l.y=function(t){return arguments.length?(this._y=t,this):this._y},t.quadtree=a,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],119:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-path")):i((n=n||self).d3=n.d3||{},n.d3)}(this,(function(t,e){"use strict";function r(t){return function(){return t}}var n=Math.abs,i=Math.atan2,a=Math.cos,o=Math.max,s=Math.min,l=Math.sin,c=Math.sqrt,u=Math.PI,f=u/2,h=2*u;function p(t){return t>1?0:t<-1?u:Math.acos(t)}function d(t){return t>=1?f:t<=-1?-f:Math.asin(t)}function g(t){return t.innerRadius}function m(t){return t.outerRadius}function v(t){return t.startAngle}function y(t){return t.endAngle}function x(t){return t&&t.padAngle}function b(t,e,r,n,i,a,o,s){var l=r-t,c=n-e,u=o-i,f=s-a,h=f*l-u*c;if(!(h*h<1e-12))return[t+(h=(u*(e-a)-f*(t-i))/h)*l,e+h*c]}function _(t,e,r,n,i,a,s){var l=t-r,u=e-n,f=(s?a:-a)/c(l*l+u*u),h=f*u,p=-f*l,d=t+h,g=e+p,m=r+h,v=n+p,y=(d+m)/2,x=(g+v)/2,b=m-d,_=v-g,w=b*b+_*_,T=i-a,k=d*v-m*g,A=(_<0?-1:1)*c(o(0,T*T*w-k*k)),M=(k*_-b*A)/w,S=(-k*b-_*A)/w,E=(k*_+b*A)/w,L=(-k*b+_*A)/w,C=M-y,P=S-x,I=E-y,O=L-x;return C*C+P*P>I*I+O*O&&(M=E,S=L),{cx:M,cy:S,x01:-h,y01:-p,x11:M*(i/T-1),y11:S*(i/T-1)}}function w(t){this._context=t}function T(t){return new w(t)}function k(t){return t[0]}function A(t){return t[1]}function M(){var t=k,n=A,i=r(!0),a=null,o=T,s=null;function l(r){var l,c,u,f=r.length,h=!1;for(null==a&&(s=o(u=e.path())),l=0;l<=f;++l)!(l<f&&i(c=r[l],l,r))===h&&((h=!h)?s.lineStart():s.lineEnd()),h&&s.point(+t(c,l,r),+n(c,l,r));if(u)return s=null,u+""||null}return l.x=function(e){return arguments.length?(t="function"==typeof e?e:r(+e),l):t},l.y=function(t){return arguments.length?(n="function"==typeof t?t:r(+t),l):n},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:r(!!t),l):i},l.curve=function(t){return arguments.length?(o=t,null!=a&&(s=o(a)),l):o},l.context=function(t){return arguments.length?(null==t?a=s=null:s=o(a=t),l):a},l}function S(){var t=k,n=null,i=r(0),a=A,o=r(!0),s=null,l=T,c=null;function u(r){var u,f,h,p,d,g=r.length,m=!1,v=new Array(g),y=new Array(g);for(null==s&&(c=l(d=e.path())),u=0;u<=g;++u){if(!(u<g&&o(p=r[u],u,r))===m)if(m=!m)f=u,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),h=u-1;h>=f;--h)c.point(v[h],y[h]);c.lineEnd(),c.areaEnd()}m&&(v[u]=+t(p,u,r),y[u]=+i(p,u,r),c.point(n?+n(p,u,r):v[u],a?+a(p,u,r):y[u]))}if(d)return c=null,d+""||null}function f(){return M().defined(o).curve(l).context(s)}return u.x=function(e){return arguments.length?(t="function"==typeof e?e:r(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:r(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:r(+t),u):n},u.y=function(t){return arguments.length?(i="function"==typeof t?t:r(+t),a=null,u):i},u.y0=function(t){return arguments.length?(i="function"==typeof t?t:r(+t),u):i},u.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:r(+t),u):a},u.lineX0=u.lineY0=function(){return f().x(t).y(i)},u.lineY1=function(){return f().x(t).y(a)},u.lineX1=function(){return f().x(n).y(i)},u.defined=function(t){return arguments.length?(o="function"==typeof t?t:r(!!t),u):o},u.curve=function(t){return arguments.length?(l=t,null!=s&&(c=l(s)),u):l},u.context=function(t){return arguments.length?(null==t?s=c=null:c=l(s=t),u):s},u}function E(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function L(t){return t}w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var C=I(T);function P(t){this._curve=t}function I(t){function e(e){return new P(t(e))}return e._curve=t,e}function O(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(I(t)):e()._curve},t}function z(){return O(M().curve(C))}function D(){var t=S().curve(C),e=t.curve,r=t.lineX0,n=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return O(r())},delete t.lineX0,t.lineEndAngle=function(){return O(n())},delete t.lineX1,t.lineInnerRadius=function(){return O(i())},delete t.lineY0,t.lineOuterRadius=function(){return O(a())},delete t.lineY1,t.curve=function(t){return arguments.length?e(I(t)):e()._curve},t}function R(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}P.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var F=Array.prototype.slice;function B(t){return t.source}function N(t){return t.target}function j(t){var n=B,i=N,a=k,o=A,s=null;function l(){var r,l=F.call(arguments),c=n.apply(this,l),u=i.apply(this,l);if(s||(s=r=e.path()),t(s,+a.apply(this,(l[0]=c,l)),+o.apply(this,l),+a.apply(this,(l[0]=u,l)),+o.apply(this,l)),r)return s=null,r+""||null}return l.source=function(t){return arguments.length?(n=t,l):n},l.target=function(t){return arguments.length?(i=t,l):i},l.x=function(t){return arguments.length?(a="function"==typeof t?t:r(+t),l):a},l.y=function(t){return arguments.length?(o="function"==typeof t?t:r(+t),l):o},l.context=function(t){return arguments.length?(s=null==t?null:t,l):s},l}function U(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e=(e+n)/2,r,e,i,n,i)}function V(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e,r=(r+i)/2,n,r,n,i)}function H(t,e,r,n,i){var a=R(e,r),o=R(e,r=(r+i)/2),s=R(n,r),l=R(n,i);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],s[0],s[1],l[0],l[1])}var q={draw:function(t,e){var r=Math.sqrt(e/u);t.moveTo(r,0),t.arc(0,0,r,0,h)}},G={draw:function(t,e){var r=Math.sqrt(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},Y=Math.sqrt(1/3),W=2*Y,X={draw:function(t,e){var r=Math.sqrt(e/W),n=r*Y;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Z=Math.sin(u/10)/Math.sin(7*u/10),J=Math.sin(h/10)*Z,K=-Math.cos(h/10)*Z,Q={draw:function(t,e){var r=Math.sqrt(.8908130915292852*e),n=J*r,i=K*r;t.moveTo(0,-r),t.lineTo(n,i);for(var a=1;a<5;++a){var o=h*a/5,s=Math.cos(o),l=Math.sin(o);t.lineTo(l*r,-s*r),t.lineTo(s*n-l*i,l*n+s*i)}t.closePath()}},$={draw:function(t,e){var r=Math.sqrt(e),n=-r/2;t.rect(n,n,r,r)}},tt=Math.sqrt(3),et={draw:function(t,e){var r=-Math.sqrt(e/(3*tt));t.moveTo(0,2*r),t.lineTo(-tt*r,-r),t.lineTo(tt*r,-r),t.closePath()}},rt=-.5,nt=Math.sqrt(3)/2,it=1/Math.sqrt(12),at=3*(it/2+1),ot={draw:function(t,e){var r=Math.sqrt(e/at),n=r/2,i=r*it,a=n,o=r*it+r,s=-a,l=o;t.moveTo(n,i),t.lineTo(a,o),t.lineTo(s,l),t.lineTo(rt*n-nt*i,nt*n+rt*i),t.lineTo(rt*a-nt*o,nt*a+rt*o),t.lineTo(rt*s-nt*l,nt*s+rt*l),t.lineTo(rt*n+nt*i,rt*i-nt*n),t.lineTo(rt*a+nt*o,rt*o-nt*a),t.lineTo(rt*s+nt*l,rt*l-nt*s),t.closePath()}},st=[q,G,X,$,Q,et,ot];function lt(){}function ct(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function ut(t){this._context=t}function ft(t){this._context=t}function ht(t){this._context=t}function pt(t,e){this._basis=new ut(t),this._beta=e}ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ct(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ft.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},pt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,i=t[0],a=e[0],o=t[r]-i,s=e[r]-a,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+n*o),this._beta*e[l]+(1-this._beta)*(a+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var dt=function t(e){function r(t){return 1===e?new ut(t):new pt(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function gt(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function mt(t,e){this._context=t,this._k=(1-e)/6}mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:gt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var vt=function t(e){function r(t){return new mt(t,e)}return r.tension=function(e){return t(+e)},r}(0);function yt(t,e){this._context=t,this._k=(1-e)/6}yt.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:gt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xt=function t(e){function r(t){return new yt(t,e)}return r.tension=function(e){return t(+e)},r}(0);function bt(t,e){this._context=t,this._k=(1-e)/6}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var _t=function t(e){function r(t){return new bt(t,e)}return r.tension=function(e){return t(+e)},r}(0);function wt(t,e,r){var n=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(n,i,a,o,t._x2,t._y2)}function Tt(t,e){this._context=t,this._alpha=e}Tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var kt=function t(e){function r(t){return e?new Tt(t,e):new mt(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function At(t,e){this._context=t,this._alpha=e}At.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Mt=function t(e){function r(t){return e?new At(t,e):new yt(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function St(t,e){this._context=t,this._alpha=e}St.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Et=function t(e){function r(t){return e?new St(t,e):new bt(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function Lt(t){this._context=t}function Ct(t){return t<0?-1:1}function Pt(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),o=(r-t._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(Ct(a)+Ct(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function It(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Ot(t,e,r){var n=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-n)/3;t._context.bezierCurveTo(n+s,i+s*e,a-s,o-s*r,a,o)}function zt(t){this._context=t}function Dt(t){this._context=new Rt(t)}function Rt(t){this._context=t}function Ft(t){this._context=t}function Bt(t){var e,r,n=t.length-1,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/a[e-1],a[e]-=r,o[e]-=r*o[e-1];for(i[n-1]=o[n-1]/a[n-1],e=n-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function Nt(t,e){this._context=t,this._t=e}function jt(t,e){if((i=t.length)>1)for(var r,n,i,a=1,o=t[e[0]],s=o.length;a<i;++a)for(n=o,o=t[e[a]],r=0;r<s;++r)o[r][1]+=o[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Ut(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Vt(t,e){return t[e]}function Ht(t){var e=t.map(qt);return Ut(t).sort((function(t,r){return e[t]-e[r]}))}function qt(t){for(var e,r=-1,n=0,i=t.length,a=-1/0;++r<i;)(e=+t[r][1])>a&&(a=e,n=r);return n}function Gt(t){var e=t.map(Yt);return Ut(t).sort((function(t,r){return e[t]-e[r]}))}function Yt(t){for(var e,r=0,n=-1,i=t.length;++n<i;)(e=+t[n][1])&&(r+=e);return r}Lt.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ot(this,this._t0,It(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ot(this,It(this,r=Pt(this,t,e)),r);break;default:Ot(this,this._t0,r=Pt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(Dt.prototype=Object.create(zt.prototype)).point=function(t,e){zt.prototype.point.call(this,e,t)},Rt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)}},Ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=Bt(t),i=Bt(e),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},t.arc=function(){var t=g,o=m,w=r(0),T=null,k=v,A=y,M=x,S=null;function E(){var r,g,m=+t.apply(this,arguments),v=+o.apply(this,arguments),y=k.apply(this,arguments)-f,x=A.apply(this,arguments)-f,E=n(x-y),L=x>y;if(S||(S=r=e.path()),v<m&&(g=v,v=m,m=g),v>1e-12)if(E>h-1e-12)S.moveTo(v*a(y),v*l(y)),S.arc(0,0,v,y,x,!L),m>1e-12&&(S.moveTo(m*a(x),m*l(x)),S.arc(0,0,m,x,y,L));else{var C,P,I=y,O=x,z=y,D=x,R=E,F=E,B=M.apply(this,arguments)/2,N=B>1e-12&&(T?+T.apply(this,arguments):c(m*m+v*v)),j=s(n(v-m)/2,+w.apply(this,arguments)),U=j,V=j;if(N>1e-12){var H=d(N/m*l(B)),q=d(N/v*l(B));(R-=2*H)>1e-12?(z+=H*=L?1:-1,D-=H):(R=0,z=D=(y+x)/2),(F-=2*q)>1e-12?(I+=q*=L?1:-1,O-=q):(F=0,I=O=(y+x)/2)}var G=v*a(I),Y=v*l(I),W=m*a(D),X=m*l(D);if(j>1e-12){var Z,J=v*a(O),K=v*l(O),Q=m*a(z),$=m*l(z);if(E<u&&(Z=b(G,Y,Q,$,J,K,W,X))){var tt=G-Z[0],et=Y-Z[1],rt=J-Z[0],nt=K-Z[1],it=1/l(p((tt*rt+et*nt)/(c(tt*tt+et*et)*c(rt*rt+nt*nt)))/2),at=c(Z[0]*Z[0]+Z[1]*Z[1]);U=s(j,(m-at)/(it-1)),V=s(j,(v-at)/(it+1))}}F>1e-12?V>1e-12?(C=_(Q,$,G,Y,v,V,L),P=_(J,K,W,X,v,V,L),S.moveTo(C.cx+C.x01,C.cy+C.y01),V<j?S.arc(C.cx,C.cy,V,i(C.y01,C.x01),i(P.y01,P.x01),!L):(S.arc(C.cx,C.cy,V,i(C.y01,C.x01),i(C.y11,C.x11),!L),S.arc(0,0,v,i(C.cy+C.y11,C.cx+C.x11),i(P.cy+P.y11,P.cx+P.x11),!L),S.arc(P.cx,P.cy,V,i(P.y11,P.x11),i(P.y01,P.x01),!L))):(S.moveTo(G,Y),S.arc(0,0,v,I,O,!L)):S.moveTo(G,Y),m>1e-12&&R>1e-12?U>1e-12?(C=_(W,X,J,K,m,-U,L),P=_(G,Y,Q,$,m,-U,L),S.lineTo(C.cx+C.x01,C.cy+C.y01),U<j?S.arc(C.cx,C.cy,U,i(C.y01,C.x01),i(P.y01,P.x01),!L):(S.arc(C.cx,C.cy,U,i(C.y01,C.x01),i(C.y11,C.x11),!L),S.arc(0,0,m,i(C.cy+C.y11,C.cx+C.x11),i(P.cy+P.y11,P.cx+P.x11),L),S.arc(P.cx,P.cy,U,i(P.y11,P.x11),i(P.y01,P.x01),!L))):S.arc(0,0,m,D,z,L):S.lineTo(W,X)}else S.moveTo(0,0);if(S.closePath(),r)return S=null,r+""||null}return E.centroid=function(){var e=(+t.apply(this,arguments)+ +o.apply(this,arguments))/2,r=(+k.apply(this,arguments)+ +A.apply(this,arguments))/2-u/2;return[a(r)*e,l(r)*e]},E.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:r(+e),E):t},E.outerRadius=function(t){return arguments.length?(o="function"==typeof t?t:r(+t),E):o},E.cornerRadius=function(t){return arguments.length?(w="function"==typeof t?t:r(+t),E):w},E.padRadius=function(t){return arguments.length?(T=null==t?null:"function"==typeof t?t:r(+t),E):T},E.startAngle=function(t){return arguments.length?(k="function"==typeof t?t:r(+t),E):k},E.endAngle=function(t){return arguments.length?(A="function"==typeof t?t:r(+t),E):A},E.padAngle=function(t){return arguments.length?(M="function"==typeof t?t:r(+t),E):M},E.context=function(t){return arguments.length?(S=null==t?null:t,E):S},E},t.area=S,t.areaRadial=D,t.curveBasis=function(t){return new ut(t)},t.curveBasisClosed=function(t){return new ft(t)},t.curveBasisOpen=function(t){return new ht(t)},t.curveBundle=dt,t.curveCardinal=vt,t.curveCardinalClosed=xt,t.curveCardinalOpen=_t,t.curveCatmullRom=kt,t.curveCatmullRomClosed=Mt,t.curveCatmullRomOpen=Et,t.curveLinear=T,t.curveLinearClosed=function(t){return new Lt(t)},t.curveMonotoneX=function(t){return new zt(t)},t.curveMonotoneY=function(t){return new Dt(t)},t.curveNatural=function(t){return new Ft(t)},t.curveStep=function(t){return new Nt(t,.5)},t.curveStepAfter=function(t){return new Nt(t,1)},t.curveStepBefore=function(t){return new Nt(t,0)},t.line=M,t.lineRadial=z,t.linkHorizontal=function(){return j(U)},t.linkRadial=function(){var t=j(H);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return j(V)},t.pie=function(){var t=L,e=E,n=null,i=r(0),a=r(h),o=r(0);function s(r){var s,l,c,u,f,p=r.length,d=0,g=new Array(p),m=new Array(p),v=+i.apply(this,arguments),y=Math.min(h,Math.max(-h,a.apply(this,arguments)-v)),x=Math.min(Math.abs(y)/p,o.apply(this,arguments)),b=x*(y<0?-1:1);for(s=0;s<p;++s)(f=m[g[s]=s]=+t(r[s],s,r))>0&&(d+=f);for(null!=e?g.sort((function(t,r){return e(m[t],m[r])})):null!=n&&g.sort((function(t,e){return n(r[t],r[e])})),s=0,c=d?(y-p*b)/d:0;s<p;++s,v=u)l=g[s],u=v+((f=m[l])>0?f*c:0)+b,m[l]={data:r[l],index:s,value:f,startAngle:v,endAngle:u,padAngle:x};return m}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:r(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,n=null,s):e},s.sort=function(t){return arguments.length?(n=t,e=null,s):n},s.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:r(+t),s):i},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:r(+t),s):a},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:r(+t),s):o},s},t.pointRadial=R,t.radialArea=D,t.radialLine=z,t.stack=function(){var t=r([]),e=Ut,n=jt,i=Vt;function a(r){var a,o,s=t.apply(this,arguments),l=r.length,c=s.length,u=new Array(c);for(a=0;a<c;++a){for(var f,h=s[a],p=u[a]=new Array(l),d=0;d<l;++d)p[d]=f=[0,+i(r[d],h,d,r)],f.data=r[d];p.key=h}for(a=0,o=e(u);a<c;++a)u[o[a]].index=a;return n(u,o),u}return a.keys=function(e){return arguments.length?(t="function"==typeof e?e:r(F.call(e)),a):t},a.value=function(t){return arguments.length?(i="function"==typeof t?t:r(+t),a):i},a.order=function(t){return arguments.length?(e=null==t?Ut:"function"==typeof t?t:r(F.call(t)),a):e},a.offset=function(t){return arguments.length?(n=null==t?jt:t,a):n},a},t.stackOffsetDiverging=function(t,e){if((s=t.length)>0)for(var r,n,i,a,o,s,l=0,c=t[e[0]].length;l<c;++l)for(a=o=0,r=0;r<s;++r)(i=(n=t[e[r]][l])[1]-n[0])>0?(n[0]=a,n[1]=a+=i):i<0?(n[1]=o,n[0]=o+=i):(n[0]=0,n[1]=i)},t.stackOffsetExpand=function(t,e){if((n=t.length)>0){for(var r,n,i,a=0,o=t[0].length;a<o;++a){for(i=r=0;r<n;++r)i+=t[r][a][1]||0;if(i)for(r=0;r<n;++r)t[r][a][1]/=i}jt(t,e)}},t.stackOffsetNone=jt,t.stackOffsetSilhouette=function(t,e){if((r=t.length)>0){for(var r,n=0,i=t[e[0]],a=i.length;n<a;++n){for(var o=0,s=0;o<r;++o)s+=t[o][n][1]||0;i[n][1]+=i[n][0]=-s/2}jt(t,e)}},t.stackOffsetWiggle=function(t,e){if((i=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,i,a=0,o=1;o<n;++o){for(var s=0,l=0,c=0;s<i;++s){for(var u=t[e[s]],f=u[o][1]||0,h=(f-(u[o-1][1]||0))/2,p=0;p<s;++p){var d=t[e[p]];h+=(d[o][1]||0)-(d[o-1][1]||0)}l+=f,c+=h*f}r[o-1][1]+=r[o-1][0]=a,l&&(a-=c/l)}r[o-1][1]+=r[o-1][0]=a,jt(t,e)}},t.stackOrderAppearance=Ht,t.stackOrderAscending=Gt,t.stackOrderDescending=function(t){return Gt(t).reverse()},t.stackOrderInsideOut=function(t){var e,r,n=t.length,i=t.map(Yt),a=Ht(t),o=0,s=0,l=[],c=[];for(e=0;e<n;++e)r=a[e],o<s?(o+=i[r],l.push(r)):(s+=i[r],c.push(r));return c.reverse().concat(l)},t.stackOrderNone=Ut,t.stackOrderReverse=function(t){return Ut(t).reverse()},t.symbol=function(){var t=r(q),n=r(64),i=null;function a(){var r;if(i||(i=r=e.path()),t.apply(this,arguments).draw(i,+n.apply(this,arguments)),r)return i=null,r+""||null}return a.type=function(e){return arguments.length?(t="function"==typeof e?e:r(e),a):t},a.size=function(t){return arguments.length?(n="function"==typeof t?t:r(+t),a):n},a.context=function(t){return arguments.length?(i=null==t?null:t,a):i},a},t.symbolCircle=q,t.symbolCross=G,t.symbolDiamond=X,t.symbolSquare=$,t.symbolStar=Q,t.symbolTriangle=et,t.symbolWye=ot,t.symbols=st,Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-path":117}],120:[function(t,e,r){!function(n,i){"object"==typeof r&&void 0!==e?i(r,t("d3-time")):i((n=n||self).d3=n.d3||{},n.d3)}(this,(function(t,e){"use strict";function r(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function n(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function i(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function a(t){var a=t.dateTime,o=t.date,l=t.time,c=t.periods,u=t.days,f=t.shortDays,h=t.months,yt=t.shortMonths,xt=p(c),bt=d(c),_t=p(u),wt=d(u),Tt=p(f),kt=d(f),At=p(h),Mt=d(h),St=p(yt),Et=d(yt),Lt={a:function(t){return f[t.getDay()]},A:function(t){return u[t.getDay()]},b:function(t){return yt[t.getMonth()]},B:function(t){return h[t.getMonth()]},c:null,d:D,e:D,f:j,H:R,I:F,j:B,L:N,m:U,M:V,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:mt,s:vt,S:H,u:q,U:G,V:Y,w:W,W:X,x:null,X:null,y:Z,Y:J,Z:K,"%":gt},Ct={a:function(t){return f[t.getUTCDay()]},A:function(t){return u[t.getUTCDay()]},b:function(t){return yt[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:Q,e:Q,f:nt,H:$,I:tt,j:et,L:rt,m:it,M:at,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:mt,s:vt,S:ot,u:st,U:lt,V:ct,w:ut,W:ft,x:null,X:null,y:ht,Y:pt,Z:dt,"%":gt},Pt={a:function(t,e,r){var n=Tt.exec(e.slice(r));return n?(t.w=kt[n[0].toLowerCase()],r+n[0].length):-1},A:function(t,e,r){var n=_t.exec(e.slice(r));return n?(t.w=wt[n[0].toLowerCase()],r+n[0].length):-1},b:function(t,e,r){var n=St.exec(e.slice(r));return n?(t.m=Et[n[0].toLowerCase()],r+n[0].length):-1},B:function(t,e,r){var n=At.exec(e.slice(r));return n?(t.m=Mt[n[0].toLowerCase()],r+n[0].length):-1},c:function(t,e,r){return zt(t,a,e,r)},d:A,e:A,f:P,H:S,I:S,j:M,L:C,m:k,M:E,p:function(t,e,r){var n=xt.exec(e.slice(r));return n?(t.p=bt[n[0].toLowerCase()],r+n[0].length):-1},q:T,Q:O,s:z,S:L,u:m,U:v,V:y,w:g,W:x,x:function(t,e,r){return zt(t,o,e,r)},X:function(t,e,r){return zt(t,l,e,r)},y:_,Y:b,Z:w,"%":I};function It(t,e){return function(r){var n,i,a,o=[],l=-1,c=0,u=t.length;for(r instanceof Date||(r=new Date(+r));++l<u;)37===t.charCodeAt(l)&&(o.push(t.slice(c,l)),null!=(i=s[n=t.charAt(++l)])?n=t.charAt(++l):i="e"===n?" ":"0",(a=e[n])&&(n=a(r,i)),o.push(n),c=l+1);return o.push(t.slice(c,l)),o.join("")}}function Ot(t,a){return function(o){var s,l,c=i(1900,void 0,1);if(zt(c,t,o+="",0)!=o.length)return null;if("Q"in c)return new Date(c.Q);if("s"in c)return new Date(1e3*c.s+("L"in c?c.L:0));if(a&&!("Z"in c)&&(c.Z=0),"p"in c&&(c.H=c.H%12+12*c.p),void 0===c.m&&(c.m="q"in c?c.q:0),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(l=(s=n(i(c.y,0,1))).getUTCDay(),s=l>4||0===l?e.utcMonday.ceil(s):e.utcMonday(s),s=e.utcDay.offset(s,7*(c.V-1)),c.y=s.getUTCFullYear(),c.m=s.getUTCMonth(),c.d=s.getUTCDate()+(c.w+6)%7):(l=(s=r(i(c.y,0,1))).getDay(),s=l>4||0===l?e.timeMonday.ceil(s):e.timeMonday(s),s=e.timeDay.offset(s,7*(c.V-1)),c.y=s.getFullYear(),c.m=s.getMonth(),c.d=s.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),l="Z"in c?n(i(c.y,0,1)).getUTCDay():r(i(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(l+5)%7:c.w+7*c.U-(l+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,n(c)):r(c)}}function zt(t,e,r,n){for(var i,a,o=0,l=e.length,c=r.length;o<l;){if(n>=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=Pt[i in s?e.charAt(o++):i])||(n=a(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return Lt.x=It(o,Lt),Lt.X=It(l,Lt),Lt.c=It(a,Lt),Ct.x=It(o,Ct),Ct.X=It(l,Ct),Ct.c=It(a,Ct),{format:function(t){var e=It(t+="",Lt);return e.toString=function(){return t},e},parse:function(t){var e=Ot(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=It(t+="",Ct);return e.toString=function(){return t},e},utcParse:function(t){var e=Ot(t+="",!0);return e.toString=function(){return t},e}}}var o,s={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,u=/[\\^$*+?|[\]().{}]/g;function f(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(e)+i:i)}function h(t){return t.replace(u,"\\$&")}function p(t){return new RegExp("^(?:"+t.map(h).join("|")+")","i")}function d(t){for(var e={},r=-1,n=t.length;++r<n;)e[t[r].toLowerCase()]=r;return e}function g(t,e,r){var n=l.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function m(t,e,r){var n=l.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function v(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function y(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function x(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function b(t,e,r){var n=l.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function _(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function w(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function T(t,e,r){var n=l.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function k(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function A(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function M(t,e,r){var n=l.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function S(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function E(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function L(t,e,r){var n=l.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function C(t,e,r){var n=l.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function P(t,e,r){var n=l.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function I(t,e,r){var n=c.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function O(t,e,r){var n=l.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function z(t,e,r){var n=l.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function D(t,e){return f(t.getDate(),e,2)}function R(t,e){return f(t.getHours(),e,2)}function F(t,e){return f(t.getHours()%12||12,e,2)}function B(t,r){return f(1+e.timeDay.count(e.timeYear(t),t),r,3)}function N(t,e){return f(t.getMilliseconds(),e,3)}function j(t,e){return N(t,e)+"000"}function U(t,e){return f(t.getMonth()+1,e,2)}function V(t,e){return f(t.getMinutes(),e,2)}function H(t,e){return f(t.getSeconds(),e,2)}function q(t){var e=t.getDay();return 0===e?7:e}function G(t,r){return f(e.timeSunday.count(e.timeYear(t)-1,t),r,2)}function Y(t,r){var n=t.getDay();return t=n>=4||0===n?e.timeThursday(t):e.timeThursday.ceil(t),f(e.timeThursday.count(e.timeYear(t),t)+(4===e.timeYear(t).getDay()),r,2)}function W(t){return t.getDay()}function X(t,r){return f(e.timeMonday.count(e.timeYear(t)-1,t),r,2)}function Z(t,e){return f(t.getFullYear()%100,e,2)}function J(t,e){return f(t.getFullYear()%1e4,e,4)}function K(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+f(e/60|0,"0",2)+f(e%60,"0",2)}function Q(t,e){return f(t.getUTCDate(),e,2)}function $(t,e){return f(t.getUTCHours(),e,2)}function tt(t,e){return f(t.getUTCHours()%12||12,e,2)}function et(t,r){return f(1+e.utcDay.count(e.utcYear(t),t),r,3)}function rt(t,e){return f(t.getUTCMilliseconds(),e,3)}function nt(t,e){return rt(t,e)+"000"}function it(t,e){return f(t.getUTCMonth()+1,e,2)}function at(t,e){return f(t.getUTCMinutes(),e,2)}function ot(t,e){return f(t.getUTCSeconds(),e,2)}function st(t){var e=t.getUTCDay();return 0===e?7:e}function lt(t,r){return f(e.utcSunday.count(e.utcYear(t)-1,t),r,2)}function ct(t,r){var n=t.getUTCDay();return t=n>=4||0===n?e.utcThursday(t):e.utcThursday.ceil(t),f(e.utcThursday.count(e.utcYear(t),t)+(4===e.utcYear(t).getUTCDay()),r,2)}function ut(t){return t.getUTCDay()}function ft(t,r){return f(e.utcMonday.count(e.utcYear(t)-1,t),r,2)}function ht(t,e){return f(t.getUTCFullYear()%100,e,2)}function pt(t,e){return f(t.getUTCFullYear()%1e4,e,4)}function dt(){return"+0000"}function gt(){return"%"}function mt(t){return+t}function vt(t){return Math.floor(+t/1e3)}function yt(e){return o=a(e),t.timeFormat=o.format,t.timeParse=o.parse,t.utcFormat=o.utcFormat,t.utcParse=o.utcParse,o}yt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var xt=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ");var bt=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:t.utcParse("%Y-%m-%dT%H:%M:%S.%LZ");t.isoFormat=xt,t.isoParse=bt,t.timeFormatDefaultLocale=yt,t.timeFormatLocale=a,Object.defineProperty(t,"__esModule",{value:!0})}))},{"d3-time":121}],121:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";var e=new Date,r=new Date;function n(t,i,a,o){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(e){return t(e=new Date(e-1)),i(e,1),t(e),e},s.round=function(t){var e=s(t),r=s.ceil(t);return t-e<r-t?e:r},s.offset=function(t,e){return i(t=new Date(+t),null==e?1:Math.floor(e)),t},s.range=function(e,r,n){var a,o=[];if(e=s.ceil(e),n=null==n?1:Math.floor(n),!(e<r&&n>0))return o;do{o.push(a=new Date(+e)),i(e,n),t(e)}while(a<e&&e<r);return o},s.filter=function(e){return n((function(r){if(r>=r)for(;t(r),!e(r);)r.setTime(r-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;i(t,-1),!e(t););else for(;--r>=0;)for(;i(t,1),!e(t););}))},a&&(s.count=function(n,i){return e.setTime(+n),r.setTime(+i),t(e),t(r),Math.floor(a(e,r))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(o?function(e){return o(e)%t==0}:function(e){return s.count(0,e)%t==0}):s:null}),s}var i=n((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?n((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,r){e.setTime(+e+r*t)}),(function(e,r){return(r-e)/t})):i:null};var a=i.range,o=n((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()})),s=o.range,l=n((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getMinutes()})),c=l.range,u=n((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()})),f=u.range,h=n((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1})),p=h.range;function d(t){return n((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var g=d(0),m=d(1),v=d(2),y=d(3),x=d(4),b=d(5),_=d(6),w=g.range,T=m.range,k=v.range,A=y.range,M=x.range,S=b.range,E=_.range,L=n((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),C=L.range,P=n((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));P.every=function(t){return isFinite(t=Math.floor(t))&&t>0?n((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,r){e.setFullYear(e.getFullYear()+r*t)})):null};var I=P.range,O=n((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getUTCMinutes()})),z=O.range,D=n((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getUTCHours()})),R=D.range,F=n((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1})),B=F.range;function N(t){return n((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/6048e5}))}var j=N(0),U=N(1),V=N(2),H=N(3),q=N(4),G=N(5),Y=N(6),W=j.range,X=U.range,Z=V.range,J=H.range,K=q.range,Q=G.range,$=Y.range,tt=n((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),et=tt.range,rt=n((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));rt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?n((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null};var nt=rt.range;t.timeDay=h,t.timeDays=p,t.timeFriday=b,t.timeFridays=S,t.timeHour=u,t.timeHours=f,t.timeInterval=n,t.timeMillisecond=i,t.timeMilliseconds=a,t.timeMinute=l,t.timeMinutes=c,t.timeMonday=m,t.timeMondays=T,t.timeMonth=L,t.timeMonths=C,t.timeSaturday=_,t.timeSaturdays=E,t.timeSecond=o,t.timeSeconds=s,t.timeSunday=g,t.timeSundays=w,t.timeThursday=x,t.timeThursdays=M,t.timeTuesday=v,t.timeTuesdays=k,t.timeWednesday=y,t.timeWednesdays=A,t.timeWeek=g,t.timeWeeks=w,t.timeYear=P,t.timeYears=I,t.utcDay=F,t.utcDays=B,t.utcFriday=G,t.utcFridays=Q,t.utcHour=D,t.utcHours=R,t.utcMillisecond=i,t.utcMilliseconds=a,t.utcMinute=O,t.utcMinutes=z,t.utcMonday=U,t.utcMondays=X,t.utcMonth=tt,t.utcMonths=et,t.utcSaturday=Y,t.utcSaturdays=$,t.utcSecond=o,t.utcSeconds=s,t.utcSunday=j,t.utcSundays=W,t.utcThursday=q,t.utcThursdays=K,t.utcTuesday=V,t.utcTuesdays=Z,t.utcWednesday=H,t.utcWednesdays=J,t.utcWeek=j,t.utcWeeks=W,t.utcYear=rt,t.utcYears=nt,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],122:[function(t,e,r){arguments[4][121][0].apply(r,arguments)},{dup:121}],123:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).d3=t.d3||{})}(this,(function(t){"use strict";var e,r,n=0,i=0,a=0,o=0,s=0,l=0,c="object"==typeof performance&&performance.now?performance:Date,u="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function f(){return s||(u(h),s=c.now()+l)}function h(){s=0}function p(){this._call=this._time=this._next=null}function d(t,e,r){var n=new p;return n.restart(t,e,r),n}function g(){f(),++n;for(var t,r=e;r;)(t=s-r._time)>=0&&r._call.call(null,t),r=r._next;--n}function m(){s=(o=c.now())+l,n=i=0;try{g()}finally{n=0,function(){var t,n,i=e,a=1/0;for(;i;)i._call?(a>i._time&&(a=i._time),t=i,i=i._next):(n=i._next,i._next=null,i=t?t._next=n:e=n);r=t,y(a)}(),s=0}}function v(){var t=c.now(),e=t-o;e>1e3&&(l-=e,o=t)}function y(t){n||(i&&(i=clearTimeout(i)),t-s>24?(t<1/0&&(i=setTimeout(m,t-c.now()-l)),a&&(a=clearInterval(a))):(a||(o=c.now(),a=setInterval(v,1e3)),n=1,u(m)))}p.prototype=d.prototype={constructor:p,restart:function(t,n,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?f():+i)+(null==n?0:+n),this._next||r===this||(r?r._next=this:e=this,r=this),this._call=t,this._time=i,y()},stop:function(){this._call&&(this._call=null,this._time=1/0,y())}},t.interval=function(t,e,r){var n=new p,i=e;return null==e?(n.restart(t,e,r),n):(e=+e,r=null==r?f():+r,n.restart((function a(o){o+=i,n.restart(a,i+=e,r),t(o)}),e,r),n)},t.now=f,t.timeout=function(t,e,r){var n=new p;return e=null==e?0:+e,n.restart((function(r){n.stop(),t(r+e)}),e,r),n},t.timer=d,t.timerFlush=g,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],124:[function(t,e,r){e.exports=function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]}},{}],125:[function(t,e,r){"use strict";e.exports=a;var n=(a.canvas=document.createElement("canvas")).getContext("2d"),i=o([32,126]);function a(t,e){Array.isArray(t)&&(t=t.join(", "));var r,a={},s=16,l=.05;e&&(2===e.length&&"number"==typeof e[0]?r=o(e):Array.isArray(e)?r=e:(e.o?r=o(e.o):e.pairs&&(r=e.pairs),e.fontSize&&(s=e.fontSize),null!=e.threshold&&(l=e.threshold))),r||(r=i),n.font=s+"px "+t;for(var c=0;c<r.length;c++){var u=r[c],f=n.measureText(u[0]).width+n.measureText(u[1]).width,h=n.measureText(u).width;if(Math.abs(f-h)>s*l){var p=(h-f)/s;a[u]=1e3*p}}return a}function o(t){for(var e=[],r=t[0];r<=t[1];r++)for(var n=String.fromCharCode(r),i=t[0];i<t[1];i++){var a=n+String.fromCharCode(i);e.push(a)}return e}a.createPairs=o,a.ascii=i},{}],126:[function(t,e,r){var n=t("abs-svg-path"),i=t("normalize-svg-path"),a={M:"moveTo",C:"bezierCurveTo"};e.exports=function(t,e){t.beginPath(),i(n(e)).forEach((function(e){var r=e[0],n=e.slice(1);t[a[r]].apply(t,n)})),t.closePath()}},{"abs-svg-path":70,"normalize-svg-path":246}],127:[function(t,e,r){e.exports=function(t){switch(t){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}},{}],128:[function(t,e,r){"use strict";e.exports=function(t,e){switch(void 0===e&&(e=0),typeof t){case"number":if(t>0)return function(t,e){var r,n;for(r=new Array(t),n=0;n<t;++n)r[n]=e;return r}(0|t,e);break;case"object":if("number"==typeof t.length)return function t(e,r,n){var i=0|e[n];if(i<=0)return[];var a,o=new Array(i);if(n===e.length-1)for(a=0;a<i;++a)o[a]=r;else for(a=0;a<i;++a)o[a]=t(e,r,n+1);return o}(t,e,0)}return[]}},{}],129:[function(t,e,r){"use strict";function n(t,e,r){r=r||2;var n,s,l,c,u,p,d,m=e&&e.length,v=m?e[0]*r:t.length,y=i(t,0,v,r,!0),x=[];if(!y||y.next===y.prev)return x;if(m&&(y=function(t,e,r,n){var o,s,l,c,u,p=[];for(o=0,s=e.length;o<s;o++)l=e[o]*n,c=o<s-1?e[o+1]*n:t.length,(u=i(t,l,c,n,!1))===u.next&&(u.steiner=!0),p.push(g(u));for(p.sort(f),o=0;o<p.length;o++)h(p[o],r),r=a(r,r.next);return r}(t,e,y,r)),t.length>80*r){n=l=t[0],s=c=t[1];for(var b=r;b<v;b+=r)(u=t[b])<n&&(n=u),(p=t[b+1])<s&&(s=p),u>l&&(l=u),p>c&&(c=p);d=0!==(d=Math.max(l-n,c-s))?1/d:0}return o(y,x,r,n,s,d),x}function i(t,e,r,n,i){var a,o;if(i===E(t,e,r,n)>0)for(a=e;a<r;a+=n)o=A(a,t[a],t[a+1],o);else for(a=r-n;a>=e;a-=n)o=A(a,t[a],t[a+1],o);return o&&x(o,o.next)&&(M(o),o=o.next),o}function a(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!x(n,n.next)&&0!==y(n.prev,n,n.next))n=n.next;else{if(M(n),(n=e=n.prev)===n.next)break;r=!0}}while(r||n!==e);return e}function o(t,e,r,n,i,f,h){if(t){!h&&f&&function(t,e,r,n){var i=t;do{null===i.z&&(i.z=d(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,a,o,s,l,c=1;do{for(r=t,t=null,a=null,o=0;r;){for(o++,n=r,s=0,e=0;e<c&&(s++,n=n.nextZ);e++);for(l=c;s>0||l>0&&n;)0!==s&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,l--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,c*=2}while(o>1)}(i)}(t,n,i,f);for(var p,g,m=t;t.prev!==t.next;)if(p=t.prev,g=t.next,f?l(t,n,i,f):s(t))e.push(p.i/r),e.push(t.i/r),e.push(g.i/r),M(t),t=g.next,m=g.next;else if((t=g)===m){h?1===h?o(t=c(a(t),e,r),e,r,n,i,f,2):2===h&&u(t,e,r,n,i,f):o(a(t),e,r,n,i,f,1);break}}}function s(t){var e=t.prev,r=t,n=t.next;if(y(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(m(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&y(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(t,e,r,n){var i=t.prev,a=t,o=t.next;if(y(i,a,o)>=0)return!1;for(var s=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,l=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,c=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,u=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,f=d(s,l,e,r,n),h=d(c,u,e,r,n),p=t.prevZ,g=t.nextZ;p&&p.z>=f&&g&&g.z<=h;){if(p!==t.prev&&p!==t.next&&m(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&y(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,g!==t.prev&&g!==t.next&&m(i.x,i.y,a.x,a.y,o.x,o.y,g.x,g.y)&&y(g.prev,g,g.next)>=0)return!1;g=g.nextZ}for(;p&&p.z>=f;){if(p!==t.prev&&p!==t.next&&m(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&y(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;g&&g.z<=h;){if(g!==t.prev&&g!==t.next&&m(i.x,i.y,a.x,a.y,o.x,o.y,g.x,g.y)&&y(g.prev,g,g.next)>=0)return!1;g=g.nextZ}return!0}function c(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!x(i,o)&&b(i,n,n.next,o)&&T(i,o)&&T(o,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(o.i/r),M(n),M(n.next),n=t=o),n=n.next}while(n!==t);return a(n)}function u(t,e,r,n,i,s){var l=t;do{for(var c=l.next.next;c!==l.prev;){if(l.i!==c.i&&v(l,c)){var u=k(l,c);return l=a(l,l.next),u=a(u,u.next),o(l,e,r,n,i,s),void o(u,e,r,n,i,s)}c=c.next}l=l.next}while(l!==t)}function f(t,e){return t.x-e.x}function h(t,e){if(e=function(t,e){var r,n=e,i=t.x,a=t.y,o=-1/0;do{if(a<=n.y&&a>=n.next.y&&n.next.y!==n.y){var s=n.x+(a-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>o){if(o=s,s===i){if(a===n.y)return n;if(a===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===o)return r;var l,c=r,u=r.x,f=r.y,h=1/0;n=r;do{i>=n.x&&n.x>=u&&i!==n.x&&m(a<f?i:o,a,u,f,a<f?o:i,a,n.x,n.y)&&(l=Math.abs(a-n.y)/(i-n.x),T(n,t)&&(l<h||l===h&&(n.x>r.x||n.x===r.x&&p(r,n)))&&(r=n,h=l)),n=n.next}while(n!==c);return r}(t,e)){var r=k(e,t);a(e,e.next),a(r,r.next)}}function p(t,e){return y(t.prev,t,e.prev)<0&&y(e.next,t,t.next)<0}function d(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function g(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function m(t,e,r,n,i,a,o,s){return(i-o)*(e-s)-(t-o)*(a-s)>=0&&(t-o)*(n-s)-(r-o)*(e-s)>=0&&(r-o)*(a-s)-(i-o)*(n-s)>=0}function v(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&b(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(T(t,e)&&T(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do{r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)&&(y(t.prev,t,e.prev)||y(t,e.prev,e))||x(t,e)&&y(t.prev,t,t.next)>0&&y(e.prev,e,e.next)>0)}function y(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function x(t,e){return t.x===e.x&&t.y===e.y}function b(t,e,r,n){var i=w(y(t,e,r)),a=w(y(t,e,n)),o=w(y(r,n,t)),s=w(y(r,n,e));return i!==a&&o!==s||(!(0!==i||!_(t,r,e))||(!(0!==a||!_(t,n,e))||(!(0!==o||!_(r,t,n))||!(0!==s||!_(r,e,n)))))}function _(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function w(t){return t>0?1:t<0?-1:0}function T(t,e){return y(t.prev,t,t.next)<0?y(t,e,t.next)>=0&&y(t,t.prev,e)>=0:y(t,e,t.prev)<0||y(t,t.next,e)<0}function k(t,e){var r=new S(t.i,t.x,t.y),n=new S(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function A(t,e,r,n){var i=new S(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function M(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function S(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function E(t,e,r,n){for(var i=0,a=e,o=r-n;a<r;a+=n)i+=(t[o]-t[a])*(t[a+1]+t[o+1]),o=a;return i}e.exports=n,e.exports.default=n,n.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,o=Math.abs(E(t,0,a,r));if(i)for(var s=0,l=e.length;s<l;s++){var c=e[s]*r,u=s<l-1?e[s+1]*r:t.length;o-=Math.abs(E(t,c,u,r))}var f=0;for(s=0;s<n.length;s+=3){var h=n[s]*r,p=n[s+1]*r,d=n[s+2]*r;f+=Math.abs((t[h]-t[d])*(t[p+1]-t[h+1])-(t[h]-t[p])*(t[d+1]-t[h+1]))}return 0===o&&0===f?0:Math.abs((f-o)/o)},n.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var o=0;o<e;o++)r.vertices.push(t[i][a][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r}},{}],130:[function(t,e,r){var n=t("strongly-connected-components");e.exports=function(t,e){var r,i=[],a=[],o=[],s={},l=[];function c(t){var e,n,i=!1;for(a.push(t),o[t]=!0,e=0;e<l[t].length;e++)(n=l[t][e])===r?(u(r,a),i=!0):o[n]||(i=c(n));if(i)!function t(e){o[e]=!1,s.hasOwnProperty(e)&&Object.keys(s[e]).forEach((function(r){delete s[e][r],o[r]&&t(r)}))}(t);else for(e=0;e<l[t].length;e++){n=l[t][e];var f=s[n];f||(f={},s[n]=f),f[n]=!0}return a.pop(),i}function u(t,r){var n=[].concat(r).concat(t);e?e(c):i.push(n)}function f(e){!function(e){for(var r=0;r<t.length;r++)r<e&&(t[r]=[]),t[r]=t[r].filter((function(t){return t>=e}))}(e);for(var r,i=n(t).components.filter((function(t){return t.length>1})),a=1/0,o=0;o<i.length;o++)for(var s=0;s<i[o].length;s++)i[o][s]<a&&(a=i[o][s],r=o);var l=i[r];return!!l&&{leastVertex:a,adjList:t.map((function(t,e){return-1===l.indexOf(e)?[]:t.filter((function(t){return-1!==l.indexOf(t)}))}))}}r=0;for(var h=t.length;r<h;){var p=f(r);if(r=p.leastVertex,l=p.adjList){for(var d=0;d<l.length;d++)for(var g=0;g<l[d].length;g++){var m=l[d][g];o[+m]=!1,s[m]={}}c(r),r+=1}else r=h}return e?void 0:i}},{"strongly-connected-components":306}],131:[function(t,e,r){"use strict";var n=t("../../object/valid-value");e.exports=function(){return n(this).length=0,this}},{"../../object/valid-value":162}],132:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?Array.from:t("./shim")},{"./is-implemented":133,"./shim":134}],133:[function(t,e,r){"use strict";e.exports=function(){var t,e,r=Array.from;return"function"==typeof r&&(e=r(t=["raz","dwa"]),Boolean(e&&e!==t&&"dwa"===e[1]))}},{}],134:[function(t,e,r){"use strict";var n=t("es6-symbol").iterator,i=t("../../function/is-arguments"),a=t("../../function/is-function"),o=t("../../number/to-pos-integer"),s=t("../../object/valid-callable"),l=t("../../object/valid-value"),c=t("../../object/is-value"),u=t("../../string/is-string"),f=Array.isArray,h=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},d=Object.defineProperty;e.exports=function(t){var e,r,g,m,v,y,x,b,_,w,T=arguments[1],k=arguments[2];if(t=Object(l(t)),c(T)&&s(T),this&&this!==Array&&a(this))e=this;else{if(!T){if(i(t))return 1!==(v=t.length)?Array.apply(null,t):((m=new Array(1))[0]=t[0],m);if(f(t)){for(m=new Array(v=t.length),r=0;r<v;++r)m[r]=t[r];return m}}m=[]}if(!f(t))if(void 0!==(_=t[n])){for(x=s(_).call(t),e&&(m=new e),b=x.next(),r=0;!b.done;)w=T?h.call(T,k,b.value,r):b.value,e?(p.value=w,d(m,r,p)):m[r]=w,b=x.next(),++r;v=r}else if(u(t)){for(v=t.length,e&&(m=new e),r=0,g=0;r<v;++r)w=t[r],r+1<v&&(y=w.charCodeAt(0))>=55296&&y<=56319&&(w+=t[++r]),w=T?h.call(T,k,w,g):w,e?(p.value=w,d(m,g,p)):m[g]=w,++g;v=g}if(void 0===v)for(v=o(t.length),e&&(m=new e(v)),r=0;r<v;++r)w=T?h.call(T,k,t[r],r):t[r],e?(p.value=w,d(m,r,p)):m[r]=w;return e&&(p.value=null,m.length=v),m}},{"../../function/is-arguments":135,"../../function/is-function":136,"../../number/to-pos-integer":142,"../../object/is-value":151,"../../object/valid-callable":160,"../../object/valid-value":162,"../../string/is-string":166,"es6-symbol":175}],135:[function(t,e,r){"use strict";var n=Object.prototype.toString,i=n.call(function(){return arguments}());e.exports=function(t){return n.call(t)===i}},{}],136:[function(t,e,r){"use strict";var n=Object.prototype.toString,i=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(t){return"function"==typeof t&&i(n.call(t))}},{}],137:[function(t,e,r){"use strict";e.exports=function(){}},{}],138:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?Math.sign:t("./shim")},{"./is-implemented":139,"./shim":140}],139:[function(t,e,r){"use strict";e.exports=function(){var t=Math.sign;return"function"==typeof t&&(1===t(10)&&-1===t(-20))}},{}],140:[function(t,e,r){"use strict";e.exports=function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1}},{}],141:[function(t,e,r){"use strict";var n=t("../math/sign"),i=Math.abs,a=Math.floor;e.exports=function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?n(t)*a(i(t)):t}},{"../math/sign":138}],142:[function(t,e,r){"use strict";var n=t("./to-integer"),i=Math.max;e.exports=function(t){return i(0,n(t))}},{"./to-integer":141}],143:[function(t,e,r){"use strict";var n=t("./valid-callable"),i=t("./valid-value"),a=Function.prototype.bind,o=Function.prototype.call,s=Object.keys,l=Object.prototype.propertyIsEnumerable;e.exports=function(t,e){return function(r,c){var u,f=arguments[2],h=arguments[3];return r=Object(i(r)),n(c),u=s(r),h&&u.sort("function"==typeof h?a.call(h,r):void 0),"function"!=typeof t&&(t=u[t]),o.call(t,u,(function(t,n){return l.call(r,t)?o.call(c,f,r[t],t,r,n):e}))}}},{"./valid-callable":160,"./valid-value":162}],144:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?Object.assign:t("./shim")},{"./is-implemented":145,"./shim":146}],145:[function(t,e,r){"use strict";e.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},{}],146:[function(t,e,r){"use strict";var n=t("../keys"),i=t("../valid-value"),a=Math.max;e.exports=function(t,e){var r,o,s,l=a(arguments.length,2);for(t=Object(i(t)),s=function(n){try{t[n]=e[n]}catch(t){r||(r=t)}},o=1;o<l;++o)n(e=arguments[o]).forEach(s);if(void 0!==r)throw r;return t}},{"../keys":152,"../valid-value":162}],147:[function(t,e,r){"use strict";var n=t("../array/from"),i=t("./assign"),a=t("./valid-value");e.exports=function(t){var e=Object(a(t)),r=arguments[1],o=Object(arguments[2]);if(e!==t&&!r)return e;var s={};return r?n(r,(function(e){(o.ensure||e in t)&&(s[e]=t[e])})):i(s,t),s}},{"../array/from":132,"./assign":144,"./valid-value":162}],148:[function(t,e,r){"use strict";var n,i,a,o,s=Object.create;t("./set-prototype-of/is-implemented")()||(n=t("./set-prototype-of/shim")),e.exports=n?1!==n.level?s:(i={},a={},o={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach((function(t){a[t]="__proto__"!==t?o:{configurable:!0,enumerable:!1,writable:!0,value:void 0}})),Object.defineProperties(i,a),Object.defineProperty(n,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:i}),function(t,e){return s(null===t?i:t,e)}):s},{"./set-prototype-of/is-implemented":158,"./set-prototype-of/shim":159}],149:[function(t,e,r){"use strict";e.exports=t("./_iterate")("forEach")},{"./_iterate":143}],150:[function(t,e,r){"use strict";var n=t("./is-value"),i={function:!0,object:!0};e.exports=function(t){return n(t)&&i[typeof t]||!1}},{"./is-value":151}],151:[function(t,e,r){"use strict";var n=t("../function/noop")();e.exports=function(t){return t!==n&&null!==t}},{"../function/noop":137}],152:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?Object.keys:t("./shim")},{"./is-implemented":153,"./shim":154}],153:[function(t,e,r){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},{}],154:[function(t,e,r){"use strict";var n=t("../is-value"),i=Object.keys;e.exports=function(t){return i(n(t)?Object(t):t)}},{"../is-value":151}],155:[function(t,e,r){"use strict";var n=t("./valid-callable"),i=t("./for-each"),a=Function.prototype.call;e.exports=function(t,e){var r={},o=arguments[2];return n(e),i(t,(function(t,n,i,s){r[n]=a.call(e,o,t,n,i,s)})),r}},{"./for-each":149,"./valid-callable":160}],156:[function(t,e,r){"use strict";var n=t("./is-value"),i=Array.prototype.forEach,a=Object.create,o=function(t,e){var r;for(r in t)e[r]=t[r]};e.exports=function(t){var e=a(null);return i.call(arguments,(function(t){n(t)&&o(Object(t),e)})),e}},{"./is-value":151}],157:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?Object.setPrototypeOf:t("./shim")},{"./is-implemented":158,"./shim":159}],158:[function(t,e,r){"use strict";var n=Object.create,i=Object.getPrototypeOf,a={};e.exports=function(){var t=Object.setPrototypeOf,e=arguments[0]||n;return"function"==typeof t&&i(t(e(null),a))===a}},{}],159:[function(t,e,r){"use strict";var n,i=t("../is-object"),a=t("../valid-value"),o=Object.prototype.isPrototypeOf,s=Object.defineProperty,l={configurable:!0,enumerable:!1,writable:!0,value:void 0};n=function(t,e){if(a(t),null===e||i(e))return t;throw new TypeError("Prototype must be null or an object")},e.exports=function(t){var e,r;return t?(2===t.level?t.set?(r=t.set,e=function(t,e){return r.call(n(t,e),e),t}):e=function(t,e){return n(t,e).__proto__=e,t}:e=function t(e,r){var i;return n(e,r),(i=o.call(t.nullPolyfill,e))&&delete t.nullPolyfill.__proto__,null===r&&(r=t.nullPolyfill),e.__proto__=r,i&&s(t.nullPolyfill,"__proto__",l),e},Object.defineProperty(e,"level",{configurable:!1,enumerable:!1,writable:!1,value:t.level})):null}(function(){var t,e=Object.create(null),r={},n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(n){try{(t=n.set).call(e,r)}catch(t){}if(Object.getPrototypeOf(e)===r)return{set:t,level:2}}return e.__proto__=r,Object.getPrototypeOf(e)===r?{level:2}:((e={}).__proto__=r,Object.getPrototypeOf(e)===r&&{level:1})}()),t("../create")},{"../create":148,"../is-object":150,"../valid-value":162}],160:[function(t,e,r){"use strict";e.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},{}],161:[function(t,e,r){"use strict";var n=t("./is-object");e.exports=function(t){if(!n(t))throw new TypeError(t+" is not an Object");return t}},{"./is-object":150}],162:[function(t,e,r){"use strict";var n=t("./is-value");e.exports=function(t){if(!n(t))throw new TypeError("Cannot use null or undefined");return t}},{"./is-value":151}],163:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?String.prototype.contains:t("./shim")},{"./is-implemented":164,"./shim":165}],164:[function(t,e,r){"use strict";var n="razdwatrzy";e.exports=function(){return"function"==typeof n.contains&&(!0===n.contains("dwa")&&!1===n.contains("foo"))}},{}],165:[function(t,e,r){"use strict";var n=String.prototype.indexOf;e.exports=function(t){return n.call(this,t,arguments[1])>-1}},{}],166:[function(t,e,r){"use strict";var n=Object.prototype.toString,i=n.call("");e.exports=function(t){return"string"==typeof t||t&&"object"==typeof t&&(t instanceof String||n.call(t)===i)||!1}},{}],167:[function(t,e,r){"use strict";var n=Object.create(null),i=Math.random;e.exports=function(){var t;do{t=i().toString(36).slice(2)}while(n[t]);return t}},{}],168:[function(t,e,r){"use strict";var n,i=t("es5-ext/object/set-prototype-of"),a=t("es5-ext/string/#/contains"),o=t("d"),s=t("es6-symbol"),l=t("./"),c=Object.defineProperty;n=e.exports=function(t,e){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");l.call(this,t),e=e?a.call(e,"key+value")?"key+value":a.call(e,"key")?"key":"value":"value",c(this,"__kind__",o("",e))},i&&i(n,l),delete n.prototype.constructor,n.prototype=Object.create(l.prototype,{_resolve:o((function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t}))}),c(n.prototype,s.toStringTag,o("c","Array Iterator"))},{"./":171,d:106,"es5-ext/object/set-prototype-of":157,"es5-ext/string/#/contains":163,"es6-symbol":175}],169:[function(t,e,r){"use strict";var n=t("es5-ext/function/is-arguments"),i=t("es5-ext/object/valid-callable"),a=t("es5-ext/string/is-string"),o=t("./get"),s=Array.isArray,l=Function.prototype.call,c=Array.prototype.some;e.exports=function(t,e){var r,u,f,h,p,d,g,m,v=arguments[2];if(s(t)||n(t)?r="array":a(t)?r="string":t=o(t),i(e),f=function(){h=!0},"array"!==r)if("string"!==r)for(u=t.next();!u.done;){if(l.call(e,v,u.value,f),h)return;u=t.next()}else for(d=t.length,p=0;p<d&&(g=t[p],p+1<d&&(m=g.charCodeAt(0))>=55296&&m<=56319&&(g+=t[++p]),l.call(e,v,g,f),!h);++p);else c.call(t,(function(t){return l.call(e,v,t,f),h}))}},{"./get":170,"es5-ext/function/is-arguments":135,"es5-ext/object/valid-callable":160,"es5-ext/string/is-string":166}],170:[function(t,e,r){"use strict";var n=t("es5-ext/function/is-arguments"),i=t("es5-ext/string/is-string"),a=t("./array"),o=t("./string"),s=t("./valid-iterable"),l=t("es6-symbol").iterator;e.exports=function(t){return"function"==typeof s(t)[l]?t[l]():n(t)?new a(t):i(t)?new o(t):new a(t)}},{"./array":168,"./string":173,"./valid-iterable":174,"es5-ext/function/is-arguments":135,"es5-ext/string/is-string":166,"es6-symbol":175}],171:[function(t,e,r){"use strict";var n,i=t("es5-ext/array/#/clear"),a=t("es5-ext/object/assign"),o=t("es5-ext/object/valid-callable"),s=t("es5-ext/object/valid-value"),l=t("d"),c=t("d/auto-bind"),u=t("es6-symbol"),f=Object.defineProperty,h=Object.defineProperties;e.exports=n=function(t,e){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");h(this,{__list__:l("w",s(t)),__context__:l("w",e),__nextIndex__:l("w",0)}),e&&(o(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear))},delete n.prototype.constructor,h(n.prototype,a({_next:l((function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()})),next:l((function(){return this._createResult(this._next())})),_createResult:l((function(t){return void 0===t?{done:!0,value:void 0}:{done:!1,value:this._resolve(t)}})),_resolve:l((function(t){return this.__list__[t]})),_unBind:l((function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)})),toString:l((function(){return"[object "+(this[u.toStringTag]||"Object")+"]"}))},c({_onAdd:l((function(t){t>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(e,r){e>=t&&(this.__redo__[r]=++e)}),this),this.__redo__.push(t)):f(this,"__redo__",l("c",[t])))})),_onDelete:l((function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach((function(e,r){e>t&&(this.__redo__[r]=--e)}),this)))})),_onClear:l((function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0}))}))),f(n.prototype,u.iterator,l((function(){return this})))},{d:106,"d/auto-bind":105,"es5-ext/array/#/clear":131,"es5-ext/object/assign":144,"es5-ext/object/valid-callable":160,"es5-ext/object/valid-value":162,"es6-symbol":175}],172:[function(t,e,r){"use strict";var n=t("es5-ext/function/is-arguments"),i=t("es5-ext/object/is-value"),a=t("es5-ext/string/is-string"),o=t("es6-symbol").iterator,s=Array.isArray;e.exports=function(t){return!!i(t)&&(!!s(t)||(!!a(t)||(!!n(t)||"function"==typeof t[o])))}},{"es5-ext/function/is-arguments":135,"es5-ext/object/is-value":151,"es5-ext/string/is-string":166,"es6-symbol":175}],173:[function(t,e,r){"use strict";var n,i=t("es5-ext/object/set-prototype-of"),a=t("d"),o=t("es6-symbol"),s=t("./"),l=Object.defineProperty;n=e.exports=function(t){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");t=String(t),s.call(this,t),l(this,"__length__",a("",t.length))},i&&i(n,s),delete n.prototype.constructor,n.prototype=Object.create(s.prototype,{_next:a((function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()})),_resolve:a((function(t){var e,r=this.__list__[t];return this.__nextIndex__===this.__length__?r:(e=r.charCodeAt(0))>=55296&&e<=56319?r+this.__list__[this.__nextIndex__++]:r}))}),l(n.prototype,o.toStringTag,a("c","String Iterator"))},{"./":171,d:106,"es5-ext/object/set-prototype-of":157,"es6-symbol":175}],174:[function(t,e,r){"use strict";var n=t("./is-iterable");e.exports=function(t){if(!n(t))throw new TypeError(t+" is not iterable");return t}},{"./is-iterable":172}],175:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?t("ext/global-this").Symbol:t("./polyfill")},{"./is-implemented":176,"./polyfill":181,"ext/global-this":188}],176:[function(t,e,r){"use strict";var n=t("ext/global-this"),i={object:!0,symbol:!0};e.exports=function(){var t,e=n.Symbol;if("function"!=typeof e)return!1;t=e("test symbol");try{String(t)}catch(t){return!1}return!!i[typeof e.iterator]&&(!!i[typeof e.toPrimitive]&&!!i[typeof e.toStringTag])}},{"ext/global-this":188}],177:[function(t,e,r){"use strict";e.exports=function(t){return!!t&&("symbol"==typeof t||!!t.constructor&&("Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag]))}},{}],178:[function(t,e,r){"use strict";var n=t("d"),i=Object.create,a=Object.defineProperty,o=Object.prototype,s=i(null);e.exports=function(t){for(var e,r,i=0;s[t+(i||"")];)++i;return s[t+=i||""]=!0,a(o,e="@@"+t,n.gs(null,(function(t){r||(r=!0,a(this,e,n(t)),r=!1)}))),e}},{d:106}],179:[function(t,e,r){"use strict";var n=t("d"),i=t("ext/global-this").Symbol;e.exports=function(t){return Object.defineProperties(t,{hasInstance:n("",i&&i.hasInstance||t("hasInstance")),isConcatSpreadable:n("",i&&i.isConcatSpreadable||t("isConcatSpreadable")),iterator:n("",i&&i.iterator||t("iterator")),match:n("",i&&i.match||t("match")),replace:n("",i&&i.replace||t("replace")),search:n("",i&&i.search||t("search")),species:n("",i&&i.species||t("species")),split:n("",i&&i.split||t("split")),toPrimitive:n("",i&&i.toPrimitive||t("toPrimitive")),toStringTag:n("",i&&i.toStringTag||t("toStringTag")),unscopables:n("",i&&i.unscopables||t("unscopables"))})}},{d:106,"ext/global-this":188}],180:[function(t,e,r){"use strict";var n=t("d"),i=t("../../../validate-symbol"),a=Object.create(null);e.exports=function(t){return Object.defineProperties(t,{for:n((function(e){return a[e]?a[e]:a[e]=t(String(e))})),keyFor:n((function(t){var e;for(e in i(t),a)if(a[e]===t)return e}))})}},{"../../../validate-symbol":182,d:106}],181:[function(t,e,r){"use strict";var n,i,a,o=t("d"),s=t("./validate-symbol"),l=t("ext/global-this").Symbol,c=t("./lib/private/generate-name"),u=t("./lib/private/setup/standard-symbols"),f=t("./lib/private/setup/symbol-registry"),h=Object.create,p=Object.defineProperties,d=Object.defineProperty;if("function"==typeof l)try{String(l()),a=!0}catch(t){}else l=null;i=function(t){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return n(t)},e.exports=n=function t(e){var r;if(this instanceof t)throw new TypeError("Symbol is not a constructor");return a?l(e):(r=h(i.prototype),e=void 0===e?"":String(e),p(r,{__description__:o("",e),__name__:o("",c(e))}))},u(n),f(n),p(i.prototype,{constructor:o(n),toString:o("",(function(){return this.__name__}))}),p(n.prototype,{toString:o((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:o((function(){return s(this)}))}),d(n.prototype,n.toPrimitive,o("",(function(){var t=s(this);return"symbol"==typeof t?t:t.toString()}))),d(n.prototype,n.toStringTag,o("c","Symbol")),d(i.prototype,n.toStringTag,o("c",n.prototype[n.toStringTag])),d(i.prototype,n.toPrimitive,o("c",n.prototype[n.toPrimitive]))},{"./lib/private/generate-name":178,"./lib/private/setup/standard-symbols":179,"./lib/private/setup/symbol-registry":180,"./validate-symbol":182,d:106,"ext/global-this":188}],182:[function(t,e,r){"use strict";var n=t("./is-symbol");e.exports=function(t){if(!n(t))throw new TypeError(t+" is not a symbol");return t}},{"./is-symbol":177}],183:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?WeakMap:t("./polyfill")},{"./is-implemented":184,"./polyfill":186}],184:[function(t,e,r){"use strict";e.exports=function(){var t,e;if("function"!=typeof WeakMap)return!1;try{t=new WeakMap([[e={},"one"],[{},"two"],[{},"three"]])}catch(t){return!1}return"[object WeakMap]"===String(t)&&("function"==typeof t.set&&(t.set({},1)===t&&("function"==typeof t.delete&&("function"==typeof t.has&&"one"===t.get(e)))))}},{}],185:[function(t,e,r){"use strict";e.exports="function"==typeof WeakMap&&"[object WeakMap]"===Object.prototype.toString.call(new WeakMap)},{}],186:[function(t,e,r){"use strict";var n,i=t("es5-ext/object/is-value"),a=t("es5-ext/object/set-prototype-of"),o=t("es5-ext/object/valid-object"),s=t("es5-ext/object/valid-value"),l=t("es5-ext/string/random-uniq"),c=t("d"),u=t("es6-iterator/get"),f=t("es6-iterator/for-of"),h=t("es6-symbol").toStringTag,p=t("./is-native-implemented"),d=Array.isArray,g=Object.defineProperty,m=Object.prototype.hasOwnProperty,v=Object.getPrototypeOf;e.exports=n=function(){var t,e=arguments[0];if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");return t=p&&a&&WeakMap!==n?a(new WeakMap,v(this)):this,i(e)&&(d(e)||(e=u(e))),g(t,"__weakMapData__",c("c","$weakMap$"+l())),e?(f(e,(function(e){s(e),t.set(e[0],e[1])})),t):t},p&&(a&&a(n,WeakMap),n.prototype=Object.create(WeakMap.prototype,{constructor:c(n)})),Object.defineProperties(n.prototype,{delete:c((function(t){return!!m.call(o(t),this.__weakMapData__)&&(delete t[this.__weakMapData__],!0)})),get:c((function(t){if(m.call(o(t),this.__weakMapData__))return t[this.__weakMapData__]})),has:c((function(t){return m.call(o(t),this.__weakMapData__)})),set:c((function(t,e){return g(o(t),this.__weakMapData__,c("c",e)),this})),toString:c((function(){return"[object WeakMap]"}))}),g(n.prototype,h,c("c","WeakMap"))},{"./is-native-implemented":185,d:106,"es5-ext/object/is-value":151,"es5-ext/object/set-prototype-of":157,"es5-ext/object/valid-object":161,"es5-ext/object/valid-value":162,"es5-ext/string/random-uniq":167,"es6-iterator/for-of":169,"es6-iterator/get":170,"es6-symbol":175}],187:[function(t,e,r){var n=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(t){return n()}try{return __global__||n()}finally{delete Object.prototype.__global__}}()},{}],188:[function(t,e,r){"use strict";e.exports=t("./is-implemented")()?globalThis:t("./implementation")},{"./implementation":187,"./is-implemented":189}],189:[function(t,e,r){"use strict";e.exports=function(){return"object"==typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},{}],190:[function(t,e,r){"use strict";var n=t("is-string-blank");e.exports=function(t){var e=typeof t;if("string"===e){var r=t;if(0===(t=+t)&&n(r))return!1}else if("number"!==e)return!1;return t-t<1}},{"is-string-blank":237}],191:[function(t,e,r){var n=t("dtype");e.exports=function(t,e,r){if(!t)throw new TypeError("must specify data as first parameter");if(r=0|+(r||0),Array.isArray(t)&&t[0]&&"number"==typeof t[0][0]){var i,a,o,s,l=t[0].length,c=t.length*l;e&&"string"!=typeof e||(e=new(n(e||"float32"))(c+r));var u=e.length-r;if(c!==u)throw new Error("source length "+c+" ("+l+"x"+t.length+") does not match destination length "+u);for(i=0,o=r;i<t.length;i++)for(a=0;a<l;a++)e[o++]=null===t[i][a]?NaN:t[i][a]}else if(e&&"string"!=typeof e)e.set(t,r);else{var f=n(e||"float32");if(Array.isArray(t)||"array"===e)for(e=new f(t.length+r),i=0,o=r,s=e.length;o<s;o++,i++)e[o]=null===t[i]?NaN:t[i];else 0===r?e=new f(t):(e=new f(t.length+r)).set(t,r)}return e}},{dtype:127}],192:[function(t,e,r){"use strict";var n=t("css-font/stringify"),i=[32,126];e.exports=function(t){var e=(t=t||{}).shape?t.shape:t.canvas?[t.canvas.width,t.canvas.height]:[512,512],r=t.canvas||document.createElement("canvas"),a=t.font,o="number"==typeof t.step?[t.step,t.step]:t.step||[32,32],s=t.chars||i;a&&"string"!=typeof a&&(a=n(a));if(Array.isArray(s)){if(2===s.length&&"number"==typeof s[0]&&"number"==typeof s[1]){for(var l=[],c=s[0],u=0;c<=s[1];c++)l[u++]=String.fromCharCode(c);s=l}}else s=String(s).split("");e=e.slice(),r.width=e[0],r.height=e[1];var f=r.getContext("2d");f.fillStyle="#000",f.fillRect(0,0,r.width,r.height),f.font=a,f.textAlign="center",f.textBaseline="middle",f.fillStyle="#fff";var h=o[0]/2,p=o[1]/2;for(c=0;c<s.length;c++)f.fillText(s[c],h,p),(h+=o[0])>e[0]-o[0]/2&&(h=o[0]/2,p+=o[1]);return r}},{"css-font/stringify":102}],193:[function(t,e,r){"use strict";function n(t,e){e||(e={}),("string"==typeof t||Array.isArray(t))&&(e.family=t);var r=Array.isArray(e.family)?e.family.join(", "):e.family;if(!r)throw Error("`family` must be defined");var s=e.size||e.fontSize||e.em||48,l=e.weight||e.fontWeight||"",c=(t=[e.style||e.fontStyle||"",l,s].join(" ")+"px "+r,e.origin||"top");if(n.cache[r]&&s<=n.cache[r].em)return i(n.cache[r],c);var u=e.canvas||n.canvas,f=u.getContext("2d"),h={upper:void 0!==e.upper?e.upper:"H",lower:void 0!==e.lower?e.lower:"x",descent:void 0!==e.descent?e.descent:"p",ascent:void 0!==e.ascent?e.ascent:"h",tittle:void 0!==e.tittle?e.tittle:"i",overshoot:void 0!==e.overshoot?e.overshoot:"O"},p=Math.ceil(1.5*s);u.height=p,u.width=.5*p,f.font=t;var d={top:0};f.clearRect(0,0,p,p),f.textBaseline="top",f.fillStyle="black",f.fillText("H",0,0);var g=a(f.getImageData(0,0,p,p));f.clearRect(0,0,p,p),f.textBaseline="bottom",f.fillText("H",0,p);var m=a(f.getImageData(0,0,p,p));d.lineHeight=d.bottom=p-m+g,f.clearRect(0,0,p,p),f.textBaseline="alphabetic",f.fillText("H",0,p);var v=p-a(f.getImageData(0,0,p,p))-1+g;d.baseline=d.alphabetic=v,f.clearRect(0,0,p,p),f.textBaseline="middle",f.fillText("H",0,.5*p);var y=a(f.getImageData(0,0,p,p));d.median=d.middle=p-y-1+g-.5*p,f.clearRect(0,0,p,p),f.textBaseline="hanging",f.fillText("H",0,.5*p);var x=a(f.getImageData(0,0,p,p));d.hanging=p-x-1+g-.5*p,f.clearRect(0,0,p,p),f.textBaseline="ideographic",f.fillText("H",0,p);var b=a(f.getImageData(0,0,p,p));if(d.ideographic=p-b-1+g,h.upper&&(f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.upper,0,0),d.upper=a(f.getImageData(0,0,p,p)),d.capHeight=d.baseline-d.upper),h.lower&&(f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.lower,0,0),d.lower=a(f.getImageData(0,0,p,p)),d.xHeight=d.baseline-d.lower),h.tittle&&(f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.tittle,0,0),d.tittle=a(f.getImageData(0,0,p,p))),h.ascent&&(f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.ascent,0,0),d.ascent=a(f.getImageData(0,0,p,p))),h.descent&&(f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.descent,0,0),d.descent=o(f.getImageData(0,0,p,p))),h.overshoot){f.clearRect(0,0,p,p),f.textBaseline="top",f.fillText(h.overshoot,0,0);var _=o(f.getImageData(0,0,p,p));d.overshoot=_-v}for(var w in d)d[w]/=s;return d.em=s,n.cache[r]=d,i(d,c)}function i(t,e){var r={};for(var n in"string"==typeof e&&(e=t[e]),t)"em"!==n&&(r[n]=t[n]-e);return r}function a(t){for(var e=t.height,r=t.data,n=3;n<r.length;n+=4)if(0!==r[n])return Math.floor(.25*(n-3)/e)}function o(t){for(var e=t.height,r=t.data,n=r.length-1;n>0;n-=4)if(0!==r[n])return Math.floor(.25*(n-3)/e)}e.exports=n,n.canvas=document.createElement("canvas"),n.cache={}},{}],194:[function(t,e,r){e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("must specify type string");if(e=e||{},"undefined"==typeof document&&!e.canvas)return null;var r=e.canvas||document.createElement("canvas");"number"==typeof e.width&&(r.width=e.width);"number"==typeof e.height&&(r.height=e.height);var n,i=e;try{var a=[t];0===t.indexOf("webgl")&&a.push("experimental-"+t);for(var o=0;o<a.length;o++)if(n=r.getContext(a[o],i))return n}catch(t){n=null}return n||null}},{}],195:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],p=e[11],d=e[12],g=e[13],m=e[14],v=e[15];return t[0]=s*(h*v-p*m)-f*(l*v-c*m)+g*(l*p-c*h),t[1]=-(n*(h*v-p*m)-f*(i*v-a*m)+g*(i*p-a*h)),t[2]=n*(l*v-c*m)-s*(i*v-a*m)+g*(i*c-a*l),t[3]=-(n*(l*p-c*h)-s*(i*p-a*h)+f*(i*c-a*l)),t[4]=-(o*(h*v-p*m)-u*(l*v-c*m)+d*(l*p-c*h)),t[5]=r*(h*v-p*m)-u*(i*v-a*m)+d*(i*p-a*h),t[6]=-(r*(l*v-c*m)-o*(i*v-a*m)+d*(i*c-a*l)),t[7]=r*(l*p-c*h)-o*(i*p-a*h)+u*(i*c-a*l),t[8]=o*(f*v-p*g)-u*(s*v-c*g)+d*(s*p-c*f),t[9]=-(r*(f*v-p*g)-u*(n*v-a*g)+d*(n*p-a*f)),t[10]=r*(s*v-c*g)-o*(n*v-a*g)+d*(n*c-a*s),t[11]=-(r*(s*p-c*f)-o*(n*p-a*f)+u*(n*c-a*s)),t[12]=-(o*(f*m-h*g)-u*(s*m-l*g)+d*(s*h-l*f)),t[13]=r*(f*m-h*g)-u*(n*m-i*g)+d*(n*h-i*f),t[14]=-(r*(s*m-l*g)-o*(n*m-i*g)+d*(n*l-i*s)),t[15]=r*(s*h-l*f)-o*(n*h-i*f)+u*(n*l-i*s),t}},{}],196:[function(t,e,r){e.exports=function(t){var e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],197:[function(t,e,r){e.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},{}],198:[function(t,e,r){e.exports=function(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],199:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2],i=t[3],a=t[4],o=t[5],s=t[6],l=t[7],c=t[8],u=t[9],f=t[10],h=t[11],p=t[12],d=t[13],g=t[14],m=t[15];return(e*o-r*a)*(f*m-h*g)-(e*s-n*a)*(u*m-h*d)+(e*l-i*a)*(u*g-f*d)+(r*s-n*o)*(c*m-h*p)-(r*l-i*o)*(c*g-f*p)+(n*l-i*s)*(c*d-u*p)}},{}],200:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=r+r,s=n+n,l=i+i,c=r*o,u=n*o,f=n*s,h=i*o,p=i*s,d=i*l,g=a*o,m=a*s,v=a*l;return t[0]=1-f-d,t[1]=u+v,t[2]=h-m,t[3]=0,t[4]=u-v,t[5]=1-c-d,t[6]=p+g,t[7]=0,t[8]=h+m,t[9]=p-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],201:[function(t,e,r){e.exports=function(t,e,r){var n,i,a,o=r[0],s=r[1],l=r[2],c=Math.sqrt(o*o+s*s+l*l);if(Math.abs(c)<1e-6)return null;return o*=c=1/c,s*=c,l*=c,n=Math.sin(e),i=Math.cos(e),a=1-i,t[0]=o*o*a+i,t[1]=s*o*a+l*n,t[2]=l*o*a-s*n,t[3]=0,t[4]=o*s*a-l*n,t[5]=s*s*a+i,t[6]=l*s*a+o*n,t[7]=0,t[8]=o*l*a+s*n,t[9]=s*l*a-o*n,t[10]=l*l*a+i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],202:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=n+n,l=i+i,c=a+a,u=n*s,f=n*l,h=n*c,p=i*l,d=i*c,g=a*c,m=o*s,v=o*l,y=o*c;return t[0]=1-(p+g),t[1]=f+y,t[2]=h-v,t[3]=0,t[4]=f-y,t[5]=1-(u+g),t[6]=d+m,t[7]=0,t[8]=h+v,t[9]=d-m,t[10]=1-(u+p),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}},{}],203:[function(t,e,r){e.exports=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],204:[function(t,e,r){e.exports=function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}},{}],205:[function(t,e,r){e.exports=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],206:[function(t,e,r){e.exports=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],207:[function(t,e,r){e.exports=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],208:[function(t,e,r){e.exports=function(t,e,r,n,i,a,o){var s=1/(r-e),l=1/(i-n),c=1/(a-o);return t[0]=2*a*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*l,t[6]=0,t[7]=0,t[8]=(r+e)*s,t[9]=(i+n)*l,t[10]=(o+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*c,t[15]=0,t}},{}],209:[function(t,e,r){e.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],210:[function(t,e,r){e.exports={create:t("./create"),clone:t("./clone"),copy:t("./copy"),identity:t("./identity"),transpose:t("./transpose"),invert:t("./invert"),adjoint:t("./adjoint"),determinant:t("./determinant"),multiply:t("./multiply"),translate:t("./translate"),scale:t("./scale"),rotate:t("./rotate"),rotateX:t("./rotateX"),rotateY:t("./rotateY"),rotateZ:t("./rotateZ"),fromRotation:t("./fromRotation"),fromRotationTranslation:t("./fromRotationTranslation"),fromScaling:t("./fromScaling"),fromTranslation:t("./fromTranslation"),fromXRotation:t("./fromXRotation"),fromYRotation:t("./fromYRotation"),fromZRotation:t("./fromZRotation"),fromQuat:t("./fromQuat"),frustum:t("./frustum"),perspective:t("./perspective"),perspectiveFromFieldOfView:t("./perspectiveFromFieldOfView"),ortho:t("./ortho"),lookAt:t("./lookAt"),str:t("./str")}},{"./adjoint":195,"./clone":196,"./copy":197,"./create":198,"./determinant":199,"./fromQuat":200,"./fromRotation":201,"./fromRotationTranslation":202,"./fromScaling":203,"./fromTranslation":204,"./fromXRotation":205,"./fromYRotation":206,"./fromZRotation":207,"./frustum":208,"./identity":209,"./invert":211,"./lookAt":212,"./multiply":213,"./ortho":214,"./perspective":215,"./perspectiveFromFieldOfView":216,"./rotate":217,"./rotateX":218,"./rotateY":219,"./rotateZ":220,"./scale":221,"./str":222,"./translate":223,"./transpose":224}],211:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],p=e[11],d=e[12],g=e[13],m=e[14],v=e[15],y=r*s-n*o,x=r*l-i*o,b=r*c-a*o,_=n*l-i*s,w=n*c-a*s,T=i*c-a*l,k=u*g-f*d,A=u*m-h*d,M=u*v-p*d,S=f*m-h*g,E=f*v-p*g,L=h*v-p*m,C=y*L-x*E+b*S+_*M-w*A+T*k;if(!C)return null;return C=1/C,t[0]=(s*L-l*E+c*S)*C,t[1]=(i*E-n*L-a*S)*C,t[2]=(g*T-m*w+v*_)*C,t[3]=(h*w-f*T-p*_)*C,t[4]=(l*M-o*L-c*A)*C,t[5]=(r*L-i*M+a*A)*C,t[6]=(m*b-d*T-v*x)*C,t[7]=(u*T-h*b+p*x)*C,t[8]=(o*E-s*M+c*k)*C,t[9]=(n*M-r*E-a*k)*C,t[10]=(d*w-g*b+v*y)*C,t[11]=(f*b-u*w-p*y)*C,t[12]=(s*A-o*S-l*k)*C,t[13]=(r*S-n*A+i*k)*C,t[14]=(g*x-d*_-m*y)*C,t[15]=(u*_-f*x+h*y)*C,t}},{}],212:[function(t,e,r){var n=t("./identity");e.exports=function(t,e,r,i){var a,o,s,l,c,u,f,h,p,d,g=e[0],m=e[1],v=e[2],y=i[0],x=i[1],b=i[2],_=r[0],w=r[1],T=r[2];if(Math.abs(g-_)<1e-6&&Math.abs(m-w)<1e-6&&Math.abs(v-T)<1e-6)return n(t);f=g-_,h=m-w,p=v-T,d=1/Math.sqrt(f*f+h*h+p*p),a=x*(p*=d)-b*(h*=d),o=b*(f*=d)-y*p,s=y*h-x*f,(d=Math.sqrt(a*a+o*o+s*s))?(a*=d=1/d,o*=d,s*=d):(a=0,o=0,s=0);l=h*s-p*o,c=p*a-f*s,u=f*o-h*a,(d=Math.sqrt(l*l+c*c+u*u))?(l*=d=1/d,c*=d,u*=d):(l=0,c=0,u=0);return t[0]=a,t[1]=l,t[2]=f,t[3]=0,t[4]=o,t[5]=c,t[6]=h,t[7]=0,t[8]=s,t[9]=u,t[10]=p,t[11]=0,t[12]=-(a*g+o*m+s*v),t[13]=-(l*g+c*m+u*v),t[14]=-(f*g+h*m+p*v),t[15]=1,t}},{"./identity":209}],213:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],g=e[12],m=e[13],v=e[14],y=e[15],x=r[0],b=r[1],_=r[2],w=r[3];return t[0]=x*n+b*s+_*f+w*g,t[1]=x*i+b*l+_*h+w*m,t[2]=x*a+b*c+_*p+w*v,t[3]=x*o+b*u+_*d+w*y,x=r[4],b=r[5],_=r[6],w=r[7],t[4]=x*n+b*s+_*f+w*g,t[5]=x*i+b*l+_*h+w*m,t[6]=x*a+b*c+_*p+w*v,t[7]=x*o+b*u+_*d+w*y,x=r[8],b=r[9],_=r[10],w=r[11],t[8]=x*n+b*s+_*f+w*g,t[9]=x*i+b*l+_*h+w*m,t[10]=x*a+b*c+_*p+w*v,t[11]=x*o+b*u+_*d+w*y,x=r[12],b=r[13],_=r[14],w=r[15],t[12]=x*n+b*s+_*f+w*g,t[13]=x*i+b*l+_*h+w*m,t[14]=x*a+b*c+_*p+w*v,t[15]=x*o+b*u+_*d+w*y,t}},{}],214:[function(t,e,r){e.exports=function(t,e,r,n,i,a,o){var s=1/(e-r),l=1/(n-i),c=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*s,t[13]=(i+n)*l,t[14]=(o+a)*c,t[15]=1,t}},{}],215:[function(t,e,r){e.exports=function(t,e,r,n,i){var a=1/Math.tan(e/2),o=1/(n-i);return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+n)*o,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*n*o,t[15]=0,t}},{}],216:[function(t,e,r){e.exports=function(t,e,r,n){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),l=2/(o+s),c=2/(i+a);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(o-s)*l*.5,t[9]=(i-a)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t}},{}],217:[function(t,e,r){e.exports=function(t,e,r,n){var i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S,E=n[0],L=n[1],C=n[2],P=Math.sqrt(E*E+L*L+C*C);if(Math.abs(P)<1e-6)return null;E*=P=1/P,L*=P,C*=P,i=Math.sin(r),a=Math.cos(r),o=1-a,s=e[0],l=e[1],c=e[2],u=e[3],f=e[4],h=e[5],p=e[6],d=e[7],g=e[8],m=e[9],v=e[10],y=e[11],x=E*E*o+a,b=L*E*o+C*i,_=C*E*o-L*i,w=E*L*o-C*i,T=L*L*o+a,k=C*L*o+E*i,A=E*C*o+L*i,M=L*C*o-E*i,S=C*C*o+a,t[0]=s*x+f*b+g*_,t[1]=l*x+h*b+m*_,t[2]=c*x+p*b+v*_,t[3]=u*x+d*b+y*_,t[4]=s*w+f*T+g*k,t[5]=l*w+h*T+m*k,t[6]=c*w+p*T+v*k,t[7]=u*w+d*T+y*k,t[8]=s*A+f*M+g*S,t[9]=l*A+h*M+m*S,t[10]=c*A+p*M+v*S,t[11]=u*A+d*M+y*S,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t}},{}],218:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],f=e[10],h=e[11];e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[4]=a*i+c*n,t[5]=o*i+u*n,t[6]=s*i+f*n,t[7]=l*i+h*n,t[8]=c*i-a*n,t[9]=u*i-o*n,t[10]=f*i-s*n,t[11]=h*i-l*n,t}},{}],219:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],l=e[3],c=e[8],u=e[9],f=e[10],h=e[11];e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=a*i-c*n,t[1]=o*i-u*n,t[2]=s*i-f*n,t[3]=l*i-h*n,t[8]=a*n+c*i,t[9]=o*n+u*i,t[10]=s*n+f*i,t[11]=l*n+h*i,t}},{}],220:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],l=e[3],c=e[4],u=e[5],f=e[6],h=e[7];e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=a*i+c*n,t[1]=o*i+u*n,t[2]=s*i+f*n,t[3]=l*i+h*n,t[4]=c*i-a*n,t[5]=u*i-o*n,t[6]=f*i-s*n,t[7]=h*i-l*n,t}},{}],221:[function(t,e,r){e.exports=function(t,e,r){var n=r[0],i=r[1],a=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},{}],222:[function(t,e,r){e.exports=function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}},{}],223:[function(t,e,r){e.exports=function(t,e,r){var n,i,a,o,s,l,c,u,f,h,p,d,g=r[0],m=r[1],v=r[2];e===t?(t[12]=e[0]*g+e[4]*m+e[8]*v+e[12],t[13]=e[1]*g+e[5]*m+e[9]*v+e[13],t[14]=e[2]*g+e[6]*m+e[10]*v+e[14],t[15]=e[3]*g+e[7]*m+e[11]*v+e[15]):(n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=c,t[7]=u,t[8]=f,t[9]=h,t[10]=p,t[11]=d,t[12]=n*g+s*m+f*v+e[12],t[13]=i*g+l*m+h*v+e[13],t[14]=a*g+c*m+p*v+e[14],t[15]=o*g+u*m+d*v+e[15]);return t}},{}],224:[function(t,e,r){e.exports=function(t,e){if(t===e){var r=e[1],n=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}},{}],225:[function(t,e,r){"use strict";var n=t("css-font"),i=t("pick-by-alias"),a=t("regl"),o=t("gl-util/context"),s=t("es6-weak-map"),l=t("color-normalize"),c=t("font-atlas"),u=t("typedarray-pool"),f=t("parse-rect"),h=t("is-plain-obj"),p=t("parse-unit"),d=t("to-px"),g=t("detect-kerning"),m=t("object-assign"),v=t("font-measure"),y=t("flatten-vertex-data"),x=t("bit-twiddle").nextPow2,b=new s,_=!1;if(document.body){var w=document.body.appendChild(document.createElement("div"));w.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(w).fontStretch&&(_=!0),document.body.removeChild(w)}var T=function(t){!function(t){return"function"==typeof t&&t._gl&&t.prop&&t.texture&&t.buffer}(t)?this.gl=o(t):(t={regl:t},this.gl=t.regl._gl),this.shader=b.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||a({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),b.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(h(t)?t:{})};T.prototype.createShader=function(){var t=this.regl,e=t({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:t.prop("count"),offset:t.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:t.this("sizeBuffer")},width:{offset:0,stride:8,buffer:t.this("sizeBuffer")},char:t.this("charBuffer"),position:t.this("position")},uniforms:{atlasSize:function(t,e){return[e.atlas.width,e.atlas.height]},atlasDim:function(t,e){return[e.atlas.cols,e.atlas.rows]},atlas:function(t,e){return e.atlas.texture},charStep:function(t,e){return e.atlas.step},em:function(t,e){return e.atlas.em},color:t.prop("color"),opacity:t.prop("opacity"),viewport:t.this("viewportArray"),scale:t.this("scale"),align:t.prop("align"),baseline:t.prop("baseline"),translate:t.this("translate"),positionOffset:t.prop("positionOffset")},primitive:"points",viewport:t.this("viewport"),vert:"\n\t\t\tprecision highp float;\n\t\t\tattribute float width, charOffset, char;\n\t\t\tattribute vec2 position;\n\t\t\tuniform float fontSize, charStep, em, align, baseline;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform vec4 color;\n\t\t\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvoid main () {\n\t\t\t\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\n\t\t\t\t\t+ vec2(positionOffset.x, -positionOffset.y)))\n\t\t\t\t\t/ (viewport.zw * scale.xy);\n\n\t\t\t\tvec2 position = (position + translate) * scale;\n\t\t\t\tposition += offset * scale;\n\n\t\t\t\tcharCoord = position * viewport.zw + viewport.xy;\n\n\t\t\t\tgl_Position = vec4(position * 2. - 1., 0, 1);\n\n\t\t\t\tgl_PointSize = charStep;\n\n\t\t\t\tcharId.x = mod(char, atlasDim.x);\n\t\t\t\tcharId.y = floor(char / atlasDim.x);\n\n\t\t\t\tcharWidth = width * em;\n\n\t\t\t\tfontColor = color / 255.;\n\t\t\t}",frag:"\n\t\t\tprecision highp float;\n\t\t\tuniform float fontSize, charStep, opacity;\n\t\t\tuniform vec2 atlasSize;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform sampler2D atlas;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\n\t\t\tfloat lightness(vec4 color) {\n\t\t\t\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\n\t\t\t}\n\n\t\t\tvoid main () {\n\t\t\t\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\n\t\t\t\tfloat halfCharStep = floor(charStep * .5 + .5);\n\n\t\t\t\t// invert y and shift by 1px (FF expecially needs that)\n\t\t\t\tuv.y = charStep - uv.y;\n\n\t\t\t\t// ignore points outside of character bounding box\n\t\t\t\tfloat halfCharWidth = ceil(charWidth * .5);\n\t\t\t\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\n\t\t\t\t\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\n\n\t\t\t\tuv += charId * charStep;\n\t\t\t\tuv = uv / atlasSize;\n\n\t\t\t\tvec4 color = fontColor;\n\t\t\t\tvec4 mask = texture2D(atlas, uv);\n\n\t\t\t\tfloat maskY = lightness(mask);\n\t\t\t\t// float colorY = lightness(color);\n\t\t\t\tcolor.a *= maskY;\n\t\t\t\tcolor.a *= opacity;\n\n\t\t\t\t// color.a += .1;\n\n\t\t\t\t// antialiasing, see yiq color space y-channel formula\n\t\t\t\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\n\n\t\t\t\tgl_FragColor = color;\n\t\t\t}"});return{regl:t,draw:e,atlas:{}}},T.prototype.update=function(t){var e=this;if("string"==typeof t)t={text:t};else if(!t)return;null!=(t=i(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map((function(t){return parseFloat(t)})):this.opacity=parseFloat(t.opacity)),null!=t.viewport&&(this.viewport=f(t.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null==this.viewport&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null!=t.kerning&&(this.kerning=t.kerning),null!=t.offset&&("number"==typeof t.offset&&(t.offset=[t.offset,0]),this.positionOffset=y(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||t.font||(t.font=T.baseFontSize+"px sans-serif");var r,a=!1,o=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach((function(t,r){if("string"==typeof t)try{t=n.parse(t)}catch(e){t=n.parse(T.baseFontSize+"px "+t)}else t=n.parse(n.stringify(t));var i=n.stringify({size:T.baseFontSize,family:t.family,stretch:_?t.stretch:void 0,variant:t.variant,weight:t.weight,style:t.style}),s=p(t.size),l=Math.round(s[0]*d(s[1]));if(l!==e.fontSize[r]&&(o=!0,e.fontSize[r]=l),!(e.font[r]&&i==e.font[r].baseString||(a=!0,e.font[r]=T.fonts[i],e.font[r]))){var c=t.family.join(", "),u=[t.style];t.style!=t.variant&&u.push(t.variant),t.variant!=t.weight&&u.push(t.weight),_&&t.weight!=t.stretch&&u.push(t.stretch),e.font[r]={baseString:i,family:c,weight:t.weight,stretch:t.stretch,style:t.style,variant:t.variant,width:{},kerning:{},metrics:v(c,{origin:"top",fontSize:T.baseFontSize,fontStyle:u.join(" ")})},T.fonts[i]=e.font[r]}})),(a||o)&&this.font.forEach((function(r,i){var a=n.stringify({size:e.fontSize[i],family:r.family,stretch:_?r.stretch:void 0,variant:r.variant,weight:r.weight,style:r.style});if(e.fontAtlas[i]=e.shader.atlas[a],!e.fontAtlas[i]){var o=r.metrics;e.shader.atlas[a]=e.fontAtlas[i]={fontString:a,step:2*Math.ceil(e.fontSize[i]*o.bottom*.5),em:e.fontSize[i],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:e.regl.texture()}}null==t.text&&(t.text=e.text)})),"string"==typeof t.text&&t.position&&t.position.length>2){for(var s=Array(.5*t.position.length),h=0;h<s.length;h++)s[h]=t.text;t.text=s}if(null!=t.text||a){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var b=1;b<t.text.length;b++)this.textOffsets[b]=this.textOffsets[b-1]+t.text[b-1].length,this.count+=t.text[b].length,this.counts.push(t.text[b].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];r=[],this.font.forEach((function(t,n){T.atlasContext.font=t.baseString;for(var i=e.fontAtlas[n],a=0;a<e.text.length;a++){var o=e.text.charAt(a);if(null==i.ids[o]&&(i.ids[o]=i.chars.length,i.chars.push(o),r.push(o)),null==t.width[o]&&(t.width[o]=T.atlasContext.measureText(o).width/T.baseFontSize,e.kerning)){var s=[];for(var l in t.width)s.push(l+o,o+l);m(t.kerning,g(t.family,{pairs:s}))}}}))}if(t.position)if(t.position.length>2){for(var w=!t.position[0].length,k=u.mallocFloat(2*this.count),A=0,M=0;A<this.counts.length;A++){var S=this.counts[A];if(w)for(var E=0;E<S;E++)k[M++]=t.position[2*A],k[M++]=t.position[2*A+1];else for(var L=0;L<S;L++)k[M++]=t.position[A][0],k[M++]=t.position[A][1]}this.position.call?this.position({type:"float",data:k}):this.position=this.regl.buffer({type:"float",data:k}),u.freeFloat(k)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||a){var C=u.mallocUint8(this.count),P=u.mallocFloat(2*this.count);this.textWidth=[];for(var I=0,O=0;I<this.counts.length;I++){for(var z=this.counts[I],D=this.font[I]||this.font[0],R=this.fontAtlas[I]||this.fontAtlas[0],F=0;F<z;F++){var B=this.text.charAt(O),N=this.text.charAt(O-1);if(C[O]=R.ids[B],P[2*O]=D.width[B],F){var j=P[2*O-2],U=P[2*O],V=P[2*O-1]+.5*j+.5*U;if(this.kerning){var H=D.kerning[N+B];H&&(V+=.001*H)}P[2*O+1]=V}else P[2*O+1]=.5*P[2*O];O++}this.textWidth.push(P.length?.5*P[2*O-2]+P[2*O-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:C,type:"uint8",usage:"stream"}),this.sizeBuffer({data:P,type:"float",usage:"stream"}),u.freeUint8(C),u.freeFloat(P),r.length&&this.font.forEach((function(t,r){var n=e.fontAtlas[r],i=n.step,a=Math.floor(T.maxAtlasSize/i),o=Math.min(a,n.chars.length),s=Math.ceil(n.chars.length/o),l=x(o*i),u=x(s*i);n.width=l,n.height=u,n.rows=s,n.cols=o,n.em&&n.texture({data:c({canvas:T.atlasCanvas,font:n.fontString,chars:n.chars,shape:[l,u],step:[i,i]})})}))}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map((function(t,r){var n=Array.isArray(e.align)?e.align.length>1?e.align[r]:e.align[0]:e.align;if("number"==typeof n)return n;switch(n){case"right":case"end":return-t;case"center":case"centre":case"middle":return.5*-t}return 0}))),null==this.baseline&&null==t.baseline&&(t.baseline=0),null!=t.baseline&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map((function(t,r){var n=(e.font[r]||e.font[0]).metrics,i=0;return i+=.5*n.bottom,i+="number"==typeof t?t-n.baseline:-n[t],i*=-1}))),null!=t.color)if(t.color||(t.color="transparent"),"string"!=typeof t.color&&isNaN(t.color)){var q;if("number"==typeof t.color[0]&&t.color.length>this.counts.length){var G=t.color.length;q=u.mallocUint8(G);for(var Y=(t.color.subarray||t.color.slice).bind(t.color),W=0;W<G;W+=4)q.set(l(Y(W,W+4),"uint8"),W)}else{var X=t.color.length;q=u.mallocUint8(4*X);for(var Z=0;Z<X;Z++)q.set(l(t.color[Z]||0,"uint8"),4*Z)}this.color=q}else this.color=l(t.color,"uint8");if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity)if(this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var J=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(J);for(var K=0;K<this.batch.length;K++)this.batch[K]={count:this.counts.length>1?this.counts[K]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[K]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*K,4*K+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[K]:this.opacity,baseline:null!=this.baselineOffset[K]?this.baselineOffset[K]:this.baselineOffset[0],align:this.align?null!=this.alignOffset[K]?this.alignOffset[K]:this.alignOffset[0]:0,atlas:this.fontAtlas[K]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*K,2*K+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},T.prototype.destroy=function(){},T.prototype.kerning=!0,T.prototype.position={constant:new Float32Array(2)},T.prototype.translate=null,T.prototype.scale=null,T.prototype.font=null,T.prototype.text="",T.prototype.positionOffset=[0,0],T.prototype.opacity=1,T.prototype.color=new Uint8Array([0,0,0,255]),T.prototype.alignOffset=[0,0],T.maxAtlasSize=1024,T.atlasCanvas=document.createElement("canvas"),T.atlasContext=T.atlasCanvas.getContext("2d",{alpha:!1}),T.baseFontSize=64,T.fonts={},e.exports=T},{"bit-twiddle":81,"color-normalize":89,"css-font":99,"detect-kerning":125,"es6-weak-map":183,"flatten-vertex-data":191,"font-atlas":192,"font-measure":193,"gl-util/context":226,"is-plain-obj":236,"object-assign":247,"parse-rect":249,"parse-unit":251,"pick-by-alias":253,regl:283,"to-px":314,"typedarray-pool":327}],226:[function(t,e,r){(function(r){(function(){"use strict";var n=t("pick-by-alias");function i(t){if(t.container)if(t.container==document.body)document.body.style.width||(t.canvas.width=t.width||t.pixelRatio*r.innerWidth),document.body.style.height||(t.canvas.height=t.height||t.pixelRatio*r.innerHeight);else{var e=t.container.getBoundingClientRect();t.canvas.width=t.width||e.right-e.left,t.canvas.height=t.height||e.bottom-e.top}}function a(t){return"function"==typeof t.getContext&&"width"in t&&"height"in t}function o(){var t=document.createElement("canvas");return t.style.position="absolute",t.style.top=0,t.style.left=0,t}e.exports=function(t){var e;if(t?"string"==typeof t&&(t={container:t}):t={},a(t)?t={container:t}:t="string"==typeof(e=t).nodeName&&"function"==typeof e.appendChild&&"function"==typeof e.getBoundingClientRect?{container:t}:function(t){return"function"==typeof t.drawArrays||"function"==typeof t.drawElements}(t)?{gl:t}:n(t,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),t.pixelRatio||(t.pixelRatio=r.pixelRatio||1),t.gl)return t.gl;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if("string"==typeof t.container){var s=document.querySelector(t.container);if(!s)throw Error("Element "+t.container+" is not found");t.container=s}a(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=o(),t.container.appendChild(t.canvas),i(t))}else if(!t.canvas){if("undefined"==typeof document)throw Error("Not DOM environment. Use headless-gl.");t.container=document.body||document.documentElement,t.canvas=o(),t.container.appendChild(t.canvas),i(t)}return t.gl||["webgl","experimental-webgl","webgl-experimental"].some((function(e){try{t.gl=t.canvas.getContext(e,t.attrs)}catch(t){}return t.gl})),t.gl}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"pick-by-alias":253}],227:[function(t,e,r){e.exports=function(t){"string"==typeof t&&(t=[t]);for(var e=[].slice.call(arguments,1),r=[],n=0;n<t.length-1;n++)r.push(t[n],e[n]||"");return r.push(t[n]),r.join("")}},{}],228:[function(t,e,r){(function(r){(function(){"use strict";var n,i=t("is-browser");n="function"==typeof r.matchMedia?!r.matchMedia("(hover: none)").matches:i,e.exports=n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"is-browser":232}],229:[function(t,e,r){"use strict";var n=t("is-browser");e.exports=n&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){t=!1}return t}()},{"is-browser":232}],230:[function(t,e,r){r.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,f=r?i-1:0,h=r?-1:1,p=t[e+f];for(f+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+t[e+f],f+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+t[e+f],f+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},r.write=function(t,e,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,f=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(o++,l/=2),o+f>=u?(s=0,o=u):o+f>=1?(s=(e*l-1)*Math.pow(2,i),o+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;t[r+p]=255&o,p+=d,o/=256,c-=8);t[r+p-d]|=128*g}},{}],231:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},{}],232:[function(t,e,r){e.exports=!0},{}],233:[function(t,e,r){"use strict";e.exports="undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},{}],234:[function(t,e,r){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(t){t||(t={});var e=t.ua;if(e||"undefined"==typeof navigator||(e=navigator.userAgent),e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),"string"!=typeof e)return!1;var r=t.tablet?i.test(e):n.test(e);return!r&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==e.indexOf("Macintosh")&&-1!==e.indexOf("Safari")&&(r=!0),r}},{}],235:[function(t,e,r){"use strict";e.exports=function(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}},{}],236:[function(t,e,r){"use strict";var n=Object.prototype.toString;e.exports=function(t){var e;return"[object Object]"===n.call(t)&&(null===(e=Object.getPrototypeOf(t))||e===Object.getPrototypeOf({}))}},{}],237:[function(t,e,r){"use strict";e.exports=function(t){for(var e,r=t.length,n=0;n<r;n++)if(((e=t.charCodeAt(n))<9||e>13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},{}],238:[function(t,e,r){"use strict";e.exports=function(t){return"string"==typeof t&&(t=t.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4))}},{}],239:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?e.exports=n():(t=t||self).mapboxgl=n()}(this,(function(){"use strict";var t,e,r;function n(n,i){if(t)if(e){var a="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",o={};t(o),(r=i(o)).workerUrl=window.URL.createObjectURL(new Blob([a],{type:"text/javascript"}))}else e=i;else t=i}return n(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=n;function n(t,e,r,n){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(n-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=n,this.p2x=r,this.p2y=n}n.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},n.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},n.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},n.prototype.solveCurveX=function(t,e){var r,n,i,a,o;for(void 0===e&&(e=1e-6),i=t,o=0;o<8;o++){if(a=this.sampleCurveX(i)-t,Math.abs(a)<e)return i;var s=this.sampleCurveDerivativeX(i);if(Math.abs(s)<1e-6)break;i-=a/s}if((i=t)<(r=0))return r;if(i>(n=1))return n;for(;r<n;){if(a=this.sampleCurveX(i),Math.abs(a-t)<e)return i;t>a?r=i:n=i,i=.5*(n-r)+r}return i},n.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var i=a;function a(t,e){this.x=t,this.y=e}function o(t,e,n,i){var a=new r(t,e,n,i);return function(t){return a.solve(t)}}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),n=e*this.x-r*this.y,i=r*this.x+e*this.y;return this.x=n,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),n=Math.sin(t),i=e.x+r*(this.x-e.x)-n*(this.y-e.y),a=e.y+n*(this.x-e.x)+r*(this.y-e.y);return this.x=i,this.y=a,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t};var s=o(.25,.1,.25,1);function l(t,e,r){return Math.min(r,Math.max(e,t))}function c(t,e,r){var n=r-e,i=((t-e)%n+n)%n+e;return i===e?r:i}function u(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var n=0,i=e;n<i.length;n+=1){var a=i[n];for(var o in a)t[o]=a[o]}return t}var f=1;function h(){return f++}function p(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function d(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function g(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function m(t,e){return-1!==t.indexOf(e,t.length-e.length)}function v(t,e,r){var n={};for(var i in t)n[i]=e.call(r||this,t[i],i,t);return n}function y(t,e,r){var n={};for(var i in t)e.call(r||this,t[i],i,t)&&(n[i]=t[i]);return n}function x(t){return Array.isArray(t)?t.map(x):"object"==typeof t&&t?v(t,x):t}var b={};function _(t){b[t]||("undefined"!=typeof console&&console.warn(t),b[t]=!0)}function w(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function T(t){for(var e=0,r=0,n=t.length,i=n-1,a=void 0,o=void 0;r<n;i=r++)a=t[r],e+=((o=t[i]).x-a.x)*(a.y+o.y);return e}function k(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function A(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,n,i){var a=n||i;return e[r]=!a||a.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}var M=null;function S(t){if(null==M){var e=t.navigator?t.navigator.userAgent:null;M=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return M}function E(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var L,C,P,I,O=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),z=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,D=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,R={now:O,frame:function(t){var e=z(t);return{cancel:function(){return D(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var r=self.document.createElement("canvas"),n=r.getContext("2d");if(!n)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,n.drawImage(t,0,0,t.width,t.height),n.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return L||(L=self.document.createElement("a")),L.href=t,L.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==C&&(C=self.matchMedia("(prefers-reduced-motion: reduce)")),C.matches)}},F={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},B={supported:!1,testSupport:function(t){if(N||!I)return;j?U(t):P=t}},N=!1,j=!1;function U(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,I),t.isContextLost())return;B.supported=!0}catch(t){}t.deleteTexture(e),N=!0}self.document&&((I=self.document.createElement("img")).onload=function(){P&&U(P),P=null,j=!0},I.onerror=function(){N=!0,P=null},I.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var V="01";var H=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function q(t){return 0===t.indexOf("mapbox:")}H.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",V,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},H.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},H.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},H.prototype.normalizeStyleURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},H.prototype.normalizeGlyphsURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},H.prototype.normalizeSourceURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||e)},H.prototype.normalizeSpriteURL=function(t,e,r,n){var i=X(t);return q(t)?(i.path="/styles/v1"+i.path+"/sprite"+e+r,this._makeAPIURL(i,this._customAccessToken||n)):(i.path+=""+e+r,Z(i))},H.prototype.normalizeTileURL=function(t,e){if(this._isSkuTokenExpired()&&this._createSkuToken(),t&&!q(t))return t;var r=X(t),n=R.devicePixelRatio>=2||512===e?"@2x":"",i=B.supported?".webp":"$1";r.path=r.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+n+i),r.path=r.path.replace(/^.+\/v4\//,"/"),r.path="/v4"+r.path;var a=this._customAccessToken||function(t){for(var e=0,r=t;e<r.length;e+=1){var n=r[e].match(/^access_token=(.*)$/);if(n)return n[1]}return null}(r.params)||F.ACCESS_TOKEN;return F.REQUIRE_ACCESS_TOKEN&&a&&this._skuToken&&r.params.push("sku="+this._skuToken),this._makeAPIURL(r,a)},H.prototype.canonicalizeTileURL=function(t,e){var r=X(t);if(!r.path.match(/(^\/v4\/)/)||!r.path.match(/\.[\w]+$/))return t;var n="mapbox://tiles/";n+=r.path.replace("/v4/","");var i=r.params;return e&&(i=i.filter((function(t){return!t.match(/^access_token=/)}))),i.length&&(n+="?"+i.join("&")),n},H.prototype.canonicalizeTileset=function(t,e){for(var r=!!e&&q(e),n=[],i=0,a=t.tiles||[];i<a.length;i+=1){var o=a[i];Y(o)?n.push(this.canonicalizeTileURL(o,r)):n.push(o)}return n},H.prototype._makeAPIURL=function(t,e){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",n=X(F.API_URL);if(t.protocol=n.protocol,t.authority=n.authority,"/"!==n.path&&(t.path=""+n.path+t.path),!F.REQUIRE_ACCESS_TOKEN)return Z(t);if(!(e=e||F.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),Z(t)};var G=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function Y(t){return G.test(t)}var W=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function X(t){var e=t.match(W);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function Z(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}function J(t){if(!t)return null;var e,r=t.split(".");if(!r||3!==r.length)return null;try{return JSON.parse((e=r[1],decodeURIComponent(self.atob(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var K=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};K.prototype.getStorageKey=function(t){var e,r=J(F.ACCESS_TOKEN),n="";return r&&r.u?(e=r.u,n=self.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):n=F.ACCESS_TOKEN||"",t?"mapbox.eventData."+t+":"+n:"mapbox.eventData:"+n},K.prototype.fetchEventData=function(){var t=E("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{var n=self.localStorage.getItem(e);n&&(this.eventData=JSON.parse(n));var i=self.localStorage.getItem(r);i&&(this.anonId=i)}catch(t){_("Unable to read from LocalStorage")}},K.prototype.saveEventData=function(){var t=E("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){_("Unable to write to LocalStorage")}},K.prototype.processRequests=function(t){},K.prototype.postEvent=function(t,e,r,n){var i=this;if(F.EVENTS_URL){var a=X(F.EVENTS_URL);a.params.push("access_token="+(n||F.ACCESS_TOKEN||""));var o={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.10.1",skuId:V,userId:this.anonId},s=e?u(o,e):o,l={url:Z(a),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=bt(l,(function(t){i.pendingRequest=null,r(t),i.saveEventData(),i.processRequests(n)}))}},K.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e)};var Q,$,tt=function(t){function e(){t.call(this,"map.load"),this.success={},this.skuToken=""}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e,r,n){this.skuToken=r,(F.EVENTS_URL&&n||F.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return q(t)||Y(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},n)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var r=this.queue.shift(),n=r.id,i=r.timestamp;n&&this.success[n]||(this.anonId||this.fetchEventData(),d(this.anonId)||(this.anonId=p()),this.postEvent(i,{skuToken:this.skuToken},(function(t){t||n&&(e.success[n]=!0)}),t))}},e}(K),et=new(function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t,e){F.EVENTS_URL&&F.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return q(t)||Y(t)}))&&this.queueRequest(Date.now(),e)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var r=J(F.ACCESS_TOKEN),n=r?r.u:F.ACCESS_TOKEN,i=n!==this.eventData.tokenU;d(this.anonId)||(this.anonId=p(),i=!0);var a=this.queue.shift();if(this.eventData.lastSuccess){var o=new Date(this.eventData.lastSuccess),s=new Date(a),l=(a-this.eventData.lastSuccess)/864e5;i=i||l>=1||l<-1||o.getDate()!==s.getDate()}else i=!0;if(!i)return this.processRequests();this.postEvent(a,{"enabled.telemetry":!1},(function(t){t||(e.eventData.lastSuccess=a,e.eventData.tokenU=n)}),t)}},e}(K)),rt=et.postTurnstileEvent.bind(et),nt=new tt,it=nt.postMapLoadEvent.bind(nt),at=500,ot=50;function st(){self.caches&&!Q&&(Q=self.caches.open("mapbox-tiles"))}function lt(t,e,r){if(st(),Q){var n={status:e.status,statusText:e.statusText,headers:new self.Headers};e.headers.forEach((function(t,e){return n.headers.set(e,t)}));var i=A(e.headers.get("Cache-Control")||"");if(!i["no-store"])i["max-age"]&&n.headers.set("Expires",new Date(r+1e3*i["max-age"]).toUTCString()),new Date(n.headers.get("Expires")).getTime()-r<42e4||function(t,e){if(void 0===$)try{new Response(new ReadableStream),$=!0}catch(t){$=!1}$?e(t.body):t.blob().then(e)}(e,(function(e){var r=new self.Response(e,n);st(),Q&&Q.then((function(e){return e.put(ct(t.url),r)})).catch((function(t){return _(t.message)}))}))}}function ct(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function ut(t,e){if(st(),!Q)return e(null);var r=ct(t.url);Q.then((function(t){t.match(r).then((function(n){var i=function(t){if(!t)return!1;var e=new Date(t.headers.get("Expires")||0),r=A(t.headers.get("Cache-Control")||"");return e>Date.now()&&!r["no-cache"]}(n);t.delete(r),i&&t.put(r,n.clone()),e(null,n,i)})).catch(e)})).catch(e)}var ft,ht=1/0;function pt(){return null==ft&&(ft=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof self.createImageBitmap),ft}var dt={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(dt);var gt=function(t){function e(e,r,n){401===r&&Y(n)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=r,this.url=n,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),mt=k()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===self.location.protocol?self.parent:self).location.href};function vt(t,e){var r,n=new self.AbortController,i=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:mt(),signal:n.signal}),a=!1,o=!1,s=(r=i.url).indexOf("sku=")>0&&Y(r);"json"===t.type&&i.headers.set("Accept","application/json");var l=function(r,n,a){if(!o){if(r&&"SecurityError"!==r.message&&_(r),n&&a)return c(n);var l=Date.now();self.fetch(i).then((function(r){if(r.ok){var n=s?r.clone():null;return c(r,n,l)}return e(new gt(r.statusText,r.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))}))}},c=function(r,n,s){("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((function(t){o||(n&&s&&lt(i,n,s),a=!0,e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((function(t){o||e(new Error(t.message))}))};return s?ut(i,l):l(null,null),{cancel:function(){o=!0,a||n.abort()}}}var yt=function(t,e){if(r=t.url,!(/^file:/.test(r)||/^file:/.test(mt())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return vt(t,e);if(k()&&self.worker&&self.worker.actor){return self.worker.actor.send("getResource",t,e,void 0,!0)}}var r;return function(t,e){var r=new self.XMLHttpRequest;for(var n in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(n,t.headers[n]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var n=r.response;if("json"===t.type)try{n=JSON.parse(r.response)}catch(t){return e(t)}e(null,n,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else e(new gt(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}}(t,e)},xt=function(t,e){return yt(u(t,{type:"arrayBuffer"}),e)},bt=function(t,e){return yt(u(t,{method:"POST"}),e)};var _t,wt;_t=[],wt=0;var Tt=function(t,e){if(B.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),wt>=F.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return _t.push(r),r}wt++;var n=!1,i=function(){if(!n)for(n=!0,wt--;_t.length&&wt<F.MAX_PARALLEL_IMAGE_REQUESTS;){var t=_t.shift(),e=t.requestParameters,r=t.callback;t.cancelled||(t.cancel=Tt(e,r).cancel)}},a=xt(t,(function(t,r,n,a){i(),t?e(t):r&&(pt()?function(t,e){var r=new self.Blob([new Uint8Array(t)],{type:"image/png"});self.createImageBitmap(r).then((function(t){e(null,t)})).catch((function(t){e(new Error("Could not load image because of "+t.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))}))}(r,e):function(t,e,r,n){var i=new self.Image,a=self.URL;i.onload=function(){e(null,i),a.revokeObjectURL(i.src)},i.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var o=new self.Blob([new Uint8Array(t)],{type:"image/png"});i.cacheControl=r,i.expires=n,i.src=t.byteLength?a.createObjectURL(o):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}(r,e,n,a))}));return{cancel:function(){a.cancel(),i()}}};function kt(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function At(t,e,r){if(r&&r[t]){var n=r[t].indexOf(e);-1!==n&&r[t].splice(n,1)}}var Mt=function(t,e){void 0===e&&(e={}),u(this,e),this.type=t},St=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",u({error:e},r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Mt),Et=function(){};Et.prototype.on=function(t,e){return this._listeners=this._listeners||{},kt(t,e,this._listeners),this},Et.prototype.off=function(t,e){return At(t,e,this._listeners),At(t,e,this._oneTimeListeners),this},Et.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},kt(t,e,this._oneTimeListeners),this},Et.prototype.fire=function(t,e){"string"==typeof t&&(t=new Mt(t,e||{}));var r=t.type;if(this.listens(r)){t.target=this;for(var n=0,i=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];n<i.length;n+=1){i[n].call(this,t)}for(var a=0,o=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];a<o.length;a+=1){var s=o[a];At(r,s,this._oneTimeListeners),s.call(this,t)}var l=this._eventedParent;l&&(u(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(t))}else t instanceof St&&console.error(t.error);return this},Et.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},Et.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var Lt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ct=function(t,e,r,n){this.message=(t?t+": ":"")+r,n&&(this.identifier=n),null!=e&&e.__line__&&(this.line=e.__line__)};function Pt(t){var e=t.key,r=t.value;return r?[new Ct(e,r,"constants have been deprecated as of v8")]:[]}function It(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var n=0,i=e;n<i.length;n+=1){var a=i[n];for(var o in a)t[o]=a[o]}return t}function Ot(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function zt(t){if(Array.isArray(t))return t.map(zt);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var r in t)e[r]=zt(t[r]);return e}return Ot(t)}var Dt=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Rt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,n=e;r<n.length;r+=1){var i=n[r],a=i[0],o=i[1];this.bindings[a]=o}};Rt.prototype.concat=function(t){return new Rt(this,t)},Rt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},Rt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var Ft={kind:"null"},Bt={kind:"number"},Nt={kind:"string"},jt={kind:"boolean"},Ut={kind:"color"},Vt={kind:"object"},Ht={kind:"value"},qt={kind:"collator"},Gt={kind:"formatted"},Yt={kind:"resolvedImage"};function Wt(t,e){return{kind:"array",itemType:t,N:e}}function Xt(t){if("array"===t.kind){var e=Xt(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var Zt=[Ft,Bt,Nt,jt,Ut,Gt,Vt,Wt(Ht),Yt];function Jt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Jt(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,n=Zt;r<n.length;r+=1){if(!Jt(n[r],e))return null}}return"Expected "+Xt(t)+" but found "+Xt(e)+" instead."}function Kt(t,e){return e.some((function(e){return e.kind===t.kind}))}function Qt(t,e){return e.some((function(e){return"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t}))}var $t=e((function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function n(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return t<0?0:t>1?1:t}function a(t){return"%"===t[t.length-1]?n(parseFloat(t)/100*255):n(parseInt(t))}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100):i(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,i=t.replace(/ /g,"").toLowerCase();if(i in r)return r[i].slice();if("#"===i[0])return 4===i.length?(e=parseInt(i.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===i.length&&(e=parseInt(i.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=i.indexOf("("),c=i.indexOf(")");if(-1!==l&&c+1===i.length){var u=i.substr(0,l),f=i.substr(l+1,c-(l+1)).split(","),h=1;switch(u){case"rgba":if(4!==f.length)return null;h=o(f.pop());case"rgb":return 3!==f.length?null:[a(f[0]),a(f[1]),a(f[2]),h];case"hsla":if(4!==f.length)return null;h=o(f.pop());case"hsl":if(3!==f.length)return null;var p=(parseFloat(f[0])%360+360)%360/360,d=o(f[1]),g=o(f[2]),m=g<=.5?g*(d+1):g+d-g*d,v=2*g-m;return[n(255*s(v,m,p+1/3)),n(255*s(v,m,p)),n(255*s(v,m,p-1/3)),h];default:return null}}return null}}catch(t){}})).parseCSSColor,te=function(t,e,r,n){void 0===n&&(n=1),this.r=t,this.g=e,this.b=r,this.a=n};te.parse=function(t){if(t){if(t instanceof te)return t;if("string"==typeof t){var e=$t(t);if(e)return new te(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},te.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],n=t[2],i=t[3];return"rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(n)+","+i+")"},te.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,n=this.a;return 0===n?[0,0,0,0]:[255*t/n,255*e/n,255*r/n,n]},te.black=new te(0,0,0,1),te.white=new te(1,1,1,1),te.transparent=new te(0,0,0,0),te.red=new te(1,0,0,1);var ee=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};ee.prototype.compare=function(t,e){return this.collator.compare(t,e)},ee.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var re=function(t,e,r,n,i){this.text=t,this.image=e,this.scale=r,this.fontStack=n,this.textColor=i},ne=function(t){this.sections=t};ne.fromString=function(t){return new ne([new re(t,null,null,null,null)])},ne.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},ne.factory=function(t){return t instanceof ne?t:ne.fromString(t)},ne.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},ne.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var n=r[e];if(n.image)t.push(["image",n.image.name]);else{t.push(n.text);var i={};n.fontStack&&(i["text-font"]=["literal",n.fontStack.split(",")]),n.scale&&(i["font-scale"]=n.scale),n.textColor&&(i["text-color"]=["rgba"].concat(n.textColor.toArray())),t.push(i)}}return t};var ie=function(t){this.name=t.name,this.available=t.available};function ae(t,e,r,n){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===n||"number"==typeof n&&n>=0&&n<=1?null:"Invalid rgba value ["+[t,e,r,n].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof n?[t,e,r,n]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function oe(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof te)return!0;if(t instanceof ee)return!0;if(t instanceof ne)return!0;if(t instanceof ie)return!0;if(Array.isArray(t)){for(var e=0,r=t;e<r.length;e+=1){if(!oe(r[e]))return!1}return!0}if("object"==typeof t){for(var n in t)if(!oe(t[n]))return!1;return!0}return!1}function se(t){if(null===t)return Ft;if("string"==typeof t)return Nt;if("boolean"==typeof t)return jt;if("number"==typeof t)return Bt;if(t instanceof te)return Ut;if(t instanceof ee)return qt;if(t instanceof ne)return Gt;if(t instanceof ie)return Yt;if(Array.isArray(t)){for(var e,r=t.length,n=0,i=t;n<i.length;n+=1){var a=se(i[n]);if(e){if(e===a)continue;e=Ht;break}e=a}return Wt(e||Ht,r)}return Vt}function le(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof te||t instanceof ne||t instanceof ie?t.toString():JSON.stringify(t)}ie.prototype.toString=function(){return this.name},ie.fromString=function(t){return t?new ie({name:t,available:!1}):null},ie.prototype.serialize=function(){return["image",this.name]};var ce=function(t,e){this.type=t,this.value=e};ce.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!oe(t[1]))return e.error("invalid value");var r=t[1],n=se(r),i=e.expectedType;return"array"!==n.kind||0!==n.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(n=i),new ce(n,r)},ce.prototype.evaluate=function(){return this.value},ce.prototype.eachChild=function(){},ce.prototype.outputDefined=function(){return!0},ce.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof te?["rgba"].concat(this.value.toArray()):this.value instanceof ne?this.value.serialize():this.value};var ue=function(t){this.name="ExpressionEvaluationError",this.message=t};ue.prototype.toJSON=function(){return this.message};var fe={string:Nt,number:Bt,boolean:jt,object:Vt},he=function(t,e){this.type=t,this.args=e};he.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,n=1,i=t[0];if("array"===i){var a,o;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in fe)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);a=fe[s],n++}else a=Ht;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);o=t[2],n++}r=Wt(a,o)}else r=fe[i];for(var l=[];n<t.length;n++){var c=e.parse(t[n],n,Ht);if(!c)return null;l.push(c)}return new he(r,l)},he.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!Jt(this.type,se(r)))return r;if(e===this.args.length-1)throw new ue("Expected value to be of type "+Xt(this.type)+", but found "+Xt(se(r))+" instead.")}return null},he.prototype.eachChild=function(t){this.args.forEach(t)},he.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},he.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var n=t.N;("number"==typeof n||this.args.length>1)&&e.push(n)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var pe=function(t){this.type=Gt,this.sections=t};pe.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[1];if(!Array.isArray(r)&&"object"==typeof r)return e.error("First argument must be an image or text section.");for(var n=[],i=!1,a=1;a<=t.length-1;++a){var o=t[a];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;var s=null;if(o["font-scale"]&&!(s=e.parse(o["font-scale"],1,Bt)))return null;var l=null;if(o["text-font"]&&!(l=e.parse(o["text-font"],1,Wt(Nt))))return null;var c=null;if(o["text-color"]&&!(c=e.parse(o["text-color"],1,Ut)))return null;var u=n[n.length-1];u.scale=s,u.font=l,u.textColor=c}else{var f=e.parse(t[a],1,Ht);if(!f)return null;var h=f.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,n.push({content:f,scale:null,font:null,textColor:null})}}return new pe(n)},pe.prototype.evaluate=function(t){return new ne(this.sections.map((function(e){var r=e.content.evaluate(t);return se(r)===Yt?new re("",r,null,null,null):new re(le(r),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},pe.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var n=r[e];t(n.content),n.scale&&t(n.scale),n.font&&t(n.font),n.textColor&&t(n.textColor)}},pe.prototype.outputDefined=function(){return!1},pe.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var n=r[e];t.push(n.content.serialize());var i={};n.scale&&(i["font-scale"]=n.scale.serialize()),n.font&&(i["text-font"]=n.font.serialize()),n.textColor&&(i["text-color"]=n.textColor.serialize()),t.push(i)}return t};var de=function(t){this.type=Yt,this.input=t};de.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Nt);return r?new de(r):e.error("No image name provided.")},de.prototype.evaluate=function(t){var e=this.input.evaluate(t),r=ie.fromString(e);return r&&t.availableImages&&(r.available=t.availableImages.indexOf(e)>-1),r},de.prototype.eachChild=function(t){t(this.input)},de.prototype.outputDefined=function(){return!1},de.prototype.serialize=function(){return["image",this.input.serialize()]};var ge={"to-boolean":jt,"to-color":Ut,"to-number":Bt,"to-string":Nt},me=function(t,e){this.type=t,this.args=e};me.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var n=ge[r],i=[],a=1;a<t.length;a++){var o=e.parse(t[a],a,Ht);if(!o)return null;i.push(o)}return new me(n,i)},me.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,n=0,i=this.args;n<i.length;n+=1){if(r=null,(e=i[n].evaluate(t))instanceof te)return e;if("string"==typeof e){var a=t.parseColor(e);if(a)return a}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":ae(e[0],e[1],e[2],e[3])))return new te(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new ue(r||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var o=null,s=0,l=this.args;s<l.length;s+=1){if(null===(o=l[s].evaluate(t)))return 0;var c=Number(o);if(!isNaN(c))return c}throw new ue("Could not convert "+JSON.stringify(o)+" to number.")}return"formatted"===this.type.kind?ne.fromString(le(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?ie.fromString(le(this.args[0].evaluate(t))):le(this.args[0].evaluate(t))},me.prototype.eachChild=function(t){this.args.forEach(t)},me.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},me.prototype.serialize=function(){if("formatted"===this.type.kind)return new pe([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new de(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var ve=["Unknown","Point","LineString","Polygon"],ye=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};ye.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},ye.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?ve[this.feature.type]:this.feature.type:null},ye.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},ye.prototype.canonicalID=function(){return this.canonical},ye.prototype.properties=function(){return this.feature&&this.feature.properties||{}},ye.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=te.parse(t)),e};var xe=function(t,e,r,n){this.name=t,this.type=e,this._evaluate=r,this.args=n};xe.prototype.evaluate=function(t){return this._evaluate(t,this.args)},xe.prototype.eachChild=function(t){this.args.forEach(t)},xe.prototype.outputDefined=function(){return!1},xe.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},xe.parse=function(t,e){var r,n=t[0],i=xe.definitions[n];if(!i)return e.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0);for(var a=Array.isArray(i)?i[0]:i.type,o=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,s=o.filter((function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1})),l=null,c=0,u=s;c<u.length;c+=1){var f=u[c],h=f[0],p=f[1];l=new Ue(e.registry,e.path,null,e.scope);for(var d=[],g=!1,m=1;m<t.length;m++){var v=t[m],y=Array.isArray(h)?h[m-1]:h.type,x=l.parse(v,1+d.length,y);if(!x){g=!0;break}d.push(x)}if(!g)if(Array.isArray(h)&&h.length!==d.length)l.error("Expected "+h.length+" arguments, but found "+d.length+" instead.");else{for(var b=0;b<d.length;b++){var _=Array.isArray(h)?h[b]:h.type,w=d[b];l.concat(b+1).checkSubtype(_,w.type)}if(0===l.errors.length)return new xe(n,a,p,d)}}if(1===s.length)(r=e.errors).push.apply(r,l.errors);else{for(var T=(s.length?s:o).map((function(t){var e,r=t[0];return e=r,Array.isArray(e)?"("+e.map(Xt).join(", ")+")":"("+Xt(e.type)+"...)"})).join(" | "),k=[],A=1;A<t.length;A++){var M=e.parse(t[A],1+k.length);if(!M)return null;k.push(Xt(M.type))}e.error("Expected arguments of type "+T+", but found ("+k.join(", ")+") instead.")}return null},xe.register=function(t,e){for(var r in xe.definitions=e,e)t[r]=xe};var be=function(t,e,r){this.type=qt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e};be.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var n=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,jt);if(!n)return null;var i=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,jt);if(!i)return null;var a=null;return r.locale&&!(a=e.parse(r.locale,1,Nt))?null:new be(n,i,a)},be.prototype.evaluate=function(t){return new ee(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},be.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},be.prototype.outputDefined=function(){return!1},be.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};function _e(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function we(t,e){return!(t[0]<=e[0])&&(!(t[2]>=e[2])&&(!(t[1]<=e[1])&&!(t[3]>=e[3])))}function Te(t,e){var r,n=(180+t[0])/360,i=(r=t[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+r*Math.PI/360)))/360),a=Math.pow(2,e.z);return[Math.round(n*a*8192),Math.round(i*a*8192)]}function ke(t,e,r){return e[1]>t[1]!=r[1]>t[1]&&t[0]<(r[0]-e[0])*(t[1]-e[1])/(r[1]-e[1])+e[0]}function Ae(t,e){for(var r,n,i,a,o,s,l,c=!1,u=0,f=e.length;u<f;u++)for(var h=e[u],p=0,d=h.length;p<d-1;p++){if(r=t,n=h[p],i=h[p+1],a=void 0,o=void 0,s=void 0,l=void 0,a=r[0]-n[0],o=r[1]-n[1],s=r[0]-i[0],l=r[1]-i[1],a*l-s*o==0&&a*s<=0&&o*l<=0)return!1;ke(t,h[p],h[p+1])&&(c=!c)}return c}function Me(t,e){for(var r=0;r<e.length;r++)if(Ae(t,e[r]))return!0;return!1}function Se(t,e,r,n){var i=t[0]-r[0],a=t[1]-r[1],o=e[0]-r[0],s=e[1]-r[1],l=n[0]-r[0],c=n[1]-r[1],u=i*c-l*a,f=o*c-l*s;return u>0&&f<0||u<0&&f>0}function Ee(t,e,r){for(var n=0,i=r;n<i.length;n+=1)for(var a=i[n],o=0;o<a.length-1;++o)if(s=t,l=e,c=a[o],u=a[o+1],f=void 0,h=void 0,p=void 0,d=void 0,p=[l[0]-s[0],l[1]-s[1]],d=[u[0]-c[0],u[1]-c[1]],0!=(f=d)[0]*(h=p)[1]-f[1]*h[0]&&Se(s,l,c,u)&&Se(c,u,s,l))return!0;var s,l,c,u,f,h,p,d;return!1}function Le(t,e){for(var r=0;r<t.length;++r)if(!Ae(t[r],e))return!1;for(var n=0;n<t.length-1;++n)if(Ee(t[n],t[n+1],e))return!1;return!0}function Ce(t,e){for(var r=0;r<e.length;r++)if(Le(t,e[r]))return!0;return!1}function Pe(t,e,r){for(var n=[],i=0;i<t.length;i++){for(var a=[],o=0;o<t[i].length;o++){var s=Te(t[i][o],r);_e(e,s),a.push(s)}n.push(a)}return n}function Ie(t,e,r){for(var n=[],i=0;i<t.length;i++){var a=Pe(t[i],e,r);n.push(a)}return n}function Oe(t,e,r,n){if(t[0]<r[0]||t[0]>r[2]){var i=.5*n,a=t[0]-r[0]>i?-n:r[0]-t[0]>i?n:0;0===a&&(a=t[0]-r[2]>i?-n:r[2]-t[0]>i?n:0),t[0]+=a}_e(e,t)}function ze(t,e,r,n){for(var i=8192*Math.pow(2,n.z),a=[8192*n.x,8192*n.y],o=[],s=0,l=t;s<l.length;s+=1)for(var c=0,u=l[s];c<u.length;c+=1){var f=u[c],h=[f.x+a[0],f.y+a[1]];Oe(h,e,r,i),o.push(h)}return o}function De(t,e,r,n){for(var i,a=8192*Math.pow(2,n.z),o=[8192*n.x,8192*n.y],s=[],l=0,c=t;l<c.length;l+=1){for(var u=[],f=0,h=c[l];f<h.length;f+=1){var p=h[f],d=[p.x+o[0],p.y+o[1]];_e(e,d),u.push(d)}s.push(u)}if(e[2]-e[0]<=a/2){(i=e)[0]=i[1]=1/0,i[2]=i[3]=-1/0;for(var g=0,m=s;g<m.length;g+=1)for(var v=0,y=m[g];v<y.length;v+=1){Oe(y[v],e,r,a)}}return s}var Re=function(t,e){this.type=jt,this.geojson=t,this.geometries=e};function Fe(t){if(t instanceof xe){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof Re)return!1;var e=!0;return t.eachChild((function(t){e&&!Fe(t)&&(e=!1)})),e}function Be(t){if(t instanceof xe&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!Be(t)&&(e=!1)})),e}function Ne(t,e){if(t instanceof xe&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild((function(t){r&&!Ne(t,e)&&(r=!1)})),r}Re.parse=function(t,e){if(2!==t.length)return e.error("'within' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(oe(t[1])){var r=t[1];if("FeatureCollection"===r.type)for(var n=0;n<r.features.length;++n){var i=r.features[n].geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new Re(r,r.features[n].geometry)}else if("Feature"===r.type){var a=r.geometry.type;if("Polygon"===a||"MultiPolygon"===a)return new Re(r,r.geometry)}else if("Polygon"===r.type||"MultiPolygon"===r.type)return new Re(r,r)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")},Re.prototype.evaluate=function(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){var r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){var a=Pe(e.coordinates,n,i),o=ze(t.geometry(),r,n,i);if(!we(r,n))return!1;for(var s=0,l=o;s<l.length;s+=1){if(!Ae(l[s],a))return!1}}if("MultiPolygon"===e.type){var c=Ie(e.coordinates,n,i),u=ze(t.geometry(),r,n,i);if(!we(r,n))return!1;for(var f=0,h=u;f<h.length;f+=1){if(!Me(h[f],c))return!1}}return!0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){var r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){var a=Pe(e.coordinates,n,i),o=De(t.geometry(),r,n,i);if(!we(r,n))return!1;for(var s=0,l=o;s<l.length;s+=1){if(!Le(l[s],a))return!1}}if("MultiPolygon"===e.type){var c=Ie(e.coordinates,n,i),u=De(t.geometry(),r,n,i);if(!we(r,n))return!1;for(var f=0,h=u;f<h.length;f+=1){if(!Ce(h[f],c))return!1}}return!0}(t,this.geometries)}return!1},Re.prototype.eachChild=function(){},Re.prototype.outputDefined=function(){return!0},Re.prototype.serialize=function(){return["within",this.geojson]};var je=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};je.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new je(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},je.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},je.prototype.eachChild=function(){},je.prototype.outputDefined=function(){return!1},je.prototype.serialize=function(){return["var",this.name]};var Ue=function(t,e,r,n,i){void 0===e&&(e=[]),void 0===n&&(n=new Rt),void 0===i&&(i=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=n,this.errors=i,this.expectedType=r};function Ve(t,e){for(var r,n,i=t.length-1,a=0,o=i,s=0;a<=o;)if(r=t[s=Math.floor((a+o)/2)],n=t[s+1],r<=e){if(s===i||e<n)return s;a=s+1}else{if(!(r>e))throw new ue("Input is not a number.");o=s-1}return 0}Ue.prototype.parse=function(t,e,r,n,i){return void 0===i&&(i={}),e?this.concat(e,r,n)._parse(t,i):this._parse(t,i)},Ue.prototype._parse=function(t,e){function r(t,e,r){return"assert"===r?new he(e,[t]):"coerce"===r?new me(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var n=t[0];if("string"!=typeof n)return this.error("Expression name must be a string, but found "+typeof n+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[n];if(i){var a=i.parse(t,this);if(!a)return null;if(this.expectedType){var o=this.expectedType,s=a.type;if("string"!==o.kind&&"number"!==o.kind&&"boolean"!==o.kind&&"object"!==o.kind&&"array"!==o.kind||"value"!==s.kind)if("color"!==o.kind&&"formatted"!==o.kind&&"resolvedImage"!==o.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(o,s))return null}else a=r(a,o,e.typeAnnotation||"coerce");else a=r(a,o,e.typeAnnotation||"assert")}if(!(a instanceof ce)&&"resolvedImage"!==a.type.kind&&function t(e){if(e instanceof je)return t(e.boundExpression);if(e instanceof xe&&"error"===e.name)return!1;if(e instanceof be)return!1;if(e instanceof Re)return!1;var r=e instanceof me||e instanceof he,n=!0;if(e.eachChild((function(e){n=r?n&&t(e):n&&e instanceof ce})),!n)return!1;return Fe(e)&&Ne(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(a)){var l=new ye;try{a=new ce(a.type,a.evaluate(l))}catch(t){return this.error(t.message),null}}return a}return this.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},Ue.prototype.concat=function(t,e,r){var n="number"==typeof t?this.path.concat(t):this.path,i=r?this.scope.concat(r):this.scope;return new Ue(this.registry,n,e||null,i,this.errors)},Ue.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var n=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Dt(n,t))},Ue.prototype.checkSubtype=function(t,e){var r=Jt(t,e);return r&&this.error(r),r};var He=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var n=0,i=r;n<i.length;n+=1){var a=i[n],o=a[0],s=a[1];this.labels.push(o),this.outputs.push(s)}};function qe(t,e,r){return t*(1-r)+e*r}He.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var r=e.parse(t[1],1,Bt);if(!r)return null;var n=[],i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var a=1;a<t.length;a+=2){var o=1===a?-1/0:t[a],s=t[a+1],l=a,c=a+1;if("number"!=typeof o)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(n.length&&n[n.length-1][0]>=o)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var u=e.parse(s,c,i);if(!u)return null;i=i||u.type,n.push([o,u])}return new He(i,r,n)},He.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);var i=e.length;return n>=e[i-1]?r[i-1].evaluate(t):r[Ve(e,n)].evaluate(t)},He.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1){t(r[e])}},He.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},He.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var Ge=Object.freeze({__proto__:null,number:qe,color:function(t,e,r){return new te(qe(t.r,e.r,r),qe(t.g,e.g,r),qe(t.b,e.b,r),qe(t.a,e.a,r))},array:function(t,e,r){return t.map((function(t,n){return qe(t,e[n],r)}))}}),Ye=6/29,We=3*Ye*Ye,Xe=Math.PI/180,Ze=180/Math.PI;function Je(t){return t>.008856451679035631?Math.pow(t,1/3):t/We+4/29}function Ke(t){return t>Ye?t*t*t:We*(t-4/29)}function Qe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function $e(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function tr(t){var e=$e(t.r),r=$e(t.g),n=$e(t.b),i=Je((.4124564*e+.3575761*r+.1804375*n)/.95047),a=Je((.2126729*e+.7151522*r+.072175*n)/1);return{l:116*a-16,a:500*(i-a),b:200*(a-Je((.0193339*e+.119192*r+.9503041*n)/1.08883)),alpha:t.a}}function er(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,n=isNaN(t.b)?e:e-t.b/200;return e=1*Ke(e),r=.95047*Ke(r),n=1.08883*Ke(n),new te(Qe(3.2404542*r-1.5371385*e-.4985314*n),Qe(-.969266*r+1.8760108*e+.041556*n),Qe(.0556434*r-.2040259*e+1.0572252*n),t.alpha)}function rr(t,e,r){var n=e-t;return t+r*(n>180||n<-180?n-360*Math.round(n/360):n)}var nr={forward:tr,reverse:er,interpolate:function(t,e,r){return{l:qe(t.l,e.l,r),a:qe(t.a,e.a,r),b:qe(t.b,e.b,r),alpha:qe(t.alpha,e.alpha,r)}}},ir={forward:function(t){var e=tr(t),r=e.l,n=e.a,i=e.b,a=Math.atan2(i,n)*Ze;return{h:a<0?a+360:a,c:Math.sqrt(n*n+i*i),l:r,alpha:t.a}},reverse:function(t){var e=t.h*Xe,r=t.c;return er({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:rr(t.h,e.h,r),c:qe(t.c,e.c,r),l:qe(t.l,e.l,r),alpha:qe(t.alpha,e.alpha,r)}}},ar=Object.freeze({__proto__:null,lab:nr,hcl:ir}),or=function(t,e,r,n,i){this.type=t,this.operator=e,this.interpolation=r,this.input=n,this.labels=[],this.outputs=[];for(var a=0,o=i;a<o.length;a+=1){var s=o[a],l=s[0],c=s[1];this.labels.push(l),this.outputs.push(c)}};function sr(t,e,r,n){var i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}or.interpolationFactor=function(t,e,n,i){var a=0;if("exponential"===t.name)a=sr(e,t.base,n,i);else if("linear"===t.name)a=sr(e,1,n,i);else if("cubic-bezier"===t.name){var o=t.controlPoints;a=new r(o[0],o[1],o[2],o[3]).solve(sr(e,1,n,i))}return a},or.parse=function(t,e){var r=t[0],n=t[1],i=t[2],a=t.slice(3);if(!Array.isArray(n)||0===n.length)return e.error("Expected an interpolation type expression.",1);if("linear"===n[0])n={name:"linear"};else if("exponential"===n[0]){var o=n[1];if("number"!=typeof o)return e.error("Exponential interpolation requires a numeric base.",1,1);n={name:"exponential",base:o}}else{if("cubic-bezier"!==n[0])return e.error("Unknown interpolation type "+String(n[0]),1,0);var s=n.slice(1);if(4!==s.length||s.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);n={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(i=e.parse(i,2,Bt)))return null;var l=[],c=null;"interpolate-hcl"===r||"interpolate-lab"===r?c=Ut:e.expectedType&&"value"!==e.expectedType.kind&&(c=e.expectedType);for(var u=0;u<a.length;u+=2){var f=a[u],h=a[u+1],p=u+3,d=u+4;if("number"!=typeof f)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',p);if(l.length&&l[l.length-1][0]>=f)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',p);var g=e.parse(h,d,c);if(!g)return null;c=c||g.type,l.push([f,g])}return"number"===c.kind||"color"===c.kind||"array"===c.kind&&"number"===c.itemType.kind&&"number"==typeof c.N?new or(c,r,n,i,l):e.error("Type "+Xt(c)+" is not interpolatable.")},or.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);var i=e.length;if(n>=e[i-1])return r[i-1].evaluate(t);var a=Ve(e,n),o=e[a],s=e[a+1],l=or.interpolationFactor(this.interpolation,n,o,s),c=r[a].evaluate(t),u=r[a+1].evaluate(t);return"interpolate"===this.operator?Ge[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?ir.reverse(ir.interpolate(ir.forward(c),ir.forward(u),l)):nr.reverse(nr.interpolate(nr.forward(c),nr.forward(u),l))},or.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1){t(r[e])}},or.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},or.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var lr=function(t,e){this.type=t,this.args=e};lr.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,n=e.expectedType;n&&"value"!==n.kind&&(r=n);for(var i=[],a=0,o=t.slice(1);a<o.length;a+=1){var s=o[a],l=e.parse(s,1+i.length,r,void 0,{typeAnnotation:"omit"});if(!l)return null;r=r||l.type,i.push(l)}var c=n&&i.some((function(t){return Jt(n,t.type)}));return new lr(c?Ht:r,i)},lr.prototype.evaluate=function(t){for(var e,r=null,n=0,i=0,a=this.args;i<a.length;i+=1){if(n++,(r=a[i].evaluate(t))&&r instanceof ie&&!r.available&&(e||(e=r.name),r=null,n===this.args.length&&(r=e)),null!==r)break}return r},lr.prototype.eachChild=function(t){this.args.forEach(t)},lr.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},lr.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var cr=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};cr.prototype.evaluate=function(t){return this.result.evaluate(t)},cr.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1){t(r[e][1])}t(this.result)},cr.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],n=1;n<t.length-1;n+=2){var i=t[n];if("string"!=typeof i)return e.error("Expected string, but found "+typeof i+" instead.",n);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",n);var a=e.parse(t[n+1],n+1);if(!a)return null;r.push([i,a])}var o=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return o?new cr(r,o):null},cr.prototype.outputDefined=function(){return this.result.outputDefined()},cr.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];t.push(i,a.serialize())}return t.push(this.result.serialize()),t};var ur=function(t,e,r){this.type=t,this.index=e,this.input=r};ur.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Bt),n=e.parse(t[2],2,Wt(e.expectedType||Ht));if(!r||!n)return null;var i=n.type;return new ur(i.itemType,r,n)},ur.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new ue("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new ue("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new ue("Array index must be an integer, but found "+e+" instead.");return r[e]},ur.prototype.eachChild=function(t){t(this.index),t(this.input)},ur.prototype.outputDefined=function(){return!1},ur.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var fr=function(t,e){this.type=jt,this.needle=t,this.haystack=e};fr.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Ht),n=e.parse(t[2],2,Ht);return r&&n?Kt(r.type,[jt,Nt,Bt,Ft,Ht])?new fr(r,n):e.error("Expected first argument to be of type boolean, string, number or null, but found "+Xt(r.type)+" instead"):null},fr.prototype.evaluate=function(t){var e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!r)return!1;if(!Qt(e,["boolean","string","number","null"]))throw new ue("Expected first argument to be of type boolean, string, number or null, but found "+Xt(se(e))+" instead.");if(!Qt(r,["string","array"]))throw new ue("Expected second argument to be of type array or string, but found "+Xt(se(r))+" instead.");return r.indexOf(e)>=0},fr.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},fr.prototype.outputDefined=function(){return!0},fr.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var hr=function(t,e,r){this.type=Bt,this.needle=t,this.haystack=e,this.fromIndex=r};hr.parse=function(t,e){if(t.length<=2||t.length>=5)return e.error("Expected 3 or 4 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Ht),n=e.parse(t[2],2,Ht);if(!r||!n)return null;if(!Kt(r.type,[jt,Nt,Bt,Ft,Ht]))return e.error("Expected first argument to be of type boolean, string, number or null, but found "+Xt(r.type)+" instead");if(4===t.length){var i=e.parse(t[3],3,Bt);return i?new hr(r,n,i):null}return new hr(r,n)},hr.prototype.evaluate=function(t){var e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!Qt(e,["boolean","string","number","null"]))throw new ue("Expected first argument to be of type boolean, string, number or null, but found "+Xt(se(e))+" instead.");if(!Qt(r,["string","array"]))throw new ue("Expected second argument to be of type array or string, but found "+Xt(se(r))+" instead.");if(this.fromIndex){var n=this.fromIndex.evaluate(t);return r.indexOf(e,n)}return r.indexOf(e)},hr.prototype.eachChild=function(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)},hr.prototype.outputDefined=function(){return!1},hr.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var t=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),t]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var pr=function(t,e,r,n,i,a){this.inputType=t,this.type=e,this.input=r,this.cases=n,this.outputs=i,this.otherwise=a};pr.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var i={},a=[],o=2;o<t.length-1;o+=2){var s=t[o],l=t[o+1];Array.isArray(s)||(s=[s]);var c=e.concat(o);if(0===s.length)return c.error("Expected at least one branch label.");for(var u=0,f=s;u<f.length;u+=1){var h=f[u];if("number"!=typeof h&&"string"!=typeof h)return c.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return c.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return c.error("Numeric branch labels must be integer values.");if(r){if(c.checkSubtype(r,se(h)))return null}else r=se(h);if(void 0!==i[String(h)])return c.error("Branch labels must be unique.");i[String(h)]=a.length}var p=e.parse(l,o,n);if(!p)return null;n=n||p.type,a.push(p)}var d=e.parse(t[1],1,Ht);if(!d)return null;var g=e.parse(t[t.length-1],t.length-1,n);return g?"value"!==d.type.kind&&e.concat(1).checkSubtype(r,d.type)?null:new pr(r,n,d,i,a,g):null},pr.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(se(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},pr.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},pr.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))&&this.otherwise.outputDefined()},pr.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],n={},i=0,a=Object.keys(this.cases).sort();i<a.length;i+=1){var o=a[i];void 0===(f=n[this.cases[o]])?(n[this.cases[o]]=r.length,r.push([this.cases[o],[o]])):r[f][1].push(o)}for(var s=function(e){return"number"===t.inputType.kind?Number(e):e},l=0,c=r;l<c.length;l+=1){var u=c[l],f=u[0],h=u[1];1===h.length?e.push(s(h[0])):e.push(h.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var dr=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r};dr.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var n=[],i=1;i<t.length-1;i+=2){var a=e.parse(t[i],i,jt);if(!a)return null;var o=e.parse(t[i+1],i+1,r);if(!o)return null;n.push([a,o]),r=r||o.type}var s=e.parse(t[t.length-1],t.length-1,r);return s?new dr(r,n,s):null},dr.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];if(i.evaluate(t))return a.evaluate(t)}return this.otherwise.evaluate(t)},dr.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];t(i),t(a)}t(this.otherwise)},dr.prototype.outputDefined=function(){return this.branches.every((function(t){t[0];return t[1].outputDefined()}))&&this.otherwise.outputDefined()},dr.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var gr=function(t,e,r,n){this.type=t,this.input=e,this.beginIndex=r,this.endIndex=n};function mr(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function vr(t,e,r,n){return 0===n.compare(e,r)}function yr(t,e,r){var n="=="!==t&&"!="!==t;return function(){function i(t,e,r){this.type=jt,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return i.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],a=e.parse(t[1],1,Ht);if(!a)return null;if(!mr(r,a.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Xt(a.type)+"'.");var o=e.parse(t[2],2,Ht);if(!o)return null;if(!mr(r,o.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Xt(o.type)+"'.");if(a.type.kind!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error("Cannot compare types '"+Xt(a.type)+"' and '"+Xt(o.type)+"'.");n&&("value"===a.type.kind&&"value"!==o.type.kind?a=new he(o.type,[a]):"value"!==a.type.kind&&"value"===o.type.kind&&(o=new he(a.type,[o])));var s=null;if(4===t.length){if("string"!==a.type.kind&&"string"!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,qt)))return null}return new i(a,o,s)},i.prototype.evaluate=function(i){var a=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(n&&this.hasUntypedArgument){var s=se(a),l=se(o);if(s.kind!==l.kind||"string"!==s.kind&&"number"!==s.kind)throw new ue('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+l.kind+") instead.")}if(this.collator&&!n&&this.hasUntypedArgument){var c=se(a),u=se(o);if("string"!==c.kind||"string"!==u.kind)return e(i,a,o)}return this.collator?r(i,a,o,this.collator.evaluate(i)):e(i,a,o)},i.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},i.prototype.outputDefined=function(){return!0},i.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},i}()}gr.parse=function(t,e){if(t.length<=2||t.length>=5)return e.error("Expected 3 or 4 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Ht),n=e.parse(t[2],2,Bt);if(!r||!n)return null;if(!Kt(r.type,[Wt(Ht),Nt,Ht]))return e.error("Expected first argument to be of type array or string, but found "+Xt(r.type)+" instead");if(4===t.length){var i=e.parse(t[3],3,Bt);return i?new gr(r.type,r,n,i):null}return new gr(r.type,r,n)},gr.prototype.evaluate=function(t){var e=this.input.evaluate(t),r=this.beginIndex.evaluate(t);if(!Qt(e,["string","array"]))throw new ue("Expected first argument to be of type array or string, but found "+Xt(se(e))+" instead.");if(this.endIndex){var n=this.endIndex.evaluate(t);return e.slice(r,n)}return e.slice(r)},gr.prototype.eachChild=function(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)},gr.prototype.outputDefined=function(){return!1},gr.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var t=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),t]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var xr=yr("==",(function(t,e,r){return e===r}),vr),br=yr("!=",(function(t,e,r){return e!==r}),(function(t,e,r,n){return!vr(0,e,r,n)})),_r=yr("<",(function(t,e,r){return e<r}),(function(t,e,r,n){return n.compare(e,r)<0})),wr=yr(">",(function(t,e,r){return e>r}),(function(t,e,r,n){return n.compare(e,r)>0})),Tr=yr("<=",(function(t,e,r){return e<=r}),(function(t,e,r,n){return n.compare(e,r)<=0})),kr=yr(">=",(function(t,e,r){return e>=r}),(function(t,e,r,n){return n.compare(e,r)>=0})),Ar=function(t,e,r,n,i){this.type=Nt,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=n,this.maxFractionDigits=i};Ar.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Bt);if(!r)return null;var n=t[2];if("object"!=typeof n||Array.isArray(n))return e.error("NumberFormat options argument must be an object.");var i=null;if(n.locale&&!(i=e.parse(n.locale,1,Nt)))return null;var a=null;if(n.currency&&!(a=e.parse(n.currency,1,Nt)))return null;var o=null;if(n["min-fraction-digits"]&&!(o=e.parse(n["min-fraction-digits"],1,Bt)))return null;var s=null;return n["max-fraction-digits"]&&!(s=e.parse(n["max-fraction-digits"],1,Bt))?null:new Ar(r,i,a,o,s)},Ar.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},Ar.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},Ar.prototype.outputDefined=function(){return!1},Ar.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var Mr=function(t){this.type=Bt,this.input=t};Mr.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Xt(r.type)+" instead."):new Mr(r):null},Mr.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new ue("Expected value to be of type string or array, but found "+Xt(se(e))+" instead.")},Mr.prototype.eachChild=function(t){t(this.input)},Mr.prototype.outputDefined=function(){return!1},Mr.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Sr={"==":xr,"!=":br,">":wr,"<":_r,">=":kr,"<=":Tr,array:he,at:ur,boolean:he,case:dr,coalesce:lr,collator:be,format:pe,image:de,in:fr,"index-of":hr,interpolate:or,"interpolate-hcl":or,"interpolate-lab":or,length:Mr,let:cr,literal:ce,match:pr,number:he,"number-format":Ar,object:he,slice:gr,step:He,string:he,"to-boolean":me,"to-color":me,"to-number":me,"to-string":me,var:je,within:Re};function Er(t,e){var r=e[0],n=e[1],i=e[2],a=e[3];r=r.evaluate(t),n=n.evaluate(t),i=i.evaluate(t);var o=a?a.evaluate(t):1,s=ae(r,n,i,o);if(s)throw new ue(s);return new te(r/255*o,n/255*o,i/255*o,o)}function Lr(t,e){return t in e}function Cr(t,e){var r=e[t];return void 0===r?null:r}function Pr(t){return{type:t}}function Ir(t){return{result:"success",value:t}}function Or(t){return{result:"error",value:t}}function zr(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Dr(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Rr(t){return!!t.expression&&t.expression.interpolated}function Fr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function Br(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function Nr(t){return t}function jr(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function Ur(t,e,r,n,i){return jr(typeof r===i?n[r]:void 0,t.default,e.default)}function Vr(t,e,r){if("number"!==Fr(r))return jr(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var i=Ve(t.stops.map((function(t){return t[0]})),r);return t.stops[i][1]}function Hr(t,e,r){var n=void 0!==t.base?t.base:1;if("number"!==Fr(r))return jr(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var a=Ve(t.stops.map((function(t){return t[0]})),r),o=function(t,e,r,n){var i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}(r,n,t.stops[a][0],t.stops[a+1][0]),s=t.stops[a][1],l=t.stops[a+1][1],c=Ge[e.type]||Nr;if(t.colorSpace&&"rgb"!==t.colorSpace){var u=ar[t.colorSpace];c=function(t,e){return u.reverse(u.interpolate(u.forward(t),u.forward(e),o))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),n=l.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==n)return c(r,n,o)}}:c(s,l,o)}function qr(t,e,r){return"color"===e.type?r=te.parse(r):"formatted"===e.type?r=ne.fromString(r.toString()):"resolvedImage"===e.type?r=ie.fromString(r.toString()):Fr(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),jr(r,t.default,e.default)}xe.register(Sr,{error:[{kind:"error"},[Nt],function(t,e){var r=e[0];throw new ue(r.evaluate(t))}],typeof:[Nt,[Ht],function(t,e){return Xt(se(e[0].evaluate(t)))}],"to-rgba":[Wt(Bt,4),[Ut],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Ut,[Bt,Bt,Bt],Er],rgba:[Ut,[Bt,Bt,Bt,Bt],Er],has:{type:jt,overloads:[[[Nt],function(t,e){return Lr(e[0].evaluate(t),t.properties())}],[[Nt,Vt],function(t,e){var r=e[0],n=e[1];return Lr(r.evaluate(t),n.evaluate(t))}]]},get:{type:Ht,overloads:[[[Nt],function(t,e){return Cr(e[0].evaluate(t),t.properties())}],[[Nt,Vt],function(t,e){var r=e[0],n=e[1];return Cr(r.evaluate(t),n.evaluate(t))}]]},"feature-state":[Ht,[Nt],function(t,e){return Cr(e[0].evaluate(t),t.featureState||{})}],properties:[Vt,[],function(t){return t.properties()}],"geometry-type":[Nt,[],function(t){return t.geometryType()}],id:[Ht,[],function(t){return t.id()}],zoom:[Bt,[],function(t){return t.globals.zoom}],"heatmap-density":[Bt,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[Bt,[],function(t){return t.globals.lineProgress||0}],accumulated:[Ht,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[Bt,Pr(Bt),function(t,e){for(var r=0,n=0,i=e;n<i.length;n+=1){r+=i[n].evaluate(t)}return r}],"*":[Bt,Pr(Bt),function(t,e){for(var r=1,n=0,i=e;n<i.length;n+=1){r*=i[n].evaluate(t)}return r}],"-":{type:Bt,overloads:[[[Bt,Bt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)-n.evaluate(t)}],[[Bt],function(t,e){return-e[0].evaluate(t)}]]},"/":[Bt,[Bt,Bt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)/n.evaluate(t)}],"%":[Bt,[Bt,Bt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)%n.evaluate(t)}],ln2:[Bt,[],function(){return Math.LN2}],pi:[Bt,[],function(){return Math.PI}],e:[Bt,[],function(){return Math.E}],"^":[Bt,[Bt,Bt],function(t,e){var r=e[0],n=e[1];return Math.pow(r.evaluate(t),n.evaluate(t))}],sqrt:[Bt,[Bt],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[Bt,[Bt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[Bt,[Bt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[Bt,[Bt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[Bt,[Bt],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[Bt,[Bt],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[Bt,[Bt],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[Bt,[Bt],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[Bt,[Bt],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[Bt,[Bt],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[Bt,Pr(Bt),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[Bt,Pr(Bt),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[Bt,[Bt],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[Bt,[Bt],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[Bt,[Bt],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[Bt,[Bt],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[jt,[Nt,Ht],function(t,e){var r=e[0],n=e[1];return t.properties()[r.value]===n.value}],"filter-id-==":[jt,[Ht],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[jt,[Nt],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[jt,[Nt,Ht],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i<a}],"filter-id-<":[jt,[Ht],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n<i}],"filter->":[jt,[Nt,Ht],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i>a}],"filter-id->":[jt,[Ht],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n>i}],"filter-<=":[jt,[Nt,Ht],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i<=a}],"filter-id-<=":[jt,[Ht],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n<=i}],"filter->=":[jt,[Nt,Ht],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i>=a}],"filter-id->=":[jt,[Ht],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n>=i}],"filter-has":[jt,[Ht],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[jt,[],function(t){return null!==t.id()&&void 0!==t.id()}],"filter-type-in":[jt,[Wt(Nt)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[jt,[Wt(Ht)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[jt,[Nt,Wt(Ht)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[jt,[Nt,Wt(Ht)],function(t,e){var r=e[0],n=e[1];return function(t,e,r,n){for(;r<=n;){var i=r+n>>1;if(e[i]===t)return!0;e[i]>t?n=i-1:r=i+1}return!1}(t.properties()[r.value],n.value,0,n.value.length-1)}],all:{type:jt,overloads:[[[jt,jt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)&&n.evaluate(t)}],[Pr(jt),function(t,e){for(var r=0,n=e;r<n.length;r+=1){if(!n[r].evaluate(t))return!1}return!0}]]},any:{type:jt,overloads:[[[jt,jt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)||n.evaluate(t)}],[Pr(jt),function(t,e){for(var r=0,n=e;r<n.length;r+=1){if(n[r].evaluate(t))return!0}return!1}]]},"!":[jt,[jt],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[jt,[Nt],function(t,e){var r=e[0],n=t.globals&&t.globals.isSupportedScript;return!n||n(r.evaluate(t))}],upcase:[Nt,[Nt],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[Nt,[Nt],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[Nt,Pr(Ht),function(t,e){return e.map((function(e){return le(e.evaluate(t))})).join("")}],"resolved-locale":[Nt,[qt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var Gr=function(t,e){this.expression=t,this._warningHistory={},this._evaluator=new ye,this._defaultValue=e?function(t){return"color"===t.type&&Br(t.default)?new te(0,0,0,0):"color"===t.type?te.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null};function Yr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in Sr}function Wr(t,e){var r=new Ue(Sr,[],e?function(t){var e={color:Ut,string:Nt,number:Bt,enum:Nt,boolean:jt,formatted:Gt,resolvedImage:Yt};if("array"===t.type)return Wt(e[t.value]||Ht,t.length);return e[t.type]}(e):void 0),n=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return n?Ir(new Gr(n,e)):Or(r.errors)}Gr.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i,a){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a,this.expression.evaluate(this._evaluator)},Gr.prototype.evaluate=function(t,e,r,n,i,a){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a||null;try{var o=this.expression.evaluate(this._evaluator);if(null==o||"number"==typeof o&&o!=o)return this._defaultValue;if(this._enumValues&&!(o in this._enumValues))throw new ue("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(o)+" instead.");return o}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var Xr=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Be(e.expression)};Xr.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i,a)},Xr.prototype.evaluate=function(t,e,r,n,i,a){return this._styleExpression.evaluate(t,e,r,n,i,a)};var Zr=function(t,e,r,n){this.kind=t,this.zoomStops=r,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Be(e.expression),this.interpolationType=n};function Jr(t,e){if("error"===(t=Wr(t,e)).result)return t;var r=t.value.expression,n=Fe(r);if(!n&&!zr(e))return Or([new Dt("","data expressions not supported")]);var i=Ne(r,["zoom"]);if(!i&&!Dr(e))return Or([new Dt("","zoom expressions not supported")]);var a=function t(e){var r=null;if(e instanceof cr)r=t(e.result);else if(e instanceof lr)for(var n=0,i=e.args;n<i.length;n+=1){var a=i[n];if(r=t(a))break}else(e instanceof He||e instanceof or)&&e.input instanceof xe&&"zoom"===e.input.name&&(r=e);if(r instanceof Dt)return r;return e.eachChild((function(e){var n=t(e);n instanceof Dt?r=n:!r&&n?r=new Dt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&n&&r!==n&&(r=new Dt("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),r}(r);if(!a&&!i)return Or([new Dt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(a instanceof Dt)return Or([a]);if(a instanceof or&&!Rr(e))return Or([new Dt("",'"interpolate" expressions cannot be used with this property')]);if(!a)return Ir(new Xr(n?"constant":"source",t.value));var o=a instanceof or?a.interpolation:void 0;return Ir(new Zr(n?"camera":"composite",t.value,a.labels,o))}Zr.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i,a)},Zr.prototype.evaluate=function(t,e,r,n,i,a){return this._styleExpression.evaluate(t,e,r,n,i,a)},Zr.prototype.interpolationFactor=function(t,e,r){return this.interpolationType?or.interpolationFactor(this.interpolationType,t,e,r):0};var Kr=function(t,e){this._parameters=t,this._specification=e,It(this,function t(e,r){var n,i,a,o="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],l=s||void 0!==e.property,c=s||!l,u=e.type||(Rr(r)?"exponential":"interval");if(o&&((e=It({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],te.parse(t[1])]}))),e.default?e.default=te.parse(e.default):e.default=te.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!ar[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===u)n=Hr;else if("interval"===u)n=Vr;else if("categorical"===u){n=Ur,i=Object.create(null);for(var f=0,h=e.stops;f<h.length;f+=1){var p=h[f];i[p[0]]=p[1]}a=typeof e.stops[0][0]}else{if("identity"!==u)throw new Error('Unknown function type "'+u+'"');n=qr}if(s){for(var d={},g=[],m=0;m<e.stops.length;m++){var v=e.stops[m],y=v[0].zoom;void 0===d[y]&&(d[y]={zoom:y,type:e.type,property:e.property,default:e.default,stops:[]},g.push(y)),d[y].stops.push([v[0].value,v[1]])}for(var x=[],b=0,_=g;b<_.length;b+=1){var w=_[b];x.push([d[w].zoom,t(d[w],r)])}var T={name:"linear"};return{kind:"composite",interpolationType:T,interpolationFactor:or.interpolationFactor.bind(void 0,T),zoomStops:x.map((function(t){return t[0]})),evaluate:function(t,n){var i=t.zoom;return Hr({stops:x,base:e.base},r,i).evaluate(i,n)}}}if(c){var k="exponential"===u?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:k,interpolationFactor:or.interpolationFactor.bind(void 0,k),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){var o=t.zoom;return n(e,r,o,i,a)}}}return{kind:"source",evaluate:function(t,o){var s=o&&o.properties?o.properties[e.property]:void 0;return void 0===s?jr(e.default,r.default):n(e,r,s,i,a)}}}(this._parameters,this._specification))};function Qr(t){var e=t.key,r=t.value,n=t.valueSpec||{},i=t.objectElementValidators||{},a=t.style,o=t.styleSpec,s=[],l=Fr(r);if("object"!==l)return[new Ct(e,r,"object expected, "+l+" found")];for(var c in r){var u=c.split(".")[0],f=n[u]||n["*"],h=void 0;if(i[u])h=i[u];else if(n[u])h=kn;else if(i["*"])h=i["*"];else{if(!n["*"]){s.push(new Ct(e,r[c],'unknown property "'+c+'"'));continue}h=kn}s=s.concat(h({key:(e?e+".":e)+c,value:r[c],valueSpec:f,style:a,styleSpec:o,object:r,objectKey:c},r))}for(var p in n)i[p]||n[p].required&&void 0===n[p].default&&void 0===r[p]&&s.push(new Ct(e,r,'missing required property "'+p+'"'));return s}function $r(t){var e=t.value,r=t.valueSpec,n=t.style,i=t.styleSpec,a=t.key,o=t.arrayElementValidator||kn;if("array"!==Fr(e))return[new Ct(a,e,"array expected, "+Fr(e)+" found")];if(r.length&&e.length!==r.length)return[new Ct(a,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new Ct(a,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value,values:r.values};i.$version<7&&(s.function=r.function),"object"===Fr(r.value)&&(s=r.value);for(var l=[],c=0;c<e.length;c++)l=l.concat(o({array:e,arrayIndex:c,value:e[c],valueSpec:s,style:n,styleSpec:i,key:a+"["+c+"]"}));return l}function tn(t){var e=t.key,r=t.value,n=t.valueSpec,i=Fr(r);return"number"===i&&r!=r&&(i="NaN"),"number"!==i?[new Ct(e,r,"number expected, "+i+" found")]:"minimum"in n&&r<n.minimum?[new Ct(e,r,r+" is less than the minimum value "+n.minimum)]:"maximum"in n&&r>n.maximum?[new Ct(e,r,r+" is greater than the maximum value "+n.maximum)]:[]}function en(t){var e,r,n,i=t.valueSpec,a=Ot(t.value.type),o={},s="categorical"!==a&&void 0===t.value.property,l=!s,c="array"===Fr(t.value.stops)&&"array"===Fr(t.value.stops[0])&&"object"===Fr(t.value.stops[0][0]),u=Qr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===a)return[new Ct(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;e=e.concat($r({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:f})),"array"===Fr(r)&&0===r.length&&e.push(new Ct(t.key,r,"array must have at least one stop"));return e},default:function(t){return kn({key:t.key,value:t.value,valueSpec:i,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===a&&s&&u.push(new Ct(t.key,t.value,'missing required property "property"')),"identity"===a||t.value.stops||u.push(new Ct(t.key,t.value,'missing required property "stops"')),"exponential"===a&&t.valueSpec.expression&&!Rr(t.valueSpec)&&u.push(new Ct(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!zr(t.valueSpec)?u.push(new Ct(t.key,t.value,"property functions not supported")):s&&!Dr(t.valueSpec)&&u.push(new Ct(t.key,t.value,"zoom functions not supported"))),"categorical"!==a&&!c||void 0!==t.value.property||u.push(new Ct(t.key,t.value,'"property" property is required')),u;function f(t){var e=[],a=t.value,s=t.key;if("array"!==Fr(a))return[new Ct(s,a,"array expected, "+Fr(a)+" found")];if(2!==a.length)return[new Ct(s,a,"array length 2 expected, length "+a.length+" found")];if(c){if("object"!==Fr(a[0]))return[new Ct(s,a,"object expected, "+Fr(a[0])+" found")];if(void 0===a[0].zoom)return[new Ct(s,a,"object stop key must have zoom")];if(void 0===a[0].value)return[new Ct(s,a,"object stop key must have value")];if(n&&n>Ot(a[0].zoom))return[new Ct(s,a[0].zoom,"stop zoom values must appear in ascending order")];Ot(a[0].zoom)!==n&&(n=Ot(a[0].zoom),r=void 0,o={}),e=e.concat(Qr({key:s+"[0]",value:a[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:tn,value:h}}))}else e=e.concat(h({key:s+"[0]",value:a[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},a));return Yr(zt(a[1]))?e.concat([new Ct(s+"[1]",a[1],"expressions are not allowed in function stops.")]):e.concat(kn({key:s+"[1]",value:a[1],valueSpec:i,style:t.style,styleSpec:t.styleSpec}))}function h(t,n){var s=Fr(t.value),l=Ot(t.value),c=null!==t.value?t.value:n;if(e){if(s!==e)return[new Ct(t.key,c,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new Ct(t.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==a){var u="number expected, "+s+" found";return zr(i)&&void 0===a&&(u+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ct(t.key,c,u)]}return"categorical"!==a||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==a&&"number"===s&&void 0!==r&&l<r?[new Ct(t.key,c,"stop domain values must appear in ascending order")]:(r=l,"categorical"===a&&l in o?[new Ct(t.key,c,"stop domain values must be unique")]:(o[l]=!0,[])):[new Ct(t.key,c,"integer expected, found "+l)]}}function rn(t){var e=("property"===t.expressionContext?Jr:Wr)(zt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new Ct(""+t.key+e.key,t.value,e.message)}));var r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!r.outputDefined())return[new Ct(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!Be(r))return[new Ct(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!Be(r))return[new Ct(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Ne(r,["zoom","feature-state"]))return[new Ct(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Fe(r))return[new Ct(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function nn(t){var e=t.key,r=t.value,n=t.valueSpec,i=[];return Array.isArray(n.values)?-1===n.values.indexOf(Ot(r))&&i.push(new Ct(e,r,"expected one of ["+n.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(n.values).indexOf(Ot(r))&&i.push(new Ct(e,r,"expected one of ["+Object.keys(n.values).join(", ")+"], "+JSON.stringify(r)+" found")),i}function an(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var n=r[e];if(!an(n)&&"boolean"!=typeof n)return!1}return!0;default:return!0}}Kr.deserialize=function(t){return new Kr(t._parameters,t._specification)},Kr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var on={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function sn(t){if(null==t)return{filter:function(){return!0},needGeometry:!1};an(t)||(t=cn(t));var e=Wr(t,on);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return{filter:function(t,r,n){return e.value.evaluate(t,r,{},n)},needGeometry:function t(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(var r=1;r<e.length;r++)if(t(e[r]))return!0;return!1}(t)}}function ln(t,e){return t<e?-1:t>e?1:0}function cn(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?un(t[1],t[2],"=="):"!="===r?pn(un(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?un(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(cn))):"all"===r?["all"].concat(t.slice(1).map(cn)):"none"===r?["all"].concat(t.slice(1).map(cn).map(pn)):"in"===r?fn(t[1],t.slice(2)):"!in"===r?pn(fn(t[1],t.slice(2))):"has"===r?hn(t[1]):"!has"===r?pn(hn(t[1])):"within"!==r||t}function un(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function fn(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(ln)]]:["filter-in-small",t,["literal",e]]}}function hn(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function pn(t){return["!",t]}function dn(t){return an(zt(t.value))?rn(It({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value,n=e.key;if("array"!==Fr(r))return[new Ct(n,r,"array expected, "+Fr(r)+" found")];var i,a=e.styleSpec,o=[];if(r.length<1)return[new Ct(n,r,"filter array must have at least 1 element")];switch(o=o.concat(nn({key:n+"[0]",value:r[0],valueSpec:a.filter_operator,style:e.style,styleSpec:e.styleSpec})),Ot(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===Ot(r[1])&&o.push(new Ct(n,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&o.push(new Ct(n,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(i=Fr(r[1]))&&o.push(new Ct(n+"[1]",r[1],"string expected, "+i+" found"));for(var s=2;s<r.length;s++)i=Fr(r[s]),"$type"===Ot(r[1])?o=o.concat(nn({key:n+"["+s+"]",value:r[s],valueSpec:a.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&o.push(new Ct(n+"["+s+"]",r[s],"string, number, or boolean expected, "+i+" found"));break;case"any":case"all":case"none":for(var l=1;l<r.length;l++)o=o.concat(t({key:n+"["+l+"]",value:r[l],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":i=Fr(r[1]),2!==r.length?o.push(new Ct(n,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==i&&o.push(new Ct(n+"[1]",r[1],"string expected, "+i+" found"));break;case"within":i=Fr(r[1]),2!==r.length?o.push(new Ct(n,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"object"!==i&&o.push(new Ct(n+"[1]",r[1],"object expected, "+i+" found"))}return o}(t)}function gn(t,e){var r=t.key,n=t.style,i=t.styleSpec,a=t.value,o=t.objectKey,s=i[e+"_"+t.layerType];if(!s)return[];var l=o.match(/^(.*)-transition$/);if("paint"===e&&l&&s[l[1]]&&s[l[1]].transition)return kn({key:r,value:a,valueSpec:i.transition,style:n,styleSpec:i});var c,u=t.valueSpec||s[o];if(!u)return[new Ct(r,a,'unknown property "'+o+'"')];if("string"===Fr(a)&&zr(u)&&!u.tokens&&(c=/^{([^}]+)}$/.exec(a)))return[new Ct(r,a,'"'+o+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(c[1])+" }`.")];var f=[];return"symbol"===t.layerType&&("text-field"===o&&n&&!n.glyphs&&f.push(new Ct(r,a,'use of "text-field" requires a style "glyphs" property')),"text-font"===o&&Br(zt(a))&&"identity"===Ot(a.type)&&f.push(new Ct(r,a,'"text-font" does not support identity functions'))),f.concat(kn({key:t.key,value:a,valueSpec:u,style:n,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:o}))}function mn(t){return gn(t,"paint")}function vn(t){return gn(t,"layout")}function yn(t){var e=[],r=t.value,n=t.key,i=t.style,a=t.styleSpec;r.type||r.ref||e.push(new Ct(n,r,'either "type" or "ref" is required'));var o,s=Ot(r.type),l=Ot(r.ref);if(r.id)for(var c=Ot(r.id),u=0;u<t.arrayIndex;u++){var f=i.layers[u];Ot(f.id)===c&&e.push(new Ct(n,r.id,'duplicate layer id "'+r.id+'", previously used at line '+f.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(t){t in r&&e.push(new Ct(n,r[t],'"'+t+'" is prohibited for ref layers'))})),i.layers.forEach((function(t){Ot(t.id)===l&&(o=t)})),o?o.ref?e.push(new Ct(n,r.ref,"ref cannot reference another ref layer")):s=Ot(o.type):e.push(new Ct(n,r.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(r.source){var h=i.sources&&i.sources[r.source],p=h&&Ot(h.type);h?"vector"===p&&"raster"===s?e.push(new Ct(n,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===p&&"raster"!==s?e.push(new Ct(n,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==p||r["source-layer"]?"raster-dem"===p&&"hillshade"!==s?e.push(new Ct(n,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===p&&h.lineMetrics||e.push(new Ct(n,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new Ct(n,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new Ct(n,r.source,'source "'+r.source+'" not found'))}else e.push(new Ct(n,r,'missing required property "source"'));return e=e.concat(Qr({key:n,value:r,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return kn({key:n+".type",value:r.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:dn,layout:function(t){return Qr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return vn(It({layerType:s},t))}}})},paint:function(t){return Qr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return mn(It({layerType:s},t))}}})}}}))}function xn(t){var e=t.value,r=t.key,n=Fr(e);return"string"!==n?[new Ct(r,e,"string expected, "+n+" found")]:[]}var bn={promoteId:function(t){var e=t.key,r=t.value;if("string"===Fr(r))return xn({key:e,value:r});var n=[];for(var i in r)n.push.apply(n,xn({key:e+"."+i,value:r[i]}));return n}};function _n(t){var e=t.value,r=t.key,n=t.styleSpec,i=t.style;if(!e.type)return[new Ct(r,e,'"type" is required')];var a,o=Ot(e.type);switch(o){case"vector":case"raster":case"raster-dem":return a=Qr({key:r,value:e,valueSpec:n["source_"+o.replace("-","_")],style:t.style,styleSpec:n,objectElementValidators:bn});case"geojson":if(a=Qr({key:r,value:e,valueSpec:n.source_geojson,style:i,styleSpec:n,objectElementValidators:bn}),e.cluster)for(var s in e.clusterProperties){var l=e.clusterProperties[s],c=l[0],u=l[1],f="string"==typeof c?[c,["accumulated"],["get",s]]:c;a.push.apply(a,rn({key:r+"."+s+".map",value:u,expressionContext:"cluster-map"})),a.push.apply(a,rn({key:r+"."+s+".reduce",value:f,expressionContext:"cluster-reduce"}))}return a;case"video":return Qr({key:r,value:e,valueSpec:n.source_video,style:i,styleSpec:n});case"image":return Qr({key:r,value:e,valueSpec:n.source_image,style:i,styleSpec:n});case"canvas":return[new Ct(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return nn({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:n})}}function wn(t){var e=t.value,r=t.styleSpec,n=r.light,i=t.style,a=[],o=Fr(e);if(void 0===e)return a;if("object"!==o)return a=a.concat([new Ct("light",e,"object expected, "+o+" found")]);for(var s in e){var l=s.match(/^(.*)-transition$/);a=l&&n[l[1]]&&n[l[1]].transition?a.concat(kn({key:s,value:e[s],valueSpec:r.transition,style:i,styleSpec:r})):n[s]?a.concat(kn({key:s,value:e[s],valueSpec:n[s],style:i,styleSpec:r})):a.concat([new Ct(s,e[s],'unknown property "'+s+'"')])}return a}var Tn={"*":function(){return[]},array:$r,boolean:function(t){var e=t.value,r=t.key,n=Fr(e);return"boolean"!==n?[new Ct(r,e,"boolean expected, "+n+" found")]:[]},number:tn,color:function(t){var e=t.key,r=t.value,n=Fr(r);return"string"!==n?[new Ct(e,r,"color expected, "+n+" found")]:null===$t(r)?[new Ct(e,r,'color expected, "'+r+'" found')]:[]},constants:Pt,enum:nn,filter:dn,function:en,layer:yn,object:Qr,source:_n,light:wn,string:xn,formatted:function(t){return 0===xn(t).length?[]:rn(t)},resolvedImage:function(t){return 0===xn(t).length?[]:rn(t)}};function kn(t){var e=t.value,r=t.valueSpec,n=t.styleSpec;return r.expression&&Br(Ot(e))?en(t):r.expression&&Yr(zt(e))?rn(t):r.type&&Tn[r.type]?Tn[r.type](t):Qr(It({},t,{valueSpec:r.type?n[r.type]:r}))}function An(t){var e=t.value,r=t.key,n=xn(t);return n.length||(-1===e.indexOf("{fontstack}")&&n.push(new Ct(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&n.push(new Ct(r,e,'"glyphs" url must include a "{range}" token'))),n}function Mn(t,e){void 0===e&&(e=Lt);var r=[];return r=r.concat(kn({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:An,"*":function(){return[]}}})),t.constants&&(r=r.concat(Pt({key:"constants",value:t.constants,style:t,styleSpec:e}))),Sn(r)}function Sn(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function En(t){return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return Sn(t.apply(this,e))}}Mn.source=En(_n),Mn.light=En(wn),Mn.layer=En(yn),Mn.filter=En(dn),Mn.paintProperty=En(mn),Mn.layoutProperty=En(vn);var Ln=Mn,Cn=Ln.light,Pn=Ln.paintProperty,In=Ln.layoutProperty;function On(t,e){var r=!1;if(e&&e.length)for(var n=0,i=e;n<i.length;n+=1){var a=i[n];t.fire(new St(new Error(a.message))),r=!0}return r}var zn=Dn;function Dn(t,e,r){var n=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var i=new Int32Array(this.arrayBuffer);t=i[0],e=i[1],r=i[2],this.d=e+2*r;for(var a=0;a<this.d*this.d;a++){var o=i[3+a],s=i[3+a+1];n.push(o===s?null:i.subarray(o,s))}var l=i[3+n.length],c=i[3+n.length+1];this.keys=i.subarray(l,c),this.bboxes=i.subarray(c),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var u=0;u<this.d*this.d;u++)n.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var f=r/e*t;this.min=-f,this.max=t+f}Dn.prototype.insert=function(t,e,r,n,i){this._forEachCell(e,r,n,i,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)},Dn.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},Dn.prototype._insertCell=function(t,e,r,n,i,a){this.cells[i].push(a)},Dn.prototype.query=function(t,e,r,n,i){var a=this.min,o=this.max;if(t<=a&&e<=a&&o<=r&&o<=n&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,r,n,this._queryCell,s,{},i),s},Dn.prototype._queryCell=function(t,e,r,n,i,a,o,s){var l=this.cells[i];if(null!==l)for(var c=this.keys,u=this.bboxes,f=0;f<l.length;f++){var h=l[f];if(void 0===o[h]){var p=4*h;(s?s(u[p+0],u[p+1],u[p+2],u[p+3]):t<=u[p+2]&&e<=u[p+3]&&r>=u[p+0]&&n>=u[p+1])?(o[h]=!0,a.push(c[h])):o[h]=!1}}},Dn.prototype._forEachCell=function(t,e,r,n,i,a,o,s){for(var l=this._convertToCellCoord(t),c=this._convertToCellCoord(e),u=this._convertToCellCoord(r),f=this._convertToCellCoord(n),h=l;h<=u;h++)for(var p=c;p<=f;p++){var d=this.d*p+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(p),this._convertFromCellCoord(h+1),this._convertFromCellCoord(p+1)))&&i.call(this,t,e,r,n,d,a,o,s))return}},Dn.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},Dn.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},Dn.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=3+this.cells.length+1+1,r=0,n=0;n<this.cells.length;n++)r+=this.cells[n].length;var i=new Int32Array(e+r+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var a=e,o=0;o<t.length;o++){var s=t[o];i[3+o]=a,i.set(s,a),a+=s.length}return i[3+t.length]=a,i.set(this.keys,a),a+=this.keys.length,i[3+t.length+1]=a,i.set(this.bboxes,a),a+=this.bboxes.length,i.buffer};var Rn=self.ImageData,Fn=self.ImageBitmap,Bn={};function Nn(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),Bn[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}for(var jn in Nn("Object",Object),zn.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},zn.deserialize=function(t){return new zn(t.buffer)},Nn("Grid",zn),Nn("Color",te),Nn("Error",Error),Nn("ResolvedImage",ie),Nn("StylePropertyFunction",Kr),Nn("StyleExpression",Gr,{omit:["_evaluator"]}),Nn("ZoomDependentExpression",Zr),Nn("ZoomConstantExpression",Xr),Nn("CompoundExpression",xe,{omit:["_evaluate"]}),Sr)Sr[jn]._classRegistryKey||Nn("Expression_"+jn,Sr[jn]);function Un(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function Vn(t){return Fn&&t instanceof Fn}function Hn(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(Un(t)||Vn(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof Rn)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var n=[],i=0,a=t;i<a.length;i+=1){var o=a[i];n.push(Hn(o,e))}return n}if("object"==typeof t){var s=t.constructor,l=s._classRegistryKey;if(!l)throw new Error("can't serialize object of unregistered class");var c=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var u in t)if(t.hasOwnProperty(u)&&!(Bn[l].omit.indexOf(u)>=0)){var f=t[u];c[u]=Bn[l].shallow.indexOf(u)>=0?f:Hn(f,e)}t instanceof Error&&(c.message=t.message)}if(c.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==l&&(c.$name=l),c}throw new Error("can't serialize object of type "+typeof t)}function qn(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||Un(t)||Vn(t)||ArrayBuffer.isView(t)||t instanceof Rn)return t;if(Array.isArray(t))return t.map(qn);if("object"==typeof t){var e=t.$name||"Object",r=Bn[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var n=Object.create(r.prototype),i=0,a=Object.keys(t);i<a.length;i+=1){var o=a[i];if("$name"!==o){var s=t[o];n[o]=Bn[e].shallow.indexOf(o)>=0?s:qn(s)}}return n}throw new Error("can't deserialize object of type "+typeof t)}var Gn=function(){this.first=!0};Gn.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var Yn={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function Wn(t){for(var e=0,r=t;e<r.length;e+=1){if(Zn(r[e].charCodeAt(0)))return!0}return!1}function Xn(t){return!Yn.Arabic(t)&&(!Yn["Arabic Supplement"](t)&&(!Yn["Arabic Extended-A"](t)&&(!Yn["Arabic Presentation Forms-A"](t)&&!Yn["Arabic Presentation Forms-B"](t))))}function Zn(t){return 746===t||747===t||!(t<4352)&&(!!Yn["Bopomofo Extended"](t)||(!!Yn.Bopomofo(t)||(!(!Yn["CJK Compatibility Forms"](t)||t>=65097&&t<=65103)||(!!Yn["CJK Compatibility Ideographs"](t)||(!!Yn["CJK Compatibility"](t)||(!!Yn["CJK Radicals Supplement"](t)||(!!Yn["CJK Strokes"](t)||(!(!Yn["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||(!!Yn["CJK Unified Ideographs Extension A"](t)||(!!Yn["CJK Unified Ideographs"](t)||(!!Yn["Enclosed CJK Letters and Months"](t)||(!!Yn["Hangul Compatibility Jamo"](t)||(!!Yn["Hangul Jamo Extended-A"](t)||(!!Yn["Hangul Jamo Extended-B"](t)||(!!Yn["Hangul Jamo"](t)||(!!Yn["Hangul Syllables"](t)||(!!Yn.Hiragana(t)||(!!Yn["Ideographic Description Characters"](t)||(!!Yn.Kanbun(t)||(!!Yn["Kangxi Radicals"](t)||(!!Yn["Katakana Phonetic Extensions"](t)||(!(!Yn.Katakana(t)||12540===t)||(!(!Yn["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||(!(!Yn["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||(!!Yn["Unified Canadian Aboriginal Syllabics"](t)||(!!Yn["Unified Canadian Aboriginal Syllabics Extended"](t)||(!!Yn["Vertical Forms"](t)||(!!Yn["Yijing Hexagram Symbols"](t)||(!!Yn["Yi Syllables"](t)||!!Yn["Yi Radicals"](t))))))))))))))))))))))))))))))}function Jn(t){return!(Zn(t)||function(t){return!(!Yn["Latin-1 Supplement"](t)||167!==t&&169!==t&&174!==t&&177!==t&&188!==t&&189!==t&&190!==t&&215!==t&&247!==t)||(!(!Yn["General Punctuation"](t)||8214!==t&&8224!==t&&8225!==t&&8240!==t&&8241!==t&&8251!==t&&8252!==t&&8258!==t&&8263!==t&&8264!==t&&8265!==t&&8273!==t)||(!!Yn["Letterlike Symbols"](t)||(!!Yn["Number Forms"](t)||(!(!Yn["Miscellaneous Technical"](t)||!(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215))||(!(!Yn["Control Pictures"](t)||9251===t)||(!!Yn["Optical Character Recognition"](t)||(!!Yn["Enclosed Alphanumerics"](t)||(!!Yn["Geometric Shapes"](t)||(!(!Yn["Miscellaneous Symbols"](t)||t>=9754&&t<=9759)||(!(!Yn["Miscellaneous Symbols and Arrows"](t)||!(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243))||(!!Yn["CJK Symbols and Punctuation"](t)||(!!Yn.Katakana(t)||(!!Yn["Private Use Area"](t)||(!!Yn["CJK Compatibility Forms"](t)||(!!Yn["Small Form Variants"](t)||(!!Yn["Halfwidth and Fullwidth Forms"](t)||(8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)))))))))))))))))}(t))}function Kn(t){return t>=1424&&t<=2303||Yn["Arabic Presentation Forms-A"](t)||Yn["Arabic Presentation Forms-B"](t)}function Qn(t,e){return!(!e&&Kn(t))&&!(t>=2304&&t<=3583||t>=3840&&t<=4255||Yn.Khmer(t))}function $n(t){for(var e=0,r=t;e<r.length;e+=1){if(Kn(r[e].charCodeAt(0)))return!0}return!1}var ti="deferred",ei="loading",ri="loaded",ni="error",ii=null,ai="unavailable",oi=null,si=function(t){t&&"string"==typeof t&&t.indexOf("NetworkError")>-1&&(ai=ni),ii&&ii(t)};function li(){ci.fire(new Mt("pluginStateChange",{pluginStatus:ai,pluginURL:oi}))}var ci=new Et,ui=function(){return ai},fi=function(){if(ai!==ti||!oi)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");ai=ei,li(),oi&&xt({url:oi},(function(t){t?si(t):(ai=ri,li())}))},hi={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return ai===ri||null!=hi.applyArabicShaping},isLoading:function(){return ai===ei},setState:function(t){ai=t.pluginStatus,oi=t.pluginURL},isParsed:function(){return null!=hi.applyArabicShaping&&null!=hi.processBidirectionalText&&null!=hi.processStyledBidirectionalText},getPluginURL:function(){return oi}},pi=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Gn,this.transition={})};pi.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,n=t;r<n.length;r+=1){if(!Qn(n[r].charCodeAt(0),e))return!1}return!0}(t,hi.isLoaded())},pi.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},pi.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var di=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(Br(t))return new Kr(t,e);if(Yr(t)){var r=Jr(t,e);if("error"===r.result)throw new Error(r.value.map((function(t){return t.key+": "+t.message})).join(", "));return r.value}var n=t;return"string"==typeof t&&"color"===e.type&&(n=te.parse(t)),{kind:"constant",evaluate:function(){return n}}}(void 0===e?t.specification.default:e,t.specification)};di.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},di.prototype.possiblyEvaluate=function(t,e,r){return this.property.possiblyEvaluate(this,t,e,r)};var gi=function(t){this.property=t,this.value=new di(t,void 0)};gi.prototype.transitioned=function(t,e){return new vi(this.property,this.value,e,u({},t.transition,this.transition),t.now)},gi.prototype.untransitioned=function(){return new vi(this.property,this.value,null,{},0)};var mi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};mi.prototype.getValue=function(t){return x(this._values[t].value.value)},mi.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new gi(this._values[t].property)),this._values[t].value=new di(this._values[t].property,null===e?void 0:x(e))},mi.prototype.getTransition=function(t){return x(this._values[t].transition)},mi.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new gi(this._values[t].property)),this._values[t].transition=x(e)||void 0},mi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e],i=this.getValue(n);void 0!==i&&(t[n]=i);var a=this.getTransition(n);void 0!==a&&(t[n+"-transition"]=a)}return t},mi.prototype.transitioned=function(t,e){for(var r=new yi(this._properties),n=0,i=Object.keys(this._values);n<i.length;n+=1){var a=i[n];r._values[a]=this._values[a].transitioned(t,e._values[a])}return r},mi.prototype.untransitioned=function(){for(var t=new yi(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e];t._values[n]=this._values[n].untransitioned()}return t};var vi=function(t,e,r,n,i){this.property=t,this.value=e,this.begin=i+n.delay||0,this.end=this.begin+n.duration||0,t.specification.transition&&(n.delay||n.duration)&&(this.prior=r)};vi.prototype.possiblyEvaluate=function(t,e,r){var n=t.now||0,i=this.value.possiblyEvaluate(t,e,r),a=this.prior;if(a){if(n>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(n<this.begin)return a.possiblyEvaluate(t,e,r);var o=(n-this.begin)/(this.end-this.begin);return this.property.interpolate(a.possiblyEvaluate(t,e,r),i,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(o))}return i};var yi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};yi.prototype.possiblyEvaluate=function(t,e,r){for(var n=new _i(this._properties),i=0,a=Object.keys(this._values);i<a.length;i+=1){var o=a[i];n._values[o]=this._values[o].possiblyEvaluate(t,e,r)}return n},yi.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var xi=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};xi.prototype.getValue=function(t){return x(this._values[t].value)},xi.prototype.setValue=function(t,e){this._values[t]=new di(this._values[t].property,null===e?void 0:x(e))},xi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e],i=this.getValue(n);void 0!==i&&(t[n]=i)}return t},xi.prototype.possiblyEvaluate=function(t,e,r){for(var n=new _i(this._properties),i=0,a=Object.keys(this._values);i<a.length;i+=1){var o=a[i];n._values[o]=this._values[o].possiblyEvaluate(t,e,r)}return n};var bi=function(t,e,r){this.property=t,this.value=e,this.parameters=r};bi.prototype.isConstant=function(){return"constant"===this.value.kind},bi.prototype.constantOr=function(t){return"constant"===this.value.kind?this.value.value:t},bi.prototype.evaluate=function(t,e,r,n){return this.property.evaluate(this.value,this.parameters,t,e,r,n)};var _i=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};_i.prototype.get=function(t){return this._values[t]};var wi=function(t){this.specification=t};wi.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},wi.prototype.interpolate=function(t,e,r){var n=Ge[this.specification.type];return n?n(t,e,r):t};var Ti=function(t,e){this.specification=t,this.overrides=e};Ti.prototype.possiblyEvaluate=function(t,e,r,n){return"constant"===t.expression.kind||"camera"===t.expression.kind?new bi(this,{kind:"constant",value:t.expression.evaluate(e,null,{},r,n)},e):new bi(this,t.expression,e)},Ti.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new bi(this,{kind:"constant",value:void 0},t.parameters);var n=Ge[this.specification.type];return n?new bi(this,{kind:"constant",value:n(t.value.value,e.value.value,r)},t.parameters):t},Ti.prototype.evaluate=function(t,e,r,n,i,a){return"constant"===t.kind?t.value:t.evaluate(e,r,n,i,a)};var ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e,r,n){if(void 0===t.value)return new bi(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r,n),a="resolvedImage"===t.property.specification.type&&"string"!=typeof i?i.name:i,o=this._calculate(a,a,a,e);return new bi(this,{kind:"constant",value:o},e)}if("camera"===t.expression.kind){var s=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new bi(this,{kind:"constant",value:s},e)}return new bi(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,n,i,a){if("source"===t.kind){var o=t.evaluate(e,r,n,i,a);return this._calculate(o,o,o,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,n),t.evaluate({zoom:Math.floor(e.zoom)},r,n),t.evaluate({zoom:Math.floor(e.zoom)+1},r,n),e):t.value},e.prototype._calculate=function(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Ti),Ai=function(t){this.specification=t};Ai.prototype.possiblyEvaluate=function(t,e,r,n){if(void 0!==t.value){if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r,n);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new pi(Math.floor(e.zoom-1),e)),t.expression.evaluate(new pi(Math.floor(e.zoom),e)),t.expression.evaluate(new pi(Math.floor(e.zoom+1),e)),e)}},Ai.prototype._calculate=function(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Ai.prototype.interpolate=function(t){return t};var Mi=function(t){this.specification=t};Mi.prototype.possiblyEvaluate=function(t,e,r,n){return!!t.expression.evaluate(e,null,{},r,n)},Mi.prototype.interpolate=function(){return!1};var Si=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var r=t[e];r.specification.overridable&&this.overridableProperties.push(e);var n=this.defaultPropertyValues[e]=new di(r,void 0),i=this.defaultTransitionablePropertyValues[e]=new gi(r);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=n.possiblyEvaluate({})}};Nn("DataDrivenProperty",Ti),Nn("DataConstantProperty",wi),Nn("CrossFadedDataDrivenProperty",ki),Nn("CrossFadedProperty",Ai),Nn("ColorRampProperty",Mi);var Ei=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new xi(r.layout)),r.paint)){for(var n in this._transitionablePaint=new mi(r.paint),e.paint)this.setPaintProperty(n,e.paint[n],{validate:!1});for(var i in e.layout)this.setLayoutProperty(i,e.layout[i],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new _i(r.paint)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var n="layers."+this.id+".layout."+t;if(this._validate(In,n,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e},e.prototype.getPaintProperty=function(t){return m(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var n="layers."+this.id+".paint."+t;if(this._validate(Pn,n,t,e,r))return!1}if(m(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var i=this._transitionablePaint._values[t],a="cross-faded-data-driven"===i.property.specification["property-type"],o=i.value.isDataDriven(),s=i.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var l=this._transitionablePaint._values[t].value;return l.isDataDriven()||o||a||this._handleOverridablePaintPropertyUpdate(t,s,l)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,r){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||(!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility)},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),y(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,r,n,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&On(this,t.call(Ln,{key:e,layerType:this.type,objectKey:r,value:n,styleSpec:Lt,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof bi&&zr(e.property.specification)&&(("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent))return!0}return!1},e}(Et),Li={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},Ci=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Pi=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function Ii(t,e){void 0===e&&(e=1);var r=0,n=0;return{members:t.map((function(t){var i,a=(i=t.type,Li[i].BYTES_PER_ELEMENT),o=r=Oi(r,Math.max(e,a)),s=t.components||1;return n=Math.max(n,a),r+=a*s,{name:t.name,type:t.type,components:s,offset:o}})),size:Oi(r,Math.max(n,e)),alignment:e}}function Oi(t,e){return Math.ceil(t/e)*e}Pi.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},Pi.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},Pi.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Pi.prototype.clear=function(){this.length=0},Pi.prototype.resize=function(t){this.reserve(t),this.length=t},Pi.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},Pi.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.int16[n+0]=e,this.int16[n+1]=r,t},e}(Pi);zi.prototype.bytesPerElement=4,Nn("StructArrayLayout2i4",zi);var Di=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=4*t;return this.int16[a+0]=e,this.int16[a+1]=r,this.int16[a+2]=n,this.int16[a+3]=i,t},e}(Pi);Di.prototype.bytesPerElement=8,Nn("StructArrayLayout4i8",Di);var Ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=a,this.int16[s+5]=o,t},e}(Pi);Ri.prototype.bytesPerElement=12,Nn("StructArrayLayout2i4i12",Ri);var Fi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=4*t,l=8*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.uint8[l+4]=n,this.uint8[l+5]=i,this.uint8[l+6]=a,this.uint8[l+7]=o,t},e}(Pi);Fi.prototype.bytesPerElement=8,Nn("StructArrayLayout2i4ub8",Fi);var Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,l,c){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,n,i,a,o,s,l,c)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,l,c,u){var f=9*t,h=18*t;return this.uint16[f+0]=e,this.uint16[f+1]=r,this.uint16[f+2]=n,this.uint16[f+3]=i,this.uint16[f+4]=a,this.uint16[f+5]=o,this.uint16[f+6]=s,this.uint16[f+7]=l,this.uint8[h+16]=c,this.uint8[h+17]=u,t},e}(Pi);Bi.prototype.bytesPerElement=18,Nn("StructArrayLayout8ui2ub18",Bi);var Ni=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,l,c,u,f){var h=this.length;return this.resize(h+1),this.emplace(h,t,e,r,n,i,a,o,s,l,c,u,f)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,l,c,u,f,h){var p=12*t;return this.int16[p+0]=e,this.int16[p+1]=r,this.int16[p+2]=n,this.int16[p+3]=i,this.uint16[p+4]=a,this.uint16[p+5]=o,this.uint16[p+6]=s,this.uint16[p+7]=l,this.int16[p+8]=c,this.int16[p+9]=u,this.int16[p+10]=f,this.int16[p+11]=h,t},e}(Pi);Ni.prototype.bytesPerElement=24,Nn("StructArrayLayout4i4ui4i24",Ni);var ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.float32[i+0]=e,this.float32[i+1]=r,this.float32[i+2]=n,t},e}(Pi);ji.prototype.bytesPerElement=12,Nn("StructArrayLayout3f12",ji);var Ui=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(Pi);Ui.prototype.bytesPerElement=4,Nn("StructArrayLayout1ul4",Ui);var Vi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,l){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,r,n,i,a,o,s,l)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,l,c){var u=10*t,f=5*t;return this.int16[u+0]=e,this.int16[u+1]=r,this.int16[u+2]=n,this.int16[u+3]=i,this.int16[u+4]=a,this.int16[u+5]=o,this.uint32[f+3]=s,this.uint16[u+8]=l,this.uint16[u+9]=c,t},e}(Pi);Vi.prototype.bytesPerElement=20,Nn("StructArrayLayout6i1ul2ui20",Vi);var Hi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=a,this.int16[s+5]=o,t},e}(Pi);Hi.prototype.bytesPerElement=12,Nn("StructArrayLayout2i2i2i12",Hi);var qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,n,i)},e.prototype.emplace=function(t,e,r,n,i,a){var o=4*t,s=8*t;return this.float32[o+0]=e,this.float32[o+1]=r,this.float32[o+2]=n,this.int16[s+6]=i,this.int16[s+7]=a,t},e}(Pi);qi.prototype.bytesPerElement=16,Nn("StructArrayLayout2f1f2i16",qi);var Gi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=12*t,o=3*t;return this.uint8[a+0]=e,this.uint8[a+1]=r,this.float32[o+1]=n,this.float32[o+2]=i,t},e}(Pi);Gi.prototype.bytesPerElement=12,Nn("StructArrayLayout2ub2f12",Gi);var Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,this.uint16[i+2]=n,t},e}(Pi);Yi.prototype.bytesPerElement=6,Nn("StructArrayLayout3ui6",Yi);var Wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m){var v=this.length;return this.resize(v+1),this.emplace(v,t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v){var y=24*t,x=12*t,b=48*t;return this.int16[y+0]=e,this.int16[y+1]=r,this.uint16[y+2]=n,this.uint16[y+3]=i,this.uint32[x+2]=a,this.uint32[x+3]=o,this.uint32[x+4]=s,this.uint16[y+10]=l,this.uint16[y+11]=c,this.uint16[y+12]=u,this.float32[x+7]=f,this.float32[x+8]=h,this.uint8[b+36]=p,this.uint8[b+37]=d,this.uint8[b+38]=g,this.uint32[x+10]=m,this.int16[y+22]=v,t},e}(Pi);Wi.prototype.bytesPerElement=48,Nn("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Wi);var Xi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S){var E=this.length;return this.resize(E+1),this.emplace(E,t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S,E){var L=34*t,C=17*t;return this.int16[L+0]=e,this.int16[L+1]=r,this.int16[L+2]=n,this.int16[L+3]=i,this.int16[L+4]=a,this.int16[L+5]=o,this.int16[L+6]=s,this.int16[L+7]=l,this.uint16[L+8]=c,this.uint16[L+9]=u,this.uint16[L+10]=f,this.uint16[L+11]=h,this.uint16[L+12]=p,this.uint16[L+13]=d,this.uint16[L+14]=g,this.uint16[L+15]=m,this.uint16[L+16]=v,this.uint16[L+17]=y,this.uint16[L+18]=x,this.uint16[L+19]=b,this.uint16[L+20]=_,this.uint16[L+21]=w,this.uint16[L+22]=T,this.uint32[C+12]=k,this.float32[C+13]=A,this.float32[C+14]=M,this.float32[C+15]=S,this.float32[C+16]=E,t},e}(Pi);Xi.prototype.bytesPerElement=68,Nn("StructArrayLayout8i15ui1ul4f68",Xi);var Zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(Pi);Zi.prototype.bytesPerElement=4,Nn("StructArrayLayout1f4",Zi);var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.int16[i+0]=e,this.int16[i+1]=r,this.int16[i+2]=n,t},e}(Pi);Ji.prototype.bytesPerElement=6,Nn("StructArrayLayout3i6",Ji);var Ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=2*t,a=4*t;return this.uint32[i+0]=e,this.uint16[a+2]=r,this.uint16[a+3]=n,t},e}(Pi);Ki.prototype.bytesPerElement=8,Nn("StructArrayLayout1ul2ui8",Ki);var Qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,t},e}(Pi);Qi.prototype.bytesPerElement=4,Nn("StructArrayLayout2ui4",Qi);var $i=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(Pi);$i.prototype.bytesPerElement=2,Nn("StructArrayLayout1ui2",$i);var ta=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.float32[n+0]=e,this.float32[n+1]=r,t},e}(Pi);ta.prototype.bytesPerElement=8,Nn("StructArrayLayout2f8",ta);var ea=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=4*t;return this.float32[a+0]=e,this.float32[a+1]=r,this.float32[a+2]=n,this.float32[a+3]=i,t},e}(Pi);ea.prototype.bytesPerElement=16,Nn("StructArrayLayout4f16",ea);var ra=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(Ci);ra.prototype.size=20;var na=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new ra(this,t)},e}(Vi);Nn("CollisionBoxArray",na);var ia=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},r.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t},r.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},r.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(e.prototype,r),e}(Ci);ia.prototype.size=48;var aa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new ia(this,t)},e}(Wi);Nn("PlacedSymbolArray",aa);var oa=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},r.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},r.key.get=function(){return this._structArray.uint16[this._pos2+8]},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},r.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},r.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},r.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},r.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+12]=t},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},r.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},r.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},r.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(e.prototype,r),e}(Ci);oa.prototype.size=68;var sa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new oa(this,t)},e}(Xi);Nn("SymbolInstanceArray",sa);var la=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e}(Zi);Nn("GlyphOffsetArray",la);var ca=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e}(Ji);Nn("SymbolLineVertexArray",ca);var ua=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(e.prototype,r),e}(Ci);ua.prototype.size=8;var fa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new ua(this,t)},e}(Ki);Nn("FeatureIndexArray",fa);var ha=Ii([{name:"a_pos",components:2,type:"Int16"}],4).members,pa=function(t){void 0===t&&(t=[]),this.segments=t};function da(t,e){return 256*(t=l(Math.floor(t),0,255))+(e=l(Math.floor(e),0,255))}pa.prototype.prepareSegment=function(t,e,r,n){var i=this.segments[this.segments.length-1];return t>pa.MAX_VERTEX_ARRAY_LENGTH&&_("Max vertices per segment is "+pa.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!i||i.vertexLength+t>pa.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==n)&&(i={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==n&&(i.sortKey=n),this.segments.push(i)),i},pa.prototype.get=function(){return this.segments},pa.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var n in r.vaos)r.vaos[n].destroy()}},pa.simpleSegment=function(t,e,r,n){return new pa([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:n,vaos:{},sortKey:0}])},pa.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Nn("SegmentVector",pa);var ga=Ii([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint8"},{name:"a_pixel_ratio_to",components:1,type:"Uint8"}]),ma=e((function(t){t.exports=function(t,e){var r,n,i,a,o,s,l,c;for(r=3&t.length,n=t.length-r,i=e,o=3432918353,s=461845907,c=0;c<n;)l=255&t.charCodeAt(c)|(255&t.charCodeAt(++c))<<8|(255&t.charCodeAt(++c))<<16|(255&t.charCodeAt(++c))<<24,++c,i=27492+(65535&(a=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(a>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&t.charCodeAt(c+2))<<16;case 2:l^=(255&t.charCodeAt(c+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(c)))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}})),va=e((function(t){t.exports=function(t,e){for(var r,n=t.length,i=e^n,a=0;n>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(a)|(255&t.charCodeAt(++a))<<8|(255&t.charCodeAt(++a))<<16|(255&t.charCodeAt(++a))<<24))+((1540483477*(r>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),n-=4,++a;switch(n){case 3:i^=(255&t.charCodeAt(a+2))<<16;case 2:i^=(255&t.charCodeAt(a+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(a)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}})),ya=ma,xa=ma,ba=va;ya.murmur3=xa,ya.murmur2=ba;var _a=function(){this.ids=[],this.positions=[],this.indexed=!1};_a.prototype.add=function(t,e,r,n){this.ids.push(Ta(t)),this.positions.push(e,r,n)},_a.prototype.getPositions=function(t){for(var e=Ta(t),r=0,n=this.ids.length-1;r<n;){var i=r+n>>1;this.ids[i]>=e?n=i:r=i+1}for(var a=[];this.ids[r]===e;){var o=this.positions[3*r],s=this.positions[3*r+1],l=this.positions[3*r+2];a.push({index:o,start:s,end:l}),r++}return a},_a.serialize=function(t,e){var r=new Float64Array(t.ids),n=new Uint32Array(t.positions);return function t(e,r,n,i){for(;n<i;){for(var a=e[n+i>>1],o=n-1,s=i+1;;){do{o++}while(e[o]<a);do{s--}while(e[s]>a);if(o>=s)break;ka(e,o,s),ka(r,3*o,3*s),ka(r,3*o+1,3*s+1),ka(r,3*o+2,3*s+2)}s-n<i-s?(t(e,r,n,s),n=s+1):(t(e,r,s+1,i),i=s)}}(r,n,0,r.length-1),e&&e.push(r.buffer,n.buffer),{ids:r,positions:n}},_a.deserialize=function(t){var e=new _a;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e};var wa=Math.pow(2,53)-1;function Ta(t){var e=+t;return!isNaN(e)&&e<=wa?e:ya(String(t))}function ka(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}Nn("FeaturePositionMap",_a);var Aa=function(t,e){this.gl=t.gl,this.location=e},Ma=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(Aa),Sa=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(Aa),Ea=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(Aa),La=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(Aa),Ca=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(Aa),Pa=function(t){function e(e,r){t.call(this,e,r),this.current=te.transparent}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(Aa),Ia=new Float32Array(16),Oa=function(t){function e(e,r){t.call(this,e,r),this.current=Ia}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(Aa);function za(t){return[da(255*t.r,255*t.g),da(255*t.b,255*t.a)]}var Da=function(t,e,r){this.value=t,this.uniformNames=e.map((function(t){return"u_"+t})),this.type=r};Da.prototype.setUniform=function(t,e,r){t.set(r.constantOr(this.value))},Da.prototype.getBinding=function(t,e,r){return"color"===this.type?new Pa(t,e):new Sa(t,e)};var Ra=function(t,e){this.uniformNames=e.map((function(t){return"u_"+t})),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};Ra.prototype.setConstantPatternPositions=function(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr},Ra.prototype.setUniform=function(t,e,r,n){var i="u_pattern_to"===n?this.patternTo:"u_pattern_from"===n?this.patternFrom:"u_pixel_ratio_to"===n?this.pixelRatioTo:"u_pixel_ratio_from"===n?this.pixelRatioFrom:null;i&&t.set(i)},Ra.prototype.getBinding=function(t,e,r){return"u_pattern"===r.substr(0,9)?new Ca(t,e):new Sa(t,e)};var Fa=function(t,e,r,n){this.expression=t,this.type=r,this.maxValue=0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new n};Fa.prototype.populatePaintArray=function(t,e,r,n,i){var a=this.paintVertexArray.length,o=this.expression.evaluate(new pi(0),e,{},n,[],i);this.paintVertexArray.resize(t),this._setPaintValue(a,t,o)},Fa.prototype.updatePaintArray=function(t,e,r,n){var i=this.expression.evaluate({zoom:0},r,n);this._setPaintValue(t,e,i)},Fa.prototype._setPaintValue=function(t,e,r){if("color"===this.type)for(var n=za(r),i=t;i<e;i++)this.paintVertexArray.emplace(i,n[0],n[1]);else{for(var a=t;a<e;a++)this.paintVertexArray.emplace(a,r);this.maxValue=Math.max(this.maxValue,Math.abs(r))}},Fa.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Fa.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var Ba=function(t,e,r,n,i,a){this.expression=t,this.uniformNames=e.map((function(t){return"u_"+t+"_t"})),this.type=r,this.useIntegerZoom=n,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new a};Ba.prototype.populatePaintArray=function(t,e,r,n,i){var a=this.expression.evaluate(new pi(this.zoom),e,{},n,[],i),o=this.expression.evaluate(new pi(this.zoom+1),e,{},n,[],i),s=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(s,t,a,o)},Ba.prototype.updatePaintArray=function(t,e,r,n){var i=this.expression.evaluate({zoom:this.zoom},r,n),a=this.expression.evaluate({zoom:this.zoom+1},r,n);this._setPaintValue(t,e,i,a)},Ba.prototype._setPaintValue=function(t,e,r,n){if("color"===this.type)for(var i=za(r),a=za(n),o=t;o<e;o++)this.paintVertexArray.emplace(o,i[0],i[1],a[0],a[1]);else{for(var s=t;s<e;s++)this.paintVertexArray.emplace(s,r,n);this.maxValue=Math.max(this.maxValue,Math.abs(r),Math.abs(n))}},Ba.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Ba.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Ba.prototype.setUniform=function(t,e){var r=this.useIntegerZoom?Math.floor(e.zoom):e.zoom,n=l(this.expression.interpolationFactor(r,this.zoom,this.zoom+1),0,1);t.set(n)},Ba.prototype.getBinding=function(t,e,r){return new Sa(t,e)};var Na=function(t,e,r,n,i,a){this.expression=t,this.type=e,this.useIntegerZoom=r,this.zoom=n,this.layerId=a,this.zoomInPaintVertexArray=new i,this.zoomOutPaintVertexArray=new i};Na.prototype.populatePaintArray=function(t,e,r){var n=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(t),this.zoomOutPaintVertexArray.resize(t),this._setPaintValues(n,t,e.patterns&&e.patterns[this.layerId],r)},Na.prototype.updatePaintArray=function(t,e,r,n,i){this._setPaintValues(t,e,r.patterns&&r.patterns[this.layerId],i)},Na.prototype._setPaintValues=function(t,e,r,n){if(n&&r){var i=r.min,a=r.mid,o=r.max,s=n[i],l=n[a],c=n[o];if(s&&l&&c)for(var u=t;u<e;u++)this.zoomInPaintVertexArray.emplace(u,l.tl[0],l.tl[1],l.br[0],l.br[1],s.tl[0],s.tl[1],s.br[0],s.br[1],l.pixelRatio,s.pixelRatio),this.zoomOutPaintVertexArray.emplace(u,l.tl[0],l.tl[1],l.br[0],l.br[1],c.tl[0],c.tl[1],c.br[0],c.br[1],l.pixelRatio,c.pixelRatio)}},Na.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,ga.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,ga.members,this.expression.isStateDependent))},Na.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var ja=function(t,e,r,n){this.binders={},this.layoutAttributes=n,this._buffers=[];var i=[];for(var a in t.paint._values)if(r(a)){var o=t.paint.get(a);if(o instanceof bi&&zr(o.property.specification)){var s=Va(a,t.type),l=o.value,c=o.property.specification.type,u=o.property.useIntegerZoom,f=o.property.specification["property-type"],h="cross-faded"===f||"cross-faded-data-driven"===f;if("constant"===l.kind)this.binders[a]=h?new Ra(l.value,s):new Da(l.value,s,c),i.push("/u_"+a);else if("source"===l.kind||h){var p=Ha(a,c,"source");this.binders[a]=h?new Na(l,c,u,e,p,t.id):new Fa(l,s,c,p),i.push("/a_"+a)}else{var d=Ha(a,c,"composite");this.binders[a]=new Ba(l,s,c,u,e,d),i.push("/z_"+a)}}}this.cacheKey=i.sort().join("")};ja.prototype.getMaxValue=function(t){var e=this.binders[t];return e instanceof Fa||e instanceof Ba?e.maxValue:0},ja.prototype.populatePaintArrays=function(t,e,r,n,i){for(var a in this.binders){var o=this.binders[a];(o instanceof Fa||o instanceof Ba||o instanceof Na)&&o.populatePaintArray(t,e,r,n,i)}},ja.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders){var n=this.binders[r];n instanceof Ra&&n.setConstantPatternPositions(t,e)}},ja.prototype.updatePaintArrays=function(t,e,r,n,i){var a=!1;for(var o in t)for(var s=0,l=e.getPositions(o);s<l.length;s+=1){var c=l[s],u=r.feature(c.index);for(var f in this.binders){var h=this.binders[f];if((h instanceof Fa||h instanceof Ba||h instanceof Na)&&!0===h.expression.isStateDependent){var p=n.paint.get(f);h.expression=p.value,h.updatePaintArray(c.start,c.end,u,t[o],i),a=!0}}}return a},ja.prototype.defines=function(){var t=[];for(var e in this.binders){var r=this.binders[e];(r instanceof Da||r instanceof Ra)&&t.push.apply(t,r.uniformNames.map((function(t){return"#define HAS_UNIFORM_"+t})))}return t},ja.prototype.getPaintVertexBuffers=function(){return this._buffers},ja.prototype.getUniforms=function(t,e){var r=[];for(var n in this.binders){var i=this.binders[n];if(i instanceof Da||i instanceof Ra||i instanceof Ba)for(var a=0,o=i.uniformNames;a<o.length;a+=1){var s=o[a];if(e[s]){var l=i.getBinding(t,e[s],s);r.push({name:s,property:n,binding:l})}}}return r},ja.prototype.setUniforms=function(t,e,r,n){for(var i=0,a=e;i<a.length;i+=1){var o=a[i],s=o.name,l=o.property,c=o.binding;this.binders[l].setUniform(c,n,r.get(l),s)}},ja.prototype.updatePaintBuffers=function(t){for(var e in this._buffers=[],this.binders){var r=this.binders[e];if(t&&r instanceof Na){var n=2===t.fromScale?r.zoomInPaintVertexBuffer:r.zoomOutPaintVertexBuffer;n&&this._buffers.push(n)}else(r instanceof Fa||r instanceof Ba)&&r.paintVertexBuffer&&this._buffers.push(r.paintVertexBuffer)}},ja.prototype.upload=function(t){for(var e in this.binders){var r=this.binders[e];(r instanceof Fa||r instanceof Ba||r instanceof Na)&&r.upload(t)}this.updatePaintBuffers()},ja.prototype.destroy=function(){for(var t in this.binders){var e=this.binders[t];(e instanceof Fa||e instanceof Ba||e instanceof Na)&&e.destroy()}};var Ua=function(t,e,r,n){void 0===n&&(n=function(){return!0}),this.programConfigurations={};for(var i=0,a=e;i<a.length;i+=1){var o=a[i];this.programConfigurations[o.id]=new ja(o,r,n,t)}this.needsUpload=!1,this._featureMap=new _a,this._bufferOffset=0};function Va(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function Ha(t,e,r){var n={color:{source:ta,composite:ea},number:{source:Zi,composite:ta}},i=function(t){return{"line-pattern":{source:Bi,composite:Bi},"fill-pattern":{source:Bi,composite:Bi},"fill-extrusion-pattern":{source:Bi,composite:Bi}}[t]}(t);return i&&i[r]||n[e][r]}Ua.prototype.populatePaintArrays=function(t,e,r,n,i,a){for(var o in this.programConfigurations)this.programConfigurations[o].populatePaintArrays(t,e,n,i,a);void 0!==e.id&&this._featureMap.add(e.id,r,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0},Ua.prototype.updatePaintArrays=function(t,e,r,n){for(var i=0,a=r;i<a.length;i+=1){var o=a[i];this.needsUpload=this.programConfigurations[o.id].updatePaintArrays(t,this._featureMap,e,o,n)||this.needsUpload}},Ua.prototype.get=function(t){return this.programConfigurations[t]},Ua.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},Ua.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},Nn("ConstantBinder",Da),Nn("CrossFadedConstantBinder",Ra),Nn("SourceExpressionBinder",Fa),Nn("CrossFadedCompositeBinder",Na),Nn("CompositeExpressionBinder",Ba),Nn("ProgramConfiguration",ja,{omit:["_buffers"]}),Nn("ProgramConfigurationSet",Ua);var qa,Ga=(qa=15,{min:-1*Math.pow(2,qa-1),max:Math.pow(2,qa-1)-1});function Ya(t){for(var e=8192/t.extent,r=t.loadGeometry(),n=0;n<r.length;n++)for(var i=r[n],a=0;a<i.length;a++){var o=i[a];o.x=Math.round(o.x*e),o.y=Math.round(o.y*e),(o.x<Ga.min||o.x>Ga.max||o.y<Ga.min||o.y>Ga.max)&&(_("Geometry exceeds allowed extent, reduce your vector tile buffer size"),o.x=l(o.x,Ga.min,Ga.max),o.y=l(o.y,Ga.min,Ga.max))}return r}function Wa(t,e,r,n,i){t.emplaceBack(2*e+(n+1)/2,2*r+(i+1)/2)}var Xa=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new zi,this.indexArray=new Yi,this.segments=new pa,this.programConfigurations=new Ua(ha,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function Za(t,e){for(var r=0;r<t.length;r++)if(io(e,t[r]))return!0;for(var n=0;n<e.length;n++)if(io(t,e[n]))return!0;return!!$a(t,e)}function Ja(t,e,r){return!!io(t,e)||!!eo(e,t,r)}function Ka(t,e){if(1===t.length)return no(e,t[0]);for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;i++)if(io(t,n[i]))return!0;for(var a=0;a<t.length;a++)if(no(e,t[a]))return!0;for(var o=0;o<e.length;o++)if($a(t,e[o]))return!0;return!1}function Qa(t,e,r){if(t.length>1){if($a(t,e))return!0;for(var n=0;n<e.length;n++)if(eo(e[n],t,r))return!0}for(var i=0;i<t.length;i++)if(eo(t[i],e,r))return!0;return!1}function $a(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var n=t[r],i=t[r+1],a=0;a<e.length-1;a++){if(to(n,i,e[a],e[a+1]))return!0}return!1}function to(t,e,r,n){return w(t,r,n)!==w(e,r,n)&&w(t,e,r)!==w(t,e,n)}function eo(t,e,r){var n=r*r;if(1===e.length)return t.distSqr(e[0])<n;for(var i=1;i<e.length;i++){if(ro(t,e[i-1],e[i])<n)return!0}return!1}function ro(t,e,r){var n=e.distSqr(r);if(0===n)return t.distSqr(e);var i=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/n;return i<0?t.distSqr(e):i>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(i)._add(e))}function no(t,e){for(var r,n,i,a=!1,o=0;o<t.length;o++)for(var s=0,l=(r=t[o]).length-1;s<r.length;l=s++)n=r[s],i=r[l],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(a=!a);return a}function io(t,e){for(var r=!1,n=0,i=t.length-1;n<t.length;i=n++){var a=t[n],o=t[i];a.y>e.y!=o.y>e.y&&e.x<(o.x-a.x)*(e.y-a.y)/(o.y-a.y)+a.x&&(r=!r)}return r}function ao(t,e,r){var n=r[0],i=r[2];if(t.x<n.x&&e.x<n.x||t.x>i.x&&e.x>i.x||t.y<n.y&&e.y<n.y||t.y>i.y&&e.y>i.y)return!1;var a=w(t,e,r[0]);return a!==w(t,e,r[1])||a!==w(t,e,r[2])||a!==w(t,e,r[3])}function oo(t,e,r){var n=e.paint.get(t).value;return"constant"===n.kind?n.value:r.programConfigurations.get(e.id).getMaxValue(t)}function so(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function lo(t,e,r,n,a){if(!e[0]&&!e[1])return t;var o=i.convert(e)._mult(a);"viewport"===r&&o._rotate(-n);for(var s=[],l=0;l<t.length;l++){var c=t[l];s.push(c.sub(o))}return s}Xa.prototype.populate=function(t,e,r){var n=this.layers[0],i=[],a=null;"circle"===n.type&&(a=n.layout.get("circle-sort-key"));for(var o=0,s=t;o<s.length;o+=1){var l=s[o],c=l.feature,u=l.id,f=l.index,h=l.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,d={type:c.type,id:u,properties:c.properties,geometry:p?Ya(c):[]};if(this.layers[0]._featureFilter.filter(new pi(this.zoom),d,r)){p||(d.geometry=Ya(c));var g=a?a.evaluate(d,{},r):void 0,m={id:u,properties:c.properties,type:c.type,sourceLayerIndex:h,index:f,geometry:d.geometry,patterns:{},sortKey:g};i.push(m)}}a&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var v=0,y=i;v<y.length;v+=1){var x=y[v],b=x,_=b.geometry,w=b.index,T=b.sourceLayerIndex,k=t[w].feature;this.addFeature(x,_,w,r),e.featureIndex.insert(k,_,w,T,this.index)}},Xa.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Xa.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Xa.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Xa.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ha),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Xa.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Xa.prototype.addFeature=function(t,e,r,n){for(var i=0,a=e;i<a.length;i+=1)for(var o=0,s=a[i];o<s.length;o+=1){var l=s[o],c=l.x,u=l.y;if(!(c<0||c>=8192||u<0||u>=8192)){var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),h=f.vertexLength;Wa(this.layoutVertexArray,c,u,-1,-1),Wa(this.layoutVertexArray,c,u,1,-1),Wa(this.layoutVertexArray,c,u,1,1),Wa(this.layoutVertexArray,c,u,-1,1),this.indexArray.emplaceBack(h,h+1,h+2),this.indexArray.emplaceBack(h,h+3,h+2),f.vertexLength+=4,f.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{},n)},Nn("CircleBucket",Xa,{omit:["layers"]});var co=new Si({"circle-sort-key":new Ti(Lt.layout_circle["circle-sort-key"])}),uo={paint:new Si({"circle-radius":new Ti(Lt.paint_circle["circle-radius"]),"circle-color":new Ti(Lt.paint_circle["circle-color"]),"circle-blur":new Ti(Lt.paint_circle["circle-blur"]),"circle-opacity":new Ti(Lt.paint_circle["circle-opacity"]),"circle-translate":new wi(Lt.paint_circle["circle-translate"]),"circle-translate-anchor":new wi(Lt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new wi(Lt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new wi(Lt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Ti(Lt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Ti(Lt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Ti(Lt.paint_circle["circle-stroke-opacity"])}),layout:co},fo="undefined"!=typeof Float32Array?Float32Array:Array;function ho(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function po(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],g=e[12],m=e[13],v=e[14],y=e[15],x=r[0],b=r[1],_=r[2],w=r[3];return t[0]=x*n+b*s+_*f+w*g,t[1]=x*i+b*l+_*h+w*m,t[2]=x*a+b*c+_*p+w*v,t[3]=x*o+b*u+_*d+w*y,x=r[4],b=r[5],_=r[6],w=r[7],t[4]=x*n+b*s+_*f+w*g,t[5]=x*i+b*l+_*h+w*m,t[6]=x*a+b*c+_*p+w*v,t[7]=x*o+b*u+_*d+w*y,x=r[8],b=r[9],_=r[10],w=r[11],t[8]=x*n+b*s+_*f+w*g,t[9]=x*i+b*l+_*h+w*m,t[10]=x*a+b*c+_*p+w*v,t[11]=x*o+b*u+_*d+w*y,x=r[12],b=r[13],_=r[14],w=r[15],t[12]=x*n+b*s+_*f+w*g,t[13]=x*i+b*l+_*h+w*m,t[14]=x*a+b*c+_*p+w*v,t[15]=x*o+b*u+_*d+w*y,t}Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,r=arguments.length;r--;)e+=t[r]*t[r];return Math.sqrt(e)});var go=po;var mo,vo,yo=function(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t};mo=new fo(3),fo!=Float32Array&&(mo[0]=0,mo[1]=0,mo[2]=0),vo=mo;function xo(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*a+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*a+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*a+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*a+r[15]*o,t}!function(){var t=function(){var t=new fo(4);return fo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}()}();var bo=function(t){var e=t[0],r=t[1];return e*e+r*r},_o=(function(){var t=function(){var t=new fo(2);return fo!=Float32Array&&(t[0]=0,t[1]=0),t}()}(),function(t){function e(e){t.call(this,e,uo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Xa(t)},e.prototype.queryRadius=function(t){var e=t;return oo("circle-radius",this,e)+oo("circle-stroke-width",this,e)+so(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,i,a,o,s){for(var l=lo(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),a.angle,o),c=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),u="map"===this.paint.get("circle-pitch-alignment"),f=u?l:function(t,e){return t.map((function(t){return wo(t,e)}))}(l,s),h=u?c*o:c,p=0,d=n;p<d.length;p+=1)for(var g=0,m=d[p];g<m.length;g+=1){var v=m[g],y=u?v:wo(v,s),x=h,b=xo([],[v.x,v.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?x*=b[3]/a.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(x*=a.cameraToCenterDistance/b[3]),Ja(f,y,x))return!0}return!1},e}(Ei));function wo(t,e){var r=xo([],[t.x,t.y,0,1],e);return new i(r[0]/r[3],r[1]/r[3])}var To=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Xa);function ko(t,e,r,n){var i=e.width,a=e.height;if(n){if(n instanceof Uint8ClampedArray)n=new Uint8Array(n.buffer);else if(n.length!==i*a*r)throw new RangeError("mismatched image size")}else n=new Uint8Array(i*a*r);return t.width=i,t.height=a,t.data=n,t}function Ao(t,e,r){var n=e.width,i=e.height;if(n!==t.width||i!==t.height){var a=ko({},{width:n,height:i},r);Mo(t,a,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,n),height:Math.min(t.height,i)},r),t.width=n,t.height=i,t.data=a.data}}function Mo(t,e,r,n,i,a){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||r.x>t.width-i.width||r.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||n.x>e.width-i.width||n.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");for(var o=t.data,s=e.data,l=0;l<i.height;l++)for(var c=((r.y+l)*t.width+r.x)*a,u=((n.y+l)*e.width+n.x)*a,f=0;f<i.width*a;f++)s[u+f]=o[c+f];return e}Nn("HeatmapBucket",To,{omit:["layers"]});var So=function(t,e){ko(this,t,1,e)};So.prototype.resize=function(t){Ao(this,t,1)},So.prototype.clone=function(){return new So({width:this.width,height:this.height},new Uint8Array(this.data))},So.copy=function(t,e,r,n,i){Mo(t,e,r,n,i,1)};var Eo=function(t,e){ko(this,t,4,e)};Eo.prototype.resize=function(t){Ao(this,t,4)},Eo.prototype.replace=function(t,e){e?this.data.set(t):t instanceof Uint8ClampedArray?this.data=new Uint8Array(t.buffer):this.data=t},Eo.prototype.clone=function(){return new Eo({width:this.width,height:this.height},new Uint8Array(this.data))},Eo.copy=function(t,e,r,n,i){Mo(t,e,r,n,i,4)},Nn("AlphaImage",So),Nn("RGBAImage",Eo);var Lo={paint:new Si({"heatmap-radius":new Ti(Lt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ti(Lt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new wi(Lt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Mi(Lt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new wi(Lt.paint_heatmap["heatmap-opacity"])})};function Co(t,e){for(var r=new Uint8Array(1024),n={},i=0,a=0;i<256;i++,a+=4){n[e]=i/255;var o=t.evaluate(n);r[a+0]=Math.floor(255*o.r/o.a),r[a+1]=Math.floor(255*o.g/o.a),r[a+2]=Math.floor(255*o.b/o.a),r[a+3]=Math.floor(255*o.a)}return new Eo({width:256,height:1},r)}var Po=function(t){function e(e){t.call(this,e,Lo),this._updateColorRamp()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new To(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Co(t,"heatmapDensity"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(Ei),Io={paint:new Si({"hillshade-illumination-direction":new wi(Lt.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new wi(Lt.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new wi(Lt.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new wi(Lt.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new wi(Lt.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new wi(Lt.paint_hillshade["hillshade-accent-color"])})},Oo=function(t){function e(e){t.call(this,e,Io)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(Ei),zo=Ii([{name:"a_pos",components:2,type:"Int16"}],4).members,Do=Fo,Ro=Fo;function Fo(t,e,r){r=r||2;var n,i,a,o,s,l,c,u=e&&e.length,f=u?e[0]*r:t.length,h=Bo(t,0,f,r,!0),p=[];if(!h||h.next===h.prev)return p;if(u&&(h=function(t,e,r,n){var i,a,o,s,l,c=[];for(i=0,a=e.length;i<a;i++)o=e[i]*n,s=i<a-1?e[i+1]*n:t.length,(l=Bo(t,o,s,n,!1))===l.next&&(l.steiner=!0),c.push(Zo(l));for(c.sort(Go),i=0;i<c.length;i++)Yo(c[i],r),r=No(r,r.next);return r}(t,e,h,r)),t.length>80*r){n=a=t[0],i=o=t[1];for(var d=r;d<f;d+=r)(s=t[d])<n&&(n=s),(l=t[d+1])<i&&(i=l),s>a&&(a=s),l>o&&(o=l);c=0!==(c=Math.max(a-n,o-i))?1/c:0}return jo(h,p,r,n,i,c),p}function Bo(t,e,r,n,i){var a,o;if(i===ls(t,e,r,n)>0)for(a=e;a<r;a+=n)o=as(a,t[a],t[a+1],o);else for(a=r-n;a>=e;a-=n)o=as(a,t[a],t[a+1],o);return o&&$o(o,o.next)&&(os(o),o=o.next),o}function No(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!$o(n,n.next)&&0!==Qo(n.prev,n,n.next))n=n.next;else{if(os(n),(n=e=n.prev)===n.next)break;r=!0}}while(r||n!==e);return e}function jo(t,e,r,n,i,a,o){if(t){!o&&a&&function(t,e,r,n){var i=t;do{null===i.z&&(i.z=Xo(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,a,o,s,l,c=1;do{for(r=t,t=null,a=null,o=0;r;){for(o++,n=r,s=0,e=0;e<c&&(s++,n=n.nextZ);e++);for(l=c;s>0||l>0&&n;)0!==s&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,l--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,c*=2}while(o>1)}(i)}(t,n,i,a);for(var s,l,c=t;t.prev!==t.next;)if(s=t.prev,l=t.next,a?Vo(t,n,i,a):Uo(t))e.push(s.i/r),e.push(t.i/r),e.push(l.i/r),os(t),t=l.next,c=l.next;else if((t=l)===c){o?1===o?jo(t=Ho(No(t),e,r),e,r,n,i,a,2):2===o&&qo(t,e,r,n,i,a):jo(No(t),e,r,n,i,a,1);break}}}function Uo(t){var e=t.prev,r=t,n=t.next;if(Qo(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(Jo(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&Qo(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Vo(t,e,r,n){var i=t.prev,a=t,o=t.next;if(Qo(i,a,o)>=0)return!1;for(var s=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,l=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,c=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,u=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,f=Xo(s,l,e,r,n),h=Xo(c,u,e,r,n),p=t.prevZ,d=t.nextZ;p&&p.z>=f&&d&&d.z<=h;){if(p!==t.prev&&p!==t.next&&Jo(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&Qo(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,d!==t.prev&&d!==t.next&&Jo(i.x,i.y,a.x,a.y,o.x,o.y,d.x,d.y)&&Qo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;p&&p.z>=f;){if(p!==t.prev&&p!==t.next&&Jo(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&Qo(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;d&&d.z<=h;){if(d!==t.prev&&d!==t.next&&Jo(i.x,i.y,a.x,a.y,o.x,o.y,d.x,d.y)&&Qo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function Ho(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!$o(i,a)&&ts(i,n,n.next,a)&&ns(i,a)&&ns(a,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(a.i/r),os(n),os(n.next),n=t=a),n=n.next}while(n!==t);return No(n)}function qo(t,e,r,n,i,a){var o=t;do{for(var s=o.next.next;s!==o.prev;){if(o.i!==s.i&&Ko(o,s)){var l=is(o,s);return o=No(o,o.next),l=No(l,l.next),jo(o,e,r,n,i,a),void jo(l,e,r,n,i,a)}s=s.next}o=o.next}while(o!==t)}function Go(t,e){return t.x-e.x}function Yo(t,e){if(e=function(t,e){var r,n=e,i=t.x,a=t.y,o=-1/0;do{if(a<=n.y&&a>=n.next.y&&n.next.y!==n.y){var s=n.x+(a-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>o){if(o=s,s===i){if(a===n.y)return n;if(a===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===o)return r;var l,c=r,u=r.x,f=r.y,h=1/0;n=r;do{i>=n.x&&n.x>=u&&i!==n.x&&Jo(a<f?i:o,a,u,f,a<f?o:i,a,n.x,n.y)&&(l=Math.abs(a-n.y)/(i-n.x),ns(n,t)&&(l<h||l===h&&(n.x>r.x||n.x===r.x&&Wo(r,n)))&&(r=n,h=l)),n=n.next}while(n!==c);return r}(t,e)){var r=is(e,t);No(e,e.next),No(r,r.next)}}function Wo(t,e){return Qo(t.prev,t,e.prev)<0&&Qo(e.next,t,t.next)<0}function Xo(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Zo(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function Jo(t,e,r,n,i,a,o,s){return(i-o)*(e-s)-(t-o)*(a-s)>=0&&(t-o)*(n-s)-(r-o)*(e-s)>=0&&(r-o)*(a-s)-(i-o)*(n-s)>=0}function Ko(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&ts(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(ns(t,e)&&ns(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do{r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)&&(Qo(t.prev,t,e.prev)||Qo(t,e.prev,e))||$o(t,e)&&Qo(t.prev,t,t.next)>0&&Qo(e.prev,e,e.next)>0)}function Qo(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function $o(t,e){return t.x===e.x&&t.y===e.y}function ts(t,e,r,n){var i=rs(Qo(t,e,r)),a=rs(Qo(t,e,n)),o=rs(Qo(r,n,t)),s=rs(Qo(r,n,e));return i!==a&&o!==s||(!(0!==i||!es(t,r,e))||(!(0!==a||!es(t,n,e))||(!(0!==o||!es(r,t,n))||!(0!==s||!es(r,e,n)))))}function es(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function rs(t){return t>0?1:t<0?-1:0}function ns(t,e){return Qo(t.prev,t,t.next)<0?Qo(t,e,t.next)>=0&&Qo(t,t.prev,e)>=0:Qo(t,e,t.prev)<0||Qo(t,t.next,e)<0}function is(t,e){var r=new ss(t.i,t.x,t.y),n=new ss(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function as(t,e,r,n){var i=new ss(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function os(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ss(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function ls(t,e,r,n){for(var i=0,a=e,o=r-n;a<r;a+=n)i+=(t[o]-t[a])*(t[a+1]+t[o+1]),o=a;return i}function cs(t,e,r,n,i){!function t(e,r,n,i,a){for(;i>n;){if(i-n>600){var o=i-n+1,s=r-n+1,l=Math.log(o),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(o-c)/o)*(s-o/2<0?-1:1),f=Math.max(n,Math.floor(r-s*c/o+u)),h=Math.min(i,Math.floor(r+(o-s)*c/o+u));t(e,r,f,h,a)}var p=e[r],d=n,g=i;for(us(e,n,r),a(e[i],p)>0&&us(e,n,i);d<g;){for(us(e,d,g),d++,g--;a(e[d],p)<0;)d++;for(;a(e[g],p)>0;)g--}0===a(e[n],p)?us(e,n,g):(g++,us(e,g,i)),g<=r&&(n=g+1),r<=g&&(i=g-1)}}(t,e,r||0,n||t.length-1,i||fs)}function us(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function fs(t,e){return t<e?-1:t>e?1:0}function hs(t,e){var r=t.length;if(r<=1)return[t];for(var n,i,a=[],o=0;o<r;o++){var s=T(t[o]);0!==s&&(t[o].area=Math.abs(s),void 0===i&&(i=s<0),i===s<0?(n&&a.push(n),n=[t[o]]):n.push(t[o]))}if(n&&a.push(n),e>1)for(var l=0;l<a.length;l++)a[l].length<=e||(cs(a[l],e,1,a[l].length-1,ps),a[l]=a[l].slice(0,e));return a}function ps(t,e){return e.area-t.area}function ds(t,e,r){for(var n=r.patternDependencies,i=!1,a=0,o=e;a<o.length;a+=1){var s=o[a].paint.get(t+"-pattern");s.isConstant()||(i=!0);var l=s.constantOr(null);l&&(i=!0,n[l.to]=!0,n[l.from]=!0)}return i}function gs(t,e,r,n,i){for(var a=i.patternDependencies,o=0,s=e;o<s.length;o+=1){var l=s[o],c=l.paint.get(t+"-pattern").value;if("constant"!==c.kind){var u=c.evaluate({zoom:n-1},r,{},i.availableImages),f=c.evaluate({zoom:n},r,{},i.availableImages),h=c.evaluate({zoom:n+1},r,{},i.availableImages);u=u&&u.name?u.name:u,f=f&&f.name?f.name:f,h=h&&h.name?h.name:h,a[u]=!0,a[f]=!0,a[h]=!0,r.patterns[l.id]={min:u,mid:f,max:h}}}return r}Fo.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,o=Math.abs(ls(t,0,a,r));if(i)for(var s=0,l=e.length;s<l;s++){var c=e[s]*r,u=s<l-1?e[s+1]*r:t.length;o-=Math.abs(ls(t,c,u,r))}var f=0;for(s=0;s<n.length;s+=3){var h=n[s]*r,p=n[s+1]*r,d=n[s+2]*r;f+=Math.abs((t[h]-t[d])*(t[p+1]-t[h+1])-(t[h]-t[p])*(t[d+1]-t[h+1]))}return 0===o&&0===f?0:Math.abs((f-o)/o)},Fo.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var o=0;o<e;o++)r.vertices.push(t[i][a][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r},Do.default=Ro;var ms=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new zi,this.indexArray=new Yi,this.indexArray2=new Qi,this.programConfigurations=new Ua(zo,t.layers,t.zoom),this.segments=new pa,this.segments2=new pa,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ms.prototype.populate=function(t,e,r){this.hasPattern=ds("fill",this.layers,e);for(var n=this.layers[0].layout.get("fill-sort-key"),i=[],a=0,o=t;a<o.length;a+=1){var s=o[a],l=s.feature,c=s.id,u=s.index,f=s.sourceLayerIndex,h=this.layers[0]._featureFilter.needGeometry,p={type:l.type,id:c,properties:l.properties,geometry:h?Ya(l):[]};if(this.layers[0]._featureFilter.filter(new pi(this.zoom),p,r)){h||(p.geometry=Ya(l));var d=n?n.evaluate(p,{},r,e.availableImages):void 0,g={id:c,properties:l.properties,type:l.type,sourceLayerIndex:f,index:u,geometry:p.geometry,patterns:{},sortKey:d};i.push(g)}}n&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var m=0,v=i;m<v.length;m+=1){var y=v[m],x=y,b=x.geometry,_=x.index,w=x.sourceLayerIndex;if(this.hasPattern){var T=gs("fill",this.layers,y,this.zoom,e);this.patternFeatures.push(T)}else this.addFeature(y,b,_,r,{});var k=t[_].feature;e.featureIndex.insert(k,b,_,w,this.index)}},ms.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ms.prototype.addFeatures=function(t,e,r){for(var n=0,i=this.patternFeatures;n<i.length;n+=1){var a=i[n];this.addFeature(a,a.geometry,a.index,e,r)}},ms.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ms.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ms.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,zo),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},ms.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ms.prototype.addFeature=function(t,e,r,n,i){for(var a=0,o=hs(e,500);a<o.length;a+=1){for(var s=o[a],l=0,c=0,u=s;c<u.length;c+=1){l+=u[c].length}for(var f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray),h=f.vertexLength,p=[],d=[],g=0,m=s;g<m.length;g+=1){var v=m[g];if(0!==v.length){v!==s[0]&&d.push(p.length/2);var y=this.segments2.prepareSegment(v.length,this.layoutVertexArray,this.indexArray2),x=y.vertexLength;this.layoutVertexArray.emplaceBack(v[0].x,v[0].y),this.indexArray2.emplaceBack(x+v.length-1,x),p.push(v[0].x),p.push(v[0].y);for(var b=1;b<v.length;b++)this.layoutVertexArray.emplaceBack(v[b].x,v[b].y),this.indexArray2.emplaceBack(x+b-1,x+b),p.push(v[b].x),p.push(v[b].y);y.vertexLength+=v.length,y.primitiveLength+=v.length}}for(var _=Do(p,d),w=0;w<_.length;w+=3)this.indexArray.emplaceBack(h+_[w],h+_[w+1],h+_[w+2]);f.vertexLength+=l,f.primitiveLength+=_.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)},Nn("FillBucket",ms,{omit:["layers","patternFeatures"]});var vs=new Si({"fill-sort-key":new Ti(Lt.layout_fill["fill-sort-key"])}),ys={paint:new Si({"fill-antialias":new wi(Lt.paint_fill["fill-antialias"]),"fill-opacity":new Ti(Lt.paint_fill["fill-opacity"]),"fill-color":new Ti(Lt.paint_fill["fill-color"]),"fill-outline-color":new Ti(Lt.paint_fill["fill-outline-color"]),"fill-translate":new wi(Lt.paint_fill["fill-translate"]),"fill-translate-anchor":new wi(Lt.paint_fill["fill-translate-anchor"]),"fill-pattern":new ki(Lt.paint_fill["fill-pattern"])}),layout:vs},xs=function(t){function e(e){t.call(this,e,ys)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r);var n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(t){return new ms(t)},e.prototype.queryRadius=function(){return so(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,i,a,o){return Ka(lo(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),a.angle,o),n)},e.prototype.isTileClipped=function(){return!0},e}(Ei),bs=Ii([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,_s=ws;function ws(t,e,r,n,i){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=n,this._values=i,t.readFields(Ts,this,e)}function Ts(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){var r=t.readVarint()+t.pos;for(;t.pos<r;){var n=e._keys[t.readVarint()],i=e._values[t.readVarint()];e.properties[n]=i}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function ks(t){for(var e,r,n=0,i=0,a=t.length,o=a-1;i<a;o=i++)e=t[i],n+=((r=t[o]).x-e.x)*(e.y+r.y);return n}ws.types=["Unknown","Point","LineString","Polygon"],ws.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,n=1,a=0,o=0,s=0,l=[];t.pos<r;){if(a<=0){var c=t.readVarint();n=7&c,a=c>>3}if(a--,1===n||2===n)o+=t.readSVarint(),s+=t.readSVarint(),1===n&&(e&&l.push(e),e=[]),e.push(new i(o,s));else{if(7!==n)throw new Error("unknown command "+n);e&&e.push(e[0].clone())}}return e&&l.push(e),l},ws.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,n=0,i=0,a=0,o=1/0,s=-1/0,l=1/0,c=-1/0;t.pos<e;){if(n<=0){var u=t.readVarint();r=7&u,n=u>>3}if(n--,1===r||2===r)(i+=t.readSVarint())<o&&(o=i),i>s&&(s=i),(a+=t.readSVarint())<l&&(l=a),a>c&&(c=a);else if(7!==r)throw new Error("unknown command "+r)}return[o,l,s,c]},ws.prototype.toGeoJSON=function(t,e,r){var n,i,a=this.extent*Math.pow(2,r),o=this.extent*t,s=this.extent*e,l=this.loadGeometry(),c=ws.types[this.type];function u(t){for(var e=0;e<t.length;e++){var r=t[e],n=180-360*(r.y+s)/a;t[e]=[360*(r.x+o)/a-180,360/Math.PI*Math.atan(Math.exp(n*Math.PI/180))-90]}}switch(this.type){case 1:var f=[];for(n=0;n<l.length;n++)f[n]=l[n][0];u(l=f);break;case 2:for(n=0;n<l.length;n++)u(l[n]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var r,n,i=[],a=0;a<e;a++){var o=ks(t[a]);0!==o&&(void 0===n&&(n=o<0),n===o<0?(r&&i.push(r),r=[t[a]]):r.push(t[a]))}r&&i.push(r);return i}(l),n=0;n<l.length;n++)for(i=0;i<l[n].length;i++)u(l[n][i])}1===l.length?l=l[0]:c="Multi"+c;var h={type:"Feature",geometry:{type:c,coordinates:l},properties:this.properties};return"id"in this&&(h.id=this.id),h};var As=Ms;function Ms(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Ss,this,e),this.length=this._features.length}function Ss(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){var e=null,r=t.readVarint()+t.pos;for(;t.pos<r;){var n=t.readVarint()>>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null}return e}(r))}function Es(t,e,r){if(3===t){var n=new As(r,r.readVarint()+r.pos);n.length&&(e[n.name]=n)}}Ms.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new _s(this._pbf,e,this.extent,this._keys,this._values)};var Ls={VectorTile:function(t,e){this.layers=t.readFields(Es,{},e)},VectorTileFeature:_s,VectorTileLayer:As},Cs=Ls.VectorTileFeature.types,Ps=Math.pow(2,13);function Is(t,e,r,n,i,a,o,s){t.emplaceBack(e,r,2*Math.floor(n*Ps)+o,i*Ps*2,a*Ps*2,Math.round(s))}var Os=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Ri,this.indexArray=new Yi,this.programConfigurations=new Ua(bs,t.layers,t.zoom),this.segments=new pa,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function zs(t,e){return t.x===e.x&&(t.x<0||t.x>8192)||t.y===e.y&&(t.y<0||t.y>8192)}function Ds(t){return t.every((function(t){return t.x<0}))||t.every((function(t){return t.x>8192}))||t.every((function(t){return t.y<0}))||t.every((function(t){return t.y>8192}))}Os.prototype.populate=function(t,e,r){this.features=[],this.hasPattern=ds("fill-extrusion",this.layers,e);for(var n=0,i=t;n<i.length;n+=1){var a=i[n],o=a.feature,s=a.id,l=a.index,c=a.sourceLayerIndex,u=this.layers[0]._featureFilter.needGeometry,f={type:o.type,id:s,properties:o.properties,geometry:u?Ya(o):[]};if(this.layers[0]._featureFilter.filter(new pi(this.zoom),f,r)){var h={id:s,sourceLayerIndex:c,index:l,geometry:u?f.geometry:Ya(o),properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(h.id=o.id),this.hasPattern?this.features.push(gs("fill-extrusion",this.layers,h,this.zoom,e)):this.addFeature(h,h.geometry,l,r,{}),e.featureIndex.insert(o,h.geometry,l,c,this.index,!0)}}},Os.prototype.addFeatures=function(t,e,r){for(var n=0,i=this.features;n<i.length;n+=1){var a=i[n],o=a.geometry;this.addFeature(a,o,a.index,e,r)}},Os.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Os.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Os.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Os.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,bs),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Os.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Os.prototype.addFeature=function(t,e,r,n,i){for(var a=0,o=hs(e,500);a<o.length;a+=1){for(var s=o[a],l=0,c=0,u=s;c<u.length;c+=1){l+=u[c].length}for(var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),h=0,p=s;h<p.length;h+=1){var d=p[h];if(0!==d.length&&!Ds(d))for(var g=0,m=0;m<d.length;m++){var v=d[m];if(m>=1){var y=d[m-1];if(!zs(v,y)){f.vertexLength+4>pa.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var x=v.sub(y)._perp()._unit(),b=y.dist(v);g+b>32768&&(g=0),Is(this.layoutVertexArray,v.x,v.y,x.x,x.y,0,0,g),Is(this.layoutVertexArray,v.x,v.y,x.x,x.y,0,1,g),g+=b,Is(this.layoutVertexArray,y.x,y.y,x.x,x.y,0,0,g),Is(this.layoutVertexArray,y.x,y.y,x.x,x.y,0,1,g);var _=f.vertexLength;this.indexArray.emplaceBack(_,_+2,_+1),this.indexArray.emplaceBack(_+1,_+2,_+3),f.vertexLength+=4,f.primitiveLength+=2}}}}if(f.vertexLength+l>pa.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),"Polygon"===Cs[t.type]){for(var w=[],T=[],k=f.vertexLength,A=0,M=s;A<M.length;A+=1){var S=M[A];if(0!==S.length){S!==s[0]&&T.push(w.length/2);for(var E=0;E<S.length;E++){var L=S[E];Is(this.layoutVertexArray,L.x,L.y,0,0,1,1,0),w.push(L.x),w.push(L.y)}}}for(var C=Do(w,T),P=0;P<C.length;P+=3)this.indexArray.emplaceBack(k+C[P],k+C[P+2],k+C[P+1]);f.primitiveLength+=C.length/3,f.vertexLength+=l}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)},Nn("FillExtrusionBucket",Os,{omit:["layers","features"]});var Rs={paint:new Si({"fill-extrusion-opacity":new wi(Lt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ti(Lt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new wi(Lt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new wi(Lt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new ki(Lt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ti(Lt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ti(Lt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new wi(Lt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Fs=function(t){function e(e){t.call(this,e,Rs)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Os(t)},e.prototype.queryRadius=function(){return so(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,r,n,a,o,s,l){var c=lo(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,s),u=this.paint.get("fill-extrusion-height").evaluate(e,r),f=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,n){for(var a=[],o=0,s=t;o<s.length;o+=1){var l=s[o],c=[l.x,l.y,n,1];xo(c,c,e),a.push(new i(c[0]/c[3],c[1]/c[3]))}return a}(c,l,0,0),p=function(t,e,r,n){for(var a=[],o=[],s=n[8]*e,l=n[9]*e,c=n[10]*e,u=n[11]*e,f=n[8]*r,h=n[9]*r,p=n[10]*r,d=n[11]*r,g=0,m=t;g<m.length;g+=1){for(var v=m[g],y=[],x=[],b=0,_=v;b<_.length;b+=1){var w=_[b],T=w.x,k=w.y,A=n[0]*T+n[4]*k+n[12],M=n[1]*T+n[5]*k+n[13],S=n[2]*T+n[6]*k+n[14],E=n[3]*T+n[7]*k+n[15],L=S+c,C=E+u,P=A+f,I=M+h,O=S+p,z=E+d,D=new i((A+s)/C,(M+l)/C);D.z=L/C,y.push(D);var R=new i(P/z,I/z);R.z=O/z,x.push(R)}a.push(y),o.push(x)}return[a,o]}(n,f,u,l);return function(t,e,r){var n=1/0;Ka(r,e)&&(n=Ns(r,e[0]));for(var i=0;i<e.length;i++)for(var a=e[i],o=t[i],s=0;s<a.length-1;s++){var l=a[s],c=a[s+1],u=o[s],f=o[s+1],h=[l,c,f,u,l];Za(r,h)&&(n=Math.min(n,Ns(r,h)))}return n!==1/0&&n}(p[0],p[1],h)},e}(Ei);function Bs(t,e){return t.x*e.x+t.y*e.y}function Ns(t,e){if(1===t.length){for(var r,n=0,i=e[n++];!r||i.equals(r);)if(!(r=e[n++]))return 1/0;for(;n<e.length;n++){var a=e[n],o=t[0],s=r.sub(i),l=a.sub(i),c=o.sub(i),u=Bs(s,s),f=Bs(s,l),h=Bs(l,l),p=Bs(c,s),d=Bs(c,l),g=u*h-f*f,m=(h*p-f*d)/g,v=(u*d-f*p)/g,y=1-m-v,x=i.z*y+r.z*m+a.z*v;if(isFinite(x))return x}return 1/0}for(var b=1/0,_=0,w=e;_<w.length;_+=1){var T=w[_];b=Math.min(b,T.z)}return b}var js=Ii([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,Us=Ls.VectorTileFeature.types,Vs=Math.cos(Math.PI/180*37.5),Hs=Math.pow(2,14)/.5,qs=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Fi,this.indexArray=new Yi,this.programConfigurations=new Ua(js,t.layers,t.zoom),this.segments=new pa,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};qs.prototype.populate=function(t,e,r){this.hasPattern=ds("line",this.layers,e);for(var n=this.layers[0].layout.get("line-sort-key"),i=[],a=0,o=t;a<o.length;a+=1){var s=o[a],l=s.feature,c=s.id,u=s.index,f=s.sourceLayerIndex,h=this.layers[0]._featureFilter.needGeometry,p={type:l.type,id:c,properties:l.properties,geometry:h?Ya(l):[]};if(this.layers[0]._featureFilter.filter(new pi(this.zoom),p,r)){h||(p.geometry=Ya(l));var d=n?n.evaluate(p,{},r):void 0,g={id:c,properties:l.properties,type:l.type,sourceLayerIndex:f,index:u,geometry:p.geometry,patterns:{},sortKey:d};i.push(g)}}n&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var m=0,v=i;m<v.length;m+=1){var y=v[m],x=y,b=x.geometry,_=x.index,w=x.sourceLayerIndex;if(this.hasPattern){var T=gs("line",this.layers,y,this.zoom,e);this.patternFeatures.push(T)}else this.addFeature(y,b,_,r,{});var k=t[_].feature;e.featureIndex.insert(k,b,_,w,this.index)}},qs.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},qs.prototype.addFeatures=function(t,e,r){for(var n=0,i=this.patternFeatures;n<i.length;n+=1){var a=i[n];this.addFeature(a,a.geometry,a.index,e,r)}},qs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},qs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},qs.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,js),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},qs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},qs.prototype.addFeature=function(t,e,r,n,i){for(var a=this.layers[0].layout,o=a.get("line-join").evaluate(t,{}),s=a.get("line-cap"),l=a.get("line-miter-limit"),c=a.get("line-round-limit"),u=0,f=e;u<f.length;u+=1){var h=f[u];this.addLine(h,t,o,s,l,c)}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)},qs.prototype.addLine=function(t,e,r,n,i,a){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")){this.clipStart=+e.properties.mapbox_clip_start,this.clipEnd=+e.properties.mapbox_clip_end;for(var o=0;o<t.length-1;o++)this.totalDistance+=t[o].dist(t[o+1]);this.updateScaledDistance()}for(var s="Polygon"===Us[e.type],l=t.length;l>=2&&t[l-1].equals(t[l-2]);)l--;for(var c=0;c<l-1&&t[c].equals(t[c+1]);)c++;if(!(l<(s?3:2))){"bevel"===r&&(i=1.05);var u,f=this.overscaling<=16?122880/(512*this.overscaling):0,h=this.segments.prepareSegment(10*l,this.layoutVertexArray,this.indexArray),p=void 0,d=void 0,g=void 0,m=void 0;this.e1=this.e2=-1,s&&(u=t[l-2],m=t[c].sub(u)._unit()._perp());for(var v=c;v<l;v++)if(!(d=v===l-1?s?t[c+1]:void 0:t[v+1])||!t[v].equals(d)){m&&(g=m),u&&(p=u),u=t[v],m=d?d.sub(u)._unit()._perp():g;var y=(g=g||m).add(m);0===y.x&&0===y.y||y._unit();var x=g.x*m.x+g.y*m.y,b=y.x*m.x+y.y*m.y,_=0!==b?1/b:1/0,w=2*Math.sqrt(2-2*b),T=b<Vs&&p&&d,k=g.x*m.y-g.y*m.x>0;if(T&&v>c){var A=u.dist(p);if(A>2*f){var M=u.sub(u.sub(p)._mult(f/A)._round());this.updateDistance(p,M),this.addCurrentVertex(M,g,0,0,h),p=M}}var S=p&&d,E=S?r:s?"butt":n;if(S&&"round"===E&&(_<a?E="miter":_<=2&&(E="fakeround")),"miter"===E&&_>i&&(E="bevel"),"bevel"===E&&(_>2&&(E="flipbevel"),_<i&&(E="miter")),p&&this.updateDistance(p,u),"miter"===E)y._mult(_),this.addCurrentVertex(u,y,0,0,h);else if("flipbevel"===E){if(_>100)y=m.mult(-1);else{var L=_*g.add(m).mag()/g.sub(m).mag();y._perp()._mult(L*(k?-1:1))}this.addCurrentVertex(u,y,0,0,h),this.addCurrentVertex(u,y.mult(-1),0,0,h)}else if("bevel"===E||"fakeround"===E){var C=-Math.sqrt(_*_-1),P=k?C:0,I=k?0:C;if(p&&this.addCurrentVertex(u,g,P,I,h),"fakeround"===E)for(var O=Math.round(180*w/Math.PI/20),z=1;z<O;z++){var D=z/O;if(.5!==D){var R=D-.5;D+=D*R*(D-1)*((1.0904+x*(x*(3.55645-1.43519*x)-3.2452))*R*R+(.848013+x*(.215638*x-1.06021)))}var F=m.sub(g)._mult(D)._add(g)._unit()._mult(k?-1:1);this.addHalfVertex(u,F.x,F.y,!1,k,0,h)}d&&this.addCurrentVertex(u,m,-P,-I,h)}else if("butt"===E)this.addCurrentVertex(u,y,0,0,h);else if("square"===E){var B=p?1:-1;this.addCurrentVertex(u,y,B,B,h)}else"round"===E&&(p&&(this.addCurrentVertex(u,g,0,0,h),this.addCurrentVertex(u,g,1,1,h,!0)),d&&(this.addCurrentVertex(u,m,-1,-1,h,!0),this.addCurrentVertex(u,m,0,0,h)));if(T&&v<l-1){var N=u.dist(d);if(N>2*f){var j=u.add(d.sub(u)._mult(f/N)._round());this.updateDistance(u,j),this.addCurrentVertex(j,m,0,0,h),u=j}}}}},qs.prototype.addCurrentVertex=function(t,e,r,n,i,a){void 0===a&&(a=!1);var o=e.x+e.y*r,s=e.y-e.x*r,l=-e.x+e.y*n,c=-e.y-e.x*n;this.addHalfVertex(t,o,s,a,!1,r,i),this.addHalfVertex(t,l,c,a,!0,-n,i),this.distance>Hs/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,r,n,i,a))},qs.prototype.addHalfVertex=function(t,e,r,n,i,a,o){var s=t.x,l=t.y,c=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((s<<1)+(n?1:0),(l<<1)+(i?1:0),Math.round(63*e)+128,Math.round(63*r)+128,1+(0===a?0:a<0?-1:1)|(63&c)<<2,c>>6);var u=o.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,u),o.primitiveLength++),i?this.e2=u:this.e1=u},qs.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Hs-1):this.distance},qs.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.updateScaledDistance()},Nn("LineBucket",qs,{omit:["layers","patternFeatures"]});var Gs=new Si({"line-cap":new wi(Lt.layout_line["line-cap"]),"line-join":new Ti(Lt.layout_line["line-join"]),"line-miter-limit":new wi(Lt.layout_line["line-miter-limit"]),"line-round-limit":new wi(Lt.layout_line["line-round-limit"]),"line-sort-key":new Ti(Lt.layout_line["line-sort-key"])}),Ys={paint:new Si({"line-opacity":new Ti(Lt.paint_line["line-opacity"]),"line-color":new Ti(Lt.paint_line["line-color"]),"line-translate":new wi(Lt.paint_line["line-translate"]),"line-translate-anchor":new wi(Lt.paint_line["line-translate-anchor"]),"line-width":new Ti(Lt.paint_line["line-width"]),"line-gap-width":new Ti(Lt.paint_line["line-gap-width"]),"line-offset":new Ti(Lt.paint_line["line-offset"]),"line-blur":new Ti(Lt.paint_line["line-blur"]),"line-dasharray":new Ai(Lt.paint_line["line-dasharray"]),"line-pattern":new ki(Lt.paint_line["line-pattern"]),"line-gradient":new Mi(Lt.paint_line["line-gradient"])}),layout:Gs},Ws=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new pi(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,n,i){return r=u({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,n,i)},e}(Ti))(Ys.paint.properties["line-width"].specification);Ws.useIntegerZoom=!0;var Xs=function(t){function e(e){t.call(this,e,Ys)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient()},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Co(t,"lineProgress"),this.gradientTexture=null},e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r),this.paint._values["line-floorwidth"]=Ws.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new qs(t)},e.prototype.queryRadius=function(t){var e=t,r=Zs(oo("line-width",this,e),oo("line-gap-width",this,e)),n=oo("line-offset",this,e);return r/2+Math.abs(n)+so(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,a,o,s){var l=lo(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),o.angle,s),c=s/2*Zs(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),u=this.paint.get("line-offset").evaluate(e,r);return u&&(n=function(t,e){for(var r=[],n=new i(0,0),a=0;a<t.length;a++){for(var o=t[a],s=[],l=0;l<o.length;l++){var c=o[l-1],u=o[l],f=o[l+1],h=0===l?n:u.sub(c)._unit()._perp(),p=l===o.length-1?n:f.sub(u)._unit()._perp(),d=h._add(p)._unit(),g=d.x*p.x+d.y*p.y;d._mult(1/g),s.push(d._mult(e)._add(u))}r.push(s)}return r}(n,u*s)),function(t,e,r){for(var n=0;n<e.length;n++){var i=e[n];if(t.length>=3)for(var a=0;a<i.length;a++)if(io(t,i[a]))return!0;if(Qa(t,i,r))return!0}return!1}(l,n,c)},e.prototype.isTileClipped=function(){return!0},e}(Ei);function Zs(t,e){return e>0?e+2*t:t}var Js=Ii([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),Ks=Ii([{name:"a_projected_pos",components:3,type:"Float32"}],4),Qs=(Ii([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),Ii([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),$s=(Ii([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),Ii([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),tl=Ii([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);Ii([{name:"triangle",components:3,type:"Uint16"}]),Ii([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),Ii([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),Ii([{type:"Float32",name:"offsetX"}]),Ii([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);function el(t,e,r){return t.sections.forEach((function(t){t.text=function(t,e,r){var n=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===n?t=t.toLocaleUpperCase():"lowercase"===n&&(t=t.toLocaleLowerCase()),hi.applyArabicShaping&&(t=hi.applyArabicShaping(t)),t}(t.text,e,r)})),t}var rl={"!":"\ufe15","#":"\uff03",$:"\uff04","%":"\uff05","&":"\uff06","(":"\ufe35",")":"\ufe36","*":"\uff0a","+":"\uff0b",",":"\ufe10","-":"\ufe32",".":"\u30fb","/":"\uff0f",":":"\ufe13",";":"\ufe14","<":"\ufe3f","=":"\uff1d",">":"\ufe40","?":"\ufe16","@":"\uff20","[":"\ufe47","\\":"\uff3c","]":"\ufe48","^":"\uff3e",_:"\ufe33","`":"\uff40","{":"\ufe37","|":"\u2015","}":"\ufe38","~":"\uff5e","\xa2":"\uffe0","\xa3":"\uffe1","\xa5":"\uffe5","\xa6":"\uffe4","\xac":"\uffe2","\xaf":"\uffe3","\u2013":"\ufe32","\u2014":"\ufe31","\u2018":"\ufe43","\u2019":"\ufe44","\u201c":"\ufe41","\u201d":"\ufe42","\u2026":"\ufe19","\u2027":"\u30fb","\u20a9":"\uffe6","\u3001":"\ufe11","\u3002":"\ufe12","\u3008":"\ufe3f","\u3009":"\ufe40","\u300a":"\ufe3d","\u300b":"\ufe3e","\u300c":"\ufe41","\u300d":"\ufe42","\u300e":"\ufe43","\u300f":"\ufe44","\u3010":"\ufe3b","\u3011":"\ufe3c","\u3014":"\ufe39","\u3015":"\ufe3a","\u3016":"\ufe17","\u3017":"\ufe18","\uff01":"\ufe15","\uff08":"\ufe35","\uff09":"\ufe36","\uff0c":"\ufe10","\uff0d":"\ufe32","\uff0e":"\u30fb","\uff1a":"\ufe13","\uff1b":"\ufe14","\uff1c":"\ufe3f","\uff1e":"\ufe40","\uff1f":"\ufe16","\uff3b":"\ufe47","\uff3d":"\ufe48","\uff3f":"\ufe33","\uff5b":"\ufe37","\uff5c":"\u2015","\uff5d":"\ufe38","\uff5f":"\ufe35","\uff60":"\ufe36","\uff61":"\ufe12","\uff62":"\ufe41","\uff63":"\ufe42"};var nl=function(t,e,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,f=r?i-1:0,h=r?-1:1,p=t[e+f];for(f+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+t[e+f],f+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+t[e+f],f+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},il=function(t,e,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,f=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(o++,l/=2),o+f>=u?(s=0,o=u):o+f>=1?(s=(e*l-1)*Math.pow(2,i),o+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;t[r+p]=255&o,p+=d,o/=256,c-=8);t[r+p-d]|=128*g},al=ol;function ol(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}ol.Varint=0,ol.Fixed64=1,ol.Bytes=2,ol.Fixed32=5;var sl="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function ll(t){return t.type===ol.Bytes?t.readVarint()+t.pos:t.pos+1}function cl(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function ul(t,e,r){var n=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=t;i--)r.buf[i+n]=r.buf[i]}function fl(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function hl(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function pl(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function dl(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function gl(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function ml(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function vl(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function yl(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function xl(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function bl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function _l(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function wl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}ol.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var n=this.readVarint(),i=n>>3,a=this.pos;this.type=7&n,t(i,e,this),this.pos===a&&this.skip(n)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=bl(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=wl(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=bl(this.buf,this.pos)+4294967296*bl(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=bl(this.buf,this.pos)+4294967296*wl(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=nl(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=nl(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,n=this.buf;return e=127&(r=n[this.pos++]),r<128?e:(e|=(127&(r=n[this.pos++]))<<7,r<128?e:(e|=(127&(r=n[this.pos++]))<<14,r<128?e:(e|=(127&(r=n[this.pos++]))<<21,r<128?e:function(t,e,r){var n,i,a=r.buf;if(i=a[r.pos++],n=(112&i)>>4,i<128)return cl(t,n,e);if(i=a[r.pos++],n|=(127&i)<<3,i<128)return cl(t,n,e);if(i=a[r.pos++],n|=(127&i)<<10,i<128)return cl(t,n,e);if(i=a[r.pos++],n|=(127&i)<<17,i<128)return cl(t,n,e);if(i=a[r.pos++],n|=(127&i)<<24,i<128)return cl(t,n,e);if(i=a[r.pos++],n|=(1&i)<<31,i<128)return cl(t,n,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=n[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&sl?function(t,e,r){return sl.decode(t.subarray(e,r))}(this.buf,e,t):function(t,e,r){var n="",i=e;for(;i<r;){var a,o,s,l=t[i],c=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u>r)break;1===u?l<128&&(c=l):2===u?128==(192&(a=t[i+1]))&&(c=(31&l)<<6|63&a)<=127&&(c=null):3===u?(a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&((c=(15&l)<<12|(63&a)<<6|63&o)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&((c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,n+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),n+=String.fromCharCode(c),i+=u}return n}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==ol.Bytes)return t.push(this.readVarint(e));var r=ll(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==ol.Bytes)return t.push(this.readSVarint());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==ol.Bytes)return t.push(this.readBoolean());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==ol.Bytes)return t.push(this.readFloat());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==ol.Bytes)return t.push(this.readDouble());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==ol.Bytes)return t.push(this.readFixed32());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==ol.Bytes)return t.push(this.readSFixed32());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==ol.Bytes)return t.push(this.readFixed64());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==ol.Bytes)return t.push(this.readSFixed64());var e=ll(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===ol.Varint)for(;this.buf[this.pos++]>127;);else if(e===ol.Bytes)this.pos=this.readVarint()+this.pos;else if(e===ol.Fixed32)this.pos+=4;else{if(e!==ol.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),_l(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),_l(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),_l(this.buf,-1&t,this.pos),_l(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),_l(this.buf,-1&t,this.pos),_l(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,n;t>=0?(r=t%4294967296|0,n=t/4294967296|0):(n=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,n=n+1|0));if(t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}(r,0,e),function(t,e){var r=(7&t)<<4;if(e.buf[e.pos++]|=r|((t>>>=3)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;e.buf[e.pos++]=127&t}(n,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var n,i,a=0;a<e.length;a++){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){n>56319||a+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):i=n;continue}if(n<56320){t[r++]=239,t[r++]=191,t[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(t[r++]=239,t[r++]=191,t[r++]=189,i=null);n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:(n<65536?t[r++]=n>>12|224:(t[r++]=n>>18|240,t[r++]=n>>12&63|128),t[r++]=n>>6&63|128),t[r++]=63&n|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&ul(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),il(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),il(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var n=this.pos-r;n>=128&&ul(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(t,e,r){this.writeTag(t,ol.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,fl,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,hl,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,gl,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,pl,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,dl,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,ml,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,vl,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,yl,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,xl,e)},writeBytesField:function(t,e){this.writeTag(t,ol.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,ol.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,ol.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,ol.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,ol.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,ol.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,ol.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,ol.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,ol.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,ol.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};function Tl(t,e,r){1===t&&r.readMessage(kl,e)}function kl(t,e,r){if(3===t){var n=r.readMessage(Al,{}),i=n.id,a=n.bitmap,o=n.width,s=n.height,l=n.left,c=n.top,u=n.advance;e.push({id:i,bitmap:new So({width:o+6,height:s+6},a),metrics:{width:o,height:s,left:l,top:c,advance:u}})}}function Al(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}function Ml(t){for(var e=0,r=0,n=0,i=t;n<i.length;n+=1){var a=i[n];e+=a.w*a.h,r=Math.max(r,a.w)}t.sort((function(t,e){return e.h-t.h}));for(var o=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,l=0,c=0,u=t;c<u.length;c+=1)for(var f=u[c],h=o.length-1;h>=0;h--){var p=o[h];if(!(f.w>p.w||f.h>p.h)){if(f.x=p.x,f.y=p.y,l=Math.max(l,f.y+f.h),s=Math.max(s,f.x+f.w),f.w===p.w&&f.h===p.h){var d=o.pop();h<o.length&&(o[h]=d)}else f.h===p.h?(p.x+=f.w,p.w-=f.w):f.w===p.w?(p.y+=f.h,p.h-=f.h):(o.push({x:p.x+f.w,y:p.y,w:p.w-f.w,h:f.h}),p.y+=f.h,p.h-=f.h);break}}return{w:s,h:l,fill:e/(s*l)||0}}var Sl=function(t,e){var r=e.pixelRatio,n=e.version,i=e.stretchX,a=e.stretchY,o=e.content;this.paddedRect=t,this.pixelRatio=r,this.stretchX=i,this.stretchY=a,this.content=o,this.version=n},El={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};El.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},El.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},El.tlbr.get=function(){return this.tl.concat(this.br)},El.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(Sl.prototype,El);var Ll=function(t,e){var r={},n={};this.haveRenderCallbacks=[];var i=[];this.addImages(t,r,i),this.addImages(e,n,i);var a=Ml(i),o=a.w,s=a.h,l=new Eo({width:o||1,height:s||1});for(var c in t){var u=t[c],f=r[c].paddedRect;Eo.copy(u.data,l,{x:0,y:0},{x:f.x+1,y:f.y+1},u.data)}for(var h in e){var p=e[h],d=n[h].paddedRect,g=d.x+1,m=d.y+1,v=p.data.width,y=p.data.height;Eo.copy(p.data,l,{x:0,y:0},{x:g,y:m},p.data),Eo.copy(p.data,l,{x:0,y:y-1},{x:g,y:m-1},{width:v,height:1}),Eo.copy(p.data,l,{x:0,y:0},{x:g,y:m+y},{width:v,height:1}),Eo.copy(p.data,l,{x:v-1,y:0},{x:g-1,y:m},{width:1,height:y}),Eo.copy(p.data,l,{x:0,y:0},{x:g+v,y:m},{width:1,height:y})}this.image=l,this.iconPositions=r,this.patternPositions=n};Ll.prototype.addImages=function(t,e,r){for(var n in t){var i=t[n],a={x:0,y:0,w:i.data.width+2,h:i.data.height+2};r.push(a),e[n]=new Sl(a,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(n)}},Ll.prototype.patchUpdatedImages=function(t,e){for(var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e)},Ll.prototype.patchUpdatedImage=function(t,e,r){if(t&&e&&t.version!==e.version){t.version=e.version;var n=t.tl,i=n[0],a=n[1];r.update(e.data,void 0,{x:i,y:a})}},Nn("ImagePosition",Sl),Nn("ImageAtlas",Ll);var Cl={horizontal:1,vertical:2,horizontalOnly:3};var Pl=function(){this.scale=1,this.fontStack="",this.imageName=null};Pl.forText=function(t,e){var r=new Pl;return r.scale=t||1,r.fontStack=e,r},Pl.forImage=function(t){var e=new Pl;return e.imageName=t,e};var Il=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function Ol(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g){var m,v=Il.fromFeature(t,i);f===Cl.vertical&&v.verticalizePunctuation();var y=hi.processBidirectionalText,x=hi.processStyledBidirectionalText;if(y&&1===v.sections.length){m=[];for(var b=0,_=y(v.toString(),jl(v,c,a,e,n,p,d));b<_.length;b+=1){var w=_[b],T=new Il;T.text=w,T.sections=v.sections;for(var k=0;k<w.length;k++)T.sectionIndex.push(0);m.push(T)}}else if(x){m=[];for(var A=0,M=x(v.text,v.sectionIndex,jl(v,c,a,e,n,p,d));A<M.length;A+=1){var S=M[A],E=new Il;E.text=S[0],E.sectionIndex=S[1],E.sections=v.sections,m.push(E)}}else m=function(t,e){for(var r=[],n=t.text,i=0,a=0,o=e;a<o.length;a+=1){var s=o[a];r.push(t.substring(i,s)),i=s}return i<n.length&&r.push(t.substring(i,n.length)),r}(v,jl(v,c,a,e,n,p,d));var L=[],C={positionedLines:L,text:v.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:f,iconsInText:!1,verticalizable:!1};return function(t,e,r,n,i,a,o,s,l,c,u,f){for(var h=0,p=-17,d=0,g=0,m="right"===s?1:"left"===s?0:.5,v=0,y=0,x=i;y<x.length;y+=1){var b=x[y];b.trim();var _=b.getMaxScale(),w=24*(_-1),T={positionedGlyphs:[],lineOffset:0};t.positionedLines[v]=T;var k=T.positionedGlyphs,A=0;if(b.length()){for(var M=0;M<b.length();M++){var S=b.getSection(M),E=b.getSectionIndex(M),L=b.getCharCode(M),C=0,P=null,I=null,O=null,z=24,D=!(l===Cl.horizontal||!u&&!Zn(L)||u&&(zl[L]||(Y=L,Yn.Arabic(Y)||Yn["Arabic Supplement"](Y)||Yn["Arabic Extended-A"](Y)||Yn["Arabic Presentation Forms-A"](Y)||Yn["Arabic Presentation Forms-B"](Y))));if(S.imageName){var R=n[S.imageName];if(!R)continue;O=S.imageName,t.iconsInText=t.iconsInText||!0,I=R.paddedRect;var F=R.displaySize;S.scale=24*S.scale/f,P={width:F[0],height:F[1],left:1,top:-3,advance:D?F[1]:F[0]};var B=24-F[1]*S.scale;C=w+B,z=P.advance;var N=D?F[0]*S.scale-24*_:F[1]*S.scale-24*_;N>0&&N>A&&(A=N)}else{var j=r[S.fontStack],U=j&&j[L];if(U&&U.rect)I=U.rect,P=U.metrics;else{var V=e[S.fontStack],H=V&&V[L];if(!H)continue;P=H.metrics}C=24*(_-S.scale)}D?(t.verticalizable=!0,k.push({glyph:L,imageName:O,x:h,y:p+C,vertical:D,scale:S.scale,fontStack:S.fontStack,sectionIndex:E,metrics:P,rect:I}),h+=z*S.scale+c):(k.push({glyph:L,imageName:O,x:h,y:p+C,vertical:D,scale:S.scale,fontStack:S.fontStack,sectionIndex:E,metrics:P,rect:I}),h+=P.advance*S.scale+c)}if(0!==k.length){var q=h-c;d=Math.max(q,d),Vl(k,0,k.length-1,m,A)}h=0;var G=a*_+A;T.lineOffset=Math.max(A,w),p+=G,g=Math.max(G,g),++v}else p+=a,++v}var Y;var W=p- -17,X=Ul(o),Z=X.horizontalAlign,J=X.verticalAlign;(function(t,e,r,n,i,a,o,s,l){var c=(e-r)*i,u=0;u=a!==o?-s*n- -17:(-n*l+.5)*o;for(var f=0,h=t;f<h.length;f+=1)for(var p=h[f],d=0,g=p.positionedGlyphs;d<g.length;d+=1){var m=g[d];m.x+=c,m.y+=u}})(t.positionedLines,m,Z,J,d,g,a,W,i.length),t.top+=-J*W,t.bottom=t.top+W,t.left+=-Z*d,t.right=t.left+d}(C,e,r,n,m,o,s,l,f,c,h,g),!function(t){for(var e=0,r=t;e<r.length;e+=1){if(0!==r[e].positionedGlyphs.length)return!1}return!0}(L)&&C}Il.fromFeature=function(t,e){for(var r=new Il,n=0;n<t.sections.length;n++){var i=t.sections[n];i.image?r.addImageSection(i):r.addTextSection(i,e)}return r},Il.prototype.length=function(){return this.text.length},Il.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},Il.prototype.getSectionIndex=function(t){return this.sectionIndex[t]},Il.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},Il.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r+1)||null,i=t.charCodeAt(r-1)||null;(!n||!Jn(n)||rl[t[r+1]])&&(!i||!Jn(i)||rl[t[r-1]])&&rl[t[r]]?e+=rl[t[r]]:e+=t[r]}return e}(this.text)},Il.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&zl[this.text.charCodeAt(e)];e++)t++;for(var r=this.text.length,n=this.text.length-1;n>=0&&n>=t&&zl[this.text.charCodeAt(n)];n--)r--;this.text=this.text.substring(t,r),this.sectionIndex=this.sectionIndex.slice(t,r)},Il.prototype.substring=function(t,e){var r=new Il;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r},Il.prototype.toString=function(){return this.text},Il.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,r){return Math.max(e,t.sections[r].scale)}),0)},Il.prototype.addTextSection=function(t,e){this.text+=t.text,this.sections.push(Pl.forText(t.scale,t.fontStack||e));for(var r=this.sections.length-1,n=0;n<t.text.length;++n)this.sectionIndex.push(r)},Il.prototype.addImageSection=function(t){var e=t.image?t.image.name:"";if(0!==e.length){var r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(Pl.forImage(e)),this.sectionIndex.push(this.sections.length-1)):_("Reached maximum number of images 6401")}else _("Can't add FormattedSection with an empty image.")},Il.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var zl={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Dl={};function Rl(t,e,r,n,i,a){if(e.imageName){var o=n[e.imageName];return o?o.displaySize[0]*e.scale*24/a+i:0}var s=r[e.fontStack],l=s&&s[t];return l?l.metrics.advance*e.scale+i:0}function Fl(t,e,r,n){var i=Math.pow(t-e,2);return n?t<e?i/2:2*i:i+Math.abs(r)*r}function Bl(t,e,r){var n=0;return 10===t&&(n-=1e4),r&&(n+=150),40!==t&&65288!==t||(n+=50),41!==e&&65289!==e||(n+=50),n}function Nl(t,e,r,n,i,a){for(var o=null,s=Fl(e,r,i,a),l=0,c=n;l<c.length;l+=1){var u=c[l],f=Fl(e-u.x,r,i,a)+u.badness;f<=s&&(o=u,s=f)}return{index:t,x:e,priorBreak:o,badness:s}}function jl(t,e,r,n,i,a,o){if("point"!==a)return[];if(!t)return[];for(var s,l=[],c=function(t,e,r,n,i,a){for(var o=0,s=0;s<t.length();s++){var l=t.getSection(s);o+=Rl(t.getCharCode(s),l,n,i,e,a)}return o/Math.max(1,Math.ceil(o/r))}(t,e,r,n,i,o),u=t.text.indexOf("\u200b")>=0,f=0,h=0;h<t.length();h++){var p=t.getSection(h),d=t.getCharCode(h);if(zl[d]||(f+=Rl(d,p,n,i,e,o)),h<t.length()-1){var g=!!(!((s=d)<11904)&&(Yn["Bopomofo Extended"](s)||Yn.Bopomofo(s)||Yn["CJK Compatibility Forms"](s)||Yn["CJK Compatibility Ideographs"](s)||Yn["CJK Compatibility"](s)||Yn["CJK Radicals Supplement"](s)||Yn["CJK Strokes"](s)||Yn["CJK Symbols and Punctuation"](s)||Yn["CJK Unified Ideographs Extension A"](s)||Yn["CJK Unified Ideographs"](s)||Yn["Enclosed CJK Letters and Months"](s)||Yn["Halfwidth and Fullwidth Forms"](s)||Yn.Hiragana(s)||Yn["Ideographic Description Characters"](s)||Yn["Kangxi Radicals"](s)||Yn["Katakana Phonetic Extensions"](s)||Yn.Katakana(s)||Yn["Vertical Forms"](s)||Yn["Yi Radicals"](s)||Yn["Yi Syllables"](s)));(Dl[d]||g||p.imageName)&&l.push(Nl(h+1,f,c,l,Bl(d,t.getCharCode(h+1),g&&u),!1))}}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}(Nl(t.length(),f,c,l,0,!0))}function Ul(t){var e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:e,verticalAlign:r}}function Vl(t,e,r,n,i){if(n||i)for(var a=t[r],o=a.metrics.advance*a.scale,s=(t[r].x+o)*n,l=e;l<=r;l++)t[l].x-=s,t[l].y+=i}function Hl(t,e,r,n,i,a){var o,s=t.image;if(s.content){var l=s.content,c=s.pixelRatio||1;o=[l[0]/c,l[1]/c,s.displaySize[0]-l[2]/c,s.displaySize[1]-l[3]/c]}var u,f,h,p,d=e.left*a,g=e.right*a;"width"===r||"both"===r?(p=i[0]+d-n[3],f=i[0]+g+n[1]):f=(p=i[0]+(d+g-s.displaySize[0])/2)+s.displaySize[0];var m=e.top*a,v=e.bottom*a;return"height"===r||"both"===r?(u=i[1]+m-n[0],h=i[1]+v+n[2]):h=(u=i[1]+(m+v-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:u,right:f,bottom:h,left:p,collisionPadding:o}}Dl[10]=!0,Dl[32]=!0,Dl[38]=!0,Dl[40]=!0,Dl[41]=!0,Dl[43]=!0,Dl[45]=!0,Dl[47]=!0,Dl[173]=!0,Dl[183]=!0,Dl[8203]=!0,Dl[8208]=!0,Dl[8211]=!0,Dl[8231]=!0;var ql=function(t){function e(e,r,n,i){t.call(this,e,r),this.angle=n,void 0!==i&&(this.segment=i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(i);Nn("Anchor",ql);function Gl(t,e){var r=e.expression;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new pi(t+1))};if("source"===r.kind)return{kind:"source"};for(var n=r.zoomStops,i=r.interpolationType,a=0;a<n.length&&n[a]<=t;)a++;for(var o=a=Math.max(0,a-1);o<n.length&&n[o]<t+1;)o++;o=Math.min(n.length-1,o);var s=n[a],l=n[o];return"composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:i}:{kind:"camera",minZoom:s,maxZoom:l,minSize:r.evaluate(new pi(s)),maxSize:r.evaluate(new pi(l)),interpolationType:i}}function Yl(t,e,r){var n=e.uSize,i=e.uSizeT,a=r.lowerSize,o=r.upperSize;return"source"===t.kind?a/128:"composite"===t.kind?qe(a/128,o/128,i):n}function Wl(t,e){var r=0,n=0;if("constant"===t.kind)n=t.layoutSize;else if("source"!==t.kind){var i=t.interpolationType,a=t.minZoom,o=t.maxZoom,s=i?l(or.interpolationFactor(i,e,a,o),0,1):0;"camera"===t.kind?n=qe(t.minSize,t.maxSize,s):r=s}return{uSizeT:r,uSize:n}}var Xl=Object.freeze({__proto__:null,getSizeData:Gl,evaluateSizeForFeature:Yl,evaluateSizeForZoom:Wl,SIZE_PACK_FACTOR:128});function Zl(t,e,r,n,i){if(void 0===e.segment)return!0;for(var a=e,o=e.segment+1,s=0;s>-r/2;){if(--o<0)return!1;s-=t[o].dist(a),a=t[o]}s+=t[o].dist(t[o+1]),o++;for(var l=[],c=0;s<r/2;){var u=t[o-1],f=t[o],h=t[o+1];if(!h)return!1;var p=u.angleTo(f)-f.angleTo(h);for(p=Math.abs((p+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:p}),c+=p;s-l[0].distance>n;)c-=l.shift().angleDelta;if(c>i)return!1;o++,s+=f.dist(h)}return!0}function Jl(t){for(var e=0,r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function Kl(t,e,r){return t?.6*e*r:0}function Ql(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function $l(t,e,r,n,i,a){for(var o=Kl(r,i,a),s=Ql(r,n)*a,l=0,c=Jl(t)/2,u=0;u<t.length-1;u++){var f=t[u],h=t[u+1],p=f.dist(h);if(l+p>c){var d=(c-l)/p,g=qe(f.x,h.x,d),m=qe(f.y,h.y,d),v=new ql(g,m,h.angleTo(f),u);return v._round(),!o||Zl(t,v,s,o,e)?v:void 0}l+=p}}function tc(t,e,r,n,i,a,o,s,l){var c=Kl(n,a,o),u=Ql(n,i),f=u*o,h=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-f<e/4&&(e=f+e/4),function t(e,r,n,i,a,o,s,l,c){for(var u=o/2,f=Jl(e),h=0,p=r-n,d=[],g=0;g<e.length-1;g++){for(var m=e[g],v=e[g+1],y=m.dist(v),x=v.angleTo(m);p+n<h+y;){var b=((p+=n)-h)/y,_=qe(m.x,v.x,b),w=qe(m.y,v.y,b);if(_>=0&&_<c&&w>=0&&w<c&&p-u>=0&&p+u<=f){var T=new ql(_,w,x,g);T._round(),i&&!Zl(e,T,o,i,a)||d.push(T)}}h+=y}l||d.length||s||(d=t(e,h/2,n,i,a,o,s,!0,c));return d}(t,h?e/2*s%e:(u/2+2*a)*o*s%e,e,c,r,f,h,!1,l)}function ec(t,e,r,n,a){for(var o=[],s=0;s<t.length;s++)for(var l=t[s],c=void 0,u=0;u<l.length-1;u++){var f=l[u],h=l[u+1];f.x<e&&h.x<e||(f.x<e?f=new i(e,f.y+(h.y-f.y)*((e-f.x)/(h.x-f.x)))._round():h.x<e&&(h=new i(e,f.y+(h.y-f.y)*((e-f.x)/(h.x-f.x)))._round()),f.y<r&&h.y<r||(f.y<r?f=new i(f.x+(h.x-f.x)*((r-f.y)/(h.y-f.y)),r)._round():h.y<r&&(h=new i(f.x+(h.x-f.x)*((r-f.y)/(h.y-f.y)),r)._round()),f.x>=n&&h.x>=n||(f.x>=n?f=new i(n,f.y+(h.y-f.y)*((n-f.x)/(h.x-f.x)))._round():h.x>=n&&(h=new i(n,f.y+(h.y-f.y)*((n-f.x)/(h.x-f.x)))._round()),f.y>=a&&h.y>=a||(f.y>=a?f=new i(f.x+(h.x-f.x)*((a-f.y)/(h.y-f.y)),a)._round():h.y>=a&&(h=new i(f.x+(h.x-f.x)*((a-f.y)/(h.y-f.y)),a)._round()),c&&f.equals(c[c.length-1])||(c=[f],o.push(c)),c.push(h)))))}return o}function rc(t,e,r,n){var a=[],o=t.image,s=o.pixelRatio,l=o.paddedRect.w-2,c=o.paddedRect.h-2,u=t.right-t.left,f=t.bottom-t.top,h=o.stretchX||[[0,l]],p=o.stretchY||[[0,c]],d=function(t,e){return t+e[1]-e[0]},g=h.reduce(d,0),m=p.reduce(d,0),v=l-g,y=c-m,x=0,b=g,_=0,w=m,T=0,k=v,A=0,M=y;if(o.content&&n){var S=o.content;x=nc(h,0,S[0]),_=nc(p,0,S[1]),b=nc(h,S[0],S[2]),w=nc(p,S[1],S[3]),T=S[0]-x,A=S[1]-_,k=S[2]-S[0]-b,M=S[3]-S[1]-w}var E=function(n,a,l,c){var h=ac(n.stretch-x,b,u,t.left),p=oc(n.fixed-T,k,n.stretch,g),d=ac(a.stretch-_,w,f,t.top),v=oc(a.fixed-A,M,a.stretch,m),y=ac(l.stretch-x,b,u,t.left),S=oc(l.fixed-T,k,l.stretch,g),E=ac(c.stretch-_,w,f,t.top),L=oc(c.fixed-A,M,c.stretch,m),C=new i(h,d),P=new i(y,d),I=new i(y,E),O=new i(h,E),z=new i(p/s,v/s),D=new i(S/s,L/s),R=e*Math.PI/180;if(R){var F=Math.sin(R),B=Math.cos(R),N=[B,-F,F,B];C._matMult(N),P._matMult(N),O._matMult(N),I._matMult(N)}var j=n.stretch+n.fixed,U=l.stretch+l.fixed,V=a.stretch+a.fixed,H=c.stretch+c.fixed;return{tl:C,tr:P,bl:O,br:I,tex:{x:o.paddedRect.x+1+j,y:o.paddedRect.y+1+V,w:U-j,h:H-V},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:z,pixelOffsetBR:D,minFontScaleX:k/s/u,minFontScaleY:M/s/f,isSDF:r}};if(n&&(o.stretchX||o.stretchY))for(var L=ic(h,v,g),C=ic(p,y,m),P=0;P<L.length-1;P++)for(var I=L[P],O=L[P+1],z=0;z<C.length-1;z++){var D=C[z],R=C[z+1];a.push(E(I,D,O,R))}else a.push(E({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:c+1}));return a}function nc(t,e,r){for(var n=0,i=0,a=t;i<a.length;i+=1){var o=a[i];n+=Math.max(e,Math.min(r,o[1]))-Math.max(e,Math.min(r,o[0]))}return n}function ic(t,e,r){for(var n=[{fixed:-1,stretch:0}],i=0,a=t;i<a.length;i+=1){var o=a[i],s=o[0],l=o[1],c=n[n.length-1];n.push({fixed:s-c.stretch,stretch:c.stretch}),n.push({fixed:s-c.stretch,stretch:c.stretch+(l-s)})}return n.push({fixed:e+1,stretch:r}),n}function ac(t,e,r,n){return t/e*r+n}function oc(t,e,r,n){return t-e*r/n}var sc=function(t,e,r,n,a,o,s,l,c,u){if(this.boxStartIndex=t.length,c){var f=o.top,h=o.bottom,p=o.collisionPadding;p&&(f-=p[1],h+=p[3]);var d=h-f;d>0&&(d=Math.max(10,d),this.circleDiameter=d)}else{var g=o.top*s-l,m=o.bottom*s+l,v=o.left*s-l,y=o.right*s+l,x=o.collisionPadding;if(x&&(v-=x[0]*s,g-=x[1]*s,y+=x[2]*s,m+=x[3]*s),u){var b=new i(v,g),_=new i(y,g),w=new i(v,m),T=new i(y,m),k=u*Math.PI/180;b._rotate(k),_._rotate(k),w._rotate(k),T._rotate(k),v=Math.min(b.x,_.x,w.x,T.x),y=Math.max(b.x,_.x,w.x,T.x),g=Math.min(b.y,_.y,w.y,T.y),m=Math.max(b.y,_.y,w.y,T.y)}t.emplaceBack(e.x,e.y,v,g,y,m,r,n,a)}this.boxEndIndex=t.length},lc=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=cc),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)};function cc(t,e){return t<e?-1:t>e?1:0}function uc(t,e,r){void 0===e&&(e=1),void 0===r&&(r=!1);for(var n=1/0,a=1/0,o=-1/0,s=-1/0,l=t[0],c=0;c<l.length;c++){var u=l[c];(!c||u.x<n)&&(n=u.x),(!c||u.y<a)&&(a=u.y),(!c||u.x>o)&&(o=u.x),(!c||u.y>s)&&(s=u.y)}var f=o-n,h=s-a,p=Math.min(f,h),d=p/2,g=new lc([],fc);if(0===p)return new i(n,a);for(var m=n;m<o;m+=p)for(var v=a;v<s;v+=p)g.push(new hc(m+d,v+d,d,t));for(var y=function(t){for(var e=0,r=0,n=0,i=t[0],a=0,o=i.length,s=o-1;a<o;s=a++){var l=i[a],c=i[s],u=l.x*c.y-c.x*l.y;r+=(l.x+c.x)*u,n+=(l.y+c.y)*u,e+=3*u}return new hc(r/e,n/e,0,t)}(t),x=g.length;g.length;){var b=g.pop();(b.d>y.d||!y.d)&&(y=b,r&&console.log("found best %d after %d probes",Math.round(1e4*b.d)/1e4,x)),b.max-y.d<=e||(d=b.h/2,g.push(new hc(b.p.x-d,b.p.y-d,d,t)),g.push(new hc(b.p.x+d,b.p.y-d,d,t)),g.push(new hc(b.p.x-d,b.p.y+d,d,t)),g.push(new hc(b.p.x+d,b.p.y+d,d,t)),x+=4)}return r&&(console.log("num probes: "+x),console.log("best distance: "+y.d)),y.p}function fc(t,e){return e.max-t.max}function hc(t,e,r,n){this.p=new i(t,e),this.h=r,this.d=function(t,e){for(var r=!1,n=1/0,i=0;i<e.length;i++)for(var a=e[i],o=0,s=a.length,l=s-1;o<s;l=o++){var c=a[o],u=a[l];c.y>t.y!=u.y>t.y&&t.x<(u.x-c.x)*(t.y-c.y)/(u.y-c.y)+c.x&&(r=!r),n=Math.min(n,ro(t,c,u))}return(r?1:-1)*Math.sqrt(n)}(this.p,n),this.max=this.d+this.h*Math.SQRT2}lc.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},lc.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},lc.prototype.peek=function(){return this.data[0]},lc.prototype._up=function(t){for(var e=this.data,r=this.compare,n=e[t];t>0;){var i=t-1>>1,a=e[i];if(r(n,a)>=0)break;e[t]=a,t=i}e[t]=n},lc.prototype._down=function(t){for(var e=this.data,r=this.compare,n=this.length>>1,i=e[t];t<n;){var a=1+(t<<1),o=e[a],s=a+1;if(s<this.length&&r(e[s],o)<0&&(a=s,o=e[s]),r(o,i)>=0)break;e[t]=o,t=a}e[t]=i};var pc=Number.POSITIVE_INFINITY;function dc(t,e){return e[1]!==pc?function(t,e,r){var n=0,i=0;switch(e=Math.abs(e),r=Math.abs(r),t){case"top-right":case"top-left":case"top":i=r-7;break;case"bottom-right":case"bottom-left":case"bottom":i=7-r}switch(t){case"top-right":case"bottom-right":case"right":n=-e;break;case"top-left":case"bottom-left":case"left":n=e}return[n,i]}(t,e[0],e[1]):function(t,e){var r=0,n=0;e<0&&(e=0);var i=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":n=i-7;break;case"bottom-right":case"bottom-left":n=7-i;break;case"bottom":n=7-e;break;case"top":n=e-7}switch(t){case"top-right":case"bottom-right":r=-i;break;case"top-left":case"bottom-left":r=i;break;case"left":r=e;break;case"right":r=-e}return[r,n]}(t,e[0])}function gc(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function mc(t,e,r,n,a,o,s,l,c,u,f,h,p,d,g){var m=function(t,e,r,n,a,o,s,l){for(var c=n.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,u=[],f=0,h=e.positionedLines;f<h.length;f+=1)for(var p=h[f],d=0,g=p.positionedGlyphs;d<g.length;d+=1){var m=g[d];if(m.rect){var v=m.rect||{},y=4,x=!0,b=1,_=0,w=(a||l)&&m.vertical,T=m.metrics.advance*m.scale/2;if(l&&e.verticalizable){var k=24*(m.scale-1),A=(24-m.metrics.width*m.scale)/2;_=p.lineOffset/2-(m.imageName?-A:k)}if(m.imageName){var M=s[m.imageName];x=M.sdf,y=1/(b=M.pixelRatio)}var S=a?[m.x+T,m.y]:[0,0],E=a?[0,0]:[m.x+T+r[0],m.y+r[1]-_],L=[0,0];w&&(L=E,E=[0,0]);var C=(m.metrics.left-y)*m.scale-T+E[0],P=(-m.metrics.top-y)*m.scale+E[1],I=C+v.w*m.scale/b,O=P+v.h*m.scale/b,z=new i(C,P),D=new i(I,P),R=new i(C,O),F=new i(I,O);if(w){var B=new i(-T,T- -17),N=-Math.PI/2,j=12-T,U=m.imageName?j:0,V=new i(22-j,-U),H=new(Function.prototype.bind.apply(i,[null].concat(L)));z._rotateAround(N,B)._add(V)._add(H),D._rotateAround(N,B)._add(V)._add(H),R._rotateAround(N,B)._add(V)._add(H),F._rotateAround(N,B)._add(V)._add(H)}if(c){var q=Math.sin(c),G=Math.cos(c),Y=[G,-q,q,G];z._matMult(Y),D._matMult(Y),R._matMult(Y),F._matMult(Y)}var W=new i(0,0),X=new i(0,0);u.push({tl:z,tr:D,bl:R,br:F,tex:v,writingMode:e.writingMode,glyphOffset:S,sectionIndex:m.sectionIndex,isSDF:x,pixelOffsetTL:W,pixelOffsetBR:X,minFontScaleX:0,minFontScaleY:0})}}return u}(0,r,l,a,o,s,n,t.allowVerticalPlacement),v=t.textSizeData,y=null;"source"===v.kind?(y=[128*a.layout.get("text-size").evaluate(s,{})])[0]>32640&&_(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===v.kind&&((y=[128*d.compositeTextSizes[0].evaluate(s,{},g),128*d.compositeTextSizes[1].evaluate(s,{},g)])[0]>32640||y[1]>32640)&&_(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),t.addSymbols(t.text,m,y,l,o,s,u,e,c.lineStartIndex,c.lineLength,p,g);for(var x=0,b=f;x<b.length;x+=1){h[b[x]]=t.text.placedSymbolArray.length-1}return 4*m.length}function vc(t){for(var e in t)return t[e];return null}function yc(t,e,r,n){var i=t.compareText;if(e in i){for(var a=i[e],o=a.length-1;o>=0;o--)if(n.dist(a[o])<r)return!0}else i[e]=[];return i[e].push(n),!1}var xc=Ls.VectorTileFeature.types,bc=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function _c(t,e,r,n,i,a,o,s,l,c,u,f,h){var p=s?Math.min(32640,Math.round(s[0])):0,d=s?Math.min(32640,Math.round(s[1])):0;t.emplaceBack(e,r,Math.round(32*n),Math.round(32*i),a,o,(p<<1)+(l?1:0),d,16*c,16*u,256*f,256*h)}function wc(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}function Tc(t){for(var e=0,r=t.sections;e<r.length;e+=1){if($n(r[e].text))return!0}return!1}var kc=function(t){this.layoutVertexArray=new Ni,this.indexArray=new Yi,this.programConfigurations=t,this.segments=new pa,this.dynamicLayoutVertexArray=new ji,this.opacityVertexArray=new Ui,this.placedSymbolArray=new aa};kc.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length},kc.prototype.upload=function(t,e,r,n){this.isEmpty()||(r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Js.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,Ks.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,bc,!0),this.opacityVertexBuffer.itemSize=1),(r||n)&&this.programConfigurations.upload(t))},kc.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},Nn("SymbolBuffers",kc);var Ac=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new pa,this.collisionVertexArray=new Gi};Ac.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,Qs.members,!0)},Ac.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},Nn("CollisionBuffers",Ac);var Mc=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=ho([]),this.placementViewportMatrix=ho([]);var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Gl(this.zoom,e["text-size"]),this.iconSizeData=Gl(this.zoom,e["icon-size"]);var r=this.layers[0].layout,n=r.get("symbol-sort-key"),i=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==i&&void 0!==n.constantOr(1);var a="viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey;this.sortFeaturesByY=a&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((function(t){return Cl[t]}))),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID};Mc.prototype.createArrays=function(){this.text=new kc(new Ua(Js.members,this.layers,this.zoom,(function(t){return/^text/.test(t)}))),this.icon=new kc(new Ua(Js.members,this.layers,this.zoom,(function(t){return/^icon/.test(t)}))),this.glyphOffsetArray=new la,this.lineVertexArray=new ca,this.symbolInstances=new sa},Mc.prototype.calculateGlyphDependencies=function(t,e,r,n,i){for(var a=0;a<t.length;a++)if(e[t.charCodeAt(a)]=!0,(r||n)&&i){var o=rl[t.charAt(a)];o&&(e[o.charCodeAt(0)]=!0)}},Mc.prototype.populate=function(t,e,r){var n=this.layers[0],i=n.layout,a=i.get("text-font"),o=i.get("text-field"),s=i.get("icon-image"),l=("constant"!==o.value.kind||o.value.value instanceof ne&&!o.value.value.isEmpty()||o.value.value.toString().length>0)&&("constant"!==a.value.kind||a.value.value.length>0),c="constant"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,u=i.get("symbol-sort-key");if(this.features=[],l||c){for(var f=e.iconDependencies,h=e.glyphDependencies,p=e.availableImages,d=new pi(this.zoom),g=0,m=t;g<m.length;g+=1){var v=m[g],y=v.feature,x=v.id,b=v.index,_=v.sourceLayerIndex,w=n._featureFilter.needGeometry,T={type:y.type,id:x,properties:y.properties,geometry:w?Ya(y):[]};if(n._featureFilter.filter(d,T,r)){w||(T.geometry=Ya(y));var k=void 0;if(l){var A=n.getValueAndResolveTokens("text-field",T,r,p),M=ne.factory(A);Tc(M)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===ui()||this.hasRTLText&&hi.isParsed())&&(k=el(M,n,T))}var S=void 0;if(c){var E=n.getValueAndResolveTokens("icon-image",T,r,p);S=E instanceof ie?E:ie.fromString(E)}if(k||S){var L=this.sortFeaturesByKey?u.evaluate(T,{},r):void 0,C={id:x,text:k,icon:S,index:b,sourceLayerIndex:_,geometry:Ya(y),properties:y.properties,type:xc[y.type],sortKey:L};if(this.features.push(C),S&&(f[S.name]=!0),k){var P=a.evaluate(T,{},r).join(","),I="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Cl.vertical)>=0;for(var O=0,z=k.sections;O<z.length;O+=1){var D=z[O];if(D.image)f[D.image.name]=!0;else{var R=Wn(k.toString()),F=D.fontStack||P,B=h[F]=h[F]||{};this.calculateGlyphDependencies(D.text,B,I,this.allowVerticalPlacement,R)}}}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var e={},r={},n=[],i=0;function a(e){n.push(t[e]),i++}function o(t,e,i){var a=r[t];return delete r[t],r[e]=a,n[a].geometry[0].pop(),n[a].geometry[0]=n[a].geometry[0].concat(i[0]),a}function s(t,r,i){var a=e[r];return delete e[r],e[t]=a,n[a].geometry[0].shift(),n[a].geometry[0]=i[0].concat(n[a].geometry[0]),a}function l(t,e,r){var n=r?e[0][e[0].length-1]:e[0][0];return t+":"+n.x+":"+n.y}for(var c=0;c<t.length;c++){var u=t[c],f=u.geometry,h=u.text?u.text.toString():null;if(h){var p=l(h,f),d=l(h,f,!0);if(p in r&&d in e&&r[p]!==e[d]){var g=s(p,d,f),m=o(p,d,n[g].geometry);delete e[p],delete r[d],r[l(h,n[m].geometry,!0)]=m,n[g].geometry=null}else p in r?o(p,d,f):d in e?s(p,d,f):(a(c),e[p]=i-1,r[d]=i-1)}else a(c)}return n.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}))}},Mc.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))},Mc.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},Mc.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},Mc.prototype.upload=function(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},Mc.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},Mc.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},Mc.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var n=t.dist(e[t.segment+1]),i=t.dist(e[t.segment]),a={},o=t.segment+1;o<e.length;o++)a[o]={x:e[o].x,y:e[o].y,tileUnitDistanceFromAnchor:n},o<e.length-1&&(n+=e[o+1].dist(e[o]));for(var s=t.segment||0;s>=0;s--)a[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:i},s>0&&(i+=e[s-1].dist(e[s]));for(var l=0;l<e.length;l++){var c=a[l];this.lineVertexArray.emplaceBack(c.x,c.y,c.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},Mc.prototype.addSymbols=function(t,e,r,n,i,a,o,s,l,c,u,f){for(var h=t.indexArray,p=t.layoutVertexArray,d=t.segments.prepareSegment(4*e.length,p,h,a.sortKey),g=this.glyphOffsetArray.length,m=d.vertexLength,v=this.allowVerticalPlacement&&o===Cl.vertical?Math.PI/2:0,y=a.text&&a.text.sections,x=0;x<e.length;x++){var b=e[x],_=b.tl,w=b.tr,T=b.bl,k=b.br,A=b.tex,M=b.pixelOffsetTL,S=b.pixelOffsetBR,E=b.minFontScaleX,L=b.minFontScaleY,C=b.glyphOffset,P=b.isSDF,I=b.sectionIndex,O=d.vertexLength,z=C[1];_c(p,s.x,s.y,_.x,z+_.y,A.x,A.y,r,P,M.x,M.y,E,L),_c(p,s.x,s.y,w.x,z+w.y,A.x+A.w,A.y,r,P,S.x,M.y,E,L),_c(p,s.x,s.y,T.x,z+T.y,A.x,A.y+A.h,r,P,M.x,S.y,E,L),_c(p,s.x,s.y,k.x,z+k.y,A.x+A.w,A.y+A.h,r,P,S.x,S.y,E,L),wc(t.dynamicLayoutVertexArray,s,v),h.emplaceBack(O,O+1,O+2),h.emplaceBack(O+1,O+2,O+3),d.vertexLength+=4,d.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(C[0]),x!==e.length-1&&I===e[x+1].sectionIndex||t.programConfigurations.populatePaintArrays(p.length,a,a.index,{},f,y&&y[I])}t.placedSymbolArray.emplaceBack(s.x,s.y,g,this.glyphOffsetArray.length-g,m,l,c,s.segment,r?r[0]:0,r?r[1]:0,n[0],n[1],o,0,!1,0,u)},Mc.prototype._addCollisionDebugVertex=function(t,e,r,n,i,a){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,n,i,Math.round(a.x),Math.round(a.y))},Mc.prototype.addCollisionDebugVertices=function(t,e,r,n,a,o,s){var l=a.segments.prepareSegment(4,a.layoutVertexArray,a.indexArray),c=l.vertexLength,u=a.layoutVertexArray,f=a.collisionVertexArray,h=s.anchorX,p=s.anchorY;this._addCollisionDebugVertex(u,f,o,h,p,new i(t,e)),this._addCollisionDebugVertex(u,f,o,h,p,new i(r,e)),this._addCollisionDebugVertex(u,f,o,h,p,new i(r,n)),this._addCollisionDebugVertex(u,f,o,h,p,new i(t,n)),l.vertexLength+=4;var d=a.indexArray;d.emplaceBack(c,c+1),d.emplaceBack(c+1,c+2),d.emplaceBack(c+2,c+3),d.emplaceBack(c+3,c),l.primitiveLength+=4},Mc.prototype.addDebugCollisionBoxes=function(t,e,r,n){for(var i=t;i<e;i++){var a=this.collisionBoxArray.get(i),o=a.x1,s=a.y1,l=a.x2,c=a.y2;this.addCollisionDebugVertices(o,s,l,c,n?this.textCollisionBox:this.iconCollisionBox,a.anchorPoint,r)}},Mc.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new Ac(Hi,$s.members,Qi),this.iconCollisionBox=new Ac(Hi,$s.members,Qi);for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1)}},Mc.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,n,i,a,o,s,l){for(var c={},u=e;u<r;u++){var f=t.get(u);c.textBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},c.textFeatureIndex=f.featureIndex;break}for(var h=n;h<i;h++){var p=t.get(h);c.verticalTextBox={x1:p.x1,y1:p.y1,x2:p.x2,y2:p.y2,anchorPointX:p.anchorPointX,anchorPointY:p.anchorPointY},c.verticalTextFeatureIndex=p.featureIndex;break}for(var d=a;d<o;d++){var g=t.get(d);c.iconBox={x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,anchorPointX:g.anchorPointX,anchorPointY:g.anchorPointY},c.iconFeatureIndex=g.featureIndex;break}for(var m=s;m<l;m++){var v=t.get(m);c.verticalIconBox={x1:v.x1,y1:v.y1,x2:v.x2,y2:v.y2,anchorPointX:v.anchorPointX,anchorPointY:v.anchorPointY},c.verticalIconFeatureIndex=v.featureIndex;break}return c},Mc.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}},Mc.prototype.hasTextData=function(){return this.text.segments.get().length>0},Mc.prototype.hasIconData=function(){return this.icon.segments.get().length>0},Mc.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},Mc.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},Mc.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},Mc.prototype.addIndicesForPlacedSymbol=function(t,e){for(var r=t.placedSymbolArray.get(e),n=r.vertexStartIndex+4*r.numGlyphs,i=r.vertexStartIndex;i<n;i+=4)t.indexArray.emplaceBack(i,i+1,i+2),t.indexArray.emplaceBack(i+1,i+2,i+3)},Mc.prototype.getSortedSymbolIndexes=function(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var e=Math.sin(t),r=Math.cos(t),n=[],i=[],a=[],o=0;o<this.symbolInstances.length;++o){a.push(o);var s=this.symbolInstances.get(o);n.push(0|Math.round(e*s.anchorX+r*s.anchorY)),i.push(s.featureIndex)}return a.sort((function(t,e){return n[t]-n[e]||i[e]-i[t]})),a},Mc.prototype.addToSortKeyRanges=function(t,e){var r=this.sortKeyRanges[this.sortKeyRanges.length-1];r&&r.sortKey===e?r.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1})},Mc.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var r=0,n=this.symbolInstanceIndexes;r<n.length;r+=1){var i=n[r],a=this.symbolInstances.get(i);this.featureSortOrder.push(a.featureIndex),[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex].forEach((function(t,r,n){t>=0&&n.indexOf(t)===r&&e.addIndicesForPlacedSymbol(e.text,t)})),a.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,a.verticalPlacedTextSymbolIndex),a.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,a.placedIconSymbolIndex),a.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,a.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Nn("SymbolBucket",Mc,{omit:["layers","collisionBoxArray","features","compareText"]}),Mc.MAX_GLYPHS=65535,Mc.addDynamicAttributes=wc;var Sc=new Si({"symbol-placement":new wi(Lt.layout_symbol["symbol-placement"]),"symbol-spacing":new wi(Lt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new wi(Lt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ti(Lt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new wi(Lt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new wi(Lt.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new wi(Lt.layout_symbol["icon-ignore-placement"]),"icon-optional":new wi(Lt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new wi(Lt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ti(Lt.layout_symbol["icon-size"]),"icon-text-fit":new wi(Lt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new wi(Lt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ti(Lt.layout_symbol["icon-image"]),"icon-rotate":new Ti(Lt.layout_symbol["icon-rotate"]),"icon-padding":new wi(Lt.layout_symbol["icon-padding"]),"icon-keep-upright":new wi(Lt.layout_symbol["icon-keep-upright"]),"icon-offset":new Ti(Lt.layout_symbol["icon-offset"]),"icon-anchor":new Ti(Lt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new wi(Lt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new wi(Lt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new wi(Lt.layout_symbol["text-rotation-alignment"]),"text-field":new Ti(Lt.layout_symbol["text-field"]),"text-font":new Ti(Lt.layout_symbol["text-font"]),"text-size":new Ti(Lt.layout_symbol["text-size"]),"text-max-width":new Ti(Lt.layout_symbol["text-max-width"]),"text-line-height":new wi(Lt.layout_symbol["text-line-height"]),"text-letter-spacing":new Ti(Lt.layout_symbol["text-letter-spacing"]),"text-justify":new Ti(Lt.layout_symbol["text-justify"]),"text-radial-offset":new Ti(Lt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new wi(Lt.layout_symbol["text-variable-anchor"]),"text-anchor":new Ti(Lt.layout_symbol["text-anchor"]),"text-max-angle":new wi(Lt.layout_symbol["text-max-angle"]),"text-writing-mode":new wi(Lt.layout_symbol["text-writing-mode"]),"text-rotate":new Ti(Lt.layout_symbol["text-rotate"]),"text-padding":new wi(Lt.layout_symbol["text-padding"]),"text-keep-upright":new wi(Lt.layout_symbol["text-keep-upright"]),"text-transform":new Ti(Lt.layout_symbol["text-transform"]),"text-offset":new Ti(Lt.layout_symbol["text-offset"]),"text-allow-overlap":new wi(Lt.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new wi(Lt.layout_symbol["text-ignore-placement"]),"text-optional":new wi(Lt.layout_symbol["text-optional"])}),Ec={paint:new Si({"icon-opacity":new Ti(Lt.paint_symbol["icon-opacity"]),"icon-color":new Ti(Lt.paint_symbol["icon-color"]),"icon-halo-color":new Ti(Lt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ti(Lt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ti(Lt.paint_symbol["icon-halo-blur"]),"icon-translate":new wi(Lt.paint_symbol["icon-translate"]),"icon-translate-anchor":new wi(Lt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ti(Lt.paint_symbol["text-opacity"]),"text-color":new Ti(Lt.paint_symbol["text-color"],{runtimeType:Ut,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),"text-halo-color":new Ti(Lt.paint_symbol["text-halo-color"]),"text-halo-width":new Ti(Lt.paint_symbol["text-halo-width"]),"text-halo-blur":new Ti(Lt.paint_symbol["text-halo-blur"]),"text-translate":new wi(Lt.paint_symbol["text-translate"]),"text-translate-anchor":new wi(Lt.paint_symbol["text-translate-anchor"])}),layout:Sc},Lc=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:Ft,this.defaultValue=t};Lc.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},Lc.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)},Lc.prototype.outputDefined=function(){return!1},Lc.prototype.serialize=function(){return null},Nn("FormatSectionOverride",Lc,{omit:["defaultValue"]});var Cc=function(t){function e(e){t.call(this,e,Ec)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){if(t.prototype.recalculate.call(this,e,r),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var n=this.layout.get("text-writing-mode");if(n){for(var i=[],a=0,o=n;a<o.length;a+=1){var s=o[a];i.indexOf(s)<0&&i.push(s)}this.layout._values["text-writing-mode"]=i}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},e.prototype.getValueAndResolveTokens=function(t,e,r,n){var i=this.layout.get(t).evaluate(e,{},r,n),a=this._unevaluatedLayout._values[t];return a.isDataDriven()||Yr(a.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,(function(e,r){return r in t?String(t[r]):""}))}(e.properties,i)},e.prototype.createBucket=function(t){return new Mc(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype._setPaintOverrides=function(){for(var t=0,r=Ec.paint.overridableProperties;t<r.length;t+=1){var n=r[t];if(e.hasPaintOverride(this.layout,n)){var i=this.paint.get(n),a=new Lc(i),o=new Gr(a,i.property.specification),s=null;s="constant"===i.value.kind||"source"===i.value.kind?new Xr("source",o):new Zr("composite",o,i.value.zoomStops,i.value._interpolationType),this.paint._values[n]=new bi(i.property,s,i.parameters)}}},e.prototype._handleOverridablePaintPropertyUpdate=function(t,r,n){return!(!this.layout||r.isDataDriven()||n.isDataDriven())&&e.hasPaintOverride(this.layout,t)},e.hasPaintOverride=function(t,e){var r=t.get("text-field"),n=Ec.paint.properties[e],i=!1,a=function(t){for(var e=0,r=t;e<r.length;e+=1){var a=r[e];if(n.overrides&&n.overrides.hasOverride(a))return void(i=!0)}};if("constant"===r.value.kind&&r.value.value instanceof ne)a(r.value.value.sections);else if("source"===r.value.kind){var o=function(t){if(!i)if(t instanceof ce&&se(t.value)===Gt){var e=t.value;a(e.sections)}else t instanceof pe?a(t.sections):t.eachChild(o)},s=r.value;s._styleExpression&&o(s._styleExpression.expression)}return i},e}(Ei),Pc={paint:new Si({"background-color":new wi(Lt.paint_background["background-color"]),"background-pattern":new Ai(Lt.paint_background["background-pattern"]),"background-opacity":new wi(Lt.paint_background["background-opacity"])})},Ic=function(t){function e(e){t.call(this,e,Pc)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ei),Oc={paint:new Si({"raster-opacity":new wi(Lt.paint_raster["raster-opacity"]),"raster-hue-rotate":new wi(Lt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new wi(Lt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new wi(Lt.paint_raster["raster-brightness-max"]),"raster-saturation":new wi(Lt.paint_raster["raster-saturation"]),"raster-contrast":new wi(Lt.paint_raster["raster-contrast"]),"raster-resampling":new wi(Lt.paint_raster["raster-resampling"]),"raster-fade-duration":new wi(Lt.paint_raster["raster-fade-duration"])})},zc=function(t){function e(e){t.call(this,e,Oc)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ei);var Dc=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)},e}(Ei),Rc={circle:_o,heatmap:Po,hillshade:Oo,fill:xs,"fill-extrusion":Fs,line:Xs,symbol:Cc,background:Ic,raster:zc};var Fc=self.HTMLImageElement,Bc=self.HTMLCanvasElement,Nc=self.HTMLVideoElement,jc=self.ImageData,Uc=self.ImageBitmap,Vc=function(t,e,r,n){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,n)};Vc.prototype.update=function(t,e,r){var n=t.width,i=t.height,a=!(this.size&&this.size[0]===n&&this.size[1]===i||r),o=this.context,s=o.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),o.pixelStoreUnpackFlipY.set(!1),o.pixelStoreUnpack.set(1),o.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),a)this.size=[n,i],t instanceof Fc||t instanceof Bc||t instanceof Nc||t instanceof jc||Uc&&t instanceof Uc?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,n,i,0,this.format,s.UNSIGNED_BYTE,t.data);else{var l=r||{x:0,y:0},c=l.x,u=l.y;t instanceof Fc||t instanceof Bc||t instanceof Nc||t instanceof jc||Uc&&t instanceof Uc?s.texSubImage2D(s.TEXTURE_2D,0,c,u,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,c,u,n,i,s.RGBA,s.UNSIGNED_BYTE,t.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},Vc.prototype.bind=function(t,e,r){var n=this.context.gl;n.bindTexture(n.TEXTURE_2D,this.texture),r!==n.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=n.LINEAR),t!==this.filter&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,e),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,e),this.wrap=e)},Vc.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Vc.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var Hc=function(t){var e=this;this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){e._triggered=!1,e._callback()})};Hc.prototype.trigger=function(){var t=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){t._triggered=!1,t._callback()}),0))},Hc.prototype.remove=function(){delete this._channel,this._callback=function(){}};var qc=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},g(["receive","process"],this),this.invoker=new Hc(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=k()?t:self};function Gc(t,e,r){var n=2*Math.PI*6378137/256/Math.pow(2,r);return[t*n-2*Math.PI*6378137/2,e*n-2*Math.PI*6378137/2]}qc.prototype.send=function(t,e,r,n,i){var a=this;void 0===i&&(i=!1);var o=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[o]=r);var s=S(this.globalScope)?void 0:[];return this.target.postMessage({id:o,type:t,hasCallback:!!r,targetMapId:n,mustQueue:i,sourceMapId:this.mapId,data:Hn(e,s)},s),{cancel:function(){r&&delete a.callbacks[o],a.target.postMessage({id:o,type:"<cancel>",targetMapId:n,sourceMapId:a.mapId})}}},qc.prototype.receive=function(t){var e=t.data,r=e.id;if(r&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){delete this.tasks[r];var n=this.cancelCallbacks[r];delete this.cancelCallbacks[r],n&&n()}else k()||e.mustQueue?(this.tasks[r]=e,this.taskQueue.push(r),this.invoker.trigger()):this.processTask(r,e)},qc.prototype.process=function(){if(this.taskQueue.length){var t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}},qc.prototype.processTask=function(t,e){var r=this;if("<response>"===e.type){var n=this.callbacks[t];delete this.callbacks[t],n&&(e.error?n(qn(e.error)):n(null,qn(e.data)))}else{var i=!1,a=S(this.globalScope)?void 0:[],o=e.hasCallback?function(e,n){i=!0,delete r.cancelCallbacks[t],r.target.postMessage({id:t,type:"<response>",sourceMapId:r.mapId,error:e?Hn(e):null,data:Hn(n,a)},a)}:function(t){i=!0},s=null,l=qn(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,o);else if(this.parent.getWorkerSource){var c=e.type.split(".");s=this.parent.getWorkerSource(e.sourceMapId,c[0],l.source)[c[1]](l,o)}else o(new Error("Could not find function "+e.type));!i&&s&&s.cancel&&(this.cancelCallbacks[t]=s.cancel)}},qc.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var Yc=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};Yc.prototype.setNorthEast=function(t){return this._ne=t instanceof Wc?new Wc(t.lng,t.lat):Wc.convert(t),this},Yc.prototype.setSouthWest=function(t){return this._sw=t instanceof Wc?new Wc(t.lng,t.lat):Wc.convert(t),this},Yc.prototype.extend=function(t){var e,r,n=this._sw,i=this._ne;if(t instanceof Wc)e=t,r=t;else{if(!(t instanceof Yc)){if(Array.isArray(t)){if(4===t.length||t.every(Array.isArray)){var a=t;return this.extend(Yc.convert(a))}var o=t;return this.extend(Wc.convert(o))}return this}if(e=t._sw,r=t._ne,!e||!r)return this}return n||i?(n.lng=Math.min(e.lng,n.lng),n.lat=Math.min(e.lat,n.lat),i.lng=Math.max(r.lng,i.lng),i.lat=Math.max(r.lat,i.lat)):(this._sw=new Wc(e.lng,e.lat),this._ne=new Wc(r.lng,r.lat)),this},Yc.prototype.getCenter=function(){return new Wc((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Yc.prototype.getSouthWest=function(){return this._sw},Yc.prototype.getNorthEast=function(){return this._ne},Yc.prototype.getNorthWest=function(){return new Wc(this.getWest(),this.getNorth())},Yc.prototype.getSouthEast=function(){return new Wc(this.getEast(),this.getSouth())},Yc.prototype.getWest=function(){return this._sw.lng},Yc.prototype.getSouth=function(){return this._sw.lat},Yc.prototype.getEast=function(){return this._ne.lng},Yc.prototype.getNorth=function(){return this._ne.lat},Yc.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Yc.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Yc.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Yc.prototype.contains=function(t){var e=Wc.convert(t),r=e.lng,n=e.lat,i=this._sw.lat<=n&&n<=this._ne.lat,a=this._sw.lng<=r&&r<=this._ne.lng;return this._sw.lng>this._ne.lng&&(a=this._sw.lng>=r&&r>=this._ne.lng),i&&a},Yc.convert=function(t){return!t||t instanceof Yc?t:new Yc(t)};var Wc=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Wc.prototype.wrap=function(){return new Wc(c(this.lng,-180,180),this.lat)},Wc.prototype.toArray=function(){return[this.lng,this.lat]},Wc.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Wc.prototype.distanceTo=function(t){var e=Math.PI/180,r=this.lat*e,n=t.lat*e,i=Math.sin(r)*Math.sin(n)+Math.cos(r)*Math.cos(n)*Math.cos((t.lng-this.lng)*e);return 6371008.8*Math.acos(Math.min(i,1))},Wc.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new Yc(new Wc(this.lng-r,this.lat-e),new Wc(this.lng+r,this.lat+e))},Wc.convert=function(t){if(t instanceof Wc)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Wc(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Wc(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var Xc=2*Math.PI*6371008.8;function Zc(t){return Xc*Math.cos(t*Math.PI/180)}function Jc(t){return(180+t)/360}function Kc(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function Qc(t,e){return t/Zc(e)}function $c(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}var tu=function(t,e,r){void 0===r&&(r=0),this.x=+t,this.y=+e,this.z=+r};tu.fromLngLat=function(t,e){void 0===e&&(e=0);var r=Wc.convert(t);return new tu(Jc(r.lng),Kc(r.lat),Qc(e,r.lat))},tu.prototype.toLngLat=function(){return new Wc(360*this.x-180,$c(this.y))},tu.prototype.toAltitude=function(){return t=this.z,e=this.y,t*Zc($c(e));var t,e},tu.prototype.meterInMercatorCoordinateUnits=function(){return 1/Xc*(t=$c(this.y),1/Math.cos(t*Math.PI/180));var t};var eu=function(t,e,r){this.z=t,this.x=e,this.y=r,this.key=iu(0,t,t,e,r)};eu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},eu.prototype.url=function(t,e){var r,n,i,a,o,s=(r=this.x,n=this.y,i=this.z,a=Gc(256*r,256*(n=Math.pow(2,i)-n-1),i),o=Gc(256*(r+1),256*(n+1),i),a[0]+","+a[1]+","+o[0]+","+o[1]),l=function(t,e,r){for(var n,i="",a=t;a>0;a--)i+=(e&(n=1<<a-1)?1:0)+(r&n?2:0);return i}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",l).replace("{bbox-epsg-3857}",s)},eu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new i(8192*(t.x*e-this.x),8192*(t.y*e-this.y))},eu.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var ru=function(t,e){this.wrap=t,this.canonical=e,this.key=iu(t,e.z,e.z,e.x,e.y)},nu=function(t,e,r,n,i){this.overscaledZ=t,this.wrap=e,this.canonical=new eu(r,+n,+i),this.key=iu(e,t,r,n,i)};function iu(t,e,r,n,i){(t*=2)<0&&(t=-1*t-1);var a=1<<r;return(a*a*t+a*i+n).toString(36)+r.toString(36)+e.toString(36)}nu.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},nu.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new nu(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new nu(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},nu.prototype.calculateScaledKey=function(t,e){var r=this.canonical.z-t;return t>this.canonical.z?iu(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):iu(this.wrap*+e,t,t,this.canonical.x>>r,this.canonical.y>>r)},nu.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},nu.prototype.children=function(t){if(this.overscaledZ>=t)return[new nu(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,r=2*this.canonical.x,n=2*this.canonical.y;return[new nu(e,this.wrap,e,r,n),new nu(e,this.wrap,e,r+1,n),new nu(e,this.wrap,e,r,n+1),new nu(e,this.wrap,e,r+1,n+1)]},nu.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},nu.prototype.wrapped=function(){return new nu(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},nu.prototype.unwrapTo=function(t){return new nu(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},nu.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},nu.prototype.toUnwrapped=function(){return new ru(this.wrap,this.canonical)},nu.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},nu.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new tu(t.x-this.wrap,t.y))},Nn("CanonicalTileID",eu),Nn("OverscaledTileID",nu,{omit:["posMatrix"]});var au=function(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return _('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=e.height;var n=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=r||"mapbox";for(var i=0;i<n;i++)this.data[this._idx(-1,i)]=this.data[this._idx(0,i)],this.data[this._idx(n,i)]=this.data[this._idx(n-1,i)],this.data[this._idx(i,-1)]=this.data[this._idx(i,0)],this.data[this._idx(i,n)]=this.data[this._idx(i,n-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(n,-1)]=this.data[this._idx(n-1,0)],this.data[this._idx(-1,n)]=this.data[this._idx(0,n-1)],this.data[this._idx(n,n)]=this.data[this._idx(n-1,n-1)]};au.prototype.get=function(t,e){var r=new Uint8Array(this.data.buffer),n=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[n],r[n+1],r[n+2])},au.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},au.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},au.prototype._unpackMapbox=function(t,e,r){return(256*t*256+256*e+r)/10-1e4},au.prototype._unpackTerrarium=function(t,e,r){return 256*t+e+r/256-32768},au.prototype.getPixels=function(){return new Eo({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},au.prototype.backfillBorder=function(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var n=e*this.dim,i=e*this.dim+this.dim,a=r*this.dim,o=r*this.dim+this.dim;switch(e){case-1:n=i-1;break;case 1:i=n+1}switch(r){case-1:a=o-1;break;case 1:o=a+1}for(var s=-e*this.dim,l=-r*this.dim,c=a;c<o;c++)for(var u=n;u<i;u++)this.data[this._idx(u,c)]=t.data[this._idx(u+s,c+l)]},Nn("DEMData",au);var ou=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r}};ou.prototype.encode=function(t){return this._stringToNumber[t]},ou.prototype.decode=function(t){return this._numberToString[t]};var su=function(t,e,r,n,i){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=n,this.properties=t.properties,this.id=i},lu={geometry:{configurable:!0}};lu.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},lu.geometry.set=function(t){this._geometry=t},su.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t},Object.defineProperties(su.prototype,lu);var cu=function(){this.state={},this.stateChanges={},this.deletedStates={}};cu.prototype.updateState=function(t,e,r){var n=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][n]=this.stateChanges[t][n]||{},u(this.stateChanges[t][n],r),null===this.deletedStates[t])for(var i in this.deletedStates[t]={},this.state[t])i!==n&&(this.deletedStates[t][i]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][n])for(var a in this.deletedStates[t][n]={},this.state[t][n])r[a]||(this.deletedStates[t][n][a]=null);else for(var o in r){this.deletedStates[t]&&this.deletedStates[t][n]&&null===this.deletedStates[t][n][o]&&delete this.deletedStates[t][n][o]}},cu.prototype.removeFeatureState=function(t,e,r){if(!(null===this.deletedStates[t])){var n=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},r&&void 0!==e)null!==this.deletedStates[t][n]&&(this.deletedStates[t][n]=this.deletedStates[t][n]||{},this.deletedStates[t][n][r]=null);else if(void 0!==e){if(this.stateChanges[t]&&this.stateChanges[t][n])for(r in this.deletedStates[t][n]={},this.stateChanges[t][n])this.deletedStates[t][n][r]=null;else this.deletedStates[t][n]=null}else this.deletedStates[t]=null}},cu.prototype.getState=function(t,e){var r=String(e),n=this.state[t]||{},i=this.stateChanges[t]||{},a=u({},n[r],i[r]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var o=this.deletedStates[t][e];if(null===o)return{};for(var s in o)delete a[s]}return a},cu.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e)},cu.prototype.coalesceChanges=function(t,e){var r={};for(var n in this.stateChanges){this.state[n]=this.state[n]||{};var i={};for(var a in this.stateChanges[n])this.state[n][a]||(this.state[n][a]={}),u(this.state[n][a],this.stateChanges[n][a]),i[a]=this.state[n][a];r[n]=i}for(var o in this.deletedStates){this.state[o]=this.state[o]||{};var s={};if(null===this.deletedStates[o])for(var l in this.state[o])s[l]={},this.state[o][l]={};else for(var c in this.deletedStates[o]){if(null===this.deletedStates[o][c])this.state[o][c]={};else for(var f=0,h=Object.keys(this.deletedStates[o][c]);f<h.length;f+=1){var p=h[f];delete this.state[o][c][p]}s[c]=this.state[o][c]}r[o]=r[o]||{},u(r[o],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var d in t){t[d].setFeatureState(r,e)}};var uu=function(t,e){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=new zn(8192,16,0),this.grid3D=new zn(8192,16,0),this.featureIndexArray=new fa,this.promoteId=e};function fu(t,e,r,n,i){return v(t,(function(t,a){var o=e instanceof _i?e.get(a):null;return o&&o.evaluate?o.evaluate(r,n,i):o}))}function hu(t){for(var e=1/0,r=1/0,n=-1/0,i=-1/0,a=0,o=t;a<o.length;a+=1){var s=o[a];e=Math.min(e,s.x),r=Math.min(r,s.y),n=Math.max(n,s.x),i=Math.max(i,s.y)}return{minX:e,minY:r,maxX:n,maxY:i}}function pu(t,e){return e-t}uu.prototype.insert=function(t,e,r,n,i,a){var o=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,n,i);for(var s=a?this.grid3D:this.grid,l=0;l<e.length;l++){for(var c=e[l],u=[1/0,1/0,-1/0,-1/0],f=0;f<c.length;f++){var h=c[f];u[0]=Math.min(u[0],h.x),u[1]=Math.min(u[1],h.y),u[2]=Math.max(u[2],h.x),u[3]=Math.max(u[3],h.y)}u[0]<8192&&u[1]<8192&&u[2]>=0&&u[3]>=0&&s.insert(o,u[0],u[1],u[2],u[3])}},uu.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new Ls.VectorTile(new al(this.rawTileData)).layers,this.sourceLayerCoder=new ou(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},uu.prototype.query=function(t,e,r,n){var a=this;this.loadVTLayers();for(var o=t.params||{},s=8192/t.tileSize/t.scale,l=sn(o.filter),c=t.queryGeometry,u=t.queryPadding*s,f=hu(c),h=this.grid.query(f.minX-u,f.minY-u,f.maxX+u,f.maxY+u),p=hu(t.cameraQueryGeometry),d=this.grid3D.query(p.minX-u,p.minY-u,p.maxX+u,p.maxY+u,(function(e,r,n,a){return function(t,e,r,n,a){for(var o=0,s=t;o<s.length;o+=1){var l=s[o];if(e<=l.x&&r<=l.y&&n>=l.x&&a>=l.y)return!0}var c=[new i(e,r),new i(e,a),new i(n,a),new i(n,r)];if(t.length>2)for(var u=0,f=c;u<f.length;u+=1){if(io(t,f[u]))return!0}for(var h=0;h<t.length-1;h++){if(ao(t[h],t[h+1],c))return!0}return!1}(t.cameraQueryGeometry,e-u,r-u,n+u,a+u)})),g=0,m=d;g<m.length;g+=1){var v=m[g];h.push(v)}h.sort(pu);for(var y,x={},b=function(i){var u=h[i];if(u!==y){y=u;var f=a.featureIndexArray.get(u),p=null;a.loadMatchingFeature(x,f.bucketIndex,f.sourceLayerIndex,f.featureIndex,l,o.layers,o.availableImages,e,r,n,(function(e,r,n){return p||(p=Ya(e)),r.queryIntersectsFeature(c,e,n,p,a.z,t.transform,s,t.pixelPosMatrix)}))}},_=0;_<h.length;_++)b(_);return x},uu.prototype.loadMatchingFeature=function(t,e,r,n,i,a,o,s,l,c,u){var f=this.bucketLayerIDs[e];if(!a||function(t,e){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(a,f)){var h=this.sourceLayerCoder.decode(r),p=this.vtLayers[h].feature(n);if(i.filter(new pi(this.tileID.overscaledZ),p))for(var d=this.getId(p,h),g=0;g<f.length;g++){var m=f[g];if(!(a&&a.indexOf(m)<0)){var v=s[m];if(v){var y={};void 0!==d&&c&&(y=c.getState(v.sourceLayer||"_geojsonTileLayer",d));var x=l[m];x.paint=fu(x.paint,v.paint,p,y,o),x.layout=fu(x.layout,v.layout,p,y,o);var b=!u||u(p,v,y);if(b){var _=new su(p,this.z,this.x,this.y,d);_.layer=x;var w=t[m];void 0===w&&(w=t[m]=[]),w.push({featureIndex:n,feature:_,intersectionZ:b})}}}}}},uu.prototype.lookupSymbolFeatures=function(t,e,r,n,i,a,o,s){var l={};this.loadVTLayers();for(var c=sn(i),u=0,f=t;u<f.length;u+=1){var h=f[u];this.loadMatchingFeature(l,r,n,h,c,a,o,s,e)}return l},uu.prototype.hasLayer=function(t){for(var e=0,r=this.bucketLayerIDs;e<r.length;e+=1)for(var n=0,i=r[e];n<i.length;n+=1){if(t===i[n])return!0}return!1},uu.prototype.getId=function(t,e){var r=t.id;if(this.promoteId){var n="string"==typeof this.promoteId?this.promoteId:this.promoteId[e];"boolean"==typeof(r=t.properties[n])&&(r=Number(r))}return r},Nn("FeatureIndex",uu,{omit:["rawTileData","sourceLayerCoder"]});var du=function(t,e){this.tileID=t,this.uid=h(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};du.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<R.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)},du.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},du.prototype.loadVectorData=function(t,e,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",t){for(var n in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var r={};if(!e)return r;for(var n=function(){var t=a[i],n=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==n.length){t.layers=n,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return n.filter((function(e){return e.id===t}))[0]})));for(var o=0,s=n;o<s.length;o+=1){var l=s[o];r[l.id]=t}}},i=0,a=t;i<a.length;i+=1)n();return r}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var i=this.buckets[n];if(i instanceof Mc){if(this.hasSymbolBuckets=!0,!r)break;i.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var a in this.buckets){var o=this.buckets[a];if(o instanceof Mc&&o.hasRTLText){this.hasRTLText=!0,hi.isLoading()||hi.isLoaded()||"deferred"!==ui()||fi();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(s).queryRadius(l))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage)}else this.collisionBoxArray=new na},du.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},du.prototype.getBucket=function(t){return this.buckets[t.id]},du.prototype.upload=function(t){for(var e in this.buckets){var r=this.buckets[e];r.uploadPending()&&r.upload(t)}var n=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Vc(t,this.imageAtlas.image,n.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Vc(t,this.glyphAtlasImage,n.ALPHA),this.glyphAtlasImage=null)},du.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)},du.prototype.queryRenderedFeatures=function(t,e,r,n,i,a,o,s,l,c){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:n,cameraQueryGeometry:i,scale:a,tileSize:this.tileSize,pixelPosMatrix:c,transform:s,params:o,queryPadding:this.queryPadding*l},t,e,r):{}},du.prototype.querySourceFeatures=function(t,e){var r=this.latestFeatureIndex;if(r&&r.rawTileData){var n=r.loadVTLayers(),i=e?e.sourceLayer:"",a=n._geojsonTileLayer||n[i];if(a)for(var o=sn(e&&e.filter),s=this.tileID.canonical,l=s.z,c=s.x,u=s.y,f={z:l,x:c,y:u},h=0;h<a.length;h++){var p=a.feature(h);if(o.filter(new pi(this.tileID.overscaledZ),p)){var d=r.getId(p,i),g=new su(p,l,c,u,d);g.tile=f,t.push(g)}}}},du.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},du.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},du.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var r=A(t.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var n=Date.now(),i=!1;if(this.expirationTime>n)i=!1;else if(e)if(this.expirationTime<e)i=!0;else{var a=this.expirationTime-e;a?this.expirationTime=n+Math.max(a,3e4):i=!0}else i=!0;i?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},du.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},du.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var r=this.latestFeatureIndex.loadVTLayers();for(var n in this.buckets)if(e.style.hasLayer(n)){var i=this.buckets[n],a=i.layers[0].sourceLayer||"_geojsonTileLayer",o=r[a],s=t[a];if(o&&s&&0!==Object.keys(s).length){i.update(s,o,this.imageAtlas&&this.imageAtlas.patternPositions||{});var l=e&&e.style&&e.style.getLayer(n);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(i)))}}}},du.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},du.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<R.now()},du.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},du.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=R.now()+t},du.prototype.setDependencies=function(t,e){for(var r={},n=0,i=e;n<i.length;n+=1){r[i[n]]=!0}this.dependencies[t]=r},du.prototype.hasDependency=function(t,e){for(var r=0,n=t;r<n.length;r+=1){var i=n[r],a=this.dependencies[i];if(a)for(var o=0,s=e;o<s.length;o+=1){if(a[s[o]])return!0}}return!1};var gu=self.performance,mu=function(t){this._marks={start:[t.url,"start"].join("#"),end:[t.url,"end"].join("#"),measure:t.url.toString()},gu.mark(this._marks.start)};mu.prototype.finish=function(){gu.mark(this._marks.end);var t=gu.getEntriesByName(this._marks.measure);return 0===t.length&&(gu.measure(this._marks.measure,this._marks.start,this._marks.end),t=gu.getEntriesByName(this._marks.measure),gu.clearMarks(this._marks.start),gu.clearMarks(this._marks.end),gu.clearMeasures(this._marks.measure)),t},t.Actor=qc,t.AlphaImage=So,t.CanonicalTileID=eu,t.CollisionBoxArray=na,t.Color=te,t.DEMData=au,t.DataConstantProperty=wi,t.DictionaryCoder=ou,t.EXTENT=8192,t.ErrorEvent=St,t.EvaluationParameters=pi,t.Event=Mt,t.Evented=Et,t.FeatureIndex=uu,t.FillBucket=ms,t.FillExtrusionBucket=Os,t.ImageAtlas=Ll,t.ImagePosition=Sl,t.LineBucket=qs,t.LngLat=Wc,t.LngLatBounds=Yc,t.MercatorCoordinate=tu,t.ONE_EM=24,t.OverscaledTileID=nu,t.Point=i,t.Point$1=i,t.Properties=Si,t.Protobuf=al,t.RGBAImage=Eo,t.RequestManager=H,t.RequestPerformance=mu,t.ResourceType=dt,t.SegmentVector=pa,t.SourceFeatureState=cu,t.StructArrayLayout1ui2=$i,t.StructArrayLayout2f1f2i16=qi,t.StructArrayLayout2i4=zi,t.StructArrayLayout3ui6=Yi,t.StructArrayLayout4i8=Di,t.SymbolBucket=Mc,t.Texture=Vc,t.Tile=du,t.Transitionable=mi,t.Uniform1f=Sa,t.Uniform1i=Ma,t.Uniform2f=Ea,t.Uniform3f=La,t.Uniform4f=Ca,t.UniformColor=Pa,t.UniformMatrix4f=Oa,t.UnwrappedTileID=ru,t.ValidationError=Ct,t.WritingMode=Cl,t.ZoomHistory=Gn,t.add=function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t},t.addDynamicAttributes=wc,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);var n=t.length,i=new Array(t.length),a=null;t.forEach((function(t,o){e(t,(function(t,e){t&&(a=t),i[o]=e,0==--n&&r(a,i)}))}))},t.bezier=o,t.bindAll=g,t.browser=R,t.cacheEntryPossiblyAdded=function(t){++ht>ot&&(t.getActor().send("enforceCacheSizeLimit",at),ht=0)},t.clamp=l,t.clearTileCache=function(t){var e=self.caches.delete("mapbox-tiles");t&&e.catch(t).then((function(){return t()}))},t.clipLine=ec,t.clone=function(t){var e=new fo(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=x,t.clone$2=function(t){var e=new fo(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.collisionCircleLayout=tl,t.config=F,t.create=function(){var t=new fo(16);return fo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new fo(9);return fo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new fo(4);return fo!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=Wr,t.createLayout=Ii,t.createStyleLayer=function(t){return"custom"===t.type?new Dc(t):new Rc[t.type](t)},t.cross=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=r[0],s=r[1],l=r[2];return t[0]=i*l-a*s,t[1]=a*o-n*l,t[2]=n*s-i*o,t},t.deepEqual=function t(e,r){if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(var n=0;n<e.length;n++)if(!t(e[n],r[n]))return!1;return!0}if("object"==typeof e&&null!==e&&null!==r){if("object"!=typeof r)return!1;if(Object.keys(e).length!==Object.keys(r).length)return!1;for(var i in e)if(!t(e[i],r[i]))return!1;return!0}return e===r},t.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.dot$1=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},t.ease=s,t.emitValidationErrors=On,t.endsWith=m,t.enforceCacheSizeLimit=function(t){st(),Q&&Q.then((function(e){e.keys().then((function(r){for(var n=0;n<r.length-t;n++)e.delete(r[n])}))}))},t.evaluateSizeForFeature=Yl,t.evaluateSizeForZoom=Wl,t.evaluateVariableOffset=dc,t.evented=ci,t.extend=u,t.featureFilter=sn,t.filterObject=y,t.fromRotation=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=-r,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=Ul,t.getAnchorJustification=gc,t.getArrayBuffer=xt,t.getImage=Tt,t.getJSON=function(t,e){return yt(u(t,{type:"json"}),e)},t.getRTLTextPluginStatus=ui,t.getReferrer=mt,t.getVideo=function(t,e){var r,n,i=self.document.createElement("video");i.muted=!0,i.onloadstart=function(){e(null,i)};for(var a=0;a<t.length;a++){var o=self.document.createElement("source");r=t[a],n=void 0,(n=self.document.createElement("a")).href=r,(n.protocol!==self.document.location.protocol||n.host!==self.document.location.host)&&(i.crossOrigin="Anonymous"),o.src=t[a],i.appendChild(o)}return{cancel:function(){}}},t.identity=ho,t.invert=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],p=e[11],d=e[12],g=e[13],m=e[14],v=e[15],y=r*s-n*o,x=r*l-i*o,b=r*c-a*o,_=n*l-i*s,w=n*c-a*s,T=i*c-a*l,k=u*g-f*d,A=u*m-h*d,M=u*v-p*d,S=f*m-h*g,E=f*v-p*g,L=h*v-p*m,C=y*L-x*E+b*S+_*M-w*A+T*k;return C?(C=1/C,t[0]=(s*L-l*E+c*S)*C,t[1]=(i*E-n*L-a*S)*C,t[2]=(g*T-m*w+v*_)*C,t[3]=(h*w-f*T-p*_)*C,t[4]=(l*M-o*L-c*A)*C,t[5]=(r*L-i*M+a*A)*C,t[6]=(m*b-d*T-v*x)*C,t[7]=(u*T-h*b+p*x)*C,t[8]=(o*E-s*M+c*k)*C,t[9]=(n*M-r*E-a*k)*C,t[10]=(d*w-g*b+v*y)*C,t[11]=(f*b-u*w-p*y)*C,t[12]=(s*A-o*S-l*k)*C,t[13]=(r*S-n*A+i*k)*C,t[14]=(g*x-d*_-m*y)*C,t[15]=(u*_-f*x+h*y)*C,t):null},t.isChar=Yn,t.isMapboxURL=q,t.keysDifference=function(t,e){var r=[];for(var n in t)n in e||r.push(n);return r},t.makeRequest=yt,t.mapObject=v,t.mercatorXfromLng=Jc,t.mercatorYfromLat=Kc,t.mercatorZfromAltitude=Qc,t.mul=go,t.multiply=po,t.mvt=Ls,t.normalize=function(t,e){var r=e[0],n=e[1],i=e[2],a=r*r+n*n+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t},t.number=qe,t.offscreenCanvasSupported=pt,t.ortho=function(t,e,r,n,i,a,o){var s=1/(e-r),l=1/(n-i),c=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*s,t[13]=(i+n)*l,t[14]=(o+a)*c,t[15]=1,t},t.parseGlyphPBF=function(t){return new al(t).readFields(Tl,[])},t.pbf=al,t.performSymbolLayout=function(t,e,r,n,i,a,o){t.createArrays();var s=512*t.overscaling;t.tilePixelRatio=8192/s,t.compareText={},t.iconsNeedLinear=!1;var l=t.layers[0].layout,c=t.layers[0]._unevaluatedLayout._values,u={};if("composite"===t.textSizeData.kind){var f=t.textSizeData,h=f.minZoom,p=f.maxZoom;u.compositeTextSizes=[c["text-size"].possiblyEvaluate(new pi(h),o),c["text-size"].possiblyEvaluate(new pi(p),o)]}if("composite"===t.iconSizeData.kind){var d=t.iconSizeData,g=d.minZoom,m=d.maxZoom;u.compositeIconSizes=[c["icon-size"].possiblyEvaluate(new pi(g),o),c["icon-size"].possiblyEvaluate(new pi(m),o)]}u.layoutTextSize=c["text-size"].possiblyEvaluate(new pi(t.zoom+1),o),u.layoutIconSize=c["icon-size"].possiblyEvaluate(new pi(t.zoom+1),o),u.textMaxSize=c["text-size"].possiblyEvaluate(new pi(18));for(var v=24*l.get("text-line-height"),y="map"===l.get("text-rotation-alignment")&&"point"!==l.get("symbol-placement"),x=l.get("text-keep-upright"),b=l.get("text-size"),w=function(){var a=k[T],s=l.get("text-font").evaluate(a,{},o).join(","),c=b.evaluate(a,{},o),f=u.layoutTextSize.evaluate(a,{},o),h=u.layoutIconSize.evaluate(a,{},o),p={horizontal:{},vertical:void 0},d=a.text,g=[0,0];if(d){var m=d.toString(),w=24*l.get("text-letter-spacing").evaluate(a,{},o),A=function(t){for(var e=0,r=t;e<r.length;e+=1){if(!Xn(r[e].charCodeAt(0)))return!1}return!0}(m)?w:0,M=l.get("text-anchor").evaluate(a,{},o),S=l.get("text-variable-anchor");if(!S){var E=l.get("text-radial-offset").evaluate(a,{},o);g=E?dc(M,[24*E,pc]):l.get("text-offset").evaluate(a,{},o).map((function(t){return 24*t}))}var L=y?"center":l.get("text-justify").evaluate(a,{},o),C=l.get("symbol-placement"),P="point"===C?24*l.get("text-max-width").evaluate(a,{},o):0,I=function(){t.allowVerticalPlacement&&Wn(m)&&(p.vertical=Ol(d,e,r,i,s,P,v,M,"left",A,g,Cl.vertical,!0,C,f,c))};if(!y&&S){for(var O="auto"===L?S.map((function(t){return gc(t)})):[L],z=!1,D=0;D<O.length;D++){var R=O[D];if(!p.horizontal[R])if(z)p.horizontal[R]=p.horizontal[0];else{var F=Ol(d,e,r,i,s,P,v,"center",R,A,g,Cl.horizontal,!1,C,f,c);F&&(p.horizontal[R]=F,z=1===F.positionedLines.length)}}I()}else{"auto"===L&&(L=gc(M));var B=Ol(d,e,r,i,s,P,v,M,L,A,g,Cl.horizontal,!1,C,f,c);B&&(p.horizontal[L]=B),I(),Wn(m)&&y&&x&&(p.vertical=Ol(d,e,r,i,s,P,v,M,L,A,g,Cl.vertical,!1,C,f,c))}}var N=void 0,j=!1;if(a.icon&&a.icon.name){var U=n[a.icon.name];U&&(N=function(t,e,r){var n=Ul(r),i=n.horizontalAlign,a=n.verticalAlign,o=e[0],s=e[1],l=o-t.displaySize[0]*i,c=l+t.displaySize[0],u=s-t.displaySize[1]*a;return{image:t,top:u,bottom:u+t.displaySize[1],left:l,right:c}}(i[a.icon.name],l.get("icon-offset").evaluate(a,{},o),l.get("icon-anchor").evaluate(a,{},o)),j=U.sdf,void 0===t.sdfIcons?t.sdfIcons=U.sdf:t.sdfIcons!==U.sdf&&_("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(U.pixelRatio!==t.pixelRatio||0!==l.get("icon-rotate").constantOr(1))&&(t.iconsNeedLinear=!0))}var V=vc(p.horizontal)||p.vertical;t.iconsInText=!!V&&V.iconsInText,(V||N)&&function(t,e,r,n,i,a,o,s,l,c,u){var f=a.textMaxSize.evaluate(e,{});void 0===f&&(f=o);var h,p=t.layers[0].layout,d=p.get("icon-offset").evaluate(e,{},u),g=vc(r.horizontal),m=o/24,v=t.tilePixelRatio*m,y=t.tilePixelRatio*f/24,x=t.tilePixelRatio*s,b=t.tilePixelRatio*p.get("symbol-spacing"),w=p.get("text-padding")*t.tilePixelRatio,T=p.get("icon-padding")*t.tilePixelRatio,k=p.get("text-max-angle")/180*Math.PI,A="map"===p.get("text-rotation-alignment")&&"point"!==p.get("symbol-placement"),M="map"===p.get("icon-rotation-alignment")&&"point"!==p.get("symbol-placement"),S=p.get("symbol-placement"),E=b/2,L=p.get("icon-text-fit");n&&"none"!==L&&(t.allowVerticalPlacement&&r.vertical&&(h=Hl(n,r.vertical,L,p.get("icon-text-fit-padding"),d,m)),g&&(n=Hl(n,g,L,p.get("icon-text-fit-padding"),d,m)));var C=function(s,f){f.x<0||f.x>=8192||f.y<0||f.y>=8192||function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,w,T,k,A){var M,S,E,L,C,P=t.addToLineVertexArray(e,r),I=0,O=0,z=0,D=0,R=-1,F=-1,B={},N=ya(""),j=0,U=0;void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(M=s.layout.get("text-offset").evaluate(b,{},k).map((function(t){return 24*t})),j=M[0],U=M[1]):(j=24*s.layout.get("text-radial-offset").evaluate(b,{},k),U=pc);if(t.allowVerticalPlacement&&n.vertical){var V=s.layout.get("text-rotate").evaluate(b,{},k)+90,H=n.vertical;L=new sc(l,e,c,u,f,H,h,p,d,V),o&&(C=new sc(l,e,c,u,f,o,m,v,d,V))}if(i){var q=s.layout.get("icon-rotate").evaluate(b,{}),G="none"!==s.layout.get("icon-text-fit"),Y=rc(i,q,T,G),W=o?rc(o,q,T,G):void 0;E=new sc(l,e,c,u,f,i,m,v,!1,q),I=4*Y.length;var X=t.iconSizeData,Z=null;"source"===X.kind?(Z=[128*s.layout.get("icon-size").evaluate(b,{})])[0]>32640&&_(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===X.kind&&((Z=[128*w.compositeIconSizes[0].evaluate(b,{},k),128*w.compositeIconSizes[1].evaluate(b,{},k)])[0]>32640||Z[1]>32640)&&_(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),t.addSymbols(t.icon,Y,Z,x,y,b,!1,e,P.lineStartIndex,P.lineLength,-1,k),R=t.icon.placedSymbolArray.length-1,W&&(O=4*W.length,t.addSymbols(t.icon,W,Z,x,y,b,Cl.vertical,e,P.lineStartIndex,P.lineLength,-1,k),F=t.icon.placedSymbolArray.length-1)}for(var J in n.horizontal){var K=n.horizontal[J];if(!S){N=ya(K.text);var Q=s.layout.get("text-rotate").evaluate(b,{},k);S=new sc(l,e,c,u,f,K,h,p,d,Q)}var $=1===K.positionedLines.length;if(z+=mc(t,e,K,a,s,d,b,g,P,n.vertical?Cl.horizontal:Cl.horizontalOnly,$?Object.keys(n.horizontal):[J],B,R,w,k),$)break}n.vertical&&(D+=mc(t,e,n.vertical,a,s,d,b,g,P,Cl.vertical,["vertical"],B,F,w,k));var tt=S?S.boxStartIndex:t.collisionBoxArray.length,et=S?S.boxEndIndex:t.collisionBoxArray.length,rt=L?L.boxStartIndex:t.collisionBoxArray.length,nt=L?L.boxEndIndex:t.collisionBoxArray.length,it=E?E.boxStartIndex:t.collisionBoxArray.length,at=E?E.boxEndIndex:t.collisionBoxArray.length,ot=C?C.boxStartIndex:t.collisionBoxArray.length,st=C?C.boxEndIndex:t.collisionBoxArray.length,lt=-1,ct=function(t,e){return t&&t.circleDiameter?Math.max(t.circleDiameter,e):e};lt=ct(S,lt),lt=ct(L,lt),lt=ct(E,lt);var ut=(lt=ct(C,lt))>-1?1:0;ut&&(lt*=A/24);t.glyphOffsetArray.length>=Mc.MAX_GLYPHS&&_("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907");void 0!==b.sortKey&&t.addToSortKeyRanges(t.symbolInstances.length,b.sortKey);t.symbolInstances.emplaceBack(e.x,e.y,B.right>=0?B.right:-1,B.center>=0?B.center:-1,B.left>=0?B.left:-1,B.vertical||-1,R,F,N,tt,et,rt,nt,it,at,ot,st,c,z,D,I,O,ut,0,h,j,U,lt)}(t,f,s,r,n,i,h,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,v,w,A,l,x,T,M,d,e,a,c,u,o)};if("line"===S)for(var P=0,I=ec(e.geometry,0,0,8192,8192);P<I.length;P+=1)for(var O=I[P],z=tc(O,b,k,r.vertical||g,n,24,y,t.overscaling,8192),D=0,R=z;D<R.length;D+=1){var F=R[D],B=g;B&&yc(t,B.text,E,F)||C(O,F)}else if("line-center"===S)for(var N=0,j=e.geometry;N<j.length;N+=1){var U=j[N];if(U.length>1){var V=$l(U,k,r.vertical||g,n,24,y);V&&C(U,V)}}else if("Polygon"===e.type)for(var H=0,q=hs(e.geometry,0);H<q.length;H+=1){var G=q[H],Y=uc(G,16);C(G[0],new ql(Y.x,Y.y,0))}else if("LineString"===e.type)for(var W=0,X=e.geometry;W<X.length;W+=1){var Z=X[W];C(Z,new ql(Z[0].x,Z[0].y,0))}else if("Point"===e.type)for(var J=0,K=e.geometry;J<K.length;J+=1)for(var Q=K[J],$=0,tt=Q;$<tt.length;$+=1){var et=tt[$];C([et],new ql(et.x,et.y,0))}}(t,a,p,N,n,u,f,h,g,j,o)},T=0,k=t.features;T<k.length;T+=1)w();a&&t.generateCollisionDebugBuffers()},t.perspective=function(t,e,r,n,i){var a,o=1/Math.tan(e/2);return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(n-i),t[10]=(i+n)*a,t[14]=2*i*n*a):(t[10]=-1,t[14]=-2*n),t},t.pick=function(t,e){for(var r={},n=0;n<e.length;n++){var i=e[n];i in t&&(r[i]=t[i])}return r},t.plugin=hi,t.polygonIntersectsPolygon=Za,t.postMapLoadEvent=it,t.postTurnstileEvent=rt,t.potpack=Ml,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=Nn,t.registerForPluginStateChange=function(t){return t({pluginStatus:ai,pluginURL:oi}),ci.on("pluginStateChange",t),t},t.rotate=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=n*l+a*s,t[1]=i*l+o*s,t[2]=n*-s+a*l,t[3]=i*-s+o*l,t},t.rotateX=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=a*i+c*n,t[5]=o*i+u*n,t[6]=s*i+f*n,t[7]=l*i+h*n,t[8]=c*i-a*n,t[9]=u*i-o*n,t[10]=f*i-s*n,t[11]=h*i-l*n,t},t.rotateZ=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],l=e[3],c=e[4],u=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i+c*n,t[1]=o*i+u*n,t[2]=s*i+f*n,t[3]=l*i+h*n,t[4]=c*i-a*n,t[5]=u*i-o*n,t[6]=f*i-s*n,t[7]=h*i-l*n,t},t.scale=function(t,e,r){var n=r[0],i=r[1],a=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.scale$1=function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t},t.scale$2=function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t},t.setCacheLimits=function(t,e){at=t,ot=e},t.setRTLTextPlugin=function(t,e,r){if(void 0===r&&(r=!1),ai===ti||ai===ei||ai===ri)throw new Error("setRTLTextPlugin cannot be called multiple times.");oi=R.resolveURL(t),ai=ti,ii=e,li(),r||fi()},t.sphericalToCartesian=function(t){var e=t[0],r=t[1],n=t[2];return r+=90,r*=Math.PI/180,n*=Math.PI/180,{x:e*Math.cos(r)*Math.sin(n),y:e*Math.sin(r)*Math.sin(n),z:e*Math.cos(n)}},t.sqrLen=bo,t.styleSpec=Lt,t.sub=yo,t.symbolSize=Xl,t.transformMat3=function(t,e,r){var n=e[0],i=e[1],a=e[2];return t[0]=n*r[0]+i*r[3]+a*r[6],t[1]=n*r[1]+i*r[4]+a*r[7],t[2]=n*r[2]+i*r[5]+a*r[8],t},t.transformMat4=xo,t.translate=function(t,e,r){var n,i,a,o,s,l,c,u,f,h,p,d,g=r[0],m=r[1],v=r[2];return e===t?(t[12]=e[0]*g+e[4]*m+e[8]*v+e[12],t[13]=e[1]*g+e[5]*m+e[9]*v+e[13],t[14]=e[2]*g+e[6]*m+e[10]*v+e[14],t[15]=e[3]*g+e[7]*m+e[11]*v+e[15]):(n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=c,t[7]=u,t[8]=f,t[9]=h,t[10]=p,t[11]=d,t[12]=n*g+s*m+f*v+e[12],t[13]=i*g+l*m+h*v+e[13],t[14]=a*g+c*m+p*v+e[14],t[15]=o*g+u*m+d*v+e[15]),t},t.triggerPluginCompletionEvent=si,t.uniqueId=h,t.validateCustomStyleLayer=function(t){var e=[],r=t.id;return void 0===r&&e.push({message:"layers."+r+': missing required property "id"'}),void 0===t.render&&e.push({message:"layers."+r+': missing required method "render"'}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),e},t.validateLight=Cn,t.validateStyle=Ln,t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.vectorTile=Ls,t.version="1.10.1",t.warnOnce=_,t.webpSupported=B,t.window=self,t.wrap=c})),n(0,(function(t){function e(t){var r=typeof t;if("number"===r||"boolean"===r||"string"===r||null==t)return JSON.stringify(t);if(Array.isArray(t)){for(var n="[",i=0,a=t;i<a.length;i+=1){n+=e(a[i])+","}return n+"]"}for(var o=Object.keys(t).sort(),s="{",l=0;l<o.length;l++)s+=JSON.stringify(o[l])+":"+e(t[o[l]])+",";return s+"}"}function r(r){for(var n="",i=0,a=t.refProperties;i<a.length;i+=1){n+="/"+e(r[a[i]])}return n}var n=function(t){this.keyCache={},t&&this.replace(t)};n.prototype.replace=function(t){this._layerConfigs={},this._layers={},this.update(t,[])},n.prototype.update=function(e,n){for(var i=this,a=0,o=e;a<o.length;a+=1){var s=o[a];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=t.createStyleLayer(s);l._featureFilter=t.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var c=0,u=n;c<u.length;c+=1){var f=u[c];delete this.keyCache[f],delete this._layerConfigs[f],delete this._layers[f]}this.familiesBySource={};for(var h=0,p=function(t,e){for(var n={},i=0;i<t.length;i++){var a=e&&e[t[i].id]||r(t[i]);e&&(e[t[i].id]=a);var o=n[a];o||(o=n[a]=[]),o.push(t[i])}var s=[];for(var l in n)s.push(n[l]);return s}(t.values(this._layerConfigs),this.keyCache);h<p.length;h+=1){var d=p[h].map((function(t){return i._layers[t.id]})),g=d[0];if("none"!==g.visibility){var m=g.source||"",v=this.familiesBySource[m];v||(v=this.familiesBySource[m]={});var y=g.sourceLayer||"_geojsonTileLayer",x=v[y];x||(x=v[y]=[]),x.push(d)}}};var i=function(e){var r={},n=[];for(var i in e){var a=e[i],o=r[i]={};for(var s in a){var l=a[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var c={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};n.push(c),o[s]={rect:c,metrics:l.metrics}}}}var u=t.potpack(n),f=u.w,h=u.h,p=new t.AlphaImage({width:f||1,height:h||1});for(var d in e){var g=e[d];for(var m in g){var v=g[+m];if(v&&0!==v.bitmap.width&&0!==v.bitmap.height){var y=r[d][m].rect;t.AlphaImage.copy(v.bitmap,p,{x:0,y:0},{x:y.x+1,y:y.y+1},v.bitmap)}}}this.image=p,this.positions=r};t.register("GlyphAtlas",i);var a=function(e){this.tileID=new t.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies,this.promoteId=e.promoteId};function o(e,r,n){for(var i=new t.EvaluationParameters(r),a=0,o=e;a<o.length;a+=1){o[a].recalculate(i,n)}}function s(e,r){var n=t.getArrayBuffer(e.request,(function(e,n,i,a){e?r(e):n&&r(null,{vectorTile:new t.vectorTile.VectorTile(new t.pbf(n)),rawData:n,cacheControl:i,expires:a})}));return function(){n.cancel(),r()}}a.prototype.parse=function(e,r,n,a,s){var l=this;this.status="parsing",this.data=e,this.collisionBoxArray=new t.CollisionBoxArray;var c=new t.DictionaryCoder(Object.keys(e.layers).sort()),u=new t.FeatureIndex(this.tileID,this.promoteId);u.bucketLayerIDs=[];var f,h,p,d,g={},m={featureIndex:u,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:n},v=r.familiesBySource[this.source];for(var y in v){var x=e.layers[y];if(x){1===x.version&&t.warnOnce('Vector tile source "'+this.source+'" layer "'+y+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var b=c.encode(y),_=[],w=0;w<x.length;w++){var T=x.feature(w),k=u.getId(T,y);_.push({feature:T,id:k,index:w,sourceLayerIndex:b})}for(var A=0,M=v[y];A<M.length;A+=1){var S=M[A],E=S[0];if(!(E.minzoom&&this.zoom<Math.floor(E.minzoom)))if(!(E.maxzoom&&this.zoom>=E.maxzoom))if("none"!==E.visibility)o(S,this.zoom,n),(g[E.id]=E.createBucket({index:u.bucketLayerIDs.length,layers:S,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:b,sourceID:this.source})).populate(_,m,this.tileID.canonical),u.bucketLayerIDs.push(S.map((function(t){return t.id})))}}}var L=t.mapObject(m.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(L).length?a.send("getGlyphs",{uid:this.uid,stacks:L},(function(t,e){f||(f=t,h=e,I.call(l))})):h={};var C=Object.keys(m.iconDependencies);C.length?a.send("getImages",{icons:C,source:this.source,tileID:this.tileID,type:"icons"},(function(t,e){f||(f=t,p=e,I.call(l))})):p={};var P=Object.keys(m.patternDependencies);function I(){if(f)return s(f);if(h&&p&&d){var e=new i(h),r=new t.ImageAtlas(p,d);for(var a in g){var l=g[a];l instanceof t.SymbolBucket?(o(l.layers,this.zoom,n),t.performSymbolLayout(l,h,e.positions,p,r.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):l.hasPattern&&(l instanceof t.LineBucket||l instanceof t.FillBucket||l instanceof t.FillExtrusionBucket)&&(o(l.layers,this.zoom,n),l.addFeatures(m,this.tileID.canonical,r.patternPositions))}this.status="done",s(null,{buckets:t.values(g).filter((function(t){return!t.isEmpty()})),featureIndex:u,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:r,glyphMap:this.returnDependencies?h:null,iconMap:this.returnDependencies?p:null,glyphPositions:this.returnDependencies?e.positions:null})}}P.length?a.send("getImages",{icons:P,source:this.source,tileID:this.tileID,type:"patterns"},(function(t,e){f||(f=t,d=e,I.call(l))})):d={},I.call(this)};var l=function(t,e,r,n){this.actor=t,this.layerIndex=e,this.availableImages=r,this.loadVectorData=n||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(e,r){var n=this,i=e.uid;this.loading||(this.loading={});var o=!!(e&&e.request&&e.request.collectResourceTiming)&&new t.RequestPerformance(e.request),s=this.loading[i]=new a(e);s.abort=this.loadVectorData(e,(function(e,a){if(delete n.loading[i],e||!a)return s.status="done",n.loaded[i]=s,r(e);var l=a.rawData,c={};a.expires&&(c.expires=a.expires),a.cacheControl&&(c.cacheControl=a.cacheControl);var u={};if(o){var f=o.finish();f&&(u.resourceTiming=JSON.parse(JSON.stringify(f)))}s.vectorTile=a.vectorTile,s.parse(a.vectorTile,n.layerIndex,n.availableImages,n.actor,(function(e,n){if(e||!n)return r(e);r(null,t.extend({rawTileData:l.slice(0)},n,c,u))})),n.loaded=n.loaded||{},n.loaded[i]=s}))},l.prototype.reloadTile=function(t,e){var r=this,n=this.loaded,i=t.uid,a=this;if(n&&n[i]){var o=n[i];o.showCollisionBoxes=t.showCollisionBoxes;var s=function(t,n){var i=o.reloadCallback;i&&(delete o.reloadCallback,o.parse(o.vectorTile,a.layerIndex,r.availableImages,a.actor,i)),e(t,n)};"parsing"===o.status?o.reloadCallback=s:"done"===o.status&&(o.vectorTile?o.parse(o.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},l.prototype.abortTile=function(t,e){var r=this.loading,n=t.uid;r&&r[n]&&r[n].abort&&(r[n].abort(),delete r[n]),e()},l.prototype.removeTile=function(t,e){var r=this.loaded,n=t.uid;r&&r[n]&&delete r[n],e()};var c=t.window.ImageBitmap,u=function(){this.loaded={}};u.prototype.loadTile=function(e,r){var n=e.uid,i=e.encoding,a=e.rawImageData,o=c&&a instanceof c?this.getImageData(a):a,s=new t.DEMData(n,o,i);this.loaded=this.loaded||{},this.loaded[n]=s,r(null,s)},u.prototype.getImageData=function(e){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(e.width,e.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=e.width,this.offscreenCanvas.height=e.height,this.offscreenCanvasContext.drawImage(e,0,0,e.width,e.height);var r=this.offscreenCanvasContext.getImageData(-1,-1,e.width+2,e.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new t.RGBAImage({width:r.width,height:r.height},r.data)},u.prototype.removeTile=function(t){var e=this.loaded,r=t.uid;e&&e[r]&&delete e[r]};var f=function t(e,r){var n,i=e&&e.type;if("FeatureCollection"===i)for(n=0;n<e.features.length;n++)t(e.features[n],r);else if("GeometryCollection"===i)for(n=0;n<e.geometries.length;n++)t(e.geometries[n],r);else if("Feature"===i)t(e.geometry,r);else if("Polygon"===i)h(e.coordinates,r);else if("MultiPolygon"===i)for(n=0;n<e.coordinates.length;n++)h(e.coordinates[n],r);return e};function h(t,e){if(0!==t.length){p(t[0],e);for(var r=1;r<t.length;r++)p(t[r],!e)}}function p(t,e){for(var r=0,n=0,i=t.length,a=i-1;n<i;a=n++)r+=(t[n][0]-t[a][0])*(t[a][1]+t[n][1]);r>=0!=!!e&&t.reverse()}var d=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,g=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};g.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],r=0,n=this._feature.geometry;r<n.length;r+=1){var i=n[r];e.push([new t.Point$1(i[0],i[1])])}return e}for(var a=[],o=0,s=this._feature.geometry;o<s.length;o+=1){for(var l=[],c=0,u=s[o];c<u.length;c+=1){var f=u[c];l.push(new t.Point$1(f[0],f[1]))}a.push(l)}return a},g.prototype.toGeoJSON=function(t,e,r){return d.call(this,t,e,r)};var m=function(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=t.EXTENT,this.length=e.length,this._features=e};m.prototype.feature=function(t){return new g(this._features[t])};var v=t.vectorTile.VectorTileFeature,y=x;function x(t,e){this.options=e||{},this.features=t,this.length=t.length}function b(t,e){this.id="number"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}x.prototype.feature=function(t){return new b(this.features[t],this.options.extent)},b.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var r=0;r<e.length;r++){for(var n=e[r],i=[],a=0;a<n.length;a++)i.push(new t.Point$1(n[a][0],n[a][1]));this.geometry.push(i)}return this.geometry},b.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,r=-1/0,n=1/0,i=-1/0,a=0;a<t.length;a++)for(var o=t[a],s=0;s<o.length;s++){var l=o[s];e=Math.min(e,l.x),r=Math.max(r,l.x),n=Math.min(n,l.y),i=Math.max(i,l.y)}return[e,n,r,i]},b.prototype.toGeoJSON=v.prototype.toGeoJSON;var _=A,w=A,T=function(t,e){e=e||{};var r={};for(var n in t)r[n]=new y(t[n].features,e),r[n].name=n,r[n].version=e.version,r[n].extent=e.extent;return A({layers:r})},k=y;function A(e){var r=new t.pbf;return function(t,e){for(var r in t.layers)e.writeMessage(3,M,t.layers[r])}(e,r),r.finish()}function M(t,e){var r;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);var n={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<t.length;r++)n.feature=t.feature(r),e.writeMessage(2,S,n);var i=n.keys;for(r=0;r<i.length;r++)e.writeStringField(3,i[r]);var a=n.values;for(r=0;r<a.length;r++)e.writeMessage(4,I,a[r])}function S(t,e){var r=t.feature;void 0!==r.id&&e.writeVarintField(1,r.id),e.writeMessage(2,E,t),e.writeVarintField(3,r.type),e.writeMessage(4,P,r)}function E(t,e){var r=t.feature,n=t.keys,i=t.values,a=t.keycache,o=t.valuecache;for(var s in r.properties){var l=a[s];void 0===l&&(n.push(s),l=n.length-1,a[s]=l),e.writeVarint(l);var c=r.properties[s],u=typeof c;"string"!==u&&"boolean"!==u&&"number"!==u&&(c=JSON.stringify(c));var f=u+":"+c,h=o[f];void 0===h&&(i.push(c),h=i.length-1,o[f]=h),e.writeVarint(h)}}function L(t,e){return(e<<3)+(7&t)}function C(t){return t<<1^t>>31}function P(t,e){for(var r=t.loadGeometry(),n=t.type,i=0,a=0,o=r.length,s=0;s<o;s++){var l=r[s],c=1;1===n&&(c=l.length),e.writeVarint(L(1,c));for(var u=3===n?l.length-1:l.length,f=0;f<u;f++){1===f&&1!==n&&e.writeVarint(L(2,u-1));var h=l[f].x-i,p=l[f].y-a;e.writeVarint(C(h)),e.writeVarint(C(p)),i+=h,a+=p}3===n&&e.writeVarint(L(7,1))}}function I(t,e){var r=typeof t;"string"===r?e.writeStringField(1,t):"boolean"===r?e.writeBooleanField(7,t):"number"===r&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function O(t,e,r,n,i,a){if(!(i-n<=r)){var o=n+i>>1;!function t(e,r,n,i,a,o){for(;a>i;){if(a-i>600){var s=a-i+1,l=n-i+1,c=Math.log(s),u=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1),h=Math.max(i,Math.floor(n-l*u/s+f)),p=Math.min(a,Math.floor(n+(s-l)*u/s+f));t(e,r,n,h,p,o)}var d=r[2*n+o],g=i,m=a;for(z(e,r,i,n),r[2*a+o]>d&&z(e,r,i,a);g<m;){for(z(e,r,g,m),g++,m--;r[2*g+o]<d;)g++;for(;r[2*m+o]>d;)m--}r[2*i+o]===d?z(e,r,i,m):(m++,z(e,r,m,a)),m<=n&&(i=m+1),n<=m&&(a=m-1)}}(t,e,o,n,i,a%2),O(t,e,r,n,o-1,a+1),O(t,e,r,o+1,i,a+1)}}function z(t,e,r,n){D(t,r,n),D(e,2*r,2*n),D(e,2*r+1,2*n+1)}function D(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function R(t,e,r,n){var i=t-r,a=e-n;return i*i+a*a}_.fromVectorTileJs=w,_.fromGeojsonVt=T,_.GeoJSONWrapper=k;var F=function(t){return t[0]},B=function(t){return t[1]},N=function(t,e,r,n,i){void 0===e&&(e=F),void 0===r&&(r=B),void 0===n&&(n=64),void 0===i&&(i=Float64Array),this.nodeSize=n,this.points=t;for(var a=t.length<65536?Uint16Array:Uint32Array,o=this.ids=new a(t.length),s=this.coords=new i(2*t.length),l=0;l<t.length;l++)o[l]=l,s[2*l]=e(t[l]),s[2*l+1]=r(t[l]);O(o,s,n,0,o.length-1,0)};N.prototype.range=function(t,e,r,n){return function(t,e,r,n,i,a,o){for(var s,l,c=[0,t.length-1,0],u=[];c.length;){var f=c.pop(),h=c.pop(),p=c.pop();if(h-p<=o)for(var d=p;d<=h;d++)s=e[2*d],l=e[2*d+1],s>=r&&s<=i&&l>=n&&l<=a&&u.push(t[d]);else{var g=Math.floor((p+h)/2);s=e[2*g],l=e[2*g+1],s>=r&&s<=i&&l>=n&&l<=a&&u.push(t[g]);var m=(f+1)%2;(0===f?r<=s:n<=l)&&(c.push(p),c.push(g-1),c.push(m)),(0===f?i>=s:a>=l)&&(c.push(g+1),c.push(h),c.push(m))}}return u}(this.ids,this.coords,t,e,r,n,this.nodeSize)},N.prototype.within=function(t,e,r){return function(t,e,r,n,i,a){for(var o=[0,t.length-1,0],s=[],l=i*i;o.length;){var c=o.pop(),u=o.pop(),f=o.pop();if(u-f<=a)for(var h=f;h<=u;h++)R(e[2*h],e[2*h+1],r,n)<=l&&s.push(t[h]);else{var p=Math.floor((f+u)/2),d=e[2*p],g=e[2*p+1];R(d,g,r,n)<=l&&s.push(t[p]);var m=(c+1)%2;(0===c?r-i<=d:n-i<=g)&&(o.push(f),o.push(p-1),o.push(m)),(0===c?r+i>=d:n+i>=g)&&(o.push(p+1),o.push(u),o.push(m))}}return s}(this.ids,this.coords,t,e,r,this.nodeSize)};var j={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},U=function(t){this.options=X(Object.create(j),t),this.trees=new Array(this.options.maxZoom+1)};function V(t,e,r,n,i){return{x:t,y:e,zoom:1/0,id:r,parentId:-1,numPoints:n,properties:i}}function H(t,e){var r=t.geometry.coordinates,n=r[0],i=r[1];return{x:Y(n),y:W(i),zoom:1/0,index:e,parentId:-1}}function q(t){return{type:"Feature",id:t.id,properties:G(t),geometry:{type:"Point",coordinates:[(n=t.x,360*(n-.5)),(e=t.y,r=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var e,r,n}function G(t){var e=t.numPoints,r=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return X(X({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:r})}function Y(t){return t/360+.5}function W(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function X(t,e){for(var r in e)t[r]=e[r];return t}function Z(t){return t.x}function J(t){return t.y}function K(t,e,r,n,i,a){var o=i-r,s=a-n;if(0!==o||0!==s){var l=((t-r)*o+(e-n)*s)/(o*o+s*s);l>1?(r=i,n=a):l>0&&(r+=o*l,n+=s*l)}return(o=t-r)*o+(s=e-n)*s}function Q(t,e,r,n){var i={id:void 0===t?null:t,type:e,geometry:r,tags:n,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,r=t.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)$(t,e);else if("Polygon"===r||"MultiLineString"===r)for(var n=0;n<e.length;n++)$(t,e[n]);else if("MultiPolygon"===r)for(n=0;n<e.length;n++)for(var i=0;i<e[n].length;i++)$(t,e[n][i])}(i),i}function $(t,e){for(var r=0;r<e.length;r+=3)t.minX=Math.min(t.minX,e[r]),t.minY=Math.min(t.minY,e[r+1]),t.maxX=Math.max(t.maxX,e[r]),t.maxY=Math.max(t.maxY,e[r+1])}function tt(t,e,r,n){if(e.geometry){var i=e.geometry.coordinates,a=e.geometry.type,o=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],l=e.id;if(r.promoteId?l=e.properties[r.promoteId]:r.generateId&&(l=n||0),"Point"===a)et(i,s);else if("MultiPoint"===a)for(var c=0;c<i.length;c++)et(i[c],s);else if("LineString"===a)rt(i,s,o,!1);else if("MultiLineString"===a){if(r.lineMetrics){for(c=0;c<i.length;c++)s=[],rt(i[c],s,o,!1),t.push(Q(l,"LineString",s,e.properties));return}nt(i,s,o,!1)}else if("Polygon"===a)nt(i,s,o,!0);else{if("MultiPolygon"!==a){if("GeometryCollection"===a){for(c=0;c<e.geometry.geometries.length;c++)tt(t,{id:l,geometry:e.geometry.geometries[c],properties:e.properties},r,n);return}throw new Error("Input data is not a valid GeoJSON object.")}for(c=0;c<i.length;c++){var u=[];nt(i[c],u,o,!0),s.push(u)}}t.push(Q(l,a,s,e.properties))}}function et(t,e){e.push(it(t[0])),e.push(at(t[1])),e.push(0)}function rt(t,e,r,n){for(var i,a,o=0,s=0;s<t.length;s++){var l=it(t[s][0]),c=at(t[s][1]);e.push(l),e.push(c),e.push(0),s>0&&(o+=n?(i*c-l*a)/2:Math.sqrt(Math.pow(l-i,2)+Math.pow(c-a,2))),i=l,a=c}var u=e.length-3;e[2]=1,function t(e,r,n,i){for(var a,o=i,s=n-r>>1,l=n-r,c=e[r],u=e[r+1],f=e[n],h=e[n+1],p=r+3;p<n;p+=3){var d=K(e[p],e[p+1],c,u,f,h);if(d>o)a=p,o=d;else if(d===o){var g=Math.abs(p-s);g<l&&(a=p,l=g)}}o>i&&(a-r>3&&t(e,r,a,i),e[a+2]=o,n-a>3&&t(e,a,n,i))}(e,0,u,r),e[u+2]=1,e.size=Math.abs(o),e.start=0,e.end=e.size}function nt(t,e,r,n){for(var i=0;i<t.length;i++){var a=[];rt(t[i],a,r,n),e.push(a)}}function it(t){return t/360+.5}function at(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function ot(t,e,r,n,i,a,o,s){if(n/=e,a>=(r/=e)&&o<n)return t;if(o<r||a>=n)return null;for(var l=[],c=0;c<t.length;c++){var u=t[c],f=u.geometry,h=u.type,p=0===i?u.minX:u.minY,d=0===i?u.maxX:u.maxY;if(p>=r&&d<n)l.push(u);else if(!(d<r||p>=n)){var g=[];if("Point"===h||"MultiPoint"===h)st(f,g,r,n,i);else if("LineString"===h)lt(f,g,r,n,i,!1,s.lineMetrics);else if("MultiLineString"===h)ut(f,g,r,n,i,!1);else if("Polygon"===h)ut(f,g,r,n,i,!0);else if("MultiPolygon"===h)for(var m=0;m<f.length;m++){var v=[];ut(f[m],v,r,n,i,!0),v.length&&g.push(v)}if(g.length){if(s.lineMetrics&&"LineString"===h){for(m=0;m<g.length;m++)l.push(Q(u.id,h,g[m],u.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===g.length?(h="LineString",g=g[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===g.length?"Point":"MultiPoint"),l.push(Q(u.id,h,g,u.tags))}}}return l.length?l:null}function st(t,e,r,n,i){for(var a=0;a<t.length;a+=3){var o=t[a+i];o>=r&&o<=n&&(e.push(t[a]),e.push(t[a+1]),e.push(t[a+2]))}}function lt(t,e,r,n,i,a,o){for(var s,l,c=ct(t),u=0===i?ht:pt,f=t.start,h=0;h<t.length-3;h+=3){var p=t[h],d=t[h+1],g=t[h+2],m=t[h+3],v=t[h+4],y=0===i?p:d,x=0===i?m:v,b=!1;o&&(s=Math.sqrt(Math.pow(p-m,2)+Math.pow(d-v,2))),y<r?x>r&&(l=u(c,p,d,m,v,r),o&&(c.start=f+s*l)):y>n?x<n&&(l=u(c,p,d,m,v,n),o&&(c.start=f+s*l)):ft(c,p,d,g),x<r&&y>=r&&(l=u(c,p,d,m,v,r),b=!0),x>n&&y<=n&&(l=u(c,p,d,m,v,n),b=!0),!a&&b&&(o&&(c.end=f+s*l),e.push(c),c=ct(t)),o&&(f+=s)}var _=t.length-3;p=t[_],d=t[_+1],g=t[_+2],(y=0===i?p:d)>=r&&y<=n&&ft(c,p,d,g),_=c.length-3,a&&_>=3&&(c[_]!==c[0]||c[_+1]!==c[1])&&ft(c,c[0],c[1],c[2]),c.length&&e.push(c)}function ct(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function ut(t,e,r,n,i,a){for(var o=0;o<t.length;o++)lt(t[o],e,r,n,i,a,!1)}function ft(t,e,r,n){t.push(e),t.push(r),t.push(n)}function ht(t,e,r,n,i,a){var o=(a-e)/(n-e);return t.push(a),t.push(r+(i-r)*o),t.push(1),o}function pt(t,e,r,n,i,a){var o=(a-r)/(i-r);return t.push(e+(n-e)*o),t.push(a),t.push(1),o}function dt(t,e){for(var r=[],n=0;n<t.length;n++){var i,a=t[n],o=a.type;if("Point"===o||"MultiPoint"===o||"LineString"===o)i=gt(a.geometry,e);else if("MultiLineString"===o||"Polygon"===o){i=[];for(var s=0;s<a.geometry.length;s++)i.push(gt(a.geometry[s],e))}else if("MultiPolygon"===o)for(i=[],s=0;s<a.geometry.length;s++){for(var l=[],c=0;c<a.geometry[s].length;c++)l.push(gt(a.geometry[s][c],e));i.push(l)}r.push(Q(a.id,o,i,a.tags))}return r}function gt(t,e){var r=[];r.size=t.size,void 0!==t.start&&(r.start=t.start,r.end=t.end);for(var n=0;n<t.length;n+=3)r.push(t[n]+e,t[n+1],t[n+2]);return r}function mt(t,e){if(t.transformed)return t;var r,n,i,a=1<<t.z,o=t.x,s=t.y;for(r=0;r<t.features.length;r++){var l=t.features[r],c=l.geometry,u=l.type;if(l.geometry=[],1===u)for(n=0;n<c.length;n+=2)l.geometry.push(vt(c[n],c[n+1],e,a,o,s));else for(n=0;n<c.length;n++){var f=[];for(i=0;i<c[n].length;i+=2)f.push(vt(c[n][i],c[n][i+1],e,a,o,s));l.geometry.push(f)}}return t.transformed=!0,t}function vt(t,e,r,n,i,a){return[Math.round(r*(t*n-i)),Math.round(r*(e*n-a))]}function yt(t,e,r,n,i){for(var a=e===i.maxZoom?0:i.tolerance/((1<<e)*i.extent),o={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:n,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){o.numFeatures++,xt(o,t[s],a,i);var l=t[s].minX,c=t[s].minY,u=t[s].maxX,f=t[s].maxY;l<o.minX&&(o.minX=l),c<o.minY&&(o.minY=c),u>o.maxX&&(o.maxX=u),f>o.maxY&&(o.maxY=f)}return o}function xt(t,e,r,n){var i=e.geometry,a=e.type,o=[];if("Point"===a||"MultiPoint"===a)for(var s=0;s<i.length;s+=3)o.push(i[s]),o.push(i[s+1]),t.numPoints++,t.numSimplified++;else if("LineString"===a)bt(o,i,t,r,!1,!1);else if("MultiLineString"===a||"Polygon"===a)for(s=0;s<i.length;s++)bt(o,i[s],t,r,"Polygon"===a,0===s);else if("MultiPolygon"===a)for(var l=0;l<i.length;l++){var c=i[l];for(s=0;s<c.length;s++)bt(o,c[s],t,r,!0,0===s)}if(o.length){var u=e.tags||null;if("LineString"===a&&n.lineMetrics){for(var f in u={},e.tags)u[f]=e.tags[f];u.mapbox_clip_start=i.start/i.size,u.mapbox_clip_end=i.end/i.size}var h={geometry:o,type:"Polygon"===a||"MultiPolygon"===a?3:"LineString"===a||"MultiLineString"===a?2:1,tags:u};null!==e.id&&(h.id=e.id),t.features.push(h)}}function bt(t,e,r,n,i,a){var o=n*n;if(n>0&&e.size<(i?o:n))r.numPoints+=e.length/3;else{for(var s=[],l=0;l<e.length;l+=3)(0===n||e[l+2]>o)&&(r.numSimplified++,s.push(e[l]),s.push(e[l+1])),r.numPoints++;i&&function(t,e){for(var r=0,n=0,i=t.length,a=i-2;n<i;a=n,n+=2)r+=(t[n]-t[a])*(t[n+1]+t[a+1]);if(r>0===e)for(n=0,i=t.length;n<i/2;n+=2){var o=t[n],s=t[n+1];t[n]=t[i-2-n],t[n+1]=t[i-1-n],t[i-2-n]=o,t[i-1-n]=s}}(s,a),t.push(s)}}function _t(t,e){var r=(e=this.options=function(t,e){for(var r in e)t[r]=e[r];return t}(Object.create(this.options),e)).debug;if(r&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var n=function(t,e){var r=[];if("FeatureCollection"===t.type)for(var n=0;n<t.features.length;n++)tt(r,t.features[n],e,n);else"Feature"===t.type?tt(r,t,e):tt(r,{geometry:t},e);return r}(t,e);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(n=function(t,e){var r=e.buffer/e.extent,n=t,i=ot(t,1,-1-r,r,0,-1,2,e),a=ot(t,1,1-r,2+r,0,-1,2,e);return(i||a)&&(n=ot(t,1,-r,1+r,0,-1,2,e)||[],i&&(n=dt(i,1).concat(n)),a&&(n=n.concat(dt(a,-1)))),n}(n,e)).length&&this.splitTile(n,0,0,0),r&&(n.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function wt(t,e,r){return 32*((1<<t)*r+e)+t}function Tt(t,e){var r=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);var n=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!n)return e(null,null);var i=new m(n.features),a=_(i);0===a.byteOffset&&a.byteLength===a.buffer.byteLength||(a=new Uint8Array(a)),e(null,{vectorTile:i,rawData:a.buffer})}U.prototype.load=function(t){var e=this.options,r=e.log,n=e.minZoom,i=e.maxZoom,a=e.nodeSize;r&&console.time("total time");var o="prepare "+t.length+" points";r&&console.time(o),this.points=t;for(var s=[],l=0;l<t.length;l++)t[l].geometry&&s.push(H(t[l],l));this.trees[i+1]=new N(s,Z,J,a,Float32Array),r&&console.timeEnd(o);for(var c=i;c>=n;c--){var u=+Date.now();s=this._cluster(s,c),this.trees[c]=new N(s,Z,J,a,Float32Array),r&&console.log("z%d: %d clusters in %dms",c,s.length,+Date.now()-u)}return r&&console.timeEnd("total time"),this},U.prototype.getClusters=function(t,e){var r=((t[0]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,i=180;else if(r>i){var o=this.getClusters([r,n,180,a],e),s=this.getClusters([-180,n,i,a],e);return o.concat(s)}for(var l=this.trees[this._limitZoom(e)],c=[],u=0,f=l.range(Y(r),W(a),Y(i),W(n));u<f.length;u+=1){var h=f[u],p=l.points[h];c.push(p.numPoints?q(p):this.points[p.index])}return c},U.prototype.getChildren=function(t){var e=this._getOriginId(t),r=this._getOriginZoom(t),n="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(n);var a=i.points[e];if(!a)throw new Error(n);for(var o=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=[],l=0,c=i.within(a.x,a.y,o);l<c.length;l+=1){var u=c[l],f=i.points[u];f.parentId===t&&s.push(f.numPoints?q(f):this.points[f.index])}if(0===s.length)throw new Error(n);return s},U.prototype.getLeaves=function(t,e,r){e=e||10,r=r||0;var n=[];return this._appendLeaves(n,t,e,r,0),n},U.prototype.getTile=function(t,e,r){var n=this.trees[this._limitZoom(t)],i=Math.pow(2,t),a=this.options,o=a.extent,s=a.radius/o,l=(r-s)/i,c=(r+1+s)/i,u={features:[]};return this._addTileFeatures(n.range((e-s)/i,l,(e+1+s)/i,c),n.points,e,r,i,u),0===e&&this._addTileFeatures(n.range(1-s/i,l,1,c),n.points,i,r,i,u),e===i-1&&this._addTileFeatures(n.range(0,l,s/i,c),n.points,-1,r,i,u),u.features.length?u:null},U.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e},U.prototype._appendLeaves=function(t,e,r,n,i){for(var a=0,o=this.getChildren(e);a<o.length;a+=1){var s=o[a],l=s.properties;if(l&&l.cluster?i+l.point_count<=n?i+=l.point_count:i=this._appendLeaves(t,l.cluster_id,r,n,i):i<n?i++:t.push(s),t.length===r)break}return i},U.prototype._addTileFeatures=function(t,e,r,n,i,a){for(var o=0,s=t;o<s.length;o+=1){var l=e[s[o]],c=l.numPoints,u={type:1,geometry:[[Math.round(this.options.extent*(l.x*i-r)),Math.round(this.options.extent*(l.y*i-n))]],tags:c?G(l):this.points[l.index].properties},f=void 0;c?f=l.id:this.options.generateId?f=l.index:this.points[l.index].id&&(f=this.points[l.index].id),void 0!==f&&(u.id=f),a.features.push(u)}},U.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(t,this.options.maxZoom+1))},U.prototype._cluster=function(t,e){for(var r=[],n=this.options,i=n.radius,a=n.extent,o=n.reduce,s=i/(a*Math.pow(2,e)),l=0;l<t.length;l++){var c=t[l];if(!(c.zoom<=e)){c.zoom=e;for(var u=this.trees[e+1],f=u.within(c.x,c.y,s),h=c.numPoints||1,p=c.x*h,d=c.y*h,g=o&&h>1?this._map(c,!0):null,m=(l<<5)+(e+1)+this.points.length,v=0,y=f;v<y.length;v+=1){var x=y[v],b=u.points[x];if(!(b.zoom<=e)){b.zoom=e;var _=b.numPoints||1;p+=b.x*_,d+=b.y*_,h+=_,b.parentId=m,o&&(g||(g=this._map(c,!0)),o(g,this._map(b)))}}1===h?r.push(c):(c.parentId=m,r.push(V(p/h,d/h,m,h,g)))}}return r},U.prototype._getOriginId=function(t){return t-this.points.length>>5},U.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},U.prototype._map=function(t,e){if(t.numPoints)return e?X({},t.properties):t.properties;var r=this.points[t.index].properties,n=this.options.map(r);return e&&n===r?X({},n):n},_t.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},_t.prototype.splitTile=function(t,e,r,n,i,a,o){for(var s=[t,e,r,n],l=this.options,c=l.debug;s.length;){n=s.pop(),r=s.pop(),e=s.pop(),t=s.pop();var u=1<<e,f=wt(e,r,n),h=this.tiles[f];if(!h&&(c>1&&console.time("creation"),h=this.tiles[f]=yt(t,e,r,n,l),this.tileCoords.push({z:e,x:r,y:n}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,r,n,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var p="z"+e;this.stats[p]=(this.stats[p]||0)+1,this.total++}if(h.source=t,i){if(e===l.maxZoom||e===i)continue;var d=1<<i-e;if(r!==Math.floor(a/d)||n!==Math.floor(o/d))continue}else if(e===l.indexMaxZoom||h.numPoints<=l.indexMaxPoints)continue;if(h.source=null,0!==t.length){c>1&&console.time("clipping");var g,m,v,y,x,b,_=.5*l.buffer/l.extent,w=.5-_,T=.5+_,k=1+_;g=m=v=y=null,x=ot(t,u,r-_,r+T,0,h.minX,h.maxX,l),b=ot(t,u,r+w,r+k,0,h.minX,h.maxX,l),t=null,x&&(g=ot(x,u,n-_,n+T,1,h.minY,h.maxY,l),m=ot(x,u,n+w,n+k,1,h.minY,h.maxY,l),x=null),b&&(v=ot(b,u,n-_,n+T,1,h.minY,h.maxY,l),y=ot(b,u,n+w,n+k,1,h.minY,h.maxY,l),b=null),c>1&&console.timeEnd("clipping"),s.push(g||[],e+1,2*r,2*n),s.push(m||[],e+1,2*r,2*n+1),s.push(v||[],e+1,2*r+1,2*n),s.push(y||[],e+1,2*r+1,2*n+1)}}},_t.prototype.getTile=function(t,e,r){var n=this.options,i=n.extent,a=n.debug;if(t<0||t>24)return null;var o=1<<t,s=wt(t,e=(e%o+o)%o,r);if(this.tiles[s])return mt(this.tiles[s],i);a>1&&console.log("drilling down to z%d-%d-%d",t,e,r);for(var l,c=t,u=e,f=r;!l&&c>0;)c--,u=Math.floor(u/2),f=Math.floor(f/2),l=this.tiles[wt(c,u,f)];return l&&l.source?(a>1&&console.log("found parent tile z%d-%d-%d",c,u,f),a>1&&console.time("drilling down"),this.splitTile(l.source,c,u,f,t,e,r),a>1&&console.timeEnd("drilling down"),this.tiles[s]?mt(this.tiles[s],i):null):null};var kt=function(e){function r(t,r,n,i){e.call(this,t,r,n,Tt),i&&(this.loadGeoJSON=i)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},r.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,n=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var i=!!(n&&n.request&&n.request.collectResourceTiming)&&new t.RequestPerformance(n.request);this.loadGeoJSON(n,(function(a,o){if(a||!o)return r(a);if("object"!=typeof o)return r(new Error("Input data given to '"+n.source+"' is not a valid GeoJSON object."));f(o,!0);try{e._geoJSONIndex=n.cluster?new U(function(e){var r=e.superclusterOptions,n=e.clusterProperties;if(!n||!r)return r;for(var i={},a={},o={accumulated:null,zoom:0},s={properties:null},l=Object.keys(n),c=0,u=l;c<u.length;c+=1){var f=u[c],h=n[f],p=h[0],d=h[1],g=t.createExpression(d),m=t.createExpression("string"==typeof p?[p,["accumulated"],["get",f]]:p);i[f]=g.value,a[f]=m.value}return r.map=function(t){s.properties=t;for(var e={},r=0,n=l;r<n.length;r+=1){var a=n[r];e[a]=i[a].evaluate(o,s)}return e},r.reduce=function(t,e){s.properties=e;for(var r=0,n=l;r<n.length;r+=1){var i=n[r];o.accumulated=t[i],t[i]=a[i].evaluate(o,s)}},r}(n)).load(o.features):function(t,e){return new _t(t,e)}(o,n.geojsonVtOptions)}catch(a){return r(a)}e.loaded={};var s={};if(i){var l=i.finish();l&&(s.resourceTiming={},s.resourceTiming[n.source]=JSON.parse(JSON.stringify(l)))}r(null,s)}))}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},r.prototype.reloadTile=function(t,r){var n=this.loaded,i=t.uid;return n&&n[i]?e.prototype.reloadTile.call(this,t,r):this.loadTile(t,r)},r.prototype.loadGeoJSON=function(e,r){if(e.request)t.getJSON(e.request,r);else{if("string"!=typeof e.data)return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."));try{return r(null,JSON.parse(e.data))}catch(t){return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),e()},r.prototype.getClusterExpansionZoom=function(t,e){try{e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))}catch(t){e(t)}},r.prototype.getClusterChildren=function(t,e){try{e(null,this._geoJSONIndex.getChildren(t.clusterId))}catch(t){e(t)}},r.prototype.getClusterLeaves=function(t,e){try{e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))}catch(t){e(t)}},r}(l);var At=function(e){var r=this;this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:l,geojson:kt},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(t,e){if(r.workerSourceTypes[t])throw new Error('Worker source with name "'+t+'" already registered.');r.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=function(e){if(t.plugin.isParsed())throw new Error("RTL text plugin already registered.");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return At.prototype.setReferrer=function(t,e){this.referrer=e},At.prototype.setImages=function(t,e,r){for(var n in this.availableImages[t]=e,this.workerSources[t]){var i=this.workerSources[t][n];for(var a in i)i[a].availableImages=e}r()},At.prototype.setLayers=function(t,e,r){this.getLayerIndex(t).replace(e),r()},At.prototype.updateLayers=function(t,e,r){this.getLayerIndex(t).update(e.layers,e.removedIds),r()},At.prototype.loadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).loadTile(e,r)},At.prototype.loadDEMTile=function(t,e,r){this.getDEMWorkerSource(t,e.source).loadTile(e,r)},At.prototype.reloadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).reloadTile(e,r)},At.prototype.abortTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).abortTile(e,r)},At.prototype.removeTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).removeTile(e,r)},At.prototype.removeDEMTile=function(t,e){this.getDEMWorkerSource(t,e.source).removeTile(e)},At.prototype.removeSource=function(t,e,r){if(this.workerSources[t]&&this.workerSources[t][e.type]&&this.workerSources[t][e.type][e.source]){var n=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==n.removeSource?n.removeSource(e,r):r()}},At.prototype.loadWorkerSource=function(t,e,r){try{this.self.importScripts(e.url),r()}catch(t){r(t.toString())}},At.prototype.syncRTLPluginState=function(e,r,n){try{t.plugin.setState(r);var i=t.plugin.getPluginURL();if(t.plugin.isLoaded()&&!t.plugin.isParsed()&&null!=i){this.self.importScripts(i);var a=t.plugin.isParsed();n(a?void 0:new Error("RTL Text Plugin failed to import scripts from "+i),a)}}catch(t){n(t.toString())}},At.prototype.getAvailableImages=function(t){var e=this.availableImages[t];return e||(e=[]),e},At.prototype.getLayerIndex=function(t){var e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new n),e},At.prototype.getWorkerSource=function(t,e,r){var n=this;if(this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),!this.workerSources[t][e][r]){var i={send:function(e,r,i){n.actor.send(e,r,i,t)}};this.workerSources[t][e][r]=new this.workerSourceTypes[e](i,this.getLayerIndex(t),this.getAvailableImages(t))}return this.workerSources[t][e][r]},At.prototype.getDEMWorkerSource=function(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new u),this.demWorkerSources[t][e]},At.prototype.enforceCacheSizeLimit=function(e,r){t.enforceCacheSizeLimit(r)},"undefined"!=typeof WorkerGlobalScope&&void 0!==t.window&&t.window instanceof WorkerGlobalScope&&(t.window.worker=new At(t.window)),At})),n(0,(function(t){var e=t.createCommonjsModule((function(t){function e(t){return!r(t)}function r(t){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,r=new Blob([""],{type:"text/javascript"}),n=URL.createObjectURL(r);try{e=new Worker(n),t=!0}catch(e){t=!1}e&&e.terminate();return URL.revokeObjectURL(n),t}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var t=document.createElement("canvas");t.width=t.height=1;var e=t.getContext("2d");if(!e)return!1;var r=e.getImageData(0,0,1,1);return r&&r.width===t.width}()?function(t){void 0===n[t]&&(n[t]=function(t){var r=function(t){var r=document.createElement("canvas"),n=Object.create(e.webGLContextAttributes);return n.failIfMajorPerformanceCaveat=t,r.probablySupportsContext?r.probablySupportsContext("webgl",n)||r.probablySupportsContext("experimental-webgl",n):r.supportsContext?r.supportsContext("webgl",n)||r.supportsContext("experimental-webgl",n):r.getContext("webgl",n)||r.getContext("experimental-webgl",n)}(t);if(!r)return!1;var n=r.createShader(r.VERTEX_SHADER);if(!n||r.isContextLost())return!1;return r.shaderSource(n,"void main() {}"),r.compileShader(n),!0===r.getShaderParameter(n,r.COMPILE_STATUS)}(t));return n[t]}(t&&t.failIfMajorPerformanceCaveat)?void 0:"insufficient WebGL support":"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support"}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e,window.mapboxgl.notSupportedReason=r);var n={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),r={create:function(e,r,n){var i=t.window.document.createElement(e);return void 0!==r&&(i.className=r),n&&n.appendChild(i),i},createNS:function(e,r){return t.window.document.createElementNS(e,r)}},n=t.window.document.documentElement.style;function i(t){if(!n)return t[0];for(var e=0;e<t.length;e++)if(t[e]in n)return t[e];return t[0]}var a,o=i(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);r.disableDrag=function(){n&&o&&(a=n[o],n[o]="none")},r.enableDrag=function(){n&&o&&(n[o]=a)};var s=i(["transform","WebkitTransform"]);r.setTransform=function(t,e){t.style[s]=e};var l=!1;try{var c=Object.defineProperty({},"passive",{get:function(){l=!0}});t.window.addEventListener("test",c,c),t.window.removeEventListener("test",c,c)}catch(t){l=!1}r.addEventListener=function(t,e,r,n){void 0===n&&(n={}),"passive"in n&&l?t.addEventListener(e,r,n):t.addEventListener(e,r,n.capture)},r.removeEventListener=function(t,e,r,n){void 0===n&&(n={}),"passive"in n&&l?t.removeEventListener(e,r,n):t.removeEventListener(e,r,n.capture)};var u=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",u,!0)};function f(t){var e=t.userImage;if(e&&e.render&&e.render())return t.data.replace(new Uint8Array(e.data.buffer)),!0;return!1}r.suppressClick=function(){t.window.addEventListener("click",u,!0),t.window.setTimeout((function(){t.window.removeEventListener("click",u,!0)}),0)},r.mousePos=function(e,r){var n=e.getBoundingClientRect();return new t.Point(r.clientX-n.left-e.clientLeft,r.clientY-n.top-e.clientTop)},r.touchPos=function(e,r){for(var n=e.getBoundingClientRect(),i=[],a=0;a<r.length;a++)i.push(new t.Point(r[a].clientX-n.left-e.clientLeft,r[a].clientY-n.top-e.clientTop));return i},r.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},r.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var h=function(e){function r(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.isLoaded=function(){return this.loaded},r.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,r=this.requestors;e<r.length;e+=1){var n=r[e],i=n.ids,a=n.callback;this._notify(i,a)}this.requestors=[]}},r.prototype.getImage=function(t){return this.images[t]},r.prototype.addImage=function(t,e){this._validate(t,e)&&(this.images[t]=e)},r.prototype._validate=function(e,r){var n=!0;return this._validateStretch(r.stretchX,r.data&&r.data.width)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchX" value'))),n=!1),this._validateStretch(r.stretchY,r.data&&r.data.height)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchY" value'))),n=!1),this._validateContent(r.content,r)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "content" value'))),n=!1),n},r.prototype._validateStretch=function(t,e){if(!t)return!0;for(var r=0,n=0,i=t;n<i.length;n+=1){var a=i[n];if(a[0]<r||a[1]<a[0]||e<a[1])return!1;r=a[1]}return!0},r.prototype._validateContent=function(t,e){return!t||4===t.length&&(!(t[0]<0||e.data.width<t[0])&&(!(t[1]<0||e.data.height<t[1])&&(!(t[2]<0||e.data.width<t[2])&&(!(t[3]<0||e.data.height<t[3])&&(!(t[2]<t[0])&&!(t[3]<t[1]))))))},r.prototype.updateImage=function(t,e){var r=this.images[t];e.version=r.version+1,this.images[t]=e,this.updatedImages[t]=!0},r.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()},r.prototype.listImages=function(){return Object.keys(this.images)},r.prototype.getImages=function(t,e){var r=!0;if(!this.isLoaded())for(var n=0,i=t;n<i.length;n+=1){var a=i[n];this.images[a]||(r=!1)}this.isLoaded()||r?this._notify(t,e):this.requestors.push({ids:t,callback:e})},r.prototype._notify=function(e,r){for(var n={},i=0,a=e;i<a.length;i+=1){var o=a[i];this.images[o]||this.fire(new t.Event("styleimagemissing",{id:o}));var s=this.images[o];s?n[o]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image "'+o+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}r(null,n)},r.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},r.prototype.getPattern=function(e){var r=this.patterns[e],n=this.getImage(e);if(!n)return null;if(r&&r.position.version===n.version)return r.position;if(r)r.position.version=n.version;else{var i={w:n.data.width+2,h:n.data.height+2,x:0,y:0},a=new t.ImagePosition(i,n);this.patterns[e]={bin:i,position:a}}return this._updatePatternAtlas(),this.patterns[e].position},r.prototype.bind=function(e){var r=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,r.RGBA),this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)},r.prototype._updatePatternAtlas=function(){var e=[];for(var r in this.patterns)e.push(this.patterns[r].bin);var n=t.potpack(e),i=n.w,a=n.h,o=this.atlasImage;for(var s in o.resize({width:i||1,height:a||1}),this.patterns){var l=this.patterns[s].bin,c=l.x+1,u=l.y+1,f=this.images[s].data,h=f.width,p=f.height;t.RGBAImage.copy(f,o,{x:0,y:0},{x:c,y:u},{width:h,height:p}),t.RGBAImage.copy(f,o,{x:0,y:p-1},{x:c,y:u-1},{width:h,height:1}),t.RGBAImage.copy(f,o,{x:0,y:0},{x:c,y:u+p},{width:h,height:1}),t.RGBAImage.copy(f,o,{x:h-1,y:0},{x:c-1,y:u},{width:1,height:p}),t.RGBAImage.copy(f,o,{x:0,y:0},{x:c+h,y:u},{width:1,height:p})}this.dirty=!0},r.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},r.prototype.dispatchRenderCallbacks=function(t){for(var e=0,r=t;e<r.length;e+=1){var n=r[e];if(!this.callbackDispatchedThisFrame[n]){this.callbackDispatchedThisFrame[n]=!0;var i=this.images[n];f(i)&&this.updateImage(n,i)}}},r}(t.Evented);var p=m,d=m,g=1e20;function m(t,e,r,n,i,a){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=n||.25,this.fontFamily=i||"sans-serif",this.fontWeight=a||"normal",this.radius=r||8;var o=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=o,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(o*o),this.gridInner=new Float64Array(o*o),this.f=new Float64Array(o),this.d=new Float64Array(o),this.z=new Float64Array(o+1),this.v=new Int16Array(o),this.middle=Math.round(o/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function v(t,e,r,n,i,a,o){for(var s=0;s<e;s++){for(var l=0;l<r;l++)n[l]=t[l*e+s];for(y(n,i,a,o,r),l=0;l<r;l++)t[l*e+s]=i[l]}for(l=0;l<r;l++){for(s=0;s<e;s++)n[s]=t[l*e+s];for(y(n,i,a,o,e),s=0;s<e;s++)t[l*e+s]=Math.sqrt(i[s])}}function y(t,e,r,n,i){r[0]=0,n[0]=-g,n[1]=+g;for(var a=1,o=0;a<i;a++){for(var s=(t[a]+a*a-(t[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);s<=n[o];)o--,s=(t[a]+a*a-(t[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);r[++o]=a,n[o]=s,n[o+1]=+g}for(a=0,o=0;a<i;a++){for(;n[o+1]<a;)o++;e[a]=(a-r[o])*(a-r[o])+t[r[o]]}}m.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),r=new Uint8ClampedArray(this.size*this.size),n=0;n<this.size*this.size;n++){var i=e.data[4*n+3]/255;this.gridOuter[n]=1===i?0:0===i?g:Math.pow(Math.max(0,.5-i),2),this.gridInner[n]=1===i?g:0===i?0:Math.pow(Math.max(0,i-.5),2)}for(v(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),v(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),n=0;n<this.size*this.size;n++){var a=this.gridOuter[n]-this.gridInner[n];r[n]=Math.max(0,Math.min(255,Math.round(255-255*(a/this.radius+this.cutoff))))}return r},p.default=d;var x=function(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={}};x.prototype.setURL=function(t){this.url=t},x.prototype.getGlyphs=function(e,r){var n=this,i=[];for(var a in e)for(var o=0,s=e[a];o<s.length;o+=1){var l=s[o];i.push({stack:a,id:l})}t.asyncAll(i,(function(t,e){var r=t.stack,i=t.id,a=n.entries[r];a||(a=n.entries[r]={glyphs:{},requests:{},ranges:{}});var o=a.glyphs[i];if(void 0===o){if(o=n._tinySDF(a,r,i))return a.glyphs[i]=o,void e(null,{stack:r,id:i,glyph:o});var s=Math.floor(i/256);if(256*s>65535)e(new Error("glyphs > 65535 not supported"));else if(a.ranges[s])e(null,{stack:r,id:i,glyph:o});else{var l=a.requests[s];l||(l=a.requests[s]=[],x.loadGlyphRange(r,s,n.url,n.requestManager,(function(t,e){if(e){for(var r in e)n._doesCharSupportLocalGlyph(+r)||(a.glyphs[+r]=e[+r]);a.ranges[s]=!0}for(var i=0,o=l;i<o.length;i+=1){(0,o[i])(t,e)}delete a.requests[s]}))),l.push((function(t,n){t?e(t):n&&e(null,{stack:r,id:i,glyph:n[i]||null})}))}}else e(null,{stack:r,id:i,glyph:o})}),(function(t,e){if(t)r(t);else if(e){for(var n={},i=0,a=e;i<a.length;i+=1){var o=a[i],s=o.stack,l=o.id,c=o.glyph;(n[s]||(n[s]={}))[l]=c&&{id:c.id,bitmap:c.bitmap.clone(),metrics:c.metrics}}r(null,n)}}))},x.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(t.isChar["CJK Unified Ideographs"](e)||t.isChar["Hangul Syllables"](e)||t.isChar.Hiragana(e)||t.isChar.Katakana(e))},x.prototype._tinySDF=function(e,r,n){var i=this.localIdeographFontFamily;if(i&&this._doesCharSupportLocalGlyph(n)){var a=e.tinySDF;if(!a){var o="400";/bold/i.test(r)?o="900":/medium/i.test(r)?o="500":/light/i.test(r)&&(o="200"),a=e.tinySDF=new x.TinySDF(24,3,8,.25,i,o)}return{id:n,bitmap:new t.AlphaImage({width:30,height:30},a.draw(String.fromCharCode(n))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},x.loadGlyphRange=function(e,r,n,i,a){var o=256*r,s=o+255,l=i.transformRequest(i.normalizeGlyphsURL(n).replace("{fontstack}",e).replace("{range}",o+"-"+s),t.ResourceType.Glyphs);t.getArrayBuffer(l,(function(e,r){if(e)a(e);else if(r){for(var n={},i=0,o=t.parseGlyphPBF(r);i<o.length;i+=1){var s=o[i];n[s.id]=s}a(null,n)}}))},x.TinySDF=p;var b=function(){this.specification=t.styleSpec.light.position};b.prototype.possiblyEvaluate=function(e,r){return t.sphericalToCartesian(e.expression.evaluate(r))},b.prototype.interpolate=function(e,r,n){return{x:t.number(e.x,r.x,n),y:t.number(e.y,r.y,n),z:t.number(e.z,r.z,n)}};var _=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new b,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),w=function(e){function r(r){e.call(this),this._transitionable=new t.Transitionable(_),this.setLight(r),this._transitioning=this._transitionable.untransitioned()}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getLight=function(){return this._transitionable.serialize()},r.prototype.setLight=function(e,r){if(void 0===r&&(r={}),!this._validate(t.validateLight,e,r))for(var n in e){var i=e[n];t.endsWith(n,"-transition")?this._transitionable.setTransition(n.slice(0,-"-transition".length),i):this._transitionable.setValue(n,i)}},r.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)},r.prototype.hasTransition=function(){return this._transitioning.hasTransition()},r.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t)},r.prototype._validate=function(e,r,n){return(!n||!1!==n.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},r}(t.Evented),T=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};T.prototype.getDash=function(t,e){var r=t.join(",")+String(e);return this.dashEntry[r]||(this.dashEntry[r]=this.addDash(t,e)),this.dashEntry[r]},T.prototype.getDashRanges=function(t,e,r){var n=[],i=t.length%2==1?-t[t.length-1]*r:0,a=t[0]*r,o=!0;n.push({left:i,right:a,isDash:o,zeroLength:0===t[0]});for(var s=t[0],l=1;l<t.length;l++){o=!o;var c=t[l];i=s*r,a=(s+=c)*r,n.push({left:i,right:a,isDash:o,zeroLength:0===c})}return n},T.prototype.addRoundDash=function(t,e,r){for(var n=e/2,i=-r;i<=r;i++)for(var a=this.nextRow+r+i,o=this.width*a,s=0,l=t[s],c=0;c<this.width;c++){c/l.right>1&&(l=t[++s]);var u=Math.abs(c-l.left),f=Math.abs(c-l.right),h=Math.min(u,f),p=void 0,d=i/r*(n+1);if(l.isDash){var g=n-Math.abs(d);p=Math.sqrt(h*h+g*g)}else p=n-Math.sqrt(h*h+d*d);this.data[o+c]=Math.max(0,Math.min(255,p+128))}},T.prototype.addRegularDash=function(t){for(var e=t.length-1;e>=0;--e){var r=t[e],n=t[e+1];r.zeroLength?t.splice(e,1):n&&n.isDash===r.isDash&&(n.left=r.left,t.splice(e,1))}var i=t[0],a=t[t.length-1];i.isDash===a.isDash&&(i.left=a.left-this.width,a.right=i.right+this.width);for(var o=this.width*this.nextRow,s=0,l=t[s],c=0;c<this.width;c++){c/l.right>1&&(l=t[++s]);var u=Math.abs(c-l.left),f=Math.abs(c-l.right),h=Math.min(u,f),p=l.isDash?h:-h;this.data[o+c]=Math.max(0,Math.min(255,p+128))}},T.prototype.addDash=function(e,r){var n=r?7:0,i=2*n+1;if(this.nextRow+i>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var a=0,o=0;o<e.length;o++)a+=e[o];if(0!==a){var s=this.width/a,l=this.getDashRanges(e,this.width,s);r?this.addRoundDash(l,s,n):this.addRegularDash(l)}var c={y:(this.nextRow+n+.5)/this.height,height:2*n/this.height,width:a};return this.nextRow+=i,this.dirty=!0,c},T.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.ALPHA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.ALPHA,this.width,this.height,0,e.ALPHA,e.UNSIGNED_BYTE,this.data))};var k=function e(r,n){this.workerPool=r,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var i=this.workerPool.acquire(this.id),a=0;a<i.length;a++){var o=i[a],s=new e.Actor(o,n,this.id);s.name="Worker "+a,this.actors.push(s)}};function A(e,r,n){var i=function(i,a){if(i)return n(i);if(a){var o=t.pick(t.extend(a,e),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);a.vector_layers&&(o.vectorLayers=a.vector_layers,o.vectorLayerIds=o.vectorLayers.map((function(t){return t.id}))),o.tiles=r.canonicalizeTileset(o,e.url),n(null,o)}};return e.url?t.getJSON(r.transformRequest(r.normalizeSourceURL(e.url),t.ResourceType.Source),i):t.browser.frame((function(){return i(null,e)}))}k.prototype.broadcast=function(e,r,n){n=n||function(){},t.asyncAll(this.actors,(function(t,n){t.send(e,r,n)}),n)},k.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},k.prototype.remove=function(){this.actors.forEach((function(t){t.remove()})),this.actors=[],this.workerPool.release(this.id)},k.Actor=t.Actor;var M=function(e,r,n){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=r||0,this.maxzoom=n||24};M.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},M.prototype.contains=function(e){var r=Math.pow(2,e.z),n=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*r),i=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*r),a=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*r),o=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*r);return e.x>=n&&e.x<a&&e.y>=i&&e.y<o};var S=function(e){function r(r,n,i,a){if(e.call(this),this.id=r,this.dispatcher=i,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(n,["url","scheme","tileSize","promoteId"])),this._options=t.extend({type:"vector"},n),this._collectResourceTiming=n.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(a)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=A(this._options,this.map._requestManager,(function(r,n){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):n&&(t.extend(e,n),n.bounds&&(e.tileBounds=new M(n.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(n.tiles,e.map._requestManager._customAccessToken),t.postMapLoadEvent(n.tiles,e.map._getMapId(),e.map._requestManager._skuToken,e.map._requestManager._customAccessToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.loadTile=function(e,r){var n=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme)),i={request:this.map._requestManager.transformRequest(n,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function a(n,i){return delete e.request,e.aborted?r(null):n&&404!==n.status?r(n):(i&&i.resourceTiming&&(e.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&e.setExpiryData(i),e.loadVectorData(i,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}i.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state?"loading"===e.state?e.reloadCallback=r:e.request=e.actor.send("reloadTile",i,a.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send("loadTile",i,a.bind(this)))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.unloadTile=function(t){t.unloadVectorData(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.hasTransition=function(){return!1},r}(t.Evented),E=function(e){function r(r,n,i,a){e.call(this),this.id=r,this.dispatcher=i,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:"raster"},n),t.extend(this,t.pick(n,["url","scheme","tileSize"]))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=A(this._options,this.map._requestManager,(function(r,n){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):n&&(t.extend(e,n),n.bounds&&(e.tileBounds=new M(n.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(n.tiles),t.postMapLoadEvent(n.tiles,e.map._getMapId(),e.map._requestManager._skuToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.loadTile=function(e,r){var n=this,i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(i,t.ResourceType.Tile),(function(i,a){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(i)e.state="errored",r(i);else if(a){n.map._refreshExpiredTiles&&e.setExpiryData(a),delete a.cacheControl,delete a.expires;var o=n.map.painter.context,s=o.gl;e.texture=n.map.painter.getTileTexture(a.width),e.texture?e.texture.update(a,{useMipmap:!0}):(e.texture=new t.Texture(o,a,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),o.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,o.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,o.extTextureFilterAnisotropicMax)),e.state="loaded",t.cacheEntryPossiblyAdded(n.dispatcher),r(null)}}))},r.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e()},r.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),e()},r.prototype.hasTransition=function(){return!1},r}(t.Evented),L=function(e){function r(r,n,i,a){e.call(this,r,n,i,a),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},n),this.encoding=n.encoding||"mapbox"}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},r.prototype.loadTile=function(e,r){var n=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);function i(t,n){t&&(e.state="errored",r(t)),n&&(e.dem=n,e.needsHillshadePrepare=!0,e.state="loaded",r(null))}e.request=t.getImage(this.map._requestManager.transformRequest(n,t.ResourceType.Tile),function(n,a){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(n)e.state="errored",r(n);else if(a){this.map._refreshExpiredTiles&&e.setExpiryData(a),delete a.cacheControl,delete a.expires;var o=t.window.ImageBitmap&&a instanceof t.window.ImageBitmap&&t.offscreenCanvasSupported()?a:t.browser.getImageData(a,1),s={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:o,encoding:this.encoding};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",s,i.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)},r.prototype._getNeighboringTiles=function(e){var r=e.canonical,n=Math.pow(2,r.z),i=(r.x-1+n)%n,a=0===r.x?e.wrap-1:e.wrap,o=(r.x+1+n)%n,s=r.x+1===n?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,a,r.z,i,r.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,o,r.y).key]={backfilled:!1},r.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,a,r.z,i,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,o,r.y-1).key]={backfilled:!1}),r.y+1<n&&(l[new t.OverscaledTileID(e.overscaledZ,a,r.z,i,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,o,r.y+1).key]={backfilled:!1}),l},r.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.state="unloaded",t.actor&&t.actor.send("removeDEMTile",{uid:t.uid,source:this.id})},r}(E),C=function(e){function r(r,n,i,a){e.call(this),this.id=r,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=i.getActor(),this.setEventedParent(a),this._data=n.data,this._options=t.extend({},n),this._collectResourceTiming=n.collectResourceTiming,this._resourceTiming=[],void 0!==n.maxzoom&&(this.maxzoom=n.maxzoom),n.type&&(this.type=n.type),n.attribution&&(this.attribution=n.attribution),this.promoteId=n.promoteId;var o=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:n.cluster||!1,geojsonVtOptions:{buffer:(void 0!==n.buffer?n.buffer:128)*o,tolerance:(void 0!==n.tolerance?n.tolerance:.375)*o,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:n.lineMetrics||!1,generateId:n.generateId||!1},superclusterOptions:{maxZoom:void 0!==n.clusterMaxZoom?Math.min(n.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(n.clusterRadius||50)*o,log:!1,generateId:n.generateId||!1},clusterProperties:n.clusterProperties},n.workerOptions)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(r){if(r)e.fire(new t.ErrorEvent(r));else{var n={dataType:"source",sourceDataType:"metadata"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(n.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",n))}}))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setData=function(e){var r=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)r.fire(new t.ErrorEvent(e));else{var n={dataType:"source",sourceDataType:"content"};r._collectResourceTiming&&r._resourceTiming&&r._resourceTiming.length>0&&(n.resourceTiming=r._resourceTiming,r._resourceTiming=[]),r.fire(new t.Event("data",n))}})),this},r.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this},r.prototype.getClusterChildren=function(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this},r.prototype.getClusterLeaves=function(t,e,r,n){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:r},n),this},r.prototype._updateWorkerData=function(e){var r=this;this._loaded=!1;var n=t.extend({},this.workerOptions),i=this._data;"string"==typeof i?(n.request=this.map._requestManager.transformRequest(t.browser.resolveURL(i),t.ResourceType.Source),n.request.collectResourceTiming=this._collectResourceTiming):n.data=JSON.stringify(i),this.actor.send(this.type+".loadData",n,(function(t,i){r._removed||i&&i.abandoned||(r._loaded=!0,i&&i.resourceTiming&&i.resourceTiming[r.id]&&(r._resourceTiming=i.resourceTiming[r.id].slice(0)),r.actor.send(r.type+".coalesce",{source:n.source},null),e(t))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.loadTile=function(e,r){var n=this,i=e.actor?"reloadTile":"loadTile";e.actor=this.actor;var a={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};e.request=this.actor.send(i,a,(function(t,a){return delete e.request,e.unloadVectorData(),e.aborted?r(null):t?r(t):(e.loadVectorData(a,n.map.painter,"reloadTile"===i),r(null))}))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0},r.prototype.unloadTile=function(t){t.unloadVectorData(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})},r.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},r.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},r.prototype.hasTransition=function(){return!1},r}(t.Evented),P=t.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),I=function(e){function r(t,r,n,i){e.call(this),this.id=t,this.dispatcher=n,this.coordinates=r.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(i),this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(e,r){var n=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(i,a){n._loaded=!0,i?n.fire(new t.ErrorEvent(i)):a&&(n.image=a,e&&(n.coordinates=e),r&&r(),n._finishLoading())}))},r.prototype.loaded=function(){return this._loaded},r.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},r.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setCoordinates=function(e){var r=this;this.coordinates=e;var n=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var r=1/0,n=1/0,i=-1/0,a=-1/0,o=0,s=e;o<s.length;o+=1){var l=s[o];r=Math.min(r,l.x),n=Math.min(n,l.y),i=Math.max(i,l.x),a=Math.max(a,l.y)}var c=i-r,u=a-n,f=Math.max(c,u),h=Math.max(0,Math.floor(-Math.log(f)/Math.LN2)),p=Math.pow(2,h);return new t.CanonicalTileID(h,Math.floor((r+i)/2*p),Math.floor((n+a)/2*p))}(n),this.minzoom=this.maxzoom=this.tileID.z;var i=n.map((function(t){return r.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(i[0].x,i[0].y,0,0),this._boundsArray.emplaceBack(i[1].x,i[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(i[3].x,i[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(i[2].x,i[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this},r.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,r=e.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[n];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},r.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))},r.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return!1},r}(t.Evented);var O=function(e){function r(t,r,n,i){e.call(this,t,r,n,i),this.roundZoom=!0,this.type="video",this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1;var r=this.options;this.urls=[];for(var n=0,i=r.urls;n<i.length;n+=1){var a=i[n];this.urls.push(this.map._requestManager.transformRequest(a,t.ResourceType.Source).url)}t.getVideo(this.urls,(function(r,n){e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):n&&(e.video=n,e.video.loop=!0,e.video.addEventListener("playing",(function(){e.map.triggerRepaint()})),e.map&&e.video.play(),e._finishLoading())}))},r.prototype.pause=function(){this.video&&this.video.pause()},r.prototype.play=function(){this.video&&this.video.play()},r.prototype.seek=function(e){if(this.video){var r=this.video.seekable;e<r.start(0)||e>r.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+r.start(0)+" and "+r.end(0)+"-second mark."))):this.video.currentTime=e}},r.prototype.getVideo=function(){return this.video},r.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},r.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,r=e.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[n];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this.video&&!this.video.paused},r}(I),z=function(e){function r(r,n,i,a){e.call(this,r,n,i,a),n.coordinates?Array.isArray(n.coordinates)&&4===n.coordinates.length&&!n.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return"number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "coordinates"'))),n.animate&&"boolean"!=typeof n.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'optional "animate" property must be a boolean value'))),n.canvas?"string"==typeof n.canvas||n.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "canvas"'))),this.options=n,this.animate=void 0===n.animate||n.animate}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},r.prototype.getCanvas=function(){return this.canvas},r.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},r.prototype.onRemove=function(){this.pause()},r.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var r=this.map.painter.context,n=r.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=r.createVertexBuffer(this._boundsArray,P.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(r,this.canvas,n.RGBA,{premultiply:!0}),this.tiles){var a=this.tiles[i];"loaded"!==a.state&&(a.state="loaded",a.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this._playing},r.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var r=e[t];if(isNaN(r)||r<=0)return!0}return!1},r}(I),D={vector:S,raster:E,"raster-dem":L,geojson:C,video:O,image:I,canvas:z};function R(e,r){var n=t.identity([]);return t.translate(n,n,[1,1,0]),t.scale(n,n,[.5*e.width,.5*e.height,1]),t.multiply(n,n,e.calculatePosMatrix(r.toUnwrapped()))}function F(t,e,r,n,i,a){var o=function(t,e,r){if(t)for(var n=0,i=t;n<i.length;n+=1){var a=e[i[n]];if(a&&a.source===r&&"fill-extrusion"===a.type)return!0}else for(var o in e){var s=e[o];if(s.source===r&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,e,t.id),s=a.maxPitchScaleFactor(),l=t.tilesIn(n,s,o);l.sort(B);for(var c=[],u=0,f=l;u<f.length;u+=1){var h=f[u];c.push({wrappedTileID:h.tileID.wrapped().key,queryResults:h.tile.queryRenderedFeatures(e,r,t._state,h.queryGeometry,h.cameraQueryGeometry,h.scale,i,a,s,R(t.transform,h.tileID))})}var p=function(t){for(var e={},r={},n=0,i=t;n<i.length;n+=1){var a=i[n],o=a.queryResults,s=a.wrappedTileID,l=r[s]=r[s]||{};for(var c in o)for(var u=o[c],f=l[c]=l[c]||{},h=e[c]=e[c]||[],p=0,d=u;p<d.length;p+=1){var g=d[p];f[g.featureIndex]||(f[g.featureIndex]=!0,h.push(g))}}return e}(c);for(var d in p)p[d].forEach((function(e){var r=e.feature,n=t.getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=n}));return p}function B(t,e){var r=t.tileID,n=e.tileID;return r.overscaledZ-n.overscaledZ||r.canonical.y-n.canonical.y||r.wrap-n.wrap||r.canonical.x-n.canonical.x}var N=function(t,e){this.max=t,this.onRemove=e,this.reset()};N.prototype.reset=function(){for(var t in this.data)for(var e=0,r=this.data[t];e<r.length;e+=1){var n=r[e];n.timeout&&clearTimeout(n.timeout),this.onRemove(n.value)}return this.data={},this.order=[],this},N.prototype.add=function(t,e,r){var n=this,i=t.wrapped().key;void 0===this.data[i]&&(this.data[i]=[]);var a={value:e,timeout:void 0};if(void 0!==r&&(a.timeout=setTimeout((function(){n.remove(t,a)}),r)),this.data[i].push(a),this.order.push(i),this.order.length>this.max){var o=this._getAndRemoveByKey(this.order[0]);o&&this.onRemove(o)}return this},N.prototype.has=function(t){return t.wrapped().key in this.data},N.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},N.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},N.prototype.getByKey=function(t){var e=this.data[t];return e?e[0].value:null},N.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},N.prototype.remove=function(t,e){if(!this.has(t))return this;var r=t.wrapped().key,n=void 0===e?0:this.data[r].indexOf(e),i=this.data[r][n];return this.data[r].splice(n,1),i.timeout&&clearTimeout(i.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(i.value),this.order.splice(this.order.indexOf(r),1),this},N.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this},N.prototype.filter=function(t){var e=[];for(var r in this.data)for(var n=0,i=this.data[r];n<i.length;n+=1){var a=i[n];t(a.value)||e.push(a)}for(var o=0,s=e;o<s.length;o+=1){var l=s[o];this.remove(l.value.tileID,l)}};var j=function(t,e,r){this.context=t;var n=t.gl;this.buffer=n.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),n.bufferData(n.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};j.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},j.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)},j.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var U={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},V=function(t,e,r,n){this.length=e.length,this.attributes=r,this.itemSize=e.bytesPerElement,this.dynamicDraw=n,this.context=t;var i=t.gl;this.buffer=i.createBuffer(),t.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};V.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},V.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)},V.prototype.enableAttributes=function(t,e){for(var r=0;r<this.attributes.length;r++){var n=this.attributes[r],i=e.attributes[n.name];void 0!==i&&t.enableVertexAttribArray(i)}},V.prototype.setVertexAttribPointers=function(t,e,r){for(var n=0;n<this.attributes.length;n++){var i=this.attributes[n],a=e.attributes[i.name];void 0!==a&&t.vertexAttribPointer(a,i.components,t[U[i.type]],!1,this.itemSize,i.offset+this.itemSize*(r||0))}},V.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var H=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};H.prototype.get=function(){return this.current},H.prototype.set=function(t){},H.prototype.getDefault=function(){return this.default},H.prototype.setDefault=function(){this.set(this.default)};var q=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(H),G=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)},e}(H),Y=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)},e}(H),W=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(H),X=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)},e}(H),Z=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)},e}(H),J=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)},e}(H),K=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)},e}(H),Q=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}},e}(H),$=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)},e}(H),tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}},e}(H),et=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)},e}(H),rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}},e}(H),nt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)},e}(H),it=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(H),at=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)},e}(H),ot=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}},e}(H),st=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)},e}(H),lt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)},e}(H),ct=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)},e}(H),ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)},e}(H),ft=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(H),ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}},e}(H),pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(H),dt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}},e}(H),gt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}},e}(H),mt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1},e}(H),vt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)},e}(H),yt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}},e}(H),xt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}},e}(H),bt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}},e}(H),_t=function(t){function e(e,r){t.call(this,e),this.context=e,this.parent=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e}(H),wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setDirty=function(){this.dirty=!0},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}},e}(_t),Tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(_t),kt=function(t,e,r,n){this.context=t,this.width=e,this.height=r;var i=t.gl,a=this.framebuffer=i.createFramebuffer();this.colorAttachment=new wt(t,a),n&&(this.depthAttachment=new Tt(t,a))};kt.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();if(e&&t.deleteTexture(e),this.depthAttachment){var r=this.depthAttachment.get();r&&t.deleteRenderbuffer(r)}t.deleteFramebuffer(this.framebuffer)};var At=function(t,e,r){this.func=t,this.mask=e,this.range=r};At.ReadOnly=!1,At.ReadWrite=!0,At.disabled=new At(519,At.ReadOnly,[0,1]);var Mt=function(t,e,r,n,i,a){this.test=t,this.ref=e,this.mask=r,this.fail=n,this.depthFail=i,this.pass=a};Mt.disabled=new Mt({func:519,mask:0},0,0,7680,7680,7680);var St=function(t,e,r){this.blendFunction=t,this.blendColor=e,this.mask=r};St.disabled=new St(St.Replace=[1,0],t.Color.transparent,[!1,!1,!1,!1]),St.unblended=new St(St.Replace,t.Color.transparent,[!0,!0,!0,!0]),St.alphaBlended=new St([1,771],t.Color.transparent,[!0,!0,!0,!0]);var Et=function(t,e,r){this.enable=t,this.mode=e,this.frontFace=r};Et.disabled=new Et(!1,1029,2305),Et.backCCW=new Et(!0,1029,2305);var Lt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new q(this),this.clearDepth=new G(this),this.clearStencil=new Y(this),this.colorMask=new W(this),this.depthMask=new X(this),this.stencilMask=new Z(this),this.stencilFunc=new J(this),this.stencilOp=new K(this),this.stencilTest=new Q(this),this.depthRange=new $(this),this.depthTest=new tt(this),this.depthFunc=new et(this),this.blend=new rt(this),this.blendFunc=new nt(this),this.blendColor=new it(this),this.blendEquation=new at(this),this.cullFace=new ot(this),this.cullFaceSide=new st(this),this.frontFace=new lt(this),this.program=new ct(this),this.activeTexture=new ut(this),this.viewport=new ft(this),this.bindFramebuffer=new ht(this),this.bindRenderbuffer=new pt(this),this.bindTexture=new dt(this),this.bindVertexBuffer=new gt(this),this.bindElementBuffer=new mt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new vt(this),this.pixelStoreUnpack=new yt(this),this.pixelStoreUnpackPremultiplyAlpha=new xt(this),this.pixelStoreUnpackFlipY=new bt(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(t.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=t.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=t.getExtension("EXT_disjoint_timer_query")};Lt.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},Lt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},Lt.prototype.createIndexBuffer=function(t,e){return new j(this,t,e)},Lt.prototype.createVertexBuffer=function(t,e,r){return new V(this,t,e,r)},Lt.prototype.createRenderbuffer=function(t,e,r){var n=this.gl,i=n.createRenderbuffer();return this.bindRenderbuffer.set(i),n.renderbufferStorage(n.RENDERBUFFER,t,e,r),this.bindRenderbuffer.set(null),i},Lt.prototype.createFramebuffer=function(t,e,r){return new kt(this,t,e,r)},Lt.prototype.clear=function(t){var e=t.color,r=t.depth,n=this.gl,i=0;e&&(i|=n.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==r&&(i|=n.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(r),this.depthMask.set(!0)),n.clear(i)},Lt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))},Lt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)},Lt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)},Lt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,St.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},Lt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Ct=function(e){function r(r,n,i){var a=this;e.call(this),this.id=r,this.dispatcher=i,this.on("data",(function(t){"source"===t.dataType&&"metadata"===t.sourceDataType&&(a._sourceLoaded=!0),a._sourceLoaded&&!a._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(a.reload(),a.transform&&a.update(a.transform))})),this.on("error",(function(){a._sourceErrored=!0})),this._source=function(e,r,n,i){var a=new D[r.type](e,r,n,i);if(a.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+a.id);return t.bindAll(["load","abort","unload","serialize","prepare"],a),a}(r,n,i,this),this._tiles={},this._cache=new N(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new t.SourceFeatureState}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)},r.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t)},r.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var t in this._tiles){var e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0},r.prototype.getSource=function(){return this._source},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}},r.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},r.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},r.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},r.prototype.serialize=function(){return this._source.serialize()},r.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var r=this._tiles[e];r.upload(t),r.prepare(this.map.style.imageManager)}},r.prototype.getIds=function(){return t.values(this._tiles).map((function(t){return t.tileID})).sort(Pt).map((function(t){return t.key}))},r.prototype.getRenderableIds=function(e){var r=this,n=[];for(var i in this._tiles)this._isIdRenderable(i,e)&&n.push(this._tiles[i]);return e?n.sort((function(e,n){var i=e.tileID,a=n.tileID,o=new t.Point(i.canonical.x,i.canonical.y)._rotate(r.transform.angle),s=new t.Point(a.canonical.x,a.canonical.y)._rotate(r.transform.angle);return i.overscaledZ-a.overscaledZ||s.y-o.y||s.x-o.x})).map((function(t){return t.tileID.key})):n.map((function(t){return t.tileID})).sort(Pt).map((function(t){return t.key}))},r.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},r.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},r.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading")},r.prototype._reloadTile=function(t,e){var r=this._tiles[t];r&&("loading"!==r.state&&(r.state=e),this._loadTile(r,this._tileLoaded.bind(this,r,t,e)))},r.prototype._tileLoaded=function(e,r,n,i){if(i)return e.state="errored",void(404!==i.status?this._source.fire(new t.ErrorEvent(i,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),"expired"===n&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(r,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}))},r.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),r=0;r<e.length;r++){var n=e[r];if(t.neighboringTiles&&t.neighboringTiles[n]){var i=this.getTileByID(n);a(t,i),a(i,t)}}function a(t,e){t.needsHillshadePrepare=!0;var r=e.tileID.canonical.x-t.tileID.canonical.x,n=e.tileID.canonical.y-t.tileID.canonical.y,i=Math.pow(2,t.tileID.canonical.z),a=e.tileID.key;0===r&&0===n||Math.abs(n)>1||(Math.abs(r)>1&&(1===Math.abs(r+i)?r+=i:1===Math.abs(r-i)&&(r-=i)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,r,n),t.neighboringTiles&&t.neighboringTiles[a]&&(t.neighboringTiles[a].backfilled=!0)))}},r.prototype.getTile=function(t){return this.getTileByID(t.key)},r.prototype.getTileByID=function(t){return this._tiles[t]},r.prototype._retainLoadedChildren=function(t,e,r,n){for(var i in this._tiles){var a=this._tiles[i];if(!(n[i]||!a.hasData()||a.tileID.overscaledZ<=e||a.tileID.overscaledZ>r)){for(var o=a.tileID;a&&a.tileID.overscaledZ>e+1;){var s=a.tileID.scaledTo(a.tileID.overscaledZ-1);(a=this._tiles[s.key])&&a.hasData()&&(o=s)}for(var l=o;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){n[o.key]=o;break}}}},r.prototype.findLoadedParent=function(t,e){if(t.key in this._loadedParentTiles){var r=this._loadedParentTiles[t.key];return r&&r.tileID.overscaledZ>=e?r:null}for(var n=t.overscaledZ-1;n>=e;n--){var i=t.scaledTo(n),a=this._getLoadedTile(i);if(a)return a}},r.prototype._getLoadedTile=function(t){var e=this._tiles[t.key];return e&&e.hasData()?e:this._cache.getByKey(t.wrapped().key)},r.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),r=Math.floor(5*e),n="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(n)},r.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,r=Math.round(e);if(this._prevLng=t,r){var n={};for(var i in this._tiles){var a=this._tiles[i];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+r),n[a.tileID.key]=a}for(var o in this._tiles=n,this._timers)clearTimeout(this._timers[o]),delete this._timers[o];for(var s in this._tiles){var l=this._tiles[s];this._setTileReloadTimer(s,l)}}},r.prototype.update=function(e){var n=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var i;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?i=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(i=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(i=i.filter((function(t){return n._source.hasTile(t)})))):i=[];var a=e.coveringZoomLevel(this._source),o=Math.max(a-r.maxOverzooming,this._source.minzoom),s=Math.max(a+r.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(i,a);if(It(this._source.type)){for(var c={},u={},f=0,h=Object.keys(l);f<h.length;f+=1){var p=h[f],d=l[p],g=this._tiles[p];if(g&&!(g.fadeEndTime&&g.fadeEndTime<=t.browser.now())){var m=this.findLoadedParent(d,o);m&&(this._addTile(m.tileID),c[m.tileID.key]=m.tileID),u[p]=d}}for(var v in this._retainLoadedChildren(u,a,s,l),c)l[v]||(this._coveredTiles[v]=!0,l[v]=c[v])}for(var y in l)this._tiles[y].clearFadeHold();for(var x=0,b=t.keysDifference(this._tiles,l);x<b.length;x+=1){var _=b[x],w=this._tiles[_];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(_)}this._updateLoadedParentTileCache()}},r.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)},r.prototype._updateRetainedTiles=function(t,e){for(var n={},i={},a=Math.max(e-r.maxOverzooming,this._source.minzoom),o=Math.max(e+r.maxUnderzooming,this._source.minzoom),s={},l=0,c=t;l<c.length;l+=1){var u=c[l],f=this._addTile(u);n[u.key]=u,f.hasData()||e<this._source.maxzoom&&(s[u.key]=u)}this._retainLoadedChildren(s,e,o,n);for(var h=0,p=t;h<p.length;h+=1){var d=p[h],g=this._tiles[d.key];if(!g.hasData()){if(e+1>this._source.maxzoom){var m=d.children(this._source.maxzoom)[0],v=this.getTile(m);if(v&&v.hasData()){n[m.key]=m;continue}}else{var y=d.children(this._source.maxzoom);if(n[y[0].key]&&n[y[1].key]&&n[y[2].key]&&n[y[3].key])continue}for(var x=g.wasRequested(),b=d.overscaledZ-1;b>=a;--b){var _=d.scaledTo(b);if(i[_.key])break;if(i[_.key]=!0,!(g=this.getTile(_))&&x&&(g=this._addTile(_)),g&&(n[_.key]=_,x=g.wasRequested(),g.hasData()))break}}}return n},r.prototype._updateLoadedParentTileCache=function(){for(var t in this._loadedParentTiles={},this._tiles){for(var e=[],r=void 0,n=this._tiles[t].tileID;n.overscaledZ>0;){if(n.key in this._loadedParentTiles){r=this._loadedParentTiles[n.key];break}e.push(n.key);var i=n.scaledTo(n.overscaledZ-1);if(r=this._getLoadedTile(i))break;n=i}for(var a=0,o=e;a<o.length;a+=1){var s=o[a];this._loadedParentTiles[s]=r}}},r.prototype._addTile=function(e){var r=this._tiles[e.key];if(r)return r;(r=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,r),r.tileID=e,this._state.initializeTileState(r,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,r)));var n=Boolean(r);return n||(r=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(r,this._tileLoaded.bind(this,r,e.key,r.state))),r?(r.uses++,this._tiles[e.key]=r,n||this._source.fire(new t.Event("dataloading",{tile:r,coord:r.tileID,dataType:"source"})),r):null},r.prototype._setTileReloadTimer=function(t,e){var r=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var n=e.getExpiryTimeout();n&&(this._timers[t]=setTimeout((function(){r._reloadTile(t,"expired"),delete r._timers[t]}),n))},r.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},r.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},r.prototype.tilesIn=function(e,r,n){var i=this,a=[],o=this.transform;if(!o)return a;for(var s=n?o.getCameraQueryGeometry(e):e,l=e.map((function(t){return o.pointCoordinate(t)})),c=s.map((function(t){return o.pointCoordinate(t)})),u=this.getIds(),f=1/0,h=1/0,p=-1/0,d=-1/0,g=0,m=c;g<m.length;g+=1){var v=m[g];f=Math.min(f,v.x),h=Math.min(h,v.y),p=Math.max(p,v.x),d=Math.max(d,v.y)}for(var y=function(e){var n=i._tiles[u[e]];if(!n.holdingForFade()){var s=n.tileID,g=Math.pow(2,o.zoom-n.tileID.overscaledZ),m=r*n.queryPadding*t.EXTENT/n.tileSize/g,v=[s.getTilePoint(new t.MercatorCoordinate(f,h)),s.getTilePoint(new t.MercatorCoordinate(p,d))];if(v[0].x-m<t.EXTENT&&v[0].y-m<t.EXTENT&&v[1].x+m>=0&&v[1].y+m>=0){var y=l.map((function(t){return s.getTilePoint(t)})),x=c.map((function(t){return s.getTilePoint(t)}));a.push({tile:n,tileID:s,queryGeometry:y,cameraQueryGeometry:x,scale:g})}}},x=0;x<u.length;x++)y(x);return a},r.prototype.getVisibleCoordinates=function(t){for(var e=this,r=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),n=0,i=r;n<i.length;n+=1){var a=i[n];a.posMatrix=this.transform.calculatePosMatrix(a.toUnwrapped())}return r},r.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(It(this._source.type))for(var e in this._tiles){var r=this._tiles[e];if(void 0!==r.fadeEndTime&&r.fadeEndTime>=t.browser.now())return!0}return!1},r.prototype.setFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.updateState(t,e,r)},r.prototype.removeFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,r)},r.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},r.prototype.setDependencies=function(t,e,r){var n=this._tiles[t];n&&n.setDependencies(e,r)},r.prototype.reloadTilesForDependencies=function(t,e){for(var r in this._tiles){this._tiles[r].hasDependency(t,e)&&this._reloadTile(r,"reloading")}this._cache.filter((function(r){return!r.hasDependency(t,e)}))},r}(t.Evented);function Pt(t,e){var r=Math.abs(2*t.wrap)-+(t.wrap<0),n=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||n-r||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x}function It(t){return"raster"===t||"image"===t||"video"===t}function Ot(){return new t.window.Worker(Zi.workerUrl)}Ct.maxOverzooming=10,Ct.maxUnderzooming=3;var zt="mapboxgl_preloaded_worker_pool",Dt=function(){this.active={}};Dt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<Dt.workerCount;)this.workers.push(new Ot);return this.active[t]=!0,this.workers.slice()},Dt.prototype.release=function(t){delete this.active[t],0===this.numActive()&&(this.workers.forEach((function(t){t.terminate()})),this.workers=null)},Dt.prototype.isPreloaded=function(){return!!this.active[zt]},Dt.prototype.numActive=function(){return Object.keys(this.active).length};var Rt,Ft=Math.floor(t.browser.hardwareConcurrency/2);function Bt(){return Rt||(Rt=new Dt),Rt}function Nt(e,r){var n={};for(var i in e)"ref"!==i&&(n[i]=e[i]);return t.refProperties.forEach((function(t){t in r&&(n[t]=r[t])})),n}function jt(t){t=t.slice();for(var e=Object.create(null),r=0;r<t.length;r++)e[t[r].id]=t[r];for(var n=0;n<t.length;n++)"ref"in t[n]&&(t[n]=Nt(t[n],e[t[n].ref]));return t}Dt.workerCount=Math.max(Math.min(Ft,6),1);var Ut={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Vt(t,e,r){r.push({command:Ut.addSource,args:[t,e[t]]})}function Ht(t,e,r){e.push({command:Ut.removeSource,args:[t]}),r[t]=!0}function qt(t,e,r,n){Ht(t,r,n),Vt(t,e,r)}function Gt(e,r,n){var i;for(i in e[n])if(e[n].hasOwnProperty(i)&&"data"!==i&&!t.deepEqual(e[n][i],r[n][i]))return!1;for(i in r[n])if(r[n].hasOwnProperty(i)&&"data"!==i&&!t.deepEqual(e[n][i],r[n][i]))return!1;return!0}function Yt(e,r,n,i,a,o){var s;for(s in r=r||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||n.push({command:o,args:[i,s,r[s],a]}));for(s in r)r.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||n.push({command:o,args:[i,s,r[s],a]}))}function Wt(t){return t.id}function Xt(t,e){return t[e.id]=e,t}function Zt(e,r){if(!e)return[{command:Ut.setStyle,args:[r]}];var n=[];try{if(!t.deepEqual(e.version,r.version))return[{command:Ut.setStyle,args:[r]}];t.deepEqual(e.center,r.center)||n.push({command:Ut.setCenter,args:[r.center]}),t.deepEqual(e.zoom,r.zoom)||n.push({command:Ut.setZoom,args:[r.zoom]}),t.deepEqual(e.bearing,r.bearing)||n.push({command:Ut.setBearing,args:[r.bearing]}),t.deepEqual(e.pitch,r.pitch)||n.push({command:Ut.setPitch,args:[r.pitch]}),t.deepEqual(e.sprite,r.sprite)||n.push({command:Ut.setSprite,args:[r.sprite]}),t.deepEqual(e.glyphs,r.glyphs)||n.push({command:Ut.setGlyphs,args:[r.glyphs]}),t.deepEqual(e.transition,r.transition)||n.push({command:Ut.setTransition,args:[r.transition]}),t.deepEqual(e.light,r.light)||n.push({command:Ut.setLight,args:[r.light]});var i={},a=[];!function(e,r,n,i){var a;for(a in r=r||{},e=e||{})e.hasOwnProperty(a)&&(r.hasOwnProperty(a)||Ht(a,n,i));for(a in r)r.hasOwnProperty(a)&&(e.hasOwnProperty(a)?t.deepEqual(e[a],r[a])||("geojson"===e[a].type&&"geojson"===r[a].type&&Gt(e,r,a)?n.push({command:Ut.setGeoJSONSourceData,args:[a,r[a].data]}):qt(a,r,n,i)):Vt(a,r,n))}(e.sources,r.sources,a,i);var o=[];e.layers&&e.layers.forEach((function(t){i[t.source]?n.push({command:Ut.removeLayer,args:[t.id]}):o.push(t)})),n=n.concat(a),function(e,r,n){r=r||[];var i,a,o,s,l,c,u,f=(e=e||[]).map(Wt),h=r.map(Wt),p=e.reduce(Xt,{}),d=r.reduce(Xt,{}),g=f.slice(),m=Object.create(null);for(i=0,a=0;i<f.length;i++)o=f[i],d.hasOwnProperty(o)?a++:(n.push({command:Ut.removeLayer,args:[o]}),g.splice(g.indexOf(o,a),1));for(i=0,a=0;i<h.length;i++)o=h[h.length-1-i],g[g.length-1-i]!==o&&(p.hasOwnProperty(o)?(n.push({command:Ut.removeLayer,args:[o]}),g.splice(g.lastIndexOf(o,g.length-a),1)):a++,c=g[g.length-i],n.push({command:Ut.addLayer,args:[d[o],c]}),g.splice(g.length-i,0,o),m[o]=!0);for(i=0;i<h.length;i++)if(s=p[o=h[i]],l=d[o],!m[o]&&!t.deepEqual(s,l))if(t.deepEqual(s.source,l.source)&&t.deepEqual(s["source-layer"],l["source-layer"])&&t.deepEqual(s.type,l.type)){for(u in Yt(s.layout,l.layout,n,o,null,Ut.setLayoutProperty),Yt(s.paint,l.paint,n,o,null,Ut.setPaintProperty),t.deepEqual(s.filter,l.filter)||n.push({command:Ut.setFilter,args:[o,l.filter]}),t.deepEqual(s.minzoom,l.minzoom)&&t.deepEqual(s.maxzoom,l.maxzoom)||n.push({command:Ut.setLayerZoomRange,args:[o,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?Yt(s[u],l[u],n,o,u.slice(6),Ut.setPaintProperty):t.deepEqual(s[u],l[u])||n.push({command:Ut.setLayerProperty,args:[o,u,l[u]]}));for(u in l)l.hasOwnProperty(u)&&!s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?Yt(s[u],l[u],n,o,u.slice(6),Ut.setPaintProperty):t.deepEqual(s[u],l[u])||n.push({command:Ut.setLayerProperty,args:[o,u,l[u]]}))}else n.push({command:Ut.removeLayer,args:[o]}),c=g[g.lastIndexOf(o)+1],n.push({command:Ut.addLayer,args:[l,c]})}(o,r.layers,n)}catch(t){console.warn("Unable to compute style diff:",t),n=[{command:Ut.setStyle,args:[r]}]}return n}var Jt=function(t,e){this.reset(t,e)};Jt.prototype.reset=function(t,e){this.points=t||[],this._distances=[0];for(var r=1;r<this.points.length;r++)this._distances[r]=this._distances[r-1]+this.points[r].dist(this.points[r-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(e||0,.5*this.length),this.paddedLength=this.length-2*this.padding},Jt.prototype.lerp=function(e){if(1===this.points.length)return this.points[0];e=t.clamp(e,0,1);for(var r=1,n=this._distances[r],i=e*this.paddedLength+this.padding;n<i&&r<this._distances.length;)n=this._distances[++r];var a=r-1,o=this._distances[a],s=n-o,l=s>0?(i-o)/s:0;return this.points[a].mult(1-l).add(this.points[r].mult(l))};var Kt=function(t,e,r){var n=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(t/r),this.yCellCount=Math.ceil(e/r);for(var a=0;a<this.xCellCount*this.yCellCount;a++)n.push([]),i.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0};function Qt(e,r,n,i,a){var o=t.create();return r?(t.scale(o,o,[1/a,1/a,1]),n||t.rotateZ(o,o,i.angle)):t.multiply(o,i.labelPlaneMatrix,e),o}function $t(e,r,n,i,a){if(r){var o=t.clone(e);return t.scale(o,o,[a,a,1]),n||t.rotateZ(o,o,-i.angle),o}return i.glCoordMatrix}function te(e,r){var n=[e.x,e.y,0,1];fe(n,n,r);var i=n[3];return{point:new t.Point(n[0]/i,n[1]/i),signedDistanceFromCamera:i}}function ee(t,e){return.5+t/e*.5}function re(t,e){var r=t[0]/t[3],n=t[1]/t[3];return r>=-e[0]&&r<=e[0]&&n>=-e[1]&&n<=e[1]}function ne(e,r,n,i,a,o,s,l){var c=i?e.textSizeData:e.iconSizeData,u=t.evaluateSizeForZoom(c,n.transform.zoom),f=[256/n.width*2+1,256/n.height*2+1],h=i?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;h.clear();for(var p=e.lineVertexArray,d=i?e.text.placedSymbolArray:e.icon.placedSymbolArray,g=n.transform.width/n.transform.height,m=!1,v=0;v<d.length;v++){var y=d.get(v);if(y.hidden||y.writingMode===t.WritingMode.vertical&&!m)ue(y.numGlyphs,h);else{m=!1;var x=[y.anchorX,y.anchorY,0,1];if(t.transformMat4(x,x,r),re(x,f)){var b=x[3],_=ee(n.transform.cameraToCenterDistance,b),w=t.evaluateSizeForFeature(c,u,y),T=s?w/_:w*_,k=new t.Point(y.anchorX,y.anchorY),A=te(k,a).point,M={},S=oe(y,T,!1,l,r,a,o,e.glyphOffsetArray,p,h,A,k,M,g);m=S.useVertical,(S.notEnoughRoom||m||S.needsFlipping&&oe(y,T,!0,l,r,a,o,e.glyphOffsetArray,p,h,A,k,M,g).notEnoughRoom)&&ue(y.numGlyphs,h)}else ue(y.numGlyphs,h)}}i?e.text.dynamicLayoutVertexBuffer.updateData(h):e.icon.dynamicLayoutVertexBuffer.updateData(h)}function ie(t,e,r,n,i,a,o,s,l,c,u){var f=s.glyphStartIndex+s.numGlyphs,h=s.lineStartIndex,p=s.lineStartIndex+s.lineLength,d=e.getoffsetX(s.glyphStartIndex),g=e.getoffsetX(f-1),m=le(t*d,r,n,i,a,o,s.segment,h,p,l,c,u);if(!m)return null;var v=le(t*g,r,n,i,a,o,s.segment,h,p,l,c,u);return v?{first:m,last:v}:null}function ae(e,r,n,i){if(e===t.WritingMode.horizontal&&Math.abs(n.y-r.y)>Math.abs(n.x-r.x)*i)return{useVertical:!0};return(e===t.WritingMode.vertical?r.y<n.y:r.x>n.x)?{needsFlipping:!0}:null}function oe(e,r,n,i,a,o,s,l,c,u,f,h,p,d){var g,m=r/24,v=e.lineOffsetX*m,y=e.lineOffsetY*m;if(e.numGlyphs>1){var x=e.glyphStartIndex+e.numGlyphs,b=e.lineStartIndex,_=e.lineStartIndex+e.lineLength,w=ie(m,l,v,y,n,f,h,e,c,o,p);if(!w)return{notEnoughRoom:!0};var T=te(w.first.point,s).point,k=te(w.last.point,s).point;if(i&&!n){var A=ae(e.writingMode,T,k,d);if(A)return A}g=[w.first];for(var M=e.glyphStartIndex+1;M<x-1;M++)g.push(le(m*l.getoffsetX(M),v,y,n,f,h,e.segment,b,_,c,o,p));g.push(w.last)}else{if(i&&!n){var S=te(h,a).point,E=e.lineStartIndex+e.segment+1,L=new t.Point(c.getx(E),c.gety(E)),C=te(L,a),P=C.signedDistanceFromCamera>0?C.point:se(h,L,S,1,a),I=ae(e.writingMode,S,P,d);if(I)return I}var O=le(m*l.getoffsetX(e.glyphStartIndex),v,y,n,f,h,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,c,o,p);if(!O)return{notEnoughRoom:!0};g=[O]}for(var z=0,D=g;z<D.length;z+=1){var R=D[z];t.addDynamicAttributes(u,R.point,R.angle)}return{}}function se(t,e,r,n,i){var a=te(t.add(t.sub(e)._unit()),i).point,o=r.sub(a);return r.add(o._mult(n/o.mag()))}function le(e,r,n,i,a,o,s,l,c,u,f,h){var p=i?e-r:e+r,d=p>0?1:-1,g=0;i&&(d*=-1,g=Math.PI),d<0&&(g+=Math.PI);for(var m=d>0?l+s:l+s+1,v=a,y=a,x=0,b=0,_=Math.abs(p),w=[];x+b<=_;){if((m+=d)<l||m>=c)return null;if(y=v,w.push(v),void 0===(v=h[m])){var T=new t.Point(u.getx(m),u.gety(m)),k=te(T,f);if(k.signedDistanceFromCamera>0)v=h[m]=k.point;else{var A=m-d;v=se(0===x?o:new t.Point(u.getx(A),u.gety(A)),T,y,_-x+1,f)}}x+=b,b=y.dist(v)}var M=(_-x)/b,S=v.sub(y),E=S.mult(M)._add(y);E._add(S._unit()._perp()._mult(n*d));var L=g+Math.atan2(v.y-y.y,v.x-y.x);return w.push(E),{point:E,angle:L,path:w}}Kt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Kt.prototype.insert=function(t,e,r,n,i){this._forEachCell(e,r,n,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)},Kt.prototype.insertCircle=function(t,e,r,n){this._forEachCell(e-n,r-n,e+n,r+n,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(r),this.circles.push(n)},Kt.prototype._insertBoxCell=function(t,e,r,n,i,a){this.boxCells[i].push(a)},Kt.prototype._insertCircleCell=function(t,e,r,n,i,a){this.circleCells[i].push(a)},Kt.prototype._query=function(t,e,r,n,i,a){if(r<0||t>this.width||n<0||e>this.height)return!i&&[];var o=[];if(t<=0&&e<=0&&this.width<=r&&this.height<=n){if(i)return!0;for(var s=0;s<this.boxKeys.length;s++)o.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var c=this.circles[3*l],u=this.circles[3*l+1],f=this.circles[3*l+2];o.push({key:this.circleKeys[l],x1:c-f,y1:u-f,x2:c+f,y2:u+f})}return a?o.filter(a):o}var h={hitTest:i,seenUids:{box:{},circle:{}}};return this._forEachCell(t,e,r,n,this._queryCell,o,h,a),i?o.length>0:o},Kt.prototype._queryCircle=function(t,e,r,n,i){var a=t-r,o=t+r,s=e-r,l=e+r;if(o<0||a>this.width||l<0||s>this.height)return!n&&[];var c=[],u={hitTest:n,circle:{x:t,y:e,radius:r},seenUids:{box:{},circle:{}}};return this._forEachCell(a,s,o,l,this._queryCellCircle,c,u,i),n?c.length>0:c},Kt.prototype.query=function(t,e,r,n,i){return this._query(t,e,r,n,!1,i)},Kt.prototype.hitTest=function(t,e,r,n,i){return this._query(t,e,r,n,!0,i)},Kt.prototype.hitTestCircle=function(t,e,r,n){return this._queryCircle(t,e,r,!0,n)},Kt.prototype._queryCell=function(t,e,r,n,i,a,o,s){var l=o.seenUids,c=this.boxCells[i];if(null!==c)for(var u=this.bboxes,f=0,h=c;f<h.length;f+=1){var p=h[f];if(!l.box[p]){l.box[p]=!0;var d=4*p;if(t<=u[d+2]&&e<=u[d+3]&&r>=u[d+0]&&n>=u[d+1]&&(!s||s(this.boxKeys[p]))){if(o.hitTest)return a.push(!0),!0;a.push({key:this.boxKeys[p],x1:u[d],y1:u[d+1],x2:u[d+2],y2:u[d+3]})}}}var g=this.circleCells[i];if(null!==g)for(var m=this.circles,v=0,y=g;v<y.length;v+=1){var x=y[v];if(!l.circle[x]){l.circle[x]=!0;var b=3*x;if(this._circleAndRectCollide(m[b],m[b+1],m[b+2],t,e,r,n)&&(!s||s(this.circleKeys[x]))){if(o.hitTest)return a.push(!0),!0;var _=m[b],w=m[b+1],T=m[b+2];a.push({key:this.circleKeys[x],x1:_-T,y1:w-T,x2:_+T,y2:w+T})}}}},Kt.prototype._queryCellCircle=function(t,e,r,n,i,a,o,s){var l=o.circle,c=o.seenUids,u=this.boxCells[i];if(null!==u)for(var f=this.bboxes,h=0,p=u;h<p.length;h+=1){var d=p[h];if(!c.box[d]){c.box[d]=!0;var g=4*d;if(this._circleAndRectCollide(l.x,l.y,l.radius,f[g+0],f[g+1],f[g+2],f[g+3])&&(!s||s(this.boxKeys[d])))return a.push(!0),!0}}var m=this.circleCells[i];if(null!==m)for(var v=this.circles,y=0,x=m;y<x.length;y+=1){var b=x[y];if(!c.circle[b]){c.circle[b]=!0;var _=3*b;if(this._circlesCollide(v[_],v[_+1],v[_+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[b])))return a.push(!0),!0}}},Kt.prototype._forEachCell=function(t,e,r,n,i,a,o,s){for(var l=this._convertToXCellCoord(t),c=this._convertToYCellCoord(e),u=this._convertToXCellCoord(r),f=this._convertToYCellCoord(n),h=l;h<=u;h++)for(var p=c;p<=f;p++){var d=this.xCellCount*p+h;if(i.call(this,t,e,r,n,d,a,o,s))return}},Kt.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Kt.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Kt.prototype._circlesCollide=function(t,e,r,n,i,a){var o=n-t,s=i-e,l=r+a;return l*l>o*o+s*s},Kt.prototype._circleAndRectCollide=function(t,e,r,n,i,a,o){var s=(a-n)/2,l=Math.abs(t-(n+s));if(l>s+r)return!1;var c=(o-i)/2,u=Math.abs(e-(i+c));if(u>c+r)return!1;if(l<=s||u<=c)return!0;var f=l-s,h=u-c;return f*f+h*h<=r*r};var ce=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ue(t,e){for(var r=0;r<t;r++){var n=e.length;e.resize(n+4),e.float32.set(ce,3*n)}}function fe(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[4]*i+r[12],t[1]=r[1]*n+r[5]*i+r[13],t[3]=r[3]*n+r[7]*i+r[15],t}var he=function(t,e,r){void 0===e&&(e=new Kt(t.width+200,t.height+200,25)),void 0===r&&(r=new Kt(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=r,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200};function pe(e,r,n){return r*(t.EXTENT/(e.tileSize*Math.pow(2,n-e.tileID.overscaledZ)))}he.prototype.placeCollisionBox=function(t,e,r,n,i){var a=this.projectAndGetPerspectiveRatio(n,t.anchorPointX,t.anchorPointY),o=r*a.perspectiveRatio,s=t.x1*o+a.point.x,l=t.y1*o+a.point.y,c=t.x2*o+a.point.x,u=t.y2*o+a.point.y;return!this.isInsideGrid(s,l,c,u)||!e&&this.grid.hitTest(s,l,c,u,i)?{box:[],offscreen:!1}:{box:[s,l,c,u],offscreen:this.isOffscreen(s,l,c,u)}},he.prototype.placeCollisionCircles=function(e,r,n,i,a,o,s,l,c,u,f,h,p){var d=[],g=new t.Point(r.anchorX,r.anchorY),m=te(g,o),v=ee(this.transform.cameraToCenterDistance,m.signedDistanceFromCamera),y=(u?a/v:a*v)/t.ONE_EM,x=te(g,s).point,b=ie(y,i,r.lineOffsetX*y,r.lineOffsetY*y,!1,x,g,r,n,s,{}),_=!1,w=!1,T=!0;if(b){for(var k=.5*h*v+p,A=new t.Point(-100,-100),M=new t.Point(this.screenRightBoundary,this.screenBottomBoundary),S=new Jt,E=b.first,L=b.last,C=[],P=E.path.length-1;P>=1;P--)C.push(E.path[P]);for(var I=1;I<L.path.length;I++)C.push(L.path[I]);var O=2.5*k;if(l){var z=C.map((function(t){return te(t,l)}));C=z.some((function(t){return t.signedDistanceFromCamera<=0}))?[]:z.map((function(t){return t.point}))}var D=[];if(C.length>0){for(var R=C[0].clone(),F=C[0].clone(),B=1;B<C.length;B++)R.x=Math.min(R.x,C[B].x),R.y=Math.min(R.y,C[B].y),F.x=Math.max(F.x,C[B].x),F.y=Math.max(F.y,C[B].y);D=R.x>=A.x&&F.x<=M.x&&R.y>=A.y&&F.y<=M.y?[C]:F.x<A.x||R.x>M.x||F.y<A.y||R.y>M.y?[]:t.clipLine([C],A.x,A.y,M.x,M.y)}for(var N=0,j=D;N<j.length;N+=1){var U=j[N];S.reset(U,.25*k);var V=0;V=S.length<=.5*k?1:Math.ceil(S.paddedLength/O)+1;for(var H=0;H<V;H++){var q=H/Math.max(V-1,1),G=S.lerp(q),Y=G.x+100,W=G.y+100;d.push(Y,W,k,0);var X=Y-k,Z=W-k,J=Y+k,K=W+k;if(T=T&&this.isOffscreen(X,Z,J,K),w=w||this.isInsideGrid(X,Z,J,K),!e&&this.grid.hitTestCircle(Y,W,k,f)&&(_=!0,!c))return{circles:[],offscreen:!1,collisionDetected:_}}}}return{circles:!c&&_||!w?[]:d,offscreen:T,collisionDetected:_}},he.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var r=[],n=1/0,i=1/0,a=-1/0,o=-1/0,s=0,l=e;s<l.length;s+=1){var c=l[s],u=new t.Point(c.x+100,c.y+100);n=Math.min(n,u.x),i=Math.min(i,u.y),a=Math.max(a,u.x),o=Math.max(o,u.y),r.push(u)}for(var f={},h={},p=0,d=this.grid.query(n,i,a,o).concat(this.ignoredGrid.query(n,i,a,o));p<d.length;p+=1){var g=d[p],m=g.key;if(void 0===f[m.bucketInstanceId]&&(f[m.bucketInstanceId]={}),!f[m.bucketInstanceId][m.featureIndex]){var v=[new t.Point(g.x1,g.y1),new t.Point(g.x2,g.y1),new t.Point(g.x2,g.y2),new t.Point(g.x1,g.y2)];t.polygonIntersectsPolygon(r,v)&&(f[m.bucketInstanceId][m.featureIndex]=!0,void 0===h[m.bucketInstanceId]&&(h[m.bucketInstanceId]=[]),h[m.bucketInstanceId].push(m.featureIndex))}}return h},he.prototype.insertCollisionBox=function(t,e,r,n,i){var a={bucketInstanceId:r,featureIndex:n,collisionGroupID:i};(e?this.ignoredGrid:this.grid).insert(a,t[0],t[1],t[2],t[3])},he.prototype.insertCollisionCircles=function(t,e,r,n,i){for(var a=e?this.ignoredGrid:this.grid,o={bucketInstanceId:r,featureIndex:n,collisionGroupID:i},s=0;s<t.length;s+=4)a.insertCircle(o,t[s],t[s+1],t[s+2])},he.prototype.projectAndGetPerspectiveRatio=function(e,r,n){var i=[r,n,0,1];return fe(i,i,e),{point:new t.Point((i[0]/i[3]+1)/2*this.transform.width+100,(-i[1]/i[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5}},he.prototype.isOffscreen=function(t,e,r,n){return r<100||t>=this.screenRightBoundary||n<100||e>this.screenBottomBoundary},he.prototype.isInsideGrid=function(t,e,r,n){return r>=0&&t<this.gridRightBoundary&&n>=0&&e<this.gridBottomBoundary},he.prototype.getViewportMatrix=function(){var e=t.identity([]);return t.translate(e,e,[-100,-100,0]),e};var de=function(t,e,r,n){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):n&&r?1:0,this.placed=r};de.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ge=function(t,e,r,n,i){this.text=new de(t?t.text:null,e,r,i),this.icon=new de(t?t.icon:null,e,n,i)};ge.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var me=function(t,e,r){this.text=t,this.icon=e,this.skipFade=r},ve=function(){this.invProjMatrix=t.create(),this.viewportMatrix=t.create(),this.circles=[]},ye=function(t,e,r,n,i){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=r,this.bucketIndex=n,this.tileID=i},xe=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}};function be(e,r,n,i,a){var o=t.getAnchorAlignment(e),s=-(o.horizontalAlign-.5)*r,l=-(o.verticalAlign-.5)*n,c=t.evaluateVariableOffset(e,i);return new t.Point(s+c[0]*a,l+c[1]*a)}function _e(e,r,n,i,a,o){var s=e.x1,l=e.x2,c=e.y1,u=e.y2,f=e.anchorPointX,h=e.anchorPointY,p=new t.Point(r,n);return i&&p._rotate(a?o:-o),{x1:s+p.x,y1:c+p.y,x2:l+p.x,y2:u+p.y,anchorPointX:f,anchorPointY:h}}xe.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}}}return this.collisionGroups[t]};var we=function(t,e,r,n){this.transform=t.clone(),this.collisionIndex=new he(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new xe(r),this.collisionCircleArrays={},this.prevPlacement=n,n&&(n.prevPlacement=void 0),this.placedOrientations={}};function Te(t,e,r,n,i){t.emplaceBack(e?1:0,r?1:0,n||0,i||0),t.emplaceBack(e?1:0,r?1:0,n||0,i||0),t.emplaceBack(e?1:0,r?1:0,n||0,i||0),t.emplaceBack(e?1:0,r?1:0,n||0,i||0)}we.prototype.getBucketParts=function(e,r,n,i){var a=n.getBucket(r),o=n.latestFeatureIndex;if(a&&o&&r.id===a.layerIds[0]){var s=n.collisionBoxArray,l=a.layers[0].layout,c=Math.pow(2,this.transform.zoom-n.tileID.overscaledZ),u=n.tileSize/t.EXTENT,f=this.transform.calculatePosMatrix(n.tileID.toUnwrapped()),h="map"===l.get("text-pitch-alignment"),p="map"===l.get("text-rotation-alignment"),d=pe(n,1,this.transform.zoom),g=Qt(f,h,p,this.transform,d),m=null;if(h){var v=$t(f,h,p,this.transform,d);m=t.multiply([],this.transform.labelPlaneMatrix,v)}this.retainedQueryData[a.bucketInstanceId]=new ye(a.bucketInstanceId,o,a.sourceLayerIndex,a.index,n.tileID);var y={bucket:a,layout:l,posMatrix:f,textLabelPlaneMatrix:g,labelToScreenMatrix:m,scale:c,textPixelRatio:u,holdingForFade:n.holdingForFade(),collisionBoxArray:s,partiallyEvaluatedTextSize:t.evaluateSizeForZoom(a.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(a.sourceID)};if(i)for(var x=0,b=a.sortKeyRanges;x<b.length;x+=1){var _=b[x],w=_.sortKey,T=_.symbolInstanceStart,k=_.symbolInstanceEnd;e.push({sortKey:w,symbolInstanceStart:T,symbolInstanceEnd:k,parameters:y})}else e.push({symbolInstanceStart:0,symbolInstanceEnd:a.symbolInstances.length,parameters:y})}},we.prototype.attemptAnchorPlacement=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d){var g,m=[f.textOffset0,f.textOffset1],v=be(t,r,n,m,i),y=this.collisionIndex.placeCollisionBox(_e(e,v.x,v.y,a,o,this.transform.angle),u,s,l,c.predicate);if(d&&0===this.collisionIndex.placeCollisionBox(_e(d,v.x,v.y,a,o,this.transform.angle),u,s,l,c.predicate).box.length)return;if(y.box.length>0)return this.prevPlacement&&this.prevPlacement.variableOffsets[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID].text&&(g=this.prevPlacement.variableOffsets[f.crossTileID].anchor),this.variableOffsets[f.crossTileID]={textOffset:m,width:r,height:n,anchor:t,textBoxScale:i,prevAnchor:g},this.markUsedJustification(h,t,f,p),h.allowVerticalPlacement&&(this.markUsedOrientation(h,p,f),this.placedOrientations[f.crossTileID]=p),{shift:v,placedGlyphBoxes:y}},we.prototype.placeLayerBucketPart=function(e,r,n){var i=this,a=e.parameters,o=a.bucket,s=a.layout,l=a.posMatrix,c=a.textLabelPlaneMatrix,u=a.labelToScreenMatrix,f=a.textPixelRatio,h=a.holdingForFade,p=a.collisionBoxArray,d=a.partiallyEvaluatedTextSize,g=a.collisionGroup,m=s.get("text-optional"),v=s.get("icon-optional"),y=s.get("text-allow-overlap"),x=s.get("icon-allow-overlap"),b="map"===s.get("text-rotation-alignment"),_="map"===s.get("text-pitch-alignment"),w="none"!==s.get("icon-text-fit"),T="viewport-y"===s.get("symbol-z-order"),k=y&&(x||!o.hasIconData()||v),A=x&&(y||!o.hasTextData()||m);!o.collisionArrays&&p&&o.deserializeCollisionBoxes(p);var M=function(e,a){if(!r[e.crossTileID])if(h)i.placements[e.crossTileID]=new me(!1,!1,!1);else{var p,T=!1,M=!1,S=!0,E=null,L={box:null,offscreen:null},C={box:null,offscreen:null},P=null,I=null,O=0,z=0,D=0;a.textFeatureIndex?O=a.textFeatureIndex:e.useRuntimeCollisionCircles&&(O=e.featureIndex),a.verticalTextFeatureIndex&&(z=a.verticalTextFeatureIndex);var R=a.textBox;if(R){var F=function(r){var n=t.WritingMode.horizontal;if(o.allowVerticalPlacement&&!r&&i.prevPlacement){var a=i.prevPlacement.placedOrientations[e.crossTileID];a&&(i.placedOrientations[e.crossTileID]=a,n=a,i.markUsedOrientation(o,n,e))}return n},B=function(r,n){if(o.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&a.verticalTextBox)for(var i=0,s=o.writingModes;i<s.length;i+=1){if(s[i]===t.WritingMode.vertical?(L=n(),C=L):L=r(),L&&L.box&&L.box.length)break}else L=r()};if(s.get("text-variable-anchor")){var N=s.get("text-variable-anchor");if(i.prevPlacement&&i.prevPlacement.variableOffsets[e.crossTileID]){var j=i.prevPlacement.variableOffsets[e.crossTileID];N.indexOf(j.anchor)>0&&(N=N.filter((function(t){return t!==j.anchor}))).unshift(j.anchor)}var U=function(t,r,n){for(var a=t.x2-t.x1,s=t.y2-t.y1,c=e.textBoxScale,u=w&&!x?r:null,h={box:[],offscreen:!1},p=y?2*N.length:N.length,d=0;d<p;++d){var m=N[d%N.length],v=d>=N.length,k=i.attemptAnchorPlacement(m,t,a,s,c,b,_,f,l,g,v,e,o,n,u);if(k&&(h=k.placedGlyphBoxes)&&h.box&&h.box.length){T=!0,E=k.shift;break}}return h};B((function(){return U(R,a.iconBox,t.WritingMode.horizontal)}),(function(){var r=a.verticalTextBox,n=L&&L.box&&L.box.length;return o.allowVerticalPlacement&&!n&&e.numVerticalGlyphVertices>0&&r?U(r,a.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),L&&(T=L.box,S=L.offscreen);var V=F(L&&L.box);if(!T&&i.prevPlacement){var H=i.prevPlacement.variableOffsets[e.crossTileID];H&&(i.variableOffsets[e.crossTileID]=H,i.markUsedJustification(o,H.anchor,e,V))}}else{var q=function(t,r){var n=i.collisionIndex.placeCollisionBox(t,y,f,l,g.predicate);return n&&n.box&&n.box.length&&(i.markUsedOrientation(o,r,e),i.placedOrientations[e.crossTileID]=r),n};B((function(){return q(R,t.WritingMode.horizontal)}),(function(){var r=a.verticalTextBox;return o.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&r?q(r,t.WritingMode.vertical):{box:null,offscreen:null}})),F(L&&L.box&&L.box.length)}}if(T=(p=L)&&p.box&&p.box.length>0,S=p&&p.offscreen,e.useRuntimeCollisionCircles){var G=o.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),Y=t.evaluateSizeForFeature(o.textSizeData,d,G),W=s.get("text-padding"),X=e.collisionCircleDiameter;P=i.collisionIndex.placeCollisionCircles(y,G,o.lineVertexArray,o.glyphOffsetArray,Y,l,c,u,n,_,g.predicate,X,W),T=y||P.circles.length>0&&!P.collisionDetected,S=S&&P.offscreen}if(a.iconFeatureIndex&&(D=a.iconFeatureIndex),a.iconBox){var Z=function(t){var e=w&&E?_e(t,E.x,E.y,b,_,i.transform.angle):t;return i.collisionIndex.placeCollisionBox(e,x,f,l,g.predicate)};M=C&&C.box&&C.box.length&&a.verticalIconBox?(I=Z(a.verticalIconBox)).box.length>0:(I=Z(a.iconBox)).box.length>0,S=S&&I.offscreen}var J=m||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,K=v||0===e.numIconVertices;if(J||K?K?J||(M=M&&T):T=M&&T:M=T=M&&T,T&&p&&p.box&&(C&&C.box&&z?i.collisionIndex.insertCollisionBox(p.box,s.get("text-ignore-placement"),o.bucketInstanceId,z,g.ID):i.collisionIndex.insertCollisionBox(p.box,s.get("text-ignore-placement"),o.bucketInstanceId,O,g.ID)),M&&I&&i.collisionIndex.insertCollisionBox(I.box,s.get("icon-ignore-placement"),o.bucketInstanceId,D,g.ID),P&&(T&&i.collisionIndex.insertCollisionCircles(P.circles,s.get("text-ignore-placement"),o.bucketInstanceId,O,g.ID),n)){var Q=o.bucketInstanceId,$=i.collisionCircleArrays[Q];void 0===$&&($=i.collisionCircleArrays[Q]=new ve);for(var tt=0;tt<P.circles.length;tt+=4)$.circles.push(P.circles[tt+0]),$.circles.push(P.circles[tt+1]),$.circles.push(P.circles[tt+2]),$.circles.push(P.collisionDetected?1:0)}i.placements[e.crossTileID]=new me(T||k,M||A,S||o.justReloaded),r[e.crossTileID]=!0}};if(T)for(var S=o.getSortedSymbolIndexes(this.transform.angle),E=S.length-1;E>=0;--E){var L=S[E];M(o.symbolInstances.get(L),o.collisionArrays[L])}else for(var C=e.symbolInstanceStart;C<e.symbolInstanceEnd;C++)M(o.symbolInstances.get(C),o.collisionArrays[C]);if(n&&o.bucketInstanceId in this.collisionCircleArrays){var P=this.collisionCircleArrays[o.bucketInstanceId];t.invert(P.invProjMatrix,l),P.viewportMatrix=this.collisionIndex.getViewportMatrix()}o.justReloaded=!1},we.prototype.markUsedJustification=function(e,r,n,i){var a,o={left:n.leftJustifiedTextSymbolIndex,center:n.centerJustifiedTextSymbolIndex,right:n.rightJustifiedTextSymbolIndex};a=i===t.WritingMode.vertical?n.verticalPlacedTextSymbolIndex:o[t.getAnchorJustification(r)];for(var s=0,l=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex,n.verticalPlacedTextSymbolIndex];s<l.length;s+=1){var c=l[s];c>=0&&(e.text.placedSymbolArray.get(c).crossTileID=a>=0&&c!==a?0:n.crossTileID)}},we.prototype.markUsedOrientation=function(e,r,n){for(var i=r===t.WritingMode.horizontal||r===t.WritingMode.horizontalOnly?r:0,a=r===t.WritingMode.vertical?r:0,o=0,s=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex];o<s.length;o+=1){var l=s[o];e.text.placedSymbolArray.get(l).placedOrientation=i}n.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(n.verticalPlacedTextSymbolIndex).placedOrientation=a)},we.prototype.commit=function(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;var e=this.prevPlacement,r=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;var n=e?e.symbolFadeChange(t):1,i=e?e.opacities:{},a=e?e.variableOffsets:{},o=e?e.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],c=i[s];c?(this.opacities[s]=new ge(c,n,l.text,l.icon),r=r||l.text!==c.text.placed||l.icon!==c.icon.placed):(this.opacities[s]=new ge(null,n,l.text,l.icon,l.skipFade),r=r||l.text||l.icon)}for(var u in i){var f=i[u];if(!this.opacities[u]){var h=new ge(f,n,!1,!1);h.isHidden()||(this.opacities[u]=h,r=r||f.text.placed||f.icon.placed)}}for(var p in a)this.variableOffsets[p]||!this.opacities[p]||this.opacities[p].isHidden()||(this.variableOffsets[p]=a[p]);for(var d in o)this.placedOrientations[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.placedOrientations[d]=o[d]);r?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)},we.prototype.updateLayerOpacities=function(t,e){for(var r={},n=0,i=e;n<i.length;n+=1){var a=i[n],o=a.getBucket(t);o&&a.latestFeatureIndex&&t.id===o.layerIds[0]&&this.updateBucketOpacities(o,r,a.collisionBoxArray)}},we.prototype.updateBucketOpacities=function(e,r,n){var i=this;e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();var a=e.layers[0].layout,o=new ge(null,0,!1,!1,!0),s=a.get("text-allow-overlap"),l=a.get("icon-allow-overlap"),c=a.get("text-variable-anchor"),u="map"===a.get("text-rotation-alignment"),f="map"===a.get("text-pitch-alignment"),h="none"!==a.get("icon-text-fit"),p=new ge(null,0,s&&(l||!e.hasIconData()||a.get("icon-optional")),l&&(s||!e.hasTextData()||a.get("text-optional")),!0);!e.collisionArrays&&n&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(n);for(var d=function(t,e,r){for(var n=0;n<e/4;n++)t.opacityVertexArray.emplaceBack(r)},g=function(n){var a=e.symbolInstances.get(n),s=a.numHorizontalGlyphVertices,l=a.numVerticalGlyphVertices,g=a.crossTileID,m=r[g],v=i.opacities[g];m?v=o:v||(v=p,i.opacities[g]=v),r[g]=!0;var y=s>0||l>0,x=a.numIconVertices>0,b=i.placedOrientations[a.crossTileID],_=b===t.WritingMode.vertical,w=b===t.WritingMode.horizontal||b===t.WritingMode.horizontalOnly;if(y){var T=Pe(v.text),k=_?Ie:T;d(e.text,s,k);var A=w?Ie:T;d(e.text,l,A);var M=v.text.isHidden();[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=M||_?1:0)})),a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=M||w?1:0);var S=i.variableOffsets[a.crossTileID];S&&i.markUsedJustification(e,S.anchor,a,b);var E=i.placedOrientations[a.crossTileID];E&&(i.markUsedJustification(e,"left",a,E),i.markUsedOrientation(e,E,a))}if(x){var L=Pe(v.icon),C=!(h&&a.verticalPlacedIconSymbolIndex&&_);if(a.placedIconSymbolIndex>=0){var P=C?L:Ie;d(e.icon,a.numIconVertices,P),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=v.icon.isHidden()}if(a.verticalPlacedIconSymbolIndex>=0){var I=C?Ie:L;d(e.icon,a.numVerticalIconVertices,I),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=v.icon.isHidden()}}if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){var O=e.collisionArrays[n];if(O){var z=new t.Point(0,0);if(O.textBox||O.verticalTextBox){var D=!0;if(c){var R=i.variableOffsets[g];R?(z=be(R.anchor,R.width,R.height,R.textOffset,R.textBoxScale),u&&z._rotate(f?i.transform.angle:-i.transform.angle)):D=!1}O.textBox&&Te(e.textCollisionBox.collisionVertexArray,v.text.placed,!D||_,z.x,z.y),O.verticalTextBox&&Te(e.textCollisionBox.collisionVertexArray,v.text.placed,!D||w,z.x,z.y)}var F=Boolean(!w&&O.verticalIconBox);O.iconBox&&Te(e.iconCollisionBox.collisionVertexArray,v.icon.placed,F,h?z.x:0,h?z.y:0),O.verticalIconBox&&Te(e.iconCollisionBox.collisionVertexArray,v.icon.placed,!F,h?z.x:0,h?z.y:0)}}},m=0;m<e.symbolInstances.length;m++)g(m);if(e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.bucketInstanceId in this.collisionCircleArrays){var v=this.collisionCircleArrays[e.bucketInstanceId];e.placementInvProjMatrix=v.invProjMatrix,e.placementViewportMatrix=v.viewportMatrix,e.collisionCircleArray=v.circles,delete this.collisionCircleArrays[e.bucketInstanceId]}},we.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},we.prototype.zoomAdjustment=function(t){return Math.max(0,(this.transform.zoom-t)/1.5)},we.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},we.prototype.stillRecent=function(t,e){var r=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*r>t},we.prototype.setStale=function(){this.stale=!0};var ke=Math.pow(2,25),Ae=Math.pow(2,24),Me=Math.pow(2,17),Se=Math.pow(2,16),Ee=Math.pow(2,9),Le=Math.pow(2,8),Ce=Math.pow(2,1);function Pe(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,r=Math.floor(127*t.opacity);return r*ke+e*Ae+r*Me+e*Se+r*Ee+e*Le+r*Ce+e}var Ie=0,Oe=function(t){this._sortAcrossTiles="viewport-y"!==t.layout.get("symbol-z-order")&&void 0!==t.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Oe.prototype.continuePlacement=function(t,e,r,n,i){for(var a=this._bucketParts;this._currentTileIndex<t.length;){var o=t[this._currentTileIndex];if(e.getBucketParts(a,n,o,this._sortAcrossTiles),this._currentTileIndex++,i())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,a.sort((function(t,e){return t.sortKey-e.sortKey})));this._currentPartIndex<a.length;){var s=a[this._currentPartIndex];if(e.placeLayerBucketPart(s,this._seenCrossTileIDs,r),this._currentPartIndex++,i())return!0}return!1};var ze=function(t,e,r,n,i,a,o){this.placement=new we(t,i,a,o),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=n,this._done=!1};ze.prototype.isDone=function(){return this._done},ze.prototype.continuePlacement=function(e,r,n){for(var i=this,a=t.browser.now(),o=function(){var e=t.browser.now()-a;return!i._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=r[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Oe(s)),this._inProgressLayer.continuePlacement(n[s.source],this.placement,this._showCollisionBoxes,s,o))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},ze.prototype.commit=function(t){return this.placement.commit(t),this.placement};var De=512/t.EXTENT/2,Re=function(t,e,r){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=r;for(var n=0;n<e.length;n++){var i=e.get(n),a=i.key;this.indexedSymbolInstances[a]||(this.indexedSymbolInstances[a]=[]),this.indexedSymbolInstances[a].push({crossTileID:i.crossTileID,coord:this.getScaledCoordinates(i,t)})}};Re.prototype.getScaledCoordinates=function(e,r){var n=r.canonical.z-this.tileID.canonical.z,i=De/Math.pow(2,n);return{x:Math.floor((r.canonical.x*t.EXTENT+e.anchorX)*i),y:Math.floor((r.canonical.y*t.EXTENT+e.anchorY)*i)}},Re.prototype.findMatches=function(t,e,r){for(var n=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),i=0;i<t.length;i++){var a=t.get(i);if(!a.crossTileID){var o=this.indexedSymbolInstances[a.key];if(o)for(var s=this.getScaledCoordinates(a,e),l=0,c=o;l<c.length;l+=1){var u=c[l];if(Math.abs(u.coord.x-s.x)<=n&&Math.abs(u.coord.y-s.y)<=n&&!r[u.crossTileID]){r[u.crossTileID]=!0,a.crossTileID=u.crossTileID;break}}}}};var Fe=function(){this.maxCrossTileID=0};Fe.prototype.generate=function(){return++this.maxCrossTileID};var Be=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Be.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var r in this.indexes){var n=this.indexes[r],i={};for(var a in n){var o=n[a];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+e),i[o.tileID.key]=o}this.indexes[r]=i}this.lng=t},Be.prototype.addBucket=function(t,e,r){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(var n=0;n<e.symbolInstances.length;n++){e.symbolInstances.get(n).crossTileID=0}this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var i=this.usedCrossTileIDs[t.overscaledZ];for(var a in this.indexes){var o=this.indexes[a];if(Number(a)>t.overscaledZ)for(var s in o){var l=o[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,i)}else{var c=o[t.scaledTo(Number(a)).key];c&&c.findMatches(e.symbolInstances,t,i)}}for(var u=0;u<e.symbolInstances.length;u++){var f=e.symbolInstances.get(u);f.crossTileID||(f.crossTileID=r.generate(),i[f.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new Re(t,e.symbolInstances,e.bucketInstanceId),!0},Be.prototype.removeBucketCrossTileIDs=function(t,e){for(var r in e.indexedSymbolInstances)for(var n=0,i=e.indexedSymbolInstances[r];n<i.length;n+=1){var a=i[n];delete this.usedCrossTileIDs[t][a.crossTileID]}},Be.prototype.removeStaleBuckets=function(t){var e=!1;for(var r in this.indexes){var n=this.indexes[r];for(var i in n)t[n[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,n[i]),delete n[i],e=!0)}return e};var Ne=function(){this.layerIndexes={},this.crossTileIDs=new Fe,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Ne.prototype.addLayer=function(t,e,r){var n=this.layerIndexes[t.id];void 0===n&&(n=this.layerIndexes[t.id]=new Be);var i=!1,a={};n.handleWrapJump(r);for(var o=0,s=e;o<s.length;o+=1){var l=s[o],c=l.getBucket(t);c&&t.id===c.layerIds[0]&&(c.bucketInstanceId||(c.bucketInstanceId=++this.maxBucketInstanceId),n.addBucket(l.tileID,c,this.crossTileIDs)&&(i=!0),a[c.bucketInstanceId]=!0)}return n.removeStaleBuckets(a)&&(i=!0),i},Ne.prototype.pruneUnusedLayers=function(t){var e={};for(var r in t.forEach((function(t){e[t]=!0})),this.layerIndexes)e[r]||delete this.layerIndexes[r]};var je=function(e,r){return t.emitValidationErrors(e,r&&r.filter((function(t){return"source.canvas"!==t.identifier})))},Ue=t.pick(Ut,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Ve=t.pick(Ut,["setCenter","setZoom","setBearing","setPitch"]),He=function(){var e={},r=t.styleSpec.$version;for(var n in t.styleSpec.$root){var i=t.styleSpec.$root[n];if(i.required){var a=null;null!=(a="version"===n?r:"array"===i.type?[]:{})&&(e[n]=a)}}return e}(),qe=function(e){function r(n,i){var a=this;void 0===i&&(i={}),e.call(this),this.map=n,this.dispatcher=new k(Bt(),this),this.imageManager=new h,this.imageManager.setEventedParent(this),this.glyphManager=new x(n._requestManager,i.localIdeographFontFamily),this.lineAtlas=new T(256,512),this.crossTileSymbolIndex=new Ne,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());var o=this;this._rtlTextPluginCallback=r.registerForPluginStateChange((function(e){var r={pluginStatus:e.pluginStatus,pluginURL:e.pluginURL};o.dispatcher.broadcast("syncRTLPluginState",r,(function(e,r){if((t.triggerPluginCompletionEvent(e),r)&&r.every((function(t){return t})))for(var n in o.sourceCaches)o.sourceCaches[n].reload()}))})),this.on("data",(function(t){if("source"===t.dataType&&"metadata"===t.sourceDataType){var e=a.sourceCaches[t.sourceId];if(e){var r=e.getSource();if(r&&r.vectorLayerIds)for(var n in a._layers){var i=a._layers[n];i.source===r.id&&a._validateLayer(i)}}}}))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadURL=function(e,r){var n=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"}));var i="boolean"==typeof r.validate?r.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,r.accessToken);var a=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(a,(function(e,r){n._request=null,e?n.fire(new t.ErrorEvent(e)):r&&n._load(r,i)}))},r.prototype.loadJSON=function(e,r){var n=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.browser.frame((function(){n._request=null,n._load(e,!1!==r.validate)}))},r.prototype.loadEmpty=function(){this.fire(new t.Event("dataloading",{dataType:"style"})),this._load(He,!1)},r.prototype._load=function(e,r){if(!r||!je(this,t.validateStyle(e))){for(var n in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(n,e.sources[n],{validate:!1});e.sprite?this._loadSprite(e.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var i=jt(this.stylesheet.layers);this._order=i.map((function(t){return t.id})),this._layers={},this._serializedLayers={};for(var a=0,o=i;a<o.length;a+=1){var s=o[a];(s=t.createStyleLayer(s)).setEventedParent(this,{layer:{id:s.id}}),this._layers[s.id]=s,this._serializedLayers[s.id]=s.serialize()}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}},r.prototype._loadSprite=function(e){var r=this;this._spriteRequest=function(e,r,n){var i,a,o,s=t.browser.devicePixelRatio>1?"@2x":"",l=t.getJSON(r.transformRequest(r.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){l=null,o||(o=t,i=e,u())})),c=t.getImage(r.transformRequest(r.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){c=null,o||(o=t,a=e,u())}));function u(){if(o)n(o);else if(i&&a){var e=t.browser.getImageData(a),r={};for(var s in i){var l=i[s],c=l.width,u=l.height,f=l.x,h=l.y,p=l.sdf,d=l.pixelRatio,g=l.stretchX,m=l.stretchY,v=l.content,y=new t.RGBAImage({width:c,height:u});t.RGBAImage.copy(e,y,{x:f,y:h},{x:0,y:0},{width:c,height:u}),r[s]={data:y,pixelRatio:d,sdf:p,stretchX:g,stretchY:m,content:v}}n(null,r)}}return{cancel:function(){l&&(l.cancel(),l=null),c&&(c.cancel(),c=null)}}}(e,this.map._requestManager,(function(e,n){if(r._spriteRequest=null,e)r.fire(new t.ErrorEvent(e));else if(n)for(var i in n)r.imageManager.addImage(i,n[i]);r.imageManager.setLoaded(!0),r._availableImages=r.imageManager.listImages(),r.dispatcher.broadcast("setImages",r._availableImages),r.fire(new t.Event("data",{dataType:"style"}))}))},r.prototype._validateLayer=function(e){var r=this.sourceCaches[e.source];if(r){var n=e.sourceLayer;if(n){var i=r.getSource();("geojson"===i.type||i.vectorLayerIds&&-1===i.vectorLayerIds.indexOf(n))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+n+'" does not exist on source "'+i.id+'" as specified by style layer "'+e.id+'"')))}}},r.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},r.prototype._serializeLayers=function(t){for(var e=[],r=0,n=t;r<n.length;r+=1){var i=n[r],a=this._layers[i];"custom"!==a.type&&e.push(a.serialize())}return e},r.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},r.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},r.prototype.update=function(e){if(this._loaded){var r=this._changed;if(this._changed){var n=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);for(var a in(n.length||i.length)&&this._updateWorkerLayers(n,i),this._updatedSources){var o=this._updatedSources[a];"reload"===o?this._reloadSource(a):"clear"===o&&this._clearSource(a)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var c=0,u=this._order;c<u.length;c+=1){var f=u[c],h=this._layers[f];h.recalculate(e,this._availableImages),!h.isHidden(e.zoom)&&h.source&&(this.sourceCaches[h.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,r&&this.fire(new t.Event("data",{dataType:"style"}))}},r.prototype._updateTilesForChangedImages=function(){var t=Object.keys(this._changedImages);if(t.length){for(var e in this.sourceCaches)this.sourceCaches[e].reloadTilesForDependencies(["icons","patterns"],t);this._changedImages={}}},r.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})},r.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},r.prototype.setState=function(e){var r=this;if(this._checkLoaded(),je(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=jt(e.layers);var n=Zt(this.serialize(),e).filter((function(t){return!(t.command in Ve)}));if(0===n.length)return!1;var i=n.filter((function(t){return!(t.command in Ue)}));if(i.length>0)throw new Error("Unimplemented: "+i.map((function(t){return t.command})).join(", ")+".");return n.forEach((function(t){"setTransition"!==t.command&&r[t.command].apply(r,t.args)})),this.stylesheet=e,!0},r.prototype.addImage=function(e,r){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,r),this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},r.prototype.getImage=function(t){return this.imageManager.getImage(t)},r.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},r.prototype.addSource=function(e,r,n){var i=this;if(void 0===n&&(n={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!r.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(r).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(r.type)>=0)||!this._validate(t.validateStyle.source,"sources."+e,r,null,n)){this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);var a=this.sourceCaches[e]=new Ct(e,r,this.dispatcher);a.style=this,a.setEventedParent(this,(function(){return{isSourceLoaded:i.loaded(),source:a.serialize(),sourceId:e}})),a.onAdd(this.map),this._changed=!0}},r.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var r in this._layers)if(this._layers[r].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+r+'" is using it.')));var n=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],n.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),n.setEventedParent(null),n.clearTiles(),n.onRemove&&n.onRemove(this.map),this._changed=!0},r.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},r.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},r.prototype.addLayer=function(e,r,n){void 0===n&&(n={}),this._checkLoaded();var i=e.id;if(this.getLayer(i))this.fire(new t.ErrorEvent(new Error('Layer with id "'+i+'" already exists on this map')));else{var a;if("custom"===e.type){if(je(this,t.validateCustomStyleLayer(e)))return;a=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(i,e.source),e=t.clone$1(e),e=t.extend(e,{source:i})),this._validate(t.validateStyle.layer,"layers."+i,e,{arrayIndex:-1},n))return;a=t.createStyleLayer(e),this._validateLayer(a),a.setEventedParent(this,{layer:{id:i}}),this._serializedLayers[a.id]=a.serialize()}var o=r?this._order.indexOf(r):this._order.length;if(r&&-1===o)this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.')));else{if(this._order.splice(o,0,i),this._layerOrderChanged=!0,this._layers[i]=a,this._removedLayers[i]&&a.source&&"custom"!==a.type){var s=this._removedLayers[i];delete this._removedLayers[i],s.type!==a.type?this._updatedSources[a.source]="clear":(this._updatedSources[a.source]="reload",this.sourceCaches[a.source].pause())}this._updateLayer(a),a.onAdd&&a.onAdd(this.map)}}},r.prototype.moveLayer=function(e,r){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==r){var n=this._order.indexOf(e);this._order.splice(n,1);var i=r?this._order.indexOf(r):this._order.length;r&&-1===i?this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.'))):(this._order.splice(i,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},r.prototype.removeLayer=function(e){this._checkLoaded();var r=this._layers[e];if(r){r.setEventedParent(null);var n=this._order.indexOf(e);this._order.splice(n,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=r,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],r.onRemove&&r.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},r.prototype.getLayer=function(t){return this._layers[t]},r.prototype.hasLayer=function(t){return t in this._layers},r.prototype.setLayerZoomRange=function(e,r,n){this._checkLoaded();var i=this.getLayer(e);i?i.minzoom===r&&i.maxzoom===n||(null!=r&&(i.minzoom=r),null!=n&&(i.maxzoom=n),this._updateLayer(i)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},r.prototype.setFilter=function(e,r,n){void 0===n&&(n={}),this._checkLoaded();var i=this.getLayer(e);if(i){if(!t.deepEqual(i.filter,r))return null==r?(i.filter=void 0,void this._updateLayer(i)):void(this._validate(t.validateStyle.filter,"layers."+i.id+".filter",r,null,n)||(i.filter=t.clone$1(r),this._updateLayer(i)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},r.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},r.prototype.setLayoutProperty=function(e,r,n,i){void 0===i&&(i={}),this._checkLoaded();var a=this.getLayer(e);a?t.deepEqual(a.getLayoutProperty(r),n)||(a.setLayoutProperty(r,n,i),this._updateLayer(a)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getLayoutProperty=function(e,r){var n=this.getLayer(e);if(n)return n.getLayoutProperty(r);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},r.prototype.setPaintProperty=function(e,r,n,i){void 0===i&&(i={}),this._checkLoaded();var a=this.getLayer(e);a?t.deepEqual(a.getPaintProperty(r),n)||(a.setPaintProperty(r,n,i)&&this._updateLayer(a),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},r.prototype.setFeatureState=function(e,r){this._checkLoaded();var n=e.source,i=e.sourceLayer,a=this.sourceCaches[n];if(void 0!==a){var o=a.getSource().type;"geojson"===o&&i?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==o||i?(void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),a.setFeatureState(i,e.id,r)):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},r.prototype.removeFeatureState=function(e,r){this._checkLoaded();var n=e.source,i=this.sourceCaches[n];if(void 0!==i){var a=i.getSource().type,o="vector"===a?e.sourceLayer:void 0;"vector"!==a||o?r&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):i.removeFeatureState(o,e.id,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},r.prototype.getFeatureState=function(e){this._checkLoaded();var r=e.source,n=e.sourceLayer,i=this.sourceCaches[r];if(void 0!==i){if("vector"!==i.getSource().type||n)return void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),i.getFeatureState(n,e.id);this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},r.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},r.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},r.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&"raster"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0},r.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,r=function(t){return"fill-extrusion"===e._layers[t].type},n={},i=[],a=this._order.length-1;a>=0;a--){var o=this._order[a];if(r(o)){n[o]=a;for(var s=0,l=t;s<l.length;s+=1){var c=l[s][o];if(c)for(var u=0,f=c;u<f.length;u+=1){var h=f[u];i.push(h)}}}}i.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var p=[],d=this._order.length-1;d>=0;d--){var g=this._order[d];if(r(g))for(var m=i.length-1;m>=0;m--){var v=i[m].feature;if(n[v.layer.id]<d)break;p.push(v),i.pop()}else for(var y=0,x=t;y<x.length;y+=1){var b=x[y][g];if(b)for(var _=0,w=b;_<w.length;_+=1){var T=w[_];p.push(T.feature)}}}return p},r.prototype.queryRenderedFeatures=function(e,r,n){r&&r.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",r.filter,null,r);var i={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var a=0,o=r.layers;a<o.length;a+=1){var s=o[a],l=this._layers[s];if(!l)return this.fire(new t.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];i[l.source]=!0}}var c=[];for(var u in r.availableImages=this._availableImages,this.sourceCaches)r.layers&&!i[u]||c.push(F(this.sourceCaches[u],this._layers,this._serializedLayers,e,r,n));return this.placement&&c.push(function(t,e,r,n,i,a,o){for(var s={},l=a.queryRenderedSymbols(n),c=[],u=0,f=Object.keys(l).map(Number);u<f.length;u+=1){var h=f[u];c.push(o[h])}c.sort(B);for(var p=function(){var r=g[d],n=r.featureIndex.lookupSymbolFeatures(l[r.bucketInstanceId],e,r.bucketIndex,r.sourceLayerIndex,i.filter,i.layers,i.availableImages,t);for(var a in n){var o=s[a]=s[a]||[],c=n[a];c.sort((function(t,e){var n=r.featureSortOrder;if(n){var i=n.indexOf(t.featureIndex);return n.indexOf(e.featureIndex)-i}return e.featureIndex-t.featureIndex}));for(var u=0,f=c;u<f.length;u+=1){var h=f[u];o.push(h)}}},d=0,g=c;d<g.length;d+=1)p();var m=function(e){s[e].forEach((function(n){var i=n.feature,a=t[e],o=r[a.source].getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o}))};for(var v in s)m(v);return s}(this._layers,this._serializedLayers,this.sourceCaches,e,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(c)},r.prototype.querySourceFeatures=function(e,r){r&&r.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",r.filter,null,r);var n=this.sourceCaches[e];return n?function(t,e){for(var r=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),n=[],i={},a=0;a<r.length;a++){var o=r[a],s=o.tileID.canonical.key;i[s]||(i[s]=!0,o.querySourceFeatures(n,e))}return n}(n,r):[]},r.prototype.addSourceType=function(t,e,n){return r.getSourceType(t)?n(new Error('A source type called "'+t+'" already exists.')):(r.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},n):n(null,null))},r.prototype.getLight=function(){return this.light.getLight()},r.prototype.setLight=function(e,r){void 0===r&&(r={}),this._checkLoaded();var n=this.light.getLight(),i=!1;for(var a in e)if(!t.deepEqual(e[a],n[a])){i=!0;break}if(i){var o={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,r),this.light.updateTransitions(o)}},r.prototype._validate=function(e,r,n,i,a){return void 0===a&&(a={}),(!a||!1!==a.validate)&&je(this,e.call(t.validateStyle,t.extend({key:r,style:this.serialize(),value:n,styleSpec:t.styleSpec},i)))},r.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers){this._layers[e].setEventedParent(null)}for(var r in this.sourceCaches)this.sourceCaches[r].clearTiles(),this.sourceCaches[r].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},r.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles()},r.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()},r.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t)},r.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t)},r.prototype._updatePlacement=function(e,r,n,i,a){void 0===a&&(a=!1);for(var o=!1,s=!1,l={},c=0,u=this._order;c<u.length;c+=1){var f=u[c],h=this._layers[f];if("symbol"===h.type){if(!l[h.source]){var p=this.sourceCaches[h.source];l[h.source]=p.getRenderableIds(!0).map((function(t){return p.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}))}var d=this.crossTileSymbolIndex.addLayer(h,l[h.source],e.center.lng);o=o||d}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((a=a||this._layerOrderChanged||0===n)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now(),e.zoom))&&(this.pauseablePlacement=new ze(e,this._order,a,r,n,i,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),s=!0),o&&this.pauseablePlacement.placement.setStale()),s||o)for(var g=0,m=this._order;g<m.length;g+=1){var v=m[g],y=this._layers[v];"symbol"===y.type&&this.placement.updateLayerOpacities(y,l[y.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},r.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()},r.prototype.getImages=function(t,e,r){this.imageManager.getImages(e.icons,r),this._updateTilesForChangedImages();var n=this.sourceCaches[e.source];n&&n.setDependencies(e.tileID.key,e.type,e.icons)},r.prototype.getGlyphs=function(t,e,r){this.glyphManager.getGlyphs(e.stacks,r)},r.prototype.getResource=function(e,r,n){return t.makeRequest(r,n)},r}(t.Evented);qe.getSourceType=function(t){return D[t]},qe.setSourceType=function(t,e){D[t]=e},qe.registerForPluginStateChange=t.registerForPluginStateChange;var Ge=t.createLayout([{name:"a_pos",type:"Int16",components:2}]),Ye=yr("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),We=yr("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Xe=yr("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),Ze=yr("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),Je=yr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ke=yr("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Qe=yr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),$e=yr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),tr=yr("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd  =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz  /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),er=yr("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),rr=yr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),nr=yr("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),ir=yr("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),ar=yr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),or=yr("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),sr=yr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),lr=yr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),cr=yr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),ur=yr("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),fr=yr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),hr=yr("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),pr=yr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),dr=yr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),gr=yr("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),mr=yr("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),vr=yr("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function yr(t,e){var r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,n={};return{fragmentSource:t=t.replace(r,(function(t,e,r,i,a){return n[a]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nvarying "+r+" "+i+" "+a+";\n#else\nuniform "+r+" "+i+" u_"+a+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+a+"\n    "+r+" "+i+" "+a+" = u_"+a+";\n#endif\n"})),vertexSource:e=e.replace(r,(function(t,e,r,i,a){var o="float"===i?"vec2":"vec4",s=a.match(/color/)?"color":o;return n[a]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nuniform lowp float u_"+a+"_t;\nattribute "+r+" "+o+" a_"+a+";\nvarying "+r+" "+i+" "+a+";\n#else\nuniform "+r+" "+i+" u_"+a+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+a+"\n    "+a+" = a_"+a+";\n#else\n    "+r+" "+i+" "+a+" = u_"+a+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+a+"\n    "+a+" = unpack_mix_"+s+"(a_"+a+", u_"+a+"_t);\n#else\n    "+r+" "+i+" "+a+" = u_"+a+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nuniform lowp float u_"+a+"_t;\nattribute "+r+" "+o+" a_"+a+";\n#else\nuniform "+r+" "+i+" u_"+a+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+a+"\n    "+r+" "+i+" "+a+" = a_"+a+";\n#else\n    "+r+" "+i+" "+a+" = u_"+a+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+a+"\n    "+r+" "+i+" "+a+" = unpack_mix_"+s+"(a_"+a+", u_"+a+"_t);\n#else\n    "+r+" "+i+" "+a+" = u_"+a+";\n#endif\n"}))}}var xr=Object.freeze({__proto__:null,prelude:Ye,background:We,backgroundPattern:Xe,circle:Ze,clippingMask:Je,heatmap:Ke,heatmapTexture:Qe,collisionBox:$e,collisionCircle:tr,debug:er,fill:rr,fillOutline:nr,fillOutlinePattern:ir,fillPattern:ar,fillExtrusion:or,fillExtrusionPattern:sr,hillshadePrepare:lr,hillshade:cr,line:ur,lineGradient:fr,linePattern:hr,lineSDF:pr,raster:dr,symbolIcon:gr,symbolSDF:mr,symbolTextAndIcon:vr}),br=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};br.prototype.bind=function(t,e,r,n,i,a,o,s){this.context=t;for(var l=this.boundPaintVertexBuffers.length!==n.length,c=0;!l&&c<n.length;c++)this.boundPaintVertexBuffers[c]!==n[c]&&(l=!0);var u=!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==r||l||this.boundIndexBuffer!==i||this.boundVertexOffset!==a||this.boundDynamicVertexBuffer!==o||this.boundDynamicVertexBuffer2!==s;!t.extVertexArrayObject||u?this.freshBind(e,r,n,i,a,o,s):(t.bindVertexArrayOES.set(this.vao),o&&o.bind(),i&&i.dynamicDraw&&i.bind(),s&&s.bind())},br.prototype.freshBind=function(t,e,r,n,i,a,o){var s,l=t.numAttributes,c=this.context,u=c.gl;if(c.extVertexArrayObject)this.vao&&this.destroy(),this.vao=c.extVertexArrayObject.createVertexArrayOES(),c.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=n,this.boundVertexOffset=i,this.boundDynamicVertexBuffer=a,this.boundDynamicVertexBuffer2=o;else{s=c.currentNumAttributes||0;for(var f=l;f<s;f++)u.disableVertexAttribArray(f)}e.enableAttributes(u,t);for(var h=0,p=r;h<p.length;h+=1){p[h].enableAttributes(u,t)}a&&a.enableAttributes(u,t),o&&o.enableAttributes(u,t),e.bind(),e.setVertexAttribPointers(u,t,i);for(var d=0,g=r;d<g.length;d+=1){var m=g[d];m.bind(),m.setVertexAttribPointers(u,t,i)}a&&(a.bind(),a.setVertexAttribPointers(u,t,i)),n&&n.bind(),o&&(o.bind(),o.setVertexAttribPointers(u,t,i)),c.currentNumAttributes=l},br.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var _r=function(t,e,r,n,i){var a=t.gl;this.program=a.createProgram();var o=r?r.defines():[];i&&o.push("#define OVERDRAW_INSPECTOR;");var s=o.concat(Ye.fragmentSource,e.fragmentSource).join("\n"),l=o.concat(Ye.vertexSource,e.vertexSource).join("\n"),c=a.createShader(a.FRAGMENT_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(c,s),a.compileShader(c),a.attachShader(this.program,c);var u=a.createShader(a.VERTEX_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(u,l),a.compileShader(u),a.attachShader(this.program,u);for(var f=r?r.layoutAttributes:[],h=0;h<f.length;h++)a.bindAttribLocation(this.program,h,f[h].name);a.linkProgram(this.program),a.deleteShader(u),a.deleteShader(c),this.numAttributes=a.getProgramParameter(this.program,a.ACTIVE_ATTRIBUTES),this.attributes={};for(var p={},d=0;d<this.numAttributes;d++){var g=a.getActiveAttrib(this.program,d);g&&(this.attributes[g.name]=a.getAttribLocation(this.program,g.name))}for(var m=a.getProgramParameter(this.program,a.ACTIVE_UNIFORMS),v=0;v<m;v++){var y=a.getActiveUniform(this.program,v);y&&(p[y.name]=a.getUniformLocation(this.program,y.name))}this.fixedUniforms=n(t,p),this.binderUniforms=r?r.getUniforms(t,p):[]}}};function wr(t,e,r){var n=1/pe(r,1,e.transform.tileZoom),i=Math.pow(2,r.tileID.overscaledZ),a=r.tileSize*Math.pow(2,e.transform.tileZoom)/i,o=a*(r.tileID.canonical.x+r.tileID.wrap*i),s=a*r.tileID.canonical.y;return{u_image:0,u_texsize:r.imageAtlasTexture.size,u_scale:[n,t.fromScale,t.toScale],u_fade:t.t,u_pixel_coord_upper:[o>>16,s>>16],u_pixel_coord_lower:[65535&o,65535&s]}}_r.prototype.draw=function(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g){var m,v=t.gl;if(!this.failedToCreate){for(var y in t.program.set(this.program),t.setDepthMode(r),t.setStencilMode(n),t.setColorMode(i),t.setCullFace(a),this.fixedUniforms)this.fixedUniforms[y].set(o[y]);p&&p.setUniforms(t,this.binderUniforms,f,{zoom:h});for(var x=(m={},m[v.LINES]=2,m[v.TRIANGLES]=3,m[v.LINE_STRIP]=1,m)[e],b=0,_=u.get();b<_.length;b+=1){var w=_[b],T=w.vaos||(w.vaos={});(T[s]||(T[s]=new br)).bind(t,this,l,p?p.getPaintVertexBuffers():[],c,w.vertexOffset,d,g),v.drawElements(e,w.primitiveLength*x,v.UNSIGNED_SHORT,w.primitiveOffset*x*2)}}};var Tr=function(e,r,n,i){var a=r.style.light,o=a.properties.get("position"),s=[o.x,o.y,o.z],l=t.create$1();"viewport"===a.properties.get("anchor")&&t.fromRotation(l,-r.transform.angle),t.transformMat3(s,s,l);var c=a.properties.get("color");return{u_matrix:e,u_lightpos:s,u_lightintensity:a.properties.get("intensity"),u_lightcolor:[c.r,c.g,c.b],u_vertical_gradient:+n,u_opacity:i}},kr=function(e,r,n,i,a,o,s){return t.extend(Tr(e,r,n,i),wr(o,r,s),{u_height_factor:-Math.pow(2,a.overscaledZ)/s.tileSize/8})},Ar=function(t){return{u_matrix:t}},Mr=function(e,r,n,i){return t.extend(Ar(e),wr(n,r,i))},Sr=function(t,e){return{u_matrix:t,u_world:e}},Er=function(e,r,n,i,a){return t.extend(Mr(e,r,n,i),{u_world:a})},Lr=function(e,r,n,i){var a,o,s=e.transform;if("map"===i.paint.get("circle-pitch-alignment")){var l=pe(n,1,s.zoom);a=!0,o=[l,l]}else a=!1,o=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===i.paint.get("circle-pitch-scale")),u_matrix:e.translatePosMatrix(r.posMatrix,n,i.paint.get("circle-translate"),i.paint.get("circle-translate-anchor")),u_pitch_with_map:+a,u_device_pixel_ratio:t.browser.devicePixelRatio,u_extrude_scale:o}},Cr=function(t,e,r){var n=pe(r,1,e.zoom),i=Math.pow(2,e.zoom-r.tileID.overscaledZ),a=r.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:n,u_extrude_scale:[e.pixelsToGLUnits[0]/(n*i),e.pixelsToGLUnits[1]/(n*i)],u_overscale_factor:a}},Pr=function(t,e,r){return{u_matrix:t,u_inv_matrix:e,u_camera_to_center_distance:r.cameraToCenterDistance,u_viewport_size:[r.width,r.height]}},Ir=function(t,e,r){return void 0===r&&(r=1),{u_matrix:t,u_color:e,u_overlay:0,u_overlay_scale:r}},Or=function(t){return{u_matrix:t}},zr=function(t,e,r,n){return{u_matrix:t,u_extrude_scale:pe(e,1,r),u_intensity:n}};function Dr(e,r){var n=Math.pow(2,r.canonical.z),i=r.canonical.y;return[new t.MercatorCoordinate(0,i/n).toLngLat().lat,new t.MercatorCoordinate(0,(i+1)/n).toLngLat().lat]}var Rr=function(e,r,n){var i=e.transform;return{u_matrix:Ur(e,r,n),u_ratio:1/pe(r,1,i.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},Fr=function(e,r,n){return t.extend(Rr(e,r,n),{u_image:0})},Br=function(e,r,n,i){var a=e.transform,o=jr(r,a);return{u_matrix:Ur(e,r,n),u_texsize:r.imageAtlasTexture.size,u_ratio:1/pe(r,1,a.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_image:0,u_scale:[o,i.fromScale,i.toScale],u_fade:i.t,u_units_to_pixels:[1/a.pixelsToGLUnits[0],1/a.pixelsToGLUnits[1]]}},Nr=function(e,r,n,i,a){var o=e.transform,s=e.lineAtlas,l=jr(r,o),c="round"===n.layout.get("line-cap"),u=s.getDash(i.from,c),f=s.getDash(i.to,c),h=u.width*a.fromScale,p=f.width*a.toScale;return t.extend(Rr(e,r,n),{u_patternscale_a:[l/h,-u.height/2],u_patternscale_b:[l/p,-f.height/2],u_sdfgamma:s.width/(256*Math.min(h,p)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:u.y,u_tex_y_b:f.y,u_mix:a.t})};function jr(t,e){return 1/pe(t,1,e.tileZoom)}function Ur(t,e,r){return t.translatePosMatrix(e.tileID.posMatrix,e,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}var Vr=function(t,e,r,n,i){return{u_matrix:t,u_tl_parent:e,u_scale_parent:r,u_buffer_scale:1,u_fade_t:n.mix,u_opacity:n.opacity*i.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get("raster-brightness-min"),u_brightness_high:i.paint.get("raster-brightness-max"),u_saturation_factor:(o=i.paint.get("raster-saturation"),o>0?1-1/(1.001-o):-o),u_contrast_factor:(a=i.paint.get("raster-contrast"),a>0?1/(1-a):1+a),u_spin_weights:Hr(i.paint.get("raster-hue-rotate"))};var a,o};function Hr(t){t*=Math.PI/180;var e=Math.sin(t),r=Math.cos(t);return[(2*r+1)/3,(-Math.sqrt(3)*e-r+1)/3,(Math.sqrt(3)*e-r+1)/3]}var qr,Gr=function(t,e,r,n,i,a,o,s,l,c){var u=i.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:u.cameraToCenterDistance,u_pitch:u.pitch/360*2*Math.PI,u_rotate_symbol:+r,u_aspect_ratio:u.width/u.height,u_fade_change:i.options.fadeDuration?i.symbolFadeChange:1,u_matrix:a,u_label_plane_matrix:o,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+n,u_texsize:c,u_texture:0}},Yr=function(e,r,n,i,a,o,s,l,c,u,f){var h=a.transform;return t.extend(Gr(e,r,n,i,a,o,s,l,c,u),{u_gamma_scale:i?Math.cos(h._pitch)*h.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+f})},Wr=function(e,r,n,i,a,o,s,l,c,u){return t.extend(Yr(e,r,n,i,a,o,s,l,!0,c,!0),{u_texsize_icon:u,u_texture_icon:1})},Xr=function(t,e,r){return{u_matrix:t,u_opacity:e,u_color:r}},Zr=function(e,r,n,i,a,o){return t.extend(function(t,e,r,n){var i=r.imageManager.getPattern(t.from.toString()),a=r.imageManager.getPattern(t.to.toString()),o=r.imageManager.getPixelSize(),s=o.width,l=o.height,c=Math.pow(2,n.tileID.overscaledZ),u=n.tileSize*Math.pow(2,r.transform.tileZoom)/c,f=u*(n.tileID.canonical.x+n.tileID.wrap*c),h=u*n.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:i.tl,u_pattern_br_a:i.br,u_pattern_tl_b:a.tl,u_pattern_br_b:a.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:i.displaySize,u_pattern_size_b:a.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/pe(n,1,r.transform.tileZoom),u_pixel_coord_upper:[f>>16,h>>16],u_pixel_coord_lower:[65535&f,65535&h]}}(i,o,n,a),{u_matrix:e,u_opacity:r})},Jr={fillExtrusion:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fillExtrusionPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,r.u_height_factor),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fill:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},fillPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},fillOutline:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world)}},fillOutlinePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},circle:function(e,r){return{u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,r.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},collisionBox:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,r.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,r.u_overscale_factor)}},collisionCircle:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_inv_matrix:new t.UniformMatrix4f(e,r.u_inv_matrix),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_viewport_size:new t.Uniform2f(e,r.u_viewport_size)}},debug:function(e,r){return{u_color:new t.UniformColor(e,r.u_color),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_overlay:new t.Uniform1i(e,r.u_overlay),u_overlay_scale:new t.Uniform1f(e,r.u_overlay_scale)}},clippingMask:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmap:function(e,r){return{u_extrude_scale:new t.Uniform1f(e,r.u_extrude_scale),u_intensity:new t.Uniform1f(e,r.u_intensity),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmapTexture:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_color_ramp:new t.Uniform1i(e,r.u_color_ramp),u_opacity:new t.Uniform1f(e,r.u_opacity)}},hillshade:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_latrange:new t.Uniform2f(e,r.u_latrange),u_light:new t.Uniform2f(e,r.u_light),u_shadow:new t.UniformColor(e,r.u_shadow),u_highlight:new t.UniformColor(e,r.u_highlight),u_accent:new t.UniformColor(e,r.u_accent)}},hillshadePrepare:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_dimension:new t.Uniform2f(e,r.u_dimension),u_zoom:new t.Uniform1f(e,r.u_zoom),u_maxzoom:new t.Uniform1f(e,r.u_maxzoom),u_unpack:new t.Uniform4f(e,r.u_unpack)}},line:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels)}},lineGradient:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_image:new t.Uniform1i(e,r.u_image)}},linePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_texsize:new t.Uniform2f(e,r.u_texsize),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_image:new t.Uniform1i(e,r.u_image),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_scale:new t.Uniform3f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},lineSDF:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,r.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,r.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,r.u_sdfgamma),u_image:new t.Uniform1i(e,r.u_image),u_tex_y_a:new t.Uniform1f(e,r.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,r.u_tex_y_b),u_mix:new t.Uniform1f(e,r.u_mix)}},raster:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_tl_parent:new t.Uniform2f(e,r.u_tl_parent),u_scale_parent:new t.Uniform1f(e,r.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,r.u_buffer_scale),u_fade_t:new t.Uniform1f(e,r.u_fade_t),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image0:new t.Uniform1i(e,r.u_image0),u_image1:new t.Uniform1i(e,r.u_image1),u_brightness_low:new t.Uniform1f(e,r.u_brightness_low),u_brightness_high:new t.Uniform1f(e,r.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,r.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,r.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,r.u_spin_weights)}},symbolIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1i(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture)}},symbolSDF:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1i(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,r.u_is_halo)}},symbolTextAndIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1i(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texsize_icon:new t.Uniform2f(e,r.u_texsize_icon),u_texture:new t.Uniform1i(e,r.u_texture),u_texture_icon:new t.Uniform1i(e,r.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,r.u_is_halo)}},background:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_color:new t.UniformColor(e,r.u_color)}},backgroundPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image:new t.Uniform1i(e,r.u_image),u_pattern_tl_a:new t.Uniform2f(e,r.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,r.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,r.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,r.u_pattern_br_b),u_texsize:new t.Uniform2f(e,r.u_texsize),u_mix:new t.Uniform1f(e,r.u_mix),u_pattern_size_a:new t.Uniform2f(e,r.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,r.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,r.u_scale_a),u_scale_b:new t.Uniform1f(e,r.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,r.u_tile_units_to_pixels)}}};function Kr(e,r,n,i,a,o,s){for(var l=e.context,c=l.gl,u=e.useProgram("collisionBox"),f=[],h=0,p=0,d=0;d<i.length;d++){var g=i[d],m=r.getTile(g),v=m.getBucket(n);if(v){var y=g.posMatrix;0===a[0]&&0===a[1]||(y=e.translatePosMatrix(g.posMatrix,m,a,o));var x=s?v.textCollisionBox:v.iconCollisionBox,b=v.collisionCircleArray;if(b.length>0){var _=t.create(),w=y;t.mul(_,v.placementInvProjMatrix,e.transform.glCoordMatrix),t.mul(_,_,v.placementViewportMatrix),f.push({circleArray:b,circleOffset:p,transform:w,invTransform:_}),p=h+=b.length/4}x&&u.draw(l,c.LINES,At.disabled,Mt.disabled,e.colorModeForRenderPass(),Et.disabled,Cr(y,e.transform,m),n.id,x.layoutVertexBuffer,x.indexBuffer,x.segments,null,e.transform.zoom,null,null,x.collisionVertexBuffer)}}if(s&&f.length){var T=e.useProgram("collisionCircle"),k=new t.StructArrayLayout2f1f2i16;k.resize(4*h),k._trim();for(var A=0,M=0,S=f;M<S.length;M+=1)for(var E=S[M],L=0;L<E.circleArray.length/4;L++){var C=4*L,P=E.circleArray[C+0],I=E.circleArray[C+1],O=E.circleArray[C+2],z=E.circleArray[C+3];k.emplace(A++,P,I,O,z,0),k.emplace(A++,P,I,O,z,1),k.emplace(A++,P,I,O,z,2),k.emplace(A++,P,I,O,z,3)}(!qr||qr.length<2*h)&&(qr=function(e){var r=2*e,n=new t.StructArrayLayout3ui6;n.resize(r),n._trim();for(var i=0;i<r;i++){var a=6*i;n.uint16[a+0]=4*i+0,n.uint16[a+1]=4*i+1,n.uint16[a+2]=4*i+2,n.uint16[a+3]=4*i+2,n.uint16[a+4]=4*i+3,n.uint16[a+5]=4*i+0}return n}(h));for(var D=l.createIndexBuffer(qr,!0),R=l.createVertexBuffer(k,t.collisionCircleLayout.members,!0),F=0,B=f;F<B.length;F+=1){var N=B[F],j=Pr(N.transform,N.invTransform,e.transform);T.draw(l,c.TRIANGLES,At.disabled,Mt.disabled,e.colorModeForRenderPass(),Et.disabled,j,n.id,R,D,t.SegmentVector.simpleSegment(0,2*N.circleOffset,N.circleArray.length,N.circleArray.length/2),null,e.transform.zoom,null,null,null)}R.destroy(),D.destroy()}}var Qr=t.identity(new Float32Array(16));function $r(e,r,n,i,a,o){var s=t.getAnchorAlignment(e),l=-(s.horizontalAlign-.5)*r,c=-(s.verticalAlign-.5)*n,u=t.evaluateVariableOffset(e,i);return new t.Point((l/a+u[0])*o,(c/a+u[1])*o)}function tn(e,r,n,i,a,o,s,l,c,u,f){var h=e.text.placedSymbolArray,p=e.text.dynamicLayoutVertexArray,d=e.icon.dynamicLayoutVertexArray,g={};p.clear();for(var m=0;m<h.length;m++){var v=h.get(m),y=e.allowVerticalPlacement&&!v.placedOrientation,x=v.hidden||!v.crossTileID||y?null:i[v.crossTileID];if(x){var b=new t.Point(v.anchorX,v.anchorY),_=te(b,n?l:s),w=ee(o.cameraToCenterDistance,_.signedDistanceFromCamera),T=a.evaluateSizeForFeature(e.textSizeData,u,v)*w/t.ONE_EM;n&&(T*=e.tilePixelRatio/c);for(var k=x.width,A=x.height,M=$r(x.anchor,k,A,x.textOffset,x.textBoxScale,T),S=n?te(b.add(M),s).point:_.point.add(r?M.rotate(-o.angle):M),E=e.allowVerticalPlacement&&v.placedOrientation===t.WritingMode.vertical?Math.PI/2:0,L=0;L<v.numGlyphs;L++)t.addDynamicAttributes(p,S,E);f&&v.associatedIconIndex>=0&&(g[v.associatedIconIndex]={shiftedAnchor:S,angle:E})}else ue(v.numGlyphs,p)}if(f){d.clear();for(var C=e.icon.placedSymbolArray,P=0;P<C.length;P++){var I=C.get(P);if(I.hidden)ue(I.numGlyphs,d);else{var O=g[P];if(O)for(var z=0;z<I.numGlyphs;z++)t.addDynamicAttributes(d,O.shiftedAnchor,O.angle);else ue(I.numGlyphs,d)}}e.icon.dynamicLayoutVertexBuffer.updateData(d)}e.text.dynamicLayoutVertexBuffer.updateData(p)}function en(t,e,r){return r.iconsInText&&e?"symbolTextAndIcon":t?"symbolSDF":"symbolIcon"}function rn(e,r,n,i,a,o,s,l,c,u,f,h){for(var p=e.context,d=p.gl,g=e.transform,m="map"===l,v="map"===c,y=m&&"point"!==n.layout.get("symbol-placement"),x=m&&!v&&!y,b=void 0!==n.layout.get("symbol-sort-key").constantOr(1),_=e.depthModeForSublayer(0,At.ReadOnly),w=n.layout.get("text-variable-anchor"),T=[],k=0,A=i;k<A.length;k+=1){var M=A[k],S=r.getTile(M),E=S.getBucket(n);if(E){var L=a?E.text:E.icon;if(L&&L.segments.get().length){var C=L.programConfigurations.get(n.id),P=a||E.sdfIcons,I=a?E.textSizeData:E.iconSizeData,O=v||0!==g.pitch,z=e.useProgram(en(P,a,E),C),D=t.evaluateSizeForZoom(I,g.zoom),R=void 0,F=[0,0],B=void 0,N=void 0,j=null,U=void 0;if(a){if(B=S.glyphAtlasTexture,N=d.LINEAR,R=S.glyphAtlasTexture.size,E.iconsInText){F=S.imageAtlasTexture.size,j=S.imageAtlasTexture;var V="composite"===I.kind||"camera"===I.kind;U=O||e.options.rotating||e.options.zooming||V?d.LINEAR:d.NEAREST}}else{var H=1!==n.layout.get("icon-size").constantOr(0)||E.iconsNeedLinear;B=S.imageAtlasTexture,N=P||e.options.rotating||e.options.zooming||H||O?d.LINEAR:d.NEAREST,R=S.imageAtlasTexture.size}var q=pe(S,1,e.transform.zoom),G=Qt(M.posMatrix,v,m,e.transform,q),Y=$t(M.posMatrix,v,m,e.transform,q),W=w&&E.hasTextData(),X="none"!==n.layout.get("icon-text-fit")&&W&&E.hasIconData();y&&ne(E,M.posMatrix,e,a,G,Y,v,u);var Z=e.translatePosMatrix(M.posMatrix,S,o,s),J=y||a&&w||X?Qr:G,K=e.translatePosMatrix(Y,S,o,s,!0),Q=P&&0!==n.paint.get(a?"text-halo-width":"icon-halo-width").constantOr(1),$={program:z,buffers:L,uniformValues:P?E.iconsInText?Wr(I.kind,D,x,v,e,Z,J,K,R,F):Yr(I.kind,D,x,v,e,Z,J,K,a,R,!0):Gr(I.kind,D,x,v,e,Z,J,K,a,R),atlasTexture:B,atlasTextureIcon:j,atlasInterpolation:N,atlasInterpolationIcon:U,isSDF:P,hasHalo:Q};if(b)for(var tt=0,et=L.segments.get();tt<et.length;tt+=1){var rt=et[tt];T.push({segments:new t.SegmentVector([rt]),sortKey:rt.sortKey,state:$})}else T.push({segments:L.segments,sortKey:0,state:$})}}}b&&T.sort((function(t,e){return t.sortKey-e.sortKey}));for(var nt=0,it=T;nt<it.length;nt+=1){var at=it[nt],ot=at.state;if(p.activeTexture.set(d.TEXTURE0),ot.atlasTexture.bind(ot.atlasInterpolation,d.CLAMP_TO_EDGE),ot.atlasTextureIcon&&(p.activeTexture.set(d.TEXTURE1),ot.atlasTextureIcon&&ot.atlasTextureIcon.bind(ot.atlasInterpolationIcon,d.CLAMP_TO_EDGE)),ot.isSDF){var st=ot.uniformValues;ot.hasHalo&&(st.u_is_halo=1,nn(ot.buffers,at.segments,n,e,ot.program,_,f,h,st)),st.u_is_halo=0}nn(ot.buffers,at.segments,n,e,ot.program,_,f,h,ot.uniformValues)}}function nn(t,e,r,n,i,a,o,s,l){var c=n.context,u=c.gl;i.draw(c,u.TRIANGLES,a,o,s,Et.disabled,l,r.id,t.layoutVertexBuffer,t.indexBuffer,e,r.paint,n.transform.zoom,t.programConfigurations.get(r.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function an(t,e,r,n,i,a,o){var s,l,c,u,f,h=t.context.gl,p=r.paint.get("fill-pattern"),d=p&&p.constantOr(1),g=r.getCrossfadeParameters();o?(l=d&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=h.LINES):(l=d?"fillPattern":"fill",s=h.TRIANGLES);for(var m=0,v=n;m<v.length;m+=1){var y=v[m],x=e.getTile(y);if(!d||x.patternsLoaded()){var b=x.getBucket(r);if(b){var _=b.programConfigurations.get(r.id),w=t.useProgram(l,_);d&&(t.context.activeTexture.set(h.TEXTURE0),x.imageAtlasTexture.bind(h.LINEAR,h.CLAMP_TO_EDGE),_.updatePaintBuffers(g));var T=p.constantOr(null);if(T&&x.imageAtlas){var k=x.imageAtlas,A=k.patternPositions[T.to.toString()],M=k.patternPositions[T.from.toString()];A&&M&&_.setConstantPatternPositions(A,M)}var S=t.translatePosMatrix(y.posMatrix,x,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(o){u=b.indexBuffer2,f=b.segments2;var E=[h.drawingBufferWidth,h.drawingBufferHeight];c="fillOutlinePattern"===l&&d?Er(S,t,g,x,E):Sr(S,E)}else u=b.indexBuffer,f=b.segments,c=d?Mr(S,t,g,x):Ar(S);w.draw(t.context,s,i,t.stencilModeForClipping(y),a,Et.disabled,c,r.id,b.layoutVertexBuffer,u,f,r.paint,t.transform.zoom,_)}}}}function on(t,e,r,n,i,a,o){for(var s=t.context,l=s.gl,c=r.paint.get("fill-extrusion-pattern"),u=c.constantOr(1),f=r.getCrossfadeParameters(),h=r.paint.get("fill-extrusion-opacity"),p=0,d=n;p<d.length;p+=1){var g=d[p],m=e.getTile(g),v=m.getBucket(r);if(v){var y=v.programConfigurations.get(r.id),x=t.useProgram(u?"fillExtrusionPattern":"fillExtrusion",y);u&&(t.context.activeTexture.set(l.TEXTURE0),m.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),y.updatePaintBuffers(f));var b=c.constantOr(null);if(b&&m.imageAtlas){var _=m.imageAtlas,w=_.patternPositions[b.to.toString()],T=_.patternPositions[b.from.toString()];w&&T&&y.setConstantPatternPositions(w,T)}var k=t.translatePosMatrix(g.posMatrix,m,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),A=r.paint.get("fill-extrusion-vertical-gradient"),M=u?kr(k,t,A,h,g,f,m):Tr(k,t,A,h);x.draw(s,s.gl.TRIANGLES,i,a,o,Et.backCCW,M,r.id,v.layoutVertexBuffer,v.indexBuffer,v.segments,r.paint,t.transform.zoom,y)}}}function sn(t,e,r,n,i,a){var o=t.context,s=o.gl,l=e.fbo;if(l){var c=t.useProgram("hillshade");o.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,l.colorAttachment.get());var u=function(t,e,r){var n=r.paint.get("hillshade-shadow-color"),i=r.paint.get("hillshade-highlight-color"),a=r.paint.get("hillshade-accent-color"),o=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(o-=t.transform.angle);var s=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),s),u_image:0,u_latrange:Dr(t,e.tileID),u_light:[r.paint.get("hillshade-exaggeration"),o],u_shadow:n,u_highlight:i,u_accent:a}}(t,e,r);c.draw(o,s.TRIANGLES,n,i,a,Et.disabled,u,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function ln(e,r,n,i,a,o,s){var l=e.context,c=l.gl,u=r.dem;if(u&&u.data){var f=u.dim,h=u.stride,p=u.getPixels();if(l.activeTexture.set(c.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||e.getTileTexture(h),r.demTexture){var d=r.demTexture;d.update(p,{premultiply:!1}),d.bind(c.NEAREST,c.CLAMP_TO_EDGE)}else r.demTexture=new t.Texture(l,p,c.RGBA,{premultiply:!1}),r.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);l.activeTexture.set(c.TEXTURE0);var g=r.fbo;if(!g){var m=new t.Texture(l,{width:f,height:f,data:null},c.RGBA);m.bind(c.LINEAR,c.CLAMP_TO_EDGE),(g=r.fbo=l.createFramebuffer(f,f,!0)).colorAttachment.set(m.texture)}l.bindFramebuffer.set(g.framebuffer),l.viewport.set([0,0,f,f]),e.useProgram("hillshadePrepare").draw(l,c.TRIANGLES,a,o,s,Et.disabled,function(e,r,n){var i=r.stride,a=t.create();return t.ortho(a,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(a,a,[0,-t.EXTENT,0]),{u_matrix:a,u_image:1,u_dimension:[i,i],u_zoom:e.overscaledZ,u_maxzoom:n,u_unpack:r.getUnpackVector()}}(r.tileID,u,i),n.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),r.needsHillshadePrepare=!1}}function cn(e,r,n,i,a){var o=i.paint.get("raster-fade-duration");if(o>0){var s=t.browser.now(),l=(s-e.timeAdded)/o,c=r?(s-r.timeAdded)/o:-1,u=n.getSource(),f=a.coveringZoomLevel({tileSize:u.tileSize,roundZoom:u.roundZoom}),h=!r||Math.abs(r.tileID.overscaledZ-f)>Math.abs(e.tileID.overscaledZ-f),p=h&&e.refreshedUponExpiration?1:t.clamp(h?l:1-c,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),r?{opacity:1,mix:1-p}:{opacity:p,mix:0}}return{opacity:1,mix:0}}var un=new t.Color(1,0,0,1),fn=new t.Color(0,1,0,1),hn=new t.Color(0,0,1,1),pn=new t.Color(1,0,1,1),dn=new t.Color(0,1,1,1);function gn(t){var e=t.transform.padding;mn(t,t.transform.height-(e.top||0),3,un),mn(t,e.bottom||0,3,fn),vn(t,e.left||0,3,hn),vn(t,t.transform.width-(e.right||0),3,pn);var r=t.transform.centerPoint;!function(t,e,r,n){yn(t,e-1,r-10,2,20,n),yn(t,e-10,r-1,20,2,n)}(t,r.x,t.transform.height-r.y,dn)}function mn(t,e,r,n){yn(t,0,e+r/2,t.transform.width,r,n)}function vn(t,e,r,n){yn(t,e-r/2,0,r,t.transform.height,n)}function yn(e,r,n,i,a,o){var s=e.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(r*t.browser.devicePixelRatio,n*t.browser.devicePixelRatio,i*t.browser.devicePixelRatio,a*t.browser.devicePixelRatio),s.clear({color:o}),l.disable(l.SCISSOR_TEST)}function xn(e,r,n){var i=e.context,a=i.gl,o=n.posMatrix,s=e.useProgram("debug"),l=At.disabled,c=Mt.disabled,u=e.colorModeForRenderPass();i.activeTexture.set(a.TEXTURE0),e.emptyTexture.bind(a.LINEAR,a.CLAMP_TO_EDGE),s.draw(i,a.LINE_STRIP,l,c,u,Et.disabled,Ir(o,t.Color.red),"$debug",e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var f=r.getTileByID(n.key).latestRawTileData,h=f&&f.byteLength||0,p=Math.floor(h/1024),d=r.getTile(n).tileSize,g=512/Math.min(d,512)*(n.overscaledZ/e.transform.zoom)*.5,m=n.canonical.toString();n.overscaledZ!==n.canonical.z&&(m+=" => "+n.overscaledZ),function(t,e){t.initDebugOverlayCanvas();var r=t.debugOverlayCanvas,n=t.context.gl,i=t.debugOverlayCanvas.getContext("2d");i.clearRect(0,0,r.width,r.height),i.shadowColor="white",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle="white",i.textBaseline="top",i.font="bold 36px Open Sans, sans-serif",i.fillText(e,5,5),i.strokeText(e,5,5),t.debugOverlayTexture.update(r),t.debugOverlayTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)}(e,m+" "+p+"kb"),s.draw(i,a.TRIANGLES,l,c,St.alphaBlended,Et.disabled,Ir(o,t.Color.transparent,g),"$debug",e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments)}var bn={symbol:function(e,r,n,i,a){if("translucent"===e.renderPass){var o=Mt.disabled,s=e.colorModeForRenderPass();n.layout.get("text-variable-anchor")&&function(e,r,n,i,a,o,s){for(var l=r.transform,c="map"===a,u="map"===o,f=0,h=e;f<h.length;f+=1){var p=h[f],d=i.getTile(p),g=d.getBucket(n);if(g&&g.text&&g.text.segments.get().length){var m=g.textSizeData,v=t.evaluateSizeForZoom(m,l.zoom),y=pe(d,1,r.transform.zoom),x=Qt(p.posMatrix,u,c,r.transform,y),b="none"!==n.layout.get("icon-text-fit")&&g.hasIconData();if(v){var _=Math.pow(2,l.zoom-d.tileID.overscaledZ);tn(g,c,u,s,t.symbolSize,l,x,p.posMatrix,_,v,b)}}}}(i,e,n,r,n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),a),0!==n.paint.get("icon-opacity").constantOr(1)&&rn(e,r,n,i,!1,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),n.layout.get("icon-rotation-alignment"),n.layout.get("icon-pitch-alignment"),n.layout.get("icon-keep-upright"),o,s),0!==n.paint.get("text-opacity").constantOr(1)&&rn(e,r,n,i,!0,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),n.layout.get("text-keep-upright"),o,s),r.map.showCollisionBoxes&&(Kr(e,r,n,i,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),!0),Kr(e,r,n,i,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),!1))}},circle:function(e,r,n,i){if("translucent"===e.renderPass){var a=n.paint.get("circle-opacity"),o=n.paint.get("circle-stroke-width"),s=n.paint.get("circle-stroke-opacity"),l=void 0!==n.layout.get("circle-sort-key").constantOr(1);if(0!==a.constantOr(1)||0!==o.constantOr(1)&&0!==s.constantOr(1)){for(var c=e.context,u=c.gl,f=e.depthModeForSublayer(0,At.ReadOnly),h=Mt.disabled,p=e.colorModeForRenderPass(),d=[],g=0;g<i.length;g++){var m=i[g],v=r.getTile(m),y=v.getBucket(n);if(y){var x=y.programConfigurations.get(n.id),b={programConfiguration:x,program:e.useProgram("circle",x),layoutVertexBuffer:y.layoutVertexBuffer,indexBuffer:y.indexBuffer,uniformValues:Lr(e,m,v,n)};if(l)for(var _=0,w=y.segments.get();_<w.length;_+=1){var T=w[_];d.push({segments:new t.SegmentVector([T]),sortKey:T.sortKey,state:b})}else d.push({segments:y.segments,sortKey:0,state:b})}}l&&d.sort((function(t,e){return t.sortKey-e.sortKey}));for(var k=0,A=d;k<A.length;k+=1){var M=A[k],S=M.state,E=S.programConfiguration,L=S.program,C=S.layoutVertexBuffer,P=S.indexBuffer,I=S.uniformValues,O=M.segments;L.draw(c,u.TRIANGLES,f,h,p,Et.disabled,I,n.id,C,P,O,n.paint,e.transform.zoom,E)}}}},heatmap:function(e,r,n,i){if(0!==n.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var a=e.context,o=a.gl,s=Mt.disabled,l=new St([o.ONE,o.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,r){var n=t.gl;t.activeTexture.set(n.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var i=r.heatmapFbo;if(i)n.bindTexture(n.TEXTURE_2D,i.colorAttachment.get()),t.bindFramebuffer.set(i.framebuffer);else{var a=n.createTexture();n.bindTexture(n.TEXTURE_2D,a),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),i=r.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4,!1),function(t,e,r,n){var i=t.gl,a=t.extRenderToTextureHalfFloat?t.extTextureHalfFloat.HALF_FLOAT_OES:i.UNSIGNED_BYTE;i.texImage2D(i.TEXTURE_2D,0,i.RGBA,e.width/4,e.height/4,0,i.RGBA,a,null),n.colorAttachment.set(r)}(t,e,a,i)}}(a,e,n),a.clear({color:t.Color.transparent});for(var c=0;c<i.length;c++){var u=i[c];if(!r.hasRenderableParent(u)){var f=r.getTile(u),h=f.getBucket(n);if(h){var p=h.programConfigurations.get(n.id),d=e.useProgram("heatmap",p),g=e.transform.zoom;d.draw(a,o.TRIANGLES,At.disabled,s,l,Et.disabled,zr(u.posMatrix,f,g,n.paint.get("heatmap-intensity")),n.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,n.paint,e.transform.zoom,p)}}}a.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,r){var n=e.context,i=n.gl,a=r.heatmapFbo;if(!a)return;n.activeTexture.set(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,a.colorAttachment.get()),n.activeTexture.set(i.TEXTURE1);var o=r.colorRampTexture;o||(o=r.colorRampTexture=new t.Texture(n,r.colorRamp,i.RGBA));o.bind(i.LINEAR,i.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(n,i.TRIANGLES,At.disabled,Mt.disabled,e.colorModeForRenderPass(),Et.disabled,function(e,r,n,i){var a=t.create();t.ortho(a,0,e.width,e.height,0,0,1);var o=e.context.gl;return{u_matrix:a,u_world:[o.drawingBufferWidth,o.drawingBufferHeight],u_image:n,u_color_ramp:i,u_opacity:r.paint.get("heatmap-opacity")}}(e,r,0,1),r.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,r.paint,e.transform.zoom)}(e,n))},line:function(e,r,n,i){if("translucent"===e.renderPass){var a=n.paint.get("line-opacity"),o=n.paint.get("line-width");if(0!==a.constantOr(1)&&0!==o.constantOr(1)){var s=e.depthModeForSublayer(0,At.ReadOnly),l=e.colorModeForRenderPass(),c=n.paint.get("line-dasharray"),u=n.paint.get("line-pattern"),f=u.constantOr(1),h=n.paint.get("line-gradient"),p=n.getCrossfadeParameters(),d=f?"linePattern":c?"lineSDF":h?"lineGradient":"line",g=e.context,m=g.gl,v=!0;if(h){g.activeTexture.set(m.TEXTURE0);var y=n.gradientTexture;if(!n.gradient)return;y||(y=n.gradientTexture=new t.Texture(g,n.gradient,m.RGBA)),y.bind(m.LINEAR,m.CLAMP_TO_EDGE)}for(var x=0,b=i;x<b.length;x+=1){var _=b[x],w=r.getTile(_);if(!f||w.patternsLoaded()){var T=w.getBucket(n);if(T){var k=T.programConfigurations.get(n.id),A=e.context.program.get(),M=e.useProgram(d,k),S=v||M.program!==A,E=u.constantOr(null);if(E&&w.imageAtlas){var L=w.imageAtlas,C=L.patternPositions[E.to.toString()],P=L.patternPositions[E.from.toString()];C&&P&&k.setConstantPatternPositions(C,P)}var I=f?Br(e,w,n,p):c?Nr(e,w,n,c,p):h?Fr(e,w,n):Rr(e,w,n);f?(g.activeTexture.set(m.TEXTURE0),w.imageAtlasTexture.bind(m.LINEAR,m.CLAMP_TO_EDGE),k.updatePaintBuffers(p)):c&&(S||e.lineAtlas.dirty)&&(g.activeTexture.set(m.TEXTURE0),e.lineAtlas.bind(g)),M.draw(g,m.TRIANGLES,s,e.stencilModeForClipping(_),l,Et.disabled,I,n.id,T.layoutVertexBuffer,T.indexBuffer,T.segments,n.paint,e.transform.zoom,k),v=!1}}}}}},fill:function(e,r,n,i){var a=n.paint.get("fill-color"),o=n.paint.get("fill-opacity");if(0!==o.constantOr(1)){var s=e.colorModeForRenderPass(),l=n.paint.get("fill-pattern"),c=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===a.constantOr(t.Color.transparent).a&&1===o.constantOr(0)?"opaque":"translucent";if(e.renderPass===c){var u=e.depthModeForSublayer(1,"opaque"===e.renderPass?At.ReadWrite:At.ReadOnly);an(e,r,n,i,u,s,!1)}if("translucent"===e.renderPass&&n.paint.get("fill-antialias")){var f=e.depthModeForSublayer(n.getPaintProperty("fill-outline-color")?2:0,At.ReadOnly);an(e,r,n,i,f,s,!0)}}},"fill-extrusion":function(t,e,r,n){var i=r.paint.get("fill-extrusion-opacity");if(0!==i&&"translucent"===t.renderPass){var a=new At(t.context.gl.LEQUAL,At.ReadWrite,t.depthRangeFor3D);if(1!==i||r.paint.get("fill-extrusion-pattern").constantOr(1))on(t,e,r,n,a,Mt.disabled,St.disabled),on(t,e,r,n,a,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var o=t.colorModeForRenderPass();on(t,e,r,n,a,Mt.disabled,o)}}},hillshade:function(t,e,r,n){if("offscreen"===t.renderPass||"translucent"===t.renderPass){for(var i=t.context,a=e.getSource().maxzoom,o=t.depthModeForSublayer(0,At.ReadOnly),s=t.colorModeForRenderPass(),l="translucent"===t.renderPass?t.stencilConfigForOverlap(n):[{},n],c=l[0],u=0,f=l[1];u<f.length;u+=1){var h=f[u],p=e.getTile(h);p.needsHillshadePrepare&&"offscreen"===t.renderPass?ln(t,p,r,a,o,Mt.disabled,s):"translucent"===t.renderPass&&sn(t,p,r,o,c[h.overscaledZ],s)}i.viewport.set([0,0,t.width,t.height])}},raster:function(t,e,r,n){if("translucent"===t.renderPass&&0!==r.paint.get("raster-opacity")&&n.length)for(var i=t.context,a=i.gl,o=e.getSource(),s=t.useProgram("raster"),l=t.colorModeForRenderPass(),c=o instanceof I?[{},n]:t.stencilConfigForOverlap(n),u=c[0],f=c[1],h=f[f.length-1].overscaledZ,p=!t.options.moving,d=0,g=f;d<g.length;d+=1){var m=g[d],v=t.depthModeForSublayer(m.overscaledZ-h,1===r.paint.get("raster-opacity")?At.ReadWrite:At.ReadOnly,a.LESS),y=e.getTile(m),x=t.transform.calculatePosMatrix(m.toUnwrapped(),p);y.registerFadeDuration(r.paint.get("raster-fade-duration"));var b=e.findLoadedParent(m,0),_=cn(y,b,e,r,t.transform),w=void 0,T=void 0,k="nearest"===r.paint.get("raster-resampling")?a.NEAREST:a.LINEAR;i.activeTexture.set(a.TEXTURE0),y.texture.bind(k,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST),i.activeTexture.set(a.TEXTURE1),b?(b.texture.bind(k,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST),w=Math.pow(2,b.tileID.overscaledZ-y.tileID.overscaledZ),T=[y.tileID.canonical.x*w%1,y.tileID.canonical.y*w%1]):y.texture.bind(k,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST);var A=Vr(x,T||[0,0],w||1,_,r);o instanceof I?s.draw(i,a.TRIANGLES,v,Mt.disabled,l,Et.disabled,A,r.id,o.boundsBuffer,t.quadTriangleIndexBuffer,o.boundsSegments):s.draw(i,a.TRIANGLES,v,u[m.overscaledZ],l,Et.disabled,A,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,r){var n=r.paint.get("background-color"),i=r.paint.get("background-opacity");if(0!==i){var a=t.context,o=a.gl,s=t.transform,l=s.tileSize,c=r.paint.get("background-pattern");if(!t.isPatternMissing(c)){var u=!c&&1===n.a&&1===i&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass===u){var f=Mt.disabled,h=t.depthModeForSublayer(0,"opaque"===u?At.ReadWrite:At.ReadOnly),p=t.colorModeForRenderPass(),d=t.useProgram(c?"backgroundPattern":"background"),g=s.coveringTiles({tileSize:l});c&&(a.activeTexture.set(o.TEXTURE0),t.imageManager.bind(t.context));for(var m=r.getCrossfadeParameters(),v=0,y=g;v<y.length;v+=1){var x=y[v],b=t.transform.calculatePosMatrix(x.toUnwrapped()),_=c?Zr(b,i,t,c,{tileID:x,tileSize:l},m):Xr(b,i,n);d.draw(a,o.TRIANGLES,h,f,p,Et.disabled,_,r.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}}}}},debug:function(t,e,r){for(var n=0;n<r.length;n++)xn(t,e,r[n])},custom:function(t,e,r){var n=t.context,i=r.implementation;if("offscreen"===t.renderPass){var a=i.prerender;a&&(t.setCustomLayerDefaults(),n.setColorMode(t.colorModeForRenderPass()),a.call(i,n.gl,t.transform.customLayerMatrix()),n.setDirty(),t.setBaseState())}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),n.setColorMode(t.colorModeForRenderPass()),n.setStencilMode(Mt.disabled);var o="3d"===i.renderingMode?new At(t.context.gl.LEQUAL,At.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,At.ReadOnly);n.setDepthMode(o),i.render(n.gl,t.transform.customLayerMatrix()),n.setDirty(),t.setBaseState(),n.bindFramebuffer.set(null)}}},_n=function(t,e){this.context=new Lt(t),this.transform=e,this._tileTextures={},this.setup(),this.numSublayers=Ct.maxUnderzooming+Ct.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Ne,this.gpuTimers={}};_n.prototype.resize=function(e,r){if(this.width=e*t.browser.devicePixelRatio,this.height=r*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,i=this.style._order;n<i.length;n+=1){var a=i[n];this.style._layers[a].resize()}},_n.prototype.setup=function(){var e=this.context,r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(r,Ge.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var n=new t.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(t.EXTENT,0),n.emplaceBack(0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(n,Ge.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var i=new t.StructArrayLayout4i8;i.emplaceBack(0,0,0,0),i.emplaceBack(t.EXTENT,0,t.EXTENT,0),i.emplaceBack(0,t.EXTENT,0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(i,P.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout2i4;a.emplaceBack(0,0),a.emplaceBack(1,0),a.emplaceBack(0,1),a.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(a,Ge.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout1ui2;o.emplaceBack(0),o.emplaceBack(1),o.emplaceBack(3),o.emplaceBack(2),o.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(o);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s),this.emptyTexture=new t.Texture(e,{width:1,height:1,data:new Uint8Array([0,0,0,0])},e.gl.RGBA);var l=this.context.gl;this.stencilClearMode=new Mt({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},_n.prototype.clearStencil=function(){var e=this.context,r=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var n=t.create();t.ortho(n,0,this.width,this.height,0,0,1),t.scale(n,n,[r.drawingBufferWidth,r.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,r.TRIANGLES,At.disabled,this.stencilClearMode,St.disabled,Et.disabled,Or(n),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},_n.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var r=this.context,n=r.gl;this.nextStencilID+e.length>256&&this.clearStencil(),r.setColorMode(St.disabled),r.setDepthMode(At.disabled);var i=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var a=0,o=e;a<o.length;a+=1){var s=o[a],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;i.draw(r,n.TRIANGLES,At.disabled,new Mt({func:n.ALWAYS,mask:0},l,255,n.KEEP,n.KEEP,n.REPLACE),St.disabled,Et.disabled,Or(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},_n.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Mt({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},_n.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Mt({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},_n.prototype.stencilConfigForOverlap=function(t){var e,r=this.context.gl,n=t.sort((function(t,e){return e.overscaledZ-t.overscaledZ})),i=n[n.length-1].overscaledZ,a=n[0].overscaledZ-i+1;if(a>1){this.currentStencilSource=void 0,this.nextStencilID+a>256&&this.clearStencil();for(var o={},s=0;s<a;s++)o[s+i]=new Mt({func:r.GEQUAL,mask:255},s+this.nextStencilID,255,r.KEEP,r.KEEP,r.REPLACE);return this.nextStencilID+=a,[o,n]}return[(e={},e[i]=Mt.disabled,e),n]},_n.prototype.colorModeForRenderPass=function(){var e=this.context.gl;if(this._showOverdrawInspector){return new St([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0])}return"opaque"===this.renderPass?St.unblended:St.alphaBlended},_n.prototype.depthModeForSublayer=function(t,e,r){if(!this.opaquePassEnabledForLayer())return At.disabled;var n=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new At(r||this.context.gl.LEQUAL,e,[n,n])},_n.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},_n.prototype.render=function(e,r){var n=this;this.style=e,this.options=r,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var i=this.style._order,a=this.style.sourceCaches;for(var o in a){var s=a[o];s.used&&s.prepare(this.context)}var l,c,u={},f={},h={};for(var p in a){var d=a[p];u[p]=d.getVisibleCoordinates(),f[p]=u[p].slice().reverse(),h[p]=d.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var g=0;g<i.length;g++){var m=i[g];if(this.style._layers[m].is3D()){this.opaquePassCutoff=g;break}}this.renderPass="offscreen";for(var v=0,y=i;v<y.length;v+=1){var x=y[v],b=this.style._layers[x];if(b.hasOffscreenPass()&&!b.isHidden(this.transform.zoom)){var _=f[b.source];("custom"===b.type||_.length)&&this.renderLayer(this,a[b.source],b,_)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:r.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=i.length-1;this.currentLayer>=0;this.currentLayer--){var w=this.style._layers[i[this.currentLayer]],T=a[w.source],k=u[w.source];this._renderTileClippingMasks(w,k),this.renderLayer(this,T,w,k)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<i.length;this.currentLayer++){var A=this.style._layers[i[this.currentLayer]],M=a[A.source],S=("symbol"===A.type?h:f)[A.source];this._renderTileClippingMasks(A,u[A.source]),this.renderLayer(this,M,A,S)}this.options.showTileBoundaries&&(t.values(this.style._layers).forEach((function(t){t.source&&!t.isHidden(n.transform.zoom)&&(t.source!==(c&&c.id)&&(c=n.style.sourceCaches[t.source]),(!l||l.getSource().maxzoom<c.getSource().maxzoom)&&(l=c))})),l&&bn.debug(this,l,l.getVisibleCoordinates()));this.options.showPadding&&gn(this),this.context.setDefault()},_n.prototype.renderLayer=function(t,e,r,n){r.isHidden(this.transform.zoom)||("background"===r.type||"custom"===r.type||n.length)&&(this.id=r.id,this.gpuTimingStart(r),bn[r.type](t,e,r,n,this.style.placement.variableOffsets),this.gpuTimingEnd())},_n.prototype.gpuTimingStart=function(t){if(this.options.gpuTiming){var e=this.context.extTimerQuery,r=this.gpuTimers[t.id];r||(r=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),r.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,r.query)}},_n.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}},_n.prototype.collectGpuTimers=function(){var t=this.gpuTimers;return this.gpuTimers={},t},_n.prototype.queryGpuTimers=function(t){var e={};for(var r in t){var n=t[r],i=this.context.extTimerQuery,a=i.getQueryObjectEXT(n.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(n.query),e[r]=a}return e},_n.prototype.translatePosMatrix=function(e,r,n,i,a){if(!n[0]&&!n[1])return e;var o=a?"map"===i?this.transform.angle:0:"viewport"===i?-this.transform.angle:0;if(o){var s=Math.sin(o),l=Math.cos(o);n=[n[0]*l-n[1]*s,n[0]*s+n[1]*l]}var c=[a?n[0]:pe(r,n[0],this.transform.zoom),a?n[1]:pe(r,n[1],this.transform.zoom),0],u=new Float32Array(16);return t.translate(u,e,c),u},_n.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]},_n.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},_n.prototype.isPatternMissing=function(t){if(!t)return!1;if(!t.from||!t.to)return!0;var e=this.imageManager.getPattern(t.from.toString()),r=this.imageManager.getPattern(t.to.toString());return!e||!r},_n.prototype.useProgram=function(t,e){this.cache=this.cache||{};var r=""+t+(e?e.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[r]||(this.cache[r]=new _r(this.context,xr[t],e,Jr[t],this._showOverdrawInspector)),this.cache[r]},_n.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},_n.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)},_n.prototype.initDebugOverlayCanvas=function(){if(null==this.debugOverlayCanvas){this.debugOverlayCanvas=t.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var e=this.context.gl;this.debugOverlayTexture=new t.Texture(this.context,this.debugOverlayCanvas,e.RGBA)}},_n.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var wn=function(t,e){this.points=t,this.planes=e};wn.fromInvProjectionMatrix=function(e,r,n){var i=Math.pow(2,n),a=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((function(r){return t.transformMat4([],r,e)})).map((function(e){return t.scale$1([],e,1/e[3]/r*i)})),o=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((function(e){var r=t.sub([],a[e[0]],a[e[1]]),n=t.sub([],a[e[2]],a[e[1]]),i=t.normalize([],t.cross([],r,n)),o=-t.dot(i,a[e[1]]);return i.concat(o)}));return new wn(a,o)};var Tn=function(e,r){this.min=e,this.max=r,this.center=t.scale$2([],t.add([],this.min,this.max),.5)};Tn.prototype.quadrant=function(e){for(var r=[e%2==0,e<2],n=t.clone$2(this.min),i=t.clone$2(this.max),a=0;a<r.length;a++)n[a]=r[a]?this.min[a]:this.center[a],i[a]=r[a]?this.center[a]:this.max[a];return i[2]=this.max[2],new Tn(n,i)},Tn.prototype.distanceX=function(t){return Math.max(Math.min(this.max[0],t[0]),this.min[0])-t[0]},Tn.prototype.distanceY=function(t){return Math.max(Math.min(this.max[1],t[1]),this.min[1])-t[1]},Tn.prototype.intersects=function(e){for(var r=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],n=!0,i=0;i<e.planes.length;i++){for(var a=e.planes[i],o=0,s=0;s<r.length;s++)o+=t.dot$1(a,r[s])>=0;if(0===o)return 0;o!==r.length&&(n=!1)}if(n)return 2;for(var l=0;l<3;l++){for(var c=Number.MAX_VALUE,u=-Number.MAX_VALUE,f=0;f<e.points.length;f++){var h=e.points[f][l]-this.min[l];c=Math.min(c,h),u=Math.max(u,h)}if(u<0||c>this.max[l]-this.min[l])return 0}return 1};var kn=function(t,e,r,n){if(void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),isNaN(t)||t<0||isNaN(e)||e<0||isNaN(r)||r<0||isNaN(n)||n<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=t,this.bottom=e,this.left=r,this.right=n};kn.prototype.interpolate=function(e,r,n){return null!=r.top&&null!=e.top&&(this.top=t.number(e.top,r.top,n)),null!=r.bottom&&null!=e.bottom&&(this.bottom=t.number(e.bottom,r.bottom,n)),null!=r.left&&null!=e.left&&(this.left=t.number(e.left,r.left,n)),null!=r.right&&null!=e.right&&(this.right=t.number(e.right,r.right,n)),this},kn.prototype.getCenter=function(e,r){var n=t.clamp((this.left+e-this.right)/2,0,e),i=t.clamp((this.top+r-this.bottom)/2,0,r);return new t.Point(n,i)},kn.prototype.equals=function(t){return this.top===t.top&&this.bottom===t.bottom&&this.left===t.left&&this.right===t.right},kn.prototype.clone=function(){return new kn(this.top,this.bottom,this.left,this.right)},kn.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var An=function(e,r,n,i,a){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===a||a,this._minZoom=e||0,this._maxZoom=r||22,this._minPitch=null==n?0:n,this._maxPitch=null==i?60:i,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new kn,this._posMatrixCache={},this._alignedPosMatrixCache={}},Mn={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};An.prototype.clone=function(){var t=new An(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._edgeInsets=this._edgeInsets.clone(),t._calcMatrices(),t},Mn.minZoom.get=function(){return this._minZoom},Mn.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},Mn.maxZoom.get=function(){return this._maxZoom},Mn.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},Mn.minPitch.get=function(){return this._minPitch},Mn.minPitch.set=function(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))},Mn.maxPitch.get=function(){return this._maxPitch},Mn.maxPitch.set=function(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))},Mn.renderWorldCopies.get=function(){return this._renderWorldCopies},Mn.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},Mn.worldSize.get=function(){return this.tileSize*this.scale},Mn.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Mn.size.get=function(){return new t.Point(this.width,this.height)},Mn.bearing.get=function(){return-this.angle/Math.PI*180},Mn.bearing.set=function(e){var r=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Mn.pitch.get=function(){return this._pitch/Math.PI*180},Mn.pitch.set=function(e){var r=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())},Mn.fov.get=function(){return this._fov/Math.PI*180},Mn.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},Mn.zoom.get=function(){return this._zoom},Mn.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},Mn.center.get=function(){return this._center},Mn.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},Mn.padding.get=function(){return this._edgeInsets.toJSON()},Mn.padding.set=function(t){this._edgeInsets.equals(t)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,t,1),this._calcMatrices())},Mn.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},An.prototype.isPaddingEqual=function(t){return this._edgeInsets.equals(t)},An.prototype.interpolatePadding=function(t,e,r){this._unmodified=!1,this._edgeInsets.interpolate(t,e,r),this._constrain(),this._calcMatrices()},An.prototype.coveringZoomLevel=function(t){var e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)},An.prototype.getVisibleUnwrappedCoordinates=function(e){var r=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var n=this.pointCoordinate(new t.Point(0,0)),i=this.pointCoordinate(new t.Point(this.width,0)),a=this.pointCoordinate(new t.Point(this.width,this.height)),o=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(n.x,i.x,a.x,o.x)),l=Math.floor(Math.max(n.x,i.x,a.x,o.x)),c=s-1;c<=l+1;c++)0!==c&&r.push(new t.UnwrappedTileID(c,e));return r},An.prototype.coveringTiles=function(e){var r=this.coveringZoomLevel(e),n=r;if(void 0!==e.minzoom&&r<e.minzoom)return[];void 0!==e.maxzoom&&r>e.maxzoom&&(r=e.maxzoom);var i=t.MercatorCoordinate.fromLngLat(this.center),a=Math.pow(2,r),o=[a*i.x,a*i.y,0],s=wn.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,r),l=e.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(l=r);var c=function(t){return{aabb:new Tn([t*a,0,0],[(t+1)*a,a,0]),zoom:0,x:0,y:0,wrap:t,fullyVisible:!1}},u=[],f=[],h=r,p=e.reparseOverscaled?n:r;if(this._renderWorldCopies)for(var d=1;d<=3;d++)u.push(c(-d)),u.push(c(d));for(u.push(c(0));u.length>0;){var g=u.pop(),m=g.x,v=g.y,y=g.fullyVisible;if(!y){var x=g.aabb.intersects(s);if(0===x)continue;y=2===x}var b=g.aabb.distanceX(o),_=g.aabb.distanceY(o),w=Math.max(Math.abs(b),Math.abs(_)),T=3+(1<<h-g.zoom)-2;if(g.zoom===h||w>T&&g.zoom>=l)f.push({tileID:new t.OverscaledTileID(g.zoom===h?p:g.zoom,g.wrap,g.zoom,m,v),distanceSq:t.sqrLen([o[0]-.5-m,o[1]-.5-v])});else for(var k=0;k<4;k++){var A=(m<<1)+k%2,M=(v<<1)+(k>>1);u.push({aabb:g.aabb.quadrant(k),zoom:g.zoom+1,x:A,y:M,wrap:g.wrap,fullyVisible:y})}}return f.sort((function(t,e){return t.distanceSq-e.distanceSq})).map((function(t){return t.tileID}))},An.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},Mn.unmodified.get=function(){return this._unmodified},An.prototype.zoomScale=function(t){return Math.pow(2,t)},An.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},An.prototype.project=function(e){var r=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(r)*this.worldSize)},An.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},Mn.point.get=function(){return this.project(this.center)},An.prototype.setLocationAtPoint=function(e,r){var n=this.pointCoordinate(r),i=this.pointCoordinate(this.centerPoint),a=this.locationCoordinate(e),o=new t.MercatorCoordinate(a.x-(n.x-i.x),a.y-(n.y-i.y));this.center=this.coordinateLocation(o),this._renderWorldCopies&&(this.center=this.center.wrap())},An.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},An.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},An.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},An.prototype.coordinateLocation=function(t){return t.toLngLat()},An.prototype.pointCoordinate=function(e){var r=[e.x,e.y,0,1],n=[e.x,e.y,1,1];t.transformMat4(r,r,this.pixelMatrixInverse),t.transformMat4(n,n,this.pixelMatrixInverse);var i=r[3],a=n[3],o=r[0]/i,s=n[0]/a,l=r[1]/i,c=n[1]/a,u=r[2]/i,f=n[2]/a,h=u===f?0:(0-u)/(f-u);return new t.MercatorCoordinate(t.number(o,s,h)/this.worldSize,t.number(l,c,h)/this.worldSize)},An.prototype.coordinatePoint=function(e){var r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix),new t.Point(r[0]/r[3],r[1]/r[3])},An.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},An.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},An.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},An.prototype.calculatePosMatrix=function(e,r){void 0===r&&(r=!1);var n=e.key,i=r?this._alignedPosMatrixCache:this._posMatrixCache;if(i[n])return i[n];var a=e.canonical,o=this.worldSize/this.zoomScale(a.z),s=a.x+Math.pow(2,a.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*o,a.y*o,0]),t.scale(l,l,[o/t.EXTENT,o/t.EXTENT,1]),t.multiply(l,r?this.alignedProjMatrix:this.projMatrix,l),i[n]=new Float32Array(l),i[n]},An.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},An.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,r,n,i,a=-90,o=90,s=-180,l=180,c=this.size,u=this._unmodified;if(this.latRange){var f=this.latRange;a=t.mercatorYfromLat(f[1])*this.worldSize,e=(o=t.mercatorYfromLat(f[0])*this.worldSize)-a<c.y?c.y/(o-a):0}if(this.lngRange){var h=this.lngRange;s=t.mercatorXfromLng(h[0])*this.worldSize,r=(l=t.mercatorXfromLng(h[1])*this.worldSize)-s<c.x?c.x/(l-s):0}var p=this.point,d=Math.max(r||0,e||0);if(d)return this.center=this.unproject(new t.Point(r?(l+s)/2:p.x,e?(o+a)/2:p.y)),this.zoom+=this.scaleZoom(d),this._unmodified=u,void(this._constraining=!1);if(this.latRange){var g=p.y,m=c.y/2;g-m<a&&(i=a+m),g+m>o&&(i=o-m)}if(this.lngRange){var v=p.x,y=c.x/2;v-y<s&&(n=s+y),v+y>l&&(n=l-y)}void 0===n&&void 0===i||(this.center=this.unproject(new t.Point(void 0!==n?n:p.x,void 0!==i?i:p.y))),this._unmodified=u,this._constraining=!1}},An.prototype._calcMatrices=function(){if(this.height){var e=this._fov/2,r=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(e)*this.height;var n=Math.PI/2+this._pitch,i=this._fov*(.5+r.y/this.height),a=Math.sin(i)*this.cameraToCenterDistance/Math.sin(t.clamp(Math.PI-n-i,.01,Math.PI-.01)),o=this.point,s=o.x,l=o.y,c=1.01*(Math.cos(Math.PI/2-this._pitch)*a+this.cameraToCenterDistance),u=this.height/50,f=new Float64Array(16);t.perspective(f,this._fov,this.width/this.height,u,c),f[8]=2*-r.x/this.width,f[9]=2*r.y/this.height,t.scale(f,f,[1,-1,1]),t.translate(f,f,[0,0,-this.cameraToCenterDistance]),t.rotateX(f,f,this._pitch),t.rotateZ(f,f,this.angle),t.translate(f,f,[-s,-l,0]),this.mercatorMatrix=t.scale([],f,[this.worldSize,this.worldSize,this.worldSize]),t.scale(f,f,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=f,this.invProjMatrix=t.invert([],this.projMatrix);var h=this.width%2/2,p=this.height%2/2,d=Math.cos(this.angle),g=Math.sin(this.angle),m=s-Math.round(s)+d*h+g*p,v=l-Math.round(l)+d*p+g*h,y=new Float64Array(f);if(t.translate(y,y,[m>.5?m-1:m,v>.5?v-1:v,0]),this.alignedProjMatrix=y,f=t.create(),t.scale(f,f,[this.width/2,-this.height/2,1]),t.translate(f,f,[1,-1,0]),this.labelPlaneMatrix=f,f=t.create(),t.scale(f,f,[1,-1,1]),t.translate(f,f,[-1,-1,0]),t.scale(f,f,[2/this.width,2/this.height,1]),this.glCoordMatrix=f,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(f=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=f,this._posMatrixCache={},this._alignedPosMatrixCache={}}},An.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix)[3]/this.cameraToCenterDistance},An.prototype.getCameraPoint=function(){var e=this._pitch,r=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,r))},An.prototype.getCameraQueryGeometry=function(e){var r=this.getCameraPoint();if(1===e.length)return[e[0],r];for(var n=r.x,i=r.y,a=r.x,o=r.y,s=0,l=e;s<l.length;s+=1){var c=l[s];n=Math.min(n,c.x),i=Math.min(i,c.y),a=Math.max(a,c.x),o=Math.max(o,c.y)}return[new t.Point(n,i),new t.Point(a,i),new t.Point(a,o),new t.Point(n,o),new t.Point(n,i)]},Object.defineProperties(An.prototype,Mn);var Sn=function(e){var r,n,i,a,o;this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(r=this._updateHashUnthrottled.bind(this),n=300,i=!1,a=null,o=function(){a=null,i&&(r(),a=setTimeout(o,n),i=!1)},function(){return i=!0,a||o(),a})};Sn.prototype.addTo=function(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},Sn.prototype.remove=function(){return t.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},Sn.prototype.getHashString=function(e){var r=this._map.getCenter(),n=Math.round(100*this._map.getZoom())/100,i=Math.ceil((n*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,i),o=Math.round(r.lng*a)/a,s=Math.round(r.lat*a)/a,l=this._map.getBearing(),c=this._map.getPitch(),u="";if(u+=e?"/"+o+"/"+s+"/"+n:n+"/"+s+"/"+o,(l||c)&&(u+="/"+Math.round(10*l)/10),c&&(u+="/"+Math.round(c)),this._hashName){var f=this._hashName,h=!1,p=t.window.location.hash.slice(1).split("&").map((function(t){var e=t.split("=")[0];return e===f?(h=!0,e+"="+u):t})).filter((function(t){return t}));return h||p.push(f+"="+u),"#"+p.join("&")}return"#"+u},Sn.prototype._getCurrentHash=function(){var e,r=this,n=t.window.location.hash.replace("#","");return this._hashName?(n.split("&").map((function(t){return t.split("=")})).forEach((function(t){t[0]===r._hashName&&(e=t)})),(e&&e[1]||"").split("/")):n.split("/")},Sn.prototype._onHashChange=function(){var t=this._getCurrentHash();if(t.length>=3&&!t.some((function(t){return isNaN(t)}))){var e=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(t[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:e,pitch:+(t[4]||0)}),!0}return!1},Sn.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,"",e)}catch(t){}};var En={linearity:.3,easing:t.bezier(0,0,.3,1)},Ln=t.extend({deceleration:2500,maxSpeed:1400},En),Cn=t.extend({deceleration:20,maxSpeed:1400},En),Pn=t.extend({deceleration:1e3,maxSpeed:360},En),In=t.extend({deceleration:1e3,maxSpeed:90},En),On=function(t){this._map=t,this.clear()};function zn(t,e){(!t.duration||t.duration<e.duration)&&(t.duration=e.duration,t.easing=e.easing)}function Dn(e,r,n){var i=n.maxSpeed,a=n.linearity,o=n.deceleration,s=t.clamp(e*a/(r/1e3),-i,i),l=Math.abs(s)/(o*a);return{easing:n.easing,duration:1e3*l,amount:s*(l/2)}}On.prototype.clear=function(){this._inertiaBuffer=[]},On.prototype.record=function(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:t.browser.now(),settings:e})},On.prototype._drainInertiaBuffer=function(){for(var e=this._inertiaBuffer,r=t.browser.now();e.length>0&&r-e[0].time>160;)e.shift()},On.prototype._onMoveEnd=function(e){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var r={zoom:0,bearing:0,pitch:0,pan:new t.Point(0,0),pinchAround:void 0,around:void 0},n=0,i=this._inertiaBuffer;n<i.length;n+=1){var a=i[n].settings;r.zoom+=a.zoomDelta||0,r.bearing+=a.bearingDelta||0,r.pitch+=a.pitchDelta||0,a.panDelta&&r.pan._add(a.panDelta),a.around&&(r.around=a.around),a.pinchAround&&(r.pinchAround=a.pinchAround)}var o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,s={};if(r.pan.mag()){var l=Dn(r.pan.mag(),o,t.extend({},Ln,e||{}));s.offset=r.pan.mult(l.amount/r.pan.mag()),s.center=this._map.transform.center,zn(s,l)}if(r.zoom){var c=Dn(r.zoom,o,Cn);s.zoom=this._map.transform.zoom+c.amount,zn(s,c)}if(r.bearing){var u=Dn(r.bearing,o,Pn);s.bearing=this._map.transform.bearing+t.clamp(u.amount,-179,179),zn(s,u)}if(r.pitch){var f=Dn(r.pitch,o,In);s.pitch=this._map.transform.pitch+f.amount,zn(s,f)}if(s.zoom||s.bearing){var h=void 0===r.pinchAround?r.around:r.pinchAround;s.around=h?this._map.unproject(h):this._map.getCenter()}return this.clear(),t.extend(s,{noMoveStart:!0})}};var Rn=function(e){function n(n,i,a,o){void 0===o&&(o={});var s=r.mousePos(i.getCanvasContainer(),a),l=i.unproject(s);e.call(this,n,t.extend({point:s,lngLat:l,originalEvent:a},o)),this._defaultPrevented=!1,this.target=i}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={defaultPrevented:{configurable:!0}};return n.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(n.prototype,i),n}(t.Event),Fn=function(e){function n(n,i,a){var o="touchend"===n?a.changedTouches:a.touches,s=r.touchPos(i.getCanvasContainer(),o),l=s.map((function(t){return i.unproject(t)})),c=s.reduce((function(t,e,r,n){return t.add(e.div(n.length))}),new t.Point(0,0)),u=i.unproject(c);e.call(this,n,{points:s,point:c,lngLats:l,lngLat:u,originalEvent:a}),this._defaultPrevented=!1}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={defaultPrevented:{configurable:!0}};return n.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(n.prototype,i),n}(t.Event),Bn=function(t){function e(e,r,n){t.call(this,e,{originalEvent:n}),this._defaultPrevented=!1}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,r),e}(t.Event),Nn=function(t,e){this._map=t,this._clickTolerance=e.clickTolerance};Nn.prototype.reset=function(){delete this._mousedownPos},Nn.prototype.wheel=function(t){return this._firePreventable(new Bn(t.type,this._map,t))},Nn.prototype.mousedown=function(t,e){return this._mousedownPos=e,this._firePreventable(new Rn(t.type,this._map,t))},Nn.prototype.mouseup=function(t){this._map.fire(new Rn(t.type,this._map,t))},Nn.prototype.click=function(t,e){this._mousedownPos&&this._mousedownPos.dist(e)>=this._clickTolerance||this._map.fire(new Rn(t.type,this._map,t))},Nn.prototype.dblclick=function(t){return this._firePreventable(new Rn(t.type,this._map,t))},Nn.prototype.mouseover=function(t){this._map.fire(new Rn(t.type,this._map,t))},Nn.prototype.mouseout=function(t){this._map.fire(new Rn(t.type,this._map,t))},Nn.prototype.touchstart=function(t){return this._firePreventable(new Fn(t.type,this._map,t))},Nn.prototype.touchmove=function(t){this._map.fire(new Fn(t.type,this._map,t))},Nn.prototype.touchend=function(t){this._map.fire(new Fn(t.type,this._map,t))},Nn.prototype.touchcancel=function(t){this._map.fire(new Fn(t.type,this._map,t))},Nn.prototype._firePreventable=function(t){if(this._map.fire(t),t.defaultPrevented)return{}},Nn.prototype.isEnabled=function(){return!0},Nn.prototype.isActive=function(){return!1},Nn.prototype.enable=function(){},Nn.prototype.disable=function(){};var jn=function(t){this._map=t};jn.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},jn.prototype.mousemove=function(t){this._map.fire(new Rn(t.type,this._map,t))},jn.prototype.mousedown=function(){this._delayContextMenu=!0},jn.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Rn("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},jn.prototype.contextmenu=function(t){this._delayContextMenu?this._contextMenuEvent=t:this._map.fire(new Rn(t.type,this._map,t)),this._map.listens("contextmenu")&&t.preventDefault()},jn.prototype.isEnabled=function(){return!0},jn.prototype.isActive=function(){return!1},jn.prototype.enable=function(){},jn.prototype.disable=function(){};var Un=function(t,e){this._map=t,this._el=t.getCanvasContainer(),this._container=t.getContainer(),this._clickTolerance=e.clickTolerance||1};function Vn(t,e){for(var r={},n=0;n<t.length;n++)r[t[n].identifier]=e[n];return r}Un.prototype.isEnabled=function(){return!!this._enabled},Un.prototype.isActive=function(){return!!this._active},Un.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Un.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Un.prototype.mousedown=function(t,e){this.isEnabled()&&t.shiftKey&&0===t.button&&(r.disableDrag(),this._startPos=this._lastPos=e,this._active=!0)},Un.prototype.mousemoveWindow=function(t,e){if(this._active){var n=e;if(!(this._lastPos.equals(n)||!this._box&&n.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=n,this._box||(this._box=r.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));var a=Math.min(i.x,n.x),o=Math.max(i.x,n.x),s=Math.min(i.y,n.y),l=Math.max(i.y,n.y);r.setTransform(this._box,"translate("+a+"px,"+s+"px)"),this._box.style.width=o-a+"px",this._box.style.height=l-s+"px"}}},Un.prototype.mouseupWindow=function(e,n){var i=this;if(this._active&&0===e.button){var a=this._startPos,o=n;if(this.reset(),r.suppressClick(),a.x!==o.x||a.y!==o.y)return this._map.fire(new t.Event("boxzoomend",{originalEvent:e})),{cameraAnimation:function(t){return t.fitScreenCoordinates(a,o,i._map.getBearing(),{linear:!0})}};this._fireEvent("boxzoomcancel",e)}},Un.prototype.keydown=function(t){this._active&&27===t.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",t))},Un.prototype.reset=function(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos},Un.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,{originalEvent:r}))};var Hn=function(t){this.reset(),this.numTouches=t.numTouches};Hn.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},Hn.prototype.touchstart=function(e,r,n){(this.centroid||n.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),n.length===this.numTouches&&(this.centroid=function(e){for(var r=new t.Point(0,0),n=0,i=e;n<i.length;n+=1){var a=i[n];r._add(a)}return r.div(e.length)}(r),this.touches=Vn(n,r)))},Hn.prototype.touchmove=function(t,e,r){if(!this.aborted&&this.centroid){var n=Vn(r,e);for(var i in this.touches){var a=this.touches[i],o=n[i];(!o||o.dist(a)>30)&&(this.aborted=!0)}}},Hn.prototype.touchend=function(t,e,r){if((!this.centroid||t.timeStamp-this.startTime>500)&&(this.aborted=!0),0===r.length){var n=!this.aborted&&this.centroid;if(this.reset(),n)return n}};var qn=function(t){this.singleTap=new Hn(t),this.numTaps=t.numTaps,this.reset()};qn.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},qn.prototype.touchstart=function(t,e,r){this.singleTap.touchstart(t,e,r)},qn.prototype.touchmove=function(t,e,r){this.singleTap.touchmove(t,e,r)},qn.prototype.touchend=function(t,e,r){var n=this.singleTap.touchend(t,e,r);if(n){var i=t.timeStamp-this.lastTime<500,a=!this.lastTap||this.lastTap.dist(n)<30;if(i&&a||this.reset(),this.count++,this.lastTime=t.timeStamp,this.lastTap=n,this.count===this.numTaps)return this.reset(),n}};var Gn=function(){this._zoomIn=new qn({numTouches:1,numTaps:2}),this._zoomOut=new qn({numTouches:2,numTaps:1}),this.reset()};Gn.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},Gn.prototype.touchstart=function(t,e,r){this._zoomIn.touchstart(t,e,r),this._zoomOut.touchstart(t,e,r)},Gn.prototype.touchmove=function(t,e,r){this._zoomIn.touchmove(t,e,r),this._zoomOut.touchmove(t,e,r)},Gn.prototype.touchend=function(t,e,r){var n=this,i=this._zoomIn.touchend(t,e,r),a=this._zoomOut.touchend(t,e,r);return i?(this._active=!0,t.preventDefault(),setTimeout((function(){return n.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(i)},{originalEvent:t})}}):a?(this._active=!0,t.preventDefault(),setTimeout((function(){return n.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(a)},{originalEvent:t})}}):void 0},Gn.prototype.touchcancel=function(){this.reset()},Gn.prototype.enable=function(){this._enabled=!0},Gn.prototype.disable=function(){this._enabled=!1,this.reset()},Gn.prototype.isEnabled=function(){return this._enabled},Gn.prototype.isActive=function(){return this._active};var Yn=function(t){this.reset(),this._clickTolerance=t.clickTolerance||1};Yn.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Yn.prototype._correctButton=function(t,e){return!1},Yn.prototype._move=function(t,e){return{}},Yn.prototype.mousedown=function(t,e){if(!this._lastPoint){var n=r.mouseButton(t);this._correctButton(t,n)&&(this._lastPoint=e,this._eventButton=n)}},Yn.prototype.mousemoveWindow=function(t,e){var r=this._lastPoint;if(r&&(t.preventDefault(),this._moved||!(e.dist(r)<this._clickTolerance)))return this._moved=!0,this._lastPoint=e,this._move(r,e)},Yn.prototype.mouseupWindow=function(t){r.mouseButton(t)===this._eventButton&&(this._moved&&r.suppressClick(),this.reset())},Yn.prototype.enable=function(){this._enabled=!0},Yn.prototype.disable=function(){this._enabled=!1,this.reset()},Yn.prototype.isEnabled=function(){return this._enabled},Yn.prototype.isActive=function(){return this._active};var Wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.mousedown=function(e,r){t.prototype.mousedown.call(this,e,r),this._lastPoint&&(this._active=!0)},e.prototype._correctButton=function(t,e){return 0===e&&!t.ctrlKey},e.prototype._move=function(t,e){return{around:e,panDelta:e.sub(t)}},e}(Yn),Xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._correctButton=function(t,e){return 0===e&&t.ctrlKey||2===e},e.prototype._move=function(t,e){var r=.8*(e.x-t.x);if(r)return this._active=!0,{bearingDelta:r}},e.prototype.contextmenu=function(t){t.preventDefault()},e}(Yn),Zn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._correctButton=function(t,e){return 0===e&&t.ctrlKey||2===e},e.prototype._move=function(t,e){var r=-.5*(e.y-t.y);if(r)return this._active=!0,{pitchDelta:r}},e.prototype.contextmenu=function(t){t.preventDefault()},e}(Yn),Jn=function(t){this._minTouches=1,this._clickTolerance=t.clickTolerance||1,this.reset()};Jn.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new t.Point(0,0)},Jn.prototype.touchstart=function(t,e,r){return this._calculateTransform(t,e,r)},Jn.prototype.touchmove=function(t,e,r){if(this._active)return t.preventDefault(),this._calculateTransform(t,e,r)},Jn.prototype.touchend=function(t,e,r){this._calculateTransform(t,e,r),this._active&&r.length<this._minTouches&&this.reset()},Jn.prototype.touchcancel=function(){this.reset()},Jn.prototype._calculateTransform=function(e,r,n){n.length>0&&(this._active=!0);var i=Vn(n,r),a=new t.Point(0,0),o=new t.Point(0,0),s=0;for(var l in i){var c=i[l],u=this._touches[l];u&&(a._add(c),o._add(c.sub(u)),s++,i[l]=c)}if(this._touches=i,!(s<this._minTouches)&&o.mag()){var f=o.div(s);if(this._sum._add(f),!(this._sum.mag()<this._clickTolerance))return{around:a.div(s),panDelta:f}}},Jn.prototype.enable=function(){this._enabled=!0},Jn.prototype.disable=function(){this._enabled=!1,this.reset()},Jn.prototype.isEnabled=function(){return this._enabled},Jn.prototype.isActive=function(){return this._active};var Kn=function(){this.reset()};function Qn(t,e,r){for(var n=0;n<t.length;n++)if(t[n].identifier===r)return e[n]}Kn.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},Kn.prototype._start=function(t){},Kn.prototype._move=function(t,e,r){return{}},Kn.prototype.touchstart=function(t,e,r){this._firstTwoTouches||r.length<2||(this._firstTwoTouches=[r[0].identifier,r[1].identifier],this._start([e[0],e[1]]))},Kn.prototype.touchmove=function(t,e,r){if(this._firstTwoTouches){t.preventDefault();var n=this._firstTwoTouches,i=n[0],a=n[1],o=Qn(r,e,i),s=Qn(r,e,a);if(o&&s){var l=this._aroundCenter?null:o.add(s).div(2);return this._move([o,s],l,t)}}},Kn.prototype.touchend=function(t,e,n){if(this._firstTwoTouches){var i=this._firstTwoTouches,a=i[0],o=i[1],s=Qn(n,e,a),l=Qn(n,e,o);s&&l||(this._active&&r.suppressClick(),this.reset())}},Kn.prototype.touchcancel=function(){this.reset()},Kn.prototype.enable=function(t){this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around},Kn.prototype.disable=function(){this._enabled=!1,this.reset()},Kn.prototype.isEnabled=function(){return this._enabled},Kn.prototype.isActive=function(){return this._active};function $n(t,e){return Math.log(t/e)/Math.LN2}var ti=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),delete this._distance,delete this._startDistance},e.prototype._start=function(t){this._startDistance=this._distance=t[0].dist(t[1])},e.prototype._move=function(t,e){var r=this._distance;if(this._distance=t[0].dist(t[1]),this._active||!(Math.abs($n(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:$n(this._distance,r),pinchAround:e}},e}(Kn);function ei(t,e){return 180*t.angleWith(e)/Math.PI}var ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},e.prototype._start=function(t){this._startVector=this._vector=t[0].sub(t[1]),this._minDiameter=t[0].dist(t[1])},e.prototype._move=function(t,e){var r=this._vector;if(this._vector=t[0].sub(t[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:ei(this._vector,r),pinchAround:e}},e.prototype._isBelowThreshold=function(t){this._minDiameter=Math.min(this._minDiameter,t.mag());var e=25/(Math.PI*this._minDiameter)*360,r=ei(t,this._startVector);return Math.abs(r)<e},e}(Kn);function ni(t){return Math.abs(t.y)>Math.abs(t.x)}var ii=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},e.prototype._start=function(t){this._lastPoints=t,ni(t[0].sub(t[1]))&&(this._valid=!1)},e.prototype._move=function(t,e,r){var n=t[0].sub(this._lastPoints[0]),i=t[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(n,i,r.timeStamp),this._valid){this._lastPoints=t,this._active=!0;return{pitchDelta:-.5*((n.y+i.y)/2)}}},e.prototype.gestureBeginsVertically=function(t,e,r){if(void 0!==this._valid)return this._valid;var n=t.mag()>=2,i=e.mag()>=2;if(n||i){if(!n||!i)return void 0===this._firstMove&&(this._firstMove=r),r-this._firstMove<100&&void 0;var a=t.y>0==e.y>0;return ni(t)&&ni(e)&&a}},e}(Kn),ai={panStep:100,bearingStep:15,pitchStep:10},oi=function(){var t=ai;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep};function si(t){return t*(2-t)}oi.prototype.reset=function(){this._active=!1},oi.prototype.keydown=function(t){var e=this;if(!(t.altKey||t.ctrlKey||t.metaKey)){var r=0,n=0,i=0,a=0,o=0;switch(t.keyCode){case 61:case 107:case 171:case 187:r=1;break;case 189:case 109:case 173:r=-1;break;case 37:t.shiftKey?n=-1:(t.preventDefault(),a=-1);break;case 39:t.shiftKey?n=1:(t.preventDefault(),a=1);break;case 38:t.shiftKey?i=1:(t.preventDefault(),o=-1);break;case 40:t.shiftKey?i=-1:(t.preventDefault(),o=1);break;default:return}return{cameraAnimation:function(s){var l=s.getZoom();s.easeTo({duration:300,easeId:"keyboardHandler",easing:si,zoom:r?Math.round(l)+r*(t.shiftKey?2:1):l,bearing:s.getBearing()+n*e._bearingStep,pitch:s.getPitch()+i*e._pitchStep,offset:[-a*e._panStep,-o*e._panStep],center:s.getCenter()},{originalEvent:t})}}}},oi.prototype.enable=function(){this._enabled=!0},oi.prototype.disable=function(){this._enabled=!1,this.reset()},oi.prototype.isEnabled=function(){return this._enabled},oi.prototype.isActive=function(){return this._active};var li=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._handler=r,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,t.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};li.prototype.setZoomRate=function(t){this._defaultZoomRate=t},li.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t},li.prototype.isEnabled=function(){return!!this._enabled},li.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},li.prototype.isZooming=function(){return!!this._zooming},li.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)},li.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},li.prototype.wheel=function(e){if(this.isEnabled()){var r=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,n=t.browser.now(),i=n-(this._lastWheelEventTime||0);this._lastWheelEventTime=n,0!==r&&r%4.000244140625==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":i>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(i*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),e.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=e,this._delta-=r,this._active||this._start(e)),e.preventDefault()}},li.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(t)},li.prototype._start=function(e){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var n=r.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(n)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},li.prototype.renderFrame=function(){return this._onScrollFrame()},li.prototype._onScrollFrame=function(){var e=this;if(this._frameId&&(this._frameId=null,this.isActive())){var r=this._map.transform;if(0!==this._delta){var n="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,i=2/(1+Math.exp(-Math.abs(this._delta*n)));this._delta<0&&0!==i&&(i=1/i);var a="number"==typeof this._targetZoom?r.zoomScale(this._targetZoom):r.scale;this._targetZoom=Math.min(r.maxZoom,Math.max(r.minZoom,r.scaleZoom(a*i))),"wheel"===this._type&&(this._startZoom=r.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var o,s="number"==typeof this._targetZoom?this._targetZoom:r.zoom,l=this._startZoom,c=this._easing,u=!1;if("wheel"===this._type&&l&&c){var f=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),h=c(f);o=t.number(l,s,h),f<1?this._frameId||(this._frameId=!0):u=!0}else o=s,u=!0;return this._active=!0,u&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._handler._triggerRenderFrame(),delete e._targetZoom,delete e._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!u,zoomDelta:o-r.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},li.prototype._smoothOutEasing=function(e){var r=t.ease;if(this._prevEase){var n=this._prevEase,i=(t.browser.now()-n.start)/n.duration,a=n.easing(i+.01)-n.easing(i),o=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-o*o);r=t.bezier(o,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:r},r},li.prototype.reset=function(){this._active=!1};var ci=function(t,e){this._clickZoom=t,this._tapZoom=e};ci.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},ci.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},ci.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},ci.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ui=function(){this.reset()};ui.prototype.reset=function(){this._active=!1},ui.prototype.dblclick=function(t,e){return t.preventDefault(),{cameraAnimation:function(r){r.easeTo({duration:300,zoom:r.getZoom()+(t.shiftKey?-1:1),around:r.unproject(e)},{originalEvent:t})}}},ui.prototype.enable=function(){this._enabled=!0},ui.prototype.disable=function(){this._enabled=!1,this.reset()},ui.prototype.isEnabled=function(){return this._enabled},ui.prototype.isActive=function(){return this._active};var fi=function(){this._tap=new qn({numTouches:1,numTaps:1}),this.reset()};fi.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},fi.prototype.touchstart=function(t,e,r){this._swipePoint||(this._tapTime&&t.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?r.length>0&&(this._swipePoint=e[0],this._swipeTouch=r[0].identifier):this._tap.touchstart(t,e,r))},fi.prototype.touchmove=function(t,e,r){if(this._tapTime){if(this._swipePoint){if(r[0].identifier!==this._swipeTouch)return;var n=e[0],i=n.y-this._swipePoint.y;return this._swipePoint=n,t.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(t,e,r)},fi.prototype.touchend=function(t,e,r){this._tapTime?this._swipePoint&&0===r.length&&this.reset():this._tap.touchend(t,e,r)&&(this._tapTime=t.timeStamp)},fi.prototype.touchcancel=function(){this.reset()},fi.prototype.enable=function(){this._enabled=!0},fi.prototype.disable=function(){this._enabled=!1,this.reset()},fi.prototype.isEnabled=function(){return this._enabled},fi.prototype.isActive=function(){return this._active};var hi=function(t,e,r){this._el=t,this._mousePan=e,this._touchPan=r};hi.prototype.enable=function(t){this._inertiaOptions=t||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},hi.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},hi.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},hi.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var pi=function(t,e,r){this._pitchWithRotate=t.pitchWithRotate,this._mouseRotate=e,this._mousePitch=r};pi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},pi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},pi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},pi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var di=function(t,e,r,n){this._el=t,this._touchZoom=e,this._touchRotate=r,this._tapDragZoom=n,this._rotationDisabled=!1,this._enabled=!0};di.prototype.enable=function(t){this._touchZoom.enable(t),this._rotationDisabled||this._touchRotate.enable(t),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},di.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},di.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},di.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},di.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},di.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var gi=function(t){return t.zoom||t.drag||t.pitch||t.rotate},mi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(t.Event);function vi(t){return t.panDelta&&t.panDelta.mag()||t.zoomDelta||t.bearingDelta||t.pitchDelta}var yi=function(e,n){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new On(e),this._bearingSnap=n.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(n),t.bindAll(["handleEvent","handleWindowEvent"],this);var i=this._el;this._listeners=[[i,"touchstart",{passive:!1}],[i,"touchmove",{passive:!1}],[i,"touchend",void 0],[i,"touchcancel",void 0],[i,"mousedown",void 0],[i,"mousemove",void 0],[i,"mouseup",void 0],[t.window.document,"mousemove",{capture:!0}],[t.window.document,"mouseup",void 0],[i,"mouseover",void 0],[i,"mouseout",void 0],[i,"dblclick",void 0],[i,"click",void 0],[i,"keydown",{capture:!1}],[i,"keyup",void 0],[i,"wheel",{passive:!1}],[i,"contextmenu",void 0],[t.window,"blur",void 0]];for(var a=0,o=this._listeners;a<o.length;a+=1){var s=o[a],l=s[0],c=s[1],u=s[2];r.addEventListener(l,c,l===t.window.document?this.handleWindowEvent:this.handleEvent,u)}};yi.prototype.destroy=function(){for(var e=0,n=this._listeners;e<n.length;e+=1){var i=n[e],a=i[0],o=i[1],s=i[2];r.removeEventListener(a,o,a===t.window.document?this.handleWindowEvent:this.handleEvent,s)}},yi.prototype._addDefaultHandlers=function(t){var e=this._map,r=e.getCanvasContainer();this._add("mapEvent",new Nn(e,t));var n=e.boxZoom=new Un(e,t);this._add("boxZoom",n);var i=new Gn,a=new ui;e.doubleClickZoom=new ci(a,i),this._add("tapZoom",i),this._add("clickZoom",a);var o=new fi;this._add("tapDragZoom",o);var s=e.touchPitch=new ii;this._add("touchPitch",s);var l=new Xn(t),c=new Zn(t);e.dragRotate=new pi(t,l,c),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",c,["mouseRotate"]);var u=new Wn(t),f=new Jn(t);e.dragPan=new hi(r,u,f),this._add("mousePan",u),this._add("touchPan",f,["touchZoom","touchRotate"]);var h=new ri,p=new ti;e.touchZoomRotate=new di(r,p,h,o),this._add("touchRotate",h,["touchPan","touchZoom"]),this._add("touchZoom",p,["touchPan","touchRotate"]);var d=e.scrollZoom=new li(e,this);this._add("scrollZoom",d,["mousePan"]);var g=e.keyboard=new oi;this._add("keyboard",g),this._add("blockableMapEvent",new jn(e));for(var m=0,v=["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"];m<v.length;m+=1){var y=v[m];t.interactive&&t[y]&&e[y].enable(t[y])}},yi.prototype._add=function(t,e,r){this._handlers.push({handlerName:t,handler:e,allowed:r}),this._handlersById[t]=e},yi.prototype.stop=function(){if(!this._updatingCamera){for(var t=0,e=this._handlers;t<e.length;t+=1){e[t].handler.reset()}this._inertia.clear(),this._fireEvents({},{}),this._changes=[]}},yi.prototype.isActive=function(){for(var t=0,e=this._handlers;t<e.length;t+=1){if(e[t].handler.isActive())return!0}return!1},yi.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},yi.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},yi.prototype.isMoving=function(){return Boolean(gi(this._eventsInProgress))||this.isZooming()},yi.prototype._blockedByActive=function(t,e,r){for(var n in t)if(n!==r&&(!e||e.indexOf(n)<0))return!0;return!1},yi.prototype.handleWindowEvent=function(t){this.handleEvent(t,t.type+"Window")},yi.prototype._getMapTouches=function(t){for(var e=[],r=0,n=t;r<n.length;r+=1){var i=n[r],a=i.target;this._el.contains(a)&&e.push(i)}return e},yi.prototype.handleEvent=function(t,e){if("blur"!==t.type){this._updatingCamera=!0;for(var n="renderFrame"===t.type?void 0:t,i={needsRenderFrame:!1},a={},o={},s=t.touches?this._getMapTouches(t.touches):void 0,l=s?r.touchPos(this._el,s):r.mousePos(this._el,t),c=0,u=this._handlers;c<u.length;c+=1){var f=u[c],h=f.handlerName,p=f.handler,d=f.allowed;if(p.isEnabled()){var g=void 0;this._blockedByActive(o,d,h)?p.reset():p[e||t.type]&&(g=p[e||t.type](t,l,s),this.mergeHandlerResult(i,a,g,h,n),g&&g.needsRenderFrame&&this._triggerRenderFrame()),(g||p.isActive())&&(o[h]=p)}}var m={};for(var v in this._previousActiveHandlers)o[v]||(m[v]=n);this._previousActiveHandlers=o,(Object.keys(m).length||vi(i))&&(this._changes.push([i,a,m]),this._triggerRenderFrame()),(Object.keys(o).length||vi(i))&&this._map._stop(!0),this._updatingCamera=!1;var y=i.cameraAnimation;y&&(this._inertia.clear(),this._fireEvents({},{}),this._changes=[],y(this._map))}else this.stop()},yi.prototype.mergeHandlerResult=function(e,r,n,i,a){if(n){t.extend(e,n);var o={handlerName:i,originalEvent:n.originalEvent||a};void 0!==n.zoomDelta&&(r.zoom=o),void 0!==n.panDelta&&(r.drag=o),void 0!==n.pitchDelta&&(r.pitch=o),void 0!==n.bearingDelta&&(r.rotate=o)}},yi.prototype._applyChanges=function(){for(var e={},r={},n={},i=0,a=this._changes;i<a.length;i+=1){var o=a[i],s=o[0],l=o[1],c=o[2];s.panDelta&&(e.panDelta=(e.panDelta||new t.Point(0,0))._add(s.panDelta)),s.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+s.zoomDelta),s.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+s.bearingDelta),s.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+s.pitchDelta),void 0!==s.around&&(e.around=s.around),void 0!==s.pinchAround&&(e.pinchAround=s.pinchAround),s.noInertia&&(e.noInertia=s.noInertia),t.extend(r,l),t.extend(n,c)}this._updateMapTransform(e,r,n),this._changes=[]},yi.prototype._updateMapTransform=function(t,e,r){var n=this._map,i=n.transform;if(!vi(t))return this._fireEvents(e,r);var a=t.panDelta,o=t.zoomDelta,s=t.bearingDelta,l=t.pitchDelta,c=t.around,u=t.pinchAround;void 0!==u&&(c=u),n._stop(!0),c=c||n.transform.centerPoint;var f=i.pointLocation(a?c.sub(a):c);s&&(i.bearing+=s),l&&(i.pitch+=l),o&&(i.zoom+=o),i.setLocationAtPoint(f,c),this._map._update(),t.noInertia||this._inertia.record(t),this._fireEvents(e,r)},yi.prototype._fireEvents=function(e,r){var n=this,i=gi(this._eventsInProgress),a=gi(e),o={};for(var s in e){var l=e[s].originalEvent;this._eventsInProgress[s]||(o[s+"start"]=l),this._eventsInProgress[s]=e[s]}for(var c in!i&&a&&this._fireEvent("movestart",a.originalEvent),o)this._fireEvent(c,o[c]);for(var u in e.rotate&&(this._bearingChanged=!0),a&&this._fireEvent("move",a.originalEvent),e){var f=e[u].originalEvent;this._fireEvent(u,f)}var h,p={};for(var d in this._eventsInProgress){var g=this._eventsInProgress[d],m=g.handlerName,v=g.originalEvent;this._handlersById[m].isActive()||(delete this._eventsInProgress[d],h=r[m]||v,p[d+"end"]=h)}for(var y in p)this._fireEvent(y,p[y]);var x=gi(this._eventsInProgress);if((i||a)&&!x){this._updatingCamera=!0;var b=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),_=function(t){return 0!==t&&-n._bearingSnap<t&&t<n._bearingSnap};b?(_(b.bearing||this._map.getBearing())&&(b.bearing=0),this._map.easeTo(b,{originalEvent:h})):(this._map.fire(new t.Event("moveend",{originalEvent:h})),_(this._map.getBearing())&&this._map.resetNorth()),this._bearingChanged=!1,this._updatingCamera=!1}},yi.prototype._fireEvent=function(e,r){this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},yi.prototype._triggerRenderFrame=function(){var t=this;void 0===this._frameId&&(this._frameId=this._map._requestRenderFrame((function(e){delete t._frameId,t.handleEvent(new mi("renderFrame",{timeStamp:e})),t._applyChanges()})))};var xi=function(e){function r(r,n){e.call(this),this._moving=!1,this._zooming=!1,this.transform=r,this._bearingSnap=n.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},r.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},r.prototype.panBy=function(e,r,n){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},r),n)},r.prototype.panTo=function(e,r,n){return this.easeTo(t.extend({center:e},r),n)},r.prototype.getZoom=function(){return this.transform.zoom},r.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},r.prototype.zoomTo=function(e,r,n){return this.easeTo(t.extend({zoom:e},r),n)},r.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},r.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},r.prototype.getBearing=function(){return this.transform.bearing},r.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},r.prototype.getPadding=function(){return this.transform.padding},r.prototype.setPadding=function(t,e){return this.jumpTo({padding:t},e),this},r.prototype.rotateTo=function(e,r,n){return this.easeTo(t.extend({bearing:e},r),n)},r.prototype.resetNorth=function(e,r){return this.rotateTo(0,t.extend({duration:1e3},e),r),this},r.prototype.resetNorthPitch=function(e,r){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),r),this},r.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},r.prototype.getPitch=function(){return this.transform.pitch},r.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},r.prototype.cameraForBounds=function(e,r){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,r)},r.prototype._cameraForBoxAndBearing=function(e,r,n,i){var a={top:0,bottom:0,right:0,left:0};if("number"==typeof(i=t.extend({padding:a,offset:[0,0],maxZoom:this.transform.maxZoom},i)).padding){var o=i.padding;i.padding={top:o,bottom:o,right:o,left:o}}i.padding=t.extend(a,i.padding);var s=this.transform,l=s.padding,c=s.project(t.LngLat.convert(e)),u=s.project(t.LngLat.convert(r)),f=c.rotate(-n*Math.PI/180),h=u.rotate(-n*Math.PI/180),p=new t.Point(Math.max(f.x,h.x),Math.max(f.y,h.y)),d=new t.Point(Math.min(f.x,h.x),Math.min(f.y,h.y)),g=p.sub(d),m=(s.width-(l.left+l.right+i.padding.left+i.padding.right))/g.x,v=(s.height-(l.top+l.bottom+i.padding.top+i.padding.bottom))/g.y;if(!(v<0||m<0)){var y=Math.min(s.scaleZoom(s.scale*Math.min(m,v)),i.maxZoom),x=t.Point.convert(i.offset),b=(i.padding.left-i.padding.right)/2,_=(i.padding.top-i.padding.bottom)/2,w=new t.Point(x.x+b,x.y+_).mult(s.scale/s.zoomScale(y));return{center:s.unproject(c.add(u).div(2).sub(w)),zoom:y,bearing:n}}t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")},r.prototype.fitBounds=function(t,e,r){return this._fitInternal(this.cameraForBounds(t,e),e,r)},r.prototype.fitScreenCoordinates=function(e,r,n,i,a){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(r)),n,i),i,a)},r.prototype._fitInternal=function(e,r,n){return e?(delete(r=t.extend(e,r)).padding,r.linear?this.easeTo(r,n):this.flyTo(r,n)):this},r.prototype.jumpTo=function(e,r){this.stop();var n=this.transform,i=!1,a=!1,o=!1;return"zoom"in e&&n.zoom!==+e.zoom&&(i=!0,n.zoom=+e.zoom),void 0!==e.center&&(n.center=t.LngLat.convert(e.center)),"bearing"in e&&n.bearing!==+e.bearing&&(a=!0,n.bearing=+e.bearing),"pitch"in e&&n.pitch!==+e.pitch&&(o=!0,n.pitch=+e.pitch),null==e.padding||n.isPaddingEqual(e.padding)||(n.padding=e.padding),this.fire(new t.Event("movestart",r)).fire(new t.Event("move",r)),i&&this.fire(new t.Event("zoomstart",r)).fire(new t.Event("zoom",r)).fire(new t.Event("zoomend",r)),a&&this.fire(new t.Event("rotatestart",r)).fire(new t.Event("rotate",r)).fire(new t.Event("rotateend",r)),o&&this.fire(new t.Event("pitchstart",r)).fire(new t.Event("pitch",r)).fire(new t.Event("pitchend",r)),this.fire(new t.Event("moveend",r))},r.prototype.easeTo=function(e,r){var n=this;this._stop(!1,e.easeId),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.browser.prefersReducedMotion)&&(e.duration=0);var i=this.transform,a=this.getZoom(),o=this.getBearing(),s=this.getPitch(),l=this.getPadding(),c="zoom"in e?+e.zoom:a,u="bearing"in e?this._normalizeBearing(e.bearing,o):o,f="pitch"in e?+e.pitch:s,h="padding"in e?e.padding:i.padding,p=t.Point.convert(e.offset),d=i.centerPoint.add(p),g=i.pointLocation(d),m=t.LngLat.convert(e.center||g);this._normalizeCenter(m);var v,y,x=i.project(g),b=i.project(m).sub(x),_=i.zoomScale(c-a);e.around&&(v=t.LngLat.convert(e.around),y=i.locationPoint(v));var w={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||c!==a,this._rotating=this._rotating||o!==u,this._pitching=this._pitching||f!==s,this._padding=!i.isPaddingEqual(h),this._easeId=e.easeId,this._prepareEase(r,e.noMoveStart,w),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(n._zooming&&(i.zoom=t.number(a,c,e)),n._rotating&&(i.bearing=t.number(o,u,e)),n._pitching&&(i.pitch=t.number(s,f,e)),n._padding&&(i.interpolatePadding(l,h,e),d=i.centerPoint.add(p)),v)i.setLocationAtPoint(v,y);else{var g=i.zoomScale(i.zoom-a),m=c>a?Math.min(2,_):Math.max(.5,_),w=Math.pow(m,1-e),T=i.unproject(x.add(b.mult(e*w)).mult(g));i.setLocationAtPoint(i.renderWorldCopies?T.wrap():T,d)}n._fireMoveEvents(r)}),(function(t){n._afterEase(r,t)}),e),this},r.prototype._prepareEase=function(e,r,n){void 0===n&&(n={}),this._moving=!0,r||n.moving||this.fire(new t.Event("movestart",e)),this._zooming&&!n.zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&!n.rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&!n.pitching&&this.fire(new t.Event("pitchstart",e))},r.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))},r.prototype._afterEase=function(e,r){if(!this._easeId||!r||this._easeId!==r){delete this._easeId;var n=this._zooming,i=this._rotating,a=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,n&&this.fire(new t.Event("zoomend",e)),i&&this.fire(new t.Event("rotateend",e)),a&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))}},r.prototype.flyTo=function(e,r){var n=this;if(!e.essential&&t.browser.prefersReducedMotion){var i=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(i,r)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var a=this.transform,o=this.getZoom(),s=this.getBearing(),l=this.getPitch(),c=this.getPadding(),u="zoom"in e?t.clamp(+e.zoom,a.minZoom,a.maxZoom):o,f="bearing"in e?this._normalizeBearing(e.bearing,s):s,h="pitch"in e?+e.pitch:l,p="padding"in e?e.padding:a.padding,d=a.zoomScale(u-o),g=t.Point.convert(e.offset),m=a.centerPoint.add(g),v=a.pointLocation(m),y=t.LngLat.convert(e.center||v);this._normalizeCenter(y);var x=a.project(v),b=a.project(y).sub(x),_=e.curve,w=Math.max(a.width,a.height),T=w/d,k=b.mag();if("minZoom"in e){var A=t.clamp(Math.min(e.minZoom,o,u),a.minZoom,a.maxZoom),M=w/a.zoomScale(A-o);_=Math.sqrt(M/k*2)}var S=_*_;function E(t){var e=(T*T-w*w+(t?-1:1)*S*S*k*k)/(2*(t?T:w)*S*k);return Math.log(Math.sqrt(e*e+1)-e)}function L(t){return(Math.exp(t)-Math.exp(-t))/2}function C(t){return(Math.exp(t)+Math.exp(-t))/2}var P=E(0),I=function(t){return C(P)/C(P+_*t)},O=function(t){return w*((C(P)*(L(e=P+_*t)/C(e))-L(P))/S)/k;var e},z=(E(1)-P)/_;if(Math.abs(k)<1e-6||!isFinite(z)){if(Math.abs(w-T)<1e-6)return this.easeTo(e,r);var D=T<w?-1:1;z=Math.abs(Math.log(T/w))/_,O=function(){return 0},I=function(t){return Math.exp(D*_*t)}}if("duration"in e)e.duration=+e.duration;else{var R="screenSpeed"in e?+e.screenSpeed/_:+e.speed;e.duration=1e3*z/R}return e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==f,this._pitching=h!==l,this._padding=!a.isPaddingEqual(p),this._prepareEase(r,!1),this._ease((function(e){var i=e*z,d=1/I(i);a.zoom=1===e?u:o+a.scaleZoom(d),n._rotating&&(a.bearing=t.number(s,f,e)),n._pitching&&(a.pitch=t.number(l,h,e)),n._padding&&(a.interpolatePadding(c,p,e),m=a.centerPoint.add(g));var v=1===e?y:a.unproject(x.add(b.mult(O(i))).mult(d));a.setLocationAtPoint(a.renderWorldCopies?v.wrap():v,m),n._fireMoveEvents(r)}),(function(){return n._afterEase(r)}),e),this},r.prototype.isEasing=function(){return!!this._easeFrameId},r.prototype.stop=function(){return this._stop()},r.prototype._stop=function(t,e){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var r=this._onEaseEnd;delete this._onEaseEnd,r.call(this,e)}if(!t){var n=this.handlers;n&&n.stop()}return this},r.prototype._ease=function(e,r,n){!1===n.animate||0===n.duration?(e(1),r()):(this._easeStart=t.browser.now(),this._easeOptions=n,this._onEaseFrame=e,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},r.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},r.prototype._normalizeBearing=function(e,r){e=t.wrap(e,-180,180);var n=Math.abs(e-r);return Math.abs(e-360-r)<n&&(e-=360),Math.abs(e+360-r)<n&&(e+=360),e},r.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var r=t.lng-e.center.lng;t.lng+=r>180?-360:r<-180?360:0}},r}(t.Evented),bi=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};bi.prototype.getDefaultPosition=function(){return"bottom-right"},bi.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},bi.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},bi.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var n=r.reduce((function(t,e,n){return e.value&&(t+=e.key+"="+e.value+(n<r.length-1?"&":"")),t}),"?");e.href=t.config.FEEDBACK_URL+"/"+n+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener nofollow"}},bi.prototype._updateData=function(t){!t||"metadata"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink())},bi.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return"string"!=typeof t?"":t}))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var r=this._map.style.sourceCaches;for(var n in r){var i=r[n];if(i.used){var a=i.getSource();a.attribution&&t.indexOf(a.attribution)<0&&t.push(a.attribution)}}t.sort((function(t,e){return t.length-e.length}));var o=(t=t.filter((function(e,r){for(var n=r+1;n<t.length;n++)if(t[n].indexOf(e)>=0)return!1;return!0}))).join(" | ");o!==this._attribHTML&&(this._attribHTML=o,t.length?(this._innerContainer.innerHTML=o,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},bi.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _i=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this)};_i.prototype.onAdd=function(t){this._map=t,this._container=r.create("div","mapboxgl-ctrl");var e=r.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://www.mapbox.com/",e.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_i.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_i.prototype.getDefaultPosition=function(){return"bottom-left"},_i.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},_i.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t){if(t[e].getSource().mapbox_logo)return!0}return!1}},_i.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}};var wi=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};wi.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},wi.prototype.remove=function(t){for(var e=this._currentlyRunning,r=0,n=e?this._queue.concat(e):this._queue;r<n.length;r+=1){var i=n[r];if(i.id===t)return void(i.cancelled=!0)}},wi.prototype.run=function(t){void 0===t&&(t=0);var e=this._currentlyRunning=this._queue;this._queue=[];for(var r=0,n=e;r<n.length;r+=1){var i=n[r];if(!i.cancelled&&(i.callback(t),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},wi.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var Ti={"FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},ki=t.window.HTMLImageElement,Ai=t.window.HTMLElement,Mi=t.window.ImageBitmap,Si={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Ei=function(n){function i(e){var r=this;if(null!=(e=t.extend({},Si,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var i=new An(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(n.call(this,i,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new wi,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},Ti,e.locale),this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Ai))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return r._update(!1)})),this.on("moveend",(function(){return r._update(!1)})),this.on("zoom",(function(){return r._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new yi(this,e);var a="string"==typeof e.hash&&e.hash||void 0;this._hash=e.hash&&new Sn(a).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new bi({customAttribution:e.customAttribution})),this.addControl(new _i,e.logoPosition),this.on("style.load",(function(){r.transform.unmodified&&r.jumpTo(r.style.stylesheet)})),this.on("data",(function(e){r._update("style"===e.dataType),r.fire(new t.Event(e.dataType+"data",e))})),this.on("dataloading",(function(e){r.fire(new t.Event(e.dataType+"dataloading",e))}))}n&&(i.__proto__=n),i.prototype=Object.create(n&&n.prototype),i.prototype.constructor=i;var a={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return i.prototype._getMapId=function(){return this._mapId},i.prototype.addControl=function(e,r){if(void 0===r&&e.getDefaultPosition&&(r=e.getDefaultPosition()),void 0===r&&(r="top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var n=e.onAdd(this);this._controls.push(e);var i=this._controlPositions[r];return-1!==r.indexOf("bottom")?i.insertBefore(n,i.firstChild):i.appendChild(n),this},i.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var r=this._controls.indexOf(e);return r>-1&&this._controls.splice(r,1),e.onRemove(this),this},i.prototype.resize=function(e){var r=this._containerDimensions(),n=r[0],i=r[1];this._resizeCanvas(n,i),this.transform.resize(n,i),this.painter.resize(n,i);var a=!this._moving;return a&&(this.stop(),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e))),this.fire(new t.Event("resize",e)),a&&this.fire(new t.Event("moveend",e)),this},i.prototype.getBounds=function(){return this.transform.getBounds()},i.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},i.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},i.prototype.setMinZoom=function(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},i.prototype.getMinZoom=function(){return this.transform.minZoom},i.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},i.prototype.getMaxZoom=function(){return this.transform.maxZoom},i.prototype.setMinPitch=function(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t&&this.setPitch(t),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},i.prototype.getMinPitch=function(){return this.transform.minPitch},i.prototype.setMaxPitch=function(t){if((t=null==t?60:t)>60)throw new Error("maxPitch must be less than or equal to 60");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error("maxPitch must be greater than the current minPitch")},i.prototype.getMaxPitch=function(){return this.transform.maxPitch},i.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},i.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},i.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},i.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},i.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},i.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},i.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},i.prototype._createDelegatedListener=function(t,e,r){var n,i=this;if("mouseenter"===t||"mouseover"===t){var a=!1;return{layer:e,listener:r,delegates:{mousemove:function(n){var o=i.getLayer(e)?i.queryRenderedFeatures(n.point,{layers:[e]}):[];o.length?a||(a=!0,r.call(i,new Rn(t,i,n.originalEvent,{features:o}))):a=!1},mouseout:function(){a=!1}}}}if("mouseleave"===t||"mouseout"===t){var o=!1;return{layer:e,listener:r,delegates:{mousemove:function(n){(i.getLayer(e)?i.queryRenderedFeatures(n.point,{layers:[e]}):[]).length?o=!0:o&&(o=!1,r.call(i,new Rn(t,i,n.originalEvent)))},mouseout:function(e){o&&(o=!1,r.call(i,new Rn(t,i,e.originalEvent)))}}}}return{layer:e,listener:r,delegates:(n={},n[t]=function(t){var n=i.getLayer(e)?i.queryRenderedFeatures(t.point,{layers:[e]}):[];n.length&&(t.features=n,r.call(i,t),delete t.features)},n)}},i.prototype.on=function(t,e,r){if(void 0===r)return n.prototype.on.call(this,t,e);var i=this._createDelegatedListener(t,e,r);for(var a in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(i),i.delegates)this.on(a,i.delegates[a]);return this},i.prototype.once=function(t,e,r){if(void 0===r)return n.prototype.once.call(this,t,e);var i=this._createDelegatedListener(t,e,r);for(var a in i.delegates)this.once(a,i.delegates[a]);return this},i.prototype.off=function(t,e,r){var i=this;if(void 0===r)return n.prototype.off.call(this,t,e);return this._delegatedListeners&&this._delegatedListeners[t]&&function(n){for(var a=n[t],o=0;o<a.length;o++){var s=a[o];if(s.layer===e&&s.listener===r){for(var l in s.delegates)i.off(l,s.delegates[l]);return a.splice(o,1),i}}}(this._delegatedListeners),this},i.prototype.queryRenderedFeatures=function(e,r){if(!this.style)return[];var n;if(void 0!==r||void 0===e||e instanceof t.Point||Array.isArray(e)||(r=e,e=void 0),r=r||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||"number"==typeof e[0])n=[t.Point.convert(e)];else{var i=t.Point.convert(e[0]),a=t.Point.convert(e[1]);n=[i,new t.Point(a.x,i.y),a,new t.Point(i.x,a.y),i]}return this.style.queryRenderedFeatures(n,r,this.transform)},i.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},i.prototype.setStyle=function(e,r){return!1!==(r=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._updateStyle(e,r))},i.prototype._getUIString=function(t){var e=this._locale[t];if(null==e)throw new Error("Missing UI string '"+t+"'");return e},i.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new qe(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},i.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new qe(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},i.prototype._diffStyle=function(e,r){var n=this;if("string"==typeof e){var i=this._requestManager.normalizeStyleURL(e),a=this._requestManager.transformRequest(i,t.ResourceType.Style);t.getJSON(a,(function(e,i){e?n.fire(new t.ErrorEvent(e)):i&&n._updateDiff(i,r)}))}else"object"==typeof e&&this._updateDiff(e,r)},i.prototype._updateDiff=function(e,r){try{this.style.setState(e)&&this._update(!0)}catch(n){t.warnOnce("Unable to perform style diff: "+(n.message||n.error||n)+".  Rebuilding the style from scratch."),this._updateStyle(e,r)}},i.prototype.getStyle=function(){if(this.style)return this.style.serialize()},i.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")},i.prototype.addSource=function(t,e){return this._lazyInitEmptyStyle(),this.style.addSource(t,e),this._update(!0)},i.prototype.isSourceLoaded=function(e){var r=this.style&&this.style.sourceCaches[e];if(void 0!==r)return r.loaded();this.fire(new t.ErrorEvent(new Error("There is no source with ID '"+e+"'")))},i.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var r=t[e]._tiles;for(var n in r){var i=r[n];if("loaded"!==i.state&&"errored"!==i.state)return!1}}return!0},i.prototype.addSourceType=function(t,e,r){return this._lazyInitEmptyStyle(),this.style.addSourceType(t,e,r)},i.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},i.prototype.getSource=function(t){return this.style.getSource(t)},i.prototype.addImage=function(e,r,n){void 0===n&&(n={});var i=n.pixelRatio;void 0===i&&(i=1);var a=n.sdf;void 0===a&&(a=!1);var o=n.stretchX,s=n.stretchY,l=n.content;this._lazyInitEmptyStyle();if(r instanceof ki||Mi&&r instanceof Mi){var c=t.browser.getImageData(r),u=c.width,f=c.height,h=c.data;this.style.addImage(e,{data:new t.RGBAImage({width:u,height:f},h),pixelRatio:i,stretchX:o,stretchY:s,content:l,sdf:a,version:0})}else{if(void 0===r.width||void 0===r.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var p=r.width,d=r.height,g=r.data,m=r;this.style.addImage(e,{data:new t.RGBAImage({width:p,height:d},new Uint8Array(g)),pixelRatio:i,stretchX:o,stretchY:s,content:l,sdf:a,version:0,userImage:m}),m.onAdd&&m.onAdd(this,e)}},i.prototype.updateImage=function(e,r){var n=this.style.getImage(e);if(!n)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var i=r instanceof ki||Mi&&r instanceof Mi?t.browser.getImageData(r):r,a=i.width,o=i.height,s=i.data;if(void 0===a||void 0===o)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(a!==n.data.width||o!==n.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var l=!(r instanceof ki||Mi&&r instanceof Mi);n.data.replace(s,l),this.style.updateImage(e,n)},i.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)},i.prototype.removeImage=function(t){this.style.removeImage(t)},i.prototype.loadImage=function(e,r){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),r)},i.prototype.listImages=function(){return this.style.listImages()},i.prototype.addLayer=function(t,e){return this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)},i.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},i.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},i.prototype.getLayer=function(t){return this.style.getLayer(t)},i.prototype.setLayerZoomRange=function(t,e,r){return this.style.setLayerZoomRange(t,e,r),this._update(!0)},i.prototype.setFilter=function(t,e,r){return void 0===r&&(r={}),this.style.setFilter(t,e,r),this._update(!0)},i.prototype.getFilter=function(t){return this.style.getFilter(t)},i.prototype.setPaintProperty=function(t,e,r,n){return void 0===n&&(n={}),this.style.setPaintProperty(t,e,r,n),this._update(!0)},i.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},i.prototype.setLayoutProperty=function(t,e,r,n){return void 0===n&&(n={}),this.style.setLayoutProperty(t,e,r,n),this._update(!0)},i.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},i.prototype.setLight=function(t,e){return void 0===e&&(e={}),this._lazyInitEmptyStyle(),this.style.setLight(t,e),this._update(!0)},i.prototype.getLight=function(){return this.style.getLight()},i.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},i.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},i.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},i.prototype.getContainer=function(){return this._container},i.prototype.getCanvasContainer=function(){return this._canvasContainer},i.prototype.getCanvas=function(){return this._canvas},i.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},i.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&t.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},i.prototype._setupContainer=function(){var t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=r.create("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();var e=this._canvasContainer=r.create("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=r.create("canvas","mapboxgl-canvas",e),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var n=this._containerDimensions();this._resizeCanvas(n[0],n[1]);var i=this._controlContainer=r.create("div","mapboxgl-control-container",t),a=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(t){a[t]=r.create("div","mapboxgl-ctrl-"+t,i)}))},i.prototype._resizeCanvas=function(e,r){var n=t.browser.devicePixelRatio||1;this._canvas.width=n*e,this._canvas.height=n*r,this._canvas.style.width=e+"px",this._canvas.style.height=r+"px"},i.prototype._setupPainter=function(){var r=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),n=this._canvas.getContext("webgl",r)||this._canvas.getContext("experimental-webgl",r);n?(this.painter=new _n(n,this.transform),t.webpSupported.testSupport(n)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))},i.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))},i.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))},i.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},i.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},i.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},i.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t)},i.prototype._render=function(e){var r,n=this,i=0,a=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(r=a.createQueryEXT(),a.beginQueryEXT(a.TIME_ELAPSED_EXT,r),i=t.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),!this._removed){var o=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var s=this.transform.zoom,l=t.browser.now();this.style.zoomHistory.update(s,l);var c=new t.EvaluationParameters(s,{now:l,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),u=c.crossFadingFactor();1===u&&u===this._crossFadingFactor||(o=!0,this._crossFadingFactor=u),this.style.update(c)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||o)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var f=t.browser.now()-i;a.endQueryEXT(a.TIME_ELAPSED_EXT,r),setTimeout((function(){var e=a.getQueryObjectEXT(r,a.QUERY_RESULT_EXT)/1e6;a.deleteQueryEXT(r),n.fire(new t.Event("gpu-timing-frame",{cpuTime:f,gpuTime:e}))}),50)}if(this.listens("gpu-timing-layer")){var h=this.painter.collectGpuTimers();setTimeout((function(){var e=n.painter.queryGpuTimers(h);n.fire(new t.Event("gpu-timing-layer",{layerTimes:e}))}),50)}return this._sourcesDirty||this._styleDirty||this._placementDirty||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&(this._fullyLoaded||(this._fullyLoaded=!0),this.fire(new t.Event("idle"))),this}},i.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,r=this._controls;e<r.length;e+=1){r[e].onRemove(this)}this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));var n=this.painter.context.gl.getExtension("WEBGL_lose_context");n&&n.loseContext(),Li(this._canvasContainer),Li(this._controlContainer),Li(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this._removed=!0,this.fire(new t.Event("remove"))},i.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(t){e._frame=null,e._render(t)})))},i.prototype._onWindowOnline=function(){this._update()},i.prototype._onWindowResize=function(t){this._trackResize&&this.resize({originalEvent:t})._update()},a.showTileBoundaries.get=function(){return!!this._showTileBoundaries},a.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())},a.showPadding.get=function(){return!!this._showPadding},a.showPadding.set=function(t){this._showPadding!==t&&(this._showPadding=t,this._update())},a.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},a.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())},a.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},a.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())},a.repaint.get=function(){return!!this._repaint},a.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())},a.vertices.get=function(){return!!this._vertices},a.vertices.set=function(t){this._vertices=t,this._update()},i.prototype._setCacheLimits=function(e,r){t.setCacheLimits(e,r)},a.version.get=function(){return t.version},Object.defineProperties(i.prototype,a),i}(xi);function Li(t){t.parentNode&&t.parentNode.removeChild(t)}var Ci={showCompass:!0,showZoom:!0,visualizePitch:!1},Pi=function(e){var n=this;this.options=t.extend({},Ci,e),this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(function(t){return n._map.zoomIn({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(function(t){return n._map.zoomOut({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(function(t){n.options.visualizePitch?n._map.resetNorthPitch({},{originalEvent:t}):n._map.resetNorth({},{originalEvent:t})})),this._compassIcon=r.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};Pi.prototype._updateZoomButtons=function(){var t=this._map.getZoom();this._zoomInButton.disabled=t===this._map.getMaxZoom(),this._zoomOutButton.disabled=t===this._map.getMinZoom()},Pi.prototype._rotateCompassArrow=function(){var t=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=t},Pi.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new Ii(this._map,this._compass,this.options.visualizePitch)),this._container},Pi.prototype.onRemove=function(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},Pi.prototype._createButton=function(t,e){var n=r.create("button",t,this._container);return n.type="button",n.addEventListener("click",e),n},Pi.prototype._setButtonTitle=function(t,e){var r=this._map._getUIString("NavigationControl."+e);t.title=r,t.setAttribute("aria-label",r)};var Ii=function(e,n,i){void 0===i&&(i=!1),this._clickTolerance=10,this.element=n,this.mouseRotate=new Xn({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,i&&(this.mousePitch=new Zn({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),t.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),r.addEventListener(n,"mousedown",this.mousedown),r.addEventListener(n,"touchstart",this.touchstart,{passive:!1}),r.addEventListener(n,"touchmove",this.touchmove),r.addEventListener(n,"touchend",this.touchend),r.addEventListener(n,"touchcancel",this.reset)};function Oi(e,r,n){if(e=new t.LngLat(e.lng,e.lat),r){var i=new t.LngLat(e.lng-360,e.lat),a=new t.LngLat(e.lng+360,e.lat),o=n.locationPoint(e).distSqr(r);n.locationPoint(i).distSqr(r)<o?e=i:n.locationPoint(a).distSqr(r)<o&&(e=a)}for(;Math.abs(e.lng-n.center.lng)>180;){var s=n.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=n.width&&s.y<=n.height)break;e.lng>n.center.lng?e.lng-=360:e.lng+=360}return e}Ii.prototype.down=function(t,e){this.mouseRotate.mousedown(t,e),this.mousePitch&&this.mousePitch.mousedown(t,e),r.disableDrag()},Ii.prototype.move=function(t,e){var r=this.map,n=this.mouseRotate.mousemoveWindow(t,e);if(n&&n.bearingDelta&&r.setBearing(r.getBearing()+n.bearingDelta),this.mousePitch){var i=this.mousePitch.mousemoveWindow(t,e);i&&i.pitchDelta&&r.setPitch(r.getPitch()+i.pitchDelta)}},Ii.prototype.off=function(){var t=this.element;r.removeEventListener(t,"mousedown",this.mousedown),r.removeEventListener(t,"touchstart",this.touchstart,{passive:!1}),r.removeEventListener(t,"touchmove",this.touchmove),r.removeEventListener(t,"touchend",this.touchend),r.removeEventListener(t,"touchcancel",this.reset),this.offTemp()},Ii.prototype.offTemp=function(){r.enableDrag(),r.removeEventListener(t.window,"mousemove",this.mousemove),r.removeEventListener(t.window,"mouseup",this.mouseup)},Ii.prototype.mousedown=function(e){this.down(t.extend({},e,{ctrlKey:!0,preventDefault:function(){return e.preventDefault()}}),r.mousePos(this.element,e)),r.addEventListener(t.window,"mousemove",this.mousemove),r.addEventListener(t.window,"mouseup",this.mouseup)},Ii.prototype.mousemove=function(t){this.move(t,r.mousePos(this.element,t))},Ii.prototype.mouseup=function(t){this.mouseRotate.mouseupWindow(t),this.mousePitch&&this.mousePitch.mouseupWindow(t),this.offTemp()},Ii.prototype.touchstart=function(t){1!==t.targetTouches.length?this.reset():(this._startPos=this._lastPos=r.touchPos(this.element,t.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return t.preventDefault()}},this._startPos))},Ii.prototype.touchmove=function(t){1!==t.targetTouches.length?this.reset():(this._lastPos=r.touchPos(this.element,t.targetTouches)[0],this.move({preventDefault:function(){return t.preventDefault()}},this._lastPos))},Ii.prototype.touchend=function(t){0===t.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},Ii.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};var zi={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Di(t,e,r){var n=t.classList;for(var i in zi)n.remove("mapboxgl-"+r+"-anchor-"+i);n.add("mapboxgl-"+r+"-anchor-"+e)}var Ri,Fi=function(e){function n(n,i){var a=this;if(e.call(this),(n instanceof t.window.HTMLElement||i)&&(n=t.extend({element:n},i)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=n&&n.anchor||"center",this._color=n&&n.color||"#3FB1CE",this._draggable=n&&n.draggable||!1,this._state="inactive",this._rotation=n&&n.rotation||0,this._rotationAlignment=n&&n.rotationAlignment||"auto",this._pitchAlignment=n&&n.pitchAlignment&&"auto"!==n.pitchAlignment?n.pitchAlignment:this._rotationAlignment,n&&n.element)this._element=n.element,this._offset=t.Point.convert(n&&n.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var o=r.createNS("http://www.w3.org/2000/svg","svg");o.setAttributeNS(null,"display","block"),o.setAttributeNS(null,"height","41px"),o.setAttributeNS(null,"width","27px"),o.setAttributeNS(null,"viewBox","0 0 27 41");var s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"stroke","none"),s.setAttributeNS(null,"stroke-width","1"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"fill-rule","evenodd");var l=r.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"fill-rule","nonzero");var c=r.createNS("http://www.w3.org/2000/svg","g");c.setAttributeNS(null,"transform","translate(3.0, 29.0)"),c.setAttributeNS(null,"fill","#000000");for(var u=0,f=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];u<f.length;u+=1){var h=f[u],p=r.createNS("http://www.w3.org/2000/svg","ellipse");p.setAttributeNS(null,"opacity","0.04"),p.setAttributeNS(null,"cx","10.5"),p.setAttributeNS(null,"cy","5.80029008"),p.setAttributeNS(null,"rx",h.rx),p.setAttributeNS(null,"ry",h.ry),c.appendChild(p)}var d=r.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"fill",this._color);var g=r.createNS("http://www.w3.org/2000/svg","path");g.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),d.appendChild(g);var m=r.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"opacity","0.25"),m.setAttributeNS(null,"fill","#000000");var v=r.createNS("http://www.w3.org/2000/svg","path");v.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),m.appendChild(v);var y=r.createNS("http://www.w3.org/2000/svg","g");y.setAttributeNS(null,"transform","translate(6.0, 7.0)"),y.setAttributeNS(null,"fill","#FFFFFF");var x=r.createNS("http://www.w3.org/2000/svg","g");x.setAttributeNS(null,"transform","translate(8.0, 8.0)");var b=r.createNS("http://www.w3.org/2000/svg","circle");b.setAttributeNS(null,"fill","#000000"),b.setAttributeNS(null,"opacity","0.25"),b.setAttributeNS(null,"cx","5.5"),b.setAttributeNS(null,"cy","5.5"),b.setAttributeNS(null,"r","5.4999962");var _=r.createNS("http://www.w3.org/2000/svg","circle");_.setAttributeNS(null,"fill","#FFFFFF"),_.setAttributeNS(null,"cx","5.5"),_.setAttributeNS(null,"cy","5.5"),_.setAttributeNS(null,"r","5.4999962"),x.appendChild(b),x.appendChild(_),l.appendChild(c),l.appendChild(d),l.appendChild(m),l.appendChild(y),l.appendChild(x),o.appendChild(l),this._element.appendChild(o),this._offset=t.Point.convert(n&&n.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(t){t.preventDefault()})),this._element.addEventListener("mousedown",(function(t){t.preventDefault()})),this._element.addEventListener("focus",(function(){var t=a._map.getContainer();t.scrollTop=0,t.scrollLeft=0})),Di(this._element,this._anchor,"marker"),this._popup=null}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},n.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this},n.prototype.getLngLat=function(){return this._lngLat},n.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},n.prototype.getElement=function(){return this._element},n.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),t){if(!("offset"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[e,-1*(24.6+e)],"bottom-right":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},n.prototype._onKeyPress=function(t){var e=t.code,r=t.charCode||t.keyCode;"Space"!==e&&"Enter"!==e&&32!==r&&13!==r||this.togglePopup()},n.prototype._onMapClick=function(t){var e=t.originalEvent.target,r=this._element;this._popup&&(e===r||r.contains(e))&&this.togglePopup()},n.prototype.getPopup=function(){return this._popup},n.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},n.prototype._update=function(t){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var e="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?e="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(e="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var n="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?n="rotateX(0deg)":"map"===this._pitchAlignment&&(n="rotateX("+this._map.getPitch()+"deg)"),t&&"moveend"!==t.type||(this._pos=this._pos.round()),r.setTransform(this._element,zi[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+n+" "+e)}},n.prototype.getOffset=function(){return this._offset},n.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},n.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag"))},n.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"},n.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},n.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},n.prototype.isDraggable=function(){return this._draggable},n.prototype.setRotation=function(t){return this._rotation=t||0,this._update(),this},n.prototype.getRotation=function(){return this._rotation},n.prototype.setRotationAlignment=function(t){return this._rotationAlignment=t||"auto",this._update(),this},n.prototype.getRotationAlignment=function(){return this._rotationAlignment},n.prototype.setPitchAlignment=function(t){return this._pitchAlignment=t&&"auto"!==t?t:this._rotationAlignment,this._update(),this},n.prototype.getPitchAlignment=function(){return this._pitchAlignment},n}(t.Evented),Bi={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};var Ni=0,ji=!1,Ui=function(e){function n(r){e.call(this),this.options=t.extend({},Bi,r),t.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.onAdd=function(e){var n;return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),n=this._setupUI,void 0!==Ri?n(Ri):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Ri="denied"!==t.state,n(Ri)})):(Ri=!!t.window.navigator.geolocation,n(Ri)),this._container},n.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Ni=0,ji=!1},n.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),r=t.coords;return e&&(r.longitude<e.getWest()||r.longitude>e.getEast()||r.latitude<e.getSouth()||r.latitude>e.getNorth())},n.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},n.prototype._onSuccess=function(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()}},n.prototype._updateCamera=function(e){var r=new t.LngLat(e.coords.longitude,e.coords.latitude),n=e.coords.accuracy,i=this._map.getBearing(),a=t.extend({bearing:i},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(n),a,{geolocateSource:!0})},n.prototype._updateMarker=function(e){if(e){var r=new t.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(r).addTo(this._map),this._userLocationDotMarker.setLngLat(r).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},n.prototype._updateCircleRadius=function(){var t=this._map._container.clientHeight/2,e=this._map.unproject([0,t]),r=this._map.unproject([1,t]),n=e.distanceTo(r),i=Math.ceil(2*this._accuracy/n);this._circleElement.style.width=i+"px",this._circleElement.style.height=i+"px"},n.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},n.prototype._onError=function(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var r=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&ji)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()}},n.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},n.prototype._setupUI=function(e){var n=this;if(this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var i=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=i,this._geolocateButton.setAttribute("aria-label",i)}else{var a=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=a,this._geolocateButton.setAttribute("aria-label",a)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Fi(this._dotElement),this._circleElement=r.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Fi({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){var r=e.originalEvent&&"resize"===e.originalEvent.type;e.geolocateSource||"ACTIVE_LOCK"!==n._watchState||r||(n._watchState="BACKGROUND",n._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),n._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),n.fire(new t.Event("trackuserlocationend")))}))},n.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Ni--,ji=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var e;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Ni>1?(e={maximumAge:6e5,timeout:0},ji=!0):(e=this.options.positionOptions,ji=!1),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e)}}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},n.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},n}(t.Evented),Vi={maxWidth:100,unit:"metric"},Hi=function(e){this.options=t.extend({},Vi,e),t.bindAll(["_onMove","setUnit"],this)};function qi(t,e,r){var n=r&&r.maxWidth||100,i=t._container.clientHeight/2,a=t.unproject([0,i]),o=t.unproject([n,i]),s=a.distanceTo(o);if(r&&"imperial"===r.unit){var l=3.2808*s;if(l>5280)Gi(e,n,l/5280,t._getUIString("ScaleControl.Miles"));else Gi(e,n,l,t._getUIString("ScaleControl.Feet"))}else if(r&&"nautical"===r.unit){Gi(e,n,s/1852,t._getUIString("ScaleControl.NauticalMiles"))}else s>=1e3?Gi(e,n,s/1e3,t._getUIString("ScaleControl.Kilometers")):Gi(e,n,s,t._getUIString("ScaleControl.Meters"))}function Gi(t,e,r,n){var i,a,o,s=(i=r,a=Math.pow(10,(""+Math.floor(i)).length-1),o=(o=i/a)>=10?10:o>=5?5:o>=3?3:o>=2?2:o>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(o),a*o),l=s/r;t.style.width=e*l+"px",t.innerHTML=s+"&nbsp;"+n}Hi.prototype.getDefaultPosition=function(){return"bottom-left"},Hi.prototype._onMove=function(){qi(this._map,this._container,this.options)},Hi.prototype.onAdd=function(t){return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Hi.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Hi.prototype.setUnit=function(t){this.options.unit=t,qi(this._map,this._container,this.options)};var Yi=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange")};Yi.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Yi.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Yi.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},Yi.prototype._setupUI=function(){var e=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden",!0),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Yi.prototype._updateTitle=function(){var t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t},Yi.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Yi.prototype._isFullscreen=function(){return this._fullscreen},Yi.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Yi.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Wi={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},Xi=function(e){function n(r){e.call(this),this.options=t.extend(Object.create(Wi),r),t.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.addTo=function(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this},n.prototype.isOpen=function(){return!!this._map},n.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new t.Event("close")),this},n.prototype.getLngLat=function(){return this._lngLat},n.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},n.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},n.prototype.getElement=function(){return this._container},n.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},n.prototype.setHTML=function(e){var r,n=t.window.document.createDocumentFragment(),i=t.window.document.createElement("body");for(i.innerHTML=e;r=i.firstChild;)n.appendChild(r);return this.setDOMContent(n)},n.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},n.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},n.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},n.prototype.addClassName=function(t){this._container&&this._container.classList.add(t)},n.prototype.removeClassName=function(t){this._container&&this._container.classList.remove(t)},n.prototype.toggleClassName=function(t){if(this._container)return this._container.classList.toggle(t)},n.prototype._createContent=function(){this._content&&r.remove(this._content),this._content=r.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClose))},n.prototype._onMouseUp=function(t){this._update(t.point)},n.prototype._onMouseMove=function(t){this._update(t.point)},n.prototype._onDrag=function(t){this._update(t.point)},n.prototype._update=function(e){var n=this,i=this._lngLat||this._trackPointer;if(this._map&&i&&this._content&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return n._container.classList.add(t)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var a=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),o=this.options.anchor,s=function e(r){if(r){if("number"==typeof r){var n=Math.round(Math.sqrt(.5*Math.pow(r,2)));return{center:new t.Point(0,0),top:new t.Point(0,r),"top-left":new t.Point(n,n),"top-right":new t.Point(-n,n),bottom:new t.Point(0,-r),"bottom-left":new t.Point(n,-n),"bottom-right":new t.Point(-n,-n),left:new t.Point(r,0),right:new t.Point(-r,0)}}if(r instanceof t.Point||Array.isArray(r)){var i=t.Point.convert(r);return{center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return{center:t.Point.convert(r.center||[0,0]),top:t.Point.convert(r.top||[0,0]),"top-left":t.Point.convert(r["top-left"]||[0,0]),"top-right":t.Point.convert(r["top-right"]||[0,0]),bottom:t.Point.convert(r.bottom||[0,0]),"bottom-left":t.Point.convert(r["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(r["bottom-right"]||[0,0]),left:t.Point.convert(r.left||[0,0]),right:t.Point.convert(r.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!o){var l,c=this._container.offsetWidth,u=this._container.offsetHeight;l=a.y+s.bottom.y<u?["top"]:a.y>this._map.transform.height-u?["bottom"]:[],a.x<c/2?l.push("left"):a.x>this._map.transform.width-c/2&&l.push("right"),o=0===l.length?"bottom":l.join("-")}var f=a.add(s[o]).round();r.setTransform(this._container,zi[o]+" translate("+f.x+"px,"+f.y+"px)"),Di(this._container,o,"popup")}},n.prototype._onClose=function(){this.remove()},n}(t.Evented);var Zi={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Ei,NavigationControl:Pi,GeolocateControl:Ui,AttributionControl:bi,ScaleControl:Hi,FullscreenControl:Yi,Popup:Xi,Marker:Fi,Style:qe,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,prewarm:function(){Bt().acquire(zt)},clearPrewarmedResources:function(){var t=Rt;t&&(t.isPreloaded()&&1===t.numActive()?(t.release(zt),Rt=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Dt.workerCount},set workerCount(t){Dt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){t.clearTileCache(e)},workerUrl:""};return Zi})),r}))},{}],240:[function(t,e,r){"use strict";e.exports=Math.log2||function(t){return Math.log(t)*Math.LOG2E}},{}],241:[function(t,e,r){"use strict";e.exports=function(t,e){e||(e=t,t=window);var r=0,i=0,a=0,o={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(t){var e=!1;return"altKey"in t&&(e=e||t.altKey!==o.alt,o.alt=!!t.altKey),"shiftKey"in t&&(e=e||t.shiftKey!==o.shift,o.shift=!!t.shiftKey),"ctrlKey"in t&&(e=e||t.ctrlKey!==o.control,o.control=!!t.ctrlKey),"metaKey"in t&&(e=e||t.metaKey!==o.meta,o.meta=!!t.metaKey),e}function c(t,s){var c=n.x(s),u=n.y(s);"buttons"in s&&(t=0|s.buttons),(t!==r||c!==i||u!==a||l(s))&&(r=0|t,i=c||0,a=u||0,e&&e(r,i,a,o))}function u(t){c(0,t)}function f(){(r||i||a||o.shift||o.alt||o.meta||o.control)&&(i=a=0,r=0,o.shift=o.alt=o.control=o.meta=!1,e&&e(0,0,0,o))}function h(t){l(t)&&e&&e(r,i,a,o)}function p(t){0===n.buttons(t)?c(0,t):c(r,t)}function d(t){c(r|n.buttons(t),t)}function g(t){c(r&~n.buttons(t),t)}function m(){s||(s=!0,t.addEventListener("mousemove",p),t.addEventListener("mousedown",d),t.addEventListener("mouseup",g),t.addEventListener("mouseleave",u),t.addEventListener("mouseenter",u),t.addEventListener("mouseout",u),t.addEventListener("mouseover",u),t.addEventListener("blur",f),t.addEventListener("keyup",h),t.addEventListener("keydown",h),t.addEventListener("keypress",h),t!==window&&(window.addEventListener("blur",f),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}m();var v={element:t};return Object.defineProperties(v,{enabled:{get:function(){return s},set:function(e){e?m():function(){if(!s)return;s=!1,t.removeEventListener("mousemove",p),t.removeEventListener("mousedown",d),t.removeEventListener("mouseup",g),t.removeEventListener("mouseleave",u),t.removeEventListener("mouseenter",u),t.removeEventListener("mouseout",u),t.removeEventListener("mouseover",u),t.removeEventListener("blur",f),t.removeEventListener("keyup",h),t.removeEventListener("keydown",h),t.removeEventListener("keypress",h),t!==window&&(window.removeEventListener("blur",f),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h))}()},enumerable:!0},buttons:{get:function(){return r},enumerable:!0},x:{get:function(){return i},enumerable:!0},y:{get:function(){return a},enumerable:!0},mods:{get:function(){return o},enumerable:!0}}),v};var n=t("mouse-event")},{"mouse-event":243}],242:[function(t,e,r){var n={left:0,top:0};e.exports=function(t,e,r){e=e||t.currentTarget||t.srcElement,Array.isArray(r)||(r=[0,0]);var i=t.clientX||0,a=t.clientY||0,o=(s=e,s===window||s===document||s===document.body?n:s.getBoundingClientRect());var s;return r[0]=i-o.left,r[1]=a-o.top,r}},{}],243:[function(t,e,r){"use strict";function n(t){return t.target||t.srcElement||window}r.buttons=function(t){if("object"==typeof t){if("buttons"in t)return t.buttons;if("which"in t){if(2===(e=t.which))return 4;if(3===e)return 2;if(e>0)return 1<<e-1}else if("button"in t){var e;if(1===(e=t.button))return 4;if(2===e)return 2;if(e>=0)return 1<<e}}return 0},r.element=n,r.x=function(t){if("object"==typeof t){if("offsetX"in t)return t.offsetX;var e=n(t).getBoundingClientRect();return t.clientX-e.left}return 0},r.y=function(t){if("object"==typeof t){if("offsetY"in t)return t.offsetY;var e=n(t).getBoundingClientRect();return t.clientY-e.top}return 0}},{}],244:[function(t,e,r){"use strict";var n=t("to-px");e.exports=function(t,e,r){"function"==typeof t&&(r=!!e,e=t,t=window);var i=n("ex",t),a=function(t){r&&t.preventDefault();var n=t.deltaX||0,a=t.deltaY||0,o=t.deltaZ||0,s=1;switch(t.deltaMode){case 1:s=i;break;case 2:s=window.innerHeight}if(a*=s,o*=s,(n*=s)||a||o)return e(n,a,o,t)};return t.addEventListener("wheel",a),a}},{"to-px":314}],245:[function(t,e,r){(function(t,r){(function(){
/*! Native Promise Only
    v0.8.1 (c) Kyle Simpson
    MIT License: http://getify.mit-license.org
*/
!function(t,r,n){r[t]=r[t]||n(),void 0!==e&&e.exports&&(e.exports=r[t])}("Promise",void 0!==t?t:this,(function(){"use strict";var t,e,n,i=Object.prototype.toString,a=void 0!==r?function(t){return r(t)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(t,e,r,n){return Object.defineProperty(t,e,{value:r,writable:!0,configurable:!1!==n})}}catch(e){t=function(t,e,r){return t[e]=r,t}}function o(t,r){n.add(t,r),e||(e=a(n.drain))}function s(t){var e,r=typeof t;return null==t||"object"!=r&&"function"!=r||(e=t.then),"function"==typeof e&&e}function l(){for(var t=0;t<this.chain.length;t++)c(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function c(t,e,r){var n,i;try{!1===e?r.reject(t.msg):(n=!0===e?t.msg:e.call(void 0,t.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=s(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(t){r.reject(t)}}function u(t){var e,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(e=s(t))?o((function(){var n=new p(r);try{e.call(t,(function(){u.apply(n,arguments)}),(function(){f.apply(n,arguments)}))}catch(t){f.call(n,t)}})):(r.msg=t,r.state=1,r.chain.length>0&&o(l,r))}catch(t){f.call(new p(r),t)}}}function f(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&o(l,e))}function h(t,e,r,n){for(var i=0;i<e.length;i++)!function(i){t.resolve(e[i]).then((function(t){r(i,t)}),n)}(i)}function p(t){this.def=t,this.triggered=!1}function d(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new d(this);this.then=function(t,r){var n={success:"function"!=typeof t||t,failure:"function"==typeof r&&r};return n.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");n.resolve=t,n.reject=e})),e.chain.push(n),0!==e.state&&o(l,e),n.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){u.call(e,t)}),(function(t){f.call(e,t)}))}catch(t){f.call(e,t)}}n=function(){var t,r,n;function i(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,a){n=new i(e,a),r?r.next=n:t=n,r=n,n=void 0},drain:function(){var n=t;for(t=r=e=void 0;n;)n.fn.call(n.self),n=n.next}}}();var m=t({},"constructor",g,!1);return g.prototype=m,t(m,"__NPO__",0,!1),t(g,"resolve",(function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this((function(e,r){if("function"!=typeof e||"function"!=typeof r)throw TypeError("Not a function");e(t)}))})),t(g,"reject",(function(t){return new this((function(e,r){if("function"!=typeof e||"function"!=typeof r)throw TypeError("Not a function");r(t)}))})),t(g,"all",(function(t){var e=this;return"[object Array]"!=i.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var i=t.length,a=Array(i),o=0;h(e,t,(function(t,e){a[t]=e,++o===i&&r(a)}),n)}))})),t(g,"race",(function(t){var e=this;return"[object Array]"!=i.call(t)?e.reject(TypeError("Not an array")):new e((function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");h(e,t,(function(t,e){r(e)}),n)}))})),g}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{timers:311}],246:[function(t,e,r){var n=Math.PI,i=c(120);function a(t,e,r,n){return["C",t,e,r,n,r,n]}function o(t,e,r,n,i,a){return["C",t/3+2/3*r,e/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}function s(t,e,r,a,o,c,u,f,h,p){if(p)T=p[0],k=p[1],_=p[2],w=p[3];else{var d=l(t,e,-o);t=d.x,e=d.y;var g=(t-(f=(d=l(f,h,-o)).x))/2,m=(e-(h=d.y))/2,v=g*g/(r*r)+m*m/(a*a);v>1&&(r*=v=Math.sqrt(v),a*=v);var y=r*r,x=a*a,b=(c==u?-1:1)*Math.sqrt(Math.abs((y*x-y*m*m-x*g*g)/(y*m*m+x*g*g)));b==1/0&&(b=1);var _=b*r*m/a+(t+f)/2,w=b*-a*g/r+(e+h)/2,T=Math.asin(((e-w)/a).toFixed(9)),k=Math.asin(((h-w)/a).toFixed(9));(T=t<_?n-T:T)<0&&(T=2*n+T),(k=f<_?n-k:k)<0&&(k=2*n+k),u&&T>k&&(T-=2*n),!u&&k>T&&(k-=2*n)}if(Math.abs(k-T)>i){var A=k,M=f,S=h;k=T+i*(u&&k>T?1:-1);var E=s(f=_+r*Math.cos(k),h=w+a*Math.sin(k),r,a,o,0,u,M,S,[k,A,_,w])}var L=Math.tan((k-T)/4),C=4/3*r*L,P=4/3*a*L,I=[2*t-(t+C*Math.sin(T)),2*e-(e-P*Math.cos(T)),f+C*Math.sin(k),h-P*Math.cos(k),f,h];if(p)return I;E&&(I=I.concat(E));for(var O=0;O<I.length;){var z=l(I[O],I[O+1],o);I[O++]=z.x,I[O++]=z.y}return I}function l(t,e,r){return{x:t*Math.cos(r)-e*Math.sin(r),y:t*Math.sin(r)+e*Math.cos(r)}}function c(t){return t*(n/180)}e.exports=function(t){for(var e,r=[],n=0,i=0,l=0,u=0,f=null,h=null,p=0,d=0,g=0,m=t.length;g<m;g++){var v=t[g],y=v[0];switch(y){case"M":l=v[1],u=v[2];break;case"A":(v=s(p,d,v[1],v[2],c(v[3]),v[4],v[5],v[6],v[7])).unshift("C"),v.length>7&&(r.push(v.splice(0,7)),v.unshift("C"));break;case"S":var x=p,b=d;"C"!=e&&"S"!=e||(x+=x-n,b+=b-i),v=["C",x,b,v[1],v[2],v[3],v[4]];break;case"T":"Q"==e||"T"==e?(f=2*p-f,h=2*d-h):(f=p,h=d),v=o(p,d,f,h,v[1],v[2]);break;case"Q":f=v[1],h=v[2],v=o(p,d,v[1],v[2],v[3],v[4]);break;case"L":v=a(p,d,v[1],v[2]);break;case"H":v=a(p,d,v[1],d);break;case"V":v=a(p,d,p,v[1]);break;case"Z":v=a(p,d,l,u)}e=y,p=v[v.length-2],d=v[v.length-1],v.length>4?(n=v[v.length-4],i=v[v.length-3]):(n=p,i=d),r.push(v)}return r}},{}],247:[function(t,e,r){
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}e.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,s,l=o(t),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))i.call(r,u)&&(l[u]=r[u]);if(n){s=n(r);for(var f=0;f<s.length;f++)a.call(r,s[f])&&(l[s[f]]=r[s[f]])}}return l}},{}],248:[function(t,e,r){"use strict";function n(t,e){if("string"!=typeof t)return[t];var r=[t];"string"==typeof e||Array.isArray(e)?e={brackets:e}:e||(e={});var n=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:["{}","[]","()"],i=e.escape||"___",a=!!e.flat;n.forEach((function(t){var e=new RegExp(["\\",t[0],"[^\\",t[0],"\\",t[1],"]*\\",t[1]].join("")),n=[];function a(e,a,o){var s=r.push(e.slice(t[0].length,-t[1].length))-1;return n.push(s),i+s+i}r.forEach((function(t,n){for(var i,o=0;t!=i;)if(i=t,t=t.replace(e,a),o++>1e4)throw Error("References have circular dependency. Please, check them.");r[n]=t})),n=n.reverse(),r=r.map((function(e){return n.forEach((function(r){e=e.replace(new RegExp("(\\"+i+r+"\\"+i+")","g"),t[0]+"$1"+t[1])})),e}))}));var o=new RegExp("\\"+i+"([0-9]+)\\"+i);return a?r:function t(e,r,n){for(var i,a=[],s=0;i=o.exec(e);){if(s++>1e4)throw Error("Circular references in parenthesis");a.push(e.slice(0,i.index)),a.push(t(r[i[1]],r)),e=e.slice(i.index+i[0].length)}return a.push(e),a}(r[0],r)}function i(t,e){if(e&&e.flat){var r,n=e&&e.escape||"___",i=t[0];if(!i)return"";for(var a=new RegExp("\\"+n+"([0-9]+)\\"+n),o=0;i!=r;){if(o++>1e4)throw Error("Circular references in "+t);r=i,i=i.replace(a,s)}return i}return t.reduce((function t(e,r){return Array.isArray(r)&&(r=r.reduce(t,"")),e+r}),"");function s(e,r){if(null==t[r])throw Error("Reference "+r+"is undefined");return t[r]}}function a(t,e){return Array.isArray(t)?i(t,e):n(t,e)}a.parse=n,a.stringify=i,e.exports=a},{}],249:[function(t,e,r){"use strict";var n=t("pick-by-alias");e.exports=function(t){var e;arguments.length>1&&(t=arguments);"string"==typeof t?t=t.split(/\s/).map(parseFloat):"number"==typeof t&&(t=[t]);t.length&&"number"==typeof t[0]?e=1===t.length?{width:t[0],height:t[0],x:0,y:0}:2===t.length?{width:t[0],height:t[1],x:0,y:0}:{x:t[0],y:t[1],width:t[2]-t[0]||0,height:t[3]-t[1]||0}:t&&(t=n(t,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),e={x:t.left||0,y:t.top||0},null==t.width?t.right?e.width=t.right-e.x:e.width=0:e.width=t.width,null==t.height?t.bottom?e.height=t.bottom-e.y:e.height=0:e.height=t.height);return e}},{"pick-by-alias":253}],250:[function(t,e,r){e.exports=function(t){var e=[];return t.replace(i,(function(t,r,i){var o=r.toLowerCase();for(i=function(t){var e=t.match(a);return e?e.map(Number):[]}(i),"m"==o&&i.length>2&&(e.push([r].concat(i.splice(0,2))),o="l",r="m"==r?"l":"L");;){if(i.length==n[o])return i.unshift(r),e.push(i);if(i.length<n[o])throw new Error("malformed path data");e.push([r].concat(i.splice(0,n[o])))}})),e};var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},i=/([astvzqmhlc])([^astvzqmhlc]*)/gi;var a=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi},{}],251:[function(t,e,r){e.exports=function(t,e){e||(e=[0,""]),t=String(t);var r=parseFloat(t,10);return e[0]=r,e[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",e}},{}],252:[function(t,e,r){(function(t){(function(){(function(){var r,n,i,a,o,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(r()-o)/1e6},n=t.hrtime,a=(r=function(){var t;return 1e9*(t=n())[0]+t[1]})(),s=1e9*t.uptime(),o=a-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this)}).call(this,t("_process"))},{_process:277}],253:[function(t,e,r){"use strict";e.exports=function(t,e,r){var n,a,o={};if("string"==typeof e&&(e=i(e)),Array.isArray(e)){var s={};for(a=0;a<e.length;a++)s[e[a]]=!0;e=s}for(n in e)e[n]=i(e[n]);var l={};for(n in e){var c=e[n];if(Array.isArray(c))for(a=0;a<c.length;a++){var u=c[a];if(r&&(l[u]=!0),u in t){if(o[n]=t[u],r)for(var f=a;f<c.length;f++)l[c[f]]=!0;break}}else n in t&&(e[n]&&(o[n]=t[n]),r&&(l[n]=!0))}if(r)for(n in t)l[n]||(o[n]=t[n]);return o};var n={};function i(t){return n[t]?n[t]:("string"==typeof t&&(t=n[t]=t.split(/\s*,\s*|\s+/)),t)}},{}],254:[function(t,e,r){
/*
 * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
 * @license MIT
 * @preserve Project Home: https://github.com/voidqk/polybooljs
 */
var n,i=t("./lib/build-log"),a=t("./lib/epsilon"),o=t("./lib/intersecter"),s=t("./lib/segment-chainer"),l=t("./lib/segment-selector"),c=t("./lib/geojson"),u=!1,f=a();function h(t,e,r){var i=n.segments(t),a=n.segments(e),o=r(n.combine(i,a));return n.polygon(o)}n={buildLog:function(t){return!0===t?u=i():!1===t&&(u=!1),!1!==u&&u.list},epsilon:function(t){return f.epsilon(t)},segments:function(t){var e=o(!0,f,u);return t.regions.forEach(e.addRegion),{segments:e.calculate(t.inverted),inverted:t.inverted}},combine:function(t,e){return{combined:o(!1,f,u).calculate(t.segments,t.inverted,e.segments,e.inverted),inverted1:t.inverted,inverted2:e.inverted}},selectUnion:function(t){return{segments:l.union(t.combined,u),inverted:t.inverted1||t.inverted2}},selectIntersect:function(t){return{segments:l.intersect(t.combined,u),inverted:t.inverted1&&t.inverted2}},selectDifference:function(t){return{segments:l.difference(t.combined,u),inverted:t.inverted1&&!t.inverted2}},selectDifferenceRev:function(t){return{segments:l.differenceRev(t.combined,u),inverted:!t.inverted1&&t.inverted2}},selectXor:function(t){return{segments:l.xor(t.combined,u),inverted:t.inverted1!==t.inverted2}},polygon:function(t){return{regions:s(t.segments,f,u),inverted:t.inverted}},polygonFromGeoJSON:function(t){return c.toPolygon(n,t)},polygonToGeoJSON:function(t){return c.fromPolygon(n,f,t)},union:function(t,e){return h(t,e,n.selectUnion)},intersect:function(t,e){return h(t,e,n.selectIntersect)},difference:function(t,e){return h(t,e,n.selectDifference)},differenceRev:function(t,e){return h(t,e,n.selectDifferenceRev)},xor:function(t,e){return h(t,e,n.selectXor)}},"object"==typeof window&&(window.PolyBool=n),e.exports=n},{"./lib/build-log":255,"./lib/epsilon":256,"./lib/geojson":257,"./lib/intersecter":258,"./lib/segment-chainer":260,"./lib/segment-selector":261}],255:[function(t,e,r){e.exports=function(){var t,e=0,r=!1;function n(e,r){return t.list.push({type:e,data:r?JSON.parse(JSON.stringify(r)):void 0}),t}return t={list:[],segmentId:function(){return e++},checkIntersection:function(t,e){return n("check",{seg1:t,seg2:e})},segmentChop:function(t,e){return n("div_seg",{seg:t,pt:e}),n("chop",{seg:t,pt:e})},statusRemove:function(t){return n("pop_seg",{seg:t})},segmentUpdate:function(t){return n("seg_update",{seg:t})},segmentNew:function(t,e){return n("new_seg",{seg:t,primary:e})},segmentRemove:function(t){return n("rem_seg",{seg:t})},tempStatus:function(t,e,r){return n("temp_status",{seg:t,above:e,below:r})},rewind:function(t){return n("rewind",{seg:t})},status:function(t,e,r){return n("status",{seg:t,above:e,below:r})},vert:function(e){return e===r?t:(r=e,n("vert",{x:e}))},log:function(t){return"string"!=typeof t&&(t=JSON.stringify(t,!1,"  ")),n("log",{txt:t})},reset:function(){return n("reset")},selected:function(t){return n("selected",{segs:t})},chainStart:function(t){return n("chain_start",{seg:t})},chainRemoveHead:function(t,e){return n("chain_rem_head",{index:t,pt:e})},chainRemoveTail:function(t,e){return n("chain_rem_tail",{index:t,pt:e})},chainNew:function(t,e){return n("chain_new",{pt1:t,pt2:e})},chainMatch:function(t){return n("chain_match",{index:t})},chainClose:function(t){return n("chain_close",{index:t})},chainAddHead:function(t,e){return n("chain_add_head",{index:t,pt:e})},chainAddTail:function(t,e){return n("chain_add_tail",{index:t,pt:e})},chainConnect:function(t,e){return n("chain_con",{index1:t,index2:e})},chainReverse:function(t){return n("chain_rev",{index:t})},chainJoin:function(t,e){return n("chain_join",{index1:t,index2:e})},done:function(){return n("done")}}}},{}],256:[function(t,e,r){e.exports=function(t){"number"!=typeof t&&(t=1e-10);var e={epsilon:function(e){return"number"==typeof e&&(t=e),t},pointAboveOrOnLine:function(e,r,n){var i=r[0],a=r[1],o=n[0],s=n[1],l=e[0];return(o-i)*(e[1]-a)-(s-a)*(l-i)>=-t},pointBetween:function(e,r,n){var i=e[1]-r[1],a=n[0]-r[0],o=e[0]-r[0],s=n[1]-r[1],l=o*a+i*s;return!(l<t)&&!(l-(a*a+s*s)>-t)},pointsSameX:function(e,r){return Math.abs(e[0]-r[0])<t},pointsSameY:function(e,r){return Math.abs(e[1]-r[1])<t},pointsSame:function(t,r){return e.pointsSameX(t,r)&&e.pointsSameY(t,r)},pointsCompare:function(t,r){return e.pointsSameX(t,r)?e.pointsSameY(t,r)?0:t[1]<r[1]?-1:1:t[0]<r[0]?-1:1},pointsCollinear:function(e,r,n){var i=e[0]-r[0],a=e[1]-r[1],o=r[0]-n[0],s=r[1]-n[1];return Math.abs(i*s-o*a)<t},linesIntersect:function(e,r,n,i){var a=r[0]-e[0],o=r[1]-e[1],s=i[0]-n[0],l=i[1]-n[1],c=a*l-o*s;if(Math.abs(c)<t)return!1;var u=e[0]-n[0],f=e[1]-n[1],h=(s*f-l*u)/c,p=(a*f-o*u)/c,d={alongA:0,alongB:0,pt:[e[0]+h*a,e[1]+h*o]};return d.alongA=h<=-t?-2:h<t?-1:h-1<=-t?0:h-1<t?1:2,d.alongB=p<=-t?-2:p<t?-1:p-1<=-t?0:p-1<t?1:2,d},pointInsideRegion:function(e,r){for(var n=e[0],i=e[1],a=r[r.length-1][0],o=r[r.length-1][1],s=!1,l=0;l<r.length;l++){var c=r[l][0],u=r[l][1];u-i>t!=o-i>t&&(a-c)*(i-u)/(o-u)+c-n>t&&(s=!s),a=c,o=u}return s}};return e}},{}],257:[function(t,e,r){var n={toPolygon:function(t,e){function r(e){if(e.length<=0)return t.segments({inverted:!1,regions:[]});function r(e){var r=e.slice(0,e.length-1);return t.segments({inverted:!1,regions:[r]})}for(var n=r(e[0]),i=1;i<e.length;i++)n=t.selectDifference(t.combine(n,r(e[i])));return n}if("Polygon"===e.type)return t.polygon(r(e.coordinates));if("MultiPolygon"===e.type){for(var n=t.segments({inverted:!1,regions:[]}),i=0;i<e.coordinates.length;i++)n=t.selectUnion(t.combine(n,r(e.coordinates[i])));return t.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(t,e,r){function n(t,r){return e.pointInsideRegion([.5*(t[0][0]+t[1][0]),.5*(t[0][1]+t[1][1])],r)}function i(t){return{region:t,children:[]}}r=t.polygon(t.segments(r));var a=i(null);function o(t,e){for(var r=0;r<t.children.length;r++){if(n(e,(s=t.children[r]).region))return void o(s,e)}var a=i(e);for(r=0;r<t.children.length;r++){var s;n((s=t.children[r]).region,e)&&(a.children.push(s),t.children.splice(r,1),r--)}t.children.push(a)}for(var s=0;s<r.regions.length;s++){var l=r.regions[s];l.length<3||o(a,l)}function c(t,e){for(var r=0,n=t[t.length-1][0],i=t[t.length-1][1],a=[],o=0;o<t.length;o++){var s=t[o][0],l=t[o][1];a.push([s,l]),r+=l*n-s*i,n=s,i=l}return r<0!==e&&a.reverse(),a.push([a[0][0],a[0][1]]),a}var u=[];function f(t){var e=[c(t.region,!1)];u.push(e);for(var r=0;r<t.children.length;r++)e.push(h(t.children[r]))}function h(t){for(var e=0;e<t.children.length;e++)f(t.children[e]);return c(t.region,!0)}for(s=0;s<a.children.length;s++)f(a.children[s]);return u.length<=0?{type:"Polygon",coordinates:[]}:1==u.length?{type:"Polygon",coordinates:u[0]}:{type:"MultiPolygon",coordinates:u}}};e.exports=n},{}],258:[function(t,e,r){var n=t("./linked-list");e.exports=function(t,e,r){function i(t,e,n){return{id:r?r.segmentId():-1,start:t,end:e,myFill:{above:n.myFill.above,below:n.myFill.below},otherFill:null}}var a=n.create();function o(t,r){a.insertBefore(t,(function(n){return function(t,r,n,i,a,o){var s=e.pointsCompare(r,a);return 0!==s?s:e.pointsSame(n,o)?0:t!==i?t?1:-1:e.pointAboveOrOnLine(n,i?a:o,i?o:a)?1:-1}(t.isStart,t.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function s(t,e){var r=function(t,e){var r=n.node({isStart:!0,pt:t.start,seg:t,primary:e,other:null,status:null});return o(r,t.end),r}(t,e);return function(t,e,r){var i=n.node({isStart:!1,pt:e.end,seg:e,primary:r,other:t,status:null});t.other=i,o(i,t.pt)}(r,t,e),r}function l(t,e){var n=i(e,t.seg.end,t.seg);return function(t,e){r&&r.segmentChop(t.seg,e),t.other.remove(),t.seg.end=e,t.other.pt=e,o(t.other,t.pt)}(t,e),s(n,t.primary)}function c(i,o){var s=n.create();function c(t){return s.findTransition((function(r){var n,i,a,o,s,l;return(n=t,i=r.ev,a=n.seg.start,o=n.seg.end,s=i.seg.start,l=i.seg.end,e.pointsCollinear(a,s,l)?e.pointsCollinear(o,s,l)||e.pointAboveOrOnLine(o,s,l)?1:-1:e.pointAboveOrOnLine(a,s,l)?1:-1)>0}))}function u(t,n){var i=t.seg,a=n.seg,o=i.start,s=i.end,c=a.start,u=a.end;r&&r.checkIntersection(i,a);var f=e.linesIntersect(o,s,c,u);if(!1===f){if(!e.pointsCollinear(o,s,c))return!1;if(e.pointsSame(o,u)||e.pointsSame(s,c))return!1;var h=e.pointsSame(o,c),p=e.pointsSame(s,u);if(h&&p)return n;var d=!h&&e.pointBetween(o,c,u),g=!p&&e.pointBetween(s,c,u);if(h)return g?l(n,s):l(t,u),n;d&&(p||(g?l(n,s):l(t,u)),l(n,o))}else 0===f.alongA&&(-1===f.alongB?l(t,c):0===f.alongB?l(t,f.pt):1===f.alongB&&l(t,u)),0===f.alongB&&(-1===f.alongA?l(n,o):0===f.alongA?l(n,f.pt):1===f.alongA&&l(n,s));return!1}for(var f=[];!a.isEmpty();){var h=a.getHead();if(r&&r.vert(h.pt[0]),h.isStart){r&&r.segmentNew(h.seg,h.primary);var p=c(h),d=p.before?p.before.ev:null,g=p.after?p.after.ev:null;function m(){if(d){var t=u(h,d);if(t)return t}return!!g&&u(h,g)}r&&r.tempStatus(h.seg,!!d&&d.seg,!!g&&g.seg);var v,y=m();if(y){var x;if(t)(x=null===h.seg.myFill.below||h.seg.myFill.above!==h.seg.myFill.below)&&(y.seg.myFill.above=!y.seg.myFill.above);else y.seg.otherFill=h.seg.myFill;r&&r.segmentUpdate(y.seg),h.other.remove(),h.remove()}if(a.getHead()!==h){r&&r.rewind(h.seg);continue}if(t)x=null===h.seg.myFill.below||h.seg.myFill.above!==h.seg.myFill.below,h.seg.myFill.below=g?g.seg.myFill.above:i,h.seg.myFill.above=x?!h.seg.myFill.below:h.seg.myFill.below;else if(null===h.seg.otherFill)v=g?h.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:h.primary?o:i,h.seg.otherFill={above:v,below:v};r&&r.status(h.seg,!!d&&d.seg,!!g&&g.seg),h.other.status=p.insert(n.node({ev:h}))}else{var b=h.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(b.prev)&&s.exists(b.next)&&u(b.prev.ev,b.next.ev),r&&r.statusRemove(b.ev.seg),b.remove(),!h.primary){var _=h.seg.myFill;h.seg.myFill=h.seg.otherFill,h.seg.otherFill=_}f.push(h.seg)}a.getHead().remove()}return r&&r.done(),f}return t?{addRegion:function(t){for(var n,i,a,o=t[t.length-1],l=0;l<t.length;l++){n=o,o=t[l];var c=e.pointsCompare(n,o);0!==c&&s((i=c<0?n:o,a=c<0?o:n,{id:r?r.segmentId():-1,start:i,end:a,myFill:{above:null,below:null},otherFill:null}),!0)}},calculate:function(t){return c(t,!1)}}:{calculate:function(t,e,r,n){return t.forEach((function(t){s(i(t.start,t.end,t),!0)})),r.forEach((function(t){s(i(t.start,t.end,t),!1)})),c(e,n)}}}},{"./linked-list":259}],259:[function(t,e,r){e.exports={create:function(){var t={root:{root:!0,next:null},exists:function(e){return null!==e&&e!==t.root},isEmpty:function(){return null===t.root.next},getHead:function(){return t.root.next},insertBefore:function(e,r){for(var n=t.root,i=t.root.next;null!==i;){if(r(i))return e.prev=i.prev,e.next=i,i.prev.next=e,void(i.prev=e);n=i,i=i.next}n.next=e,e.prev=n,e.next=null},findTransition:function(e){for(var r=t.root,n=t.root.next;null!==n&&!e(n);)r=n,n=n.next;return{before:r===t.root?null:r,after:n,insert:function(t){return t.prev=r,t.next=n,r.next=t,null!==n&&(n.prev=t),t}}}};return t},node:function(t){return t.prev=null,t.next=null,t.remove=function(){t.prev.next=t.next,t.next&&(t.next.prev=t.prev),t.prev=null,t.next=null},t}}},{}],260:[function(t,e,r){e.exports=function(t,e,r){var n=[],i=[];return t.forEach((function(t){var a=t.start,o=t.end;if(e.pointsSame(a,o))console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");else{r&&r.chainStart(t);for(var s={index:0,matches_head:!1,matches_pt1:!1},l={index:0,matches_head:!1,matches_pt1:!1},c=s,u=0;u<n.length;u++){var f=(m=n[u])[0],h=(m[1],m[m.length-1]);m[m.length-2];if(e.pointsSame(f,a)){if(k(u,!0,!0))break}else if(e.pointsSame(f,o)){if(k(u,!0,!1))break}else if(e.pointsSame(h,a)){if(k(u,!1,!0))break}else if(e.pointsSame(h,o)&&k(u,!1,!1))break}if(c===s)return n.push([a,o]),void(r&&r.chainNew(a,o));if(c===l){r&&r.chainMatch(s.index);var p=s.index,d=s.matches_pt1?o:a,g=s.matches_head,m=n[p],v=g?m[0]:m[m.length-1],y=g?m[1]:m[m.length-2],x=g?m[m.length-1]:m[0],b=g?m[m.length-2]:m[1];return e.pointsCollinear(y,v,d)&&(g?(r&&r.chainRemoveHead(s.index,d),m.shift()):(r&&r.chainRemoveTail(s.index,d),m.pop()),v=y),e.pointsSame(x,d)?(n.splice(p,1),e.pointsCollinear(b,x,v)&&(g?(r&&r.chainRemoveTail(s.index,v),m.pop()):(r&&r.chainRemoveHead(s.index,v),m.shift())),r&&r.chainClose(s.index),void i.push(m)):void(g?(r&&r.chainAddHead(s.index,d),m.unshift(d)):(r&&r.chainAddTail(s.index,d),m.push(d)))}var _=s.index,w=l.index;r&&r.chainConnect(_,w);var T=n[_].length<n[w].length;s.matches_head?l.matches_head?T?(A(_),M(_,w)):(A(w),M(w,_)):M(w,_):l.matches_head?M(_,w):T?(A(_),M(w,_)):(A(w),M(_,w))}function k(t,e,r){return c.index=t,c.matches_head=e,c.matches_pt1=r,c===s?(c=l,!1):(c=null,!0)}function A(t){r&&r.chainReverse(t),n[t].reverse()}function M(t,i){var a=n[t],o=n[i],s=a[a.length-1],l=a[a.length-2],c=o[0],u=o[1];e.pointsCollinear(l,s,c)&&(r&&r.chainRemoveTail(t,s),a.pop(),s=l),e.pointsCollinear(s,c,u)&&(r&&r.chainRemoveHead(i,c),o.shift()),r&&r.chainJoin(t,i),n[t]=a.concat(o),n.splice(i,1)}})),i}},{}],261:[function(t,e,r){function n(t,e,r){var n=[];return t.forEach((function(t){var i=(t.myFill.above?8:0)+(t.myFill.below?4:0)+(t.otherFill&&t.otherFill.above?2:0)+(t.otherFill&&t.otherFill.below?1:0);0!==e[i]&&n.push({id:r?r.segmentId():-1,start:t.start,end:t.end,myFill:{above:1===e[i],below:2===e[i]},otherFill:null})})),r&&r.selected(n),n}var i={union:function(t,e){return n(t,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],e)},intersect:function(t,e){return n(t,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],e)},difference:function(t,e){return n(t,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],e)},differenceRev:function(t,e){return n(t,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],e)},xor:function(t,e){return n(t,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],e)}};e.exports=i},{}],262:[function(t,e,r){"use strict";var n=t("stream").Transform,i=t("stream-parser");function a(){n.call(this,{readableObjectMode:!0})}function o(t,e,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name=this.constructor.name,this.message=t,e&&(this.code=e),r&&(this.statusCode=r)}a.prototype=Object.create(n.prototype),a.prototype.constructor=a,i(a.prototype),r.ParserStream=a,r.sliceEq=function(t,e,r){for(var n=e,i=0;i<r.length;)if(t[n++]!==r[i++])return!1;return!0},r.str2arr=function(t,e){var r=[],n=0;if(e&&"hex"===e)for(;n<t.length;)r.push(parseInt(t.slice(n,n+2),16)),n+=2;else for(;n<t.length;n++)r.push(255&t.charCodeAt(n));return r},r.readUInt16LE=function(t,e){return t[e]|t[e+1]<<8},r.readUInt16BE=function(t,e){return t[e+1]|t[e]<<8},r.readUInt32LE=function(t,e){return t[e]|t[e+1]<<8|t[e+2]<<16|16777216*t[e+3]},r.readUInt32BE=function(t,e){return t[e+3]|t[e+2]<<8|t[e+1]<<16|16777216*t[e]},o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,r.ProbeError=o},{stream:285,"stream-parser":301}],263:[function(t,e,r){"use strict";function n(t,e){var r=new Error(t);return r.code=e,r}function i(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}function a(t,e,r){this.input=t.subarray(e,r),this.start=e;var i=String.fromCharCode.apply(null,this.input.subarray(0,4));if("II*\0"!==i&&"MM\0*"!==i)throw n("invalid TIFF signature","EBADDATA");this.big_endian="M"===i[0]}a.prototype.each=function(t){this.aborted=!1;var e=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:e}];this.ifds_to_read.length>0&&!this.aborted;){var r=this.ifds_to_read.shift();r.offset&&this.scan_ifd(r.id,r.offset,t)}},a.prototype.read_uint16=function(t){var e=this.input;if(t+2>e.length)throw n("unexpected EOF","EBADDATA");return this.big_endian?256*e[t]+e[t+1]:e[t]+256*e[t+1]},a.prototype.read_uint32=function(t){var e=this.input;if(t+4>e.length)throw n("unexpected EOF","EBADDATA");return this.big_endian?16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]:e[t]+256*e[t+1]+65536*e[t+2]+16777216*e[t+3]},a.prototype.is_subifd_link=function(t,e){return 0===t&&34665===e||0===t&&34853===e||34665===t&&40965===e},a.prototype.exif_format_length=function(t){switch(t){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},a.prototype.exif_format_read=function(t,e){var r;switch(t){case 1:case 2:return r=this.input[e];case 6:return(r=this.input[e])|33554430*(128&r);case 3:return r=this.read_uint16(e);case 8:return(r=this.read_uint16(e))|131070*(32768&r);case 4:return r=this.read_uint32(e);case 9:return 0|(r=this.read_uint32(e));case 5:case 10:case 11:case 12:case 7:default:return null}},a.prototype.scan_ifd=function(t,e,r){var a=this.read_uint16(e);e+=2;for(var o=0;o<a;o++){var s=this.read_uint16(e),l=this.read_uint16(e+2),c=this.read_uint32(e+4),u=this.exif_format_length(l),f=c*u,h=f<=4?e+8:this.read_uint32(e+8),p=!1;if(h+f>this.input.length)throw n("unexpected EOF","EBADDATA");for(var d=[],g=h,m=0;m<c;m++,g+=u){var v=this.exif_format_read(l,g);if(null===v){d=null;break}d.push(v)}if(Array.isArray(d)&&2===l&&(d=i(String.fromCharCode.apply(null,d)))&&"\0"===d[d.length-1]&&(d=d.slice(0,-1)),this.is_subifd_link(t,s)&&Array.isArray(d)&&Number.isInteger(d[0])&&d[0]>0&&(this.ifds_to_read.push({id:s,offset:d[0]}),p=!0),!1===r({is_big_endian:this.big_endian,ifd:t,tag:s,format:l,count:c,entry_offset:e+this.start,data_length:f,data_offset:h+this.start,value:d,is_subifd_link:p}))return void(this.aborted=!0);e+=12}0===t&&this.ifds_to_read.push({id:1,offset:this.read_uint32(e)})},e.exports.ExifParser=a,e.exports.get_orientation=function(t){var e=0;try{return new a(t,0,t.length).each((function(t){if(0===t.ifd&&274===t.tag&&Array.isArray(t.value))return e=t.value[0],!1})),e}catch(t){return-1}}},{}],264:[function(t,e,r){"use strict";var n=t("./common").readUInt16BE,i=t("./common").readUInt32BE;function a(t,e){if(t.length<4+e)return null;var r=i(t,e);return t.length<r+e||r<8?null:{boxtype:String.fromCharCode.apply(null,t.slice(e+4,e+8)),data:t.slice(e+8,e+r),end:e+r}}function o(t,e){for(var r=0;;){var n=a(t,r);if(!n)break;switch(n.boxtype){case"ispe":e.sizes.push({width:i(n.data,4),height:i(n.data,8)});break;case"irot":e.transforms.push({type:"irot",value:3&n.data[0]});break;case"imir":e.transforms.push({type:"imir",value:1&n.data[0]})}r=n.end}}function s(t,e,r){for(var n=0,i=0;i<r;i++)n=256*n+(t[e+i]||0);return n}function l(t,e){for(var r=t[4]>>4&15,i=15&t[4],a=t[5]>>4&15,o=n(t,6),l=8,c=0;c<o;c++){var u=n(t,l),f=n(t,l+=2),h=s(t,l+=2,a),p=n(t,l+=a);if(l+=2,0===f&&1===p){var d=s(t,l,r),g=s(t,l+r,i);e.item_loc[u]={length:g,offset:d+h}}l+=p*(r+i)}}function c(t,e){for(var r=n(t,4),i=6,o=0;o<r;o++){var s=a(t,i);if(!s)break;if("infe"===s.boxtype){for(var l=n(s.data,4),c="",u=8;u<s.data.length&&s.data[u];u++)c+=String.fromCharCode(s.data[u]);e.item_inf[c]=l}i=s.end}}function u(t,e){for(var r=0;;){var n=a(t,r);if(!n)break;"ipco"===n.boxtype&&o(n.data,e),r=n.end}}e.exports.unbox=a,e.exports.readSizeFromMeta=function(t){var e={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(function(t,e){for(var r=4;;){var n=a(t,r);if(!n)break;"iprp"===n.boxtype&&u(n.data,e),"iloc"===n.boxtype&&l(n.data,e),"iinf"===n.boxtype&&c(n.data,e),r=n.end}}(t,e),e.sizes.length){var r,n,i,o=(r=e.sizes,n=r.reduce((function(t,e){return t.width>e.width||t.width===e.width&&t.height>e.height?t:e})),i=r.reduce((function(t,e){return t.height>e.height||t.height===e.height&&t.width>e.width?t:e})),n.width>i.height||n.width===i.height&&n.height>i.width?n:i),s=1;e.transforms.forEach((function(t){var e={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},r={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if("imir"===t.type&&(s=0===t.value?r[s]:e[s=e[s=r[s]]]),"irot"===t.type)for(var n=0;n<t.value;n++)s=e[s]}));var f=null;return e.item_inf.Exif&&(f=e.item_loc[e.item_inf.Exif]),{width:o.width,height:o.height,orientation:e.transforms.length?s:null,variants:e.sizes,exif_location:f}}},e.exports.getMimeType=function(t){var e=String.fromCharCode.apply(null,t.slice(0,4)),r={};r[e]=!0;for(var n=8;n<t.length;n+=4)r[String.fromCharCode.apply(null,t.slice(n,n+4))]=!0;if(r.mif1||r.msf1||r.miaf)return"avif"===e||"avis"===e||"avio"===e?{type:"avif",mime:"image/avif"}:"heic"===e||"heix"===e?{type:"heic",mime:"image/heic"}:"hevc"===e||"hevx"===e?{type:"heic",mime:"image/heic-sequence"}:r.avif||r.avis?{type:"avif",mime:"image/avif"}:r.heic||r.heix||r.hevc||r.hevx||r.heis?r.msf1?{type:"heif",mime:"image/heif-sequence"}:{type:"heif",mime:"image/heif"}:{type:"avif",mime:"image/avif"}}},{"./common":262}],265:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt32BE,o=t("../miaf_utils"),s=t("../exif_utils"),l=n("ftyp");e.exports=function(t){if(i(t,4,l)){var e=o.unbox(t,0);if(e){var r=o.getMimeType(e.data);if(r){for(var n,c=e.end;;){var u=o.unbox(t,c);if(!u)break;if(c=u.end,"mdat"===u.boxtype)return;if("meta"===u.boxtype){n=u.data;break}}if(n){var f=o.readSizeFromMeta(n);if(f){var h={width:f.width,height:f.height,type:r.type,mime:r.mime,wUnits:"px",hUnits:"px"};if(f.variants.length>1&&(h.variants=f.variants),f.orientation&&(h.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=t.length){var p=a(t,f.exif_location.offset),d=t.slice(f.exif_location.offset+p+4,f.exif_location.offset+f.exif_location.length),g=s.get_orientation(d);g>0&&(h.orientation=g)}return h}}}}}}},{"../common":262,"../exif_utils":263,"../miaf_utils":264}],266:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt16LE,o=n("BM");e.exports=function(t){if(!(t.length<26)&&i(t,0,o))return{width:a(t,18),height:a(t,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},{"../common":262}],267:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt16LE,o=n("GIF87a"),s=n("GIF89a");e.exports=function(t){if(!(t.length<10)&&(i(t,0,o)||i(t,0,s)))return{width:a(t,6),height:a(t,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},{"../common":262}],268:[function(t,e,r){"use strict";var n=t("../common").readUInt16LE;e.exports=function(t){var e=n(t,0),r=n(t,2),i=n(t,4);if(0===e&&1===r&&i){for(var a=[],o={width:0,height:0},s=0;s<i;s++){var l=t[6+16*s]||256,c=t[6+16*s+1]||256,u={width:l,height:c};a.push(u),(l>o.width||c>o.height)&&(o=u)}return{width:o.width,height:o.height,variants:a,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},{"../common":262}],269:[function(t,e,r){"use strict";var n=t("../common").readUInt16BE,i=t("../common").str2arr,a=t("../common").sliceEq,o=t("../exif_utils"),s=i("Exif\0\0");e.exports=function(t){if(!(t.length<2)&&255===t[0]&&216===t[1]&&255===t[2])for(var e=2;;){for(;;){if(t.length-e<2)return;if(255===t[e++])break}for(var r,i,l=t[e++];255===l;)l=t[e++];if(208<=l&&l<=217||1===l)r=0;else{if(!(192<=l&&l<=254))return;if(t.length-e<2)return;r=n(t,e)-2,e+=2}if(217===l||218===l)return;if(225===l&&r>=10&&a(t,e,s)&&(i=o.get_orientation(t.slice(e+6,e+r))),r>=5&&192<=l&&l<=207&&196!==l&&200!==l&&204!==l){if(t.length-e<r)return;var c={width:n(t,e+3),height:n(t,e+1),type:"jpg",mime:"image/jpeg",wUnits:"px",hUnits:"px"};return i>0&&(c.orientation=i),c}e+=r}}},{"../common":262,"../exif_utils":263}],270:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt32BE,o=n("\x89PNG\r\n\x1a\n"),s=n("IHDR");e.exports=function(t){if(!(t.length<24)&&i(t,0,o)&&i(t,12,s))return{width:a(t,16),height:a(t,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},{"../common":262}],271:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt32BE,o=n("8BPS\0\x01");e.exports=function(t){if(!(t.length<22)&&i(t,0,o))return{width:a(t,18),height:a(t,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},{"../common":262}],272:[function(t,e,r){"use strict";function n(t){return"number"==typeof t&&isFinite(t)&&t>0}var i=/<[-_.:a-zA-Z0-9][^>]*>/,a=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,o=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,s=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,l=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,c=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function u(t){return c.test(t)?t.match(c)[0]:"px"}e.exports=function(t){if(function(t){var e,r=0,n=t.length;for(239===t[0]&&187===t[1]&&191===t[2]&&(r=3);r<n&&(32===(e=t[r])||9===e||13===e||10===e);)r++;return r!==n&&60===t[r]}(t)){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);var c=(e.match(i)||[""])[0];if(a.test(c)){var f=function(t){var e=t.match(o),r=t.match(s),n=t.match(l);return{width:e&&(e[1]||e[2]),height:r&&(r[1]||r[2]),viewbox:n&&(n[1]||n[2])}}(c),h=parseFloat(f.width),p=parseFloat(f.height);if(f.width&&f.height){if(!n(h)||!n(p))return;return{width:h,height:p,type:"svg",mime:"image/svg+xml",wUnits:u(f.width),hUnits:u(f.height)}}var d=(f.viewbox||"").split(" "),g={width:d[2],height:d[3]},m=parseFloat(g.width),v=parseFloat(g.height);if(n(m)&&n(v)&&u(g.width)===u(g.height)){var y=m/v;if(f.width){if(!n(h))return;return{width:h,height:h/y,type:"svg",mime:"image/svg+xml",wUnits:u(f.width),hUnits:u(f.width)}}if(f.height){if(!n(p))return;return{width:p*y,height:p,type:"svg",mime:"image/svg+xml",wUnits:u(f.height),hUnits:u(f.height)}}return{width:m,height:v,type:"svg",mime:"image/svg+xml",wUnits:u(g.width),hUnits:u(g.height)}}}}}},{}],273:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt16LE,o=t("../common").readUInt16BE,s=t("../common").readUInt32LE,l=t("../common").readUInt32BE,c=n("II*\0"),u=n("MM\0*");function f(t,e,r){return r?o(t,e):a(t,e)}function h(t,e,r){return r?l(t,e):s(t,e)}function p(t,e,r){var n=f(t,e+2,r);return 1!==h(t,e+4,r)||3!==n&&4!==n?null:3===n?f(t,e+8,r):h(t,e+8,r)}e.exports=function(t){if(!(t.length<8)&&(i(t,0,c)||i(t,0,u))){var e=77===t[0],r=h(t,4,e)-8;if(!(r<0)){var n=r+8;if(!(t.length-n<2)){var a=12*f(t,n+0,e);if(!(a<=0||(n+=2,t.length-n<a))){var o,s,l,d;for(o=0;o<a;o+=12)256===(d=f(t,n+o,e))?s=p(t,n+o,e):257===d&&(l=p(t,n+o,e));return s&&l?{width:s,height:l,type:"tiff",mime:"image/tiff",wUnits:"px",hUnits:"px"}:void 0}}}}}},{"../common":262}],274:[function(t,e,r){"use strict";var n=t("../common").str2arr,i=t("../common").sliceEq,a=t("../common").readUInt16LE,o=t("../common").readUInt32LE,s=t("../exif_utils"),l=n("RIFF"),c=n("WEBP");function u(t,e){if(157===t[e+3]&&1===t[e+4]&&42===t[e+5])return{width:16383&a(t,e+6),height:16383&a(t,e+8),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}function f(t,e){if(47===t[e]){var r=o(t,e+1);return{width:1+(16383&r),height:1+(r>>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function h(t,e){return{width:1+(t[e+6]<<16|t[e+5]<<8|t[e+4]),height:1+(t[e+9]<<e|t[e+8]<<8|t[e+7]),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}e.exports=function(t){if(!(t.length<16)&&(i(t,0,l)||i(t,8,c))){var e=12,r=null,n=0,a=o(t,4)+8;if(!(a>t.length)){for(;e+8<a;)if(0!==t[e]){var p=String.fromCharCode.apply(null,t.slice(e,e+4)),d=o(t,e+4);"VP8 "===p&&d>=10?r=r||u(t,e+8):"VP8L"===p&&d>=9?r=r||f(t,e+8):"VP8X"===p&&d>=10?r=r||h(t,e+8):"EXIF"===p&&(n=s.get_orientation(t.slice(e+8,e+8+d)),e=1/0),e+=8+d}else e++;if(r)return n>0&&(r.orientation=n),r}}}},{"../common":262,"../exif_utils":263}],275:[function(t,e,r){"use strict";e.exports={avif:t("./parse_sync/avif"),bmp:t("./parse_sync/bmp"),gif:t("./parse_sync/gif"),ico:t("./parse_sync/ico"),jpeg:t("./parse_sync/jpeg"),png:t("./parse_sync/png"),psd:t("./parse_sync/psd"),svg:t("./parse_sync/svg"),tiff:t("./parse_sync/tiff"),webp:t("./parse_sync/webp")}},{"./parse_sync/avif":265,"./parse_sync/bmp":266,"./parse_sync/gif":267,"./parse_sync/ico":268,"./parse_sync/jpeg":269,"./parse_sync/png":270,"./parse_sync/psd":271,"./parse_sync/svg":272,"./parse_sync/tiff":273,"./parse_sync/webp":274}],276:[function(t,e,r){"use strict";var n=t("./lib/parsers_sync");e.exports=function(t){return function(t){for(var e=Object.keys(n),r=0;r<e.length;r++){var i=n[e[r]](t);if(i)return i}return null}(t)},e.exports.parsers=n},{"./lib/parsers_sync":275}],277:[function(t,e,r){var n,i,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var c,u=[],f=!1,h=-1;function p(){f&&c&&(f=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!f){var t=l(p);f=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function m(){}a.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new g(t,e)),1!==u.length||f||l(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(t){return[]},a.binding=function(t){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],278:[function(t,e,r){(function(r){(function(){for(var n=t("performance-now"),i="undefined"==typeof window?r:window,a=["moz","webkit"],o="AnimationFrame",s=i["request"+o],l=i["cancel"+o]||i["cancelRequest"+o],c=0;!s&&c<a.length;c++)s=i[a[c]+"Request"+o],l=i[a[c]+"Cancel"+o]||i[a[c]+"CancelRequest"+o];if(!s||!l){var u=0,f=0,h=[];s=function(t){if(0===h.length){var e=n(),r=Math.max(0,1e3/60-(e-u));u=r+e,setTimeout((function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(u)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(r))}return h.push({handle:++f,callback:t,cancelled:!1}),f},l=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}e.exports=function(t){return s.call(i,t)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=l}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":252}],279:[function(t,e,r){"use strict";var n=t("array-bounds"),i=t("color-normalize"),a=t("update-diff"),o=t("pick-by-alias"),s=t("object-assign"),l=t("flatten-vertex-data"),c=t("to-float32"),u=c.float32,f=c.fract32;e.exports=function(t,e){"function"==typeof t?(e||(e={}),e.regl=t):e=t;e.length&&(e.positions=e);if(!(t=e.regl).hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");var r,c,p,d,g,m,v=t._gl,y={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},x=[];return d=t.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),c=t.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),p=t.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),g=t.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),m=t.buffer({usage:"static",type:"float",data:h}),T(e),r=t({vert:"\n\t\tprecision highp float;\n\n\t\tattribute vec2 position, positionFract;\n\t\tattribute vec4 error;\n\t\tattribute vec4 color;\n\n\t\tattribute vec2 direction, lineOffset, capOffset;\n\n\t\tuniform vec4 viewport;\n\t\tuniform float lineWidth, capSize;\n\t\tuniform vec2 scale, scaleFract, translate, translateFract;\n\n\t\tvarying vec4 fragColor;\n\n\t\tvoid main() {\n\t\t\tfragColor = color / 255.;\n\n\t\t\tvec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;\n\n\t\t\tvec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;\n\n\t\t\tvec2 position = position + dxy;\n\n\t\t\tvec2 pos = (position + translate) * scale\n\t\t\t\t+ (positionFract + translateFract) * scale\n\t\t\t\t+ (position + translate) * scaleFract\n\t\t\t\t+ (positionFract + translateFract) * scaleFract;\n\n\t\t\tpos += pixelOffset / viewport.zw;\n\n\t\t\tgl_Position = vec4(pos * 2. - 1., 0, 1);\n\t\t}\n\t\t",frag:"\n\t\tprecision highp float;\n\n\t\tvarying vec4 fragColor;\n\n\t\tuniform float opacity;\n\n\t\tvoid main() {\n\t\t\tgl_FragColor = fragColor;\n\t\t\tgl_FragColor.a *= opacity;\n\t\t}\n\t\t",uniforms:{range:t.prop("range"),lineWidth:t.prop("lineWidth"),capSize:t.prop("capSize"),opacity:t.prop("opacity"),scale:t.prop("scale"),translate:t.prop("translate"),scaleFract:t.prop("scaleFract"),translateFract:t.prop("translateFract"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]}},attributes:{color:{buffer:d,offset:function(t,e){return 4*e.offset},divisor:1},position:{buffer:c,offset:function(t,e){return 8*e.offset},divisor:1},positionFract:{buffer:p,offset:function(t,e){return 8*e.offset},divisor:1},error:{buffer:g,offset:function(t,e){return 16*e.offset},divisor:1},direction:{buffer:m,stride:24,offset:0},lineOffset:{buffer:m,stride:24,offset:8},capOffset:{buffer:m,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:t.prop("viewport")},viewport:t.prop("viewport"),stencil:!1,instances:t.prop("count"),count:h.length}),s(b,{update:T,draw:_,destroy:k,regl:t,gl:v,canvas:v.canvas,groups:x}),b;function b(t){t?T(t):null===t&&k(),_()}function _(e){if("number"==typeof e)return w(e);e&&!Array.isArray(e)&&(e=[e]),t._refresh(),x.forEach((function(t,r){t&&(e&&(e[r]?t.draw=!0:t.draw=!1),t.draw?w(r):t.draw=!0)}))}function w(t){"number"==typeof t&&(t=x[t]),null!=t&&t&&t.count&&t.color&&t.opacity&&t.positions&&t.positions.length>1&&(t.scaleRatio=[t.scale[0]*t.viewport.width,t.scale[1]*t.viewport.height],r(t),t.after&&t.after(t))}function T(t){if(t){null!=t.length?"number"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var e=0,r=0;if(b.groups=x=t.map((function(t,c){var u=x[c];return t?("function"==typeof t?t={after:t}:"number"==typeof t[0]&&(t={positions:t}),t=o(t,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),u||(x[c]=u={id:c,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},t=s({},y,t)),a(u,t,[{lineWidth:function(t){return.5*+t},capSize:function(t){return.5*+t},opacity:parseFloat,errors:function(t){return t=l(t),r+=t.length,t},positions:function(t,r){return t=l(t,"float64"),r.count=Math.floor(t.length/2),r.bounds=n(t,2),r.offset=e,e+=r.count,t}},{color:function(t,e){var r=e.count;if(t||(t="transparent"),!Array.isArray(t)||"number"==typeof t[0]){var n=t;t=Array(r);for(var a=0;a<r;a++)t[a]=n}if(t.length<r)throw Error("Not enough colors");for(var o=new Uint8Array(4*r),s=0;s<r;s++){var l=i(t[s],"uint8");o.set(l,4*s)}return o},range:function(t,e,r){var n=e.bounds;return t||(t=n),e.scale=[1/(t[2]-t[0]),1/(t[3]-t[1])],e.translate=[-t[0],-t[1]],e.scaleFract=f(e.scale),e.translateFract=f(e.translate),t},viewport:function(t){var e;return Array.isArray(t)?e={x:t[0],y:t[1],width:t[2]-t[0],height:t[3]-t[1]}:t?(e={x:t.x||t.left||0,y:t.y||t.top||0},t.right?e.width=t.right-e.x:e.width=t.w||t.width||0,t.bottom?e.height=t.bottom-e.y:e.height=t.h||t.height||0):e={x:0,y:0,width:v.drawingBufferWidth,height:v.drawingBufferHeight},e}}]),u):u})),e||r){var h=x.reduce((function(t,e,r){return t+(e?e.count:0)}),0),m=new Float64Array(2*h),_=new Uint8Array(4*h),w=new Float32Array(4*h);x.forEach((function(t,e){if(t){var r=t.positions,n=t.count,i=t.offset,a=t.color,o=t.errors;n&&(_.set(a,4*i),w.set(o,4*i),m.set(r,2*i))}}));var T=u(m);c(T);var k=f(m,T);p(k),d(_),g(w)}}}function k(){c.destroy(),p.destroy(),d.destroy(),g.destroy(),m.destroy()}};var h=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]]},{"array-bounds":71,"color-normalize":89,"flatten-vertex-data":191,"object-assign":247,"pick-by-alias":253,"to-float32":313,"update-diff":329}],280:[function(t,e,r){"use strict";var n=t("color-normalize"),i=t("array-bounds"),a=t("object-assign"),o=t("glslify"),s=t("pick-by-alias"),l=t("flatten-vertex-data"),c=t("earcut"),u=t("array-normalize"),f=t("to-float32"),h=f.float32,p=f.fract32,d=t("es6-weak-map"),g=t("parse-rect"),m=t("array-find-index");function v(t,e){if(!(this instanceof v))return new v(t,e);if("function"==typeof t?(e||(e={}),e.regl=t):e=t,e.length&&(e.positions=e),!(t=e.regl).hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=t._gl,this.regl=t,this.passes=[],this.shaders=v.shaders.has(t)?v.shaders.get(t):v.shaders.set(t,v.createShaders(t)).get(t),this.update(e)}e.exports=v,v.dashMult=2,v.maxPatternLength=256,v.precisionThreshold=3e6,v.maxPoints=1e4,v.maxLines=2048,v.shaders=new d,v.createShaders=function(t){var e,r=t.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),n={primitive:"triangle strip",instances:t.prop("count"),count:4,offset:0,uniforms:{miterMode:function(t,e){return"round"===e.join?2:1},miterLimit:t.prop("miterLimit"),scale:t.prop("scale"),scaleFract:t.prop("scaleFract"),translateFract:t.prop("translateFract"),translate:t.prop("translate"),thickness:t.prop("thickness"),dashTexture:t.prop("dashTexture"),opacity:t.prop("opacity"),pixelRatio:t.context("pixelRatio"),id:t.prop("id"),dashLength:t.prop("dashLength"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]},depth:t.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:function(t,e){return!e.overlay}},stencil:{enable:!1},scissor:{enable:!0,box:t.prop("viewport")},viewport:t.prop("viewport")},i=t(a({vert:o(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aCoord, bCoord, aCoordFract, bCoordFract;\nattribute vec4 color;\nattribute float lineEnd, lineTop;\n\nuniform vec2 scale, scaleFract, translate, translateFract;\nuniform float thickness, pixelRatio, id, depth;\nuniform vec4 viewport;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\n\nvec2 project(vec2 position, vec2 positionFract, vec2 scale, vec2 scaleFract, vec2 translate, vec2 translateFract) {\n\t// the order is important\n\treturn position * scale + translate\n       + positionFract * scale + translateFract\n       + position * scaleFract\n       + positionFract * scaleFract;\n}\n\nvoid main() {\n\tfloat lineStart = 1. - lineEnd;\n\tfloat lineOffset = lineTop * 2. - 1.;\n\n\tvec2 diff = (bCoord + bCoordFract - aCoord - aCoordFract);\n\ttangent = normalize(diff * scale * viewport.zw);\n\tvec2 normal = vec2(-tangent.y, tangent.x);\n\n\tvec2 position = project(aCoord, aCoordFract, scale, scaleFract, translate, translateFract) * lineStart\n\t\t+ project(bCoord, bCoordFract, scale, scaleFract, translate, translateFract) * lineEnd\n\n\t\t+ thickness * normal * .5 * lineOffset / viewport.zw;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tfragColor = color / 255.;\n}\n"]),frag:o(["precision highp float;\n#define GLSLIFY 1\n\nuniform float dashLength, pixelRatio, thickness, opacity, id;\nuniform sampler2D dashTexture;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\n\nvoid main() {\n\tfloat alpha = 1.;\n\n\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;\n\tfloat dash = texture2D(dashTexture, vec2(t, .5)).r;\n\n\tgl_FragColor = fragColor;\n\tgl_FragColor.a *= alpha * opacity * dash;\n}\n"]),attributes:{lineEnd:{buffer:r,divisor:0,stride:8,offset:0},lineTop:{buffer:r,divisor:0,stride:8,offset:4},aCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:t.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:t.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:t.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},n));try{e=t(a({cull:{enable:!0,face:"back"},vert:o(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aCoord, bCoord, nextCoord, prevCoord;\nattribute vec4 aColor, bColor;\nattribute float lineEnd, lineTop;\n\nuniform vec2 scale, translate;\nuniform float thickness, pixelRatio, id, depth;\nuniform vec4 viewport;\nuniform float miterLimit, miterMode;\n\nvarying vec4 fragColor;\nvarying vec4 startCutoff, endCutoff;\nvarying vec2 tangent;\nvarying vec2 startCoord, endCoord;\nvarying float enableStartMiter, enableEndMiter;\n\nconst float REVERSE_THRESHOLD = -.875;\nconst float MIN_DIFF = 1e-6;\n\n// TODO: possible optimizations: avoid overcalculating all for vertices and calc just one instead\n// TODO: precalculate dot products, normalize things beforehead etc.\n// TODO: refactor to rectangular algorithm\n\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\n\tvec2 diff = b - a;\n\tvec2 perp = normalize(vec2(-diff.y, diff.x));\n\treturn dot(p - a, perp);\n}\n\nbool isNaN( float val ){\n  return ( val < 0.0 || 0.0 < val || val == 0.0 ) ? false : true;\n}\n\nvoid main() {\n\tvec2 aCoord = aCoord, bCoord = bCoord, prevCoord = prevCoord, nextCoord = nextCoord;\n\n  vec2 adjustedScale;\n  adjustedScale.x = (abs(scale.x) < MIN_DIFF) ? MIN_DIFF : scale.x;\n  adjustedScale.y = (abs(scale.y) < MIN_DIFF) ? MIN_DIFF : scale.y;\n\n  vec2 scaleRatio = adjustedScale * viewport.zw;\n\tvec2 normalWidth = thickness / scaleRatio;\n\n\tfloat lineStart = 1. - lineEnd;\n\tfloat lineBot = 1. - lineTop;\n\n\tfragColor = (lineStart * aColor + lineEnd * bColor) / 255.;\n\n\tif (isNaN(aCoord.x) || isNaN(aCoord.y) || isNaN(bCoord.x) || isNaN(bCoord.y)) return;\n\n\tif (aCoord == prevCoord) prevCoord = aCoord + normalize(bCoord - aCoord);\n\tif (bCoord == nextCoord) nextCoord = bCoord - normalize(bCoord - aCoord);\n\n\tvec2 prevDiff = aCoord - prevCoord;\n\tvec2 currDiff = bCoord - aCoord;\n\tvec2 nextDiff = nextCoord - bCoord;\n\n\tvec2 prevTangent = normalize(prevDiff * scaleRatio);\n\tvec2 currTangent = normalize(currDiff * scaleRatio);\n\tvec2 nextTangent = normalize(nextDiff * scaleRatio);\n\n\tvec2 prevNormal = vec2(-prevTangent.y, prevTangent.x);\n\tvec2 currNormal = vec2(-currTangent.y, currTangent.x);\n\tvec2 nextNormal = vec2(-nextTangent.y, nextTangent.x);\n\n\tvec2 startJoinDirection = normalize(prevTangent - currTangent);\n\tvec2 endJoinDirection = normalize(currTangent - nextTangent);\n\n\t// collapsed/unidirectional segment cases\n\t// FIXME: there should be more elegant solution\n\tvec2 prevTanDiff = abs(prevTangent - currTangent);\n\tvec2 nextTanDiff = abs(nextTangent - currTangent);\n\tif (max(prevTanDiff.x, prevTanDiff.y) < MIN_DIFF) {\n\t\tstartJoinDirection = currNormal;\n\t}\n\tif (max(nextTanDiff.x, nextTanDiff.y) < MIN_DIFF) {\n\t\tendJoinDirection = currNormal;\n\t}\n\tif (aCoord == bCoord) {\n\t\tendJoinDirection = startJoinDirection;\n\t\tcurrNormal = prevNormal;\n\t\tcurrTangent = prevTangent;\n\t}\n\n\ttangent = currTangent;\n\n\t//calculate join shifts relative to normals\n\tfloat startJoinShift = dot(currNormal, startJoinDirection);\n\tfloat endJoinShift = dot(currNormal, endJoinDirection);\n\n\tfloat startMiterRatio = abs(1. / startJoinShift);\n\tfloat endMiterRatio = abs(1. / endJoinShift);\n\n\tvec2 startJoin = startJoinDirection * startMiterRatio;\n\tvec2 endJoin = endJoinDirection * endMiterRatio;\n\n\tvec2 startTopJoin, startBotJoin, endTopJoin, endBotJoin;\n\tstartTopJoin = sign(startJoinShift) * startJoin * .5;\n\tstartBotJoin = -startTopJoin;\n\n\tendTopJoin = sign(endJoinShift) * endJoin * .5;\n\tendBotJoin = -endTopJoin;\n\n\tvec2 aTopCoord = aCoord + normalWidth * startTopJoin;\n\tvec2 bTopCoord = bCoord + normalWidth * endTopJoin;\n\tvec2 aBotCoord = aCoord + normalWidth * startBotJoin;\n\tvec2 bBotCoord = bCoord + normalWidth * endBotJoin;\n\n\t//miter anti-clipping\n\tfloat baClipping = distToLine(bCoord, aCoord, aBotCoord) / dot(normalize(normalWidth * endBotJoin), normalize(normalWidth.yx * vec2(-startBotJoin.y, startBotJoin.x)));\n\tfloat abClipping = distToLine(aCoord, bCoord, bTopCoord) / dot(normalize(normalWidth * startBotJoin), normalize(normalWidth.yx * vec2(-endBotJoin.y, endBotJoin.x)));\n\n\t//prevent close to reverse direction switch\n\tbool prevReverse = dot(currTangent, prevTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, prevNormal)) * min(length(prevDiff), length(currDiff)) <  length(normalWidth * currNormal);\n\tbool nextReverse = dot(currTangent, nextTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, nextNormal)) * min(length(nextDiff), length(currDiff)) <  length(normalWidth * currNormal);\n\n\tif (prevReverse) {\n\t\t//make join rectangular\n\t\tvec2 miterShift = normalWidth * startJoinDirection * miterLimit * .5;\n\t\tfloat normalAdjust = 1. - min(miterLimit / startMiterRatio, 1.);\n\t\taBotCoord = aCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\n\t\taTopCoord = aCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\n\t}\n\telse if (!nextReverse && baClipping > 0. && baClipping < length(normalWidth * endBotJoin)) {\n\t\t//handle miter clipping\n\t\tbTopCoord -= normalWidth * endTopJoin;\n\t\tbTopCoord += normalize(endTopJoin * normalWidth) * baClipping;\n\t}\n\n\tif (nextReverse) {\n\t\t//make join rectangular\n\t\tvec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;\n\t\tfloat normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);\n\t\tbBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\n\t\tbTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\n\t}\n\telse if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {\n\t\t//handle miter clipping\n\t\taBotCoord -= normalWidth * startBotJoin;\n\t\taBotCoord += normalize(startBotJoin * normalWidth) * abClipping;\n\t}\n\n\tvec2 aTopPosition = (aTopCoord) * adjustedScale + translate;\n\tvec2 aBotPosition = (aBotCoord) * adjustedScale + translate;\n\n\tvec2 bTopPosition = (bTopCoord) * adjustedScale + translate;\n\tvec2 bBotPosition = (bBotCoord) * adjustedScale + translate;\n\n\t//position is normalized 0..1 coord on the screen\n\tvec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;\n\n\tstartCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\tendCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\n\tgl_Position = vec4(position  * 2.0 - 1.0, depth, 1);\n\n\tenableStartMiter = step(dot(currTangent, prevTangent), .5);\n\tenableEndMiter = step(dot(currTangent, nextTangent), .5);\n\n\t//bevel miter cutoffs\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x)  / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n\n\t//round miter cutoffs\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x)  / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n}\n"]),frag:o(["precision highp float;\n#define GLSLIFY 1\n\nuniform float dashLength, pixelRatio, thickness, opacity, id, miterMode;\nuniform sampler2D dashTexture;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\nvarying vec4 startCutoff, endCutoff;\nvarying vec2 startCoord, endCoord;\nvarying float enableStartMiter, enableEndMiter;\n\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\n\tvec2 diff = b - a;\n\tvec2 perp = normalize(vec2(-diff.y, diff.x));\n\treturn dot(p - a, perp);\n}\n\nvoid main() {\n\tfloat alpha = 1., distToStart, distToEnd;\n\tfloat cutoff = thickness * .5;\n\n\t//bevel miter\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToStart + 1., 0.), 1.);\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToEnd + 1., 0.), 1.);\n\t\t}\n\t}\n\n\t// round miter\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - startCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - endCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;\n\tfloat dash = texture2D(dashTexture, vec2(t, .5)).r;\n\n\tgl_FragColor = fragColor;\n\tgl_FragColor.a *= alpha * opacity * dash;\n}\n"]),attributes:{lineEnd:{buffer:r,divisor:0,stride:8,offset:0},lineTop:{buffer:r,divisor:0,stride:8,offset:4},aColor:{buffer:t.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:t.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},n))}catch(t){e=i}return{fill:t({primitive:"triangle",elements:function(t,e){return e.triangles},offset:0,vert:o(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 position, positionFract;\n\nuniform vec4 color;\nuniform vec2 scale, scaleFract, translate, translateFract;\nuniform float pixelRatio, id;\nuniform vec4 viewport;\nuniform float opacity;\n\nvarying vec4 fragColor;\n\nconst float MAX_LINES = 256.;\n\nvoid main() {\n\tfloat depth = (MAX_LINES - 4. - id) / (MAX_LINES);\n\n\tvec2 position = position * scale + translate\n       + positionFract * scale + translateFract\n       + position * scaleFract\n       + positionFract * scaleFract;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tfragColor = color / 255.;\n\tfragColor.a *= opacity;\n}\n"]),frag:o(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nvoid main() {\n\tgl_FragColor = fragColor;\n}\n"]),uniforms:{scale:t.prop("scale"),color:t.prop("fill"),scaleFract:t.prop("scaleFract"),translateFract:t.prop("translateFract"),translate:t.prop("translate"),opacity:t.prop("opacity"),pixelRatio:t.context("pixelRatio"),id:t.prop("id"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]}},attributes:{position:{buffer:t.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:t.prop("positionFractBuffer"),stride:8,offset:8}},blend:n.blend,depth:{enable:!1},scissor:n.scissor,stencil:n.stencil,viewport:n.viewport}),rect:i,miter:e}},v.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},v.prototype.render=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];e.length&&(t=this).update.apply(t,e),this.draw()},v.prototype.draw=function(){for(var t=this,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(e.length?e:this.passes).forEach((function(e,r){var n;if(e&&Array.isArray(e))return(n=t).draw.apply(n,e);"number"==typeof e&&(e=t.passes[e]),e&&e.count>1&&e.opacity&&(t.regl._refresh(),e.fill&&e.triangles&&e.triangles.length>2&&t.shaders.fill(e),e.thickness&&(e.scale[0]*e.viewport.width>v.precisionThreshold||e.scale[1]*e.viewport.height>v.precisionThreshold||"rect"===e.join||!e.join&&(e.thickness<=2||e.count>=v.maxPoints)?t.shaders.rect(e):t.shaders.miter(e)))})),this},v.prototype.update=function(t){var e=this;if(t){null!=t.length?"number"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var r=this.regl,o=this.gl;if(t.forEach((function(t,f){var d=e.passes[f];if(void 0!==t)if(null!==t){if("number"==typeof t[0]&&(t={positions:t}),t=s(t,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),d||(e.passes[f]=d={id:f,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:r.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:r.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:r.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:r.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},t=a({},v.defaults,t)),null!=t.thickness&&(d.thickness=parseFloat(t.thickness)),null!=t.opacity&&(d.opacity=parseFloat(t.opacity)),null!=t.miterLimit&&(d.miterLimit=parseFloat(t.miterLimit)),null!=t.overlay&&(d.overlay=!!t.overlay,f<v.maxLines&&(d.depth=2*(v.maxLines-1-f%v.maxLines)/v.maxLines-1)),null!=t.join&&(d.join=t.join),null!=t.hole&&(d.hole=t.hole),null!=t.fill&&(d.fill=t.fill?n(t.fill,"uint8"):null),null!=t.viewport&&(d.viewport=g(t.viewport)),d.viewport||(d.viewport=g([o.drawingBufferWidth,o.drawingBufferHeight])),null!=t.close&&(d.close=t.close),null===t.positions&&(t.positions=[]),t.positions){var y,x;if(t.positions.x&&t.positions.y){var b=t.positions.x,_=t.positions.y;x=d.count=Math.max(b.length,_.length),y=new Float64Array(2*x);for(var w=0;w<x;w++)y[2*w]=b[w],y[2*w+1]=_[w]}else y=l(t.positions,"float64"),x=d.count=Math.floor(y.length/2);var T=d.bounds=i(y,2);if(d.fill){for(var k=[],A={},M=0,S=0,E=0,L=d.count;S<L;S++){var C=y[2*S],P=y[2*S+1];isNaN(C)||isNaN(P)||null==C||null==P?(C=y[2*M],P=y[2*M+1],A[S]=M):M=S,k[E++]=C,k[E++]=P}if(t.splitNull){d.count-1 in A||(A[d.count]=d.count-1);var I=Object.keys(A).map(Number).sort((function(t,e){return t-e})),O=[],z=0,D=null!=d.hole?d.hole[0]:null;if(null!=D){var R=m(I,(function(t){return t>=D}));(I=I.slice(0,R)).push(D)}for(var F=function(t){var e=k.slice(2*z,2*I[t]).concat(D?k.slice(2*D):[]),r=(d.hole||[]).map((function(e){return e-D+(I[t]-z)})),n=c(e,r);n=n.map((function(e){return e+z+(e+z<I[t]?0:D-I[t])})),O.push.apply(O,n),z=I[t]+1},B=0;B<I.length;B++)F(B);for(var N=0,j=O.length;N<j;N++)null!=A[O[N]]&&(O[N]=A[O[N]]);d.triangles=O}else{for(var U=c(k,d.hole||[]),V=0,H=U.length;V<H;V++)null!=A[U[V]]&&(U[V]=A[U[V]]);d.triangles=U}}var q=new Float64Array(y);u(q,2,T);var G=new Float64Array(2*x+6);d.close?y[0]===y[2*x-2]&&y[1]===y[2*x-1]?(G[0]=q[2*x-4],G[1]=q[2*x-3]):(G[0]=q[2*x-2],G[1]=q[2*x-1]):(G[0]=q[0],G[1]=q[1]),G.set(q,2),d.close?y[0]===y[2*x-2]&&y[1]===y[2*x-1]?(G[2*x+2]=q[2],G[2*x+3]=q[3],d.count-=1):(G[2*x+2]=q[0],G[2*x+3]=q[1],G[2*x+4]=q[2],G[2*x+5]=q[3]):(G[2*x+2]=q[2*x-2],G[2*x+3]=q[2*x-1],G[2*x+4]=q[2*x-2],G[2*x+5]=q[2*x-1]);var Y=h(G);d.positionBuffer(Y);var W=p(G,Y);d.positionFractBuffer(W)}if(t.range?d.range=t.range:d.range||(d.range=d.bounds),(t.range||t.positions)&&d.count){var X=d.bounds,Z=X[2]-X[0],J=X[3]-X[1],K=d.range[2]-d.range[0],Q=d.range[3]-d.range[1];d.scale=[Z/K,J/Q],d.translate=[-d.range[0]/K+X[0]/K||0,-d.range[1]/Q+X[1]/Q||0],d.scaleFract=p(d.scale),d.translateFract=p(d.translate)}if(t.dashes){var $,tt=0;if(!t.dashes||t.dashes.length<2)tt=1,$=new Uint8Array([255,255,255,255,255,255,255,255]);else{tt=0;for(var et=0;et<t.dashes.length;++et)tt+=t.dashes[et];$=new Uint8Array(tt*v.dashMult);for(var rt=0,nt=255,it=0;it<2;it++)for(var at=0;at<t.dashes.length;++at){for(var ot=0,st=t.dashes[at]*v.dashMult*.5;ot<st;++ot)$[rt++]=nt;nt^=255}}d.dashLength=tt,d.dashTexture({channels:1,data:$,width:$.length,height:1,mag:"linear",min:"linear"},0,0)}if(t.color){var lt=d.count,ct=t.color;ct||(ct="transparent");var ut=new Uint8Array(4*lt+4);if(Array.isArray(ct)&&"number"!=typeof ct[0]){for(var ft=0;ft<lt;ft++){var ht=n(ct[ft],"uint8");ut.set(ht,4*ft)}ut.set(n(ct[0],"uint8"),4*lt)}else for(var pt=n(ct,"uint8"),dt=0;dt<lt+1;dt++)ut.set(pt,4*dt);d.colorBuffer({usage:"dynamic",type:"uint8",data:ut})}}else e.passes[f]=null})),t.length<this.passes.length){for(var f=t.length;f<this.passes.length;f++){var d=this.passes[f];d&&(d.colorBuffer.destroy(),d.positionBuffer.destroy(),d.dashTexture.destroy())}this.passes.length=t.length}for(var y=[],x=0;x<this.passes.length;x++)null!==this.passes[x]&&y.push(this.passes[x]);return this.passes=y,this}},v.prototype.destroy=function(){return this.passes.forEach((function(t){t.colorBuffer.destroy(),t.positionBuffer.destroy(),t.dashTexture.destroy()})),this.passes.length=0,this}},{"array-bounds":71,"array-find-index":72,"array-normalize":73,"color-normalize":89,earcut:129,"es6-weak-map":183,"flatten-vertex-data":191,glslify:227,"object-assign":247,"parse-rect":249,"pick-by-alias":253,"to-float32":313}],281:[function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,i,a=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);o=!0);}catch(t){s=!0,i=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}(t,e)||a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s=t("color-normalize"),l=t("array-bounds"),c=t("color-id"),u=t("@plotly/point-cluster"),f=t("object-assign"),h=t("glslify"),p=t("pick-by-alias"),d=t("update-diff"),g=t("flatten-vertex-data"),m=t("is-iexplorer"),v=t("to-float32"),y=t("parse-rect"),x=b;function b(t,e){var r=this;if(!(this instanceof b))return new b(t,e);"function"==typeof t?(e||(e={}),e.regl=t):(e=t,t=null),e&&e.length&&(e.positions=e);var n,i=(t=e.regl)._gl,a=[];this.tooManyColors=m,n=t.texture({data:new Uint8Array(1020),width:255,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),f(this,{regl:t,gl:i,groups:[],markerCache:[null],markerTextures:[null],palette:a,paletteIds:{},paletteTexture:n,maxColors:255,maxSize:100,canvas:i.canvas}),this.update(e);var o={uniforms:{constPointSize:!!e.constPointSize,opacity:t.prop("opacity"),paletteSize:function(t,e){return[r.tooManyColors?0:255,n.height]},pixelRatio:t.context("pixelRatio"),scale:t.prop("scale"),scaleFract:t.prop("scaleFract"),translate:t.prop("translate"),translateFract:t.prop("translateFract"),markerTexture:t.prop("markerTexture"),paletteTexture:n},attributes:{x:function(t,e){return e.xAttr||{buffer:e.positionBuffer,stride:8,offset:0}},y:function(t,e){return e.yAttr||{buffer:e.positionBuffer,stride:8,offset:4}},xFract:function(t,e){return e.xAttr?{constant:[0,0]}:{buffer:e.positionFractBuffer,stride:8,offset:0}},yFract:function(t,e){return e.yAttr?{constant:[0,0]}:{buffer:e.positionFractBuffer,stride:8,offset:4}},size:function(t,e){return e.size.length?{buffer:e.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(255*e.size/r.maxSize)]}},borderSize:function(t,e){return e.borderSize.length?{buffer:e.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(255*e.borderSize/r.maxSize)]}},colorId:function(t,e){return e.color.length?{buffer:e.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?a.slice(4*e.color,4*e.color+4):[e.color]}},borderColorId:function(t,e){return e.borderColor.length?{buffer:e.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?a.slice(4*e.borderColor,4*e.borderColor+4):[e.borderColor]}},isActive:function(t,e){return!0===e.activation?{constant:[1]}:e.activation?e.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:t.prop("viewport")},viewport:t.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:t.prop("elements"),count:t.prop("count"),offset:t.prop("offset"),primitive:"points"},s=f({},o);s.frag=h(["precision highp float;\n#define GLSLIFY 1\n\nuniform float opacity;\nuniform sampler2D markerTexture;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragWidth, fragBorderColorLevel, fragColorLevel;\n\nfloat smoothStep(float x, float y) {\n  return 1.0 / (1.0 + exp(50.0*(x - y)));\n}\n\nvoid main() {\n  float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;\n\n  // max-distance alpha\n  if (dist < 0.003) discard;\n\n  // null-border case\n  if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {\n    float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);\n    gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);\n  }\n  else {\n    float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);\n    float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);\n\n    vec4 color = fragBorderColor;\n    color.a *= borderColorAmt;\n    color = mix(color, fragColor, colorAmt);\n    color.a *= opacity;\n\n    gl_FragColor = color;\n  }\n\n}\n"]),s.vert=h(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 scale, scaleFract, translate, translateFract, paletteSize;\nuniform sampler2D paletteTexture;\n\nconst float maxSize = 100.;\nconst float borderLevel = .5;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n  return isDirect ? id / 255. : texture2D(paletteTexture,\n    vec2(\n      (id.x + .5) / paletteSize.x,\n      (id.y + .5) / paletteSize.y\n    )\n  );\n}\n\nvoid main() {\n  // ignore inactive points\n  if (isActive == 0.) return;\n\n  vec2 position = vec2(x, y);\n  vec2 positionFract = vec2(xFract, yFract);\n\n  vec4 color = getColor(colorId);\n  vec4 borderColor = getColor(borderColorId);\n\n  float size = size * maxSize / 255.;\n  float borderSize = borderSize * maxSize / 255.;\n\n  gl_PointSize = 2. * size * pointSizeScale;\n  fragPointSize = size * pixelRatio;\n\n  vec2 pos = (position + translate) * scale\n      + (positionFract + translateFract) * scale\n      + (position + translate) * scaleFract\n      + (positionFract + translateFract) * scaleFract;\n\n  gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n  fragColor = color;\n  fragBorderColor = borderColor;\n  fragWidth = 1. / gl_PointSize;\n\n  fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);\n  fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);\n}"]),this.drawMarker=t(s);var l=f({},o);l.frag=h(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nuniform float opacity;\n\nfloat smoothStep(float edge0, float edge1, float x) {\n\tfloat t;\n\tt = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);\n\treturn t * t * (3.0 - 2.0 * t);\n}\n\nvoid main() {\n\tfloat radius, alpha = 1.0, delta = fragWidth;\n\n\tradius = length(2.0 * gl_PointCoord.xy - 1.0);\n\n\tif (radius > 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n"]),l.vert=h(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 paletteSize, scale, scaleFract, translate, translateFract;\nuniform sampler2D paletteTexture;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n  return isDirect ? id / 255. : texture2D(paletteTexture,\n    vec2(\n      (id.x + .5) / paletteSize.x,\n      (id.y + .5) / paletteSize.y\n    )\n  );\n}\n\nvoid main() {\n  // ignore inactive points\n  if (isActive == 0.) return;\n\n  vec2 position = vec2(x, y);\n  vec2 positionFract = vec2(xFract, yFract);\n\n  vec4 color = getColor(colorId);\n  vec4 borderColor = getColor(borderColorId);\n\n  float size = size * maxSize / 255.;\n  float borderSize = borderSize * maxSize / 255.;\n\n  gl_PointSize = (size + borderSize) * pointSizeScale;\n\n  vec2 pos = (position + translate) * scale\n      + (positionFract + translateFract) * scale\n      + (position + translate) * scaleFract\n      + (positionFract + translateFract) * scaleFract;\n\n  gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n  fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n  fragColor = color;\n  fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n  fragWidth = 1. / gl_PointSize;\n}\n"]),m&&(l.frag=l.frag.replace("smoothstep","smoothStep"),s.frag=s.frag.replace("smoothstep","smoothStep")),this.drawCircle=t(l)}b.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=this.groups;if(1===r.length&&Array.isArray(r[0])&&(null===r[0][0]||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var a=0;a<r.length;a++)this.drawItem(a,r[a]);else i.forEach((function(e,r){t.drawItem(r)}));return this},b.prototype.drawItem=function(t,e){var r=this.groups,n=r[t];if("number"==typeof e&&(t=e,n=r[e],e=null),n&&n.count&&n.opacity){n.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,n,e));for(var a=[],o=1;o<n.activation.length;o++)n.activation[o]&&(!0===n.activation[o]||n.activation[o].data.length)&&a.push.apply(a,i(this.getMarkerDrawOptions(o,n,e)));a.length&&this.drawMarker(a)}},b.prototype.getMarkerDrawOptions=function(t,e,r){var i=e.range,a=e.tree,o=e.viewport,s=e.activation,l=e.selectionBuffer,c=e.count;this.regl;if(!a)return r?[f({},e,{markerTexture:this.markerTextures[t],activation:s[t],count:r.length,elements:r,offset:0})]:[f({},e,{markerTexture:this.markerTextures[t],activation:s[t],offset:0})];var u=[],h=a.range(i,{lod:!0,px:[(i[2]-i[0])/o.width,(i[3]-i[1])/o.height]});if(r){for(var p=s[t].data,d=new Uint8Array(c),g=0;g<r.length;g++){var m=r[g];d[m]=p?p[m]:1}l.subdata(d)}for(var v=h.length;v--;){var y=n(h[v],2),x=y[0],b=y[1];u.push(f({},e,{markerTexture:this.markerTextures[t],activation:r?l:s[t],offset:x,count:b-x}))}return u},b.prototype.update=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(r.length){1===r.length&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,a=this.gl,o=this.regl,s=this.maxSize,c=this.maxColors,h=this.palette;this.groups=i=r.map((function(e,r){var n=i[r];if(void 0===e)return n;null===e?e={positions:null}:"function"==typeof e?e={ondraw:e}:"number"==typeof e[0]&&(e={positions:e}),null===(e=p(e,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"})).positions&&(e.positions=[]),null!=e.tooManyColors&&(t.tooManyColors=e.tooManyColors),n||(i[r]=n={id:r,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:o.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},e=f({},b.defaults,e)),e.positions&&!("marker"in e)&&(e.marker=n.marker,delete n.marker),e.marker&&!("positions"in e)&&(e.positions=n.positions,delete n.positions);var m=0,x=0;if(d(n,e,[{snap:!0,size:function(t,e){return null==t&&(t=b.defaults.size),m+=t&&t.length?1:0,t},borderSize:function(t,e){return null==t&&(t=b.defaults.borderSize),m+=t&&t.length?1:0,t},opacity:parseFloat,color:function(e,r){return null==e&&(e=b.defaults.color),e=t.updateColor(e),x++,e},borderColor:function(e,r){return null==e&&(e=b.defaults.borderColor),e=t.updateColor(e),x++,e},bounds:function(t,e,r){return"range"in r||(r.range=null),t},positions:function(t,e,r){var n=e.snap,i=e.positionBuffer,a=e.positionFractBuffer,s=e.selectionBuffer;if(t.x||t.y)return t.x.length?e.xAttr={buffer:o.buffer(t.x),offset:0,stride:4,count:t.x.length}:e.xAttr={buffer:t.x.buffer,offset:4*t.x.offset||0,stride:4*(t.x.stride||1),count:t.x.count},t.y.length?e.yAttr={buffer:o.buffer(t.y),offset:0,stride:4,count:t.y.length}:e.yAttr={buffer:t.y.buffer,offset:4*t.y.offset||0,stride:4*(t.y.stride||1),count:t.y.count},e.count=Math.max(e.xAttr.count,e.yAttr.count),t;t=g(t,"float64");var c=e.count=Math.floor(t.length/2),f=e.bounds=c?l(t,2):null;if(r.range||e.range||(delete e.range,r.range=f),r.marker||e.marker||(delete e.marker,r.marker=null),n&&(!0===n||c>n)?e.tree=u(t,{bounds:f}):n&&n.length&&(e.tree=n),e.tree){var h={primitive:"points",usage:"static",data:e.tree,type:"uint32"};e.elements?e.elements(h):e.elements=o.elements(h)}var p=v.float32(t);return i({data:p,usage:"dynamic"}),a({data:v.fract32(t,p),usage:"dynamic"}),s({data:new Uint8Array(c),type:"uint8",usage:"stream"}),t}},{marker:function(e,r,n){var i=r.activation;if(i.forEach((function(t){return t&&t.destroy&&t.destroy()})),i.length=0,e&&"number"!=typeof e[0]){for(var a=[],s=0,l=Math.min(e.length,r.count);s<l;s++){var c=t.addMarker(e[s]);a[c]||(a[c]=new Uint8Array(r.count)),a[c][s]=1}for(var u=0;u<a.length;u++)if(a[u]){var f={data:a[u],type:"uint8",usage:"static"};i[u]?i[u](f):i[u]=o.buffer(f),i[u].data=a[u]}}else{i[t.addMarker(e)]=!0}return e},range:function(t,e,r){var n=e.bounds;if(n)return t||(t=n),e.scale=[1/(t[2]-t[0]),1/(t[3]-t[1])],e.translate=[-t[0],-t[1]],e.scaleFract=v.fract(e.scale),e.translateFract=v.fract(e.translate),t},viewport:function(t){return y(t||[a.drawingBufferWidth,a.drawingBufferHeight])}}]),m){var _=n,w=_.count,T=_.size,k=_.borderSize,A=_.sizeBuffer,M=new Uint8Array(2*w);if(T.length||k.length)for(var S=0;S<w;S++)M[2*S]=Math.round(255*(null==T[S]?T:T[S])/s),M[2*S+1]=Math.round(255*(null==k[S]?k:k[S])/s);A({data:M,usage:"dynamic"})}if(x){var E,L=n,C=L.count,P=L.color,I=L.borderColor,O=L.colorBuffer;if(t.tooManyColors){if(P.length||I.length){E=new Uint8Array(8*C);for(var z=0;z<C;z++){var D=P[z];E[8*z]=h[4*D],E[8*z+1]=h[4*D+1],E[8*z+2]=h[4*D+2],E[8*z+3]=h[4*D+3];var R=I[z];E[8*z+4]=h[4*R],E[8*z+5]=h[4*R+1],E[8*z+6]=h[4*R+2],E[8*z+7]=h[4*R+3]}}}else if(P.length||I.length){E=new Uint8Array(4*C+2);for(var F=0;F<C;F++)null!=P[F]&&(E[4*F]=P[F]%c,E[4*F+1]=Math.floor(P[F]/c)),null!=I[F]&&(E[4*F+2]=I[F]%c,E[4*F+3]=Math.floor(I[F]/c))}O({data:E||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return n}))}},b.prototype.addMarker=function(t){var e,r=this.markerTextures,n=this.regl,i=this.markerCache,a=null==t?0:i.indexOf(t);if(a>=0)return a;if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)e=t;else{e=new Uint8Array(t.length);for(var o=0,s=t.length;o<s;o++)e[o]=255*t[o]}var l=Math.floor(Math.sqrt(e.length));return a=r.length,i.push(t),r.push(n.texture({channels:1,data:e,radius:l,mag:"linear",min:"linear"})),a},b.prototype.updateColor=function(t){var e=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(t)||(t=[t]);var i=[];if("number"==typeof t[0]){var a=[];if(Array.isArray(t))for(var o=0;o<t.length;o+=4)a.push(t.slice(o,o+4));else for(var l=0;l<t.length;l+=4)a.push(t.subarray(l,l+4));t=a}for(var u=0;u<t.length;u++){var f=t[u];f=s(f,"uint8");var h=c(f,!1);if(null==e[h]){var p=r.length;e[h]=Math.floor(p/4),r[p]=f[0],r[p+1]=f[1],r[p+2]=f[2],r[p+3]=f[3]}i[u]=e[h]}return!this.tooManyColors&&r.length>4*n&&(this.tooManyColors=!0),this.updatePalette(r),1===i.length?i[0]:i},b.prototype.updatePalette=function(t){if(!this.tooManyColors){var e=this.maxColors,r=this.paletteTexture,n=Math.ceil(.25*t.length/e);if(n>1)for(var i=.25*(t=t.slice()).length%e;i<n*e;i++)t.push(0,0,0,0);r.height<n&&r.resize(e,n),r.subimage({width:Math.min(.25*t.length,e),height:n,data:t},0,0)}},b.prototype.destroy=function(){return this.groups.forEach((function(t){t.sizeBuffer.destroy(),t.positionBuffer.destroy(),t.positionFractBuffer.destroy(),t.colorBuffer.destroy(),t.activation.forEach((function(t){return t&&t.destroy&&t.destroy()})),t.selectionBuffer.destroy(),t.elements&&t.elements.destroy()})),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach((function(t){return t&&t.destroy&&t.destroy()})),this};var _=t("object-assign");e.exports=function(t,e){var r=new x(t,e),n=r.render.bind(r);return _(n,{render:n,update:r.update.bind(r),draw:r.draw.bind(r),destroy:r.destroy.bind(r),regl:r.regl,gl:r.gl,canvas:r.gl.canvas,groups:r.groups,markers:r.markerCache,palette:r.palette}),n}},{"@plotly/point-cluster":59,"array-bounds":71,"color-id":87,"color-normalize":89,"flatten-vertex-data":191,glslify:227,"is-iexplorer":233,"object-assign":247,"parse-rect":249,"pick-by-alias":253,"to-float32":313,"update-diff":329}],282:[function(t,e,r){"use strict";var n=t("regl-scatter2d"),i=t("pick-by-alias"),a=t("array-bounds"),o=t("raf"),s=t("array-range"),l=t("parse-rect"),c=t("flatten-vertex-data");function u(t,e){if(!(this instanceof u))return new u(t,e);this.traces=[],this.passes={},this.regl=t,this.scatter=n(t),this.canvas=this.scatter.canvas}function f(t,e,r){return(null!=t.id?t.id:t)<<16|(255&e)<<8|255&r}function h(t,e,r){var n,i,a,o,s=t[e],l=t[r];return s.length>2?(s[0],s[2],n=s[1],i=s[3]):s.length?(n=s[0],i=s[1]):(s.x,n=s.y,s.x+s.width,i=s.y+s.height),l.length>2?(a=l[0],o=l[2],l[1],l[3]):l.length?(a=l[0],o=l[1]):(a=l.x,l.y,o=l.x+l.width,l.y+l.height),[a,n,o,i]}function p(t){if("number"==typeof t)return[t,t,t,t];if(2===t.length)return[t[0],t[1],t[0],t[1]];var e=l(t);return[e.x,e.y,e.x+e.width,e.y+e.height]}e.exports=u,u.prototype.render=function(){for(var t,e=this,r=[],n=arguments.length;n--;)r[n]=arguments[n];return r.length&&(t=this).update.apply(t,r),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?null==this.planned&&(this.planned=o((function(){e.draw(),e.dirty=!0,e.planned=null}))):(this.draw(),this.dirty=!0,o((function(){e.dirty=!1}))),this)},u.prototype.update=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];if(e.length){for(var n=0;n<e.length;n++)this.updateItem(n,e[n]);this.traces=this.traces.filter(Boolean);for(var i=[],a=0,o=0;o<this.traces.length;o++){for(var s=this.traces[o],l=this.traces[o].passes,c=0;c<l.length;c++)i.push(this.passes[l[c]]);s.passOffset=a,a+=s.passes.length}return(t=this.scatter).update.apply(t,i),this}},u.prototype.updateItem=function(t,e){var r=this.regl;if(null===e)return this.traces[t]=null,this;if(!e)return this;var n,o=i(e,{data:"data items columns rows values dimensions samples x",snap:"snap cluster",size:"sizes size radius",color:"colors color fill fill-color fillColor",opacity:"opacity alpha transparency opaque",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",borderColor:"borderColors borderColor bordercolor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range ranges databox dataBox",viewport:"viewport viewBox viewbox",domain:"domain domains area areas",padding:"pad padding paddings pads margin margins",transpose:"transpose transposed",diagonal:"diagonal diag showDiagonal",upper:"upper up top upperhalf upperHalf showupperhalf showUpper showUpperHalf",lower:"lower low bottom lowerhalf lowerHalf showlowerhalf showLowerHalf showLower"}),s=this.traces[t]||(this.traces[t]={id:t,buffer:r.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),color:"black",marker:null,size:12,borderColor:"transparent",borderSize:1,viewport:l([r._gl.drawingBufferWidth,r._gl.drawingBufferHeight]),padding:[0,0,0,0],opacity:1,diagonal:!0,upper:!0,lower:!0});if(null!=o.color&&(s.color=o.color),null!=o.size&&(s.size=o.size),null!=o.marker&&(s.marker=o.marker),null!=o.borderColor&&(s.borderColor=o.borderColor),null!=o.borderSize&&(s.borderSize=o.borderSize),null!=o.opacity&&(s.opacity=o.opacity),o.viewport&&(s.viewport=l(o.viewport)),null!=o.diagonal&&(s.diagonal=o.diagonal),null!=o.upper&&(s.upper=o.upper),null!=o.lower&&(s.lower=o.lower),o.data){s.buffer(c(o.data)),s.columns=o.data.length,s.count=o.data[0].length,s.bounds=[];for(var u=0;u<s.columns;u++)s.bounds[u]=a(o.data[u],1)}o.range&&(s.range=o.range,n=s.range&&"number"!=typeof s.range[0]),o.domain&&(s.domain=o.domain);var d=!1;null!=o.padding&&(Array.isArray(o.padding)&&o.padding.length===s.columns&&"number"==typeof o.padding[o.padding.length-1]?(s.padding=o.padding.map(p),d=!0):s.padding=p(o.padding));var g=s.columns,m=s.count,v=s.viewport.width,y=s.viewport.height,x=s.viewport.x,b=s.viewport.y,_=v/g,w=y/g;s.passes=[];for(var T=0;T<g;T++)for(var k=0;k<g;k++)if((s.diagonal||k!==T)&&(s.upper||!(T>k))&&(s.lower||!(T<k))){var A=f(s.id,T,k),M=this.passes[A]||(this.passes[A]={});if(o.data&&(o.transpose?M.positions={x:{buffer:s.buffer,offset:k,count:m,stride:g},y:{buffer:s.buffer,offset:T,count:m,stride:g}}:M.positions={x:{buffer:s.buffer,offset:k*m,count:m},y:{buffer:s.buffer,offset:T*m,count:m}},M.bounds=h(s.bounds,T,k)),o.domain||o.viewport||o.data){var S=d?h(s.padding,T,k):s.padding;if(s.domain){var E=h(s.domain,T,k),L=E[0],C=E[1],P=E[2],I=E[3];M.viewport=[x+L*v+S[0],b+C*y+S[1],x+P*v-S[2],b+I*y-S[3]]}else M.viewport=[x+k*_+_*S[0],b+T*w+w*S[1],x+(k+1)*_-_*S[2],b+(T+1)*w-w*S[3]]}o.color&&(M.color=s.color),o.size&&(M.size=s.size),o.marker&&(M.marker=s.marker),o.borderSize&&(M.borderSize=s.borderSize),o.borderColor&&(M.borderColor=s.borderColor),o.opacity&&(M.opacity=s.opacity),o.range&&(M.range=n?h(s.range,T,k):s.range||M.bounds),s.passes.push(A)}return this},u.prototype.draw=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];if(e.length){for(var n=[],i=0;i<e.length;i++)if("number"==typeof e[i]){var a=this.traces[e[i]],o=a.passes,l=a.passOffset;n.push.apply(n,s(l,l+o.length))}else if(e[i].length){var c=e[i],u=this.traces[i],f=u.passes,h=u.passOffset;f=f.map((function(t,e){n[h+e]=c}))}(t=this.scatter).draw.apply(t,n)}else this.scatter.draw();return this},u.prototype.destroy=function(){return this.traces.forEach((function(t){t.buffer&&t.buffer.destroy&&t.buffer.destroy()})),this.traces=null,this.passes=null,this.scatter.destroy(),this}},{"array-bounds":71,"array-range":74,"flatten-vertex-data":191,"parse-rect":249,"pick-by-alias":253,raf:278,"regl-scatter2d":281}],283:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?e.exports=n():t.createREGL=n()}(this,(function(){function t(t,e){this.id=U++,this.type=t,this.data=e}function e(t){return"["+function t(e){if(0===e.length)return[];var r=e.charAt(0),n=e.charAt(e.length-1);if(1<e.length&&r===n&&('"'===r||"'"===r))return['"'+e.substr(1,e.length-2).replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];if(r=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(e))return t(e.substr(0,r.index)).concat(t(r[1])).concat(t(e.substr(r.index+r[0].length)));if(1===(r=e.split(".")).length)return['"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];for(e=[],n=0;n<r.length;++n)e=e.concat(t(r[n]));return e}(t).join("][")+"]"}function r(t){return"string"==typeof t?t.split():t}function n(t){return"string"==typeof t?document.querySelector(t):t}function i(t){var e,i,a,o,s=t||{};t={};var l=[],c=[],u="undefined"==typeof window?1:window.devicePixelRatio,f=!1,h=function(t){},p=function(){};if("string"==typeof s?e=document.querySelector(s):"object"==typeof s&&("string"==typeof s.nodeName&&"function"==typeof s.appendChild&&"function"==typeof s.getBoundingClientRect?e=s:"function"==typeof s.drawArrays||"function"==typeof s.drawElements?a=(o=s).canvas:("gl"in s?o=s.gl:"canvas"in s?a=n(s.canvas):"container"in s&&(i=n(s.container)),"attributes"in s&&(t=s.attributes),"extensions"in s&&(l=r(s.extensions)),"optionalExtensions"in s&&(c=r(s.optionalExtensions)),"onDone"in s&&(h=s.onDone),"profile"in s&&(f=!!s.profile),"pixelRatio"in s&&(u=+s.pixelRatio))),e&&("canvas"===e.nodeName.toLowerCase()?a=e:i=e),!o){if(!a){if(!(e=function(t,e,r){function n(){var e=window.innerWidth,n=window.innerHeight;t!==document.body&&(e=(n=a.getBoundingClientRect()).right-n.left,n=n.bottom-n.top),a.width=r*e,a.height=r*n}var i,a=document.createElement("canvas");return j(a.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),t.appendChild(a),t===document.body&&(a.style.position="absolute",j(t.style,{margin:0,padding:0})),t!==document.body&&"function"==typeof ResizeObserver?(i=new ResizeObserver((function(){setTimeout(n)}))).observe(t):window.addEventListener("resize",n,!1),n(),{canvas:a,onDestroy:function(){i?i.disconnect():window.removeEventListener("resize",n),t.removeChild(a)}}}(i||document.body,0,u)))return null;a=e.canvas,p=e.onDestroy}void 0===t.premultipliedAlpha&&(t.premultipliedAlpha=!0),o=function(t,e){function r(r){try{return t.getContext(r,e)}catch(t){return null}}return r("webgl")||r("experimental-webgl")||r("webgl-experimental")}(a,t)}return o?{gl:o,canvas:a,container:i,extensions:l,optionalExtensions:c,pixelRatio:u,profile:f,onDone:h,onDestroy:p}:(p(),h("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function a(t,e){for(var r=Array(t),n=0;n<t;++n)r[n]=e(n);return r}function o(t){var e,r;return e=(65535<t)<<4,e|=r=(255<(t>>>=e))<<3,(e|=r=(15<(t>>>=r))<<2)|(r=(3<(t>>>=r))<<1)|t>>>r>>1}function s(){function t(t){t:{for(var e=16;268435456>=e;e*=16)if(t<=e){t=e;break t}t=0}return 0<(e=r[o(t)>>2]).length?e.pop():new ArrayBuffer(t)}function e(t){r[o(t.byteLength)>>2].push(t)}var r=a(8,(function(){return[]}));return{alloc:t,free:e,allocType:function(e,r){var n=null;switch(e){case 5120:n=new Int8Array(t(r),0,r);break;case 5121:n=new Uint8Array(t(r),0,r);break;case 5122:n=new Int16Array(t(2*r),0,r);break;case 5123:n=new Uint16Array(t(2*r),0,r);break;case 5124:n=new Int32Array(t(4*r),0,r);break;case 5125:n=new Uint32Array(t(4*r),0,r);break;case 5126:n=new Float32Array(t(4*r),0,r);break;default:return null}return n.length!==r?n.subarray(0,r):n},freeType:function(t){e(t.buffer)}}}function l(t){return!!t&&"object"==typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&"number"==typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||W(t.data))}function c(t,e,r,n,i,a){for(var o=0;o<e;++o)for(var s=t[o],l=0;l<r;++l)for(var c=s[l],u=0;u<n;++u)i[a++]=c[u]}function u(t){return 0|J[Object.prototype.toString.call(t)]}function f(t,e){for(var r=0;r<e.length;++r)t[r]=e[r]}function h(t,e,r,n,i,a,o){for(var s=0,l=0;l<r;++l)for(var c=0;c<n;++c)t[s++]=e[i*l+a*c+o]}function p(t,e,r,n){function i(e){this.id=c++,this.buffer=t.createBuffer(),this.type=e,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,r.profile&&(this.stats={size:0})}function a(e,r,n){e.byteLength=r.byteLength,t.bufferData(e.type,r,n)}function o(t,e,r,n,i,o){if(t.usage=r,Array.isArray(e)){if(t.dtype=n||5126,0<e.length)if(Array.isArray(e[0])){i=tt(e);for(var s=n=1;s<i.length;++s)n*=i[s];t.dimension=n,a(t,e=$(e,i,t.dtype),r),o?t.persistentData=e:G.freeType(e)}else"number"==typeof e[0]?(t.dimension=i,f(i=G.allocType(t.dtype,e.length),e),a(t,i,r),o?t.persistentData=i:G.freeType(i)):W(e[0])&&(t.dimension=e[0].length,t.dtype=n||u(e[0])||5126,a(t,e=$(e,[e.length,e[0].length],t.dtype),r),o?t.persistentData=e:G.freeType(e))}else if(W(e))t.dtype=n||u(e),t.dimension=i,a(t,e,r),o&&(t.persistentData=new Uint8Array(new Uint8Array(e.buffer)));else if(l(e)){i=e.shape;var c=e.stride,p=(s=e.offset,0),d=0,g=0,m=0;1===i.length?(p=i[0],d=1,g=c[0],m=0):2===i.length&&(p=i[0],d=i[1],g=c[0],m=c[1]),t.dtype=n||u(e.data)||5126,t.dimension=d,h(i=G.allocType(t.dtype,p*d),e.data,p,d,g,m,s),a(t,i,r),o?t.persistentData=i:G.freeType(i)}else e instanceof ArrayBuffer&&(t.dtype=5121,t.dimension=i,a(t,e,r),o&&(t.persistentData=new Uint8Array(new Uint8Array(e))))}function s(r){e.bufferCount--,n(r),t.deleteBuffer(r.buffer),r.buffer=null,delete p[r.id]}var c=0,p={};i.prototype.bind=function(){t.bindBuffer(this.type,this.buffer)},i.prototype.destroy=function(){s(this)};var d=[];return r.profile&&(e.getTotalBufferSize=function(){var t=0;return Object.keys(p).forEach((function(e){t+=p[e].stats.size})),t}),{create:function(n,a,c,d){function g(e){var n=35044,i=null,a=0,s=0,c=1;return Array.isArray(e)||W(e)||l(e)||e instanceof ArrayBuffer?i=e:"number"==typeof e?a=0|e:e&&("data"in e&&(i=e.data),"usage"in e&&(n=Q[e.usage]),"type"in e&&(s=K[e.type]),"dimension"in e&&(c=0|e.dimension),"length"in e&&(a=0|e.length)),m.bind(),i?o(m,i,n,s,c,d):(a&&t.bufferData(m.type,a,n),m.dtype=s||5121,m.usage=n,m.dimension=c,m.byteLength=a),r.profile&&(m.stats.size=m.byteLength*et[m.dtype]),g}e.bufferCount++;var m=new i(a);return p[m.id]=m,c||g(n),g._reglType="buffer",g._buffer=m,g.subdata=function(e,r){var n,i=0|(r||0);if(m.bind(),W(e)||e instanceof ArrayBuffer)t.bufferSubData(m.type,i,e);else if(Array.isArray(e)){if(0<e.length)if("number"==typeof e[0]){var a=G.allocType(m.dtype,e.length);f(a,e),t.bufferSubData(m.type,i,a),G.freeType(a)}else(Array.isArray(e[0])||W(e[0]))&&(n=tt(e),a=$(e,n,m.dtype),t.bufferSubData(m.type,i,a),G.freeType(a))}else if(l(e)){n=e.shape;var o=e.stride,s=a=0,c=0,p=0;1===n.length?(a=n[0],s=1,c=o[0],p=0):2===n.length&&(a=n[0],s=n[1],c=o[0],p=o[1]),n=Array.isArray(e.data)?m.dtype:u(e.data),h(n=G.allocType(n,a*s),e.data,a,s,c,p,e.offset),t.bufferSubData(m.type,i,n),G.freeType(n)}return g},r.profile&&(g.stats=m.stats),g.destroy=function(){s(m)},g},createStream:function(t,e){var r=d.pop();return r||(r=new i(t)),r.bind(),o(r,e,35040,0,1,!1),r},destroyStream:function(t){d.push(t)},clear:function(){X(p).forEach(s),d.forEach(s)},getBuffer:function(t){return t&&t._buffer instanceof i?t._buffer:null},restore:function(){X(p).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))},_initBuffer:o}}function d(t,e,r,n){function i(t){this.id=c++,s[this.id]=this,this.buffer=t,this.primType=4,this.type=this.vertCount=0}function a(n,i,a,o,s,c,u){var f;if(n.buffer.bind(),i?((f=u)||W(i)&&(!l(i)||W(i.data))||(f=e.oes_element_index_uint?5125:5123),r._initBuffer(n.buffer,i,a,f,3)):(t.bufferData(34963,c,a),n.buffer.dtype=f||5121,n.buffer.usage=a,n.buffer.dimension=3,n.buffer.byteLength=c),f=u,!u){switch(n.buffer.dtype){case 5121:case 5120:f=5121;break;case 5123:case 5122:f=5123;break;case 5125:case 5124:f=5125}n.buffer.dtype=f}n.type=f,0>(i=s)&&(i=n.buffer.byteLength,5123===f?i>>=1:5125===f&&(i>>=2)),n.vertCount=i,i=o,0>o&&(i=4,1===(o=n.buffer.dimension)&&(i=0),2===o&&(i=1),3===o&&(i=4)),n.primType=i}function o(t){n.elementsCount--,delete s[t.id],t.buffer.destroy(),t.buffer=null}var s={},c=0,u={uint8:5121,uint16:5123};e.oes_element_index_uint&&(u.uint32=5125),i.prototype.bind=function(){this.buffer.bind()};var f=[];return{create:function(t,e){function s(t){if(t)if("number"==typeof t)c(t),f.primType=4,f.vertCount=0|t,f.type=5121;else{var e=null,r=35044,n=-1,i=-1,o=0,h=0;Array.isArray(t)||W(t)||l(t)?e=t:("data"in t&&(e=t.data),"usage"in t&&(r=Q[t.usage]),"primitive"in t&&(n=rt[t.primitive]),"count"in t&&(i=0|t.count),"type"in t&&(h=u[t.type]),"length"in t?o=0|t.length:(o=i,5123===h||5122===h?o*=2:5125!==h&&5124!==h||(o*=4))),a(f,e,r,n,i,o,h)}else c(),f.primType=4,f.vertCount=0,f.type=5121;return s}var c=r.create(null,34963,!0),f=new i(c._buffer);return n.elementsCount++,s(t),s._reglType="elements",s._elements=f,s.subdata=function(t,e){return c.subdata(t,e),s},s.destroy=function(){o(f)},s},createStream:function(t){var e=f.pop();return e||(e=new i(r.create(null,34963,!0,!1)._buffer)),a(e,t,35040,-1,-1,0,0),e},destroyStream:function(t){f.push(t)},getElements:function(t){return"function"==typeof t&&t._elements instanceof i?t._elements:null},clear:function(){X(s).forEach(o)}}}function g(t){for(var e=G.allocType(5123,t.length),r=0;r<t.length;++r)if(isNaN(t[r]))e[r]=65535;else if(1/0===t[r])e[r]=31744;else if(-1/0===t[r])e[r]=64512;else{nt[0]=t[r];var n=(a=it[0])>>>31<<15,i=(a<<1>>>24)-127,a=a>>13&1023;e[r]=-24>i?n:-14>i?n+(a+1024>>-14-i):15<i?n+31744:n+(i+15<<10)+a}return e}function m(t){return Array.isArray(t)||W(t)}function v(t){return"[object "+t+"]"}function y(t){return Array.isArray(t)&&(0===t.length||"number"==typeof t[0])}function x(t){return!(!Array.isArray(t)||0===t.length||!m(t[0]))}function b(t){return Object.prototype.toString.call(t)}function _(t){if(!t)return!1;var e=b(t);return 0<=dt.indexOf(e)||(y(t)||x(t)||l(t))}function w(t,e){36193===t.type?(t.data=g(e),G.freeType(e)):t.data=e}function T(t,e,r,n,i,a){if(t=void 0!==mt[t]?mt[t]:st[t]*gt[e],a&&(t*=6),i){for(n=0;1<=r;)n+=t*r*r,r/=2;return n}return t*r*n}function k(t,e,r,n,i,a,o){function s(){this.format=this.internalformat=6408,this.type=5121,this.flipY=this.premultiplyAlpha=this.compressed=!1,this.unpackAlignment=1,this.colorSpace=37444,this.channels=this.height=this.width=0}function c(t,e){t.internalformat=e.internalformat,t.format=e.format,t.type=e.type,t.compressed=e.compressed,t.premultiplyAlpha=e.premultiplyAlpha,t.flipY=e.flipY,t.unpackAlignment=e.unpackAlignment,t.colorSpace=e.colorSpace,t.width=e.width,t.height=e.height,t.channels=e.channels}function u(t,e){if("object"==typeof e&&e){"premultiplyAlpha"in e&&(t.premultiplyAlpha=e.premultiplyAlpha),"flipY"in e&&(t.flipY=e.flipY),"alignment"in e&&(t.unpackAlignment=e.alignment),"colorSpace"in e&&(t.colorSpace=H[e.colorSpace]),"type"in e&&(t.type=q[e.type]);var r=t.width,n=t.height,i=t.channels,a=!1;"shape"in e?(r=e.shape[0],n=e.shape[1],3===e.shape.length&&(i=e.shape[2],a=!0)):("radius"in e&&(r=n=e.radius),"width"in e&&(r=e.width),"height"in e&&(n=e.height),"channels"in e&&(i=e.channels,a=!0)),t.width=0|r,t.height=0|n,t.channels=0|i,r=!1,"format"in e&&(r=e.format,n=t.internalformat=Y[r],t.format=dt[n],r in q&&!("type"in e)&&(t.type=q[r]),r in K&&(t.compressed=!0),r=!0),!a&&r?t.channels=st[t.format]:a&&!r&&t.channels!==ot[t.format]&&(t.format=t.internalformat=ot[t.channels])}}function f(e){t.pixelStorei(37440,e.flipY),t.pixelStorei(37441,e.premultiplyAlpha),t.pixelStorei(37443,e.colorSpace),t.pixelStorei(3317,e.unpackAlignment)}function h(){s.call(this),this.yOffset=this.xOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function p(t,e){var r=null;if(_(e)?r=e:e&&(u(t,e),"x"in e&&(t.xOffset=0|e.x),"y"in e&&(t.yOffset=0|e.y),_(e.data)&&(r=e.data)),e.copy){var n=i.viewportWidth,a=i.viewportHeight;t.width=t.width||n-t.xOffset,t.height=t.height||a-t.yOffset,t.needsCopy=!0}else if(r){if(W(r))t.channels=t.channels||4,t.data=r,"type"in e||5121!==t.type||(t.type=0|J[Object.prototype.toString.call(r)]);else if(y(r)){switch(t.channels=t.channels||4,a=(n=r).length,t.type){case 5121:case 5123:case 5125:case 5126:(a=G.allocType(t.type,a)).set(n),t.data=a;break;case 36193:t.data=g(n)}t.alignment=1,t.needsFree=!0}else if(l(r)){n=r.data,Array.isArray(n)||5121!==t.type||(t.type=0|J[Object.prototype.toString.call(n)]);a=r.shape;var o,s,c,f,h=r.stride;3===a.length?(c=a[2],f=h[2]):f=c=1,o=a[0],s=a[1],a=h[0],h=h[1],t.alignment=1,t.width=o,t.height=s,t.channels=c,t.format=t.internalformat=ot[c],t.needsFree=!0,o=f,r=r.offset,c=t.width,f=t.height,s=t.channels;for(var p=G.allocType(36193===t.type?5126:t.type,c*f*s),d=0,v=0;v<f;++v)for(var T=0;T<c;++T)for(var k=0;k<s;++k)p[d++]=n[a*T+h*v+o*k+r];w(t,p)}else if(b(r)===lt||b(r)===ct||b(r)===ut)b(r)===lt||b(r)===ct?t.element=r:t.element=r.canvas,t.width=t.element.width,t.height=t.element.height,t.channels=4;else if(b(r)===ft)t.element=r,t.width=r.width,t.height=r.height,t.channels=4;else if(b(r)===ht)t.element=r,t.width=r.naturalWidth,t.height=r.naturalHeight,t.channels=4;else if(b(r)===pt)t.element=r,t.width=r.videoWidth,t.height=r.videoHeight,t.channels=4;else if(x(r)){for(n=t.width||r[0].length,a=t.height||r.length,h=t.channels,h=m(r[0][0])?h||r[0][0].length:h||1,o=Z.shape(r),c=1,f=0;f<o.length;++f)c*=o[f];c=G.allocType(36193===t.type?5126:t.type,c),Z.flatten(r,o,"",c),w(t,c),t.alignment=1,t.width=n,t.height=a,t.channels=h,t.format=t.internalformat=ot[h],t.needsFree=!0}}else t.width=t.width||1,t.height=t.height||1,t.channels=t.channels||4}function d(e,r,i,a,o){var s=e.element,l=e.data,c=e.internalformat,u=e.format,h=e.type,p=e.width,d=e.height;f(e),s?t.texSubImage2D(r,o,i,a,u,h,s):e.compressed?t.compressedTexSubImage2D(r,o,i,a,c,p,d,l):e.needsCopy?(n(),t.copyTexSubImage2D(r,o,i,a,e.xOffset,e.yOffset,p,d)):t.texSubImage2D(r,o,i,a,p,d,u,h,l)}function v(){return gt.pop()||new h}function k(t){t.needsFree&&G.freeType(t.data),h.call(t),gt.push(t)}function A(){s.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function M(t,e,r){var n=t.images[0]=v();t.mipmask=1,n.width=t.width=e,n.height=t.height=r,n.channels=t.channels=4}function S(t,e){var r=null;if(_(e))c(r=t.images[0]=v(),t),p(r,e),t.mipmask=1;else if(u(t,e),Array.isArray(e.mipmap))for(var n=e.mipmap,i=0;i<n.length;++i)c(r=t.images[i]=v(),t),r.width>>=i,r.height>>=i,p(r,n[i]),t.mipmask|=1<<i;else c(r=t.images[0]=v(),t),p(r,e),t.mipmask=1;c(t,t.images[0])}function E(e,r){for(var i=e.images,a=0;a<i.length&&i[a];++a){var o=i[a],s=r,l=a,c=o.element,u=o.data,h=o.internalformat,p=o.format,d=o.type,g=o.width,m=o.height;f(o),c?t.texImage2D(s,l,p,p,d,c):o.compressed?t.compressedTexImage2D(s,l,h,g,m,0,u):o.needsCopy?(n(),t.copyTexImage2D(s,l,p,o.xOffset,o.yOffset,g,m,0)):t.texImage2D(s,l,p,g,m,0,p,d,u||null)}}function L(){var t=mt.pop()||new A;s.call(t);for(var e=t.mipmask=0;16>e;++e)t.images[e]=null;return t}function C(t){for(var e=t.images,r=0;r<e.length;++r)e[r]&&k(e[r]),e[r]=null;mt.push(t)}function P(){this.magFilter=this.minFilter=9728,this.wrapT=this.wrapS=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function I(t,e){"min"in e&&(t.minFilter=V[e.min],0<=at.indexOf(t.minFilter)&&!("faces"in e)&&(t.genMipmaps=!0)),"mag"in e&&(t.magFilter=U[e.mag]);var r=t.wrapS,n=t.wrapT;if("wrap"in e){var i=e.wrap;"string"==typeof i?r=n=N[i]:Array.isArray(i)&&(r=N[i[0]],n=N[i[1]])}else"wrapS"in e&&(r=N[e.wrapS]),"wrapT"in e&&(n=N[e.wrapT]);if(t.wrapS=r,t.wrapT=n,"anisotropic"in e&&(t.anisotropic=e.anisotropic),"mipmap"in e){switch(r=!1,typeof e.mipmap){case"string":t.mipmapHint=B[e.mipmap],r=t.genMipmaps=!0;break;case"boolean":r=t.genMipmaps=e.mipmap;break;case"object":t.genMipmaps=!1,r=!0}!r||"min"in e||(t.minFilter=9984)}}function O(r,n){t.texParameteri(n,10241,r.minFilter),t.texParameteri(n,10240,r.magFilter),t.texParameteri(n,10242,r.wrapS),t.texParameteri(n,10243,r.wrapT),e.ext_texture_filter_anisotropic&&t.texParameteri(n,34046,r.anisotropic),r.genMipmaps&&(t.hint(33170,r.mipmapHint),t.generateMipmap(n))}function z(e){s.call(this),this.mipmask=0,this.internalformat=6408,this.id=vt++,this.refCount=1,this.target=e,this.texture=t.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new P,o.profile&&(this.stats={size:0})}function D(e){t.activeTexture(33984),t.bindTexture(e.target,e.texture)}function R(){var e=bt[0];e?t.bindTexture(e.target,e.texture):t.bindTexture(3553,null)}function F(e){var r=e.texture,n=e.unit,i=e.target;0<=n&&(t.activeTexture(33984+n),t.bindTexture(i,null),bt[n]=null),t.deleteTexture(r),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete yt[e.id],a.textureCount--}var B={"don't care":4352,"dont care":4352,nice:4354,fast:4353},N={repeat:10497,clamp:33071,mirror:33648},U={nearest:9728,linear:9729},V=j({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},U),H={none:0,browser:37444},q={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},Y={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},K={};e.ext_srgb&&(Y.srgb=35904,Y.srgba=35906),e.oes_texture_float&&(q.float32=q.float=5126),e.oes_texture_half_float&&(q.float16=q["half float"]=36193),e.webgl_depth_texture&&(j(Y,{depth:6402,"depth stencil":34041}),j(q,{uint16:5123,uint32:5125,"depth stencil":34042})),e.webgl_compressed_texture_s3tc&&j(K,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),e.webgl_compressed_texture_atc&&j(K,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),e.webgl_compressed_texture_pvrtc&&j(K,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),e.webgl_compressed_texture_etc1&&(K["rgb etc1"]=36196);var Q=Array.prototype.slice.call(t.getParameter(34467));Object.keys(K).forEach((function(t){var e=K[t];0<=Q.indexOf(e)&&(Y[t]=e)}));var $=Object.keys(Y);r.textureFormats=$;var tt=[];Object.keys(Y).forEach((function(t){tt[Y[t]]=t}));var et=[];Object.keys(q).forEach((function(t){et[q[t]]=t}));var rt=[];Object.keys(U).forEach((function(t){rt[U[t]]=t}));var nt=[];Object.keys(V).forEach((function(t){nt[V[t]]=t}));var it=[];Object.keys(N).forEach((function(t){it[N[t]]=t}));var dt=$.reduce((function(t,r){var n=Y[r];return 6409===n||6406===n||6409===n||6410===n||6402===n||34041===n||e.ext_srgb&&(35904===n||35906===n)?t[n]=n:32855===n||0<=r.indexOf("rgba")?t[n]=6408:t[n]=6407,t}),{}),gt=[],mt=[],vt=0,yt={},xt=r.maxTextureUnits,bt=Array(xt).map((function(){return null}));return j(z.prototype,{bind:function(){this.bindCount+=1;var e=this.unit;if(0>e){for(var r=0;r<xt;++r){var n=bt[r];if(n){if(0<n.bindCount)continue;n.unit=-1}bt[r]=this,e=r;break}o.profile&&a.maxTextureUnits<e+1&&(a.maxTextureUnits=e+1),this.unit=e,t.activeTexture(33984+e),t.bindTexture(this.target,this.texture)}return e},unbind:function(){--this.bindCount},decRef:function(){0>=--this.refCount&&F(this)}}),o.profile&&(a.getTotalTextureSize=function(){var t=0;return Object.keys(yt).forEach((function(e){t+=yt[e].stats.size})),t}),{create2D:function(e,r){function n(t,e){var r=i.texInfo;P.call(r);var a=L();return"number"==typeof t?M(a,0|t,"number"==typeof e?0|e:0|t):t?(I(r,t),S(a,t)):M(a,1,1),r.genMipmaps&&(a.mipmask=(a.width<<1)-1),i.mipmask=a.mipmask,c(i,a),i.internalformat=a.internalformat,n.width=a.width,n.height=a.height,D(i),E(a,3553),O(r,3553),R(),C(a),o.profile&&(i.stats.size=T(i.internalformat,i.type,a.width,a.height,r.genMipmaps,!1)),n.format=tt[i.internalformat],n.type=et[i.type],n.mag=rt[r.magFilter],n.min=nt[r.minFilter],n.wrapS=it[r.wrapS],n.wrapT=it[r.wrapT],n}var i=new z(3553);return yt[i.id]=i,a.textureCount++,n(e,r),n.subimage=function(t,e,r,a){e|=0,r|=0,a|=0;var o=v();return c(o,i),o.width=0,o.height=0,p(o,t),o.width=o.width||(i.width>>a)-e,o.height=o.height||(i.height>>a)-r,D(i),d(o,3553,e,r,a),R(),k(o),n},n.resize=function(e,r){var a=0|e,s=0|r||a;if(a===i.width&&s===i.height)return n;n.width=i.width=a,n.height=i.height=s,D(i);for(var l=0;i.mipmask>>l;++l){var c=a>>l,u=s>>l;if(!c||!u)break;t.texImage2D(3553,l,i.format,c,u,0,i.format,i.type,null)}return R(),o.profile&&(i.stats.size=T(i.internalformat,i.type,a,s,!1,!1)),n},n._reglType="texture2d",n._texture=i,o.profile&&(n.stats=i.stats),n.destroy=function(){i.decRef()},n},createCube:function(e,r,n,i,s,l){function f(t,e,r,n,i,a){var s,l=h.texInfo;for(P.call(l),s=0;6>s;++s)g[s]=L();if("number"!=typeof t&&t){if("object"==typeof t)if(e)S(g[0],t),S(g[1],e),S(g[2],r),S(g[3],n),S(g[4],i),S(g[5],a);else if(I(l,t),u(h,t),"faces"in t)for(t=t.faces,s=0;6>s;++s)c(g[s],h),S(g[s],t[s]);else for(s=0;6>s;++s)S(g[s],t)}else for(t=0|t||1,s=0;6>s;++s)M(g[s],t,t);for(c(h,g[0]),h.mipmask=l.genMipmaps?(g[0].width<<1)-1:g[0].mipmask,h.internalformat=g[0].internalformat,f.width=g[0].width,f.height=g[0].height,D(h),s=0;6>s;++s)E(g[s],34069+s);for(O(l,34067),R(),o.profile&&(h.stats.size=T(h.internalformat,h.type,f.width,f.height,l.genMipmaps,!0)),f.format=tt[h.internalformat],f.type=et[h.type],f.mag=rt[l.magFilter],f.min=nt[l.minFilter],f.wrapS=it[l.wrapS],f.wrapT=it[l.wrapT],s=0;6>s;++s)C(g[s]);return f}var h=new z(34067);yt[h.id]=h,a.cubeCount++;var g=Array(6);return f(e,r,n,i,s,l),f.subimage=function(t,e,r,n,i){r|=0,n|=0,i|=0;var a=v();return c(a,h),a.width=0,a.height=0,p(a,e),a.width=a.width||(h.width>>i)-r,a.height=a.height||(h.height>>i)-n,D(h),d(a,34069+t,r,n,i),R(),k(a),f},f.resize=function(e){if((e|=0)!==h.width){f.width=h.width=e,f.height=h.height=e,D(h);for(var r=0;6>r;++r)for(var n=0;h.mipmask>>n;++n)t.texImage2D(34069+r,n,h.format,e>>n,e>>n,0,h.format,h.type,null);return R(),o.profile&&(h.stats.size=T(h.internalformat,h.type,f.width,f.height,!1,!0)),f}},f._reglType="textureCube",f._texture=h,o.profile&&(f.stats=h.stats),f.destroy=function(){h.decRef()},f},clear:function(){for(var e=0;e<xt;++e)t.activeTexture(33984+e),t.bindTexture(3553,null),bt[e]=null;X(yt).forEach(F),a.cubeCount=0,a.textureCount=0},getTexture:function(t){return null},restore:function(){for(var e=0;e<xt;++e){var r=bt[e];r&&(r.bindCount=0,r.unit=-1,bt[e]=null)}X(yt).forEach((function(e){e.texture=t.createTexture(),t.bindTexture(e.target,e.texture);for(var r=0;32>r;++r)if(0!=(e.mipmask&1<<r))if(3553===e.target)t.texImage2D(3553,r,e.internalformat,e.width>>r,e.height>>r,0,e.internalformat,e.type,null);else for(var n=0;6>n;++n)t.texImage2D(34069+n,r,e.internalformat,e.width>>r,e.height>>r,0,e.internalformat,e.type,null);O(e.texInfo,e.target)}))},refresh:function(){for(var e=0;e<xt;++e){var r=bt[e];r&&(r.bindCount=0,r.unit=-1,bt[e]=null),t.activeTexture(33984+e),t.bindTexture(3553,null),t.bindTexture(34067,null)}}}}function A(t,e,r,n,i,a){function o(t,e,r){this.target=t,this.texture=e,this.renderbuffer=r;var n=t=0;e?(t=e.width,n=e.height):r&&(t=r.width,n=r.height),this.width=t,this.height=n}function s(t){t&&(t.texture&&t.texture._texture.decRef(),t.renderbuffer&&t.renderbuffer._renderbuffer.decRef())}function l(t,e,r){t&&(t.texture?t.texture._texture.refCount+=1:t.renderbuffer._renderbuffer.refCount+=1)}function c(e,r){r&&(r.texture?t.framebufferTexture2D(36160,e,r.target,r.texture._texture.texture,0):t.framebufferRenderbuffer(36160,e,36161,r.renderbuffer._renderbuffer.renderbuffer))}function u(t){var e=3553,r=null,n=null,i=t;return"object"==typeof t&&(i=t.data,"target"in t&&(e=0|t.target)),"texture2d"===(t=i._reglType)||"textureCube"===t?r=i:"renderbuffer"===t&&(n=i,e=36161),new o(e,r,n)}function f(t,e,r,a,s){return r?((t=n.create2D({width:t,height:e,format:a,type:s}))._texture.refCount=0,new o(3553,t,null)):((t=i.create({width:t,height:e,format:a}))._renderbuffer.refCount=0,new o(36161,null,t))}function h(t){return t&&(t.texture||t.renderbuffer)}function p(t,e,r){t&&(t.texture?t.texture.resize(e,r):t.renderbuffer&&t.renderbuffer.resize(e,r),t.width=e,t.height=r)}function d(){this.id=T++,k[this.id]=this,this.framebuffer=t.createFramebuffer(),this.height=this.width=0,this.colorAttachments=[],this.depthStencilAttachment=this.stencilAttachment=this.depthAttachment=null}function g(t){t.colorAttachments.forEach(s),s(t.depthAttachment),s(t.stencilAttachment),s(t.depthStencilAttachment)}function m(e){t.deleteFramebuffer(e.framebuffer),e.framebuffer=null,a.framebufferCount--,delete k[e.id]}function v(e){var n;t.bindFramebuffer(36160,e.framebuffer);var i=e.colorAttachments;for(n=0;n<i.length;++n)c(36064+n,i[n]);for(n=i.length;n<r.maxColorAttachments;++n)t.framebufferTexture2D(36160,36064+n,3553,null,0);t.framebufferTexture2D(36160,33306,3553,null,0),t.framebufferTexture2D(36160,36096,3553,null,0),t.framebufferTexture2D(36160,36128,3553,null,0),c(36096,e.depthAttachment),c(36128,e.stencilAttachment),c(33306,e.depthStencilAttachment),t.checkFramebufferStatus(36160),t.isContextLost(),t.bindFramebuffer(36160,x.next?x.next.framebuffer:null),x.cur=x.next,t.getError()}function y(t,e){function r(t,e){var i,a=0,o=0,s=!0,c=!0;i=null;var p=!0,d="rgba",m="uint8",y=1,x=null,w=null,T=null,k=!1;"number"==typeof t?(a=0|t,o=0|e||a):t?("shape"in t?(a=(o=t.shape)[0],o=o[1]):("radius"in t&&(a=o=t.radius),"width"in t&&(a=t.width),"height"in t&&(o=t.height)),("color"in t||"colors"in t)&&(i=t.color||t.colors,Array.isArray(i)),i||("colorCount"in t&&(y=0|t.colorCount),"colorTexture"in t&&(p=!!t.colorTexture,d="rgba4"),"colorType"in t&&(m=t.colorType,!p)&&("half float"===m||"float16"===m?d="rgba16f":"float"!==m&&"float32"!==m||(d="rgba32f")),"colorFormat"in t&&(d=t.colorFormat,0<=b.indexOf(d)?p=!0:0<=_.indexOf(d)&&(p=!1))),("depthTexture"in t||"depthStencilTexture"in t)&&(k=!(!t.depthTexture&&!t.depthStencilTexture)),"depth"in t&&("boolean"==typeof t.depth?s=t.depth:(x=t.depth,c=!1)),"stencil"in t&&("boolean"==typeof t.stencil?c=t.stencil:(w=t.stencil,s=!1)),"depthStencil"in t&&("boolean"==typeof t.depthStencil?s=c=t.depthStencil:(T=t.depthStencil,c=s=!1))):a=o=1;var A=null,M=null,S=null,E=null;if(Array.isArray(i))A=i.map(u);else if(i)A=[u(i)];else for(A=Array(y),i=0;i<y;++i)A[i]=f(a,o,p,d,m);for(a=a||A[0].width,o=o||A[0].height,x?M=u(x):s&&!c&&(M=f(a,o,k,"depth","uint32")),w?S=u(w):c&&!s&&(S=f(a,o,!1,"stencil","uint8")),T?E=u(T):!x&&!w&&c&&s&&(E=f(a,o,k,"depth stencil","depth stencil")),s=null,i=0;i<A.length;++i)l(A[i]),A[i]&&A[i].texture&&(c=xt[A[i].texture._texture.format]*bt[A[i].texture._texture.type],null===s&&(s=c));return l(M),l(S),l(E),g(n),n.width=a,n.height=o,n.colorAttachments=A,n.depthAttachment=M,n.stencilAttachment=S,n.depthStencilAttachment=E,r.color=A.map(h),r.depth=h(M),r.stencil=h(S),r.depthStencil=h(E),r.width=n.width,r.height=n.height,v(n),r}var n=new d;return a.framebufferCount++,r(t,e),j(r,{resize:function(t,e){var i=Math.max(0|t,1),a=Math.max(0|e||i,1);if(i===n.width&&a===n.height)return r;for(var o=n.colorAttachments,s=0;s<o.length;++s)p(o[s],i,a);return p(n.depthAttachment,i,a),p(n.stencilAttachment,i,a),p(n.depthStencilAttachment,i,a),n.width=r.width=i,n.height=r.height=a,v(n),r},_reglType:"framebuffer",_framebuffer:n,destroy:function(){m(n),g(n)},use:function(t){x.setFBO({framebuffer:r},t)}})}var x={cur:null,next:null,dirty:!1,setFBO:null},b=["rgba"],_=["rgba4","rgb565","rgb5 a1"];e.ext_srgb&&_.push("srgba"),e.ext_color_buffer_half_float&&_.push("rgba16f","rgb16f"),e.webgl_color_buffer_float&&_.push("rgba32f");var w=["uint8"];e.oes_texture_half_float&&w.push("half float","float16"),e.oes_texture_float&&w.push("float","float32");var T=0,k={};return j(x,{getFramebuffer:function(t){return"function"==typeof t&&"framebuffer"===t._reglType&&(t=t._framebuffer)instanceof d?t:null},create:y,createCube:function(t){function e(t){var i,a={color:null},o=0,s=null;i="rgba";var l="uint8",c=1;if("number"==typeof t?o=0|t:t?("shape"in t?o=t.shape[0]:("radius"in t&&(o=0|t.radius),"width"in t?o=0|t.width:"height"in t&&(o=0|t.height)),("color"in t||"colors"in t)&&(s=t.color||t.colors,Array.isArray(s)),s||("colorCount"in t&&(c=0|t.colorCount),"colorType"in t&&(l=t.colorType),"colorFormat"in t&&(i=t.colorFormat)),"depth"in t&&(a.depth=t.depth),"stencil"in t&&(a.stencil=t.stencil),"depthStencil"in t&&(a.depthStencil=t.depthStencil)):o=1,s)if(Array.isArray(s))for(t=[],i=0;i<s.length;++i)t[i]=s[i];else t=[s];else for(t=Array(c),s={radius:o,format:i,type:l},i=0;i<c;++i)t[i]=n.createCube(s);for(a.color=Array(t.length),i=0;i<t.length;++i)c=t[i],o=o||c.width,a.color[i]={target:34069,data:t[i]};for(i=0;6>i;++i){for(c=0;c<t.length;++c)a.color[c].target=34069+i;0<i&&(a.depth=r[0].depth,a.stencil=r[0].stencil,a.depthStencil=r[0].depthStencil),r[i]?r[i](a):r[i]=y(a)}return j(e,{width:o,height:o,color:t})}var r=Array(6);return e(t),j(e,{faces:r,resize:function(t){var n=0|t;if(n===e.width)return e;var i=e.color;for(t=0;t<i.length;++t)i[t].resize(n);for(t=0;6>t;++t)r[t].resize(n);return e.width=e.height=n,e},_reglType:"framebufferCube",destroy:function(){r.forEach((function(t){t.destroy()}))}})},clear:function(){X(k).forEach(m)},restore:function(){x.cur=null,x.next=null,x.dirty=!0,X(k).forEach((function(e){e.framebuffer=t.createFramebuffer(),v(e)}))}})}function M(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function S(t,e,r,n,i,a,o){function s(){this.id=++f,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var t=e.oes_vertex_array_object;this.vao=t?t.createVertexArrayOES():null,h[this.id]=this,this.buffers=[]}var c=r.maxAttributes,u=Array(c);for(r=0;r<c;++r)u[r]=new M;var f=0,h={},p={Record:M,scope:{},state:u,currentVAO:null,targetVAO:null,restore:e.oes_vertex_array_object?function(){e.oes_vertex_array_object&&X(h).forEach((function(t){t.refresh()}))}:function(){},createVAO:function(t){function e(t){var n;Array.isArray(t)?(n=t,r.elements&&r.ownsElements&&r.elements.destroy(),r.elements=null,r.ownsElements=!1,r.offset=0,r.count=0,r.instances=-1,r.primitive=4):(t.elements?(n=t.elements,r.ownsElements?("function"==typeof n&&"elements"===n._reglType?r.elements.destroy():r.elements(n),r.ownsElements=!1):a.getElements(t.elements)?(r.elements=t.elements,r.ownsElements=!1):(r.elements=a.create(t.elements),r.ownsElements=!0)):(r.elements=null,r.ownsElements=!1),n=t.attributes,r.offset=0,r.count=-1,r.instances=-1,r.primitive=4,r.elements&&(r.count=r.elements._elements.vertCount,r.primitive=r.elements._elements.primType),"offset"in t&&(r.offset=0|t.offset),"count"in t&&(r.count=0|t.count),"instances"in t&&(r.instances=0|t.instances),"primitive"in t&&(r.primitive=rt[t.primitive])),t={};var o=r.attributes;o.length=n.length;for(var s=0;s<n.length;++s){var c,u=n[s],f=o[s]=new M,h=u.data||u;if(Array.isArray(h)||W(h)||l(h))r.buffers[s]&&(c=r.buffers[s],W(h)&&c._buffer.byteLength>=h.byteLength?c.subdata(h):(c.destroy(),r.buffers[s]=null)),r.buffers[s]||(c=r.buffers[s]=i.create(u,34962,!1,!0)),f.buffer=i.getBuffer(c),f.size=0|f.buffer.dimension,f.normalized=!1,f.type=f.buffer.dtype,f.offset=0,f.stride=0,f.divisor=0,f.state=1,t[s]=1;else i.getBuffer(u)?(f.buffer=i.getBuffer(u),f.size=0|f.buffer.dimension,f.normalized=!1,f.type=f.buffer.dtype,f.offset=0,f.stride=0,f.divisor=0,f.state=1):i.getBuffer(u.buffer)?(f.buffer=i.getBuffer(u.buffer),f.size=0|(+u.size||f.buffer.dimension),f.normalized=!!u.normalized||!1,f.type="type"in u?K[u.type]:f.buffer.dtype,f.offset=0|(u.offset||0),f.stride=0|(u.stride||0),f.divisor=0|(u.divisor||0),f.state=1):"x"in u&&(f.x=+u.x||0,f.y=+u.y||0,f.z=+u.z||0,f.w=+u.w||0,f.state=2)}for(c=0;c<r.buffers.length;++c)!t[c]&&r.buffers[c]&&(r.buffers[c].destroy(),r.buffers[c]=null);return r.refresh(),e}var r=new s;return n.vaoCount+=1,e.destroy=function(){for(var t=0;t<r.buffers.length;++t)r.buffers[t]&&r.buffers[t].destroy();r.buffers.length=0,r.ownsElements&&(r.elements.destroy(),r.elements=null,r.ownsElements=!1),r.destroy()},e._vao=r,e._reglType="vao",e(t)},getVAO:function(t){return"function"==typeof t&&t._vao?t._vao:null},destroyBuffer:function(e){for(var r=0;r<u.length;++r){var n=u[r];n.buffer===e&&(t.disableVertexAttribArray(r),n.buffer=null)}},setVAO:e.oes_vertex_array_object?function(t){if(t!==p.currentVAO){var r=e.oes_vertex_array_object;t?r.bindVertexArrayOES(t.vao):r.bindVertexArrayOES(null),p.currentVAO=t}}:function(r){if(r!==p.currentVAO){if(r)r.bindAttrs();else{for(var n=e.angle_instanced_arrays,i=0;i<u.length;++i){var a=u[i];a.buffer?(t.enableVertexAttribArray(i),a.buffer.bind(),t.vertexAttribPointer(i,a.size,a.type,a.normalized,a.stride,a.offfset),n&&a.divisor&&n.vertexAttribDivisorANGLE(i,a.divisor)):(t.disableVertexAttribArray(i),t.vertexAttrib4f(i,a.x,a.y,a.z,a.w))}o.elements?t.bindBuffer(34963,o.elements.buffer.buffer):t.bindBuffer(34963,null)}p.currentVAO=r}},clear:e.oes_vertex_array_object?function(){X(h).forEach((function(t){t.destroy()}))}:function(){}};return s.prototype.bindAttrs=function(){for(var r=e.angle_instanced_arrays,n=this.attributes,i=0;i<n.length;++i){var o=n[i];o.buffer?(t.enableVertexAttribArray(i),t.bindBuffer(34962,o.buffer.buffer),t.vertexAttribPointer(i,o.size,o.type,o.normalized,o.stride,o.offset),r&&o.divisor&&r.vertexAttribDivisorANGLE(i,o.divisor)):(t.disableVertexAttribArray(i),t.vertexAttrib4f(i,o.x,o.y,o.z,o.w))}for(r=n.length;r<c;++r)t.disableVertexAttribArray(r);(r=a.getElements(this.elements))?t.bindBuffer(34963,r.buffer.buffer):t.bindBuffer(34963,null)},s.prototype.refresh=function(){var t=e.oes_vertex_array_object;t&&(t.bindVertexArrayOES(this.vao),this.bindAttrs(),p.currentVAO=null,t.bindVertexArrayOES(null))},s.prototype.destroy=function(){if(this.vao){var t=e.oes_vertex_array_object;this===p.currentVAO&&(p.currentVAO=null,t.bindVertexArrayOES(null)),t.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),h[this.id]&&(delete h[this.id],--n.vaoCount)},p}function E(t,e,r,n){function i(t,e,r,n){this.name=t,this.id=e,this.location=r,this.info=n}function a(t,e){for(var r=0;r<t.length;++r)if(t[r].id===e.id)return void(t[r].location=e.location);t.push(e)}function o(r,n,i){if(!(o=(i=35632===r?c:u)[n])){var a=e.str(n),o=t.createShader(r);t.shaderSource(o,a),t.compileShader(o),i[n]=o}return o}function s(t,e){this.id=p++,this.fragId=t,this.vertId=e,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,n.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function l(r,s,l){var c;c=o(35632,r.fragId);var u=o(35633,r.vertId);if(s=r.program=t.createProgram(),t.attachShader(s,c),t.attachShader(s,u),l)for(c=0;c<l.length;++c)u=l[c],t.bindAttribLocation(s,u[0],u[1]);t.linkProgram(s),u=t.getProgramParameter(s,35718),n.profile&&(r.stats.uniformsCount=u);var f=r.uniforms;for(c=0;c<u;++c)if(l=t.getActiveUniform(s,c)){if(1<l.size)for(var h=0;h<l.size;++h){var p=l.name.replace("[0]","["+h+"]");a(f,new i(p,e.id(p),t.getUniformLocation(s,p),l))}h=l.name,1<l.size&&(h=h.replace("[0]","")),a(f,new i(h,e.id(h),t.getUniformLocation(s,h),l))}for(u=t.getProgramParameter(s,35721),n.profile&&(r.stats.attributesCount=u),r=r.attributes,c=0;c<u;++c)(l=t.getActiveAttrib(s,c))&&a(r,new i(l.name,e.id(l.name),t.getAttribLocation(s,l.name),l))}var c={},u={},f={},h=[],p=0;return n.profile&&(r.getMaxUniformsCount=function(){var t=0;return h.forEach((function(e){e.stats.uniformsCount>t&&(t=e.stats.uniformsCount)})),t},r.getMaxAttributesCount=function(){var t=0;return h.forEach((function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)})),t}),{clear:function(){var e=t.deleteShader.bind(t);X(c).forEach(e),c={},X(u).forEach(e),u={},h.forEach((function(e){t.deleteProgram(e.program)})),h.length=0,f={},r.shaderCount=0},program:function(e,n,i,a){var o=f[n];o||(o=f[n]={});var p=o[e];if(p&&(p.refCount++,!a))return p;var d=new s(n,e);return r.shaderCount++,l(d,i,a),p||(o[e]=d),h.push(d),j(d,{destroy:function(){if(d.refCount--,0>=d.refCount){t.deleteProgram(d.program);var e=h.indexOf(d);h.splice(e,1),r.shaderCount--}0>=o[d.vertId].refCount&&(t.deleteShader(u[d.vertId]),delete u[d.vertId],delete f[d.fragId][d.vertId]),Object.keys(f[d.fragId]).length||(t.deleteShader(c[d.fragId]),delete c[d.fragId],delete f[d.fragId])}})},restore:function(){c={},u={};for(var t=0;t<h.length;++t)l(h[t],null,h[t].attributes.map((function(t){return[t.location,t.name]})))},shader:o,frag:-1,vert:-1}}function L(t,e,r,n,i,a,o){function s(i){var a;a=null===e.next?5121:e.next.colorAttachments[0].texture._texture.type;var o=0,s=0,l=n.framebufferWidth,c=n.framebufferHeight,u=null;return W(i)?u=i:i&&(o=0|i.x,s=0|i.y,l=0|(i.width||n.framebufferWidth-o),c=0|(i.height||n.framebufferHeight-s),u=i.data||null),r(),i=l*c*4,u||(5121===a?u=new Uint8Array(i):5126===a&&(u=u||new Float32Array(i))),t.pixelStorei(3333,4),t.readPixels(o,s,l,c,6408,a,u),u}return function(t){return t&&"framebuffer"in t?function(t){var r;return e.setFBO({framebuffer:t.framebuffer},(function(){r=s(t)})),r}(t):s(t)}}function C(t){return Array.prototype.slice.call(t)}function P(t){return C(t).join("")}function I(t){return Array.isArray(t)||W(t)||l(t)}function O(t){return t.sort((function(t,e){return"viewport"===t?-1:"viewport"===e?1:t<e?-1:1}))}function z(t,e,r,n){this.thisDep=t,this.contextDep=e,this.propDep=r,this.append=n}function D(t){return t&&!(t.thisDep||t.contextDep||t.propDep)}function R(t){return new z(!1,!1,!1,t)}function F(t,e){var r=t.type;if(0===r)return new z(!0,1<=(r=t.data.length),2<=r,e);if(4===r)return new z((r=t.data).thisDep,r.contextDep,r.propDep,e);if(5===r)return new z(!1,!1,!1,e);if(6===r){for(var n=r=!1,i=!1,a=0;a<t.data.length;++a){var o=t.data[a];1===o.type?i=!0:2===o.type?n=!0:3===o.type?r=!0:0===o.type?(r=!0,1<=(o=o.data)&&(n=!0),2<=o&&(i=!0)):4===o.type&&(r=r||o.data.thisDep,n=n||o.data.contextDep,i=i||o.data.propDep)}return new z(r,n,i,e)}return new z(3===r,2===r,1===r,e)}function B(t,e,r,n,i,o,s,l,c,u,f,h,p,d,g){function v(t){return t.replace(".","_")}function y(t,e,r){var n=v(t);ot.push(t),at[n]=it[n]=!!r,st[n]=e}function x(t,e,r){var n=v(t);ot.push(t),Array.isArray(r)?(it[n]=r.slice(),at[n]=r.slice()):it[n]=at[n]=r,lt[n]=e}function b(){var t=function(){function t(){var t=[],e=[];return j((function(){t.push.apply(t,C(arguments))}),{def:function(){var n="v"+r++;return e.push(n),0<arguments.length&&(t.push(n,"="),t.push.apply(t,C(arguments)),t.push(";")),n},toString:function(){return P([0<e.length?"var "+e.join(",")+";":"",P(t)])}})}function e(){function e(t,e){n(t,e,"=",r.def(t,e),";")}var r=t(),n=t(),i=r.toString,a=n.toString;return j((function(){r.apply(r,C(arguments))}),{def:r.def,entry:r,exit:n,save:e,set:function(t,n,i){e(t,n),r(t,n,"=",i,";")},toString:function(){return i()+a()}})}var r=0,n=[],i=[],a=t(),o={};return{global:a,link:function(t){for(var e=0;e<i.length;++e)if(i[e]===t)return n[e];return e="g"+r++,n.push(e),i.push(t),e},block:t,proc:function(t,r){function n(){var t="a"+i.length;return i.push(t),t}var i=[];r=r||0;for(var a=0;a<r;++a)n();var s=(a=e()).toString;return o[t]=j(a,{arg:n,toString:function(){return P(["function(",i.join(),"){",s(),"}"])}})},scope:e,cond:function(){var t=P(arguments),r=e(),n=e(),i=r.toString,a=n.toString;return j(r,{then:function(){return r.apply(r,C(arguments)),this},else:function(){return n.apply(n,C(arguments)),this},toString:function(){var e=a();return e&&(e="else{"+e+"}"),P(["if(",t,"){",i(),"}",e])}})},compile:function(){var t=['"use strict";',a,"return {"];Object.keys(o).forEach((function(e){t.push('"',e,'":',o[e].toString(),",")})),t.push("}");var e=P(t).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,"{\n");return Function.apply(null,n.concat(e)).apply(null,i)}}}(),r=t.link,n=t.global;t.id=ft++,t.batchId="0";var i=r(ct),a=t.shared={props:"a0"};Object.keys(ct).forEach((function(t){a[t]=n.def(i,".",t)}));var o=t.next={},s=t.current={};Object.keys(lt).forEach((function(t){Array.isArray(it[t])&&(o[t]=n.def(a.next,".",t),s[t]=n.def(a.current,".",t))}));var l=t.constants={};Object.keys(ut).forEach((function(t){l[t]=n.def(JSON.stringify(ut[t]))})),t.invoke=function(e,n){switch(n.type){case 0:var i=["this",a.context,a.props,t.batchId];return e.def(r(n.data),".call(",i.slice(0,Math.max(n.data.length+1,4)),")");case 1:return e.def(a.props,n.data);case 2:return e.def(a.context,n.data);case 3:return e.def("this",n.data);case 4:return n.data.append(t,e),n.data.ref;case 5:return n.data.toString();case 6:return n.data.map((function(r){return t.invoke(e,r)}))}},t.attribCache={};var c={};return t.scopeAttrib=function(t){if((t=e.id(t))in c)return c[t];var n=u.scope[t];return n||(n=u.scope[t]=new Q),c[t]=r(n)},t}function _(t,e){var r=t.static,n=t.dynamic;if("framebuffer"in r){var i=r.framebuffer;return i?(i=l.getFramebuffer(i),R((function(t,e){var r=t.link(i),n=t.shared;return e.set(n.framebuffer,".next",r),n=n.context,e.set(n,".framebufferWidth",r+".width"),e.set(n,".framebufferHeight",r+".height"),r}))):R((function(t,e){var r=t.shared;return e.set(r.framebuffer,".next","null"),r=r.context,e.set(r,".framebufferWidth",r+".drawingBufferWidth"),e.set(r,".framebufferHeight",r+".drawingBufferHeight"),"null"}))}if("framebuffer"in n){var a=n.framebuffer;return F(a,(function(t,e){var r=t.invoke(e,a),n=t.shared,i=n.framebuffer;r=e.def(i,".getFramebuffer(",r,")");return e.set(i,".next",r),n=n.context,e.set(n,".framebufferWidth",r+"?"+r+".width:"+n+".drawingBufferWidth"),e.set(n,".framebufferHeight",r+"?"+r+".height:"+n+".drawingBufferHeight"),r}))}return null}function w(t,r,n){function i(t){if(t in a){var r=e.id(a[t]);return(t=R((function(){return r}))).id=r,t}if(t in o){var n=o[t];return F(n,(function(t,e){var r=t.invoke(e,n);return e.def(t.shared.strings,".id(",r,")")}))}return null}var a=t.static,o=t.dynamic,s=i("frag"),l=i("vert"),c=null;return D(s)&&D(l)?(c=f.program(l.id,s.id,null,n),t=R((function(t,e){return t.link(c)}))):t=new z(s&&s.thisDep||l&&l.thisDep,s&&s.contextDep||l&&l.contextDep,s&&s.propDep||l&&l.propDep,(function(t,e){var r,n,i=t.shared.shader;return r=s?s.append(t,e):e.def(i,".","frag"),n=l?l.append(t,e):e.def(i,".","vert"),e.def(i+".program("+n+","+r+")")})),{frag:s,vert:l,progVar:t,program:c}}function T(t,e){function r(t,e){if(t in n){var r=0|n[t];return e?a.offset=r:a.instances=r,R((function(t,n){return e&&(t.OFFSET=r),r}))}if(t in i){var o=i[t];return F(o,(function(t,r){var n=t.invoke(r,o);return e&&(t.OFFSET=n),n}))}if(e){if(c)return R((function(t,e){return t.OFFSET=0}));if(s)return new z(l.thisDep,l.contextDep,l.propDep,(function(t,e){return e.def(t.shared.vao+".currentVAO?"+t.shared.vao+".currentVAO.offset:0")}))}else if(s)return new z(l.thisDep,l.contextDep,l.propDep,(function(t,e){return e.def(t.shared.vao+".currentVAO?"+t.shared.vao+".currentVAO.instances:-1")}));return null}var n=t.static,i=t.dynamic,a={},s=!1,l=function(){if("vao"in n){var t=n.vao;return null!==t&&null===u.getVAO(t)&&(t=u.createVAO(t)),s=!0,a.vao=t,R((function(e){var r=u.getVAO(t);return r?e.link(r):"null"}))}if("vao"in i){s=!0;var e=i.vao;return F(e,(function(t,r){var n=t.invoke(r,e);return r.def(t.shared.vao+".getVAO("+n+")")}))}return null}(),c=!1,f=function(){if("elements"in n){var t=n.elements;if(a.elements=t,I(t)){var e=a.elements=o.create(t,!0);t=o.getElements(e);c=!0}else t&&(t=o.getElements(t),c=!0);return(e=R((function(e,r){if(t){var n=e.link(t);return e.ELEMENTS=n}return e.ELEMENTS=null}))).value=t,e}if("elements"in i){c=!0;var r=i.elements;return F(r,(function(t,e){var n=(i=t.shared).isBufferArgs,i=i.elements,a=t.invoke(e,r),o=e.def("null");n=e.def(n,"(",a,")"),a=t.cond(n).then(o,"=",i,".createStream(",a,");").else(o,"=",i,".getElements(",a,");");return e.entry(a),e.exit(t.cond(n).then(i,".destroyStream(",o,");")),t.ELEMENTS=o}))}return s?new z(l.thisDep,l.contextDep,l.propDep,(function(t,e){return e.def(t.shared.vao+".currentVAO?"+t.shared.elements+".getElements("+t.shared.vao+".currentVAO.elements):null")})):null}(),h=r("offset",!0),p=function(){if("primitive"in n){var t=n.primitive;return a.primitive=t,R((function(e,r){return rt[t]}))}if("primitive"in i){var e=i.primitive;return F(e,(function(t,r){var n=t.constants.primTypes,i=t.invoke(r,e);return r.def(n,"[",i,"]")}))}return c?D(f)?f.value?R((function(t,e){return e.def(t.ELEMENTS,".primType")})):R((function(){return 4})):new z(f.thisDep,f.contextDep,f.propDep,(function(t,e){var r=t.ELEMENTS;return e.def(r,"?",r,".primType:",4)})):s?new z(l.thisDep,l.contextDep,l.propDep,(function(t,e){return e.def(t.shared.vao+".currentVAO?"+t.shared.vao+".currentVAO.primitive:4")})):null}(),d=function(){if("count"in n){var t=0|n.count;return a.count=t,R((function(){return t}))}if("count"in i){var e=i.count;return F(e,(function(t,r){return t.invoke(r,e)}))}return c?D(f)?f?h?new z(h.thisDep,h.contextDep,h.propDep,(function(t,e){return e.def(t.ELEMENTS,".vertCount-",t.OFFSET)})):R((function(t,e){return e.def(t.ELEMENTS,".vertCount")})):R((function(){return-1})):new z(f.thisDep||h.thisDep,f.contextDep||h.contextDep,f.propDep||h.propDep,(function(t,e){var r=t.ELEMENTS;return t.OFFSET?e.def(r,"?",r,".vertCount-",t.OFFSET,":-1"):e.def(r,"?",r,".vertCount:-1")})):s?new z(l.thisDep,l.contextDep,l.propDep,(function(t,e){return e.def(t.shared.vao,".currentVAO?",t.shared.vao,".currentVAO.count:-1")})):null}(),g=r("instances",!1);return{elements:f,primitive:p,count:d,instances:g,offset:h,vao:l,vaoActive:s,elementsActive:c,static:a}}function k(t,r){var n=t.static,a=t.dynamic,o={};return Object.keys(n).forEach((function(t){var r=n[t],a=e.id(t),s=new Q;if(I(r))s.state=1,s.buffer=i.getBuffer(i.create(r,34962,!1,!0)),s.type=0;else if(c=i.getBuffer(r))s.state=1,s.buffer=c,s.type=0;else if("constant"in r){var l=r.constant;s.buffer="null",s.state=2,"number"==typeof l?s.x=l:_t.forEach((function(t,e){e<l.length&&(s[t]=l[e])}))}else{var c=I(r.buffer)?i.getBuffer(i.create(r.buffer,34962,!1,!0)):i.getBuffer(r.buffer),u=0|r.offset,f=0|r.stride,h=0|r.size,p=!!r.normalized,d=0;"type"in r&&(d=K[r.type]),r=0|r.divisor,s.buffer=c,s.state=1,s.size=h,s.normalized=p,s.type=d||c.dtype,s.offset=u,s.stride=f,s.divisor=r}o[t]=R((function(t,e){var r=t.attribCache;if(a in r)return r[a];var n={isStream:!1};return Object.keys(s).forEach((function(t){n[t]=s[t]})),s.buffer&&(n.buffer=t.link(s.buffer),n.type=n.type||n.buffer+".dtype"),r[a]=n}))})),Object.keys(a).forEach((function(t){var e=a[t];o[t]=F(e,(function(t,r){function n(t){r(l[t],"=",i,".",t,"|0;")}var i=t.invoke(r,e),a=t.shared,o=t.constants,s=a.isBufferArgs,l=(a=a.buffer,{isStream:r.def(!1)}),c=new Q;c.state=1,Object.keys(c).forEach((function(t){l[t]=r.def(""+c[t])}));var u=l.buffer,f=l.type;return r("if(",s,"(",i,")){",l.isStream,"=true;",u,"=",a,".createStream(",34962,",",i,");",f,"=",u,".dtype;","}else{",u,"=",a,".getBuffer(",i,");","if(",u,"){",f,"=",u,".dtype;",'}else if("constant" in ',i,"){",l.state,"=",2,";","if(typeof "+i+'.constant === "number"){',l[_t[0]],"=",i,".constant;",_t.slice(1).map((function(t){return l[t]})).join("="),"=0;","}else{",_t.map((function(t,e){return l[t]+"="+i+".constant.length>"+e+"?"+i+".constant["+e+"]:0;"})).join(""),"}}else{","if(",s,"(",i,".buffer)){",u,"=",a,".createStream(",34962,",",i,".buffer);","}else{",u,"=",a,".getBuffer(",i,".buffer);","}",f,'="type" in ',i,"?",o.glTypes,"[",i,".type]:",u,".dtype;",l.normalized,"=!!",i,".normalized;"),n("size"),n("offset"),n("stride"),n("divisor"),r("}}"),r.exit("if(",l.isStream,"){",a,".destroyStream(",u,");","}"),l}))})),o}function A(t,e,n,i,o){function s(t){var e=c[t];e&&(h[t]=e)}var l=function(t,e){if("string"==typeof(r=t.static).frag&&"string"==typeof r.vert){if(0<Object.keys(e.dynamic).length)return null;var r=e.static,n=Object.keys(r);if(0<n.length&&"number"==typeof r[n[0]]){for(var i=[],a=0;a<n.length;++a)i.push([0|r[n[a]],n[a]]);return i}}return null}(t,e),c=function(t,e,r){function n(t){if(t in i){var r=i[t];t=!0;var n,o,s=0|r.x,l=0|r.y;return"width"in r?n=0|r.width:t=!1,"height"in r?o=0|r.height:t=!1,new z(!t&&e&&e.thisDep,!t&&e&&e.contextDep,!t&&e&&e.propDep,(function(t,e){var i=t.shared.context,a=n;"width"in r||(a=e.def(i,".","framebufferWidth","-",s));var c=o;return"height"in r||(c=e.def(i,".","framebufferHeight","-",l)),[s,l,a,c]}))}if(t in a){var c=a[t];return t=F(c,(function(t,e){var r=t.invoke(e,c),n=t.shared.context,i=e.def(r,".x|0"),a=e.def(r,".y|0");return[i,a,e.def('"width" in ',r,"?",r,".width|0:","(",n,".","framebufferWidth","-",i,")"),r=e.def('"height" in ',r,"?",r,".height|0:","(",n,".","framebufferHeight","-",a,")")]})),e&&(t.thisDep=t.thisDep||e.thisDep,t.contextDep=t.contextDep||e.contextDep,t.propDep=t.propDep||e.propDep),t}return e?new z(e.thisDep,e.contextDep,e.propDep,(function(t,e){var r=t.shared.context;return[0,0,e.def(r,".","framebufferWidth"),e.def(r,".","framebufferHeight")]})):null}var i=t.static,a=t.dynamic;if(t=n("viewport")){var o=t;t=new z(t.thisDep,t.contextDep,t.propDep,(function(t,e){var r=o.append(t,e),n=t.shared.context;return e.set(n,".viewportWidth",r[2]),e.set(n,".viewportHeight",r[3]),r}))}return{viewport:t,scissor_box:n("scissor.box")}}(t,d=_(t)),f=T(t),h=function(t,e){var r=t.static,n=t.dynamic,i={};return ot.forEach((function(t){function e(e,a){if(t in r){var s=e(r[t]);i[o]=R((function(){return s}))}else if(t in n){var l=n[t];i[o]=F(l,(function(t,e){return a(t,e,t.invoke(e,l))}))}}var o=v(t);switch(t){case"cull.enable":case"blend.enable":case"dither":case"stencil.enable":case"depth.enable":case"scissor.enable":case"polygonOffset.enable":case"sample.alpha":case"sample.enable":case"depth.mask":return e((function(t){return t}),(function(t,e,r){return r}));case"depth.func":return e((function(t){return kt[t]}),(function(t,e,r){return e.def(t.constants.compareFuncs,"[",r,"]")}));case"depth.range":return e((function(t){return t}),(function(t,e,r){return[e.def("+",r,"[0]"),e=e.def("+",r,"[1]")]}));case"blend.func":return e((function(t){return[Tt["srcRGB"in t?t.srcRGB:t.src],Tt["dstRGB"in t?t.dstRGB:t.dst],Tt["srcAlpha"in t?t.srcAlpha:t.src],Tt["dstAlpha"in t?t.dstAlpha:t.dst]]}),(function(t,e,r){function n(t,n){return e.def('"',t,n,'" in ',r,"?",r,".",t,n,":",r,".",t)}t=t.constants.blendFuncs;var i=n("src","RGB"),a=n("dst","RGB"),o=(i=e.def(t,"[",i,"]"),e.def(t,"[",n("src","Alpha"),"]"));return[i,a=e.def(t,"[",a,"]"),o,t=e.def(t,"[",n("dst","Alpha"),"]")]}));case"blend.equation":return e((function(t){return"string"==typeof t?[$[t],$[t]]:"object"==typeof t?[$[t.rgb],$[t.alpha]]:void 0}),(function(t,e,r){var n=t.constants.blendEquations,i=e.def(),a=e.def();return(t=t.cond("typeof ",r,'==="string"')).then(i,"=",a,"=",n,"[",r,"];"),t.else(i,"=",n,"[",r,".rgb];",a,"=",n,"[",r,".alpha];"),e(t),[i,a]}));case"blend.color":return e((function(t){return a(4,(function(e){return+t[e]}))}),(function(t,e,r){return a(4,(function(t){return e.def("+",r,"[",t,"]")}))}));case"stencil.mask":return e((function(t){return 0|t}),(function(t,e,r){return e.def(r,"|0")}));case"stencil.func":return e((function(t){return[kt[t.cmp||"keep"],t.ref||0,"mask"in t?t.mask:-1]}),(function(t,e,r){return[t=e.def('"cmp" in ',r,"?",t.constants.compareFuncs,"[",r,".cmp]",":",7680),e.def(r,".ref|0"),e=e.def('"mask" in ',r,"?",r,".mask|0:-1")]}));case"stencil.opFront":case"stencil.opBack":return e((function(e){return["stencil.opBack"===t?1029:1028,At[e.fail||"keep"],At[e.zfail||"keep"],At[e.zpass||"keep"]]}),(function(e,r,n){function i(t){return r.def('"',t,'" in ',n,"?",a,"[",n,".",t,"]:",7680)}var a=e.constants.stencilOps;return["stencil.opBack"===t?1029:1028,i("fail"),i("zfail"),i("zpass")]}));case"polygonOffset.offset":return e((function(t){return[0|t.factor,0|t.units]}),(function(t,e,r){return[e.def(r,".factor|0"),e=e.def(r,".units|0")]}));case"cull.face":return e((function(t){var e=0;return"front"===t?e=1028:"back"===t&&(e=1029),e}),(function(t,e,r){return e.def(r,'==="front"?',1028,":",1029)}));case"lineWidth":return e((function(t){return t}),(function(t,e,r){return r}));case"frontFace":return e((function(t){return Mt[t]}),(function(t,e,r){return e.def(r+'==="cw"?2304:2305')}));case"colorMask":return e((function(t){return t.map((function(t){return!!t}))}),(function(t,e,r){return a(4,(function(t){return"!!"+r+"["+t+"]"}))}));case"sample.coverage":return e((function(t){return["value"in t?t.value:1,!!t.invert]}),(function(t,e,r){return[e.def('"value" in ',r,"?+",r,".value:1"),e=e.def("!!",r,".invert")]}))}})),i}(t),p=w(t,0,l);s("viewport"),s(v("scissor.box"));var d,g=0<Object.keys(h).length;if((d={framebuffer:d,draw:f,shader:p,state:h,dirty:g,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}}).profile=function(t){var e,r=t.static;if(t=t.dynamic,"profile"in r){var n=!!r.profile;(e=R((function(t,e){return n}))).enable=n}else if("profile"in t){var i=t.profile;e=F(i,(function(t,e){return t.invoke(e,i)}))}return e}(t),d.uniforms=function(t,e){var r=t.static,n=t.dynamic,i={};return Object.keys(r).forEach((function(t){var e,n=r[t];if("number"==typeof n||"boolean"==typeof n)e=R((function(){return n}));else if("function"==typeof n){var o=n._reglType;"texture2d"===o||"textureCube"===o?e=R((function(t){return t.link(n)})):"framebuffer"!==o&&"framebufferCube"!==o||(e=R((function(t){return t.link(n.color[0])})))}else m(n)&&(e=R((function(t){return t.global.def("[",a(n.length,(function(t){return n[t]})),"]")})));e.value=n,i[t]=e})),Object.keys(n).forEach((function(t){var e=n[t];i[t]=F(e,(function(t,r){return t.invoke(r,e)}))})),i}(n),d.drawVAO=d.scopeVAO=f.vao,!d.drawVAO&&p.program&&!l&&r.angle_instanced_arrays&&f.static.elements){var y=!0;if(t=p.program.attributes.map((function(t){return t=e.static[t],y=y&&!!t,t})),y&&0<t.length){var x=u.getVAO(u.createVAO({attributes:t,elements:f.static.elements}));d.drawVAO=new z(null,null,null,(function(t,e){return t.link(x)})),d.useVAO=!0}}return l?d.useVAO=!0:d.attributes=k(e),d.context=function(t){var e=t.static,r=t.dynamic,n={};return Object.keys(e).forEach((function(t){var r=e[t];n[t]=R((function(t,e){return"number"==typeof r||"boolean"==typeof r?""+r:t.link(r)}))})),Object.keys(r).forEach((function(t){var e=r[t];n[t]=F(e,(function(t,r){return t.invoke(r,e)}))})),n}(i),d}function M(t,e,r){var n=t.shared.context,i=t.scope();Object.keys(r).forEach((function(a){e.save(n,"."+a);var o=r[a].append(t,e);Array.isArray(o)?i(n,".",a,"=[",o.join(),"];"):i(n,".",a,"=",o,";")})),e(i)}function S(t,e,r,n){var i,a=(s=t.shared).gl,o=s.framebuffer;et&&(i=e.def(s.extensions,".webgl_draw_buffers"));var s=(l=t.constants).drawBuffer,l=l.backBuffer;t=r?r.append(t,e):e.def(o,".next"),n||e("if(",t,"!==",o,".cur){"),e("if(",t,"){",a,".bindFramebuffer(",36160,",",t,".framebuffer);"),et&&e(i,".drawBuffersWEBGL(",s,"[",t,".colorAttachments.length]);"),e("}else{",a,".bindFramebuffer(",36160,",null);"),et&&e(i,".drawBuffersWEBGL(",l,");"),e("}",o,".cur=",t,";"),n||e("}")}function E(t,e,r){var n=t.shared,i=n.gl,o=t.current,s=t.next,l=n.current,c=n.next,u=t.cond(l,".dirty");ot.forEach((function(e){var n,f;if(!((e=v(e))in r.state))if(e in s){n=s[e],f=o[e];var h=a(it[e].length,(function(t){return u.def(n,"[",t,"]")}));u(t.cond(h.map((function(t,e){return t+"!=="+f+"["+e+"]"})).join("||")).then(i,".",lt[e],"(",h,");",h.map((function(t,e){return f+"["+e+"]="+t})).join(";"),";"))}else n=u.def(c,".",e),h=t.cond(n,"!==",l,".",e),u(h),e in st?h(t.cond(n).then(i,".enable(",st[e],");").else(i,".disable(",st[e],");"),l,".",e,"=",n,";"):h(i,".",lt[e],"(",n,");",l,".",e,"=",n,";")})),0===Object.keys(r.state).length&&u(l,".dirty=false;"),e(u)}function L(t,e,r,n){var i=t.shared,a=t.current,o=i.current,s=i.gl;O(Object.keys(r)).forEach((function(i){var l=r[i];if(!n||n(l)){var c=l.append(t,e);if(st[i]){var u=st[i];D(l)?e(s,c?".enable(":".disable(",u,");"):e(t.cond(c).then(s,".enable(",u,");").else(s,".disable(",u,");")),e(o,".",i,"=",c,";")}else if(m(c)){var f=a[i];e(s,".",lt[i],"(",c,");",c.map((function(t,e){return f+"["+e+"]="+t})).join(";"),";")}else e(s,".",lt[i],"(",c,");",o,".",i,"=",c,";")}}))}function B(t,e){tt&&(t.instancing=e.def(t.shared.extensions,".angle_instanced_arrays"))}function N(t,e,r,n,i){function a(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function o(t){t(c=e.def(),"=",a(),";"),"string"==typeof i?t(h,".count+=",i,";"):t(h,".count++;"),d&&(n?t(u=e.def(),"=",g,".getNumPendingQueries();"):t(g,".beginQuery(",h,");"))}function s(t){t(h,".cpuTime+=",a(),"-",c,";"),d&&(n?t(g,".pushScopeStats(",u,",",g,".getNumPendingQueries(),",h,");"):t(g,".endQuery();"))}function l(t){var r=e.def(p,".profile");e(p,".profile=",t,";"),e.exit(p,".profile=",r,";")}var c,u,f=t.shared,h=t.stats,p=f.current,g=f.timer;if(r=r.profile){if(D(r))return void(r.enable?(o(e),s(e.exit),l("true")):l("false"));l(r=r.append(t,e))}else r=e.def(p,".profile");o(f=t.block()),e("if(",r,"){",f,"}"),s(t=t.block()),e.exit("if(",r,"){",t,"}")}function U(t,e,r,n,i){function a(r,n,i){function a(){e("if(!",u,".buffer){",l,".enableVertexAttribArray(",c,");}");var r,a=i.type;r=i.size?e.def(i.size,"||",n):n,e("if(",u,".type!==",a,"||",u,".size!==",r,"||",p.map((function(t){return u+"."+t+"!=="+i[t]})).join("||"),"){",l,".bindBuffer(",34962,",",f,".buffer);",l,".vertexAttribPointer(",[c,r,a,i.normalized,i.stride,i.offset],");",u,".type=",a,";",u,".size=",r,";",p.map((function(t){return u+"."+t+"="+i[t]+";"})).join(""),"}"),tt&&(a=i.divisor,e("if(",u,".divisor!==",a,"){",t.instancing,".vertexAttribDivisorANGLE(",[c,a],");",u,".divisor=",a,";}"))}function s(){e("if(",u,".buffer){",l,".disableVertexAttribArray(",c,");",u,".buffer=null;","}if(",_t.map((function(t,e){return u+"."+t+"!=="+h[e]})).join("||"),"){",l,".vertexAttrib4f(",c,",",h,");",_t.map((function(t,e){return u+"."+t+"="+h[e]+";"})).join(""),"}")}var l=o.gl,c=e.def(r,".location"),u=e.def(o.attributes,"[",c,"]");r=i.state;var f=i.buffer,h=[i.x,i.y,i.z,i.w],p=["buffer","normalized","offset","stride"];1===r?a():2===r?s():(e("if(",r,"===",1,"){"),a(),e("}else{"),s(),e("}"))}var o=t.shared;n.forEach((function(n){var o,s=n.name,l=r.attributes[s];if(l){if(!i(l))return;o=l.append(t,e)}else{if(!i(St))return;var c=t.scopeAttrib(s);o={},Object.keys(new Q).forEach((function(t){o[t]=e.def(c,".",t)}))}a(t.link(n),function(t){switch(t){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(n.info.type),o)}))}function H(t,r,n,i,o,s){for(var l,c=t.shared,u=c.gl,f={},h=0;h<i.length;++h){var p=(b=i[h]).name,d=b.info.type,g=b.info.size,v=n.uniforms[p];if(1<g){if(!v)continue;var y=p.replace("[0]","");if(f[y])continue;f[y]=1}var x,b=t.link(b)+".location";if(v){if(!o(v))continue;if(D(v)){if(p=v.value,35678===d||35680===d)r(u,".uniform1i(",b,",",(d=t.link(p._texture||p.color[0]._texture))+".bind());"),r.exit(d,".unbind();");else if(35674===d||35675===d||35676===d)g=t.global.def("new Float32Array(["+Array.prototype.slice.call(p)+"])"),p=2,35675===d?p=3:35676===d&&(p=4),r(u,".uniformMatrix",p,"fv(",b,",false,",g,");");else{switch(d){case 5126:l="1f";break;case 35664:l="2f";break;case 35665:l="3f";break;case 35666:l="4f";break;case 35670:case 5124:l="1i";break;case 35671:case 35667:l="2i";break;case 35672:case 35668:l="3i";break;case 35673:l="4i";break;case 35669:l="4i"}1<g?(l+="v",p=t.global.def("["+Array.prototype.slice.call(p)+"]")):p=m(p)?Array.prototype.slice.call(p):p,r(u,".uniform",l,"(",b,",",p,");")}continue}x=v.append(t,r)}else{if(!o(St))continue;x=r.def(c.uniforms,"[",e.id(p),"]")}switch(35678===d?r("if(",x,"&&",x,'._reglType==="framebuffer"){',x,"=",x,".color[0];","}"):35680===d&&r("if(",x,"&&",x,'._reglType==="framebufferCube"){',x,"=",x,".color[0];","}"),p=1,d){case 35678:case 35680:d=r.def(x,"._texture"),r(u,".uniform1i(",b,",",d,".bind());"),r.exit(d,".unbind();");continue;case 5124:case 35670:l="1i";break;case 35667:case 35671:l="2i",p=2;break;case 35668:case 35672:l="3i",p=3;break;case 35669:case 35673:l="4i",p=4;break;case 5126:l="1f";break;case 35664:l="2f",p=2;break;case 35665:l="3f",p=3;break;case 35666:l="4f",p=4;break;case 35674:l="Matrix2fv";break;case 35675:l="Matrix3fv";break;case 35676:l="Matrix4fv"}if(-1===l.indexOf("Matrix")&&1<g&&(l+="v",p=1),"M"===l.charAt(0)){r(u,".uniform",l,"(",b,",");b=Math.pow(d-35674+2,2);var _=t.global.def("new Float32Array(",b,")");Array.isArray(x)?r("false,(",a(b,(function(t){return _+"["+t+"]="+x[t]})),",",_,")"):r("false,(Array.isArray(",x,")||",x," instanceof Float32Array)?",x,":(",a(b,(function(t){return _+"["+t+"]="+x+"["+t+"]"})),",",_,")"),r(");")}else{if(1<p){d=[];var w=[];for(g=0;g<p;++g)Array.isArray(x)?w.push(x[g]):w.push(r.def(x+"["+g+"]")),s&&d.push(r.def());s&&r("if(!",t.batchId,"||",d.map((function(t,e){return t+"!=="+w[e]})).join("||"),"){",d.map((function(t,e){return t+"="+w[e]+";"})).join("")),r(u,".uniform",l,"(",b,",",w.join(","),");")}else s&&(d=r.def(),r("if(!",t.batchId,"||",d,"!==",x,"){",d,"=",x,";")),r(u,".uniform",l,"(",b,",",x,");");s&&r("}")}}}function q(t,e,r,n){function i(i){var a=h[i];return a?a.contextDep&&n.contextDynamic||a.propDep?a.append(t,r):a.append(t,e):e.def(f,".",i)}function a(){function t(){r(l,".drawElementsInstancedANGLE(",[d,m,v,g+"<<(("+v+"-5121)>>1)",s],");")}function e(){r(l,".drawArraysInstancedANGLE(",[d,g,m,s],");")}p&&"null"!==p?y?t():(r("if(",p,"){"),t(),r("}else{"),e(),r("}")):e()}function o(){function t(){r(u+".drawElements("+[d,m,v,g+"<<(("+v+"-5121)>>1)"]+");")}function e(){r(u+".drawArrays("+[d,g,m]+");")}p&&"null"!==p?y?t():(r("if(",p,"){"),t(),r("}else{"),e(),r("}")):e()}var s,l,c=t.shared,u=c.gl,f=c.draw,h=n.draw,p=function(){var i=h.elements,a=e;return i?((i.contextDep&&n.contextDynamic||i.propDep)&&(a=r),i=i.append(t,a),h.elementsActive&&a("if("+i+")"+u+".bindBuffer(34963,"+i+".buffer.buffer);")):(i=a.def(),a(i,"=",f,".","elements",";","if(",i,"){",u,".bindBuffer(",34963,",",i,".buffer.buffer);}","else if(",c.vao,".currentVAO){",i,"=",t.shared.elements+".getElements("+c.vao,".currentVAO.elements);",nt?"":"if("+i+")"+u+".bindBuffer(34963,"+i+".buffer.buffer);","}")),i}(),d=i("primitive"),g=i("offset"),m=function(){var i=h.count,a=e;return i?((i.contextDep&&n.contextDynamic||i.propDep)&&(a=r),i=i.append(t,a)):i=a.def(f,".","count"),i}();if("number"==typeof m){if(0===m)return}else r("if(",m,"){"),r.exit("}");tt&&(s=i("instances"),l=t.instancing);var v=p+".type",y=h.elements&&D(h.elements)&&!h.vaoActive;tt&&("number"!=typeof s||0<=s)?"string"==typeof s?(r("if(",s,">0){"),a(),r("}else if(",s,"<0){"),o(),r("}")):a():o()}function G(t,e,r,n,i){return i=(e=b()).proc("body",i),tt&&(e.instancing=i.def(e.shared.extensions,".angle_instanced_arrays")),t(e,i,r,n),e.compile().body}function Y(t,e,r,n){B(t,e),r.useVAO?r.drawVAO?e(t.shared.vao,".setVAO(",r.drawVAO.append(t,e),");"):e(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(e(t.shared.vao,".setVAO(null);"),U(t,e,r,n.attributes,(function(){return!0}))),H(t,e,r,n.uniforms,(function(){return!0}),!1),q(t,e,e,r)}function W(t,e,r,n){function i(){return!0}t.batchId="a1",B(t,e),U(t,e,r,n.attributes,i),H(t,e,r,n.uniforms,i,!1),q(t,e,e,r)}function X(t,e,r,n){function i(t){return t.contextDep&&o||t.propDep}function a(t){return!i(t)}B(t,e);var o=r.contextDep,s=e.def(),l=e.def();t.shared.props=l,t.batchId=s;var c=t.scope(),u=t.scope();e(c.entry,"for(",s,"=0;",s,"<","a1",";++",s,"){",l,"=","a0","[",s,"];",u,"}",c.exit),r.needsContext&&M(t,u,r.context),r.needsFramebuffer&&S(t,u,r.framebuffer),L(t,u,r.state,i),r.profile&&i(r.profile)&&N(t,u,r,!1,!0),n?(r.useVAO?r.drawVAO?i(r.drawVAO)?u(t.shared.vao,".setVAO(",r.drawVAO.append(t,u),");"):c(t.shared.vao,".setVAO(",r.drawVAO.append(t,c),");"):c(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(c(t.shared.vao,".setVAO(null);"),U(t,c,r,n.attributes,a),U(t,u,r,n.attributes,i)),H(t,c,r,n.uniforms,a,!1),H(t,u,r,n.uniforms,i,!0),q(t,c,u,r)):(e=t.global.def("{}"),n=r.shader.progVar.append(t,u),l=u.def(n,".id"),c=u.def(e,"[",l,"]"),u(t.shared.gl,".useProgram(",n,".program);","if(!",c,"){",c,"=",e,"[",l,"]=",t.link((function(e){return G(W,t,r,e,2)})),"(",n,");}",c,".call(this,a0[",s,"],",s,");"))}function Z(t,r){function n(e){var n=r.shader[e];n&&i.set(a.shader,"."+e,n.append(t,i))}var i=t.proc("scope",3);t.batchId="a2";var a=t.shared,o=a.current;M(t,i,r.context),r.framebuffer&&r.framebuffer.append(t,i),O(Object.keys(r.state)).forEach((function(e){var n=r.state[e].append(t,i);m(n)?n.forEach((function(r,n){i.set(t.next[e],"["+n+"]",r)})):i.set(a.next,"."+e,n)})),N(t,i,r,!0,!0),["elements","offset","count","instances","primitive"].forEach((function(e){var n=r.draw[e];n&&i.set(a.draw,"."+e,""+n.append(t,i))})),Object.keys(r.uniforms).forEach((function(n){var o=r.uniforms[n].append(t,i);Array.isArray(o)&&(o="["+o.join()+"]"),i.set(a.uniforms,"["+e.id(n)+"]",o)})),Object.keys(r.attributes).forEach((function(e){var n=r.attributes[e].append(t,i),a=t.scopeAttrib(e);Object.keys(new Q).forEach((function(t){i.set(a,"."+t,n[t])}))})),r.scopeVAO&&i.set(a.vao,".targetVAO",r.scopeVAO.append(t,i)),n("vert"),n("frag"),0<Object.keys(r.state).length&&(i(o,".dirty=true;"),i.exit(o,".dirty=true;")),i("a1(",t.shared.context,",a0,",t.batchId,");")}function J(t,e,r){var n=e.static[r];if(n&&function(t){if("object"==typeof t&&!m(t)){for(var e=Object.keys(t),r=0;r<e.length;++r)if(V.isDynamic(t[e[r]]))return!0;return!1}}(n)){var i=t.global,a=Object.keys(n),o=!1,s=!1,l=!1,c=t.global.def("{}");a.forEach((function(e){var r=n[e];if(V.isDynamic(r))"function"==typeof r&&(r=n[e]=V.unbox(r)),e=F(r,null),o=o||e.thisDep,l=l||e.propDep,s=s||e.contextDep;else{switch(i(c,".",e,"="),typeof r){case"number":i(r);break;case"string":i('"',r,'"');break;case"object":Array.isArray(r)&&i("[",r.join(),"]");break;default:i(t.link(r))}i(";")}})),e.dynamic[r]=new V.DynamicVariable(4,{thisDep:o,contextDep:s,propDep:l,ref:c,append:function(t,e){a.forEach((function(r){var i=n[r];V.isDynamic(i)&&(i=t.invoke(e,i),e(c,".",r,"=",i,";"))}))}}),delete e.static[r]}}var Q=u.Record,$={add:32774,subtract:32778,"reverse subtract":32779};r.ext_blend_minmax&&($.min=32775,$.max=32776);var tt=r.angle_instanced_arrays,et=r.webgl_draw_buffers,nt=r.oes_vertex_array_object,it={dirty:!0,profile:g.profile},at={},ot=[],st={},lt={};y("dither",3024),y("blend.enable",3042),x("blend.color","blendColor",[0,0,0,0]),x("blend.equation","blendEquationSeparate",[32774,32774]),x("blend.func","blendFuncSeparate",[1,0,1,0]),y("depth.enable",2929,!0),x("depth.func","depthFunc",513),x("depth.range","depthRange",[0,1]),x("depth.mask","depthMask",!0),x("colorMask","colorMask",[!0,!0,!0,!0]),y("cull.enable",2884),x("cull.face","cullFace",1029),x("frontFace","frontFace",2305),x("lineWidth","lineWidth",1),y("polygonOffset.enable",32823),x("polygonOffset.offset","polygonOffset",[0,0]),y("sample.alpha",32926),y("sample.enable",32928),x("sample.coverage","sampleCoverage",[1,!1]),y("stencil.enable",2960),x("stencil.mask","stencilMask",-1),x("stencil.func","stencilFunc",[519,0,-1]),x("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]),x("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]),y("scissor.enable",3089),x("scissor.box","scissor",[0,0,t.drawingBufferWidth,t.drawingBufferHeight]),x("viewport","viewport",[0,0,t.drawingBufferWidth,t.drawingBufferHeight]);var ct={gl:t,context:p,strings:e,next:at,current:it,draw:h,elements:o,buffer:i,shader:f,attributes:u.state,vao:u,uniforms:c,framebuffer:l,extensions:r,timer:d,isBufferArgs:I},ut={primTypes:rt,compareFuncs:kt,blendFuncs:Tt,blendEquations:$,stencilOps:At,glTypes:K,orientationType:Mt};et&&(ut.backBuffer=[1029],ut.drawBuffer=a(n.maxDrawbuffers,(function(t){return 0===t?[0]:a(t,(function(t){return 36064+t}))})));var ft=0;return{next:at,current:it,procs:function(){var t=b(),e=t.proc("poll"),i=t.proc("refresh"),o=t.block();e(o),i(o);var s,l=t.shared,c=l.gl,u=l.next,f=l.current;o(f,".dirty=false;"),S(t,e),S(t,i,null,!0),tt&&(s=t.link(tt)),r.oes_vertex_array_object&&i(t.link(r.oes_vertex_array_object),".bindVertexArrayOES(null);");for(var h=0;h<n.maxAttributes;++h){var p=i.def(l.attributes,"[",h,"]"),d=t.cond(p,".buffer");d.then(c,".enableVertexAttribArray(",h,");",c,".bindBuffer(",34962,",",p,".buffer.buffer);",c,".vertexAttribPointer(",h,",",p,".size,",p,".type,",p,".normalized,",p,".stride,",p,".offset);").else(c,".disableVertexAttribArray(",h,");",c,".vertexAttrib4f(",h,",",p,".x,",p,".y,",p,".z,",p,".w);",p,".buffer=null;"),i(d),tt&&i(s,".vertexAttribDivisorANGLE(",h,",",p,".divisor);")}return i(t.shared.vao,".currentVAO=null;",t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"),Object.keys(st).forEach((function(r){var n=st[r],a=o.def(u,".",r),s=t.block();s("if(",a,"){",c,".enable(",n,")}else{",c,".disable(",n,")}",f,".",r,"=",a,";"),i(s),e("if(",a,"!==",f,".",r,"){",s,"}")})),Object.keys(lt).forEach((function(r){var n,s,l=lt[r],h=it[r],p=t.block();p(c,".",l,"("),m(h)?(l=h.length,n=t.global.def(u,".",r),s=t.global.def(f,".",r),p(a(l,(function(t){return n+"["+t+"]"})),");",a(l,(function(t){return s+"["+t+"]="+n+"["+t+"];"})).join("")),e("if(",a(l,(function(t){return n+"["+t+"]!=="+s+"["+t+"]"})).join("||"),"){",p,"}")):(n=o.def(u,".",r),s=o.def(f,".",r),p(n,");",f,".",r,"=",n,";"),e("if(",n,"!==",s,"){",p,"}")),i(p)})),t.compile()}(),compile:function(t,e,r,n,i){var a=b();a.stats=a.link(i),Object.keys(e.static).forEach((function(t){J(a,e,t)})),wt.forEach((function(e){J(a,t,e)}));var o=A(t,e,r,n);return function(t,e){var r=t.proc("draw",1);B(t,r),M(t,r,e.context),S(t,r,e.framebuffer),E(t,r,e),L(t,r,e.state),N(t,r,e,!1,!0);var n=e.shader.progVar.append(t,r);if(r(t.shared.gl,".useProgram(",n,".program);"),e.shader.program)Y(t,r,e,e.shader.program);else{r(t.shared.vao,".setVAO(null);");var i=t.global.def("{}"),a=r.def(n,".id"),o=r.def(i,"[",a,"]");r(t.cond(o).then(o,".call(this,a0);").else(o,"=",i,"[",a,"]=",t.link((function(r){return G(Y,t,e,r,1)})),"(",n,");",o,".call(this,a0);"))}0<Object.keys(e.state).length&&r(t.shared.current,".dirty=true;"),t.shared.vao&&r(t.shared.vao,".setVAO(null);")}(a,o),Z(a,o),function(t,e){function r(t){return t.contextDep&&i||t.propDep}var n=t.proc("batch",2);t.batchId="0",B(t,n);var i=!1,a=!0;Object.keys(e.context).forEach((function(t){i=i||e.context[t].propDep})),i||(M(t,n,e.context),a=!1);var o=!1;if((s=e.framebuffer)?(s.propDep?i=o=!0:s.contextDep&&i&&(o=!0),o||S(t,n,s)):S(t,n,null),e.state.viewport&&e.state.viewport.propDep&&(i=!0),E(t,n,e),L(t,n,e.state,(function(t){return!r(t)})),e.profile&&r(e.profile)||N(t,n,e,!1,"a1"),e.contextDep=i,e.needsContext=a,e.needsFramebuffer=o,(a=e.shader.progVar).contextDep&&i||a.propDep)X(t,n,e,null);else if(a=a.append(t,n),n(t.shared.gl,".useProgram(",a,".program);"),e.shader.program)X(t,n,e,e.shader.program);else{n(t.shared.vao,".setVAO(null);");var s=t.global.def("{}"),l=(o=n.def(a,".id"),n.def(s,"[",o,"]"));n(t.cond(l).then(l,".call(this,a0,a1);").else(l,"=",s,"[",o,"]=",t.link((function(r){return G(X,t,e,r,2)})),"(",a,");",l,".call(this,a0,a1);"))}0<Object.keys(e.state).length&&n(t.shared.current,".dirty=true;"),t.shared.vao&&n(t.shared.vao,".setVAO(null);")}(a,o),j(a.compile(),{destroy:function(){o.shader.program.destroy()}})}}}function N(t,e){for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1}var j=function(t,e){for(var r=Object.keys(e),n=0;n<r.length;++n)t[r[n]]=e[r[n]];return t},U=0,V={DynamicVariable:t,define:function(r,n){return new t(r,e(n+""))},isDynamic:function(e){return"function"==typeof e&&!e._reglType||e instanceof t},unbox:function e(r,n){return"function"==typeof r?new t(0,r):"number"==typeof r||"boolean"==typeof r?new t(5,r):Array.isArray(r)?new t(6,r.map((function(t,r){return e(t,n+"["+r+"]")}))):r instanceof t?r:void 0},accessor:e},H={next:"function"==typeof requestAnimationFrame?function(t){return requestAnimationFrame(t)}:function(t){return setTimeout(t,16)},cancel:"function"==typeof cancelAnimationFrame?function(t){return cancelAnimationFrame(t)}:clearTimeout},q="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date},G=s();G.zero=s();var Y=function(t,e){var r=1;e.ext_texture_filter_anisotropic&&(r=t.getParameter(34047));var n=1,i=1;e.webgl_draw_buffers&&(n=t.getParameter(34852),i=t.getParameter(36063));var a=!!e.oes_texture_float;if(a){a=t.createTexture(),t.bindTexture(3553,a),t.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var o=t.createFramebuffer();if(t.bindFramebuffer(36160,o),t.framebufferTexture2D(36160,36064,3553,a,0),t.bindTexture(3553,null),36053!==t.checkFramebufferStatus(36160))a=!1;else{t.viewport(0,0,1,1),t.clearColor(1,0,0,1),t.clear(16384);var s=G.allocType(5126,4);t.readPixels(0,0,1,1,6408,5126,s),t.getError()?a=!1:(t.deleteFramebuffer(o),t.deleteTexture(a),a=1===s[0]),G.freeType(s)}}return s=!0,"undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))||(s=t.createTexture(),o=G.allocType(5121,36),t.activeTexture(33984),t.bindTexture(34067,s),t.texImage2D(34069,0,6408,3,3,0,6408,5121,o),G.freeType(o),t.bindTexture(34067,null),t.deleteTexture(s),s=!t.getError()),{colorBits:[t.getParameter(3410),t.getParameter(3411),t.getParameter(3412),t.getParameter(3413)],depthBits:t.getParameter(3414),stencilBits:t.getParameter(3415),subpixelBits:t.getParameter(3408),extensions:Object.keys(e).filter((function(t){return!!e[t]})),maxAnisotropic:r,maxDrawbuffers:n,maxColorAttachments:i,pointSizeDims:t.getParameter(33901),lineWidthDims:t.getParameter(33902),maxViewportDims:t.getParameter(3386),maxCombinedTextureUnits:t.getParameter(35661),maxCubeMapSize:t.getParameter(34076),maxRenderbufferSize:t.getParameter(34024),maxTextureUnits:t.getParameter(34930),maxTextureSize:t.getParameter(3379),maxAttributes:t.getParameter(34921),maxVertexUniforms:t.getParameter(36347),maxVertexTextureUnits:t.getParameter(35660),maxVaryingVectors:t.getParameter(36348),maxFragmentUniforms:t.getParameter(36349),glsl:t.getParameter(35724),renderer:t.getParameter(7937),vendor:t.getParameter(7936),version:t.getParameter(7938),readFloat:a,npotTextureCube:s}},W=function(t){return t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Int8Array||t instanceof Int16Array||t instanceof Int32Array||t instanceof Float32Array||t instanceof Float64Array||t instanceof Uint8ClampedArray},X=function(t){return Object.keys(t).map((function(e){return t[e]}))},Z={shape:function(t){for(var e=[];t.length;t=t[0])e.push(t.length);return e},flatten:function(t,e,r,n){var i=1;if(e.length)for(var a=0;a<e.length;++a)i*=e[a];else i=0;switch(r=n||G.allocType(r,i),e.length){case 0:break;case 1:for(n=e[0],e=0;e<n;++e)r[e]=t[e];break;case 2:for(n=e[0],e=e[1],a=i=0;a<n;++a)for(var o=t[a],s=0;s<e;++s)r[i++]=o[s];break;case 3:c(t,e[0],e[1],e[2],r,0);break;default:!function t(e,r,n,i,a){for(var o=1,s=n+1;s<r.length;++s)o*=r[s];var l=r[n];if(4==r.length-n){var u=r[n+1],f=r[n+2];for(r=r[n+3],s=0;s<l;++s)c(e[s],u,f,r,i,a),a+=o}else for(s=0;s<l;++s)t(e[s],r,n+1,i,a),a+=o}(t,e,0,r,0)}return r}},J={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},K={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Q={dynamic:35048,stream:35040,static:35044},$=Z.flatten,tt=Z.shape,et=[];et[5120]=1,et[5122]=2,et[5124]=4,et[5121]=1,et[5123]=2,et[5125]=4,et[5126]=4;var rt={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},nt=new Float32Array(1),it=new Uint32Array(nt.buffer),at=[9984,9986,9985,9987],ot=[0,6409,6410,6407,6408],st={};st[6409]=st[6406]=st[6402]=1,st[34041]=st[6410]=2,st[6407]=st[35904]=3,st[6408]=st[35906]=4;var lt=v("HTMLCanvasElement"),ct=v("OffscreenCanvas"),ut=v("CanvasRenderingContext2D"),ft=v("ImageBitmap"),ht=v("HTMLImageElement"),pt=v("HTMLVideoElement"),dt=Object.keys(J).concat([lt,ct,ut,ft,ht,pt]),gt=[];gt[5121]=1,gt[5126]=4,gt[36193]=2,gt[5123]=2,gt[5125]=4;var mt=[];mt[32854]=2,mt[32855]=2,mt[36194]=2,mt[34041]=4,mt[33776]=.5,mt[33777]=.5,mt[33778]=1,mt[33779]=1,mt[35986]=.5,mt[35987]=1,mt[34798]=1,mt[35840]=.5,mt[35841]=.25,mt[35842]=.5,mt[35843]=.25,mt[36196]=.5;var vt=[];vt[32854]=2,vt[32855]=2,vt[36194]=2,vt[33189]=2,vt[36168]=1,vt[34041]=4,vt[35907]=4,vt[34836]=16,vt[34842]=8,vt[34843]=6;var yt=function(t,e,r,n,i){function a(t){this.id=c++,this.refCount=1,this.renderbuffer=t,this.format=32854,this.height=this.width=0,i.profile&&(this.stats={size:0})}function o(e){var r=e.renderbuffer;t.bindRenderbuffer(36161,null),t.deleteRenderbuffer(r),e.renderbuffer=null,e.refCount=0,delete u[e.id],n.renderbufferCount--}var s={rgba4:32854,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041};e.ext_srgb&&(s.srgba=35907),e.ext_color_buffer_half_float&&(s.rgba16f=34842,s.rgb16f=34843),e.webgl_color_buffer_float&&(s.rgba32f=34836);var l=[];Object.keys(s).forEach((function(t){l[s[t]]=t}));var c=0,u={};return a.prototype.decRef=function(){0>=--this.refCount&&o(this)},i.profile&&(n.getTotalRenderbufferSize=function(){var t=0;return Object.keys(u).forEach((function(e){t+=u[e].stats.size})),t}),{create:function(e,r){function o(e,r){var n=0,a=0,u=32854;if("object"==typeof e&&e?("shape"in e?(n=0|(a=e.shape)[0],a=0|a[1]):("radius"in e&&(n=a=0|e.radius),"width"in e&&(n=0|e.width),"height"in e&&(a=0|e.height)),"format"in e&&(u=s[e.format])):"number"==typeof e?(n=0|e,a="number"==typeof r?0|r:n):e||(n=a=1),n!==c.width||a!==c.height||u!==c.format)return o.width=c.width=n,o.height=c.height=a,c.format=u,t.bindRenderbuffer(36161,c.renderbuffer),t.renderbufferStorage(36161,u,n,a),i.profile&&(c.stats.size=vt[c.format]*c.width*c.height),o.format=l[c.format],o}var c=new a(t.createRenderbuffer());return u[c.id]=c,n.renderbufferCount++,o(e,r),o.resize=function(e,r){var n=0|e,a=0|r||n;return n===c.width&&a===c.height||(o.width=c.width=n,o.height=c.height=a,t.bindRenderbuffer(36161,c.renderbuffer),t.renderbufferStorage(36161,c.format,n,a),i.profile&&(c.stats.size=vt[c.format]*c.width*c.height)),o},o._reglType="renderbuffer",o._renderbuffer=c,i.profile&&(o.stats=c.stats),o.destroy=function(){c.decRef()},o},clear:function(){X(u).forEach(o)},restore:function(){X(u).forEach((function(e){e.renderbuffer=t.createRenderbuffer(),t.bindRenderbuffer(36161,e.renderbuffer),t.renderbufferStorage(36161,e.format,e.width,e.height)})),t.bindRenderbuffer(36161,null)}}},xt=[];xt[6408]=4,xt[6407]=3;var bt=[];bt[5121]=1,bt[5126]=4,bt[36193]=2;var _t=["x","y","z","w"],wt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Tt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},kt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},At={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Mt={cw:2304,ccw:2305},St=new z(!1,!1,!1,(function(){}));return function(t){function e(){if(0===J.length)w&&w.update(),tt=null;else{tt=H.next(e),f();for(var t=J.length-1;0<=t;--t){var r=J[t];r&&r(P,null,0)}m.flush(),w&&w.update()}}function r(){!tt&&0<J.length&&(tt=H.next(e))}function n(){tt&&(H.cancel(e),tt=null)}function a(t){t.preventDefault(),n(),K.forEach((function(t){t()}))}function o(t){m.getError(),y.restore(),R.restore(),O.restore(),F.restore(),U.restore(),G.restore(),D.restore(),w&&w.restore(),W.procs.refresh(),r(),Q.forEach((function(t){t()}))}function s(t){function e(t,e){var r={},n={};return Object.keys(t).forEach((function(i){var a=t[i];if(V.isDynamic(a))n[i]=V.unbox(a,i);else{if(e&&Array.isArray(a))for(var o=0;o<a.length;++o)if(V.isDynamic(a[o]))return void(n[i]=V.unbox(a,i));r[i]=a}})),{dynamic:n,static:r}}var r=e(t.context||{},!0),n=e(t.uniforms||{},!0),i=e(t.attributes||{},!1);t=e(function(t){function e(t){if(t in r){var e=r[t];delete r[t],Object.keys(e).forEach((function(n){r[t+"."+n]=e[n]}))}}var r=j({},t);return delete r.uniforms,delete r.attributes,delete r.context,delete r.vao,"stencil"in r&&r.stencil.op&&(r.stencil.opBack=r.stencil.opFront=r.stencil.op,delete r.stencil.op),e("blend"),e("depth"),e("cull"),e("stencil"),e("polygonOffset"),e("scissor"),e("sample"),"vao"in t&&(r.vao=t.vao),r}(t),!1);var a={gpuTime:0,cpuTime:0,count:0},o=W.compile(t,i,n,r,a),s=o.draw,l=o.batch,c=o.scope,u=[];return j((function(t,e){var r;if("function"==typeof t)return c.call(this,null,t,0);if("function"==typeof e)if("number"==typeof t)for(r=0;r<t;++r)c.call(this,null,e,r);else{if(!Array.isArray(t))return c.call(this,t,e,0);for(r=0;r<t.length;++r)c.call(this,t[r],e,r)}else if("number"==typeof t){if(0<t)return l.call(this,function(t){for(;u.length<t;)u.push(null);return u}(0|t),0|t)}else{if(!Array.isArray(t))return s.call(this,t);if(t.length)return l.call(this,t,t.length)}}),{stats:a,destroy:function(){o.destroy()}})}function l(t,e){var r=0;W.procs.poll();var n=e.color;n&&(m.clearColor(+n[0]||0,+n[1]||0,+n[2]||0,+n[3]||0),r|=16384),"depth"in e&&(m.clearDepth(+e.depth),r|=256),"stencil"in e&&(m.clearStencil(0|e.stencil),r|=1024),m.clear(r)}function c(t){return J.push(t),r(),{cancel:function(){var e=N(J,t);J[e]=function t(){var e=N(J,t);J[e]=J[J.length-1],--J.length,0>=J.length&&n()}}}}function u(){var t=X.viewport,e=X.scissor_box;t[0]=t[1]=e[0]=e[1]=0,P.viewportWidth=P.framebufferWidth=P.drawingBufferWidth=t[2]=e[2]=m.drawingBufferWidth,P.viewportHeight=P.framebufferHeight=P.drawingBufferHeight=t[3]=e[3]=m.drawingBufferHeight}function f(){P.tick+=1,P.time=g(),u(),W.procs.poll()}function h(){F.refresh(),u(),W.procs.refresh(),w&&w.update()}function g(){return(q()-T)/1e3}if(!(t=i(t)))return null;var m=t.gl,v=m.getContextAttributes();m.isContextLost();var y=function(t,e){function r(e){var r;e=e.toLowerCase();try{r=n[e]=t.getExtension(e)}catch(t){}return!!r}for(var n={},i=0;i<e.extensions.length;++i){var a=e.extensions[i];if(!r(a))return e.onDestroy(),e.onDone('"'+a+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return e.optionalExtensions.forEach(r),{extensions:n,restore:function(){Object.keys(n).forEach((function(t){if(n[t]&&!r(t))throw Error("(regl): error restoring extension "+t)}))}}}(m,t);if(!y)return null;var x=function(){var t={"":0},e=[""];return{id:function(r){var n=t[r];return n||(n=t[r]=e.length,e.push(r),n)},str:function(t){return e[t]}}}(),b={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},_=y.extensions,w=function(t,e){function r(){this.endQueryIndex=this.startQueryIndex=-1,this.sum=0,this.stats=null}function n(t,e,n){var i=o.pop()||new r;i.startQueryIndex=t,i.endQueryIndex=e,i.sum=0,i.stats=n,s.push(i)}if(!e.ext_disjoint_timer_query)return null;var i=[],a=[],o=[],s=[],l=[],c=[];return{beginQuery:function(t){var r=i.pop()||e.ext_disjoint_timer_query.createQueryEXT();e.ext_disjoint_timer_query.beginQueryEXT(35007,r),a.push(r),n(a.length-1,a.length,t)},endQuery:function(){e.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:n,update:function(){var t,r;if(0!==(t=a.length)){c.length=Math.max(c.length,t+1),l.length=Math.max(l.length,t+1),l[0]=0;var n=c[0]=0;for(r=t=0;r<a.length;++r){var u=a[r];e.ext_disjoint_timer_query.getQueryObjectEXT(u,34919)?(n+=e.ext_disjoint_timer_query.getQueryObjectEXT(u,34918),i.push(u)):a[t++]=u,l[r+1]=n,c[r+1]=t}for(a.length=t,r=t=0;r<s.length;++r){var f=(n=s[r]).startQueryIndex;u=n.endQueryIndex;n.sum+=l[u]-l[f],f=c[f],(u=c[u])===f?(n.stats.gpuTime+=n.sum/1e6,o.push(n)):(n.startQueryIndex=f,n.endQueryIndex=u,s[t++]=n)}s.length=t}},getNumPendingQueries:function(){return a.length},clear:function(){i.push.apply(i,a);for(var t=0;t<i.length;t++)e.ext_disjoint_timer_query.deleteQueryEXT(i[t]);a.length=0,i.length=0},restore:function(){a.length=0,i.length=0}}}(0,_),T=q(),M=m.drawingBufferWidth,C=m.drawingBufferHeight,P={tick:0,time:0,viewportWidth:M,viewportHeight:C,framebufferWidth:M,framebufferHeight:C,drawingBufferWidth:M,drawingBufferHeight:C,pixelRatio:t.pixelRatio},I=(M={elements:null,primitive:4,count:-1,offset:0,instances:-1},Y(m,_)),O=p(m,b,t,(function(t){return D.destroyBuffer(t)})),z=d(m,_,O,b),D=S(m,_,I,b,O,z,M),R=E(m,x,b,t),F=k(m,_,I,(function(){W.procs.poll()}),P,b,t),U=yt(m,_,0,b,t),G=A(m,_,I,F,U,b),W=B(m,x,_,I,O,z,0,G,{},D,R,M,P,w,t),X=(x=L(m,G,W.procs.poll,P),W.next),Z=m.canvas,J=[],K=[],Q=[],$=[t.onDestroy],tt=null;Z&&(Z.addEventListener("webglcontextlost",a,!1),Z.addEventListener("webglcontextrestored",o,!1));var et=G.setFBO=s({framebuffer:V.define.call(null,1,"framebuffer")});return h(),v=j(s,{clear:function(t){if("framebuffer"in t)if(t.framebuffer&&"framebufferCube"===t.framebuffer_reglType)for(var e=0;6>e;++e)et(j({framebuffer:t.framebuffer.faces[e]},t),l);else et(t,l);else l(0,t)},prop:V.define.bind(null,1),context:V.define.bind(null,2),this:V.define.bind(null,3),draw:s({}),buffer:function(t){return O.create(t,34962,!1,!1)},elements:function(t){return z.create(t,!1)},texture:F.create2D,cube:F.createCube,renderbuffer:U.create,framebuffer:G.create,framebufferCube:G.createCube,vao:D.createVAO,attributes:v,frame:c,on:function(t,e){var r;switch(t){case"frame":return c(e);case"lost":r=K;break;case"restore":r=Q;break;case"destroy":r=$}return r.push(e),{cancel:function(){for(var t=0;t<r.length;++t)if(r[t]===e){r[t]=r[r.length-1],r.pop();break}}}},limits:I,hasExtension:function(t){return 0<=I.extensions.indexOf(t.toLowerCase())},read:x,destroy:function(){J.length=0,n(),Z&&(Z.removeEventListener("webglcontextlost",a),Z.removeEventListener("webglcontextrestored",o)),R.clear(),G.clear(),U.clear(),D.clear(),F.clear(),z.clear(),O.clear(),w&&w.clear(),$.forEach((function(t){t()}))},_gl:m,_refresh:h,poll:function(){f(),w&&w.update()},now:g,stats:b}),t.onDone(null,v),v}}))},{}],284:[function(t,e,r){var n=t("buffer"),i=n.Buffer;function a(t,e){for(var r in t)e[r]=t[r]}function o(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,r),r.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},o.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},{buffer:85}],285:[function(t,e,r){e.exports=i;var n=t("events").EventEmitter;function i(){n.call(this)}t("inherits")(i,n),i.Readable=t("readable-stream/lib/_stream_readable.js"),i.Writable=t("readable-stream/lib/_stream_writable.js"),i.Duplex=t("readable-stream/lib/_stream_duplex.js"),i.Transform=t("readable-stream/lib/_stream_transform.js"),i.PassThrough=t("readable-stream/lib/_stream_passthrough.js"),i.finished=t("readable-stream/lib/internal/streams/end-of-stream.js"),i.pipeline=t("readable-stream/lib/internal/streams/pipeline.js"),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",a),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",l));var o=!1;function s(){o||(o=!0,t.end())}function l(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(u(),0===n.listenerCount(this,"error"))throw t}function u(){r.removeListener("data",i),t.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("error",c),t.on("error",c),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t}},{events:84,inherits:231,"readable-stream/lib/_stream_duplex.js":287,"readable-stream/lib/_stream_passthrough.js":288,"readable-stream/lib/_stream_readable.js":289,"readable-stream/lib/_stream_transform.js":290,"readable-stream/lib/_stream_writable.js":291,"readable-stream/lib/internal/streams/end-of-stream.js":295,"readable-stream/lib/internal/streams/pipeline.js":297}],286:[function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function a(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,o,s;if("string"==typeof e&&(i="not ",e.substr(!o||o<0?0:+o,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(a(e,"type"));else{var l=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(l," ").concat(n," ").concat(a(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},{}],287:[function(t,e,r){(function(r){(function(){"use strict";var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=c;var i=t("./_stream_readable"),a=t("./_stream_writable");t("inherits")(c,i);for(var o=n(a.prototype),s=0;s<o.length;s++){var l=o[s];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),a.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||r.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this)}).call(this,t("_process"))},{"./_stream_readable":289,"./_stream_writable":291,_process:277,inherits:231}],288:[function(t,e,r){"use strict";e.exports=i;var n=t("./_stream_transform");function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}t("inherits")(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":290,inherits:231}],289:[function(t,e,r){(function(r,n){(function(){"use strict";var i;e.exports=A,A.ReadableState=k;t("events").EventEmitter;var a=function(t,e){return t.listeners(e).length},o=t("./internal/streams/stream"),s=t("buffer").Buffer,l=n.Uint8Array||function(){};var c,u=t("util");c=u&&u.debuglog?u.debuglog("stream"):function(){};var f,h,p,d=t("./internal/streams/buffer_list"),g=t("./internal/streams/destroy"),m=t("./internal/streams/state").getHighWaterMark,v=t("../errors").codes,y=v.ERR_INVALID_ARG_TYPE,x=v.ERR_STREAM_PUSH_AFTER_EOF,b=v.ERR_METHOD_NOT_IMPLEMENTED,_=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(A,o);var w=g.errorOrDestroy,T=["error","close","destroy","pause","resume"];function k(e,r,n){i=i||t("./_stream_duplex"),e=e||{},"boolean"!=typeof n&&(n=r instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=t("string_decoder/").StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function A(e){if(i=i||t("./_stream_duplex"),!(this instanceof A))return new A(e);var r=this instanceof i;this._readableState=new k(e,this,r),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function M(t,e,r,n,i){c("readableAddChunk",e);var a,o=t._readableState;if(null===e)o.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,C(t)))}(t,o);else if(i||(a=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof l||"string"==typeof e||void 0===e||t.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(o,e)),a)w(t,a);else if(o.objectMode||e&&e.length>0)if("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)o.endEmitted?w(t,new _):S(t,o,e,!0);else if(o.ended)w(t,new x);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||0!==e.length?S(t,o,e,!1):P(t,o)):S(t,o,e,!1)}else n||(o.reading=!1,P(t,o));return!o.ended&&(o.length<o.highWaterMark||0===o.length)}function S(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),P(t,e)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),A.prototype.destroy=g.destroy,A.prototype._undestroy=g.undestroy,A.prototype._destroy=function(t,e){e(t)},A.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),M(this,t,e,!1,r)},A.prototype.unshift=function(t){return M(this,t,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(e){f||(f=t("string_decoder/").StringDecoder);var r=new f(e);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(C,t))}function C(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,R(t)}function P(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(I,t,e))}function I(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(c("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function O(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function z(t){c("readable nexttick read 0"),t.read(0)}function D(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),R(t),e.flowing&&!e.reading&&t.read(0)}function R(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function B(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(N,e,t))}function N(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function j(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}A.prototype.read=function(t){c("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):L(this),null;if(0===(t=E(t,e))&&e.ended)return 0===e.length&&B(this),null;var n,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&c("length less than watermark",i=!0),e.ended||e.reading?c("reading or ended",i=!1):i&&(c("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=E(r,e))),null===(n=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(t){w(this,new b("_read()"))},A.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,e);var o=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?l:m;function s(e,r){c("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),t.removeListener("close",d),t.removeListener("finish",g),t.removeListener("drain",u),t.removeListener("error",p),t.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",h),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}function l(){c("onend"),t.end()}i.endEmitted?r.nextTick(o):n.once("end",o),t.on("unpipe",s);var u=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,R(t))}}(n);t.on("drain",u);var f=!1;function h(e){c("ondata");var r=t.write(e);c("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==j(i.pipes,t))&&!f&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function p(e){c("onerror",e),m(),t.removeListener("error",p),0===a(t,"error")&&w(t,e)}function d(){t.removeListener("finish",g),m()}function g(){c("onfinish"),t.removeListener("close",d),m()}function m(){c("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",d),t.once("finish",g),t.emit("pipe",n),i.flowing||(c("pipe resume"),n.resume()),t},A.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=j(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},A.prototype.on=function(t,e){var n=o.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?L(this):i.reading||r.nextTick(z,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(t,e){var n=o.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(O,this),n},A.prototype.removeAllListeners=function(t){var e=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(O,this),e},A.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(D,t,e))}(this,t)),t.paused=!1,this},A.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a<T.length;a++)t.on(T[a],this.emit.bind(this,T[a]));return this._read=function(e){c("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=t("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),A._fromList=F,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(e,r){return void 0===p&&(p=t("./internal/streams/from")),p(A,e,r)})}).call(this)}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":286,"./_stream_duplex":287,"./internal/streams/async_iterator":292,"./internal/streams/buffer_list":293,"./internal/streams/destroy":294,"./internal/streams/from":296,"./internal/streams/state":298,"./internal/streams/stream":299,_process:277,buffer:85,events:84,inherits:231,"string_decoder/":300,util:83}],290:[function(t,e,r){"use strict";e.exports=u;var n=t("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,o=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=t("./_stream_duplex");function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new o;return t.push(null)}t("inherits")(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,r){r(new i("_transform()"))},u.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},{"../errors":286,"./_stream_duplex":287,inherits:231}],291:[function(t,e,r){(function(r,n){(function(){"use strict";function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var a;e.exports=A,A.WritableState=k;var o={deprecate:t("util-deprecate")},s=t("./internal/streams/stream"),l=t("buffer").Buffer,c=n.Uint8Array||function(){};var u,f=t("./internal/streams/destroy"),h=t("./internal/streams/state").getHighWaterMark,p=t("../errors").codes,d=p.ERR_INVALID_ARG_TYPE,g=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,v=p.ERR_STREAM_CANNOT_PIPE,y=p.ERR_STREAM_DESTROYED,x=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,_=p.ERR_UNKNOWN_ENCODING,w=f.errorOrDestroy;function T(){}function k(e,n,o){a=a||t("./_stream_duplex"),e=e||{},"boolean"!=typeof o&&(o=n instanceof a),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,a=n.writecb;if("function"!=typeof a)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,a){--e.pendingcb,n?(r.nextTick(a,i),r.nextTick(P,t,e),t._writableState.errorEmitted=!0,w(t,i)):(a(i),t._writableState.errorEmitted=!0,w(t,i),P(t,e))}(t,n,i,e,a);else{var o=L(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||E(t,n),i?r.nextTick(S,t,n,o,a):S(t,n,o,a)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function A(e){var r=this instanceof(a=a||t("./_stream_duplex"));if(!r&&!u.call(A,this))return new A(e);this._writableState=new k(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function M(t,e,r,n,i,a,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):r?t._writev(i,e.onwrite):t._write(i,a,e.onwrite),e.sync=!1}function S(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),P(t,e)}function E(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,a=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)a[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;a.allBuffers=l,M(t,e,!0,e.length,a,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,f=r.callback;if(M(t,e,!1,e.objectMode?1:c.length,c,u,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function L(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(r){e.pendingcb--,r&&w(t,r),e.prefinished=!0,t.emit("prefinish"),P(t,e)}))}function P(t,e){var n=L(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,r.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}t("inherits")(A,s),k.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(k.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(t){return!!u.call(this,t)||this===A&&(t&&t._writableState instanceof k)}})):u=function(t){return t instanceof this},A.prototype.pipe=function(){w(this,new v)},A.prototype.write=function(t,e,n){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=t,l.isBuffer(i)||i instanceof c);return s&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),s?e="buffer":e||(e=a.defaultEncoding),"function"!=typeof n&&(n=T),a.ending?function(t,e){var n=new b;w(t,n),r.nextTick(e,n)}(this,n):(s||function(t,e,n,i){var a;return null===n?a=new x:"string"==typeof n||e.objectMode||(a=new d("chunk",["string","Buffer"],n)),!a||(w(t,a),r.nextTick(i,a),!1)}(this,a,t,n))&&(a.pendingcb++,o=function(t,e,r,n,i,a){if(!r){var o=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,r));return e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;c||(e.needDrain=!0);if(e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else M(t,e,!1,s,n,i,a);return c}(this,a,s,t,e,n)),o},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||E(this,t))},A.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new _(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(t,e,r){r(new g("_write()"))},A.prototype._writev=null,A.prototype.end=function(t,e,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,P(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),A.prototype.destroy=f.destroy,A.prototype._undestroy=f.undestroy,A.prototype._destroy=function(t,e){e(t)}}).call(this)}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":286,"./_stream_duplex":287,"./internal/streams/destroy":294,"./internal/streams/state":298,"./internal/streams/stream":299,_process:277,buffer:85,inherits:231,"util-deprecate":330}],292:[function(t,e,r){(function(r){(function(){"use strict";var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=t("./end-of-stream"),o=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function p(t,e){return{value:t,done:e}}function d(t){var e=t[o];if(null!==e){var r=t[h].read();null!==r&&(t[u]=null,t[o]=null,t[s]=null,e(p(r,!1)))}}function g(t){r.nextTick(d,t)}var m=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise((function(e,n){r.nextTick((function(){t[l]?n(t[l]):e(p(void 0,!0))}))}));var n,i=this[u];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[c]?r(p(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var a=this[h].read();if(null!==a)return Promise.resolve(p(a,!1));n=new Promise(this[f])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(p(void 0,!0))}))}))})),n),m);e.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,o,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[u]=null,r[o]=null,r[s]=null,t(p(n,!1))):(r[o]=t,r[s]=e)},writable:!0}),e));return r[u]=null,a(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[u]=null,r[o]=null,r[s]=null,e(t)),void(r[l]=t)}var n=r[o];null!==n&&(r[u]=null,r[o]=null,r[s]=null,n(p(void 0,!0))),r[c]=!0})),t.on("readable",g.bind(null,r)),r}}).call(this)}).call(this,t("_process"))},{"./end-of-stream":295,_process:277}],293:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("buffer").Buffer,s=t("util").inspect,l=s&&s.custom||"inspect";e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,c;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return o.alloc(0);for(var e,r,n,i=o.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=i,n=s,o.prototype.copy.call(e,r,n),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,a=t>i.length?i.length:t;if(a===i.length?n+=i:n+=i.slice(0,t),0==(t-=a)){a===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(a));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=o.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,a=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,a),0==(t-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,e}},{key:l,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&a(e.prototype,r),c&&a(e,c),t}()},{buffer:85,util:83}],294:[function(t,e,r){(function(t){(function(){"use strict";function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}e.exports={destroy:function(e,a){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(a?a(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!a&&e?o._writableState?o._writableState.errorEmitted?t.nextTick(n,o):(o._writableState.errorEmitted=!0,t.nextTick(r,o,e)):t.nextTick(r,o,e):a?(t.nextTick(n,o),a(e)):t.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this)}).call(this,t("_process"))},{_process:277}],295:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function t(e,r,a){if("function"==typeof r)return t(e,null,r);r||(r={}),a=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(a||i);var o=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,o||a.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){o=!1,f=!0,s||a.call(e)},p=function(t){a.call(e,t)},d=function(){var t;return o&&!f?(e._readableState&&e._readableState.ended||(t=new n),a.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new n),a.call(e,t)):void 0},g=function(){e.req.on("finish",u)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",l),e.on("close",l)):(e.on("complete",u),e.on("abort",d),e.req?g():e.on("request",g)),e.on("end",h),e.on("finish",u),!1!==r.error&&e.on("error",p),e.on("close",d),function(){e.removeListener("complete",u),e.removeListener("abort",d),e.removeListener("request",g),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",h),e.removeListener("error",p),e.removeListener("close",d)}}},{"../../../errors":286}],296:[function(t,e,r){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],297:[function(t,e,r){"use strict";var n;var i=t("../../../errors").codes,a=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(e,r,i,a){a=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(a);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=t("./end-of-stream")),n(e,{readable:r,writable:i},(function(t){if(t)return a(t);s=!0,a()}));var l=!1;return function(t){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void a(t||new o("pipe"))}}function c(t){t()}function u(t,e){return t.pipe(e)}function f(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}e.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new a("streams");var o=e.map((function(t,r){var a=r<e.length-1;return l(t,a,r>0,(function(t){n||(n=t),t&&o.forEach(c),a||(o.forEach(c),i(n))}))}));return e.reduce(u)}},{"../../../errors":286,"./end-of-stream":295}],298:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(t,e,r,i){var a=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new n(i?r:"highWaterMark",a);return Math.floor(a)}return t.objectMode?16:16384}}},{"../../../errors":286}],299:[function(t,e,r){e.exports=t("events").EventEmitter},{events:84}],300:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=f,e=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function u(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}r.StringDecoder=a,a.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},a.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},a.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=o(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=o(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=o(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},{"safe-buffer":284}],301:[function(t,e,r){(function(r,n){(function(){var r=t("assert"),i=t("debug")("stream-parser");e.exports=function(t){var e=t&&"function"==typeof t._transform,r=t&&"function"==typeof t._write;if(!e&&!r)throw new Error("must pass a Writable or Transform stream in");i("extending Parser into stream"),t._bytes=o,t._skipBytes=s,e&&(t._passthrough=l);e?t._transform=u:t._write=c};function a(t){i("initializing parser stream"),t._parserBytesLeft=0,t._parserBuffers=[],t._parserBuffered=0,t._parserState=-1,t._parserCallback=null,"function"==typeof t.push&&(t._parserOutput=t.push.bind(t)),t._parserInit=!0}function o(t,e){r(!this._parserCallback,'there is already a "callback" set!'),r(isFinite(t)&&t>0,'can only buffer a finite number of bytes > 0, got "'+t+'"'),this._parserInit||a(this),i("buffering %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=0}function s(t,e){r(!this._parserCallback,'there is already a "callback" set!'),r(t>0,'can only skip > 0 bytes, got "'+t+'"'),this._parserInit||a(this),i("skipping %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=1}function l(t,e){r(!this._parserCallback,'There is already a "callback" set!'),r(t>0,'can only pass through > 0 bytes, got "'+t+'"'),this._parserInit||a(this),i("passing through %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=2}function c(t,e,r){this._parserInit||a(this),i("write(%o bytes)",t.length),"function"==typeof e&&(r=e),h(this,t,null,r)}function u(t,e,r){this._parserInit||a(this),i("transform(%o bytes)",t.length),"function"!=typeof e&&(e=this._parserOutput),h(this,t,e,r)}function f(t,e,r,a){if(t._parserBytesLeft-=e.length,i("%o bytes left for stream piece",t._parserBytesLeft),0===t._parserState?(t._parserBuffers.push(e),t._parserBuffered+=e.length):2===t._parserState&&r(e),0!==t._parserBytesLeft)return a;var o=t._parserCallback;if(o&&0===t._parserState&&t._parserBuffers.length>1&&(e=n.concat(t._parserBuffers,t._parserBuffered)),0!==t._parserState&&(e=null),t._parserCallback=null,t._parserBuffered=0,t._parserState=-1,t._parserBuffers.splice(0),o){var s=[];e&&s.push(e),r&&s.push(r);var l=o.length>s.length;l&&s.push(p(a));var c=o.apply(t,s);if(!l||a===c)return a}}var h=p((function t(e,r,n,i){return e._parserBytesLeft<=0?i(new Error("got data but not currently parsing anything")):r.length<=e._parserBytesLeft?function(){return f(e,r,n,i)}:function(){var a=r.slice(0,e._parserBytesLeft);return f(e,a,n,(function(o){return o?i(o):r.length>a.length?function(){return t(e,r.slice(a.length),n,i)}:void 0}))}}));function p(t){return function(){for(var e=t.apply(this,arguments);"function"==typeof e;)e=e();return e}}}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{_process:277,assert:75,buffer:85,debug:302}],302:[function(t,e,r){(function(n){(function(){function i(){var t;try{t=r.storage.debug}catch(t){}return!t&&void 0!==n&&"env"in n&&(t=n.env.DEBUG),t}(r=e.exports=t("./debug")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},r.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+r.humanize(this.diff),!e)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var i=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(a=i))})),t.splice(a,0,n)},r.save=function(t){try{null==t?r.storage.removeItem("debug"):r.storage.debug=t}catch(t){}},r.load=i,r.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},r.enable(i())}).call(this)}).call(this,t("_process"))},{"./debug":303,_process:277}],303:[function(t,e,r){var n;function i(t){function e(){if(e.enabled){var t=e,i=+new Date,a=i-(n||i);t.diff=a,t.prev=n,t.curr=i,n=i;for(var o=new Array(arguments.length),s=0;s<o.length;s++)o[s]=arguments[s];o[0]=r.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var l=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var a=o[l];e=i.call(t,a),o.splice(l,1),l--}return e})),r.formatArgs.call(t,o);var c=e.log||r.log||console.log.bind(console);c.apply(t,o)}}return e.namespace=t,e.enabled=r.enabled(t),e.useColors=r.useColors(),e.color=function(t){var e,n=0;for(e in t)n=(n<<5)-n+t.charCodeAt(e),n|=0;return r.colors[Math.abs(n)%r.colors.length]}(t),"function"==typeof r.init&&r.init(e),e}(r=e.exports=i.debug=i.default=i).coerce=function(t){return t instanceof Error?t.stack||t.message:t},r.disable=function(){r.enable("")},r.enable=function(t){r.save(t),r.names=[],r.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),n=e.length,i=0;i<n;i++)e[i]&&("-"===(t=e[i].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+t.substr(1)+"$")):r.names.push(new RegExp("^"+t+"$")))},r.enabled=function(t){var e,n;for(e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1},r.humanize=t("ms"),r.names=[],r.skips=[],r.formatters={}},{ms:304}],304:[function(t,e,r){var n=1e3,i=6e4,a=60*i,o=24*a;function s(t,e,r){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+r:Math.ceil(t/e)+" "+r+"s"}e.exports=function(t,e){e=e||{};var r,l=typeof t;if("string"===l&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var r=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"days":case"day":case"d":return r*o;case"hours":case"hour":case"hrs":case"hr":case"h":return r*a;case"minutes":case"minute":case"mins":case"min":case"m":return r*i;case"seconds":case"second":case"secs":case"sec":case"s":return r*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}(t);if("number"===l&&!1===isNaN(t))return e.long?s(r=t,o,"day")||s(r,a,"hour")||s(r,i,"minute")||s(r,n,"second")||r+" ms":function(t){if(t>=o)return Math.round(t/o)+"d";if(t>=a)return Math.round(t/a)+"h";if(t>=i)return Math.round(t/i)+"m";if(t>=n)return Math.round(t/n)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},{}],305:[function(t,e,r){"use strict";var n=t("parenthesis");e.exports=function(t,e,r){if(null==t)throw Error("First argument should be a string");if(null==e)throw Error("Separator should be a string or a RegExp");r?("string"==typeof r||Array.isArray(r))&&(r={ignore:r}):r={},null==r.escape&&(r.escape=!0),null==r.ignore?r.ignore=["[]","()","{}","<>",'""',"''","``","\u201c\u201d","\xab\xbb"]:("string"==typeof r.ignore&&(r.ignore=[r.ignore]),r.ignore=r.ignore.map((function(t){return 1===t.length&&(t+=t),t})));var i=n.parse(t,{flat:!0,brackets:r.ignore}),a=i[0].split(e);if(r.escape){for(var o=[],s=0;s<a.length;s++){var l=a[s],c=a[s+1];"\\"===l[l.length-1]&&"\\"!==l[l.length-2]?(o.push(l+e+c),s++):o.push(l)}a=o}for(s=0;s<a.length;s++)i[0]=a[s],a[s]=n.stringify(i,{flat:!0});return a}},{parenthesis:248}],306:[function(t,e,r){"use strict";e.exports=function(t){for(var e=t.length,r=new Array(e),n=new Array(e),i=new Array(e),a=new Array(e),o=new Array(e),s=new Array(e),l=0;l<e;++l)r[l]=-1,n[l]=0,i[l]=!1,a[l]=0,o[l]=-1,s[l]=[];var c,u=0,f=[],h=[];function p(e){var l=[e],c=[e];for(r[e]=n[e]=u,i[e]=!0,u+=1;c.length>0;){e=c[c.length-1];var p=t[e];if(a[e]<p.length){for(var d=a[e];d<p.length;++d){var g=p[d];if(r[g]<0){r[g]=n[g]=u,i[g]=!0,u+=1,l.push(g),c.push(g);break}i[g]&&(n[e]=0|Math.min(n[e],n[g])),o[g]>=0&&s[e].push(o[g])}a[e]=d}else{if(n[e]===r[e]){var m=[],v=[],y=0;for(d=l.length-1;d>=0;--d){var x=l[d];if(i[x]=!1,m.push(x),v.push(s[x]),y+=s[x].length,o[x]=f.length,x===e){l.length=d;break}}f.push(m);var b=new Array(y);for(d=0;d<v.length;d++)for(var _=0;_<v[d].length;_++)b[--y]=v[d][_];h.push(b)}c.pop()}}}for(l=0;l<e;++l)r[l]<0&&p(l);for(l=0;l<h.length;l++){var d=h[l];if(0!==d.length){d.sort((function(t,e){return t-e})),c=[d[0]];for(var g=1;g<d.length;g++)d[g]!==d[g-1]&&c.push(d[g]);h[l]=c}}return{components:f,adjacencyList:h}}},{}],307:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,a=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=2*Math.PI,a=function(t,e,r,n,i,a,o){var s=t.x,l=t.y;return{x:n*(s*=e)-i*(l*=r)+a,y:i*s+n*l+o}},o=function(t,e){var r=1.5707963267948966===e?.551915024494:-1.5707963267948966===e?-.551915024494:4/3*Math.tan(e/4),n=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[{x:n-i*r,y:i+n*r},{x:a+o*r,y:o-a*r},{x:a,y:o}]},s=function(t,e,r,n){var i=t*r+e*n;return i>1&&(i=1),i<-1&&(i=-1),(t*n-e*r<0?-1:1)*Math.acos(i)};r.default=function(t){var e=t.px,r=t.py,l=t.cx,c=t.cy,u=t.rx,f=t.ry,h=t.xAxisRotation,p=void 0===h?0:h,d=t.largeArcFlag,g=void 0===d?0:d,m=t.sweepFlag,v=void 0===m?0:m,y=[];if(0===u||0===f)return[];var x=Math.sin(p*i/360),b=Math.cos(p*i/360),_=b*(e-l)/2+x*(r-c)/2,w=-x*(e-l)/2+b*(r-c)/2;if(0===_&&0===w)return[];u=Math.abs(u),f=Math.abs(f);var T=Math.pow(_,2)/Math.pow(u,2)+Math.pow(w,2)/Math.pow(f,2);T>1&&(u*=Math.sqrt(T),f*=Math.sqrt(T));var k=function(t,e,r,n,a,o,l,c,u,f,h,p){var d=Math.pow(a,2),g=Math.pow(o,2),m=Math.pow(h,2),v=Math.pow(p,2),y=d*g-d*v-g*m;y<0&&(y=0),y/=d*v+g*m;var x=(y=Math.sqrt(y)*(l===c?-1:1))*a/o*p,b=y*-o/a*h,_=f*x-u*b+(t+r)/2,w=u*x+f*b+(e+n)/2,T=(h-x)/a,k=(p-b)/o,A=(-h-x)/a,M=(-p-b)/o,S=s(1,0,T,k),E=s(T,k,A,M);return 0===c&&E>0&&(E-=i),1===c&&E<0&&(E+=i),[_,w,S,E]}(e,r,l,c,u,f,g,v,x,b,_,w),A=n(k,4),M=A[0],S=A[1],E=A[2],L=A[3],C=Math.abs(L)/(i/4);Math.abs(1-C)<1e-7&&(C=1);var P=Math.max(Math.ceil(C),1);L/=P;for(var I=0;I<P;I++)y.push(o(E,L)),E+=L;return y.map((function(t){var e=a(t[0],u,f,b,x,M,S),r=e.x,n=e.y,i=a(t[1],u,f,b,x,M,S),o=i.x,s=i.y,l=a(t[2],u,f,b,x,M,S);return{x1:r,y1:n,x2:o,y2:s,x:l.x,y:l.y}}))},e.exports=r.default},{}],308:[function(t,e,r){"use strict";var n=t("parse-svg-path"),i=t("abs-svg-path"),a=t("normalize-svg-path"),o=t("is-svg-path"),s=t("assert");e.exports=function(t){Array.isArray(t)&&1===t.length&&"string"==typeof t[0]&&(t=t[0]);"string"==typeof t&&(s(o(t),"String is not an SVG path."),t=n(t));if(s(Array.isArray(t),"Argument should be a string or an array of path segments."),t=i(t),!(t=a(t)).length)return[0,0,0,0];for(var e=[1/0,1/0,-1/0,-1/0],r=0,l=t.length;r<l;r++)for(var c=t[r].slice(1),u=0;u<c.length;u+=2)c[u+0]<e[0]&&(e[0]=c[u+0]),c[u+1]<e[1]&&(e[1]=c[u+1]),c[u+0]>e[2]&&(e[2]=c[u+0]),c[u+1]>e[3]&&(e[3]=c[u+1]);return e}},{"abs-svg-path":70,assert:75,"is-svg-path":238,"normalize-svg-path":309,"parse-svg-path":250}],309:[function(t,e,r){"use strict";e.exports=function(t){for(var e,r=[],o=0,s=0,l=0,c=0,u=null,f=null,h=0,p=0,d=0,g=t.length;d<g;d++){var m=t[d],v=m[0];switch(v){case"M":l=m[1],c=m[2];break;case"A":var y=n({px:h,py:p,cx:m[6],cy:m[7],rx:m[1],ry:m[2],xAxisRotation:m[3],largeArcFlag:m[4],sweepFlag:m[5]});if(!y.length)continue;for(var x,b=0;b<y.length;b++)x=y[b],m=["C",x.x1,x.y1,x.x2,x.y2,x.x,x.y],b<y.length-1&&r.push(m);break;case"S":var _=h,w=p;"C"!=e&&"S"!=e||(_+=_-o,w+=w-s),m=["C",_,w,m[1],m[2],m[3],m[4]];break;case"T":"Q"==e||"T"==e?(u=2*h-u,f=2*p-f):(u=h,f=p),m=a(h,p,u,f,m[1],m[2]);break;case"Q":u=m[1],f=m[2],m=a(h,p,m[1],m[2],m[3],m[4]);break;case"L":m=i(h,p,m[1],m[2]);break;case"H":m=i(h,p,m[1],p);break;case"V":m=i(h,p,h,m[1]);break;case"Z":m=i(h,p,l,c)}e=v,h=m[m.length-2],p=m[m.length-1],m.length>4?(o=m[m.length-4],s=m[m.length-3]):(o=h,s=p),r.push(m)}return r};var n=t("svg-arc-to-cubic-bezier");function i(t,e,r,n){return["C",t,e,r,n,r,n]}function a(t,e,r,n,i,a){return["C",t/3+2/3*r,e/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}},{"svg-arc-to-cubic-bezier":307}],310:[function(t,e,r){"use strict";var n,i=t("svg-path-bounds"),a=t("parse-svg-path"),o=t("draw-svg-path"),s=t("is-svg-path"),l=t("bitmap-sdf"),c=document.createElement("canvas"),u=c.getContext("2d");e.exports=function(t,e){if(!s(t))throw Error("Argument should be valid svg path string");e||(e={});var r,f;e.shape?(r=e.shape[0],f=e.shape[1]):(r=c.width=e.w||e.width||200,f=c.height=e.h||e.height||200);var h=Math.min(r,f),p=e.stroke||0,d=e.viewbox||e.viewBox||i(t),g=[r/(d[2]-d[0]),f/(d[3]-d[1])],m=Math.min(g[0]||0,g[1]||0)/2;u.fillStyle="black",u.fillRect(0,0,r,f),u.fillStyle="white",p&&("number"!=typeof p&&(p=1),u.strokeStyle=p>0?"white":"black",u.lineWidth=Math.abs(p));if(u.translate(.5*r,.5*f),u.scale(m,m),function(){if(null!=n)return n;var t=document.createElement("canvas").getContext("2d");if(t.canvas.width=t.canvas.height=1,!window.Path2D)return n=!1;var e=new Path2D("M0,0h1v1h-1v-1Z");t.fillStyle="black",t.fill(e);var r=t.getImageData(0,0,1,1);return n=r&&r.data&&255===r.data[3]}()){var v=new Path2D(t);u.fill(v),p&&u.stroke(v)}else{var y=a(t);o(u,y),u.fill(),p&&u.stroke()}return u.setTransform(1,0,0,1,0,0),l(u,{cutoff:null!=e.cutoff?e.cutoff:.5,radius:null!=e.radius?e.radius:.5*h})}},{"bitmap-sdf":82,"draw-svg-path":126,"is-svg-path":238,"parse-svg-path":250,"svg-path-bounds":308}],311:[function(t,e,r){(function(e,n){(function(){var i=t("process/browser.js").nextTick,a=Function.prototype.apply,o=Array.prototype.slice,s={},l=0;function c(t,e){this._id=t,this._clearFn=e}r.setTimeout=function(){return new c(a.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new c(a.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(t){t.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},r.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},r._unrefActive=r.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r.setImmediate="function"==typeof e?e:function(t){var e=l++,n=!(arguments.length<2)&&o.call(arguments,1);return s[e]=!0,i((function(){s[e]&&(n?t.apply(null,n):t.call(null),r.clearImmediate(e))})),e},r.clearImmediate="function"==typeof n?n:function(t){delete s[t]}}).call(this)}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":277,timers:311}],312:[function(t,e,r){!function(t){var r=/^\s+/,n=/\s+$/,i=0,a=t.round,o=t.min,s=t.max,l=t.random;function c(e,l){if(l=l||{},(e=e||"")instanceof c)return e;if(!(this instanceof c))return new c(e,l);var u=function(e){var i={r:0,g:0,b:0},a=1,l=null,c=null,u=null,f=!1,h=!1;"string"==typeof e&&(e=function(t){t=t.replace(r,"").replace(n,"").toLowerCase();var e,i=!1;if(S[t])t=S[t],i=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=j.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=j.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=j.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=j.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=j.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=j.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=j.hex8.exec(t))return{r:I(e[1]),g:I(e[2]),b:I(e[3]),a:R(e[4]),format:i?"name":"hex8"};if(e=j.hex6.exec(t))return{r:I(e[1]),g:I(e[2]),b:I(e[3]),format:i?"name":"hex"};if(e=j.hex4.exec(t))return{r:I(e[1]+""+e[1]),g:I(e[2]+""+e[2]),b:I(e[3]+""+e[3]),a:R(e[4]+""+e[4]),format:i?"name":"hex8"};if(e=j.hex3.exec(t))return{r:I(e[1]+""+e[1]),g:I(e[2]+""+e[2]),b:I(e[3]+""+e[3]),format:i?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(p=e.r,d=e.g,g=e.b,i={r:255*C(p,255),g:255*C(d,255),b:255*C(g,255)},f=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(l=z(e.s),c=z(e.v),i=function(e,r,n){e=6*C(e,360),r=C(r,100),n=C(n,100);var i=t.floor(e),a=e-i,o=n*(1-r),s=n*(1-a*r),l=n*(1-(1-a)*r),c=i%6;return{r:255*[n,s,o,o,l,n][c],g:255*[l,n,n,s,o,o][c],b:255*[o,o,l,n,n,s][c]}}(e.h,l,c),f=!0,h="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(l=z(e.s),u=z(e.l),i=function(t,e,r){var n,i,a;function o(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=C(t,360),e=C(e,100),r=C(r,100),0===e)n=i=a=r;else{var s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=o(l,s,t+1/3),i=o(l,s,t),a=o(l,s,t-1/3)}return{r:255*n,g:255*i,b:255*a}}(e.h,l,u),f=!0,h="hsl"),e.hasOwnProperty("a")&&(a=e.a));var p,d,g;return a=L(a),{ok:f,format:e.format||h,r:o(255,s(i.r,0)),g:o(255,s(i.g,0)),b:o(255,s(i.b,0)),a:a}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=a(100*this._a)/100,this._format=l.format||u.format,this._gradientType=l.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=u.ok,this._tc_id=i++}function u(t,e,r){t=C(t,255),e=C(e,255),r=C(r,255);var n,i,a=s(t,e,r),l=o(t,e,r),c=(a+l)/2;if(a==l)n=i=0;else{var u=a-l;switch(i=c>.5?u/(2-a-l):u/(a+l),a){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:i,l:c}}function f(t,e,r){t=C(t,255),e=C(e,255),r=C(r,255);var n,i,a=s(t,e,r),l=o(t,e,r),c=a,u=a-l;if(i=0===a?0:u/a,a==l)n=0;else{switch(a){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:i,v:c}}function h(t,e,r,n){var i=[O(a(t).toString(16)),O(a(e).toString(16)),O(a(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function p(t,e,r,n){return[O(D(n)),O(a(t).toString(16)),O(a(e).toString(16)),O(a(r).toString(16))].join("")}function d(t,e){e=0===e?0:e||10;var r=c(t).toHsl();return r.s-=e/100,r.s=P(r.s),c(r)}function g(t,e){e=0===e?0:e||10;var r=c(t).toHsl();return r.s+=e/100,r.s=P(r.s),c(r)}function m(t){return c(t).desaturate(100)}function v(t,e){e=0===e?0:e||10;var r=c(t).toHsl();return r.l+=e/100,r.l=P(r.l),c(r)}function y(t,e){e=0===e?0:e||10;var r=c(t).toRgb();return r.r=s(0,o(255,r.r-a(-e/100*255))),r.g=s(0,o(255,r.g-a(-e/100*255))),r.b=s(0,o(255,r.b-a(-e/100*255))),c(r)}function x(t,e){e=0===e?0:e||10;var r=c(t).toHsl();return r.l-=e/100,r.l=P(r.l),c(r)}function b(t,e){var r=c(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,c(r)}function _(t){var e=c(t).toHsl();return e.h=(e.h+180)%360,c(e)}function w(t){var e=c(t).toHsl(),r=e.h;return[c(t),c({h:(r+120)%360,s:e.s,l:e.l}),c({h:(r+240)%360,s:e.s,l:e.l})]}function T(t){var e=c(t).toHsl(),r=e.h;return[c(t),c({h:(r+90)%360,s:e.s,l:e.l}),c({h:(r+180)%360,s:e.s,l:e.l}),c({h:(r+270)%360,s:e.s,l:e.l})]}function k(t){var e=c(t).toHsl(),r=e.h;return[c(t),c({h:(r+72)%360,s:e.s,l:e.l}),c({h:(r+216)%360,s:e.s,l:e.l})]}function A(t,e,r){e=e||6,r=r||30;var n=c(t).toHsl(),i=360/r,a=[c(t)];for(n.h=(n.h-(i*e>>1)+720)%360;--e;)n.h=(n.h+i)%360,a.push(c(n));return a}function M(t,e){e=e||6;for(var r=c(t).toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/e;e--;)o.push(c({h:n,s:i,v:a})),a=(a+s)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var e,r,n,i=this.toRgb();return e=i.r/255,r=i.g/255,n=i.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=L(t),this._roundA=a(100*this._a)/100,this},toHsv:function(){var t=f(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=f(this._r,this._g,this._b),e=a(360*t.h),r=a(100*t.s),n=a(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=u(this._r,this._g,this._b),e=a(360*t.h),r=a(100*t.s),n=a(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return h(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,i){var o=[O(a(t).toString(16)),O(a(e).toString(16)),O(a(r).toString(16)),O(D(n))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*C(this._r,255))+"%",g:a(100*C(this._g,255))+"%",b:a(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*C(this._r,255))+"%, "+a(100*C(this._g,255))+"%, "+a(100*C(this._b,255))+"%)":"rgba("+a(100*C(this._r,255))+"%, "+a(100*C(this._g,255))+"%, "+a(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+p(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var i=c(t);r="#"+p(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},c.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:z(t[n]));t=r}return c(t,e)},c.equals=function(t,e){return!(!t||!e)&&c(t).toRgbString()==c(e).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})},c.mix=function(t,e,r){r=0===r?0:r||50;var n=c(t).toRgb(),i=c(e).toRgb(),a=r/100;return c({r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a})},c.readability=function(e,r){var n=c(e),i=c(r);return(t.max(n.getLuminance(),i.getLuminance())+.05)/(t.min(n.getLuminance(),i.getLuminance())+.05)},c.isReadable=function(t,e,r){var n,i,a=c.readability(t,e);switch(i=!1,(n=function(t){var e,r;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==r&&"large"!==r&&(r="small");return{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},c.mostReadable=function(t,e,r){var n,i,a,o,s=null,l=0;i=(r=r||{}).includeFallbackColors,a=r.level,o=r.size;for(var u=0;u<e.length;u++)(n=c.readability(t,e[u]))>l&&(l=n,s=c(e[u]));return c.isReadable(t,s,{level:a,size:o})||!i?s:(r.includeFallbackColors=!1,c.mostReadable(t,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=c.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(S);function L(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function C(e,r){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(e)&&(e="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(e);return e=o(r,s(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function P(t){return o(1,s(0,t))}function I(t){return parseInt(t,16)}function O(t){return 1==t.length?"0"+t:""+t}function z(t){return t<=1&&(t=100*t+"%"),t}function D(e){return t.round(255*parseFloat(e)).toString(16)}function R(t){return I(t)/255}var F,B,N,j=(B="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",N="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+N),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+N),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+N),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(t){return!!j.CSS_UNIT.exec(t)}void 0!==e&&e.exports?e.exports=c:window.tinycolor=c}(Math)},{}],313:[function(t,e,r){"use strict";e.exports=i,e.exports.float32=e.exports.float=i,e.exports.fract32=e.exports.fract=function(t,e){if(t.length){if(t instanceof Float32Array)return new Float32Array(t.length);e instanceof Float32Array||(e=i(t));for(var r=0,n=e.length;r<n;r++)e[r]=t[r]-e[r];return e}return i(t-i(t))};var n=new Float32Array(1);function i(t){return t.length?t instanceof Float32Array?t:new Float32Array(t):(n[0]=t,n[0])}},{}],314:[function(t,e,r){"use strict";var n=t("parse-unit");e.exports=a;function i(t,e){var r=n(getComputedStyle(t).getPropertyValue(e));return r[0]*a(r[1],t)}function a(t,e){switch(e=e||document.body,t=(t||"px").trim().toLowerCase(),e!==window&&e!==document||(e=document.body),t){case"%":return e.clientHeight/100;case"ch":case"ex":return function(t,e){var r=document.createElement("div");r.style["font-size"]="128"+t,e.appendChild(r);var n=i(r,"font-size")/128;return e.removeChild(r),n}(t,e);case"em":return i(e,"font-size");case"rem":return i(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return 96;case"cm":return 96/2.54;case"mm":return 96/25.4;case"pt":return 96/72;case"pc":return 16}return 1}},{"parse-unit":251}],315:[function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):n((t=t||self).topojson=t.topojson||{})}(this,(function(t){"use strict";function e(t){return t}function r(t){if(null==t)return e;var r,n,i=t.scale[0],a=t.scale[1],o=t.translate[0],s=t.translate[1];return function(t,e){e||(r=n=0);var l=2,c=t.length,u=new Array(c);for(u[0]=(r+=t[0])*i+o,u[1]=(n+=t[1])*a+s;l<c;)u[l]=t[l],++l;return u}}function n(t){var e,n=r(t.transform),i=1/0,a=i,o=-i,s=-i;function l(t){(t=n(t))[0]<i&&(i=t[0]),t[0]>o&&(o=t[0]),t[1]<a&&(a=t[1]),t[1]>s&&(s=t[1])}function c(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(c);break;case"Point":l(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(l)}}for(e in t.arcs.forEach((function(t){for(var e,r=-1,l=t.length;++r<l;)(e=n(t[r],r))[0]<i&&(i=e[0]),e[0]>o&&(o=e[0]),e[1]<a&&(a=e[1]),e[1]>s&&(s=e[1])})),t.objects)c(t.objects[e]);return[i,a,o,s]}function i(t,e){var r=e.id,n=e.bbox,i=null==e.properties?{}:e.properties,o=a(t,e);return null==r&&null==n?{type:"Feature",properties:i,geometry:o}:null==n?{type:"Feature",id:r,properties:i,geometry:o}:{type:"Feature",id:r,bbox:n,properties:i,geometry:o}}function a(t,e){var n=r(t.transform),i=t.arcs;function a(t,e){e.length&&e.pop();for(var r=i[t<0?~t:t],a=0,o=r.length;a<o;++a)e.push(n(r[a],a));t<0&&function(t,e){for(var r,n=t.length,i=n-e;i<--n;)r=t[i],t[i++]=t[n],t[n]=r}(e,o)}function o(t){return n(t)}function s(t){for(var e=[],r=0,n=t.length;r<n;++r)a(t[r],e);return e.length<2&&e.push(e[0]),e}function l(t){for(var e=s(t);e.length<4;)e.push(e[0]);return e}function c(t){return t.map(l)}return function t(e){var r,n=e.type;switch(n){case"GeometryCollection":return{type:n,geometries:e.geometries.map(t)};case"Point":r=o(e.coordinates);break;case"MultiPoint":r=e.coordinates.map(o);break;case"LineString":r=s(e.arcs);break;case"MultiLineString":r=e.arcs.map(s);break;case"Polygon":r=c(e.arcs);break;case"MultiPolygon":r=e.arcs.map(c);break;default:return null}return{type:n,coordinates:r}}(e)}function o(t,e){var r={},n={},i={},a=[],o=-1;function s(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){r[t<0?~t:t]=1})),a.push(i)}}return e.forEach((function(r,n){var i,a=t.arcs[r<0?~r:r];a.length<3&&!a[1][0]&&!a[1][1]&&(i=e[++o],e[o]=r,e[n]=i)})),e.forEach((function(e){var r,a,o=function(e){var r,n=t.arcs[e<0?~e:e],i=n[0];t.transform?(r=[0,0],n.forEach((function(t){r[0]+=t[0],r[1]+=t[1]}))):r=n[n.length-1];return e<0?[r,i]:[i,r]}(e),s=o[0],l=o[1];if(r=i[s])if(delete i[r.end],r.push(e),r.end=l,a=n[l]){delete n[a.start];var c=a===r?r:r.concat(a);n[c.start=r.start]=i[c.end=a.end]=c}else n[r.start]=i[r.end]=r;else if(r=n[l])if(delete n[r.start],r.unshift(e),r.start=s,a=i[s]){delete i[a.end];var u=a===r?r:a.concat(r);n[u.start=a.start]=i[u.end=r.end]=u}else n[r.start]=i[r.end]=r;else n[(r=[e]).start=s]=i[r.end=l]=r})),s(i,n),s(n,i),e.forEach((function(t){r[t<0?~t:t]||a.push([t])})),a}function s(t,e,r){var n,i,a;if(arguments.length>1)n=l(t,e,r);else for(i=0,n=new Array(a=t.arcs.length);i<a;++i)n[i]=i;return{type:"MultiLineString",arcs:o(t,n)}}function l(t,e,r){var n,i=[],a=[];function o(t){var e=t<0?~t:t;(a[e]||(a[e]=[])).push({i:t,g:n})}function s(t){t.forEach(o)}function l(t){t.forEach(s)}return function t(e){switch(n=e,e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"LineString":s(e.arcs);break;case"MultiLineString":case"Polygon":l(e.arcs);break;case"MultiPolygon":!function(t){t.forEach(l)}(e.arcs)}}(e),a.forEach(null==r?function(t){i.push(t[0].i)}:function(t){r(t[0].g,t[t.length-1].g)&&i.push(t[0].i)}),i}function c(t,e){var r={},n=[],i=[];function s(t){t.forEach((function(e){e.forEach((function(e){(r[e=e<0?~e:e]||(r[e]=[])).push(t)}))})),n.push(t)}function l(e){return function(t){for(var e,r=-1,n=t.length,i=t[n-1],a=0;++r<n;)e=i,i=t[r],a+=e[0]*i[1]-e[1]*i[0];return Math.abs(a)}(a(t,{type:"Polygon",arcs:[e]}).coordinates[0])}return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":s(e.arcs);break;case"MultiPolygon":e.arcs.forEach(s)}})),n.forEach((function(t){if(!t._){var e=[],n=[t];for(t._=1,i.push(e);t=n.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){r[t<0?~t:t].forEach((function(t){t._||(t._=1,n.push(t))}))}))}))}})),n.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:i.map((function(e){var n,i=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){r[t<0?~t:t].length<2&&i.push(t)}))}))})),(n=(i=o(t,i)).length)>1)for(var a,s,c=1,u=l(i[0]);c<n;++c)(a=l(i[c]))>u&&(s=i[0],i[0]=i[c],i[c]=s,u=a);return i})).filter((function(t){return t.length>0}))}}function u(t,e){for(var r=0,n=t.length;r<n;){var i=r+n>>>1;t[i]<e?r=i+1:n=i}return r}function f(t){if(null==t)return e;var r,n,i=t.scale[0],a=t.scale[1],o=t.translate[0],s=t.translate[1];return function(t,e){e||(r=n=0);var l=2,c=t.length,u=new Array(c),f=Math.round((t[0]-o)/i),h=Math.round((t[1]-s)/a);for(u[0]=f-r,r=f,u[1]=h-n,n=h;l<c;)u[l]=t[l],++l;return u}}t.bbox=n,t.feature=function(t,e){return"string"==typeof e&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return i(t,e)}))}:i(t,e)},t.merge=function(t){return a(t,c.apply(this,arguments))},t.mergeArcs=c,t.mesh=function(t){return a(t,s.apply(this,arguments))},t.meshArcs=s,t.neighbors=function(t){var e={},r=t.map((function(){return[]}));function n(t,r){t.forEach((function(t){t<0&&(t=~t);var n=e[t];n?n.push(r):e[t]=[r]}))}function i(t,e){t.forEach((function(t){n(t,e)}))}var a={LineString:n,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach((function(t){i(t,e)}))}};for(var o in t.forEach((function t(e,r){"GeometryCollection"===e.type?e.geometries.forEach((function(e){t(e,r)})):e.type in a&&a[e.type](e.arcs,r)})),e)for(var s=e[o],l=s.length,c=0;c<l;++c)for(var f=c+1;f<l;++f){var h,p=s[c],d=s[f];(h=r[p])[o=u(h,d)]!==d&&h.splice(o,0,d),(h=r[d])[o=u(h,p)]!==p&&h.splice(o,0,p)}return r},t.quantize=function(t,e){if(t.transform)throw new Error("already quantized");if(e&&e.scale)l=t.bbox;else{if(!((r=Math.floor(e))>=2))throw new Error("n must be \u22652");var r,i=(l=t.bbox||n(t))[0],a=l[1],o=l[2],s=l[3];e={scale:[o-i?(o-i)/(r-1):1,s-a?(s-a)/(r-1):1],translate:[i,a]}}var l,c,u=f(e),h=t.objects,p={};function d(t){return u(t)}function g(t){var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(g)};break;case"Point":e={type:"Point",coordinates:d(t.coordinates)};break;case"MultiPoint":e={type:"MultiPoint",coordinates:t.coordinates.map(d)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}for(c in h)p[c]=g(h[c]);return{type:"Topology",bbox:l,transform:e,objects:p,arcs:t.arcs.map((function(t){var e,r=0,n=1,i=t.length,a=new Array(i);for(a[0]=u(t[0],0);++r<i;)((e=u(t[r],r))[0]||e[1])&&(a[n++]=e);return 1===n&&(a[n++]=[0,0]),a.length=n,a}))}},t.transform=r,t.untransform=f,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],316:[function(t,e,r){"use strict";var n=t("../prototype/is");e.exports=function(t){if("function"!=typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!=typeof t.length)return!1;if("function"!=typeof t.call)return!1;if("function"!=typeof t.apply)return!1}catch(t){return!1}return!n(t)}},{"../prototype/is":323}],317:[function(t,e,r){"use strict";var n=t("../value/is"),i=t("../object/is"),a=t("../string/coerce"),o=t("./to-short-string"),s=function(t,e){return t.replace("%v",o(e))};e.exports=function(t,e,r){if(!i(r))throw new TypeError(s(e,t));if(!n(t)){if("default"in r)return r.default;if(r.isOptional)return null}var o=a(r.errorMessage);throw n(o)||(o=e),new TypeError(s(o,t))}},{"../object/is":320,"../string/coerce":324,"../value/is":326,"./to-short-string":319}],318:[function(t,e,r){"use strict";e.exports=function(t){try{return t.toString()}catch(e){try{return String(t)}catch(t){return null}}}},{}],319:[function(t,e,r){"use strict";var n=t("./safe-to-string"),i=/[\n\r\u2028\u2029]/g;e.exports=function(t){var e=n(t);return null===e?"<Non-coercible to string value>":(e.length>100&&(e=e.slice(0,99)+"\u2026"),e=e.replace(i,(function(t){switch(t){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})))}},{"./safe-to-string":318}],320:[function(t,e,r){"use strict";var n=t("../value/is"),i={object:!0,function:!0,undefined:!0};e.exports=function(t){return!!n(t)&&hasOwnProperty.call(i,typeof t)}},{"../value/is":326}],321:[function(t,e,r){"use strict";var n=t("../lib/resolve-exception"),i=t("./is");e.exports=function(t){return i(t)?t:n(t,"%v is not a plain function",arguments[1])}},{"../lib/resolve-exception":317,"./is":322}],322:[function(t,e,r){"use strict";var n=t("../function/is"),i=/^\s*class[\s{/}]/,a=Function.prototype.toString;e.exports=function(t){return!!n(t)&&!i.test(a.call(t))}},{"../function/is":316}],323:[function(t,e,r){"use strict";var n=t("../object/is");e.exports=function(t){if(!n(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(t){return!1}}},{"../object/is":320}],324:[function(t,e,r){"use strict";var n=t("../value/is"),i=t("../object/is"),a=Object.prototype.toString;e.exports=function(t){if(!n(t))return null;if(i(t)){var e=t.toString;if("function"!=typeof e)return null;if(e===a)return null}try{return""+t}catch(t){return null}}},{"../object/is":320,"../value/is":326}],325:[function(t,e,r){"use strict";var n=t("../lib/resolve-exception"),i=t("./is");e.exports=function(t){return i(t)?t:n(t,"Cannot use %v",arguments[1])}},{"../lib/resolve-exception":317,"./is":326}],326:[function(t,e,r){"use strict";e.exports=function(t){return null!=t}},{}],327:[function(t,e,r){(function(e){(function(){"use strict";var n=t("bit-twiddle"),i=t("dup"),a=t("buffer").Buffer;e.__TYPEDARRAY_POOL||(e.__TYPEDARRAY_POOL={UINT8:i([32,0]),UINT16:i([32,0]),UINT32:i([32,0]),BIGUINT64:i([32,0]),INT8:i([32,0]),INT16:i([32,0]),INT32:i([32,0]),BIGINT64:i([32,0]),FLOAT:i([32,0]),DOUBLE:i([32,0]),DATA:i([32,0]),UINT8C:i([32,0]),BUFFER:i([32,0])});var o="undefined"!=typeof Uint8ClampedArray,s="undefined"!=typeof BigUint64Array,l="undefined"!=typeof BigInt64Array,c=e.__TYPEDARRAY_POOL;c.UINT8C||(c.UINT8C=i([32,0])),c.BIGUINT64||(c.BIGUINT64=i([32,0])),c.BIGINT64||(c.BIGINT64=i([32,0])),c.BUFFER||(c.BUFFER=i([32,0]));var u=c.DATA,f=c.BUFFER;function h(t){if(t){var e=t.length||t.byteLength,r=n.log2(e);u[r].push(t)}}function p(t){t=n.nextPow2(t);var e=n.log2(t),r=u[e];return r.length>0?r.pop():new ArrayBuffer(t)}function d(t){return new Uint8Array(p(t),0,t)}function g(t){return new Uint16Array(p(2*t),0,t)}function m(t){return new Uint32Array(p(4*t),0,t)}function v(t){return new Int8Array(p(t),0,t)}function y(t){return new Int16Array(p(2*t),0,t)}function x(t){return new Int32Array(p(4*t),0,t)}function b(t){return new Float32Array(p(4*t),0,t)}function _(t){return new Float64Array(p(8*t),0,t)}function w(t){return o?new Uint8ClampedArray(p(t),0,t):d(t)}function T(t){return s?new BigUint64Array(p(8*t),0,t):null}function k(t){return l?new BigInt64Array(p(8*t),0,t):null}function A(t){return new DataView(p(t),0,t)}function M(t){t=n.nextPow2(t);var e=n.log2(t),r=f[e];return r.length>0?r.pop():new a(t)}r.free=function(t){if(a.isBuffer(t))f[n.log2(t.length)].push(t);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(t)&&(t=t.buffer),!t)return;var e=t.length||t.byteLength,r=0|n.log2(e);u[r].push(t)}},r.freeUint8=r.freeUint16=r.freeUint32=r.freeBigUint64=r.freeInt8=r.freeInt16=r.freeInt32=r.freeBigInt64=r.freeFloat32=r.freeFloat=r.freeFloat64=r.freeDouble=r.freeUint8Clamped=r.freeDataView=function(t){h(t.buffer)},r.freeArrayBuffer=h,r.freeBuffer=function(t){f[n.log2(t.length)].push(t)},r.malloc=function(t,e){if(void 0===e||"arraybuffer"===e)return p(t);switch(e){case"uint8":return d(t);case"uint16":return g(t);case"uint32":return m(t);case"int8":return v(t);case"int16":return y(t);case"int32":return x(t);case"float":case"float32":return b(t);case"double":case"float64":return _(t);case"uint8_clamped":return w(t);case"bigint64":return k(t);case"biguint64":return T(t);case"buffer":return M(t);case"data":case"dataview":return A(t);default:return null}return null},r.mallocArrayBuffer=p,r.mallocUint8=d,r.mallocUint16=g,r.mallocUint32=m,r.mallocInt8=v,r.mallocInt16=y,r.mallocInt32=x,r.mallocFloat32=r.mallocFloat=b,r.mallocFloat64=r.mallocDouble=_,r.mallocUint8Clamped=w,r.mallocBigUint64=T,r.mallocBigInt64=k,r.mallocDataView=A,r.mallocBuffer=M,r.clearCache=function(){for(var t=0;t<32;++t)c.UINT8[t].length=0,c.UINT16[t].length=0,c.UINT32[t].length=0,c.INT8[t].length=0,c.INT16[t].length=0,c.INT32[t].length=0,c.FLOAT[t].length=0,c.DOUBLE[t].length=0,c.BIGUINT64[t].length=0,c.BIGINT64[t].length=0,c.UINT8C[t].length=0,u[t].length=0,f[t].length=0}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"bit-twiddle":81,buffer:85,dup:128}],328:[function(t,e,r){var n=/[\'\"]/;e.exports=function(t){return t?(n.test(t.charAt(0))&&(t=t.substr(1)),n.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},{}],329:[function(t,e,r){"use strict";e.exports=function(t,e,r){Array.isArray(r)||(r=[].slice.call(arguments,2));for(var n=0,i=r.length;n<i;n++){var a=r[n];for(var o in a)if((void 0===e[o]||Array.isArray(e[o])||t[o]!==e[o])&&o in e){var s;if(!0===a[o])s=e[o];else{if(!1===a[o])continue;if("function"==typeof a[o]&&void 0===(s=a[o](e[o],t,e)))continue}t[o]=s}}return t}},{}],330:[function(t,e,r){(function(t){(function(){function r(e){try{if(!t.localStorage)return!1}catch(t){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],331:[function(t,e,r){var n=t("get-canvas-context");e.exports=function(t){return n("webgl",t)}},{"get-canvas-context":194}],332:[function(t,e,r){var n=t("../main"),i=t("object-assign"),a=n.instance();function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Chinese",jdEpoch:1721425.5,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(t,e){if("string"==typeof t){var r=t.match(l);return r?r[0]:""}var n=this._validateYear(t),i=t.month(),a=""+this.toChineseMonth(n,i);return e&&a.length<2&&(a="0"+a),this.isIntercalaryMonth(n,i)&&(a+="i"),a},monthNames:function(t){if("string"==typeof t){var e=t.match(c);return e?e[0]:""}var r=this._validateYear(t),n=t.month(),i=["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"][this.toChineseMonth(r,n)-1];return this.isIntercalaryMonth(r,n)&&(i="\u95f0"+i),i},monthNamesShort:function(t){if("string"==typeof t){var e=t.match(u);return e?e[0]:""}var r=this._validateYear(t),n=t.month(),i=["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"][this.toChineseMonth(r,n)-1];return this.isIntercalaryMonth(r,n)&&(i="\u95f0"+i),i},parseMonth:function(t,e){t=this._validateYear(t);var r,n=parseInt(e);if(isNaN(n))"\u95f0"===e[0]&&(r=!0,e=e.substring(1)),"\u6708"===e[e.length-1]&&(e=e.substring(0,e.length-1)),n=1+["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"].indexOf(e);else{var i=e[e.length-1];r="i"===i||"I"===i}return this.toMonthIndex(t,n,r)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(t,e){if(t.year&&(t=t.year()),"number"!=typeof t||t<1888||t>2111)throw e.replace(/\{0\}/,this.local.name);return t},toMonthIndex:function(t,e,r){var i=this.intercalaryMonth(t);if(r&&e!==i||e<1||e>12)throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);return i?!r&&e<=i?e-1:e:e-1},toChineseMonth:function(t,e){t.year&&(e=(t=t.year()).month());var r=this.intercalaryMonth(t);if(e<0||e>(r?12:11))throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);return r?e<r?e+1:e:e+1},intercalaryMonth:function(t){return t=this._validateYear(t),f[t-f[0]]>>13},isIntercalaryMonth:function(t,e){t.year&&(e=(t=t.year()).month());var r=this.intercalaryMonth(t);return!!r&&r===e},leapYear:function(t){return 0!==this.intercalaryMonth(t)},weekOfYear:function(t,e,r){var i,o=this._validateYear(t,n.local.invalidyear),s=h[o-h[0]],l=s>>9&4095,c=s>>5&15,u=31&s;(i=a.newDate(l,c,u)).add(4-(i.dayOfWeek()||7),"d");var f=this.toJD(t,e,r)-i.toJD();return 1+Math.floor(f/7)},monthsInYear:function(t){return this.leapYear(t)?13:12},daysInMonth:function(t,e){t.year&&(e=t.month(),t=t.year()),t=this._validateYear(t);var r=f[t-f[0]];if(e>(r>>13?12:11))throw n.local.invalidMonth.replace(/\{0\}/,this.local.name);return r&1<<12-e?30:29},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,s,r,n.local.invalidDate);t=this._validateYear(i.year()),e=i.month(),r=i.day();var o=this.isIntercalaryMonth(t,e),s=this.toChineseMonth(t,e),l=function(t,e,r,n,i){var a,o,s;if("object"==typeof t)o=t,a=e||{};else{var l;if(!("number"==typeof t&&t>=1888&&t<=2111))throw new Error("Lunar year outside range 1888-2111");if(!("number"==typeof e&&e>=1&&e<=12))throw new Error("Lunar month outside range 1 - 12");if(!("number"==typeof r&&r>=1&&r<=30))throw new Error("Lunar day outside range 1 - 30");"object"==typeof n?(l=!1,a=n):(l=!!n,a=i||{}),o={year:t,month:e,day:r,isIntercalary:l}}s=o.day-1;var c,u=f[o.year-f[0]],p=u>>13;c=p&&(o.month>p||o.isIntercalary)?o.month:o.month-1;for(var d=0;d<c;d++){s+=u&1<<12-d?30:29}var g=h[o.year-h[0]],m=new Date(g>>9&4095,(g>>5&15)-1,(31&g)+s);return a.year=m.getFullYear(),a.month=1+m.getMonth(),a.day=m.getDate(),a}(t,s,r,o);return a.toJD(l.year,l.month,l.day)},fromJD:function(t){var e=a.fromJD(t),r=function(t,e,r,n){var i,a;if("object"==typeof t)i=t,a=e||{};else{if(!("number"==typeof t&&t>=1888&&t<=2111))throw new Error("Solar year outside range 1888-2111");if(!("number"==typeof e&&e>=1&&e<=12))throw new Error("Solar month outside range 1 - 12");if(!("number"==typeof r&&r>=1&&r<=31))throw new Error("Solar day outside range 1 - 31");i={year:t,month:e,day:r},a=n||{}}var o=h[i.year-h[0]],s=i.year<<9|i.month<<5|i.day;a.year=s>=o?i.year:i.year-1,o=h[a.year-h[0]];var l,c=new Date(o>>9&4095,(o>>5&15)-1,31&o),u=new Date(i.year,i.month-1,i.day);l=Math.round((u-c)/864e5);var p,d=f[a.year-f[0]];for(p=0;p<13;p++){var g=d&1<<12-p?30:29;if(l<g)break;l-=g}var m=d>>13;!m||p<m?(a.isIntercalary=!1,a.month=1+p):p===m?(a.isIntercalary=!0,a.month=p):(a.isIntercalary=!1,a.month=p);return a.day=1+l,a}(e.year(),e.month(),e.day()),n=this.toMonthIndex(r.year,r.month,r.isIntercalary);return this.newDate(r.year,n,r.day)},fromString:function(t){var e=t.match(s),r=this._validateYear(+e[1]),n=+e[2],i=!!e[3],a=this.toMonthIndex(r,n,i),o=+e[4];return this.newDate(r,a,o)},add:function(t,e,r){var n=t.year(),i=t.month(),a=this.isIntercalaryMonth(n,i),s=this.toChineseMonth(n,i),l=Object.getPrototypeOf(o.prototype).add.call(this,t,e,r);if("y"===r){var c=l.year(),u=l.month(),f=this.isIntercalaryMonth(c,s),h=a&&f?this.toMonthIndex(c,s,!0):this.toMonthIndex(c,s,!1);h!==u&&l.month(h)}return l}});var s=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,l=/^\d?\d[iI]?/m,c=/^\u95f0?\u5341?[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]?\u6708/m,u=/^\u95f0?\u5341?[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]?/m;n.calendars.chinese=o;var f=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],h=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904]},{"../main":346,"object-assign":247}],333:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Coptic",jdEpoch:1825029.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==3||t%4==-1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear),13},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(13===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return(t=i.year())<0&&t++,i.day()+30*(i.month()-1)+365*(t-1)+Math.floor(t/4)+this.jdEpoch-1},fromJD:function(t){var e=Math.floor(t)+.5-this.jdEpoch,r=Math.floor((e-Math.floor((e+366)/1461))/365)+1;r<=0&&r--,e=Math.floor(t)+.5-this.newDate(r,1,1).toJD();var n=Math.floor(e/30)+1,i=e-30*(n-1)+1;return this.newDate(r,n,i)}}),n.calendars.coptic=a},{"../main":346,"object-assign":247}],334:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Discworld",jdEpoch:1721425.5,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),!1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),13},daysInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),400},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/8)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(t,e,r){return(this._validate(t,e,r,n.local.invalidDate).day()+1)%8},weekDay:function(t,e,r){var n=this.dayOfWeek(t,e,r);return n>=2&&n<=6},extraInfo:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return{century:o[Math.floor((i.year()-1)/100)+1]||""}},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return t=i.year()+(i.year()<0?1:0),e=i.month(),(r=i.day())+(e>1?16:0)+(e>2?32*(e-2):0)+400*(t-1)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t+.5)-Math.floor(this.jdEpoch)-1;var e=Math.floor(t/400)+1;t-=400*(e-1),t+=t>15?16:0;var r=Math.floor(t/32)+1,n=t-32*(r-1)+1;return this.newDate(e<=0?e-1:e,r,n)}});var o={20:"Fruitbat",21:"Anchovy"};n.calendars.discworld=a},{"../main":346,"object-assign":247}],335:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Ethiopian",jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==3||t%4==-1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear),13},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(13===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return(t=i.year())<0&&t++,i.day()+30*(i.month()-1)+365*(t-1)+Math.floor(t/4)+this.jdEpoch-1},fromJD:function(t){var e=Math.floor(t)+.5-this.jdEpoch,r=Math.floor((e-Math.floor((e+366)/1461))/365)+1;r<=0&&r--,e=Math.floor(t)+.5-this.newDate(r,1,1).toJD();var n=Math.floor(e/30)+1,i=e-30*(n-1)+1;return this.newDate(r,n,i)}}),n.calendars.ethiopian=a},{"../main":346,"object-assign":247}],336:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}function o(t,e){return t-e*Math.floor(t/e)}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return this._leapYear(e.year())},_leapYear:function(t){return o(7*(t=t<0?t+1:t)+1,19)<7},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),this._leapYear(t.year?t.year():t)?13:12},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(t){return t=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear).year(),this.toJD(-1===t?1:t+1,7,1)-this.toJD(t,7,1)},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,n.local.invalidMonth),12===e&&this.leapYear(t)||8===e&&5===o(this.daysInYear(t),10)?30:9===e&&3===o(this.daysInYear(t),10)?29:this.daysPerMonth[e-1]},weekDay:function(t,e,r){return 6!==this.dayOfWeek(t,e,r)},extraInfo:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return{yearType:(this.leapYear(i)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(i)%10-3]}},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);t=i.year(),e=i.month(),r=i.day();var a=t<=0?t+1:t,o=this.jdEpoch+this._delay1(a)+this._delay2(a)+r+1;if(e<7){for(var s=7;s<=this.monthsInYear(t);s++)o+=this.daysInMonth(t,s);for(s=1;s<e;s++)o+=this.daysInMonth(t,s)}else for(s=7;s<e;s++)o+=this.daysInMonth(t,s);return o},_delay1:function(t){var e=Math.floor((235*t-234)/19),r=12084+13753*e,n=29*e+Math.floor(r/25920);return o(3*(n+1),7)<3&&n++,n},_delay2:function(t){var e=this._delay1(t-1),r=this._delay1(t);return this._delay1(t+1)-r==356?2:r-e==382?1:0},fromJD:function(t){t=Math.floor(t)+.5;for(var e=Math.floor(98496*(t-this.jdEpoch)/35975351)-1;t>=this.toJD(-1===e?1:e+1,7,1);)e++;for(var r=t<this.toJD(e,1,1)?7:1;t>this.toJD(e,r,this.daysInMonth(e,r));)r++;var n=t-this.toJD(e,r,1)+1;return this.newDate(e,r,n)}}),n.calendars.hebrew=a},{"../main":346,"object-assign":247}],337:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Islamic",jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-kham\u012bs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(t){return(11*this._validate(t,this.minMonth,this.minDay,n.local.invalidYear).year()+14)%30<11},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(t){return this.leapYear(t)?355:354},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return 5!==this.dayOfWeek(t,e,r)},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return t=i.year(),e=i.month(),t=t<=0?t+1:t,(r=i.day())+Math.ceil(29.5*(e-1))+354*(t-1)+Math.floor((3+11*t)/30)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t)+.5;var e=Math.floor((30*(t-this.jdEpoch)+10646)/10631);e=e<=0?e-1:e;var r=Math.min(12,Math.ceil((t-29-this.toJD(e,1,1))/29.5)+1),n=t-this.toJD(e,r,1)+1;return this.newDate(e,r,n)}}),n.calendars.islamic=a},{"../main":346,"object-assign":247}],338:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Julian",jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return(t=e.year()<0?e.year()+1:e.year())%4==0},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(4-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return t=i.year(),e=i.month(),r=i.day(),t<0&&t++,e<=2&&(t--,e+=12),Math.floor(365.25*(t+4716))+Math.floor(30.6001*(e+1))+r-1524.5},fromJD:function(t){var e=Math.floor(t+.5)+1524,r=Math.floor((e-122.1)/365.25),n=Math.floor(365.25*r),i=Math.floor((e-n)/30.6001),a=i-Math.floor(i<14?1:13),o=r-Math.floor(a>2?4716:4715),s=e-n-Math.floor(30.6001*i);return o<=0&&o--,this.newDate(o,a,s)}}),n.calendars.julian=a},{"../main":346,"object-assign":247}],339:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}function o(t,e){return t-e*Math.floor(t/e)}function s(t,e){return o(t-1,e)+1}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),!1},formatYear:function(t){t=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear).year();var e=Math.floor(t/400);return t%=400,t+=t<0?400:0,e+"."+Math.floor(t/20)+"."+t%20},forYear:function(t){if((t=t.split(".")).length<3)throw"Invalid Mayan year";for(var e=0,r=0;r<t.length;r++){var n=parseInt(t[r],10);if(Math.abs(n)>19||r>0&&n<0)throw"Invalid Mayan year";e=20*e+n}return e},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),18},weekOfYear:function(t,e,r){return this._validate(t,e,r,n.local.invalidDate),0},daysInYear:function(t){return this._validate(t,this.minMonth,this.minDay,n.local.invalidYear),360},daysInMonth:function(t,e){return this._validate(t,e,this.minDay,n.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(t,e,r){return this._validate(t,e,r,n.local.invalidDate).day()},weekDay:function(t,e,r){return this._validate(t,e,r,n.local.invalidDate),!0},extraInfo:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate).toJD(),a=this._toHaab(i),o=this._toTzolkin(i);return{haabMonthName:this.local.haabMonths[a[0]-1],haabMonth:a[0],haabDay:a[1],tzolkinDayName:this.local.tzolkinMonths[o[0]-1],tzolkinDay:o[0],tzolkinTrecena:o[1]}},_toHaab:function(t){var e=o((t-=this.jdEpoch)+8+340,365);return[Math.floor(e/20)+1,o(e,20)]},_toTzolkin:function(t){return[s((t-=this.jdEpoch)+20,20),s(t+4,13)]},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);return i.day()+20*i.month()+360*i.year()+this.jdEpoch},fromJD:function(t){t=Math.floor(t)+.5-this.jdEpoch;var e=Math.floor(t/360);t%=360,t+=t<0?360:0;var r=Math.floor(t/20),n=t%20;return this.newDate(e,r,n)}}),n.calendars.mayan=a},{"../main":346,"object-assign":247}],340:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar;var o=n.instance("gregorian");i(a.prototype,{name:"Nanakshahi",jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear||n.regionalOptions[""].invalidYear);return o.leapYear(e.year()+(e.year()<1?1:0)+1469)},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(1-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidMonth);(t=i.year())<0&&t++;for(var a=i.day(),s=1;s<i.month();s++)a+=this.daysPerMonth[s-1];return a+o.toJD(t+1468,3,13)},fromJD:function(t){t=Math.floor(t+.5);for(var e=Math.floor((t-(this.jdEpoch-1))/366);t>=this.toJD(e+1,1,1);)e++;for(var r=t-Math.floor(this.toJD(e,1,1)+.5)+1,n=1;r>this.daysInMonth(e,n);)r-=this.daysInMonth(e,n),n++;return this.newDate(e,n,r)}}),n.calendars.nanakshahi=a},{"../main":346,"object-assign":247}],341:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Nepali",jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(t){return this.daysInYear(t)!==this.daysPerYear},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(t){if(t=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear).year(),void 0===this.NEPALI_CALENDAR_DATA[t])return this.daysPerYear;for(var e=0,r=this.minMonth;r<=12;r++)e+=this.NEPALI_CALENDAR_DATA[t][r];return e},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,n.local.invalidMonth),void 0===this.NEPALI_CALENDAR_DATA[t]?this.daysPerMonth[e-1]:this.NEPALI_CALENDAR_DATA[t][e]},weekDay:function(t,e,r){return 6!==this.dayOfWeek(t,e,r)},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);t=i.year(),e=i.month(),r=i.day();var a=n.instance(),o=0,s=e,l=t;this._createMissingCalendarData(t);var c=t-(s>9||9===s&&r>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);for(9!==e&&(o=r,s--);9!==s;)s<=0&&(s=12,l--),o+=this.NEPALI_CALENDAR_DATA[l][s],s--;return 9===e?(o+=r-this.NEPALI_CALENDAR_DATA[l][0])<0&&(o+=a.daysInYear(c)):o+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],a.newDate(c,1,1).add(o,"d").toJD()},fromJD:function(t){var e=n.instance().fromJD(t),r=e.year(),i=e.dayOfYear(),a=r+56;this._createMissingCalendarData(a);for(var o=9,s=this.NEPALI_CALENDAR_DATA[a][0],l=this.NEPALI_CALENDAR_DATA[a][o]-s+1;i>l;)++o>12&&(o=1,a++),l+=this.NEPALI_CALENDAR_DATA[a][o];var c=this.NEPALI_CALENDAR_DATA[a][o]-(l-i);return this.newDate(a,o,c)},_createMissingCalendarData:function(t){var e=this.daysPerMonth.slice(0);e.unshift(17);for(var r=t-1;r<t+2;r++)void 0===this.NEPALI_CALENDAR_DATA[r]&&(this.NEPALI_CALENDAR_DATA[r]=e)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),n.calendars.nepali=a},{"../main":346,"object-assign":247}],342:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}function o(t,e){return t-e*Math.floor(t/e)}a.prototype=new n.baseCalendar,i(a.prototype,{name:"Persian",jdEpoch:1948320.5,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Ch\xe6harshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Ch\xe6","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return 682*((e.year()-(e.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-(n.dayOfWeek()+1)%7,"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(12===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return 5!==this.dayOfWeek(t,e,r)},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);t=i.year(),e=i.month(),r=i.day();var a=t-(t>=0?474:473),s=474+o(a,2820);return r+(e<=7?31*(e-1):30*(e-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(a/2820)+this.jdEpoch-1},fromJD:function(t){var e=(t=Math.floor(t)+.5)-this.toJD(475,1,1),r=Math.floor(e/1029983),n=o(e,1029983),i=2820;if(1029982!==n){var a=Math.floor(n/366),s=o(n,366);i=Math.floor((2134*a+2816*s+2815)/1028522)+a+1}var l=i+2820*r+474;l=l<=0?l-1:l;var c=t-this.toJD(l,1,1)+1,u=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),f=t-this.toJD(l,u,1)+1;return this.newDate(l,u,f)}}),n.calendars.persian=a,n.calendars.jalali=a},{"../main":346,"object-assign":247}],343:[function(t,e,r){var n=t("../main"),i=t("object-assign"),a=n.instance();function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Taiwan",jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);t=this._t2gYear(e.year());return a.leapYear(t)},weekOfYear:function(t,e,r){var i=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);t=this._t2gYear(i.year());return a.weekOfYear(t,i.month(),i.day())},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);t=this._t2gYear(i.year());return a.toJD(t,i.month(),i.day())},fromJD:function(t){var e=a.fromJD(t),r=this._g2tYear(e.year());return this.newDate(r,e.month(),e.day())},_t2gYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)},_g2tYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)}}),n.calendars.taiwan=o},{"../main":346,"object-assign":247}],344:[function(t,e,r){var n=t("../main"),i=t("object-assign"),a=n.instance();function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new n.baseCalendar,i(o.prototype,{name:"Thai",jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);t=this._t2gYear(e.year());return a.leapYear(t)},weekOfYear:function(t,e,r){var i=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);t=this._t2gYear(i.year());return a.weekOfYear(t,i.month(),i.day())},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,n.local.invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate);t=this._t2gYear(i.year());return a.toJD(t,i.month(),i.day())},fromJD:function(t){var e=a.fromJD(t),r=this._g2tYear(e.year());return this.newDate(r,e.month(),e.day())},_t2gYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)},_g2tYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)}}),n.calendars.thai=o},{"../main":346,"object-assign":247}],345:[function(t,e,r){var n=t("../main"),i=t("object-assign");function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new n.baseCalendar,i(a.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thal\u0101th\u0101\u2019","Yawm al-Arba\u2018\u0101\u2019","Yawm al-Kham\u012bs","Yawm al-Jum\u2018a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,n.local.invalidYear);return 355===this.daysInYear(e.year())},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(-n.dayOfWeek(),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInYear:function(t){for(var e=0,r=1;r<=12;r++)e+=this.daysInMonth(t,r);return e},daysInMonth:function(t,e){for(var r=this._validate(t,e,this.minDay,n.local.invalidMonth).toJD()-24e5+.5,i=0,a=0;a<o.length;a++){if(o[a]>r)return o[i]-o[i-1];i++}return 30},weekDay:function(t,e,r){return 5!==this.dayOfWeek(t,e,r)},toJD:function(t,e,r){var i=this._validate(t,e,r,n.local.invalidDate),a=12*(i.year()-1)+i.month()-15292;return i.day()+o[a-1]-1+24e5-.5},fromJD:function(t){for(var e=t-24e5+.5,r=0,n=0;n<o.length&&!(o[n]>e);n++)r++;var i=r+15292,a=Math.floor((i-1)/12),s=a+1,l=i-12*a,c=e-o[r-1]+1;return this.newDate(s,l,c)},isValid:function(t,e,r){var i=n.baseCalendar.prototype.isValid.apply(this,arguments);return i&&(i=(t=null!=t.year?t.year:t)>=1276&&t<=1500),i},_validate:function(t,e,r,i){var a=n.baseCalendar.prototype._validate.apply(this,arguments);if(a.year<1276||a.year>1500)throw i.replace(/\{0\}/,this.local.name);return a}}),n.calendars.ummalqura=a;var o=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},{"../main":346,"object-assign":247}],346:[function(t,e,r){var n=t("object-assign");function i(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function a(t,e,r,n){if(this._calendar=t,this._year=e,this._month=r,this._day=n,0===this._calendar._validateLevel&&!this._calendar.isValid(this._year,this._month,this._day))throw(c.local.invalidDate||c.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function o(t,e){return"000000".substring(0,e-(t=""+t).length)+t}function s(){this.shortYearCutoff="+10"}function l(t){this.local=this.regionalOptions[t]||this.regionalOptions[""]}n(i.prototype,{instance:function(t,e){t=(t||"gregorian").toLowerCase(),e=e||"";var r=this._localCals[t+"-"+e];if(!r&&this.calendars[t]&&(r=new this.calendars[t](e),this._localCals[t+"-"+e]=r),!r)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,t);return r},newDate:function(t,e,r,n,i){return(n=(null!=t&&t.year?t.calendar():"string"==typeof n?this.instance(n,i):n)||this.instance()).newDate(t,e,r)},substituteDigits:function(t){return function(e){return(e+"").replace(/[0-9]/g,(function(e){return t[e]}))}},substituteChineseDigits:function(t,e){return function(r){for(var n="",i=0;r>0;){var a=r%10;n=(0===a?"":t[a]+e[i])+n,i++,r=Math.floor(r/10)}return 0===n.indexOf(t[1]+e[1])&&(n=n.substr(1)),n||t[0]}}}),n(a.prototype,{newDate:function(t,e,r){return this._calendar.newDate(null==t?this:t,e,r)},year:function(t){return 0===arguments.length?this._year:this.set(t,"y")},month:function(t){return 0===arguments.length?this._month:this.set(t,"m")},day:function(t){return 0===arguments.length?this._day:this.set(t,"d")},date:function(t,e,r){if(!this._calendar.isValid(t,e,r))throw(c.local.invalidDate||c.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=t,this._month=e,this._day=r,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(t,e){return this._calendar.add(this,t,e)},set:function(t,e){return this._calendar.set(this,t,e)},compareTo:function(t){if(this._calendar.name!==t._calendar.name)throw(c.local.differentCalendars||c.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,t._calendar.local.name);var e=this._year!==t._year?this._year-t._year:this._month!==t._month?this.monthOfYear()-t.monthOfYear():this._day-t._day;return 0===e?0:e<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(t){return this._calendar.fromJD(t)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(t){return this._calendar.fromJSDate(t)},toString:function(){return(this.year()<0?"-":"")+o(Math.abs(this.year()),4)+"-"+o(this.month(),2)+"-"+o(this.day(),2)}}),n(s.prototype,{_validateLevel:0,newDate:function(t,e,r){return null==t?this.today():(t.year&&(this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate),r=t.day(),e=t.month(),t=t.year()),new a(this,t,e,r))},today:function(){return this.fromJSDate(new Date)},epoch:function(t){return this._validate(t,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear);return(e.year()<0?"-":"")+o(Math.abs(e.year()),4)},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear),12},monthOfYear:function(t,e){var r=this._validate(t,e,this.minDay,c.local.invalidMonth||c.regionalOptions[""].invalidMonth);return(r.month()+this.monthsInYear(r)-this.firstMonth)%this.monthsInYear(r)+this.minMonth},fromMonthOfYear:function(t,e){var r=(e+this.firstMonth-2*this.minMonth)%this.monthsInYear(t)+this.minMonth;return this._validate(t,r,this.minDay,c.local.invalidMonth||c.regionalOptions[""].invalidMonth),r},daysInYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear);return this.leapYear(e)?366:365},dayOfYear:function(t,e,r){var n=this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate);return n.toJD()-this.newDate(n.year(),this.fromMonthOfYear(n.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(t,e,r){var n=this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(n))+2)%this.daysInWeek()},extraInfo:function(t,e,r){return this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate),{}},add:function(t,e,r){return this._validate(t,this.minMonth,this.minDay,c.local.invalidDate||c.regionalOptions[""].invalidDate),this._correctAdd(t,this._add(t,e,r),e,r)},_add:function(t,e,r){if(this._validateLevel++,"d"===r||"w"===r){var n=t.toJD()+e*("w"===r?this.daysInWeek():1),i=t.calendar().fromJD(n);return this._validateLevel--,[i.year(),i.month(),i.day()]}try{var a=t.year()+("y"===r?e:0),o=t.monthOfYear()+("m"===r?e:0);i=t.day();"y"===r?(t.month()!==this.fromMonthOfYear(a,o)&&(o=this.newDate(a,t.month(),this.minDay).monthOfYear()),o=Math.min(o,this.monthsInYear(a)),i=Math.min(i,this.daysInMonth(a,this.fromMonthOfYear(a,o)))):"m"===r&&(!function(t){for(;o<t.minMonth;)a--,o+=t.monthsInYear(a);for(var e=t.monthsInYear(a);o>e-1+t.minMonth;)a++,o-=e,e=t.monthsInYear(a)}(this),i=Math.min(i,this.daysInMonth(a,this.fromMonthOfYear(a,o))));var s=[a,this.fromMonthOfYear(a,o),i];return this._validateLevel--,s}catch(t){throw this._validateLevel--,t}},_correctAdd:function(t,e,r,n){if(!(this.hasYearZero||"y"!==n&&"m"!==n||0!==e[0]&&t.year()>0==e[0]>0)){var i={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[n],a=r<0?-1:1;e=this._add(t,r*i[0]+a*i[1],i[2])}return t.date(e[0],e[1],e[2])},set:function(t,e,r){this._validate(t,this.minMonth,this.minDay,c.local.invalidDate||c.regionalOptions[""].invalidDate);var n="y"===r?e:t.year(),i="m"===r?e:t.month(),a="d"===r?e:t.day();return"y"!==r&&"m"!==r||(a=Math.min(a,this.daysInMonth(n,i))),t.date(n,i,a)},isValid:function(t,e,r){this._validateLevel++;var n=this.hasYearZero||0!==t;if(n){var i=this.newDate(t,e,this.minDay);n=e>=this.minMonth&&e-this.minMonth<this.monthsInYear(i)&&r>=this.minDay&&r-this.minDay<this.daysInMonth(i)}return this._validateLevel--,n},toJSDate:function(t,e,r){var n=this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate);return c.instance().fromJD(this.toJD(n)).toJSDate()},fromJSDate:function(t){return this.fromJD(c.instance().fromJSDate(t).toJD())},_validate:function(t,e,r,n){if(t.year){if(0===this._validateLevel&&this.name!==t.calendar().name)throw(c.local.differentCalendars||c.regionalOptions[""].differentCalendars).replace(/\{0\}/,this.local.name).replace(/\{1\}/,t.calendar().local.name);return t}try{if(this._validateLevel++,1===this._validateLevel&&!this.isValid(t,e,r))throw n.replace(/\{0\}/,this.local.name);var i=this.newDate(t,e,r);return this._validateLevel--,i}catch(t){throw this._validateLevel--,t}}}),l.prototype=new s,n(l.prototype,{name:"Gregorian",jdEpoch:1721425.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Gregorian",epochs:["BCE","CE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==0&&(t%100!=0||t%400==0)},weekOfYear:function(t,e,r){var n=this.newDate(t,e,r);return n.add(4-(n.dayOfWeek()||7),"d"),Math.floor((n.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var r=this._validate(t,e,this.minDay,c.local.invalidMonth||c.regionalOptions[""].invalidMonth);return this.daysPerMonth[r.month()-1]+(2===r.month()&&this.leapYear(r.year())?1:0)},weekDay:function(t,e,r){return(this.dayOfWeek(t,e,r)||7)<6},toJD:function(t,e,r){var n=this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate);t=n.year(),e=n.month(),r=n.day(),t<0&&t++,e<3&&(e+=12,t--);var i=Math.floor(t/100),a=2-i+Math.floor(i/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(e+1))+r+a-1524.5},fromJD:function(t){var e=Math.floor(t+.5),r=Math.floor((e-1867216.25)/36524.25),n=(r=e+1+r-Math.floor(r/4))+1524,i=Math.floor((n-122.1)/365.25),a=Math.floor(365.25*i),o=Math.floor((n-a)/30.6001),s=n-a-Math.floor(30.6001*o),l=o-(o>13.5?13:1),c=i-(l>2.5?4716:4715);return c<=0&&c--,this.newDate(c,l,s)},toJSDate:function(t,e,r){var n=this._validate(t,e,r,c.local.invalidDate||c.regionalOptions[""].invalidDate),i=new Date(n.year(),n.month()-1,n.day());return i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0),i.setHours(i.getHours()>12?i.getHours()+2:0),i},fromJSDate:function(t){return this.newDate(t.getFullYear(),t.getMonth()+1,t.getDate())}});var c=e.exports=new i;c.cdate=a,c.baseCalendar=s,c.calendars.gregorian=l},{"object-assign":247}],347:[function(t,e,r){var n=t("object-assign"),i=t("./main");n(i.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),i.local=i.regionalOptions[""],n(i.cdate.prototype,{formatDate:function(t,e){return"string"!=typeof t&&(e=t,t=""),this._calendar.formatDate(t||"",this,e)}}),n(i.baseCalendar.prototype,{UNIX_EPOCH:i.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:i.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(t,e,r){if("string"!=typeof t&&(r=e,e=t,t=""),!e)return"";if(e.calendar()!==this)throw i.local.invalidFormat||i.regionalOptions[""].invalidFormat;t=t||this.local.dateFormat;for(var n,a,o,s,l=(r=r||{}).dayNamesShort||this.local.dayNamesShort,c=r.dayNames||this.local.dayNames,u=r.monthNumbers||this.local.monthNumbers,f=r.monthNamesShort||this.local.monthNamesShort,h=r.monthNames||this.local.monthNames,p=(r.calculateWeek||this.local.calculateWeek,function(e,r){for(var n=1;w+n<t.length&&t.charAt(w+n)===e;)n++;return w+=n-1,Math.floor(n/(r||1))>1}),d=function(t,e,r,n){var i=""+e;if(p(t,n))for(;i.length<r;)i="0"+i;return i},g=this,m=function(t){return"function"==typeof u?u.call(g,t,p("m")):x(d("m",t.month(),2))},v=function(t,e){return e?"function"==typeof h?h.call(g,t):h[t.month()-g.minMonth]:"function"==typeof f?f.call(g,t):f[t.month()-g.minMonth]},y=this.local.digits,x=function(t){return r.localNumbers&&y?y(t):t},b="",_=!1,w=0;w<t.length;w++)if(_)"'"!==t.charAt(w)||p("'")?b+=t.charAt(w):_=!1;else switch(t.charAt(w)){case"d":b+=x(d("d",e.day(),2));break;case"D":b+=(n="D",a=e.dayOfWeek(),o=l,s=c,p(n)?s[a]:o[a]);break;case"o":b+=d("o",e.dayOfYear(),3);break;case"w":b+=d("w",e.weekOfYear(),2);break;case"m":b+=m(e);break;case"M":b+=v(e,p("M"));break;case"y":b+=p("y",2)?e.year():(e.year()%100<10?"0":"")+e.year()%100;break;case"Y":p("Y",2),b+=e.formatYear();break;case"J":b+=e.toJD();break;case"@":b+=(e.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case"!":b+=(e.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case"'":p("'")?b+="'":_=!0;break;default:b+=t.charAt(w)}return b},parseDate:function(t,e,r){if(null==e)throw i.local.invalidArguments||i.regionalOptions[""].invalidArguments;if(""===(e="object"==typeof e?e.toString():e+""))return null;t=t||this.local.dateFormat;var n=(r=r||{}).shortYearCutoff||this.shortYearCutoff;n="string"!=typeof n?n:this.today().year()%100+parseInt(n,10);for(var a=r.dayNamesShort||this.local.dayNamesShort,o=r.dayNames||this.local.dayNames,s=r.parseMonth||this.local.parseMonth,l=r.monthNumbers||this.local.monthNumbers,c=r.monthNamesShort||this.local.monthNamesShort,u=r.monthNames||this.local.monthNames,f=-1,h=-1,p=-1,d=-1,g=-1,m=!1,v=!1,y=function(e,r){for(var n=1;M+n<t.length&&t.charAt(M+n)===e;)n++;return M+=n-1,Math.floor(n/(r||1))>1},x=function(t,r){var n=y(t,r),a=[2,3,n?4:2,n?4:2,10,11,20]["oyYJ@!".indexOf(t)+1],o=new RegExp("^-?\\d{1,"+a+"}"),s=e.substring(A).match(o);if(!s)throw(i.local.missingNumberAt||i.regionalOptions[""].missingNumberAt).replace(/\{0\}/,A);return A+=s[0].length,parseInt(s[0],10)},b=this,_=function(){if("function"==typeof l){y("m");var t=l.call(b,e.substring(A));return A+=t.length,t}return x("m")},w=function(t,r,n,a){for(var o=y(t,a)?n:r,s=0;s<o.length;s++)if(e.substr(A,o[s].length).toLowerCase()===o[s].toLowerCase())return A+=o[s].length,s+b.minMonth;throw(i.local.unknownNameAt||i.regionalOptions[""].unknownNameAt).replace(/\{0\}/,A)},T=function(){if("function"==typeof u){var t=y("M")?u.call(b,e.substring(A)):c.call(b,e.substring(A));return A+=t.length,t}return w("M",c,u)},k=function(){if(e.charAt(A)!==t.charAt(M))throw(i.local.unexpectedLiteralAt||i.regionalOptions[""].unexpectedLiteralAt).replace(/\{0\}/,A);A++},A=0,M=0;M<t.length;M++)if(v)"'"!==t.charAt(M)||y("'")?k():v=!1;else switch(t.charAt(M)){case"d":d=x("d");break;case"D":w("D",a,o);break;case"o":g=x("o");break;case"w":x("w");break;case"m":p=_();break;case"M":p=T();break;case"y":var S=M;m=!y("y",2),M=S,h=x("y",2);break;case"Y":h=x("Y",2);break;case"J":f=x("J")+.5,"."===e.charAt(A)&&(A++,x("J"));break;case"@":f=x("@")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case"!":f=x("!")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case"*":A=e.length;break;case"'":y("'")?k():v=!0;break;default:k()}if(A<e.length)throw i.local.unexpectedText||i.regionalOptions[""].unexpectedText;if(-1===h?h=this.today().year():h<100&&m&&(h+=-1===n?1900:this.today().year()-this.today().year()%100-(h<=n?0:100)),"string"==typeof p&&(p=s.call(this,h,p)),g>-1){p=1,d=g;for(var E=this.daysInMonth(h,p);d>E;E=this.daysInMonth(h,p))p++,d-=E}return f>-1?this.fromJD(f):this.newDate(h,p,d)},determineDate:function(t,e,r,n,i){r&&"object"!=typeof r&&(i=n,n=r,r=null),"string"!=typeof n&&(i=n,n="");var a=this;return e=e?e.newDate():null,t=null==t?e:"string"==typeof t?function(t){try{return a.parseDate(n,t,i)}catch(t){}for(var e=((t=t.toLowerCase()).match(/^c/)&&r?r.newDate():null)||a.today(),o=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,s=o.exec(t);s;)e.add(parseInt(s[1],10),s[2]||"d"),s=o.exec(t);return e}(t):"number"==typeof t?isNaN(t)||t===1/0||t===-1/0?e:a.today().add(t,"d"):a.newDate(t)}})},{"./main":346,"object-assign":247}],348:[function(t,e,r){"use strict";e.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},{}],349:[function(t,e,r){"use strict";var n=t("./arrow_paths"),i=t("../../plots/font_attributes"),a=t("../../plots/cartesian/constants"),o=t("../../plot_api/plot_template").templatedArray;t("../../constants/axis_placeable_objects");e.exports=o("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:i({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:n.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:n.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:i({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},{"../../constants/axis_placeable_objects":472,"../../plot_api/plot_template":543,"../../plots/cartesian/constants":561,"../../plots/font_attributes":585,"./arrow_paths":348}],350:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("./draw").draw;function o(t){var e=t._fullLayout;n.filterVisible(e.annotations).forEach((function(e){var r=i.getFromId(t,e.xref),n=i.getFromId(t,e.yref),a=i.getRefType(e.xref),o=i.getRefType(e.yref);e._extremes={},"range"===a&&s(e,r),"range"===o&&s(e,n)}))}function s(t,e){var r,n=e._id,a=n.charAt(0),o=t[a],s=t["a"+a],l=t[a+"ref"],c=t["a"+a+"ref"],u=t["_"+a+"padplus"],f=t["_"+a+"padminus"],h={x:1,y:-1}[a]*t[a+"shift"],p=3*t.arrowsize*t.arrowwidth||0,d=p+h,g=p-h,m=3*t.startarrowsize*t.arrowwidth||0,v=m+h,y=m-h;if(c===l){var x=i.findExtremes(e,[e.r2c(o)],{ppadplus:d,ppadminus:g}),b=i.findExtremes(e,[e.r2c(s)],{ppadplus:Math.max(u,v),ppadminus:Math.max(f,y)});r={min:[x.min[0],b.min[0]],max:[x.max[0],b.max[0]]}}else v=s?v+s:v,y=s?y-s:y,r=i.findExtremes(e,[e.r2c(o)],{ppadplus:Math.max(u,d,v),ppadminus:Math.max(f,g,y)});t._extremes[n]=r}e.exports=function(t){var e=t._fullLayout;if(n.filterVisible(e.annotations).length&&t._fullData.length)return n.syncOrAsync([a,o],t)}},{"../../lib":503,"../../plots/cartesian/axes":554,"./draw":355}],351:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=t("../../plot_api/plot_template").arrayEditor;function o(t,e){var r,n,i,a,o,l,c,u=t._fullLayout.annotations,f=[],h=[],p=[],d=(e||[]).length;for(r=0;r<u.length;r++)if(a=(i=u[r]).clicktoshow){for(n=0;n<d;n++)if(l=(o=e[n]).xaxis,c=o.yaxis,l._id===i.xref&&c._id===i.yref&&l.d2r(o.x)===s(i._xclick,l)&&c.d2r(o.y)===s(i._yclick,c)){(i.visible?"onout"===a?h:p:f).push(r);break}n===d&&i.visible&&"onout"===a&&h.push(r)}return{on:f,off:h,explicitOff:p}}function s(t,e){return"log"===e.type?e.l2r(t):e.d2r(t)}e.exports={hasClickToShow:function(t,e){var r=o(t,e);return r.on.length>0||r.explicitOff.length>0},onClick:function(t,e){var r,s,l=o(t,e),c=l.on,u=l.off.concat(l.explicitOff),f={},h=t._fullLayout.annotations;if(!c.length&&!u.length)return;for(r=0;r<c.length;r++)(s=a(t.layout,"annotations",h[c[r]])).modifyItem("visible",!0),n.extendFlat(f,s.getUpdateObj());for(r=0;r<u.length;r++)(s=a(t.layout,"annotations",h[u[r]])).modifyItem("visible",!1),n.extendFlat(f,s.getUpdateObj());return i.call("update",t,{},f)}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../registry":638}],352:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../color");e.exports=function(t,e,r,a){a("opacity");var o=a("bgcolor"),s=a("bordercolor"),l=i.opacity(s);a("borderpad");var c=a("borderwidth"),u=a("showarrow");if(a("text",u?" ":r._dfltTitle.annotation),a("textangle"),n.coerceFont(a,"font",r.font),a("width"),a("align"),a("height")&&a("valign"),u){var f,h,p=a("arrowside");-1!==p.indexOf("end")&&(f=a("arrowhead"),h=a("arrowsize")),-1!==p.indexOf("start")&&(a("startarrowhead",f),a("startarrowsize",h)),a("arrowcolor",l?e.bordercolor:i.defaultLine),a("arrowwidth",2*(l&&c||1)),a("standoff"),a("startstandoff")}var d=a("hovertext"),g=r.hoverlabel||{};if(d){var m=a("hoverlabel.bgcolor",g.bgcolor||(i.opacity(o)?i.rgb(o):i.defaultLine)),v=a("hoverlabel.bordercolor",g.bordercolor||i.contrast(m));n.coerceFont(a,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||v})}a("captureevents",!!d)}},{"../../lib":503,"../color":366}],353:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib/to_log_range");e.exports=function(t,e,r,a){e=e||{};var o="log"===r&&"linear"===e.type,s="linear"===r&&"log"===e.type;if(o||s)for(var l,c,u=t._fullLayout.annotations,f=e._id.charAt(0),h=0;h<u.length;h++)l=u[h],c="annotations["+h+"].",l[f+"ref"]===e._id&&p(f),l["a"+f+"ref"]===e._id&&p("a"+f);function p(t){var r=l[t],s=null;s=o?i(r,e.range):Math.pow(10,r),n(s)||(s=null),a(c+t,s)}}},{"../../lib/to_log_range":531,"fast-isnumeric":190}],354:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../../plots/array_container_defaults"),o=t("./common_defaults"),s=t("./attributes");function l(t,e,r){function a(r,i){return n.coerce(t,e,s,r,i)}var l=a("visible"),c=a("clicktoshow");if(l||c){o(t,e,r,a);for(var u=e.showarrow,f=["x","y"],h=[-10,-30],p={_fullLayout:r},d=0;d<2;d++){var g=f[d],m=i.coerceRef(t,e,p,g,"","paper");if("paper"!==m)i.getFromId(p,m)._annIndices.push(e._index);if(i.coercePosition(e,p,a,m,g,.5),u){var v="a"+g,y=i.coerceRef(t,e,p,v,"pixel",["pixel","paper"]);"pixel"!==y&&y!==m&&(y=e[v]="pixel");var x="pixel"===y?h[d]:.4;i.coercePosition(e,p,a,y,v,x)}a(g+"anchor"),a(g+"shift")}if(n.noneOrAll(t,e,["x","y"]),u&&n.noneOrAll(t,e,["ax","ay"]),c){var b=a("xclick"),_=a("yclick");e._xclick=void 0===b?e.x:i.cleanPosition(b,p,e.xref),e._yclick=void 0===_?e.y:i.cleanPosition(_,p,e.yref)}}}e.exports=function(t,e){a(t,e,{name:"annotations",handleItemDefaults:l})}},{"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"./attributes":349,"./common_defaults":352}],355:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../plots/plots"),o=t("../../lib"),s=o.strTranslate,l=t("../../plots/cartesian/axes"),c=t("../color"),u=t("../drawing"),f=t("../fx"),h=t("../../lib/svg_text_utils"),p=t("../../lib/setcursor"),d=t("../dragelement"),g=t("../../plot_api/plot_template").arrayEditor,m=t("./draw_arrow_head");function v(t,e){var r=t._fullLayout.annotations[e]||{},n=l.getFromId(t,r.xref),i=l.getFromId(t,r.yref);n&&n.setScale(),i&&i.setScale(),x(t,r,e,!1,n,i)}function y(t,e,r,n,i){var a=i[r],o=i[r+"ref"],s=-1!==r.indexOf("y"),c="domain"===l.getRefType(o),u=s?n.h:n.w;return t?c?a+(s?-e:e)/t._length:t.p2r(t.r2p(a)+e):a+(s?-e:e)/u}function x(t,e,r,a,v,x){var b,_,w=t._fullLayout,T=t._fullLayout._size,k=t._context.edits;a?(b="annotation-"+a,_=a+".annotations"):(b="annotation",_="annotations");var A=g(t.layout,_,e),M=A.modifyBase,S=A.modifyItem,E=A.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+r+'"]').remove();var L="clip"+w._uid+"_ann"+r;if(e._input&&!1!==e.visible){var C={x:{},y:{}},P=+e.textangle||0,I=w._infolayer.append("g").classed(b,!0).attr("data-index",String(r)).style("opacity",e.opacity),O=I.append("g").classed("annotation-text-g",!0),z=k[e.showarrow?"annotationTail":"annotationPosition"],D=e.captureevents||k.annotationText||z,R=O.append("g").style("pointer-events",D?"all":null).call(p,"pointer").on("click",(function(){t._dragging=!1,t.emit("plotly_clickannotation",Y(n.event))}));e.hovertext&&R.on("mouseover",(function(){var r=e.hoverlabel,n=r.font,i=this.getBoundingClientRect(),a=t.getBoundingClientRect();f.loneHover({x0:i.left-a.left,x1:i.right-a.left,y:(i.top+i.bottom)/2-a.top,text:e.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:t})})).on("mouseout",(function(){f.loneUnhover(w._hoverlayer.node())}));var F=e.borderwidth,B=e.borderpad,N=F+B,j=R.append("rect").attr("class","bg").style("stroke-width",F+"px").call(c.stroke,e.bordercolor).call(c.fill,e.bgcolor),U=e.width||e.height,V=w._topclips.selectAll("#"+L).data(U?[0]:[]);V.enter().append("clipPath").classed("annclip",!0).attr("id",L).append("rect"),V.exit().remove();var H=e.font,q=w._meta?o.templateString(e.text,w._meta):e.text,G=R.append("text").classed("annotation-text",!0).text(q);k.annotationText?G.call(h.makeEditable,{delegate:R,gd:t}).call(W).on("edit",(function(r){e.text=r,this.call(W),S("text",r),v&&v.autorange&&M(v._name+".autorange",!0),x&&x.autorange&&M(x._name+".autorange",!0),i.call("_guiRelayout",t,E())})):G.call(W)}else n.selectAll("#"+L).remove();function Y(t){var n={index:r,annotation:e._input,fullAnnotation:e,event:t};return a&&(n.subplotId=a),n}function W(r){return r.call(u.font,H).attr({"text-anchor":{left:"start",right:"end"}[e.align]||"middle"}),h.convertToTspans(r,t,X),r}function X(){var r=G.selectAll("a");1===r.size()&&r.text()===G.text()&&R.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(j.node());var n=R.select(".annotation-text-math-group"),f=!n.empty(),g=u.bBox((f?n:G).node()),b=g.width,_=g.height,A=e.width||b,D=e.height||_,B=Math.round(A+2*N),H=Math.round(D+2*N);function q(t,e){return"auto"===e&&(e=t<1/3?"left":t>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[e]}for(var W=!1,X=["x","y"],Z=0;Z<X.length;Z++){var J,K,Q,$,tt,et=X[Z],rt=e[et+"ref"]||et,nt=e["a"+et+"ref"],it={x:v,y:x}[et],at=(P+("x"===et?0:-90))*Math.PI/180,ot=B*Math.cos(at),st=H*Math.sin(at),lt=Math.abs(ot)+Math.abs(st),ct=e[et+"anchor"],ut=e[et+"shift"]*("x"===et?1:-1),ft=C[et],ht=l.getRefType(rt);if(it&&"domain"!==ht){var pt=it.r2fraction(e[et]);(pt<0||pt>1)&&(nt===rt?((pt=it.r2fraction(e["a"+et]))<0||pt>1)&&(W=!0):W=!0),J=it._offset+it.r2p(e[et]),$=.5}else{var dt="domain"===ht;"x"===et?(Q=e[et],J=dt?it._offset+it._length*Q:J=T.l+T.w*Q):(Q=1-e[et],J=dt?it._offset+it._length*Q:J=T.t+T.h*Q),$=e.showarrow?.5:Q}if(e.showarrow){ft.head=J;var gt=e["a"+et];if(tt=ot*q(.5,e.xanchor)-st*q(.5,e.yanchor),nt===rt){var mt=l.getRefType(nt);"domain"===mt?("y"===et&&(gt=1-gt),ft.tail=it._offset+it._length*gt):"paper"===mt?"y"===et?(gt=1-gt,ft.tail=T.t+T.h*gt):ft.tail=T.l+T.w*gt:ft.tail=it._offset+it.r2p(gt),K=tt}else ft.tail=J+gt,K=tt+gt;ft.text=ft.tail+tt;var vt=w["x"===et?"width":"height"];if("paper"===rt&&(ft.head=o.constrain(ft.head,1,vt-1)),"pixel"===nt){var yt=-Math.max(ft.tail-3,ft.text),xt=Math.min(ft.tail+3,ft.text)-vt;yt>0?(ft.tail+=yt,ft.text+=yt):xt>0&&(ft.tail-=xt,ft.text-=xt)}ft.tail+=ut,ft.head+=ut}else K=tt=lt*q($,ct),ft.text=J+tt;ft.text+=ut,tt+=ut,K+=ut,e["_"+et+"padplus"]=lt/2+K,e["_"+et+"padminus"]=lt/2-K,e["_"+et+"size"]=lt,e["_"+et+"shift"]=tt}if(W)R.remove();else{var bt=0,_t=0;if("left"!==e.align&&(bt=(A-b)*("center"===e.align?.5:1)),"top"!==e.valign&&(_t=(D-_)*("middle"===e.valign?.5:1)),f)n.select("svg").attr({x:N+bt-1,y:N+_t}).call(u.setClipUrl,U?L:null,t);else{var wt=N+_t-g.top,Tt=N+bt-g.left;G.call(h.positionText,Tt,wt).call(u.setClipUrl,U?L:null,t)}V.select("rect").call(u.setRect,N,N,A,D),j.call(u.setRect,F/2,F/2,B-F,H-F),R.call(u.setTranslate,Math.round(C.x.text-B/2),Math.round(C.y.text-H/2)),O.attr({transform:"rotate("+P+","+C.x.text+","+C.y.text+")"});var kt,At=function(r,n){I.selectAll(".annotation-arrow-g").remove();var l=C.x.head,f=C.y.head,h=C.x.tail+r,p=C.y.tail+n,g=C.x.text+r,b=C.y.text+n,_=o.rotationXYMatrix(P,g,b),w=o.apply2DTransform(_),A=o.apply2DTransform2(_),L=+j.attr("width"),z=+j.attr("height"),D=g-.5*L,F=D+L,B=b-.5*z,N=B+z,U=[[D,B,D,N],[D,N,F,N],[F,N,F,B],[F,B,D,B]].map(A);if(!U.reduce((function(t,e){return t^!!o.segmentsIntersect(l,f,l+1e6,f+1e6,e[0],e[1],e[2],e[3])}),!1)){U.forEach((function(t){var e=o.segmentsIntersect(h,p,l,f,t[0],t[1],t[2],t[3]);e&&(h=e.x,p=e.y)}));var V=e.arrowwidth,H=e.arrowcolor,q=e.arrowside,G=I.append("g").style({opacity:c.opacity(H)}).classed("annotation-arrow-g",!0),Y=G.append("path").attr("d","M"+h+","+p+"L"+l+","+f).style("stroke-width",V+"px").call(c.stroke,c.rgb(H));if(m(Y,q,e),k.annotationPosition&&Y.node().parentNode&&!a){var W=l,X=f;if(e.standoff){var Z=Math.sqrt(Math.pow(l-h,2)+Math.pow(f-p,2));W+=e.standoff*(h-l)/Z,X+=e.standoff*(p-f)/Z}var J,K,Q=G.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(h-W)+","+(p-X),transform:s(W,X)}).style("stroke-width",V+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");d.init({element:Q.node(),gd:t,prepFn:function(){var t=u.getTranslate(R);J=t.x,K=t.y,v&&v.autorange&&M(v._name+".autorange",!0),x&&x.autorange&&M(x._name+".autorange",!0)},moveFn:function(t,r){var n=w(J,K),i=n[0]+t,a=n[1]+r;R.call(u.setTranslate,i,a),S("x",y(v,t,"x",T,e)),S("y",y(x,r,"y",T,e)),e.axref===e.xref&&S("ax",y(v,t,"ax",T,e)),e.ayref===e.yref&&S("ay",y(x,r,"ay",T,e)),G.attr("transform",s(t,r)),O.attr({transform:"rotate("+P+","+i+","+a+")"})},doneFn:function(){i.call("_guiRelayout",t,E());var e=document.querySelector(".js-notes-box-panel");e&&e.redraw(e.selectedObj)}})}}};if(e.showarrow&&At(0,0),z)d.init({element:R.node(),gd:t,prepFn:function(){kt=O.attr("transform")},moveFn:function(t,r){var n="pointer";if(e.showarrow)e.axref===e.xref?S("ax",y(v,t,"ax",T,e)):S("ax",e.ax+t),e.ayref===e.yref?S("ay",y(x,r,"ay",T.w,e)):S("ay",e.ay+r),At(t,r);else{if(a)return;var i,o;if(v)i=y(v,t,"x",T,e);else{var l=e._xsize/T.w,c=e.x+(e._xshift-e.xshift)/T.w-l/2;i=d.align(c+t/T.w,l,0,1,e.xanchor)}if(x)o=y(x,r,"y",T,e);else{var u=e._ysize/T.h,f=e.y-(e._yshift+e.yshift)/T.h-u/2;o=d.align(f-r/T.h,u,0,1,e.yanchor)}S("x",i),S("y",o),v&&x||(n=d.getCursor(v?.5:i,x?.5:o,e.xanchor,e.yanchor))}O.attr({transform:s(t,r)+kt}),p(R,n)},clickFn:function(r,n){e.captureevents&&t.emit("plotly_clickannotation",Y(n))},doneFn:function(){p(R),i.call("_guiRelayout",t,E());var e=document.querySelector(".js-notes-box-panel");e&&e.redraw(e.selectedObj)}})}}}e.exports={draw:function(t){var e=t._fullLayout;e._infolayer.selectAll(".annotation").remove();for(var r=0;r<e.annotations.length;r++)e.annotations[r].visible&&v(t,r);return a.previousPromises(t)},drawOne:v,drawRaw:x}},{"../../lib":503,"../../lib/setcursor":524,"../../lib/svg_text_utils":529,"../../plot_api/plot_template":543,"../../plots/cartesian/axes":554,"../../plots/plots":619,"../../registry":638,"../color":366,"../dragelement":385,"../drawing":388,"../fx":406,"./draw_arrow_head":356,"@plotly/d3":58}],356:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../color"),a=t("./arrow_paths"),o=t("../../lib"),s=o.strScale,l=o.strRotate,c=o.strTranslate;e.exports=function(t,e,r){var o,u,f,h,p=t.node(),d=a[r.arrowhead||0],g=a[r.startarrowhead||0],m=(r.arrowwidth||1)*(r.arrowsize||1),v=(r.arrowwidth||1)*(r.startarrowsize||1),y=e.indexOf("start")>=0,x=e.indexOf("end")>=0,b=d.backoff*m+r.standoff,_=g.backoff*v+r.startstandoff;if("line"===p.nodeName){o={x:+t.attr("x1"),y:+t.attr("y1")},u={x:+t.attr("x2"),y:+t.attr("y2")};var w=o.x-u.x,T=o.y-u.y;if(h=(f=Math.atan2(T,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+T*T))return void z();if(b){if(b*b>w*w+T*T)return void z();var k=b*Math.cos(f),A=b*Math.sin(f);u.x+=k,u.y+=A,t.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+T*T)return void z();var M=_*Math.cos(f),S=_*Math.sin(f);o.x-=M,o.y-=S,t.attr({x1:o.x,y1:o.y})}}else if("path"===p.nodeName){var E=p.getTotalLength(),L="";if(E<b+_)return void z();var C=p.getPointAtLength(0),P=p.getPointAtLength(.1);f=Math.atan2(C.y-P.y,C.x-P.x),o=p.getPointAtLength(Math.min(_,E)),L="0px,"+_+"px,";var I=p.getPointAtLength(E),O=p.getPointAtLength(E-.1);h=Math.atan2(I.y-O.y,I.x-O.x),u=p.getPointAtLength(Math.max(0,E-b)),L+=E-(L?_+b:b)+"px,"+E+"px",t.style("stroke-dasharray",L)}function z(){t.style("stroke-dasharray","0px,100px")}function D(e,a,o,u){e.path&&(e.noRotate&&(o=0),n.select(p.parentNode).append("path").attr({class:t.attr("class"),d:e.path,transform:c(a.x,a.y)+l(180*o/Math.PI)+s(u)}).style({fill:i.rgb(r.arrowcolor),"stroke-width":0}))}y&&D(g,o,f,v),x&&D(d,u,h,m)}},{"../../lib":503,"../color":366,"./arrow_paths":348,"@plotly/d3":58}],357:[function(t,e,r){"use strict";var n=t("./draw"),i=t("./click");e.exports={moduleType:"component",name:"annotations",layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),includeBasePlot:t("../../plots/cartesian/include_components")("annotations"),calcAutorange:t("./calc_autorange"),draw:n.draw,drawOne:n.drawOne,drawRaw:n.drawRaw,hasClickToShow:i.hasClickToShow,onClick:i.onClick,convertCoords:t("./convert_coords")}},{"../../plots/cartesian/include_components":567,"./attributes":349,"./calc_autorange":350,"./click":351,"./convert_coords":353,"./defaults":354,"./draw":355}],358:[function(t,e,r){"use strict";var n=t("../annotations/attributes"),i=t("../../plot_api/edit_types").overrideAll,a=t("../../plot_api/plot_template").templatedArray;e.exports=i(a("annotation",{visible:n.visible,x:{valType:"any"},y:{valType:"any"},z:{valType:"any"},ax:{valType:"number"},ay:{valType:"number"},xanchor:n.xanchor,xshift:n.xshift,yanchor:n.yanchor,yshift:n.yshift,text:n.text,textangle:n.textangle,font:n.font,width:n.width,height:n.height,opacity:n.opacity,align:n.align,valign:n.valign,bgcolor:n.bgcolor,bordercolor:n.bordercolor,borderpad:n.borderpad,borderwidth:n.borderwidth,showarrow:n.showarrow,arrowcolor:n.arrowcolor,arrowhead:n.arrowhead,startarrowhead:n.startarrowhead,arrowside:n.arrowside,arrowsize:n.arrowsize,startarrowsize:n.startarrowsize,arrowwidth:n.arrowwidth,standoff:n.standoff,startstandoff:n.startstandoff,hovertext:n.hovertext,hoverlabel:n.hoverlabel,captureevents:n.captureevents}),"calc","from-root")},{"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../annotations/attributes":349}],359:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes");function a(t,e){var r=e.fullSceneLayout.domain,a=e.fullLayout._size,o={pdata:null,type:"linear",autorange:!1,range:[-1/0,1/0]};t._xa={},n.extendFlat(t._xa,o),i.setConvert(t._xa),t._xa._offset=a.l+r.x[0]*a.w,t._xa.l2p=function(){return.5*(1+t._pdata[0]/t._pdata[3])*a.w*(r.x[1]-r.x[0])},t._ya={},n.extendFlat(t._ya,o),i.setConvert(t._ya),t._ya._offset=a.t+(1-r.y[1])*a.h,t._ya.l2p=function(){return.5*(1-t._pdata[1]/t._pdata[3])*a.h*(r.y[1]-r.y[0])}}e.exports=function(t){for(var e=t.fullSceneLayout.annotations,r=0;r<e.length;r++)a(e[r],t);t.fullLayout._infolayer.selectAll(".annotation-"+t.id).remove()}},{"../../lib":503,"../../plots/cartesian/axes":554}],360:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../../plots/array_container_defaults"),o=t("../annotations/common_defaults"),s=t("./attributes");function l(t,e,r,a){function l(r,i){return n.coerce(t,e,s,r,i)}function c(t){var n=t+"axis",a={_fullLayout:{}};return a._fullLayout[n]=r[n],i.coercePosition(e,a,l,t,t,.5)}l("visible")&&(o(t,e,a.fullLayout,l),c("x"),c("y"),c("z"),n.noneOrAll(t,e,["x","y","z"]),e.xref="x",e.yref="y",e.zref="z",l("xanchor"),l("yanchor"),l("xshift"),l("yshift"),e.showarrow&&(e.axref="pixel",e.ayref="pixel",l("ax",-10),l("ay",-30),n.noneOrAll(t,e,["ax","ay"])))}e.exports=function(t,e,r){a(t,e,{name:"annotations",handleItemDefaults:l,fullLayout:r.fullLayout})}},{"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"../annotations/common_defaults":352,"./attributes":358}],361:[function(t,e,r){"use strict";var n=t("../annotations/draw").drawRaw,i=t("../../plots/gl3d/project"),a=["x","y","z"];e.exports=function(t){for(var e=t.fullSceneLayout,r=t.dataScale,o=e.annotations,s=0;s<o.length;s++){for(var l=o[s],c=!1,u=0;u<3;u++){var f=a[u],h=l[f],p=e[f+"axis"].r2fraction(h);if(p<0||p>1){c=!0;break}}c?t.fullLayout._infolayer.select(".annotation-"+t.id+'[data-index="'+s+'"]').remove():(l._pdata=i(t.glplot.cameraParams,[e.xaxis.r2l(l.x)*r[0],e.yaxis.r2l(l.y)*r[1],e.zaxis.r2l(l.z)*r[2]]),n(t.graphDiv,l,s,t.id,l._xa,l._ya))}}},{"../../plots/gl3d/project":607,"../annotations/draw":355}],362:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib");e.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t("./attributes")}}},layoutAttributes:t("./attributes"),handleDefaults:t("./defaults"),includeBasePlot:function(t,e){var r=n.subplotsRegistry.gl3d;if(!r)return;for(var a=r.attrRegex,o=Object.keys(t),s=0;s<o.length;s++){var l=o[s];a.test(l)&&(t[l].annotations||[]).length&&(i.pushUnique(e._basePlotModules,r),i.pushUnique(e._subplots.gl3d,l))}},convert:t("./convert"),draw:t("./draw")}},{"../../lib":503,"../../registry":638,"./attributes":358,"./convert":359,"./defaults":360,"./draw":361}],363:[function(t,e,r){"use strict";e.exports=t("world-calendars/dist/main"),t("world-calendars/dist/plus"),t("world-calendars/dist/calendars/chinese"),t("world-calendars/dist/calendars/coptic"),t("world-calendars/dist/calendars/discworld"),t("world-calendars/dist/calendars/ethiopian"),t("world-calendars/dist/calendars/hebrew"),t("world-calendars/dist/calendars/islamic"),t("world-calendars/dist/calendars/julian"),t("world-calendars/dist/calendars/mayan"),t("world-calendars/dist/calendars/nanakshahi"),t("world-calendars/dist/calendars/nepali"),t("world-calendars/dist/calendars/persian"),t("world-calendars/dist/calendars/taiwan"),t("world-calendars/dist/calendars/thai"),t("world-calendars/dist/calendars/ummalqura")},{"world-calendars/dist/calendars/chinese":332,"world-calendars/dist/calendars/coptic":333,"world-calendars/dist/calendars/discworld":334,"world-calendars/dist/calendars/ethiopian":335,"world-calendars/dist/calendars/hebrew":336,"world-calendars/dist/calendars/islamic":337,"world-calendars/dist/calendars/julian":338,"world-calendars/dist/calendars/mayan":339,"world-calendars/dist/calendars/nanakshahi":340,"world-calendars/dist/calendars/nepali":341,"world-calendars/dist/calendars/persian":342,"world-calendars/dist/calendars/taiwan":343,"world-calendars/dist/calendars/thai":344,"world-calendars/dist/calendars/ummalqura":345,"world-calendars/dist/main":346,"world-calendars/dist/plus":347}],364:[function(t,e,r){"use strict";var n=t("./calendars"),i=t("../../lib"),a=t("../../constants/numerical"),o=a.EPOCHJD,s=a.ONEDAY,l={valType:"enumerated",values:i.sortObjectKeys(n.calendars),editType:"calc",dflt:"gregorian"},c=function(t,e,r,n){var a={};return a[r]=l,i.coerce(t,e,a,r,n)},u={d:{0:"dd","-":"d"},e:{0:"d","-":"d"},a:{0:"D","-":"D"},A:{0:"DD","-":"DD"},j:{0:"oo","-":"o"},W:{0:"ww","-":"w"},m:{0:"mm","-":"m"},b:{0:"M","-":"M"},B:{0:"MM","-":"MM"},y:{0:"yy","-":"yy"},Y:{0:"yyyy","-":"yyyy"},U:"##",w:"##",c:{0:"D M d %X yyyy","-":"D M d %X yyyy"},x:{0:"mm/dd/yyyy","-":"mm/dd/yyyy"}};var f={};function h(t){var e=f[t];return e||(e=f[t]=n.instance(t))}function p(t){return i.extendFlat({},l,{description:t})}function d(t){return"Sets the calendar system to use with `"+t+"` date data."}var g={xcalendar:p(d("x"))},m=i.extendFlat({},g,{ycalendar:p(d("y"))}),v=i.extendFlat({},m,{zcalendar:p(d("z"))}),y=p(["Sets the calendar system to use for `range` and `tick0`","if this is a date axis. This does not set the calendar for","interpreting data on this axis, that's specified in the trace","or via the global `layout.calendar`"].join(" "));e.exports={moduleType:"component",name:"calendars",schema:{traces:{scatter:m,bar:m,box:m,heatmap:m,contour:m,histogram:m,histogram2d:m,histogram2dcontour:m,scatter3d:v,surface:v,mesh3d:v,scattergl:m,ohlc:g,candlestick:g},layout:{calendar:p(["Sets the default calendar system to use for interpreting and","displaying dates throughout the plot."].join(" "))},subplots:{xaxis:{calendar:y},yaxis:{calendar:y},scene:{xaxis:{calendar:y},yaxis:{calendar:y},zaxis:{calendar:y}},polar:{radialaxis:{calendar:y}}},transforms:{filter:{valuecalendar:p(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `value`, if it is a date."].join(" ")),targetcalendar:p(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `target`, if it is an","array of dates. If `target` is a string (eg *x*) we use the","corresponding trace attribute (eg `xcalendar`) if it exists,","even if `targetcalendar` is provided."].join(" "))}}},layoutAttributes:l,handleDefaults:c,handleTraceDefaults:function(t,e,r,n){for(var i=0;i<r.length;i++)c(t,e,r[i]+"calendar",n.calendar)},CANONICAL_SUNDAY:{chinese:"2000-01-02",coptic:"2000-01-03",discworld:"2000-01-03",ethiopian:"2000-01-05",hebrew:"5000-01-01",islamic:"1000-01-02",julian:"2000-01-03",mayan:"5000-01-01",nanakshahi:"1000-01-05",nepali:"2000-01-05",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-04",thai:"2000-01-04",ummalqura:"1400-01-06"},CANONICAL_TICK:{chinese:"2000-01-01",coptic:"2000-01-01",discworld:"2000-01-01",ethiopian:"2000-01-01",hebrew:"5000-01-01",islamic:"1000-01-01",julian:"2000-01-01",mayan:"5000-01-01",nanakshahi:"1000-01-01",nepali:"2000-01-01",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-01",thai:"2000-01-01",ummalqura:"1400-01-01"},DFLTRANGE:{chinese:["2000-01-01","2001-01-01"],coptic:["1700-01-01","1701-01-01"],discworld:["1800-01-01","1801-01-01"],ethiopian:["2000-01-01","2001-01-01"],hebrew:["5700-01-01","5701-01-01"],islamic:["1400-01-01","1401-01-01"],julian:["2000-01-01","2001-01-01"],mayan:["5200-01-01","5201-01-01"],nanakshahi:["0500-01-01","0501-01-01"],nepali:["2000-01-01","2001-01-01"],persian:["1400-01-01","1401-01-01"],jalali:["1400-01-01","1401-01-01"],taiwan:["0100-01-01","0101-01-01"],thai:["2500-01-01","2501-01-01"],ummalqura:["1400-01-01","1401-01-01"]},getCal:h,worldCalFmt:function(t,e,r){for(var n,i,a,l,c,f=Math.floor((e+.05)/s)+o,p=h(r).fromJD(f),d=0;-1!==(d=t.indexOf("%",d));)"0"===(n=t.charAt(d+1))||"-"===n||"_"===n?(a=3,i=t.charAt(d+2),"_"===n&&(n="-")):(i=n,n="0",a=2),(l=u[i])?(c="##"===l?"##":p.formatDate(l[n]),t=t.substr(0,d)+c+t.substr(d+a),d+=c.length):d+=a;return t}}},{"../../constants/numerical":479,"../../lib":503,"./calendars":363}],365:[function(t,e,r){"use strict";r.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],r.defaultLine="#444",r.lightLine="#eee",r.background="#fff",r.borderLine="#BEC8D9",r.lightFraction=1e3/11},{}],366:[function(t,e,r){"use strict";var n=t("tinycolor2"),i=t("fast-isnumeric"),a=t("../../lib/array").isTypedArray,o=e.exports={},s=t("./attributes");o.defaults=s.defaults;var l=o.defaultLine=s.defaultLine;o.lightLine=s.lightLine;var c=o.background=s.background;function u(t){if(i(t)||"string"!=typeof t)return t;var e=t.trim();if("rgb"!==e.substr(0,3))return t;var r=e.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return t;var n=r[1].trim().split(/\s*[\s,]\s*/),a="a"===e.charAt(3)&&4===n.length;if(!a&&3!==n.length)return t;for(var o=0;o<n.length;o++){if(!n[o].length)return t;if(n[o]=Number(n[o]),!(n[o]>=0))return t;if(3===o)n[o]>1&&(n[o]=1);else if(n[o]>=1)return t}var s=Math.round(255*n[0])+", "+Math.round(255*n[1])+", "+Math.round(255*n[2]);return a?"rgba("+s+", "+n[3]+")":"rgb("+s+")"}o.tinyRGB=function(t){var e=t.toRgb();return"rgb("+Math.round(e.r)+", "+Math.round(e.g)+", "+Math.round(e.b)+")"},o.rgb=function(t){return o.tinyRGB(n(t))},o.opacity=function(t){return t?n(t).getAlpha():0},o.addOpacity=function(t,e){var r=n(t).toRgb();return"rgba("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+", "+e+")"},o.combine=function(t,e){var r=n(t).toRgb();if(1===r.a)return n(t).toRgbString();var i=n(e||c).toRgb(),a=1===i.a?i:{r:255*(1-i.a)+i.r*i.a,g:255*(1-i.a)+i.g*i.a,b:255*(1-i.a)+i.b*i.a},o={r:a.r*(1-r.a)+r.r*r.a,g:a.g*(1-r.a)+r.g*r.a,b:a.b*(1-r.a)+r.b*r.a};return n(o).toRgbString()},o.contrast=function(t,e,r){var i=n(t);return 1!==i.getAlpha()&&(i=n(o.combine(t,c))),(i.isDark()?e?i.lighten(e):c:r?i.darken(r):l).toString()},o.stroke=function(t,e){var r=n(e);t.style({stroke:o.tinyRGB(r),"stroke-opacity":r.getAlpha()})},o.fill=function(t,e){var r=n(e);t.style({fill:o.tinyRGB(r),"fill-opacity":r.getAlpha()})},o.clean=function(t){if(t&&"object"==typeof t){var e,r,n,i,s=Object.keys(t);for(e=0;e<s.length;e++)if(i=t[n=s[e]],"color"===n.substr(n.length-5))if(Array.isArray(i))for(r=0;r<i.length;r++)i[r]=u(i[r]);else t[n]=u(i);else if("colorscale"===n.substr(n.length-10)&&Array.isArray(i))for(r=0;r<i.length;r++)Array.isArray(i[r])&&(i[r][1]=u(i[r][1]));else if(Array.isArray(i)){var l=i[0];if(!Array.isArray(l)&&l&&"object"==typeof l)for(r=0;r<i.length;r++)o.clean(i[r])}else i&&"object"==typeof i&&!a(i)&&o.clean(i)}}},{"../../lib/array":485,"./attributes":365,"fast-isnumeric":190,tinycolor2:312}],367:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/layout_attributes"),i=t("../../plots/font_attributes"),a=t("../../lib/extend").extendFlat,o=t("../../plot_api/edit_types").overrideAll;e.exports=o({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number",min:-2,max:3},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:n.linecolor,outlinewidth:n.linewidth,bordercolor:n.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:n.tickmode,nticks:n.nticks,tick0:n.tick0,dtick:n.dtick,tickvals:n.tickvals,ticktext:n.ticktext,ticks:a({},n.ticks,{dflt:""}),ticklabeloverflow:a({},n.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:n.ticklen,tickwidth:n.tickwidth,tickcolor:n.tickcolor,ticklabelstep:n.ticklabelstep,showticklabels:n.showticklabels,tickfont:i({}),tickangle:n.tickangle,tickformat:n.tickformat,tickformatstops:n.tickformatstops,tickprefix:n.tickprefix,showtickprefix:n.showtickprefix,ticksuffix:n.ticksuffix,showticksuffix:n.showticksuffix,separatethousands:n.separatethousands,exponentformat:n.exponentformat,minexponent:n.minexponent,showexponent:n.showexponent,title:{text:{valType:"string"},font:i({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:i({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},{"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/cartesian/layout_attributes":569,"../../plots/font_attributes":585}],368:[function(t,e,r){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},{}],369:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plot_api/plot_template"),a=t("../../plots/cartesian/tick_value_defaults"),o=t("../../plots/cartesian/tick_mark_defaults"),s=t("../../plots/cartesian/tick_label_defaults"),l=t("../../plots/cartesian/prefix_suffix_defaults"),c=t("./attributes");e.exports=function(t,e,r){var u=i.newContainer(e,"colorbar"),f=t.colorbar||{};function h(t,e){return n.coerce(f,u,c,t,e)}var p=r.margin||{t:0,b:0,l:0,r:0},d=r.width-p.l-p.r,g=r.height-p.t-p.b,m="v"===h("orientation"),v=h("thicknessmode");h("thickness","fraction"===v?30/(m?d:g):30);var y=h("lenmode");h("len","fraction"===y?1:m?g:d),h("x",m?1.02:.5),h("xanchor",m?"left":"center"),h("xpad"),h("y",m?.5:1.02),h("yanchor",m?"middle":"bottom"),h("ypad"),n.noneOrAll(f,u,["x","y"]),h("outlinecolor"),h("outlinewidth"),h("bordercolor"),h("borderwidth"),h("bgcolor");var x=n.coerce(f,u,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:m?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");h("ticklabeloverflow",-1!==x.indexOf("inside")?"hide past domain":"hide past div"),a(f,u,h,"linear");var b=r.font,_={outerTicks:!1,font:b};-1!==x.indexOf("inside")&&(_.bgColor="black"),l(f,u,h,"linear",_),s(f,u,h,"linear",_),o(f,u,h,"linear",_),h("title.text",r._dfltTitle.colorbar);var w=u.tickfont,T=n.extendFlat({},w,{color:b.color,size:n.bigFont(w.size)});n.coerceFont(h,"title.font",T),h("title.side",m?"top":"right")}},{"../../lib":503,"../../plot_api/plot_template":543,"../../plots/cartesian/prefix_suffix_defaults":573,"../../plots/cartesian/tick_label_defaults":578,"../../plots/cartesian/tick_mark_defaults":579,"../../plots/cartesian/tick_value_defaults":580,"./attributes":367}],370:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("tinycolor2"),a=t("../../plots/plots"),o=t("../../registry"),s=t("../../plots/cartesian/axes"),l=t("../dragelement"),c=t("../../lib"),u=c.strTranslate,f=t("../../lib/extend").extendFlat,h=t("../../lib/setcursor"),p=t("../drawing"),d=t("../color"),g=t("../titles"),m=t("../../lib/svg_text_utils"),v=t("../colorscale/helpers").flipScale,y=t("../../plots/cartesian/axis_defaults"),x=t("../../plots/cartesian/position_defaults"),b=t("../../plots/cartesian/layout_attributes"),_=t("../../constants/alignment"),w=_.LINE_SPACING,T=_.FROM_TL,k=_.FROM_BR,A=t("./constants").cn;e.exports={draw:function(t){var e=t._fullLayout._infolayer.selectAll("g."+A.colorbar).data(function(t){var e,r,n,i,a=t._fullLayout,o=t.calcdata,s=[];function l(t){return f(t,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof i.calc?i.calc(t,n,e):(e._fillgradient=r.reversescale?v(r.colorscale):r.colorscale,e._zrange=[r[i.min],r[i.max]])}for(var u=0;u<o.length;u++){var h=o[u],p=(n=h[0].trace)._module.colorbar;if(!0===n.visible&&p)for(var d=Array.isArray(p),g=d?p:[p],m=0;m<g.length;m++){var y=(i=g[m]).container;(r=y?n[y]:n)&&r.showscale&&((e=l(r.colorbar))._id="cb"+n.uid+(d&&y?"-"+y:""),e._traceIndex=n.index,e._propPrefix=(y?y+".":"")+"colorbar.",e._meta=n._meta,c(),s.push(e))}}for(var x in a._colorAxes)if((r=a[x]).showscale){var b=a._colorAxes[x];(e=l(r.colorbar))._id="cb"+x,e._propPrefix=x+".colorbar.",e._meta=a._meta,i={min:"cmin",max:"cmax"},"heatmap"!==b[0]&&(n=b[1],i.calc=n._module.colorbar.calc),c(),s.push(e)}return s}(t),(function(t){return t._id}));e.enter().append("g").attr("class",(function(t){return t._id})).classed(A.colorbar,!0),e.each((function(e){var r=n.select(this);c.ensureSingle(r,"rect",A.cbbg),c.ensureSingle(r,"g",A.cbfills),c.ensureSingle(r,"g",A.cblines),c.ensureSingle(r,"g",A.cbaxis,(function(t){t.classed(A.crisp,!0)})),c.ensureSingle(r,"g",A.cbtitleunshift,(function(t){t.append("g").classed(A.cbtitle,!0)})),c.ensureSingle(r,"rect",A.cboutline);var v=function(t,e,r){var o="v"===e.orientation,l=e.len,h=e.lenmode,v=e.thickness,_=e.thicknessmode,M=e.outlinewidth,S=e.borderwidth,E=e.bgcolor,L=e.xanchor,C=e.yanchor,P=e.xpad,I=e.ypad,O=e.x,z=o?e.y:1-e.y,D=r._fullLayout,R=D._size,F=e._fillcolor,B=e._line,N=e.title,j=N.side,U=e._zrange||n.extent(("function"==typeof F?F:B.color).domain()),V="function"==typeof B.color?B.color:function(){return B.color},H="function"==typeof F?F:function(){return F},q=e._levels,G=function(t,e,r){var n,i,a=e._levels,o=[],s=[],l=a.end+a.size/100,c=a.size,u=1.001*r[0]-.001*r[1],f=1.001*r[1]-.001*r[0];for(i=0;i<1e5&&(n=a.start+i*c,!(c>0?n>=l:n<=l));i++)n>u&&n<f&&o.push(n);if(e._fillgradient)s=[0];else if("function"==typeof e._fillcolor){var h=e._filllevels;if(h)for(l=h.end+h.size/100,c=h.size,i=0;i<1e5&&(n=h.start+i*c,!(c>0?n>=l:n<=l));i++)n>r[0]&&n<r[1]&&s.push(n);else(s=o.map((function(t){return t-a.size/2}))).push(s[s.length-1]+a.size)}else e._fillcolor&&"string"==typeof e._fillcolor&&(s=[0]);a.size<0&&(o.reverse(),s.reverse());return{line:o,fill:s}}(0,e,U),Y=G.fill,W=G.line,X=Math.round(v*("fraction"===_?o?R.w:R.h:1)),Z=X/(o?R.w:R.h),J=Math.round(l*("fraction"===h?o?R.h:R.w:1)),K=J/(o?R.h:R.w),Q=Math.round(o?O*R.w+P:z*R.h+I),$={center:.5,right:1}[L]||0,tt={top:1,middle:.5}[C]||0,et=o?O-$*Z:z-tt*Z,rt=o?z-tt*K:O-$*K,nt=Math.round(o?R.h*(1-rt):R.w*rt);e._lenFrac=K,e._thickFrac=Z,e._uFrac=et,e._vFrac=rt;var it=e._axis=function(t,e,r){var n=t._fullLayout,i="v"===e.orientation,a={type:"linear",range:r,tickmode:e.tickmode,nticks:e.nticks,tick0:e.tick0,dtick:e.dtick,tickvals:e.tickvals,ticktext:e.ticktext,ticks:e.ticks,ticklen:e.ticklen,tickwidth:e.tickwidth,tickcolor:e.tickcolor,showticklabels:e.showticklabels,ticklabelposition:e.ticklabelposition,ticklabeloverflow:e.ticklabeloverflow,ticklabelstep:e.ticklabelstep,tickfont:e.tickfont,tickangle:e.tickangle,tickformat:e.tickformat,exponentformat:e.exponentformat,minexponent:e.minexponent,separatethousands:e.separatethousands,showexponent:e.showexponent,showtickprefix:e.showtickprefix,tickprefix:e.tickprefix,showticksuffix:e.showticksuffix,ticksuffix:e.ticksuffix,title:e.title,showline:!0,anchor:"free",side:i?"right":"bottom",position:1},o=i?"y":"x",s={type:"linear",_id:o+e._id},l={letter:o,font:n.font,noHover:!0,noTickson:!0,noTicklabelmode:!0,calendar:n.calendar};function u(t,e){return c.coerce(a,s,b,t,e)}return y(a,s,u,l,n),x(a,s,u,l),s}(r,e,U);it.position=Z+(o?O+P/R.w:z+I/R.h);var at=-1!==["top","bottom"].indexOf(j);o&&at&&(it.title.side=j,it.titlex=O+P/R.w,it.titley=rt+("top"===N.side?K-I/R.h:I/R.h));o||at||(it.title.side=j,it.titley=z+I/R.h,it.titlex=rt+P/R.w);if(B.color&&"auto"===e.tickmode){it.tickmode="linear",it.tick0=q.start;var ot=q.size,st=c.constrain(J/50,4,15)+1,lt=(U[1]-U[0])/((e.nticks||st)*ot);if(lt>1){var ct=Math.pow(10,Math.floor(Math.log(lt)/Math.LN10));ot*=ct*c.roundUp(lt/ct,[2,5,10]),(Math.abs(q.start)/q.size+1e-6)%1<2e-6&&(it.tick0=0)}it.dtick=ot}it.domain=o?[rt+I/R.h,rt+K-I/R.h]:[rt+P/R.w,rt+K-P/R.w],it.setScale(),t.attr("transform",u(Math.round(R.l),Math.round(R.t)));var ut,ft=t.select("."+A.cbtitleunshift).attr("transform",u(-Math.round(R.l),-Math.round(R.t))),ht=it.ticklabelposition,pt=it.title.font.size,dt=t.select("."+A.cbaxis),gt=0,mt=0;function vt(n,i){var a={propContainer:it,propName:e._propPrefix+"title",traceIndex:e._traceIndex,_meta:e._meta,placeholder:D._dfltTitle.colorbar,containerGroup:t.select("."+A.cbtitle)},o="h"===n.charAt(0)?n.substr(1):"h"+n;t.selectAll("."+o+",."+o+"-math-group").remove(),g.draw(r,n,f(a,i||{}))}return c.syncOrAsync([a.previousPromises,function(){var t,e;(o&&at||!o&&!at)&&("top"===j&&(t=P+R.l+R.w*O,e=I+R.t+R.h*(1-rt-K)+3+.75*pt),"bottom"===j&&(t=P+R.l+R.w*O,e=I+R.t+R.h*(1-rt)-3-.25*pt),"right"===j&&(e=I+R.t+R.h*z+3+.75*pt,t=P+R.l+R.w*rt),vt(it._id+"title",{attributes:{x:t,y:e,"text-anchor":o?"start":"middle"}}))},function(){if(!o&&!at||o&&at){var a,l=t.select("."+A.cbtitle),f=l.select("text"),h=[-M/2,M/2],d=l.select(".h"+it._id+"title-math-group").node(),g=15.6;if(f.node()&&(g=parseInt(f.node().style.fontSize,10)*w),d?(a=p.bBox(d),mt=a.width,(gt=a.height)>g&&(h[1]-=(gt-g)/2)):f.node()&&!f.classed(A.jsPlaceholder)&&(a=p.bBox(f.node()),mt=a.width,gt=a.height),o){if(gt){if(gt+=5,"top"===j)it.domain[1]-=gt/R.h,h[1]*=-1;else{it.domain[0]+=gt/R.h;var v=m.lineCount(f);h[1]+=(1-v)*g}l.attr("transform",u(h[0],h[1])),it.setScale()}}else mt&&("right"===j&&(it.domain[0]+=(mt+pt/2)/R.w),l.attr("transform",u(h[0],h[1])),it.setScale())}t.selectAll("."+A.cbfills+",."+A.cblines).attr("transform",o?u(0,Math.round(R.h*(1-it.domain[1]))):u(Math.round(R.w*it.domain[0]),0)),dt.attr("transform",o?u(0,Math.round(-R.t)):u(Math.round(-R.l),0));var y=t.select("."+A.cbfills).selectAll("rect."+A.cbfill).attr("style","").data(Y);y.enter().append("rect").classed(A.cbfill,!0).style("stroke","none"),y.exit().remove();var x=U.map(it.c2p).map(Math.round).sort((function(t,e){return t-e}));y.each((function(t,a){var s=[0===a?U[0]:(Y[a]+Y[a-1])/2,a===Y.length-1?U[1]:(Y[a]+Y[a+1])/2].map(it.c2p).map(Math.round);o&&(s[1]=c.constrain(s[1]+(s[1]>s[0])?1:-1,x[0],x[1]));var l=n.select(this).attr(o?"x":"y",Q).attr(o?"y":"x",n.min(s)).attr(o?"width":"height",Math.max(X,2)).attr(o?"height":"width",Math.max(n.max(s)-n.min(s),2));if(e._fillgradient)p.gradient(l,r,e._id,o?"vertical":"horizontalreversed",e._fillgradient,"fill");else{var u=H(t).replace("e-","");l.attr("fill",i(u).toHexString())}}));var b=t.select("."+A.cblines).selectAll("path."+A.cbline).data(B.color&&B.width?W:[]);b.enter().append("path").classed(A.cbline,!0),b.exit().remove(),b.each((function(t){var e=Q,r=Math.round(it.c2p(t))+B.width/2%1;n.select(this).attr("d","M"+(o?e+","+r:r+","+e)+(o?"h":"v")+X).call(p.lineGroupStyle,B.width,V(t),B.dash)})),dt.selectAll("g."+it._id+"tick,path").remove();var _=Q+X+(M||0)/2-("outside"===e.ticks?1:0),T=s.calcTicks(it),k=s.getTickSigns(it)[2];return s.drawTicks(r,it,{vals:"inside"===it.ticks?s.clipEnds(it,T):T,layer:dt,path:s.makeTickPath(it,_,k),transFn:s.makeTransTickFn(it)}),s.drawLabels(r,it,{vals:T,layer:dt,transFn:s.makeTransTickLabelFn(it),labelFns:s.makeLabelFns(it,_)})},function(){if(o&&!at||!o&&at){var t,i,a=it.position||0,s=it._offset+it._length/2;if("right"===j)i=s,t=R.l+R.w*a+10+pt*(it.showticklabels?1:.5);else if(t=s,"bottom"===j&&(i=R.t+R.h*a+10+(-1===ht.indexOf("inside")?it.tickfont.size:0)+("intside"!==it.ticks&&e.ticklen||0)),"top"===j){var l=N.text.split("<br>").length;i=R.t+R.h*a+10-X-w*pt*l}vt((o?"h":"v")+it._id+"title",{avoid:{selection:n.select(r).selectAll("g."+it._id+"tick"),side:j,offsetTop:o?0:R.t,offsetLeft:o?R.l:0,maxShift:o?D.width:D.height},attributes:{x:t,y:i,"text-anchor":"middle"},transform:{rotate:o?-90:0,offset:0}})}},a.previousPromises,function(){var n,s=X+M/2;-1===ht.indexOf("inside")&&(n=p.bBox(dt.node()),s+=o?n.width:n.height),ut=ft.select("text");var c=0,f=o&&"top"===j,g=!o&&"right"===j,m=0;if(ut.node()&&!ut.classed(A.jsPlaceholder)){var y,x=ft.select(".h"+it._id+"title-math-group").node();x&&(o&&at||!o&&!at)?(c=(n=p.bBox(x)).width,y=n.height):(c=(n=p.bBox(ft.node())).right-R.l-(o?Q:nt),y=n.bottom-R.t-(o?nt:Q),o||"top"!==j||(s+=n.height,m=n.height)),g&&(ut.attr("transform",u(c/2+pt/2,0)),c*=2),s=Math.max(s,o?c:y)}var b=2*(o?P:I)+s+S+M/2,w=0;!o&&N.text&&"bottom"===C&&z<=0&&(b+=w=b/2,m+=w),D._hColorbarMoveTitle=w,D._hColorbarMoveCBTitle=m;var F=S+M;t.select("."+A.cbbg).attr("x",(o?Q:nt)-F/2-(o?P:0)).attr("y",(o?nt:Q)-(o?J:I+m-w)).attr(o?"width":"height",Math.max(b-w,2)).attr(o?"height":"width",Math.max(J+F,2)).call(d.fill,E).call(d.stroke,e.bordercolor).style("stroke-width",S);var B=g?Math.max(c-10,0):0;if(t.selectAll("."+A.cboutline).attr("x",(o?Q:nt+P)+B).attr("y",(o?nt+I-J:Q)+(f?gt:0)).attr(o?"width":"height",Math.max(X,2)).attr(o?"height":"width",Math.max(J-(o?2*I+gt:2*P+B),2)).call(d.stroke,e.outlinecolor).style({fill:"none","stroke-width":M}),t.attr("transform",u(R.l-(o?$*b:0),R.t-(o?0:(1-tt)*b-m))),!o&&(S||i(E).getAlpha()&&!i.equals(D.paper_bgcolor,E))){var U=dt.selectAll("text"),V=U[0].length,H=t.select("."+A.cbbg).node(),q=p.bBox(H),G=p.getTranslate(t);U.each((function(t,e){var r=V-1;if(0===e||e===r){var n,i=p.bBox(this),a=p.getTranslate(this);if(e===r){var o=i.right+a.x;(n=q.right+G.x+nt-S-2+O-o)>0&&(n=0)}else if(0===e){var s=i.left+a.x;(n=q.left+G.x+nt+S+2-s)<0&&(n=0)}n&&(V<3?this.setAttribute("transform","translate("+n+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}}))}var Y={},W=T[L],Z=k[L],K=T[C],et=k[C],rt=b-X;o?("pixels"===h?(Y.y=z,Y.t=J*K,Y.b=J*et):(Y.t=Y.b=0,Y.yt=z+l*K,Y.yb=z-l*et),"pixels"===_?(Y.x=O,Y.l=b*W,Y.r=b*Z):(Y.l=rt*W,Y.r=rt*Z,Y.xl=O-v*W,Y.xr=O+v*Z)):("pixels"===h?(Y.x=O,Y.l=J*W,Y.r=J*Z):(Y.l=Y.r=0,Y.xl=O+l*W,Y.xr=O-l*Z),"pixels"===_?(Y.y=1-z,Y.t=b*K,Y.b=b*et):(Y.t=rt*K,Y.b=rt*et,Y.yt=z-v*K,Y.yb=z+v*et)),a.autoMargin(r,e._id,Y)}],r)}(r,e,t);v&&v.then&&(t._promises||[]).push(v),t._context.edits.colorbarPosition&&function(t,e,r){var n,i,a,s="v"===e.orientation,c=r._fullLayout._size;l.init({element:t.node(),gd:r,prepFn:function(){n=t.attr("transform"),h(t)},moveFn:function(r,o){t.attr("transform",n+u(r,o)),i=l.align((s?e._uFrac:e._vFrac)+r/c.w,s?e._thickFrac:e._lenFrac,0,1,e.xanchor),a=l.align((s?e._vFrac:1-e._uFrac)-o/c.h,s?e._lenFrac:e._thickFrac,0,1,e.yanchor);var f=l.getCursor(i,a,e.xanchor,e.yanchor);h(t,f)},doneFn:function(){if(h(t),void 0!==i&&void 0!==a){var n={};n[e._propPrefix+"x"]=i,n[e._propPrefix+"y"]=a,void 0!==e._traceIndex?o.call("_guiRestyle",r,n,e._traceIndex):o.call("_guiRelayout",r,n)}}})}(r,e,t)})),e.exit().each((function(e){a.autoMargin(t,e._id)})).remove(),e.order()}}},{"../../constants/alignment":471,"../../lib":503,"../../lib/extend":493,"../../lib/setcursor":524,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_defaults":556,"../../plots/cartesian/layout_attributes":569,"../../plots/cartesian/position_defaults":572,"../../plots/plots":619,"../../registry":638,"../color":366,"../colorscale/helpers":377,"../dragelement":385,"../drawing":388,"../titles":464,"./constants":368,"@plotly/d3":58,tinycolor2:312}],371:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t){return n.isPlainObject(t.colorbar)}},{"../../lib":503}],372:[function(t,e,r){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:t("./attributes"),supplyDefaults:t("./defaults"),draw:t("./draw").draw,hasColorbar:t("./has_colorbar")}},{"./attributes":367,"./defaults":369,"./draw":370,"./has_colorbar":371}],373:[function(t,e,r){"use strict";var n=t("../colorbar/attributes"),i=t("../../lib/regex").counter,a=t("../../lib/sort_object_keys"),o=t("./scales.js").scales;a(o);function s(t){return"`"+t+"`"}e.exports=function(t,e){t=t||"";var r,a=(e=e||{}).cLetter||"c",l=("onlyIfNumerical"in e?e.onlyIfNumerical:Boolean(t),"noScale"in e?e.noScale:"marker.line"===t),c="showScaleDflt"in e?e.showScaleDflt:"z"===a,u="string"==typeof e.colorscaleDflt?o[e.colorscaleDflt]:null,f=e.editTypeOverride||"",h=t?t+".":"";"colorAttr"in e?(r=e.colorAttr,e.colorAttr):s(h+(r={z:"z",c:"color"}[a]));var p=a+"auto",d=a+"min",g=a+"max",m=a+"mid",v=(s(h+p),s(h+d),s(h+g),{});v[d]=v[g]=void 0;var y={};y[p]=!1;var x={};return"color"===r&&(x.color={valType:"color",arrayOk:!0,editType:f||"style"},e.anim&&(x.color.anim=!0)),x[p]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:v},x[d]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:y},x[g]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:y},x[m]={valType:"number",dflt:null,editType:"calc",impliedEdits:v},x.colorscale={valType:"colorscale",editType:"calc",dflt:u,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:!1!==e.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},l||(x.showscale={valType:"boolean",dflt:c,editType:"calc"},x.colorbar=n),e.noColorAxis||(x.coloraxis={valType:"subplotid",regex:i("coloraxis"),dflt:null,editType:"calc"}),x}},{"../../lib/regex":520,"../../lib/sort_object_keys":526,"../colorbar/attributes":367,"./scales.js":381}],374:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("./helpers").extractOpts;e.exports=function(t,e,r){var o,s=t._fullLayout,l=r.vals,c=r.containerStr,u=c?i.nestedProperty(e,c).get():e,f=a(u),h=!1!==f.auto,p=f.min,d=f.max,g=f.mid,m=function(){return i.aggNums(Math.min,null,l)},v=function(){return i.aggNums(Math.max,null,l)};(void 0===p?p=m():h&&(p=u._colorAx&&n(p)?Math.min(p,m()):m()),void 0===d?d=v():h&&(d=u._colorAx&&n(d)?Math.max(d,v()):v()),h&&void 0!==g&&(d-g>g-p?p=g-(d-g):d-g<g-p&&(d=g+(g-p))),p===d&&(p-=.5,d+=.5),f._sync("min",p),f._sync("max",d),f.autocolorscale)&&(o=p*d<0?s.colorscale.diverging:p>=0?s.colorscale.sequential:s.colorscale.sequentialminus,f._sync("colorscale",o))}},{"../../lib":503,"./helpers":377,"fast-isnumeric":190}],375:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./helpers").hasColorscale,a=t("./helpers").extractOpts;e.exports=function(t,e){function r(t,e){var r=t["_"+e];void 0!==r&&(t[e]=r)}function o(t,i){var o=i.container?n.nestedProperty(t,i.container).get():t;if(o)if(o.coloraxis)o._colorAx=e[o.coloraxis];else{var s=a(o),l=s.auto;(l||void 0===s.min)&&r(o,i.min),(l||void 0===s.max)&&r(o,i.max),s.autocolorscale&&r(o,"colorscale")}}for(var s=0;s<t.length;s++){var l=t[s],c=l._module.colorbar;if(c)if(Array.isArray(c))for(var u=0;u<c.length;u++)o(l,c[u]);else o(l,c);i(l,"marker.line")&&o(l,{container:"marker.line",min:"cmin",max:"cmax"})}for(var f in e._colorAxes)o(e[f],{min:"cmin",max:"cmax"})}},{"../../lib":503,"./helpers":377}],376:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../colorbar/has_colorbar"),o=t("../colorbar/defaults"),s=t("./scales").isValid,l=t("../../registry").traceIs;function c(t,e){var r=e.slice(0,e.length-1);return e?i.nestedProperty(t,r).get()||{}:t}e.exports=function t(e,r,u,f,h){var p=h.prefix,d=h.cLetter,g="_module"in r,m=c(e,p),v=c(r,p),y=c(r._template||{},p)||{},x=function(){return delete e.coloraxis,delete r.coloraxis,t(e,r,u,f,h)};if(g){var b=u._colorAxes||{},_=f(p+"coloraxis");if(_){var w=l(r,"contour")&&i.nestedProperty(r,"contours.coloring").get()||"heatmap",T=b[_];return void(T?(T[2].push(x),T[0]!==w&&(T[0]=!1,i.warn(["Ignoring coloraxis:",_,"setting","as it is linked to incompatible colorscales."].join(" ")))):b[_]=[w,r,[x]])}}var k=m[d+"min"],A=m[d+"max"],M=n(k)&&n(A)&&k<A;f(p+d+"auto",!M)?f(p+d+"mid"):(f(p+d+"min"),f(p+d+"max"));var S,E,L=m.colorscale,C=y.colorscale;(void 0!==L&&(S=!s(L)),void 0!==C&&(S=!s(C)),f(p+"autocolorscale",S),f(p+"colorscale"),f(p+"reversescale"),"marker.line."!==p)&&(p&&g&&(E=a(m)),f(p+"showscale",E)&&(p&&y&&(v._template=y),o(m,v,u)))}},{"../../lib":503,"../../registry":638,"../colorbar/defaults":369,"../colorbar/has_colorbar":371,"./scales":381,"fast-isnumeric":190}],377:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("tinycolor2"),a=t("fast-isnumeric"),o=t("../../lib"),s=t("../color"),l=t("./scales").isValid;var c=["showscale","autocolorscale","colorscale","reversescale","colorbar"],u=["min","max","mid","auto"];function f(t){var e,r,n,i=t._colorAx,a=i||t,o={};for(r=0;r<c.length;r++)o[n=c[r]]=a[n];if(i)for(e="c",r=0;r<u.length;r++)o[n=u[r]]=a["c"+n];else{var s;for(r=0;r<u.length;r++)((s="c"+(n=u[r]))in a||(s="z"+n)in a)&&(o[n]=a[s]);e=s.charAt(0)}return o._sync=function(t,r){var n=-1!==u.indexOf(t)?e+t:t;a[n]=a["_"+n]=r},o}function h(t){for(var e=f(t),r=e.min,n=e.max,i=e.reversescale?p(e.colorscale):e.colorscale,a=i.length,o=new Array(a),s=new Array(a),l=0;l<a;l++){var c=i[l];o[l]=r+c[0]*(n-r),s[l]=c[1]}return{domain:o,range:s}}function p(t){for(var e=t.length,r=new Array(e),n=e-1,i=0;n>=0;n--,i++){var a=t[n];r[i]=[1-a[0],a[1]]}return r}function d(t,e){e=e||{};for(var r=t.domain,o=t.range,l=o.length,c=new Array(l),u=0;u<l;u++){var f=i(o[u]).toRgb();c[u]=[f.r,f.g,f.b,f.a]}var h,p=n.scale.linear().domain(r).range(c).clamp(!0),d=e.noNumericCheck,m=e.returnArray;return(h=d&&m?p:d?function(t){return g(p(t))}:m?function(t){return a(t)?p(t):i(t).isValid()?t:s.defaultLine}:function(t){return a(t)?g(p(t)):i(t).isValid()?t:s.defaultLine}).domain=p.domain,h.range=function(){return o},h}function g(t){var e={r:t[0],g:t[1],b:t[2],a:t[3]};return i(e).toRgbString()}e.exports={hasColorscale:function(t,e,r){var n=e?o.nestedProperty(t,e).get()||{}:t,i=n[r||"color"],s=!1;if(o.isArrayOrTypedArray(i))for(var c=0;c<i.length;c++)if(a(i[c])){s=!0;break}return o.isPlainObject(n)&&(s||!0===n.showscale||a(n.cmin)&&a(n.cmax)||l(n.colorscale)||o.isPlainObject(n.colorbar))},extractOpts:f,extractScale:h,flipScale:p,makeColorScaleFunc:d,makeColorScaleFuncFromTrace:function(t,e){return d(h(t),e)}}},{"../../lib":503,"../color":366,"./scales":381,"@plotly/d3":58,"fast-isnumeric":190,tinycolor2:312}],378:[function(t,e,r){"use strict";var n=t("./scales"),i=t("./helpers");e.exports={moduleType:"component",name:"colorscale",attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyLayoutDefaults:t("./layout_defaults"),handleDefaults:t("./defaults"),crossTraceDefaults:t("./cross_trace_defaults"),calc:t("./calc"),scales:n.scales,defaultScale:n.defaultScale,getScale:n.get,isValidScale:n.isValid,hasColorscale:i.hasColorscale,extractOpts:i.extractOpts,extractScale:i.extractScale,flipScale:i.flipScale,makeColorScaleFunc:i.makeColorScaleFunc,makeColorScaleFuncFromTrace:i.makeColorScaleFuncFromTrace}},{"./attributes":373,"./calc":374,"./cross_trace_defaults":375,"./defaults":376,"./helpers":377,"./layout_attributes":379,"./layout_defaults":380,"./scales":381}],379:[function(t,e,r){"use strict";var n=t("../../lib/extend").extendFlat,i=t("./attributes"),a=t("./scales").scales;e.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:a.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:a.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:a.RdBu,editType:"calc"}},coloraxis:n({_isSubplotObj:!0,editType:"calc"},i("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},{"../../lib/extend":493,"./attributes":373,"./scales":381}],380:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plot_api/plot_template"),a=t("./layout_attributes"),o=t("./defaults");e.exports=function(t,e){function r(r,i){return n.coerce(t,e,a,r,i)}r("colorscale.sequential"),r("colorscale.sequentialminus"),r("colorscale.diverging");var s,l,c=e._colorAxes;function u(t,e){return n.coerce(s,l,a.coloraxis,t,e)}for(var f in c){var h=c[f];if(h[0])s=t[f]||{},(l=i.newContainer(e,f,"coloraxis"))._name=f,o(s,l,e,u,{prefix:"",cLetter:"c"});else{for(var p=0;p<h[2].length;p++)h[2][p]();delete e._colorAxes[f]}}}},{"../../lib":503,"../../plot_api/plot_template":543,"./defaults":376,"./layout_attributes":379}],381:[function(t,e,r){"use strict";var n=t("tinycolor2"),i={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},a=i.RdBu;function o(t){var e=0;if(!Array.isArray(t)||t.length<2)return!1;if(!t[0]||!t[t.length-1])return!1;if(0!=+t[0][0]||1!=+t[t.length-1][0])return!1;for(var r=0;r<t.length;r++){var i=t[r];if(2!==i.length||+i[0]<e||!n(i[1]).isValid())return!1;e=+i[0]}return!0}e.exports={scales:i,defaultScale:a,get:function(t,e){if(e||(e=a),!t)return e;function r(){try{t=i[t]||JSON.parse(t)}catch(r){t=e}}return"string"==typeof t&&(r(),"string"==typeof t&&r()),o(t)?t:e},isValid:function(t){return void 0!==i[t]||o(t)}}},{tinycolor2:312}],382:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){var a=(t-r)/(n-r),o=a+e/(n-r),s=(a+o)/2;return"left"===i||"bottom"===i?a:"center"===i||"middle"===i?s:"right"===i||"top"===i?o:a<2/3-s?a:o>4/3-s?o:s}},{}],383:[function(t,e,r){"use strict";var n=t("../../lib"),i=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(t,e,r,a){return t="left"===r?0:"center"===r?1:"right"===r?2:n.constrain(Math.floor(3*t),0,2),e="bottom"===a?0:"middle"===a?1:"top"===a?2:n.constrain(Math.floor(3*e),0,2),i[e][t]}},{"../../lib":503}],384:[function(t,e,r){"use strict";r.selectMode=function(t){return"lasso"===t||"select"===t},r.drawMode=function(t){return"drawclosedpath"===t||"drawopenpath"===t||"drawline"===t||"drawrect"===t||"drawcircle"===t},r.openMode=function(t){return"drawline"===t||"drawopenpath"===t},r.rectMode=function(t){return"select"===t||"drawline"===t||"drawrect"===t||"drawcircle"===t},r.freeMode=function(t){return"lasso"===t||"drawclosedpath"===t||"drawopenpath"===t},r.selectingOrDrawing=function(t){return r.freeMode(t)||r.rectMode(t)}},{}],385:[function(t,e,r){"use strict";var n=t("mouse-event-offset"),i=t("has-hover"),a=t("has-passive-events"),o=t("../../lib").removeElement,s=t("../../plots/cartesian/constants"),l=e.exports={};l.align=t("./align"),l.getCursor=t("./cursor");var c=t("./unhover");function u(){var t=document.createElement("div");t.className="dragcover";var e=t.style;return e.position="fixed",e.left=0,e.right=0,e.top=0,e.bottom=0,e.zIndex=999999999,e.background="none",document.body.appendChild(t),t}function f(t){return n(t.changedTouches?t.changedTouches[0]:t,document.body)}l.unhover=c.wrapped,l.unhoverRaw=c.raw,l.init=function(t){var e,r,n,c,h,p,d,g,m=t.gd,v=1,y=m._context.doubleClickDelay,x=t.element;m._mouseDownTime||(m._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=t.clampFn||function(t,e,r){return Math.abs(t)<r&&(t=0),Math.abs(e)<r&&(e=0),[t,e]};function _(a){m._dragged=!1,m._dragging=!0;var o=f(a);e=o[0],r=o[1],d=a.target,p=a,g=2===a.buttons||a.ctrlKey,void 0===a.clientX&&void 0===a.clientY&&(a.clientX=e,a.clientY=r),(n=(new Date).getTime())-m._mouseDownTime<y?v+=1:(v=1,m._mouseDownTime=n),t.prepFn&&t.prepFn(a,e,r),i&&!g?(h=u()).style.cursor=window.getComputedStyle(x).cursor:i||(h=document,c=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(x).cursor),document.addEventListener("mouseup",T),document.addEventListener("touchend",T),!1!==t.dragmode&&(a.preventDefault(),document.addEventListener("mousemove",w),document.addEventListener("touchmove",w,{passive:!1}))}function w(n){n.preventDefault();var i=f(n),a=t.minDrag||s.MINDRAG,o=b(i[0]-e,i[1]-r,a),c=o[0],u=o[1];(c||u)&&(m._dragged=!0,l.unhover(m,n)),m._dragged&&t.moveFn&&!g&&(m._dragdata={element:x,dx:c,dy:u},t.moveFn(c,u))}function T(e){if(delete m._dragdata,!1!==t.dragmode&&(e.preventDefault(),document.removeEventListener("mousemove",w),document.removeEventListener("touchmove",w)),document.removeEventListener("mouseup",T),document.removeEventListener("touchend",T),i?o(h):c&&(h.documentElement.style.cursor=c,c=null),m._dragging){if(m._dragging=!1,(new Date).getTime()-m._mouseDownTime>y&&(v=Math.max(v-1,1)),m._dragged)t.doneFn&&t.doneFn();else if(t.clickFn&&t.clickFn(v,p),!g){var r;try{r=new MouseEvent("click",e)}catch(t){var n=f(e);(r=document.createEvent("MouseEvents")).initMouseEvent("click",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,n[0],n[1],e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}d.dispatchEvent(r)}m._dragging=!1,m._dragged=!1}else m._dragged=!1}},l.coverSlip=u},{"../../lib":503,"../../plots/cartesian/constants":561,"./align":382,"./cursor":383,"./unhover":386,"has-hover":228,"has-passive-events":229,"mouse-event-offset":242}],386:[function(t,e,r){"use strict";var n=t("../../lib/events"),i=t("../../lib/throttle"),a=t("../../lib/dom").getGraphDiv,o=t("../fx/constants"),s=e.exports={};s.wrapped=function(t,e,r){(t=a(t))._fullLayout&&i.clear(t._fullLayout._uid+o.HOVERID),s.raw(t,e,r)},s.raw=function(t,e){var r=t._fullLayout,i=t._hoverdata;e||(e={}),e.target&&!t._dragged&&!1===n.triggerHandler(t,"plotly_beforehover",e)||(r._hoverlayer.selectAll("g").remove(),r._hoverlayer.selectAll("line").remove(),r._hoverlayer.selectAll("circle").remove(),t._hoverdata=void 0,e.target&&i&&t.emit("plotly_unhover",{event:e,points:i}))}},{"../../lib/dom":491,"../../lib/events":492,"../../lib/throttle":530,"../fx/constants":400}],387:[function(t,e,r){"use strict";r.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},r.pattern={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},{}],388:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=i.numberFormat,o=t("fast-isnumeric"),s=t("tinycolor2"),l=t("../../registry"),c=t("../color"),u=t("../colorscale"),f=i.strTranslate,h=t("../../lib/svg_text_utils"),p=t("../../constants/xmlns_namespaces"),d=t("../../constants/alignment").LINE_SPACING,g=t("../../constants/interactions").DESELECTDIM,m=t("../../traces/scatter/subtypes"),v=t("../../traces/scatter/make_bubble_size_func"),y=t("../../components/fx/helpers").appendArrayPointValue,x=e.exports={};x.font=function(t,e,r,n){i.isPlainObject(e)&&(n=e.color,r=e.size,e=e.family),e&&t.style("font-family",e),r+1&&t.style("font-size",r+"px"),n&&t.call(c.fill,n)},x.setPosition=function(t,e,r){t.attr("x",e).attr("y",r)},x.setSize=function(t,e,r){t.attr("width",e).attr("height",r)},x.setRect=function(t,e,r,n,i){t.call(x.setPosition,e,r).call(x.setSize,n,i)},x.translatePoint=function(t,e,r,n){var i=r.c2p(t.x),a=n.c2p(t.y);return!!(o(i)&&o(a)&&e.node())&&("text"===e.node().nodeName?e.attr("x",i).attr("y",a):e.attr("transform",f(i,a)),!0)},x.translatePoints=function(t,e,r){t.each((function(t){var i=n.select(this);x.translatePoint(t,i,e,r)}))},x.hideOutsideRangePoint=function(t,e,r,n,i,a){e.attr("display",r.isPtWithinRange(t,i)&&n.isPtWithinRange(t,a)?null:"none")},x.hideOutsideRangePoints=function(t,e){if(e._hasClipOnAxisFalse){var r=e.xaxis,i=e.yaxis;t.each((function(e){var a=e[0].trace,o=a.xcalendar,s=a.ycalendar,c=l.traceIs(a,"bar-like")?".bartext":".point,.textpoint";t.selectAll(c).each((function(t){x.hideOutsideRangePoint(t,n.select(this),r,i,o,s)}))}))}},x.crispRound=function(t,e,r){return e&&o(e)?t._context.staticPlot?e:e<1?1:Math.round(e):r||0},x.singleLineStyle=function(t,e,r,n,i){e.style("fill","none");var a=(((t||[])[0]||{}).trace||{}).line||{},o=r||a.width||0,s=i||a.dash||"";c.stroke(e,n||a.color),x.dashLine(e,s,o)},x.lineGroupStyle=function(t,e,r,i){t.style("fill","none").each((function(t){var a=(((t||[])[0]||{}).trace||{}).line||{},o=e||a.width||0,s=i||a.dash||"";n.select(this).call(c.stroke,r||a.color).call(x.dashLine,s,o)}))},x.dashLine=function(t,e,r){r=+r||0,e=x.dashStyle(e,r),t.style({"stroke-dasharray":e,"stroke-width":r+"px"})},x.dashStyle=function(t,e){e=+e||1;var r=Math.max(e,3);return"solid"===t?t="":"dot"===t?t=r+"px,"+r+"px":"dash"===t?t=3*r+"px,"+3*r+"px":"longdash"===t?t=5*r+"px,"+5*r+"px":"dashdot"===t?t=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===t&&(t=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),t},x.singleFillStyle=function(t){var e=(((n.select(t.node()).data()[0]||[])[0]||{}).trace||{}).fillcolor;e&&t.call(c.fill,e)},x.fillGroupStyle=function(t){t.style("stroke-width",0).each((function(t){var e=n.select(this);t[0].trace&&e.call(c.fill,t[0].trace.fillcolor)}))};var b=t("./symbol_defs");x.symbolNames=[],x.symbolFuncs=[],x.symbolNeedLines={},x.symbolNoDot={},x.symbolNoFill={},x.symbolList=[],Object.keys(b).forEach((function(t){var e=b[t],r=e.n;x.symbolList.push(r,String(r),t,r+100,String(r+100),t+"-open"),x.symbolNames[r]=t,x.symbolFuncs[r]=e.f,e.needLine&&(x.symbolNeedLines[r]=!0),e.noDot?x.symbolNoDot[r]=!0:x.symbolList.push(r+200,String(r+200),t+"-dot",r+300,String(r+300),t+"-open-dot"),e.noFill&&(x.symbolNoFill[r]=!0)}));var _=x.symbolNames.length;function w(t,e){var r=t%100;return x.symbolFuncs[r](e)+(t>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}x.symbolNumber=function(t){if(o(t))t=+t;else if("string"==typeof t){var e=0;t.indexOf("-open")>0&&(e=100,t=t.replace("-open","")),t.indexOf("-dot")>0&&(e+=200,t=t.replace("-dot","")),(t=x.symbolNames.indexOf(t))>=0&&(t+=e)}return t%100>=_||t>=400?0:Math.floor(Math.max(t,0))};var T={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},A=a("~f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:T},horizontalreversed:{node:"linearGradient",attrs:T,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};x.gradient=function(t,e,r,a,o,l){for(var u=o.length,f=M[a],h=new Array(u),p=0;p<u;p++)f.reversed?h[u-1-p]=[A(100*(1-o[p][0])),o[p][1]]:h[p]=[A(100*o[p][0]),o[p][1]];var d=e._fullLayout,g="g"+d._uid+"-"+r,m=d._defs.select(".gradients").selectAll("#"+g).data([a+h.join(";")],i.identity);m.exit().remove(),m.enter().append(f.node).each((function(){var t=n.select(this);f.attrs&&t.attr(f.attrs),t.attr("id",g);var e=t.selectAll("stop").data(h);e.exit().remove(),e.enter().append("stop"),e.each((function(t){var e=s(t[1]);n.select(this).attr({offset:t[0]+"%","stop-color":c.tinyRGB(e),"stop-opacity":e.getAlpha()})}))})),t.style(l,D(g,e)).style(l+"-opacity",null);var v=function(t){return"."+t.attr("class").replace(/\s/g,".")},y=v(n.select(t.node().parentNode))+">"+v(t);d._gradientUrlQueryParts[y]=1},x.pattern=function(t,e,r,a,o,s,l,u,f,h,p,d){var g="legend"===e;u&&("overlay"===f?(h=u,p=c.contrast(h)):(h=void 0,p=u));var m,v,y,x,b,_,w,T,k,A,M,S=r._fullLayout,E="p"+S._uid+"-"+a,L={};switch(o){case"/":m=s*Math.sqrt(2),v=s*Math.sqrt(2),_="path",L={d:y="M-"+m/4+","+v/4+"l"+m/2+",-"+v/2+"M0,"+v+"L"+m+",0M"+m/4*3+","+v/4*5+"l"+m/2+",-"+v/2,opacity:d,stroke:p,"stroke-width":(x=l*s)+"px"};break;case"\\":m=s*Math.sqrt(2),v=s*Math.sqrt(2),_="path",L={d:y="M"+m/4*3+",-"+v/4+"l"+m/2+","+v/2+"M0,0L"+m+","+v+"M-"+m/4+","+v/4*3+"l"+m/2+","+v/2,opacity:d,stroke:p,"stroke-width":(x=l*s)+"px"};break;case"x":m=s*Math.sqrt(2),v=s*Math.sqrt(2),y="M-"+m/4+","+v/4+"l"+m/2+",-"+v/2+"M0,"+v+"L"+m+",0M"+m/4*3+","+v/4*5+"l"+m/2+",-"+v/2+"M"+m/4*3+",-"+v/4+"l"+m/2+","+v/2+"M0,0L"+m+","+v+"M-"+m/4+","+v/4*3+"l"+m/2+","+v/2,x=s-s*Math.sqrt(1-l),_="path",L={d:y,opacity:d,stroke:p,"stroke-width":x+"px"};break;case"|":_="path",_="path",L={d:y="M"+(m=s)/2+",0L"+m/2+","+(v=s),opacity:d,stroke:p,"stroke-width":(x=l*s)+"px"};break;case"-":_="path",_="path",L={d:y="M0,"+(v=s)/2+"L"+(m=s)+","+v/2,opacity:d,stroke:p,"stroke-width":(x=l*s)+"px"};break;case"+":_="path",y="M"+(m=s)/2+",0L"+m/2+","+(v=s)+"M0,"+v/2+"L"+m+","+v/2,x=s-s*Math.sqrt(1-l),_="path",L={d:y,opacity:d,stroke:p,"stroke-width":x+"px"};break;case".":m=s,v=s,l<Math.PI/4?b=Math.sqrt(l*s*s/Math.PI):(w=l,T=Math.PI/4,k=1,A=s/2,M=s/Math.sqrt(2),b=A+(M-A)*(w-T)/(k-T)),_="circle",L={cx:m/2,cy:v/2,r:b,opacity:d,fill:p}}var C=[o||"noSh",h||"noBg",p||"noFg",s,l].join(";"),P=S._defs.select(".patterns").selectAll("#"+E).data([C],i.identity);P.exit().remove(),P.enter().append("pattern").each((function(){var t=n.select(this);if(t.attr({id:E,width:m+"px",height:v+"px",patternUnits:"userSpaceOnUse",patternTransform:g?"scale(0.8)":""}),h){var e=t.selectAll("rect").data([0]);e.exit().remove(),e.enter().append("rect").attr({width:m+"px",height:v+"px",fill:h})}var r=t.selectAll(_).data([0]);r.exit().remove(),r.enter().append(_).attr(L)})),t.style("fill",D(E,r)).style("fill-opacity",null),t.classed("pattern_filled",!0);var I="."+n.select(t.node().parentNode).attr("class").replace(/\s/g,".")+">.pattern_filled";S._patternUrlQueryParts[I]=1},x.initGradients=function(t){var e=t._fullLayout;i.ensureSingle(e._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),e._gradientUrlQueryParts={}},x.initPatterns=function(t){var e=t._fullLayout;i.ensureSingle(e._defs,"g","patterns").selectAll("pattern").remove(),e._patternUrlQueryParts={}},x.getPatternAttr=function(t,e,r){return t&&i.isArrayOrTypedArray(t)?e<t.length?t[e]:r:t},x.pointStyle=function(t,e,r){if(t.size()){var i=x.makePointStyleFns(e);t.each((function(t){x.singlePointStyle(t,n.select(this),e,i,r)}))}},x.singlePointStyle=function(t,e,r,n,a){var o=r.marker,s=o.line;if(e.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(t):void 0===t.mo?o.opacity:t.mo),n.ms2mrc){var l;l="various"===t.ms||"various"===o.size?3:n.ms2mrc(t.ms),t.mrc=l,n.selectedSizeFn&&(l=t.mrc=n.selectedSizeFn(t));var u=x.symbolNumber(t.mx||o.symbol)||0;t.om=u%200>=100,e.attr("d",w(u,l))}var f,h,p,d=!1;if(t.so)p=s.outlierwidth,h=s.outliercolor,f=o.outliercolor;else{var g=(s||{}).width;p=(t.mlw+1||g+1||(t.trace?(t.trace.marker.line||{}).width:0)+1)-1||0,h="mlc"in t?t.mlcc=n.lineScale(t.mlc):i.isArrayOrTypedArray(s.color)?c.defaultLine:s.color,i.isArrayOrTypedArray(o.color)&&(f=c.defaultLine,d=!0),f="mc"in t?t.mcc=n.markerScale(t.mc):o.color||"rgba(0,0,0,0)",n.selectedColorFn&&(f=n.selectedColorFn(t))}if(t.om)e.call(c.stroke,f).style({"stroke-width":(p||1)+"px",fill:"none"});else{e.style("stroke-width",(t.isBlank?0:p)+"px");var m=o.gradient,v=t.mgt;v?d=!0:v=m&&m.type,i.isArrayOrTypedArray(v)&&(v=v[0],M[v]||(v=0));var y=o.pattern,b=y&&x.getPatternAttr(y.shape,t.i,"");if(v&&"none"!==v){var _=t.mgc;_?d=!0:_=m.color;var T=r.uid;d&&(T+="-"+t.i),x.gradient(e,a,T,v,[[0,_],[1,f]],"fill")}else if(b){var k=x.getPatternAttr(y.bgcolor,t.i,null),A=x.getPatternAttr(y.fgcolor,t.i,null),S=y.fgopacity,E=x.getPatternAttr(y.size,t.i,8),L=x.getPatternAttr(y.solidity,t.i,.3),C=t.mcc||i.isArrayOrTypedArray(y.shape)||i.isArrayOrTypedArray(y.bgcolor)||i.isArrayOrTypedArray(y.size)||i.isArrayOrTypedArray(y.solidity),P=r.uid;C&&(P+="-"+t.i),x.pattern(e,"point",a,P,b,E,L,t.mcc,y.fillmode,k,A,S)}else c.fill(e,f);p&&c.stroke(e,h)}},x.makePointStyleFns=function(t){var e={},r=t.marker;return e.markerScale=x.tryColorscale(r,""),e.lineScale=x.tryColorscale(r,"line"),l.traceIs(t,"symbols")&&(e.ms2mrc=m.isBubble(t)?v(t):function(){return(r.size||6)/2}),t.selectedpoints&&i.extendFlat(e,x.makeSelectedPointStyleFns(t)),e},x.makeSelectedPointStyleFns=function(t){var e={},r=t.selected||{},n=t.unselected||{},a=t.marker||{},o=r.marker||{},s=n.marker||{},c=a.opacity,u=o.opacity,f=s.opacity,h=void 0!==u,p=void 0!==f;(i.isArrayOrTypedArray(c)||h||p)&&(e.selectedOpacityFn=function(t){var e=void 0===t.mo?a.opacity:t.mo;return t.selected?h?u:e:p?f:g*e});var d=a.color,m=o.color,v=s.color;(m||v)&&(e.selectedColorFn=function(t){var e=t.mcc||d;return t.selected?m||e:v||e});var y=a.size,x=o.size,b=s.size,_=void 0!==x,w=void 0!==b;return l.traceIs(t,"symbols")&&(_||w)&&(e.selectedSizeFn=function(t){var e=t.mrc||y/2;return t.selected?_?x/2:e:w?b/2:e}),e},x.makeSelectedTextStyleFns=function(t){var e={},r=t.selected||{},n=t.unselected||{},i=t.textfont||{},a=r.textfont||{},o=n.textfont||{},s=i.color,l=a.color,u=o.color;return e.selectedTextColorFn=function(t){var e=t.tc||s;return t.selected?l||e:u||(l?e:c.addOpacity(e,g))},e},x.selectedPointStyle=function(t,e){if(t.size()&&e.selectedpoints){var r=x.makeSelectedPointStyleFns(e),i=e.marker||{},a=[];r.selectedOpacityFn&&a.push((function(t,e){t.style("opacity",r.selectedOpacityFn(e))})),r.selectedColorFn&&a.push((function(t,e){c.fill(t,r.selectedColorFn(e))})),r.selectedSizeFn&&a.push((function(t,e){var n=e.mx||i.symbol||0,a=r.selectedSizeFn(e);t.attr("d",w(x.symbolNumber(n),a)),e.mrc2=a})),a.length&&t.each((function(t){for(var e=n.select(this),r=0;r<a.length;r++)a[r](e,t)}))}},x.tryColorscale=function(t,e){var r=e?i.nestedProperty(t,e).get():t;if(r){var n=r.color;if((r.colorscale||r._colorAx)&&i.isArrayOrTypedArray(n))return u.makeColorScaleFuncFromTrace(r)}return i.identity};var S={start:1,end:-1,middle:0,bottom:1,top:-1};function E(t,e,r,i,a){var o=n.select(t.node().parentNode),s=-1!==e.indexOf("top")?"top":-1!==e.indexOf("bottom")?"bottom":"middle",l=-1!==e.indexOf("left")?"end":-1!==e.indexOf("right")?"start":"middle",c=i?i/.8+1:0,u=(h.lineCount(t)-1)*d+1,p=S[l]*c,g=.75*r+S[s]*c+(S[s]-1)*u*r/2;t.attr("text-anchor",l),a||o.attr("transform",f(p,g))}function L(t,e){var r=t.ts||e.textfont.size;return o(r)&&r>0?r:0}x.textPointStyle=function(t,e,r){if(t.size()){var a;if(e.selectedpoints){var o=x.makeSelectedTextStyleFns(e);a=o.selectedTextColorFn}var s=e.texttemplate,l=r._fullLayout;t.each((function(t){var o=n.select(this),c=s?i.extractOption(t,e,"txt","texttemplate"):i.extractOption(t,e,"tx","text");if(c||0===c){if(s){var u=e._module.formatLabels,f=u?u(t,e,l):{},p={};y(p,e,t.i);var d=e._meta||{};c=i.texttemplateString(c,f,l._d3locale,p,t,d)}var g=t.tp||e.textposition,m=L(t,e),v=a?a(t):t.tc||e.textfont.color;o.call(x.font,t.tf||e.textfont.family,m,v).text(c).call(h.convertToTspans,r).call(E,g,m,t.mrc)}else o.remove()}))}},x.selectedTextStyle=function(t,e){if(t.size()&&e.selectedpoints){var r=x.makeSelectedTextStyleFns(e);t.each((function(t){var i=n.select(this),a=r.selectedTextColorFn(t),o=t.tp||e.textposition,s=L(t,e);c.fill(i,a);var u=l.traceIs(e,"bar-like");E(i,o,s,t.mrc2||t.mrc,u)}))}};function C(t,e,r,i){var a=t[0]-e[0],o=t[1]-e[1],s=r[0]-e[0],l=r[1]-e[1],c=Math.pow(a*a+o*o,.25),u=Math.pow(s*s+l*l,.25),f=(u*u*a-c*c*s)*i,h=(u*u*o-c*c*l)*i,p=3*u*(c+u),d=3*c*(c+u);return[[n.round(e[0]+(p&&f/p),2),n.round(e[1]+(p&&h/p),2)],[n.round(e[0]-(d&&f/d),2),n.round(e[1]-(d&&h/d),2)]]}x.smoothopen=function(t,e){if(t.length<3)return"M"+t.join("L");var r,n="M"+t[0],i=[];for(r=1;r<t.length-1;r++)i.push(C(t[r-1],t[r],t[r+1],e));for(n+="Q"+i[0][0]+" "+t[1],r=2;r<t.length-1;r++)n+="C"+i[r-2][1]+" "+i[r-1][0]+" "+t[r];return n+="Q"+i[t.length-3][1]+" "+t[t.length-1]},x.smoothclosed=function(t,e){if(t.length<3)return"M"+t.join("L")+"Z";var r,n="M"+t[0],i=t.length-1,a=[C(t[i],t[0],t[1],e)];for(r=1;r<i;r++)a.push(C(t[r-1],t[r],t[r+1],e));for(a.push(C(t[i-1],t[i],t[0],e)),r=1;r<=i;r++)n+="C"+a[r-1][1]+" "+a[r][0]+" "+t[r];return n+="C"+a[i][1]+" "+a[0][0]+" "+t[0]+"Z"};var P={hv:function(t,e){return"H"+n.round(e[0],2)+"V"+n.round(e[1],2)},vh:function(t,e){return"V"+n.round(e[1],2)+"H"+n.round(e[0],2)},hvh:function(t,e){return"H"+n.round((t[0]+e[0])/2,2)+"V"+n.round(e[1],2)+"H"+n.round(e[0],2)},vhv:function(t,e){return"V"+n.round((t[1]+e[1])/2,2)+"H"+n.round(e[0],2)+"V"+n.round(e[1],2)}},I=function(t,e){return"L"+n.round(e[0],2)+","+n.round(e[1],2)};x.steps=function(t){var e=P[t]||I;return function(t){for(var r="M"+n.round(t[0][0],2)+","+n.round(t[0][1],2),i=1;i<t.length;i++)r+=e(t[i-1],t[i]);return r}},x.makeTester=function(){var t=i.ensureSingleById(n.select("body"),"svg","js-plotly-tester",(function(t){t.attr(p.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})})),e=i.ensureSingle(t,"path","js-reference-point",(function(t){t.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})}));x.tester=t,x.testref=e},x.savedBBoxes={};var O=0;function z(t){var e=t.getAttribute("data-unformatted");if(null!==e)return e+t.getAttribute("data-math")+t.getAttribute("text-anchor")+t.getAttribute("style")}function D(t,e){if(!t)return null;var r=e._context,n=r._exportedPlot?"":r._baseUrl||"";return n?"url('"+n+"#"+t+"')":"url(#"+t+")"}x.bBox=function(t,e,r){var a,o,s;if(r||(r=z(t)),r){if(a=x.savedBBoxes[r])return i.extendFlat({},a)}else if(1===t.childNodes.length){var l=t.childNodes[0];if(r=z(l)){var c=+l.getAttribute("x")||0,u=+l.getAttribute("y")||0,f=l.getAttribute("transform");if(!f){var p=x.bBox(l,!1,r);return c&&(p.left+=c,p.right+=c),u&&(p.top+=u,p.bottom+=u),p}if(r+="~"+c+"~"+u+"~"+f,a=x.savedBBoxes[r])return i.extendFlat({},a)}}e?o=t:(s=x.tester.node(),o=t.cloneNode(!0),s.appendChild(o)),n.select(o).attr("transform",null).call(h.positionText,0,0);var d=o.getBoundingClientRect(),g=x.testref.node().getBoundingClientRect();e||s.removeChild(o);var m={height:d.height,width:d.width,left:d.left-g.left,top:d.top-g.top,right:d.right-g.left,bottom:d.bottom-g.top};return O>=1e4&&(x.savedBBoxes={},O=0),r&&(x.savedBBoxes[r]=m),O++,i.extendFlat({},m)},x.setClipUrl=function(t,e,r){t.attr("clip-path",D(e,r))},x.getTranslate=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(t,e,r){return[e,r].join(" ")})).split(" ");return{x:+e[0]||0,y:+e[1]||0}},x.setTranslate=function(t,e,r){var n=t.attr?"attr":"getAttribute",i=t.attr?"attr":"setAttribute",a=t[n]("transform")||"";return e=e||0,r=r||0,a=a.replace(/(\btranslate\(.*?\);?)/,"").trim(),a=(a+=f(e,r)).trim(),t[i]("transform",a),a},x.getScale=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(t,e,r){return[e,r].join(" ")})).split(" ");return{x:+e[0]||1,y:+e[1]||1}},x.setScale=function(t,e,r){var n=t.attr?"attr":"getAttribute",i=t.attr?"attr":"setAttribute",a=t[n]("transform")||"";return e=e||1,r=r||1,a=a.replace(/(\bscale\(.*?\);?)/,"").trim(),a=(a+="scale("+e+","+r+")").trim(),t[i]("transform",a),a};var R=/\s*sc.*/;x.setPointGroupScale=function(t,e,r){if(e=e||1,r=r||1,t){var n=1===e&&1===r?"":"scale("+e+","+r+")";t.each((function(){var t=(this.getAttribute("transform")||"").replace(R,"");t=(t+=n).trim(),this.setAttribute("transform",t)}))}};var F=/translate\([^)]*\)\s*$/;x.setTextPointsScale=function(t,e,r){t&&t.each((function(){var t,i=n.select(this),a=i.select("text");if(a.node()){var o=parseFloat(a.attr("x")||0),s=parseFloat(a.attr("y")||0),l=(i.attr("transform")||"").match(F);t=1===e&&1===r?[]:[f(o,s),"scale("+e+","+r+")",f(-o,-s)],l&&t.push(l),i.attr("transform",t.join(""))}}))}},{"../../components/fx/helpers":402,"../../constants/alignment":471,"../../constants/interactions":478,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../registry":638,"../../traces/scatter/make_bubble_size_func":943,"../../traces/scatter/subtypes":951,"../color":366,"../colorscale":378,"./symbol_defs":389,"@plotly/d3":58,"fast-isnumeric":190,tinycolor2:312}],389:[function(t,e,r){"use strict";var n=t("@plotly/d3");e.exports={circle:{n:0,f:function(t){var e=n.round(t,2);return"M"+e+",0A"+e+","+e+" 0 1,1 0,-"+e+"A"+e+","+e+" 0 0,1 "+e+",0Z"}},square:{n:1,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"H-"+e+"V-"+e+"H"+e+"Z"}},diamond:{n:2,f:function(t){var e=n.round(1.3*t,2);return"M"+e+",0L0,"+e+"L-"+e+",0L0,-"+e+"Z"}},cross:{n:3,f:function(t){var e=n.round(.4*t,2),r=n.round(1.2*t,2);return"M"+r+","+e+"H"+e+"V"+r+"H-"+e+"V"+e+"H-"+r+"V-"+e+"H-"+e+"V-"+r+"H"+e+"V-"+e+"H"+r+"Z"}},x:{n:4,f:function(t){var e=n.round(.8*t/Math.sqrt(2),2),r="l"+e+","+e,i="l"+e+",-"+e,a="l-"+e+",-"+e,o="l-"+e+","+e;return"M0,"+e+r+i+a+i+a+o+a+o+r+o+r+"Z"}},"triangle-up":{n:5,f:function(t){var e=n.round(2*t/Math.sqrt(3),2);return"M-"+e+","+n.round(t/2,2)+"H"+e+"L0,-"+n.round(t,2)+"Z"}},"triangle-down":{n:6,f:function(t){var e=n.round(2*t/Math.sqrt(3),2);return"M-"+e+",-"+n.round(t/2,2)+"H"+e+"L0,"+n.round(t,2)+"Z"}},"triangle-left":{n:7,f:function(t){var e=n.round(2*t/Math.sqrt(3),2);return"M"+n.round(t/2,2)+",-"+e+"V"+e+"L-"+n.round(t,2)+",0Z"}},"triangle-right":{n:8,f:function(t){var e=n.round(2*t/Math.sqrt(3),2);return"M-"+n.round(t/2,2)+",-"+e+"V"+e+"L"+n.round(t,2)+",0Z"}},"triangle-ne":{n:9,f:function(t){var e=n.round(.6*t,2),r=n.round(1.2*t,2);return"M-"+r+",-"+e+"H"+e+"V"+r+"Z"}},"triangle-se":{n:10,f:function(t){var e=n.round(.6*t,2),r=n.round(1.2*t,2);return"M"+e+",-"+r+"V"+e+"H-"+r+"Z"}},"triangle-sw":{n:11,f:function(t){var e=n.round(.6*t,2),r=n.round(1.2*t,2);return"M"+r+","+e+"H-"+e+"V-"+r+"Z"}},"triangle-nw":{n:12,f:function(t){var e=n.round(.6*t,2),r=n.round(1.2*t,2);return"M-"+e+","+r+"V-"+e+"H"+r+"Z"}},pentagon:{n:13,f:function(t){var e=n.round(.951*t,2),r=n.round(.588*t,2),i=n.round(-t,2),a=n.round(-.309*t,2);return"M"+e+","+a+"L"+r+","+n.round(.809*t,2)+"H-"+r+"L-"+e+","+a+"L0,"+i+"Z"}},hexagon:{n:14,f:function(t){var e=n.round(t,2),r=n.round(t/2,2),i=n.round(t*Math.sqrt(3)/2,2);return"M"+i+",-"+r+"V"+r+"L0,"+e+"L-"+i+","+r+"V-"+r+"L0,-"+e+"Z"}},hexagon2:{n:15,f:function(t){var e=n.round(t,2),r=n.round(t/2,2),i=n.round(t*Math.sqrt(3)/2,2);return"M-"+r+","+i+"H"+r+"L"+e+",0L"+r+",-"+i+"H-"+r+"L-"+e+",0Z"}},octagon:{n:16,f:function(t){var e=n.round(.924*t,2),r=n.round(.383*t,2);return"M-"+r+",-"+e+"H"+r+"L"+e+",-"+r+"V"+r+"L"+r+","+e+"H-"+r+"L-"+e+","+r+"V-"+r+"Z"}},star:{n:17,f:function(t){var e=1.4*t,r=n.round(.225*e,2),i=n.round(.951*e,2),a=n.round(.363*e,2),o=n.round(.588*e,2),s=n.round(-e,2),l=n.round(-.309*e,2),c=n.round(.118*e,2),u=n.round(.809*e,2);return"M"+r+","+l+"H"+i+"L"+a+","+c+"L"+o+","+u+"L0,"+n.round(.382*e,2)+"L-"+o+","+u+"L-"+a+","+c+"L-"+i+","+l+"H-"+r+"L0,"+s+"Z"}},hexagram:{n:18,f:function(t){var e=n.round(.66*t,2),r=n.round(.38*t,2),i=n.round(.76*t,2);return"M-"+i+",0l-"+r+",-"+e+"h"+i+"l"+r+",-"+e+"l"+r+","+e+"h"+i+"l-"+r+","+e+"l"+r+","+e+"h-"+i+"l-"+r+","+e+"l-"+r+",-"+e+"h-"+i+"Z"}},"star-triangle-up":{n:19,f:function(t){var e=n.round(t*Math.sqrt(3)*.8,2),r=n.round(.8*t,2),i=n.round(1.6*t,2),a=n.round(4*t,2),o="A "+a+","+a+" 0 0 1 ";return"M-"+e+","+r+o+e+","+r+o+"0,-"+i+o+"-"+e+","+r+"Z"}},"star-triangle-down":{n:20,f:function(t){var e=n.round(t*Math.sqrt(3)*.8,2),r=n.round(.8*t,2),i=n.round(1.6*t,2),a=n.round(4*t,2),o="A "+a+","+a+" 0 0 1 ";return"M"+e+",-"+r+o+"-"+e+",-"+r+o+"0,"+i+o+e+",-"+r+"Z"}},"star-square":{n:21,f:function(t){var e=n.round(1.1*t,2),r=n.round(2*t,2),i="A "+r+","+r+" 0 0 1 ";return"M-"+e+",-"+e+i+"-"+e+","+e+i+e+","+e+i+e+",-"+e+i+"-"+e+",-"+e+"Z"}},"star-diamond":{n:22,f:function(t){var e=n.round(1.4*t,2),r=n.round(1.9*t,2),i="A "+r+","+r+" 0 0 1 ";return"M-"+e+",0"+i+"0,"+e+i+e+",0"+i+"0,-"+e+i+"-"+e+",0Z"}},"diamond-tall":{n:23,f:function(t){var e=n.round(.7*t,2),r=n.round(1.4*t,2);return"M0,"+r+"L"+e+",0L0,-"+r+"L-"+e+",0Z"}},"diamond-wide":{n:24,f:function(t){var e=n.round(1.4*t,2),r=n.round(.7*t,2);return"M0,"+r+"L"+e+",0L0,-"+r+"L-"+e+",0Z"}},hourglass:{n:25,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"H-"+e+"L"+e+",-"+e+"H-"+e+"Z"},noDot:!0},bowtie:{n:26,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"V-"+e+"L-"+e+","+e+"V-"+e+"Z"},noDot:!0},"circle-cross":{n:27,f:function(t){var e=n.round(t,2);return"M0,"+e+"V-"+e+"M"+e+",0H-"+e+"M"+e+",0A"+e+","+e+" 0 1,1 0,-"+e+"A"+e+","+e+" 0 0,1 "+e+",0Z"},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(t){var e=n.round(t,2),r=n.round(t/Math.sqrt(2),2);return"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r+"M"+e+",0A"+e+","+e+" 0 1,1 0,-"+e+"A"+e+","+e+" 0 0,1 "+e+",0Z"},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(t){var e=n.round(t,2);return"M0,"+e+"V-"+e+"M"+e+",0H-"+e+"M"+e+","+e+"H-"+e+"V-"+e+"H"+e+"Z"},needLine:!0,noDot:!0},"square-x":{n:30,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"L-"+e+",-"+e+"M"+e+",-"+e+"L-"+e+","+e+"M"+e+","+e+"H-"+e+"V-"+e+"H"+e+"Z"},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(t){var e=n.round(1.3*t,2);return"M"+e+",0L0,"+e+"L-"+e+",0L0,-"+e+"ZM0,-"+e+"V"+e+"M-"+e+",0H"+e},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(t){var e=n.round(1.3*t,2),r=n.round(.65*t,2);return"M"+e+",0L0,"+e+"L-"+e+",0L0,-"+e+"ZM-"+r+",-"+r+"L"+r+","+r+"M-"+r+","+r+"L"+r+",-"+r},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(t){var e=n.round(1.4*t,2);return"M0,"+e+"V-"+e+"M"+e+",0H-"+e},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"L-"+e+",-"+e+"M"+e+",-"+e+"L-"+e+","+e},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(t){var e=n.round(1.2*t,2),r=n.round(.85*t,2);return"M0,"+e+"V-"+e+"M"+e+",0H-"+e+"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(t){var e=n.round(t/2,2),r=n.round(t,2);return"M"+e+","+r+"V-"+r+"m-"+r+",0V"+r+"M"+r+","+e+"H-"+r+"m0,-"+r+"H"+r},needLine:!0,noFill:!0},"y-up":{n:37,f:function(t){var e=n.round(1.2*t,2),r=n.round(1.6*t,2),i=n.round(.8*t,2);return"M-"+e+","+i+"L0,0M"+e+","+i+"L0,0M0,-"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(t){var e=n.round(1.2*t,2),r=n.round(1.6*t,2),i=n.round(.8*t,2);return"M-"+e+",-"+i+"L0,0M"+e+",-"+i+"L0,0M0,"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(t){var e=n.round(1.2*t,2),r=n.round(1.6*t,2),i=n.round(.8*t,2);return"M"+i+","+e+"L0,0M"+i+",-"+e+"L0,0M-"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(t){var e=n.round(1.2*t,2),r=n.round(1.6*t,2),i=n.round(.8*t,2);return"M-"+i+","+e+"L0,0M-"+i+",-"+e+"L0,0M"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(t){var e=n.round(1.4*t,2);return"M"+e+",0H-"+e},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(t){var e=n.round(1.4*t,2);return"M0,"+e+"V-"+e},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(t){var e=n.round(t,2);return"M"+e+",-"+e+"L-"+e+","+e},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(t){var e=n.round(t,2);return"M"+e+","+e+"L-"+e+",-"+e},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(t){var e=n.round(t,2);return"M0,0L-"+e+","+n.round(2*t,2)+"H"+e+"Z"},noDot:!0},"arrow-down":{n:46,f:function(t){var e=n.round(t,2);return"M0,0L-"+e+",-"+n.round(2*t,2)+"H"+e+"Z"},noDot:!0},"arrow-left":{n:47,f:function(t){var e=n.round(2*t,2),r=n.round(t,2);return"M0,0L"+e+",-"+r+"V"+r+"Z"},noDot:!0},"arrow-right":{n:48,f:function(t){var e=n.round(2*t,2),r=n.round(t,2);return"M0,0L-"+e+",-"+r+"V"+r+"Z"},noDot:!0},"arrow-bar-up":{n:49,f:function(t){var e=n.round(t,2);return"M-"+e+",0H"+e+"M0,0L-"+e+","+n.round(2*t,2)+"H"+e+"Z"},needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(t){var e=n.round(t,2);return"M-"+e+",0H"+e+"M0,0L-"+e+",-"+n.round(2*t,2)+"H"+e+"Z"},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(t){var e=n.round(2*t,2),r=n.round(t,2);return"M0,-"+r+"V"+r+"M0,0L"+e+",-"+r+"V"+r+"Z"},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(t){var e=n.round(2*t,2),r=n.round(t,2);return"M0,-"+r+"V"+r+"M0,0L-"+e+",-"+r+"V"+r+"Z"},needLine:!0,noDot:!0}}},{"@plotly/d3":58}],390:[function(t,e,r){"use strict";e.exports={visible:{valType:"boolean",editType:"calc"},type:{valType:"enumerated",values:["percent","constant","sqrt","data"],editType:"calc"},symmetric:{valType:"boolean",editType:"calc"},array:{valType:"data_array",editType:"calc"},arrayminus:{valType:"data_array",editType:"calc"},value:{valType:"number",min:0,dflt:10,editType:"calc"},valueminus:{valType:"number",min:0,dflt:10,editType:"calc"},traceref:{valType:"integer",min:0,dflt:0,editType:"style"},tracerefminus:{valType:"integer",min:0,dflt:0,editType:"style"},copy_ystyle:{valType:"boolean",editType:"plot"},copy_zstyle:{valType:"boolean",editType:"style"},color:{valType:"color",editType:"style"},thickness:{valType:"number",min:0,dflt:2,editType:"style"},width:{valType:"number",min:0,editType:"plot"},editType:"calc",_deprecated:{opacity:{valType:"number",editType:"style"}}}},{}],391:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../registry"),a=t("../../plots/cartesian/axes"),o=t("../../lib"),s=t("./compute_error");function l(t,e,r,i){var l=e["error_"+i]||{},c=[];if(l.visible&&-1!==["linear","log"].indexOf(r.type)){for(var u=s(l),f=0;f<t.length;f++){var h=t[f],p=h.i;if(void 0===p)p=f;else if(null===p)continue;var d=h[i];if(n(r.c2l(d))){var g=u(d,p);if(n(g[0])&&n(g[1])){var m=h[i+"s"]=d-g[0],v=h[i+"h"]=d+g[1];c.push(m,v)}}}var y=r._id,x=e._extremes[y],b=a.findExtremes(r,c,o.extendFlat({tozero:x.opts.tozero},{padded:!0}));x.min=x.min.concat(b.min),x.max=x.max.concat(b.max)}}e.exports=function(t){for(var e=t.calcdata,r=0;r<e.length;r++){var n=e[r],o=n[0].trace;if(!0===o.visible&&i.traceIs(o,"errorBarsOK")){var s=a.getFromId(t,o.xaxis),c=a.getFromId(t,o.yaxis);l(n,o,s,"x"),l(n,o,c,"y")}}}},{"../../lib":503,"../../plots/cartesian/axes":554,"../../registry":638,"./compute_error":392,"fast-isnumeric":190}],392:[function(t,e,r){"use strict";function n(t,e){return"percent"===t?function(t){return Math.abs(t*e/100)}:"constant"===t?function(){return Math.abs(e)}:"sqrt"===t?function(t){return Math.sqrt(Math.abs(t))}:void 0}e.exports=function(t){var e=t.type,r=t.symmetric;if("data"===e){var i=t.array||[];if(r)return function(t,e){var r=+i[e];return[r,r]};var a=t.arrayminus||[];return function(t,e){var r=+i[e],n=+a[e];return isNaN(r)&&isNaN(n)?[NaN,NaN]:[n||0,r||0]}}var o=n(e,t.value),s=n(e,t.valueminus);return r||void 0===t.valueminus?function(t){var e=o(t);return[e,e]}:function(t){return[s(t),o(t)]}}},{}],393:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../registry"),a=t("../../lib"),o=t("../../plot_api/plot_template"),s=t("./attributes");e.exports=function(t,e,r,l){var c="error_"+l.axis,u=o.newContainer(e,c),f=t[c]||{};function h(t,e){return a.coerce(f,u,s,t,e)}if(!1!==h("visible",void 0!==f.array||void 0!==f.value||"sqrt"===f.type)){var p=h("type","array"in f?"data":"percent"),d=!0;"sqrt"!==p&&(d=h("symmetric",!(("data"===p?"arrayminus":"valueminus")in f))),"data"===p?(h("array"),h("traceref"),d||(h("arrayminus"),h("tracerefminus"))):"percent"!==p&&"constant"!==p||(h("value"),d||h("valueminus"));var g="copy_"+l.inherit+"style";if(l.inherit)(e["error_"+l.inherit]||{}).visible&&h(g,!(f.color||n(f.thickness)||n(f.width)));l.inherit&&u[g]||(h("color",r),h("thickness"),h("width",i.traceIs(e,"gl3d")?0:4))}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../registry":638,"./attributes":390,"fast-isnumeric":190}],394:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plot_api/edit_types").overrideAll,a=t("./attributes"),o={error_x:n.extendFlat({},a),error_y:n.extendFlat({},a)};delete o.error_x.copy_zstyle,delete o.error_y.copy_zstyle,delete o.error_y.copy_ystyle;var s={error_x:n.extendFlat({},a),error_y:n.extendFlat({},a),error_z:n.extendFlat({},a)};delete s.error_x.copy_ystyle,delete s.error_y.copy_ystyle,delete s.error_z.copy_ystyle,delete s.error_z.copy_zstyle,e.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:o,bar:o,histogram:o,scatter3d:i(s,"calc","nested"),scattergl:i(o,"calc","nested")}},supplyDefaults:t("./defaults"),calc:t("./calc"),makeComputeError:t("./compute_error"),plot:t("./plot"),style:t("./style"),hoverInfo:function(t,e,r){(e.error_y||{}).visible&&(r.yerr=t.yh-t.y,e.error_y.symmetric||(r.yerrneg=t.y-t.ys));(e.error_x||{}).visible&&(r.xerr=t.xh-t.x,e.error_x.symmetric||(r.xerrneg=t.x-t.xs))}}},{"../../lib":503,"../../plot_api/edit_types":536,"./attributes":390,"./calc":391,"./compute_error":392,"./defaults":393,"./plot":395,"./style":396}],395:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../drawing"),o=t("../../traces/scatter/subtypes");e.exports=function(t,e,r,s){var l=r.xaxis,c=r.yaxis,u=s&&s.duration>0;e.each((function(e){var f,h=e[0].trace,p=h.error_x||{},d=h.error_y||{};h.ids&&(f=function(t){return t.id});var g=o.hasMarkers(h)&&h.marker.maxdisplayed>0;d.visible||p.visible||(e=[]);var m=n.select(this).selectAll("g.errorbar").data(e,f);if(m.exit().remove(),e.length){p.visible||m.selectAll("path.xerror").remove(),d.visible||m.selectAll("path.yerror").remove(),m.style("opacity",1);var v=m.enter().append("g").classed("errorbar",!0);u&&v.style("opacity",0).transition().duration(s.duration).style("opacity",1),a.setClipUrl(m,r.layerClipId,t),m.each((function(t){var e=n.select(this),r=function(t,e,r){var n={x:e.c2p(t.x),y:r.c2p(t.y)};void 0!==t.yh&&(n.yh=r.c2p(t.yh),n.ys=r.c2p(t.ys),i(n.ys)||(n.noYS=!0,n.ys=r.c2p(t.ys,!0)));void 0!==t.xh&&(n.xh=e.c2p(t.xh),n.xs=e.c2p(t.xs),i(n.xs)||(n.noXS=!0,n.xs=e.c2p(t.xs,!0)));return n}(t,l,c);if(!g||t.vis){var a,o=e.select("path.yerror");if(d.visible&&i(r.x)&&i(r.yh)&&i(r.ys)){var f=d.width;a="M"+(r.x-f)+","+r.yh+"h"+2*f+"m-"+f+",0V"+r.ys,r.noYS||(a+="m-"+f+",0h"+2*f),!o.size()?o=e.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):u&&(o=o.transition().duration(s.duration).ease(s.easing)),o.attr("d",a)}else o.remove();var h=e.select("path.xerror");if(p.visible&&i(r.y)&&i(r.xh)&&i(r.xs)){var m=(p.copy_ystyle?d:p).width;a="M"+r.xh+","+(r.y-m)+"v"+2*m+"m0,-"+m+"H"+r.xs,r.noXS||(a+="m0,-"+m+"v"+2*m),!h.size()?h=e.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):u&&(h=h.transition().duration(s.duration).ease(s.easing)),h.attr("d",a)}else h.remove()}}))}}))}},{"../../traces/scatter/subtypes":951,"../drawing":388,"@plotly/d3":58,"fast-isnumeric":190}],396:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../color");e.exports=function(t){t.each((function(t){var e=t[0].trace,r=e.error_y||{},a=e.error_x||{},o=n.select(this);o.selectAll("path.yerror").style("stroke-width",r.thickness+"px").call(i.stroke,r.color),a.copy_ystyle&&(a=r),o.selectAll("path.xerror").style("stroke-width",a.thickness+"px").call(i.stroke,a.color)}))}},{"../color":366,"@plotly/d3":58}],397:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("./layout_attributes").hoverlabel,a=t("../../lib/extend").extendFlat;e.exports={hoverlabel:{bgcolor:a({},i.bgcolor,{arrayOk:!0}),bordercolor:a({},i.bordercolor,{arrayOk:!0}),font:n({arrayOk:!0,editType:"none"}),align:a({},i.align,{arrayOk:!0}),namelength:a({},i.namelength,{arrayOk:!0}),editType:"none"}}},{"../../lib/extend":493,"../../plots/font_attributes":585,"./layout_attributes":407}],398:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry");function a(t,e,r,i){i=i||n.identity,Array.isArray(t)&&(e[0][r]=i(t))}e.exports=function(t){var e=t.calcdata,r=t._fullLayout;function o(t){return function(e){return n.coerceHoverinfo({hoverinfo:e},{_module:t._module},r)}}for(var s=0;s<e.length;s++){var l=e[s],c=l[0].trace;if(!i.traceIs(c,"pie-like")){var u=i.traceIs(c,"2dMap")?a:n.fillArray;u(c.hoverinfo,l,"hi",o(c)),c.hovertemplate&&u(c.hovertemplate,l,"ht"),c.hoverlabel&&(u(c.hoverlabel.bgcolor,l,"hbg"),u(c.hoverlabel.bordercolor,l,"hbc"),u(c.hoverlabel.font.size,l,"hts"),u(c.hoverlabel.font.color,l,"htc"),u(c.hoverlabel.font.family,l,"htf"),u(c.hoverlabel.namelength,l,"hnl"),u(c.hoverlabel.align,l,"hta"))}}}},{"../../lib":503,"../../registry":638}],399:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("./hover").hover;e.exports=function(t,e,r){var a=n.getComponentMethod("annotations","onClick")(t,t._hoverdata);function o(){t.emit("plotly_click",{points:t._hoverdata,event:e})}void 0!==r&&i(t,e,r,!0),t._hoverdata&&e&&e.target&&(a&&a.then?a.then(o):o(),e.stopImmediatePropagation&&e.stopImmediatePropagation())}},{"../../registry":638,"./hover":403}],400:[function(t,e,r){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},{}],401:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("./hoverlabel_defaults");e.exports=function(t,e,r,o){var s=n.extendFlat({},o.hoverlabel);e.hovertemplate&&(s.namelength=-1),a(t,e,(function(r,a){return n.coerce(t,e,i,r,a)}),s)}},{"../../lib":503,"./attributes":397,"./hoverlabel_defaults":404}],402:[function(t,e,r){"use strict";var n=t("../../lib");r.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},r.isTraceInSubplots=function(t,e){if("splom"===t.type){for(var n=t.xaxes||[],i=t.yaxes||[],a=0;a<n.length;a++)for(var o=0;o<i.length;o++)if(-1!==e.indexOf(n[a]+i[o]))return!0;return!1}return-1!==e.indexOf(r.getSubplot(t))},r.flat=function(t,e){for(var r=new Array(t.length),n=0;n<t.length;n++)r[n]=e;return r},r.p2c=function(t,e){for(var r=new Array(t.length),n=0;n<t.length;n++)r[n]=t[n].p2c(e);return r},r.getDistanceFunction=function(t,e,n,i){return"closest"===t?i||r.quadrature(e,n):"x"===t.charAt(0)?e:n},r.getClosest=function(t,e,r){if(!1!==r.index)r.index>=0&&r.index<t.length?r.distance=0:r.index=!1;else for(var n=0;n<t.length;n++){var i=e(t[n]);i<=r.distance&&(r.index=n,r.distance=i)}return r},r.inbox=function(t,e,r){return t*e<0||0===t?r:1/0},r.quadrature=function(t,e){return function(r){var n=t(r),i=e(r);return Math.sqrt(n*n+i*i)}},r.makeEventData=function(t,e,n){var i="index"in t?t.index:t.pointNumber,a={data:e._input,fullData:e,curveNumber:e.index,pointNumber:i};if(e._indexToPoints){var o=e._indexToPoints[i];1===o.length?a.pointIndex=o[0]:a.pointIndices=o}else a.pointIndex=i;return e._module.eventData?a=e._module.eventData(a,t,e,n,i):("xVal"in t?a.x=t.xVal:"x"in t&&(a.x=t.x),"yVal"in t?a.y=t.yVal:"y"in t&&(a.y=t.y),t.xa&&(a.xaxis=t.xa),t.ya&&(a.yaxis=t.ya),void 0!==t.zLabelVal&&(a.z=t.zLabelVal)),r.appendArrayPointValue(a,e,i),a},r.appendArrayPointValue=function(t,e,r){var i=e._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],c=a(l);if(void 0===t[c]){var u=o(n.nestedProperty(e,l).get(),r);void 0!==u&&(t[c]=u)}}},r.appendArrayMultiPointValues=function(t,e,r){var i=e._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],c=a(l);if(void 0===t[c]){for(var u=n.nestedProperty(e,l).get(),f=new Array(r.length),h=0;h<r.length;h++)f[h]=o(u,r[h]);t[c]=f}}};var i={ids:"id",locations:"location",labels:"label",values:"value","marker.colors":"color",parents:"parent"};function a(t){return i[t]||t}function o(t,e){return Array.isArray(e)?Array.isArray(t)&&Array.isArray(t[e[0]])?t[e[0]][e[1]]:void 0:t[e]}var s={x:!0,y:!0},l={"x unified":!0,"y unified":!0};r.isUnifiedHover=function(t){return"string"==typeof t&&!!l[t]},r.isXYhover=function(t){return"string"==typeof t&&!!s[t]}},{"../../lib":503}],403:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("tinycolor2"),o=t("../../lib"),s=o.strTranslate,l=o.strRotate,c=t("../../lib/events"),u=t("../../lib/svg_text_utils"),f=t("../../lib/override_cursor"),h=t("../drawing"),p=t("../color"),d=t("../dragelement"),g=t("../../plots/cartesian/axes"),m=t("../../registry"),v=t("./helpers"),y=t("./constants"),x=t("../legend/defaults"),b=t("../legend/draw"),_=y.YANGLE,w=Math.PI*_/180,T=1/Math.sin(w),k=Math.cos(w),A=Math.sin(w),M=y.HOVERARROWSIZE,S=y.HOVERTEXTPAD,E={box:!0,ohlc:!0,violin:!0,candlestick:!0},L={scatter:!0,scattergl:!0,splom:!0};function C(t){return[t.trace.index,t.index,t.x0,t.y0,t.name,t.attr,t.xa?t.xa._id:"",t.ya?t.ya._id:""].join(",")}r.hover=function(t,e,r,a){t=o.getGraphDiv(t);var s=e.target;o.throttle(t._fullLayout._uid+y.HOVERID,y.HOVERMINTIME,(function(){!function(t,e,r,a,s){r||(r="xy");var l=Array.isArray(r)?r:[r],u=t._fullLayout,h=u._plots||[],g=h[r],y=u._has("cartesian");if(g){var x=g.overlays.map((function(t){return t.id}));l=l.concat(x)}for(var b=l.length,_=new Array(b),w=new Array(b),k=!1,A=0;A<b;A++){var M=l[A];if(h[M])k=!0,_[A]=h[M].xaxis,w[A]=h[M].yaxis;else{if(!u[M]||!u[M]._subplot)return void o.warn("Unrecognized subplot: "+M);var S=u[M]._subplot;_[A]=S.xaxis,w[A]=S.yaxis}}var P=e.hovermode||u.hovermode;P&&!k&&(P="closest");if(-1===["x","y","closest","x unified","y unified"].indexOf(P)||!t.calcdata||t.querySelector(".zoombox")||t._dragging)return d.unhoverRaw(t,e);var O=u.hoverdistance;-1===O&&(O=1/0);var B=u.spikedistance;-1===B&&(B=1/0);var V,H,q,G,Y,W,X,Z,J,K,Q,$,tt,et=[],rt=[],nt={hLinePoint:null,vLinePoint:null},it=!1;if(Array.isArray(e))for(P="array",q=0;q<e.length;q++)(Y=t.calcdata[e[q].curveNumber||0])&&(W=Y[0].trace,"skip"!==Y[0].trace.hoverinfo&&(rt.push(Y),"h"===W.orientation&&(it=!0)));else{for(G=0;G<t.calcdata.length;G++)Y=t.calcdata[G],"skip"!==(W=Y[0].trace).hoverinfo&&v.isTraceInSubplots(W,l)&&(rt.push(Y),"h"===W.orientation&&(it=!0));var at,ot;if(!s)at="xpx"in e?e.xpx:_[0]._length/2,ot="ypx"in e?e.ypx:w[0]._length/2;else{if(!1===c.triggerHandler(t,"plotly_beforehover",e))return;var st=s.getBoundingClientRect();at=e.clientX-st.left,ot=e.clientY-st.top,u._calcInverseTransform(t);var lt=o.apply3DTransform(u._invTransform)(at,ot);if(at=lt[0],ot=lt[1],at<0||at>_[0]._length||ot<0||ot>w[0]._length)return d.unhoverRaw(t,e)}if(e.pointerX=at+_[0]._offset,e.pointerY=ot+w[0]._offset,V="xval"in e?v.flat(l,e.xval):v.p2c(_,at),H="yval"in e?v.flat(l,e.yval):v.p2c(w,ot),!i(V[0])||!i(H[0]))return o.warn("Fx.hover failed",e,t),d.unhoverRaw(t,e)}var ct=1/0;function ut(t,r){for(G=0;G<rt.length;G++)if((Y=rt[G])&&Y[0]&&Y[0].trace&&!0===(W=Y[0].trace).visible&&0!==W._length&&-1===["carpet","contourcarpet"].indexOf(W._module.name)){if("splom"===W.type?X=l[Z=0]:(X=v.getSubplot(W),Z=l.indexOf(X)),J=P,v.isUnifiedHover(J)&&(J=J.charAt(0)),$={cd:Y,trace:W,xa:_[Z],ya:w[Z],maxHoverDistance:O,maxSpikeDistance:B,index:!1,distance:Math.min(ct,O),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:p.defaultLine,name:W.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},u[X]&&($.subplot=u[X]._subplot),u._splomScenes&&u._splomScenes[W.uid]&&($.scene=u._splomScenes[W.uid]),tt=et.length,"array"===J){var n=e[G];"pointNumber"in n?($.index=n.pointNumber,J="closest"):(J="","xval"in n&&(K=n.xval,J="x"),"yval"in n&&(Q=n.yval,J=J?"closest":"y"))}else void 0!==t&&void 0!==r?(K=t,Q=r):(K=V[Z],Q=H[Z]);if(0!==O)if(W._module&&W._module.hoverPoints){var a=W._module.hoverPoints($,K,Q,J,{finiteRange:!0,hoverLayer:u._hoverlayer});if(a)for(var s,c=0;c<a.length;c++)s=a[c],i(s.x0)&&i(s.y0)&&et.push(D(s,P))}else o.log("Unrecognized trace type in hover:",W);if("closest"===P&&et.length>tt&&(et.splice(0,tt),ct=et[0].distance),y&&0!==B&&0===et.length){$.distance=B,$.index=!1;var f=W._module.hoverPoints($,K,Q,"closest",{hoverLayer:u._hoverlayer});if(f&&(f=f.filter((function(t){return t.spikeDistance<=B}))),f&&f.length){var h,d=f.filter((function(t){return t.xa.showspikes&&"hovered data"!==t.xa.spikesnap}));if(d.length){var g=d[0];i(g.x0)&&i(g.y0)&&(h=ht(g),(!nt.vLinePoint||nt.vLinePoint.spikeDistance>h.spikeDistance)&&(nt.vLinePoint=h))}var m=f.filter((function(t){return t.ya.showspikes&&"hovered data"!==t.ya.spikesnap}));if(m.length){var x=m[0];i(x.x0)&&i(x.y0)&&(h=ht(x),(!nt.hLinePoint||nt.hLinePoint.spikeDistance>h.spikeDistance)&&(nt.hLinePoint=h))}}}}}function ft(t,e,r){for(var n,i=null,a=1/0,o=0;o<t.length;o++)n=t[o].spikeDistance,r&&0===o&&(n=-1/0),n<=a&&n<=e&&(i=t[o],a=n);return i}function ht(t){return t?{xa:t.xa,ya:t.ya,x:void 0!==t.xSpike?t.xSpike:(t.x0+t.x1)/2,y:void 0!==t.ySpike?t.ySpike:(t.y0+t.y1)/2,distance:t.distance,spikeDistance:t.spikeDistance,curveNumber:t.trace.index,color:t.color,pointNumber:t.index}:null}ut();var pt={fullLayout:u,container:u._hoverlayer,event:e},dt=t._spikepoints,gt={vLinePoint:nt.vLinePoint,hLinePoint:nt.hLinePoint};t._spikepoints=gt;var mt=function(){et.sort((function(t,e){return t.distance-e.distance})),et=function(t,e){for(var r=e.charAt(0),n=[],i=[],a=[],o=0;o<t.length;o++){var s=t[o];m.traceIs(s.trace,"bar-like")||m.traceIs(s.trace,"box-violin")?a.push(s):s.trace[r+"period"]?i.push(s):n.push(s)}return n.concat(i).concat(a)}(et,P)};mt();var vt=P.charAt(0),yt=("x"===vt||"y"===vt)&&et[0]&&L[et[0].trace.type];if(y&&0!==B&&0!==et.length){var xt=ft(et.filter((function(t){return t.ya.showspikes})),B,yt);nt.hLinePoint=ht(xt);var bt=ft(et.filter((function(t){return t.xa.showspikes})),B,yt);nt.vLinePoint=ht(bt)}if(0===et.length){var _t=d.unhoverRaw(t,e);return!y||null===nt.hLinePoint&&null===nt.vLinePoint||F(dt)&&R(t,nt,pt),_t}y&&F(dt)&&R(t,nt,pt);if(v.isXYhover(J)&&0!==et[0].length&&"splom"!==et[0].trace.type){var wt=et[0],Tt=(et=E[wt.trace.type]?et.filter((function(t){return t.trace.index===wt.trace.index})):[wt]).length,kt=N("x",wt,u),At=N("y",wt,u);ut(kt,At);var Mt,St=[],Et={},Lt=0,Ct=function(t){var e=E[t.trace.type]?C(t):t.trace.index;if(Et[e]){var r=Et[e]-1,n=St[r];r>0&&Math.abs(t.distance)<Math.abs(n.distance)&&(St[r]=t)}else Lt++,Et[e]=Lt,St.push(t)};for(Mt=0;Mt<Tt;Mt++)Ct(et[Mt]);for(Mt=et.length-1;Mt>Tt-1;Mt--)Ct(et[Mt]);et=St,mt()}var Pt=t._hoverdata,It=[],Ot=j(t),zt=U(t);for(q=0;q<et.length;q++){var Dt=et[q],Rt=v.makeEventData(Dt,Dt.trace,Dt.cd);if(!1!==Dt.hovertemplate){var Ft=!1;Dt.cd[Dt.index]&&Dt.cd[Dt.index].ht&&(Ft=Dt.cd[Dt.index].ht),Dt.hovertemplate=Ft||Dt.trace.hovertemplate||!1}if(Dt.xa&&Dt.ya){var Bt=Dt.x0+Dt.xa._offset,Nt=Dt.x1+Dt.xa._offset,jt=Dt.y0+Dt.ya._offset,Ut=Dt.y1+Dt.ya._offset,Vt=Math.min(Bt,Nt),Ht=Math.max(Bt,Nt),qt=Math.min(jt,Ut),Gt=Math.max(jt,Ut);Rt.bbox={x0:Vt+zt,x1:Ht+zt,y0:qt+Ot,y1:Gt+Ot}}Dt.eventData=[Rt],It.push(Rt)}t._hoverdata=It;var Yt="y"===P&&(rt.length>1||et.length>1)||"closest"===P&&it&&et.length>1,Wt=p.combine(u.plot_bgcolor||p.background,u.paper_bgcolor),Xt=I(et,{gd:t,hovermode:P,rotateLabels:Yt,bgColor:Wt,container:u._hoverlayer,outerContainer:u._paper.node(),commonLabelOpts:u.hoverlabel,hoverdistance:u.hoverdistance});v.isUnifiedHover(P)||(!function(t,e,r){var n,i,a,o,s,l,c,u=0,f=1,h=t.size(),p=new Array(h),d=0;function g(t){var e=t[0],r=t[t.length-1];if(i=e.pmin-e.pos-e.dp+e.size,a=r.pos+r.dp+r.size-e.pmax,i>.01){for(s=t.length-1;s>=0;s--)t[s].dp+=i;n=!1}if(!(a<.01)){if(i<-.01){for(s=t.length-1;s>=0;s--)t[s].dp-=a;n=!1}if(n){var c=0;for(o=0;o<t.length;o++)(l=t[o]).pos+l.dp+l.size>e.pmax&&c++;for(o=t.length-1;o>=0&&!(c<=0);o--)(l=t[o]).pos>e.pmax-1&&(l.del=!0,c--);for(o=0;o<t.length&&!(c<=0);o++)if((l=t[o]).pos<e.pmin+1)for(l.del=!0,c--,a=2*l.size,s=t.length-1;s>=0;s--)t[s].dp-=a;for(o=t.length-1;o>=0&&!(c<=0);o--)(l=t[o]).pos+l.dp+l.size>e.pmax&&(l.del=!0,c--)}}}t.each((function(t){var n=t[e],i="x"===n._id.charAt(0),a=n.range;0===d&&a&&a[0]>a[1]!==i&&(f=-1),p[d++]=[{datum:t,traceIndex:t.trace.index,dp:0,pos:t.pos,posref:t.posref,size:t.by*(i?T:1)/2,pmin:0,pmax:i?r.width:r.height}]})),p.sort((function(t,e){return t[0].posref-e[0].posref||f*(e[0].traceIndex-t[0].traceIndex)}));for(;!n&&u<=h;){for(u++,n=!0,o=0;o<p.length-1;){var m=p[o],v=p[o+1],y=m[m.length-1],x=v[0];if((i=y.pos+y.dp+y.size-x.pos-x.dp+x.size)>.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(s=v.length-1;s>=0;s--)v[s].dp+=i;for(m.push.apply(m,v),p.splice(o+1,1),c=0,s=m.length-1;s>=0;s--)c+=m[s].dp;for(a=c/m.length,s=m.length-1;s>=0;s--)m[s].dp-=a;n=!1}else o++}p.forEach(g)}for(o=p.length-1;o>=0;o--){var b=p[o];for(s=b.length-1;s>=0;s--){var _=b[s],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Xt,Yt?"xa":"ya",u),z(Xt,Yt,u._invScaleX,u._invScaleY));if(s&&s.tagName){var Zt=m.getComponentMethod("annotations","hasClickToShow")(t,It);f(n.select(s),Zt?"pointer":"")}if(!s||a||!function(t,e,r){if(!r||r.length!==t._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var i=r[n],a=t._hoverdata[n];if(i.curveNumber!==a.curveNumber||String(i.pointNumber)!==String(a.pointNumber)||String(i.pointNumbers)!==String(a.pointNumbers))return!0}return!1}(t,0,Pt))return;Pt&&t.emit("plotly_unhover",{event:e,points:Pt});t.emit("plotly_hover",{event:e,points:t._hoverdata,xaxes:_,yaxes:w,xvals:V,yvals:H})}(t,e,r,a,s)}))},r.loneHover=function(t,e){var r=!0;Array.isArray(t)||(r=!1,t=[t]);var i=e.gd,a=j(i),o=U(i),s=I(t.map((function(t){var r=t._x0||t.x0||t.x||0,n=t._x1||t.x1||t.x||0,s=t._y0||t.y0||t.y||0,l=t._y1||t.y1||t.y||0,c=t.eventData;if(c){var u=Math.min(r,n),f=Math.max(r,n),h=Math.min(s,l),d=Math.max(s,l),g=t.trace;if(m.traceIs(g,"gl3d")){var v=i._fullLayout[g.scene]._scene.container,y=v.offsetLeft,x=v.offsetTop;u+=y,f+=y,h+=x,d+=x}c.bbox={x0:u+o,x1:f+o,y0:h+a,y1:d+a},e.inOut_bbox&&e.inOut_bbox.push(c.bbox)}else c=!1;return{color:t.color||p.defaultLine,x0:t.x0||t.x||0,x1:t.x1||t.x||0,y0:t.y0||t.y||0,y1:t.y1||t.y||0,xLabel:t.xLabel,yLabel:t.yLabel,zLabel:t.zLabel,text:t.text,name:t.name,idealAlign:t.idealAlign,borderColor:t.borderColor,fontFamily:t.fontFamily,fontSize:t.fontSize,fontColor:t.fontColor,nameLength:t.nameLength,textAlign:t.textAlign,trace:t.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:t.hovertemplate||!1,hovertemplateLabels:t.hovertemplateLabels||!1,eventData:c}})),{gd:i,hovermode:"closest",rotateLabels:!1,bgColor:e.bgColor||p.background,container:n.select(e.container),outerContainer:e.outerContainer||e.container}),l=0,c=0;return s.sort((function(t,e){return t.y0-e.y0})).each((function(t,r){var n=t.y0-t.by/2;t.offset=n-5<l?l-n+5:0,l=n+t.by+t.offset,r===e.anchorIndex&&(c=t.offset)})).each((function(t){t.offset-=c})),z(s,!1,i._fullLayout._invScaleX,i._fullLayout._invScaleY),r?s:s.node()};var P=/<extra>([\s\S]*)<\/extra>/;function I(t,e){var r=e.gd,i=r._fullLayout,a=e.hovermode,c=e.rotateLabels,f=e.bgColor,d=e.container,g=e.outerContainer,w=e.commonLabelOpts||{};if(0===t.length)return[[]];var T=e.fontFamily||y.HOVERFONT,k=e.fontSize||y.HOVERFONTSIZE,A=t[0],E=A.xa,L=A.ya,P=a.charAt(0),I=A[P+"Label"],z=V(r,g),D=z.top,R=z.width,F=z.height,B=void 0!==I&&A.distance<=e.hoverdistance&&("x"===a||"y"===a);if(B){var N,j,U=!0;for(N=0;N<t.length;N++)if(U&&void 0===t[N].zLabel&&(U=!1),j=t[N].hoverinfo||t[N].trace.hoverinfo){var H=Array.isArray(j)?j:j.split("+");if(-1===H.indexOf("all")&&-1===H.indexOf(a)){B=!1;break}}U&&(B=!1)}var q=d.selectAll("g.axistext").data(B?[0]:[]);if(q.enter().append("g").classed("axistext",!0),q.exit().remove(),q.each((function(){var t=n.select(this),e=o.ensureSingle(t,"path","",(function(t){t.style({"stroke-width":"1px"})})),l=o.ensureSingle(t,"text","",(function(t){t.attr("data-notex",1)})),c=w.bgcolor||p.defaultLine,f=w.bordercolor||p.contrast(c),d=p.contrast(c),g={family:w.font.family||T,size:w.font.size||k,color:w.font.color||d};e.style({fill:c,stroke:f}),l.text(I).call(h.font,g).call(u.positionText,0,0).call(u.convertToTspans,r),t.attr("transform","");var m,v,y=V(r,l.node());if("x"===a){var x="top"===E.side?"-":"";l.attr("text-anchor","middle").call(u.positionText,0,"top"===E.side?D-y.bottom-M-S:D-y.top+M+S),m=E._offset+(A.x0+A.x1)/2,v=L._offset+("top"===E.side?0:L._length);var b=y.width/2+S;m<b?(m=b,e.attr("d","M-"+(b-M)+",0L-"+(b-2*M)+","+x+M+"H"+(S+y.width/2)+"v"+x+(2*S+y.height)+"H-"+b+"V"+x+M+"Z")):m>i.width-b?(m=i.width-b,e.attr("d","M"+(b-M)+",0L"+b+","+x+M+"v"+x+(2*S+y.height)+"H-"+b+"V"+x+M+"H"+(b-2*M)+"Z")):e.attr("d","M0,0L"+M+","+x+M+"H"+(S+y.width/2)+"v"+x+(2*S+y.height)+"H-"+(S+y.width/2)+"V"+x+M+"H-"+M+"Z")}else{var _,C,P;"right"===L.side?(_="start",C=1,P="",m=E._offset+E._length):(_="end",C=-1,P="-",m=E._offset),v=L._offset+(A.y0+A.y1)/2,l.attr("text-anchor",_),e.attr("d","M0,0L"+P+M+","+M+"V"+(S+y.height/2)+"h"+P+(2*S+y.width)+"V-"+(S+y.height/2)+"H"+P+M+"V-"+M+"Z");var O,z=y.height/2,R=D-y.top-z,F="clip"+i._uid+"commonlabel"+L._id;if(m<y.width+2*S+M){O="M-"+(M+S)+"-"+z+"h-"+(y.width-S)+"V"+z+"h"+(y.width-S)+"Z";var B=y.width-m+S;u.positionText(l,B,R),"end"===_&&l.selectAll("tspan").each((function(){var t=n.select(this),e=h.tester.append("text").text(t.text()).call(h.font,g),i=V(r,e.node());Math.round(i.width)<Math.round(y.width)&&t.attr("x",B-i.width),e.remove()}))}else u.positionText(l,C*(S+M),R),O=null;var N=i._topclips.selectAll("#"+F).data(O?[0]:[]);N.enter().append("clipPath").attr("id",F).append("path"),N.exit().remove(),N.select("path").attr("d",O),h.setClipUrl(l,O?F:null,r)}t.attr("transform",s(m,v))})),v.isUnifiedHover(a)){d.selectAll("g.hovertext").remove();var G=t.filter((function(t){return"none"!==t.hoverinfo}));if(0===G.length)return;var Y=i.hoverlabel,W=Y.font,X={showlegend:!0,legend:{title:{text:I,font:W},font:W,bgcolor:Y.bgcolor,bordercolor:Y.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:i.legend?i.legend.traceorder:void 0,orientation:"v"}},Z={font:W};x(X,Z,r._fullData);var J=Z.legend;J.entries=[];for(var K=0;K<G.length;K++){var Q=G[K];if("none"!==Q.hoverinfo){var $=O(Q,!0,a,i,I),tt=$[0],et=$[1];Q.name=et,Q.text=""!==et?et+" : "+tt:tt;var rt=Q.cd[Q.index];rt&&(rt.mc&&(Q.mc=rt.mc),rt.mcc&&(Q.mc=rt.mcc),rt.mlc&&(Q.mlc=rt.mlc),rt.mlcc&&(Q.mlc=rt.mlcc),rt.mlw&&(Q.mlw=rt.mlw),rt.mrc&&(Q.mrc=rt.mrc),rt.dir&&(Q.dir=rt.dir)),Q._distinct=!0,J.entries.push([Q])}}J.entries.sort((function(t,e){return t[0].trace.index-e[0].trace.index})),J.layer=d,J._inHover=!0,J._groupTitleFont=Y.grouptitlefont,b(r,J);var nt,it,at,ot,st=d.select("g.legend"),lt=V(r,st.node()),ct=lt.width+2*S,ut=lt.height+2*S,ft=G[0],ht=(ft.x0+ft.x1)/2,pt=(ft.y0+ft.y1)/2,dt=!(m.traceIs(ft.trace,"bar-like")||m.traceIs(ft.trace,"box-violin"));"y"===P?dt?(it=pt-S,nt=pt+S):(it=Math.min.apply(null,G.map((function(t){return Math.min(t.y0,t.y1)}))),nt=Math.max.apply(null,G.map((function(t){return Math.max(t.y0,t.y1)})))):it=nt=o.mean(G.map((function(t){return(t.y0+t.y1)/2})))-ut/2,"x"===P?dt?(at=ht+S,ot=ht-S):(at=Math.max.apply(null,G.map((function(t){return Math.max(t.x0,t.x1)}))),ot=Math.min.apply(null,G.map((function(t){return Math.min(t.x0,t.x1)})))):at=ot=o.mean(G.map((function(t){return(t.x0+t.x1)/2})))-ct/2;var gt,mt,vt=E._offset,yt=L._offset;return ot+=vt-ct,it+=yt-ut,gt=(at+=vt)+ct<R&&at>=0?at:ot+ct<R&&ot>=0?ot:vt+ct<R?vt:at-ht<ht-ot+ct?R-ct:0,gt+=S,mt=(nt+=yt)+ut<F&&nt>=0?nt:it+ut<F&&it>=0?it:yt+ut<F?yt:nt-pt<pt-it+ut?F-ut:0,mt+=S,st.attr("transform",s(gt-1,mt-1)),st}var xt=d.selectAll("g.hovertext").data(t,(function(t){return C(t)}));return xt.enter().append("g").classed("hovertext",!0).each((function(){var t=n.select(this);t.append("rect").call(p.fill,p.addOpacity(f,.8)),t.append("text").classed("name",!0),t.append("path").style("stroke-width","1px"),t.append("text").classed("nums",!0).call(h.font,T,k)})),xt.exit().remove(),xt.each((function(t){var e=n.select(this).attr("transform",""),o=t.color;Array.isArray(o)&&(o=o[t.eventData[0].pointNumber]);var d=t.bgcolor||o,g=p.combine(p.opacity(d)?d:p.defaultLine,f),m=p.combine(p.opacity(o)?o:p.defaultLine,f),v=t.borderColor||p.contrast(g),y=O(t,B,a,i,I,e),x=y[0],b=y[1],w=e.select("text.nums").call(h.font,t.fontFamily||T,t.fontSize||k,t.fontColor||v).text(x).attr("data-notex",1).call(u.positionText,0,0).call(u.convertToTspans,r),A=e.select("text.name"),E=0,L=0;if(b&&b!==x){A.call(h.font,t.fontFamily||T,t.fontSize||k,m).text(b).attr("data-notex",1).call(u.positionText,0,0).call(u.convertToTspans,r);var C=V(r,A.node());E=C.width+2*S,L=C.height+2*S}else A.remove(),e.select("rect").remove();e.select("path").style({fill:g,stroke:v});var P=t.xa._offset+(t.x0+t.x1)/2,z=t.ya._offset+(t.y0+t.y1)/2,N=Math.abs(t.x1-t.x0),j=Math.abs(t.y1-t.y0),U=V(r,w.node()),H=U.width/i._invScaleX,q=U.height/i._invScaleY;t.ty0=(D-U.top)/i._invScaleY,t.bx=H+2*S,t.by=Math.max(q+2*S,L),t.anchor="start",t.txwidth=H,t.tx2width=E,t.offset=0;var G,Y,W=(H+M+S+E)*i._invScaleX;if(c)t.pos=P,G=z+j/2+W<=F,Y=z-j/2-W>=0,"top"!==t.idealAlign&&G||!Y?G?(z+=j/2,t.anchor="start"):t.anchor="middle":(z-=j/2,t.anchor="end");else if(t.pos=z,G=P+N/2+W<=R,Y=P-N/2-W>=0,"left"!==t.idealAlign&&G||!Y)if(G)P+=N/2,t.anchor="start";else{t.anchor="middle";var X=W/2,Z=P+X-R,J=P-X;Z>0&&(P-=Z),J<0&&(P+=-J)}else P-=N/2,t.anchor="end";w.attr("text-anchor",t.anchor),E&&A.attr("text-anchor",t.anchor),e.attr("transform",s(P,z)+(c?l(_):""))})),xt}function O(t,e,r,n,i,a){var s="",l="";void 0!==t.nameOverride&&(t.name=t.nameOverride),t.name&&(t.trace._meta&&(t.name=o.templateString(t.name,t.trace._meta)),s=B(t.name,t.nameLength));var c=r.charAt(0),u="x"===c?"y":"x";void 0!==t.zLabel?(void 0!==t.xLabel&&(l+="x: "+t.xLabel+"<br>"),void 0!==t.yLabel&&(l+="y: "+t.yLabel+"<br>"),"choropleth"!==t.trace.type&&"choroplethmapbox"!==t.trace.type&&(l+=(l?"z: ":"")+t.zLabel)):e&&t[c+"Label"]===i?l=t[u+"Label"]||"":void 0===t.xLabel?void 0!==t.yLabel&&"scattercarpet"!==t.trace.type&&(l=t.yLabel):l=void 0===t.yLabel?t.xLabel:"("+t.xLabel+", "+t.yLabel+")",!t.text&&0!==t.text||Array.isArray(t.text)||(l+=(l?"<br>":"")+t.text),void 0!==t.extraText&&(l+=(l?"<br>":"")+t.extraText),a&&""===l&&!t.hovertemplate&&(""===s&&a.remove(),l=s);var f=t.hovertemplate||!1;if(f){var h=t.hovertemplateLabels||t;t[c+"Label"]!==i&&(h[c+"other"]=h[c+"Val"],h[c+"otherLabel"]=h[c+"Label"]),l=(l=o.hovertemplateString(f,h,n._d3locale,t.eventData[0]||{},t.trace._meta)).replace(P,(function(e,r){return s=B(r,t.nameLength),""}))}return[l,s]}function z(t,e,r,i){var a=function(t){return t*r},o=function(t){return t*i};t.each((function(t){var r=n.select(this);if(t.del)return r.remove();var i=r.select("text.nums"),s=t.anchor,l="end"===s?-1:1,c={start:1,end:-1,middle:0}[s],f=c*(M+S),p=f+c*(t.txwidth+S),d=0,g=t.offset,m="middle"===s;m&&(f-=t.tx2width/2,p+=t.txwidth/2+S),e&&(g*=-A,d=t.offset*k),r.select("path").attr("d",m?"M-"+a(t.bx/2+t.tx2width/2)+","+o(g-t.by/2)+"h"+a(t.bx)+"v"+o(t.by)+"h-"+a(t.bx)+"Z":"M0,0L"+a(l*M+d)+","+o(M+g)+"v"+o(t.by/2-M)+"h"+a(l*t.bx)+"v-"+o(t.by)+"H"+a(l*M+d)+"V"+o(g-M)+"Z");var v=d+f,y=g+t.ty0-t.by/2+S,x=t.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==s?(i.attr("text-anchor","start"),v=m?-t.bx/2-t.tx2width/2+S:-t.bx-S):"right"===x&&"end"!==s&&(i.attr("text-anchor","end"),v=m?t.bx/2-t.tx2width/2-S:t.bx+S)),i.call(u.positionText,a(v),o(y)),t.tx2width&&(r.select("text.name").call(u.positionText,a(p+c*S+d),o(g+t.ty0-t.by/2+S)),r.select("rect").call(h.setRect,a(p+(c-1)*t.tx2width/2+d),o(g-t.by/2-1),a(t.tx2width),o(t.by+2)))}))}function D(t,e){var r=t.index,n=t.trace||{},a=t.cd[0],s=t.cd[r]||{};function l(t){return t||i(t)&&0===t}var c=Array.isArray(r)?function(t,e){var i=o.castOption(a,r,t);return l(i)?i:o.extractOption({},n,"",e)}:function(t,e){return o.extractOption(s,n,t,e)};function u(e,r,n){var i=c(r,n);l(i)&&(t[e]=i)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),t.posref="y"===e||"closest"===e&&"h"===n.orientation?t.xa._offset+(t.x0+t.x1)/2:t.ya._offset+(t.y0+t.y1)/2,t.x0=o.constrain(t.x0,0,t.xa._length),t.x1=o.constrain(t.x1,0,t.xa._length),t.y0=o.constrain(t.y0,0,t.ya._length),t.y1=o.constrain(t.y1,0,t.ya._length),void 0!==t.xLabelVal&&(t.xLabel="xLabel"in t?t.xLabel:g.hoverLabelText(t.xa,t.xLabelVal,n.xhoverformat),t.xVal=t.xa.c2d(t.xLabelVal)),void 0!==t.yLabelVal&&(t.yLabel="yLabel"in t?t.yLabel:g.hoverLabelText(t.ya,t.yLabelVal,n.yhoverformat),t.yVal=t.ya.c2d(t.yLabelVal)),void 0!==t.zLabelVal&&void 0===t.zLabel&&(t.zLabel=String(t.zLabelVal)),!(isNaN(t.xerr)||"log"===t.xa.type&&t.xerr<=0)){var f=g.tickText(t.xa,t.xa.c2l(t.xerr),"hover").text;void 0!==t.xerrneg?t.xLabel+=" +"+f+" / -"+g.tickText(t.xa,t.xa.c2l(t.xerrneg),"hover").text:t.xLabel+=" \xb1 "+f,"x"===e&&(t.distance+=1)}if(!(isNaN(t.yerr)||"log"===t.ya.type&&t.yerr<=0)){var h=g.tickText(t.ya,t.ya.c2l(t.yerr),"hover").text;void 0!==t.yerrneg?t.yLabel+=" +"+h+" / -"+g.tickText(t.ya,t.ya.c2l(t.yerrneg),"hover").text:t.yLabel+=" \xb1 "+h,"y"===e&&(t.distance+=1)}var p=t.hoverinfo||t.trace.hoverinfo;return p&&"all"!==p&&(-1===(p=Array.isArray(p)?p:p.split("+")).indexOf("x")&&(t.xLabel=void 0),-1===p.indexOf("y")&&(t.yLabel=void 0),-1===p.indexOf("z")&&(t.zLabel=void 0),-1===p.indexOf("text")&&(t.text=void 0),-1===p.indexOf("name")&&(t.name=void 0)),t}function R(t,e,r){var n,i,o=r.container,s=r.fullLayout,l=s._size,c=r.event,u=!!e.hLinePoint,f=!!e.vLinePoint;if(o.selectAll(".spikeline").remove(),f||u){var d=p.combine(s.plot_bgcolor,s.paper_bgcolor);if(u){var m,v,y=e.hLinePoint;n=y&&y.xa,"cursor"===(i=y&&y.ya).spikesnap?(m=c.pointerX,v=c.pointerY):(m=n._offset+y.x,v=i._offset+y.y);var x,b,_=a.readability(y.color,d)<1.5?p.contrast(d):y.color,w=i.spikemode,T=i.spikethickness,k=i.spikecolor||_,A=g.getPxPosition(t,i);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=A,b=m),-1!==w.indexOf("across")){var M=i._counterDomainMin,S=i._counterDomainMax;"free"===i.anchor&&(M=Math.min(M,i.position),S=Math.max(S,i.position)),x=l.l+M*l.w,b=l.l+S*l.w}o.insert("line",":first-child").attr({x1:x,x2:b,y1:v,y2:v,"stroke-width":T,stroke:k,"stroke-dasharray":h.dashStyle(i.spikedash,T)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:x,x2:b,y1:v,y2:v,"stroke-width":T+2,stroke:d}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:A+("right"!==i.side?T:-T),cy:v,r:T,fill:k}).classed("spikeline",!0)}if(f){var E,L,C=e.vLinePoint;n=C&&C.xa,i=C&&C.ya,"cursor"===n.spikesnap?(E=c.pointerX,L=c.pointerY):(E=n._offset+C.x,L=i._offset+C.y);var P,I,O=a.readability(C.color,d)<1.5?p.contrast(d):C.color,z=n.spikemode,D=n.spikethickness,R=n.spikecolor||O,F=g.getPxPosition(t,n);if(-1!==z.indexOf("toaxis")||-1!==z.indexOf("across")){if(-1!==z.indexOf("toaxis")&&(P=F,I=L),-1!==z.indexOf("across")){var B=n._counterDomainMin,N=n._counterDomainMax;"free"===n.anchor&&(B=Math.min(B,n.position),N=Math.max(N,n.position)),P=l.t+(1-N)*l.h,I=l.t+(1-B)*l.h}o.insert("line",":first-child").attr({x1:E,x2:E,y1:P,y2:I,"stroke-width":D,stroke:R,"stroke-dasharray":h.dashStyle(n.spikedash,D)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:E,x2:E,y1:P,y2:I,"stroke-width":D+2,stroke:d}).classed("spikeline",!0).classed("crisp",!0)}-1!==z.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:E,cy:F-("top"!==n.side?D:-D),r:D,fill:R}).classed("spikeline",!0)}}}function F(t,e){return!e||(e.vLinePoint!==t._spikepoints.vLinePoint||e.hLinePoint!==t._spikepoints.hLinePoint)}function B(t,e){return u.plainText(t||"",{len:e,allowedTags:["br","sub","sup","b","i","em"]})}function N(t,e,r){var n=e[t+"a"],i=e[t+"Val"],a=e.cd[0];if("category"===n.type)i=n._categoriesMap[i];else if("date"===n.type){var o=e.trace[t+"periodalignment"];if(o){var s=e.cd[e.index],l=s[t+"Start"];void 0===l&&(l=s[t]);var c=s[t+"End"];void 0===c&&(c=s[t]);var u=c-l;"end"===o?i+=u:"middle"===o&&(i+=u/2)}i=n.d2c(i)}return a&&a.t&&a.t.posLetter===n._id&&("group"!==r.boxmode&&"group"!==r.violinmode||(i+=a.t.dPos)),i}function j(t){return t.offsetTop+t.clientTop}function U(t){return t.offsetLeft+t.clientLeft}function V(t,e){var r=t._fullLayout,n=e.getBoundingClientRect(),i=n.x,a=n.y,s=i+n.width,l=a+n.height,c=o.apply3DTransform(r._invTransform)(i,a),u=o.apply3DTransform(r._invTransform)(s,l),f=c[0],h=c[1],p=u[0],d=u[1];return{x:f,y:h,width:p-f,height:d-h,top:Math.min(h,d),left:Math.min(f,p),right:Math.max(f,p),bottom:Math.max(h,d)}}},{"../../lib":503,"../../lib/events":492,"../../lib/override_cursor":514,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../registry":638,"../color":366,"../dragelement":385,"../drawing":388,"../legend/defaults":418,"../legend/draw":419,"./constants":400,"./helpers":402,"@plotly/d3":58,"fast-isnumeric":190,tinycolor2:312}],404:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../color"),a=t("./helpers").isUnifiedHover;e.exports=function(t,e,r,o){o=o||{};var s=e.legend;function l(t){o.font[t]||(o.font[t]=s?e.legend.font[t]:e.font[t])}e&&a(e.hovermode)&&(o.font||(o.font={}),l("size"),l("family"),l("color"),s?(o.bgcolor||(o.bgcolor=i.combine(e.legend.bgcolor,e.paper_bgcolor)),o.bordercolor||(o.bordercolor=e.legend.bordercolor)):o.bgcolor||(o.bgcolor=e.paper_bgcolor)),r("hoverlabel.bgcolor",o.bgcolor),r("hoverlabel.bordercolor",o.bordercolor),r("hoverlabel.namelength",o.namelength),n.coerceFont(r,"hoverlabel.font",o.font),r("hoverlabel.align",o.align)}},{"../../lib":503,"../color":366,"./helpers":402}],405:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return void 0!==e[r]?e[r]:n.coerce(t,e,i,r,a)}return r("clickmode"),r("hovermode")}},{"../../lib":503,"./layout_attributes":407}],406:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../dragelement"),o=t("./helpers"),s=t("./layout_attributes"),l=t("./hover");e.exports={moduleType:"component",name:"fx",constants:t("./constants"),schema:{layout:s},attributes:t("./attributes"),layoutAttributes:s,supplyLayoutGlobalDefaults:t("./layout_global_defaults"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(t,e,r){return i.castOption(t,e,"hoverlabel."+r)},castHoverinfo:function(t,e,r){return i.castOption(t,r,"hoverinfo",(function(r){return i.coerceHoverinfo({hoverinfo:r},{_module:t._module},e)}))},hover:l.hover,unhover:a.unhover,loneHover:l.loneHover,loneUnhover:function(t){var e=i.isD3Selection(t)?t:n.select(t);e.selectAll("g.hovertext").remove(),e.selectAll(".spikeline").remove()},click:t("./click")}},{"../../lib":503,"../dragelement":385,"./attributes":397,"./calc":398,"./click":399,"./constants":400,"./defaults":401,"./helpers":402,"./hover":403,"./layout_attributes":407,"./layout_defaults":408,"./layout_global_defaults":409,"@plotly/d3":58}],407:[function(t,e,r){"use strict";var n=t("./constants"),i=t("../../plots/font_attributes"),a=i({editType:"none"});a.family.dflt=n.HOVERFONT,a.size.dflt=n.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:a,grouptitlefont:i({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},{"../../plots/font_attributes":585,"./constants":400}],408:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes"),a=t("./hovermode_defaults"),o=t("./hoverlabel_defaults");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}a(t,e)&&(r("hoverdistance"),r("spikedistance")),"select"===r("dragmode")&&r("selectdirection");var s=e._has("mapbox"),l=e._has("geo"),c=e._basePlotModules.length;"zoom"===e.dragmode&&((s||l)&&1===c||s&&l&&2===c)&&(e.dragmode="pan"),o(t,e,r),n.coerceFont(r,"hoverlabel.grouptitlefont",e.hoverlabel.font)}},{"../../lib":503,"./hoverlabel_defaults":404,"./hovermode_defaults":405,"./layout_attributes":407}],409:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./hoverlabel_defaults"),a=t("./layout_attributes");e.exports=function(t,e){i(t,e,(function(r,i){return n.coerce(t,e,a,r,i)}))}},{"../../lib":503,"./hoverlabel_defaults":404,"./layout_attributes":407}],410:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../lib/regex").counter,a=t("../../plots/domain").attributes,o=t("../../plots/cartesian/constants").idRegex,s=t("../../plot_api/plot_template"),l={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[i("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[o.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[o.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:a({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function c(t,e,r){var n=e[r+"axes"],i=Object.keys((t._splomAxes||{})[r]||{});return Array.isArray(n)?n:i.length?i:void 0}function u(t,e,r,n,i,a){var o=e(t+"gap",r),s=e("domain."+t);e(t+"side",n);for(var l=new Array(i),c=s[0],u=(s[1]-c)/(i-o),f=u*(1-o),h=0;h<i;h++){var p=c+u*h;l[a?i-1-h:h]=[p,p+f]}return l}function f(t,e,r,n,i){var a,o=new Array(r);function s(t,r){-1!==e.indexOf(r)&&void 0===n[r]?(o[t]=r,n[r]=t):o[t]=""}if(Array.isArray(t))for(a=0;a<r;a++)s(a,t[a]);else for(s(0,i),a=1;a<r;a++)s(a,i+(a+1));return o}e.exports={moduleType:"component",name:"grid",schema:{layout:{grid:l}},layoutAttributes:l,sizeDefaults:function(t,e){var r=t.grid||{},i=c(e,r,"x"),a=c(e,r,"y");if(t.grid||i||a){var o,f,h=Array.isArray(r.subplots)&&Array.isArray(r.subplots[0]),p=Array.isArray(i),d=Array.isArray(a),g=p&&i!==r.xaxes&&d&&a!==r.yaxes;h?(o=r.subplots.length,f=r.subplots[0].length):(d&&(o=a.length),p&&(f=i.length));var m=s.newContainer(e,"grid"),v=k("rows",o),y=k("columns",f);if(v*y>1){if(!h&&!p&&!d)"independent"===k("pattern")&&(h=!0);m._hasSubplotGrid=h;var x,b,_="top to bottom"===k("roworder"),w=h?.2:.1,T=h?.3:.1;g&&e._splomGridDflt&&(x=e._splomGridDflt.xside,b=e._splomGridDflt.yside),m._domains={x:u("x",k,w,x,y),y:u("y",k,T,b,v,_)}}else delete e.grid}function k(t,e){return n.coerce(r,m,l,t,e)}},contentDefaults:function(t,e){var r=e.grid;if(r&&r._domains){var n,i,a,o,s,l,u,h=t.grid||{},p=e._subplots,d=r._hasSubplotGrid,g=r.rows,m=r.columns,v="independent"===r.pattern,y=r._axisMap={};if(d){var x=h.subplots||[];l=r.subplots=new Array(g);var b=1;for(n=0;n<g;n++){var _=l[n]=new Array(m),w=x[n]||[];for(i=0;i<m;i++)if(v?(s=1===b?"xy":"x"+b+"y"+b,b++):s=w[i],_[i]="",-1!==p.cartesian.indexOf(s)){if(u=s.indexOf("y"),a=s.slice(0,u),o=s.slice(u),void 0!==y[a]&&y[a]!==i||void 0!==y[o]&&y[o]!==n)continue;_[i]=s,y[a]=i,y[o]=n}}}else{var T=c(e,h,"x"),k=c(e,h,"y");r.xaxes=f(T,p.xaxis,m,y,"x"),r.yaxes=f(k,p.yaxis,g,y,"y")}var A=r._anchors={},M="top to bottom"===r.roworder;for(var S in y){var E,L,C,P=S.charAt(0),I=r[P+"side"];if(I.length<8)A[S]="free";else if("x"===P){if("t"===I.charAt(0)===M?(E=0,L=1,C=g):(E=g-1,L=-1,C=-1),d){var O=y[S];for(n=E;n!==C;n+=L)if((s=l[n][O])&&(u=s.indexOf("y"),s.slice(0,u)===S)){A[S]=s.slice(u);break}}else for(n=E;n!==C;n+=L)if(o=r.yaxes[n],-1!==p.cartesian.indexOf(S+o)){A[S]=o;break}}else if("l"===I.charAt(0)?(E=0,L=1,C=m):(E=m-1,L=-1,C=-1),d){var z=y[S];for(n=E;n!==C;n+=L)if((s=l[z][n])&&(u=s.indexOf("y"),s.slice(u)===S)){A[S]=s.slice(0,u);break}}else for(n=E;n!==C;n+=L)if(a=r.xaxes[n],-1!==p.cartesian.indexOf(a+S)){A[S]=a;break}}}}}},{"../../lib":503,"../../lib/regex":520,"../../plot_api/plot_template":543,"../../plots/cartesian/constants":561,"../../plots/domain":584}],411:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/constants"),i=t("../../plot_api/plot_template").templatedArray;t("../../constants/axis_placeable_objects");e.exports=i("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw"},source:{valType:"string",editType:"arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},sizex:{valType:"number",dflt:0,editType:"arraydraw"},sizey:{valType:"number",dflt:0,editType:"arraydraw"},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},x:{valType:"any",dflt:0,editType:"arraydraw"},y:{valType:"any",dflt:0,editType:"arraydraw"},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw"},xref:{valType:"enumerated",values:["paper",n.idRegex.x.toString()],dflt:"paper",editType:"arraydraw"},yref:{valType:"enumerated",values:["paper",n.idRegex.y.toString()],dflt:"paper",editType:"arraydraw"},editType:"arraydraw"})},{"../../constants/axis_placeable_objects":472,"../../plot_api/plot_template":543,"../../plots/cartesian/constants":561}],412:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib/to_log_range");e.exports=function(t,e,r,a){e=e||{};var o="log"===r&&"linear"===e.type,s="linear"===r&&"log"===e.type;if(o||s)for(var l,c,u=t._fullLayout.images,f=e._id.charAt(0),h=0;h<u.length;h++)if(c="images["+h+"].",(l=u[h])[f+"ref"]===e._id){var p=l[f],d=l["size"+f],g=null,m=null;if(o){g=i(p,e.range);var v=d/Math.pow(10,g)/2;m=2*Math.log(v+Math.sqrt(1+v*v))/Math.LN10}else m=(g=Math.pow(10,p))*(Math.pow(10,d/2)-Math.pow(10,-d/2));n(g)?n(m)||(m=null):(g=null,m=null),a(c+f,g),a(c+"size"+f,m)}}},{"../../lib/to_log_range":531,"fast-isnumeric":190}],413:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../../plots/array_container_defaults"),o=t("./attributes");function s(t,e,r){function a(r,i){return n.coerce(t,e,o,r,i)}var s=a("source");if(!a("visible",!!s))return e;a("layer"),a("xanchor"),a("yanchor"),a("sizex"),a("sizey"),a("sizing"),a("opacity");for(var l={_fullLayout:r},c=["x","y"],u=0;u<2;u++){var f=c[u],h=i.coerceRef(t,e,l,f,"paper",void 0);if("paper"!==h)i.getFromId(l,h)._imgIndices.push(e._index);i.coercePosition(e,l,a,h,f,0)}return e}e.exports=function(t,e){a(t,e,{name:"images",handleItemDefaults:s})}},{"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"./attributes":411}],414:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../drawing"),a=t("../../plots/cartesian/axes"),o=t("../../plots/cartesian/axis_ids"),s=t("../../constants/xmlns_namespaces");e.exports=function(t){var e,r,l=t._fullLayout,c=[],u={},f=[];for(r=0;r<l.images.length;r++){var h=l.images[r];if(h.visible)if("below"===h.layer&&"paper"!==h.xref&&"paper"!==h.yref){e=o.ref2id(h.xref)+o.ref2id(h.yref);var p=l._plots[e];if(!p){f.push(h);continue}p.mainplot&&(e=p.mainplot.id),u[e]||(u[e]=[]),u[e].push(h)}else"above"===h.layer?c.push(h):f.push(h)}var d={left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-.5},right:{sizing:"xMax",offset:-1}},g={top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-.5},bottom:{sizing:"YMax",offset:-1}};function m(e){var r=n.select(this);if(this._imgSrc!==e.source)if(r.attr("xmlns",s.svg),e.source&&"data:"===e.source.slice(0,5))r.attr("xlink:href",e.source),this._imgSrc=e.source;else{var i=new Promise(function(t){var n=new Image;function i(){r.remove(),t()}this.img=n,n.setAttribute("crossOrigin","anonymous"),n.onerror=i,n.onload=function(){var e=document.createElement("canvas");e.width=this.width,e.height=this.height,e.getContext("2d").drawImage(this,0,0);var n=e.toDataURL("image/png");r.attr("xlink:href",n),t()},r.on("error",i),n.src=e.source,this._imgSrc=e.source}.bind(this));t._promises.push(i)}}function v(e){var r,o,s=n.select(this),c=a.getFromId(t,e.xref),u=a.getFromId(t,e.yref),f="domain"===a.getRefType(e.xref),h="domain"===a.getRefType(e.yref),p=l._size;r=void 0!==c?"string"==typeof e.xref&&f?c._length*e.sizex:Math.abs(c.l2p(e.sizex)-c.l2p(0)):e.sizex*p.w,o=void 0!==u?"string"==typeof e.yref&&h?u._length*e.sizey:Math.abs(u.l2p(e.sizey)-u.l2p(0)):e.sizey*p.h;var m,v,y=r*d[e.xanchor].offset,x=o*g[e.yanchor].offset,b=d[e.xanchor].sizing+g[e.yanchor].sizing;switch(m=void 0!==c?"string"==typeof e.xref&&f?c._length*e.x+c._offset:c.r2p(e.x)+c._offset:e.x*p.w+p.l,m+=y,v=void 0!==u?"string"==typeof e.yref&&h?u._length*(1-e.y)+u._offset:u.r2p(e.y)+u._offset:p.h-e.y*p.h+p.t,v+=x,e.sizing){case"fill":b+=" slice";break;case"stretch":b="none"}s.attr({x:m,y:v,width:r,height:o,preserveAspectRatio:b,opacity:e.opacity});var _=(c&&"domain"!==a.getRefType(e.xref)?c._id:"")+(u&&"domain"!==a.getRefType(e.yref)?u._id:"");i.setClipUrl(s,_?"clip"+l._uid+_:null,t)}var y=l._imageLowerLayer.selectAll("image").data(f),x=l._imageUpperLayer.selectAll("image").data(c);y.enter().append("image"),x.enter().append("image"),y.exit().remove(),x.exit().remove(),y.each((function(t){m.bind(this)(t),v.bind(this)(t)})),x.each((function(t){m.bind(this)(t),v.bind(this)(t)}));var b=Object.keys(l._plots);for(r=0;r<b.length;r++){e=b[r];var _=l._plots[e];if(_.imagelayer){var w=_.imagelayer.selectAll("image").data(u[e]||[]);w.enter().append("image"),w.exit().remove(),w.each((function(t){m.bind(this)(t),v.bind(this)(t)}))}}}},{"../../constants/xmlns_namespaces":480,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_ids":558,"../drawing":388,"@plotly/d3":58}],415:[function(t,e,r){"use strict";e.exports={moduleType:"component",name:"images",layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),includeBasePlot:t("../../plots/cartesian/include_components")("images"),draw:t("./draw"),convertCoords:t("./convert_coords")}},{"../../plots/cartesian/include_components":567,"./attributes":411,"./convert_coords":412,"./defaults":413,"./draw":414}],416:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../color/attributes");e.exports={bgcolor:{valType:"color",editType:"legend"},bordercolor:{valType:"color",dflt:i.defaultLine,editType:"legend"},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend"},font:n({editType:"legend"}),grouptitlefont:n({editType:"legend"}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend"},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend"},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend"},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend"},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend"},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend"},groupclick:{valType:"enumerated",values:["toggleitem","togglegroup"],dflt:"togglegroup",editType:"legend"},x:{valType:"number",min:-2,max:3,editType:"legend"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend"},y:{valType:"number",min:-2,max:3,editType:"legend"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend"},uirevision:{valType:"any",editType:"none"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend"},title:{text:{valType:"string",dflt:"",editType:"legend"},font:n({editType:"legend"}),side:{valType:"enumerated",values:["top","left","top left"],editType:"legend"},editType:"legend"},editType:"legend"}},{"../../plots/font_attributes":585,"../color/attributes":365}],417:[function(t,e,r){"use strict";e.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},{}],418:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../plot_api/plot_template"),o=t("../../plots/attributes"),s=t("./attributes"),l=t("../../plots/layout_attributes"),c=t("./helpers");e.exports=function(t,e,r){var u,f=t.legend||{},h=a.newContainer(e,"legend");function p(t,e){return i.coerce(f,h,s,t,e)}for(var d=function(t,e){var r=u._input,n=u;return i.coerce(r,n,o,t,e)},g=e.font||{},m=i.coerceFont(p,"grouptitlefont",i.extendFlat({},g,{size:Math.round(1.1*g.size)})),v=0,y=!1,x="normal",b=0;b<r.length;b++)(u=r[b]).visible&&((u.showlegend||u._dfltShowLegend&&!(u._module&&u._module.attributes&&u._module.attributes.showlegend&&!1===u._module.attributes.showlegend.dflt))&&(v++,u.showlegend&&(y=!0,(n.traceIs(u,"pie-like")||!0===u._input.showlegend)&&v++),i.coerceFont(d,"legendgrouptitle.font",m)),(n.traceIs(u,"bar")&&"stack"===e.barmode||-1!==["tonextx","tonexty"].indexOf(u.fill))&&(x=c.isGrouped({traceorder:x})?"grouped+reversed":"reversed"),void 0!==u.legendgroup&&""!==u.legendgroup&&(x=c.isReversed({traceorder:x})?"reversed+grouped":"grouped"));var _=i.coerce(t,e,l,"showlegend",y&&v>1);if(!1===_&&(e.legend=void 0),(!1!==_||f.uirevision)&&(p("uirevision",e.uirevision),!1!==_)){p("bgcolor",e.paper_bgcolor),p("bordercolor"),p("borderwidth");var w,T,k,A=i.coerceFont(p,"font",e.font),M="h"===p("orientation");if(M?(w=0,n.getComponentMethod("rangeslider","isVisible")(t.xaxis)?(T=1.1,k="bottom"):(T=-.1,k="top")):(w=1.02,T=1,k="auto"),p("traceorder",x),c.isGrouped(e.legend)&&p("tracegroupgap"),p("itemsizing"),p("itemwidth"),p("itemclick"),p("itemdoubleclick"),p("groupclick"),p("x",w),p("xanchor"),p("y",T),p("yanchor",k),p("valign"),i.noneOrAll(f,h,["x","y"]),p("title.text")){p("title.side",M?"left":"top");var S=i.extendFlat({},A,{size:i.bigFont(A.size)});i.coerceFont(p,"title.font",S)}}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../plots/attributes":550,"../../plots/layout_attributes":610,"../../registry":638,"./attributes":416,"./helpers":422}],419:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../plots/plots"),o=t("../../registry"),s=t("../../lib/events"),l=t("../dragelement"),c=t("../drawing"),u=t("../color"),f=t("../../lib/svg_text_utils"),h=t("./handle_click"),p=t("./constants"),d=t("../../constants/alignment"),g=d.LINE_SPACING,m=d.FROM_TL,v=d.FROM_BR,y=t("./get_legend_data"),x=t("./style"),b=t("./helpers");function _(t,e,r,n,i){var a=r.data()[0][0].trace,l={event:i,node:r.node(),curveNumber:a.index,expandedIndex:a._expandedIndex,data:t.data,layout:t.layout,frames:t._transitionData._frames,config:t._context,fullData:t._fullData,fullLayout:t._fullLayout};if(a._group&&(l.group=a._group),o.traceIs(a,"pie-like")&&(l.label=r.datum()[0].label),!1!==s.triggerHandler(t,"plotly_legendclick",l))if(1===n)e._clickTimeout=setTimeout((function(){t._fullLayout&&h(r,t,n)}),t._context.doubleClickDelay);else if(2===n){e._clickTimeout&&clearTimeout(e._clickTimeout),t._legendMouseDownTime=0,!1!==s.triggerHandler(t,"plotly_legenddoubleclick",l)&&h(r,t,n)}}function w(t,e,r){var n,a,s=t.data()[0][0],l=s.trace,u=o.traceIs(l,"pie-like"),h=!r._inHover&&e._context.edits.legendText&&!u,d=r._maxNameLength;s.groupTitle?(n=s.groupTitle.text,a=s.groupTitle.font):(a=r.font,r.entries?n=s.text:(n=u?s.label:l.name,l._meta&&(n=i.templateString(n,l._meta))));var g=i.ensureSingle(t,"text","legendtext");g.attr("text-anchor","start").call(c.font,a).text(h?T(n,d):n);var m=r.itemwidth+2*p.itemGap;f.positionText(g,m,0),h?g.call(f.makeEditable,{gd:e,text:n}).call(A,t,e,r).on("edit",(function(n){this.text(T(n,d)).call(A,t,e,r);var a=s.trace._fullInput||{},c={};if(o.hasTransform(a,"groupby")){var u=o.getTransformIndices(a,"groupby"),f=u[u.length-1],h=i.keyedContainer(a,"transforms["+f+"].styles","target","value.name");h.set(s.trace._group,n),c=h.constructUpdate()}else c.name=n;return o.call("_guiRestyle",e,c,l.index)})):A(g,t,e,r)}function T(t,e){var r=Math.max(4,e);if(t&&t.trim().length>=r/2)return t;for(var n=r-(t=t||"").length;n>0;n--)t+=" ";return t}function k(t,e){var r,a=e._context.doubleClickDelay,o=1,s=i.ensureSingle(t,"rect","legendtoggle",(function(t){e._context.staticPlot||t.style("cursor","pointer").attr("pointer-events","all"),t.call(u.fill,"rgba(0,0,0,0)")}));e._context.staticPlot||(s.on("mousedown",(function(){(r=(new Date).getTime())-e._legendMouseDownTime<a?o+=1:(o=1,e._legendMouseDownTime=r)})),s.on("mouseup",(function(){if(!e._dragged&&!e._editing){var r=e._fullLayout.legend;(new Date).getTime()-e._legendMouseDownTime>a&&(o=Math.max(o-1,1)),_(e,r,t,o,n.event)}})))}function A(t,e,r,n,i){n._inHover&&t.attr("data-notex",!0),f.convertToTspans(t,r,(function(){!function(t,e,r,n){var i=t.data()[0][0];if(!r._inHover&&i&&!i.trace.showlegend)return void t.remove();var a=t.select("g[class*=math-group]"),o=a.node();r||(r=e._fullLayout.legend);var s,l=r.borderwidth;s=1===n?r.title.font:i.groupTitle?i.groupTitle.font:r.font;var u,h,d=s.size*g;if(o){var m=c.bBox(o);u=m.height,h=m.width,1===n?c.setTranslate(a,l,l+.75*u):c.setTranslate(a,0,.25*u)}else{var v=t.select(1===n?".legendtitletext":".legendtext"),y=f.lineCount(v),x=v.node();if(u=d*y,h=x?c.bBox(x).width:0,1===n)"left"===r.title.side&&(h+=2*p.itemGap),f.positionText(v,l+p.titlePad,l+d);else{var b=2*p.itemGap+r.itemwidth;i.groupTitle&&(b=p.itemGap,h-=r.itemwidth),f.positionText(v,b,-d*((y-1)/2-.3))}}1===n?(r._titleWidth=h,r._titleHeight=u):(i.lineHeight=d,i.height=Math.max(u,16)+3,i.width=h)}(e,r,n,i)}))}function M(t){return i.isRightAnchor(t)?"right":i.isCenterAnchor(t)?"center":"left"}function S(t){return i.isBottomAnchor(t)?"bottom":i.isMiddleAnchor(t)?"middle":"top"}e.exports=function(t,e){return e||(e=t._fullLayout.legend||{}),function(t,e){var r,s,f=t._fullLayout,h="legend"+f._uid,d=e._inHover;d?(r=e.layer,h+="-hover"):r=f._infolayer;if(!r)return;t._legendMouseDownTime||(t._legendMouseDownTime=0);if(d){if(!e.entries)return;s=y(e.entries,e)}else{if(!t.calcdata)return;s=f.showlegend&&y(t.calcdata,e)}var g=f.hiddenlabels||[];if(!(d||f.showlegend&&s.length))return r.selectAll(".legend").remove(),f._topdefs.select("#"+h).remove(),a.autoMargin(t,"legend");var T=i.ensureSingle(r,"g","legend",(function(t){d||t.attr("pointer-events","all")})),E=i.ensureSingleById(f._topdefs,"clipPath",h,(function(t){t.append("rect")})),L=i.ensureSingle(T,"rect","bg",(function(t){t.attr("shape-rendering","crispEdges")}));L.call(u.stroke,e.bordercolor).call(u.fill,e.bgcolor).style("stroke-width",e.borderwidth+"px");var C=i.ensureSingle(T,"g","scrollbox"),P=e.title;if(e._titleWidth=0,e._titleHeight=0,P.text){var I=i.ensureSingle(C,"text","legendtitletext");I.attr("text-anchor","start").call(c.font,P.font).text(P.text),A(I,C,t,e,1)}else C.selectAll(".legendtitletext").remove();var O=i.ensureSingle(T,"rect","scrollbar",(function(t){t.attr(p.scrollBarEnterAttrs).call(u.fill,p.scrollBarColor)})),z=C.selectAll("g.groups").data(s);z.enter().append("g").attr("class","groups"),z.exit().remove();var D=z.selectAll("g.traces").data(i.identity);D.enter().append("g").attr("class","traces"),D.exit().remove(),D.style("opacity",(function(t){var e=t[0].trace;return o.traceIs(e,"pie-like")?-1!==g.indexOf(t[0].label)?.5:1:"legendonly"===e.visible?.5:1})).each((function(){n.select(this).call(w,t,e)})).call(x,t,e).each((function(){d||n.select(this).call(k,t)})),i.syncOrAsync([a.previousPromises,function(){return function(t,e,r,i){var a=t._fullLayout;i||(i=a.legend);var o=a._size,s=b.isVertical(i),l=b.isGrouped(i),u=i.borderwidth,f=2*u,h=p.itemGap,d=i.itemwidth+2*h,g=2*(u+h),m=S(i),v=i.y<0||0===i.y&&"top"===m,y=i.y>1||1===i.y&&"bottom"===m,x=i.tracegroupgap;i._maxHeight=Math.max(v||y?a.height/2:o.h,30);var _=0;i._width=0,i._height=0;var w=function(t){var e=0,r=0,n=t.title.side;n&&(-1!==n.indexOf("left")&&(e=t._titleWidth),-1!==n.indexOf("top")&&(r=t._titleHeight));return[e,r]}(i);if(s)r.each((function(t){var e=t[0].height;c.setTranslate(this,u+w[0],u+w[1]+i._height+e/2+h),i._height+=e,i._width=Math.max(i._width,t[0].width)})),_=d+i._width,i._width+=h+d+f,i._height+=g,l&&(e.each((function(t,e){c.setTranslate(this,0,e*i.tracegroupgap)})),i._height+=(i._lgroupsLength-1)*i.tracegroupgap);else{var T=M(i),k=i.x<0||0===i.x&&"right"===T,A=i.x>1||1===i.x&&"left"===T,E=y||v,L=a.width/2;i._maxWidth=Math.max(k?E&&"left"===T?o.l+o.w:L:A?E&&"right"===T?o.r+o.w:L:o.w,2*d);var C=0,P=0;r.each((function(t){var e=t[0].width+d;C=Math.max(C,e),P+=e})),_=null;var I=0;if(l){var O=0,z=0,D=0;e.each((function(){var t=0,e=0;n.select(this).selectAll("g.traces").each((function(r){var n=r[0].width,i=r[0].height;c.setTranslate(this,w[0],w[1]+u+h+i/2+e),e+=i,t=Math.max(t,d+n)}));var r=t+h;z>0&&r+u+z>i._maxWidth?(I=Math.max(I,z),z=0,D+=O+x,O=e):O=Math.max(O,e),c.setTranslate(this,z,D),z+=r})),i._width=Math.max(I,z)+u,i._height=D+O+g}else{var R=r.size(),F=P+f+(R-1)*h<i._maxWidth,B=0,N=0,j=0,U=0;r.each((function(t){var e=t[0].height,r=d+t[0].width,n=(F?r:C)+h;n+u+N-h>=i._maxWidth&&(I=Math.max(I,U),N=0,j+=B,i._height+=B,B=0),c.setTranslate(this,w[0]+u+N,w[1]+u+j+e/2+h),U=N+r+h,N+=n,B=Math.max(B,e)})),F?(i._width=N+f,i._height=B+g):(i._width=Math.max(I,U)+f,i._height+=B+g)}}i._width=Math.ceil(Math.max(i._width+w[0],i._titleWidth+2*(u+p.titlePad))),i._height=Math.ceil(Math.max(i._height+w[1],i._titleHeight+2*(u+p.itemGap))),i._effHeight=Math.min(i._height,i._maxHeight);var V=t._context.edits,H=V.legendText||V.legendPosition;r.each((function(t){var e=n.select(this).select(".legendtoggle"),r=t[0].height,i=H?d:_||d+t[0].width;s||(i+=h/2),c.setRect(e,0,-r/2,i,r)}))}(t,z,D,e)},function(){var s,u,g,y,x=f._size,b=e.borderwidth;if(!d){if(function(t){var e=t._fullLayout.legend,r=M(e),n=S(e);return a.autoMargin(t,"legend",{x:e.x,y:e.y,l:e._width*m[r],r:e._width*v[r],b:e._effHeight*v[n],t:e._effHeight*m[n]})}(t))return;var w=x.l+x.w*e.x-m[M(e)]*e._width,k=x.t+x.h*(1-e.y)-m[S(e)]*e._effHeight;if(f.margin.autoexpand){var A=w,P=k;w=i.constrain(w,0,f.width-e._width),k=i.constrain(k,0,f.height-e._effHeight),w!==A&&i.log("Constrain legend.x to make legend fit inside graph"),k!==P&&i.log("Constrain legend.y to make legend fit inside graph")}c.setTranslate(T,w,k)}if(O.on(".drag",null),T.on("wheel",null),d||e._height<=e._maxHeight||t._context.staticPlot){var I=e._effHeight;d&&(I=e._height),L.attr({width:e._width-b,height:I-b,x:b/2,y:b/2}),c.setTranslate(C,0,0),E.select("rect").attr({width:e._width-2*b,height:I-2*b,x:b,y:b}),c.setClipUrl(C,h,t),c.setRect(O,0,0,0,0),delete e._scrollY}else{var z,D,R,F=Math.max(p.scrollBarMinHeight,e._effHeight*e._effHeight/e._height),B=e._effHeight-F-2*p.scrollBarMargin,N=e._height-e._effHeight,j=B/N,U=Math.min(e._scrollY||0,N);L.attr({width:e._width-2*b+p.scrollBarWidth+p.scrollBarMargin,height:e._effHeight-b,x:b/2,y:b/2}),E.select("rect").attr({width:e._width-2*b+p.scrollBarWidth+p.scrollBarMargin,height:e._effHeight-2*b,x:b,y:b+U}),c.setClipUrl(C,h,t),q(U,F,j),T.on("wheel",(function(){q(U=i.constrain(e._scrollY+n.event.deltaY/B*N,0,N),F,j),0!==U&&U!==N&&n.event.preventDefault()}));var V=n.behavior.drag().on("dragstart",(function(){var t=n.event.sourceEvent;z="touchstart"===t.type?t.changedTouches[0].clientY:t.clientY,R=U})).on("drag",(function(){var t=n.event.sourceEvent;2===t.buttons||t.ctrlKey||(D="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY,q(U=function(t,e,r){var n=(r-e)/j+t;return i.constrain(n,0,N)}(R,z,D),F,j))}));O.call(V);var H=n.behavior.drag().on("dragstart",(function(){var t=n.event.sourceEvent;"touchstart"===t.type&&(z=t.changedTouches[0].clientY,R=U)})).on("drag",(function(){var t=n.event.sourceEvent;"touchmove"===t.type&&(D=t.changedTouches[0].clientY,q(U=function(t,e,r){var n=(e-r)/j+t;return i.constrain(n,0,N)}(R,z,D),F,j))}));C.call(H)}function q(r,n,i){e._scrollY=t._fullLayout.legend._scrollY=r,c.setTranslate(C,0,-r),c.setRect(O,e._width,p.scrollBarMargin+r*i,p.scrollBarWidth,n),E.select("rect").attr("y",b+r)}t._context.edits.legendPosition&&(T.classed("cursor-move",!0),l.init({element:T.node(),gd:t,prepFn:function(){var t=c.getTranslate(T);g=t.x,y=t.y},moveFn:function(t,r){var n=g+t,i=y+r;c.setTranslate(T,n,i),s=l.align(n,0,x.l,x.l+x.w,e.xanchor),u=l.align(i,0,x.t+x.h,x.t,e.yanchor)},doneFn:function(){void 0!==s&&void 0!==u&&o.call("_guiRelayout",t,{"legend.x":s,"legend.y":u})},clickFn:function(e,n){var i=r.selectAll("g.traces").filter((function(){var t=this.getBoundingClientRect();return n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom}));i.size()>0&&_(t,T,i,e,n)}}))}],t)}(t,e)}},{"../../constants/alignment":471,"../../lib":503,"../../lib/events":492,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../../registry":638,"../color":366,"../dragelement":385,"../drawing":388,"./constants":417,"./get_legend_data":420,"./handle_click":421,"./helpers":422,"./style":424,"@plotly/d3":58}],420:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("./helpers");e.exports=function(t,e){var r,a,o=e._inHover,s=i.isGrouped(e),l=i.isReversed(e),c={},u=[],f=!1,h={},p=0,d=0;function g(t,r){if(""!==t&&i.isGrouped(e))-1===u.indexOf(t)?(u.push(t),f=!0,c[t]=[r]):c[t].push(r);else{var n="~~i"+p;u.push(n),c[n]=[r],p++}}for(r=0;r<t.length;r++){var m=t[r],v=m[0],y=v.trace,x=y.legendgroup;if(o||y.visible&&y.showlegend)if(n.traceIs(y,"pie-like"))for(h[x]||(h[x]={}),a=0;a<m.length;a++){var b=m[a].label;h[x][b]||(g(x,{label:b,color:m[a].color,i:m[a].i,trace:y,pts:m[a].pts}),h[x][b]=!0,d=Math.max(d,(b||"").length))}else g(x,v),d=Math.max(d,(y.name||"").length)}if(!u.length)return[];var _=!f||!s,w=[];for(r=0;r<u.length;r++){var T=c[u[r]];_?w.push(T[0]):w.push(T)}for(_&&(w=[w]),r=0;r<w.length;r++){var k=1/0;for(a=0;a<w[r].length;a++){var A=w[r][a].trace.legendrank;k>A&&(k=A)}w[r][0]._groupMinRank=k,w[r][0]._preGroupSort=r}var M=function(t,e){return t.trace.legendrank-e.trace.legendrank||t._preSort-e._preSort};for(w.forEach((function(t,e){t[0]._preGroupSort=e})),w.sort((function(t,e){return t[0]._groupMinRank-e[0]._groupMinRank||t[0]._preGroupSort-e[0]._preGroupSort})),r=0;r<w.length;r++){w[r].forEach((function(t,e){t._preSort=e})),w[r].sort(M);var S=w[r][0].trace,E=null;for(a=0;a<w[r].length;a++){var L=w[r][a].trace.legendgrouptitle;if(L&&L.text){E=L,o&&(L.font=e._groupTitleFont);break}}if(l&&w[r].reverse(),E){var C=!1;for(a=0;a<w[r].length;a++)if(n.traceIs(w[r][a].trace,"pie-like")){C=!0;break}w[r].unshift({i:-1,groupTitle:E,noClick:C,trace:{showlegend:S.showlegend,legendgroup:S.legendgroup,visible:"toggleitem"===e.groupclick||S.visible}})}for(a=0;a<w[r].length;a++)w[r][a]=[w[r][a]]}return e._lgroupsLength=w.length,e._maxNameLength=d,w}},{"../../registry":638,"./helpers":422}],421:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=!0;e.exports=function(t,e,r){var o=e._fullLayout;if(!e._dragged&&!e._editing){var s,l=o.legend.itemclick,c=o.legend.itemdoubleclick,u=o.legend.groupclick;if(1===r&&"toggle"===l&&"toggleothers"===c&&a&&e.data&&e._context.showTips?(n.notifier(n._(e,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===r?s=l:2===r&&(s=c),s){var f="togglegroup"===u,h=o.hiddenlabels?o.hiddenlabels.slice():[],p=t.data()[0][0];if(!p.groupTitle||!p.noClick){var d,g,m,v,y,x=e._fullData,b=p.trace,_=b.legendgroup,w={},T=[],k=[],A=[];if(i.traceIs(b,"pie-like")){var M=p.label,S=h.indexOf(M);"toggle"===s?-1===S?h.push(M):h.splice(S,1):"toggleothers"===s&&(h=[],e.calcdata[0].forEach((function(t){M!==t.label&&h.push(t.label)})),e._fullLayout.hiddenlabels&&e._fullLayout.hiddenlabels.length===h.length&&-1===S&&(h=[])),i.call("_guiRelayout",e,"hiddenlabels",h)}else{var E,L=_&&_.length,C=[];if(L)for(d=0;d<x.length;d++)(E=x[d]).visible&&E.legendgroup===_&&C.push(d);if("toggle"===s){var P;switch(b.visible){case!0:P="legendonly";break;case!1:P=!1;break;case"legendonly":P=!0}if(L)if(f)for(d=0;d<x.length;d++)!1!==x[d].visible&&x[d].legendgroup===_&&j(x[d],P);else j(b,P);else j(b,P)}else if("toggleothers"===s){var I,O,z,D,R=!0;for(d=0;d<x.length;d++)if(I=x[d]===b,z=!0!==x[d].showlegend,!(I||z||(O=L&&x[d].legendgroup===_)||!0!==x[d].visible||i.traceIs(x[d],"notLegendIsolatable"))){R=!1;break}for(d=0;d<x.length;d++)if(!1!==x[d].visible&&!i.traceIs(x[d],"notLegendIsolatable"))switch(b.visible){case"legendonly":j(x[d],!0);break;case!0:D=!!R||"legendonly",I=x[d]===b,z=!0!==x[d].showlegend&&!x[d].legendgroup,O=I||L&&x[d].legendgroup===_,j(x[d],!(!O&&!z)||D)}}for(d=0;d<k.length;d++)if(m=k[d]){var F=m.constructUpdate(),B=Object.keys(F);for(g=0;g<B.length;g++)v=B[g],(w[v]=w[v]||[])[A[d]]=F[v]}for(y=Object.keys(w),d=0;d<y.length;d++)for(v=y[d],g=0;g<T.length;g++)w[v].hasOwnProperty(g)||(w[v][g]=void 0);i.call("_guiRestyle",e,w,T)}}}}function N(t,e,r){var n=T.indexOf(t),i=w[e];return i||(i=w[e]=[]),-1===T.indexOf(t)&&(T.push(t),n=T.length-1),i[n]=r,n}function j(t,e){if(!p.groupTitle||f){var r=t._fullInput;if(i.hasTransform(r,"groupby")){var a=k[r.index];if(!a){var o=i.getTransformIndices(r,"groupby"),s=o[o.length-1];a=n.keyedContainer(r,"transforms["+s+"].styles","target","value.visible"),k[r.index]=a}var l=a.get(t._group);void 0===l&&(l=!0),!1!==l&&a.set(t._group,e),A[r.index]=N(r.index,"visible",!1!==r.visible)}else{var c=!1!==r.visible&&e;N(r.index,"visible",c)}}}}},{"../../lib":503,"../../registry":638}],422:[function(t,e,r){"use strict";r.isGrouped=function(t){return-1!==(t.traceorder||"").indexOf("grouped")},r.isVertical=function(t){return"h"!==t.orientation},r.isReversed=function(t){return-1!==(t.traceorder||"").indexOf("reversed")}},{}],423:[function(t,e,r){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),draw:t("./draw"),style:t("./style")}},{"./attributes":416,"./defaults":418,"./draw":419,"./style":424}],424:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../lib"),o=a.strTranslate,s=t("../drawing"),l=t("../color"),c=t("../colorscale/helpers").extractOpts,u=t("../../traces/scatter/subtypes"),f=t("../../traces/pie/style_one"),h=t("../../traces/pie/helpers").castOption,p=t("./constants");function d(t,e){return(e?"radial":"horizontal")+(t?"":"reversed")}function g(t){var e=t[0].trace,r=e.contours,n=u.hasLines(e),i=u.hasMarkers(e),a=e.visible&&e.fill&&"none"!==e.fill,o=!1,s=!1;if(r){var l=r.coloring;"lines"===l?o=!0:n="none"===l||"heatmap"===l||r.showlines,"constraint"===r.type?a="="!==r._operation:"fill"!==l&&"heatmap"!==l||(s=!0)}return{showMarker:i,showLine:n,showFill:a,showGradientLine:o,showGradientFill:s,anyLine:n||o,anyFill:a||s}}function m(t,e,r){return t&&a.isArrayOrTypedArray(t)?e:t>r?r:t}e.exports=function(t,e,r){var v=e._fullLayout;r||(r=v.legend);var y="constant"===r.itemsizing,x=r.itemwidth,b=(x+2*p.itemGap)/2,_=o(b,0),w=function(t,e,r,n){var i;if(t+1)i=t;else{if(!(e&&e.width>0))return 0;i=e.width}return y?n:Math.min(i,r)};function T(t,a,o){var u=t[0].trace,f=u.marker||{},h=f.line||{},p=o?u.visible&&u.type===o:i.traceIs(u,"bar"),d=n.select(a).select("g.legendpoints").selectAll("path.legend"+o).data(p?[t]:[]);d.enter().append("path").classed("legend"+o,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),d.exit().remove(),d.each((function(t){var i=n.select(this),a=t[0],o=w(a.mlw,f.line,5,2);i.style("stroke-width",o+"px");var p=a.mcc;if(!r._inHover&&"mc"in a){var d=c(f),g=d.mid;void 0===g&&(g=(d.max+d.min)/2),p=s.tryColorscale(f,"")(g)}var v=p||a.mc||f.color,y=f.pattern,x=y&&s.getPatternAttr(y.shape,0,"");if(x){var b=s.getPatternAttr(y.bgcolor,0,null),_=s.getPatternAttr(y.fgcolor,0,null),T=y.fgopacity,k=m(y.size,8,10),A=m(y.solidity,.5,1),M="legend-"+u.uid;i.call(s.pattern,"legend",e,M,x,k,A,p,y.fillmode,b,_,T)}else i.call(l.fill,v);o&&l.stroke(i,a.mlc||h.color)}))}function k(t,e,r){var o=t[0],s=o.trace,l=r?s.visible&&s.type===r:i.traceIs(s,r),c=n.select(e).select("g.legendpoints").selectAll("path.legend"+r).data(l?[t]:[]);if(c.enter().append("path").classed("legend"+r,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),c.exit().remove(),c.size()){var u=(s.marker||{}).line,p=w(h(u.width,o.pts),u,5,2),d=a.minExtend(s,{marker:{line:{width:p}}});d.marker.line.color=u.color;var g=a.minExtend(o,{trace:d});f(c,g,d)}}t.each((function(t){var e=n.select(this),i=a.ensureSingle(e,"g","layers");i.style("opacity",t[0].trace.opacity);var s=r.valign,l=t[0].lineHeight,c=t[0].height;if("middle"!==s&&l&&c){var u={top:1,bottom:-1}[s]*(.5*(l-c+3));i.attr("transform",o(0,u))}else i.attr("transform",null);i.selectAll("g.legendfill").data([t]).enter().append("g").classed("legendfill",!0),i.selectAll("g.legendlines").data([t]).enter().append("g").classed("legendlines",!0);var f=i.selectAll("g.legendsymbols").data([t]);f.enter().append("g").classed("legendsymbols",!0),f.selectAll("g.legendpoints").data([t]).enter().append("g").classed("legendpoints",!0)})).each((function(t){var r,i=t[0].trace,o=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":o=[["M-15,-2V4H15V-2Z"]],r=!0;break;case"choropleth":case"choroplethmapbox":o=[["M-6,-6V6H6V-6Z"]],r=!0;break;case"densitymapbox":o=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],r="radial";break;case"cone":o=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],r=!1;break;case"streamtube":o=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],r=!1;break;case"surface":o=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],r=!0;break;case"mesh3d":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!1;break;case"volume":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!0;break;case"isosurface":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],r=!1}var u=n.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(o);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",_).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(t,o){var u,f=n.select(this),h=c(i),p=h.colorscale,g=h.reversescale;if(p){if(!r){var m=p.length;u=0===o?p[g?m-1:0][1]:1===o?p[g?0:m-1][1]:p[Math.floor((m-1)/2)][1]}}else{var v=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(v)?v[o]||v[0]:v}f.attr("d",t[0]),u?f.call(l.fill,u):f.call((function(t){if(t.size()){var n="legendfill-"+i.uid;s.gradient(t,e,n,d(g,"radial"===r),p,"fill")}}))}))})).each((function(t){var e=t[0].trace,r="waterfall"===e.type;if(t[0]._distinct&&r){var i=t[0].trace[t[0].dir].marker;return t[0].mc=i.color,t[0].mlw=i.line.width,t[0].mlc=i.line.color,T(t,this,"waterfall")}var a=[];e.visible&&r&&(a=t[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=n.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(a);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",_).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(t){var r=n.select(this),i=e[t[0]].marker,a=w(void 0,i.line,5,2);r.attr("d",t[1]).style("stroke-width",a+"px").call(l.fill,i.color),a&&r.call(l.stroke,i.line.color)}))})).each((function(t){T(t,this,"funnel")})).each((function(t){T(t,this)})).each((function(t){var r=t[0].trace,o=n.select(this).select("g.legendpoints").selectAll("path.legendbox").data(r.visible&&i.traceIs(r,"box-violin")?[t]:[]);o.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),o.exit().remove(),o.each((function(){var t=n.select(this);if("all"!==r.boxpoints&&"all"!==r.points||0!==l.opacity(r.fillcolor)||0!==l.opacity((r.line||{}).color)){var i=w(void 0,r.line,5,2);t.style("stroke-width",i+"px").call(l.fill,r.fillcolor),i&&l.stroke(t,r.line.color)}else{var c=a.minExtend(r,{marker:{size:y?12:a.constrain(r.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});o.call(s.pointStyle,c,e)}}))})).each((function(t){k(t,this,"funnelarea")})).each((function(t){k(t,this,"pie")})).each((function(t){var r,i,o=g(t),l=o.showFill,f=o.showLine,h=o.showGradientLine,p=o.showGradientFill,m=o.anyFill,v=o.anyLine,y=t[0],b=y.trace,_=c(b),T=_.colorscale,k=_.reversescale,A=u.hasMarkers(b)||!m?"M5,0":v?"M5,-2":"M5,-3",M=n.select(this),S=M.select(".legendfill").selectAll("path").data(l||p?[t]:[]);if(S.enter().append("path").classed("js-fill",!0),S.exit().remove(),S.attr("d",A+"h"+x+"v6h-"+x+"z").call(l?s.fillGroupStyle:function(t){if(t.size()){var r="legendfill-"+b.uid;s.gradient(t,e,r,d(k),T,"fill")}}),f||h){var E=w(void 0,b.line,10,5);i=a.minExtend(b,{line:{width:E}}),r=[a.minExtend(y,{trace:i})]}var L=M.select(".legendlines").selectAll("path").data(f||h?[r]:[]);L.enter().append("path").classed("js-line",!0),L.exit().remove(),L.attr("d",A+(h?"l"+x+",0.0001":"h"+x)).call(f?s.lineGroupStyle:function(t){if(t.size()){var r="legendline-"+b.uid;s.lineGroupStyle(t),s.gradient(t,e,r,d(k),T,"stroke")}})})).each((function(t){var r,i,o=g(t),l=o.anyFill,c=o.anyLine,f=o.showLine,h=o.showMarker,p=t[0],d=p.trace,m=!h&&!c&&!l&&u.hasText(d);function v(t,e,r,n){var i=a.nestedProperty(d,t).get(),o=a.isArrayOrTypedArray(i)&&e?e(i):i;if(y&&o&&void 0!==n&&(o=n),r){if(o<r[0])return r[0];if(o>r[1])return r[1]}return o}function x(t){return p._distinct&&p.index&&t[p.index]?t[p.index]:t[0]}if(h||m||f){var b={},w={};if(h){b.mc=v("marker.color",x),b.mx=v("marker.symbol",x),b.mo=v("marker.opacity",a.mean,[.2,1]),b.mlc=v("marker.line.color",x),b.mlw=v("marker.line.width",a.mean,[0,5],2),w.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var T=v("marker.size",a.mean,[2,16],12);b.ms=T,w.marker.size=T}f&&(w.line={width:v("line.width",x,[0,10],5)}),m&&(b.tx="Aa",b.tp=v("textposition",x),b.ts=10,b.tc=v("textfont.color",x),b.tf=v("textfont.family",x)),r=[a.minExtend(p,b)],(i=a.minExtend(d,w)).selectedpoints=null,i.texttemplate=null}var k=n.select(this).select("g.legendpoints"),A=k.selectAll("path.scatterpts").data(h?r:[]);A.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",_),A.exit().remove(),A.call(s.pointStyle,i,e),h&&(r[0].mrc=3);var M=k.selectAll("g.pointtext").data(m?r:[]);M.enter().append("g").classed("pointtext",!0).append("text").attr("transform",_),M.exit().remove(),M.selectAll("text").call(s.textPointStyle,i,e)})).each((function(t){var e=t[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(e.visible&&"candlestick"===e.type?[t,t]:[]);r.enter().append("path").classed("legendcandle",!0).attr("d",(function(t,e){return e?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",_).style("stroke-miterlimit",1),r.exit().remove(),r.each((function(t,r){var i=n.select(this),a=e[r?"increasing":"decreasing"],o=w(void 0,a.line,5,2);i.style("stroke-width",o+"px").call(l.fill,a.fillcolor),o&&l.stroke(i,a.line.color)}))})).each((function(t){var e=t[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(e.visible&&"ohlc"===e.type?[t,t]:[]);r.enter().append("path").classed("legendohlc",!0).attr("d",(function(t,e){return e?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",_).style("stroke-miterlimit",1),r.exit().remove(),r.each((function(t,r){var i=n.select(this),a=e[r?"increasing":"decreasing"],o=w(void 0,a.line,5,2);i.style("fill","none").call(s.dashLine,a.line.dash,o),o&&l.stroke(i,a.line.color)}))}))}},{"../../lib":503,"../../registry":638,"../../traces/pie/helpers":905,"../../traces/pie/style_one":911,"../../traces/scatter/subtypes":951,"../color":366,"../colorscale/helpers":377,"../drawing":388,"./constants":417,"@plotly/d3":58}],425:[function(t,e,r){"use strict";t("./constants");e.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},{"./constants":427}],426:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../plots/plots"),a=t("../../plots/cartesian/axis_ids"),o=t("../../fonts/ploticon"),s=t("../shapes/draw").eraseActiveShape,l=t("../../lib"),c=l._,u=e.exports={};function f(t,e){var r,i,o=e.currentTarget,s=o.getAttribute("data-attr"),l=o.getAttribute("data-val")||!0,c=t._fullLayout,u={},f=a.list(t,null,!0),h=c._cartesianSpikesEnabled;if("zoom"===s){var p,d="in"===l?.5:2,g=(1+d)/2,m=(1-d)/2;for(i=0;i<f.length;i++)if(!(r=f[i]).fixedrange)if(p=r._name,"auto"===l)u[p+".autorange"]=!0;else if("reset"===l){if(void 0===r._rangeInitial)u[p+".autorange"]=!0;else{var v=r._rangeInitial.slice();u[p+".range[0]"]=v[0],u[p+".range[1]"]=v[1]}void 0!==r._showSpikeInitial&&(u[p+".showspikes"]=r._showSpikeInitial,"on"!==h||r._showSpikeInitial||(h="off"))}else{var y=[r.r2l(r.range[0]),r.r2l(r.range[1])],x=[g*y[0]+m*y[1],g*y[1]+m*y[0]];u[p+".range[0]"]=r.l2r(x[0]),u[p+".range[1]"]=r.l2r(x[1])}}else"hovermode"!==s||"x"!==l&&"y"!==l||(l=c._isHoriz?"y":"x",o.setAttribute("data-val",l)),u[s]=l;c._cartesianSpikesEnabled=h,n.call("_guiRelayout",t,u)}function h(t,e){for(var r=e.currentTarget,i=r.getAttribute("data-attr"),a=r.getAttribute("data-val")||!0,o=t._fullLayout._subplots.gl3d||[],s={},l=i.split("."),c=0;c<o.length;c++)s[o[c]+"."+l[1]]=a;var u="pan"===a?a:"zoom";s.dragmode=u,n.call("_guiRelayout",t,s)}function p(t,e){for(var r=e.currentTarget.getAttribute("data-attr"),i="resetLastSave"===r,a="resetDefault"===r,o=t._fullLayout,s=o._subplots.gl3d||[],l={},c=0;c<s.length;c++){var u,f=s[c],h=f+".camera",p=f+".aspectratio",d=f+".aspectmode",g=o[f]._scene;i?(l[h+".up"]=g.viewInitial.up,l[h+".eye"]=g.viewInitial.eye,l[h+".center"]=g.viewInitial.center,u=!0):a&&(l[h+".up"]=null,l[h+".eye"]=null,l[h+".center"]=null,u=!0),u&&(l[p+".x"]=g.viewInitial.aspectratio.x,l[p+".y"]=g.viewInitial.aspectratio.y,l[p+".z"]=g.viewInitial.aspectratio.z,l[d]=g.viewInitial.aspectmode)}n.call("_guiRelayout",t,l)}function d(t,e){var r=e.currentTarget,n=r._previousVal,i=t._fullLayout,a=i._subplots.gl3d||[],o=["xaxis","yaxis","zaxis"],s={},l={};if(n)l=n,r._previousVal=null;else{for(var c=0;c<a.length;c++){var u=a[c],f=i[u],h=u+".hovermode";s[h]=f.hovermode,l[h]=!1;for(var p=0;p<3;p++){var d=o[p],g=u+"."+d+".showspikes";l[g]=!1,s[g]=f[d].showspikes}}r._previousVal=s}return l}function g(t,e){for(var r=e.currentTarget,i=r.getAttribute("data-attr"),a=r.getAttribute("data-val")||!0,o=t._fullLayout,s=o._subplots.geo||[],l=0;l<s.length;l++){var c=s[l],u=o[c];if("zoom"===i){var f=u.projection.scale,h="in"===a?2*f:.5*f;n.call("_guiRelayout",t,c+".projection.scale",h)}}"reset"===i&&x(t,"geo")}function m(t){var e=t._fullLayout;return!e.hovermode&&(e._has("cartesian")?e._isHoriz?"y":"x":"closest")}function v(t){var e=m(t);n.call("_guiRelayout",t,"hovermode",e)}function y(t,e){for(var r=e.currentTarget.getAttribute("data-val"),i=t._fullLayout,a=i._subplots.mapbox||[],o={},s=0;s<a.length;s++){var l=a[s],c=i[l].zoom,u="in"===r?1.05*c:c/1.05;o[l+".zoom"]=u}n.call("_guiRelayout",t,o)}function x(t,e){for(var r=t._fullLayout,i=r._subplots[e]||[],a={},o=0;o<i.length;o++)for(var s=i[o],l=r[s]._subplot.viewInitial,c=Object.keys(l),u=0;u<c.length;u++){var f=c[u];a[s+"."+f]=l[f]}n.call("_guiRelayout",t,a)}u.toImage={name:"toImage",title:function(t){var e=(t._context.toImageButtonOptions||{}).format||"png";return c(t,"png"===e?"Download plot as a png":"Download plot")},icon:o.camera,click:function(t){var e=t._context.toImageButtonOptions,r={format:e.format||"png"};l.notifier(c(t,"Taking snapshot - this may take a few seconds"),"long"),"svg"!==r.format&&l.isIE()&&(l.notifier(c(t,"IE only supports svg.  Changing format to svg."),"long"),r.format="svg"),["filename","width","height","scale"].forEach((function(t){t in e&&(r[t]=e[t])})),n.call("downloadImage",t,r).then((function(e){l.notifier(c(t,"Snapshot succeeded")+" - "+e,"long")})).catch((function(){l.notifier(c(t,"Sorry, there was a problem downloading your snapshot!"),"long")}))}},u.sendDataToCloud={name:"sendDataToCloud",title:function(t){return c(t,"Edit in Chart Studio")},icon:o.disk,click:function(t){i.sendDataToCloud(t)}},u.editInChartStudio={name:"editInChartStudio",title:function(t){return c(t,"Edit in Chart Studio")},icon:o.pencil,click:function(t){i.sendDataToCloud(t)}},u.zoom2d={name:"zoom2d",_cat:"zoom",title:function(t){return c(t,"Zoom")},attr:"dragmode",val:"zoom",icon:o.zoombox,click:f},u.pan2d={name:"pan2d",_cat:"pan",title:function(t){return c(t,"Pan")},attr:"dragmode",val:"pan",icon:o.pan,click:f},u.select2d={name:"select2d",_cat:"select",title:function(t){return c(t,"Box Select")},attr:"dragmode",val:"select",icon:o.selectbox,click:f},u.lasso2d={name:"lasso2d",_cat:"lasso",title:function(t){return c(t,"Lasso Select")},attr:"dragmode",val:"lasso",icon:o.lasso,click:f},u.drawclosedpath={name:"drawclosedpath",title:function(t){return c(t,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:o.drawclosedpath,click:f},u.drawopenpath={name:"drawopenpath",title:function(t){return c(t,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:o.drawopenpath,click:f},u.drawline={name:"drawline",title:function(t){return c(t,"Draw line")},attr:"dragmode",val:"drawline",icon:o.drawline,click:f},u.drawrect={name:"drawrect",title:function(t){return c(t,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:o.drawrect,click:f},u.drawcircle={name:"drawcircle",title:function(t){return c(t,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:o.drawcircle,click:f},u.eraseshape={name:"eraseshape",title:function(t){return c(t,"Erase active shape")},icon:o.eraseshape,click:s},u.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(t){return c(t,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:f},u.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(t){return c(t,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:f},u.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(t){return c(t,"Autoscale")},attr:"zoom",val:"auto",icon:o.autoscale,click:f},u.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(t){return c(t,"Reset axes")},attr:"zoom",val:"reset",icon:o.home,click:f},u.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(t){return c(t,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:o.tooltip_basic,gravity:"ne",click:f},u.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(t){return c(t,"Compare data on hover")},attr:"hovermode",val:function(t){return t._fullLayout._isHoriz?"y":"x"},icon:o.tooltip_compare,gravity:"ne",click:f},u.zoom3d={name:"zoom3d",_cat:"zoom",title:function(t){return c(t,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:o.zoombox,click:h},u.pan3d={name:"pan3d",_cat:"pan",title:function(t){return c(t,"Pan")},attr:"scene.dragmode",val:"pan",icon:o.pan,click:h},u.orbitRotation={name:"orbitRotation",title:function(t){return c(t,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:o["3d_rotate"],click:h},u.tableRotation={name:"tableRotation",title:function(t){return c(t,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:o["z-axis"],click:h},u.resetCameraDefault3d={name:"resetCameraDefault3d",_cat:"resetCameraDefault",title:function(t){return c(t,"Reset camera to default")},attr:"resetDefault",icon:o.home,click:p},u.resetCameraLastSave3d={name:"resetCameraLastSave3d",_cat:"resetCameraLastSave",title:function(t){return c(t,"Reset camera to last save")},attr:"resetLastSave",icon:o.movie,click:p},u.hoverClosest3d={name:"hoverClosest3d",_cat:"hoverclosest",title:function(t){return c(t,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:function(t,e){var r=d(t,e);n.call("_guiRelayout",t,r)}},u.zoomInGeo={name:"zoomInGeo",_cat:"zoomin",title:function(t){return c(t,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:g},u.zoomOutGeo={name:"zoomOutGeo",_cat:"zoomout",title:function(t){return c(t,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:g},u.resetGeo={name:"resetGeo",_cat:"reset",title:function(t){return c(t,"Reset")},attr:"reset",val:null,icon:o.autoscale,click:g},u.hoverClosestGeo={name:"hoverClosestGeo",_cat:"hoverclosest",title:function(t){return c(t,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:v},u.hoverClosestGl2d={name:"hoverClosestGl2d",_cat:"hoverclosest",title:function(t){return c(t,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:v},u.hoverClosestPie={name:"hoverClosestPie",_cat:"hoverclosest",title:function(t){return c(t,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:o.tooltip_basic,gravity:"ne",click:v},u.resetViewSankey={name:"resetSankeyGroup",title:function(t){return c(t,"Reset view")},icon:o.home,click:function(t){for(var e={"node.groups":[],"node.x":[],"node.y":[]},r=0;r<t._fullData.length;r++){var i=t._fullData[r]._viewInitial;e["node.groups"].push(i.node.groups.slice()),e["node.x"].push(i.node.x.slice()),e["node.y"].push(i.node.y.slice())}n.call("restyle",t,e)}},u.toggleHover={name:"toggleHover",title:function(t){return c(t,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:function(t,e){var r=d(t,e);r.hovermode=m(t),n.call("_guiRelayout",t,r)}},u.resetViews={name:"resetViews",title:function(t){return c(t,"Reset views")},icon:o.home,click:function(t,e){var r=e.currentTarget;r.setAttribute("data-attr","zoom"),r.setAttribute("data-val","reset"),f(t,e),r.setAttribute("data-attr","resetLastSave"),p(t,e),x(t,"geo"),x(t,"mapbox")}},u.toggleSpikelines={name:"toggleSpikelines",title:function(t){return c(t,"Toggle Spike Lines")},icon:o.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(t){var e=t._fullLayout,r=e._cartesianSpikesEnabled;e._cartesianSpikesEnabled="on"===r?"off":"on",n.call("_guiRelayout",t,function(t){for(var e="on"===t._fullLayout._cartesianSpikesEnabled,r=a.list(t,null,!0),n={},i=0;i<r.length;i++){var o=r[i];n[o._name+".showspikes"]=!!e||o._showSpikeInitial}return n}(t))}},u.resetViewMapbox={name:"resetViewMapbox",_cat:"resetView",title:function(t){return c(t,"Reset view")},attr:"reset",icon:o.home,click:function(t){x(t,"mapbox")}},u.zoomInMapbox={name:"zoomInMapbox",_cat:"zoomin",title:function(t){return c(t,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:y},u.zoomOutMapbox={name:"zoomOutMapbox",_cat:"zoomout",title:function(t){return c(t,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:y}},{"../../fonts/ploticon":482,"../../lib":503,"../../plots/cartesian/axis_ids":558,"../../plots/plots":619,"../../registry":638,"../shapes/draw":450}],427:[function(t,e,r){"use strict";var n=t("./buttons"),i=Object.keys(n),a=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"],o=["v1hovermode","hoverclosest","hovercompare","togglehover","togglespikelines"].concat(a),s=[];i.forEach((function(t){!function(t){if(-1===o.indexOf(t._cat||t.name)){var e=t.name,r=(t._cat||t.name).toLowerCase();-1===s.indexOf(e)&&s.push(e),-1===s.indexOf(r)&&s.push(r)}}(n[t])})),s.sort(),e.exports={DRAW_MODES:a,backButtons:o,foreButtons:s}},{"./buttons":426}],428:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../color"),a=t("../../plot_api/plot_template"),o=t("./attributes");e.exports=function(t,e){var r=t.modebar||{},s=a.newContainer(e,"modebar");function l(t,e){return n.coerce(r,s,o,t,e)}l("orientation"),l("bgcolor",i.addOpacity(e.paper_bgcolor,.5));var c=i.contrast(i.rgb(e.modebar.bgcolor));l("color",i.addOpacity(c,.3)),l("activecolor",i.addOpacity(c,.7)),l("uirevision",e.uirevision),l("add"),l("remove")}},{"../../lib":503,"../../plot_api/plot_template":543,"../color":366,"./attributes":425}],429:[function(t,e,r){"use strict";e.exports={moduleType:"component",name:"modebar",layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),manage:t("./manage")}},{"./attributes":425,"./defaults":428,"./manage":430}],430:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axis_ids"),i=t("../../traces/scatter/subtypes"),a=t("../../registry"),o=t("../fx/helpers").isUnifiedHover,s=t("./modebar"),l=t("./buttons"),c=t("./constants").DRAW_MODES;e.exports=function(t){var e=t._fullLayout,r=t._context,u=e._modeBar;if(r.displayModeBar||r.watermark){if(!Array.isArray(r.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(r.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var f,h=r.modeBarButtons;f=Array.isArray(h)&&h.length?function(t){for(var e=0;e<t.length;e++)for(var r=t[e],n=0;n<r.length;n++){var i=r[n];if("string"==typeof i){if(void 0===l[i])throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "));t[e][n]=l[i]}}return t}(h):!r.displayModeBar&&r.watermark?[]:function(t){var e=t._fullLayout,r=t._fullData,s=t._context;function u(t,e){if("string"==typeof e){if(e.toLowerCase()===t.toLowerCase())return!0}else{var r=e.name,n=e._cat||e.name;if(r===t||n===t.toLowerCase())return!0}return!1}var f=e.modebar.add;"string"==typeof f&&(f=[f]);var h=e.modebar.remove;"string"==typeof h&&(h=[h]);var p=s.modeBarButtonsToAdd.concat(f.filter((function(t){for(var e=0;e<s.modeBarButtonsToRemove.length;e++)if(u(t,s.modeBarButtonsToRemove[e]))return!1;return!0}))),d=s.modeBarButtonsToRemove.concat(h.filter((function(t){for(var e=0;e<s.modeBarButtonsToAdd.length;e++)if(u(t,s.modeBarButtonsToAdd[e]))return!1;return!0}))),g=e._has("cartesian"),m=e._has("gl3d"),v=e._has("geo"),y=e._has("pie"),x=e._has("funnelarea"),b=e._has("gl2d"),_=e._has("ternary"),w=e._has("mapbox"),T=e._has("polar"),k=e._has("smith"),A=e._has("sankey"),M=function(t){for(var e=n.list({_fullLayout:t},null,!0),r=0;r<e.length;r++)if(!e[r].fixedrange)return!1;return!0}(e),S=o(e.hovermode),E=[];function L(t){if(t.length){for(var e=[],r=0;r<t.length;r++){for(var n=t[r],i=l[n],a=i.name.toLowerCase(),o=(i._cat||i.name).toLowerCase(),s=!1,c=0;c<d.length;c++){var u=d[c].toLowerCase();if(u===a||u===o){s=!0;break}}s||e.push(l[n])}E.push(e)}}var C=["toImage"];s.showEditInChartStudio?C.push("editInChartStudio"):s.showSendToCloud&&C.push("sendDataToCloud");L(C);var P=[],I=[],O=[],z=[];(g||b||y||x||_)+v+m+w+T+k>1?(I=["toggleHover"],O=["resetViews"]):v?(P=["zoomInGeo","zoomOutGeo"],I=["hoverClosestGeo"],O=["resetGeo"]):m?(I=["hoverClosest3d"],O=["resetCameraDefault3d","resetCameraLastSave3d"]):w?(P=["zoomInMapbox","zoomOutMapbox"],I=["toggleHover"],O=["resetViewMapbox"]):b?I=["hoverClosestGl2d"]:y?I=["hoverClosestPie"]:A?(I=["hoverClosestCartesian","hoverCompareCartesian"],O=["resetViewSankey"]):I=["toggleHover"];g&&(I=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(t){for(var e=0;e<t.length;e++)if(!a.traceIs(t[e],"noHover"))return!1;return!0}(r)||S)&&(I=[]);!g&&!b||M||(P=["zoomIn2d","zoomOut2d","autoScale2d"],"resetViews"!==O[0]&&(O=["resetScale2d"]));m?z=["zoom3d","pan3d","orbitRotation","tableRotation"]:(g||b)&&!M||_?z=["zoom2d","pan2d"]:w||v?z=["pan2d"]:T&&(z=["zoom2d"]);(function(t){for(var e=!1,r=0;r<t.length&&!e;r++){var n=t[r];n._module&&n._module.selectPoints&&(a.traceIs(n,"scatter-like")?(i.hasMarkers(n)||i.hasText(n))&&(e=!0):a.traceIs(n,"box-violin")&&"all"!==n.boxpoints&&"all"!==n.points||(e=!0))}return e})(r)&&z.push("select2d","lasso2d");var D=[],R=function(t){-1===D.indexOf(t)&&-1!==I.indexOf(t)&&D.push(t)};if(Array.isArray(p)){for(var F=[],B=0;B<p.length;B++){var N=p[B];"string"==typeof N?(N=N.toLowerCase(),-1!==c.indexOf(N)?(e._has("mapbox")||e._has("cartesian"))&&z.push(N):"togglespikelines"===N?R("toggleSpikelines"):"togglehover"===N?R("toggleHover"):"hovercompare"===N?R("hoverCompareCartesian"):"hoverclosest"===N?(R("hoverClosestCartesian"),R("hoverClosestGeo"),R("hoverClosest3d"),R("hoverClosestGl2d"),R("hoverClosestPie")):"v1hovermode"===N&&(R("toggleHover"),R("hoverClosestCartesian"),R("hoverCompareCartesian"),R("hoverClosestGeo"),R("hoverClosest3d"),R("hoverClosestGl2d"),R("hoverClosestPie"))):F.push(N)}p=F}return L(z),L(P.concat(O)),L(D),function(t,e){if(e.length)if(Array.isArray(e[0]))for(var r=0;r<e.length;r++)t.push(e[r]);else t.push(e);return t}(E,p)}(t),u?u.update(t,f):e._modeBar=s(t,f)}else u&&(u.destroy(),delete e._modeBar)}},{"../../plots/cartesian/axis_ids":558,"../../registry":638,"../../traces/scatter/subtypes":951,"../fx/helpers":402,"./buttons":426,"./constants":427,"./modebar":431}],431:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../lib"),o=t("../../fonts/ploticon"),s=t("../../version").version,l=new DOMParser;function c(t){this.container=t.container,this.element=document.createElement("div"),this.update(t.graphInfo,t.buttons),this.container.appendChild(this.element)}var u=c.prototype;u.update=function(t,e){this.graphInfo=t;var r=this.graphInfo._context,n=this.graphInfo._fullLayout,i="modebar-"+n._uid;this.element.setAttribute("id",i),this._uid=i,this.element.className="modebar","hover"===r.displayModeBar&&(this.element.className+=" modebar--hover ease-bg"),"v"===n.modebar.orientation&&(this.element.className+=" vertical",e=e.reverse());var o=n.modebar,s="hover"===r.displayModeBar?".js-plotly-plot .plotly:hover ":"";a.deleteRelatedStyleRule(i),a.addRelatedStyleRule(i,s+"#"+i+" .modebar-group","background-color: "+o.bgcolor),a.addRelatedStyleRule(i,"#"+i+" .modebar-btn .icon path","fill: "+o.color),a.addRelatedStyleRule(i,"#"+i+" .modebar-btn:hover .icon path","fill: "+o.activecolor),a.addRelatedStyleRule(i,"#"+i+" .modebar-btn.active .icon path","fill: "+o.activecolor);var l=!this.hasButtons(e),c=this.hasLogo!==r.displaylogo,u=this.locale!==r.locale;if(this.locale=r.locale,(l||c||u)&&(this.removeAllButtons(),this.updateButtons(e),r.watermark||r.displaylogo)){var f=this.getLogo();r.watermark&&(f.className=f.className+" watermark"),"v"===n.modebar.orientation?this.element.insertBefore(f,this.element.childNodes[0]):this.element.appendChild(f),this.hasLogo=!0}this.updateActiveButton()},u.updateButtons=function(t){var e=this;this.buttons=t,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(t){var r=e.createGroup();t.forEach((function(t){var n=t.name;if(!n)throw new Error("must provide button 'name' in button config");if(-1!==e.buttonsNames.indexOf(n))throw new Error("button name '"+n+"' is taken");e.buttonsNames.push(n);var i=e.createButton(t);e.buttonElements.push(i),r.appendChild(i)})),e.element.appendChild(r)}))},u.createGroup=function(){var t=document.createElement("div");return t.className="modebar-group",t},u.createButton=function(t){var e=this,r=document.createElement("a");r.setAttribute("rel","tooltip"),r.className="modebar-btn";var i=t.title;void 0===i?i=t.name:"function"==typeof i&&(i=i(this.graphInfo)),(i||0===i)&&r.setAttribute("data-title",i),void 0!==t.attr&&r.setAttribute("data-attr",t.attr);var a=t.val;if(void 0!==a&&("function"==typeof a&&(a=a(this.graphInfo)),r.setAttribute("data-val",a)),"function"!=typeof t.click)throw new Error("must provide button 'click' function in button config");r.addEventListener("click",(function(r){t.click(e.graphInfo,r),e.updateActiveButton(r.currentTarget)})),r.setAttribute("data-toggle",t.toggle||!1),t.toggle&&n.select(r).classed("active",!0);var s=t.icon;return"function"==typeof s?r.appendChild(s()):r.appendChild(this.createIcon(s||o.question)),r.setAttribute("data-gravity",t.gravity||"n"),r},u.createIcon=function(t){var e,r=i(t.height)?Number(t.height):t.ascent-t.descent,n="http://www.w3.org/2000/svg";if(t.path){(e=document.createElementNS(n,"svg")).setAttribute("viewBox",[0,0,t.width,r].join(" ")),e.setAttribute("class","icon");var a=document.createElementNS(n,"path");a.setAttribute("d",t.path),t.transform?a.setAttribute("transform",t.transform):void 0!==t.ascent&&a.setAttribute("transform","matrix(1 0 0 -1 0 "+t.ascent+")"),e.appendChild(a)}t.svg&&(e=l.parseFromString(t.svg,"application/xml").childNodes[0]);return e.setAttribute("height","1em"),e.setAttribute("width","1em"),e},u.updateActiveButton=function(t){var e=this.graphInfo._fullLayout,r=void 0!==t?t.getAttribute("data-attr"):null;this.buttonElements.forEach((function(t){var i=t.getAttribute("data-val")||!0,o=t.getAttribute("data-attr"),s="true"===t.getAttribute("data-toggle"),l=n.select(t);if(s)o===r&&l.classed("active",!l.classed("active"));else{var c=null===o?o:a.nestedProperty(e,o).get();l.classed("active",c===i)}}))},u.hasButtons=function(t){var e=this.buttons;if(!e)return!1;if(t.length!==e.length)return!1;for(var r=0;r<t.length;++r){if(t[r].length!==e[r].length)return!1;for(var n=0;n<t[r].length;n++)if(t[r][n].name!==e[r][n].name)return!1}return!0},u.getLogo=function(){var t=this.createGroup(),e=document.createElement("a");return e.href="https://plotly.com/",e.target="_blank",e.setAttribute("data-title",a._(this.graphInfo,"Produced with Plotly.js")+" (v"+s+")"),e.className="modebar-btn plotlyjsicon modebar-btn--logo",e.appendChild(this.createIcon(o.newplotlylogo)),t.appendChild(e),t},u.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},u.destroy=function(){a.removeElement(this.container.querySelector(".modebar")),a.deleteRelatedStyleRule(this._uid)},e.exports=function(t,e){var r=t._fullLayout,i=new c({graphInfo:t,container:r._modebardiv.node(),buttons:e});return r._privateplot&&n.select(i.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),i}},{"../../fonts/ploticon":482,"../../lib":503,"../../version":1119,"@plotly/d3":58,"fast-isnumeric":190}],432:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../color/attributes"),a=(0,t("../../plot_api/plot_template").templatedArray)("button",{visible:{valType:"boolean",dflt:!0,editType:"plot"},step:{valType:"enumerated",values:["month","year","day","hour","minute","second","all"],dflt:"month",editType:"plot"},stepmode:{valType:"enumerated",values:["backward","todate"],dflt:"backward",editType:"plot"},count:{valType:"number",min:0,dflt:1,editType:"plot"},label:{valType:"string",editType:"plot"},editType:"plot"});e.exports={visible:{valType:"boolean",editType:"plot"},buttons:a,x:{valType:"number",min:-2,max:3,editType:"plot"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"plot"},y:{valType:"number",min:-2,max:3,editType:"plot"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"bottom",editType:"plot"},font:n({editType:"plot"}),bgcolor:{valType:"color",dflt:i.lightLine,editType:"plot"},activecolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:i.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"}},{"../../plot_api/plot_template":543,"../../plots/font_attributes":585,"../color/attributes":365}],433:[function(t,e,r){"use strict";e.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},{}],434:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../color"),a=t("../../plot_api/plot_template"),o=t("../../plots/array_container_defaults"),s=t("./attributes"),l=t("./constants");function c(t,e,r,i){var a=i.calendar;function o(r,i){return n.coerce(t,e,s.buttons,r,i)}if(o("visible")){var l=o("step");"all"!==l&&(!a||"gregorian"===a||"month"!==l&&"year"!==l?o("stepmode"):e.stepmode="backward",o("count")),o("label")}}e.exports=function(t,e,r,u,f){var h=t.rangeselector||{},p=a.newContainer(e,"rangeselector");function d(t,e){return n.coerce(h,p,s,t,e)}if(d("visible",o(h,p,{name:"buttons",handleItemDefaults:c,calendar:f}).length>0)){var g=function(t,e,r){for(var n=r.filter((function(r){return e[r].anchor===t._id})),i=0,a=0;a<n.length;a++){var o=e[n[a]].domain;o&&(i=Math.max(o[1],i))}return[t.domain[0],i+l.yPad]}(e,r,u);d("x",g[0]),d("y",g[1]),n.noneOrAll(t,e,["x","y"]),d("xanchor"),d("yanchor"),n.coerceFont(d,"font",r.font);var m=d("bgcolor");d("activecolor",i.contrast(m,l.lightAmount,l.darkAmount)),d("bordercolor"),d("borderwidth")}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../plots/array_container_defaults":549,"../color":366,"./attributes":432,"./constants":433}],435:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../plots/plots"),o=t("../color"),s=t("../drawing"),l=t("../../lib"),c=l.strTranslate,u=t("../../lib/svg_text_utils"),f=t("../../plots/cartesian/axis_ids"),h=t("../../constants/alignment"),p=h.LINE_SPACING,d=h.FROM_TL,g=h.FROM_BR,m=t("./constants"),v=t("./get_update_object");function y(t){return t._id}function x(t,e,r){var n=l.ensureSingle(t,"rect","selector-rect",(function(t){t.attr("shape-rendering","crispEdges")}));n.attr({rx:m.rx,ry:m.ry}),n.call(o.stroke,e.bordercolor).call(o.fill,function(t,e){return e._isActive||e._isHovered?t.activecolor:t.bgcolor}(e,r)).style("stroke-width",e.borderwidth+"px")}function b(t,e,r,n){l.ensureSingle(t,"text","selector-text",(function(t){t.attr("text-anchor","middle")})).call(s.font,e.font).text(function(t,e){if(t.label)return e?l.templateString(t.label,e):t.label;return"all"===t.step?"all":t.count+t.step.charAt(0)}(r,n._fullLayout._meta)).call((function(t){u.convertToTspans(t,n)}))}e.exports=function(t){var e=t._fullLayout._infolayer.selectAll(".rangeselector").data(function(t){for(var e=f.list(t,"x",!0),r=[],n=0;n<e.length;n++){var i=e[n];i.rangeselector&&i.rangeselector.visible&&r.push(i)}return r}(t),y);e.enter().append("g").classed("rangeselector",!0),e.exit().remove(),e.style({cursor:"pointer","pointer-events":"all"}),e.each((function(e){var r=n.select(this),o=e,f=o.rangeselector,h=r.selectAll("g.button").data(l.filterVisible(f.buttons));h.enter().append("g").classed("button",!0),h.exit().remove(),h.each((function(e){var r=n.select(this),a=v(o,e);e._isActive=function(t,e,r){if("all"===e.step)return!0===t.autorange;var n=Object.keys(r);return t.range[0]===r[n[0]]&&t.range[1]===r[n[1]]}(o,e,a),r.call(x,f,e),r.call(b,f,e,t),r.on("click",(function(){t._dragged||i.call("_guiRelayout",t,a)})),r.on("mouseover",(function(){e._isHovered=!0,r.call(x,f,e)})),r.on("mouseout",(function(){e._isHovered=!1,r.call(x,f,e)}))})),function(t,e,r,i,o){var f=0,h=0,v=r.borderwidth;e.each((function(){var t=n.select(this).select(".selector-text"),e=r.font.size*p,i=Math.max(e*u.lineCount(t),16)+3;h=Math.max(h,i)})),e.each((function(){var t=n.select(this),e=t.select(".selector-rect"),i=t.select(".selector-text"),a=i.node()&&s.bBox(i.node()).width,o=r.font.size*p,l=u.lineCount(i),d=Math.max(a+10,m.minButtonWidth);t.attr("transform",c(v+f,v)),e.attr({x:0,y:0,width:d,height:h}),u.positionText(i,d/2,h/2-(l-1)*o/2+3),f+=d+5}));var y=t._fullLayout._size,x=y.l+y.w*r.x,b=y.t+y.h*(1-r.y),_="left";l.isRightAnchor(r)&&(x-=f,_="right");l.isCenterAnchor(r)&&(x-=f/2,_="center");var w="top";l.isBottomAnchor(r)&&(b-=h,w="bottom");l.isMiddleAnchor(r)&&(b-=h/2,w="middle");f=Math.ceil(f),h=Math.ceil(h),x=Math.round(x),b=Math.round(b),a.autoMargin(t,i+"-range-selector",{x:r.x,y:r.y,l:f*d[_],r:f*g[_],b:h*g[w],t:h*d[w]}),o.attr("transform",c(x,b))}(t,h,f,o._name,r)}))}},{"../../constants/alignment":471,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axis_ids":558,"../../plots/plots":619,"../../registry":638,"../color":366,"../drawing":388,"./constants":433,"./get_update_object":436,"@plotly/d3":58}],436:[function(t,e,r){"use strict";var n=t("d3-time"),i=t("../../lib").titleCase;e.exports=function(t,e){var r=t._name,a={};if("all"===e.step)a[r+".autorange"]=!0;else{var o=function(t,e){var r,a=t.range,o=new Date(t.r2l(a[1])),s=e.step,l=n["utc"+i(s)],c=e.count;switch(e.stepmode){case"backward":r=t.l2r(+l.offset(o,-c));break;case"todate":var u=l.offset(o,-c);r=t.l2r(+l.ceil(u))}var f=a[1];return[r,f]}(t,e);a[r+".range[0]"]=o[0],a[r+".range[1]"]=o[1]}return a}},{"../../lib":503,"d3-time":122}],437:[function(t,e,r){"use strict";e.exports={moduleType:"component",name:"rangeselector",schema:{subplots:{xaxis:{rangeselector:t("./attributes")}}},layoutAttributes:t("./attributes"),handleDefaults:t("./defaults"),draw:t("./draw")}},{"./attributes":432,"./defaults":434,"./draw":435}],438:[function(t,e,r){"use strict";var n=t("../color/attributes");e.exports={bgcolor:{valType:"color",dflt:n.background,editType:"plot"},bordercolor:{valType:"color",dflt:n.defaultLine,editType:"plot"},borderwidth:{valType:"integer",dflt:0,min:0,editType:"plot"},autorange:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},range:{valType:"info_array",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1}},thickness:{valType:"number",dflt:.15,min:0,max:1,editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"}},{"../color/attributes":365}],439:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axis_ids").list,i=t("../../plots/cartesian/autorange").getAutoRange,a=t("./constants");e.exports=function(t){for(var e=n(t,"x",!0),r=0;r<e.length;r++){var o=e[r],s=o[a.name];s&&s.visible&&s.autorange&&(s._input.autorange=!0,s._input.range=s.range=i(t,o))}}},{"../../plots/cartesian/autorange":553,"../../plots/cartesian/axis_ids":558,"./constants":440}],440:[function(t,e,r){"use strict";e.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},{}],441:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plot_api/plot_template"),a=t("../../plots/cartesian/axis_ids"),o=t("./attributes"),s=t("./oppaxis_attributes");e.exports=function(t,e,r){var l=t[r],c=e[r];if(l.rangeslider||e._requestRangeslider[c._id]){n.isPlainObject(l.rangeslider)||(l.rangeslider={});var u,f,h=l.rangeslider,p=i.newContainer(c,"rangeslider");if(_("visible")){_("bgcolor",e.plot_bgcolor),_("bordercolor"),_("borderwidth"),_("thickness"),_("autorange",!c.isValidRange(h.range)),_("range");var d=e._subplots;if(d)for(var g=d.cartesian.filter((function(t){return t.substr(0,t.indexOf("y"))===a.name2id(r)})).map((function(t){return t.substr(t.indexOf("y"),t.length)})),m=n.simpleMap(g,a.id2name),v=0;v<m.length;v++){var y=m[v];u=h[y]||{},f=i.newContainer(p,y,"yaxis");var x,b=e[y];u.range&&b.isValidRange(u.range)&&(x="fixed"),"match"!==w("rangemode",x)&&w("range",b.range.slice())}p._input=h}}function _(t,e){return n.coerce(h,p,o,t,e)}function w(t,e){return n.coerce(u,f,s,t,e)}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_ids":558,"./attributes":438,"./oppaxis_attributes":445}],442:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../plots/plots"),o=t("../../lib"),s=o.strTranslate,l=t("../drawing"),c=t("../color"),u=t("../titles"),f=t("../../plots/cartesian"),h=t("../../plots/cartesian/axis_ids"),p=t("../dragelement"),d=t("../../lib/setcursor"),g=t("./constants");function m(t,e,r,n){var i=o.ensureSingle(t,"rect",g.bgClassName,(function(t){t.attr({x:0,y:0,"shape-rendering":"crispEdges"})})),a=n.borderwidth%2==0?n.borderwidth:n.borderwidth-1,c=-n._offsetShift,u=l.crispRound(e,n.borderwidth);i.attr({width:n._width+a,height:n._height+a,transform:s(c,c),fill:n.bgcolor,stroke:n.bordercolor,"stroke-width":u})}function v(t,e,r,n){var i=e._fullLayout;o.ensureSingleById(i._topdefs,"clipPath",n._clipId,(function(t){t.append("rect").attr({x:0,y:0})})).select("rect").attr({width:n._width,height:n._height})}function y(t,e,r,i){var s,c=e.calcdata,u=t.selectAll("g."+g.rangePlotClassName).data(r._subplotsWith,o.identity);u.enter().append("g").attr("class",(function(t){return g.rangePlotClassName+" "+t})).call(l.setClipUrl,i._clipId,e),u.order(),u.exit().remove(),u.each((function(t,o){var l=n.select(this),u=0===o,p=h.getFromId(e,t,"y"),d=p._name,g=i[d],m={data:[],layout:{xaxis:{type:r.type,domain:[0,1],range:i.range.slice(),calendar:r.calendar},width:i._width,height:i._height,margin:{t:0,b:0,l:0,r:0}},_context:e._context};r.rangebreaks&&(m.layout.xaxis.rangebreaks=r.rangebreaks),m.layout[d]={type:p.type,domain:[0,1],range:"match"!==g.rangemode?g.range.slice():p.range.slice(),calendar:p.calendar},p.rangebreaks&&(m.layout[d].rangebreaks=p.rangebreaks),a.supplyDefaults(m);var v=m._fullLayout.xaxis,y=m._fullLayout[d];v.clearCalc(),v.setScale(),y.clearCalc(),y.setScale();var x={id:t,plotgroup:l,xaxis:v,yaxis:y,isRangePlot:!0};u?s=x:(x.mainplot="xy",x.mainplotinfo=s),f.rangePlot(e,x,function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],a=i[0].trace;a.xaxis+a.yaxis===e&&r.push(i)}return r}(c,t))}))}function x(t,e,r,n,i){(o.ensureSingle(t,"rect",g.maskMinClassName,(function(t){t.attr({x:0,y:0,"shape-rendering":"crispEdges"})})).attr("height",n._height).call(c.fill,g.maskColor),o.ensureSingle(t,"rect",g.maskMaxClassName,(function(t){t.attr({y:0,"shape-rendering":"crispEdges"})})).attr("height",n._height).call(c.fill,g.maskColor),"match"!==i.rangemode)&&(o.ensureSingle(t,"rect",g.maskMinOppAxisClassName,(function(t){t.attr({y:0,"shape-rendering":"crispEdges"})})).attr("width",n._width).call(c.fill,g.maskOppAxisColor),o.ensureSingle(t,"rect",g.maskMaxOppAxisClassName,(function(t){t.attr({y:0,"shape-rendering":"crispEdges"})})).attr("width",n._width).style("border-top",g.maskOppBorder).call(c.fill,g.maskOppAxisColor))}function b(t,e,r,n){e._context.staticPlot||o.ensureSingle(t,"rect",g.slideBoxClassName,(function(t){t.attr({y:0,cursor:g.slideBoxCursor,"shape-rendering":"crispEdges"})})).attr({height:n._height,fill:g.slideBoxFill})}function _(t,e,r,n){var i=o.ensureSingle(t,"g",g.grabberMinClassName),a=o.ensureSingle(t,"g",g.grabberMaxClassName),s={x:0,width:g.handleWidth,rx:g.handleRadius,fill:c.background,stroke:c.defaultLine,"stroke-width":g.handleStrokeWidth,"shape-rendering":"crispEdges"},l={y:Math.round(n._height/4),height:Math.round(n._height/2)};o.ensureSingle(i,"rect",g.handleMinClassName,(function(t){t.attr(s)})).attr(l),o.ensureSingle(a,"rect",g.handleMaxClassName,(function(t){t.attr(s)})).attr(l);var u={width:g.grabAreaWidth,x:0,y:0,fill:g.grabAreaFill,cursor:e._context.staticPlot?void 0:g.grabAreaCursor};o.ensureSingle(i,"rect",g.grabAreaMinClassName,(function(t){t.attr(u)})).attr("height",n._height),o.ensureSingle(a,"rect",g.grabAreaMaxClassName,(function(t){t.attr(u)})).attr("height",n._height)}e.exports=function(t){for(var e=t._fullLayout,r=e._rangeSliderData,a=0;a<r.length;a++){var l=r[a][g.name];l._clipId=l._id+"-"+e._uid}var c=e._infolayer.selectAll("g."+g.containerClassName).data(r,(function(t){return t._name}));c.exit().each((function(t){var r=t[g.name];e._topdefs.select("#"+r._clipId).remove()})).remove(),0!==r.length&&(c.enter().append("g").classed(g.containerClassName,!0).attr("pointer-events","all"),c.each((function(r){var a=n.select(this),l=r[g.name],c=e[h.id2name(r.anchor)],f=l[h.id2name(r.anchor)];if(l.range){var w,T=o.simpleMap(l.range,r.r2l),k=o.simpleMap(r.range,r.r2l);w=k[0]<k[1]?[Math.min(T[0],k[0]),Math.max(T[1],k[1])]:[Math.max(T[0],k[0]),Math.min(T[1],k[1])],l.range=l._input.range=o.simpleMap(w,r.l2r)}r.cleanRange("rangeslider.range");var A=e._size,M=r.domain;l._width=A.w*(M[1]-M[0]);var S=Math.round(A.l+A.w*M[0]),E=Math.round(A.t+A.h*(1-r._counterDomainMin)+("bottom"===r.side?r._depth:0)+l._offsetShift+g.extraPad);a.attr("transform",s(S,E)),l._rl=o.simpleMap(l.range,r.r2l);var L=l._rl[0],C=l._rl[1],P=C-L;if(l.p2d=function(t){return t/l._width*P+L},l.d2p=function(t){return(t-L)/P*l._width},r.rangebreaks){var I=r.locateBreaks(L,C);if(I.length){var O,z,D=0;for(O=0;O<I.length;O++)D+=(z=I[O]).max-z.min;var R=l._width/(C-L-D),F=[-R*L];for(O=0;O<I.length;O++)z=I[O],F.push(F[F.length-1]-R*(z.max-z.min));for(l.d2p=function(t){for(var e=F[0],r=0;r<I.length;r++){var n=I[r];if(t>=n.max)e=F[r+1];else if(t<n.min)break}return e+R*t},O=0;O<I.length;O++)(z=I[O]).pmin=l.d2p(z.min),z.pmax=l.d2p(z.max);l.p2d=function(t){for(var e=F[0],r=0;r<I.length;r++){var n=I[r];if(t>=n.pmax)e=F[r+1];else if(t<n.pmin)break}return(t-e)/R}}}if("match"!==f.rangemode){var B=c.r2l(f.range[0]),N=c.r2l(f.range[1])-B;l.d2pOppAxis=function(t){return(t-B)/N*l._height}}a.call(m,t,r,l).call(v,t,r,l).call(y,t,r,l).call(x,t,r,l,f).call(b,t,r,l).call(_,t,r,l),function(t,e,r,a){if(e._context.staticPlot)return;var s=t.select("rect."+g.slideBoxClassName).node(),l=t.select("rect."+g.grabAreaMinClassName).node(),c=t.select("rect."+g.grabAreaMaxClassName).node();function u(){var u=n.event,f=u.target,h=u.clientX||u.touches[0].clientX,g=h-t.node().getBoundingClientRect().left,m=a.d2p(r._rl[0]),v=a.d2p(r._rl[1]),y=p.coverSlip();function x(t){var u,p,x,b=+(t.clientX||t.touches[0].clientX)-h;switch(f){case s:x="ew-resize",u=m+b,p=v+b;break;case l:x="col-resize",u=m+b,p=v;break;case c:x="col-resize",u=m,p=v+b;break;default:x="ew-resize",u=g,p=g+b}if(p<u){var _=p;p=u,u=_}a._pixelMin=u,a._pixelMax=p,d(n.select(y),x),function(t,e,r,n){function a(t){return r.l2r(o.constrain(t,n._rl[0],n._rl[1]))}var s=a(n.p2d(n._pixelMin)),l=a(n.p2d(n._pixelMax));window.requestAnimationFrame((function(){i.call("_guiRelayout",e,r._name+".range",[s,l])}))}(0,e,r,a)}function b(){y.removeEventListener("mousemove",x),y.removeEventListener("mouseup",b),this.removeEventListener("touchmove",x),this.removeEventListener("touchend",b),o.removeElement(y)}this.addEventListener("touchmove",x),this.addEventListener("touchend",b),y.addEventListener("mousemove",x),y.addEventListener("mouseup",b)}t.on("mousedown",u),t.on("touchstart",u)}(a,t,r,l),function(t,e,r,n,i,a){var l=g.handleWidth/2;function c(t){return o.constrain(t,0,n._width)}function u(t){return o.constrain(t,0,n._height)}function f(t){return o.constrain(t,-l,n._width+l)}var h=c(n.d2p(r._rl[0])),p=c(n.d2p(r._rl[1]));if(t.select("rect."+g.slideBoxClassName).attr("x",h).attr("width",p-h),t.select("rect."+g.maskMinClassName).attr("width",h),t.select("rect."+g.maskMaxClassName).attr("x",p).attr("width",n._width-p),"match"!==a.rangemode){var d=n._height-u(n.d2pOppAxis(i._rl[1])),m=n._height-u(n.d2pOppAxis(i._rl[0]));t.select("rect."+g.maskMinOppAxisClassName).attr("x",h).attr("height",d).attr("width",p-h),t.select("rect."+g.maskMaxOppAxisClassName).attr("x",h).attr("y",m).attr("height",n._height-m).attr("width",p-h),t.select("rect."+g.slideBoxClassName).attr("y",d).attr("height",m-d)}var v=Math.round(f(h-l))-.5,y=Math.round(f(p-l))+.5;t.select("g."+g.grabberMinClassName).attr("transform",s(v,.5)),t.select("g."+g.grabberMaxClassName).attr("transform",s(y,.5))}(a,0,r,l,c,f),"bottom"===r.side&&u.draw(t,r._id+"title",{propContainer:r,propName:r._name+".title",placeholder:e._dfltTitle.x,attributes:{x:r._offset+r._length/2,y:E+l._height+l._offsetShift+10+1.5*r.title.font.size,"text-anchor":"middle"}})})))}},{"../../lib":503,"../../lib/setcursor":524,"../../plots/cartesian":568,"../../plots/cartesian/axis_ids":558,"../../plots/plots":619,"../../registry":638,"../color":366,"../dragelement":385,"../drawing":388,"../titles":464,"./constants":440,"@plotly/d3":58}],443:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axis_ids"),i=t("../../lib/svg_text_utils"),a=t("./constants"),o=t("../../constants/alignment").LINE_SPACING,s=a.name;function l(t){var e=t&&t[s];return e&&e.visible}r.isVisible=l,r.makeData=function(t){var e=n.list({_fullLayout:t},"x",!0),r=t.margin,i=[];if(!t._has("gl2d"))for(var a=0;a<e.length;a++){var o=e[a];if(l(o)){i.push(o);var c=o[s];c._id=s+o._id,c._height=(t.height-r.b-r.t)*c.thickness,c._offsetShift=Math.floor(c.borderwidth/2)}}t._rangeSliderData=i},r.autoMarginOpts=function(t,e){var r=t._fullLayout,n=e[s],l=e._id.charAt(0),c=0,u=0;"bottom"===e.side&&(c=e._depth,e.title.text!==r._dfltTitle[l]&&(u=1.5*e.title.font.size+10+n._offsetShift,u+=(e.title.text.match(i.BR_TAG_ALL)||[]).length*e.title.font.size*o));return{x:0,y:e._counterDomainMin,l:0,r:0,t:0,b:n._height+c+Math.max(r.margin.b,u),pad:a.extraPad+2*n._offsetShift}}},{"../../constants/alignment":471,"../../lib/svg_text_utils":529,"../../plots/cartesian/axis_ids":558,"./constants":440}],444:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("./oppaxis_attributes"),o=t("./helpers");e.exports={moduleType:"component",name:"rangeslider",schema:{subplots:{xaxis:{rangeslider:n.extendFlat({},i,{yaxis:a})}}},layoutAttributes:t("./attributes"),handleDefaults:t("./defaults"),calcAutorange:t("./calc_autorange"),draw:t("./draw"),isVisible:o.isVisible,makeData:o.makeData,autoMarginOpts:o.autoMarginOpts}},{"../../lib":503,"./attributes":438,"./calc_autorange":439,"./defaults":441,"./draw":442,"./helpers":443,"./oppaxis_attributes":445}],445:[function(t,e,r){"use strict";e.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",editType:"calc"},range:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},editType:"calc"}},{}],446:[function(t,e,r){"use strict";var n=t("../annotations/attributes"),i=t("../../traces/scatter/attributes").line,a=t("../drawing/attributes").dash,o=t("../../lib/extend").extendFlat,s=t("../../plot_api/plot_template").templatedArray;t("../../constants/axis_placeable_objects");e.exports=s("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:o({},n.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:o({},n.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:o({},i.color,{editType:"arraydraw"}),width:o({},i.width,{editType:"calc+arraydraw"}),dash:o({},a,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},editType:"arraydraw"})},{"../../constants/axis_placeable_objects":472,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":926,"../annotations/attributes":349,"../drawing/attributes":387}],447:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("./constants"),o=t("./helpers");function s(t){return c(t.line.width,t.xsizemode,t.x0,t.x1,t.path,!1)}function l(t){return c(t.line.width,t.ysizemode,t.y0,t.y1,t.path,!0)}function c(t,e,r,i,s,l){var c=t/2,u=l;if("pixel"===e){var f=s?o.extractPathCoords(s,l?a.paramIsY:a.paramIsX):[r,i],h=n.aggNums(Math.max,null,f),p=n.aggNums(Math.min,null,f),d=p<0?Math.abs(p)+c:c,g=h>0?h+c:c;return{ppad:c,ppadplus:u?d:g,ppadminus:u?g:d}}return{ppad:c}}function u(t,e,r,n,i){var s="category"===t.type||"multicategory"===t.type?t.r2c:t.d2c;if(void 0!==e)return[s(e),s(r)];if(n){var l,c,u,f,h=1/0,p=-1/0,d=n.match(a.segmentRE);for("date"===t.type&&(s=o.decodeDate(s)),l=0;l<d.length;l++)void 0!==(c=i[d[l].charAt(0)].drawn)&&(!(u=d[l].substr(1).match(a.paramRE))||u.length<c||((f=s(u[c]))<h&&(h=f),f>p&&(p=f)));return p>=h?[h,p]:void 0}}e.exports=function(t){var e=t._fullLayout,r=n.filterVisible(e.shapes);if(r.length&&t._fullData.length)for(var o=0;o<r.length;o++){var c,f,h=r[o];h._extremes={};var p=i.getRefType(h.xref),d=i.getRefType(h.yref);if("paper"!==h.xref&&"domain"!==p){var g="pixel"===h.xsizemode?h.xanchor:h.x0,m="pixel"===h.xsizemode?h.xanchor:h.x1;(f=u(c=i.getFromId(t,h.xref),g,m,h.path,a.paramIsX))&&(h._extremes[c._id]=i.findExtremes(c,f,s(h)))}if("paper"!==h.yref&&"domain"!==d){var v="pixel"===h.ysizemode?h.yanchor:h.y0,y="pixel"===h.ysizemode?h.yanchor:h.y1;(f=u(c=i.getFromId(t,h.yref),v,y,h.path,a.paramIsY))&&(h._extremes[c._id]=i.findExtremes(c,f,l(h)))}}}},{"../../lib":503,"../../plots/cartesian/axes":554,"./constants":448,"./helpers":457}],448:[function(t,e,r){"use strict";e.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},{}],449:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../../plots/array_container_defaults"),o=t("./attributes"),s=t("./helpers");function l(t,e,r){function a(r,i){return n.coerce(t,e,o,r,i)}if(a("visible")){var l=a("path"),c=a("type",l?"path":"rect");"path"!==e.type&&delete e.path,a("editable"),a("layer"),a("opacity"),a("fillcolor"),a("fillrule"),a("line.width")&&(a("line.color"),a("line.dash"));for(var u=a("xsizemode"),f=a("ysizemode"),h=["x","y"],p=0;p<2;p++){var d,g,m,v=h[p],y=v+"anchor",x="x"===v?u:f,b={_fullLayout:r},_=i.coerceRef(t,e,b,v,void 0,"paper");if("range"===i.getRefType(_)?((d=i.getFromId(b,_))._shapeIndices.push(e._index),m=s.rangeToShapePosition(d),g=s.shapePositionToRange(d)):g=m=n.identity,"path"!==c){var w=v+"0",T=v+"1",k=t[w],A=t[T];t[w]=g(t[w],!0),t[T]=g(t[T],!0),"pixel"===x?(a(w,0),a(T,10)):(i.coercePosition(e,b,a,_,w,.25),i.coercePosition(e,b,a,_,T,.75)),e[w]=m(e[w]),e[T]=m(e[T]),t[w]=k,t[T]=A}if("pixel"===x){var M=t[y];t[y]=g(t[y],!0),i.coercePosition(e,b,a,_,y,.25),e[y]=m(e[y]),t[y]=M}}"path"===c?a("path"):n.noneOrAll(t,e,["x0","x1","y0","y1"])}}e.exports=function(t,e){a(t,e,{name:"shapes",handleItemDefaults:l})}},{"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"./attributes":446,"./helpers":457}],450:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../plots/cartesian/axes"),o=t("./draw_newshape/helpers").readPaths,s=t("./draw_newshape/display_outlines"),l=t("../../plots/cartesian/handle_outline").clearOutlineControllers,c=t("../color"),u=t("../drawing"),f=t("../../plot_api/plot_template").arrayEditor,h=t("../dragelement"),p=t("../../lib/setcursor"),d=t("./constants"),g=t("./helpers");function m(t){var e=t._fullLayout;for(var r in e._shapeUpperLayer.selectAll("path").remove(),e._shapeLowerLayer.selectAll("path").remove(),e._plots){var n=e._plots[r].shapelayer;n&&n.selectAll("path").remove()}for(var i=0;i<e.shapes.length;i++)e.shapes[i].visible&&x(t,i)}function v(t){return!!t._fullLayout._drawing}function y(t){return!t._context.edits.shapePosition}function x(t,e){t._fullLayout._paperdiv.selectAll('.shapelayer [data-index="'+e+'"]').remove();var r=g.makeOptionsAndPlotinfo(t,e),l=r.options,x=r.plotinfo;if(l._input&&!1!==l.visible)if("below"!==l.layer)k(t._fullLayout._shapeUpperLayer);else if("paper"===l.xref||"paper"===l.yref)k(t._fullLayout._shapeLowerLayer);else{if(x._hadPlotinfo)k((x.mainplotinfo||x).shapelayer);else k(t._fullLayout._shapeLowerLayer)}function k(r){var k=_(t,l),A={"data-index":e,"fill-rule":l.fillrule,d:k},M=l.opacity,S=l.fillcolor,E=l.line.width?l.line.color:"rgba(0,0,0,0)",L=l.line.width,C=l.line.dash;L||!0!==l.editable||(L=5,C="solid");var P="Z"!==k[k.length-1],I=y(t)&&l.editable&&t._fullLayout._activeShapeIndex===e;I&&(S=P?"rgba(0,0,0,0)":t._fullLayout.activeshape.fillcolor,M=t._fullLayout.activeshape.opacity);var O,z=r.append("path").attr(A).style("opacity",M).call(c.stroke,E).call(c.fill,S).call(u.dashLine,C,L);if(b(z,t,l),(I||t._context.edits.shapePosition)&&(O=f(t.layout,"shapes",l)),I){z.style({cursor:"move"});var D={element:z.node(),plotinfo:x,gd:t,editHelpers:O,isActiveShape:!0},R=o(k,t);s(R,z,D)}else t._context.edits.shapePosition?function(t,e,r,o,s,l){var c,f,m,y,x,T,k,A,M,S,E,L,C,P,I,O,z="pixel"===r.xsizemode,D="pixel"===r.ysizemode,R="line"===r.type,F="path"===r.type,B=l.modifyItem,N=a.getFromId(t,r.xref),j=a.getRefType(r.xref),U=a.getFromId(t,r.yref),V=a.getRefType(r.yref),H=g.getDataToPixel(t,N,!1,j),q=g.getDataToPixel(t,U,!0,V),G=g.getPixelToData(t,N,!1,j),Y=g.getPixelToData(t,U,!0,V),W=R?function(){var t=Math.max(r.line.width,10),n=s.append("g").attr("data-index",o);n.append("path").attr("d",e.attr("d")).style({cursor:"move","stroke-width":t,"stroke-opacity":"0"});var i={"fill-opacity":"0"},a=Math.max(t/2,10);return n.append("circle").attr({"data-line-point":"start-point",cx:z?H(r.xanchor)+r.x0:H(r.x0),cy:D?q(r.yanchor)-r.y0:q(r.y0),r:a}).style(i).classed("cursor-grab",!0),n.append("circle").attr({"data-line-point":"end-point",cx:z?H(r.xanchor)+r.x1:H(r.x1),cy:D?q(r.yanchor)-r.y1:q(r.y1),r:a}).style(i).classed("cursor-grab",!0),n}():e,X={element:W.node(),gd:t,prepFn:function(n){if(v(t))return;z&&(x=H(r.xanchor));D&&(T=q(r.yanchor));"path"===r.type?I=r.path:(c=z?r.x0:H(r.x0),f=D?r.y0:q(r.y0),m=z?r.x1:H(r.x1),y=D?r.y1:q(r.y1));c<m?(M=c,C="x0",S=m,P="x1"):(M=m,C="x1",S=c,P="x0");!D&&f<y||D&&f>y?(k=f,E="y0",A=y,L="y1"):(k=y,E="y1",A=f,L="y0");Z(n),Q(s,r),function(t,e,r){var n=e.xref,i=e.yref,o=a.getFromId(r,n),s=a.getFromId(r,i),l="";"paper"===n||o.autorange||(l+=n);"paper"===i||s.autorange||(l+=i);u.setClipUrl(t,l?"clip"+r._fullLayout._uid+l:null,r)}(e,r,t),X.moveFn="move"===O?J:K,X.altKey=n.altKey},doneFn:function(){if(v(t))return;p(e),$(s),b(e,t,r),n.call("_guiRelayout",t,l.getUpdateObj())},clickFn:function(){if(v(t))return;$(s)}};function Z(r){if(v(t))O=null;else if(R)O="path"===r.target.tagName?"move":"start-point"===r.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var n=X.element.getBoundingClientRect(),i=n.right-n.left,a=n.bottom-n.top,o=r.clientX-n.left,s=r.clientY-n.top,l=!F&&i>10&&a>10&&!r.shiftKey?h.getCursor(o/i,1-s/a):"move";p(e,l),O=l.split("-")[0]}}function J(n,i){if("path"===r.type){var a=function(t){return t},o=a,l=a;z?B("xanchor",r.xanchor=G(x+n)):(o=function(t){return G(H(t)+n)},N&&"date"===N.type&&(o=g.encodeDate(o))),D?B("yanchor",r.yanchor=Y(T+i)):(l=function(t){return Y(q(t)+i)},U&&"date"===U.type&&(l=g.encodeDate(l))),B("path",r.path=w(I,o,l))}else z?B("xanchor",r.xanchor=G(x+n)):(B("x0",r.x0=G(c+n)),B("x1",r.x1=G(m+n))),D?B("yanchor",r.yanchor=Y(T+i)):(B("y0",r.y0=Y(f+i)),B("y1",r.y1=Y(y+i)));e.attr("d",_(t,r)),Q(s,r)}function K(n,i){if(F){var a=function(t){return t},o=a,l=a;z?B("xanchor",r.xanchor=G(x+n)):(o=function(t){return G(H(t)+n)},N&&"date"===N.type&&(o=g.encodeDate(o))),D?B("yanchor",r.yanchor=Y(T+i)):(l=function(t){return Y(q(t)+i)},U&&"date"===U.type&&(l=g.encodeDate(l))),B("path",r.path=w(I,o,l))}else if(R){if("resize-over-start-point"===O){var u=c+n,h=D?f-i:f+i;B("x0",r.x0=z?u:G(u)),B("y0",r.y0=D?h:Y(h))}else if("resize-over-end-point"===O){var p=m+n,d=D?y-i:y+i;B("x1",r.x1=z?p:G(p)),B("y1",r.y1=D?d:Y(d))}}else{var v=function(t){return-1!==O.indexOf(t)},b=v("n"),j=v("s"),V=v("w"),W=v("e"),X=b?k+i:k,Z=j?A+i:A,J=V?M+n:M,K=W?S+n:S;D&&(b&&(X=k-i),j&&(Z=A-i)),(!D&&Z-X>10||D&&X-Z>10)&&(B(E,r[E]=D?X:Y(X)),B(L,r[L]=D?Z:Y(Z))),K-J>10&&(B(C,r[C]=z?J:G(J)),B(P,r[P]=z?K:G(K)))}e.attr("d",_(t,r)),Q(s,r)}function Q(t,e){(z||D)&&function(){var r="path"!==e.type,n=t.selectAll(".visual-cue").data([0]);n.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var a=H(z?e.xanchor:i.midRange(r?[e.x0,e.x1]:g.extractPathCoords(e.path,d.paramIsX))),o=q(D?e.yanchor:i.midRange(r?[e.y0,e.y1]:g.extractPathCoords(e.path,d.paramIsY)));if(a=g.roundPositionForSharpStrokeRendering(a,1),o=g.roundPositionForSharpStrokeRendering(o,1),z&&D){var s="M"+(a-1-1)+","+(o-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";n.attr("d",s)}else if(z){var l="M"+(a-1-1)+","+(o-9-1)+"v18 h2 v-18 Z";n.attr("d",l)}else{var c="M"+(a-9-1)+","+(o-1-1)+"h18 v2 h-18 Z";n.attr("d",c)}}()}function $(t){t.selectAll(".visual-cue").remove()}h.init(X),W.node().onmousemove=Z}(t,z,l,e,r,O):!0===l.editable&&z.style("pointer-events",P||c.opacity(S)*M<=.5?"stroke":"all");z.node().addEventListener("click",(function(){return function(t,e){if(!y(t))return;var r=+e.node().getAttribute("data-index");if(r>=0){if(r===t._fullLayout._activeShapeIndex)return void T(t);t._fullLayout._activeShapeIndex=r,t._fullLayout._deactivateShape=T,m(t)}}(t,z)}))}}function b(t,e,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(t,n?"clip"+e._fullLayout._uid+n:null,e)}function _(t,e){var r,n,o,s,l,c,u,f,h=e.type,p=a.getRefType(e.xref),m=a.getRefType(e.yref),v=a.getFromId(t,e.xref),y=a.getFromId(t,e.yref),x=t._fullLayout._size;if(v?"domain"===p?n=function(t){return v._offset+v._length*t}:(r=g.shapePositionToRange(v),n=function(t){return v._offset+v.r2p(r(t,!0))}):n=function(t){return x.l+x.w*t},y?"domain"===m?s=function(t){return y._offset+y._length*(1-t)}:(o=g.shapePositionToRange(y),s=function(t){return y._offset+y.r2p(o(t,!0))}):s=function(t){return x.t+x.h*(1-t)},"path"===h)return v&&"date"===v.type&&(n=g.decodeDate(n)),y&&"date"===y.type&&(s=g.decodeDate(s)),function(t,e,r){var n=t.path,a=t.xsizemode,o=t.ysizemode,s=t.xanchor,l=t.yanchor;return n.replace(d.segmentRE,(function(t){var n=0,c=t.charAt(0),u=d.paramIsX[c],f=d.paramIsY[c],h=d.numParams[c],p=t.substr(1).replace(d.paramRE,(function(t){return u[n]?t="pixel"===a?e(s)+Number(t):e(t):f[n]&&(t="pixel"===o?r(l)-Number(t):r(t)),++n>h&&(t="X"),t}));return n>h&&(p=p.replace(/[\s,]*X.*/,""),i.log("Ignoring extra params in segment "+t)),c+p}))}(e,n,s);if("pixel"===e.xsizemode){var b=n(e.xanchor);l=b+e.x0,c=b+e.x1}else l=n(e.x0),c=n(e.x1);if("pixel"===e.ysizemode){var _=s(e.yanchor);u=_-e.y0,f=_-e.y1}else u=s(e.y0),f=s(e.y1);if("line"===h)return"M"+l+","+u+"L"+c+","+f;if("rect"===h)return"M"+l+","+u+"H"+c+"V"+f+"H"+l+"Z";var w=(l+c)/2,T=(u+f)/2,k=Math.abs(w-l),A=Math.abs(T-u),M="A"+k+","+A,S=w+k+","+T;return"M"+S+M+" 0 1,1 "+(w+","+(T-A))+M+" 0 0,1 "+S+"Z"}function w(t,e,r){return t.replace(d.segmentRE,(function(t){var n=0,i=t.charAt(0),a=d.paramIsX[i],o=d.paramIsY[i],s=d.numParams[i];return i+t.substr(1).replace(d.paramRE,(function(t){return n>=s||(a[n]?t=e(t):o[n]&&(t=r(t)),n++),t}))}))}function T(t){y(t)&&(t._fullLayout._activeShapeIndex>=0&&(l(t),delete t._fullLayout._activeShapeIndex,m(t)))}e.exports={draw:m,drawOne:x,eraseActiveShape:function(t){if(!y(t))return;l(t);var e=t._fullLayout._activeShapeIndex,r=(t.layout||{}).shapes||[];if(e<r.length){for(var i=[],a=0;a<r.length;a++)a!==e&&i.push(r[a]);delete t._fullLayout._activeShapeIndex,n.call("_guiRelayout",t,{shapes:i})}}}},{"../../lib":503,"../../lib/setcursor":524,"../../plot_api/plot_template":543,"../../plots/cartesian/axes":554,"../../plots/cartesian/handle_outline":565,"../../registry":638,"../color":366,"../dragelement":385,"../drawing":388,"./constants":448,"./draw_newshape/display_outlines":454,"./draw_newshape/helpers":455,"./helpers":457}],451:[function(t,e,r){"use strict";var n=t("../../drawing/attributes").dash,i=t("../../../lib/extend").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:0,dflt:4,editType:"none"},dash:i({},n,{dflt:"solid",editType:"none"}),editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"none"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"none"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none"},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},{"../../../lib/extend":493,"../../drawing/attributes":387}],452:[function(t,e,r){"use strict";e.exports={CIRCLE_SIDES:32,i000:0,i090:8,i180:16,i270:24,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},{}],453:[function(t,e,r){"use strict";var n=t("../../color");e.exports=function(t,e,r){if(r("newshape.drawdirection"),r("newshape.layer"),r("newshape.fillcolor"),r("newshape.fillrule"),r("newshape.opacity"),r("newshape.line.width")){var i=(t||{}).plot_bgcolor||"#FFF";r("newshape.line.color",n.contrast(i)),r("newshape.line.dash")}r("activeshape.fillcolor"),r("activeshape.opacity")}},{"../../color":366}],454:[function(t,e,r){"use strict";var n=t("../../dragelement"),i=t("../../dragelement/helpers").drawMode,a=t("../../../registry"),o=t("./constants"),s=o.i000,l=o.i090,c=o.i180,u=o.i270,f=t("../../../plots/cartesian/handle_outline").clearOutlineControllers,h=t("./helpers"),p=h.pointsShapeRectangle,d=h.pointsShapeEllipse,g=h.writePaths,m=t("./newshapes");e.exports=function t(e,r,o,h){h||(h=0);var v=o.gd;function y(){t(e,r,o,h++),d(e[0])&&x({redrawing:!0})}function x(t){o.isActiveShape=!1;var e=m(r,o);Object.keys(e).length&&a.call((t||{}).redrawing?"relayout":"_guiRelayout",v,e)}var b,_,w,T,k,A=o.isActiveShape,M=v._fullLayout._zoomlayer,S=o.dragmode;(i(S)?v._fullLayout._drawing=!0:v._fullLayout._activeShapeIndex>=0&&f(v),r.attr("d",g(e)),A&&!h)&&(k=function(t,e){for(var r=0;r<e.length;r++){var n=e[r];t[r]=[];for(var i=0;i<n.length;i++){t[r][i]=[];for(var a=0;a<n[i].length;a++)t[r][i][a]=n[i][a]}}return t}([],e),function(t){b=[];for(var r=0;r<e.length;r++){var i=e[r],a=!p(i)&&d(i);b[r]=[];for(var o=0;o<i.length;o++)if("Z"!==i[o][0]&&(!a||o===s||o===l||o===c||o===u)){var f=i[o][1],h=i[o][2],g=t.append("circle").classed("cursor-grab",!0).attr("data-i",r).attr("data-j",o).attr("cx",f).attr("cy",h).attr("r",4).style({"mix-blend-mode":"luminosity",fill:"black",stroke:"white","stroke-width":1});b[r][o]={element:g.node(),gd:v,prepFn:E,doneFn:C,clickFn:P},n.init(b[r][o])}}}(M.append("g").attr("class","outline-controllers")),function(){if(_=[],!e.length)return;_[0]={element:r[0][0],gd:v,prepFn:O,doneFn:z},n.init(_[0])}());function E(t){w=+t.srcElement.getAttribute("data-i"),T=+t.srcElement.getAttribute("data-j"),b[w][T].moveFn=L}function L(t,r){if(e.length){var n=k[w][T][1],i=k[w][T][2],a=e[w],o=a.length;if(p(a)){for(var s=0;s<o;s++)if(s!==T){var l=a[s];l[1]===a[T][1]&&(l[1]=n+t),l[2]===a[T][2]&&(l[2]=i+r)}if(a[T][1]=n+t,a[T][2]=i+r,!p(a))for(var c=0;c<o;c++)for(var u=0;u<a[c].length;u++)a[c][u]=k[w][c][u]}else a[T][1]=n+t,a[T][2]=i+r;y()}}function C(){x()}function P(t,r){if(2===t){w=+r.srcElement.getAttribute("data-i"),T=+r.srcElement.getAttribute("data-j");var n=e[w];p(n)||d(n)||function(){if(e.length&&e[w]&&e[w].length){for(var t=[],r=0;r<e[w].length;r++)r!==T&&t.push(e[w][r]);t.length>1&&(2!==t.length||"Z"!==t[1][0])&&(0===T&&(t[0][0]="M"),e[w]=t,y(),x())}}()}}function I(t,r){!function(t,r){if(e.length)for(var n=0;n<e.length;n++)for(var i=0;i<e[n].length;i++)for(var a=0;a+2<e[n][i].length;a+=2)e[n][i][a+1]=k[n][i][a+1]+t,e[n][i][a+2]=k[n][i][a+2]+r}(t,r),y()}function O(t){(w=+t.srcElement.getAttribute("data-i"))||(w=0),_[w].moveFn=I}function z(){x()}}},{"../../../plots/cartesian/handle_outline":565,"../../../registry":638,"../../dragelement":385,"../../dragelement/helpers":384,"./constants":452,"./helpers":455,"./newshapes":456}],455:[function(t,e,r){"use strict";var n=t("parse-svg-path"),i=t("./constants"),a=i.CIRCLE_SIDES,o=i.SQRT2,s=t("../../../plots/cartesian/helpers"),l=s.p2r,c=s.r2p,u=[0,3,4,5,6,1,2],f=[0,3,4,1,2];function h(t,e){return Math.abs(t-e)<=1e-6}function p(t,e){var r=e[1]-t[1],n=e[2]-t[2];return Math.sqrt(r*r+n*n)}r.writePaths=function(t){var e=t.length;if(!e)return"M0,0Z";for(var r="",n=0;n<e;n++)for(var i=t[n].length,a=0;a<i;a++){var o=t[n][a][0];if("Z"===o)r+="Z";else for(var s=t[n][a].length,l=0;l<s;l++){var c=l;"Q"===o||"S"===o?c=f[l]:"C"===o&&(c=u[l]),r+=t[n][a][c],l>0&&l<s-1&&(r+=",")}}return r},r.readPaths=function(t,e,r,i){var o,s,u,f=n(t),h=[],p=-1,d=0,g=0,m=function(){s=d,u=g};m();for(var v=0;v<f.length;v++){var y,x,b,_,w=[],T=f[v][0],k=T;switch(T){case"M":p++,h[p]=[],d=+f[v][1],g=+f[v][2],w.push([k,d,g]),m();break;case"Q":case"S":y=+f[v][1],b=+f[v][2],d=+f[v][3],g=+f[v][4],w.push([k,d,g,y,b]);break;case"C":y=+f[v][1],b=+f[v][2],x=+f[v][3],_=+f[v][4],d=+f[v][5],g=+f[v][6],w.push([k,d,g,y,b,x,_]);break;case"T":case"L":d=+f[v][1],g=+f[v][2],w.push([k,d,g]);break;case"H":k="L",d=+f[v][1],w.push([k,d,g]);break;case"V":k="L",g=+f[v][1],w.push([k,d,g]);break;case"A":k="L";var A=+f[v][1],M=+f[v][2];+f[v][4]||(A=-A,M=-M);var S=d-A,E=g;for(o=1;o<=a/2;o++){var L=2*Math.PI*o/a;w.push([k,S+A*Math.cos(L),E+M*Math.sin(L)])}break;case"Z":d===s&&g===u||(d=s,g=u,w.push([k,d,g]))}for(var C=(r||{}).domain,P=e._fullLayout._size,I=r&&"pixel"===r.xsizemode,O=r&&"pixel"===r.ysizemode,z=!1===i,D=0;D<w.length;D++){for(o=0;o+2<7;o+=2){var R=w[D][o+1],F=w[D][o+2];void 0!==R&&void 0!==F&&(d=R,g=F,r&&(r.xaxis&&r.xaxis.p2r?(z&&(R-=r.xaxis._offset),R=I?c(r.xaxis,r.xanchor)+R:l(r.xaxis,R)):(z&&(R-=P.l),C?R=C.x[0]+R/P.w:R/=P.w),r.yaxis&&r.yaxis.p2r?(z&&(F-=r.yaxis._offset),F=O?c(r.yaxis,r.yanchor)-F:l(r.yaxis,F)):(z&&(F-=P.t),F=C?C.y[1]-F/P.h:1-F/P.h)),w[D][o+1]=R,w[D][o+2]=F)}h[p].push(w[D].slice())}}return h},r.pointsShapeRectangle=function(t){if(5!==t.length)return!1;for(var e=1;e<3;e++){if(!h(t[0][e]-t[1][e],t[3][e]-t[2][e]))return!1;if(!h(t[0][e]-t[3][e],t[1][e]-t[2][e]))return!1}return!(!h(t[0][1],t[1][1])&&!h(t[0][1],t[3][1]))&&!!(p(t[0],t[1])*p(t[0],t[3]))},r.pointsShapeEllipse=function(t){var e=t.length;if(e!==a+1)return!1;e=a;for(var r=0;r<e;r++){var n=(2*e-r)%e,i=(e/2+n)%e,o=(e/2+r)%e;if(!h(p(t[r],t[o]),p(t[n],t[i])))return!1}return!0},r.handleEllipse=function(t,e,n){if(!t)return[e,n];var i=r.ellipseOver({x0:e[0],y0:e[1],x1:n[0],y1:n[1]}),s=(i.x1+i.x0)/2,l=(i.y1+i.y0)/2,c=(i.x1-i.x0)/2,u=(i.y1-i.y0)/2;c||(c=u/=o),u||(u=c/=o);for(var f=[],h=0;h<a;h++){var p=2*h*Math.PI/a;f.push([s+c*Math.cos(p),l+u*Math.sin(p)])}return f},r.ellipseOver=function(t){var e=t.x0,r=t.y0,n=t.x1,i=t.y1,a=n-e,s=i-r,l=((e-=a)+n)/2,c=((r-=s)+i)/2;return{x0:l-(a*=o),y0:c-(s*=o),x1:l+a,y1:c+s}}},{"../../../plots/cartesian/helpers":566,"./constants":452,"parse-svg-path":250}],456:[function(t,e,r){"use strict";var n=t("../../dragelement/helpers"),i=n.drawMode,a=n.openMode,o=t("./constants"),s=o.i000,l=o.i090,c=o.i180,u=o.i270,f=o.cos45,h=o.sin45,p=t("../../../plots/cartesian/helpers"),d=p.p2r,g=p.r2p,m=t("../../../plots/cartesian/handle_outline").clearSelect,v=t("./helpers"),y=v.readPaths,x=v.writePaths,b=v.ellipseOver;e.exports=function(t,e){if(t.length){var r=t[0][0];if(r){var n=r.getAttribute("d"),o=e.gd,p=o._fullLayout.newshape,v=e.plotinfo,_=v.xaxis,w=v.yaxis,T=!!v.domain||!v.xaxis,k=!!v.domain||!v.yaxis,A=e.isActiveShape,M=e.dragmode,S=(o.layout||{}).shapes||[];if(!i(M)&&void 0!==A){var E=o._fullLayout._activeShapeIndex;if(E<S.length)switch(o._fullLayout.shapes[E].type){case"rect":M="drawrect";break;case"circle":M="drawcircle";break;case"line":M="drawline";break;case"path":var L=S[E].path||"";M="Z"===L[L.length-1]?"drawclosedpath":"drawopenpath"}}var C,P=a(M),I=y(n,o,v,A),O={editable:!0,xref:T?"paper":_._id,yref:k?"paper":w._id,layer:p.layer,opacity:p.opacity,line:{color:p.line.color,width:p.line.width,dash:p.line.dash}};if(P||(O.fillcolor=p.fillcolor,O.fillrule=p.fillrule),1===I.length&&(C=I[0]),C&&"drawrect"===M)O.type="rect",O.x0=C[0][1],O.y0=C[0][2],O.x1=C[2][1],O.y1=C[2][2];else if(C&&"drawline"===M)O.type="line",O.x0=C[0][1],O.y0=C[0][2],O.x1=C[1][1],O.y1=C[1][2];else if(C&&"drawcircle"===M){O.type="circle";var z=C[s][1],D=C[l][1],R=C[c][1],F=C[u][1],B=C[s][2],N=C[l][2],j=C[c][2],U=C[u][2],V=v.xaxis&&("date"===v.xaxis.type||"log"===v.xaxis.type),H=v.yaxis&&("date"===v.yaxis.type||"log"===v.yaxis.type);V&&(z=g(v.xaxis,z),D=g(v.xaxis,D),R=g(v.xaxis,R),F=g(v.xaxis,F)),H&&(B=g(v.yaxis,B),N=g(v.yaxis,N),j=g(v.yaxis,j),U=g(v.yaxis,U));var q=(D+F)/2,G=(B+j)/2,Y=b({x0:q,y0:G,x1:q+(F-D+R-z)/2*f,y1:G+(U-N+j-B)/2*h});V&&(Y.x0=d(v.xaxis,Y.x0),Y.x1=d(v.xaxis,Y.x1)),H&&(Y.y0=d(v.yaxis,Y.y0),Y.y1=d(v.yaxis,Y.y1)),O.x0=Y.x0,O.y0=Y.y0,O.x1=Y.x1,O.y1=Y.y1}else O.type="path",_&&w&&function(t,e,r){var n="date"===e.type,i="date"===r.type;if(!n&&!i)return t;for(var a=0;a<t.length;a++)for(var o=0;o<t[a].length;o++)for(var s=0;s+2<t[a][o].length;s+=2)n&&(t[a][o][s+1]=t[a][o][s+1].replace(" ","_")),i&&(t[a][o][s+2]=t[a][o][s+2].replace(" ","_"))}(I,_,w),O.path=x(I),C=null;m(o);for(var W=e.editHelpers,X=(W||{}).modifyItem,Z=[],J=0;J<S.length;J++){var K=o._fullLayout.shapes[J];if(Z[J]=K._input,void 0!==A&&J===o._fullLayout._activeShapeIndex){var Q=O;switch(K.type){case"line":case"rect":case"circle":X("x0",Q.x0),X("x1",Q.x1),X("y0",Q.y0),X("y1",Q.y1);break;case"path":X("path",Q.path)}}}return void 0===A?(Z.push(O),Z):W?W.getUpdateObj():{}}}}},{"../../../plots/cartesian/handle_outline":565,"../../../plots/cartesian/helpers":566,"../../dragelement/helpers":384,"./constants":452,"./helpers":455}],457:[function(t,e,r){"use strict";var n=t("./constants"),i=t("../../lib");r.rangeToShapePosition=function(t){return"log"===t.type?t.r2d:function(t){return t}},r.shapePositionToRange=function(t){return"log"===t.type?t.d2r:function(t){return t}},r.decodeDate=function(t){return function(e){return e.replace&&(e=e.replace("_"," ")),t(e)}},r.encodeDate=function(t){return function(e){return t(e).replace(" ","_")}},r.extractPathCoords=function(t,e){var r=[];return t.match(n.segmentRE).forEach((function(t){var a=e[t.charAt(0)].drawn;if(void 0!==a){var o=t.substr(1).match(n.paramRE);!o||o.length<a||r.push(i.cleanNumber(o[a]))}})),r},r.getDataToPixel=function(t,e,n,i){var a,o=t._fullLayout._size;if(e)if("domain"===i)a=function(t){return e._length*(n?1-t:t)+e._offset};else{var s=r.shapePositionToRange(e);a=function(t){return e._offset+e.r2p(s(t,!0))},"date"===e.type&&(a=r.decodeDate(a))}else a=n?function(t){return o.t+o.h*(1-t)}:function(t){return o.l+o.w*t};return a},r.getPixelToData=function(t,e,n,i){var a,o=t._fullLayout._size;if(e)if("domain"===i)a=function(t){var r=(t-e._offset)/e._length;return n?1-r:r};else{var s=r.rangeToShapePosition(e);a=function(t){return s(e.p2r(t-e._offset))}}else a=n?function(t){return 1-(t-o.t)/o.h}:function(t){return(t-o.l)/o.w};return a},r.roundPositionForSharpStrokeRendering=function(t,e){var r=1===Math.round(e%2),n=Math.round(t);return r?n+.5:n},r.makeOptionsAndPlotinfo=function(t,e){var r=t._fullLayout.shapes[e]||{},n=t._fullLayout._plots[r.xref+r.yref];return!!n?n._hadPlotinfo=!0:(n={},r.xref&&"paper"!==r.xref&&(n.xaxis=t._fullLayout[r.xref+"axis"]),r.yref&&"paper"!==r.yref&&(n.yaxis=t._fullLayout[r.yref+"axis"])),n.xsizemode=r.xsizemode,n.ysizemode=r.ysizemode,n.xanchor=r.xanchor,n.yanchor=r.yanchor,{options:r,plotinfo:n}}},{"../../lib":503,"./constants":448}],458:[function(t,e,r){"use strict";var n=t("./draw");e.exports={moduleType:"component",name:"shapes",layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),supplyDrawNewShapeDefaults:t("./draw_newshape/defaults"),includeBasePlot:t("../../plots/cartesian/include_components")("shapes"),calcAutorange:t("./calc_autorange"),draw:n.draw,drawOne:n.drawOne}},{"../../plots/cartesian/include_components":567,"./attributes":446,"./calc_autorange":447,"./defaults":449,"./draw":450,"./draw_newshape/defaults":453}],459:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../../plots/pad_attributes"),a=t("../../lib/extend").extendDeepAll,o=t("../../plot_api/edit_types").overrideAll,s=t("../../plots/animation_attributes"),l=t("../../plot_api/plot_template").templatedArray,c=t("./constants"),u=l("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});e.exports=o(l("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:a(i({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:s.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:n({})},font:n({}),activebgcolor:{valType:"color",dflt:c.gripBgActiveColor},bgcolor:{valType:"color",dflt:c.railBgColor},bordercolor:{valType:"color",dflt:c.railBorderColor},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth},ticklen:{valType:"number",min:0,dflt:c.tickLength},tickcolor:{valType:"color",dflt:c.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength}}),"arraydraw","from-root")},{"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/animation_attributes":548,"../../plots/font_attributes":585,"../../plots/pad_attributes":618,"./constants":460}],460:[function(t,e,r){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},{}],461:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/array_container_defaults"),a=t("./attributes"),o=t("./constants").name,s=a.steps;function l(t,e,r){function o(r,i){return n.coerce(t,e,a,r,i)}for(var s=i(t,e,{name:"steps",handleItemDefaults:c}),l=0,u=0;u<s.length;u++)s[u].visible&&l++;if(l<2?e.visible=!1:o("visible")){e._stepCount=l;var f=e._visibleSteps=n.filterVisible(s);(s[o("active")]||{}).visible||(e.active=f[0]._index),o("x"),o("y"),n.noneOrAll(t,e,["x","y"]),o("xanchor"),o("yanchor"),o("len"),o("lenmode"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),n.coerceFont(o,"font",r.font),o("currentvalue.visible")&&(o("currentvalue.xanchor"),o("currentvalue.prefix"),o("currentvalue.suffix"),o("currentvalue.offset"),n.coerceFont(o,"currentvalue.font",e.font)),o("transition.duration"),o("transition.easing"),o("bgcolor"),o("activebgcolor"),o("bordercolor"),o("borderwidth"),o("ticklen"),o("tickwidth"),o("tickcolor"),o("minorticklen")}}function c(t,e){function r(r,i){return n.coerce(t,e,s,r,i)}if("skip"===t.method||Array.isArray(t.args)?r("visible"):e.visible=!1){r("method"),r("args");var i=r("label","step-"+e._index);r("value",i),r("execute")}}e.exports=function(t,e){i(t,e,{name:o,handleItemDefaults:l})}},{"../../lib":503,"../../plots/array_container_defaults":549,"./attributes":459,"./constants":460}],462:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../plots/plots"),a=t("../color"),o=t("../drawing"),s=t("../../lib"),l=s.strTranslate,c=t("../../lib/svg_text_utils"),u=t("../../plot_api/plot_template").arrayEditor,f=t("./constants"),h=t("../../constants/alignment"),p=h.LINE_SPACING,d=h.FROM_TL,g=h.FROM_BR;function m(t){return f.autoMarginIdRoot+t._index}function v(t){return t._index}function y(t,e){var r=o.tester.selectAll("g."+f.labelGroupClass).data(e._visibleSteps);r.enter().append("g").classed(f.labelGroupClass,!0);var a=0,l=0;r.each((function(t){var r=_(n.select(this),{step:t},e).node();if(r){var i=o.bBox(r);l=Math.max(l,i.height),a=Math.max(a,i.width)}})),r.remove();var u=e._dims={};u.inputAreaWidth=Math.max(f.railWidth,f.gripHeight);var h=t._fullLayout._size;u.lx=h.l+h.w*e.x,u.ly=h.t+h.h*(1-e.y),"fraction"===e.lenmode?u.outerLength=Math.round(h.w*e.len):u.outerLength=e.len,u.inputAreaStart=0,u.inputAreaLength=Math.round(u.outerLength-e.pad.l-e.pad.r);var p=(u.inputAreaLength-2*f.stepInset)/(e._stepCount-1),v=a+f.labelPadding;if(u.labelStride=Math.max(1,Math.ceil(v/p)),u.labelHeight=l,u.currentValueMaxWidth=0,u.currentValueHeight=0,u.currentValueTotalHeight=0,u.currentValueMaxLines=1,e.currentvalue.visible){var y=o.tester.append("g");r.each((function(t){var r=x(y,e,t.label),n=r.node()&&o.bBox(r.node())||{width:0,height:0},i=c.lineCount(r);u.currentValueMaxWidth=Math.max(u.currentValueMaxWidth,Math.ceil(n.width)),u.currentValueHeight=Math.max(u.currentValueHeight,Math.ceil(n.height)),u.currentValueMaxLines=Math.max(u.currentValueMaxLines,i)})),u.currentValueTotalHeight=u.currentValueHeight+e.currentvalue.offset,y.remove()}u.height=u.currentValueTotalHeight+f.tickOffset+e.ticklen+f.labelOffset+u.labelHeight+e.pad.t+e.pad.b;var b="left";s.isRightAnchor(e)&&(u.lx-=u.outerLength,b="right"),s.isCenterAnchor(e)&&(u.lx-=u.outerLength/2,b="center");var w="top";s.isBottomAnchor(e)&&(u.ly-=u.height,w="bottom"),s.isMiddleAnchor(e)&&(u.ly-=u.height/2,w="middle"),u.outerLength=Math.ceil(u.outerLength),u.height=Math.ceil(u.height),u.lx=Math.round(u.lx),u.ly=Math.round(u.ly);var T={y:e.y,b:u.height*g[w],t:u.height*d[w]};"fraction"===e.lenmode?(T.l=0,T.xl=e.x-e.len*d[b],T.r=0,T.xr=e.x+e.len*g[b]):(T.x=e.x,T.l=u.outerLength*d[b],T.r=u.outerLength*g[b]),i.autoMargin(t,m(e),T)}function x(t,e,r){if(e.currentvalue.visible){var n,i,a=e._dims;switch(e.currentvalue.xanchor){case"right":n=a.inputAreaLength-f.currentValueInset-a.currentValueMaxWidth,i="left";break;case"center":n=.5*a.inputAreaLength,i="middle";break;default:n=f.currentValueInset,i="left"}var l=s.ensureSingle(t,"text",f.labelClass,(function(t){t.attr({"text-anchor":i,"data-notex":1})})),u=e.currentvalue.prefix?e.currentvalue.prefix:"";if("string"==typeof r)u+=r;else{var h=e.steps[e.active].label,d=e._gd._fullLayout._meta;d&&(h=s.templateString(h,d)),u+=h}e.currentvalue.suffix&&(u+=e.currentvalue.suffix),l.call(o.font,e.currentvalue.font).text(u).call(c.convertToTspans,e._gd);var g=c.lineCount(l),m=(a.currentValueMaxLines+1-g)*e.currentvalue.font.size*p;return c.positionText(l,n,m),l}}function b(t,e,r){s.ensureSingle(t,"rect",f.gripRectClass,(function(n){n.call(A,e,t,r).style("pointer-events","all")})).attr({width:f.gripWidth,height:f.gripHeight,rx:f.gripRadius,ry:f.gripRadius}).call(a.stroke,r.bordercolor).call(a.fill,r.bgcolor).style("stroke-width",r.borderwidth+"px")}function _(t,e,r){var n=s.ensureSingle(t,"text",f.labelClass,(function(t){t.attr({"text-anchor":"middle","data-notex":1})})),i=e.step.label,a=r._gd._fullLayout._meta;return a&&(i=s.templateString(i,a)),n.call(o.font,r.font).text(i).call(c.convertToTspans,r._gd),n}function w(t,e){var r=s.ensureSingle(t,"g",f.labelsClass),i=e._dims,a=r.selectAll("g."+f.labelGroupClass).data(i.labelSteps);a.enter().append("g").classed(f.labelGroupClass,!0),a.exit().remove(),a.each((function(t){var r=n.select(this);r.call(_,t,e),o.setTranslate(r,E(e,t.fraction),f.tickOffset+e.ticklen+e.font.size*p+f.labelOffset+i.currentValueTotalHeight)}))}function T(t,e,r,n,i){var a=Math.round(n*(r._stepCount-1)),o=r._visibleSteps[a]._index;o!==r.active&&k(t,e,r,o,!0,i)}function k(t,e,r,n,a,o){var s=r.active;r.active=n,u(t.layout,f.name,r).applyUpdate("active",n);var l=r.steps[r.active];e.call(S,r,o),e.call(x,r),t.emit("plotly_sliderchange",{slider:r,step:r.steps[r.active],interaction:a,previousActive:s}),l&&l.method&&a&&(e._nextMethod?(e._nextMethod.step=l,e._nextMethod.doCallback=a,e._nextMethod.doTransition=o):(e._nextMethod={step:l,doCallback:a,doTransition:o},e._nextMethodRaf=window.requestAnimationFrame((function(){var r=e._nextMethod.step;r.method&&(r.execute&&i.executeAPICommand(t,r.method,r.args),e._nextMethod=null,e._nextMethodRaf=null)}))))}function A(t,e,r){var i=r.node(),o=n.select(e);function s(){return r.data()[0]}function l(){var t=s();e.emit("plotly_sliderstart",{slider:t});var l=r.select("."+f.gripRectClass);n.event.stopPropagation(),n.event.preventDefault(),l.call(a.fill,t.activebgcolor);var c=L(t,n.mouse(i)[0]);function u(){var t=s(),a=L(t,n.mouse(i)[0]);T(e,r,t,a,!1)}function h(){var t=s();t._dragging=!1,l.call(a.fill,t.bgcolor),o.on("mouseup",null),o.on("mousemove",null),o.on("touchend",null),o.on("touchmove",null),e.emit("plotly_sliderend",{slider:t,step:t.steps[t.active]})}T(e,r,t,c,!0),t._dragging=!0,o.on("mousemove",u),o.on("touchmove",u),o.on("mouseup",h),o.on("touchend",h)}t.on("mousedown",l),t.on("touchstart",l)}function M(t,e){var r=t.selectAll("rect."+f.tickRectClass).data(e._visibleSteps),i=e._dims;r.enter().append("rect").classed(f.tickRectClass,!0),r.exit().remove(),r.attr({width:e.tickwidth+"px","shape-rendering":"crispEdges"}),r.each((function(t,r){var s=r%i.labelStride==0,l=n.select(this);l.attr({height:s?e.ticklen:e.minorticklen}).call(a.fill,e.tickcolor),o.setTranslate(l,E(e,r/(e._stepCount-1))-.5*e.tickwidth,(s?f.tickOffset:f.minorTickOffset)+i.currentValueTotalHeight)}))}function S(t,e,r){for(var n=t.select("rect."+f.gripRectClass),i=0,a=0;a<e._stepCount;a++)if(e._visibleSteps[a]._index===e.active){i=a;break}var o=E(e,i/(e._stepCount-1));if(!e._invokingCommand){var s=n;r&&e.transition.duration>0&&(s=s.transition().duration(e.transition.duration).ease(e.transition.easing)),s.attr("transform",l(o-.5*f.gripWidth,e._dims.currentValueTotalHeight))}}function E(t,e){var r=t._dims;return r.inputAreaStart+f.stepInset+(r.inputAreaLength-2*f.stepInset)*Math.min(1,Math.max(0,e))}function L(t,e){var r=t._dims;return Math.min(1,Math.max(0,(e-f.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*f.stepInset-2*r.inputAreaStart)))}function C(t,e,r){var n=r._dims,i=s.ensureSingle(t,"rect",f.railTouchRectClass,(function(n){n.call(A,e,t,r).style("pointer-events","all")}));i.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,f.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),o.setTranslate(i,0,n.currentValueTotalHeight)}function P(t,e){var r=e._dims,n=r.inputAreaLength-2*f.railInset,i=s.ensureSingle(t,"rect",f.railRectClass);i.attr({width:n,height:f.railWidth,rx:f.railRadius,ry:f.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,e.bordercolor).call(a.fill,e.bgcolor).style("stroke-width",e.borderwidth+"px"),o.setTranslate(i,f.railInset,.5*(r.inputAreaWidth-f.railWidth)+r.currentValueTotalHeight)}e.exports=function(t){var e=t._fullLayout,r=function(t,e){for(var r=t[f.name],n=[],i=0;i<r.length;i++){var a=r[i];a.visible&&(a._gd=e,n.push(a))}return n}(e,t),a=e._infolayer.selectAll("g."+f.containerClassName).data(r.length>0?[0]:[]);function s(e){e._commandObserver&&(e._commandObserver.remove(),delete e._commandObserver),i.autoMargin(t,m(e))}if(a.enter().append("g").classed(f.containerClassName,!0).style("cursor","ew-resize"),a.exit().each((function(){n.select(this).selectAll("g."+f.groupClassName).each(s)})).remove(),0!==r.length){var l=a.selectAll("g."+f.groupClassName).data(r,v);l.enter().append("g").classed(f.groupClassName,!0),l.exit().each(s).remove();for(var c=0;c<r.length;c++){var u=r[c];y(t,u)}l.each((function(e){var r=n.select(this);!function(t){var e=t._dims;e.labelSteps=[];for(var r=t._stepCount,n=0;n<r;n+=e.labelStride)e.labelSteps.push({fraction:n/(r-1),step:t._visibleSteps[n]})}(e),i.manageCommandObserver(t,e,e._visibleSteps,(function(e){var n=r.data()[0];n.active!==e.index&&(n._dragging||k(t,r,n,e.index,!1,!0))})),function(t,e,r){(r.steps[r.active]||{}).visible||(r.active=r._visibleSteps[0]._index);e.call(x,r).call(P,r).call(w,r).call(M,r).call(C,t,r).call(b,t,r);var n=r._dims;o.setTranslate(e,n.lx+r.pad.l,n.ly+r.pad.t),e.call(S,r,!1),e.call(x,r)}(t,n.select(this),e)}))}}},{"../../constants/alignment":471,"../../lib":503,"../../lib/svg_text_utils":529,"../../plot_api/plot_template":543,"../../plots/plots":619,"../color":366,"../drawing":388,"./constants":460,"@plotly/d3":58}],463:[function(t,e,r){"use strict";var n=t("./constants");e.exports={moduleType:"component",name:n.name,layoutAttributes:t("./attributes"),supplyLayoutDefaults:t("./defaults"),draw:t("./draw")}},{"./attributes":459,"./constants":460,"./defaults":461,"./draw":462}],464:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../plots/plots"),o=t("../../registry"),s=t("../../lib"),l=s.strTranslate,c=t("../drawing"),u=t("../color"),f=t("../../lib/svg_text_utils"),h=t("../../constants/interactions"),p=t("../../constants/alignment").OPPOSITE_SIDE,d=/ [XY][0-9]* /;e.exports={draw:function(t,e,r){var g,m=r.propContainer,v=r.propName,y=r.placeholder,x=r.traceIndex,b=r.avoid||{},_=r.attributes,w=r.transform,T=r.containerGroup,k=t._fullLayout,A=1,M=!1,S=m.title,E=(S&&S.text?S.text:"").trim(),L=S&&S.font?S.font:{},C=L.family,P=L.size,I=L.color;"title.text"===v?g="titleText":-1!==v.indexOf("axis")?g="axisTitleText":v.indexOf(!0)&&(g="colorbarTitleText");var O=t._context.edits[g];""===E?A=0:E.replace(d," % ")===y.replace(d," % ")&&(A=.2,M=!0,O||(E="")),r._meta?E=s.templateString(E,r._meta):k._meta&&(E=s.templateString(E,k._meta));var z,D=E||O;T||(T=s.ensureSingle(k._infolayer,"g","g-"+e),z=k._hColorbarMoveTitle);var R=T.selectAll("text").data(D?[0]:[]);if(R.enter().append("text"),R.text(E).attr("class",e),R.exit().remove(),!D)return T;function F(t){s.syncOrAsync([B,N],t)}function B(e){var r;return!w&&z&&(w={}),w?(r="",w.rotate&&(r+="rotate("+[w.rotate,_.x,_.y]+")"),(w.offset||z)&&(r+=l(0,(w.offset||0)-(z||0)))):r=null,e.attr("transform",r),e.style({"font-family":C,"font-size":n.round(P,2)+"px",fill:u.rgb(I),opacity:A*u.opacity(I),"font-weight":a.fontWeight}).attr(_).call(f.convertToTspans,t),a.previousPromises(t)}function N(t){var e=n.select(t.node().parentNode);if(b&&b.selection&&b.side&&E){e.attr("transform",null);var r=p[b.side],a="left"===b.side||"top"===b.side?-1:1,o=i(b.pad)?b.pad:2,u=c.bBox(e.node()),f={left:0,top:0,right:k.width,bottom:k.height},h=b.maxShift||a*(f[b.side]-u[b.side]),d=0;if(h<0)d=h;else{var g=b.offsetLeft||0,m=b.offsetTop||0;u.left-=g,u.right-=g,u.top-=m,u.bottom-=m,b.selection.each((function(){var t=c.bBox(this);s.bBoxIntersect(u,t,o)&&(d=Math.max(d,a*(t[b.side]-u[r])+o))})),d=Math.min(h,d)}if(d>0||h<0){var v={left:[-d,0],right:[d,0],top:[0,-d],bottom:[0,d]}[b.side];e.attr("transform",l(v[0],v[1]))}}}return R.call(F),O&&(E?R.on(".opacity",null):(A=0,M=!0,R.text(y).on("mouseover.opacity",(function(){n.select(this).transition().duration(h.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){n.select(this).transition().duration(h.HIDE_PLACEHOLDER).style("opacity",0)}))),R.call(f.makeEditable,{gd:t}).on("edit",(function(e){void 0!==x?o.call("_guiRestyle",t,v,e,x):o.call("_guiRelayout",t,v,e)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(F)})).on("input",(function(t){this.text(t||" ").call(f.positionText,_.x,_.y)}))),R.classed("js-placeholder",M),T}}},{"../../constants/alignment":471,"../../constants/interactions":478,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../../registry":638,"../color":366,"../drawing":388,"@plotly/d3":58,"fast-isnumeric":190}],465:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../color/attributes"),a=t("../../lib/extend").extendFlat,o=t("../../plot_api/edit_types").overrideAll,s=t("../../plots/pad_attributes"),l=t("../../plot_api/plot_template").templatedArray,c=l("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});e.exports=o(l("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:c,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:a(s({editType:"arraydraw"}),{}),font:n({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:i.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},{"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/font_attributes":585,"../../plots/pad_attributes":618,"../color/attributes":365}],466:[function(t,e,r){"use strict";e.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:"  "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"\u25c4",right:"\u25ba",up:"\u25b2",down:"\u25bc"}}},{}],467:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/array_container_defaults"),a=t("./attributes"),o=t("./constants").name,s=a.buttons;function l(t,e,r){function o(r,i){return n.coerce(t,e,a,r,i)}o("visible",i(t,e,{name:"buttons",handleItemDefaults:c}).length>0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),n.noneOrAll(t,e,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),n.coerceFont(o,"font",r.font),o("bgcolor",r.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(t,e){function r(r,i){return n.coerce(t,e,s,r,i)}r("visible","skip"===t.method||Array.isArray(t.args))&&(r("method"),r("args"),r("args2"),r("label"),r("execute"))}e.exports=function(t,e){i(t,e,{name:o,handleItemDefaults:l})}},{"../../lib":503,"../../plots/array_container_defaults":549,"./attributes":465,"./constants":466}],468:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../plots/plots"),a=t("../color"),o=t("../drawing"),s=t("../../lib"),l=t("../../lib/svg_text_utils"),c=t("../../plot_api/plot_template").arrayEditor,u=t("../../constants/alignment").LINE_SPACING,f=t("./constants"),h=t("./scrollbox");function p(t){return t._index}function d(t,e){return+t.attr(f.menuIndexAttrName)===e._index}function g(t,e,r,n,i,a,o,s){e.active=o,c(t.layout,f.name,e).applyUpdate("active",o),"buttons"===e.type?v(t,n,null,null,e):"dropdown"===e.type&&(i.attr(f.menuIndexAttrName,"-1"),m(t,n,i,a,e),s||v(t,n,i,a,e))}function m(t,e,r,n,i){var a=s.ensureSingle(e,"g",f.headerClassName,(function(t){t.style("pointer-events","all")})),l=i._dims,c=i.active,u=i.buttons[c]||f.blankHeaderOpts,h={y:i.pad.t,yPad:0,x:i.pad.l,xPad:0,index:0},p={width:l.headerWidth,height:l.headerHeight};a.call(y,i,u,t).call(M,i,h,p),s.ensureSingle(e,"text",f.headerArrowClassName,(function(t){t.attr("text-anchor","end").call(o.font,i.font).text(f.arrowSymbol[i.direction])})).attr({x:l.headerWidth-f.arrowOffsetX+i.pad.l,y:l.headerHeight/2+f.textOffsetY+i.pad.t}),a.on("click",(function(){r.call(S,String(d(r,i)?-1:i._index)),v(t,e,r,n,i)})),a.on("mouseover",(function(){a.call(w)})),a.on("mouseout",(function(){a.call(T,i)})),o.setTranslate(e,l.lx,l.ly)}function v(t,e,r,a,o){r||(r=e).attr("pointer-events","all");var l=function(t){return-1==+t.attr(f.menuIndexAttrName)}(r)&&"buttons"!==o.type?[]:o.buttons,c="dropdown"===o.type?f.dropdownButtonClassName:f.buttonClassName,u=r.selectAll("g."+c).data(s.filterVisible(l)),h=u.enter().append("g").classed(c,!0),p=u.exit();"dropdown"===o.type?(h.attr("opacity","0").transition().attr("opacity","1"),p.transition().attr("opacity","0").remove()):p.remove();var d=0,m=0,v=o._dims,x=-1!==["up","down"].indexOf(o.direction);"dropdown"===o.type&&(x?m=v.headerHeight+f.gapButtonHeader:d=v.headerWidth+f.gapButtonHeader),"dropdown"===o.type&&"up"===o.direction&&(m=-f.gapButtonHeader+f.gapButton-v.openHeight),"dropdown"===o.type&&"left"===o.direction&&(d=-f.gapButtonHeader+f.gapButton-v.openWidth);var b={x:v.lx+d+o.pad.l,y:v.ly+m+o.pad.t,yPad:f.gapButton,xPad:f.gapButton,index:0},k={l:b.x+o.borderwidth,t:b.y+o.borderwidth};u.each((function(s,l){var c=n.select(this);c.call(y,o,s,t).call(M,o,b),c.on("click",(function(){n.event.defaultPrevented||(s.execute&&(s.args2&&o.active===l?(g(t,o,0,e,r,a,-1),i.executeAPICommand(t,s.method,s.args2)):(g(t,o,0,e,r,a,l),i.executeAPICommand(t,s.method,s.args))),t.emit("plotly_buttonclicked",{menu:o,button:s,active:o.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(T,o),u.call(_,o)}))})),u.call(_,o),x?(k.w=Math.max(v.openWidth,v.headerWidth),k.h=b.y-k.t):(k.w=b.x-k.l,k.h=Math.max(v.openHeight,v.headerHeight)),k.direction=o.direction,a&&(u.size()?function(t,e,r,n,i,a){var o,s,l,c=i.direction,u="up"===c||"down"===c,h=i._dims,p=i.active;if(u)for(s=0,l=0;l<p;l++)s+=h.heights[l]+f.gapButton;else for(o=0,l=0;l<p;l++)o+=h.widths[l]+f.gapButton;n.enable(a,o,s),n.hbar&&n.hbar.attr("opacity","0").transition().attr("opacity","1");n.vbar&&n.vbar.attr("opacity","0").transition().attr("opacity","1")}(0,0,0,a,o,k):function(t){var e=!!t.hbar,r=!!t.vbar;e&&t.hbar.transition().attr("opacity","0").each("end",(function(){e=!1,r||t.disable()}));r&&t.vbar.transition().attr("opacity","0").each("end",(function(){r=!1,e||t.disable()}))}(a))}function y(t,e,r,n){t.call(x,e).call(b,e,r,n)}function x(t,e){s.ensureSingle(t,"rect",f.itemRectClassName,(function(t){t.attr({rx:f.rx,ry:f.ry,"shape-rendering":"crispEdges"})})).call(a.stroke,e.bordercolor).call(a.fill,e.bgcolor).style("stroke-width",e.borderwidth+"px")}function b(t,e,r,n){var i=s.ensureSingle(t,"text",f.itemTextClassName,(function(t){t.attr({"text-anchor":"start","data-notex":1})})),a=r.label,c=n._fullLayout._meta;c&&(a=s.templateString(a,c)),i.call(o.font,e.font).text(a).call(l.convertToTspans,n)}function _(t,e){var r=e.active;t.each((function(t,i){var o=n.select(this);i===r&&e.showactive&&o.select("rect."+f.itemRectClassName).call(a.fill,f.activeColor)}))}function w(t){t.select("rect."+f.itemRectClassName).call(a.fill,f.hoverColor)}function T(t,e){t.select("rect."+f.itemRectClassName).call(a.fill,e.bgcolor)}function k(t,e){var r=e._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},a=o.tester.selectAll("g."+f.dropdownButtonClassName).data(s.filterVisible(e.buttons));a.enter().append("g").classed(f.dropdownButtonClassName,!0);var c=-1!==["up","down"].indexOf(e.direction);a.each((function(i,a){var s=n.select(this);s.call(y,e,i,t);var h=s.select("."+f.itemTextClassName),p=h.node()&&o.bBox(h.node()).width,d=Math.max(p+f.textPadX,f.minWidth),g=e.font.size*u,m=l.lineCount(h),v=Math.max(g*m,f.minHeight)+f.textOffsetY;v=Math.ceil(v),d=Math.ceil(d),r.widths[a]=d,r.heights[a]=v,r.height1=Math.max(r.height1,v),r.width1=Math.max(r.width1,d),c?(r.totalWidth=Math.max(r.totalWidth,d),r.openWidth=r.totalWidth,r.totalHeight+=v+f.gapButton,r.openHeight+=v+f.gapButton):(r.totalWidth+=d+f.gapButton,r.openWidth+=d+f.gapButton,r.totalHeight=Math.max(r.totalHeight,v),r.openHeight=r.totalHeight)})),c?r.totalHeight-=f.gapButton:r.totalWidth-=f.gapButton,r.headerWidth=r.width1+f.arrowPadX,r.headerHeight=r.height1,"dropdown"===e.type&&(c?(r.width1+=f.arrowPadX,r.totalHeight=r.height1):r.totalWidth=r.width1,r.totalWidth+=f.arrowPadX),a.remove();var h=r.totalWidth+e.pad.l+e.pad.r,p=r.totalHeight+e.pad.t+e.pad.b,d=t._fullLayout._size;r.lx=d.l+d.w*e.x,r.ly=d.t+d.h*(1-e.y);var g="left";s.isRightAnchor(e)&&(r.lx-=h,g="right"),s.isCenterAnchor(e)&&(r.lx-=h/2,g="center");var m="top";s.isBottomAnchor(e)&&(r.ly-=p,m="bottom"),s.isMiddleAnchor(e)&&(r.ly-=p/2,m="middle"),r.totalWidth=Math.ceil(r.totalWidth),r.totalHeight=Math.ceil(r.totalHeight),r.lx=Math.round(r.lx),r.ly=Math.round(r.ly),i.autoMargin(t,A(e),{x:e.x,y:e.y,l:h*({right:1,center:.5}[g]||0),r:h*({left:1,center:.5}[g]||0),b:p*({top:1,middle:.5}[m]||0),t:p*({bottom:1,middle:.5}[m]||0)})}function A(t){return f.autoMarginIdRoot+t._index}function M(t,e,r,n){n=n||{};var i=t.select("."+f.itemRectClassName),a=t.select("."+f.itemTextClassName),s=e.borderwidth,c=r.index,h=e._dims;o.setTranslate(t,s+r.x,s+r.y);var p=-1!==["up","down"].indexOf(e.direction),d=n.height||(p?h.heights[c]:h.height1);i.attr({x:0,y:0,width:n.width||(p?h.width1:h.widths[c]),height:d});var g=e.font.size*u,m=(l.lineCount(a)-1)*g/2;l.positionText(a,f.textOffsetX,d/2-m+f.textOffsetY),p?r.y+=h.heights[c]+r.yPad:r.x+=h.widths[c]+r.xPad,r.index++}function S(t,e){t.attr(f.menuIndexAttrName,e||"-1").selectAll("g."+f.dropdownButtonClassName).remove()}e.exports=function(t){var e=t._fullLayout,r=s.filterVisible(e[f.name]);function a(e){i.autoMargin(t,A(e))}var o=e._menulayer.selectAll("g."+f.containerClassName).data(r.length>0?[0]:[]);if(o.enter().append("g").classed(f.containerClassName,!0).style("cursor","pointer"),o.exit().each((function(){n.select(this).selectAll("g."+f.headerGroupClassName).each(a)})).remove(),0!==r.length){var l=o.selectAll("g."+f.headerGroupClassName).data(r,p);l.enter().append("g").classed(f.headerGroupClassName,!0);for(var c=s.ensureSingle(o,"g",f.dropdownButtonGroupClassName,(function(t){t.style("pointer-events","all")})),u=0;u<r.length;u++){var y=r[u];k(t,y)}var x="updatemenus"+e._uid,b=new h(t,c,x);l.enter().size()&&(c.node().parentNode.appendChild(c.node()),c.call(S)),l.exit().each((function(t){c.call(S),a(t)})).remove(),l.each((function(e){var r=n.select(this),a="dropdown"===e.type?c:null;i.manageCommandObserver(t,e,e.buttons,(function(n){g(t,e,e.buttons[n.index],r,a,b,n.index,!0)})),"dropdown"===e.type?(m(t,r,c,b,e),d(c,e)&&v(t,r,c,b,e)):v(t,r,null,null,e)}))}}},{"../../constants/alignment":471,"../../lib":503,"../../lib/svg_text_utils":529,"../../plot_api/plot_template":543,"../../plots/plots":619,"../color":366,"../drawing":388,"./constants":466,"./scrollbox":470,"@plotly/d3":58}],469:[function(t,e,r){arguments[4][463][0].apply(r,arguments)},{"./attributes":465,"./constants":466,"./defaults":467,"./draw":468,dup:463}],470:[function(t,e,r){"use strict";e.exports=s;var n=t("@plotly/d3"),i=t("../color"),a=t("../drawing"),o=t("../../lib");function s(t,e,r){this.gd=t,this.container=e,this.id=r,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}s.barWidth=2,s.barLength=20,s.barRadius=2,s.barPad=1,s.barColor="#808BA4",s.prototype.enable=function(t,e,r){var o=this.gd._fullLayout,l=o.width,c=o.height;this.position=t;var u,f,h,p,d=this.position.l,g=this.position.w,m=this.position.t,v=this.position.h,y=this.position.direction,x="down"===y,b="left"===y,_="up"===y,w=g,T=v;x||b||"right"===y||_||(this.position.direction="down",x=!0),x||_?(f=(u=d)+w,x?(h=m,T=(p=Math.min(h+T,c))-h):T=(p=m+T)-(h=Math.max(p-T,0))):(p=(h=m)+T,b?w=(f=d+w)-(u=Math.max(f-w,0)):(u=d,w=(f=Math.min(u+w,l))-u)),this._box={l:u,t:h,w:w,h:T};var k=g>w,A=s.barLength+2*s.barPad,M=s.barWidth+2*s.barPad,S=d,E=m+v;E+M>c&&(E=c-M);var L=this.container.selectAll("rect.scrollbar-horizontal").data(k?[0]:[]);L.exit().on(".drag",null).remove(),L.enter().append("rect").classed("scrollbar-horizontal",!0).call(i.fill,s.barColor),k?(this.hbar=L.attr({rx:s.barRadius,ry:s.barRadius,x:S,y:E,width:A,height:M}),this._hbarXMin=S+A/2,this._hbarTranslateMax=w-A):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var C=v>T,P=s.barWidth+2*s.barPad,I=s.barLength+2*s.barPad,O=d+g,z=m;O+P>l&&(O=l-P);var D=this.container.selectAll("rect.scrollbar-vertical").data(C?[0]:[]);D.exit().on(".drag",null).remove(),D.enter().append("rect").classed("scrollbar-vertical",!0).call(i.fill,s.barColor),C?(this.vbar=D.attr({rx:s.barRadius,ry:s.barRadius,x:O,y:z,width:P,height:I}),this._vbarYMin=z+I/2,this._vbarTranslateMax=T-I):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var R=this.id,F=u-.5,B=C?f+P+.5:f+.5,N=h-.5,j=k?p+M+.5:p+.5,U=o._topdefs.selectAll("#"+R).data(k||C?[0]:[]);if(U.exit().remove(),U.enter().append("clipPath").attr("id",R).append("rect"),k||C?(this._clipRect=U.select("rect").attr({x:Math.floor(F),y:Math.floor(N),width:Math.ceil(B)-Math.floor(F),height:Math.ceil(j)-Math.floor(N)}),this.container.call(a.setClipUrl,R,this.gd),this.bg.attr({x:d,y:m,width:g,height:v})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),k||C){var V=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(V);var H=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault(),n.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));k&&this.hbar.on(".drag",null).call(H),C&&this.vbar.on(".drag",null).call(H)}this.setTranslate(e,r)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t-=n.event.dx),this.vbar&&(e-=n.event.dy),this.setTranslate(t,e)},s.prototype._onBoxWheel=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t+=n.event.deltaY),this.vbar&&(e+=n.event.deltaY),this.setTranslate(t,e)},s.prototype._onBarDrag=function(){var t=this.translateX,e=this.translateY;if(this.hbar){var r=t+this._hbarXMin,i=r+this._hbarTranslateMax;t=(o.constrain(n.event.x,r,i)-r)/(i-r)*(this.position.w-this._box.w)}if(this.vbar){var a=e+this._vbarYMin,s=a+this._vbarTranslateMax;e=(o.constrain(n.event.y,a,s)-a)/(s-a)*(this.position.h-this._box.h)}this.setTranslate(t,e)},s.prototype.setTranslate=function(t,e){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(t=o.constrain(t||0,0,r),e=o.constrain(e||0,0,n),this.translateX=t,this.translateY=e,this.container.call(a.setTranslate,this._box.l-this.position.l-t,this._box.t-this.position.t-e),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+t-.5),y:Math.floor(this.position.t+e-.5)}),this.hbar){var i=t/r;this.hbar.call(a.setTranslate,t+i*this._hbarTranslateMax,e)}if(this.vbar){var s=e/n;this.vbar.call(a.setTranslate,t,e+s*this._vbarTranslateMax)}}},{"../../lib":503,"../color":366,"../drawing":388,"@plotly/d3":58}],471:[function(t,e,r){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},{}],472:[function(t,e,r){"use strict";e.exports={axisRefDescription:function(t,e,r){return["If set to a",t,"axis id (e.g. *"+t+"* or","*"+t+"2*), the `"+t+"` position refers to a",t,"coordinate. If set to *paper*, the `"+t+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+r+"). If set to a",t,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+t+"2 domain* refers to the domain of the second",t," axis and a",t,"position of 0.5 refers to the","point between the",e,"and the",r,"of the domain of the","second",t,"axis."].join(" ")}}},{}],473:[function(t,e,r){"use strict";e.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"\u25b2"},DECREASING:{COLOR:"#FF4136",SYMBOL:"\u25bc"}}},{}],474:[function(t,e,r){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},{}],475:[function(t,e,r){"use strict";e.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},{}],476:[function(t,e,r){"use strict";e.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},{}],477:[function(t,e,r){"use strict";e.exports={circle:"\u25cf","circle-open":"\u25cb",square:"\u25a0","square-open":"\u25a1",diamond:"\u25c6","diamond-open":"\u25c7",cross:"+",x:"\u274c"}},{}],478:[function(t,e,r){"use strict";e.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},{}],479:[function(t,e,r){"use strict";e.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"\u2212"}},{}],480:[function(t,e,r){"use strict";r.xmlns="http://www.w3.org/2000/xmlns/",r.svg="http://www.w3.org/2000/svg",r.xlink="http://www.w3.org/1999/xlink",r.svgAttrs={xmlns:r.svg,"xmlns:xlink":r.xlink}},{}],481:[function(t,e,r){"use strict";r.version=t("./version").version,t("native-promise-only"),t("../build/plotcss");for(var n=t("./registry"),i=r.register=n.register,a=t("./plot_api"),o=Object.keys(a),s=0;s<o.length;s++){var l=o[s];"_"!==l.charAt(0)&&(r[l]=a[l]),i({moduleType:"apiMethod",name:l,fn:a[l]})}i(t("./traces/scatter")),i([t("./components/legend"),t("./components/fx"),t("./components/annotations"),t("./components/annotations3d"),t("./components/shapes"),t("./components/images"),t("./components/updatemenus"),t("./components/sliders"),t("./components/rangeslider"),t("./components/rangeselector"),t("./components/grid"),t("./components/errorbars"),t("./components/colorscale"),t("./components/colorbar"),t("./components/modebar")]),i([t("./locale-en"),t("./locale-en-us")]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(i(window.PlotlyLocales),delete window.PlotlyLocales),r.Icons=t("./fonts/ploticon");var c=t("./components/fx"),u=t("./plots/plots");r.Plots={resize:u.resize,graphJson:u.graphJson,sendDataToCloud:u.sendDataToCloud},r.Fx={hover:c.hover,unhover:c.unhover,loneHover:c.loneHover,loneUnhover:c.loneUnhover},r.Snapshot=t("./snapshot"),r.PlotSchema=t("./plot_api/plot_schema")},{"../build/plotcss":1,"./components/annotations":357,"./components/annotations3d":362,"./components/colorbar":372,"./components/colorscale":378,"./components/errorbars":394,"./components/fx":406,"./components/grid":410,"./components/images":415,"./components/legend":423,"./components/modebar":429,"./components/rangeselector":437,"./components/rangeslider":444,"./components/shapes":458,"./components/sliders":463,"./components/updatemenus":469,"./fonts/ploticon":482,"./locale-en":534,"./locale-en-us":533,"./plot_api":538,"./plot_api/plot_schema":542,"./plots/plots":619,"./registry":638,"./snapshot":643,"./traces/scatter":938,"./version":1119,"native-promise-only":245}],482:[function(t,e,r){"use strict";e.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'><defs><style>.cls-1 {fill: #3f4f75;} .cls-2 {fill: #80cfbe;} .cls-3 {fill: #fff;}</style></defs><title>plotly-logomark</title><g id='symbol'><rect class='cls-1' width='132' height='132' rx='6' ry='6'/><circle class='cls-2' cx='78' cy='54' r='6'/><circle class='cls-2' cx='102' cy='30' r='6'/><circle class='cls-2' cx='78' cy='30' r='6'/><circle class='cls-2' cx='54' cy='30' r='6'/><circle class='cls-2' cx='30' cy='30' r='6'/><circle class='cls-2' cx='30' cy='54' r='6'/><path class='cls-3' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/><path class='cls-3' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/><path class='cls-3' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/><path class='cls-3' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/></g></svg>"}}},{}],483:[function(t,e,r){"use strict";r.isLeftAnchor=function(t){return"left"===t.xanchor||"auto"===t.xanchor&&t.x<=1/3},r.isCenterAnchor=function(t){return"center"===t.xanchor||"auto"===t.xanchor&&t.x>1/3&&t.x<2/3},r.isRightAnchor=function(t){return"right"===t.xanchor||"auto"===t.xanchor&&t.x>=2/3},r.isTopAnchor=function(t){return"top"===t.yanchor||"auto"===t.yanchor&&t.y>=2/3},r.isMiddleAnchor=function(t){return"middle"===t.yanchor||"auto"===t.yanchor&&t.y>1/3&&t.y<2/3},r.isBottomAnchor=function(t){return"bottom"===t.yanchor||"auto"===t.yanchor&&t.y<=1/3}},{}],484:[function(t,e,r){"use strict";var n=t("./mod"),i=n.mod,a=n.modHalf,o=Math.PI,s=2*o;function l(t){return Math.abs(t[1]-t[0])>s-1e-14}function c(t,e){return a(e-t,s)}function u(t,e){if(l(e))return!0;var r,n;e[0]<e[1]?(r=e[0],n=e[1]):(r=e[1],n=e[0]),(r=i(r,s))>(n=i(n,s))&&(n+=s);var a=i(t,s),o=a+s;return a>=r&&a<=n||o>=r&&o<=n}function f(t,e,r,n,i,a,c){i=i||0,a=a||0;var u,f,h,p,d,g=l([r,n]);function m(t,e){return[t*Math.cos(e)+i,a-t*Math.sin(e)]}g?(u=0,f=o,h=s):r<n?(u=r,h=n):(u=n,h=r),t<e?(p=t,d=e):(p=e,d=t);var v,y=Math.abs(h-u)<=o?0:1;function x(t,e,r){return"A"+[t,t]+" "+[0,y,r]+" "+m(t,e)}return g?v=null===p?"M"+m(d,u)+x(d,f,0)+x(d,h,0)+"Z":"M"+m(p,u)+x(p,f,0)+x(p,h,0)+"ZM"+m(d,u)+x(d,f,1)+x(d,h,1)+"Z":null===p?(v="M"+m(d,u)+x(d,h,0),c&&(v+="L0,0Z")):v="M"+m(p,u)+"L"+m(d,u)+x(d,h,0)+"L"+m(p,h)+x(p,u,1)+"Z",v}e.exports={deg2rad:function(t){return t/180*o},rad2deg:function(t){return t/o*180},angleDelta:c,angleDist:function(t,e){return Math.abs(c(t,e))},isFullCircle:l,isAngleInsideSector:u,isPtInsideSector:function(t,e,r,n){return!!u(e,n)&&(r[0]<r[1]?(i=r[0],a=r[1]):(i=r[1],a=r[0]),t>=i&&t<=a);var i,a},pathArc:function(t,e,r,n,i){return f(null,t,e,r,n,i,0)},pathSector:function(t,e,r,n,i){return f(null,t,e,r,n,i,1)},pathAnnulus:function(t,e,r,n,i,a){return f(t,e,r,n,i,a,1)}}},{"./mod":510}],485:[function(t,e,r){"use strict";var n=Array.isArray,i=ArrayBuffer,a=DataView;function o(t){return i.isView(t)&&!(t instanceof a)}function s(t){return n(t)||o(t)}function l(t,e,r){if(s(t)){if(s(t[0])){for(var n=r,i=0;i<t.length;i++)n=e(n,t[i].length);return n}return t.length}return 0}r.isTypedArray=o,r.isArrayOrTypedArray=s,r.isArray1D=function(t){return!s(t[0])},r.ensureArray=function(t,e){return n(t)||(t=[]),t.length=e,t},r.concat=function(){var t,e,r,i,a,o,s,l,c=[],u=!0,f=0;for(r=0;r<arguments.length;r++)(o=(i=arguments[r]).length)&&(e?c.push(i):(e=i,a=o),n(i)?t=!1:(u=!1,f?t!==i.constructor&&(t=!1):t=i.constructor),f+=o);if(!f)return[];if(!c.length)return e;if(u)return e.concat.apply(e,c);if(t){for((s=new t(f)).set(e),r=0;r<c.length;r++)i=c[r],s.set(i,a),a+=i.length;return s}for(s=new Array(f),l=0;l<e.length;l++)s[l]=e[l];for(r=0;r<c.length;r++){for(i=c[r],l=0;l<i.length;l++)s[a+l]=i[l];a+=l}return s},r.maxRowLength=function(t){return l(t,Math.max,0)},r.minRowLength=function(t){return l(t,Math.min,1/0)}},{}],486:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../constants/numerical").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(t){return"string"==typeof t&&(t=t.replace(a,"")),n(t)?Number(t):i}},{"../constants/numerical":479,"fast-isnumeric":190}],487:[function(t,e,r){"use strict";e.exports=function(t){var e=t._fullLayout;e._glcanvas&&e._glcanvas.size()&&e._glcanvas.each((function(t){t.regl&&t.regl.clear({color:!0,depth:!0})}))}},{}],488:[function(t,e,r){"use strict";e.exports=function(t){t._responsiveChartHandler&&(window.removeEventListener("resize",t._responsiveChartHandler),delete t._responsiveChartHandler)}},{}],489:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("tinycolor2"),a=t("../plots/attributes"),o=t("../components/colorscale/scales"),s=t("../components/color"),l=t("../constants/interactions").DESELECTDIM,c=t("./nested_property"),u=t("./regex").counter,f=t("./mod").modHalf,h=t("./array").isArrayOrTypedArray;function p(t,e){var n=r.valObjectMeta[e.valType];if(e.arrayOk&&h(t))return!0;if(n.validateFunction)return n.validateFunction(t,e);var i={},a=i,o={set:function(t){a=t}};return n.coerceFunction(t,o,i,e),a!==i}r.valObjectMeta={data_array:{coerceFunction:function(t,e,r){h(t)?e.set(t):void 0!==r&&e.set(r)}},enumerated:{coerceFunction:function(t,e,r,n){n.coerceNumber&&(t=+t),-1===n.values.indexOf(t)?e.set(r):e.set(t)},validateFunction:function(t,e){e.coerceNumber&&(t=+t);for(var r=e.values,n=0;n<r.length;n++){var i=String(r[n]);if("/"===i.charAt(0)&&"/"===i.charAt(i.length-1)){if(new RegExp(i.substr(1,i.length-2)).test(t))return!0}else if(t===r[n])return!0}return!1}},boolean:{coerceFunction:function(t,e,r){!0===t||!1===t?e.set(t):e.set(r)}},number:{coerceFunction:function(t,e,r,i){!n(t)||void 0!==i.min&&t<i.min||void 0!==i.max&&t>i.max?e.set(r):e.set(+t)}},integer:{coerceFunction:function(t,e,r,i){t%1||!n(t)||void 0!==i.min&&t<i.min||void 0!==i.max&&t>i.max?e.set(r):e.set(+t)}},string:{coerceFunction:function(t,e,r,n){if("string"!=typeof t){var i="number"==typeof t;!0!==n.strict&&i?e.set(String(t)):e.set(r)}else n.noBlank&&!t?e.set(r):e.set(t)}},color:{coerceFunction:function(t,e,r){i(t).isValid()?e.set(t):e.set(r)}},colorlist:{coerceFunction:function(t,e,r){Array.isArray(t)&&t.length&&t.every((function(t){return i(t).isValid()}))?e.set(t):e.set(r)}},colorscale:{coerceFunction:function(t,e,r){e.set(o.get(t,r))}},angle:{coerceFunction:function(t,e,r){"auto"===t?e.set("auto"):n(t)?e.set(f(+t,360)):e.set(r)}},subplotid:{coerceFunction:function(t,e,r,n){var i=n.regex||u(r);"string"==typeof t&&i.test(t)?e.set(t):e.set(r)},validateFunction:function(t,e){var r=e.dflt;return t===r||"string"==typeof t&&!!u(r).test(t)}},flaglist:{coerceFunction:function(t,e,r,n){if("string"==typeof t)if(-1===(n.extras||[]).indexOf(t)){for(var i=t.split("+"),a=0;a<i.length;){var o=i[a];-1===n.flags.indexOf(o)||i.indexOf(o)<a?i.splice(a,1):a++}i.length?e.set(i.join("+")):e.set(r)}else e.set(t);else e.set(r)}},any:{coerceFunction:function(t,e,r){void 0===t?e.set(r):e.set(t)}},info_array:{coerceFunction:function(t,e,n,i){function a(t,e,n){var i,a={set:function(t){i=t}};return void 0===n&&(n=e.dflt),r.valObjectMeta[e.valType].coerceFunction(t,a,n,e),i}var o=2===i.dimensions||"1-2"===i.dimensions&&Array.isArray(t)&&Array.isArray(t[0]);if(Array.isArray(t)){var s,l,c,u,f,h,p=i.items,d=[],g=Array.isArray(p),m=g&&o&&Array.isArray(p[0]),v=o&&g&&!m,y=g&&!v?p.length:t.length;if(n=Array.isArray(n)?n:[],o)for(s=0;s<y;s++)for(d[s]=[],c=Array.isArray(t[s])?t[s]:[],f=v?p.length:g?p[s].length:c.length,l=0;l<f;l++)u=v?p[l]:g?p[s][l]:p,void 0!==(h=a(c[l],u,(n[s]||[])[l]))&&(d[s][l]=h);else for(s=0;s<y;s++)void 0!==(h=a(t[s],g?p[s]:p,n[s]))&&(d[s]=h);e.set(d)}else e.set(n)},validateFunction:function(t,e){if(!Array.isArray(t))return!1;var r=e.items,n=Array.isArray(r),i=2===e.dimensions;if(!e.freeLength&&t.length!==r.length)return!1;for(var a=0;a<t.length;a++)if(i){if(!Array.isArray(t[a])||!e.freeLength&&t[a].length!==r[a].length)return!1;for(var o=0;o<t[a].length;o++)if(!p(t[a][o],n?r[a][o]:r))return!1}else if(!p(t[a],n?r[a]:r))return!1;return!0}}},r.coerce=function(t,e,n,i,a){var o=c(n,i).get(),s=c(t,i),l=c(e,i),u=s.get(),f=e._template;if(void 0===u&&f&&(u=c(f,i).get(),f=0),void 0===a&&(a=o.dflt),o.arrayOk&&h(u))return l.set(u),u;var d=r.valObjectMeta[o.valType].coerceFunction;d(u,l,a,o);var g=l.get();return f&&g===a&&!p(u,o)&&(d(u=c(f,i).get(),l,a,o),g=l.get()),g},r.coerce2=function(t,e,n,i,a){var o=c(t,i),s=r.coerce(t,e,n,i,a),l=o.get();return null!=l&&s},r.coerceFont=function(t,e,r){var n={};return r=r||{},n.family=t(e+".family",r.family),n.size=t(e+".size",r.size),n.color=t(e+".color",r.color),n},r.coercePattern=function(t,e,r,n){if(t(e+".shape")){t(e+".solidity"),t(e+".size");var i="overlay"===t(e+".fillmode");if(!n){var a=t(e+".bgcolor",i?r:void 0);t(e+".fgcolor",i?s.contrast(a):r)}t(e+".fgopacity",i?.5:1)}},r.coerceHoverinfo=function(t,e,n){var i,o=e._module.attributes,s=o.hoverinfo?o:a,l=s.hoverinfo;if(1===n._dataLength){var c="all"===l.dflt?l.flags.slice():l.dflt.split("+");c.splice(c.indexOf("name"),1),i=c.join("+")}return r.coerce(t,e,s,"hoverinfo",i)},r.coerceSelectionMarkerOpacity=function(t,e){if(t.marker){var r,n,i=t.marker.opacity;if(void 0!==i)h(i)||t.selected||t.unselected||(r=i,n=l*i),e("selected.marker.opacity",r),e("unselected.marker.opacity",n)}},r.validate=p},{"../components/color":366,"../components/colorscale/scales":381,"../constants/interactions":478,"../plots/attributes":550,"./array":485,"./mod":510,"./nested_property":511,"./regex":520,"fast-isnumeric":190,tinycolor2:312}],490:[function(t,e,r){"use strict";var n,i,a=t("d3-time-format").timeFormat,o=t("fast-isnumeric"),s=t("./loggers"),l=t("./mod").mod,c=t("../constants/numerical"),u=c.BADNUM,f=c.ONEDAY,h=c.ONEHOUR,p=c.ONEMIN,d=c.ONESEC,g=c.EPOCHJD,m=t("../registry"),v=t("d3-time-format").utcFormat,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,x=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,b=(new Date).getFullYear()-70;function _(t){return t&&m.componentsRegistry.calendars&&"string"==typeof t&&"gregorian"!==t}function w(t,e){return String(t+Math.pow(10,e)).substr(1)}r.dateTick0=function(t,e){var n=function(t,e){return _(t)?e?m.getComponentMethod("calendars","CANONICAL_SUNDAY")[t]:m.getComponentMethod("calendars","CANONICAL_TICK")[t]:e?"2000-01-02":"2000-01-01"}(t,!!e);if(e<2)return n;var i=r.dateTime2ms(n,t);return i+=f*(e-1),r.ms2DateTime(i,0,t)},r.dfltRange=function(t){return _(t)?m.getComponentMethod("calendars","DFLTRANGE")[t]:["2000-01-01","2001-01-01"]},r.isJSDate=function(t){return"object"==typeof t&&null!==t&&"function"==typeof t.getTime},r.dateTime2ms=function(t,e){if(r.isJSDate(t)){var a=t.getTimezoneOffset()*p,o=(t.getUTCMinutes()-t.getMinutes())*p+(t.getUTCSeconds()-t.getSeconds())*d+(t.getUTCMilliseconds()-t.getMilliseconds());if(o){var s=3*p;a=a-s/2+l(o-a+s/2,s)}return(t=Number(t)-a)>=n&&t<=i?t:u}if("string"!=typeof t&&"number"!=typeof t)return u;t=String(t);var c=_(e),v=t.charAt(0);!c||"G"!==v&&"g"!==v||(t=t.substr(1),e="");var w=c&&"chinese"===e.substr(0,7),T=t.match(w?x:y);if(!T)return u;var k=T[1],A=T[3]||"1",M=Number(T[5]||1),S=Number(T[7]||0),E=Number(T[9]||0),L=Number(T[11]||0);if(c){if(2===k.length)return u;var C;k=Number(k);try{var P=m.getComponentMethod("calendars","getCal")(e);if(w){var I="i"===A.charAt(A.length-1);A=parseInt(A,10),C=P.newDate(k,P.toMonthIndex(k,A,I),M)}else C=P.newDate(k,Number(A),M)}catch(t){return u}return C?(C.toJD()-g)*f+S*h+E*p+L*d:u}k=2===k.length?(Number(k)+2e3-b)%100+b:Number(k),A-=1;var O=new Date(Date.UTC(2e3,A,M,S,E));return O.setUTCFullYear(k),O.getUTCMonth()!==A||O.getUTCDate()!==M?u:O.getTime()+L*d},n=r.MIN_MS=r.dateTime2ms("-9999"),i=r.MAX_MS=r.dateTime2ms("9999-12-31 23:59:59.9999"),r.isDateTime=function(t,e){return r.dateTime2ms(t,e)!==u};var T=90*f,k=3*h,A=5*p;function M(t,e,r,n,i){if((e||r||n||i)&&(t+=" "+w(e,2)+":"+w(r,2),(n||i)&&(t+=":"+w(n,2),i))){for(var a=4;i%10==0;)a-=1,i/=10;t+="."+w(i,a)}return t}r.ms2DateTime=function(t,e,r){if("number"!=typeof t||!(t>=n&&t<=i))return u;e||(e=0);var a,o,s,c,y,x,b=Math.floor(10*l(t+.05,1)),w=Math.round(t-b/10);if(_(r)){var S=Math.floor(w/f)+g,E=Math.floor(l(t,f));try{a=m.getComponentMethod("calendars","getCal")(r).fromJD(S).formatDate("yyyy-mm-dd")}catch(t){a=v("G%Y-%m-%d")(new Date(w))}if("-"===a.charAt(0))for(;a.length<11;)a="-0"+a.substr(1);else for(;a.length<10;)a="0"+a;o=e<T?Math.floor(E/h):0,s=e<T?Math.floor(E%h/p):0,c=e<k?Math.floor(E%p/d):0,y=e<A?E%d*10+b:0}else x=new Date(w),a=v("%Y-%m-%d")(x),o=e<T?x.getUTCHours():0,s=e<T?x.getUTCMinutes():0,c=e<k?x.getUTCSeconds():0,y=e<A?10*x.getUTCMilliseconds()+b:0;return M(a,o,s,c,y)},r.ms2DateTimeLocal=function(t){if(!(t>=n+f&&t<=i-f))return u;var e=Math.floor(10*l(t+.05,1)),r=new Date(Math.round(t-e/10));return M(a("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+e)},r.cleanDate=function(t,e,n){if(t===u)return e;if(r.isJSDate(t)||"number"==typeof t&&isFinite(t)){if(_(n))return s.error("JS Dates and milliseconds are incompatible with world calendars",t),e;if(!(t=r.ms2DateTimeLocal(+t))&&void 0!==e)return e}else if(!r.isDateTime(t,n))return s.error("unrecognized date",t),e;return t};var S=/%\d?f/g,E=/%h/g,L={1:"1",2:"1",3:"2",4:"2"};function C(t,e,r,n){t=t.replace(S,(function(t){var r=Math.min(+t.charAt(1)||6,6);return(e/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var i=new Date(Math.floor(e+.05));if(t=t.replace(E,(function(){return L[r("%q")(i)]})),_(n))try{t=m.getComponentMethod("calendars","worldCalFmt")(t,e,n)}catch(t){return"Invalid"}return r(t)(i)}var P=[59,59.9,59.99,59.999,59.9999];r.formatDate=function(t,e,r,n,i,a){if(i=_(i)&&i,!e)if("y"===r)e=a.year;else if("m"===r)e=a.month;else{if("d"!==r)return function(t,e){var r=l(t+.05,f),n=w(Math.floor(r/h),2)+":"+w(l(Math.floor(r/p),60),2);if("M"!==e){o(e)||(e=0);var i=(100+Math.min(l(t/d,60),P[e])).toFixed(e).substr(1);e>0&&(i=i.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+i}return n}(t,r)+"\n"+C(a.dayMonthYear,t,n,i);e=a.dayMonth+"\n"+a.year}return C(e,t,n,i)};var I=3*f;r.incrementMonth=function(t,e,r){r=_(r)&&r;var n=l(t,f);if(t=Math.round(t-n),r)try{var i=Math.round(t/f)+g,a=m.getComponentMethod("calendars","getCal")(r),o=a.fromJD(i);return e%12?a.add(o,e,"m"):a.add(o,e/12,"y"),(o.toJD()-g)*f+n}catch(e){s.error("invalid ms "+t+" in calendar "+r)}var c=new Date(t+I);return c.setUTCMonth(c.getUTCMonth()+e)+n-I},r.findExactDates=function(t,e){for(var r,n,i=0,a=0,s=0,l=0,c=_(e)&&m.getComponentMethod("calendars","getCal")(e),u=0;u<t.length;u++)if(n=t[u],o(n)){if(!(n%f))if(c)try{1===(r=c.fromJD(n/f+g)).day()?1===r.month()?i++:a++:s++}catch(t){}else 1===(r=new Date(n)).getUTCDate()?0===r.getUTCMonth()?i++:a++:s++}else l++;s+=a+=i;var h=t.length-l;return{exactYears:i/h,exactMonths:a/h,exactDays:s/h}}},{"../constants/numerical":479,"../registry":638,"./loggers":507,"./mod":510,"d3-time-format":120,"fast-isnumeric":190}],491:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("./loggers"),a=t("./matrix"),o=t("gl-mat4");function s(t){var e=t&&t.parentNode;e&&e.removeChild(t)}function l(t,e,r){var n="plotly.js-style-"+t,a=document.getElementById(n);a||((a=document.createElement("style")).setAttribute("id",n),a.appendChild(document.createTextNode("")),document.head.appendChild(a));var o=a.sheet;o.insertRule?o.insertRule(e+"{"+r+"}",0):o.addRule?o.addRule(e,r,0):i.warn("addStyleRule failed")}function c(t){var e=window.getComputedStyle(t,null),r=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");return"none"===r?null:r.replace("matrix","").replace("3d","").slice(1,-1).split(",").map((function(t){return+t}))}function u(t){for(var e=[];f(t);)e.push(t),t=t.parentNode;return e}function f(t){return t&&(t instanceof Element||t instanceof HTMLElement)}e.exports={getGraphDiv:function(t){var e;if("string"==typeof t){if(null===(e=document.getElementById(t)))throw new Error("No DOM element with id '"+t+"' exists on the page.");return e}if(null==t)throw new Error("DOM element provided is null or undefined");return t},isPlotDiv:function(t){var e=n.select(t);return e.node()instanceof HTMLElement&&e.size()&&e.classed("js-plotly-plot")},removeElement:s,addStyleRule:function(t,e){l("global",t,e)},addRelatedStyleRule:l,deleteRelatedStyleRule:function(t){var e="plotly.js-style-"+t,r=document.getElementById(e);r&&s(r)},getFullTransformMatrix:function(t){var e=u(t),r=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach((function(t){var e=c(t);if(e){var n=a.convertCssMatrix(e);r=o.multiply(r,r,n)}})),r},getElementTransformMatrix:c,getElementAndAncestors:u,equalDomRects:function(t,e){return t&&e&&t.x===e.x&&t.y===e.y&&t.top===e.top&&t.left===e.left&&t.right===e.right&&t.bottom===e.bottom}}},{"./loggers":507,"./matrix":509,"@plotly/d3":58,"gl-mat4":210}],492:[function(t,e,r){"use strict";var n=t("events").EventEmitter,i={init:function(t){if(t._ev instanceof n)return t;var e=new n,r=new n;return t._ev=e,t._internalEv=r,t.on=e.on.bind(e),t.once=e.once.bind(e),t.removeListener=e.removeListener.bind(e),t.removeAllListeners=e.removeAllListeners.bind(e),t._internalOn=r.on.bind(r),t._internalOnce=r.once.bind(r),t._removeInternalListener=r.removeListener.bind(r),t._removeAllInternalListeners=r.removeAllListeners.bind(r),t.emit=function(n,i){"undefined"!=typeof jQuery&&jQuery(t).trigger(n,i),e.emit(n,i),r.emit(n,i)},t},triggerHandler:function(t,e,r){var n,i;"undefined"!=typeof jQuery&&(n=jQuery(t).triggerHandler(e,r));var a=t._ev;if(!a)return n;var o,s=a._events[e];if(!s)return n;function l(t){return t.listener?(a.removeListener(e,t.listener),t.fired?void 0:(t.fired=!0,t.listener.apply(a,[r]))):t.apply(a,[r])}for(s=Array.isArray(s)?s:[s],o=0;o<s.length-1;o++)l(s[o]);return i=l(s[o]),void 0!==n?n:i},purge:function(t){return delete t._ev,delete t.on,delete t.once,delete t.removeListener,delete t.removeAllListeners,delete t.emit,delete t._ev,delete t._internalEv,delete t._internalOn,delete t._internalOnce,delete t._removeInternalListener,delete t._removeAllInternalListeners,t}};e.exports=i},{events:84}],493:[function(t,e,r){"use strict";var n=t("./is_plain_object.js"),i=Array.isArray;function a(t,e,r,o){var s,l,c,u,f,h,p=t[0],d=t.length;if(2===d&&i(p)&&i(t[1])&&0===p.length){if(function(t,e){var r,n;for(r=0;r<t.length;r++){if(null!==(n=t[r])&&"object"==typeof n)return!1;void 0!==n&&(e[r]=n)}return!0}(t[1],p))return p;p.splice(0,p.length)}for(var g=1;g<d;g++)for(l in s=t[g])c=p[l],u=s[l],o&&i(u)?p[l]=u:e&&u&&(n(u)||(f=i(u)))?(f?(f=!1,h=c&&i(c)?c:[]):h=c&&n(c)?c:{},p[l]=a([h,u],e,r,o)):(void 0!==u||r)&&(p[l]=u);return p}r.extendFlat=function(){return a(arguments,!1,!1,!1)},r.extendDeep=function(){return a(arguments,!0,!1,!1)},r.extendDeepAll=function(){return a(arguments,!0,!0,!1)},r.extendDeepNoArrays=function(){return a(arguments,!0,!1,!0)}},{"./is_plain_object.js":504}],494:[function(t,e,r){"use strict";e.exports=function(t){for(var e={},r=[],n=0,i=0;i<t.length;i++){var a=t[i];1!==e[a]&&(e[a]=1,r[n++]=a)}return r}},{}],495:[function(t,e,r){"use strict";function n(t){return!0===t.visible}function i(t){var e=t[0].trace;return!0===e.visible&&0!==e._length}e.exports=function(t){for(var e,r=(e=t,Array.isArray(e)&&Array.isArray(e[0])&&e[0][0]&&e[0][0].trace?i:n),a=[],o=0;o<t.length;o++){var s=t[o];r(s)&&a.push(s)}return a}},{}],496:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("country-regex"),a=t("@turf/area"),o=t("@turf/centroid"),s=t("@turf/bbox"),l=t("./identity"),c=t("./loggers"),u=t("./is_plain_object"),f=t("./nested_property"),h=t("./polygon"),p=Object.keys(i),d={"ISO-3":l,"USA-states":l,"country names":function(t){for(var e=0;e<p.length;e++){var r=p[e];if(new RegExp(i[r]).test(t.trim().toLowerCase()))return r}return c.log("Unrecognized country name: "+t+"."),!1}};function g(t){var e=t.geojson,r=window.PlotlyGeoAssets||{},n="string"==typeof e?r[e]:e;return u(n)?n:(c.error("Oops ... something went wrong when fetching "+e),!1)}e.exports={locationToFeature:function(t,e,r){if(!e||"string"!=typeof e)return!1;var n,i,a,o=d[t](e);if(o){if("USA-states"===t)for(n=[],a=0;a<r.length;a++)(i=r[a]).properties&&i.properties.gu&&"USA"===i.properties.gu&&n.push(i);else n=r;for(a=0;a<n.length;a++)if((i=n[a]).id===o)return i;c.log(["Location with id",o,"does not have a matching topojson feature at this resolution."].join(" "))}return!1},feature2polygons:function(t){var e,r,n,i,a=t.geometry,o=a.coordinates,s=t.id,l=[];function c(t){for(var e=0;e<t.length-1;e++)if(t[e][0]>0&&t[e+1][0]<0)return e;return null}switch(e="RUS"===s||"FJI"===s?function(t){var e;if(null===c(t))e=t;else for(e=new Array(t.length),i=0;i<t.length;i++)e[i]=[t[i][0]<0?t[i][0]+360:t[i][0],t[i][1]];l.push(h.tester(e))}:"ATA"===s?function(t){var e=c(t);if(null===e)return l.push(h.tester(t));var r=new Array(t.length+1),n=0;for(i=0;i<t.length;i++)i>e?r[n++]=[t[i][0]+360,t[i][1]]:i===e?(r[n++]=t[i],r[n++]=[t[i][0],-90]):r[n++]=t[i];var a=h.tester(r);a.pts.pop(),l.push(a)}:function(t){l.push(h.tester(t))},a.type){case"MultiPolygon":for(r=0;r<o.length;r++)for(n=0;n<o[r].length;n++)e(o[r][n]);break;case"Polygon":for(r=0;r<o.length;r++)e(o[r])}return l},getTraceGeojson:g,extractTraceFeature:function(t){var e=t[0].trace,r=g(e);if(!r)return!1;var n,i={},s=[];for(n=0;n<e._length;n++){var l=t[n];(l.loc||0===l.loc)&&(i[l.loc]=l)}function u(t){var r=f(t,e.featureidkey||"id").get(),n=i[r];if(n){var l=t.geometry;if("Polygon"===l.type||"MultiPolygon"===l.type){var u={type:"Feature",id:r,geometry:l,properties:{}};u.properties.ct=function(t){var e,r=t.geometry;if("MultiPolygon"===r.type)for(var n=r.coordinates,i=0,s=0;s<n.length;s++){var l={type:"Polygon",coordinates:n[s]},c=a.default(l);c>i&&(i=c,e=l)}else e=r;return o.default(e).geometry.coordinates}(u),n.fIn=t,n.fOut=u,s.push(u)}else c.log(["Location",n.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete i[r]}switch(r.type){case"FeatureCollection":var h=r.features;for(n=0;n<h.length;n++)u(h[n]);break;case"Feature":u(r);break;default:return c.warn(["Invalid GeoJSON type",(r.type||"none")+".","Traces with locationmode *geojson-id* only support","*FeatureCollection* and *Feature* types."].join(" ")),!1}for(var p in i)c.log(["Location *"+p+"*","does not have a matching feature with id-key","*"+e.featureidkey+"*."].join(" "));return s},fetchTraceGeoData:function(t){var e=window.PlotlyGeoAssets||{},r=[];function i(t){return new Promise((function(r,i){n.json(t,(function(n,a){if(n){delete e[t];var o=404===n.status?'GeoJSON at URL "'+t+'" does not exist.':"Unexpected error while fetching from "+t;return i(new Error(o))}return e[t]=a,r(a)}))}))}function a(t){return new Promise((function(r,n){var i=0,a=setInterval((function(){return e[t]&&"pending"!==e[t]?(clearInterval(a),r(e[t])):i>100?(clearInterval(a),n("Unexpected error while fetching from "+t)):void i++}),50)}))}for(var o=0;o<t.length;o++){var s=t[o][0].trace.geojson;"string"==typeof s&&(e[s]?"pending"===e[s]&&r.push(a(s)):(e[s]="pending",r.push(i(s))))}return r},computeBbox:function(t){return s.default(t)}}},{"./identity":501,"./is_plain_object":504,"./loggers":507,"./nested_property":511,"./polygon":515,"@plotly/d3":58,"@turf/area":61,"@turf/bbox":64,"@turf/centroid":67,"country-regex":94}],497:[function(t,e,r){"use strict";var n=t("../constants/numerical").BADNUM;r.calcTraceToLineCoords=function(t){for(var e=t[0].trace.connectgaps,r=[],i=[],a=0;a<t.length;a++){var o=t[a].lonlat;o[0]!==n?i.push(o):!e&&i.length>0&&(r.push(i),i=[])}return i.length>0&&r.push(i),r},r.makeLine=function(t){return 1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t}},r.makePolygon=function(t){if(1===t.length)return{type:"Polygon",coordinates:t};for(var e=new Array(t.length),r=0;r<t.length;r++)e[r]=[t[r]];return{type:"MultiPolygon",coordinates:e}},r.makeBlank=function(){return{type:"Point",coordinates:[]}}},{"../constants/numerical":479}],498:[function(t,e,r){"use strict";var n,i,a,o=t("./mod").mod;function s(t,e,r,n,i,a,o,s){var l=r-t,c=i-t,u=o-i,f=n-e,h=a-e,p=s-a,d=l*p-u*f;if(0===d)return null;var g=(c*p-u*h)/d,m=(c*f-l*h)/d;return m<0||m>1||g<0||g>1?null:{x:t+l*g,y:e+f*g}}function l(t,e,r,n,i){var a=n*t+i*e;if(a<0)return n*n+i*i;if(a>r){var o=n-t,s=i-e;return o*o+s*s}var l=n*e-i*t;return l*l/r}r.segmentsIntersect=s,r.segmentDistance=function(t,e,r,n,i,a,o,c){if(s(t,e,r,n,i,a,o,c))return 0;var u=r-t,f=n-e,h=o-i,p=c-a,d=u*u+f*f,g=h*h+p*p,m=Math.min(l(u,f,d,i-t,a-e),l(u,f,d,o-t,c-e),l(h,p,g,t-i,e-a),l(h,p,g,r-i,n-a));return Math.sqrt(m)},r.getTextLocation=function(t,e,r,s){if(t===i&&s===a||(n={},i=t,a=s),n[r])return n[r];var l=t.getPointAtLength(o(r-s/2,e)),c=t.getPointAtLength(o(r+s/2,e)),u=Math.atan((c.y-l.y)/(c.x-l.x)),f=t.getPointAtLength(o(r,e)),h={x:(4*f.x+l.x+c.x)/6,y:(4*f.y+l.y+c.y)/6,theta:u};return n[r]=h,h},r.clearLocationCache=function(){i=null},r.getVisibleSegment=function(t,e,r){var n,i,a=e.left,o=e.right,s=e.top,l=e.bottom,c=0,u=t.getTotalLength(),f=u;function h(e){var r=t.getPointAtLength(e);0===e?n=r:e===u&&(i=r);var c=r.x<a?a-r.x:r.x>o?r.x-o:0,f=r.y<s?s-r.y:r.y>l?r.y-l:0;return Math.sqrt(c*c+f*f)}for(var p=h(c);p;){if((c+=p+r)>f)return;p=h(c)}for(p=h(f);p;){if(c>(f-=p+r))return;p=h(f)}return{min:c,max:f,len:f-c,total:u,isClosed:0===c&&f===u&&Math.abs(n.x-i.x)<.1&&Math.abs(n.y-i.y)<.1}},r.findPointOnPath=function(t,e,r,n){for(var i,a,o,s=(n=n||{}).pathLength||t.getTotalLength(),l=n.tolerance||.001,c=n.iterationLimit||30,u=t.getPointAtLength(0)[r]>t.getPointAtLength(s)[r]?-1:1,f=0,h=0,p=s;f<c;){if(i=(h+p)/2,o=(a=t.getPointAtLength(i))[r]-e,Math.abs(o)<l)return a;u*o>0?p=i:h=i,f++}return a}},{"./mod":510}],499:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("tinycolor2"),a=t("color-normalize"),o=t("../components/colorscale"),s=t("../components/color/attributes").defaultLine,l=t("./array").isArrayOrTypedArray,c=a(s);function u(t,e){var r=t;return r[3]*=e,r}function f(t){if(n(t))return c;var e=a(t);return e.length?e:c}function h(t){return n(t)?t:1}e.exports={formatColor:function(t,e,r){var n,i,s,p,d,g=t.color,m=l(g),v=l(e),y=o.extractOpts(t),x=[];if(n=void 0!==y.colorscale?o.makeColorScaleFuncFromTrace(t):f,i=m?function(t,e){return void 0===t[e]?c:a(n(t[e]))}:f,s=v?function(t,e){return void 0===t[e]?1:h(t[e])}:h,m||v)for(var b=0;b<r;b++)p=i(g,b),d=s(e,b),x[b]=u(p,d);else x=u(a(g),e);return x},parseColorScale:function(t){var e=o.extractOpts(t),r=e.colorscale;return e.reversescale&&(r=o.flipScale(e.colorscale)),r.map((function(t){var e=t[0],r=i(t[1]).toRgb();return{index:e,rgb:[r.r,r.g,r.b,r.a]}}))}}},{"../components/color/attributes":365,"../components/colorscale":378,"./array":485,"color-normalize":89,"fast-isnumeric":190,tinycolor2:312}],500:[function(t,e,r){"use strict";var n=t("./identity");function i(t){return[t]}e.exports={keyFun:function(t){return t.key},repeat:i,descend:n,wrap:i,unwrap:function(t){return t[0]}}},{"./identity":501}],501:[function(t,e,r){"use strict";e.exports=function(t){return t}},{}],502:[function(t,e,r){"use strict";e.exports=function(t,e){if(!e)return t;var r=1/Math.abs(e),n=r>1?(r*t+r*e)/r:t+e,i=String(n).length;if(i>16){var a=String(e).length;if(i>=String(t).length+a){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}},{}],503:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-time-format").utcFormat,a=t("d3-format").format,o=t("fast-isnumeric"),s=t("../constants/numerical"),l=s.FP_SAFE,c=-l,u=s.BADNUM,f=e.exports={};f.adjustFormat=function(t){return!t||/^\d[.]\df/.test(t)||/[.]\d%/.test(t)?t:"0.f"===t?"~f":/^\d%/.test(t)?"~%":/^\ds/.test(t)?"~s":!/^[~,.0$]/.test(t)&&/[&fps]/.test(t)?"~"+t:t};var h={};f.warnBadFormat=function(t){var e=String(t);h[e]||(h[e]=1,f.warn('encountered bad format: "'+e+'"'))},f.noFormat=function(t){return String(t)},f.numberFormat=function(t){var e;try{e=a(f.adjustFormat(t))}catch(e){return f.warnBadFormat(t),f.noFormat}return e},f.nestedProperty=t("./nested_property"),f.keyedContainer=t("./keyed_container"),f.relativeAttr=t("./relative_attr"),f.isPlainObject=t("./is_plain_object"),f.toLogRange=t("./to_log_range"),f.relinkPrivateKeys=t("./relink_private");var p=t("./array");f.isTypedArray=p.isTypedArray,f.isArrayOrTypedArray=p.isArrayOrTypedArray,f.isArray1D=p.isArray1D,f.ensureArray=p.ensureArray,f.concat=p.concat,f.maxRowLength=p.maxRowLength,f.minRowLength=p.minRowLength;var d=t("./mod");f.mod=d.mod,f.modHalf=d.modHalf;var g=t("./coerce");f.valObjectMeta=g.valObjectMeta,f.coerce=g.coerce,f.coerce2=g.coerce2,f.coerceFont=g.coerceFont,f.coercePattern=g.coercePattern,f.coerceHoverinfo=g.coerceHoverinfo,f.coerceSelectionMarkerOpacity=g.coerceSelectionMarkerOpacity,f.validate=g.validate;var m=t("./dates");f.dateTime2ms=m.dateTime2ms,f.isDateTime=m.isDateTime,f.ms2DateTime=m.ms2DateTime,f.ms2DateTimeLocal=m.ms2DateTimeLocal,f.cleanDate=m.cleanDate,f.isJSDate=m.isJSDate,f.formatDate=m.formatDate,f.incrementMonth=m.incrementMonth,f.dateTick0=m.dateTick0,f.dfltRange=m.dfltRange,f.findExactDates=m.findExactDates,f.MIN_MS=m.MIN_MS,f.MAX_MS=m.MAX_MS;var v=t("./search");f.findBin=v.findBin,f.sorterAsc=v.sorterAsc,f.sorterDes=v.sorterDes,f.distinctVals=v.distinctVals,f.roundUp=v.roundUp,f.sort=v.sort,f.findIndexOfMin=v.findIndexOfMin,f.sortObjectKeys=t("./sort_object_keys");var y=t("./stats");f.aggNums=y.aggNums,f.len=y.len,f.mean=y.mean,f.median=y.median,f.midRange=y.midRange,f.variance=y.variance,f.stdev=y.stdev,f.interp=y.interp;var x=t("./matrix");f.init2dArray=x.init2dArray,f.transposeRagged=x.transposeRagged,f.dot=x.dot,f.translationMatrix=x.translationMatrix,f.rotationMatrix=x.rotationMatrix,f.rotationXYMatrix=x.rotationXYMatrix,f.apply3DTransform=x.apply3DTransform,f.apply2DTransform=x.apply2DTransform,f.apply2DTransform2=x.apply2DTransform2,f.convertCssMatrix=x.convertCssMatrix,f.inverseTransformMatrix=x.inverseTransformMatrix;var b=t("./angles");f.deg2rad=b.deg2rad,f.rad2deg=b.rad2deg,f.angleDelta=b.angleDelta,f.angleDist=b.angleDist,f.isFullCircle=b.isFullCircle,f.isAngleInsideSector=b.isAngleInsideSector,f.isPtInsideSector=b.isPtInsideSector,f.pathArc=b.pathArc,f.pathSector=b.pathSector,f.pathAnnulus=b.pathAnnulus;var _=t("./anchor_utils");f.isLeftAnchor=_.isLeftAnchor,f.isCenterAnchor=_.isCenterAnchor,f.isRightAnchor=_.isRightAnchor,f.isTopAnchor=_.isTopAnchor,f.isMiddleAnchor=_.isMiddleAnchor,f.isBottomAnchor=_.isBottomAnchor;var w=t("./geometry2d");f.segmentsIntersect=w.segmentsIntersect,f.segmentDistance=w.segmentDistance,f.getTextLocation=w.getTextLocation,f.clearLocationCache=w.clearLocationCache,f.getVisibleSegment=w.getVisibleSegment,f.findPointOnPath=w.findPointOnPath;var T=t("./extend");f.extendFlat=T.extendFlat,f.extendDeep=T.extendDeep,f.extendDeepAll=T.extendDeepAll,f.extendDeepNoArrays=T.extendDeepNoArrays;var k=t("./loggers");f.log=k.log,f.warn=k.warn,f.error=k.error;var A=t("./regex");f.counterRegex=A.counter;var M=t("./throttle");f.throttle=M.throttle,f.throttleDone=M.done,f.clearThrottle=M.clear;var S=t("./dom");function E(t){var e={};for(var r in t)for(var n=t[r],i=0;i<n.length;i++)e[n[i]]=+r;return e}f.getGraphDiv=S.getGraphDiv,f.isPlotDiv=S.isPlotDiv,f.removeElement=S.removeElement,f.addStyleRule=S.addStyleRule,f.addRelatedStyleRule=S.addRelatedStyleRule,f.deleteRelatedStyleRule=S.deleteRelatedStyleRule,f.getFullTransformMatrix=S.getFullTransformMatrix,f.getElementTransformMatrix=S.getElementTransformMatrix,f.getElementAndAncestors=S.getElementAndAncestors,f.equalDomRects=S.equalDomRects,f.clearResponsive=t("./clear_responsive"),f.preserveDrawingBuffer=t("./preserve_drawing_buffer"),f.makeTraceGroups=t("./make_trace_groups"),f._=t("./localize"),f.notifier=t("./notifier"),f.filterUnique=t("./filter_unique"),f.filterVisible=t("./filter_visible"),f.pushUnique=t("./push_unique"),f.increment=t("./increment"),f.cleanNumber=t("./clean_number"),f.ensureNumber=function(t){return o(t)?(t=Number(t))>l||t<c?u:t:u},f.isIndex=function(t,e){return!(void 0!==e&&t>=e)&&(o(t)&&t>=0&&t%1==0)},f.noop=t("./noop"),f.identity=t("./identity"),f.repeat=function(t,e){for(var r=new Array(e),n=0;n<e;n++)r[n]=t;return r},f.swapAttrs=function(t,e,r,n){r||(r="x"),n||(n="y");for(var i=0;i<e.length;i++){var a=e[i],o=f.nestedProperty(t,a.replace("?",r)),s=f.nestedProperty(t,a.replace("?",n)),l=o.get();o.set(s.get()),s.set(l)}},f.raiseToTop=function(t){t.parentNode.appendChild(t)},f.cancelTransition=function(t){return t.transition().duration(0)},f.constrain=function(t,e,r){return e>r?Math.max(r,Math.min(e,t)):Math.max(e,Math.min(r,t))},f.bBoxIntersect=function(t,e,r){return r=r||0,t.left<=e.right+r&&e.left<=t.right+r&&t.top<=e.bottom+r&&e.top<=t.bottom+r},f.simpleMap=function(t,e,r,n,i){for(var a=t.length,o=new Array(a),s=0;s<a;s++)o[s]=e(t[s],r,n,i);return o},f.randstr=function t(e,r,n,i){if(n||(n=16),void 0===r&&(r=24),r<=0)return"0";var a,o,s=Math.log(Math.pow(2,r))/Math.log(n),l="";for(a=2;s===1/0;a*=2)s=Math.log(Math.pow(2,r/a))/Math.log(n)*a;var c=s-Math.floor(s);for(a=0;a<Math.floor(s);a++)l=Math.floor(Math.random()*n).toString(n)+l;c&&(o=Math.pow(n,c),l=Math.floor(Math.random()*o).toString(n)+l);var u=parseInt(l,n);return e&&e[l]||u!==1/0&&u>=Math.pow(2,r)?i>10?(f.warn("randstr failed uniqueness"),l):t(e,r,n,(i||0)+1):l},f.OptionControl=function(t,e){t||(t={}),e||(e="opt");var r={optionList:[],_newoption:function(n){n[e]=t,r[n.name]=n,r.optionList.push(n)}};return r["_"+e]=t,r},f.smooth=function(t,e){if((e=Math.round(e)||0)<2)return t;var r,n,i,a,o=t.length,s=2*o,l=2*e-1,c=new Array(l),u=new Array(o);for(r=0;r<l;r++)c[r]=(1-Math.cos(Math.PI*(r+1)/e))/(2*e);for(r=0;r<o;r++){for(a=0,n=0;n<l;n++)(i=r+n+1-e)<-o?i-=s*Math.round(i/s):i>=s&&(i-=s*Math.floor(i/s)),i<0?i=-1-i:i>=o&&(i=s-1-i),a+=t[i]*c[n];u[r]=a}return u},f.syncOrAsync=function(t,e,r){var n;function i(){return f.syncOrAsync(t,e,r)}for(;t.length;)if((n=(0,t.splice(0,1)[0])(e))&&n.then)return n.then(i);return r&&r(e)},f.stripTrailingSlash=function(t){return"/"===t.substr(-1)?t.substr(0,t.length-1):t},f.noneOrAll=function(t,e,r){if(t){var n,i=!1,a=!0;for(n=0;n<r.length;n++)null!=t[r[n]]?i=!0:a=!1;if(i&&!a)for(n=0;n<r.length;n++)t[r[n]]=e[r[n]]}},f.mergeArray=function(t,e,r,n){var i="function"==typeof n;if(f.isArrayOrTypedArray(t))for(var a=Math.min(t.length,e.length),o=0;o<a;o++){var s=t[o];e[o][r]=i?n(s):s}},f.mergeArrayCastPositive=function(t,e,r){return f.mergeArray(t,e,r,(function(t){var e=+t;return isFinite(e)&&e>0?e:0}))},f.fillArray=function(t,e,r,n){if(n=n||f.identity,f.isArrayOrTypedArray(t))for(var i=0;i<e.length;i++)e[i][r]=n(t[i])},f.castOption=function(t,e,r,n){n=n||f.identity;var i=f.nestedProperty(t,r).get();return f.isArrayOrTypedArray(i)?Array.isArray(e)&&f.isArrayOrTypedArray(i[e[0]])?n(i[e[0]][e[1]]):n(i[e]):i},f.extractOption=function(t,e,r,n){if(r in t)return t[r];var i=f.nestedProperty(e,n).get();return Array.isArray(i)?void 0:i},f.tagSelected=function(t,e,r){var n,i,a=e.selectedpoints,o=e._indexToPoints;o&&(n=E(o));for(var s=0;s<a.length;s++){var l=a[s];if(f.isIndex(l)||f.isArrayOrTypedArray(l)&&f.isIndex(l[0])&&f.isIndex(l[1])){var c=n?n[l]:l,u=r?r[c]:c;void 0!==(i=u)&&i<t.length&&(t[u].selected=1)}}},f.selIndices2selPoints=function(t){var e=t.selectedpoints,r=t._indexToPoints;if(r){for(var n=E(r),i=[],a=0;a<e.length;a++){var o=e[a];if(f.isIndex(o)){var s=n[o];f.isIndex(s)&&i.push(s)}}return i}return e},f.getTargetArray=function(t,e){var r=e.target;if("string"==typeof r&&r){var n=f.nestedProperty(t,r).get();return!!Array.isArray(n)&&n}return!!Array.isArray(r)&&r},f.minExtend=function(t,e){var r={};"object"!=typeof e&&(e={});var n,i,a,o=Object.keys(t);for(n=0;n<o.length;n++)a=t[i=o[n]],"_"!==i.charAt(0)&&"function"!=typeof a&&("module"===i?r[i]=a:Array.isArray(a)?r[i]="colorscale"===i?a.slice():a.slice(0,3):f.isTypedArray(a)?r[i]=a.subarray(0,3):r[i]=a&&"object"==typeof a?f.minExtend(t[i],e[i]):a);for(o=Object.keys(e),n=0;n<o.length;n++)"object"==typeof(a=e[i=o[n]])&&i in r&&"object"==typeof r[i]||(r[i]=a);return r},f.titleCase=function(t){return t.charAt(0).toUpperCase()+t.substr(1)},f.containsAny=function(t,e){for(var r=0;r<e.length;r++)if(-1!==t.indexOf(e[r]))return!0;return!1},f.isIE=function(){return void 0!==window.navigator.msSaveBlob};var L=/Version\/[\d\.]+.*Safari/;f.isSafari=function(){return L.test(window.navigator.userAgent)};var C=/iPad|iPhone|iPod/;f.isIOS=function(){return C.test(window.navigator.userAgent)};var P=/Firefox\/(\d+)\.\d+/;f.getFirefoxVersion=function(){var t=P.exec(window.navigator.userAgent);if(t&&2===t.length){var e=parseInt(t[1]);if(!isNaN(e))return e}return null},f.isD3Selection=function(t){return t instanceof n.selection},f.ensureSingle=function(t,e,r,n){var i=t.select(e+(r?"."+r:""));if(i.size())return i;var a=t.append(e);return r&&a.classed(r,!0),n&&a.call(n),a},f.ensureSingleById=function(t,e,r,n){var i=t.select(e+"#"+r);if(i.size())return i;var a=t.append(e).attr("id",r);return n&&a.call(n),a},f.objectFromPath=function(t,e){for(var r,n=t.split("."),i=r={},a=0;a<n.length;a++){var o=n[a],s=null,l=n[a].match(/(.*)\[([0-9]+)\]/);l?(o=l[1],s=l[2],r=r[o]=[],a===n.length-1?r[s]=e:r[s]={},r=r[s]):(a===n.length-1?r[o]=e:r[o]={},r=r[o])}return i};var I=/^([^\[\.]+)\.(.+)?/,O=/^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;f.expandObjectPaths=function(t){var e,r,n,i,a,o,s;if("object"==typeof t&&!Array.isArray(t))for(r in t)t.hasOwnProperty(r)&&((e=r.match(I))?(i=t[r],n=e[1],delete t[r],t[n]=f.extendDeepNoArrays(t[n]||{},f.objectFromPath(r,f.expandObjectPaths(i))[n])):(e=r.match(O))?(i=t[r],n=e[1],a=parseInt(e[2]),delete t[r],t[n]=t[n]||[],"."===e[3]?(s=e[4],o=t[n][a]=t[n][a]||{},f.extendDeepNoArrays(o,f.objectFromPath(s,f.expandObjectPaths(i)))):t[n][a]=f.expandObjectPaths(i)):t[r]=f.expandObjectPaths(t[r]));return t},f.numSeparate=function(t,e,r){if(r||(r=!1),"string"!=typeof e||0===e.length)throw new Error("Separator string required for formatting!");"number"==typeof t&&(t=String(t));var n=/(\d+)(\d{3})/,i=e.charAt(0),a=e.charAt(1),o=t.split("."),s=o[0],l=o.length>1?i+o[1]:"";if(a&&(o.length>1||s.length>4||r))for(;n.test(s);)s=s.replace(n,"$1"+a+"$2");return s+l},f.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var z=/^\w*$/;f.templateString=function(t,e){var r={};return t.replace(f.TEMPLATE_STRING_REGEX,(function(t,n){var i;return z.test(n)?i=e[n]:(r[n]=r[n]||f.nestedProperty(e,n).get,i=r[n]()),f.isValidTextValue(i)?i:""}))};var D={max:10,count:0,name:"hovertemplate"};f.hovertemplateString=function(){return B.apply(D,arguments)};var R={max:10,count:0,name:"texttemplate"};f.texttemplateString=function(){return B.apply(R,arguments)};var F=/^[:|\|]/;function B(t,e,r){var n=this,a=arguments;e||(e={});var o={};return t.replace(f.TEMPLATE_STRING_REGEX,(function(t,s,l){var c,u,h,p="_xother"===s||"_yother"===s,d="_xother_"===s||"_yother_"===s,g="xother_"===s||"yother_"===s,m="xother"===s||"yother"===s||p||g||d,v=s;if((p||d)&&(v=v.substring(1)),(g||d)&&(v=v.substring(0,v.length-1)),m){if(void 0===(c=e[v]))return""}else for(h=3;h<a.length;h++)if(u=a[h]){if(u.hasOwnProperty(v)){c=u[v];break}if(z.test(v)||(c=f.nestedProperty(u,v).get(),(c=o[v]||f.nestedProperty(u,v).get())&&(o[v]=c)),void 0!==c)break}if(void 0===c&&n)return n.count<n.max&&(f.warn("Variable '"+v+"' in "+n.name+" could not be found!"),c=t),n.count===n.max&&f.warn("Too many "+n.name+" warnings - additional warnings will be suppressed"),n.count++,t;if(l){var y;if(":"===l[0]&&(c=(y=r?r.numberFormat:f.numberFormat)(l.replace(F,""))(c)),"|"===l[0]){y=r?r.timeFormat:i;var x=f.dateTime2ms(c);c=f.formatDate(x,l.replace(F,""),!1,y)}}else{var b=v+"Label";e.hasOwnProperty(b)&&(c=e[b])}return m&&(c="("+c+")",(p||d)&&(c=" "+c),(g||d)&&(c+=" ")),c}))}f.subplotSort=function(t,e){for(var r=Math.min(t.length,e.length)+1,n=0,i=0,a=0;a<r;a++){var o=t.charCodeAt(a)||0,s=e.charCodeAt(a)||0,l=o>=48&&o<=57,c=s>=48&&s<=57;if(l&&(n=10*n+o-48),c&&(i=10*i+s-48),!l||!c){if(n!==i)return n-i;if(o!==s)return o-s}}return i-n};var N=2e9;f.seedPseudoRandom=function(){N=2e9},f.pseudoRandom=function(){var t=N;return N=(69069*N+1)%4294967296,Math.abs(N-t)<429496729?f.pseudoRandom():N/4294967296},f.fillText=function(t,e,r){var n=Array.isArray(r)?function(t){r.push(t)}:function(t){r.text=t},i=f.extractOption(t,e,"htx","hovertext");if(f.isValidTextValue(i))return n(i);var a=f.extractOption(t,e,"tx","text");return f.isValidTextValue(a)?n(a):void 0},f.isValidTextValue=function(t){return t||0===t},f.formatPercent=function(t,e){e=e||0;for(var r=(Math.round(100*t*Math.pow(10,e))*Math.pow(.1,e)).toFixed(e)+"%",n=0;n<e;n++)-1!==r.indexOf(".")&&(r=(r=r.replace("0%","%")).replace(".%","%"));return r},f.isHidden=function(t){var e=window.getComputedStyle(t).display;return!e||"none"===e},f.strTranslate=function(t,e){return t||e?"translate("+t+","+e+")":""},f.strRotate=function(t){return t?"rotate("+t+")":""},f.strScale=function(t){return 1!==t?"scale("+t+")":""},f.getTextTransform=function(t){var e=t.noCenter,r=t.textX,n=t.textY,i=t.targetX,a=t.targetY,o=t.anchorX||0,s=t.anchorY||0,l=t.rotate,c=t.scale;return c?c>1&&(c=1):c=0,f.strTranslate(i-c*(r+o),a-c*(n+s))+f.strScale(c)+(l?"rotate("+l+(e?"":" "+r+" "+n)+")":"")},f.ensureUniformFontSize=function(t,e){var r=f.extendFlat({},e);return r.size=Math.max(e.size,t._fullLayout.uniformtext.minsize||0),r},f.join2=function(t,e,r){var n=t.length;return n>1?t.slice(0,-1).join(e)+r+t[n-1]:t.join(e)},f.bigFont=function(t){return Math.round(1.2*t)};var j=f.getFirefoxVersion(),U=null!==j&&j<86;f.getPositionFromD3Event=function(){return U?[n.event.layerX,n.event.layerY]:[n.event.offsetX,n.event.offsetY]}},{"../constants/numerical":479,"./anchor_utils":483,"./angles":484,"./array":485,"./clean_number":486,"./clear_responsive":488,"./coerce":489,"./dates":490,"./dom":491,"./extend":493,"./filter_unique":494,"./filter_visible":495,"./geometry2d":498,"./identity":501,"./increment":502,"./is_plain_object":504,"./keyed_container":505,"./localize":506,"./loggers":507,"./make_trace_groups":508,"./matrix":509,"./mod":510,"./nested_property":511,"./noop":512,"./notifier":513,"./preserve_drawing_buffer":517,"./push_unique":518,"./regex":520,"./relative_attr":521,"./relink_private":522,"./search":523,"./sort_object_keys":526,"./stats":527,"./throttle":530,"./to_log_range":531,"@plotly/d3":58,"d3-format":112,"d3-time-format":120,"fast-isnumeric":190}],504:[function(t,e,r){"use strict";e.exports=function(t){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(t):"[object Object]"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t).hasOwnProperty("hasOwnProperty")}},{}],505:[function(t,e,r){"use strict";var n=t("./nested_property"),i=/^\w*$/;e.exports=function(t,e,r,a){var o,s,l;r=r||"name",a=a||"value";var c={};e&&e.length?(l=n(t,e),s=l.get()):s=t,e=e||"";var u={};if(s)for(o=0;o<s.length;o++)u[s[o][r]]=o;var f=i.test(a),h={set:function(t,e){var i=null===e?4:0;if(!s){if(!l||4===i)return;s=[],l.set(s)}var o=u[t];if(void 0===o){if(4===i)return;i|=3,o=s.length,u[t]=o}else e!==(f?s[o][a]:n(s[o],a).get())&&(i|=2);var p=s[o]=s[o]||{};return p[r]=t,f?p[a]=e:n(p,a).set(e),null!==e&&(i&=-5),c[o]=c[o]|i,h},get:function(t){if(s){var e=u[t];return void 0===e?void 0:f?s[e][a]:n(s[e],a).get()}},rename:function(t,e){var n=u[t];return void 0===n||(c[n]=1|c[n],u[e]=n,delete u[t],s[n][r]=e),h},remove:function(t){var e=u[t];if(void 0===e)return h;var i=s[e];if(Object.keys(i).length>2)return c[e]=2|c[e],h.set(t,null);if(f){for(o=e;o<s.length;o++)c[o]=3|c[o];for(o=e;o<s.length;o++)u[s[o][r]]--;s.splice(e,1),delete u[t]}else n(i,a).set(null),c[e]=6|c[e];return h},constructUpdate:function(){for(var t,i,o={},l=Object.keys(c),u=0;u<l.length;u++)i=l[u],t=e+"["+i+"]",s[i]?(1&c[i]&&(o[t+"."+r]=s[i][r]),2&c[i]&&(o[t+"."+a]=f?4&c[i]?null:s[i][a]:4&c[i]?null:n(s[i],a).get())):o[t]=null;return o}};return h}},{"./nested_property":511}],506:[function(t,e,r){"use strict";var n=t("../registry");e.exports=function(t,e){for(var r=t._context.locale,i=0;i<2;i++){for(var a=t._context.locales,o=0;o<2;o++){var s=(a[r]||{}).dictionary;if(s){var l=s[e];if(l)return l}a=n.localeRegistry}var c=r.split("-")[0];if(c===r)break;r=c}return e}},{"../registry":638}],507:[function(t,e,r){"use strict";var n=t("../plot_api/plot_config").dfltConfig,i=t("./notifier"),a=e.exports={};a.log=function(){var t;if(n.logging>1){var e=["LOG:"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.trace.apply(console,e)}if(n.notifyOnLogging>1){var r=[];for(t=0;t<arguments.length;t++)r.push(arguments[t]);i(r.join("<br>"),"long")}},a.warn=function(){var t;if(n.logging>0){var e=["WARN:"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.trace.apply(console,e)}if(n.notifyOnLogging>0){var r=[];for(t=0;t<arguments.length;t++)r.push(arguments[t]);i(r.join("<br>"),"stick")}},a.error=function(){var t;if(n.logging>0){var e=["ERROR:"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.error.apply(console,e)}if(n.notifyOnLogging>0){var r=[];for(t=0;t<arguments.length;t++)r.push(arguments[t]);i(r.join("<br>"),"stick")}}},{"../plot_api/plot_config":541,"./notifier":513}],508:[function(t,e,r){"use strict";var n=t("@plotly/d3");e.exports=function(t,e,r){var i=t.selectAll("g."+r.replace(/\s/g,".")).data(e,(function(t){return t[0].trace.uid}));i.exit().remove(),i.enter().append("g").attr("class",r),i.order();var a=t.classed("rangeplot")?"nodeRangePlot3":"node3";return i.each((function(t){t[0][a]=n.select(this)})),i}},{"@plotly/d3":58}],509:[function(t,e,r){"use strict";var n=t("gl-mat4");r.init2dArray=function(t,e){for(var r=new Array(t),n=0;n<t;n++)r[n]=new Array(e);return r},r.transposeRagged=function(t){var e,r,n=0,i=t.length;for(e=0;e<i;e++)n=Math.max(n,t[e].length);var a=new Array(n);for(e=0;e<n;e++)for(a[e]=new Array(i),r=0;r<i;r++)a[e][r]=t[r][e];return a},r.dot=function(t,e){if(!t.length||!e.length||t.length!==e.length)return null;var n,i,a=t.length;if(t[0].length)for(n=new Array(a),i=0;i<a;i++)n[i]=r.dot(t[i],e);else if(e[0].length){var o=r.transposeRagged(e);for(n=new Array(o.length),i=0;i<o.length;i++)n[i]=r.dot(t,o[i])}else for(n=0,i=0;i<a;i++)n+=t[i]*e[i];return n},r.translationMatrix=function(t,e){return[[1,0,t],[0,1,e],[0,0,1]]},r.rotationMatrix=function(t){var e=t*Math.PI/180;return[[Math.cos(e),-Math.sin(e),0],[Math.sin(e),Math.cos(e),0],[0,0,1]]},r.rotationXYMatrix=function(t,e,n){return r.dot(r.dot(r.translationMatrix(e,n),r.rotationMatrix(t)),r.translationMatrix(-e,-n))},r.apply3DTransform=function(t){return function(){var e=arguments,n=1===arguments.length?e[0]:[e[0],e[1],e[2]||0];return r.dot(t,[n[0],n[1],n[2],1]).slice(0,3)}},r.apply2DTransform=function(t){return function(){var e=arguments;3===e.length&&(e=e[0]);var n=1===arguments.length?e[0]:[e[0],e[1]];return r.dot(t,[n[0],n[1],1]).slice(0,2)}},r.apply2DTransform2=function(t){var e=r.apply2DTransform(t);return function(t){return e(t.slice(0,2)).concat(e(t.slice(2,4)))}},r.convertCssMatrix=function(t){if(t){var e=t.length;if(16===e)return t;if(6===e)return[t[0],t[1],0,0,t[2],t[3],0,0,0,0,1,0,t[4],t[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},r.inverseTransformMatrix=function(t){var e=[];return n.invert(e,t),[[e[0],e[1],e[2],e[3]],[e[4],e[5],e[6],e[7]],[e[8],e[9],e[10],e[11]],[e[12],e[13],e[14],e[15]]]}},{"gl-mat4":210}],510:[function(t,e,r){"use strict";e.exports={mod:function(t,e){var r=t%e;return r<0?r+e:r},modHalf:function(t,e){return Math.abs(t)>e/2?t-Math.round(t/e)*e:t}}},{}],511:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("./array").isArrayOrTypedArray;function a(t,e){return function(){var r,n,o,s,l,c=t;for(s=0;s<e.length-1;s++){if(-1===(r=e[s])){for(n=!0,o=[],l=0;l<c.length;l++)o[l]=a(c[l],e.slice(s+1))(),o[l]!==o[0]&&(n=!1);return n?o[0]:o}if("number"==typeof r&&!i(c))return;if("object"!=typeof(c=c[r])||null===c)return}if("object"==typeof c&&null!==c&&null!==(o=c[e[s]]))return o}}e.exports=function(t,e){if(n(e))e=String(e);else if("string"!=typeof e||"[-1]"===e.substr(e.length-4))throw"bad property string";for(var r,i,o,s=0,c=e.split(".");s<c.length;){if(r=String(c[s]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/)){if(r[1])c[s]=r[1];else{if(0!==s)throw"bad property string";c.splice(0,1)}for(i=r[2].substr(1,r[2].length-2).split("]["),o=0;o<i.length;o++)s++,c.splice(s,0,Number(i[o]))}s++}return"object"!=typeof t?function(t,e,r){return{set:function(){throw"bad container"},get:function(){},astr:e,parts:r,obj:t}}(t,e,c):{set:l(t,c,e),get:a(t,c),astr:e,parts:c,obj:t}};var o=/(^|\.)args\[/;function s(t,e){return void 0===t||null===t&&!e.match(o)}function l(t,e,r){return function(n){var a,o,l=t,h="",p=[[t,h]],d=s(n,r);for(o=0;o<e.length-1;o++){if("number"==typeof(a=e[o])&&!i(l))throw"array index but container is not an array";if(-1===a){if(d=!u(l,e.slice(o+1),n,r))break;return}if(!f(l,a,e[o+1],d))break;if("object"!=typeof(l=l[a])||null===l)throw"container is not an object";h=c(h,a),p.push([l,h])}if(d){if(o===e.length-1&&(delete l[e[o]],Array.isArray(l)&&+e[o]==l.length-1))for(;l.length&&void 0===l[l.length-1];)l.pop()}else l[e[o]]=n}}function c(t,e){var r=e;return n(e)?r="["+e+"]":t&&(r="."+e),t+r}function u(t,e,r,n){var a,o=i(r),c=!0,u=r,h=n.replace("-1",0),p=!o&&s(r,h),d=e[0];for(a=0;a<t.length;a++)h=n.replace("-1",a),o&&(p=s(u=r[a%r.length],h)),p&&(c=!1),f(t,a,d,p)&&l(t[a],e,n.replace("-1",a))(u);return c}function f(t,e,r,n){if(void 0===t[e]){if(n)return!1;t[e]="number"==typeof r?[]:{}}return!0}},{"./array":485,"fast-isnumeric":190}],512:[function(t,e,r){"use strict";e.exports=function(){}},{}],513:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=[];e.exports=function(t,e){if(-1===a.indexOf(t)){a.push(t);var r=1e3;i(e)?r=e:"long"===e&&(r=3e3);var o=n.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(t){var i=n.select(this);i.append("button").classed("notifier-close",!0).html("&times;").on("click",(function(){i.transition().call(s)}));for(var a=i.append("p"),o=t.split(/<br\s*\/?>/g),l=0;l<o.length;l++)l&&a.append("br"),a.append("span").text(o[l]);"stick"===e?i.transition().duration(350).style("opacity",1):i.transition().duration(700).style("opacity",1).transition().delay(r).call(s)}))}function s(t){t.duration(700).style("opacity",0).each("end",(function(t){var e=a.indexOf(t);-1!==e&&a.splice(e,1),n.select(this).remove()}))}}},{"@plotly/d3":58,"fast-isnumeric":190}],514:[function(t,e,r){"use strict";var n=t("./setcursor"),i="data-savedcursor";e.exports=function(t,e){var r=t.attr(i);if(e){if(!r){for(var a=(t.attr("class")||"").split(" "),o=0;o<a.length;o++){var s=a[o];0===s.indexOf("cursor-")&&t.attr(i,s.substr(7)).classed(s,!1)}t.attr(i)||t.attr(i,"!!")}n(t,e)}else r&&(t.attr(i,null),"!!"===r?n(t):n(t,r))}},{"./setcursor":524}],515:[function(t,e,r){"use strict";var n=t("./matrix").dot,i=t("../constants/numerical").BADNUM,a=e.exports={};a.tester=function(t){var e,r=t.slice(),n=r[0][0],a=n,o=r[0][1],s=o;for(r.push(r[0]),e=1;e<r.length;e++)n=Math.min(n,r[e][0]),a=Math.max(a,r[e][0]),o=Math.min(o,r[e][1]),s=Math.max(s,r[e][1]);var l,c=!1;5===r.length&&(r[0][0]===r[1][0]?r[2][0]===r[3][0]&&r[0][1]===r[3][1]&&r[1][1]===r[2][1]&&(c=!0,l=function(t){return t[0]===r[0][0]}):r[0][1]===r[1][1]&&r[2][1]===r[3][1]&&r[0][0]===r[3][0]&&r[1][0]===r[2][0]&&(c=!0,l=function(t){return t[1]===r[0][1]}));var u=!0,f=r[0];for(e=1;e<r.length;e++)if(f[0]!==r[e][0]||f[1]!==r[e][1]){u=!1;break}return{xmin:n,xmax:a,ymin:o,ymax:s,pts:r,contains:c?function(t,e){var r=t[0],c=t[1];return!(r===i||r<n||r>a||c===i||c<o||c>s)&&(!e||!l(t))}:function(t,e){var l=t[0],c=t[1];if(l===i||l<n||l>a||c===i||c<o||c>s)return!1;var u,f,h,p,d,g=r.length,m=r[0][0],v=r[0][1],y=0;for(u=1;u<g;u++)if(f=m,h=v,m=r[u][0],v=r[u][1],!(l<(p=Math.min(f,m))||l>Math.max(f,m)||c>Math.max(h,v)))if(c<Math.min(h,v))l!==p&&y++;else{if(c===(d=m===f?c:h+(l-f)*(v-h)/(m-f)))return 1!==u||!e;c<=d&&l!==p&&y++}return y%2==1},isRect:c,degenerate:u}},a.isSegmentBent=function(t,e,r,i){var a,o,s,l=t[e],c=[t[r][0]-l[0],t[r][1]-l[1]],u=n(c,c),f=Math.sqrt(u),h=[-c[1]/f,c[0]/f];for(a=e+1;a<r;a++)if(o=[t[a][0]-l[0],t[a][1]-l[1]],(s=n(o,c))<0||s>u||Math.abs(n(o,h))>i)return!0;return!1},a.filter=function(t,e){var r=[t[0]],n=0,i=0;function o(o){t.push(o);var s=r.length,l=n;r.splice(i+1);for(var c=l+1;c<t.length;c++)(c===t.length-1||a.isSegmentBent(t,l,c+1,e))&&(r.push(t[c]),r.length<s-2&&(n=c,i=r.length-1),l=c)}t.length>1&&o(t.pop());return{addPt:o,raw:t,filtered:r}}},{"../constants/numerical":479,"./matrix":509}],516:[function(t,e,r){(function(r){(function(){"use strict";var n=t("./show_no_webgl_msg"),i=t("regl");e.exports=function(t,e){var a=t._fullLayout,o=!0;return a._glcanvas.each((function(n){if(!n.regl&&(!n.pick||a._has("parcoords"))){try{n.regl=i({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:t._context.plotGlPixelRatio||r.devicePixelRatio,extensions:e||[]})}catch(t){o=!1}n.regl||(o=!1),o&&this.addEventListener("webglcontextlost",(function(e){t&&t.emit&&t.emit("plotly_webglcontextlost",{event:e,layer:n.key})}),!1)}})),o||n({container:a._glcontainer.node()}),o}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./show_no_webgl_msg":525,regl:283}],517:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("is-mobile");e.exports=function(t){var e;if("string"!=typeof(e=t&&t.hasOwnProperty("userAgent")?t.userAgent:function(){var t;"undefined"!=typeof navigator&&(t=navigator.userAgent);t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]);return t}()))return!0;var r=i({ua:{headers:{"user-agent":e}},tablet:!0,featureDetect:!1});if(!r)for(var a=e.split(" "),o=1;o<a.length;o++){if(-1!==a[o].indexOf("Safari"))for(var s=o-1;s>-1;s--){var l=a[s];if("Version/"===l.substr(0,8)){var c=l.substr(8).split(".")[0];if(n(c)&&(c=+c),c>=13)return!0}}}return r}},{"fast-isnumeric":190,"is-mobile":234}],518:[function(t,e,r){"use strict";e.exports=function(t,e){if(e instanceof RegExp){for(var r=e.toString(),n=0;n<t.length;n++)if(t[n]instanceof RegExp&&t[n].toString()===r)return t;t.push(e)}else!e&&0!==e||-1!==t.indexOf(e)||t.push(e);return t}},{}],519:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plot_api/plot_config").dfltConfig;var a={add:function(t,e,r,n,a){var o,s;t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},s=t.undoQueue.index,t.autoplay?t.undoQueue.inSequence||(t.autoplay=!1):(!t.undoQueue.sequence||t.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},t.undoQueue.queue.splice(s,t.undoQueue.queue.length-s,o),t.undoQueue.index+=1):o=t.undoQueue.queue[s-1],t.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(e),o.undo.args.unshift(r),o.redo.calls.push(n),o.redo.args.push(a)),t.undoQueue.queue.length>i.queueLength&&(t.undoQueue.queue.shift(),t.undoQueue.index--))},startSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!0,t.undoQueue.beginSequence=!0},stopSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!1,t.undoQueue.beginSequence=!1},undo:function(t){var e,r;if(!(void 0===t.undoQueue||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,r=0;r<e.undo.calls.length;r++)a.plotDo(t,e.undo.calls[r],e.undo.args[r]);t.undoQueue.inSequence=!1,t.autoplay=!1}},redo:function(t){var e,r;if(!(void 0===t.undoQueue||isNaN(t.undoQueue.index)||t.undoQueue.index>=t.undoQueue.queue.length)){for(e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,r=0;r<e.redo.calls.length;r++)a.plotDo(t,e.redo.calls[r],e.redo.args[r]);t.undoQueue.inSequence=!1,t.autoplay=!1,t.undoQueue.index++}}};a.plotDo=function(t,e,r){t.autoplay=!0,r=function(t,e){for(var r,i=[],a=0;a<e.length;a++)r=e[a],i[a]=r===t?r:"object"==typeof r?Array.isArray(r)?n.extendDeep([],r):n.extendDeepAll({},r):r;return i}(t,r),e.apply(null,r)},e.exports=a},{"../lib":503,"../plot_api/plot_config":541}],520:[function(t,e,r){"use strict";r.counter=function(t,e,r,n){var i=(e||"")+(r?"":"$"),a=!1===n?"":"^";return"xy"===t?new RegExp(a+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+i):new RegExp(a+t+"([2-9]|[1-9][0-9]+)?"+i)}},{}],521:[function(t,e,r){"use strict";var n=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,i=/^[^\.\[\]]+$/;e.exports=function(t,e){for(;e;){var r=t.match(n);if(r)t=r[1];else{if(!t.match(i))throw new Error("bad relativeAttr call:"+[t,e]);t=""}if("^"!==e.charAt(0))break;e=e.slice(1)}return t&&"["!==e.charAt(0)?t+"."+e:t+e}},{}],522:[function(t,e,r){"use strict";var n=t("./array").isArrayOrTypedArray,i=t("./is_plain_object");e.exports=function t(e,r){for(var a in r){var o=r[a],s=e[a];if(s!==o)if("_"===a.charAt(0)||"function"==typeof o){if(a in e)continue;e[a]=o}else if(n(o)&&n(s)&&i(o[0])){if("customdata"===a||"ids"===a)continue;for(var l=Math.min(o.length,s.length),c=0;c<l;c++)s[c]!==o[c]&&i(o[c])&&i(s[c])&&t(s[c],o[c])}else i(o)&&i(s)&&(t(s,o),Object.keys(s).length||delete e[a])}}},{"./array":485,"./is_plain_object":504}],523:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("./loggers"),a=t("./identity"),o=t("../constants/numerical").BADNUM;function s(t,e){return t<e}function l(t,e){return t<=e}function c(t,e){return t>e}function u(t,e){return t>=e}r.findBin=function(t,e,r){if(n(e.start))return r?Math.ceil((t-e.start)/e.size-1e-9)-1:Math.floor((t-e.start)/e.size+1e-9);var a,o,f=0,h=e.length,p=0,d=h>1?(e[h-1]-e[0])/(h-1):1;for(o=d>=0?r?s:l:r?u:c,t+=1e-9*d*(r?-1:1)*(d>=0?1:-1);f<h&&p++<100;)o(e[a=Math.floor((f+h)/2)],t)?f=a+1:h=a;return p>90&&i.log("Long binary search..."),f-1},r.sorterAsc=function(t,e){return t-e},r.sorterDes=function(t,e){return e-t},r.distinctVals=function(t){var e,n=t.slice();for(n.sort(r.sorterAsc),e=n.length-1;e>-1&&n[e]===o;e--);for(var i,a=n[e]-n[0]||1,s=a/(e||1)/1e4,l=[],c=0;c<=e;c++){var u=n[c],f=u-i;void 0===i?(l.push(u),i=u):f>s&&(a=Math.min(a,f),l.push(u),i=u)}return{vals:l,minDiff:a}},r.roundUp=function(t,e,r){for(var n,i=0,a=e.length-1,o=0,s=r?0:1,l=r?1:0,c=r?Math.ceil:Math.floor;i<a&&o++<100;)e[n=c((i+a)/2)]<=t?i=n+s:a=n-l;return e[i]},r.sort=function(t,e){for(var r=0,n=0,i=1;i<t.length;i++){var a=e(t[i],t[i-1]);if(a<0?r=1:a>0&&(n=1),r&&n)return t.sort(e)}return n?t:t.reverse()},r.findIndexOfMin=function(t,e){e=e||a;for(var r,n=1/0,i=0;i<t.length;i++){var o=e(t[i]);o<n&&(n=o,r=i)}return r}},{"../constants/numerical":479,"./identity":501,"./loggers":507,"fast-isnumeric":190}],524:[function(t,e,r){"use strict";e.exports=function(t,e){(t.attr("class")||"").split(" ").forEach((function(e){0===e.indexOf("cursor-")&&t.classed(e,!1)})),e&&t.classed("cursor-"+e,!0)}},{}],525:[function(t,e,r){"use strict";var n=t("../components/color"),i=function(){};e.exports=function(t){for(var e in t)"function"==typeof t[e]&&(t[e]=i);t.destroy=function(){t.container.parentNode.removeChild(t.container)};var r=document.createElement("div");r.className="no-webgl",r.style.cursor="pointer",r.style.fontSize="24px",r.style.color=n.defaults[0],r.style.position="absolute",r.style.left=r.style.top="0px",r.style.width=r.style.height="100%",r.style["background-color"]=n.lightLine,r.style["z-index"]=30;var a=document.createElement("p");return a.textContent="WebGL is not supported by your browser - visit https://get.webgl.org for more info",a.style.position="relative",a.style.top="50%",a.style.left="50%",a.style.height="30%",a.style.width="50%",a.style.margin="-15% 0 0 -25%",r.appendChild(a),t.container.appendChild(r),t.container.style.background="#FFFFFF",t.container.onclick=function(){window.open("https://get.webgl.org")},!1}},{"../components/color":366}],526:[function(t,e,r){"use strict";e.exports=function(t){return Object.keys(t).sort()}},{}],527:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("./array").isArrayOrTypedArray;r.aggNums=function(t,e,a,o){var s,l;if((!o||o>a.length)&&(o=a.length),n(e)||(e=!1),i(a[0])){for(l=new Array(o),s=0;s<o;s++)l[s]=r.aggNums(t,e,a[s]);a=l}for(s=0;s<o;s++)n(e)?n(a[s])&&(e=t(+e,+a[s])):e=a[s];return e},r.len=function(t){return r.aggNums((function(t){return t+1}),0,t)},r.mean=function(t,e){return e||(e=r.len(t)),r.aggNums((function(t,e){return t+e}),0,t)/e},r.midRange=function(t){if(void 0!==t&&0!==t.length)return(r.aggNums(Math.max,null,t)+r.aggNums(Math.min,null,t))/2},r.variance=function(t,e,i){return e||(e=r.len(t)),n(i)||(i=r.mean(t,e)),r.aggNums((function(t,e){return t+Math.pow(e-i,2)}),0,t)/e},r.stdev=function(t,e,n){return Math.sqrt(r.variance(t,e,n))},r.median=function(t){var e=t.slice().sort();return r.interp(e,.5)},r.interp=function(t,e){if(!n(e))throw"n should be a finite number";if((e=e*t.length-.5)<0)return t[0];if(e>t.length-1)return t[t.length-1];var r=e%1;return r*t[Math.ceil(e)]+(1-r)*t[Math.floor(e)]}},{"./array":485,"fast-isnumeric":190}],528:[function(t,e,r){"use strict";var n=t("color-normalize");e.exports=function(t){return t?n(t):[0,0,0,1]}},{"color-normalize":89}],529:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../lib"),a=i.strTranslate,o=t("../constants/xmlns_namespaces"),s=t("../constants/alignment").LINE_SPACING,l=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;r.convertToTspans=function(t,e,d){var A=t.text(),M=!t.attr("data-notex")&&"undefined"!=typeof MathJax&&A.match(l),L=n.select(t.node().parentNode);if(!L.empty()){var C=t.attr("class")?t.attr("class").split(" ")[0]:"text";return C+="-math",L.selectAll("svg."+C).remove(),L.selectAll("g."+C+"-group").remove(),t.style("display",null).attr({"data-unformatted":A,"data-math":"N"}),M?(e&&e._promises||[]).push(new Promise((function(e){t.style("display","none");var r=parseInt(t.node().style.fontSize,10),o={fontSize:r};!function(t,e,r){var a,o,s,l;MathJax.Hub.Queue((function(){return o=i.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(a=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+i.randstr({},64);return l=n.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":e.fontSize+"px"}).text(t.replace(c,"\\lt ").replace(u,"\\gt ")),MathJax.Hub.Typeset(l.node())}),(function(){var e=n.select("body").select("#MathJax_SVG_glyphs");if(l.select(".MathJax_SVG").empty()||!l.select("svg").node())i.log("There was an error in the tex syntax.",t),r();else{var o=l.select("svg").node().getBoundingClientRect();r(l.select(".MathJax_SVG"),e,o)}if(l.remove(),"SVG"!==a)return MathJax.Hub.setRenderer(a)}),(function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(o)}))}(M[2],o,(function(n,i,o){L.selectAll("svg."+C).remove(),L.selectAll("g."+C+"-group").remove();var s=n&&n.select("svg");if(!s||!s.node())return P(),void e();var l=L.append("g").classed(C+"-group",!0).attr({"pointer-events":"none","data-unformatted":A,"data-math":"Y"});l.node().appendChild(s.node()),i&&i.node()&&s.node().insertBefore(i.node().cloneNode(!0),s.node().firstChild);var c=o.width,u=o.height;s.attr({class:C,height:u,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var f=t.node().style.fill||"black",h=s.select("g");h.attr({fill:f,stroke:f});var p=h.node().getBoundingClientRect(),g=p.width,m=p.height;(g>c||m>u)&&(s.style("overflow","hidden"),g=(p=s.node().getBoundingClientRect()).width,m=p.height);var v=+t.attr("x"),y=+t.attr("y"),x=-(r||t.node().getBoundingClientRect().height)/4;if("y"===C[0])l.attr({transform:"rotate("+[-90,v,y]+")"+a(-g/2,x-m/2)});else if("l"===C[0])y=x-m/2;else if("a"===C[0]&&0!==C.indexOf("atitle"))v=0,y=x;else{var b=t.attr("text-anchor");v-=g*("middle"===b?.5:"end"===b?1:0),y=y+x-m/2}s.attr({x:v,y:y}),d&&d.call(t,l),e(l)}))}))):P(),t}function P(){L.empty()||(C=t.attr("class")+"-math",L.select("svg."+C).remove()),t.text("").style("white-space","pre"),function(t,e){e=e.replace(g," ");var r,a=!1,l=[],c=-1;function u(){c++;var e=document.createElementNS(o.svg,"tspan");n.select(e).attr({class:"line",dy:c*s+"em"}),t.appendChild(e),r=e;var i=l;if(l=[{node:e}],i.length>1)for(var a=1;a<i.length;a++)d(i[a])}function d(t){var e,i=t.type,a={};if("a"===i){e="a";var s=t.target,c=t.href,u=t.popup;c&&(a={"xlink:xlink:show":"_blank"===s||"_"!==s.charAt(0)?"new":"replace",target:s,"xlink:xlink:href":c},u&&(a.onclick='window.open(this.href.baseVal,this.target.baseVal,"'+u+'");return false;'))}else e="tspan";t.style&&(a.style=t.style);var f=document.createElementNS(o.svg,e);if("sup"===i||"sub"===i){A(r,"\u200b"),r.appendChild(f);var d=document.createElementNS(o.svg,"tspan");A(d,"\u200b"),n.select(d).attr("dy",p[i]),a.dy=h[i],r.appendChild(f),r.appendChild(d)}else r.appendChild(f);n.select(f).attr(a),r=t.node=f,l.push(t)}function A(t,e){t.appendChild(document.createTextNode(e))}function M(t){if(1!==l.length){var n=l.pop();t!==n.type&&i.log("Start tag <"+n.type+"> doesnt match end tag <"+t+">. Pretending it did match.",e),r=l[l.length-1].node}else i.log("Ignoring unexpected end tag </"+t+">.",e)}y.test(e)?u():(r=t,l=[{node:t}]);for(var L=e.split(m),C=0;C<L.length;C++){var P=L[C],I=P.match(v),O=I&&I[2].toLowerCase(),z=f[O];if("br"===O)u();else if(void 0===z)A(r,S(P));else if(I[1])M(O);else{var D=I[4],R={type:O},F=T(D,x);if(F?(F=F.replace(k,"$1 fill:"),z&&(F+=";"+z)):z&&(F=z),F&&(R.style=F),"a"===O){a=!0;var B=T(D,b);if(B){var N=E(B);N&&(R.href=N,R.target=T(D,_)||"_blank",R.popup=T(D,w))}}d(R)}}return a}(t.node(),A)&&t.style("pointer-events","all"),r.positionText(t),d&&d.call(t)}};var c=/(<|&lt;|&#60;)/g,u=/(>|&gt;|&#62;)/g;var f={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},h={sub:"0.3em",sup:"-0.6em"},p={sub:"-0.21em",sup:"0.42em"},d=["http:","https:","mailto:","",void 0,":"],g=r.NEWLINES=/(\r\n?|\n)/g,m=/(<[^<>]*>)/,v=/<(\/?)([^ >]*)(\s+(.*))?>/i,y=/<br(\s+.*)?>/i;r.BR_TAG_ALL=/<br(\s+.*)?>/gi;var x=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,b=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,_=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,w=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function T(t,e){if(!t)return null;var r=t.match(e),n=r&&(r[3]||r[4]);return n&&S(n)}var k=/(^|;)\s*color:/;r.plainText=function(t,e){for(var r=void 0!==(e=e||{}).len&&-1!==e.len?e.len:1/0,n=void 0!==e.allowedTags?e.allowedTags:["br"],i="...".length,a=t.split(m),o=[],s="",l=0,c=0;c<a.length;c++){var u=a[c],f=u.match(v),h=f&&f[2].toLowerCase();if(h)-1!==n.indexOf(h)&&(o.push(u),s=h);else{var p=u.length;if(l+p<r)o.push(u),l+=p;else if(l<r){var d=r-l;s&&("br"!==s||d<=i||p<=i)&&o.pop(),r>i?o.push(u.substr(0,d-i)+"..."):o.push(u.substr(0,d));break}s=""}}return o.join("")};var A={mu:"\u03bc",amp:"&",lt:"<",gt:">",nbsp:"\xa0",times:"\xd7",plusmn:"\xb1",deg:"\xb0"},M=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function S(t){return t.replace(M,(function(t,e){return("#"===e.charAt(0)?function(t){if(t>1114111)return;var e=String.fromCodePoint;if(e)return e(t);var r=String.fromCharCode;return t<=65535?r(t):r(55232+(t>>10),t%1024+56320)}("x"===e.charAt(1)?parseInt(e.substr(2),16):parseInt(e.substr(1),10)):A[e])||t}))}function E(t){var e=encodeURI(decodeURI(t)),r=document.createElement("a"),n=document.createElement("a");r.href=t,n.href=e;var i=r.protocol,a=n.protocol;return-1!==d.indexOf(i)&&-1!==d.indexOf(a)?e:""}function L(t,e,r){var n,a,o,s=r.horizontalAlign,l=r.verticalAlign||"top",c=t.node().getBoundingClientRect(),u=e.node().getBoundingClientRect();return a="bottom"===l?function(){return c.bottom-n.height}:"middle"===l?function(){return c.top+(c.height-n.height)/2}:function(){return c.top},o="right"===s?function(){return c.right-n.width}:"center"===s?function(){return c.left+(c.width-n.width)/2}:function(){return c.left},function(){n=this.node().getBoundingClientRect();var t=o()-u.left,e=a()-u.top,s=r.gd||{};if(r.gd){s._fullLayout._calcInverseTransform(s);var l=i.apply3DTransform(s._fullLayout._invTransform)(t,e);t=l[0],e=l[1]}return this.style({top:e+"px",left:t+"px","z-index":1e3}),this}}r.convertEntities=S,r.sanitizeHTML=function(t){t=t.replace(g," ");for(var e=document.createElement("p"),r=e,i=[],a=t.split(m),o=0;o<a.length;o++){var s=a[o],l=s.match(v),c=l&&l[2].toLowerCase();if(c in f)if(l[1])i.length&&(r=i.pop());else{var u=l[4],h=T(u,x),p=h?{style:h}:{};if("a"===c){var d=T(u,b);if(d){var y=E(d);if(y){p.href=y;var w=T(u,_);w&&(p.target=w)}}}var k=document.createElement(c);r.appendChild(k),n.select(k).attr(p),r=k,i.push(k)}else r.appendChild(document.createTextNode(S(s)))}return e.innerHTML},r.lineCount=function(t){return t.selectAll("tspan.line").size()||1},r.positionText=function(t,e,r){return t.each((function(){var t=n.select(this);function i(e,r){return void 0===r?null===(r=t.attr(e))&&(t.attr(e,0),r=0):t.attr(e,r),r}var a=i("x",e),o=i("y",r);"text"===this.nodeName&&t.selectAll("tspan.line").attr({x:a,y:o})}))};r.makeTextShadow=function(t){var e="1px ",r="1px ",n="1px ";return e+r+n+t+", -"+e+"-"+r+n+t+", "+e+"-"+r+n+t+", -"+e+r+n+t},r.makeEditable=function(t,e){var r=e.gd,i=e.delegate,a=n.dispatch("edit","input","cancel"),o=i||t;if(t.style({"pointer-events":i?"none":"all"}),1!==t.size())throw new Error("boo");function s(){!function(){var i=n.select(r).select(".svg-container"),o=i.append("div"),s=t.node().style,c=parseFloat(s.fontSize||12),u=e.text;void 0===u&&(u=t.attr("data-unformatted"));o.classed("plugin-editable editable",!0).style({position:"absolute","font-family":s.fontFamily||"Arial","font-size":c,color:e.fill||s.fill||"black",opacity:1,"background-color":e.background||"transparent",outline:"#ffffff33 1px solid",margin:[-c/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(u).call(L(t,i,e)).on("blur",(function(){r._editing=!1,t.text(this.textContent).style({opacity:1});var e,i=n.select(this).attr("class");(e=i?"."+i.split(" ")[0]+"-math-group":"[class*=-math-group]")&&n.select(t.node().parentNode).select(e).style({opacity:0});var o=this.textContent;n.select(this).transition().duration(0).remove(),n.select(document).on("mouseup",null),a.edit.call(t,o)})).on("focus",(function(){var t=this;r._editing=!0,n.select(document).on("mouseup",(function(){if(n.event.target===t)return!1;document.activeElement===o.node()&&o.node().blur()}))})).on("keyup",(function(){27===n.event.which?(r._editing=!1,t.style({opacity:1}),n.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(t,this.textContent)):(a.input.call(t,this.textContent),n.select(this).call(L(t,i,e)))})).on("keydown",(function(){13===n.event.which&&this.blur()})).call(l)}(),t.style({opacity:0});var i,s=o.attr("class");(i=s?"."+s.split(" ")[0]+"-math-group":"[class*=-math-group]")&&n.select(t.node().parentNode).select(i).style({opacity:0})}function l(t){var e=t.node(),r=document.createRange();r.selectNodeContents(e);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),e.focus()}return e.immediate?s():o.on("click",s),n.rebind(t,a,"on")}},{"../constants/alignment":471,"../constants/xmlns_namespaces":480,"../lib":503,"@plotly/d3":58}],530:[function(t,e,r){"use strict";var n={};function i(t){t&&null!==t.timer&&(clearTimeout(t.timer),t.timer=null)}r.throttle=function(t,e,r){var a=n[t],o=Date.now();if(!a){for(var s in n)n[s].ts<o-6e4&&delete n[s];a=n[t]={ts:0,timer:null}}function l(){r(),a.ts=Date.now(),a.onDone&&(a.onDone(),a.onDone=null)}i(a),o>a.ts+e?l():a.timer=setTimeout((function(){l(),a.timer=null}),e)},r.done=function(t){var e=n[t];return e&&e.timer?new Promise((function(t){var r=e.onDone;e.onDone=function(){r&&r(),t(),e.onDone=null}})):Promise.resolve()},r.clear=function(t){if(t)i(n[t]),delete n[t];else for(var e in n)r.clear(e)}},{}],531:[function(t,e,r){"use strict";var n=t("fast-isnumeric");e.exports=function(t,e){if(t>0)return Math.log(t)/Math.LN10;var r=Math.log(Math.min(e[0],e[1]))/Math.LN10;return n(r)||(r=Math.log(Math.max(e[0],e[1]))/Math.LN10-6),r}},{"fast-isnumeric":190}],532:[function(t,e,r){"use strict";var n=e.exports={},i=t("../plots/geo/constants").locationmodeToLayer,a=t("topojson-client").feature;n.getTopojsonName=function(t){return[t.scope.replace(/ /g,"-"),"_",t.resolution.toString(),"m"].join("")},n.getTopojsonPath=function(t,e){return t+e+".json"},n.getTopojsonFeatures=function(t,e){var r=i[t.locationmode],n=e.objects[r];return a(e,n).features}},{"../plots/geo/constants":587,"topojson-client":315}],533:[function(t,e,r){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},{}],534:[function(t,e,r){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},{}],535:[function(t,e,r){"use strict";var n=t("../registry");e.exports=function(t){for(var e,r,i=n.layoutArrayContainers,a=n.layoutArrayRegexes,o=t.split("[")[0],s=0;s<a.length;s++)if((r=t.match(a[s]))&&0===r.index){e=r[0];break}if(e||(e=i[i.indexOf(o)]),!e)return!1;var l=t.substr(e.length);return l?!!(r=l.match(/^\[(0|[1-9][0-9]*)\](\.(.+))?$/))&&{array:e,index:Number(r[1]),property:r[3]||""}:{array:e,index:"",property:""}}},{"../registry":638}],536:[function(t,e,r){"use strict";var n=t("../lib"),i=n.extendFlat,a=n.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},s={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},l=o.flags.slice().concat(["fullReplot"]),c=s.flags.slice().concat("layoutReplot");function u(t){for(var e={},r=0;r<t.length;r++)e[t[r]]=!1;return e}function f(t,e,r){var n=i({},t);for(var o in n){var s=n[o];a(s)&&(n[o]=h(s,e,r,o))}return"from-root"===r&&(n.editType=e),n}function h(t,e,r,n){if(t.valType){var a=i({},t);if(a.editType=e,Array.isArray(t.items)){a.items=new Array(t.items.length);for(var o=0;o<t.items.length;o++)a.items[o]=h(t.items[o],e,"from-root")}return a}return f(t,e,"_"===n.charAt(0)?"nested":"from-root")}e.exports={traces:o,layout:s,traceFlags:function(){return u(l)},layoutFlags:function(){return u(c)},update:function(t,e){var r=e.editType;if(r&&"none"!==r)for(var n=r.split("+"),i=0;i<n.length;i++)t[n[i]]=!0},overrideAll:f}},{"../lib":503}],537:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("gl-mat4/fromQuat"),a=t("../registry"),o=t("../lib"),s=t("../plots/plots"),l=t("../plots/cartesian/axis_ids"),c=t("../components/color"),u=l.cleanId,f=l.getFromTrace,h=a.traceIs;function p(t,e){var r=t[e],n=e.charAt(0);r&&"paper"!==r&&(t[e]=u(r,n,!0))}function d(t){function e(e,r){var n=t[e],i=t.title&&t.title[r];n&&!i&&(t.title||(t.title={}),t.title[r]=t[e],delete t[e])}t&&("string"!=typeof t.title&&"number"!=typeof t.title||(t.title={text:t.title}),e("titlefont","font"),e("titleposition","position"),e("titleside","side"),e("titleoffset","offset"))}function g(t){if(!o.isPlainObject(t))return!1;var e=t.name;return delete t.name,delete t.showlegend,("string"==typeof e||"number"==typeof e)&&String(e)}function m(t,e,r,n){if(r&&!n)return t;if(n&&!r)return e;if(!t.trim())return e;if(!e.trim())return t;var i,a=Math.min(t.length,e.length);for(i=0;i<a&&t.charAt(i)===e.charAt(i);i++);return t.substr(0,i).trim()}function v(t){var e="middle",r="center";return"string"==typeof t&&(-1!==t.indexOf("top")?e="top":-1!==t.indexOf("bottom")&&(e="bottom"),-1!==t.indexOf("left")?r="left":-1!==t.indexOf("right")&&(r="right")),e+" "+r}function y(t,e){return e in t&&"object"==typeof t[e]&&0===Object.keys(t[e]).length}r.clearPromiseQueue=function(t){Array.isArray(t._promises)&&t._promises.length>0&&o.log("Clearing previous rejected promises from queue."),t._promises=[]},r.cleanLayout=function(t){var e,n;t||(t={}),t.xaxis1&&(t.xaxis||(t.xaxis=t.xaxis1),delete t.xaxis1),t.yaxis1&&(t.yaxis||(t.yaxis=t.yaxis1),delete t.yaxis1),t.scene1&&(t.scene||(t.scene=t.scene1),delete t.scene1);var a=(s.subplotsRegistry.cartesian||{}).attrRegex,l=(s.subplotsRegistry.polar||{}).attrRegex,f=(s.subplotsRegistry.ternary||{}).attrRegex,h=(s.subplotsRegistry.gl3d||{}).attrRegex,g=Object.keys(t);for(e=0;e<g.length;e++){var m=g[e];if(a&&a.test(m)){var v=t[m];v.anchor&&"free"!==v.anchor&&(v.anchor=u(v.anchor)),v.overlaying&&(v.overlaying=u(v.overlaying)),v.type||(v.isdate?v.type="date":v.islog?v.type="log":!1===v.isdate&&!1===v.islog&&(v.type="linear")),"withzero"!==v.autorange&&"tozero"!==v.autorange||(v.autorange=!0,v.rangemode="tozero"),delete v.islog,delete v.isdate,delete v.categories,y(v,"domain")&&delete v.domain,void 0!==v.autotick&&(void 0===v.tickmode&&(v.tickmode=v.autotick?"auto":"linear"),delete v.autotick),d(v)}else if(l&&l.test(m)){d(t[m].radialaxis)}else if(f&&f.test(m)){var x=t[m];d(x.aaxis),d(x.baxis),d(x.caxis)}else if(h&&h.test(m)){var b=t[m],_=b.cameraposition;if(Array.isArray(_)&&4===_[0].length){var w=_[0],T=_[1],k=_[2],A=i([],w),M=[];for(n=0;n<3;++n)M[n]=T[n]+k*A[2+4*n];b.camera={eye:{x:M[0],y:M[1],z:M[2]},center:{x:T[0],y:T[1],z:T[2]},up:{x:0,y:0,z:1}},delete b.cameraposition}d(b.xaxis),d(b.yaxis),d(b.zaxis)}}var S=Array.isArray(t.annotations)?t.annotations.length:0;for(e=0;e<S;e++){var E=t.annotations[e];o.isPlainObject(E)&&(E.ref&&("paper"===E.ref?(E.xref="paper",E.yref="paper"):"data"===E.ref&&(E.xref="x",E.yref="y"),delete E.ref),p(E,"xref"),p(E,"yref"))}var L=Array.isArray(t.shapes)?t.shapes.length:0;for(e=0;e<L;e++){var C=t.shapes[e];o.isPlainObject(C)&&(p(C,"xref"),p(C,"yref"))}var P=Array.isArray(t.images)?t.images.length:0;for(e=0;e<P;e++){var I=t.images[e];o.isPlainObject(I)&&(p(I,"xref"),p(I,"yref"))}var O=t.legend;return O&&(O.x>3?(O.x=1.02,O.xanchor="left"):O.x<-2&&(O.x=-.02,O.xanchor="right"),O.y>3?(O.y=1.02,O.yanchor="bottom"):O.y<-2&&(O.y=-.02,O.yanchor="top")),d(t),"rotate"===t.dragmode&&(t.dragmode="orbit"),c.clean(t),t.template&&t.template.layout&&r.cleanLayout(t.template.layout),t},r.cleanData=function(t){for(var e=0;e<t.length;e++){var n,i=t[e];if("histogramy"===i.type&&"xbins"in i&&!("ybins"in i)&&(i.ybins=i.xbins,delete i.xbins),i.error_y&&"opacity"in i.error_y){var l=c.defaults,f=i.error_y.color||(h(i,"bar")?c.defaultLine:l[e%l.length]);i.error_y.color=c.addOpacity(c.rgb(f),c.opacity(f)*i.error_y.opacity),delete i.error_y.opacity}if("bardir"in i&&("h"!==i.bardir||!h(i,"bar")&&"histogram"!==i.type.substr(0,9)||(i.orientation="h",r.swapXYData(i)),delete i.bardir),"histogramy"===i.type&&r.swapXYData(i),"histogramx"!==i.type&&"histogramy"!==i.type||(i.type="histogram"),"scl"in i&&!("colorscale"in i)&&(i.colorscale=i.scl,delete i.scl),"reversescl"in i&&!("reversescale"in i)&&(i.reversescale=i.reversescl,delete i.reversescl),i.xaxis&&(i.xaxis=u(i.xaxis,"x")),i.yaxis&&(i.yaxis=u(i.yaxis,"y")),h(i,"gl3d")&&i.scene&&(i.scene=s.subplotsRegistry.gl3d.cleanId(i.scene)),!h(i,"pie-like")&&!h(i,"bar-like"))if(Array.isArray(i.textposition))for(n=0;n<i.textposition.length;n++)i.textposition[n]=v(i.textposition[n]);else i.textposition&&(i.textposition=v(i.textposition));var p=a.getModule(i);if(p&&p.colorbar){var x=p.colorbar.container,b=x?i[x]:i;b&&b.colorscale&&("YIGnBu"===b.colorscale&&(b.colorscale="YlGnBu"),"YIOrRd"===b.colorscale&&(b.colorscale="YlOrRd"))}if("surface"===i.type&&o.isPlainObject(i.contours)){var _=["x","y","z"];for(n=0;n<_.length;n++){var w=i.contours[_[n]];o.isPlainObject(w)&&(w.highlightColor&&(w.highlightcolor=w.highlightColor,delete w.highlightColor),w.highlightWidth&&(w.highlightwidth=w.highlightWidth,delete w.highlightWidth))}}if("candlestick"===i.type||"ohlc"===i.type){var T=!1!==(i.increasing||{}).showlegend,k=!1!==(i.decreasing||{}).showlegend,A=g(i.increasing),M=g(i.decreasing);if(!1!==A&&!1!==M){var S=m(A,M,T,k);S&&(i.name=S)}else!A&&!M||i.name||(i.name=A||M)}if(Array.isArray(i.transforms)){var E=i.transforms;for(n=0;n<E.length;n++){var L=E[n];if(o.isPlainObject(L))switch(L.type){case"filter":L.filtersrc&&(L.target=L.filtersrc,delete L.filtersrc),L.calendar&&(L.valuecalendar||(L.valuecalendar=L.calendar),delete L.calendar);break;case"groupby":if(L.styles=L.styles||L.style,L.styles&&!Array.isArray(L.styles)){var C=L.styles,P=Object.keys(C);L.styles=[];for(var I=0;I<P.length;I++)L.styles.push({target:P[I],value:C[P[I]]})}}}}y(i,"line")&&delete i.line,"marker"in i&&(y(i.marker,"line")&&delete i.marker.line,y(i,"marker")&&delete i.marker),c.clean(i),i.autobinx&&(delete i.autobinx,delete i.xbins),i.autobiny&&(delete i.autobiny,delete i.ybins),d(i),i.colorbar&&d(i.colorbar),i.marker&&i.marker.colorbar&&d(i.marker.colorbar),i.line&&i.line.colorbar&&d(i.line.colorbar),i.aaxis&&d(i.aaxis),i.baxis&&d(i.baxis)}},r.swapXYData=function(t){var e;if(o.swapAttrs(t,["?","?0","d?","?bins","nbins?","autobin?","?src","error_?"]),Array.isArray(t.z)&&Array.isArray(t.z[0])&&(t.transpose?delete t.transpose:t.transpose=!0),t.error_x&&t.error_y){var r=t.error_y,n="copy_ystyle"in r?r.copy_ystyle:!(r.color||r.thickness||r.width);o.swapAttrs(t,["error_?.copy_ystyle"]),n&&o.swapAttrs(t,["error_?.color","error_?.thickness","error_?.width"])}if("string"==typeof t.hoverinfo){var i=t.hoverinfo.split("+");for(e=0;e<i.length;e++)"x"===i[e]?i[e]="y":"y"===i[e]&&(i[e]="x");t.hoverinfo=i.join("+")}},r.coerceTraceIndices=function(t,e){if(n(e))return[e];if(!Array.isArray(e)||!e.length)return t.data.map((function(t,e){return e}));if(Array.isArray(e)){for(var r=[],i=0;i<e.length;i++)o.isIndex(e[i],t.data.length)?r.push(e[i]):o.warn("trace index (",e[i],") is not a number or is out of bounds");return r}return e},r.manageArrayContainers=function(t,e,r){var i=t.obj,a=t.parts,s=a.length,l=a[s-1],c=n(l);if(c&&null===e){var u=a.slice(0,s-1).join(".");o.nestedProperty(i,u).get().splice(l,1)}else c&&void 0===t.get()?(void 0===t.get()&&(r[t.astr]=null),t.set(e)):t.set(e)};var x=/(\.[^\[\]\.]+|\[[^\[\]\.]+\])$/;function b(t){var e=t.search(x);if(e>0)return t.substr(0,e)}r.hasParent=function(t,e){for(var r=b(e);r;){if(r in t)return!0;r=b(r)}return!1};var _=["x","y","z"];r.clearAxisTypes=function(t,e,r){for(var n=0;n<e.length;n++)for(var i=t._fullData[n],a=0;a<3;a++){var s=f(t,i,_[a]);if(s&&"log"!==s.type){var l=s._name,c=s._id.substr(1);if("scene"===c.substr(0,5)){if(void 0!==r[c])continue;l=c+"."+l}var u=l+".type";void 0===r[l]&&void 0===r[u]&&o.nestedProperty(t.layout,u).set(null)}}}},{"../components/color":366,"../lib":503,"../plots/cartesian/axis_ids":558,"../plots/plots":619,"../registry":638,"fast-isnumeric":190,"gl-mat4/fromQuat":200}],538:[function(t,e,r){"use strict";var n=t("./plot_api");r._doPlot=n._doPlot,r.newPlot=n.newPlot,r.restyle=n.restyle,r.relayout=n.relayout,r.redraw=n.redraw,r.update=n.update,r._guiRestyle=n._guiRestyle,r._guiRelayout=n._guiRelayout,r._guiUpdate=n._guiUpdate,r._storeDirectGUIEdit=n._storeDirectGUIEdit,r.react=n.react,r.extendTraces=n.extendTraces,r.prependTraces=n.prependTraces,r.addTraces=n.addTraces,r.deleteTraces=n.deleteTraces,r.moveTraces=n.moveTraces,r.purge=n.purge,r.addFrames=n.addFrames,r.deleteFrames=n.deleteFrames,r.animate=n.animate,r.setPlotConfig=n.setPlotConfig,r.toImage=t("./to_image"),r.validate=t("./validate"),r.downloadImage=t("../snapshot/download");var i=t("./template_api");r.makeTemplate=i.makeTemplate,r.validateTemplate=i.validateTemplate},{"../snapshot/download":640,"./plot_api":540,"./template_api":545,"./to_image":546,"./validate":547}],539:[function(t,e,r){"use strict";var n=t("../lib/is_plain_object"),i=t("../lib/noop"),a=t("../lib/loggers"),o=t("../lib/search").sorterAsc,s=t("../registry");r.containerArrayMatch=t("./container_array_match");var l=r.isAddVal=function(t){return"add"===t||n(t)},c=r.isRemoveVal=function(t){return null===t||"remove"===t};r.applyContainerArrayChanges=function(t,e,r,n,u){var f=e.astr,h=s.getComponentMethod(f,"supplyLayoutDefaults"),p=s.getComponentMethod(f,"draw"),d=s.getComponentMethod(f,"drawOne"),g=n.replot||n.recalc||h===i||p===i,m=t.layout,v=t._fullLayout;if(r[""]){Object.keys(r).length>1&&a.warn("Full array edits are incompatible with other edits",f);var y=r[""][""];if(c(y))e.set(null);else{if(!Array.isArray(y))return a.warn("Unrecognized full array edit value",f,y),!0;e.set(y)}return!g&&(h(m,v),p(t),!0)}var x,b,_,w,T,k,A,M,S=Object.keys(r).map(Number).sort(o),E=e.get(),L=E||[],C=u(v,f).get(),P=[],I=-1,O=L.length;for(x=0;x<S.length;x++)if(w=r[_=S[x]],T=Object.keys(w),k=w[""],A=l(k),_<0||_>L.length-(A?0:1))a.warn("index out of range",f,_);else if(void 0!==k)T.length>1&&a.warn("Insertion & removal are incompatible with edits to the same index.",f,_),c(k)?P.push(_):A?("add"===k&&(k={}),L.splice(_,0,k),C&&C.splice(_,0,{})):a.warn("Unrecognized full object edit value",f,_,k),-1===I&&(I=_);else for(b=0;b<T.length;b++)M=f+"["+_+"].",u(L[_],T[b],M).set(w[T[b]]);for(x=P.length-1;x>=0;x--)L.splice(P[x],1),C&&C.splice(P[x],1);if(L.length?E||e.set(L):e.set(null),g)return!1;if(h(m,v),d!==i){var z;if(-1===I)z=S;else{for(O=Math.max(L.length,O),z=[],x=0;x<S.length&&!((_=S[x])>=I);x++)z.push(_);for(x=I;x<O;x++)z.push(x)}for(x=0;x<z.length;x++)d(t,z[x])}else p(t);return!0}},{"../lib/is_plain_object":504,"../lib/loggers":507,"../lib/noop":512,"../lib/search":523,"../registry":638,"./container_array_match":535}],540:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("has-hover"),o=t("../lib"),s=o.nestedProperty,l=t("../lib/events"),c=t("../lib/queue"),u=t("../registry"),f=t("./plot_schema"),h=t("../plots/plots"),p=t("../plots/cartesian/axes"),d=t("../components/drawing"),g=t("../components/color"),m=t("../plots/cartesian/graph_interact").initInteractions,v=t("../constants/xmlns_namespaces"),y=t("../plots/cartesian/select").clearSelect,x=t("./plot_config").dfltConfig,b=t("./manage_arrays"),_=t("./helpers"),w=t("./subroutines"),T=t("./edit_types"),k=t("../plots/cartesian/constants").AX_NAME_PATTERN,A=0;function M(t){var e=t._fullLayout;e._redrawFromAutoMarginCount?e._redrawFromAutoMarginCount--:t.emit("plotly_afterplot")}function S(t,e){try{t._fullLayout._paper.style("background",e)}catch(t){o.error(t)}}function E(t,e){S(t,g.combine(e,"white"))}function L(t,e){if(!t._context){t._context=o.extendDeep({},x);var r=n.select("base");t._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var i,s,l,c=t._context;if(e){for(s=Object.keys(e),i=0;i<s.length;i++)"editable"!==(l=s[i])&&"edits"!==l&&l in c&&("setBackground"===l&&"opaque"===e[l]?c[l]=E:c[l]=e[l]);e.plot3dPixelRatio&&!c.plotGlPixelRatio&&(c.plotGlPixelRatio=c.plot3dPixelRatio);var u=e.editable;if(void 0!==u)for(c.editable=u,s=Object.keys(c.edits),i=0;i<s.length;i++)c.edits[s[i]]=u;if(e.edits)for(s=Object.keys(e.edits),i=0;i<s.length;i++)(l=s[i])in c.edits&&(c.edits[l]=e.edits[l]);c._exportedPlot=e._exportedPlot}c.staticPlot&&(c.editable=!1,c.edits={},c.autosizable=!1,c.scrollZoom=!1,c.doubleClick=!1,c.showTips=!1,c.showLink=!1,c.displayModeBar=!1),"hover"!==c.displayModeBar||a||(c.displayModeBar=!0),"transparent"!==c.setBackground&&"function"==typeof c.setBackground||(c.setBackground=S),c._hasZeroHeight=c._hasZeroHeight||0===t.clientHeight,c._hasZeroWidth=c._hasZeroWidth||0===t.clientWidth;var f=c.scrollZoom,h=c._scrollZoom={};if(!0===f)h.cartesian=1,h.gl3d=1,h.geo=1,h.mapbox=1;else if("string"==typeof f){var p=f.split("+");for(i=0;i<p.length;i++)h[p[i]]=1}else!1!==f&&(h.gl3d=1,h.geo=1,h.mapbox=1)}function C(t,e){var r,n,i=e+1,a=[];for(r=0;r<t.length;r++)(n=t[r])<0?a.push(i+n):a.push(n);return a}function P(t,e,r){var n,i;for(n=0;n<e.length;n++){if((i=e[n])!==parseInt(i,10))throw new Error("all values in "+r+" must be integers");if(i>=t.data.length||i<-t.data.length)throw new Error(r+" must be valid indices for gd.data.");if(e.indexOf(i,n+1)>-1||i>=0&&e.indexOf(-t.data.length+i)>-1||i<0&&e.indexOf(t.data.length+i)>-1)throw new Error("each index in "+r+" must be unique.")}}function I(t,e,r){if(!Array.isArray(t.data))throw new Error("gd.data must be an array.");if(void 0===e)throw new Error("currentIndices is a required argument.");if(Array.isArray(e)||(e=[e]),P(t,e,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&P(t,r,"newIndices"),void 0!==r&&e.length!==r.length)throw new Error("current and new indices must be of equal length.")}function O(t,e,r,n,a){!function(t,e,r,n){var i=o.isPlainObject(n);if(!Array.isArray(t.data))throw new Error("gd.data must be an array");if(!o.isPlainObject(e))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var a in P(t,r,"indices"),e){if(!Array.isArray(e[a])||e[a].length!==r.length)throw new Error("attribute "+a+" must be an array of length equal to indices array length");if(i&&(!(a in n)||!Array.isArray(n[a])||n[a].length!==e[a].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(t,e,r,n);for(var l=function(t,e,r,n){var a,l,c,u,f,h=o.isPlainObject(n),p=[];for(var d in Array.isArray(r)||(r=[r]),r=C(r,t.data.length-1),e)for(var g=0;g<r.length;g++){if(a=t.data[r[g]],l=(c=s(a,d)).get(),u=e[d][g],!o.isArrayOrTypedArray(u))throw new Error("attribute: "+d+" index: "+g+" must be an array");if(!o.isArrayOrTypedArray(l))throw new Error("cannot extend missing or non-array attribute: "+d);if(l.constructor!==u.constructor)throw new Error("cannot extend array with an array of a different type: "+d);f=h?n[d][g]:n,i(f)||(f=-1),p.push({prop:c,target:l,insert:u,maxp:Math.floor(f)})}return p}(t,e,r,n),c={},u={},f=0;f<l.length;f++){var h=l[f].prop,p=l[f].maxp,d=a(l[f].target,l[f].insert,p);h.set(d[0]),Array.isArray(c[h.astr])||(c[h.astr]=[]),c[h.astr].push(d[1]),Array.isArray(u[h.astr])||(u[h.astr]=[]),u[h.astr].push(l[f].target.length)}return{update:c,maxPoints:u}}function z(t,e){var r=new t.constructor(t.length+e.length);return r.set(t),r.set(e,t.length),r}function D(t,e,n,i){t=o.getGraphDiv(t),_.clearPromiseQueue(t);var a={};if("string"==typeof e)a[e]=n;else{if(!o.isPlainObject(e))return o.warn("Restyle fail.",e,n,i),Promise.reject();a=o.extendFlat({},e),void 0===i&&(i=n)}Object.keys(a).length&&(t.changed=!0);var s=_.coerceTraceIndices(t,i),l=N(t,a,s),u=l.flags;u.calc&&(t.calcdata=void 0),u.clearAxisTypes&&_.clearAxisTypes(t,s,{});var f=[];u.fullReplot?f.push(r._doPlot):(f.push(h.previousPromises),h.supplyDefaults(t),u.markerSize&&(h.doCalcdata(t),H(f)),u.style&&f.push(w.doTraceStyle),u.colorbars&&f.push(w.doColorBars),f.push(M)),f.push(h.rehover,h.redrag),c.add(t,D,[t,l.undoit,l.traces],D,[t,l.redoit,l.traces]);var p=o.syncOrAsync(f,t);return p&&p.then||(p=Promise.resolve()),p.then((function(){return t.emit("plotly_restyle",l.eventData),t}))}function R(t){return void 0===t?null:t}function F(t,e){return e?function(e,r,n){var i=s(e,r),a=i.set;return i.set=function(e){B((n||"")+r,i.get(),e,t),a(e)},i}:s}function B(t,e,r,n){if(Array.isArray(e)||Array.isArray(r))for(var i=Array.isArray(e)?e:[],a=Array.isArray(r)?r:[],s=Math.max(i.length,a.length),l=0;l<s;l++)B(t+"["+l+"]",i[l],a[l],n);else if(o.isPlainObject(e)||o.isPlainObject(r)){var c=o.isPlainObject(e)?e:{},u=o.isPlainObject(r)?r:{},f=o.extendFlat({},c,u);for(var h in f)B(t+"."+h,c[h],u[h],n)}else void 0===n[t]&&(n[t]=R(e))}function N(t,e,r){var n,i=t._fullLayout,a=t._fullData,l=t.data,c=i._guiEditing,d=F(i._preGUI,c),g=o.extendDeepAll({},e);j(e);var m,v=T.traceFlags(),y={},x={};function b(){return r.map((function(){}))}function w(t){var e=p.id2name(t);-1===m.indexOf(e)&&m.push(e)}function k(t){return"LAYOUT"+t+".autorange"}function A(t){return"LAYOUT"+t+".range"}function M(t){for(var e=t;e<a.length;e++)if(a[e]._input===l[t])return a[e]}function S(n,a,o){if(Array.isArray(n))n.forEach((function(t){S(t,a,o)}));else if(!(n in e)&&!_.hasParent(e,n)){var s;if("LAYOUT"===n.substr(0,6))s=d(t.layout,n.replace("LAYOUT",""));else{var u=r[o];s=F(i._tracePreGUI[M(u)._fullInput.uid],c)(l[u],n)}n in x||(x[n]=b()),void 0===x[n][o]&&(x[n][o]=R(s.get())),void 0!==a&&s.set(a)}}function E(t){return function(e){return a[e][t]}}function L(t){return function(e,n){return!1===e?a[r[n]][t]:null}}for(var C in e){if(_.hasParent(e,C))throw new Error("cannot set "+C+" and a parent attribute simultaneously");var P,I,O,z,D,B,N=e[C];if("autobinx"!==C&&"autobiny"!==C||(C=C.charAt(C.length-1)+"bins",N=Array.isArray(N)?N.map(L(C)):!1===N?r.map(E(C)):null),y[C]=N,"LAYOUT"!==C.substr(0,6)){for(x[C]=b(),n=0;n<r.length;n++){if(P=l[r[n]],I=M(r[n]),z=(O=F(i._tracePreGUI[I._fullInput.uid],c)(P,C)).get(),void 0!==(D=Array.isArray(N)?N[n%N.length]:N)){var U=O.parts[O.parts.length-1],V=C.substr(0,C.length-U.length-1),H=V?V+".":"",q=V?s(I,V).get():I;if((B=f.getTraceValObject(I,O.parts))&&B.impliedEdits&&null!==D)for(var G in B.impliedEdits)S(o.relativeAttr(C,G),B.impliedEdits[G],n);else if("thicknessmode"!==U&&"lenmode"!==U||z===D||"fraction"!==D&&"pixels"!==D||!q){if("type"===C&&("pie"===D!=("pie"===z)||"funnelarea"===D!=("funnelarea"===z))){var Y="x",W="y";"bar"!==D&&"bar"!==z||"h"!==P.orientation||(Y="y",W="x"),o.swapAttrs(P,["?","?src"],"labels",Y),o.swapAttrs(P,["d?","?0"],"label",Y),o.swapAttrs(P,["?","?src"],"values",W),"pie"===z||"funnelarea"===z?(s(P,"marker.color").set(s(P,"marker.colors").get()),i._pielayer.selectAll("g.trace").remove()):u.traceIs(P,"cartesian")&&s(P,"marker.colors").set(s(P,"marker.color").get())}}else{var X=i._size,Z=q.orient,J="top"===Z||"bottom"===Z;if("thicknessmode"===U){var K=J?X.h:X.w;S(H+"thickness",q.thickness*("fraction"===D?1/K:K),n)}else{var Q=J?X.w:X.h;S(H+"len",q.len*("fraction"===D?1/Q:Q),n)}}x[C][n]=R(z);if(-1!==["swapxy","swapxyaxes","orientation","orientationaxes"].indexOf(C)){if("orientation"===C){O.set(D);var $=P.x&&!P.y?"h":"v";if((O.get()||$)===I.orientation)continue}else"orientationaxes"===C&&(P.orientation={v:"h",h:"v"}[I.orientation]);_.swapXYData(P),v.calc=v.clearAxisTypes=!0}else-1!==h.dataArrayContainers.indexOf(O.parts[0])?(_.manageArrayContainers(O,D,x),v.calc=!0):(B?B.arrayOk&&!u.traceIs(I,"regl")&&(o.isArrayOrTypedArray(D)||o.isArrayOrTypedArray(z))?v.calc=!0:T.update(v,B):v.calc=!0,O.set(D))}}if(-1!==["swapxyaxes","orientationaxes"].indexOf(C)&&p.swap(t,r),"orientationaxes"===C){var tt=s(t.layout,"hovermode"),et=tt.get();"x"===et?tt.set("y"):"y"===et?tt.set("x"):"x unified"===et?tt.set("y unified"):"y unified"===et&&tt.set("x unified")}if(-1!==["orientation","type"].indexOf(C)){for(m=[],n=0;n<r.length;n++){var rt=l[r[n]];u.traceIs(rt,"cartesian")&&(w(rt.xaxis||"x"),w(rt.yaxis||"y"))}S(m.map(k),!0,0),S(m.map(A),[0,1],0)}}else O=d(t.layout,C.replace("LAYOUT","")),x[C]=[R(O.get())],O.set(Array.isArray(N)?N[0]:N),v.calc=!0}return(v.calc||v.plot)&&(v.fullReplot=!0),{flags:v,undoit:x,redoit:y,traces:r,eventData:o.extendDeepNoArrays([],[g,r])}}function j(t){var e,r,n,i=o.counterRegex("axis",".title",!1,!1),a=/colorbar\.title$/,s=Object.keys(t);for(e=0;e<s.length;e++)r=s[e],n=t[r],"title"!==r&&!i.test(r)&&!a.test(r)||"string"!=typeof n&&"number"!=typeof n?r.indexOf("titlefont")>-1&&-1===r.indexOf("grouptitlefont")?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(e,r){t[r]=t[e],delete t[e]}}function U(t,e,r){t=o.getGraphDiv(t),_.clearPromiseQueue(t);var n={};if("string"==typeof e)n[e]=r;else{if(!o.isPlainObject(e))return o.warn("Relayout fail.",e,r),Promise.reject();n=o.extendFlat({},e)}Object.keys(n).length&&(t.changed=!0);var i=W(t,n),a=i.flags;a.calc&&(t.calcdata=void 0);var s=[h.previousPromises];a.layoutReplot?s.push(w.layoutReplot):Object.keys(n).length&&(V(t,a,i)||h.supplyDefaults(t),a.legend&&s.push(w.doLegend),a.layoutstyle&&s.push(w.layoutStyles),a.axrange&&H(s,i.rangesAltered),a.ticks&&s.push(w.doTicksRelayout),a.modebar&&s.push(w.doModeBar),a.camera&&s.push(w.doCamera),a.colorbars&&s.push(w.doColorBars),s.push(M)),s.push(h.rehover,h.redrag),c.add(t,U,[t,i.undoit],U,[t,i.redoit]);var l=o.syncOrAsync(s,t);return l&&l.then||(l=Promise.resolve(t)),l.then((function(){return t.emit("plotly_relayout",i.eventData),t}))}function V(t,e,r){var n=t._fullLayout;if(!e.axrange)return!1;for(var i in e)if("axrange"!==i&&e[i])return!1;for(var a in r.rangesAltered){var o=p.id2name(a),s=t.layout[o],l=n[o];if(l.autorange=s.autorange,s.range&&(l.range=s.range.slice()),l.cleanRange(),l._matchGroup)for(var c in l._matchGroup)if(c!==a){var u=n[p.id2name(c)];u.autorange=l.autorange,u.range=l.range.slice(),u._input.range=l.range.slice()}}return!0}function H(t,e){var r=e?function(t){var r=[],n=!0;for(var i in e){var a=p.getFromId(t,i);if(r.push(i),-1!==(a.ticklabelposition||"").indexOf("inside")&&a._anchorAxis&&r.push(a._anchorAxis._id),a._matchGroup)for(var o in a._matchGroup)e[o]||r.push(o);a.automargin&&(n=!1)}return p.draw(t,r,{skipTitle:n})}:function(t){return p.draw(t,"redraw")};t.push(y,w.doAutoRangeAndConstraints,r,w.drawData,w.finalDraw)}var q=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,G=/^[xyz]axis[0-9]*\.autorange$/,Y=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function W(t,e){var r,n,i,a=t.layout,l=t._fullLayout,c=l._guiEditing,h=F(l._preGUI,c),d=Object.keys(e),g=p.list(t),m=o.extendDeepAll({},e),v={};for(j(e),d=Object.keys(e),n=0;n<d.length;n++)if(0===d[n].indexOf("allaxes")){for(i=0;i<g.length;i++){var y=g[i]._id.substr(1),x=-1!==y.indexOf("scene")?y+".":"",w=d[n].replace("allaxes",x+g[i]._name);e[w]||(e[w]=e[d[n]])}delete e[d[n]]}var A=T.layoutFlags(),M={},S={};function E(t,r){if(Array.isArray(t))t.forEach((function(t){E(t,r)}));else if(!(t in e)&&!_.hasParent(e,t)){var n=h(a,t);t in S||(S[t]=R(n.get())),void 0!==r&&n.set(r)}}var L,C={};function P(t){var e=p.name2id(t.split(".")[0]);return C[e]=1,e}for(var I in e){if(_.hasParent(e,I))throw new Error("cannot set "+I+" and a parent attribute simultaneously");for(var O=h(a,I),z=e[I],D=O.parts.length-1;D>0&&"string"!=typeof O.parts[D];)D--;var B=O.parts[D],N=O.parts[D-1]+"."+B,U=O.parts.slice(0,D).join("."),V=s(t.layout,U).get(),H=s(l,U).get(),W=O.get();if(void 0!==z){M[I]=z,S[I]="reverse"===B?z:R(W);var Z=f.getLayoutValObject(l,O.parts);if(Z&&Z.impliedEdits&&null!==z)for(var J in Z.impliedEdits)E(o.relativeAttr(I,J),Z.impliedEdits[J]);if(-1!==["width","height"].indexOf(I))if(z){E("autosize",null);var K="height"===I?"width":"height";E(K,l[K])}else l[I]=t._initialAutoSize[I];else if("autosize"===I)E("width",z?null:l.width),E("height",z?null:l.height);else if(N.match(q))P(N),s(l,U+"._inputRange").set(null);else if(N.match(G)){P(N),s(l,U+"._inputRange").set(null);var Q=s(l,U).get();Q._inputDomain&&(Q._input.domain=Q._inputDomain.slice())}else N.match(Y)&&s(l,U+"._inputDomain").set(null);if("type"===B){L=V;var $="linear"===H.type&&"log"===z,tt="log"===H.type&&"linear"===z;if($||tt){if(L&&L.range)if(H.autorange)$&&(L.range=L.range[1]>L.range[0]?[1,2]:[2,1]);else{var et=L.range[0],rt=L.range[1];$?(et<=0&&rt<=0&&E(U+".autorange",!0),et<=0?et=rt/1e6:rt<=0&&(rt=et/1e6),E(U+".range[0]",Math.log(et)/Math.LN10),E(U+".range[1]",Math.log(rt)/Math.LN10)):(E(U+".range[0]",Math.pow(10,et)),E(U+".range[1]",Math.pow(10,rt)))}else E(U+".autorange",!0);Array.isArray(l._subplots.polar)&&l._subplots.polar.length&&l[O.parts[0]]&&"radialaxis"===O.parts[1]&&delete l[O.parts[0]]._subplot.viewInitial["radialaxis.range"],u.getComponentMethod("annotations","convertCoords")(t,H,z,E),u.getComponentMethod("images","convertCoords")(t,H,z,E)}else E(U+".autorange",!0),E(U+".range",null);s(l,U+"._inputRange").set(null)}else if(B.match(k)){var nt=s(l,I).get(),it=(z||{}).type;it&&"-"!==it||(it="linear"),u.getComponentMethod("annotations","convertCoords")(t,nt,it,E),u.getComponentMethod("images","convertCoords")(t,nt,it,E)}var at=b.containerArrayMatch(I);if(at){r=at.array,n=at.index;var ot=at.property,st=Z||{editType:"calc"};""!==n&&""===ot&&(b.isAddVal(z)?S[I]=null:b.isRemoveVal(z)?S[I]=(s(a,r).get()||[])[n]:o.warn("unrecognized full object value",e)),T.update(A,st),v[r]||(v[r]={});var lt=v[r][n];lt||(lt=v[r][n]={}),lt[ot]=z,delete e[I]}else"reverse"===B?(V.range?V.range.reverse():(E(U+".autorange",!0),V.range=[1,0]),H.autorange?A.calc=!0:A.plot=!0):(l._has("scatter-like")&&l._has("regl")&&"dragmode"===I&&("lasso"===z||"select"===z)&&"lasso"!==W&&"select"!==W||l._has("gl2d")?A.plot=!0:Z?T.update(A,Z):A.calc=!0,O.set(z))}}for(r in v){b.applyContainerArrayChanges(t,h(a,r),v[r],A,h)||(A.plot=!0)}for(var ct in C){var ut=(L=p.getFromId(t,ct))&&L._constraintGroup;if(ut)for(var ft in A.calc=!0,ut)C[ft]||(p.getFromId(t,ft)._constraintShrinkable=!0)}return(X(t)||e.height||e.width)&&(A.plot=!0),(A.plot||A.calc)&&(A.layoutReplot=!0),{flags:A,rangesAltered:C,undoit:S,redoit:M,eventData:m}}function X(t){var e=t._fullLayout,r=e.width,n=e.height;return t.layout.autosize&&h.plotAutoSize(t,t.layout,e),e.width!==r||e.height!==n}function Z(t,e,n,i){t=o.getGraphDiv(t),_.clearPromiseQueue(t),o.isPlainObject(e)||(e={}),o.isPlainObject(n)||(n={}),Object.keys(e).length&&(t.changed=!0),Object.keys(n).length&&(t.changed=!0);var a=_.coerceTraceIndices(t,i),s=N(t,o.extendFlat({},e),a),l=s.flags,u=W(t,o.extendFlat({},n)),f=u.flags;(l.calc||f.calc)&&(t.calcdata=void 0),l.clearAxisTypes&&_.clearAxisTypes(t,a,n);var p=[];f.layoutReplot?p.push(w.layoutReplot):l.fullReplot?p.push(r._doPlot):(p.push(h.previousPromises),V(t,f,u)||h.supplyDefaults(t),l.style&&p.push(w.doTraceStyle),(l.colorbars||f.colorbars)&&p.push(w.doColorBars),f.legend&&p.push(w.doLegend),f.layoutstyle&&p.push(w.layoutStyles),f.axrange&&H(p,u.rangesAltered),f.ticks&&p.push(w.doTicksRelayout),f.modebar&&p.push(w.doModeBar),f.camera&&p.push(w.doCamera),p.push(M)),p.push(h.rehover,h.redrag),c.add(t,Z,[t,s.undoit,u.undoit,s.traces],Z,[t,s.redoit,u.redoit,s.traces]);var d=o.syncOrAsync(p,t);return d&&d.then||(d=Promise.resolve(t)),d.then((function(){return t.emit("plotly_update",{data:s.eventData,layout:u.eventData}),t}))}function J(t){return function(e){e._fullLayout._guiEditing=!0;var r=t.apply(null,arguments);return e._fullLayout._guiEditing=!1,r}}var K=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],Q=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function $(t,e){for(var r=0;r<e.length;r++){var n=e[r],i=t.match(n.pattern);if(i){var a=i[1]||"";return{head:a,tail:t.substr(a.length+1),attr:n.attr}}}}function tt(t,e){var r=s(e,t).get();if(void 0!==r)return r;var n=t.split(".");for(n.pop();n.length>1;)if(n.pop(),void 0!==(r=s(e,n.join(".")+".uirevision").get()))return r;return e.uirevision}function et(t,e){for(var r=0;r<e.length;r++)if(e[r]._fullInput.uid===t)return r;return-1}function rt(t,e,r){for(var n=0;n<e.length;n++)if(e[n].uid===t)return n;return!e[r]||e[r].uid?-1:r}function nt(t,e){var r=o.isPlainObject(t),n=Array.isArray(t);return r||n?(r&&o.isPlainObject(e)||n&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e):t===e}function it(t,e,r,n){var i,a,l,c=n.getValObject,u=n.flags,f=n.immutable,h=n.inArray,p=n.arrayIndex;function d(){var t=i.editType;h&&-1!==t.indexOf("arraydraw")?o.pushUnique(u.arrays[h],p):(T.update(u,i),"none"!==t&&u.nChanges++,n.transition&&i.anim&&u.nChangesAnim++,(q.test(l)||G.test(l))&&(u.rangesAltered[r[0]]=1),Y.test(l)&&s(e,"_inputDomain").set(null),"datarevision"===a&&(u.newDataRevision=1))}function g(t){return"data_array"===t.valType||t.arrayOk}for(a in t){if(u.calc&&!n.transition)return;var m=t[a],v=e[a],y=r.concat(a);if(l=y.join("."),"_"!==a.charAt(0)&&"function"!=typeof m&&m!==v){if(("tick0"===a||"dtick"===a)&&"geo"!==r[0]){var x=e.tickmode;if("auto"===x||"array"===x||!x)continue}if(("range"!==a||!e.autorange)&&("zmin"!==a&&"zmax"!==a||"contourcarpet"!==e.type)&&(i=c(y))&&(!i._compareAsJSON||JSON.stringify(m)!==JSON.stringify(v))){var b,_=i.valType,w=g(i),k=Array.isArray(m),A=Array.isArray(v);if(k&&A){var M="_input_"+a,S=t[M],E=e[M];if(Array.isArray(S)&&S===E)continue}if(void 0===v)w&&k?u.calc=!0:d();else if(i._isLinkedToArray){var L=[],C=!1;h||(u.arrays[a]=L);var P=Math.min(m.length,v.length),I=Math.max(m.length,v.length);if(P!==I){if("arraydraw"!==i.editType){d();continue}C=!0}for(b=0;b<P;b++)it(m[b],v[b],y.concat(b),o.extendFlat({inArray:a,arrayIndex:b},n));if(C)for(b=P;b<I;b++)L.push(b)}else!_&&o.isPlainObject(m)?it(m,v,y,n):w?k&&A?(f&&(u.calc=!0),(f||n.newDataRevision)&&d()):k!==A?u.calc=!0:d():k&&A&&m.length===v.length&&String(m)===String(v)||d()}}}for(a in e)if(!(a in t)&&"_"!==a.charAt(0)&&"function"!=typeof e[a]){if(g(i=c(r.concat(a)))&&Array.isArray(e[a]))return void(u.calc=!0);d()}}function at(t){var e=t._fullLayout,r=t.getBoundingClientRect();if(!o.equalDomRects(r,e._lastBBox)){var n=e._invTransform=o.inverseTransformMatrix(o.getFullTransformMatrix(t));e._invScaleX=Math.sqrt(n[0][0]*n[0][0]+n[0][1]*n[0][1]+n[0][2]*n[0][2]),e._invScaleY=Math.sqrt(n[1][0]*n[1][0]+n[1][1]*n[1][1]+n[1][2]*n[1][2]),e._lastBBox=r}}r.animate=function(t,e,r){if(t=o.getGraphDiv(t),!o.isPlotDiv(t))throw new Error("This element is not a Plotly plot: "+t+". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/");var n=t._transitionData;n._frameQueue||(n._frameQueue=[]);var i=(r=h.supplyAnimationDefaults(r)).transition,a=r.frame;function s(t){return Array.isArray(i)?t>=i.length?i[0]:i[t]:i}function l(t){return Array.isArray(a)?t>=a.length?a[0]:a[t]:a}function c(t,e){var r=0;return function(){if(t&&++r===e)return t()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(a,u){function f(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var e=n._currentFrame=n._frameQueue.shift();if(e){var r=e.name?e.name.toString():null;t._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=e.frameOpts.duration,h.transition(t,e.frame.data,e.frame.layout,_.coerceTraceIndices(t,e.frame.traces),e.frameOpts,e.transitionOpts).then((function(){e.onComplete&&e.onComplete()})),t.emit("plotly_animatingframe",{name:r,frame:e.frame,animation:{frame:e.frameOpts,transition:e.transitionOpts}})}else t.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function p(){t.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var e=function(){n._animationRaf=window.requestAnimationFrame(e),Date.now()-n._lastFrameAt>n._timeToNext&&f()};e()}var d,g,m=0;function v(t){return Array.isArray(i)?m>=i.length?t.transitionOpts=i[m]:t.transitionOpts=i[0]:t.transitionOpts=i,m++,t}var y=[],x=null==e,b=Array.isArray(e);if(!x&&!b&&o.isPlainObject(e))y.push({type:"object",data:v(o.extendFlat({},e))});else if(x||-1!==["string","number"].indexOf(typeof e))for(d=0;d<n._frames.length;d++)(g=n._frames[d])&&(x||String(g.group)===String(e))&&y.push({type:"byname",name:String(g.name),data:v({name:g.name})});else if(b)for(d=0;d<e.length;d++){var w=e[d];-1!==["number","string"].indexOf(typeof w)?(w=String(w),y.push({type:"byname",name:w,data:v({name:w})})):o.isPlainObject(w)&&y.push({type:"object",data:v(o.extendFlat({},w))})}for(d=0;d<y.length;d++)if("byname"===(g=y[d]).type&&!n._frameHash[g.data.name])return o.warn('animate failure: frame not found: "'+g.data.name+'"'),void u();-1!==["next","immediate"].indexOf(r.mode)&&function(){if(0!==n._frameQueue.length){for(;n._frameQueue.length;){var e=n._frameQueue.pop();e.onInterrupt&&e.onInterrupt()}t.emit("plotly_animationinterrupted",[])}}(),"reverse"===r.direction&&y.reverse();var T=t._fullLayout._currentFrame;if(T&&r.fromcurrent){var k=-1;for(d=0;d<y.length;d++)if("byname"===(g=y[d]).type&&g.name===T){k=d;break}if(k>0&&k<y.length-1){var A=[];for(d=0;d<y.length;d++)g=y[d],("byname"!==y[d].type||d>k)&&A.push(g);y=A}}y.length>0?function(e){if(0!==e.length){for(var i=0;i<e.length;i++){var o;o="byname"===e[i].type?h.computeFrame(t,e[i].name):e[i].data;var f=l(i),d=s(i);d.duration=Math.min(d.duration,f.duration);var g={frame:o,name:e[i].name,frameOpts:f,transitionOpts:d};i===e.length-1&&(g.onComplete=c(a,2),g.onInterrupt=u),n._frameQueue.push(g)}"immediate"===r.mode&&(n._lastFrameAt=-1/0),n._animationRaf||p()}}(y):(t.emit("plotly_animated"),a())}))},r.addFrames=function(t,e,r){if(t=o.getGraphDiv(t),null==e)return Promise.resolve();if(!o.isPlotDiv(t))throw new Error("This element is not a Plotly plot: "+t+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var n,i,a,s,l=t._transitionData._frames,u=t._transitionData._frameHash;if(!Array.isArray(e))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+e);var f=l.length+2*e.length,p=[],d={};for(n=e.length-1;n>=0;n--)if(o.isPlainObject(e[n])){var g=e[n].name,m=(u[g]||d[g]||{}).name,v=e[n].name,y=u[m]||d[m];m&&v&&"number"==typeof v&&y&&A<5&&(A++,o.warn('addFrames: overwriting frame "'+(u[m]||d[m]).name+'" with a frame whose name of type "number" also equates to "'+m+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===A&&o.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[g]={name:g},p.push({frame:h.supplyFrameDefaults(e[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:f+n})}p.sort((function(t,e){return t.index>e.index?-1:t.index<e.index?1:0}));var x=[],b=[],_=l.length;for(n=p.length-1;n>=0;n--){if("number"==typeof(i=p[n].frame).name&&o.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!i.name)for(;u[i.name="frame "+t._transitionData._counter++];);if(u[i.name]){for(a=0;a<l.length&&(l[a]||{}).name!==i.name;a++);x.push({type:"replace",index:a,value:i}),b.unshift({type:"replace",index:a,value:l[a]})}else s=Math.max(0,Math.min(p[n].index,_)),x.push({type:"insert",index:s,value:i}),b.unshift({type:"delete",index:s}),_++}var w=h.modifyFrames,T=h.modifyFrames,k=[t,b],M=[t,x];return c&&c.add(t,w,k,T,M),h.modifyFrames(t,x)},r.deleteFrames=function(t,e){if(t=o.getGraphDiv(t),!o.isPlotDiv(t))throw new Error("This element is not a Plotly plot: "+t);var r,n,i=t._transitionData._frames,a=[],s=[];if(!e)for(e=[],r=0;r<i.length;r++)e.push(r);for((e=e.slice()).sort(),r=e.length-1;r>=0;r--)n=e[r],a.push({type:"delete",index:n}),s.unshift({type:"insert",index:n,value:i[n]});var l=h.modifyFrames,u=h.modifyFrames,f=[t,s],p=[t,a];return c&&c.add(t,l,f,u,p),h.modifyFrames(t,a)},r.addTraces=function t(e,n,i){e=o.getGraphDiv(e);var a,s,l=[],u=r.deleteTraces,f=t,h=[e,l],p=[e,n];for(function(t,e,r){var n,i;if(!Array.isArray(t.data))throw new Error("gd.data must be an array.");if(void 0===e)throw new Error("traces must be defined.");for(Array.isArray(e)||(e=[e]),n=0;n<e.length;n++)if("object"!=typeof(i=e[n])||Array.isArray(i)||null===i)throw new Error("all values in traces array must be non-array objects");if(void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&r.length!==e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(e,n,i),Array.isArray(n)||(n=[n]),n=n.map((function(t){return o.extendFlat({},t)})),_.cleanData(n),a=0;a<n.length;a++)e.data.push(n[a]);for(a=0;a<n.length;a++)l.push(-n.length+a);if(void 0===i)return s=r.redraw(e),c.add(e,u,h,f,p),s;Array.isArray(i)||(i=[i]);try{I(e,l,i)}catch(t){throw e.data.splice(e.data.length-n.length,n.length),t}return c.startSequence(e),c.add(e,u,h,f,p),s=r.moveTraces(e,l,i),c.stopSequence(e),s},r.deleteTraces=function t(e,n){e=o.getGraphDiv(e);var i,a,s=[],l=r.addTraces,u=t,f=[e,s,n],h=[e,n];if(void 0===n)throw new Error("indices must be an integer or array of integers.");for(Array.isArray(n)||(n=[n]),P(e,n,"indices"),(n=C(n,e.data.length-1)).sort(o.sorterDes),i=0;i<n.length;i+=1)a=e.data.splice(n[i],1)[0],s.push(a);var p=r.redraw(e);return c.add(e,l,f,u,h),p},r.extendTraces=function t(e,n,i,a){function s(t,e,r){var n,i;if(o.isTypedArray(t))if(r<0){var a=new t.constructor(0),s=z(t,e);r<0?(n=s,i=a):(n=a,i=s)}else if(n=new t.constructor(r),i=new t.constructor(t.length+e.length-r),r===e.length)n.set(e),i.set(t);else if(r<e.length){var l=e.length-r;n.set(e.subarray(l)),i.set(t),i.set(e.subarray(0,l),t.length)}else{var c=r-e.length,u=t.length-c;n.set(t.subarray(u)),n.set(e,c),i.set(t.subarray(0,u))}else n=t.concat(e),i=r>=0&&r<n.length?n.splice(0,n.length-r):[];return[n,i]}var l=O(e=o.getGraphDiv(e),n,i,a,s),u=r.redraw(e),f=[e,l.update,i,l.maxPoints];return c.add(e,r.prependTraces,f,t,arguments),u},r.moveTraces=function t(e,n,i){var a,s=[],l=[],u=t,f=t,h=[e=o.getGraphDiv(e),i,n],p=[e,n,i];if(I(e,n,i),n=Array.isArray(n)?n:[n],void 0===i)for(i=[],a=0;a<n.length;a++)i.push(-n.length+a);for(i=Array.isArray(i)?i:[i],n=C(n,e.data.length-1),i=C(i,e.data.length-1),a=0;a<e.data.length;a++)-1===n.indexOf(a)&&s.push(e.data[a]);for(a=0;a<n.length;a++)l.push({newIndex:i[a],trace:e.data[n[a]]});for(l.sort((function(t,e){return t.newIndex-e.newIndex})),a=0;a<l.length;a+=1)s.splice(l[a].newIndex,0,l[a].trace);e.data=s;var d=r.redraw(e);return c.add(e,u,h,f,p),d},r.prependTraces=function t(e,n,i,a){function s(t,e,r){var n,i;if(o.isTypedArray(t))if(r<=0){var a=new t.constructor(0),s=z(e,t);r<0?(n=s,i=a):(n=a,i=s)}else if(n=new t.constructor(r),i=new t.constructor(t.length+e.length-r),r===e.length)n.set(e),i.set(t);else if(r<e.length){var l=e.length-r;n.set(e.subarray(0,l)),i.set(e.subarray(l)),i.set(t,l)}else{var c=r-e.length;n.set(e),n.set(t.subarray(0,c),e.length),i.set(t.subarray(c))}else n=e.concat(t),i=r>=0&&r<n.length?n.splice(r,n.length):[];return[n,i]}var l=O(e=o.getGraphDiv(e),n,i,a,s),u=r.redraw(e),f=[e,l.update,i,l.maxPoints];return c.add(e,r.extendTraces,f,t,arguments),u},r.newPlot=function(t,e,n,i){return t=o.getGraphDiv(t),h.cleanPlot([],{},t._fullData||[],t._fullLayout||{}),h.purge(t),r._doPlot(t,e,n,i)},r._doPlot=function(t,e,i,a){var s;if(t=o.getGraphDiv(t),l.init(t),o.isPlainObject(e)){var c=e;e=c.data,i=c.layout,a=c.config,s=c.frames}if(!1===l.triggerHandler(t,"plotly_beforeplot",[e,i,a]))return Promise.reject();e||i||o.isPlotDiv(t)||o.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",t),L(t,a),i||(i={}),n.select(t).classed("js-plotly-plot",!0),d.makeTester(),Array.isArray(t._promises)||(t._promises=[]);var f=0===(t.data||[]).length&&Array.isArray(e);Array.isArray(e)&&(_.cleanData(e),f?t.data=e:t.data.push.apply(t.data,e),t.empty=!1),t.layout&&!f||(t.layout=_.cleanLayout(i)),h.supplyDefaults(t);var g=t._fullLayout,y=g._has("cartesian");g._replotting=!0,(f||g._shouldCreateBgLayer)&&(!function(t){var e=n.select(t),r=t._fullLayout;if(r._calcInverseTransform=at,r._calcInverseTransform(t),r._container=e.selectAll(".plot-container").data([0]),r._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),r._paperdiv=r._container.selectAll(".svg-container").data([0]),r._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),r._glcontainer=r._paperdiv.selectAll(".gl-container").data([{}]),r._glcontainer.enter().append("div").classed("gl-container",!0),r._paperdiv.selectAll(".main-svg").remove(),r._paperdiv.select(".modebar-container").remove(),r._paper=r._paperdiv.insert("svg",":first-child").classed("main-svg",!0),r._toppaper=r._paperdiv.append("svg").classed("main-svg",!0),r._modebardiv=r._paperdiv.append("div"),delete r._modeBar,r._hoverpaper=r._paperdiv.append("svg").classed("main-svg",!0),!r._uid){var i={};n.selectAll("defs").each((function(){this.id&&(i[this.id.split("-")[1]]=1)})),r._uid=o.randstr(i)}r._paperdiv.selectAll(".main-svg").attr(v.svgAttrs),r._defs=r._paper.append("defs").attr("id","defs-"+r._uid),r._clips=r._defs.append("g").classed("clips",!0),r._topdefs=r._toppaper.append("defs").attr("id","topdefs-"+r._uid),r._topclips=r._topdefs.append("g").classed("clips",!0),r._bgLayer=r._paper.append("g").classed("bglayer",!0),r._draggers=r._paper.append("g").classed("draglayer",!0);var a=r._paper.append("g").classed("layer-below",!0);r._imageLowerLayer=a.append("g").classed("imagelayer",!0),r._shapeLowerLayer=a.append("g").classed("shapelayer",!0),r._cartesianlayer=r._paper.append("g").classed("cartesianlayer",!0),r._polarlayer=r._paper.append("g").classed("polarlayer",!0),r._smithlayer=r._paper.append("g").classed("smithlayer",!0),r._ternarylayer=r._paper.append("g").classed("ternarylayer",!0),r._geolayer=r._paper.append("g").classed("geolayer",!0),r._funnelarealayer=r._paper.append("g").classed("funnelarealayer",!0),r._pielayer=r._paper.append("g").classed("pielayer",!0),r._iciclelayer=r._paper.append("g").classed("iciclelayer",!0),r._treemaplayer=r._paper.append("g").classed("treemaplayer",!0),r._sunburstlayer=r._paper.append("g").classed("sunburstlayer",!0),r._indicatorlayer=r._toppaper.append("g").classed("indicatorlayer",!0),r._glimages=r._paper.append("g").classed("glimages",!0);var s=r._toppaper.append("g").classed("layer-above",!0);r._imageUpperLayer=s.append("g").classed("imagelayer",!0),r._shapeUpperLayer=s.append("g").classed("shapelayer",!0),r._infolayer=r._toppaper.append("g").classed("infolayer",!0),r._menulayer=r._toppaper.append("g").classed("menulayer",!0),r._zoomlayer=r._toppaper.append("g").classed("zoomlayer",!0),r._hoverlayer=r._hoverpaper.append("g").classed("hoverlayer",!0),r._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),t.emit("plotly_framework")}(t),g._shouldCreateBgLayer&&delete g._shouldCreateBgLayer),d.initGradients(t),d.initPatterns(t),f&&p.saveShowSpikeInitial(t);var x=!t.calcdata||t.calcdata.length!==(t._fullData||[]).length;x&&h.doCalcdata(t);for(var b=0;b<t.calcdata.length;b++)t.calcdata[b][0].trace=t._fullData[b];t._context.responsive?t._responsiveChartHandler||(t._responsiveChartHandler=function(){o.isHidden(t)||h.resize(t)},window.addEventListener("resize",t._responsiveChartHandler)):o.clearResponsive(t);var T=o.extendFlat({},g._size),k=0;function A(){if(h.clearAutoMarginIds(t),w.drawMarginPushers(t),p.allowAutoMargin(t),g._has("pie"))for(var e=t._fullData,r=0;r<e.length;r++){var n=e[r];"pie"===n.type&&n.automargin&&h.allowAutoMargin(t,"pie."+n.uid+".automargin")}return h.doAutoMargin(t),h.previousPromises(t)}function S(){t._transitioning||(w.doAutoRangeAndConstraints(t),f&&p.saveRangeInitial(t),u.getComponentMethod("rangeslider","calcAutorange")(t))}var E=[h.previousPromises,function(){if(s)return r.addFrames(t,s)},function e(){for(var r=g._basePlotModules,n=0;n<r.length;n++)r[n].drawFramework&&r[n].drawFramework(t);!g._glcanvas&&g._has("gl")&&(g._glcanvas=g._glcontainer.selectAll(".gl-canvas").data([{key:"contextLayer",context:!0,pick:!1},{key:"focusLayer",context:!1,pick:!1},{key:"pickLayer",context:!1,pick:!0}],(function(t){return t.key})),g._glcanvas.enter().append("canvas").attr("class",(function(t){return"gl-canvas gl-canvas-"+t.key.replace("Layer","")})).style({position:"absolute",top:0,left:0,overflow:"visible","pointer-events":"none"}));var i=t._context.plotGlPixelRatio;if(g._glcanvas){g._glcanvas.attr("width",g.width*i).attr("height",g.height*i).style("width",g.width+"px").style("height",g.height+"px");var a=g._glcanvas.data()[0].regl;if(a&&(Math.floor(g.width*i)!==a._gl.drawingBufferWidth||Math.floor(g.height*i)!==a._gl.drawingBufferHeight)){var s="WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.";if(!k)return o.log(s+" Clearing graph and plotting again."),h.cleanPlot([],{},t._fullData,g),h.supplyDefaults(t),g=t._fullLayout,h.doCalcdata(t),k++,e();o.error(s)}}return"h"===g.modebar.orientation?g._modebardiv.style("height",null).style("width","100%"):g._modebardiv.style("width",null).style("height",g.height+"px"),h.previousPromises(t)},A,function(){if(h.didMarginChange(T,g._size))return o.syncOrAsync([A,w.layoutStyles],t)}];y&&E.push((function(){if(x)return o.syncOrAsync([u.getComponentMethod("shapes","calcAutorange"),u.getComponentMethod("annotations","calcAutorange"),S],t);S()})),E.push(w.layoutStyles),y&&E.push((function(){return p.draw(t,f?"":"redraw")}),(function(t){t._fullLayout._insideTickLabelsAutorange&&U(t,t._fullLayout._insideTickLabelsAutorange).then((function(){t._fullLayout._insideTickLabelsAutorange=void 0}))})),E.push(w.drawData,w.finalDraw,m,h.addLinks,h.rehover,h.redrag,h.doAutoMargin,(function(t){t._fullLayout._insideTickLabelsAutorange&&f&&p.saveRangeInitial(t,!0)}),h.previousPromises);var C=o.syncOrAsync(E,t);return C&&C.then||(C=Promise.resolve()),C.then((function(){return M(t),t}))},r.purge=function(t){var e=(t=o.getGraphDiv(t))._fullLayout||{},r=t._fullData||[];return h.cleanPlot([],{},r,e),h.purge(t),l.purge(t),e._container&&e._container.remove(),delete t._context,t},r.react=function(t,e,n,i){var a,l;t=o.getGraphDiv(t),_.clearPromiseQueue(t);var c=t._fullData,p=t._fullLayout;if(o.isPlotDiv(t)&&c&&p){if(o.isPlainObject(e)){var d=e;e=d.data,n=d.layout,i=d.config,a=d.frames}var g=!1;if(i){var m=o.extendDeep({},t._context);t._context=void 0,L(t,i),g=function t(e,r){var n;for(n in e)if("_"!==n.charAt(0)){var i=e[n],a=r[n];if(i!==a)if(o.isPlainObject(i)&&o.isPlainObject(a)){if(t(i,a))return!0}else{if(!Array.isArray(i)||!Array.isArray(a))return!0;if(i.length!==a.length)return!0;for(var s=0;s<i.length;s++)if(i[s]!==a[s]){if(!o.isPlainObject(i[s])||!o.isPlainObject(a[s]))return!0;if(t(i[s],a[s]))return!0}}}}(m,t._context)}t.data=e||[],_.cleanData(t.data),t.layout=n||{},_.cleanLayout(t.layout),function(t,e,r,n){var i,a,l,c,u,f,h,p,d,g,m=n._preGUI,v=[],y={},x={};for(i in m){if(u=$(i,K)){if(d=u.head,g=u.tail,a=u.attr||d+".uirevision",(c=(l=s(n,a).get())&&tt(a,e))&&c===l){if(null===(f=m[i])&&(f=void 0),nt(p=(h=s(e,i)).get(),f)){void 0===p&&"autorange"===g&&v.push(d),h.set(R(s(n,i).get()));continue}if("autorange"===g||"range["===g.substr(0,6)){var b=m[d+".range[0]"],_=m[d+".range[1]"],w=m[d+".autorange"];if(w||null===w&&null===b&&null===_){if(!(d in y)){var T=s(e,d).get();y[d]=T&&(T.autorange||!1!==T.autorange&&(!T.range||2!==T.range.length))}if(y[d]){h.set(R(s(n,i).get()));continue}}}}}else o.warn("unrecognized GUI edit: "+i);delete m[i],u&&"range["===u.tail.substr(0,6)&&(x[u.head]=1)}for(var k=0;k<v.length;k++){var A=v[k];if(x[A]){var M=s(e,A).get();M&&delete M.autorange}}var S=n._tracePreGUI;for(var E in S){var L,C=S[E],P=null;for(i in C){if(!P){var I=et(E,r);if(I<0){delete S[E];break}var O=rt(E,t,(L=r[I]._fullInput).index);if(O<0){delete S[E];break}P=t[O]}if(u=$(i,Q)){if(u.attr?c=(l=s(n,u.attr).get())&&tt(u.attr,e):(l=L.uirevision,void 0===(c=P.uirevision)&&(c=e.uirevision)),c&&c===l&&(null===(f=C[i])&&(f=void 0),nt(p=(h=s(P,i)).get(),f))){h.set(R(s(L,i).get()));continue}}else o.warn("unrecognized GUI edit: "+i+" in trace uid "+E);delete C[i]}}}(t.data,t.layout,c,p),h.supplyDefaults(t,{skipUpdateCalc:!0});var v=t._fullData,y=t._fullLayout,x=void 0===y.datarevision,b=y.transition,k=function(t,e,r,n,i){var a=T.layoutFlags();function o(t){return f.getLayoutValObject(r,t)}a.arrays={},a.rangesAltered={},a.nChanges=0,a.nChangesAnim=0,it(e,r,[],{getValObject:o,flags:a,immutable:n,transition:i,gd:t}),(a.plot||a.calc)&&(a.layoutReplot=!0);i&&a.nChanges&&a.nChangesAnim&&(a.anim=a.nChanges===a.nChangesAnim?"all":"some");return a}(t,p,y,x,b),A=k.newDataRevision,S=function(t,e,r,n,i,a){var o=e.length===r.length;if(!i&&!o)return{fullReplot:!0,calc:!0};var s,l,c=T.traceFlags();c.arrays={},c.nChanges=0,c.nChangesAnim=0;var u={getValObject:function(t){var e=f.getTraceValObject(l,t);return!l._module.animatable&&e.anim&&(e.anim=!1),e},flags:c,immutable:n,transition:i,newDataRevision:a,gd:t},p={};for(s=0;s<e.length;s++)if(r[s]){if(l=r[s]._fullInput,h.hasMakesDataTransform(l)&&(l=r[s]),p[l.uid])continue;p[l.uid]=1,it(e[s]._fullInput,l,[],u)}(c.calc||c.plot)&&(c.fullReplot=!0);i&&c.nChanges&&c.nChangesAnim&&(c.anim=c.nChanges===c.nChangesAnim&&o?"all":"some");return c}(t,c,v,x,b,A);if(X(t)&&(k.layoutReplot=!0),S.calc||k.calc){t.calcdata=void 0;for(var E=Object.getOwnPropertyNames(y),C=0;C<E.length;C++){var P=E[C],I=P.substring(0,5);if("xaxis"===I||"yaxis"===I){var O=y[P]._emptyCategories;O&&O()}}}else h.supplyDefaultsUpdateCalc(t.calcdata,v);var z=[];if(a&&(t._transitionData={},h.createTransitionData(t),z.push((function(){return r.addFrames(t,a)}))),y.transition&&!g&&(S.anim||k.anim))k.ticks&&z.push(w.doTicksRelayout),h.doCalcdata(t),w.doAutoRangeAndConstraints(t),z.push((function(){return h.transitionFromReact(t,S,k,p)}));else if(S.fullReplot||k.layoutReplot||g)t._fullLayout._skipDefaults=!0,z.push(r._doPlot);else{for(var D in k.arrays){var F=k.arrays[D];if(F.length){var B=u.getComponentMethod(D,"drawOne");if(B!==o.noop)for(var N=0;N<F.length;N++)B(t,F[N]);else{var j=u.getComponentMethod(D,"draw");if(j===o.noop)throw new Error("cannot draw components: "+D);j(t)}}}z.push(h.previousPromises),S.style&&z.push(w.doTraceStyle),(S.colorbars||k.colorbars)&&z.push(w.doColorBars),k.legend&&z.push(w.doLegend),k.layoutstyle&&z.push(w.layoutStyles),k.axrange&&H(z),k.ticks&&z.push(w.doTicksRelayout),k.modebar&&z.push(w.doModeBar),k.camera&&z.push(w.doCamera),z.push(M)}z.push(h.rehover,h.redrag),(l=o.syncOrAsync(z,t))&&l.then||(l=Promise.resolve(t))}else l=r.newPlot(t,e,n,i);return l.then((function(){return t.emit("plotly_react",{data:e,layout:n}),t}))},r.redraw=function(t){if(t=o.getGraphDiv(t),!o.isPlotDiv(t))throw new Error("This element is not a Plotly plot: "+t);return _.cleanData(t.data),_.cleanLayout(t.layout),t.calcdata=void 0,r._doPlot(t).then((function(){return t.emit("plotly_redraw"),t}))},r.relayout=U,r.restyle=D,r.setPlotConfig=function(t){return o.extendFlat(x,t)},r.update=Z,r._guiRelayout=J(U),r._guiRestyle=J(D),r._guiUpdate=J(Z),r._storeDirectGUIEdit=function(t,e,r){for(var n in r){B(n,s(t,n).get(),r[n],e)}}},{"../components/color":366,"../components/drawing":388,"../constants/xmlns_namespaces":480,"../lib":503,"../lib/events":492,"../lib/queue":519,"../plots/cartesian/axes":554,"../plots/cartesian/constants":561,"../plots/cartesian/graph_interact":564,"../plots/cartesian/select":575,"../plots/plots":619,"../registry":638,"./edit_types":536,"./helpers":537,"./manage_arrays":539,"./plot_config":541,"./plot_schema":542,"./subroutines":544,"@plotly/d3":58,"fast-isnumeric":190,"has-hover":228}],541:[function(t,e,r){"use strict";var n={staticPlot:{valType:"boolean",dflt:!1},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},globalTransforms:{valType:"any",dflt:[]},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},i={};!function t(e,r){for(var n in e){var i=e[n];i.valType?r[n]=i.dflt:(r[n]||(r[n]={}),t(i,r[n]))}}(n,i),e.exports={configAttributes:n,dfltConfig:i}},{}],542:[function(t,e,r){"use strict";var n=t("../registry"),i=t("../lib"),a=t("../plots/attributes"),o=t("../plots/layout_attributes"),s=t("../plots/frame_attributes"),l=t("../plots/animation_attributes"),c=t("./plot_config").configAttributes,u=t("./edit_types"),f=i.extendDeepAll,h=i.isPlainObject,p=i.isArrayOrTypedArray,d=i.nestedProperty,g=i.valObjectMeta,m=["_isSubplotObj","_isLinkedToArray","_arrayAttrRegexps","_deprecated"];function v(t,e,r){if(!t)return!1;if(t._isLinkedToArray)if(y(e[r]))r++;else if(r<e.length)return!1;for(;r<e.length;r++){var n=t[e[r]];if(!h(n))break;if(t=n,r===e.length-1)break;if(t._isLinkedToArray){if(!y(e[++r]))return!1}else if("info_array"===t.valType){var i=e[++r];if(!y(i))return!1;var a=t.items;if(Array.isArray(a)){if(i>=a.length)return!1;if(2===t.dimensions){if(r++,e.length===r)return t;var o=e[r];if(!y(o))return!1;t=a[i][o]}else t=a[i]}else t=a}}return t}function y(t){return t===Math.round(t)&&t>=0}function x(){var t,e,r={};for(t in f(r,o),n.subplotsRegistry){if((e=n.subplotsRegistry[t]).layoutAttributes)if(Array.isArray(e.attr))for(var i=0;i<e.attr.length;i++)w(r,e,e.attr[i]);else w(r,e,"subplot"===e.attr?e.name:e.attr)}for(t in n.componentsRegistry){var a=(e=n.componentsRegistry[t]).schema;if(a&&(a.subplots||a.layout)){var s=a.subplots;if(s&&s.xaxis&&!s.yaxis)for(var l in s.xaxis)delete r.yaxis[l]}else"colorscale"===e.name?f(r,e.layoutAttributes):e.layoutAttributes&&T(r,e.layoutAttributes,e.name)}return{layoutAttributes:_(r)}}function b(){var t={frames:f({},s)};return _(t),t.frames}function _(t){return function(t){r.crawl(t,(function(t,e,n){r.isValObject(t)?!0!==t.arrayOk&&"data_array"!==t.valType||(n[e+"src"]={valType:"string",editType:"none"}):h(t)&&(t.role="object")}))}(t),function(t){r.crawl(t,(function(t,e,r){if(t){var n=t._isLinkedToArray;n&&(delete t._isLinkedToArray,r[e]={items:{}},r[e].items[n]=t,r[e].role="object")}}))}(t),function(t){!function t(e){for(var r in e)if(h(e[r]))t(e[r]);else if(Array.isArray(e[r]))for(var n=0;n<e[r].length;n++)t(e[r][n]);else e[r]instanceof RegExp&&(e[r]=e[r].toString())}(t)}(t),t}function w(t,e,r){var n=d(t,r),i=f({},e.layoutAttributes);i._isSubplotObj=!0,n.set(i)}function T(t,e,r){var n=d(t,r);n.set(f(n.get()||{},e))}r.IS_SUBPLOT_OBJ="_isSubplotObj",r.IS_LINKED_TO_ARRAY="_isLinkedToArray",r.DEPRECATED="_deprecated",r.UNDERSCORE_ATTRS=m,r.get=function(){var t={};n.allTypes.forEach((function(e){t[e]=function(t){var e,i;e=n.modules[t]._module,i=e.basePlotModule;var o={type:null},s=f({},a),l=f({},e.attributes);r.crawl(l,(function(t,e,r,n,i){d(s,i).set(void 0),void 0===t&&d(l,i).set(void 0)})),f(o,s),n.traceIs(t,"noOpacity")&&delete o.opacity;n.traceIs(t,"showLegend")||(delete o.showlegend,delete o.legendgroup);n.traceIs(t,"noHover")&&(delete o.hoverinfo,delete o.hoverlabel);e.selectPoints||delete o.selectedpoints;f(o,l),i.attributes&&f(o,i.attributes);o.type=t;var c={meta:e.meta||{},categories:e.categories||{},animatable:Boolean(e.animatable),type:t,attributes:_(o)};if(e.layoutAttributes){var u={};f(u,e.layoutAttributes),c.layoutAttributes=_(u)}e.animatable||r.crawl(c,(function(t){r.isValObject(t)&&"anim"in t&&delete t.anim}));return c}(e)}));var e={};return Object.keys(n.transformsRegistry).forEach((function(t){e[t]=function(t){var e=n.transformsRegistry[t],r=f({},e.attributes);return Object.keys(n.componentsRegistry).forEach((function(e){var i=n.componentsRegistry[e];i.schema&&i.schema.transforms&&i.schema.transforms[t]&&Object.keys(i.schema.transforms[t]).forEach((function(e){T(r,i.schema.transforms[t][e],e)}))})),{attributes:_(r)}}(t)})),{defs:{valObjects:g,metaKeys:m.concat(["description","role","editType","impliedEdits"]),editType:{traces:u.traces,layout:u.layout},impliedEdits:{}},traces:t,layout:x(),transforms:e,frames:b(),animation:_(l),config:_(c)}},r.crawl=function(t,e,n,i){var a=n||0;i=i||"",Object.keys(t).forEach((function(n){var o=t[n];if(-1===m.indexOf(n)){var s=(i?i+".":"")+n;e(o,n,t,a,s),r.isValObject(o)||h(o)&&"impliedEdits"!==n&&r.crawl(o,e,a+1,s)}}))},r.isValObject=function(t){return t&&void 0!==t.valType},r.findArrayAttributes=function(t){var e,n,i=[],o=[],s=[];function l(t,r,a,l){o=o.slice(0,l).concat([r]),s=s.slice(0,l).concat([t&&t._isLinkedToArray]),t&&("data_array"===t.valType||!0===t.arrayOk)&&!("colorbar"===o[l-1]&&("ticktext"===r||"tickvals"===r))&&function t(e,r,a){var l=e[o[r]],c=a+o[r];if(r===o.length-1)p(l)&&i.push(n+c);else if(s[r]){if(Array.isArray(l))for(var u=0;u<l.length;u++)h(l[u])&&t(l[u],r+1,c+"["+u+"].")}else h(l)&&t(l,r+1,c+".")}(e,0,"")}e=t,n="",r.crawl(a,l),t._module&&t._module.attributes&&r.crawl(t._module.attributes,l);var c=t.transforms;if(c)for(var u=0;u<c.length;u++){var f=c[u],d=f._module;d&&(n="transforms["+u+"].",e=f,r.crawl(d.attributes,l))}return i},r.getTraceValObject=function(t,e){var r,i,o=e[0],s=1;if("transforms"===o){if(1===e.length)return a.transforms;var l=t.transforms;if(!Array.isArray(l)||!l.length)return!1;var c=e[1];if(!y(c)||c>=l.length)return!1;i=(r=(n.transformsRegistry[l[c].type]||{}).attributes)&&r[e[2]],s=3}else{var u=t._module;if(u||(u=(n.modules[t.type||a.type.dflt]||{})._module),!u)return!1;if(!(i=(r=u.attributes)&&r[o])){var f=u.basePlotModule;f&&f.attributes&&(i=f.attributes[o])}i||(i=a[o])}return v(i,e,s)},r.getLayoutValObject=function(t,e){return v(function(t,e){var r,i,a,s,l=t._basePlotModules;if(l){var c;for(r=0;r<l.length;r++){if((a=l[r]).attrRegex&&a.attrRegex.test(e)){if(a.layoutAttrOverrides)return a.layoutAttrOverrides;!c&&a.layoutAttributes&&(c=a.layoutAttributes)}var u=a.baseLayoutAttrOverrides;if(u&&e in u)return u[e]}if(c)return c}var f=t._modules;if(f)for(r=0;r<f.length;r++)if((s=f[r].layoutAttributes)&&e in s)return s[e];for(i in n.componentsRegistry){if("colorscale"===(a=n.componentsRegistry[i]).name&&0===e.indexOf("coloraxis"))return a.layoutAttributes[e];if(!a.schema&&e===a.name)return a.layoutAttributes}return e in o&&o[e]}(t,e[0]),e,1)}},{"../lib":503,"../plots/animation_attributes":548,"../plots/attributes":550,"../plots/frame_attributes":586,"../plots/layout_attributes":610,"../registry":638,"./edit_types":536,"./plot_config":541}],543:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plots/attributes"),a={name:{valType:"string",editType:"none"}};function o(t){return t&&"string"==typeof t}function s(t){var e=t.length-1;return"s"!==t.charAt(e)&&n.warn("bad argument to arrayDefaultKey: "+t),t.substr(0,t.length-1)+"defaults"}a.templateitemname={valType:"string",editType:"calc"},r.templatedArray=function(t,e){return e._isLinkedToArray=t,e.name=a.name,e.templateitemname=a.templateitemname,e},r.traceTemplater=function(t){var e,r,a={};for(e in t)r=t[e],Array.isArray(r)&&r.length&&(a[e]=0);return{newTrace:function(o){var s={type:e=n.coerce(o,{},i,"type"),_template:null};if(e in a){r=t[e];var l=a[e]%r.length;a[e]++,s._template=r[l]}return s}}},r.newContainer=function(t,e,r){var i=t._template,a=i&&(i[e]||r&&i[r]);return n.isPlainObject(a)||(a=null),t[e]={_template:a}},r.arrayTemplater=function(t,e,r){var n=t._template,i=n&&n[s(e)],a=n&&n[e];Array.isArray(a)&&a.length||(a=[]);var l={};return{newItem:function(t){var e={name:t.name,_input:t},n=e.templateitemname=t.templateitemname;if(!o(n))return e._template=i,e;for(var s=0;s<a.length;s++){var c=a[s];if(c.name===n)return l[n]=1,e._template=c,e}return e[r]=t[r]||!1,e._template=!1,e},defaultItems:function(){for(var t=[],e=0;e<a.length;e++){var r=a[e],n=r.name;if(o(n)&&!l[n]){var i={_template:r,name:n,_input:{_templateitemname:n}};i.templateitemname=r.templateitemname,t.push(i),l[n]=1}}return t}}},r.arrayDefaultKey=s,r.arrayEditor=function(t,e,r){var i=(n.nestedProperty(t,e).get()||[]).length,a=r._index,o=a>=i&&(r._input||{})._templateitemname;o&&(a=i);var s,l=e+"["+a+"]";function c(){s={},o&&(s[l]={},s[l].templateitemname=o)}function u(t,e){o?n.nestedProperty(s[l],t).set(e):s[l+"."+t]=e}function f(){var t=s;return c(),t}return c(),{modifyBase:function(t,e){s[t]=e},modifyItem:u,getUpdateObj:f,applyUpdate:function(e,r){e&&u(e,r);var i=f();for(var a in i)n.nestedProperty(t,a).set(i[a])}}}},{"../lib":503,"../plots/attributes":550}],544:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../registry"),a=t("../plots/plots"),o=t("../lib"),s=t("../lib/clear_gl_canvases"),l=t("../components/color"),c=t("../components/drawing"),u=t("../components/titles"),f=t("../components/modebar"),h=t("../plots/cartesian/axes"),p=t("../constants/alignment"),d=t("../plots/cartesian/constraints"),g=d.enforce,m=d.clean,v=t("../plots/cartesian/autorange").doAutoRange;function y(t,e,r){for(var n=0;n<r.length;n++){var i=r[n][0],a=r[n][1];if(!(i[0]>=t[1]||i[1]<=t[0])&&(a[0]<e[1]&&a[1]>e[0]))return!0}return!1}function x(t){var e,i,s,u,d,g,m=t._fullLayout,v=m._size,x=v.p,_=h.list(t,"",!0);if(m._paperdiv.style({width:t._context.responsive&&m.autosize&&!t._context._hasZeroWidth&&!t.layout.width?"100%":m.width+"px",height:t._context.responsive&&m.autosize&&!t._context._hasZeroHeight&&!t.layout.height?"100%":m.height+"px"}).selectAll(".main-svg").call(c.setSize,m.width,m.height),t._context.setBackground(t,m.paper_bgcolor),r.drawMainTitle(t),f.manage(t),!m._has("cartesian"))return a.previousPromises(t);function T(t,e,r){var n=t._lw/2;return"x"===t._id.charAt(0)?e?"top"===r?e._offset-x-n:e._offset+e._length+x+n:v.t+v.h*(1-(t.position||0))+n%1:e?"right"===r?e._offset+e._length+x+n:e._offset-x-n:v.l+v.w*(t.position||0)+n%1}for(e=0;e<_.length;e++){var k=(u=_[e])._anchorAxis;u._linepositions={},u._lw=c.crispRound(t,u.linewidth,1),u._mainLinePosition=T(u,k,u.side),u._mainMirrorPosition=u.mirror&&k?T(u,k,p.OPPOSITE_SIDE[u.side]):null}var A=[],M=[],S=[],E=1===l.opacity(m.paper_bgcolor)&&1===l.opacity(m.plot_bgcolor)&&m.paper_bgcolor===m.plot_bgcolor;for(i in m._plots)if((s=m._plots[i]).mainplot)s.bg&&s.bg.remove(),s.bg=void 0;else{var L=s.xaxis.domain,C=s.yaxis.domain,P=s.plotgroup;if(y(L,C,S)){var I=P.node(),O=s.bg=o.ensureSingle(P,"rect","bg");I.insertBefore(O.node(),I.childNodes[0]),M.push(i)}else P.select("rect.bg").remove(),S.push([L,C]),E||(A.push(i),M.push(i))}var z,D,R,F,B,N,j,U,V,H,q,G,Y,W=m._bgLayer.selectAll(".bg").data(A);for(W.enter().append("rect").classed("bg",!0),W.exit().remove(),W.each((function(t){m._plots[t].bg=n.select(this)})),e=0;e<M.length;e++)s=m._plots[M[e]],d=s.xaxis,g=s.yaxis,s.bg&&void 0!==d._offset&&void 0!==g._offset&&s.bg.call(c.setRect,d._offset-x,g._offset-x,d._length+2*x,g._length+2*x).call(l.fill,m.plot_bgcolor).style("stroke-width",0);if(!m._hasOnlyLargeSploms)for(i in m._plots){s=m._plots[i],d=s.xaxis,g=s.yaxis;var X,Z,J=s.clipId="clip"+m._uid+i+"plot",K=o.ensureSingleById(m._clips,"clipPath",J,(function(t){t.classed("plotclip",!0).append("rect")}));s.clipRect=K.select("rect").attr({width:d._length,height:g._length}),c.setTranslate(s.plot,d._offset,g._offset),s._hasClipOnAxisFalse?(X=null,Z=J):(X=J,Z=null),c.setClipUrl(s.plot,X,t),s.layerClipId=Z}function Q(t){return"M"+z+","+t+"H"+D}function $(t){return"M"+d._offset+","+t+"h"+d._length}function tt(t){return"M"+t+","+U+"V"+j}function et(t){return"M"+t+","+g._offset+"v"+g._length}function rt(t,e,r){if(!t.showline||i!==t._mainSubplot)return"";if(!t._anchorAxis)return r(t._mainLinePosition);var n=e(t._mainLinePosition);return t.mirror&&(n+=e(t._mainMirrorPosition)),n}for(i in m._plots){s=m._plots[i],d=s.xaxis,g=s.yaxis;var nt="M0,0";b(d,i)&&(B=w(d,"left",g,_),z=d._offset-(B?x+B:0),N=w(d,"right",g,_),D=d._offset+d._length+(N?x+N:0),R=T(d,g,"bottom"),F=T(d,g,"top"),!(Y=!d._anchorAxis||i!==d._mainSubplot)||"allticks"!==d.mirror&&"all"!==d.mirror||(d._linepositions[i]=[R,F]),nt=rt(d,Q,$),Y&&d.showline&&("all"===d.mirror||"allticks"===d.mirror)&&(nt+=Q(R)+Q(F)),s.xlines.style("stroke-width",d._lw+"px").call(l.stroke,d.showline?d.linecolor:"rgba(0,0,0,0)")),s.xlines.attr("d",nt);var it="M0,0";b(g,i)&&(q=w(g,"bottom",d,_),j=g._offset+g._length+(q?x:0),G=w(g,"top",d,_),U=g._offset-(G?x:0),V=T(g,d,"left"),H=T(g,d,"right"),!(Y=!g._anchorAxis||i!==g._mainSubplot)||"allticks"!==g.mirror&&"all"!==g.mirror||(g._linepositions[i]=[V,H]),it=rt(g,tt,et),Y&&g.showline&&("all"===g.mirror||"allticks"===g.mirror)&&(it+=tt(V)+tt(H)),s.ylines.style("stroke-width",g._lw+"px").call(l.stroke,g.showline?g.linecolor:"rgba(0,0,0,0)")),s.ylines.attr("d",it)}return h.makeClipPaths(t),a.previousPromises(t)}function b(t,e){return(t.ticks||t.showline)&&(e===t._mainSubplot||"all"===t.mirror||"allticks"===t.mirror)}function _(t,e,r){if(!r.showline||!r._lw)return!1;if("all"===r.mirror||"allticks"===r.mirror)return!0;var n=r._anchorAxis;if(!n)return!1;var i=p.FROM_BL[e];return r.side===e?n.domain[i]===t.domain[i]:r.mirror&&n.domain[1-i]===t.domain[1-i]}function w(t,e,r,n){if(_(t,e,r))return r._lw;for(var i=0;i<n.length;i++){var a=n[i];if(a._mainAxis===r._mainAxis&&_(t,e,a))return a._lw}return 0}function T(t,e){var r=t.title,n=t._size,i=0;switch("start"===e?i=r.pad.l:"end"===e&&(i=-r.pad.r),r.xref){case"paper":return n.l+n.w*r.x+i;case"container":default:return t.width*r.x+i}}function k(t,e){var r=t.title,n=t._size,i=0;if("0em"!==e&&e?e===p.CAP_SHIFT+"em"&&(i=r.pad.t):i=-r.pad.b,"auto"===r.y)return n.t/2;switch(r.yref){case"paper":return n.t+n.h-n.h*r.y+i;case"container":default:return t.height-t.height*r.y+i}}r.layoutStyles=function(t){return o.syncOrAsync([a.doAutoMargin,x],t)},r.drawMainTitle=function(t){var e=t._fullLayout,r=function(t){var e=t.title,r="middle";o.isRightAnchor(e)?r="end":o.isLeftAnchor(e)&&(r="start");return r}(e),n=function(t){var e=t.title,r="0em";o.isTopAnchor(e)?r=p.CAP_SHIFT+"em":o.isMiddleAnchor(e)&&(r=p.MID_SHIFT+"em");return r}(e);u.draw(t,"gtitle",{propContainer:e,propName:"title.text",placeholder:e._dfltTitle.plot,attributes:{x:T(e,r),y:k(e,n),"text-anchor":r,dy:n}})},r.doTraceStyle=function(t){var e,n=t.calcdata,o=[];for(e=0;e<n.length;e++){var l=n[e],c=l[0]||{},u=c.trace||{},f=u._module||{},h=f.arraysToCalcdata;h&&h(l,u);var p=f.editStyle;p&&o.push({fn:p,cd0:c})}if(o.length){for(e=0;e<o.length;e++){var d=o[e];d.fn(t,d.cd0)}s(t),r.redrawReglTraces(t)}return a.style(t),i.getComponentMethod("legend","draw")(t),a.previousPromises(t)},r.doColorBars=function(t){return i.getComponentMethod("colorbar","draw")(t),a.previousPromises(t)},r.layoutReplot=function(t){var e=t.layout;return t.layout=void 0,i.call("_doPlot",t,"",e)},r.doLegend=function(t){return i.getComponentMethod("legend","draw")(t),a.previousPromises(t)},r.doTicksRelayout=function(t){return h.draw(t,"redraw"),t._fullLayout._hasOnlyLargeSploms&&(i.subplotsRegistry.splom.updateGrid(t),s(t),r.redrawReglTraces(t)),r.drawMainTitle(t),a.previousPromises(t)},r.doModeBar=function(t){var e=t._fullLayout;f.manage(t);for(var r=0;r<e._basePlotModules.length;r++){var n=e._basePlotModules[r].updateFx;n&&n(t)}return a.previousPromises(t)},r.doCamera=function(t){for(var e=t._fullLayout,r=e._subplots.gl3d,n=0;n<r.length;n++){var i=e[r[n]];i._scene.setViewport(i)}},r.drawData=function(t){var e=t._fullLayout;s(t);for(var n=e._basePlotModules,o=0;o<n.length;o++)n[o].plot(t);return r.redrawReglTraces(t),a.style(t),i.getComponentMethod("shapes","draw")(t),i.getComponentMethod("annotations","draw")(t),i.getComponentMethod("images","draw")(t),e._replotting=!1,a.previousPromises(t)},r.redrawReglTraces=function(t){var e=t._fullLayout;if(e._has("regl")){var r,n,i=t._fullData,a=[],s=[];for(e._hasOnlyLargeSploms&&e._splomGrid.draw(),r=0;r<i.length;r++){var l=i[r];!0===l.visible&&0!==l._length&&("splom"===l.type?e._splomScenes[l.uid].draw():"scattergl"===l.type?o.pushUnique(a,l.xaxis+l.yaxis):"scatterpolargl"===l.type&&o.pushUnique(s,l.subplot))}for(r=0;r<a.length;r++)(n=e._plots[a[r]])._scene&&n._scene.draw();for(r=0;r<s.length;r++)(n=e[s[r]]._subplot)._scene&&n._scene.draw()}},r.doAutoRangeAndConstraints=function(t){for(var e,r=h.list(t,"",!0),n={},i=0;i<r.length;i++)if(!n[(e=r[i])._id]){n[e._id]=1,m(t,e),v(t,e);var a=e._matchGroup;if(a)for(var o in a){var s=h.getFromId(t,o);v(t,s,e.range),n[o]=1}}g(t)},r.finalDraw=function(t){i.getComponentMethod("rangeslider","draw")(t),i.getComponentMethod("rangeselector","draw")(t)},r.drawMarginPushers=function(t){i.getComponentMethod("legend","draw")(t),i.getComponentMethod("rangeselector","draw")(t),i.getComponentMethod("sliders","draw")(t),i.getComponentMethod("updatemenus","draw")(t),i.getComponentMethod("colorbar","draw")(t)}},{"../components/color":366,"../components/drawing":388,"../components/modebar":429,"../components/titles":464,"../constants/alignment":471,"../lib":503,"../lib/clear_gl_canvases":487,"../plots/cartesian/autorange":553,"../plots/cartesian/axes":554,"../plots/cartesian/constraints":562,"../plots/plots":619,"../registry":638,"@plotly/d3":58}],545:[function(t,e,r){"use strict";var n=t("../lib"),i=n.isPlainObject,a=t("./plot_schema"),o=t("../plots/plots"),s=t("../plots/attributes"),l=t("./plot_template"),c=t("./plot_config").dfltConfig;function u(t,e){t=n.extendDeep({},t);var r,a,o=Object.keys(t).sort();function s(e,r,n){if(i(r)&&i(e))u(e,r);else if(Array.isArray(r)&&Array.isArray(e)){var o=l.arrayTemplater({_template:t},n);for(a=0;a<r.length;a++){var s=r[a],c=o.newItem(s)._template;c&&u(c,s)}var f=o.defaultItems();for(a=0;a<f.length;a++)r.push(f[a]._template);for(a=0;a<r.length;a++)delete r[a].templateitemname}}for(r=0;r<o.length;r++){var c=o[r],h=t[c];if(c in e?s(h,e[c],c):e[c]=h,f(c)===c)for(var p in e){var d=f(p);p===d||d!==c||p in t||s(h,e[p],c)}}}function f(t){return t.replace(/[0-9]+$/,"")}function h(t,e,r,a,o){var s=o&&r(o);for(var c in t){var u=t[c],p=g(t,c,a),d=g(t,c,o),m=r(d);if(!m){var v=f(c);v!==c&&(m=r(d=g(t,v,o)))}if((!s||s!==m)&&!(!m||m._noTemplating||"data_array"===m.valType||m.arrayOk&&Array.isArray(u)))if(!m.valType&&i(u))h(u,e,r,p,d);else if(m._isLinkedToArray&&Array.isArray(u))for(var y=!1,x=0,b={},_=0;_<u.length;_++){var w=u[_];if(i(w)){var T=w.name;if(T)b[T]||(h(w,e,r,g(u,x,p),g(u,x,d)),x++,b[T]=1);else if(!y){var k=g(t,l.arrayDefaultKey(c),a),A=g(u,x,p);h(w,e,r,A,g(u,x,d));var M=n.nestedProperty(e,A);n.nestedProperty(e,k).set(M.get()),M.set(null),y=!0}}}else{n.nestedProperty(e,p).set(u)}}}function p(t,e){return a.getLayoutValObject(t,n.nestedProperty({},e).parts)}function d(t,e){return a.getTraceValObject(t,n.nestedProperty({},e).parts)}function g(t,e,r){return r?Array.isArray(t)?r+"["+e+"]":r+"."+e:e}function m(t){for(var e=0;e<t.length;e++)if(i(t[e]))return!0}function v(t){var e;switch(t.code){case"data":e="The template has no key data.";break;case"layout":e="The template has no key layout.";break;case"missing":e=t.path?"There are no templates for item "+t.path+" with name "+t.templateitemname:"There are no templates for trace "+t.index+", of type "+t.traceType+".";break;case"unused":e=t.path?"The template item at "+t.path+" was not used in constructing the plot.":t.dataCount?"Some of the templates of type "+t.traceType+" were not used. The template has "+t.templateCount+" traces, the data only has "+t.dataCount+" of this type.":"The template has "+t.templateCount+" traces of type "+t.traceType+" but there are none in the data.";break;case"reused":e="Some of the templates of type "+t.traceType+" were used more than once. The template has "+t.templateCount+" traces, the data has "+t.dataCount+" of this type."}return t.msg=e,t}r.makeTemplate=function(t){t=n.isPlainObject(t)?t:n.getGraphDiv(t),t=n.extendDeep({_context:c},{data:t.data,layout:t.layout}),o.supplyDefaults(t);var e=t.data||[],r=t.layout||{};r._basePlotModules=t._fullLayout._basePlotModules,r._modules=t._fullLayout._modules;var a={data:{},layout:{}};e.forEach((function(t){var e={};h(t,e,d.bind(null,t));var r=n.coerce(t,{},s,"type"),i=a.data[r];i||(i=a.data[r]=[]),i.push(e)})),h(r,a.layout,p.bind(null,r)),delete a.layout.template;var l=r.template;if(i(l)){var f,g,m,v,y,x,b=l.layout;i(b)&&u(b,a.layout);var _=l.data;if(i(_)){for(g in a.data)if(m=_[g],Array.isArray(m)){for(x=(y=a.data[g]).length,v=m.length,f=0;f<x;f++)u(m[f%v],y[f]);for(f=x;f<v;f++)y.push(n.extendDeep({},m[f]))}for(g in _)g in a.data||(a.data[g]=n.extendDeep([],_[g]))}}return a},r.validateTemplate=function(t,e){var r=n.extendDeep({},{_context:c,data:t.data,layout:t.layout}),a=r.layout||{};i(e)||(e=a.template||{});var s=e.layout,l=e.data,u=[];r.layout=a,r.layout.template=e,o.supplyDefaults(r);var h=r._fullLayout,p=r._fullData,d={};if(i(s)?(!function t(e,r){for(var n in e)if("_"!==n.charAt(0)&&i(e[n])){var a,o=f(n),s=[];for(a=0;a<r.length;a++)s.push(g(e,n,r[a])),o!==n&&s.push(g(e,o,r[a]));for(a=0;a<s.length;a++)d[s[a]]=1;t(e[n],s)}}(h,["layout"]),function t(e,r){for(var n in e)if(-1===n.indexOf("defaults")&&i(e[n])){var a=g(e,n,r);d[a]?t(e[n],a):u.push({code:"unused",path:a})}}(s,"layout")):u.push({code:"layout"}),i(l)){for(var y,x={},b=0;b<p.length;b++){var _=p[b];x[y=_.type]=(x[y]||0)+1,_._fullInput._template||u.push({code:"missing",index:_._fullInput.index,traceType:y})}for(y in l){var w=l[y].length,T=x[y]||0;w>T?u.push({code:"unused",traceType:y,templateCount:w,dataCount:T}):T>w&&u.push({code:"reused",traceType:y,templateCount:w,dataCount:T})}}else u.push({code:"data"});if(function t(e,r){for(var n in e)if("_"!==n.charAt(0)){var a=e[n],o=g(e,n,r);i(a)?(Array.isArray(e)&&!1===a._template&&a.templateitemname&&u.push({code:"missing",path:o,templateitemname:a.templateitemname}),t(a,o)):Array.isArray(a)&&m(a)&&t(a,o)}}({data:p,layout:h},""),u.length)return u.map(v)}},{"../lib":503,"../plots/attributes":550,"../plots/plots":619,"./plot_config":541,"./plot_schema":542,"./plot_template":543}],546:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("./plot_api"),a=t("../plots/plots"),o=t("../lib"),s=t("../snapshot/helpers"),l=t("../snapshot/tosvg"),c=t("../snapshot/svgtoimg"),u=t("../version").version,f={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};e.exports=function(t,e){var r,h,p,d;function g(t){return!(t in e)||o.validate(e[t],f[t])}if(e=e||{},o.isPlainObject(t)?(r=t.data||[],h=t.layout||{},p=t.config||{},d={}):(t=o.getGraphDiv(t),r=o.extendDeep([],t.data),h=o.extendDeep({},t.layout),p=t._context,d=t._fullLayout||{}),!g("width")&&null!==e.width||!g("height")&&null!==e.height)throw new Error("Height and width should be pixel values.");if(!g("format"))throw new Error("Export format is not "+o.join2(f.format.values,", "," or ")+".");var m={};function v(t,r){return o.coerce(e,m,f,t,r)}var y=v("format"),x=v("width"),b=v("height"),_=v("scale"),w=v("setBackground"),T=v("imageDataOnly"),k=document.createElement("div");k.style.position="absolute",k.style.left="-5000px",document.body.appendChild(k);var A=o.extendFlat({},h);x?A.width=x:null===e.width&&n(d.width)&&(A.width=d.width),b?A.height=b:null===e.height&&n(d.height)&&(A.height=d.height);var M=o.extendFlat({},p,{_exportedPlot:!0,staticPlot:!0,setBackground:w}),S=s.getRedrawFunc(k);function E(){return new Promise((function(t){setTimeout(t,s.getDelay(k._fullLayout))}))}function L(){return new Promise((function(t,e){var r=l(k,y,_),n=k._fullLayout.width,f=k._fullLayout.height;function h(){i.purge(k),document.body.removeChild(k)}if("full-json"===y){var p=a.graphJson(k,!1,"keepdata","object",!0,!0);return p.version=u,p=JSON.stringify(p),h(),t(T?p:s.encodeJSON(p))}if(h(),"svg"===y)return t(T?r:s.encodeSVG(r));var d=document.createElement("canvas");d.id=o.randstr(),c({format:y,width:n,height:f,scale:_,canvas:d,svg:r,promise:!0}).then(t).catch(e)}))}return new Promise((function(t,e){i.newPlot(k,r,A,M).then(S).then(E).then(L).then((function(e){t(function(t){return T?t.replace(s.IMAGE_URL_PREFIX,""):t}(e))})).catch((function(t){e(t)}))}))}},{"../lib":503,"../plots/plots":619,"../snapshot/helpers":642,"../snapshot/svgtoimg":644,"../snapshot/tosvg":646,"../version":1119,"./plot_api":540,"fast-isnumeric":190}],547:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plots/plots"),a=t("./plot_schema"),o=t("./plot_config").dfltConfig,s=n.isPlainObject,l=Array.isArray,c=n.isArrayOrTypedArray;function u(t,e,r,i,a,o){o=o||[];for(var f=Object.keys(t),h=0;h<f.length;h++){var p=f[h];if("transforms"!==p){var v=o.slice();v.push(p);var y=t[p],x=e[p],b=m(r,p),_=(b||{}).valType,w="info_array"===_,T="colorscale"===_,k=(b||{}).items;if(g(r,p))if(s(y)&&s(x)&&"any"!==_)u(y,x,b,i,a,v);else if(w&&l(y)){y.length>x.length&&i.push(d("unused",a,v.concat(x.length)));var A,M,S,E,L,C=x.length,P=Array.isArray(k);if(P&&(C=Math.min(C,k.length)),2===b.dimensions)for(M=0;M<C;M++)if(l(y[M])){y[M].length>x[M].length&&i.push(d("unused",a,v.concat(M,x[M].length)));var I=x[M].length;for(A=0;A<(P?Math.min(I,k[M].length):I);A++)S=P?k[M][A]:k,E=y[M][A],L=x[M][A],n.validate(E,S)?L!==E&&L!==+E&&i.push(d("dynamic",a,v.concat(M,A),E,L)):i.push(d("value",a,v.concat(M,A),E))}else i.push(d("array",a,v.concat(M),y[M]));else for(M=0;M<C;M++)S=P?k[M]:k,E=y[M],L=x[M],n.validate(E,S)?L!==E&&L!==+E&&i.push(d("dynamic",a,v.concat(M),E,L)):i.push(d("value",a,v.concat(M),E))}else if(b.items&&!w&&l(y)){var O,z,D=k[Object.keys(k)[0]],R=[];for(O=0;O<x.length;O++){var F=x[O]._index||O;if((z=v.slice()).push(F),s(y[F])&&s(x[O])){R.push(F);var B=y[F],N=x[O];s(B)&&!1!==B.visible&&!1===N.visible?i.push(d("invisible",a,z)):u(B,N,D,i,a,z)}}for(O=0;O<y.length;O++)(z=v.slice()).push(O),s(y[O])?-1===R.indexOf(O)&&i.push(d("unused",a,z)):i.push(d("object",a,z,y[O]))}else!s(y)&&s(x)?i.push(d("object",a,v,y)):c(y)||!c(x)||w||T?p in e?n.validate(y,b)?"enumerated"===b.valType&&(b.coerceNumber&&y!==+x||y!==x)&&i.push(d("dynamic",a,v,y,x)):i.push(d("value",a,v,y)):i.push(d("unused",a,v,y)):i.push(d("array",a,v,y));else i.push(d("schema",a,v))}}return i}function f(t,e){for(var r=t.layout.layoutAttributes,i=0;i<e.length;i++){var a=e[i],o=t.traces[a.type],s=o.layoutAttributes;s&&(a.subplot?n.extendFlat(r[o.attributes.subplot.dflt],s):n.extendFlat(r,s))}return r}e.exports=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={});var r,c,h=a.get(),p=[],g={_context:n.extendFlat({},o)};l(t)?(g.data=n.extendDeep([],t),r=t):(g.data=[],r=[],p.push(d("array","data"))),s(e)?(g.layout=n.extendDeep({},e),c=e):(g.layout={},c={},arguments.length>1&&p.push(d("object","layout"))),i.supplyDefaults(g);for(var m=g._fullData,v=r.length,y=0;y<v;y++){var x=r[y],b=["data",y];if(s(x)){var _=m[y],w=_.type,T=h.traces[w].attributes;T.type={valType:"enumerated",values:[w]},!1===_.visible&&!1!==x.visible&&p.push(d("invisible",b)),u(x,_,T,p,b);var k=x.transforms,A=_.transforms;if(k){l(k)||p.push(d("array",b,["transforms"])),b.push("transforms");for(var M=0;M<k.length;M++){var S=["transforms",M],E=k[M].type;if(s(k[M])){var L=h.transforms[E]?h.transforms[E].attributes:{};L.type={valType:"enumerated",values:Object.keys(h.transforms)},u(k[M],A[M],L,p,b,S)}else p.push(d("object",b,S))}}}else p.push(d("object",b))}var C=g._fullLayout,P=f(h,m);return u(c,C,P,p,"layout"),0===p.length?void 0:p};var h={object:function(t,e){return("layout"===t&&""===e?"The layout argument":"data"===t[0]&&""===e?"Trace "+t[1]+" in the data argument":p(t)+"key "+e)+" must be linked to an object container"},array:function(t,e){return("data"===t?"The data argument":p(t)+"key "+e)+" must be linked to an array container"},schema:function(t,e){return p(t)+"key "+e+" is not part of the schema"},unused:function(t,e,r){var n=s(r)?"container":"key";return p(t)+n+" "+e+" did not get coerced"},dynamic:function(t,e,r,n){return[p(t)+"key",e,"(set to '"+r+"')","got reset to","'"+n+"'","during defaults."].join(" ")},invisible:function(t,e){return(e?p(t)+"item "+e:"Trace "+t[1])+" got defaulted to be not visible"},value:function(t,e,r){return[p(t)+"key "+e,"is set to an invalid value ("+r+")"].join(" ")}};function p(t){return l(t)?"In data trace "+t[1]+", ":"In "+t+", "}function d(t,e,r,i,a){var o,s;r=r||"",l(e)?(o=e[0],s=e[1]):(o=e,s=null);var c=function(t){if(!l(t))return String(t);for(var e="",r=0;r<t.length;r++){var n=t[r];"number"==typeof n?e=e.substr(0,e.length-1)+"["+n+"]":e+=n,r<t.length-1&&(e+=".")}return e}(r),u=h[t](e,c,i,a);return n.log(u),{code:t,container:o,trace:s,path:r,astr:c,msg:u}}function g(t,e){var r=y(e),n=r.keyMinusId,i=r.id;return!!(n in t&&t[n]._isSubplotObj&&i)||e in t}function m(t,e){return e in t?t[e]:t[y(e).keyMinusId]}var v=n.counterRegex("([a-z]+)");function y(t){var e=t.match(v);return{keyMinusId:e&&e[1],id:e&&e[2]}}},{"../lib":503,"../plots/plots":619,"./plot_config":541,"./plot_schema":542}],548:[function(t,e,r){"use strict";e.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"]},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward"},fromcurrent:{valType:"boolean",dflt:!1},frame:{duration:{valType:"number",min:0,dflt:500},redraw:{valType:"boolean",dflt:!0}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none"},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none"}}}},{}],549:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plot_api/plot_template");e.exports=function(t,e,r){var a,o,s=r.name,l=r.inclusionAttr||"visible",c=e[s],u=n.isArrayOrTypedArray(t[s])?t[s]:[],f=e[s]=[],h=i.arrayTemplater(e,s,l);for(a=0;a<u.length;a++){var p=u[a];n.isPlainObject(p)?o=h.newItem(p):(o=h.newItem({}))[l]=!1,o._index=a,!1!==o[l]&&r.handleItemDefaults(p,o,e,r),f.push(o)}var d=h.defaultItems();for(a=0;a<d.length;a++)(o=d[a])._index=f.length,r.handleItemDefaults({},o,e,r,{}),f.push(o);if(n.isArrayOrTypedArray(c)){var g=Math.min(c.length,f.length);for(a=0;a<g;a++)n.relinkPrivateKeys(f[a],c[a])}return f}},{"../lib":503,"../plot_api/plot_template":543}],550:[function(t,e,r){"use strict";var n=t("./font_attributes"),i=t("../components/fx/attributes");e.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc"},showlegend:{valType:"boolean",dflt:!0,editType:"style"},legendgroup:{valType:"string",dflt:"",editType:"style"},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style"},font:n({editType:"style"}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style"},name:{valType:"string",editType:"style"},uid:{valType:"string",editType:"plot",anim:!0},ids:{valType:"data_array",editType:"calc",anim:!0},customdata:{valType:"data_array",editType:"calc"},meta:{valType:"any",arrayOk:!0,editType:"plot"},selectedpoints:{valType:"any",editType:"calc"},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none"},hoverlabel:i.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc"},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc"},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc"},uirevision:{valType:"any",editType:"none"}}},{"../components/fx/attributes":397,"./font_attributes":585}],551:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=i.dateTime2ms,o=i.incrementMonth,s=t("../../constants/numerical").ONEAVGMONTH;e.exports=function(t,e,r,i){if("date"!==e.type)return{vals:i};var l=t[r+"periodalignment"];if(!l)return{vals:i};var c,u=t[r+"period"];if(n(u)){if((u=+u)<=0)return{vals:i}}else if("string"==typeof u&&"M"===u.charAt(0)){var f=+u.substring(1);if(!(f>0&&Math.round(f)===f))return{vals:i};c=f}for(var h=e.calendar,p="start"===l,d="end"===l,g=t[r+"period0"],m=a(g,h)||0,v=[],y=[],x=[],b=i.length,_=0;_<b;_++){var w,T,k,A=i[_];if(c){for(w=Math.round((A-m)/(c*s)),k=o(m,c*w,h);k>A;)k=o(k,-c,h);for(;k<=A;)k=o(k,c,h);T=o(k,-c,h)}else{for(k=m+(w=Math.round((A-m)/u))*u;k>A;)k-=u;for(;k<=A;)k+=u;T=k-u}v[_]=p?T:d?k:(T+k)/2,y[_]=T,x[_]=k}return{vals:v,starts:y,ends:x}}},{"../../constants/numerical":479,"../../lib":503,"fast-isnumeric":190}],552:[function(t,e,r){"use strict";e.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},{}],553:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../lib"),o=t("../../constants/numerical").FP_SAFE,s=t("../../registry"),l=t("../../components/drawing"),c=t("./axis_ids"),u=c.getFromId,f=c.isLinked;function h(t,e){var r,n,i=[],o=t._fullLayout,s=d(o,e,0),l=d(o,e,1),c=g(t,e),u=c.min,f=c.max;if(0===u.length||0===f.length)return a.simpleMap(e.range,e.r2l);var h=u[0].val,m=f[0].val;for(r=1;r<u.length&&h===m;r++)h=Math.min(h,u[r].val);for(r=1;r<f.length&&h===m;r++)m=Math.max(m,f[r].val);var v=!1;if(e.range){var y=a.simpleMap(e.range,e.r2l);v=y[1]<y[0]}"reversed"===e.autorange&&(v=!0,e.autorange=!0);var x,b,_,w,T,k,A=e.rangemode,M="tozero"===A,S="nonnegative"===A,E=e._length,L=E/10,C=0;for(r=0;r<u.length;r++)for(x=u[r],n=0;n<f.length;n++)(k=(b=f[n]).val-x.val-p(e,x.val,b.val))>0&&((T=E-s(x)-l(b))>L?k/T>C&&(_=x,w=b,C=k/T):k/E>C&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},C=k/E));if(h===m){var P=h-1,I=h+1;if(M)if(0===h)i=[0,1];else{var O=(h>0?f:u).reduce((function(t,e){return Math.max(t,l(e))}),0),z=h/(1-Math.min(.5,O/E));i=h>0?[0,z]:[z,0]}else i=S?[Math.max(0,P),Math.max(1,I)]:[P,I]}else M?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-C*s(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),C=(w.val-_.val-p(e,x.val,b.val))/(E-s(_)-l(w)),i=[_.val-C*s(_),w.val+C*l(w)];return v&&i.reverse(),a.simpleMap(i,e.l2r||Number)}function p(t,e,r){var n=0;if(t.rangebreaks)for(var i=t.locateBreaks(e,r),a=0;a<i.length;a++){var o=i[a];n+=o.max-o.min}return n}function d(t,e,r){var i=.05*e._length,o=e._anchorAxis||{};if(-1!==(e.ticklabelposition||"").indexOf("inside")||-1!==(o.ticklabelposition||"").indexOf("inside")){var s="reversed"===e.autorange;if(!s){var c=a.simpleMap(e.range,e.r2l);s=c[1]<c[0]}s&&(r=!r)}var u=0;return f(t,e._id)||(u=function(t,e,r){var i=0,o="x"===e._id.charAt(0);for(var s in t._plots){var c=t._plots[s];if(e._id===c.xaxis._id||e._id===c.yaxis._id){var u=(o?c.yaxis:c.xaxis)||{};if(-1!==(u.ticklabelposition||"").indexOf("inside")&&(!r&&("left"===u.side||"bottom"===u.side)||r&&("top"===u.side||"right"===u.side))){if(u._vals){var f=a.deg2rad(u._tickAngles[u._id+"tick"]||0),h=Math.abs(Math.cos(f)),p=Math.abs(Math.sin(f));if(!u._vals[0].bb){var d=u._id+"tick";u._selections[d].each((function(t){var e=n.select(this);e.select(".text-math-group").empty()&&(t.bb=l.bBox(e.node()))}))}for(var g=0;g<u._vals.length;g++){var m=u._vals[g].bb;if(m){var v=6+m.width,y=6+m.height;i=Math.max(i,o?Math.max(v*h,y*p):Math.max(y*h,v*p))}}}"inside"===u.ticks&&"inside"===u.ticklabelposition&&(i+=u.ticklen||0)}}}return i}(t,e,r)),i=Math.max(u,i),"domain"===e.constrain&&e._inputDomain&&(i*=(e._inputDomain[1]-e._inputDomain[0])/(e.domain[1]-e.domain[0])),function(t){return t.nopad?0:t.pad+(t.extrapad?i:u)}}e.exports={getAutoRange:h,makePadFn:d,doAutoRange:function(t,e,r){if(e.setScale(),e.autorange){e.range=r?r.slice():h(t,e),e._r=e.range.slice(),e._rl=a.simpleMap(e._r,e.r2l);var n=e._input,i={};i[e._attr+".range"]=e.range,i[e._attr+".autorange"]=e.autorange,s.call("_storeDirectGUIEdit",t.layout,t._fullLayout._preGUI,i),n.range=e.range.slice(),n.autorange=e.autorange}var o=e._anchorAxis;if(o&&o.rangeslider){var l=o.rangeslider[e._name];l&&"auto"===l.rangemode&&(l.range=h(t,e)),o._input.rangeslider[e._name]=a.extendFlat({},l)}},findExtremes:function(t,e,r){r||(r={});t._m||t.setScale();var n,a,s,l,c,u,f,h,p,d=[],g=[],y=e.length,b=r.padded||!1,_=r.tozero&&("linear"===t.type||"-"===t.type),w="log"===t.type,T=!1,k=r.vpadLinearized||!1;function A(t){if(Array.isArray(t))return T=!0,function(e){return Math.max(Number(t[e]||0),0)};var e=Math.max(Number(t||0),0);return function(){return e}}var M=A((t._m>0?r.ppadplus:r.ppadminus)||r.ppad||0),S=A((t._m>0?r.ppadminus:r.ppadplus)||r.ppad||0),E=A(r.vpadplus||r.vpad),L=A(r.vpadminus||r.vpad);if(!T){if(h=1/0,p=-1/0,w)for(n=0;n<y;n++)(a=e[n])<h&&a>0&&(h=a),a>p&&a<o&&(p=a);else for(n=0;n<y;n++)(a=e[n])<h&&a>-o&&(h=a),a>p&&a<o&&(p=a);e=[h,p],y=2}var C={tozero:_,extrapad:b};function P(r){s=e[r],i(s)&&(u=M(r),f=S(r),k?(l=t.c2l(s)-L(r),c=t.c2l(s)+E(r)):(h=s-L(r),p=s+E(r),w&&h<p/10&&(h=p/10),l=t.c2l(h),c=t.c2l(p)),_&&(l=Math.min(0,l),c=Math.max(0,c)),x(l)&&m(d,l,f,C),x(c)&&v(g,c,u,C))}var I=Math.min(6,y);for(n=0;n<I;n++)P(n);for(n=y-1;n>=I;n--)P(n);return{min:d,max:g,opts:r}},concatExtremes:g};function g(t,e,r){var n,i,a,o=e._id,s=t._fullData,l=t._fullLayout,c=[],f=[];function h(t,e){for(n=0;n<e.length;n++){var r=t[e[n]],s=(r._extremes||{})[o];if(!0===r.visible&&s){for(i=0;i<s.min.length;i++)a=s.min[i],m(c,a.val,a.pad,{extrapad:a.extrapad});for(i=0;i<s.max.length;i++)a=s.max[i],v(f,a.val,a.pad,{extrapad:a.extrapad})}}}if(h(s,e._traceIndices),h(l.annotations||[],e._annIndices||[]),h(l.shapes||[],e._shapeIndices||[]),e._matchGroup&&!r)for(var p in e._matchGroup)if(p!==e._id){var d=u(t,p),y=g(t,d,!0),x=e._length/d._length;for(i=0;i<y.min.length;i++)a=y.min[i],m(c,a.val,a.pad*x,{extrapad:a.extrapad});for(i=0;i<y.max.length;i++)a=y.max[i],v(f,a.val,a.pad*x,{extrapad:a.extrapad})}return{min:c,max:f}}function m(t,e,r,n){y(t,e,r,n,b)}function v(t,e,r,n){y(t,e,r,n,_)}function y(t,e,r,n,i){for(var a=n.tozero,o=n.extrapad,s=!0,l=0;l<t.length&&s;l++){var c=t[l];if(i(c.val,e)&&c.pad>=r&&(c.extrapad||!o)){s=!1;break}i(e,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(t.splice(l,1),l--)}if(s){var u=a&&0===e;t.push({val:e,pad:u?0:r,extrapad:!u&&o})}}function x(t){return i(t)&&Math.abs(t)<o}function b(t,e){return t<=e}function _(t,e){return t>=e}},{"../../components/drawing":388,"../../constants/numerical":479,"../../lib":503,"../../registry":638,"./axis_ids":558,"@plotly/d3":58,"fast-isnumeric":190}],554:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../plots/plots"),o=t("../../registry"),s=t("../../lib"),l=s.strTranslate,c=t("../../lib/svg_text_utils"),u=t("../../components/titles"),f=t("../../components/color"),h=t("../../components/drawing"),p=t("./layout_attributes"),d=t("./clean_ticks"),g=t("../../constants/numerical"),m=g.ONEMAXYEAR,v=g.ONEAVGYEAR,y=g.ONEMINYEAR,x=g.ONEMAXQUARTER,b=g.ONEAVGQUARTER,_=g.ONEMINQUARTER,w=g.ONEMAXMONTH,T=g.ONEAVGMONTH,k=g.ONEMINMONTH,A=g.ONEWEEK,M=g.ONEDAY,S=M/2,E=g.ONEHOUR,L=g.ONEMIN,C=g.ONESEC,P=g.MINUS_SIGN,I=g.BADNUM,O={K:"zeroline"},z={K:"gridline",L:"path"},D={K:"tick",L:"path"},R={K:"tick",L:"text"},F=t("../../constants/alignment"),B=F.MID_SHIFT,N=F.CAP_SHIFT,j=F.LINE_SPACING,U=F.OPPOSITE_SIDE,V=e.exports={};V.setConvert=t("./set_convert");var H=t("./axis_autotype"),q=t("./axis_ids"),G=q.idSort,Y=q.isLinked;V.id2name=q.id2name,V.name2id=q.name2id,V.cleanId=q.cleanId,V.list=q.list,V.listIds=q.listIds,V.getFromId=q.getFromId,V.getFromTrace=q.getFromTrace;var W=t("./autorange");V.getAutoRange=W.getAutoRange,V.findExtremes=W.findExtremes;function X(t){var e=1e-4*(t[1]-t[0]);return[t[0]-e,t[1]+e]}V.coerceRef=function(t,e,r,n,i,a){var o=n.charAt(n.length-1),l=r._fullLayout._subplots[o+"axis"],c=n+"ref",u={};return i||(i=l[0]||("string"==typeof a?a:a[0])),a||(a=i),l=l.concat(l.map((function(t){return t+" domain"}))),u[c]={valType:"enumerated",values:l.concat(a?"string"==typeof a?[a]:a:[]),dflt:i},s.coerce(t,e,u,c)},V.getRefType=function(t){return void 0===t?t:"paper"===t?"paper":"pixel"===t?"pixel":/( domain)$/.test(t)?"domain":"range"},V.coercePosition=function(t,e,r,n,i,a){var o,l;if("range"!==V.getRefType(n))o=s.ensureNumber,l=r(i,a);else{var c=V.getFromId(e,n);l=r(i,a=c.fraction2r(a)),o=c.cleanPos}t[i]=o(l)},V.cleanPosition=function(t,e,r){return("paper"===r||"pixel"===r?s.ensureNumber:V.getFromId(e,r).cleanPos)(t)},V.redrawComponents=function(t,e){e=e||V.listIds(t);var r=t._fullLayout;function n(n,i,a,s){for(var l=o.getComponentMethod(n,i),c={},u=0;u<e.length;u++)for(var f=r[V.id2name(e[u])][a],h=0;h<f.length;h++){var p=f[h];if(!c[p]&&(l(t,p),c[p]=1,s))return}}n("annotations","drawOne","_annIndices"),n("shapes","drawOne","_shapeIndices"),n("images","draw","_imgIndices",!0)};var Z=V.getDataConversions=function(t,e,r,n){var i,a="x"===r||"y"===r||"z"===r?r:n;if(Array.isArray(a)){if(i={type:H(n,void 0,{autotypenumbers:t._fullLayout.autotypenumbers}),_categories:[]},V.setConvert(i),"category"===i.type)for(var o=0;o<n.length;o++)i.d2c(n[o])}else i=V.getFromTrace(t,e,a);return i?{d2c:i.d2c,c2d:i.c2d}:"ids"===a?{d2c:K,c2d:K}:{d2c:J,c2d:J}};function J(t){return+t}function K(t){return String(t)}function Q(t){return+t.substring(1)}V.getDataToCoordFunc=function(t,e,r,n){return Z(t,e,r,n).d2c},V.counterLetter=function(t){var e=t.charAt(0);return"x"===e?"y":"y"===e?"x":void 0},V.minDtick=function(t,e,r,n){-1===["log","category","multicategory"].indexOf(t.type)&&n?void 0===t._minDtick?(t._minDtick=e,t._forceTick0=r):t._minDtick&&((t._minDtick/e+1e-6)%1<2e-6&&((r-t._forceTick0)/e%1+1.000001)%1<2e-6?(t._minDtick=e,t._forceTick0=r):((e/t._minDtick+1e-6)%1>2e-6||((r-t._forceTick0)/t._minDtick%1+1.000001)%1>2e-6)&&(t._minDtick=0)):t._minDtick=0},V.saveRangeInitial=function(t,e){for(var r=V.list(t,"",!0),n=!1,i=0;i<r.length;i++){var a=r[i],o=void 0===a._rangeInitial,s=o||!(a.range[0]===a._rangeInitial[0]&&a.range[1]===a._rangeInitial[1]);(o&&!1===a.autorange||e&&s)&&(a._rangeInitial=a.range.slice(),n=!0)}return n},V.saveShowSpikeInitial=function(t,e){for(var r=V.list(t,"",!0),n=!1,i="on",a=0;a<r.length;a++){var o=r[a],s=void 0===o._showSpikeInitial,l=s||!(o.showspikes===o._showspikes);(s||e&&l)&&(o._showSpikeInitial=o.showspikes,n=!0),"on"!==i||o.showspikes||(i="off")}return t._fullLayout._cartesianSpikesEnabled=i,n},V.autoBin=function(t,e,r,n,a,o){var l,c=s.aggNums(Math.min,null,t),u=s.aggNums(Math.max,null,t);if("category"===e.type||"multicategory"===e.type)return{start:c-.5,end:u+.5,size:Math.max(1,Math.round(o)||1),_dataSpan:u-c};if(a||(a=e.calendar),l="log"===e.type?{type:"linear",range:[c,u]}:{type:e.type,range:s.simpleMap([c,u],e.c2r,0,a),calendar:a},V.setConvert(l),o=o&&d.dtick(o,l.type))l.dtick=o,l.tick0=d.tick0(void 0,l.type,a);else{var f;if(r)f=(u-c)/r;else{var h=s.distinctVals(t),p=Math.pow(10,Math.floor(Math.log(h.minDiff)/Math.LN10)),g=p*s.roundUp(h.minDiff/p,[.9,1.9,4.9,9.9],!0);f=Math.max(g,2*s.stdev(t)/Math.pow(t.length,n?.25:.4)),i(f)||(f=1)}V.autoTicks(l,f)}var m,v=l.dtick,y=V.tickIncrement(V.tickFirst(l),v,"reverse",a);if("number"==typeof v)m=(y=function(t,e,r,n,a){var o=0,s=0,l=0,c=0;function u(e){return(1+100*(e-t)/r.dtick)%100<2}for(var f=0;f<e.length;f++)e[f]%1==0?l++:i(e[f])||c++,u(e[f])&&o++,u(e[f]+r.dtick/2)&&s++;var h=e.length-c;if(l===h&&"date"!==r.type)r.dtick<1?t=n-.5*r.dtick:(t-=.5)+r.dtick<n&&(t+=r.dtick);else if(s<.1*h&&(o>.3*h||u(n)||u(a))){var p=r.dtick/2;t+=t+p<n?p:-p}return t}(y,t,l,c,u))+(1+Math.floor((u-y)/v))*v;else for("M"===l.dtick.charAt(0)&&(y=function(t,e,r,n,i){var a=s.findExactDates(e,i);if(a.exactDays>.8){var o=Number(r.substr(1));a.exactYears>.8&&o%12==0?t=V.tickIncrement(t,"M6","reverse")+1.5*M:a.exactMonths>.8?t=V.tickIncrement(t,"M1","reverse")+15.5*M:t-=S;var l=V.tickIncrement(t,r);if(l<=n)return l}return t}(y,t,v,c,a)),m=y,0;m<=u;)m=V.tickIncrement(m,v,!1,a);return{start:e.c2r(y,0,a),end:e.c2r(m,0,a),size:v,_dataSpan:u-c}},V.prepTicks=function(t,e){var r=s.simpleMap(t.range,t.r2l,void 0,void 0,e);if(t._dtickInit=t.dtick,t._tick0Init=t.tick0,"auto"===t.tickmode||!t.dtick){var n,a=t.nticks;a||("category"===t.type||"multicategory"===t.type?(n=t.tickfont?s.bigFont(t.tickfont.size||12):15,a=t._length/n):(n="y"===t._id.charAt(0)?40:80,a=s.constrain(t._length/n,4,9)+1),"radialaxis"===t._name&&(a*=2)),"array"===t.tickmode&&(a*=100),t._roughDTick=Math.abs(r[1]-r[0])/a,V.autoTicks(t,t._roughDTick),t._minDtick>0&&t.dtick<2*t._minDtick&&(t.dtick=t._minDtick,t.tick0=t.l2r(t._forceTick0))}"period"===t.ticklabelmode&&function(t){var e;function r(){return!(i(t.dtick)||"M"!==t.dtick.charAt(0))}var n=r(),a=V.getTickFormat(t);if(a){var o=t._dtickInit!==t.dtick;/%[fLQsSMX]/.test(a)||(/%[HI]/.test(a)?(e=E,o&&!n&&t.dtick<E&&(t.dtick=E)):/%p/.test(a)?(e=S,o&&!n&&t.dtick<S&&(t.dtick=S)):/%[Aadejuwx]/.test(a)?(e=M,o&&!n&&t.dtick<M&&(t.dtick=M)):/%[UVW]/.test(a)?(e=A,o&&!n&&t.dtick<A&&(t.dtick=A)):/%[Bbm]/.test(a)?(e=T,o&&(n?Q(t.dtick)<1:t.dtick<k)&&(t.dtick="M1")):/%[q]/.test(a)?(e=b,o&&(n?Q(t.dtick)<3:t.dtick<_)&&(t.dtick="M3")):/%[Yy]/.test(a)&&(e=v,o&&(n?Q(t.dtick)<12:t.dtick<y)&&(t.dtick="M12")))}(n=r())&&t.tick0===t._dowTick0&&(t.tick0=t._rawTick0);t._definedDelta=e}(t),t.tick0||(t.tick0="date"===t.type?"2000-01-01":0),"date"===t.type&&t.dtick<.1&&(t.dtick=.1),st(t)},V.calcTicks=function(t,e){V.prepTicks(t,e);var r=s.simpleMap(t.range,t.r2l,void 0,void 0,e);if("array"===t.tickmode)return function(t){var e=t.tickvals,r=t.ticktext,n=new Array(e.length),i=X(s.simpleMap(t.range,t.r2l)),a=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]),l=0;Array.isArray(r)||(r=[]);var c="category"===t.type?t.d2l_noadd:t.d2l;"log"===t.type&&"L"!==String(t.dtick).charAt(0)&&(t.dtick="L"+Math.pow(10,Math.floor(Math.min(t.range[0],t.range[1]))-1));for(var u=0;u<e.length;u++){var f=c(e[u]);f>a&&f<o&&(void 0===r[u]?n[l]=V.tickText(t,f):n[l]=lt(t,f,String(r[u])),l++)}l<e.length&&n.splice(l,e.length-l);t.rangebreaks&&(n=n.filter((function(e){return t.maskBreaks(e.x)!==I})));return n}(t);var n=X(r),a=n[0],o=n[1],l=r[1]<r[0],c=Math.min(r[0],r[1]),u=Math.max(r[0],r[1]),f=i(t.dtick),h="log"===t.type&&!(f||"L"===t.dtick.charAt(0)),p="period"===t.ticklabelmode;if(t._tmin=V.tickFirst(t,e),t._tmin<a!==l)return[];"category"!==t.type&&"multicategory"!==t.type||(o=l?Math.max(-.5,o):Math.min(t._categories.length-.5,o));var d=t._tmin;t.rangebreaks&&t._tick0Init!==t.tick0&&(d=Mt(d,t),l||(d=V.tickIncrement(d,t.dtick,!l,t.calendar))),p&&(d=V.tickIncrement(d,t.dtick,!l,t.calendar));var g,L=t.ticklabelstep,C=Math.max(1e3,t._length||0),P=[],O=null;f?g=t.dtick:"date"===t.type?"string"==typeof t.dtick&&"M"===t.dtick.charAt(0)&&(g=T*t.dtick.substring(1)):g=t._roughDTick;for(var z,D,R=Math.round((t.r2l(d)-t.r2l(t.tick0))/g)-1;l?d>=o:d<=o;d=V.tickIncrement(d,t.dtick,l,t.calendar)){if(R++,t.rangebreaks&&!l){if(d<a)continue;if(t.maskBreaks(d)===I&&Mt(d,t)>=u)break}if(P.length>C||d===O)break;O=d;var F=!1;h&&d!==(0|d)&&(F=!0);var B={minor:F,value:d};L>1&&R%L&&(B.skipLabel=!0),P.push(B)}if(p&&function(t,e,r){for(var n=0;n<t.length;n++){var i=t[n].value,a=n,o=n+1;n<t.length-1?(a=n,o=n+1):n>0?(a=n-1,o=n):(a=n,o=n);var s,l=t[a].value,c=t[o].value,u=Math.abs(c-l),f=r||u,h=0;f>=y?h=u>=y&&u<=m?u:v:r===b&&f>=_?h=u>=_&&u<=x?u:b:f>=k?h=u>=k&&u<=w?u:T:r===A&&f>=A?h=A:f>=M?h=M:r===S&&f>=S?h=S:r===E&&f>=E&&(h=E),h>=u&&(h=u,s=!0);var p=i+h;if(e.rangebreaks&&h>0){for(var d=0,g=0;g<84;g++){var L=(g+.5)/84;e.maskBreaks(i*(1-L)+L*p)!==I&&d++}(h*=d/84)||(t[n].drop=!0),s&&u>A&&(h=u)}(h>0||0===n)&&(t[n].periodX=i+h/2)}}(P,t,t._definedDelta),t.rangebreaks){var N="y"===t._id.charAt(0),j=1;"auto"===t.tickmode&&(j=t.tickfont?t.tickfont.size:12);var U=NaN;for(z=P.length-1;z>-1;z--)if(P[z].drop)P.splice(z,1);else{P[z].value=Mt(P[z].value,t);var H=t.c2p(P[z].value);(N?U>H-j:U<H+j)?P.splice(l?z+1:z,1):U=H}}At(t)&&360===Math.abs(r[1]-r[0])&&P.pop(),t._tmax=(P[P.length-1]||{}).value,t._prevDateHead="",t._inCalcTicks=!0;var q,G,Y=function(e){e.text=" ",t._prevDateHead=D},W=[];for(z=0;z<P.length;z++){var Z=P[z].minor,J=P[z].value;D=t._prevDateHead,q=V.tickText(t,J,!1,Z),void 0!==(G=P[z].periodX)&&(q.periodX=G,(G>u||G<c)&&(G>u&&(q.periodX=u),G<c&&(q.periodX=c),Y(q))),P[z].skipLabel&&Y(q),W.push(q)}return t._inCalcTicks=!1,W};var $=[2,5,10],tt=[1,2,3,6,12],et=[1,2,5,10,15,30],rt=[1,2,3,7,14],nt=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],it=[-.301,0,.301,.699,1],at=[15,30,45,90,180];function ot(t,e,r){return e*s.roundUp(t/e,r)}function st(t){var e=t.dtick;if(t._tickexponent=0,i(e)||"string"==typeof e||(e=1),"category"!==t.type&&"multicategory"!==t.type||(t._tickround=null),"date"===t.type){var r=t.r2l(t.tick0),n=t.l2r(r).replace(/(^-|i)/g,""),a=n.length;if("M"===String(e).charAt(0))a>10||"01-01"!==n.substr(5)?t._tickround="d":t._tickround=+e.substr(1)%12==0?"y":"m";else if(e>=M&&a<=10||e>=15*M)t._tickround="d";else if(e>=L&&a<=16||e>=E)t._tickround="M";else if(e>=C&&a<=19||e>=L)t._tickround="S";else{var o=t.l2r(r+e).replace(/^-/,"").length;t._tickround=Math.max(a,o)-20,t._tickround<0&&(t._tickround=4)}}else if(i(e)||"L"===e.charAt(0)){var s=t.range.map(t.r2d||Number);i(e)||(e=Number(e.substr(1))),t._tickround=2-Math.floor(Math.log(e)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),c=Math.floor(Math.log(l)/Math.LN10+.01),u=void 0===t.minexponent?3:t.minexponent;Math.abs(c)>u&&(ut(t.exponentformat)&&!ft(c)?t._tickexponent=3*Math.round((c-1)/3):t._tickexponent=c)}else t._tickround=null}function lt(t,e,r){var n=t.tickfont||{};return{x:e,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}V.autoTicks=function(t,e){var r;function n(t){return Math.pow(t,Math.floor(Math.log(e)/Math.LN10))}if("date"===t.type){t.tick0=s.dateTick0(t.calendar,0);var a=2*e;if(a>v)e/=v,r=n(10),t.dtick="M"+12*ot(e,r,$);else if(a>T)e/=T,t.dtick="M"+ot(e,1,tt);else if(a>M){t.dtick=ot(e,M,t._hasDayOfWeekBreaks?[1,2,7,14]:rt);var o=V.getTickFormat(t),l="period"===t.ticklabelmode;l&&(t._rawTick0=t.tick0),/%[uVW]/.test(o)?t.tick0=s.dateTick0(t.calendar,2):t.tick0=s.dateTick0(t.calendar,1),l&&(t._dowTick0=t.tick0)}else a>E?t.dtick=ot(e,E,tt):a>L?t.dtick=ot(e,L,et):a>C?t.dtick=ot(e,C,et):(r=n(10),t.dtick=ot(e,r,$))}else if("log"===t.type){t.tick0=0;var c=s.simpleMap(t.range,t.r2l);if(e>.7)t.dtick=Math.ceil(e);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/e);e=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=n(10),t.dtick="L"+ot(e,r,$)}else t.dtick=e>.3?"D2":"D1"}else"category"===t.type||"multicategory"===t.type?(t.tick0=0,t.dtick=Math.ceil(Math.max(e,1))):At(t)?(t.tick0=0,r=1,t.dtick=ot(e,r,at)):(t.tick0=0,r=n(10),t.dtick=ot(e,r,$));if(0===t.dtick&&(t.dtick=1),!i(t.dtick)&&"string"!=typeof t.dtick){var f=t.dtick;throw t.dtick=1,"ax.dtick error: "+String(f)}},V.tickIncrement=function(t,e,r,a){var o=r?-1:1;if(i(e))return s.increment(t,o*e);var l=e.charAt(0),c=o*Number(e.substr(1));if("M"===l)return s.incrementMonth(t,c,a);if("L"===l)return Math.log(Math.pow(10,t)+c)/Math.LN10;if("D"===l){var u="D2"===e?it:nt,f=t+.01*o,h=s.roundUp(s.mod(f,1),u,r);return Math.floor(f)+Math.log(n.round(Math.pow(10,h),1))/Math.LN10}throw"unrecognized dtick "+String(e)},V.tickFirst=function(t,e){var r=t.r2l||Number,a=s.simpleMap(t.range,r,void 0,void 0,e),o=a[1]<a[0],l=o?Math.floor:Math.ceil,c=X(a)[0],u=t.dtick,f=r(t.tick0);if(i(u)){var h=l((c-f)/u)*u+f;return"category"!==t.type&&"multicategory"!==t.type||(h=s.constrain(h,0,t._categories.length-1)),h}var p=u.charAt(0),d=Number(u.substr(1));if("M"===p){for(var g,m,v,y=0,x=f;y<10;){if(((g=V.tickIncrement(x,u,o,t.calendar))-c)*(x-c)<=0)return o?Math.min(x,g):Math.max(x,g);m=(c-(x+g)/2)/(g-x),v=p+(Math.abs(Math.round(m))||1)*d,x=V.tickIncrement(x,v,m<0?!o:o,t.calendar),y++}return s.error("tickFirst did not converge",t),x}if("L"===p)return Math.log(l((Math.pow(10,c)-f)/d)*d+f)/Math.LN10;if("D"===p){var b="D2"===u?it:nt,_=s.roundUp(s.mod(c,1),b,o);return Math.floor(c)+Math.log(n.round(Math.pow(10,_),1))/Math.LN10}throw"unrecognized dtick "+String(u)},V.tickText=function(t,e,r,n){var a,o=lt(t,e),l="array"===t.tickmode,c=r||l,u=t.type,f="category"===u?t.d2l_noadd:t.d2l;if(l&&Array.isArray(t.ticktext)){var h=s.simpleMap(t.range,t.r2l),p=(Math.abs(h[1]-h[0])-(t._lBreaks||0))/1e4;for(a=0;a<t.ticktext.length&&!(Math.abs(e-f(t.tickvals[a]))<p);a++);if(a<t.ticktext.length)return o.text=String(t.ticktext[a]),o}function d(n){if(void 0===n)return!0;if(r)return"none"===n;var i={first:t._tmin,last:t._tmax}[n];return"all"!==n&&e!==i}var g=r?"never":"none"!==t.exponentformat&&d(t.showexponent)?"hide":"";if("date"===u?function(t,e,r,n){var a=t._tickround,o=r&&t.hoverformat||V.getTickFormat(t);n&&(a=i(a)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[a]);var l,c=s.formatDate(e.x,o,a,t._dateFormat,t.calendar,t._extraFormat),u=c.indexOf("\n");-1!==u&&(l=c.substr(u+1),c=c.substr(0,u));n&&("00:00:00"===c||"00:00"===c?(c=l,l=""):8===c.length&&(c=c.replace(/:00$/,"")));if(l)if(r)"d"===a?c+=", "+l:c=l+(c?", "+c:"");else if(t._inCalcTicks&&t._prevDateHead===l){var f=St(t),h=t._trueSide||t.side;(!f&&"top"===h||f&&"bottom"===h)&&(c+="<br> ")}else t._prevDateHead=l,c+="<br>"+l;e.text=c}(t,o,r,c):"log"===u?function(t,e,r,n,a){var o=t.dtick,l=e.x,c=t.tickformat,u="string"==typeof o&&o.charAt(0);"never"===a&&(a="");n&&"L"!==u&&(o="L3",u="L");if(c||"L"===u)e.text=ht(Math.pow(10,l),t,a,n);else if(i(o)||"D"===u&&s.mod(l+.01,1)<.1){var f=Math.round(l),h=Math.abs(f),p=t.exponentformat;"power"===p||ut(p)&&ft(f)?(e.text=0===f?1:1===f?"10":"10<sup>"+(f>1?"":P)+h+"</sup>",e.fontSize*=1.25):("e"===p||"E"===p)&&h>2?e.text="1"+p+(f>0?"+":P)+h:(e.text=ht(Math.pow(10,l),t,"","fakehover"),"D1"===o&&"y"===t._id.charAt(0)&&(e.dy-=e.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(o);e.text=String(Math.round(Math.pow(10,s.mod(l,1)))),e.fontSize*=.75}if("D1"===t.dtick){var d=String(e.text).charAt(0);"0"!==d&&"1"!==d||("y"===t._id.charAt(0)?e.dx-=e.fontSize/4:(e.dy+=e.fontSize/2,e.dx+=(t.range[1]>t.range[0]?1:-1)*e.fontSize*(l<0?.5:.25)))}}(t,o,0,c,g):"category"===u?function(t,e){var r=t._categories[Math.round(e.x)];void 0===r&&(r="");e.text=String(r)}(t,o):"multicategory"===u?function(t,e,r){var n=Math.round(e.x),i=t._categories[n]||[],a=void 0===i[1]?"":String(i[1]),o=void 0===i[0]?"":String(i[0]);r?e.text=o+" - "+a:(e.text=a,e.text2=o)}(t,o,r):At(t)?function(t,e,r,n,i){if("radians"!==t.thetaunit||r)e.text=ht(e.x,t,i,n);else{var a=e.x/180;if(0===a)e.text="0";else{var o=function(t){function e(t,e){return Math.abs(t-e)<=1e-6}var r=function(t){for(var r=1;!e(Math.round(t*r)/r,t);)r*=10;return r}(t),n=t*r,i=Math.abs(function t(r,n){return e(n,0)?r:t(n,r%n)}(n,r));return[Math.round(n/i),Math.round(r/i)]}(a);if(o[1]>=100)e.text=ht(s.deg2rad(e.x),t,i,n);else{var l=e.x<0;1===o[1]?1===o[0]?e.text="\u03c0":e.text=o[0]+"\u03c0":e.text=["<sup>",o[0],"</sup>","\u2044","<sub>",o[1],"</sub>","\u03c0"].join(""),l&&(e.text=P+e.text)}}}}(t,o,r,c,g):function(t,e,r,n,i){"never"===i?i="":"all"===t.showexponent&&Math.abs(e.x/t.dtick)<1e-6&&(i="hide");e.text=ht(e.x,t,i,n)}(t,o,0,c,g),n||(t.tickprefix&&!d(t.showtickprefix)&&(o.text=t.tickprefix+o.text),t.ticksuffix&&!d(t.showticksuffix)&&(o.text+=t.ticksuffix)),"boundaries"===t.tickson||t.showdividers){var m=function(e){var r=t.l2p(e);return r>=0&&r<=t._length?e:null};o.xbnd=[m(o.x-.5),m(o.x+t.dtick-.5)]}return o},V.hoverLabelText=function(t,e,r){r&&(t=s.extendFlat({},t,{hoverformat:r}));var n=Array.isArray(e)?e[0]:e,i=Array.isArray(e)?e[1]:void 0;if(void 0!==i&&i!==n)return V.hoverLabelText(t,n,r)+" - "+V.hoverLabelText(t,i,r);var a="log"===t.type&&n<=0,o=V.tickText(t,t.c2l(a?-n:n),"hover").text;return a?0===n?"0":P+o:o};var ct=["f","p","n","\u03bc","m","","k","M","G","T"];function ut(t){return"SI"===t||"B"===t}function ft(t){return t>14||t<-15}function ht(t,e,r,n){var a=t<0,o=e._tickround,l=r||e.exponentformat||"B",c=e._tickexponent,u=V.getTickFormat(e),f=e.separatethousands;if(n){var h={exponentformat:l,minexponent:e.minexponent,dtick:"none"===e.showexponent?e.dtick:i(t)&&Math.abs(t)||1,range:"none"===e.showexponent?e.range.map(e.r2d):[0,t||1]};st(h),o=(Number(h._tickround)||0)+4,c=h._tickexponent,e.hoverformat&&(u=e.hoverformat)}if(u)return e._numFormat(u)(t).replace(/-/g,P);var p,d=Math.pow(10,-o)/2;if("none"===l&&(c=0),(t=Math.abs(t))<d)t="0",a=!1;else{if(t+=d,c&&(t*=Math.pow(10,-c),o+=c),0===o)t=String(Math.floor(t));else if(o<0){t=(t=String(Math.round(t))).substr(0,t.length+o);for(var g=o;g<0;g++)t+="0"}else{var m=(t=String(t)).indexOf(".")+1;m&&(t=t.substr(0,m+o).replace(/\.?0+$/,""))}t=s.numSeparate(t,e._separators,f)}c&&"hide"!==l&&(ut(l)&&ft(c)&&(l="power"),p=c<0?P+-c:"power"!==l?"+"+c:String(c),"e"===l||"E"===l?t+=l+p:"power"===l?t+="\xd710<sup>"+p+"</sup>":"B"===l&&9===c?t+="B":ut(l)&&(t+=ct[c/3+5]));return a?P+t:t}function pt(t,e){for(var r=[],n={},i=0;i<e.length;i++){var a=e[i];n[a.text2]?n[a.text2].push(a.x):n[a.text2]=[a.x]}for(var o in n)r.push(lt(t,s.interp(n[o],.5),o));return r}function dt(t){return void 0!==t.periodX?t.periodX:t.x}function gt(t){return[t.text,t.x,t.axInfo,t.font,t.fontSize,t.fontColor].join("_")}function mt(t){var e=t.title.font.size,r=(t.title.text.match(c.BR_TAG_ALL)||[]).length;return t.title.hasOwnProperty("standoff")?r?e*(N+r*j):e*N:r?e*(r+1)*j:e}function vt(t,e){var r=t.l2p(e);return r>1&&r<t._length-1}function yt(t){var e=n.select(t),r=e.select(".text-math-group");return r.empty()?e.select("text"):r}function xt(t){return t._id+".automargin"}function bt(t){return xt(t)+".mirror"}function _t(t){return t._id+".rangeslider"}function wt(t,e){for(var r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r])}function Tt(t,e,r){var n,i,a=[],o=[],l=t.layout;for(n=0;n<e.length;n++)a.push(V.getFromId(t,e[n]));for(n=0;n<r.length;n++)o.push(V.getFromId(t,r[n]));var c=Object.keys(p),u=["anchor","domain","overlaying","position","side","tickangle","editType"],f=["linear","log"];for(n=0;n<c.length;n++){var h=c[n],d=a[0][h],g=o[0][h],m=!0,v=!1,y=!1;if("_"!==h.charAt(0)&&"function"!=typeof d&&-1===u.indexOf(h)){for(i=1;i<a.length&&m;i++){var x=a[i][h];"type"===h&&-1!==f.indexOf(d)&&-1!==f.indexOf(x)&&d!==x?v=!0:x!==d&&(m=!1)}for(i=1;i<o.length&&m;i++){var b=o[i][h];"type"===h&&-1!==f.indexOf(g)&&-1!==f.indexOf(b)&&g!==b?y=!0:o[i][h]!==g&&(m=!1)}m&&(v&&(l[a[0]._name].type="linear"),y&&(l[o[0]._name].type="linear"),kt(l,h,a,o,t._fullLayout._dfltTitle))}}for(n=0;n<t._fullLayout.annotations.length;n++){var _=t._fullLayout.annotations[n];-1!==e.indexOf(_.xref)&&-1!==r.indexOf(_.yref)&&s.swapAttrs(l.annotations[n],["?"])}}function kt(t,e,r,n,i){var a,o=s.nestedProperty,l=o(t[r[0]._name],e).get(),c=o(t[n[0]._name],e).get();for("title"===e&&(l&&l.text===i.x&&(l.text=i.y),c&&c.text===i.y&&(c.text=i.x)),a=0;a<r.length;a++)o(t,r[a]._name+"."+e).set(c);for(a=0;a<n.length;a++)o(t,n[a]._name+"."+e).set(l)}function At(t){return"angularaxis"===t._id}function Mt(t,e){for(var r=e._rangebreaks.length,n=0;n<r;n++){var i=e._rangebreaks[n];if(t>=i.min&&t<i.max)return i.max}return t}function St(t){return-1!==(t.ticklabelposition||"").indexOf("inside")}function Et(t,e){St(t._anchorAxis||{})&&t._hideCounterAxisInsideTickLabels&&t._hideCounterAxisInsideTickLabels(e)}V.getTickFormat=function(t){var e,r,n,i,a,o,s,l;function c(t){return"string"!=typeof t?t:Number(t.replace("M",""))*T}function u(t,e){var r=["L","D"];if(typeof t==typeof e){if("number"==typeof t)return t-e;var n=r.indexOf(t.charAt(0)),i=r.indexOf(e.charAt(0));return n===i?Number(t.replace(/(L|D)/g,""))-Number(e.replace(/(L|D)/g,"")):n-i}return"number"==typeof t?1:-1}function f(t,e){var r=null===e[0],n=null===e[1],i=u(t,e[0])>=0,a=u(t,e[1])<=0;return(r||i)&&(n||a)}if(t.tickformatstops&&t.tickformatstops.length>0)switch(t.type){case"date":case"linear":for(e=0;e<t.tickformatstops.length;e++)if((n=t.tickformatstops[e]).enabled&&(i=t.dtick,a=n.dtickrange,o=void 0,s=void 0,l=void 0,o=c||function(t){return t},s=a[0],l=a[1],(!s&&"number"!=typeof s||o(s)<=o(i))&&(!l&&"number"!=typeof l||o(l)>=o(i)))){r=n;break}break;case"log":for(e=0;e<t.tickformatstops.length;e++)if((n=t.tickformatstops[e]).enabled&&f(t.dtick,n.dtickrange)){r=n;break}}return r?r.value:t.tickformat},V.getSubplots=function(t,e){var r=t._fullLayout._subplots,n=r.cartesian.concat(r.gl2d||[]),i=e?V.findSubplotsWithAxis(n,e):n;return i.sort((function(t,e){var r=t.substr(1).split("y"),n=e.substr(1).split("y");return r[0]===n[0]?+r[1]-+n[1]:+r[0]-+n[0]})),i},V.findSubplotsWithAxis=function(t,e){for(var r=new RegExp("x"===e._id.charAt(0)?"^"+e._id+"y":e._id+"$"),n=[],i=0;i<t.length;i++){var a=t[i];r.test(a)&&n.push(a)}return n},V.makeClipPaths=function(t){var e=t._fullLayout;if(!e._hasOnlyLargeSploms){var r,i,a={_offset:0,_length:e.width,_id:""},o={_offset:0,_length:e.height,_id:""},s=V.list(t,"x",!0),l=V.list(t,"y",!0),c=[];for(r=0;r<s.length;r++)for(c.push({x:s[r],y:o}),i=0;i<l.length;i++)0===r&&c.push({x:a,y:l[i]}),c.push({x:s[r],y:l[i]});var u=e._clips.selectAll(".axesclip").data(c,(function(t){return t.x._id+t.y._id}));u.enter().append("clipPath").classed("axesclip",!0).attr("id",(function(t){return"clip"+e._uid+t.x._id+t.y._id})).append("rect"),u.exit().remove(),u.each((function(t){n.select(this).select("rect").attr({x:t.x._offset||0,y:t.y._offset||0,width:t.x._length||1,height:t.y._length||1})}))}},V.draw=function(t,e,r){var n=t._fullLayout;"redraw"===e&&n._paper.selectAll("g.subplot").each((function(t){var e=t[0],r=n._plots[e];if(r){var i=r.xaxis,a=r.yaxis;r.xaxislayer.selectAll("."+i._id+"tick").remove(),r.yaxislayer.selectAll("."+a._id+"tick").remove(),r.xaxislayer.selectAll("."+i._id+"tick2").remove(),r.yaxislayer.selectAll("."+a._id+"tick2").remove(),r.xaxislayer.selectAll("."+i._id+"divider").remove(),r.yaxislayer.selectAll("."+a._id+"divider").remove(),r.gridlayer&&r.gridlayer.selectAll("path").remove(),r.zerolinelayer&&r.zerolinelayer.selectAll("path").remove(),n._infolayer.select(".g-"+i._id+"title").remove(),n._infolayer.select(".g-"+a._id+"title").remove()}}));var i=e&&"redraw"!==e?e:V.listIds(t);return s.syncOrAsync(i.map((function(e){return function(){if(e){var n=V.getFromId(t,e),i=V.drawOne(t,n,r);return n._r=n.range.slice(),n._rl=s.simpleMap(n._r,n.r2l),i}}})))},V.drawOne=function(t,e,r){var n,i,l;r=r||{},e.setScale();var c=t._fullLayout,p=e._id,d=p.charAt(0),g=V.counterLetter(p),m=c._plots[e._mainSubplot];if(m){var v=m[d+"axislayer"],y=e._mainLinePosition,x=e._mainMirrorPosition,b=e._vals=V.calcTicks(e),_=[e.mirror,y,x].join("_");for(n=0;n<b.length;n++)b[n].axInfo=_;e._selections={},e._tickAngles&&(e._prevTickAngles=e._tickAngles),e._tickAngles={},e._depth=null;var w={};if(e.visible){var T,k,A=V.makeTransTickFn(e),M=V.makeTransTickLabelFn(e),S="inside"===e.ticks,E="outside"===e.ticks;if("boundaries"===e.tickson){var L=function(t,e){var r,n=[],i=function(t,e){var r=t.xbnd[e];null!==r&&n.push(s.extendFlat({},t,{x:r}))};if(e.length){for(r=0;r<e.length;r++)i(e[r],0);i(e[r-1],1)}return n}(0,b);k=V.clipEnds(e,L),T=S?k:L}else k=V.clipEnds(e,b),T=S&&"period"!==e.ticklabelmode?k:b;var C=e._gridVals=k,P=function(t,e){var r,n,i=[],a=e.length&&e[e.length-1].x<e[0].x,o=function(t,e){var r=t.xbnd[e];null!==r&&i.push(s.extendFlat({},t,{x:r}))};if(t.showdividers&&e.length){for(r=0;r<e.length;r++){var l=e[r];l.text2!==n&&o(l,a?1:0),n=l.text2}o(e[r-1],a?0:1)}return i}(e,b);if(!c._hasOnlyLargeSploms){var I=e._subplotsWith,O={};for(n=0;n<I.length;n++){i=I[n];var z=(l=c._plots[i])[g+"axis"],D=z._mainAxis._id;if(!O[D]){O[D]=1;var R="x"===d?"M0,"+z._offset+"v"+z._length:"M"+z._offset+",0h"+z._length;V.drawGrid(t,e,{vals:C,counterAxis:z,layer:l.gridlayer.select("."+p),path:R,transFn:A}),V.drawZeroLine(t,e,{counterAxis:z,layer:l.zerolinelayer,path:R,transFn:A})}}}var F=V.getTickSigns(e),B=[];if(e.ticks){var N,H,q,G=V.makeTickPath(e,y,F[2]);if(e._anchorAxis&&e.mirror&&!0!==e.mirror?(N=V.makeTickPath(e,x,F[3]),H=G+N):(N="",H=G),e.showdividers&&E&&"boundaries"===e.tickson){var Y={};for(n=0;n<P.length;n++)Y[P[n].x]=1;q=function(t){return Y[t.x]?N:H}}else q=H;V.drawTicks(t,e,{vals:T,layer:v,path:q,transFn:A}),"allticks"===e.mirror&&(B=Object.keys(e._linepositions||{}))}for(n=0;n<B.length;n++){i=B[n],l=c._plots[i];var W=e._linepositions[i]||[],X=V.makeTickPath(e,W[0],F[0])+V.makeTickPath(e,W[1],F[1]);V.drawTicks(t,e,{vals:T,layer:l[d+"axislayer"],path:X,transFn:A})}var Z=[];if(Z.push((function(){return V.drawLabels(t,e,{vals:b,layer:v,plotinfo:l,transFn:M,labelFns:V.makeLabelFns(e,y)})})),"multicategory"===e.type){var J={x:2,y:10}[d];Z.push((function(){var r={x:"height",y:"width"}[d],n=Q()[r]+J+(e._tickAngles[p+"tick"]?e.tickfont.size*j:0);return V.drawLabels(t,e,{vals:pt(e,b),layer:v,cls:p+"tick2",repositionOnUpdate:!0,secondary:!0,transFn:A,labelFns:V.makeLabelFns(e,y+n*F[4])})})),Z.push((function(){return e._depth=F[4]*(Q("tick2")[e.side]-y),function(t,e,r){var n=e._id+"divider",i=r.vals,a=r.layer.selectAll("path."+n).data(i,gt);a.exit().remove(),a.enter().insert("path",":first-child").classed(n,1).classed("crisp",1).call(f.stroke,e.dividercolor).style("stroke-width",h.crispRound(t,e.dividerwidth,1)+"px"),a.attr("transform",r.transFn).attr("d",r.path)}(t,e,{vals:P,layer:v,path:V.makeTickPath(e,y,F[4],e._depth),transFn:A})}))}else e.title.hasOwnProperty("standoff")&&Z.push((function(){e._depth=F[4]*(Q()[e.side]-y)}));var K=o.getComponentMethod("rangeslider","isVisible")(e);return Z.push((function(){var r,n,i,s,l=e.side.charAt(0),u=U[e.side].charAt(0),f=V.getPxPosition(t,e),h=E?e.ticklen:0;if((e.automargin||K)&&("multicategory"===e.type?r=Q("tick2"):(r=Q(),"x"===d&&"b"===l&&(e._depth=Math.max(r.width>0?r.bottom-f:0,h)))),e.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var p=[0,1];if("x"===d){if("b"===l?n[l]=e._depth:(n[l]=e._depth=Math.max(r.width>0?f-r.top:0,h),p.reverse()),r.width>0){var m=r.right-(e._offset+e._length);m>0&&(n.xr=1,n.r=m);var v=e._offset-r.left;v>0&&(n.xl=0,n.l=v)}}else if("l"===l?n[l]=e._depth=Math.max(r.height>0?f-r.left:0,h):(n[l]=e._depth=Math.max(r.height>0?r.right-f:0,h),p.reverse()),r.height>0){var y=r.bottom-(e._offset+e._length);y>0&&(n.yb=0,n.b=y);var x=e._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===e.anchor?e.position:e._anchorAxis.domain[p[0]],e.title.text!==c._dfltTitle[d]&&(n[l]+=mt(e)+(e.title.standoff||0)),e.mirror&&"free"!==e.anchor&&((i={x:0,y:0,r:0,l:0,t:0,b:0})[u]=e.linewidth,e.mirror&&!0!==e.mirror&&(i[u]+=h),!0===e.mirror||"ticks"===e.mirror?i[g]=e._anchorAxis.domain[p[1]]:"all"!==e.mirror&&"allticks"!==e.mirror||(i[g]=[e._counterDomainMin,e._counterDomainMax][p[1]]))}K&&(s=o.getComponentMethod("rangeslider","autoMarginOpts")(t,e)),a.autoMargin(t,xt(e),n),a.autoMargin(t,bt(e),i),a.autoMargin(t,_t(e),s)})),r.skipTitle||K&&"bottom"===e.side||Z.push((function(){return function(t,e){var r,n=t._fullLayout,i=e._id,a=i.charAt(0),o=e.title.font.size;if(e.title.hasOwnProperty("standoff"))r=e._depth+e.title.standoff+mt(e);else{var s=St(e);if("multicategory"===e.type)r=e._depth;else{var l=1.5*o;s&&(l=.5*o,"outside"===e.ticks&&(l+=e.ticklen)),r=10+l+(e.linewidth?e.linewidth-1:0)}s||(r+="x"===a?"top"===e.side?o*(e.showticklabels?1:0):o*(e.showticklabels?1.5:.5):"right"===e.side?o*(e.showticklabels?1:.5):o*(e.showticklabels?.5:0))}var c,f,p,d,g=V.getPxPosition(t,e);"x"===a?(f=e._offset+e._length/2,p="top"===e.side?g-r:g+r):(p=e._offset+e._length/2,f="right"===e.side?g+r:g-r,c={rotate:"-90",offset:0});if("multicategory"!==e.type){var m=e._selections[e._id+"tick"];if(d={selection:m,side:e.side},m&&m.node()&&m.node().parentNode){var v=h.getTranslate(m.node().parentNode);d.offsetLeft=v.x,d.offsetTop=v.y}e.title.hasOwnProperty("standoff")&&(d.pad=0)}return u.draw(t,i+"title",{propContainer:e,propName:e._name+".title.text",placeholder:n._dfltTitle[a],avoid:d,transform:c,attributes:{x:f,y:p,"text-anchor":"middle"}})}(t,e)})),s.syncOrAsync(Z)}}function Q(t){var r=p+(t||"tick");return w[r]||(w[r]=function(t,e){var r,n,i,a;t._selections[e].size()?(r=1/0,n=-1/0,i=1/0,a=-1/0,t._selections[e].each((function(){var t=yt(this),e=h.bBox(t.node().parentNode);r=Math.min(r,e.top),n=Math.max(n,e.bottom),i=Math.min(i,e.left),a=Math.max(a,e.right)}))):(r=0,n=0,i=0,a=0);return{top:r,bottom:n,left:i,right:a,height:n-r,width:a-i}}(e,r)),w[r]}},V.getTickSigns=function(t){var e=t._id.charAt(0),r={x:"top",y:"right"}[e],n=t.side===r?1:-1,i=[-1,1,n,-n];return"inside"!==t.ticks==("x"===e)&&(i=i.map((function(t){return-t}))),t.side&&i.push({l:-1,t:-1,r:1,b:1}[t.side.charAt(0)]),i},V.makeTransTickFn=function(t){return"x"===t._id.charAt(0)?function(e){return l(t._offset+t.l2p(e.x),0)}:function(e){return l(0,t._offset+t.l2p(e.x))}},V.makeTransTickLabelFn=function(t){var e=function(t){var e=t.ticklabelposition||"",r=function(t){return-1!==e.indexOf(t)},n=r("top"),i=r("left"),a=r("right"),o=r("bottom"),s=r("inside"),l=o||i||n||a;if(!l&&!s)return[0,0];var c=t.side,u=l?(t.tickwidth||0)/2:0,f=3,h=t.tickfont?t.tickfont.size:12;(o||n)&&(u+=h*N,f+=(t.linewidth||0)/2);(i||a)&&(u+=(t.linewidth||0)/2,f+=3);s&&"top"===c&&(f-=h*(1-N));(i||n)&&(u=-u);"bottom"!==c&&"right"!==c||(f=-f);return[l?u:0,s?f:0]}(t),r=e[0],n=e[1];return"x"===t._id.charAt(0)?function(e){return l(r+t._offset+t.l2p(dt(e)),n)}:function(e){return l(n,r+t._offset+t.l2p(dt(e)))}},V.makeTickPath=function(t,e,r,n){n=void 0!==n?n:t.ticklen;var i=t._id.charAt(0),a=(t.linewidth||1)/2;return"x"===i?"M0,"+(e+a*r)+"v"+n*r:"M"+(e+a*r)+",0h"+n*r},V.makeLabelFns=function(t,e,r){var n=t.ticklabelposition||"",a=function(t){return-1!==n.indexOf(t)},o=a("top"),l=a("left"),c=a("right"),u=a("bottom")||l||o||c,f=a("inside"),h="inside"===n&&"inside"===t.ticks||!f&&"outside"===t.ticks&&"boundaries"!==t.tickson,p=0,d=0,g=h?t.ticklen:0;if(f?g*=-1:u&&(g=0),h&&(p+=g,r)){var m=s.deg2rad(r);p=g*Math.cos(m)+1,d=g*Math.sin(m)}t.showticklabels&&(h||t.showline)&&(p+=.2*t.tickfont.size);var v,y,x,b,_,w={labelStandoff:p+=(t.linewidth||1)/2*(f?-1:1),labelShift:d},T=0,k=t.side,A=t._id.charAt(0),M=t.tickangle;if("x"===A)b=(_=!f&&"bottom"===k||f&&"top"===k)?1:-1,f&&(b*=-1),v=d*b,y=e+p*b,x=_?1:-.2,90===Math.abs(M)&&(f?x+=B:x=-90===M&&"bottom"===k?N:90===M&&"top"===k?B:.5,T=B/2*(M/90)),w.xFn=function(t){return t.dx+v+T*t.fontSize},w.yFn=function(t){return t.dy+y+t.fontSize*x},w.anchorFn=function(t,e){if(u){if(l)return"end";if(c)return"start"}return i(e)&&0!==e&&180!==e?e*b<0!==f?"end":"start":"middle"},w.heightFn=function(e,r,n){return r<-60||r>60?-.5*n:"top"===t.side!==f?-n:0};else if("y"===A){if(b=(_=!f&&"left"===k||f&&"right"===k)?1:-1,f&&(b*=-1),v=p,y=d*b,x=0,f||90!==Math.abs(M)||(x=-90===M&&"left"===k||90===M&&"right"===k?N:.5),f){var S=i(M)?+M:0;if(0!==S){var E=s.deg2rad(S);T=Math.abs(Math.sin(E))*N*b,x=0}}w.xFn=function(t){return t.dx+e-(v+t.fontSize*x)*b+T*t.fontSize},w.yFn=function(t){return t.dy+y+t.fontSize*B},w.anchorFn=function(t,e){return i(e)&&90===Math.abs(e)?"middle":_?"end":"start"},w.heightFn=function(e,r,n){return"right"===t.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},V.drawTicks=function(t,e,r){r=r||{};var n=e._id+"tick",i=r.vals;"period"===e.ticklabelmode&&(i=i.slice()).shift();var a=r.layer.selectAll("path."+n).data(e.ticks?i:[],gt);a.exit().remove(),a.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(f.stroke,e.tickcolor).style("stroke-width",h.crispRound(t,e.tickwidth,1)+"px").attr("d",r.path).style("display",null),Et(e,[D]),a.attr("transform",r.transFn)},V.drawGrid=function(t,e,r){r=r||{};var n=e._id+"grid",i=r.vals,a=r.counterAxis;if(!1===e.showgrid)i=[];else if(a&&V.shouldShowZeroLine(t,e,a))for(var o="array"===e.tickmode,s=0;s<i.length;s++){var l=i[s].x;if(o?!l:Math.abs(l)<e.dtick/100){if(i=i.slice(0,s).concat(i.slice(s+1)),!o)break;s--}}var c=r.layer.selectAll("path."+n).data(i,gt);c.exit().remove(),c.enter().append("path").classed(n,1).classed("crisp",!1!==r.crisp),e._gw=h.crispRound(t,e.gridwidth,1),c.attr("transform",r.transFn).attr("d",r.path).call(f.stroke,e.gridcolor||"#ddd").style("stroke-width",e._gw+"px").style("display",null),Et(e,[z]),"function"==typeof r.path&&c.attr("d",r.path)},V.drawZeroLine=function(t,e,r){r=r||r;var n=e._id+"zl",i=V.shouldShowZeroLine(t,e,r.counterAxis),a=r.layer.selectAll("path."+n).data(i?[{x:0,id:e._id}]:[]);a.exit().remove(),a.enter().append("path").classed(n,1).classed("zl",1).classed("crisp",!1!==r.crisp).each((function(){r.layer.selectAll("path").sort((function(t,e){return G(t.id,e.id)}))})),a.attr("transform",r.transFn).attr("d",r.path).call(f.stroke,e.zerolinecolor||f.defaultLine).style("stroke-width",h.crispRound(t,e.zerolinewidth,e._gw||1)+"px").style("display",null),Et(e,[O])},V.drawLabels=function(t,e,r){r=r||{};var a=t._fullLayout,o=e._id,u=o.charAt(0),f=r.cls||o+"tick",p=r.vals,d=r.labelFns,g=r.secondary?0:e.tickangle,m=(e._prevTickAngles||{})[f],v=r.layer.selectAll("g."+f).data(e.showticklabels?p:[],gt),y=[];function x(t,a){t.each((function(t){var o=n.select(this),s=o.select(".text-math-group"),u=d.anchorFn(t,a),f=r.transFn.call(o.node(),t)+(i(a)&&0!=+a?" rotate("+a+","+d.xFn(t)+","+(d.yFn(t)-t.fontSize/2)+")":""),p=c.lineCount(o),g=j*t.fontSize,m=d.heightFn(t,i(a)?+a:0,(p-1)*g);if(m&&(f+=l(0,m)),s.empty()){var v=o.select("text");v.attr({transform:f,"text-anchor":u}),v.style("opacity",1),e._adjustTickLabelsOverflow&&e._adjustTickLabelsOverflow()}else{var y=h.bBox(s.node()).width*{end:-.5,start:.5}[u];s.attr("transform",f+l(y,0))}}))}v.enter().append("g").classed(f,1).append("text").attr("text-anchor","middle").each((function(e){var r=n.select(this),i=t._promises.length;r.call(c.positionText,d.xFn(e),d.yFn(e)).call(h.font,e.font,e.fontSize,e.fontColor).text(e.text).call(c.convertToTspans,t),t._promises[i]?y.push(t._promises.pop().then((function(){x(r,g)}))):x(r,g)})),Et(e,[R]),v.exit().remove(),r.repositionOnUpdate&&v.each((function(t){n.select(this).select("text").call(c.positionText,d.xFn(t),d.yFn(t))})),e._adjustTickLabelsOverflow=function(){var r=e.ticklabeloverflow;if(r&&"allow"!==r){var i=-1!==r.indexOf("hide"),o="x"===e._id.charAt(0),l=0,c=o?t._fullLayout.width:t._fullLayout.height;if(-1!==r.indexOf("domain")){var u=s.simpleMap(e.range,e.r2l);l=e.l2p(u[0])+e._offset,c=e.l2p(u[1])+e._offset}var f=Math.min(l,c),p=Math.max(l,c),d=e.side,g=1/0,m=-1/0;for(var y in v.each((function(t){var r=n.select(this);if(r.select(".text-math-group").empty()){var a=h.bBox(r.node()),s=0;o?(a.right>p||a.left<f)&&(s=1):(a.bottom>p||a.top+(e.tickangle?0:t.fontSize/4)<f)&&(s=1);var l=r.select("text");s?i&&l.style("opacity",0):(l.style("opacity",1),g="bottom"===d||"right"===d?Math.min(g,o?a.top:a.left):-1/0,m="top"===d||"left"===d?Math.max(m,o?a.bottom:a.right):1/0)}})),a._plots){var x=a._plots[y];if(e._id===x.xaxis._id||e._id===x.yaxis._id){var b=o?x.yaxis:x.xaxis;b&&(b["_visibleLabelMin_"+e._id]=g,b["_visibleLabelMax_"+e._id]=m)}}}},e._hideCounterAxisInsideTickLabels=function(t){var r="x"===e._id.charAt(0),i=[];for(var o in a._plots){var s=a._plots[o];e._id!==s.xaxis._id&&e._id!==s.yaxis._id||i.push(r?s.yaxis:s.xaxis)}i.forEach((function(r,i){r&&St(r)&&(t||[O,z,D,R]).forEach((function(t){var o="tick"===t.K&&"text"===t.L&&"period"===e.ticklabelmode,s=a._plots[e._mainSubplot];(t.K===O.K?s.zerolinelayer.selectAll("."+e._id+"zl"):t.K===z.K?s.gridlayer.selectAll("."+e._id):s[e._id.charAt(0)+"axislayer"]).each((function(){var a=n.select(this);t.L&&(a=a.selectAll(t.L)),a.each((function(a){var s=e.l2p(o?dt(a):a.x)+e._offset,l=n.select(this);s<e["_visibleLabelMax_"+r._id]&&s>e["_visibleLabelMin_"+r._id]?l.style("display","none"):"tick"!==t.K||i||l.style("display",null)}))}))}))}))},x(v,m+1?m:g);var b=null;e._selections&&(e._selections[f]=v);var _=[function(){return y.length&&Promise.all(y)}];e.automargin&&a._redrawFromAutoMarginCount&&90===m?(b=90,_.push((function(){x(v,m)}))):_.push((function(){if(x(v,g),p.length&&"x"===u&&!i(g)&&("log"!==e.type||"D"!==String(e.dtick).charAt(0))){b=0;var t,n=0,a=[];if(v.each((function(t){n=Math.max(n,t.fontSize);var r=e.l2p(t.x),i=yt(this),o=h.bBox(i.node());a.push({top:0,bottom:10,height:10,left:r-o.width/2,right:r+o.width/2+2,width:o.width+2})})),"boundaries"!==e.tickson&&!e.showdividers||r.secondary){var o=p.length,l=Math.abs((p[o-1].x-p[0].x)*e._m)/(o-1),c=e.ticklabelposition||"",f=function(t){return-1!==c.indexOf(t)},d=f("top"),m=f("left"),y=f("right"),_=f("bottom")||m||d||y?(e.tickwidth||0)+6:0,w=l<2.5*n||"multicategory"===e.type||"realaxis"===e._name;for(t=0;t<a.length-1;t++)if(s.bBoxIntersect(a[t],a[t+1],_)){b=w?90:30;break}}else{var T=2;for(e.ticks&&(T+=e.tickwidth/2),t=0;t<a.length;t++){var k=p[t].xbnd,A=a[t];if(null!==k[0]&&A.left-e.l2p(k[0])<T||null!==k[1]&&e.l2p(k[1])-A.right<T){b=90;break}}}b&&x(v,b)}})),e._tickAngles&&_.push((function(){e._tickAngles[f]=null===b?i(g)?g:0:b}));var w=e._anchorAxis;w&&w.autorange&&St(e)&&!Y(a,e._id)&&(a._insideTickLabelsAutorange||(a._insideTickLabelsAutorange={}),a._insideTickLabelsAutorange[w._name+".autorange"]=w.autorange,_.push((function(){v.each((function(t,r){var n=yt(this);n.select(".text-math-group").empty()&&(e._vals[r].bb=h.bBox(n.node()))}))})));var T=s.syncOrAsync(_);return T&&T.then&&t._promises.push(T),T},V.getPxPosition=function(t,e){var r,n=t._fullLayout._size,i=e._id.charAt(0),a=e.side;return"free"!==e.anchor?r=e._anchorAxis:"x"===i?r={_offset:n.t+(1-(e.position||0))*n.h,_length:0}:"y"===i&&(r={_offset:n.l+(e.position||0)*n.w,_length:0}),"top"===a||"left"===a?r._offset:"bottom"===a||"right"===a?r._offset+r._length:void 0},V.shouldShowZeroLine=function(t,e,r){var n=s.simpleMap(e.range,e.r2l);return n[0]*n[1]<=0&&e.zeroline&&("linear"===e.type||"-"===e.type)&&!(e.rangebreaks&&e.maskBreaks(0)===I)&&(vt(e,0)||!function(t,e,r,n){var i=r._mainAxis;if(!i)return;var a=t._fullLayout,o=e._id.charAt(0),s=V.counterLetter(e._id),l=e._offset+(Math.abs(n[0])<Math.abs(n[1])==("x"===o)?0:e._length);function c(t){if(!t.showline||!t.linewidth)return!1;var r=Math.max((t.linewidth+e.zerolinewidth)/2,1);function n(t){return"number"==typeof t&&Math.abs(t-l)<r}if(n(t._mainLinePosition)||n(t._mainMirrorPosition))return!0;var i=t._linepositions||{};for(var a in i)if(n(i[a][0])||n(i[a][1]))return!0}var u=a._plots[r._mainSubplot];if(!(u.mainplotinfo||u).overlays.length)return c(r);for(var f=V.list(t,s),h=0;h<f.length;h++){var p=f[h];if(p._mainAxis===i&&c(p))return!0}}(t,e,r,n)||function(t,e){for(var r=t._fullData,n=e._mainSubplot,i=e._id.charAt(0),a=0;a<r.length;a++){var s=r[a];if(!0===s.visible&&s.xaxis+s.yaxis===n){if(o.traceIs(s,"bar-like")&&s.orientation==={x:"h",y:"v"}[i])return!0;if(s.fill&&s.fill.charAt(s.fill.length-1)===i)return!0}}return!1}(t,e))},V.clipEnds=function(t,e){return e.filter((function(e){return vt(t,e.x)}))},V.allowAutoMargin=function(t){for(var e=V.list(t,"",!0),r=0;r<e.length;r++){var n=e[r];n.automargin&&(a.allowAutoMargin(t,xt(n)),n.mirror&&a.allowAutoMargin(t,bt(n))),o.getComponentMethod("rangeslider","isVisible")(n)&&a.allowAutoMargin(t,_t(n))}},V.swap=function(t,e){for(var r=function(t,e){var r,n,i=[];for(r=0;r<e.length;r++){var a=[],o=t._fullData[e[r]].xaxis,s=t._fullData[e[r]].yaxis;if(o&&s){for(n=0;n<i.length;n++)-1===i[n].x.indexOf(o)&&-1===i[n].y.indexOf(s)||a.push(n);if(a.length){var l,c=i[a[0]];if(a.length>1)for(n=1;n<a.length;n++)l=i[a[n]],wt(c.x,l.x),wt(c.y,l.y);wt(c.x,[o]),wt(c.y,[s])}else i.push({x:[o],y:[s]})}}return i}(t,e),n=0;n<r.length;n++)Tt(t,r[n].x,r[n].y)}},{"../../components/color":366,"../../components/drawing":388,"../../components/titles":464,"../../constants/alignment":471,"../../constants/numerical":479,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../../registry":638,"./autorange":553,"./axis_autotype":555,"./axis_ids":558,"./clean_ticks":560,"./layout_attributes":569,"./set_convert":576,"@plotly/d3":58,"fast-isnumeric":190}],555:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../constants/numerical").BADNUM,o=i.isArrayOrTypedArray,s=i.isDateTime,l=i.cleanNumber,c=Math.round;function u(t,e){return e?n(t):"number"==typeof t}function f(t){return Math.max(1,(t-1)/1e3)}e.exports=function(t,e,r){var i=t,h=r.noMultiCategory;if(o(i)&&!i.length)return"-";if(!h&&function(t){return o(t[0])&&o(t[1])}(i))return"multicategory";if(h&&Array.isArray(i[0])){for(var p=[],d=0;d<i.length;d++)if(o(i[d]))for(var g=0;g<i[d].length;g++)p.push(i[d][g]);i=p}if(function(t,e){for(var r=t.length,i=f(r),a=0,o=0,l={},u=0;u<r;u+=i){var h=c(u),p=t[h],d=String(p);l[d]||(l[d]=1,s(p,e)&&a++,n(p)&&o++)}return a>2*o}(i,e))return"date";var m="strict"!==r.autotypenumbers;return function(t,e){for(var r=t.length,n=f(r),i=0,o=0,s={},u=0;u<r;u+=n){var h=c(u),p=t[h],d=String(p);if(!s[d]){s[d]=1;var g=typeof p;"boolean"===g?o++:(e?l(p)!==a:"number"===g)?i++:"string"===g&&o++}}return o>2*i}(i,m)?"category":function(t,e){for(var r=t.length,n=0;n<r;n++)if(u(t[n],e))return!0;return!1}(i,m)?"linear":"-"}},{"../../constants/numerical":479,"../../lib":503,"fast-isnumeric":190}],556:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../registry"),a=t("../../lib"),o=t("../array_container_defaults"),s=t("./layout_attributes"),l=t("./tick_value_defaults"),c=t("./tick_mark_defaults"),u=t("./tick_label_defaults"),f=t("./prefix_suffix_defaults"),h=t("./category_order_defaults"),p=t("./line_grid_defaults"),d=t("./set_convert"),g=t("./constants").WEEKDAY_PATTERN,m=t("./constants").HOUR_PATTERN;function v(t,e,r){function i(r,n){return a.coerce(t,e,s.rangebreaks,r,n)}if(i("enabled")){var o=i("bounds");if(o&&o.length>=2){var l,c,u="";if(2===o.length)for(l=0;l<2;l++)if(c=x(o[l])){u=g;break}var f=i("pattern",u);if(f===g)for(l=0;l<2;l++)(c=x(o[l]))&&(e.bounds[l]=o[l]=c-1);if(f)for(l=0;l<2;l++)switch(c=o[l],f){case g:if(!n(c))return void(e.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(e.enabled=!1);e.bounds[l]=o[l]=c;break;case m:if(!n(c))return void(e.enabled=!1);if((c=+c)<0||c>24)return void(e.enabled=!1);e.bounds[l]=o[l]=c}if(!1===r.autorange){var h=r.range;if(h[0]<h[1]){if(o[0]<h[0]&&o[1]>h[1])return void(e.enabled=!1)}else if(o[0]>h[0]&&o[1]<h[1])return void(e.enabled=!1)}}else{var p=i("values");if(!p||!p.length)return void(e.enabled=!1);i("dvalue")}}}e.exports=function(t,e,r,n,m){var y,x=n.letter,b=n.font||{},_=n.splomStash||{},w=r("visible",!n.visibleDflt),T=e._template||{},k=e.type||T.type||"-";"date"===k&&(i.getComponentMethod("calendars","handleDefaults")(t,e,"calendar",n.calendar),n.noTicklabelmode||(y=r("ticklabelmode")));var A="";n.noTicklabelposition&&"multicategory"!==k||(A=a.coerce(t,e,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:"period"===y?["outside","inside"]:"x"===x?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),n.noTicklabeloverflow||r("ticklabeloverflow",-1!==A.indexOf("inside")?"hide past domain":"category"===k||"multicategory"===k?"allow":"hide past div"),d(e,m);var M=!e.isValidRange(t.range);M&&n.reverseDflt&&(M="reversed"),!r("autorange",M)||"linear"!==k&&"-"!==k||r("rangemode"),r("range"),e.cleanRange(),h(t,e,r,n),"category"===k||n.noHover||r("hoverformat");var S=r("color"),E=S!==s.color.dflt?S:b.color,L=_.label||m._dfltTitle[x];if(f(t,e,r,k,n),!w)return e;r("title.text",L),a.coerceFont(r,"title.font",{family:b.family,size:a.bigFont(b.size),color:E}),l(t,e,r,k),u(t,e,r,k,n),c(t,e,r,n),p(t,e,r,{dfltColor:S,bgColor:n.bgColor,showGrid:n.showGrid,attributes:s}),(e.showline||e.ticks)&&r("mirror"),n.automargin&&r("automargin");var C,P="multicategory"===k;n.noTickson||"category"!==k&&!P||!e.ticks&&!e.showgrid||(P&&(C="boundaries"),"boundaries"===r("tickson",C)&&delete e.ticklabelposition);P&&(r("showdividers")&&(r("dividercolor"),r("dividerwidth")));if("date"===k)if(o(t,e,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:v}),e.rangebreaks.length){for(var I=0;I<e.rangebreaks.length;I++)if(e.rangebreaks[I].pattern===g){e._hasDayOfWeekBreaks=!0;break}if(d(e,m),m._has("scattergl")||m._has("splom"))for(var O=0;O<n.data.length;O++){var z=n.data[O];"scattergl"!==z.type&&"splom"!==z.type||(z.visible=!1,a.warn(z.type+" traces do not work on axes with rangebreaks. Setting trace "+z.index+" to `visible: false`."))}}else delete e.rangebreaks;return e};var y={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function x(t){if("string"==typeof t)return y[t.substr(0,3).toLowerCase()]}},{"../../lib":503,"../../registry":638,"../array_container_defaults":549,"./category_order_defaults":559,"./constants":561,"./layout_attributes":569,"./line_grid_defaults":571,"./prefix_suffix_defaults":573,"./set_convert":576,"./tick_label_defaults":578,"./tick_mark_defaults":579,"./tick_value_defaults":580,"fast-isnumeric":190}],557:[function(t,e,r){"use strict";var n=t("../../constants/docs"),i=n.FORMAT_LINK,a=n.DATE_FORMAT_LINK;function o(t,e){return["Sets the "+t+" formatting rule"+(e?"for `"+e+"` ":""),"using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see: "+i+"."].join(" ")}function s(t,e){return o(t,e)+[" And for dates see: "+a+".","We add two items to d3's date formatter:","*%h* for half of the year as a decimal number as well as","*%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")}e.exports={axisHoverFormat:function(t,e){return{valType:"string",dflt:"",editType:"none",description:(e?o:s)("hover text",t)+["By default the values are formatted using "+(e?"generic number format":"`"+t+"axis.hoverformat`")+"."].join(" ")}},descriptionOnlyNumbers:o,descriptionWithDates:s}},{"../../constants/docs":474}],558:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("./constants");function a(t,e){if(e&&e.length)for(var r=0;r<e.length;r++)if(e[r][t])return!0;return!1}r.id2name=function(t){if("string"==typeof t&&t.match(i.AX_ID_PATTERN)){var e=t.split(" ")[0].substr(1);return"1"===e&&(e=""),t.charAt(0)+"axis"+e}},r.name2id=function(t){if(t.match(i.AX_NAME_PATTERN)){var e=t.substr(5);return"1"===e&&(e=""),t.charAt(0)+e}},r.cleanId=function(t,e,r){var n=/( domain)$/.test(t);if("string"==typeof t&&t.match(i.AX_ID_PATTERN)&&(!e||t.charAt(0)===e)&&(!n||r)){var a=t.split(" ")[0].substr(1).replace(/^0+/,"");return"1"===a&&(a=""),t.charAt(0)+a+(n&&r?" domain":"")}},r.list=function(t,e,n){var i=t._fullLayout;if(!i)return[];var a,o=r.listIds(t,e),s=new Array(o.length);for(a=0;a<o.length;a++){var l=o[a];s[a]=i[l.charAt(0)+"axis"+l.substr(1)]}if(!n){var c=i._subplots.gl3d||[];for(a=0;a<c.length;a++){var u=i[c[a]];e?s.push(u[e+"axis"]):s.push(u.xaxis,u.yaxis,u.zaxis)}}return s},r.listIds=function(t,e){var r=t._fullLayout;if(!r)return[];var n=r._subplots;return e?n[e+"axis"]:n.xaxis.concat(n.yaxis)},r.getFromId=function(t,e,n){var i=t._fullLayout;return e=void 0===e||"string"!=typeof e?e:e.replace(" domain",""),"x"===n?e=e.replace(/y[0-9]*/,""):"y"===n&&(e=e.replace(/x[0-9]*/,"")),i[r.id2name(e)]},r.getFromTrace=function(t,e,i){var a=t._fullLayout,o=null;if(n.traceIs(e,"gl3d")){var s=e.scene;"scene"===s.substr(0,5)&&(o=a[s][i+"axis"])}else o=r.getFromId(t,e[i+"axis"]||i);return o},r.idSort=function(t,e){var r=t.charAt(0),n=e.charAt(0);return r!==n?r>n?1:-1:+(t.substr(1)||1)-+(e.substr(1)||1)},r.ref2id=function(t){return!!/^[xyz]/.test(t)&&t.split(" ")[0]},r.isLinked=function(t,e){return a(e,t._axisMatchGroups)||a(e,t._axisConstraintGroups)}},{"../../registry":638,"./constants":561}],559:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){if("category"===e.type){var i,a=t.categoryarray,o=Array.isArray(a)&&a.length>0;o&&(i="array");var s,l=r("categoryorder",i);"array"===l&&(s=r("categoryarray")),o||"array"!==l||(l=e.categoryorder="trace"),"trace"===l?e._initialCategories=[]:"array"===l?e._initialCategories=s.slice():(s=function(t,e){var r,n,i,a=e.dataAttr||t._id.charAt(0),o={};if(e.axData)r=e.axData;else for(r=[],n=0;n<e.data.length;n++){var s=e.data[n];s[a+"axis"]===t._id&&r.push(s)}for(n=0;n<r.length;n++){var l=r[n][a];for(i=0;i<l.length;i++){var c=l[i];null!=c&&(o[c]=1)}}return Object.keys(o)}(e,n).sort(),"category ascending"===l?e._initialCategories=s:"category descending"===l&&(e._initialCategories=s.reverse()))}}},{}],560:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../constants/numerical"),o=a.ONEDAY,s=a.ONEWEEK;r.dtick=function(t,e){var r="log"===e,i="date"===e,a="category"===e,s=i?o:1;if(!t)return s;if(n(t))return(t=Number(t))<=0?s:a?Math.max(1,Math.round(t)):i?Math.max(.1,t):t;if("string"!=typeof t||!i&&!r)return s;var l=t.charAt(0),c=t.substr(1);return(c=n(c)?Number(c):0)<=0||!(i&&"M"===l&&c===Math.round(c)||r&&"L"===l||r&&"D"===l&&(1===c||2===c))?s:t},r.tick0=function(t,e,r,a){return"date"===e?i.cleanDate(t,i.dateTick0(r,a%s==0?1:0)):"D1"!==a&&"D2"!==a?n(t)?Number(t):0:void 0}},{"../../constants/numerical":479,"../../lib":503,"fast-isnumeric":190}],561:[function(t,e,r){"use strict";var n=t("../../lib/regex").counter;e.exports={idRegex:{x:n("x","( domain)?"),y:n("y","( domain)?")},attrRegex:n("[xy]axis"),xAxisMatch:n("xaxis"),yAxisMatch:n("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},{"../../lib/regex":520}],562:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./autorange"),a=t("./axis_ids").id2name,o=t("./layout_attributes"),s=t("./scale_zoom"),l=t("./set_convert"),c=t("../../constants/numerical").ALMOST_EQUAL,u=t("../../constants/alignment").FROM_BL;function f(t,e,r){var i=r.axIds,s=r.layoutOut,l=r.hasImage,c=s._axisConstraintGroups,u=s._axisMatchGroups,f=e._id,g=f.charAt(0),m=((s._splomAxes||{})[g]||{})[f]||{},v=e._id,y="x"===v.charAt(0);function x(r,i){return n.coerce(t,e,o,r,i)}e._matchGroup=null,e._constraintGroup=null,x("constrain",l?"domain":"range"),n.coerce(t,e,{constraintoward:{valType:"enumerated",values:y?["left","center","right"]:["bottom","middle","top"],dflt:y?"center":"middle"}},"constraintoward");var b,_,w=e.type,T=[];for(b=0;b<i.length;b++){if((_=i[b])!==v)s[a(_)].type===w&&T.push(_)}var k=p(c,v);if(k){var A=[];for(b=0;b<T.length;b++)k[_=T[b]]||A.push(_);T=A}var M,S,E=T.length;E&&(t.matches||m.matches)&&(M=n.coerce(t,e,{matches:{valType:"enumerated",values:T,dflt:-1!==T.indexOf(m.matches)?m.matches:void 0}},"matches"));var L=l&&!y?e.anchor:void 0;if(E&&!M&&(t.scaleanchor||L)&&(S=n.coerce(t,e,{scaleanchor:{valType:"enumerated",values:T}},"scaleanchor",L)),M){e._matchGroup=d(u,v,M,1);var C=s[a(M)],P=h(s,e)/h(s,C);y!==("x"===M.charAt(0))&&(P=(y?"x":"y")+P),d(c,v,M,P)}else t.matches&&-1!==i.indexOf(t.matches)&&n.warn("ignored "+e._name+'.matches: "'+t.matches+'" to avoid an infinite loop');if(S){var I=x("scaleratio");I||(I=e.scaleratio=1),d(c,v,S,I)}else t.scaleanchor&&-1!==i.indexOf(t.scaleanchor)&&n.warn("ignored "+e._name+'.scaleanchor: "'+t.scaleanchor+'" to avoid either an infinite loop and possibly inconsistent scaleratios, or because this axis declares a *matches* constraint.')}function h(t,e){var r=e.domain;return r||(r=t[a(e.overlaying)].domain),r[1]-r[0]}function p(t,e){for(var r=0;r<t.length;r++)if(t[r][e])return t[r];return null}function d(t,e,r,n){var i,a,o,s,l,c=p(t,e);null===c?((c={})[e]=1,l=t.length,t.push(c)):l=t.indexOf(c);var u=Object.keys(c);for(i=0;i<t.length;i++)if(o=t[i],i!==l&&o[r]){var f=o[r];for(a=0;a<u.length;a++)o[s=u[a]]=g(f,g(n,c[s]));return void t.splice(l,1)}if(1!==n)for(a=0;a<u.length;a++){var h=u[a];c[h]=g(n,c[h])}c[r]=1}function g(t,e){var r,n,i="",a="";"string"==typeof t&&(r=(i=t.match(/^[xy]*/)[0]).length,t=+t.substr(r)),"string"==typeof e&&(n=(a=e.match(/^[xy]*/)[0]).length,e=+e.substr(n));var o=t*e;return r||n?r&&n&&i.charAt(0)!==a.charAt(0)?r===n?o:(r>n?i.substr(n):a.substr(r))+o:i+a+t*e:o}function m(t,e){for(var r=e._size,n=r.h/r.w,i={},a=Object.keys(t),o=0;o<a.length;o++){var s=a[o],l=t[s];if("string"==typeof l){var c=l.match(/^[xy]*/)[0],u=c.length;l=+l.substr(u);for(var f="y"===c.charAt(0)?n:1/n,h=0;h<u;h++)l*=f}i[s]=l}return i}function v(t,e){var r=t._inputDomain,n=u[t.constraintoward],i=r[0]+(r[1]-r[0])*n;t.domain=t._input.domain=[i+(r[0]-i)/e,i+(r[1]-i)/e],t.setScale()}r.handleDefaults=function(t,e,r){var i,o,s,c,u,h,p,d,g=r.axIds,m=r.axHasImage,v=e._axisConstraintGroups=[],y=e._axisMatchGroups=[];for(i=0;i<g.length;i++)f(u=t[c=a(g[i])],h=e[c],{axIds:g,layoutOut:e,hasImage:m[c]});function x(t,r){for(i=0;i<t.length;i++)for(s in o=t[i])e[a(s)][r]=o}for(x(y,"_matchGroup"),i=0;i<v.length;i++)for(s in o=v[i])if((h=e[a(s)]).fixedrange){for(var b in o){var _=a(b);!1===(t[_]||{}).fixedrange&&n.warn("fixedrange was specified as false for axis "+_+" but was overridden because another axis in its constraint group has fixedrange true"),e[_].fixedrange=!0}break}for(i=0;i<v.length;){for(s in o=v[i]){(h=e[a(s)])._matchGroup&&Object.keys(h._matchGroup).length===Object.keys(o).length&&(v.splice(i,1),i--);break}i++}x(v,"_constraintGroup");var w=["constrain","range","autorange","rangemode","rangebreaks","categoryorder","categoryarray"],T=!1,k=!1;function A(){d=h[p],"rangebreaks"===p&&(k=h._hasDayOfWeekBreaks)}for(i=0;i<y.length;i++){o=y[i];for(var M=0;M<w.length;M++){var S;for(s in p=w[M],d=null,o)if(u=t[c=a(s)],h=e[c],p in h){if(!h.matches&&(S=h,p in u)){A();break}null===d&&p in u&&A()}if("range"===p&&d&&(T=!0),"autorange"===p&&null===d&&T&&(d=!1),null===d&&p in S&&(d=S[p]),null!==d)for(s in o)(h=e[a(s)])[p]="range"===p?d.slice():d,"rangebreaks"===p&&(h._hasDayOfWeekBreaks=k,l(h,e))}}},r.enforce=function(t){var e,r,n,o,l,u,f,h,p=t._fullLayout,d=p._axisConstraintGroups||[];for(e=0;e<d.length;e++){n=m(d[e],p);var g=Object.keys(n),y=1/0,x=0,b=1/0,_={},w={},T=!1;for(r=0;r<g.length;r++)w[o=g[r]]=l=p[a(o)],l._inputDomain?l.domain=l._inputDomain.slice():l._inputDomain=l.domain.slice(),l._inputRange||(l._inputRange=l.range.slice()),l.setScale(),_[o]=u=Math.abs(l._m)/n[o],y=Math.min(y,u),"domain"!==l.constrain&&l._constraintShrinkable||(b=Math.min(b,u)),delete l._constraintShrinkable,x=Math.max(x,u),"domain"===l.constrain&&(T=!0);if(!(y>c*x)||T)for(r=0;r<g.length;r++)if(u=_[o=g[r]],f=(l=w[o]).constrain,u!==b||"domain"===f)if(h=u/b,"range"===f)s(l,h);else{var k=l._inputDomain,A=(l.domain[1]-l.domain[0])/(k[1]-k[0]),M=(l.r2l(l.range[1])-l.r2l(l.range[0]))/(l.r2l(l._inputRange[1])-l.r2l(l._inputRange[0]));if((h/=A)*M<1){l.domain=l._input.domain=k.slice(),s(l,h);continue}if(M<1&&(l.range=l._input.range=l._inputRange.slice(),h*=M),l.autorange){var S=l.r2l(l.range[0]),E=l.r2l(l.range[1]),L=(S+E)/2,C=L,P=L,I=Math.abs(E-L),O=L-I*h*1.0001,z=L+I*h*1.0001,D=i.makePadFn(p,l,0),R=i.makePadFn(p,l,1);v(l,h);var F,B,N=Math.abs(l._m),j=i.concatExtremes(t,l),U=j.min,V=j.max;for(B=0;B<U.length;B++)(F=U[B].val-D(U[B])/N)>O&&F<C&&(C=F);for(B=0;B<V.length;B++)(F=V[B].val+R(V[B])/N)<z&&F>P&&(P=F);h/=(P-C)/(2*I),C=l.l2r(C),P=l.l2r(P),l.range=l._input.range=S<E?[C,P]:[P,C]}v(l,h)}}},r.getAxisGroup=function(t,e){for(var r=t._axisMatchGroups,n=0;n<r.length;n++){if(r[n][e])return"g"+n}return e},r.clean=function(t,e){if(e._inputDomain){for(var r=!1,n=e._id,i=t._fullLayout._axisConstraintGroups,a=0;a<i.length;a++)if(i[a][n]){r=!0;break}r&&"domain"===e.constrain||(e._input.domain=e.domain=e._inputDomain,delete e._inputDomain)}}},{"../../constants/alignment":471,"../../constants/numerical":479,"../../lib":503,"./autorange":553,"./axis_ids":558,"./layout_attributes":569,"./scale_zoom":574,"./set_convert":576}],563:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=i.numberFormat,o=t("tinycolor2"),s=t("has-passive-events"),l=t("../../registry"),c=i.strTranslate,u=t("../../lib/svg_text_utils"),f=t("../../components/color"),h=t("../../components/drawing"),p=t("../../components/fx"),d=t("./axes"),g=t("../../lib/setcursor"),m=t("../../components/dragelement"),v=t("../../components/dragelement/helpers"),y=v.selectingOrDrawing,x=v.freeMode,b=t("../../constants/alignment").FROM_TL,_=t("../../lib/clear_gl_canvases"),w=t("../../plot_api/subroutines").redrawReglTraces,T=t("../plots"),k=t("./axis_ids").getFromId,A=t("./select").prepSelect,M=t("./select").clearSelect,S=t("./select").selectOnClick,E=t("./scale_zoom"),L=t("./constants"),C=L.MINDRAG,P=L.MINZOOM,I=!0;function O(t,e,r,n){var a=i.ensureSingle(t.draglayer,e,r,(function(e){e.classed("drag",!0).style({fill:"transparent","stroke-width":0}).attr("data-subplot",t.id)}));return a.call(g,n),a.node()}function z(t,e,r,i,a,o,s){var l=O(t,"rect",e,r);return n.select(l).call(h.setRect,i,a,o,s),l}function D(t,e){for(var r=0;r<t.length;r++)if(!t[r].fixedrange)return e;return""}function R(t,e,r,n,i){for(var a=0;a<t.length;a++){var o=t[a];if(!o.fixedrange)if(o.rangebreaks){var s="y"===o._id.charAt(0),l=s?1-e:e,c=s?1-r:r;n[o._name+".range[0]"]=o.l2r(o.p2l(l*o._length)),n[o._name+".range[1]"]=o.l2r(o.p2l(c*o._length))}else{var u=o._rl[0],f=o._rl[1]-u;n[o._name+".range[0]"]=o.l2r(u+f*e),n[o._name+".range[1]"]=o.l2r(u+f*r)}}if(i&&i.length){var h=(e+(1-r))/2;R(i,h,1-h,n,[])}}function F(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(!n.fixedrange)if(n.rangebreaks){var i=n._length,a=(n.p2l(0+e)-n.p2l(0)+(n.p2l(i+e)-n.p2l(i)))/2;n.range=[n.l2r(n._rl[0]-a),n.l2r(n._rl[1]-a)]}else n.range=[n.l2r(n._rl[0]-e/n._m),n.l2r(n._rl[1]-e/n._m)]}}function B(t){return 1-(t>=0?Math.min(t,.9):1/(1/Math.max(t,-.3)+3.222))}function N(t,e,r,n,i){return t.append("path").attr("class","zoombox").style({fill:e>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",c(r,n)).attr("d",i+"Z")}function j(t,e,r){return t.append("path").attr("class","zoombox-corners").style({fill:f.background,stroke:f.defaultLine,"stroke-width":1,opacity:0}).attr("transform",c(e,r)).attr("d","M0,0Z")}function U(t,e,r,n,i,a){t.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),V(t,e,i,a)}function V(t,e,r,n){r||(t.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),e.transition().style("opacity",1).duration(200))}function H(t){n.select(t).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function q(t){I&&t.data&&t._context.showTips&&(i.notifier(i._(t,"Double-click to zoom back out"),"long"),I=!1)}function G(t){var e=Math.floor(Math.min(t.b-t.t,t.r-t.l,P)/2);return"M"+(t.l-3.5)+","+(t.t-.5+e)+"h3v"+-e+"h"+e+"v-3h-"+(e+3)+"ZM"+(t.r+3.5)+","+(t.t-.5+e)+"h-3v"+-e+"h"+-e+"v-3h"+(e+3)+"ZM"+(t.r+3.5)+","+(t.b+.5-e)+"h-3v"+e+"h"+-e+"v3h"+(e+3)+"ZM"+(t.l-3.5)+","+(t.b+.5-e)+"h3v"+e+"h"+e+"v3h-"+(e+3)+"Z"}function Y(t,e,r,n,a){for(var o,s,l,c,u=!1,f={},h={},p=(a||{}).xaHash,d=(a||{}).yaHash,g=0;g<e.length;g++){var m=e[g];for(o in r)if(m[o]){for(l in m)a&&(p[l]||d[l])||("x"===l.charAt(0)?r:n)[l]||(f[l]=o);for(s in n)a&&(p[s]||d[s])||!m[s]||(u=!0)}for(s in n)if(m[s])for(c in m)a&&(p[c]||d[c])||("x"===c.charAt(0)?r:n)[c]||(h[c]=s)}u&&(i.extendFlat(f,h),h={});var v={},y=[];for(l in f){var x=k(t,l);y.push(x),v[x._id]=x}var b={},_=[];for(c in h){var w=k(t,c);_.push(w),b[w._id]=w}return{xaHash:v,yaHash:b,xaxes:y,yaxes:_,xLinks:f,yLinks:h,isSubplotConstrained:u}}function W(t,e){if(s){var r=void 0!==t.onwheel?"wheel":"mousewheel";t._onwheel&&t.removeEventListener(r,t._onwheel),t._onwheel=e,t.addEventListener(r,e,{passive:!1})}else void 0!==t.onwheel?t.onwheel=e:void 0!==t.onmousewheel?t.onmousewheel=e:t.isAddedWheelEvent||(t.isAddedWheelEvent=!0,t.addEventListener("wheel",e,{passive:!1}))}function X(t){var e=[];for(var r in t)e.push(t[r]);return e}e.exports={makeDragBox:function(t,e,r,s,c,f,g,v){var I,O,V,Z,J,K,Q,$,tt,et,rt,nt,it,at,ot,st,lt,ct,ut,ft,ht,pt,dt,gt=t._fullLayout._zoomlayer,mt=g+v==="nsew",vt=1===(g+v).length;function yt(){if(I=e.xaxis,O=e.yaxis,tt=I._length,et=O._length,Q=I._offset,$=O._offset,(V={})[I._id]=I,(Z={})[O._id]=O,g&&v)for(var r=e.overlays,n=0;n<r.length;n++){var i=r[n].xaxis;V[i._id]=i;var a=r[n].yaxis;Z[a._id]=a}J=X(V),K=X(Z),it=D(J,v),at=D(K,g),ot=!at&&!it,nt=Y(t,t._fullLayout._axisMatchGroups,V,Z);var o=(rt=Y(t,t._fullLayout._axisConstraintGroups,V,Z,nt)).isSubplotConstrained||nt.isSubplotConstrained;st=v||o,lt=g||o;var s=t._fullLayout;ct=s._has("scattergl"),ut=s._has("splom"),ft=s._has("svg")}yt();var xt=function(t,e,r){if(!t)return"pointer";if("nsew"===t)return r?"":"pan"===e?"move":"crosshair";return t.toLowerCase()+"-resize"}(at+it,t._fullLayout.dragmode,mt),bt=z(e,g+v+"drag",xt,r,s,c,f);if(ot&&!mt)return bt.onmousedown=null,bt.style.pointerEvents="none",bt;var _t,wt,Tt,kt,At,Mt,St,Et,Lt,Ct,Pt={element:bt,gd:t,plotinfo:e};function It(){Pt.plotinfo.selection=!1,M(t)}function Ot(t,r){var i=Pt.gd;if(i._fullLayout._activeShapeIndex>=0)i._fullLayout._deactivateShape(i);else{var o=i._fullLayout.clickmode;if(H(i),2!==t||vt||qt(),mt)o.indexOf("select")>-1&&S(r,i,J,K,e.id,Pt),o.indexOf("event")>-1&&p.click(i,r,e.id);else if(1===t&&vt){var s=g?O:I,c="s"===g||"w"===v?0:1,f=s._name+".range["+c+"]",h=function(t,e){var r,n=t.range[e],i=Math.abs(n-t.range[1-e]);return"date"===t.type?n:"log"===t.type?(r=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,a("."+r+"g")(Math.pow(10,n))):(r=Math.floor(Math.log(Math.abs(n))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,a("."+String(r)+"g")(n))}(s,c),d="left",m="middle";if(s.fixedrange)return;g?(m="n"===g?"top":"bottom","right"===s.side&&(d="right")):"e"===v&&(d="right"),i._context.showAxisRangeEntryBoxes&&n.select(bt).call(u.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(h),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:d,verticalAlign:m}).on("edit",(function(t){var e=s.d2r(t);void 0!==e&&l.call("_guiRelayout",i,f,e)}))}}}function zt(e,r){if(t._transitioningWithDuration)return!1;var n=Math.max(0,Math.min(tt,pt*e+_t)),i=Math.max(0,Math.min(et,dt*r+wt)),a=Math.abs(n-_t),o=Math.abs(i-wt);function s(){St="",Tt.r=Tt.l,Tt.t=Tt.b,Lt.attr("d","M0,0Z")}if(Tt.l=Math.min(_t,n),Tt.r=Math.max(_t,n),Tt.t=Math.min(wt,i),Tt.b=Math.max(wt,i),rt.isSubplotConstrained)a>P||o>P?(St="xy",a/tt>o/et?(o=a*et/tt,wt>i?Tt.t=wt-o:Tt.b=wt+o):(a=o*tt/et,_t>n?Tt.l=_t-a:Tt.r=_t+a),Lt.attr("d",G(Tt))):s();else if(nt.isSubplotConstrained)if(a>P||o>P){St="xy";var l=Math.min(Tt.l/tt,(et-Tt.b)/et),c=Math.max(Tt.r/tt,(et-Tt.t)/et);Tt.l=l*tt,Tt.r=c*tt,Tt.b=(1-l)*et,Tt.t=(1-c)*et,Lt.attr("d",G(Tt))}else s();else!at||o<Math.min(Math.max(.6*a,C),P)?a<C||!it?s():(Tt.t=0,Tt.b=et,St="x",Lt.attr("d",function(t,e){return"M"+(t.l-.5)+","+(e-P-.5)+"h-3v"+(2*P+1)+"h3ZM"+(t.r+.5)+","+(e-P-.5)+"h3v"+(2*P+1)+"h-3Z"}(Tt,wt))):!it||a<Math.min(.6*o,P)?(Tt.l=0,Tt.r=tt,St="y",Lt.attr("d",function(t,e){return"M"+(e-P-.5)+","+(t.t-.5)+"v-3h"+(2*P+1)+"v3ZM"+(e-P-.5)+","+(t.b+.5)+"v3h"+(2*P+1)+"v-3Z"}(Tt,_t))):(St="xy",Lt.attr("d",G(Tt)));Tt.w=Tt.r-Tt.l,Tt.h=Tt.b-Tt.t,St&&(Ct=!0),t._dragged=Ct,U(Et,Lt,Tt,At,Mt,kt),Dt(),t.emit("plotly_relayouting",ht),Mt=!0}function Dt(){ht={},"xy"!==St&&"x"!==St||(R(J,Tt.l/tt,Tt.r/tt,ht,rt.xaxes),Vt("x",ht)),"xy"!==St&&"y"!==St||(R(K,(et-Tt.b)/et,(et-Tt.t)/et,ht,rt.yaxes),Vt("y",ht))}function Rt(){Dt(),H(t),Gt(),q(t)}Pt.prepFn=function(e,r,n){var a=Pt.dragmode,s=t._fullLayout.dragmode;s!==a&&(Pt.dragmode=s),yt(),pt=t._fullLayout._invScaleX,dt=t._fullLayout._invScaleY,ot||(mt?e.shiftKey?"pan"===s?s="zoom":y(s)||(s="pan"):e.ctrlKey&&(s="pan"):s="pan"),x(s)?Pt.minDrag=1:Pt.minDrag=void 0,y(s)?(Pt.xaxes=J,Pt.yaxes=K,A(e,r,n,Pt,s)):(Pt.clickFn=Ot,y(a)&&It(),ot||("zoom"===s?(Pt.moveFn=zt,Pt.doneFn=Rt,Pt.minDrag=1,function(e,r,n){var a=bt.getBoundingClientRect();_t=r-a.left,wt=n-a.top,t._fullLayout._calcInverseTransform(t);var s=i.apply3DTransform(t._fullLayout._invTransform)(_t,wt);_t=s[0],wt=s[1],Tt={l:_t,r:_t,w:0,t:wt,b:wt,h:0},kt=t._hmpixcount?t._hmlumcount/t._hmpixcount:o(t._fullLayout.plot_bgcolor).getLuminance(),Mt=!1,St="xy",Ct=!1,Et=N(gt,kt,Q,$,At="M0,0H"+tt+"V"+et+"H0V0"),Lt=j(gt,Q,$)}(0,r,n)):"pan"===s&&(Pt.moveFn=Ut,Pt.doneFn=Gt))),t._fullLayout._redrag=function(){var e=t._dragdata;if(e&&e.element===bt){var r=t._fullLayout.dragmode;y(r)||(yt(),Yt([0,0,tt,et]),Pt.moveFn(e.dx,e.dy))}}},m.init(Pt);var Ft=[0,0,tt,et],Bt=null,Nt=L.REDRAWDELAY,jt=e.mainplot?t._fullLayout._plots[e.mainplot]:e;function Ut(e,r){if(e*=pt,r*=dt,!t._transitioningWithDuration){if(t._fullLayout._replotting=!0,"ew"===it||"ns"===at){var n=it?-e:0,i=at?-r:0;if(nt.isSubplotConstrained){if(it&&at){var a=(e/tt-r/et)/2;n=-(e=a*tt),i=-(r=-a*et)}at?n=-i*tt/et:i=-n*et/tt}return it&&(F(J,e),Vt("x")),at&&(F(K,r),Vt("y")),Yt([n,i,tt,et]),Ht(),void t.emit("plotly_relayouting",ht)}var o,s,l="w"===it==("n"===at)?1:-1;if(it&&at&&(rt.isSubplotConstrained||nt.isSubplotConstrained)){var c=(e/tt+l*r/et)/2;e=c*tt,r=l*c*et}if("w"===it?e=p(J,0,e):"e"===it?e=p(J,1,-e):it||(e=0),"n"===at?r=p(K,1,r):"s"===at?r=p(K,0,-r):at||(r=0),o="w"===it?e:0,s="n"===at?r:0,rt.isSubplotConstrained&&!nt.isSubplotConstrained||nt.isSubplotConstrained&&it&&at&&l>0){var u;if(nt.isSubplotConstrained||!it&&1===at.length){for(u=0;u<J.length;u++)J[u].range=J[u]._r.slice(),E(J[u],1-r/et);o=(e=r*tt/et)/2}if(nt.isSubplotConstrained||!at&&1===it.length){for(u=0;u<K.length;u++)K[u].range=K[u]._r.slice(),E(K[u],1-e/tt);s=(r=e*et/tt)/2}}nt.isSubplotConstrained&&at||Vt("x"),nt.isSubplotConstrained&&it||Vt("y");var f=tt-e,h=et-r;!nt.isSubplotConstrained||it&&at||(it?(s=o?0:e*et/tt,h=f*et/tt):(o=s?0:r*tt/et,f=h*tt/et)),Yt([o,s,f,h]),Ht(),t.emit("plotly_relayouting",ht)}function p(t,e,r){for(var n,i,a=1-e,o=0;o<t.length;o++){var s=t[o];if(!s.fixedrange){n=s,i=s._rl[a]+(s._rl[e]-s._rl[a])/B(r/s._length);var l=s.l2r(i);!1!==l&&void 0!==l&&(s.range[e]=l)}}return n._length*(n._rl[e]-i)/(n._rl[e]-n._rl[a])}}function Vt(t,e){for(var r=nt.isSubplotConstrained?{x:K,y:J}[t]:nt[t+"axes"],n=nt.isSubplotConstrained?{x:J,y:K}[t]:[],i=0;i<r.length;i++){var a=r[i],o=a._id,s=nt.xLinks[o]||nt.yLinks[o],l=n[0]||V[s]||Z[s];l&&(e?(e[a._name+".range[0]"]=e[l._name+".range[0]"],e[a._name+".range[1]"]=e[l._name+".range[1]"]):a.range=l.range.slice())}}function Ht(){var e,r=[];function n(t){for(e=0;e<t.length;e++)t[e].fixedrange||r.push(t[e]._id)}for(st&&(n(J),n(rt.xaxes),n(nt.xaxes)),lt&&(n(K),n(rt.yaxes),n(nt.yaxes)),ht={},e=0;e<r.length;e++){var i=r[e],a=k(t,i);d.drawOne(t,a,{skipTitle:!0}),ht[a._name+".range[0]"]=a.range[0],ht[a._name+".range[1]"]=a.range[1]}d.redrawComponents(t,r)}function qt(){if(!t._transitioningWithDuration){var e=t._context.doubleClick,r=[];it&&(r=r.concat(J)),at&&(r=r.concat(K)),nt.xaxes&&(r=r.concat(nt.xaxes)),nt.yaxes&&(r=r.concat(nt.yaxes));var n,i,a,o={};if("reset+autosize"===e)for(e="autosize",i=0;i<r.length;i++)if((n=r[i])._rangeInitial&&(n.range[0]!==n._rangeInitial[0]||n.range[1]!==n._rangeInitial[1])||!n._rangeInitial&&!n.autorange){e="reset";break}if("autosize"===e)for(i=0;i<r.length;i++)(n=r[i]).fixedrange||(o[n._name+".autorange"]=!0);else if("reset"===e)for((it||rt.isSubplotConstrained)&&(r=r.concat(rt.xaxes)),at&&!rt.isSubplotConstrained&&(r=r.concat(rt.yaxes)),rt.isSubplotConstrained&&(it?at||(r=r.concat(K)):r=r.concat(J)),i=0;i<r.length;i++)(n=r[i]).fixedrange||(n._rangeInitial?(a=n._rangeInitial,o[n._name+".range[0]"]=a[0],o[n._name+".range[1]"]=a[1]):o[n._name+".autorange"]=!0);t.emit("plotly_doubleclick",null),l.call("_guiRelayout",t,o)}}function Gt(){Yt([0,0,tt,et]),i.syncOrAsync([T.previousPromises,function(){t._fullLayout._replotting=!1,l.call("_guiRelayout",t,ht)}],t)}function Yt(e){var r,n,a,o,s=t._fullLayout,c=s._plots,u=s._subplots.cartesian;if(ut&&l.subplotsRegistry.splom.drag(t),ct)for(r=0;r<u.length;r++)if(a=(n=c[u[r]]).xaxis,o=n.yaxis,n._scene){var f=i.simpleMap(a.range,a.r2l),p=i.simpleMap(o.range,o.r2l);n._scene.update({range:[f[0],p[0],f[1],p[1]]})}if((ut||ct)&&(_(t),w(t)),ft){var d=e[2]/I._length,m=e[3]/O._length;for(r=0;r<u.length;r++){a=(n=c[u[r]]).xaxis,o=n.yaxis;var y,x,b,T,k=(st||nt.isSubplotConstrained)&&!a.fixedrange&&V[a._id],A=(lt||nt.isSubplotConstrained)&&!o.fixedrange&&Z[o._id];if(k?(y=d,b=v||nt.isSubplotConstrained?e[0]:Zt(a,y)):nt.xaHash[a._id]?(y=d,b=e[0]*a._length/I._length):nt.yaHash[a._id]?(y=m,b="ns"===at?-e[1]*a._length/O._length:Zt(a,y,{n:"top",s:"bottom"}[at])):b=Xt(a,y=Wt(a,d,m)),A?(x=m,T=g||nt.isSubplotConstrained?e[1]:Zt(o,x)):nt.yaHash[o._id]?(x=m,T=e[1]*o._length/O._length):nt.xaHash[o._id]?(x=d,T="ew"===it?-e[0]*o._length/I._length:Zt(o,x,{e:"right",w:"left"}[it])):T=Xt(o,x=Wt(o,d,m)),y||x){y||(y=1),x||(x=1);var M=a._offset-b/y,S=o._offset-T/x;n.clipRect.call(h.setTranslate,b,T).call(h.setScale,y,x),n.plot.call(h.setTranslate,M,S).call(h.setScale,1/y,1/x),y===n.xScaleFactor&&x===n.yScaleFactor||(h.setPointGroupScale(n.zoomScalePts,y,x),h.setTextPointsScale(n.zoomScaleTxt,y,x)),h.hideOutsideRangePoints(n.clipOnAxisFalseTraces,n),n.xScaleFactor=y,n.yScaleFactor=x}}}}function Wt(t,e,r){return t.fixedrange?0:st&&rt.xaHash[t._id]?e:lt&&(rt.isSubplotConstrained?rt.xaHash:rt.yaHash)[t._id]?r:0}function Xt(t,e){return e?(t.range=t._r.slice(),E(t,e),Zt(t,e)):0}function Zt(t,e,r){return t._length*(1-e)*b[r||t.constraintoward||"middle"]}return g.length*v.length!=1&&W(bt,(function(e){if(t._context._scrollZoom.cartesian||t._fullLayout._enablescrollzoom){if(It(),t._transitioningWithDuration)return e.preventDefault(),void e.stopPropagation();yt(),clearTimeout(Bt);var r=-e.deltaY;if(isFinite(r)||(r=e.wheelDelta/10),isFinite(r)){var n,a=Math.exp(-Math.min(Math.max(r,-20),20)/200),o=jt.draglayer.select(".nsewdrag").node().getBoundingClientRect(),s=(e.clientX-o.left)/o.width,l=(o.bottom-e.clientY)/o.height;if(st){for(v||(s=.5),n=0;n<J.length;n++)c(J[n],s,a);Vt("x"),Ft[2]*=a,Ft[0]+=Ft[2]*s*(1/a-1)}if(lt){for(g||(l=.5),n=0;n<K.length;n++)c(K[n],l,a);Vt("y"),Ft[3]*=a,Ft[1]+=Ft[3]*(1-l)*(1/a-1)}Yt(Ft),Ht(),t.emit("plotly_relayouting",ht),Bt=setTimeout((function(){t._fullLayout&&(Ft=[0,0,tt,et],Gt())}),Nt),e.preventDefault()}else i.log("Did not find wheel motion attributes: ",e)}function c(t,e,r){if(!t.fixedrange){var n=i.simpleMap(t.range,t.r2l),a=n[0]+(n[1]-n[0])*e;t.range=n.map((function(e){return t.l2r(a+(e-a)*r)}))}}})),bt},makeDragger:O,makeRectDragger:z,makeZoombox:N,makeCorners:j,updateZoombox:U,xyCorners:G,transitionZoombox:V,removeZoombox:H,showDoubleClickNotifier:q,attachWheelEventHandler:W}},{"../../components/color":366,"../../components/dragelement":385,"../../components/dragelement/helpers":384,"../../components/drawing":388,"../../components/fx":406,"../../constants/alignment":471,"../../lib":503,"../../lib/clear_gl_canvases":487,"../../lib/setcursor":524,"../../lib/svg_text_utils":529,"../../plot_api/subroutines":544,"../../registry":638,"../plots":619,"./axes":554,"./axis_ids":558,"./constants":561,"./scale_zoom":574,"./select":575,"@plotly/d3":58,"has-passive-events":229,tinycolor2:312}],564:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/fx"),a=t("../../components/dragelement"),o=t("../../lib/setcursor"),s=t("./dragbox").makeDragBox,l=t("./constants").DRAGGERSIZE;r.initInteractions=function(t){var e=t._fullLayout;if(t._context.staticPlot)n.select(t).selectAll(".drag").remove();else if(e._has("cartesian")||e._has("splom")){Object.keys(e._plots||{}).sort((function(t,r){if((e._plots[t].mainplot&&!0)===(e._plots[r].mainplot&&!0)){var n=t.split("y"),i=r.split("y");return n[0]===i[0]?Number(n[1]||1)-Number(i[1]||1):Number(n[0]||1)-Number(i[0]||1)}return e._plots[t].mainplot?1:-1})).forEach((function(r){var n=e._plots[r],o=n.xaxis,c=n.yaxis;if(!n.mainplot){var u=s(t,n,o._offset,c._offset,o._length,c._length,"ns","ew");u.onmousemove=function(e){t._fullLayout._rehover=function(){t._fullLayout._hoversubplot===r&&t._fullLayout._plots[r]&&i.hover(t,e,r)},i.hover(t,e,r),t._fullLayout._lasthover=u,t._fullLayout._hoversubplot=r},u.onmouseout=function(e){t._dragging||(t._fullLayout._hoversubplot=null,a.unhover(t,e))},t._context.showAxisDragHandles&&(s(t,n,o._offset-l,c._offset-l,l,l,"n","w"),s(t,n,o._offset+o._length,c._offset-l,l,l,"n","e"),s(t,n,o._offset-l,c._offset+c._length,l,l,"s","w"),s(t,n,o._offset+o._length,c._offset+c._length,l,l,"s","e"))}if(t._context.showAxisDragHandles){if(r===o._mainSubplot){var f=o._mainLinePosition;"top"===o.side&&(f-=l),s(t,n,o._offset+.1*o._length,f,.8*o._length,l,"","ew"),s(t,n,o._offset,f,.1*o._length,l,"","w"),s(t,n,o._offset+.9*o._length,f,.1*o._length,l,"","e")}if(r===c._mainSubplot){var h=c._mainLinePosition;"right"!==c.side&&(h-=l),s(t,n,h,c._offset+.1*c._length,l,.8*c._length,"ns",""),s(t,n,h,c._offset+.9*c._length,l,.1*c._length,"s",""),s(t,n,h,c._offset,l,.1*c._length,"n","")}}}));var o=e._hoverlayer.node();o.onmousemove=function(r){r.target=t._fullLayout._lasthover,i.hover(t,r,e._hoversubplot)},o.onclick=function(e){e.target=t._fullLayout._lasthover,i.click(t,e)},o.onmousedown=function(e){t._fullLayout._lasthover.onmousedown(e)},r.updateFx(t)}},r.updateFx=function(t){var e=t._fullLayout,r="pan"===e.dragmode?"move":"crosshair";o(e._draggers,r)}},{"../../components/dragelement":385,"../../components/fx":406,"../../lib/setcursor":524,"./constants":561,"./dragbox":563,"@plotly/d3":58}],565:[function(t,e,r){"use strict";e.exports={clearOutlineControllers:function(t){var e=t._fullLayout._zoomlayer;e&&e.selectAll(".outline-controllers").remove()},clearSelect:function(t){var e=t._fullLayout._zoomlayer;e&&e.selectAll(".select-outline").remove(),t._fullLayout._drawing=!1}}},{}],566:[function(t,e,r){"use strict";var n=t("../../lib").strTranslate;function i(t,e){switch(t.type){case"log":return t.p2d(e);case"date":return t.p2r(e,0,t.calendar);default:return t.p2r(e)}}e.exports={p2r:i,r2p:function(t,e){switch(t.type){case"log":return t.d2p(e);case"date":return t.r2p(e,0,t.calendar);default:return t.r2p(e)}},axValue:function(t){var e="y"===t._id.charAt(0)?1:0;return function(r){return i(t,r[e])}},getTransform:function(t){return n(t.xaxis._offset,t.yaxis._offset)}}},{"../../lib":503}],567:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("./axis_ids");e.exports=function(t){return function(e,r){var o=e[t];if(Array.isArray(o))for(var s=n.subplotsRegistry.cartesian,l=s.idRegex,c=r._subplots,u=c.xaxis,f=c.yaxis,h=c.cartesian,p=r._has("cartesian")||r._has("gl2d"),d=0;d<o.length;d++){var g=o[d];if(i.isPlainObject(g)){var m=a.cleanId(g.xref,"x",!1),v=a.cleanId(g.yref,"y",!1),y=l.x.test(m),x=l.y.test(v);if(y||x){p||i.pushUnique(r._basePlotModules,s);var b=!1;y&&-1===u.indexOf(m)&&(u.push(m),b=!0),x&&-1===f.indexOf(v)&&(f.push(v),b=!0),b&&y&&x&&h.push(m+v)}}}}}},{"../../lib":503,"../../registry":638,"./axis_ids":558}],568:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../lib"),o=t("../plots"),s=t("../../components/drawing"),l=t("../get_data").getModuleCalcData,c=t("./axis_ids"),u=t("./constants"),f=t("../../constants/xmlns_namespaces"),h=a.ensureSingle;function p(t,e,r){return a.ensureSingle(t,e,r,(function(t){t.datum(r)}))}function d(t,e,r,a,o){for(var c,f,h,p=u.traceLayerClasses,d=t._fullLayout,g=d._modules,m=[],v=[],y=0;y<g.length;y++){var x=(c=g[y]).name,b=i.modules[x].categories;if(b.svg){var _=c.layerName||x+"layer",w=c.plot;h=(f=l(r,w))[0],r=f[1],h.length&&m.push({i:p.indexOf(_),className:_,plotMethod:w,cdModule:h}),b.zoomScale&&v.push("."+_)}}m.sort((function(t,e){return t.i-e.i}));var T=e.plot.selectAll("g.mlayer").data(m,(function(t){return t.className}));if(T.enter().append("g").attr("class",(function(t){return t.className})).classed("mlayer",!0).classed("rangeplot",e.isRangePlot),T.exit().remove(),T.order(),T.each((function(r){var i=n.select(this),l=r.className;r.plotMethod(t,e,r.cdModule,i,a,o),-1===u.clipOnAxisFalseQuery.indexOf("."+l)&&s.setClipUrl(i,e.layerClipId,t)})),d._has("scattergl")&&(c=i.getModule("scattergl"),h=l(r,c)[0],c.plot(t,e,h)),!t._context.staticPlot&&(e._hasClipOnAxisFalse&&(e.clipOnAxisFalseTraces=e.plot.selectAll(u.clipOnAxisFalseQuery.join(",")).selectAll(".trace")),v.length)){var k=e.plot.selectAll(v.join(",")).selectAll(".trace");e.zoomScalePts=k.selectAll("path.point"),e.zoomScaleTxt=k.selectAll(".textpoint")}}function g(t,e){var r=e.plotgroup,n=e.id,i=u.layerValue2layerClass[e.xaxis.layer],a=u.layerValue2layerClass[e.yaxis.layer],o=t._fullLayout._hasOnlyLargeSploms;if(e.mainplot){var s=e.mainplotinfo,l=s.plotgroup,f=n+"-x",d=n+"-y";e.gridlayer=s.gridlayer,e.zerolinelayer=s.zerolinelayer,h(s.overlinesBelow,"path",f),h(s.overlinesBelow,"path",d),h(s.overaxesBelow,"g",f),h(s.overaxesBelow,"g",d),e.plot=h(s.overplot,"g",n),h(s.overlinesAbove,"path",f),h(s.overlinesAbove,"path",d),h(s.overaxesAbove,"g",f),h(s.overaxesAbove,"g",d),e.xlines=l.select(".overlines-"+i).select("."+f),e.ylines=l.select(".overlines-"+a).select("."+d),e.xaxislayer=l.select(".overaxes-"+i).select("."+f),e.yaxislayer=l.select(".overaxes-"+a).select("."+d)}else if(o)e.xlines=h(r,"path","xlines-above"),e.ylines=h(r,"path","ylines-above"),e.xaxislayer=h(r,"g","xaxislayer-above"),e.yaxislayer=h(r,"g","yaxislayer-above");else{var g=h(r,"g","layer-subplot");e.shapelayer=h(g,"g","shapelayer"),e.imagelayer=h(g,"g","imagelayer"),e.gridlayer=h(r,"g","gridlayer"),e.zerolinelayer=h(r,"g","zerolinelayer"),h(r,"path","xlines-below"),h(r,"path","ylines-below"),e.overlinesBelow=h(r,"g","overlines-below"),h(r,"g","xaxislayer-below"),h(r,"g","yaxislayer-below"),e.overaxesBelow=h(r,"g","overaxes-below"),e.plot=h(r,"g","plot"),e.overplot=h(r,"g","overplot"),e.xlines=h(r,"path","xlines-above"),e.ylines=h(r,"path","ylines-above"),e.overlinesAbove=h(r,"g","overlines-above"),h(r,"g","xaxislayer-above"),h(r,"g","yaxislayer-above"),e.overaxesAbove=h(r,"g","overaxes-above"),e.xlines=r.select(".xlines-"+i),e.ylines=r.select(".ylines-"+a),e.xaxislayer=r.select(".xaxislayer-"+i),e.yaxislayer=r.select(".yaxislayer-"+a)}o||(p(e.gridlayer,"g",e.xaxis._id),p(e.gridlayer,"g",e.yaxis._id),e.gridlayer.selectAll("g").map((function(t){return t[0]})).sort(c.idSort)),e.xlines.style("fill","none").classed("crisp",!0),e.ylines.style("fill","none").classed("crisp",!0)}function m(t,e){if(t){var r={};for(var i in t.each((function(t){var i=t[0];n.select(this).remove(),v(i,e),r[i]=!0})),e._plots)for(var a=e._plots[i].overlays||[],o=0;o<a.length;o++){var s=a[o];r[s.id]&&s.plot.selectAll(".trace").remove()}}}function v(t,e){e._draggers.selectAll("g."+t).remove(),e._defs.select("#clip"+e._uid+t+"plot").remove()}r.name="cartesian",r.attr=["xaxis","yaxis"],r.idRoot=["x","y"],r.idRegex=u.idRegex,r.attrRegex=u.attrRegex,r.attributes=t("./attributes"),r.layoutAttributes=t("./layout_attributes"),r.supplyLayoutDefaults=t("./layout_defaults"),r.transitionAxes=t("./transition_axes"),r.finalizeSubplots=function(t,e){var r,n,i,o=e._subplots,s=o.xaxis,l=o.yaxis,f=o.cartesian,h=f.concat(o.gl2d||[]),p={},d={};for(r=0;r<h.length;r++){var g=h[r].split("y");p[g[0]]=1,d["y"+g[1]]=1}for(r=0;r<s.length;r++)p[n=s[r]]||(i=(t[c.id2name(n)]||{}).anchor,u.idRegex.y.test(i)||(i="y"),f.push(n+i),h.push(n+i),d[i]||(d[i]=1,a.pushUnique(l,i)));for(r=0;r<l.length;r++)d[i=l[r]]||(n=(t[c.id2name(i)]||{}).anchor,u.idRegex.x.test(n)||(n="x"),f.push(n+i),h.push(n+i),p[n]||(p[n]=1,a.pushUnique(s,n)));if(!h.length){for(var m in n="",i="",t){if(u.attrRegex.test(m))"x"===m.charAt(0)?(!n||+m.substr(5)<+n.substr(5))&&(n=m):(!i||+m.substr(5)<+i.substr(5))&&(i=m)}n=n?c.name2id(n):"x",i=i?c.name2id(i):"y",s.push(n),l.push(i),f.push(n+i)}},r.plot=function(t,e,r,n){var i,a=t._fullLayout,o=a._subplots.cartesian,s=t.calcdata;if(!Array.isArray(e))for(e=[],i=0;i<s.length;i++)e.push(i);for(i=0;i<o.length;i++){for(var l,c=o[i],u=a._plots[c],f=[],h=0;h<s.length;h++){var p=s[h],g=p[0].trace;g.xaxis+g.yaxis===c&&((-1!==e.indexOf(g.index)||g.carpet)&&(l&&l[0].trace.xaxis+l[0].trace.yaxis===c&&-1!==["tonextx","tonexty","tonext"].indexOf(g.fill)&&-1===f.indexOf(l)&&f.push(l),f.push(p)),l=p)}d(t,u,f,r,n)}},r.clean=function(t,e,r,n){var i,a,o,s=n._plots||{},l=e._plots||{},u=n._subplots||{};if(n._hasOnlyLargeSploms&&!e._hasOnlyLargeSploms)for(o in s)(i=s[o]).plotgroup&&i.plotgroup.remove();var f=n._has&&n._has("gl"),h=e._has&&e._has("gl");if(f&&!h)for(o in s)(i=s[o])._scene&&i._scene.destroy();if(u.xaxis&&u.yaxis){var p=c.listIds({_fullLayout:n});for(a=0;a<p.length;a++){var d=p[a];e[c.id2name(d)]||n._infolayer.selectAll(".g-"+d+"title").remove()}}var g=n._has&&n._has("cartesian"),y=e._has&&e._has("cartesian");if(g&&!y)m(n._cartesianlayer.selectAll(".subplot"),n),n._defs.selectAll(".axesclip").remove(),delete n._axisConstraintGroups,delete n._axisMatchGroups;else if(u.cartesian)for(a=0;a<u.cartesian.length;a++){var x=u.cartesian[a];if(!l[x]){var b="."+x+",."+x+"-x,."+x+"-y";n._cartesianlayer.selectAll(b).remove(),v(x,n)}}},r.drawFramework=function(t){var e=t._fullLayout,r=function(t){var e,r,n,i,a,o,s=t._fullLayout,l=s._subplots.cartesian,c=l.length,u=[],f=[];for(e=0;e<c;e++){n=l[e],i=s._plots[n],a=i.xaxis,o=i.yaxis;var h=a._mainAxis,p=o._mainAxis,d=h._id+p._id,g=s._plots[d];i.overlays=[],d!==n&&g?(i.mainplot=d,i.mainplotinfo=g,f.push(n)):(i.mainplot=void 0,i.mainplotinfo=void 0,u.push(n))}for(e=0;e<f.length;e++)n=f[e],(i=s._plots[n]).mainplotinfo.overlays.push(i);var m=u.concat(f),v=new Array(c);for(e=0;e<c;e++){n=m[e],i=s._plots[n],a=i.xaxis,o=i.yaxis;var y=[n,a.layer,o.layer,a.overlaying||"",o.overlaying||""];for(r=0;r<i.overlays.length;r++)y.push(i.overlays[r].id);v[e]=y}return v}(t),i=e._cartesianlayer.selectAll(".subplot").data(r,String);i.enter().append("g").attr("class",(function(t){return"subplot "+t[0]})),i.order(),i.exit().call(m,e),i.each((function(r){var i=r[0],a=e._plots[i];a.plotgroup=n.select(this),g(t,a),a.draglayer=h(e._draggers,"g",i)}))},r.rangePlot=function(t,e,r){g(t,e),d(t,e,r),o.style(t)},r.toSVG=function(t){var e=t._fullLayout._glimages,r=n.select(t).selectAll(".svg-container");r.filter((function(t,e){return e===r.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus").each((function(){var t=this.toDataURL("image/png");e.append("svg:image").attr({xmlns:f.svg,"xlink:href":t,preserveAspectRatio:"none",x:0,y:0,width:this.style.width,height:this.style.height})}))},r.updateFx=t("./graph_interact").updateFx},{"../../components/drawing":388,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../registry":638,"../get_data":593,"../plots":619,"./attributes":552,"./axis_ids":558,"./constants":561,"./graph_interact":564,"./layout_attributes":569,"./layout_defaults":570,"./transition_axes":581,"@plotly/d3":58}],569:[function(t,e,r){"use strict";var n=t("../font_attributes"),i=t("../../components/color/attributes"),a=t("../../components/drawing/attributes").dash,o=t("../../lib/extend").extendFlat,s=t("../../plot_api/plot_template").templatedArray,l=t("../../plots/cartesian/axis_format_attributes").descriptionWithDates,c=t("../../constants/numerical").ONEDAY,u=t("./constants"),f=u.HOUR_PATTERN,h=u.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",editType:"plot"},color:{valType:"color",dflt:i.defaultLine,editType:"ticks"},title:{text:{valType:"string",editType:"ticks"},font:n({editType:"ticks"}),standoff:{valType:"number",min:0,editType:"ticks"},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"plot"},range:{valType:"info_array",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0},fixedrange:{valType:"boolean",dflt:!1,editType:"calc"},scaleanchor:{valType:"enumerated",values:[u.idRegex.x.toString(),u.idRegex.y.toString()],editType:"plot"},scaleratio:{valType:"number",min:0,dflt:1,editType:"plot"},constrain:{valType:"enumerated",values:["range","domain"],editType:"plot"},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],editType:"plot"},matches:{valType:"enumerated",values:[u.idRegex.x.toString(),u.idRegex.y.toString()],editType:"calc"},rangebreaks:s("rangebreak",{enabled:{valType:"boolean",dflt:!0,editType:"calc"},bounds:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc"},pattern:{valType:"enumerated",values:[h,f,""],editType:"calc"},values:{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"any",editType:"calc"}},dvalue:{valType:"number",editType:"calc",min:0,dflt:c},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0}},nticks:{valType:"integer",min:0,dflt:0,editType:"ticks"},tick0:{valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},dtick:{valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},ticklabelstep:{valType:"integer",min:1,dflt:1,editType:"ticks"},tickvals:{valType:"data_array",editType:"ticks"},ticktext:{valType:"data_array",editType:"ticks"},ticks:{valType:"enumerated",values:["outside","inside",""],editType:"ticks"},tickson:{valType:"enumerated",values:["labels","boundaries"],dflt:"labels",editType:"ticks"},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",editType:"ticks"},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",editType:"calc"},ticklabeloverflow:{valType:"enumerated",values:["allow","hide past div","hide past domain"],editType:"calc"},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,editType:"ticks+layoutstyle"},ticklen:{valType:"number",min:0,dflt:5,editType:"ticks"},tickwidth:{valType:"number",min:0,dflt:1,editType:"ticks"},tickcolor:{valType:"color",dflt:i.defaultLine,editType:"ticks"},showticklabels:{valType:"boolean",dflt:!0,editType:"ticks"},automargin:{valType:"boolean",dflt:!1,editType:"ticks"},showspikes:{valType:"boolean",dflt:!1,editType:"modebar"},spikecolor:{valType:"color",dflt:null,editType:"none"},spikethickness:{valType:"number",dflt:3,editType:"none"},spikedash:o({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],dflt:"toaxis",editType:"none"},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"hovered data",editType:"none"},tickfont:n({editType:"ticks"}),tickangle:{valType:"angle",dflt:"auto",editType:"ticks"},tickprefix:{valType:"string",dflt:"",editType:"ticks"},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},ticksuffix:{valType:"string",dflt:"",editType:"ticks"},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"ticks"},minexponent:{valType:"number",dflt:3,min:0,editType:"ticks"},separatethousands:{valType:"boolean",dflt:!1,editType:"ticks"},tickformat:{valType:"string",dflt:"",editType:"ticks",description:l("tick label")},tickformatstops:s("tickformatstop",{enabled:{valType:"boolean",dflt:!0,editType:"ticks"},dtickrange:{valType:"info_array",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks"},value:{valType:"string",dflt:"",editType:"ticks"},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",editType:"none",description:l("hover text")},showline:{valType:"boolean",dflt:!1,editType:"ticks+layoutstyle"},linecolor:{valType:"color",dflt:i.defaultLine,editType:"layoutstyle"},linewidth:{valType:"number",min:0,dflt:1,editType:"ticks+layoutstyle"},showgrid:{valType:"boolean",editType:"ticks"},gridcolor:{valType:"color",dflt:i.lightLine,editType:"ticks"},gridwidth:{valType:"number",min:0,dflt:1,editType:"ticks"},zeroline:{valType:"boolean",editType:"ticks"},zerolinecolor:{valType:"color",dflt:i.defaultLine,editType:"ticks"},zerolinewidth:{valType:"number",dflt:1,editType:"ticks"},showdividers:{valType:"boolean",dflt:!0,editType:"ticks"},dividercolor:{valType:"color",dflt:i.defaultLine,editType:"ticks"},dividerwidth:{valType:"number",dflt:1,editType:"ticks"},anchor:{valType:"enumerated",values:["free",u.idRegex.x.toString(),u.idRegex.y.toString()],editType:"plot"},side:{valType:"enumerated",values:["top","bottom","left","right"],editType:"plot"},overlaying:{valType:"enumerated",values:["free",u.idRegex.x.toString(),u.idRegex.y.toString()],editType:"plot"},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",editType:"plot"},domain:{valType:"info_array",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot"},position:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},uirevision:{valType:"any",editType:"none"},editType:"calc",_deprecated:{autotick:{valType:"boolean",editType:"ticks"},title:{valType:"string",editType:"ticks"},titlefont:n({editType:"ticks"})}}},{"../../components/color/attributes":365,"../../components/drawing/attributes":387,"../../constants/numerical":479,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_format_attributes":557,"../font_attributes":585,"./constants":561}],570:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../../components/fx/helpers").isUnifiedHover,o=t("../../components/fx/hovermode_defaults"),s=t("../../plot_api/plot_template"),l=t("../layout_attributes"),c=t("./layout_attributes"),u=t("./type_defaults"),f=t("./axis_defaults"),h=t("./constraints"),p=t("./position_defaults"),d=t("./axis_ids"),g=d.id2name,m=d.name2id,v=t("./constants").AX_ID_PATTERN,y=t("../../registry"),x=y.traceIs,b=y.getComponentMethod;function _(t,e,r){Array.isArray(t[e])?t[e].push(r):t[e]=[r]}e.exports=function(t,e,r){var y,w,T=e.autotypenumbers,k={},A={},M={},S={},E={},L={},C={},P={},I={},O={};for(y=0;y<r.length;y++){var z=r[y];if(x(z,"cartesian")||x(z,"gl2d")){var D,R;if(z.xaxis)D=g(z.xaxis),_(k,D,z);else if(z.xaxes)for(w=0;w<z.xaxes.length;w++)_(k,g(z.xaxes[w]),z);if(z.yaxis)R=g(z.yaxis),_(k,R,z);else if(z.yaxes)for(w=0;w<z.yaxes.length;w++)_(k,g(z.yaxes[w]),z);if("funnel"===z.type?"h"===z.orientation?(D&&(A[D]=!0),R&&(C[R]=!0)):R&&(M[R]=!0):"image"===z.type?(R&&(P[R]=!0),D&&(P[D]=!0)):(R&&(E[R]=!0,L[R]=!0),x(z,"carpet")&&("carpet"!==z.type||z._cheater)||D&&(S[D]=!0)),"carpet"===z.type&&z._cheater&&D&&(A[D]=!0),x(z,"2dMap")&&(I[D]=!0,I[R]=!0),x(z,"oriented"))O["h"===z.orientation?R:D]=!0}}var F=e._subplots,B=F.xaxis,N=F.yaxis,j=n.simpleMap(B,g),U=n.simpleMap(N,g),V=j.concat(U),H=i.background;B.length&&N.length&&(H=n.coerce(t,e,l,"plot_bgcolor"));var q,G,Y,W,X,Z=i.combine(H,e.paper_bgcolor);function J(){var t=k[q]||[];X._traceIndices=t.map((function(t){return t._expandedIndex})),X._annIndices=[],X._shapeIndices=[],X._imgIndices=[],X._subplotsWith=[],X._counterAxes=[],X._name=X._attr=q,X._id=G}function K(t,e){return n.coerce(W,X,c,t,e)}function Q(t,e){return n.coerce2(W,X,c,t,e)}function $(t){return"x"===t?N:B}function tt(e,r){for(var n="x"===e?j:U,i=[],a=0;a<n.length;a++){var o=n[a];o===r||(t[o]||{}).overlaying||i.push(m(o))}return i}var et={x:$("x"),y:$("y")},rt=et.x.concat(et.y),nt={},it=[];function at(){var t=W.matches;v.test(t)&&-1===rt.indexOf(t)&&(nt[t]=W.type,it=Object.keys(nt))}var ot=o(t,e),st=a(ot);for(y=0;y<V.length;y++){q=V[y],G=m(q),Y=q.charAt(0),n.isPlainObject(t[q])||(t[q]={}),W=t[q],X=s.newContainer(e,q,Y+"axis"),J();var lt="x"===Y&&!S[q]&&A[q]||"y"===Y&&!E[q]&&M[q],ct="y"===Y&&(!L[q]&&C[q]||P[q]),ut={letter:Y,font:e.font,outerTicks:I[q],showGrid:!O[q],data:k[q]||[],bgColor:Z,calendar:e.calendar,automargin:!0,visibleDflt:lt,reverseDflt:ct,autotypenumbersDflt:T,splomStash:((e._splomAxes||{})[Y]||{})[G]};K("uirevision",e.uirevision),u(W,X,K,ut),f(W,X,K,ut,e);var ft=st&&Y===ot.charAt(0),ht=Q("spikecolor",st?X.color:void 0),pt=Q("spikethickness",st?1.5:void 0),dt=Q("spikedash",st?"dot":void 0),gt=Q("spikemode",st?"across":void 0),mt=Q("spikesnap");K("showspikes",!!(ft||ht||pt||dt||gt||mt))||(delete X.spikecolor,delete X.spikethickness,delete X.spikedash,delete X.spikemode,delete X.spikesnap),p(W,X,K,{letter:Y,counterAxes:et[Y],overlayableAxes:tt(Y,q),grid:e.grid}),K("title.standoff"),at(),X._input=W}for(y=0;y<it.length;){G=it[y++],Y=(q=g(G)).charAt(0),n.isPlainObject(t[q])||(t[q]={}),W=t[q],X=s.newContainer(e,q,Y+"axis"),J();var vt={letter:Y,font:e.font,outerTicks:I[q],showGrid:!O[q],data:[],bgColor:Z,calendar:e.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,autotypenumbersDflt:T,splomStash:((e._splomAxes||{})[Y]||{})[G]};K("uirevision",e.uirevision),X.type=nt[G]||"linear",f(W,X,K,vt,e),p(W,X,K,{letter:Y,counterAxes:et[Y],overlayableAxes:tt(Y,q),grid:e.grid}),K("fixedrange"),at(),X._input=W}var yt=b("rangeslider","handleDefaults"),xt=b("rangeselector","handleDefaults");for(y=0;y<j.length;y++)q=j[y],W=t[q],X=e[q],yt(t,e,q),"date"===X.type&&xt(W,X,e,U,X.calendar),K("fixedrange");for(y=0;y<U.length;y++){q=U[y],W=t[q],X=e[q];var bt=e[g(X.anchor)];K("fixedrange",b("rangeslider","isVisible")(bt))}h.handleDefaults(t,e,{axIds:rt.concat(it).sort(d.idSort),axHasImage:P})}},{"../../components/color":366,"../../components/fx/helpers":402,"../../components/fx/hovermode_defaults":405,"../../lib":503,"../../plot_api/plot_template":543,"../../registry":638,"../layout_attributes":610,"./axis_defaults":556,"./axis_ids":558,"./constants":561,"./constraints":562,"./layout_attributes":569,"./position_defaults":572,"./type_defaults":582}],571:[function(t,e,r){"use strict";var n=t("tinycolor2").mix,i=t("../../components/color/attributes").lightFraction,a=t("../../lib");e.exports=function(t,e,r,o){var s=(o=o||{}).dfltColor;function l(r,n){return a.coerce2(t,e,o.attributes,r,n)}var c=l("linecolor",s),u=l("linewidth");r("showline",o.showLine||!!c||!!u)||(delete e.linecolor,delete e.linewidth);var f=l("gridcolor",n(s,o.bgColor,o.blend||i).toRgbString()),h=l("gridwidth");if(r("showgrid",o.showGrid||!!f||!!h)||(delete e.gridcolor,delete e.gridwidth),!o.noZeroLine){var p=l("zerolinecolor",s),d=l("zerolinewidth");r("zeroline",o.showGrid||!!p||!!d)||(delete e.zerolinecolor,delete e.zerolinewidth)}}},{"../../components/color/attributes":365,"../../lib":503,tinycolor2:312}],572:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib");e.exports=function(t,e,r,a){var o,s,l,c,u=a.counterAxes||[],f=a.overlayableAxes||[],h=a.letter,p=a.grid;p&&(s=p._domains[h][p._axisMap[e._id]],o=p._anchors[e._id],s&&(l=p[h+"side"].split(" ")[0],c=p.domain[h]["right"===l||"top"===l?1:0])),s=s||[0,1],o=o||(n(t.position)?"free":u[0]||"free"),l=l||("x"===h?"bottom":"left"),c=c||0,"free"===i.coerce(t,e,{anchor:{valType:"enumerated",values:["free"].concat(u),dflt:o}},"anchor")&&r("position",c),i.coerce(t,e,{side:{valType:"enumerated",values:"x"===h?["bottom","top"]:["left","right"],dflt:l}},"side");var d=!1;if(f.length&&(d=i.coerce(t,e,{overlaying:{valType:"enumerated",values:[!1].concat(f),dflt:!1}},"overlaying")),!d){var g=r("domain",s);g[0]>g[1]-1/4096&&(e.domain=s),i.noneOrAll(t.domain,e.domain,s)}return r("layer"),e}},{"../../lib":503,"fast-isnumeric":190}],573:[function(t,e,r){"use strict";var n=t("./show_dflt");e.exports=function(t,e,r,i,a){a||(a={});var o=a.tickSuffixDflt,s=n(t);r("tickprefix")&&r("showtickprefix",s),r("ticksuffix",o)&&r("showticksuffix",s)}},{"./show_dflt":577}],574:[function(t,e,r){"use strict";var n=t("../../constants/alignment").FROM_BL;e.exports=function(t,e,r){void 0===r&&(r=n[t.constraintoward||"center"]);var i=[t.r2l(t.range[0]),t.r2l(t.range[1])],a=i[0]+(i[1]-i[0])*r;t.range=t._input.range=[t.l2r(a+(i[0]-a)*e),t.l2r(a+(i[1]-a)*e)],t.setScale()}},{"../../constants/alignment":471}],575:[function(t,e,r){"use strict";var n=t("polybooljs"),i=t("../../registry"),a=t("../../components/drawing").dashStyle,o=t("../../components/color"),s=t("../../components/fx"),l=t("../../components/fx/helpers").makeEventData,c=t("../../components/dragelement/helpers"),u=c.freeMode,f=c.rectMode,h=c.drawMode,p=c.openMode,d=c.selectMode,g=t("../../components/shapes/draw_newshape/display_outlines"),m=t("../../components/shapes/draw_newshape/helpers").handleEllipse,v=t("../../components/shapes/draw_newshape/newshapes"),y=t("../../lib"),x=t("../../lib/polygon"),b=t("../../lib/throttle"),_=t("./axis_ids").getFromId,w=t("../../lib/clear_gl_canvases"),T=t("../../plot_api/subroutines").redrawReglTraces,k=t("./constants"),A=k.MINSELECT,M=x.filter,S=x.tester,E=t("./handle_outline").clearSelect,L=t("./helpers"),C=L.p2r,P=L.axValue,I=L.getTransform;function O(t,e,r,n,i,a,o){var s,l,c,u,f,h,d,m,v,y=e._hoverdata,x=e._fullLayout.clickmode.indexOf("event")>-1,b=[];if(function(t){return t&&Array.isArray(t)&&!0!==t[0].hoverOnBox}(y)){F(t,e,a);var _=function(t,e){var r,n,i=t[0],a=-1,o=[];for(n=0;n<e.length;n++)if(r=e[n],i.fullData._expandedIndex===r.cd[0].trace._expandedIndex){if(!0===i.hoverOnBox)break;void 0!==i.pointNumber?a=i.pointNumber:void 0!==i.binNumber&&(a=i.binNumber,o=i.pointNumbers);break}return{pointNumber:a,pointNumbers:o,searchInfo:r}}(y,s=N(e,r,n,i));if(_.pointNumbers.length>0?function(t,e){var r,n,i,a=[];for(i=0;i<t.length;i++)(r=t[i]).cd[0].trace.selectedpoints&&r.cd[0].trace.selectedpoints.length>0&&a.push(r);if(1===a.length&&a[0]===e.searchInfo&&(n=e.searchInfo.cd[0].trace).selectedpoints.length===e.pointNumbers.length){for(i=0;i<e.pointNumbers.length;i++)if(n.selectedpoints.indexOf(e.pointNumbers[i])<0)return!1;return!0}return!1}(s,_):function(t){var e,r,n,i=0;for(n=0;n<t.length;n++)if(e=t[n],(r=e.cd[0].trace).selectedpoints){if(r.selectedpoints.length>1)return!1;if((i+=r.selectedpoints.length)>1)return!1}return 1===i}(s)&&(h=j(_))){for(o&&o.remove(),v=0;v<s.length;v++)(l=s[v])._module.selectPoints(l,!1);U(e,s),B(a),x&&e.emit("plotly_deselect",null)}else{for(d=t.shiftKey&&(void 0!==h?h:j(_)),c=function(t,e,r){return{pointNumber:t,searchInfo:e,subtract:r}}(_.pointNumber,_.searchInfo,d),u=R(a.selectionDefs.concat([c])),v=0;v<s.length;v++)if(f=V(s[v]._module.selectPoints(s[v],u),s[v]),b.length)for(var w=0;w<f.length;w++)b.push(f[w]);else b=f;if(U(e,s,m={points:b}),c&&a&&a.selectionDefs.push(c),o){var T=a.mergedPolygons,k=p(a.dragmode);g(H(T,k),o,a)}x&&e.emit("plotly_selected",m)}}}function z(t){return"pointNumber"in t&&"searchInfo"in t}function D(t){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(e,r,n,i){var a=t.searchInfo.cd[0].trace._expandedIndex;return i.cd[0].trace._expandedIndex===a&&n===t.pointNumber},isRect:!1,degenerate:!1,subtract:t.subtract}}function R(t){for(var e=[],r=z(t[0])?0:t[0][0][0],n=r,i=z(t[0])?0:t[0][0][1],a=i,o=0;o<t.length;o++)if(z(t[o]))e.push(D(t[o]));else{var s=x.tester(t[o]);s.subtract=t[o].subtract,e.push(s),r=Math.min(r,s.xmin),n=Math.max(n,s.xmax),i=Math.min(i,s.ymin),a=Math.max(a,s.ymax)}return{xmin:r,xmax:n,ymin:i,ymax:a,pts:[],contains:function(t,r,n,i){for(var a=!1,o=0;o<e.length;o++)e[o].contains(t,r,n,i)&&(a=!1===e[o].subtract);return a},isRect:!1,degenerate:!1}}function F(t,e,r){e._fullLayout._drawing=!1;var n=e._fullLayout,i=r.plotinfo,a=r.dragmode,o=n._lastSelectedSubplot&&n._lastSelectedSubplot===i.id,s=(t.shiftKey||t.altKey)&&!(h(a)&&p(a));o&&s&&i.selection&&i.selection.selectionDefs&&!r.selectionDefs?(r.selectionDefs=i.selection.selectionDefs,r.mergedPolygons=i.selection.mergedPolygons):s&&i.selection||B(r),o||(E(e),n._lastSelectedSubplot=i.id)}function B(t){var e=t.dragmode,r=t.plotinfo,n=t.gd;if(n._fullLayout._activeShapeIndex>=0&&n._fullLayout._deactivateShape(n),h(e)){var a=n._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(a&&n._fullLayout._drawing){var o=v(a,t);o&&i.call("_guiRelayout",n,{shapes:o}),n._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=t.selectionDefs=[],r.selection.mergedPolygons=t.mergedPolygons=[]}function N(t,e,r,n){var i,a,o,s=[],l=e.map((function(t){return t._id})),c=r.map((function(t){return t._id}));for(o=0;o<t.calcdata.length;o++)if(!0===(a=(i=t.calcdata[o])[0].trace).visible&&a._module&&a._module.selectPoints)if(!n||a.subplot!==n&&a.geo!==n)if("splom"===a.type&&a._xaxes[l[0]]&&a._yaxes[c[0]]){var u=h(a._module,i,e[0],r[0]);u.scene=t._fullLayout._splomScenes[a.uid],s.push(u)}else if("sankey"===a.type){var f=h(a._module,i,e[0],r[0]);s.push(f)}else{if(-1===l.indexOf(a.xaxis))continue;if(-1===c.indexOf(a.yaxis))continue;s.push(h(a._module,i,_(t,a.xaxis),_(t,a.yaxis)))}else s.push(h(a._module,i,e[0],r[0]));return s;function h(t,e,r,n){return{_module:t,cd:e,xaxis:r,yaxis:n}}}function j(t){var e=t.searchInfo.cd[0].trace,r=t.pointNumber,n=t.pointNumbers,i=n.length>0?n[0]:r;return!!e.selectedpoints&&e.selectedpoints.indexOf(i)>-1}function U(t,e,r){var n,a,o,s;for(n=0;n<e.length;n++){var l=e[n].cd[0].trace._fullInput,c=t._fullLayout._tracePreGUI[l.uid]||{};void 0===c.selectedpoints&&(c.selectedpoints=l._input.selectedpoints||null)}if(r){var u=r.points||[];for(n=0;n<e.length;n++)(s=e[n].cd[0].trace)._input.selectedpoints=s._fullInput.selectedpoints=[],s._fullInput!==s&&(s.selectedpoints=[]);for(n=0;n<u.length;n++){var f=u[n],h=f.data,p=f.fullData;f.pointIndices?([].push.apply(h.selectedpoints,f.pointIndices),s._fullInput!==s&&[].push.apply(p.selectedpoints,f.pointIndices)):(h.selectedpoints.push(f.pointIndex),s._fullInput!==s&&p.selectedpoints.push(f.pointIndex))}}else for(n=0;n<e.length;n++)delete(s=e[n].cd[0].trace).selectedpoints,delete s._input.selectedpoints,s._fullInput!==s&&delete s._fullInput.selectedpoints;var d=!1;for(n=0;n<e.length;n++){s=(o=(a=e[n]).cd)[0].trace,i.traceIs(s,"regl")&&(d=!0);var g=a._module,m=g.styleOnSelect||g.style;m&&(m(t,o,o[0].node3),o[0].nodeRangePlot3&&m(t,o,o[0].nodeRangePlot3))}d&&(w(t),T(t))}function V(t,e){if(Array.isArray(t))for(var r=e.cd,n=e.cd[0].trace,i=0;i<t.length;i++)t[i]=l(t[i],n,r);return t}function H(t,e){for(var r=[],n=0;n<t.length;n++){r[n]=[];for(var i=0;i<t[n].length;i++){r[n][i]=[],r[n][i][0]=i?"L":"M";for(var a=0;a<t[n][i].length;a++)r[n][i].push(t[n][i][a])}e||r[n].push(["Z",r[n][0][1],r[n][0][2]])}return r}e.exports={prepSelect:function(t,e,r,i,l){var c=u(l),v=f(l),x=p(l),_=h(l),w=d(l),T="drawcircle"===l,E="drawline"===l||T,L=i.gd,z=L._fullLayout,D=z._zoomlayer,j=i.element.getBoundingClientRect(),q=i.plotinfo,G=I(q),Y=e-j.left,W=r-j.top;z._calcInverseTransform(L);var X=y.apply3DTransform(z._invTransform)(Y,W);Y=X[0],W=X[1];var Z,J,K,Q,$,tt,et,rt=z._invScaleX,nt=z._invScaleY,it=Y,at=W,ot="M"+Y+","+W,st=i.xaxes[0]._length,lt=i.yaxes[0]._length,ct=i.xaxes.concat(i.yaxes),ut=t.altKey&&!(h(l)&&x);F(t,L,i),c&&(Z=M([[Y,W]],k.BENDPX));var ft=D.selectAll("path.select-outline-"+q.id).data(_?[0]:[1,2]),ht=z.newshape;ft.enter().append("path").attr("class",(function(t){return"select-outline select-outline-"+t+" select-outline-"+q.id})).style(_?{opacity:ht.opacity/2,fill:x?void 0:ht.fillcolor,stroke:ht.line.color,"stroke-dasharray":a(ht.line.dash,ht.line.width),"stroke-width":ht.line.width+"px"}:{}).attr("fill-rule",ht.fillrule).classed("cursor-move",!!_).attr("transform",G).attr("d",ot+"Z");var pt,dt=D.append("path").attr("class","zoombox-corners").style({fill:o.background,stroke:o.defaultLine,"stroke-width":1}).attr("transform",G).attr("d","M0,0Z"),gt=z._uid+k.SELECTID,mt=[],vt=N(L,i.xaxes,i.yaxes,i.subplot);function yt(t,e){return t-e}pt=q.fillRangeItems?q.fillRangeItems:v?function(t,e){var r=t.range={};for($=0;$<ct.length;$++){var n=ct[$],i=n._id.charAt(0);r[n._id]=[C(n,e[i+"min"]),C(n,e[i+"max"])].sort(yt)}}:function(t,e,r){var n=t.lassoPoints={};for($=0;$<ct.length;$++){var i=ct[$];n[i._id]=r.filtered.map(P(i))}},i.moveFn=function(t,e){it=Math.max(0,Math.min(st,rt*t+Y)),at=Math.max(0,Math.min(lt,nt*e+W));var r=Math.abs(it-Y),a=Math.abs(at-W);if(v){var o,s,l;if(w){var u=z.selectdirection;switch(o="any"===u?a<Math.min(.6*r,A)?"h":r<Math.min(.6*a,A)?"v":"d":u){case"h":s=T?lt/2:0,l=lt;break;case"v":s=T?st/2:0,l=st}}if(_)switch(z.newshape.drawdirection){case"vertical":o="h",s=T?lt/2:0,l=lt;break;case"horizontal":o="v",s=T?st/2:0,l=st;break;case"ortho":r<a?(o="h",s=W,l=at):(o="v",s=Y,l=it);break;default:o="d"}"h"===o?((Q=E?m(T,[it,s],[it,l]):[[Y,s],[Y,l],[it,l],[it,s]]).xmin=E?it:Math.min(Y,it),Q.xmax=E?it:Math.max(Y,it),Q.ymin=Math.min(s,l),Q.ymax=Math.max(s,l),dt.attr("d","M"+Q.xmin+","+(W-A)+"h-4v"+2*A+"h4ZM"+(Q.xmax-1)+","+(W-A)+"h4v"+2*A+"h-4Z")):"v"===o?((Q=E?m(T,[s,at],[l,at]):[[s,W],[s,at],[l,at],[l,W]]).xmin=Math.min(s,l),Q.xmax=Math.max(s,l),Q.ymin=E?at:Math.min(W,at),Q.ymax=E?at:Math.max(W,at),dt.attr("d","M"+(Y-A)+","+Q.ymin+"v-4h"+2*A+"v4ZM"+(Y-A)+","+(Q.ymax-1)+"v4h"+2*A+"v-4Z")):"d"===o&&((Q=E?m(T,[Y,W],[it,at]):[[Y,W],[Y,at],[it,at],[it,W]]).xmin=Math.min(Y,it),Q.xmax=Math.max(Y,it),Q.ymin=Math.min(W,at),Q.ymax=Math.max(W,at),dt.attr("d","M0,0Z"))}else c&&(Z.addPt([it,at]),Q=Z.filtered);i.selectionDefs&&i.selectionDefs.length?(K=function(t,e,r){if(r)return n.difference({regions:t,inverted:!1},{regions:[e],inverted:!1}).regions;return n.union({regions:t,inverted:!1},{regions:[e],inverted:!1}).regions}(i.mergedPolygons,Q,ut),Q.subtract=ut,J=R(i.selectionDefs.concat([Q]))):(K=[Q],J=S(Q)),g(H(K,x),ft,i),w&&b.throttle(gt,k.SELECTDELAY,(function(){var t;mt=[];var e,r=[];for($=0;$<vt.length;$++)if(e=(tt=vt[$])._module.selectPoints(tt,J),r.push(e),t=V(e,tt),mt.length)for(var n=0;n<t.length;n++)mt.push(t[n]);else mt=t;U(L,vt,et={points:mt}),pt(et,Q,Z),i.gd.emit("plotly_selecting",et)}))},i.clickFn=function(t,e){if(dt.remove(),L._fullLayout._activeShapeIndex>=0)L._fullLayout._deactivateShape(L);else if(!_){var r=z.clickmode;b.done(gt).then((function(){if(b.clear(gt),2===t){for(ft.remove(),$=0;$<vt.length;$++)(tt=vt[$])._module.selectPoints(tt,!1);U(L,vt),B(i),L.emit("plotly_deselect",null)}else r.indexOf("select")>-1&&O(e,L,i.xaxes,i.yaxes,i.subplot,i,ft),"event"===r&&L.emit("plotly_selected",void 0);s.click(L,e)})).catch(y.error)}},i.doneFn=function(){dt.remove(),b.done(gt).then((function(){b.clear(gt),i.gd.emit("plotly_selected",et),Q&&i.selectionDefs&&(Q.subtract=ut,i.selectionDefs.push(Q),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,K)),i.doneFnCompleted&&i.doneFnCompleted(mt)})).catch(y.error),_&&B(i)}},clearSelect:E,clearSelectionsCache:B,selectOnClick:O}},{"../../components/color":366,"../../components/dragelement/helpers":384,"../../components/drawing":388,"../../components/fx":406,"../../components/fx/helpers":402,"../../components/shapes/draw_newshape/display_outlines":454,"../../components/shapes/draw_newshape/helpers":455,"../../components/shapes/draw_newshape/newshapes":456,"../../lib":503,"../../lib/clear_gl_canvases":487,"../../lib/polygon":515,"../../lib/throttle":530,"../../plot_api/subroutines":544,"../../registry":638,"./axis_ids":558,"./constants":561,"./handle_outline":565,"./helpers":566,polybooljs:254}],576:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-time-format").utcFormat,a=t("../../lib"),o=a.numberFormat,s=t("fast-isnumeric"),l=a.cleanNumber,c=a.ms2DateTime,u=a.dateTime2ms,f=a.ensureNumber,h=a.isArrayOrTypedArray,p=t("../../constants/numerical"),d=p.FP_SAFE,g=p.BADNUM,m=p.LOG_CLIP,v=p.ONEWEEK,y=p.ONEDAY,x=p.ONEHOUR,b=p.ONEMIN,_=p.ONESEC,w=t("./axis_ids"),T=t("./constants"),k=T.HOUR_PATTERN,A=T.WEEKDAY_PATTERN;function M(t){return Math.pow(10,t)}function S(t){return null!=t}e.exports=function(t,e){e=e||{};var r=t._id||"x",p=r.charAt(0);function E(e,r){if(e>0)return Math.log(e)/Math.LN10;if(e<=0&&r&&t.range&&2===t.range.length){var n=t.range[0],i=t.range[1];return.5*(n+i-2*m*Math.abs(n-i))}return g}function L(e,r,n,i){if((i||{}).msUTC&&s(e))return+e;var o=u(e,n||t.calendar);if(o===g){if(!s(e))return g;e=+e;var l=Math.floor(10*a.mod(e+.05,1)),c=Math.round(e-l/10);o=u(new Date(c))+l/10}return o}function C(e,r,n){return c(e,r,n||t.calendar)}function P(e){return t._categories[Math.round(e)]}function I(e){if(S(e)){if(void 0===t._categoriesMap&&(t._categoriesMap={}),void 0!==t._categoriesMap[e])return t._categoriesMap[e];t._categories.push("number"==typeof e?String(e):e);var r=t._categories.length-1;return t._categoriesMap[e]=r,r}return g}function O(e){if(t._categoriesMap)return t._categoriesMap[e]}function z(t){var e=O(t);return void 0!==e?e:s(t)?+t:void 0}function D(t){return s(t)?+t:O(t)}function R(t,e,r){return n.round(r+e*t,2)}function F(t,e,r){return(t-r)/e}var B=function(e){return s(e)?R(e,t._m,t._b):g},N=function(e){return F(e,t._m,t._b)};if(t.rangebreaks){var j="y"===p;B=function(e){if(!s(e))return g;var r=t._rangebreaks.length;if(!r)return R(e,t._m,t._b);var n=j;t.range[0]>t.range[1]&&(n=!n);for(var i=n?-1:1,a=i*e,o=0,l=0;l<r;l++){var c=i*t._rangebreaks[l].min,u=i*t._rangebreaks[l].max;if(a<c)break;if(!(a>u)){o=a<(c+u)/2?l:l+1;break}o=l+1}var f=t._B[o]||0;return isFinite(f)?R(e,t._m2,f):0},N=function(e){var r=t._rangebreaks.length;if(!r)return F(e,t._m,t._b);for(var n=0,i=0;i<r&&!(e<t._rangebreaks[i].pmin);i++)e>t._rangebreaks[i].pmax&&(n=i+1);return F(e,t._m2,t._B[n])}}t.c2l="log"===t.type?E:f,t.l2c="log"===t.type?M:f,t.l2p=B,t.p2l=N,t.c2p="log"===t.type?function(t,e){return B(E(t,e))}:B,t.p2c="log"===t.type?function(t){return M(N(t))}:N,-1!==["linear","-"].indexOf(t.type)?(t.d2r=t.r2d=t.d2c=t.r2c=t.d2l=t.r2l=l,t.c2d=t.c2r=t.l2d=t.l2r=f,t.d2p=t.r2p=function(e){return t.l2p(l(e))},t.p2d=t.p2r=N,t.cleanPos=f):"log"===t.type?(t.d2r=t.d2l=function(t,e){return E(l(t),e)},t.r2d=t.r2c=function(t){return M(l(t))},t.d2c=t.r2l=l,t.c2d=t.l2r=f,t.c2r=E,t.l2d=M,t.d2p=function(e,r){return t.l2p(t.d2r(e,r))},t.p2d=function(t){return M(N(t))},t.r2p=function(e){return t.l2p(l(e))},t.p2r=N,t.cleanPos=f):"date"===t.type?(t.d2r=t.r2d=a.identity,t.d2c=t.r2c=t.d2l=t.r2l=L,t.c2d=t.c2r=t.l2d=t.l2r=C,t.d2p=t.r2p=function(e,r,n){return t.l2p(L(e,0,n))},t.p2d=t.p2r=function(t,e,r){return C(N(t),e,r)},t.cleanPos=function(e){return a.cleanDate(e,g,t.calendar)}):"category"===t.type?(t.d2c=t.d2l=I,t.r2d=t.c2d=t.l2d=P,t.d2r=t.d2l_noadd=z,t.r2c=function(e){var r=D(e);return void 0!==r?r:t.fraction2r(.5)},t.l2r=t.c2r=f,t.r2l=D,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return P(N(t))},t.r2p=t.d2p,t.p2r=N,t.cleanPos=function(t){return"string"==typeof t&&""!==t?t:f(t)}):"multicategory"===t.type&&(t.r2d=t.c2d=t.l2d=P,t.d2r=t.d2l_noadd=z,t.r2c=function(e){var r=z(e);return void 0!==r?r:t.fraction2r(.5)},t.r2c_just_indices=O,t.l2r=t.c2r=f,t.r2l=z,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return P(N(t))},t.r2p=t.d2p,t.p2r=N,t.cleanPos=function(t){return Array.isArray(t)||"string"==typeof t&&""!==t?t:f(t)},t.setupMultiCategory=function(n){var i,o,s=t._traceIndices,l=t._matchGroup;if(l&&0===t._categories.length)for(var c in l)if(c!==r){var u=e[w.id2name(c)];s=s.concat(u._traceIndices)}var f=[[0,{}],[0,{}]],d=[];for(i=0;i<s.length;i++){var g=n[s[i]];if(p in g){var m=g[p],v=g._length||a.minRowLength(m);if(h(m[0])&&h(m[1]))for(o=0;o<v;o++){var y=m[0][o],x=m[1][o];S(y)&&S(x)&&(d.push([y,x]),y in f[0][1]||(f[0][1][y]=f[0][0]++),x in f[1][1]||(f[1][1][x]=f[1][0]++))}}}for(d.sort((function(t,e){var r=f[0][1],n=r[t[0]]-r[e[0]];if(n)return n;var i=f[1][1];return i[t[1]]-i[e[1]]})),i=0;i<d.length;i++)I(d[i])}),t.fraction2r=function(e){var r=t.r2l(t.range[0]),n=t.r2l(t.range[1]);return t.l2r(r+e*(n-r))},t.r2fraction=function(e){var r=t.r2l(t.range[0]),n=t.r2l(t.range[1]);return(t.r2l(e)-r)/(n-r)},t.cleanRange=function(e,r){r||(r={}),e||(e="range");var n,i,o=a.nestedProperty(t,e).get();if(i=(i="date"===t.type?a.dfltRange(t.calendar):"y"===p?T.DFLTRANGEY:"realaxis"===t._name?[0,1]:r.dfltRange||T.DFLTRANGEX).slice(),"tozero"!==t.rangemode&&"nonnegative"!==t.rangemode||(i[0]=0),o&&2===o.length)for("date"!==t.type||t.autorange||(o[0]=a.cleanDate(o[0],g,t.calendar),o[1]=a.cleanDate(o[1],g,t.calendar)),n=0;n<2;n++)if("date"===t.type){if(!a.isDateTime(o[n],t.calendar)){t[e]=i;break}if(t.r2l(o[0])===t.r2l(o[1])){var l=a.constrain(t.r2l(o[0]),a.MIN_MS+1e3,a.MAX_MS-1e3);o[0]=t.l2r(l-1e3),o[1]=t.l2r(l+1e3);break}}else{if(!s(o[n])){if(!s(o[1-n])){t[e]=i;break}o[n]=o[1-n]*(n?10:.1)}if(o[n]<-d?o[n]=-d:o[n]>d&&(o[n]=d),o[0]===o[1]){var c=Math.max(1,Math.abs(1e-6*o[0]));o[0]-=c,o[1]+=c}}else a.nestedProperty(t,e).set(i)},t.setScale=function(r){var n=e._size;if(t.overlaying){var i=w.getFromId({_fullLayout:e},t.overlaying);t.domain=i.domain}var a=r&&t._r?"_r":"range",o=t.calendar;t.cleanRange(a);var s,l,c=t.r2l(t[a][0],o),u=t.r2l(t[a][1],o),f="y"===p;if((f?(t._offset=n.t+(1-t.domain[1])*n.h,t._length=n.h*(t.domain[1]-t.domain[0]),t._m=t._length/(c-u),t._b=-t._m*u):(t._offset=n.l+t.domain[0]*n.w,t._length=n.w*(t.domain[1]-t.domain[0]),t._m=t._length/(u-c),t._b=-t._m*c),t._rangebreaks=[],t._lBreaks=0,t._m2=0,t._B=[],t.rangebreaks)&&(t._rangebreaks=t.locateBreaks(Math.min(c,u),Math.max(c,u)),t._rangebreaks.length)){for(s=0;s<t._rangebreaks.length;s++)l=t._rangebreaks[s],t._lBreaks+=Math.abs(l.max-l.min);var h=f;c>u&&(h=!h),h&&t._rangebreaks.reverse();var d=h?-1:1;for(t._m2=d*t._length/(Math.abs(u-c)-t._lBreaks),t._B.push(-t._m2*(f?u:c)),s=0;s<t._rangebreaks.length;s++)l=t._rangebreaks[s],t._B.push(t._B[t._B.length-1]-d*t._m2*(l.max-l.min));for(s=0;s<t._rangebreaks.length;s++)(l=t._rangebreaks[s]).pmin=B(l.min),l.pmax=B(l.max)}if(!isFinite(t._m)||!isFinite(t._b)||t._length<0)throw e._replotting=!1,new Error("Something went wrong with axis scaling")},t.maskBreaks=function(e){var r,n,i,o,s,c=t.rangebreaks||[];c._cachedPatterns||(c._cachedPatterns=c.map((function(e){return e.enabled&&e.bounds?a.simpleMap(e.bounds,e.pattern?l:t.d2c):null}))),c._cachedValues||(c._cachedValues=c.map((function(e){return e.enabled&&e.values?a.simpleMap(e.values,t.d2c).sort(a.sorterAsc):null})));for(var u=0;u<c.length;u++){var f=c[u];if(f.enabled)if(f.bounds){var h=f.pattern;switch(n=(r=c._cachedPatterns[u])[0],i=r[1],h){case A:o=(s=new Date(e)).getUTCDay(),n>i&&(i+=7,o<n&&(o+=7));break;case k:o=(s=new Date(e)).getUTCHours()+(s.getUTCMinutes()/60+s.getUTCSeconds()/3600+s.getUTCMilliseconds()/36e5),n>i&&(i+=24,o<n&&(o+=24));break;case"":o=e}if(o>=n&&o<i)return g}else for(var p=c._cachedValues[u],d=0;d<p.length;d++)if(i=(n=p[d])+f.dvalue,e>=n&&e<i)return g}return e},t.locateBreaks=function(e,r){var n,i,o,s,c=[];if(!t.rangebreaks)return c;var u=t.rangebreaks.slice().sort((function(t,e){return t.pattern===A&&e.pattern===k?-1:e.pattern===A&&t.pattern===k?1:0})),f=function(t,n){if((t=a.constrain(t,e,r))!==(n=a.constrain(n,e,r))){for(var i=!0,o=0;o<c.length;o++){var s=c[o];t<s.max&&n>=s.min&&(t<s.min&&(s.min=t),n>s.max&&(s.max=n),i=!1)}i&&c.push({min:t,max:n})}};for(n=0;n<u.length;n++){var h=u[n];if(h.enabled)if(h.bounds){var p=e,d=r;h.pattern&&(p=Math.floor(p)),o=(i=a.simpleMap(h.bounds,h.pattern?l:t.r2l))[0],s=i[1];var g,m,w=new Date(p);switch(h.pattern){case A:m=v,g=(s-o+(s<o?7:0))*y,p+=o*y-(w.getUTCDay()*y+w.getUTCHours()*x+w.getUTCMinutes()*b+w.getUTCSeconds()*_+w.getUTCMilliseconds());break;case k:m=y,g=(s-o+(s<o?24:0))*x,p+=o*x-(w.getUTCHours()*x+w.getUTCMinutes()*b+w.getUTCSeconds()*_+w.getUTCMilliseconds());break;default:p=Math.min(i[0],i[1]),g=m=(d=Math.max(i[0],i[1]))-p}for(var T=p;T<d;T+=m)f(T,T+g)}else for(var M=a.simpleMap(h.values,t.d2c),S=0;S<M.length;S++)f(o=M[S],s=o+h.dvalue)}return c.sort((function(t,e){return t.min-e.min})),c},t.makeCalcdata=function(e,r,n){var i,o,s,l,c=t.type,u="date"===c&&e[r+"calendar"];if(r in e){if(i=e[r],l=e._length||a.minRowLength(i),a.isTypedArray(i)&&("linear"===c||"log"===c)){if(l===i.length)return i;if(i.subarray)return i.subarray(0,l)}if("multicategory"===c)return function(t,e){for(var r=new Array(e),n=0;n<e;n++){var i=(t[0]||[])[n],a=(t[1]||[])[n];r[n]=O([i,a])}return r}(i,l);for(o=new Array(l),s=0;s<l;s++)o[s]=t.d2c(i[s],0,u,n)}else{var f=r+"0"in e?t.d2c(e[r+"0"],0,u):0,h=e["d"+r]?Number(e["d"+r]):1;for(i=e[{x:"y",y:"x"}[r]],l=e._length||i.length,o=new Array(l),s=0;s<l;s++)o[s]=f+s*h}if(t.rangebreaks)for(s=0;s<l;s++)o[s]=t.maskBreaks(o[s]);return o},t.isValidRange=function(e){return Array.isArray(e)&&2===e.length&&s(t.r2l(e[0]))&&s(t.r2l(e[1]))},t.isPtWithinRange=function(e,r){var n=t.c2l(e[p],null,r),i=t.r2l(t.range[0]),a=t.r2l(t.range[1]);return i<a?i<=n&&n<=a:a<=n&&n<=i},t._emptyCategories=function(){t._categories=[],t._categoriesMap={}},t.clearCalc=function(){var r=t._matchGroup;if(r){var n=null,i=null;for(var a in r){var o=e[w.id2name(a)];if(o._categories){n=o._categories,i=o._categoriesMap;break}}n&&i?(t._categories=n,t._categoriesMap=i):t._emptyCategories()}else t._emptyCategories();if(t._initialCategories)for(var s=0;s<t._initialCategories.length;s++)I(t._initialCategories[s])},t.sortByInitialCategories=function(){var n=[];if(t._emptyCategories(),t._initialCategories)for(var i=0;i<t._initialCategories.length;i++)I(t._initialCategories[i]);n=n.concat(t._traceIndices);var a=t._matchGroup;for(var o in a)if(r!==o){var s=e[w.id2name(o)];s._categories=t._categories,s._categoriesMap=t._categoriesMap,n=n.concat(s._traceIndices)}return n};var U=e._d3locale;"date"===t.type&&(t._dateFormat=U?U.timeFormat:i,t._extraFormat=e._extraFormat),t._separators=e.separators,t._numFormat=U?U.numberFormat:o,delete t._minDtick,delete t._forceTick0}},{"../../constants/numerical":479,"../../lib":503,"./axis_ids":558,"./constants":561,"@plotly/d3":58,"d3-time-format":120,"fast-isnumeric":190}],577:[function(t,e,r){"use strict";e.exports=function(t){var e=["showexponent","showtickprefix","showticksuffix"].filter((function(e){return void 0!==t[e]}));if(e.every((function(r){return t[r]===t[e[0]]}))||1===e.length)return t[e[0]]}},{}],578:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color").contrast,a=t("./layout_attributes"),o=t("./show_dflt"),s=t("../array_container_defaults");function l(t,e){function r(r,i){return n.coerce(t,e,a.tickformatstops,r,i)}r("enabled")&&(r("dtickrange"),r("value"))}e.exports=function(t,e,r,c,u){u||(u={});var f=o(t);if(r("showticklabels")){var h=u.font||{},p=e.color,d=-1!==(e.ticklabelposition||"").indexOf("inside")?i(u.bgColor):p&&p!==a.color.dflt?p:h.color;if(n.coerceFont(r,"tickfont",{family:h.family,size:h.size,color:d}),u.noTicklabelstep||"multicategory"===c||"log"===c||r("ticklabelstep"),u.noAng||r("tickangle"),"category"!==c){var g=r("tickformat");s(t,e,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:l}),e.tickformatstops.length||delete e.tickformatstops,u.noExp||g||"date"===c||(r("showexponent",f),r("exponentformat"),r("minexponent"),r("separatethousands"))}}}},{"../../components/color":366,"../../lib":503,"../array_container_defaults":549,"./layout_attributes":569,"./show_dflt":577}],579:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e,r,a){var o=n.coerce2(t,e,i,"ticklen"),s=n.coerce2(t,e,i,"tickwidth"),l=n.coerce2(t,e,i,"tickcolor",e.color);r("ticks",a.outerTicks||o||s||l?"outside":"")||(delete e.ticklen,delete e.tickwidth,delete e.tickcolor)}},{"../../lib":503,"./layout_attributes":569}],580:[function(t,e,r){"use strict";var n=t("./clean_ticks"),i=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r,a){function o(r){var n=t[r];return void 0!==n?n:(e._template||{})[r]}var s=o("tick0"),l=o("dtick"),c=o("tickvals"),u=r("tickmode",i(c)?"array":l?"linear":"auto");if("auto"===u)r("nticks");else if("linear"===u){var f=e.dtick=n.dtick(l,a);e.tick0=n.tick0(s,a,e.calendar,f)}else if("multicategory"!==a){void 0===r("tickvals")?e.tickmode="auto":r("ticktext")}}},{"../../lib":503,"./clean_ticks":560}],581:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../lib"),o=t("../../components/drawing"),s=t("./axes");e.exports=function(t,e,r,l){var c=t._fullLayout;if(0!==e.length){var u,f,h,p;l&&(u=l());var d=n.ease(r.easing);return t._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(p),p=null,function(){for(var r={},n=0;n<e.length;n++){var a=e[n],o=a.plotinfo.xaxis,s=a.plotinfo.yaxis;a.xr0&&(r[o._name+".range"]=a.xr0.slice()),a.yr0&&(r[s._name+".range"]=a.yr0.slice())}return i.call("relayout",t,r).then((function(){for(var t=0;t<e.length;t++)g(e[t].plotinfo)}))}()})),f=Date.now(),p=window.requestAnimationFrame((function n(){h=Date.now();for(var a=Math.min(1,(h-f)/r.duration),o=d(a),s=0;s<e.length;s++)m(e[s],o);h-f>r.duration?(!function(){for(var r={},n=0;n<e.length;n++){var a=e[n],o=a.plotinfo.xaxis,s=a.plotinfo.yaxis;a.xr1&&(r[o._name+".range"]=a.xr1.slice()),a.yr1&&(r[s._name+".range"]=a.yr1.slice())}u&&u(),i.call("relayout",t,r).then((function(){for(var t=0;t<e.length;t++)g(e[t].plotinfo)}))}(),p=window.cancelAnimationFrame(n)):p=window.requestAnimationFrame(n)})),Promise.resolve()}function g(t){var e=t.xaxis,r=t.yaxis;c._defs.select("#"+t.clipId+"> rect").call(o.setTranslate,0,0).call(o.setScale,1,1),t.plot.call(o.setTranslate,e._offset,r._offset).call(o.setScale,1,1);var n=t.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(o.setPointGroupScale,1,1),n.selectAll(".textpoint").call(o.setTextPointsScale,1,1),n.call(o.hideOutsideRangePoints,t)}function m(e,r){var n=e.plotinfo,i=n.xaxis,l=n.yaxis,c=i._length,u=l._length,f=!!e.xr1,h=!!e.yr1,p=[];if(f){var d=a.simpleMap(e.xr0,i.r2l),g=a.simpleMap(e.xr1,i.r2l),m=d[1]-d[0],v=g[1]-g[0];p[0]=(d[0]*(1-r)+r*g[0]-d[0])/(d[1]-d[0])*c,p[2]=c*(1-r+r*v/m),i.range[0]=i.l2r(d[0]*(1-r)+r*g[0]),i.range[1]=i.l2r(d[1]*(1-r)+r*g[1])}else p[0]=0,p[2]=c;if(h){var y=a.simpleMap(e.yr0,l.r2l),x=a.simpleMap(e.yr1,l.r2l),b=y[1]-y[0],_=x[1]-x[0];p[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,p[3]=u*(1-r+r*_/b),l.range[0]=i.l2r(y[0]*(1-r)+r*x[0]),l.range[1]=l.l2r(y[1]*(1-r)+r*x[1])}else p[1]=0,p[3]=u;s.drawOne(t,i,{skipTitle:!0}),s.drawOne(t,l,{skipTitle:!0}),s.redrawComponents(t,[i._id,l._id]);var w=f?c/p[2]:1,T=h?u/p[3]:1,k=f?p[0]:0,A=h?p[1]:0,M=f?p[0]/p[2]*c:0,S=h?p[1]/p[3]*u:0,E=i._offset-M,L=l._offset-S;n.clipRect.call(o.setTranslate,k,A).call(o.setScale,1/w,1/T),n.plot.call(o.setTranslate,E,L).call(o.setScale,w,T),o.setPointGroupScale(n.zoomScalePts,1/w,1/T),o.setTextPointsScale(n.zoomScaleTxt,1/w,1/T)}s.redrawComponents(t)}},{"../../components/drawing":388,"../../lib":503,"../../registry":638,"./axes":554,"@plotly/d3":58}],582:[function(t,e,r){"use strict";var n=t("../../registry").traceIs,i=t("./axis_autotype");function a(t){return{v:"x",h:"y"}[t.orientation||"v"]}function o(t,e){var r=a(t),i=n(t,"box-violin"),o=n(t._fullInput||{},"candlestick");return i&&!o&&e===r&&void 0===t[r]&&void 0===t[r+"0"]}e.exports=function(t,e,r,s){r("autotypenumbers",s.autotypenumbersDflt),"-"===r("type",(s.splomStash||{}).type)&&(!function(t,e){if("-"!==t.type)return;var r,s=t._id,l=s.charAt(0);-1!==s.indexOf("scene")&&(s=l);var c=function(t,e,r){for(var n=0;n<t.length;n++){var i=t[n];if("splom"===i.type&&i._length>0&&(i["_"+r+"axes"]||{})[e])return i;if((i[r+"axis"]||r)===e){if(o(i,r))return i;if((i[r]||[]).length||i[r+"0"])return i}}}(e,s,l);if(!c)return;if("histogram"===c.type&&l==={v:"y",h:"x"}[c.orientation||"v"])return void(t.type="linear");var u=l+"calendar",f=c[u],h={noMultiCategory:!n(c,"cartesian")||n(c,"noMultiCategory")};"box"===c.type&&c._hasPreCompStats&&l==={h:"x",v:"y"}[c.orientation||"v"]&&(h.noMultiCategory=!0);if(h.autotypenumbers=t.autotypenumbers,o(c,l)){var p=a(c),d=[];for(r=0;r<e.length;r++){var g=e[r];n(g,"box-violin")&&(g[l+"axis"]||l)===s&&(void 0!==g[p]?d.push(g[p][0]):void 0!==g.name?d.push(g.name):d.push("text"),g[u]!==f&&(f=void 0))}t.type=i(d,f,h)}else if("splom"===c.type){var m=c.dimensions[c._axesDim[s]];m.visible&&(t.type=i(m.values,f,h))}else t.type=i(c[l]||[c[l+"0"]],f,h)}(e,s.data),"-"===e.type?e.type="linear":t.type=e.type)}},{"../../registry":638,"./axis_autotype":555}],583:[function(t,e,r){"use strict";var n=t("../registry"),i=t("../lib");function a(t,e,r){var n,a,o,s=!1;if("data"===e.type)n=t._fullData[null!==e.traces?e.traces[0]:0];else{if("layout"!==e.type)return!1;n=t._fullLayout}return a=i.nestedProperty(n,e.prop).get(),(o=r[e.type]=r[e.type]||{}).hasOwnProperty(e.prop)&&o[e.prop]!==a&&(s=!0),o[e.prop]=a,{changed:s,value:a}}function o(t,e){var r=[],n=e[0],a={};if("string"==typeof n)a[n]=e[1];else{if(!i.isPlainObject(n))return r;a=n}return l(a,(function(t,e,n){r.push({type:"layout",prop:t,value:n})}),"",0),r}function s(t,e){var r,n,a,o,s=[];if(n=e[0],a=e[1],r=e[2],o={},"string"==typeof n)o[n]=a;else{if(!i.isPlainObject(n))return s;o=n,void 0===r&&(r=a)}return void 0===r&&(r=null),l(o,(function(e,n,i){var a,o;if(Array.isArray(i)){o=i.slice();var l=Math.min(o.length,t.data.length);r&&(l=Math.min(l,r.length)),a=[];for(var c=0;c<l;c++)a[c]=r?r[c]:c}else o=i,a=r?r.slice():null;if(null===a)Array.isArray(o)&&(o=o[0]);else if(Array.isArray(a)){if(!Array.isArray(o)){var u=o;o=[];for(var f=0;f<a.length;f++)o[f]=u}o.length=Math.min(a.length,o.length)}s.push({type:"data",prop:e,traces:a,value:o})}),"",0),s}function l(t,e,r,n){Object.keys(t).forEach((function(a){var o=t[a];if("_"!==a[0]){var s=r+(n>0?".":"")+a;i.isPlainObject(o)?l(o,e,s,n+1):e(s,a,o)}}))}r.manageCommandObserver=function(t,e,n,o){var s={},l=!0;e&&e._commandObserver&&(s=e._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=r.hasSimpleAPICommandBindings(t,n,s.lookupTable);if(e&&e._commandObserver){if(c)return s;if(e._commandObserver.remove)return e._commandObserver.remove(),e._commandObserver=null,s}if(c){a(t,c,s.cache),s.check=function(){if(l){var e=a(t,c,s.cache);return e.changed&&o&&void 0!==s.lookupTable[e.value]&&(s.disable(),Promise.resolve(o({value:e.value,type:c.type,prop:c.prop,traces:c.traces,index:s.lookupTable[e.value]})).then(s.enable,s.enable)),e.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],f=0;f<u.length;f++)t._internalOn(u[f],s.check);s.remove=function(){for(var e=0;e<u.length;e++)t._removeInternalListener(u[e],s.check)}}else i.log("Unable to automatically bind plot updates to API command"),s.lookupTable={},s.remove=function(){};return s.disable=function(){l=!1},s.enable=function(){l=!0},e&&(e._commandObserver=s),s},r.hasSimpleAPICommandBindings=function(t,e,n){var i,a,o=e.length;for(i=0;i<o;i++){var s,l=e[i],c=l.method,u=l.args;if(Array.isArray(u)||(u=[]),!c)return!1;var f=r.computeAPICommandBindings(t,c,u);if(1!==f.length)return!1;if(a){if((s=f[0]).type!==a.type)return!1;if(s.prop!==a.prop)return!1;if(Array.isArray(a.traces)){if(!Array.isArray(s.traces))return!1;s.traces.sort();for(var h=0;h<a.traces.length;h++)if(a.traces[h]!==s.traces[h])return!1}else if(s.prop!==a.prop)return!1}else a=f[0],Array.isArray(a.traces)&&a.traces.sort();var p=(s=f[0]).value;if(Array.isArray(p)){if(1!==p.length)return!1;p=p[0]}n&&(n[p]=i)}return a},r.executeAPICommand=function(t,e,r){if("skip"===e)return Promise.resolve();var a=n.apiMethodRegistry[e],o=[t];Array.isArray(r)||(r=[]);for(var s=0;s<r.length;s++)o.push(r[s]);return a.apply(null,o).catch((function(t){return i.warn("API call to Plotly."+e+" rejected.",t),Promise.reject(t)}))},r.computeAPICommandBindings=function(t,e,r){var n;switch(Array.isArray(r)||(r=[]),e){case"restyle":n=s(t,r);break;case"relayout":n=o(t,r);break;case"update":n=s(t,[r[0],r[2]]).concat(o(t,[r[1]]));break;case"animate":n=function(t,e){return Array.isArray(e[0])&&1===e[0].length&&-1!==["string","number"].indexOf(typeof e[0][0])?[{type:"layout",prop:"_currentFrame",value:e[0][0].toString()}]:[]}(0,r);break;default:n=[]}return n}},{"../lib":503,"../registry":638}],584:[function(t,e,r){"use strict";var n=t("../lib/extend").extendFlat;r.attributes=function(t,e){e=e||{};var r={valType:"info_array",editType:(t=t||{}).editType,items:[{valType:"number",min:0,max:1,editType:t.editType},{valType:"number",min:0,max:1,editType:t.editType}],dflt:[0,1]},i=(t.name&&t.name,t.trace,e.description&&e.description,{x:n({},r,{}),y:n({},r,{}),editType:t.editType});return t.noGridCell||(i.row={valType:"integer",min:0,dflt:0,editType:t.editType},i.column={valType:"integer",min:0,dflt:0,editType:t.editType}),i},r.defaults=function(t,e,r,n){var i=n&&n.x||[0,1],a=n&&n.y||[0,1],o=e.grid;if(o){var s=r("domain.column");void 0!==s&&(s<o.columns?i=o._domains.x[s]:delete t.domain.column);var l=r("domain.row");void 0!==l&&(l<o.rows?a=o._domains.y[l]:delete t.domain.row)}var c=r("domain.x",i),u=r("domain.y",a);c[0]<c[1]||(t.domain.x=i.slice()),u[0]<u[1]||(t.domain.y=a.slice())}},{"../lib/extend":493}],585:[function(t,e,r){"use strict";e.exports=function(t){var e=t.editType,r=t.colorEditType;void 0===r&&(r=e);var n={family:{valType:"string",noBlank:!0,strict:!0,editType:e},size:{valType:"number",min:1,editType:e},color:{valType:"color",editType:r},editType:e};return t.autoSize&&(n.size.dflt="auto"),t.autoColor&&(n.color.dflt="auto"),t.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}},{}],586:[function(t,e,r){"use strict";e.exports={_isLinkedToArray:"frames_entry",group:{valType:"string"},name:{valType:"string"},traces:{valType:"any"},baseframe:{valType:"string"},data:{valType:"any"},layout:{valType:"any"}}},{}],587:[function(t,e,r){"use strict";r.projNames={airy:"airy",aitoff:"aitoff","albers usa":"albersUsa",albers:"albers",august:"august","azimuthal equal area":"azimuthalEqualArea","azimuthal equidistant":"azimuthalEquidistant",baker:"baker",bertin1953:"bertin1953",boggs:"boggs",bonne:"bonne",bottomley:"bottomley",bromley:"bromley",collignon:"collignon","conic conformal":"conicConformal","conic equal area":"conicEqualArea","conic equidistant":"conicEquidistant",craig:"craig",craster:"craster","cylindrical equal area":"cylindricalEqualArea","cylindrical stereographic":"cylindricalStereographic",eckert1:"eckert1",eckert2:"eckert2",eckert3:"eckert3",eckert4:"eckert4",eckert5:"eckert5",eckert6:"eckert6",eisenlohr:"eisenlohr",equirectangular:"equirectangular",fahey:"fahey","foucaut sinusoidal":"foucautSinusoidal",foucaut:"foucaut",ginzburg4:"ginzburg4",ginzburg5:"ginzburg5",ginzburg6:"ginzburg6",ginzburg8:"ginzburg8",ginzburg9:"ginzburg9",gnomonic:"gnomonic","gringorten quincuncial":"gringortenQuincuncial",gringorten:"gringorten",guyou:"guyou",hammer:"hammer",hill:"hill",homolosine:"homolosine",hufnagel:"hufnagel",hyperelliptical:"hyperelliptical",kavrayskiy7:"kavrayskiy7",lagrange:"lagrange",larrivee:"larrivee",laskowski:"laskowski",loximuthal:"loximuthal",mercator:"mercator",miller:"miller",mollweide:"mollweide","mt flat polar parabolic":"mtFlatPolarParabolic","mt flat polar quartic":"mtFlatPolarQuartic","mt flat polar sinusoidal":"mtFlatPolarSinusoidal","natural earth":"naturalEarth","natural earth1":"naturalEarth1","natural earth2":"naturalEarth2","nell hammer":"nellHammer",nicolosi:"nicolosi",orthographic:"orthographic",patterson:"patterson","peirce quincuncial":"peirceQuincuncial",polyconic:"polyconic","rectangular polyconic":"rectangularPolyconic",robinson:"robinson",satellite:"satellite","sinu mollweide":"sinuMollweide",sinusoidal:"sinusoidal",stereographic:"stereographic",times:"times","transverse mercator":"transverseMercator","van der grinten":"vanDerGrinten","van der grinten2":"vanDerGrinten2","van der grinten3":"vanDerGrinten3","van der grinten4":"vanDerGrinten4",wagner4:"wagner4",wagner6:"wagner6",wiechel:"wiechel","winkel tripel":"winkel3",winkel3:"winkel3"},r.axesNames=["lonaxis","lataxis"],r.lonaxisSpan={orthographic:180,"azimuthal equal area":360,"azimuthal equidistant":360,"conic conformal":180,gnomonic:160,stereographic:180,"transverse mercator":180,"*":360},r.lataxisSpan={"conic conformal":150,stereographic:179.5,"*":180},r.scopeDefaults={world:{lonaxisRange:[-180,180],lataxisRange:[-90,90],projType:"equirectangular",projRotate:[0,0,0]},usa:{lonaxisRange:[-180,-50],lataxisRange:[15,80],projType:"albers usa"},europe:{lonaxisRange:[-30,60],lataxisRange:[30,85],projType:"conic conformal",projRotate:[15,0,0],projParallels:[0,60]},asia:{lonaxisRange:[22,160],lataxisRange:[-15,55],projType:"mercator",projRotate:[0,0,0]},africa:{lonaxisRange:[-30,60],lataxisRange:[-40,40],projType:"mercator",projRotate:[0,0,0]},"north america":{lonaxisRange:[-180,-45],lataxisRange:[5,85],projType:"conic conformal",projRotate:[-100,0,0],projParallels:[29.5,45.5]},"south america":{lonaxisRange:[-100,-30],lataxisRange:[-60,15],projType:"mercator",projRotate:[0,0,0]}},r.clipPad=.001,r.precision=.1,r.landColor="#F0DC82",r.waterColor="#3399FF",r.locationmodeToLayer={"ISO-3":"countries","USA-states":"subunits","country names":"countries"},r.sphereSVG={type:"Sphere"},r.fillLayers={ocean:1,land:1,lakes:1},r.lineLayers={subunits:1,countries:1,coastlines:1,rivers:1,frame:1},r.layers=["bg","ocean","land","lakes","subunits","countries","coastlines","rivers","lataxis","lonaxis","frame","backplot","frontplot"],r.layersForChoropleth=["bg","ocean","land","subunits","countries","coastlines","lataxis","lonaxis","frame","backplot","rivers","lakes","frontplot"],r.layerNameToAdjective={ocean:"ocean",land:"land",lakes:"lake",subunits:"subunit",countries:"country",coastlines:"coastline",rivers:"river",frame:"frame"}},{}],588:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-geo"),a=i.geoPath,o=i.geoDistance,s=t("d3-geo-projection"),l=t("../../registry"),c=t("../../lib"),u=c.strTranslate,f=t("../../components/color"),h=t("../../components/drawing"),p=t("../../components/fx"),d=t("../plots"),g=t("../cartesian/axes"),m=t("../cartesian/autorange").getAutoRange,v=t("../../components/dragelement"),y=t("../cartesian/select").prepSelect,x=t("../cartesian/select").clearSelect,b=t("../cartesian/select").selectOnClick,_=t("./zoom"),w=t("./constants"),T=t("../../lib/geo_location_utils"),k=t("../../lib/topojson_utils"),A=t("topojson-client").feature;function M(t){this.id=t.id,this.graphDiv=t.graphDiv,this.container=t.container,this.topojsonURL=t.topojsonURL,this.isStatic=t.staticPlot,this.topojsonName=null,this.topojson=null,this.projection=null,this.scope=null,this.viewInitial=null,this.fitScale=null,this.bounds=null,this.midPt=null,this.hasChoropleth=!1,this.traceHash={},this.layers={},this.basePaths={},this.dataPaths={},this.dataPoints={},this.clipDef=null,this.clipRect=null,this.bgRect=null,this.makeFramework()}var S=M.prototype;function E(t,e){var r=w.clipPad,n=t[0]+r,i=t[1]-r,a=e[0]+r,o=e[1]-r;n>0&&i<0&&(i+=360);var s=(i-n)/4;return{type:"Polygon",coordinates:[[[n,a],[n,o],[n+s,o],[n+2*s,o],[n+3*s,o],[i,o],[i,a],[i-s,a],[i-2*s,a],[i-3*s,a],[n,a]]]}}e.exports=function(t){return new M(t)},S.plot=function(t,e,r){var n=this,i=e[this.id],a=[],o=!1;for(var s in w.layerNameToAdjective)if("frame"!==s&&i["show"+s]){o=!0;break}for(var l=0;l<t.length;l++)if(t[0][0].trace.locationmode){o=!0;break}if(o){var c=k.getTopojsonName(i);null!==n.topojson&&c===n.topojsonName||(n.topojsonName=c,void 0===PlotlyGeoAssets.topojson[n.topojsonName]&&a.push(n.fetchTopojson()))}a=a.concat(T.fetchTraceGeoData(t)),r.push(new Promise((function(r,i){Promise.all(a).then((function(){n.topojson=PlotlyGeoAssets.topojson[n.topojsonName],n.update(t,e),r()})).catch(i)})))},S.fetchTopojson=function(){var t=this,e=k.getTopojsonPath(t.topojsonURL,t.topojsonName);return new Promise((function(r,i){n.json(e,(function(n,a){if(n)return 404===n.status?i(new Error(["plotly.js could not find topojson file at",e,".","Make sure the *topojsonURL* plot config option","is set properly."].join(" "))):i(new Error(["unexpected error while fetching topojson file at",e].join(" ")));PlotlyGeoAssets.topojson[t.topojsonName]=a,r()}))}))},S.update=function(t,e){var r=e[this.id];this.hasChoropleth=!1;for(var n=0;n<t.length;n++){var i=t[n],a=i[0].trace;"choropleth"===a.type&&(this.hasChoropleth=!0),!0===a.visible&&a._length>0&&a._module.calcGeoJSON(i,e)}if(!this.updateProjection(t,e)){this.viewInitial&&this.scope===r.scope||this.saveViewInitial(r),this.scope=r.scope,this.updateBaseLayers(e,r),this.updateDims(e,r),this.updateFx(e,r),d.generalUpdatePerTraceModule(this.graphDiv,this,t,r);var o=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=o.selectAll(".point"),this.dataPoints.text=o.selectAll("text"),this.dataPaths.line=o.selectAll(".js-line");var s=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=s.selectAll("path"),this.render()}},S.updateProjection=function(t,e){var r=this.graphDiv,n=e[this.id],l=e._size,u=n.domain,f=n.projection,h=n.lonaxis,p=n.lataxis,d=h._ax,g=p._ax,v=this.projection=function(t){var e=t.projection,r=e.type,n=w.projNames[r];n="geo"+c.titleCase(n);for(var l=(i[n]||s[n])(),u=t._isSatellite?180*Math.acos(1/e.distance)/Math.PI:t._isClipped?w.lonaxisSpan[r]/2:null,f=["center","rotate","parallels","clipExtent"],h=function(t){return t?l:[]},p=0;p<f.length;p++){var d=f[p];"function"!=typeof l[d]&&(l[d]=h)}l.isLonLatOverEdges=function(t){if(null===l(t))return!0;if(u){var e=l.rotate();return o(t,[-e[0],-e[1]])>u*Math.PI/180}return!1},l.getPath=function(){return a().projection(l)},l.getBounds=function(t){return l.getPath().bounds(t)},l.precision(w.precision),t._isSatellite&&l.tilt(e.tilt).distance(e.distance);u&&l.clipAngle(u-w.clipPad);return l}(n),y=[[l.l+l.w*u.x[0],l.t+l.h*(1-u.y[1])],[l.l+l.w*u.x[1],l.t+l.h*(1-u.y[0])]],x=n.center||{},b=f.rotation||{},_=h.range||[],T=p.range||[];if(n.fitbounds){d._length=y[1][0]-y[0][0],g._length=y[1][1]-y[0][1],d.range=m(r,d),g.range=m(r,g);var k=(d.range[0]+d.range[1])/2,A=(g.range[0]+g.range[1])/2;if(n._isScoped)x={lon:k,lat:A};else if(n._isClipped){x={lon:k,lat:A},b={lon:k,lat:A,roll:b.roll};var M=f.type,S=w.lonaxisSpan[M]/2||180,L=w.lataxisSpan[M]/2||90;_=[k-S,k+S],T=[A-L,A+L]}else x={lon:k,lat:A},b={lon:k,lat:b.lat,roll:b.roll}}v.center([x.lon-b.lon,x.lat-b.lat]).rotate([-b.lon,-b.lat,b.roll]).parallels(f.parallels);var C=E(_,T);v.fitExtent(y,C);var P=this.bounds=v.getBounds(C),I=this.fitScale=v.scale(),O=v.translate();if(n.fitbounds){var z=v.getBounds(E(d.range,g.range)),D=Math.min((P[1][0]-P[0][0])/(z[1][0]-z[0][0]),(P[1][1]-P[0][1])/(z[1][1]-z[0][1]));isFinite(D)?v.scale(D*I):c.warn("Something went wrong during"+this.id+"fitbounds computations.")}else v.scale(f.scale*I);var R=this.midPt=[(P[0][0]+P[1][0])/2,(P[0][1]+P[1][1])/2];if(v.translate([O[0]+(R[0]-O[0]),O[1]+(R[1]-O[1])]).clipExtent(P),n._isAlbersUsa){var F=v([x.lon,x.lat]),B=v.translate();v.translate([B[0]-(F[0]-B[0]),B[1]-(F[1]-B[1])])}},S.updateBaseLayers=function(t,e){var r=this,i=r.topojson,a=r.layers,o=r.basePaths;function s(t){return"lonaxis"===t||"lataxis"===t}function l(t){return Boolean(w.lineLayers[t])}function c(t){return Boolean(w.fillLayers[t])}var u=(this.hasChoropleth?w.layersForChoropleth:w.layers).filter((function(t){return l(t)||c(t)?e["show"+t]:!s(t)||e[t].showgrid})),p=r.framework.selectAll(".layer").data(u,String);p.exit().each((function(t){delete a[t],delete o[t],n.select(this).remove()})),p.enter().append("g").attr("class",(function(t){return"layer "+t})).each((function(t){var e=a[t]=n.select(this);"bg"===t?r.bgRect=e.append("rect").style("pointer-events","all"):s(t)?o[t]=e.append("path").style("fill","none"):"backplot"===t?e.append("g").classed("choroplethlayer",!0):"frontplot"===t?e.append("g").classed("scatterlayer",!0):l(t)?o[t]=e.append("path").style("fill","none").style("stroke-miterlimit",2):c(t)&&(o[t]=e.append("path").style("stroke","none"))})),p.order(),p.each((function(r){var n=o[r],a=w.layerNameToAdjective[r];"frame"===r?n.datum(w.sphereSVG):l(r)||c(r)?n.datum(A(i,i.objects[r])):s(r)&&n.datum(function(t,e,r){var n,i,a,o=e[t],s=w.scopeDefaults[e.scope];"lonaxis"===t?(n=s.lonaxisRange,i=s.lataxisRange,a=function(t,e){return[t,e]}):"lataxis"===t&&(n=s.lataxisRange,i=s.lonaxisRange,a=function(t,e){return[e,t]});var l={type:"linear",range:[n[0],n[1]-1e-6],tick0:o.tick0,dtick:o.dtick};g.setConvert(l,r);var c=g.calcTicks(l);e.isScoped||"lonaxis"!==t||c.pop();for(var u=c.length,f=new Array(u),h=0;h<u;h++)for(var p=c[h].x,d=f[h]=[],m=i[0];m<i[1]+2.5;m+=2.5)d.push(a(p,m));return{type:"MultiLineString",coordinates:f}}(r,e,t)).call(f.stroke,e[r].gridcolor).call(h.dashLine,"",e[r].gridwidth),l(r)?n.call(f.stroke,e[a+"color"]).call(h.dashLine,"",e[a+"width"]):c(r)&&n.call(f.fill,e[a+"color"])}))},S.updateDims=function(t,e){var r=this.bounds,n=(e.framewidth||0)/2,i=r[0][0]-n,a=r[0][1]-n,o=r[1][0]-i+n,s=r[1][1]-a+n;h.setRect(this.clipRect,i,a,o,s),this.bgRect.call(h.setRect,i,a,o,s).call(f.fill,e.bgcolor),this.xaxis._offset=i,this.xaxis._length=o,this.yaxis._offset=a,this.yaxis._length=s},S.updateFx=function(t,e){var r=this,i=r.graphDiv,a=r.bgRect,o=t.dragmode,s=t.clickmode;if(!r.isStatic){var u;"select"===o?u=function(t,e){(t.range={})[r.id]=[h([e.xmin,e.ymin]),h([e.xmax,e.ymax])]}:"lasso"===o&&(u=function(t,e,n){(t.lassoPoints={})[r.id]=n.filtered.map(h)});var f={element:r.bgRect.node(),gd:i,plotinfo:{id:r.id,xaxis:r.xaxis,yaxis:r.yaxis,fillRangeItems:u},xaxes:[r.xaxis],yaxes:[r.yaxis],subplot:r.id,clickFn:function(t){2===t&&x(i)}};"pan"===o?(a.node().onmousedown=null,a.call(_(r,e)),a.on("dblclick.zoom",(function(){var t=r.viewInitial,e={};for(var n in t)e[r.id+"."+n]=t[n];l.call("_guiRelayout",i,e),i.emit("plotly_doubleclick",null)})),i._context._scrollZoom.geo||a.on("wheel.zoom",null)):"select"!==o&&"lasso"!==o||(a.on(".zoom",null),f.prepFn=function(t,e,r){y(t,e,r,f,o)},v.init(f)),a.on("mousemove",(function(){var t=r.projection.invert(c.getPositionFromD3Event());if(!t)return v.unhover(i,n.event);r.xaxis.p2c=function(){return t[0]},r.yaxis.p2c=function(){return t[1]},p.hover(i,n.event,r.id)})),a.on("mouseout",(function(){i._dragging||v.unhover(i,n.event)})),a.on("click",(function(){"select"!==o&&"lasso"!==o&&(s.indexOf("select")>-1&&b(n.event,i,[r.xaxis],[r.yaxis],r.id,f),s.indexOf("event")>-1&&p.click(i,n.event))}))}function h(t){return r.projection.invert([t[0]+r.xaxis._offset,t[1]+r.yaxis._offset])}},S.makeFramework=function(){var t=this,e=t.graphDiv,r=e._fullLayout,i="clip"+r._uid+t.id;t.clipDef=r._clips.append("clipPath").attr("id",i),t.clipRect=t.clipDef.append("rect"),t.framework=n.select(t.container).append("g").attr("class","geo "+t.id).call(h.setClipUrl,i,e),t.project=function(e){var r=t.projection(e);return r?[r[0]-t.xaxis._offset,r[1]-t.yaxis._offset]:[null,null]},t.xaxis={_id:"x",c2p:function(e){return t.project(e)[0]}},t.yaxis={_id:"y",c2p:function(e){return t.project(e)[1]}},t.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},g.setConvert(t.mockAxis,r)},S.saveViewInitial=function(t){var e,r=t.center||{},n=t.projection,i=n.rotation||{};this.viewInitial={fitbounds:t.fitbounds,"projection.scale":n.scale},e=t._isScoped?{"center.lon":r.lon,"center.lat":r.lat}:t._isClipped?{"projection.rotation.lon":i.lon,"projection.rotation.lat":i.lat}:{"center.lon":r.lon,"center.lat":r.lat,"projection.rotation.lon":i.lon},c.extendFlat(this.viewInitial,e)},S.render=function(){var t,e=this.projection,r=e.getPath();function n(t){var r=e(t.lonlat);return r?u(r[0],r[1]):null}function i(t){return e.isLonLatOverEdges(t.lonlat)?"none":null}for(t in this.basePaths)this.basePaths[t].attr("d",r);for(t in this.dataPaths)this.dataPaths[t].attr("d",(function(t){return r(t.geojson)}));for(t in this.dataPoints)this.dataPoints[t].attr("display",i).attr("transform",n)}},{"../../components/color":366,"../../components/dragelement":385,"../../components/drawing":388,"../../components/fx":406,"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/topojson_utils":532,"../../registry":638,"../cartesian/autorange":553,"../cartesian/axes":554,"../cartesian/select":575,"../plots":619,"./constants":587,"./zoom":592,"@plotly/d3":58,"d3-geo":114,"d3-geo-projection":113,"topojson-client":315}],589:[function(t,e,r){"use strict";var n=t("../../plots/get_data").getSubplotCalcData,i=t("../../lib").counterRegex,a=t("./geo"),o="geo",s=i(o),l={};l.geo={valType:"subplotid",dflt:o,editType:"calc"},e.exports={attr:o,name:o,idRoot:o,idRegex:s,attrRegex:s,attributes:l,layoutAttributes:t("./layout_attributes"),supplyLayoutDefaults:t("./layout_defaults"),plot:function(t){for(var e=t._fullLayout,r=t.calcdata,i=e._subplots.geo,s=0;s<i.length;s++){var l=i[s],c=n(r,o,l),u=e[l]._subplot;u||(u=a({id:l,graphDiv:t,container:e._geolayer.node(),topojsonURL:t._context.topojsonURL,staticPlot:t._context.staticPlot}),e[l]._subplot=u),u.plot(c,e,t._promises)}},updateFx:function(t){for(var e=t._fullLayout,r=e._subplots.geo,n=0;n<r.length;n++){var i=e[r[n]];i._subplot.updateFx(e,i)}},clean:function(t,e,r,n){for(var i=n._subplots.geo||[],a=0;a<i.length;a++){var o=i[a],s=n[o]._subplot;!e[o]&&s&&(s.framework.remove(),s.clipDef.remove())}}}},{"../../lib":503,"../../plots/get_data":593,"./geo":588,"./layout_attributes":590,"./layout_defaults":591}],590:[function(t,e,r){"use strict";var n=t("../../components/color/attributes"),i=t("../domain").attributes,a=t("./constants"),o=t("../../plot_api/edit_types").overrideAll,s=t("../../lib/sort_object_keys"),l={range:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},showgrid:{valType:"boolean",dflt:!1},tick0:{valType:"number",dflt:0},dtick:{valType:"number"},gridcolor:{valType:"color",dflt:n.lightLine},gridwidth:{valType:"number",min:0,dflt:1}};(e.exports=o({domain:i({name:"geo"},{}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,editType:"plot"},resolution:{valType:"enumerated",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:"enumerated",values:s(a.scopeDefaults),dflt:"world"},projection:{type:{valType:"enumerated",values:s(a.projNames)},rotation:{lon:{valType:"number"},lat:{valType:"number"},roll:{valType:"number"}},tilt:{valType:"number",dflt:0},distance:{valType:"number",min:1.001,dflt:2},parallels:{valType:"info_array",items:[{valType:"number"},{valType:"number"}]},scale:{valType:"number",min:0,dflt:1}},center:{lon:{valType:"number"},lat:{valType:"number"}},visible:{valType:"boolean",dflt:!0},showcoastlines:{valType:"boolean"},coastlinecolor:{valType:"color",dflt:n.defaultLine},coastlinewidth:{valType:"number",min:0,dflt:1},showland:{valType:"boolean",dflt:!1},landcolor:{valType:"color",dflt:a.landColor},showocean:{valType:"boolean",dflt:!1},oceancolor:{valType:"color",dflt:a.waterColor},showlakes:{valType:"boolean",dflt:!1},lakecolor:{valType:"color",dflt:a.waterColor},showrivers:{valType:"boolean",dflt:!1},rivercolor:{valType:"color",dflt:a.waterColor},riverwidth:{valType:"number",min:0,dflt:1},showcountries:{valType:"boolean"},countrycolor:{valType:"color",dflt:n.defaultLine},countrywidth:{valType:"number",min:0,dflt:1},showsubunits:{valType:"boolean"},subunitcolor:{valType:"color",dflt:n.defaultLine},subunitwidth:{valType:"number",min:0,dflt:1},showframe:{valType:"boolean"},framecolor:{valType:"color",dflt:n.defaultLine},framewidth:{valType:"number",min:0,dflt:1},bgcolor:{valType:"color",dflt:n.background},lonaxis:l,lataxis:l},"plot","from-root")).uirevision={valType:"any",editType:"none"}},{"../../components/color/attributes":365,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../domain":584,"./constants":587}],591:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../subplot_defaults"),a=t("../get_data").getSubplotData,o=t("./constants"),s=t("./layout_attributes"),l=o.axesNames;function c(t,e,r,i){var s=a(i.fullData,"geo",i.id).map((function(t){return t._expandedIndex})),c=r("resolution"),u=r("scope"),f=o.scopeDefaults[u],h=r("projection.type",f.projType),p=e._isAlbersUsa="albers usa"===h;p&&(u=e.scope="usa");var d=e._isScoped="world"!==u,g=e._isSatellite="satellite"===h,m=e._isConic=-1!==h.indexOf("conic")||"albers"===h,v=e._isClipped=!!o.lonaxisSpan[h];if(!1===t.visible){var y=n.extendDeep({},e._template);y.showcoastlines=!1,y.showcountries=!1,y.showframe=!1,y.showlakes=!1,y.showland=!1,y.showocean=!1,y.showrivers=!1,y.showsubunits=!1,y.lonaxis&&(y.lonaxis.showgrid=!1),y.lataxis&&(y.lataxis.showgrid=!1),e._template=y}for(var x=r("visible"),b=0;b<l.length;b++){var _,w=l[b],T=[30,10][b];if(d)_=f[w+"Range"];else{var k=o[w+"Span"],A=(k[h]||k["*"])/2,M=r("projection.rotation."+w.substr(0,3),f.projRotate[b]);_=[M-A,M+A]}var S=r(w+".range",_);r(w+".tick0"),r(w+".dtick",T),r(w+".showgrid",!!x&&void 0)&&(r(w+".gridcolor"),r(w+".gridwidth")),e[w]._ax={type:"linear",_id:w.slice(0,3),_traceIndices:s,setScale:n.identity,c2l:n.identity,r2l:n.identity,autorange:!0,range:S.slice(),_m:1,_input:{}}}var E=e.lonaxis.range,L=e.lataxis.range,C=E[0],P=E[1];C>0&&P<0&&(P+=360);var I,O,z,D=(C+P)/2;if(!p){var R=d?f.projRotate:[D,0,0];I=r("projection.rotation.lon",R[0]),r("projection.rotation.lat",R[1]),r("projection.rotation.roll",R[2]),r("showcoastlines",!d&&x)&&(r("coastlinecolor"),r("coastlinewidth")),r("showocean",!!x&&void 0)&&r("oceancolor")}(p?(O=-96.6,z=38.7):(O=d?D:I,z=(L[0]+L[1])/2),r("center.lon",O),r("center.lat",z),g&&(r("projection.tilt"),r("projection.distance")),m)&&r("projection.parallels",f.projParallels||[0,60]);r("projection.scale"),r("showland",!!x&&void 0)&&r("landcolor"),r("showlakes",!!x&&void 0)&&r("lakecolor"),r("showrivers",!!x&&void 0)&&(r("rivercolor"),r("riverwidth")),r("showcountries",d&&"usa"!==u&&x)&&(r("countrycolor"),r("countrywidth")),("usa"===u||"north america"===u&&50===c)&&(r("showsubunits",x),r("subunitcolor"),r("subunitwidth")),d||r("showframe",x)&&(r("framecolor"),r("framewidth")),r("bgcolor"),r("fitbounds")&&(delete e.projection.scale,d?(delete e.center.lon,delete e.center.lat):v?(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon,delete e.projection.rotation.lat,delete e.lonaxis.range,delete e.lataxis.range):(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon))}e.exports=function(t,e,r){i(t,e,r,{type:"geo",attributes:s,handleDefaults:c,fullData:r,partition:"y"})}},{"../../lib":503,"../get_data":593,"../subplot_defaults":632,"./constants":587,"./layout_attributes":590}],592:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../registry"),o=Math.PI/180,s=180/Math.PI,l={cursor:"pointer"},c={cursor:"auto"};function u(t,e){return n.behavior.zoom().translate(e.translate()).scale(e.scale())}function f(t,e,r){var n=t.id,o=t.graphDiv,s=o.layout,l=s[n],c=o._fullLayout,u=c[n],f={},h={};function p(t,e){f[n+"."+t]=i.nestedProperty(l,t).get(),a.call("_storeDirectGUIEdit",s,c._preGUI,f);var r=i.nestedProperty(u,t);r.get()!==e&&(r.set(e),i.nestedProperty(l,t).set(e),h[n+"."+t]=e)}r(p),p("projection.scale",e.scale()/t.fitScale),p("fitbounds",!1),o.emit("plotly_relayout",h)}function h(t,e){var r=u(0,e);function i(r){var n=e.invert(t.midPt);r("center.lon",n[0]),r("center.lat",n[1])}return r.on("zoomstart",(function(){n.select(this).style(l)})).on("zoom",(function(){e.scale(n.event.scale).translate(n.event.translate),t.render();var r=e.invert(t.midPt);t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.center.lon":r[0],"geo.center.lat":r[1]})})).on("zoomend",(function(){n.select(this).style(c),f(t,e,i)})),r}function p(t,e){var r,i,a,o,s,h,p,d,g,m=u(0,e);function v(t){return e.invert(t)}function y(r){var n=e.rotate(),i=e.invert(t.midPt);r("projection.rotation.lon",-n[0]),r("center.lon",i[0]),r("center.lat",i[1])}return m.on("zoomstart",(function(){n.select(this).style(l),r=n.mouse(this),i=e.rotate(),a=e.translate(),o=i,s=v(r)})).on("zoom",(function(){if(h=n.mouse(this),function(t){var r=v(t);if(!r)return!0;var n=e(r);return Math.abs(n[0]-t[0])>2||Math.abs(n[1]-t[1])>2}(r))return m.scale(e.scale()),void m.translate(e.translate());e.scale(n.event.scale),e.translate([a[0],n.event.translate[1]]),s?v(h)&&(d=v(h),p=[o[0]+(d[0]-s[0]),i[1],i[2]],e.rotate(p),o=p):s=v(r=h),g=!0,t.render();var l=e.rotate(),c=e.invert(t.midPt);t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.center.lon":c[0],"geo.center.lat":c[1],"geo.projection.rotation.lon":-l[0]})})).on("zoomend",(function(){n.select(this).style(c),g&&f(t,e,y)})),m}function d(t,e){var r,i={r:e.rotate(),k:e.scale()},a=u(0,e),o=function(t){var e=0,r=arguments.length,i=[];for(;++e<r;)i.push(arguments[e]);var a=n.dispatch.apply(null,i);return a.of=function(e,r){return function(i){var o;try{o=i.sourceEvent=n.event,i.target=t,n.event=i,a[i.type].apply(e,r)}finally{n.event=o}}},a}(a,"zoomstart","zoom","zoomend"),s=0,h=a.on;function p(t){s++||t({type:"zoomstart"})}function d(t){t({type:"zoom"})}function b(t){--s||t({type:"zoomend"})}function _(t){var r=e.rotate();t("projection.rotation.lon",-r[0]),t("projection.rotation.lat",-r[1])}return a.on("zoomstart",(function(){n.select(this).style(l);var t=n.mouse(this),s=e.rotate(),c=s,u=e.translate(),f=m(s);r=g(e,t),h.call(a,"zoom",(function(){var a=n.mouse(this);if(e.scale(i.k=n.event.scale),r){if(g(e,a)){e.rotate(s).translate(u);var l=g(e,a),h=y(r,l),p=T(v(f,h)),m=i.r=x(p,r,c);isFinite(m[0])&&isFinite(m[1])&&isFinite(m[2])||(m=c),e.rotate(m),c=m}}else r=g(e,t=a);d(o.of(this,arguments))})),p(o.of(this,arguments))})).on("zoomend",(function(){n.select(this).style(c),h.call(a,"zoom",null),b(o.of(this,arguments)),f(t,e,_)})).on("zoom.redraw",(function(){t.render();var r=e.rotate();t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.projection.rotation.lon":-r[0],"geo.projection.rotation.lat":-r[1]})})),n.rebind(a,o,"on")}function g(t,e){var r=t.invert(e);return r&&isFinite(r[0])&&isFinite(r[1])&&function(t){var e=t[0]*o,r=t[1]*o,n=Math.cos(r);return[n*Math.cos(e),n*Math.sin(e),Math.sin(r)]}(r)}function m(t){var e=.5*t[0]*o,r=.5*t[1]*o,n=.5*t[2]*o,i=Math.sin(e),a=Math.cos(e),s=Math.sin(r),l=Math.cos(r),c=Math.sin(n),u=Math.cos(n);return[a*l*u+i*s*c,i*l*u-a*s*c,a*s*u+i*l*c,a*l*c-i*s*u]}function v(t,e){var r=t[0],n=t[1],i=t[2],a=t[3],o=e[0],s=e[1],l=e[2],c=e[3];return[r*o-n*s-i*l-a*c,r*s+n*o+i*c-a*l,r*l-n*c+i*o+a*s,r*c+n*l-i*s+a*o]}function y(t,e){if(t&&e){var r=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(t,e),n=Math.sqrt(k(r,r)),i=.5*Math.acos(Math.max(-1,Math.min(1,k(t,e)))),a=Math.sin(i)/n;return n&&[Math.cos(i),r[2]*a,-r[1]*a,r[0]*a]}}function x(t,e,r){var n=w(e,2,t[0]);n=w(n,1,t[1]),n=w(n,0,t[2]-r[2]);var i,a,o=e[0],l=e[1],c=e[2],u=n[0],f=n[1],h=n[2],p=Math.atan2(l,o)*s,d=Math.sqrt(o*o+l*l);Math.abs(f)>d?(a=(f>0?90:-90)-p,i=0):(a=Math.asin(f/d)*s-p,i=Math.sqrt(d*d-f*f));var g=180-a-2*p,m=(Math.atan2(h,u)-Math.atan2(c,i))*s,v=(Math.atan2(h,u)-Math.atan2(c,-i))*s;return b(r[0],r[1],a,m)<=b(r[0],r[1],g,v)?[a,m,r[2]]:[g,v,r[2]]}function b(t,e,r,n){var i=_(r-t),a=_(n-e);return Math.sqrt(i*i+a*a)}function _(t){return(t%360+540)%360-180}function w(t,e,r){var n=r*o,i=t.slice(),a=0===e?1:0,s=2===e?1:2,l=Math.cos(n),c=Math.sin(n);return i[a]=t[a]*l-t[s]*c,i[s]=t[s]*l+t[a]*c,i}function T(t){return[Math.atan2(2*(t[0]*t[1]+t[2]*t[3]),1-2*(t[1]*t[1]+t[2]*t[2]))*s,Math.asin(Math.max(-1,Math.min(1,2*(t[0]*t[2]-t[3]*t[1]))))*s,Math.atan2(2*(t[0]*t[3]+t[1]*t[2]),1-2*(t[2]*t[2]+t[3]*t[3]))*s]}function k(t,e){for(var r=0,n=0,i=t.length;n<i;++n)r+=t[n]*e[n];return r}e.exports=function(t,e){var r=t.projection;return(e._isScoped?h:e._isClipped?d:p)(t,r)}},{"../../lib":503,"../../registry":638,"@plotly/d3":58}],593:[function(t,e,r){"use strict";var n=t("../registry"),i=t("./cartesian/constants").SUBPLOT_PATTERN;r.getSubplotCalcData=function(t,e,r){var i=n.subplotsRegistry[e];if(!i)return[];for(var a=i.attr,o=[],s=0;s<t.length;s++){var l=t[s];l[0].trace[a]===r&&o.push(l)}return o},r.getModuleCalcData=function(t,e){var r,i=[],a=[];if(!(r="string"==typeof e?n.getModule(e).plot:"function"==typeof e?e:e.plot))return[i,t];for(var o=0;o<t.length;o++){var s=t[o],l=s[0].trace;!0===l.visible&&0!==l._length&&(l._module.plot===r?i.push(s):a.push(s))}return[i,a]},r.getSubplotData=function(t,e,r){if(!n.subplotsRegistry[e])return[];var a,o,s,l=n.subplotsRegistry[e].attr,c=[];if("gl2d"===e){var u=r.match(i);o="x"+u[1],s="y"+u[2]}for(var f=0;f<t.length;f++)a=t[f],"gl2d"===e&&n.traceIs(a,"gl2d")?a[l[0]]===o&&a[l[1]]===s&&c.push(a):a[l]===r&&c.push(a);return c}},{"../registry":638,"./cartesian/constants":561}],594:[function(t,e,r){"use strict";var n=t("mouse-change"),i=t("mouse-wheel"),a=t("mouse-event-offset"),o=t("../cartesian/constants"),s=t("has-passive-events");function l(t,e){this.element=t,this.plot=e,this.mouseListener=null,this.wheelListener=null,this.lastInputTime=Date.now(),this.lastPos=[0,0],this.boxEnabled=!1,this.boxInited=!1,this.boxStart=[0,0],this.boxEnd=[0,0],this.dragStart=[0,0]}e.exports=function(t){var e=t.mouseContainer,r=t.glplot,c=new l(e,r);function u(){t.xaxis.autorange=!1,t.yaxis.autorange=!1}function f(e,n,i){var a,s,l=t.calcDataBox(),f=r.viewBox,h=c.lastPos[0],p=c.lastPos[1],d=o.MINDRAG*r.pixelRatio,g=o.MINZOOM*r.pixelRatio;function m(e,r,n){var i=Math.min(r,n),a=Math.max(r,n);i!==a?(l[e]=i,l[e+2]=a,c.dataBox=l,t.setRanges(l)):(t.selectBox.selectBox=[0,0,1,1],t.glplot.setDirty())}switch(n*=r.pixelRatio,i*=r.pixelRatio,i=f[3]-f[1]-i,t.fullLayout.dragmode){case"zoom":if(e){var v=n/(f[2]-f[0])*(l[2]-l[0])+l[0],y=i/(f[3]-f[1])*(l[3]-l[1])+l[1];c.boxInited||(c.boxStart[0]=v,c.boxStart[1]=y,c.dragStart[0]=n,c.dragStart[1]=i),c.boxEnd[0]=v,c.boxEnd[1]=y,c.boxInited=!0,c.boxEnabled||c.boxStart[0]===c.boxEnd[0]&&c.boxStart[1]===c.boxEnd[1]||(c.boxEnabled=!0);var x=Math.abs(c.dragStart[0]-n)<g,b=Math.abs(c.dragStart[1]-i)<g;if(!function(){for(var e=t.graphDiv._fullLayout._axisConstraintGroups,r=t.xaxis._id,n=t.yaxis._id,i=0;i<e.length;i++)if(-1!==e[i][r]){if(-1!==e[i][n])return!0;break}return!1}()||x&&b)x&&(c.boxEnd[0]=c.boxStart[0]),b&&(c.boxEnd[1]=c.boxStart[1]);else{a=c.boxEnd[0]-c.boxStart[0],s=c.boxEnd[1]-c.boxStart[1];var _=(l[3]-l[1])/(l[2]-l[0]);Math.abs(a*_)>Math.abs(s)?(c.boxEnd[1]=c.boxStart[1]+Math.abs(a)*_*(s>=0?1:-1),c.boxEnd[1]<l[1]?(c.boxEnd[1]=l[1],c.boxEnd[0]=c.boxStart[0]+(l[1]-c.boxStart[1])/Math.abs(_)):c.boxEnd[1]>l[3]&&(c.boxEnd[1]=l[3],c.boxEnd[0]=c.boxStart[0]+(l[3]-c.boxStart[1])/Math.abs(_))):(c.boxEnd[0]=c.boxStart[0]+Math.abs(s)/_*(a>=0?1:-1),c.boxEnd[0]<l[0]?(c.boxEnd[0]=l[0],c.boxEnd[1]=c.boxStart[1]+(l[0]-c.boxStart[0])*Math.abs(_)):c.boxEnd[0]>l[2]&&(c.boxEnd[0]=l[2],c.boxEnd[1]=c.boxStart[1]+(l[2]-c.boxStart[0])*Math.abs(_)))}}else c.boxEnabled?(a=c.boxStart[0]!==c.boxEnd[0],s=c.boxStart[1]!==c.boxEnd[1],a||s?(a&&(m(0,c.boxStart[0],c.boxEnd[0]),t.xaxis.autorange=!1),s&&(m(1,c.boxStart[1],c.boxEnd[1]),t.yaxis.autorange=!1),t.relayoutCallback()):t.glplot.setDirty(),c.boxEnabled=!1,c.boxInited=!1):c.boxInited&&(c.boxInited=!1);break;case"pan":c.boxEnabled=!1,c.boxInited=!1,e?(c.panning||(c.dragStart[0]=n,c.dragStart[1]=i),Math.abs(c.dragStart[0]-n)<d&&(n=c.dragStart[0]),Math.abs(c.dragStart[1]-i)<d&&(i=c.dragStart[1]),a=(h-n)*(l[2]-l[0])/(r.viewBox[2]-r.viewBox[0]),s=(p-i)*(l[3]-l[1])/(r.viewBox[3]-r.viewBox[1]),l[0]+=a,l[2]+=a,l[1]+=s,l[3]+=s,t.setRanges(l),c.panning=!0,c.lastInputTime=Date.now(),u(),t.cameraChanged(),t.handleAnnotations()):c.panning&&(c.panning=!1,t.relayoutCallback())}c.lastPos[0]=n,c.lastPos[1]=i}return c.mouseListener=n(e,f),e.addEventListener("touchstart",(function(t){var r=a(t.changedTouches[0],e);f(0,r[0],r[1]),f(1,r[0],r[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener("touchmove",(function(t){t.preventDefault();var r=a(t.changedTouches[0],e);f(1,r[0],r[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener("touchend",(function(t){f(0,c.lastPos[0],c.lastPos[1]),t.preventDefault()}),!!s&&{passive:!1}),c.wheelListener=i(e,(function(e,n){if(!t.scrollZoom)return!1;var i=t.calcDataBox(),a=r.viewBox,o=c.lastPos[0],s=c.lastPos[1],l=Math.exp(5*n/(a[3]-a[1])),f=o/(a[2]-a[0])*(i[2]-i[0])+i[0],h=s/(a[3]-a[1])*(i[3]-i[1])+i[1];return i[0]=(i[0]-f)*l+f,i[2]=(i[2]-f)*l+f,i[1]=(i[1]-h)*l+h,i[3]=(i[3]-h)*l+h,t.setRanges(i),c.lastInputTime=Date.now(),u(),t.cameraChanged(),t.handleAnnotations(),t.relayoutCallback(),!0}),!0),c}},{"../cartesian/constants":561,"has-passive-events":229,"mouse-change":241,"mouse-event-offset":242,"mouse-wheel":244}],595:[function(t,e,r){"use strict";var n=t("../cartesian/axes"),i=t("../../lib/str2rgbarray");function a(t){this.scene=t,this.gl=t.gl,this.pixelRatio=t.pixelRatio,this.screenBox=[0,0,1,1],this.viewBox=[0,0,1,1],this.dataBox=[-1,-1,1,1],this.borderLineEnable=[!1,!1,!1,!1],this.borderLineWidth=[1,1,1,1],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.ticks=[[],[]],this.tickEnable=[!0,!0,!1,!1],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labels=["x","y"],this.labelEnable=[!0,!0,!1,!1],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelPad=[15,15,15,15],this.labelSize=[12,12],this.labelFont=["sans-serif","sans-serif"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.title="",this.titleEnable=!0,this.titleCenter=[0,0,0,0],this.titleAngle=0,this.titleColor=[0,0,0,1],this.titleFont="sans-serif",this.titleSize=18,this.gridLineEnable=[!0,!0],this.gridLineColor=[[0,0,0,.5],[0,0,0,.5]],this.gridLineWidth=[1,1],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[1,1],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.static=this.scene.staticPlot}var o=a.prototype,s=["xaxis","yaxis"];o.merge=function(t){var e,r,n,a,o,l,c,u,f,h,p;for(this.titleEnable=!1,this.backgroundColor=i(t.plot_bgcolor),h=0;h<2;++h){var d=(e=s[h]).charAt(0);for(n=(r=t[this.scene[e]._name]).title.text===this.scene.fullLayout._dfltTitle[d]?"":r.title.text,p=0;p<=2;p+=2)this.labelEnable[h+p]=!1,this.labels[h+p]=n,this.labelColor[h+p]=i(r.title.font.color),this.labelFont[h+p]=r.title.font.family,this.labelSize[h+p]=r.title.font.size,this.labelPad[h+p]=this.getLabelPad(e,r),this.tickEnable[h+p]=!1,this.tickColor[h+p]=i((r.tickfont||{}).color),this.tickAngle[h+p]="auto"===r.tickangle?0:Math.PI*-r.tickangle/180,this.tickPad[h+p]=this.getTickPad(r),this.tickMarkLength[h+p]=0,this.tickMarkWidth[h+p]=r.tickwidth||0,this.tickMarkColor[h+p]=i(r.tickcolor),this.borderLineEnable[h+p]=!1,this.borderLineColor[h+p]=i(r.linecolor),this.borderLineWidth[h+p]=r.linewidth||0;c=this.hasSharedAxis(r),o=this.hasAxisInDfltPos(e,r)&&!c,l=this.hasAxisInAltrPos(e,r)&&!c,a=r.mirror||!1,u=c?-1!==String(a).indexOf("all"):!!a,f=c?"allticks"===a:-1!==String(a).indexOf("ticks"),o?this.labelEnable[h]=!0:l&&(this.labelEnable[h+2]=!0),o?this.tickEnable[h]=r.showticklabels:l&&(this.tickEnable[h+2]=r.showticklabels),(o||u)&&(this.borderLineEnable[h]=r.showline),(l||u)&&(this.borderLineEnable[h+2]=r.showline),(o||f)&&(this.tickMarkLength[h]=this.getTickMarkLength(r)),(l||f)&&(this.tickMarkLength[h+2]=this.getTickMarkLength(r)),this.gridLineEnable[h]=r.showgrid,this.gridLineColor[h]=i(r.gridcolor),this.gridLineWidth[h]=r.gridwidth,this.zeroLineEnable[h]=r.zeroline,this.zeroLineColor[h]=i(r.zerolinecolor),this.zeroLineWidth[h]=r.zerolinewidth}},o.hasSharedAxis=function(t){var e=this.scene,r=e.fullLayout._subplots.gl2d;return 0!==n.findSubplotsWithAxis(r,t).indexOf(e.id)},o.hasAxisInDfltPos=function(t,e){var r=e.side;return"xaxis"===t?"bottom"===r:"yaxis"===t?"left"===r:void 0},o.hasAxisInAltrPos=function(t,e){var r=e.side;return"xaxis"===t?"top"===r:"yaxis"===t?"right"===r:void 0},o.getLabelPad=function(t,e){var r=e.title.font.size,n=e.showticklabels;return"xaxis"===t?"top"===e.side?r*(1.5+(n?1:0))-10:r*(1.5+(n?.5:0))-10:"yaxis"===t?"right"===e.side?10+r*(1.5+(n?1:.5)):10+r*(1.5+(n?.5:0)):void 0},o.getTickPad=function(t){return"outside"===t.ticks?10+t.ticklen:15},o.getTickMarkLength=function(t){if(!t.ticks)return 0;var e=t.ticklen;return"inside"===t.ticks?-e:e},e.exports=function(t){return new a(t)}},{"../../lib/str2rgbarray":528,"../cartesian/axes":554}],596:[function(t,e,r){"use strict";var n=t("../../plot_api/edit_types").overrideAll,i=t("./scene2d"),a=t("../layout_attributes"),o=t("../../constants/xmlns_namespaces"),s=t("../cartesian/constants"),l=t("../cartesian"),c=t("../../components/fx/layout_attributes"),u=t("../get_data").getSubplotData;r.name="gl2d",r.attr=["xaxis","yaxis"],r.idRoot=["x","y"],r.idRegex=s.idRegex,r.attrRegex=s.attrRegex,r.attributes=t("../cartesian/attributes"),r.supplyLayoutDefaults=function(t,e,r){e._has("cartesian")||l.supplyLayoutDefaults(t,e,r)},r.layoutAttrOverrides=n(l.layoutAttributes,"plot","from-root"),r.baseLayoutAttrOverrides=n({plot_bgcolor:a.plot_bgcolor,hoverlabel:c.hoverlabel},"plot","nested"),r.plot=function(t){for(var e=t._fullLayout,r=t._fullData,n=e._subplots.gl2d,a=0;a<n.length;a++){var o=n[a],s=e._plots[o],l=u(r,"gl2d",o),c=s._scene2d;void 0===c&&(c=new i({id:o,graphDiv:t,container:t.querySelector(".gl-container"),staticPlot:t._context.staticPlot,plotGlPixelRatio:t._context.plotGlPixelRatio},e),s._scene2d=c),c.plot(l,t.calcdata,e,t.layout)}},r.clean=function(t,e,r,n){for(var i=n._subplots.gl2d||[],a=0;a<i.length;a++){var o=i[a],s=n._plots[o];if(s._scene2d){var c=u(t,"gl2d",o);0===c.length&&(s._scene2d.destroy(),delete n._plots[o])}}l.clean.apply(this,arguments)},r.drawFramework=function(t){t._context.staticPlot||l.drawFramework(t)},r.toSVG=function(t){for(var e=t._fullLayout,r=e._subplots.gl2d,n=0;n<r.length;n++){var i=e._plots[r[n]]._scene2d,a=i.toImage("png");e._glimages.append("svg:image").attr({xmlns:o.svg,"xlink:href":a,x:0,y:0,width:"100%",height:"100%",preserveAspectRatio:"none"}),i.destroy()}},r.updateFx=function(t){for(var e=t._fullLayout,r=e._subplots.gl2d,n=0;n<r.length;n++){e._plots[r[n]]._scene2d.updateFx(e.dragmode)}}},{"../../components/fx/layout_attributes":407,"../../constants/xmlns_namespaces":480,"../../plot_api/edit_types":536,"../cartesian":568,"../cartesian/attributes":552,"../cartesian/constants":561,"../get_data":593,"../layout_attributes":610,"./scene2d":597}],597:[function(t,e,r){"use strict";var n,i,a=t("../../registry"),o=t("../../plots/cartesian/axes"),s=t("../../components/fx"),l=t("../../../stackgl_modules").gl_plot2d,c=t("../../../stackgl_modules").gl_spikes2d,u=t("../../../stackgl_modules").gl_select_box,f=t("webgl-context"),h=t("./convert"),p=t("./camera"),d=t("../../lib/show_no_webgl_msg"),g=t("../cartesian/constraints"),m=g.enforce,v=g.clean,y=t("../cartesian/autorange").doAutoRange,x=t("../../components/dragelement/helpers"),b=x.drawMode,_=x.selectMode,w=["xaxis","yaxis"],T=t("../cartesian/constants").SUBPLOT_PATTERN;function k(t,e){this.container=t.container,this.graphDiv=t.graphDiv,this.pixelRatio=t.plotGlPixelRatio||window.devicePixelRatio,this.id=t.id,this.staticPlot=!!t.staticPlot,this.scrollZoom=this.graphDiv._context._scrollZoom.cartesian,this.fullData=null,this.updateRefs(e),this.makeFramework(),this.stopped||(this.glplotOptions=h(this),this.glplotOptions.merge(e),this.glplot=l(this.glplotOptions),this.camera=p(this),this.traces={},this.spikes=c(this.glplot),this.selectBox=u(this.glplot,{innerFill:!1,outerFill:!0}),this.lastButtonState=0,this.pickResult=null,this.isMouseOver=!0,this.stopped=!1,this.redraw=this.draw.bind(this),this.redraw())}e.exports=k;var A=k.prototype;A.makeFramework=function(){if(this.staticPlot){if(!(i||(n=document.createElement("canvas"),i=f({canvas:n,preserveDrawingBuffer:!1,premultipliedAlpha:!0,antialias:!0}))))throw new Error("Error creating static canvas/context for image server");this.canvas=n,this.gl=i}else{var t=this.container.querySelector(".gl-canvas-focus"),e=f({canvas:t,preserveDrawingBuffer:!0,premultipliedAlpha:!0});if(!e)return d(this),void(this.stopped=!0);this.canvas=t,this.gl=e}var r=this.canvas;r.style.width="100%",r.style.height="100%",r.style.position="absolute",r.style.top="0px",r.style.left="0px",r.style["pointer-events"]="none",this.updateSize(r);var a=this.svgContainer=document.createElementNS("http://www.w3.org/2000/svg","svg");a.style.position="absolute",a.style.top=a.style.left="0px",a.style.width=a.style.height="100%",a.style["z-index"]=20,a.style["pointer-events"]="none";var o=this.mouseContainer=document.createElement("div");o.style.position="absolute",o.style["pointer-events"]="auto",this.pickCanvas=this.container.querySelector(".gl-canvas-pick");var s=this.container;s.appendChild(a),s.appendChild(o);var l=this;o.addEventListener("mouseout",(function(){l.isMouseOver=!1,l.unhover()})),o.addEventListener("mouseover",(function(){l.isMouseOver=!0}))},A.toImage=function(t){t||(t="png"),this.stopped=!0,this.staticPlot&&this.container.appendChild(n),this.updateSize(this.canvas);var e=this.glplot.gl,r=e.drawingBufferWidth,i=e.drawingBufferHeight;e.clearColor(1,1,1,0),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),this.glplot.setDirty(),this.glplot.draw(),e.bindFramebuffer(e.FRAMEBUFFER,null);var a=new Uint8Array(r*i*4);e.readPixels(0,0,r,i,e.RGBA,e.UNSIGNED_BYTE,a);for(var o=0,s=i-1;o<s;++o,--s)for(var l=0;l<r;++l)for(var c=0;c<4;++c){var u=a[4*(r*o+l)+c];a[4*(r*o+l)+c]=a[4*(r*s+l)+c],a[4*(r*s+l)+c]=u}var f=document.createElement("canvas");f.width=r,f.height=i;var h,p=f.getContext("2d"),d=p.createImageData(r,i);switch(d.data.set(a),p.putImageData(d,0,0),t){case"jpeg":h=f.toDataURL("image/jpeg");break;case"webp":h=f.toDataURL("image/webp");break;default:h=f.toDataURL("image/png")}return this.staticPlot&&this.container.removeChild(n),h},A.updateSize=function(t){t||(t=this.canvas);var e=this.pixelRatio,r=this.fullLayout,n=r.width,i=r.height,a=0|Math.ceil(e*n),o=0|Math.ceil(e*i);return t.width===a&&t.height===o||(t.width=a,t.height=o),t},A.computeTickMarks=function(){this.xaxis.setScale(),this.yaxis.setScale();for(var t=[o.calcTicks(this.xaxis),o.calcTicks(this.yaxis)],e=0;e<2;++e)for(var r=0;r<t[e].length;++r)t[e][r].text=t[e][r].text+"";return t},A.updateRefs=function(t){this.fullLayout=t;var e=this.id.match(T),r="xaxis"+e[1],n="yaxis"+e[2];this.xaxis=this.fullLayout[r],this.yaxis=this.fullLayout[n]},A.relayoutCallback=function(){var t=this.graphDiv,e=this.xaxis,r=this.yaxis,n=t.layout,i={},o=i[e._name+".range"]=e.range.slice(),s=i[r._name+".range"]=r.range.slice();i[e._name+".autorange"]=e.autorange,i[r._name+".autorange"]=r.autorange,a.call("_storeDirectGUIEdit",t.layout,t._fullLayout._preGUI,i);var l=n[e._name];l.range=o,l.autorange=e.autorange;var c=n[r._name];c.range=s,c.autorange=r.autorange,i.lastInputTime=this.camera.lastInputTime,t.emit("plotly_relayout",i)},A.cameraChanged=function(){var t=this.camera;this.glplot.setDataBox(this.calcDataBox());var e=this.computeTickMarks();(function(t,e){for(var r=0;r<2;++r){var n=t[r],i=e[r];if(n.length!==i.length)return!0;for(var a=0;a<n.length;++a)if(n[a].x!==i[a].x)return!0}return!1})(e,this.glplotOptions.ticks)&&(this.glplotOptions.ticks=e,this.glplotOptions.dataBox=t.dataBox,this.glplot.update(this.glplotOptions),this.handleAnnotations())},A.handleAnnotations=function(){for(var t=this.graphDiv,e=this.fullLayout.annotations,r=0;r<e.length;r++){var n=e[r];n.xref===this.xaxis._id&&n.yref===this.yaxis._id&&a.getComponentMethod("annotations","drawOne")(t,r)}},A.destroy=function(){if(this.glplot){var t=this.traces;t&&Object.keys(t).map((function(e){t[e].dispose(),delete t[e]})),this.glplot.dispose(),this.container.removeChild(this.svgContainer),this.container.removeChild(this.mouseContainer),this.fullData=null,this.glplot=null,this.stopped=!0,this.camera.mouseListener.enabled=!1,this.mouseContainer.removeEventListener("wheel",this.camera.wheelListener),this.camera=null}},A.plot=function(t,e,r){var n=this.glplot;this.updateRefs(r),this.xaxis.clearCalc(),this.yaxis.clearCalc(),this.updateTraces(t,e),this.updateFx(r.dragmode);var i=r.width,a=r.height;this.updateSize(this.canvas);var o=this.glplotOptions;o.merge(r),o.screenBox=[0,0,i,a];var s={_fullLayout:{_axisConstraintGroups:r._axisConstraintGroups,xaxis:this.xaxis,yaxis:this.yaxis,_size:r._size}};v(s,this.xaxis),v(s,this.yaxis);var l,c,u=r._size,f=this.xaxis.domain,h=this.yaxis.domain;for(o.viewBox=[u.l+f[0]*u.w,u.b+h[0]*u.h,i-u.r-(1-f[1])*u.w,a-u.t-(1-h[1])*u.h],this.mouseContainer.style.width=u.w*(f[1]-f[0])+"px",this.mouseContainer.style.height=u.h*(h[1]-h[0])+"px",this.mouseContainer.height=u.h*(h[1]-h[0]),this.mouseContainer.style.left=u.l+f[0]*u.w+"px",this.mouseContainer.style.top=u.t+(1-h[1])*u.h+"px",c=0;c<2;++c)(l=this[w[c]])._length=o.viewBox[c+2]-o.viewBox[c],y(this.graphDiv,l),l.setScale();m(s),o.ticks=this.computeTickMarks(),o.dataBox=this.calcDataBox(),o.merge(r),n.update(o),this.glplot.draw()},A.calcDataBox=function(){var t=this.xaxis,e=this.yaxis,r=t.range,n=e.range,i=t.r2l,a=e.r2l;return[i(r[0]),a(n[0]),i(r[1]),a(n[1])]},A.setRanges=function(t){var e=this.xaxis,r=this.yaxis,n=e.l2r,i=r.l2r;e.range=[n(t[0]),n(t[2])],r.range=[i(t[1]),i(t[3])]},A.updateTraces=function(t,e){var r,n,i,a=Object.keys(this.traces);this.fullData=t;t:for(r=0;r<a.length;r++){var o=a[r],s=this.traces[o];for(n=0;n<t.length;n++)if((i=t[n]).uid===o&&i.type===s.type)continue t;s.dispose(),delete this.traces[o]}for(r=0;r<t.length;r++){i=t[r];var l=e[r],c=this.traces[i.uid];c?c.update(i,l):(c=i._module.plot(this,i,l),this.traces[i.uid]=c)}this.glplot.objects.sort((function(t,e){return t._trace.index-e._trace.index}))},A.updateFx=function(t){_(t)||b(t)?(this.pickCanvas.style["pointer-events"]="none",this.mouseContainer.style["pointer-events"]="none"):(this.pickCanvas.style["pointer-events"]="auto",this.mouseContainer.style["pointer-events"]="auto"),this.mouseContainer.style.cursor="pan"===t?"move":"zoom"===t?"crosshair":null},A.emitPointAction=function(t,e){for(var r,n=t.trace.uid,i=t.pointIndex,a=0;a<this.fullData.length;a++)this.fullData[a].uid===n&&(r=this.fullData[a]);var o={x:t.traceCoord[0],y:t.traceCoord[1],curveNumber:r.index,pointNumber:i,data:r._input,fullData:this.fullData,xaxis:this.xaxis,yaxis:this.yaxis};s.appendArrayPointValue(o,r,i),this.graphDiv.emit(e,{points:[o]})},A.draw=function(){if(!this.stopped){requestAnimationFrame(this.redraw);var t=this.glplot,e=this.camera,r=e.mouseListener,n=1===this.lastButtonState&&0===r.buttons,i=this.fullLayout;this.lastButtonState=r.buttons,this.cameraChanged();var a,o=r.x*t.pixelRatio,l=this.canvas.height-t.pixelRatio*r.y;if(e.boxEnabled&&"zoom"===i.dragmode){this.selectBox.enabled=!0;for(var c=this.selectBox.selectBox=[Math.min(e.boxStart[0],e.boxEnd[0]),Math.min(e.boxStart[1],e.boxEnd[1]),Math.max(e.boxStart[0],e.boxEnd[0]),Math.max(e.boxStart[1],e.boxEnd[1])],u=0;u<2;u++)e.boxStart[u]===e.boxEnd[u]&&(c[u]=t.dataBox[u],c[u+2]=t.dataBox[u+2]);t.setDirty()}else if(!e.panning&&this.isMouseOver){this.selectBox.enabled=!1;var f=i._size,h=this.xaxis.domain,p=this.yaxis.domain,d=(a=t.pick(o/t.pixelRatio+f.l+h[0]*f.w,l/t.pixelRatio-(f.t+(1-p[1])*f.h)))&&a.object._trace.handlePick(a);if(d&&n&&this.emitPointAction(d,"plotly_click"),a&&"skip"!==a.object._trace.hoverinfo&&i.hovermode&&d&&(!this.lastPickResult||this.lastPickResult.traceUid!==d.trace.uid||this.lastPickResult.dataCoord[0]!==d.dataCoord[0]||this.lastPickResult.dataCoord[1]!==d.dataCoord[1])){var g=d;this.lastPickResult={traceUid:d.trace?d.trace.uid:null,dataCoord:d.dataCoord.slice()},this.spikes.update({center:a.dataCoord}),g.screenCoord=[((t.viewBox[2]-t.viewBox[0])*(a.dataCoord[0]-t.dataBox[0])/(t.dataBox[2]-t.dataBox[0])+t.viewBox[0])/t.pixelRatio,(this.canvas.height-(t.viewBox[3]-t.viewBox[1])*(a.dataCoord[1]-t.dataBox[1])/(t.dataBox[3]-t.dataBox[1])-t.viewBox[1])/t.pixelRatio],this.emitPointAction(d,"plotly_hover");var m=this.fullData[g.trace.index]||{},v=g.pointIndex,y=s.castHoverinfo(m,i,v);if(y&&"all"!==y){var x=y.split("+");-1===x.indexOf("x")&&(g.traceCoord[0]=void 0),-1===x.indexOf("y")&&(g.traceCoord[1]=void 0),-1===x.indexOf("z")&&(g.traceCoord[2]=void 0),-1===x.indexOf("text")&&(g.textLabel=void 0),-1===x.indexOf("name")&&(g.name=void 0)}s.loneHover({x:g.screenCoord[0],y:g.screenCoord[1],xLabel:this.hoverFormatter("xaxis",g.traceCoord[0]),yLabel:this.hoverFormatter("yaxis",g.traceCoord[1]),zLabel:g.traceCoord[2],text:g.textLabel,name:g.name,color:s.castHoverOption(m,v,"bgcolor")||g.color,borderColor:s.castHoverOption(m,v,"bordercolor"),fontFamily:s.castHoverOption(m,v,"font.family"),fontSize:s.castHoverOption(m,v,"font.size"),fontColor:s.castHoverOption(m,v,"font.color"),nameLength:s.castHoverOption(m,v,"namelength"),textAlign:s.castHoverOption(m,v,"align")},{container:this.svgContainer,gd:this.graphDiv})}}a||this.unhover(),t.draw()}},A.unhover=function(){this.lastPickResult&&(this.spikes.update({}),this.lastPickResult=null,this.graphDiv.emit("plotly_unhover"),s.loneUnhover(this.svgContainer))},A.hoverFormatter=function(t,e){if(void 0!==e){var r=this[t];return o.tickText(r,r.c2l(e),"hover").text}}},{"../../../stackgl_modules":1120,"../../components/dragelement/helpers":384,"../../components/fx":406,"../../lib/show_no_webgl_msg":525,"../../plots/cartesian/axes":554,"../../registry":638,"../cartesian/autorange":553,"../cartesian/constants":561,"../cartesian/constraints":562,"./camera":594,"./convert":595,"webgl-context":331}],598:[function(t,e,r){"use strict";var n=t("../../plot_api/edit_types").overrideAll,i=t("../../components/fx/layout_attributes"),a=t("./scene"),o=t("../get_data").getSubplotData,s=t("../../lib"),l=t("../../constants/xmlns_namespaces");r.name="gl3d",r.attr="scene",r.idRoot="scene",r.idRegex=r.attrRegex=s.counterRegex("scene"),r.attributes=t("./layout/attributes"),r.layoutAttributes=t("./layout/layout_attributes"),r.baseLayoutAttrOverrides=n({hoverlabel:i.hoverlabel},"plot","nested"),r.supplyLayoutDefaults=t("./layout/defaults"),r.plot=function(t){for(var e=t._fullLayout,r=t._fullData,n=e._subplots.gl3d,i=0;i<n.length;i++){var s=n[i],l=o(r,"gl3d",s),c=e[s],u=c.camera,f=c._scene;f||(f=new a({id:s,graphDiv:t,container:t.querySelector(".gl-container"),staticPlot:t._context.staticPlot,plotGlPixelRatio:t._context.plotGlPixelRatio,camera:u},e),c._scene=f),f.viewInitial||(f.viewInitial={up:{x:u.up.x,y:u.up.y,z:u.up.z},eye:{x:u.eye.x,y:u.eye.y,z:u.eye.z},center:{x:u.center.x,y:u.center.y,z:u.center.z}}),f.plot(l,e,t.layout)}},r.clean=function(t,e,r,n){for(var i=n._subplots.gl3d||[],a=0;a<i.length;a++){var o=i[a];!e[o]&&n[o]._scene&&(n[o]._scene.destroy(),n._infolayer&&n._infolayer.selectAll(".annotation-"+o).remove())}},r.toSVG=function(t){for(var e=t._fullLayout,r=e._subplots.gl3d,n=e._size,i=0;i<r.length;i++){var a=e[r[i]],o=a.domain,s=a._scene,c=s.toImage("png");e._glimages.append("svg:image").attr({xmlns:l.svg,"xlink:href":c,x:n.l+n.w*o.x[0],y:n.t+n.h*(1-o.y[1]),width:n.w*(o.x[1]-o.x[0]),height:n.h*(o.y[1]-o.y[0]),preserveAspectRatio:"none"}),s.destroy()}},r.cleanId=function(t){if(t.match(/^scene[0-9]*$/)){var e=t.substr(5);return"1"===e&&(e=""),"scene"+e}},r.updateFx=function(t){for(var e=t._fullLayout,r=e._subplots.gl3d,n=0;n<r.length;n++){e[r[n]]._scene.updateFx(e.dragmode,e.hovermode)}}},{"../../components/fx/layout_attributes":407,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../plot_api/edit_types":536,"../get_data":593,"./layout/attributes":599,"./layout/defaults":603,"./layout/layout_attributes":604,"./scene":608}],599:[function(t,e,r){"use strict";e.exports={scene:{valType:"subplotid",dflt:"scene",editType:"calc+clearAxisTypes"}}},{}],600:[function(t,e,r){"use strict";var n=t("../../../components/color"),i=t("../../cartesian/layout_attributes"),a=t("../../../lib/extend").extendFlat,o=t("../../../plot_api/edit_types").overrideAll;e.exports=o({visible:i.visible,showspikes:{valType:"boolean",dflt:!0},spikesides:{valType:"boolean",dflt:!0},spikethickness:{valType:"number",min:0,dflt:2},spikecolor:{valType:"color",dflt:n.defaultLine},showbackground:{valType:"boolean",dflt:!1},backgroundcolor:{valType:"color",dflt:"rgba(204, 204, 204, 0.5)"},showaxeslabels:{valType:"boolean",dflt:!0},color:i.color,categoryorder:i.categoryorder,categoryarray:i.categoryarray,title:{text:i.title.text,font:i.title.font},type:a({},i.type,{values:["-","linear","log","date","category"]}),autotypenumbers:i.autotypenumbers,autorange:i.autorange,rangemode:i.rangemode,range:a({},i.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],anim:!1}),tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,mirror:i.mirror,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,showticklabels:i.showticklabels,tickfont:i.tickfont,tickangle:i.tickangle,tickprefix:i.tickprefix,showtickprefix:i.showtickprefix,ticksuffix:i.ticksuffix,showticksuffix:i.showticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickformat:i.tickformat,tickformatstops:i.tickformatstops,hoverformat:i.hoverformat,showline:i.showline,linecolor:i.linecolor,linewidth:i.linewidth,showgrid:i.showgrid,gridcolor:a({},i.gridcolor,{dflt:"rgb(204, 204, 204)"}),gridwidth:i.gridwidth,zeroline:i.zeroline,zerolinecolor:i.zerolinecolor,zerolinewidth:i.zerolinewidth,_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}},"plot","from-root")},{"../../../components/color":366,"../../../lib/extend":493,"../../../plot_api/edit_types":536,"../../cartesian/layout_attributes":569}],601:[function(t,e,r){"use strict";var n=t("tinycolor2").mix,i=t("../../../lib"),a=t("../../../plot_api/plot_template"),o=t("./axis_attributes"),s=t("../../cartesian/type_defaults"),l=t("../../cartesian/axis_defaults"),c=["xaxis","yaxis","zaxis"];e.exports=function(t,e,r){var u,f;function h(t,e){return i.coerce(u,f,o,t,e)}for(var p=0;p<c.length;p++){var d=c[p];u=t[d]||{},(f=a.newContainer(e,d))._id=d[0]+r.scene,f._name=d,s(u,f,h,r),l(u,f,h,{font:r.font,letter:d[0],data:r.data,showGrid:!0,noTickson:!0,noTicklabelmode:!0,noTicklabelstep:!0,noTicklabelposition:!0,noTicklabeloverflow:!0,bgColor:r.bgColor,calendar:r.calendar},r.fullLayout),h("gridcolor",n(f.color,r.bgColor,13600/187).toRgbString()),h("title.text",d[0]),f.setScale=i.noop,h("showspikes")&&(h("spikesides"),h("spikethickness"),h("spikecolor",f.color)),h("showaxeslabels"),h("showbackground")&&h("backgroundcolor")}}},{"../../../lib":503,"../../../plot_api/plot_template":543,"../../cartesian/axis_defaults":556,"../../cartesian/type_defaults":582,"./axis_attributes":600,tinycolor2:312}],602:[function(t,e,r){"use strict";var n=t("../../../lib/str2rgbarray"),i=t("../../../lib"),a=["xaxis","yaxis","zaxis"];function o(){this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[18,18,18],this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont=["Open Sans","Open Sans","Open Sans"],this.labelSize=[20,20,20],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[30,30,30],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[10,10,10],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!0,!0,!0],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._defaultTickPad=this.tickPad.slice(),this._defaultLabelPad=this.labelPad.slice(),this._defaultLineTickLength=this.lineTickLength.slice()}o.prototype.merge=function(t,e){for(var r=0;r<3;++r){var o=e[a[r]];o.visible?(this.labels[r]=t._meta?i.templateString(o.title.text,t._meta):o.title.text,"font"in o.title&&(o.title.font.color&&(this.labelColor[r]=n(o.title.font.color)),o.title.font.family&&(this.labelFont[r]=o.title.font.family),o.title.font.size&&(this.labelSize[r]=o.title.font.size)),"showline"in o&&(this.lineEnable[r]=o.showline),"linecolor"in o&&(this.lineColor[r]=n(o.linecolor)),"linewidth"in o&&(this.lineWidth[r]=o.linewidth),"showgrid"in o&&(this.gridEnable[r]=o.showgrid),"gridcolor"in o&&(this.gridColor[r]=n(o.gridcolor)),"gridwidth"in o&&(this.gridWidth[r]=o.gridwidth),"log"===o.type?this.zeroEnable[r]=!1:"zeroline"in o&&(this.zeroEnable[r]=o.zeroline),"zerolinecolor"in o&&(this.zeroLineColor[r]=n(o.zerolinecolor)),"zerolinewidth"in o&&(this.zeroLineWidth[r]=o.zerolinewidth),"ticks"in o&&o.ticks?this.lineTickEnable[r]=!0:this.lineTickEnable[r]=!1,"ticklen"in o&&(this.lineTickLength[r]=this._defaultLineTickLength[r]=o.ticklen),"tickcolor"in o&&(this.lineTickColor[r]=n(o.tickcolor)),"tickwidth"in o&&(this.lineTickWidth[r]=o.tickwidth),"tickangle"in o&&(this.tickAngle[r]="auto"===o.tickangle?-3600:Math.PI*-o.tickangle/180),"showticklabels"in o&&(this.tickEnable[r]=o.showticklabels),"tickfont"in o&&(o.tickfont.color&&(this.tickColor[r]=n(o.tickfont.color)),o.tickfont.family&&(this.tickFont[r]=o.tickfont.family),o.tickfont.size&&(this.tickSize[r]=o.tickfont.size)),"mirror"in o?-1!==["ticks","all","allticks"].indexOf(o.mirror)?(this.lineTickMirror[r]=!0,this.lineMirror[r]=!0):!0===o.mirror?(this.lineTickMirror[r]=!1,this.lineMirror[r]=!0):(this.lineTickMirror[r]=!1,this.lineMirror[r]=!1):this.lineMirror[r]=!1,"showbackground"in o&&!1!==o.showbackground?(this.backgroundEnable[r]=!0,this.backgroundColor[r]=n(o.backgroundcolor)):this.backgroundEnable[r]=!1):(this.tickEnable[r]=!1,this.labelEnable[r]=!1,this.lineEnable[r]=!1,this.lineTickEnable[r]=!1,this.gridEnable[r]=!1,this.zeroEnable[r]=!1,this.backgroundEnable[r]=!1)}},e.exports=function(t,e){var r=new o;return r.merge(t,e),r}},{"../../../lib":503,"../../../lib/str2rgbarray":528}],603:[function(t,e,r){"use strict";var n=t("../../../lib"),i=t("../../../components/color"),a=t("../../../registry"),o=t("../../subplot_defaults"),s=t("./axis_defaults"),l=t("./layout_attributes"),c=t("../../get_data").getSubplotData;function u(t,e,r,n){for(var o=r("bgcolor"),l=i.combine(o,n.paper_bgcolor),u=["up","center","eye"],f=0;f<u.length;f++)r("camera."+u[f]+".x"),r("camera."+u[f]+".y"),r("camera."+u[f]+".z");r("camera.projection.type");var h=!!r("aspectratio.x")&&!!r("aspectratio.y")&&!!r("aspectratio.z"),p=r("aspectmode",h?"manual":"auto");h||(t.aspectratio=e.aspectratio={x:1,y:1,z:1},"manual"===p&&(e.aspectmode="auto"),t.aspectmode=e.aspectmode);var d=c(n.fullData,"gl3d",n.id);s(t,e,{font:n.font,scene:n.id,data:d,bgColor:l,calendar:n.calendar,autotypenumbersDflt:n.autotypenumbersDflt,fullLayout:n.fullLayout}),a.getComponentMethod("annotations3d","handleDefaults")(t,e,n);var g=n.getDfltFromLayout("dragmode");if(!1!==g&&!g)if(g="orbit",t.camera&&t.camera.up){var m=t.camera.up.x,v=t.camera.up.y,y=t.camera.up.z;0!==y&&(m&&v&&y?y/Math.sqrt(m*m+v*v+y*y)>.999&&(g="turntable"):g="turntable")}else g="turntable";r("dragmode",g),r("hovermode",n.getDfltFromLayout("hovermode"))}e.exports=function(t,e,r){var i=e._basePlotModules.length>1;o(t,e,r,{type:"gl3d",attributes:l,handleDefaults:u,fullLayout:e,font:e.font,fullData:r,getDfltFromLayout:function(e){if(!i)return n.validate(t[e],l[e])?t[e]:void 0},autotypenumbersDflt:e.autotypenumbers,paper_bgcolor:e.paper_bgcolor,calendar:e.calendar})}},{"../../../components/color":366,"../../../lib":503,"../../../registry":638,"../../get_data":593,"../../subplot_defaults":632,"./axis_defaults":601,"./layout_attributes":604}],604:[function(t,e,r){"use strict";var n=t("./axis_attributes"),i=t("../../domain").attributes,a=t("../../../lib/extend").extendFlat,o=t("../../../lib").counterRegex;function s(t,e,r){return{x:{valType:"number",dflt:t,editType:"camera"},y:{valType:"number",dflt:e,editType:"camera"},z:{valType:"number",dflt:r,editType:"camera"},editType:"camera"}}e.exports={_arrayAttrRegexps:[o("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:a(s(0,0,1),{}),center:a(s(0,0,0),{}),eye:a(s(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:i({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:n,yaxis:n,zaxis:n,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},{"../../../lib":503,"../../../lib/extend":493,"../../domain":584,"./axis_attributes":600}],605:[function(t,e,r){"use strict";var n=t("../../../lib/str2rgbarray"),i=["xaxis","yaxis","zaxis"];function a(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}a.prototype.merge=function(t){for(var e=0;e<3;++e){var r=t[i[e]];r.visible?(this.enabled[e]=r.showspikes,this.colors[e]=n(r.spikecolor),this.drawSides[e]=r.spikesides,this.lineWidth[e]=r.spikethickness):(this.enabled[e]=!1,this.drawSides[e]=!1)}},e.exports=function(t){var e=new a;return e.merge(t),e}},{"../../../lib/str2rgbarray":528}],606:[function(t,e,r){"use strict";e.exports=function(t){for(var e=t.axesOptions,r=t.glplot.axesPixels,s=t.fullSceneLayout,l=[[],[],[]],c=0;c<3;++c){var u=s[a[c]];if(u._length=(r[c].hi-r[c].lo)*r[c].pixelsPerDataUnit/t.dataScale[c],Math.abs(u._length)===1/0||isNaN(u._length))l[c]=[];else{u._input_range=u.range.slice(),u.range[0]=r[c].lo/t.dataScale[c],u.range[1]=r[c].hi/t.dataScale[c],u._m=1/(t.dataScale[c]*r[c].pixelsPerDataUnit),u.range[0]===u.range[1]&&(u.range[0]-=1,u.range[1]+=1);var f=u.tickmode;if("auto"===u.tickmode){u.tickmode="linear";var h=u.nticks||i.constrain(u._length/40,4,9);n.autoTicks(u,Math.abs(u.range[1]-u.range[0])/h)}for(var p=n.calcTicks(u,{msUTC:!0}),d=0;d<p.length;++d)p[d].x=p[d].x*t.dataScale[c],"date"===u.type&&(p[d].text=p[d].text.replace(/\<br\>/g," "));l[c]=p,u.tickmode=f}}e.ticks=l;for(c=0;c<3;++c){o[c]=.5*(t.glplot.bounds[0][c]+t.glplot.bounds[1][c]);for(d=0;d<2;++d)e.bounds[d][c]=t.glplot.bounds[d][c]}t.contourLevels=function(t){for(var e=new Array(3),r=0;r<3;++r){for(var n=t[r],i=new Array(n.length),a=0;a<n.length;++a)i[a]=n[a].x;e[r]=i}return e}(l)};var n=t("../../cartesian/axes"),i=t("../../../lib"),a=["xaxis","yaxis","zaxis"],o=[0,0,0]},{"../../../lib":503,"../../cartesian/axes":554}],607:[function(t,e,r){"use strict";function n(t,e){var r,n,i=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)i[n]+=t[4*r+n]*e[r];return i}e.exports=function(t,e){return n(t.projection,n(t.view,n(t.model,[e[0],e[1],e[2],1])))}},{}],608:[function(t,e,r){"use strict";var n,i,a=t("../../../stackgl_modules").gl_plot3d,o=a.createCamera,s=a.createScene,l=t("webgl-context"),c=t("has-passive-events"),u=t("../../registry"),f=t("../../lib"),h=f.preserveDrawingBuffer(),p=t("../../plots/cartesian/axes"),d=t("../../components/fx"),g=t("../../lib/str2rgbarray"),m=t("../../lib/show_no_webgl_msg"),v=t("./project"),y=t("./layout/convert"),x=t("./layout/spikes"),b=t("./layout/tick_marks");function _(t,e){var r=document.createElement("div"),n=t.container;this.graphDiv=t.graphDiv;var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.style.position="absolute",i.style.top=i.style.left="0px",i.style.width=i.style.height="100%",i.style["z-index"]=20,i.style["pointer-events"]="none",r.appendChild(i),this.svgContainer=i,r.id=t.id,r.style.position="absolute",r.style.top=r.style.left="0px",r.style.width=r.style.height="100%",n.appendChild(r),this.fullLayout=e,this.id=t.id||"scene",this.fullSceneLayout=e[this.id],this.plotArgs=[[],{},{}],this.axesOptions=y(e,e[this.id]),this.spikeOptions=x(e[this.id]),this.container=r,this.staticMode=!!t.staticPlot,this.pixelRatio=this.pixelRatio||t.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=u.getComponentMethod("annotations3d","convert"),this.drawAnnotations=u.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var w=_.prototype;w.prepareOptions=function(){var t={canvas:this.canvas,gl:this.gl,glOptions:{preserveDrawingBuffer:h,premultipliedAlpha:!0,antialias:!0},container:this.container,axes:this.axesOptions,spikes:this.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:this.camera,pixelRatio:this.pixelRatio};if(this.staticMode){if(!(i||(n=document.createElement("canvas"),i=l({canvas:n,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}))))throw new Error("error creating static canvas/context for image server");t.gl=i,t.canvas=n}return t};var T=!0;w.tryCreatePlot=function(){var t=this.prepareOptions(),e=!0;try{this.glplot=s(t)}catch(r){if(this.staticMode||!T||h)e=!1;else{f.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{h=t.glOptions.preserveDrawingBuffer=!0,this.glplot=s(t)}catch(r){h=t.glOptions.preserveDrawingBuffer=!1,e=!1}}}return T=!1,e},w.initializeGLCamera=function(){var t=this.fullSceneLayout.camera,e="orthographic"===t.projection.type;this.camera=o(this.container,{center:[t.center.x,t.center.y,t.center.z],eye:[t.eye.x,t.eye.y,t.eye.z],up:[t.up.x,t.up.y,t.up.z],_ortho:e,zoomMin:.01,zoomMax:100,mode:"orbit"})},w.initializeGLPlot=function(){var t=this;if(t.initializeGLCamera(),!t.tryCreatePlot())return m(t);t.traces={},t.make4thDimension();var e=t.graphDiv,r=e.layout,n=function(){var e={};return t.isCameraChanged(r)&&(e[t.id+".camera"]=t.getCamera()),t.isAspectChanged(r)&&(e[t.id+".aspectratio"]=t.glplot.getAspectratio(),"manual"!==r[t.id].aspectmode&&(t.fullSceneLayout.aspectmode=r[t.id].aspectmode=e[t.id+".aspectmode"]="manual")),e},i=function(t){if(!1!==t.fullSceneLayout.dragmode){var e=n();t.saveLayout(r),t.graphDiv.emit("plotly_relayout",e)}};return t.glplot.canvas&&(t.glplot.canvas.addEventListener("mouseup",(function(){i(t)})),t.glplot.canvas.addEventListener("wheel",(function(r){if(e._context._scrollZoom.gl3d){if(t.camera._ortho){var n=r.deltaX>r.deltaY?1.1:1/1.1,a=t.glplot.getAspectratio();t.glplot.setAspectratio({x:n*a.x,y:n*a.y,z:n*a.z})}i(t)}}),!!c&&{passive:!1}),t.glplot.canvas.addEventListener("mousemove",(function(){if(!1!==t.fullSceneLayout.dragmode&&0!==t.camera.mouseListener.buttons){var e=n();t.graphDiv.emit("plotly_relayouting",e)}})),t.staticMode||t.glplot.canvas.addEventListener("webglcontextlost",(function(r){e&&e.emit&&e.emit("plotly_webglcontextlost",{event:r,layer:t.id})}),!1)),t.glplot.oncontextloss=function(){t.recoverContext()},t.glplot.onrender=function(){t.render()},!0},w.render=function(){var t,e=this,r=e.graphDiv,n=e.svgContainer,i=e.container.getBoundingClientRect();r._fullLayout._calcInverseTransform(r);var a=r._fullLayout._invScaleX,o=r._fullLayout._invScaleY,s=i.width*a,l=i.height*o;n.setAttributeNS(null,"viewBox","0 0 "+s+" "+l),n.setAttributeNS(null,"width",s),n.setAttributeNS(null,"height",l),b(e),e.glplot.axes.update(e.axesOptions);for(var c=Object.keys(e.traces),u=null,h=e.glplot.selection,g=0;g<c.length;++g)"skip"!==(t=e.traces[c[g]]).data.hoverinfo&&t.handlePick(h)&&(u=t),t.setContourLevels&&t.setContourLevels();function m(t,r,n){var i=e.fullSceneLayout[t+"axis"];return"log"!==i.type&&(r=i.d2l(r)),p.hoverLabelText(i,r,n)}if(null!==u){var y=v(e.glplot.cameraParams,h.dataCoordinate);t=u.data;var x,_=r._fullData[t.index],w=h.index,T={xLabel:m("x",h.traceCoordinate[0],t.xhoverformat),yLabel:m("y",h.traceCoordinate[1],t.yhoverformat),zLabel:m("z",h.traceCoordinate[2],t.zhoverformat)},k=d.castHoverinfo(_,e.fullLayout,w),A=(k||"").split("+"),M=k&&"all"===k;_.hovertemplate||M||(-1===A.indexOf("x")&&(T.xLabel=void 0),-1===A.indexOf("y")&&(T.yLabel=void 0),-1===A.indexOf("z")&&(T.zLabel=void 0),-1===A.indexOf("text")&&(h.textLabel=void 0),-1===A.indexOf("name")&&(u.name=void 0));var S=[];"cone"===t.type||"streamtube"===t.type?(T.uLabel=m("x",h.traceCoordinate[3],t.uhoverformat),(M||-1!==A.indexOf("u"))&&S.push("u: "+T.uLabel),T.vLabel=m("y",h.traceCoordinate[4],t.vhoverformat),(M||-1!==A.indexOf("v"))&&S.push("v: "+T.vLabel),T.wLabel=m("z",h.traceCoordinate[5],t.whoverformat),(M||-1!==A.indexOf("w"))&&S.push("w: "+T.wLabel),T.normLabel=h.traceCoordinate[6].toPrecision(3),(M||-1!==A.indexOf("norm"))&&S.push("norm: "+T.normLabel),"streamtube"===t.type&&(T.divergenceLabel=h.traceCoordinate[7].toPrecision(3),(M||-1!==A.indexOf("divergence"))&&S.push("divergence: "+T.divergenceLabel)),h.textLabel&&S.push(h.textLabel),x=S.join("<br>")):"isosurface"===t.type||"volume"===t.type?(T.valueLabel=p.hoverLabelText(e._mockAxis,e._mockAxis.d2l(h.traceCoordinate[3]),t.valuehoverformat),S.push("value: "+T.valueLabel),h.textLabel&&S.push(h.textLabel),x=S.join("<br>")):x=h.textLabel;var E={x:h.traceCoordinate[0],y:h.traceCoordinate[1],z:h.traceCoordinate[2],data:_._input,fullData:_,curveNumber:_.index,pointNumber:w};d.appendArrayPointValue(E,_,w),t._module.eventData&&(E=_._module.eventData(E,h,_,{},w));var L={points:[E]};if(e.fullSceneLayout.hovermode){var C=[];d.loneHover({trace:_,x:(.5+.5*y[0]/y[3])*s,y:(.5-.5*y[1]/y[3])*l,xLabel:T.xLabel,yLabel:T.yLabel,zLabel:T.zLabel,text:x,name:u.name,color:d.castHoverOption(_,w,"bgcolor")||u.color,borderColor:d.castHoverOption(_,w,"bordercolor"),fontFamily:d.castHoverOption(_,w,"font.family"),fontSize:d.castHoverOption(_,w,"font.size"),fontColor:d.castHoverOption(_,w,"font.color"),nameLength:d.castHoverOption(_,w,"namelength"),textAlign:d.castHoverOption(_,w,"align"),hovertemplate:f.castOption(_,w,"hovertemplate"),hovertemplateLabels:f.extendFlat({},E,T),eventData:[E]},{container:n,gd:r,inOut_bbox:C}),E.bbox=C[0]}h.buttons&&h.distance<5?r.emit("plotly_click",L):r.emit("plotly_hover",L),this.oldEventData=L}else d.loneUnhover(n),this.oldEventData&&r.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;e.drawAnnotations(e)},w.recoverContext=function(){var t=this;t.glplot.dispose();var e=function(){t.glplot.gl.isContextLost()?requestAnimationFrame(e):t.initializeGLPlot()?t.plot.apply(t,t.plotArgs):f.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(e)};var k=["xaxis","yaxis","zaxis"];function A(t,e,r){for(var n=t.fullSceneLayout,i=0;i<3;i++){var a=k[i],o=a.charAt(0),s=n[a],l=e[o],c=e[o+"calendar"],u=e["_"+o+"length"];if(f.isArrayOrTypedArray(l))for(var h,p=0;p<(u||l.length);p++)if(f.isArrayOrTypedArray(l[p]))for(var d=0;d<l[p].length;++d)h=s.d2l(l[p][d],0,c),!isNaN(h)&&isFinite(h)&&(r[0][i]=Math.min(r[0][i],h),r[1][i]=Math.max(r[1][i],h));else h=s.d2l(l[p],0,c),!isNaN(h)&&isFinite(h)&&(r[0][i]=Math.min(r[0][i],h),r[1][i]=Math.max(r[1][i],h));else r[0][i]=Math.min(r[0][i],0),r[1][i]=Math.max(r[1][i],u-1)}}w.plot=function(t,e,r){if(this.plotArgs=[t,e,r],!this.glplot.contextLost){var n,i,a,o,s,l,c=e[this.id],u=r[this.id];this.fullLayout=e,this.fullSceneLayout=c,this.axesOptions.merge(e,c),this.spikeOptions.merge(c),this.setViewport(c),this.updateFx(c.dragmode,c.hovermode),this.camera.enableWheel=this.graphDiv._context._scrollZoom.gl3d,this.glplot.setClearColor(g(c.bgcolor)),this.setConvert(s),t?Array.isArray(t)||(t=[t]):t=[];var f=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(a=0;a<t.length;++a)!0===(n=t[a]).visible&&0!==n._length&&A(this,n,f);!function(t,e){for(var r=t.fullSceneLayout,n=r.annotations||[],i=0;i<3;i++)for(var a=k[i],o=a.charAt(0),s=r[a],l=0;l<n.length;l++){var c=n[l];if(c.visible){var u=s.r2l(c[o]);!isNaN(u)&&isFinite(u)&&(e[0][i]=Math.min(e[0][i],u),e[1][i]=Math.max(e[1][i],u))}}}(this,f);var h=[1,1,1];for(o=0;o<3;++o)f[1][o]===f[0][o]?h[o]=1:h[o]=1/(f[1][o]-f[0][o]);for(this.dataScale=h,this.convertAnnotations(this),a=0;a<t.length;++a)!0===(n=t[a]).visible&&0!==n._length&&((i=this.traces[n.uid])?i.data.type===n.type?i.update(n):(i.dispose(),i=n._module.plot(this,n),this.traces[n.uid]=i):(i=n._module.plot(this,n),this.traces[n.uid]=i),i.name=n.name);var p=Object.keys(this.traces);t:for(a=0;a<p.length;++a){for(o=0;o<t.length;++o)if(t[o].uid===p[a]&&!0===t[o].visible&&0!==t[o]._length)continue t;(i=this.traces[p[a]]).dispose(),delete this.traces[p[a]]}this.glplot.objects.sort((function(t,e){return t._trace.data.index-e._trace.data.index}));var d,m=[[0,0,0],[0,0,0]],v=[],y={};for(a=0;a<3;++a){if((l=(s=c[k[a]]).type)in y?(y[l].acc*=h[a],y[l].count+=1):y[l]={acc:h[a],count:1},s.autorange){m[0][a]=1/0,m[1][a]=-1/0;var x=this.glplot.objects,b=this.fullSceneLayout.annotations||[],_=s._name.charAt(0);for(o=0;o<x.length;o++){var w=x[o],T=w.bounds,M=w._trace.data._pad||0;"ErrorBars"===w.constructor.name&&s._lowerLogErrorBound?m[0][a]=Math.min(m[0][a],s._lowerLogErrorBound):m[0][a]=Math.min(m[0][a],T[0][a]/h[a]-M),m[1][a]=Math.max(m[1][a],T[1][a]/h[a]+M)}for(o=0;o<b.length;o++){var S=b[o];if(S.visible){var E=s.r2l(S[_]);m[0][a]=Math.min(m[0][a],E),m[1][a]=Math.max(m[1][a],E)}}if("rangemode"in s&&"tozero"===s.rangemode&&(m[0][a]=Math.min(m[0][a],0),m[1][a]=Math.max(m[1][a],0)),m[0][a]>m[1][a])m[0][a]=-1,m[1][a]=1;else{var L=m[1][a]-m[0][a];m[0][a]-=L/32,m[1][a]+=L/32}if("reversed"===s.autorange){var C=m[0][a];m[0][a]=m[1][a],m[1][a]=C}}else{var P=s.range;m[0][a]=s.r2l(P[0]),m[1][a]=s.r2l(P[1])}m[0][a]===m[1][a]&&(m[0][a]-=1,m[1][a]+=1),v[a]=m[1][a]-m[0][a],this.glplot.setBounds(a,{min:m[0][a]*h[a],max:m[1][a]*h[a]})}var I=c.aspectmode;if("cube"===I)d=[1,1,1];else if("manual"===I){var O=c.aspectratio;d=[O.x,O.y,O.z]}else{if("auto"!==I&&"data"!==I)throw new Error("scene.js aspectRatio was not one of the enumerated types");var z=[1,1,1];for(a=0;a<3;++a){var D=y[l=(s=c[k[a]]).type];z[a]=Math.pow(D.acc,1/D.count)/h[a]}d="data"===I||Math.max.apply(null,z)/Math.min.apply(null,z)<=4?z:[1,1,1]}c.aspectratio.x=u.aspectratio.x=d[0],c.aspectratio.y=u.aspectratio.y=d[1],c.aspectratio.z=u.aspectratio.z=d[2],this.glplot.setAspectratio(c.aspectratio),this.viewInitial.aspectratio||(this.viewInitial.aspectratio={x:c.aspectratio.x,y:c.aspectratio.y,z:c.aspectratio.z}),this.viewInitial.aspectmode||(this.viewInitial.aspectmode=c.aspectmode);var R=c.domain||null,F=e._size||null;if(R&&F){var B=this.container.style;B.position="absolute",B.left=F.l+R.x[0]*F.w+"px",B.top=F.t+(1-R.y[1])*F.h+"px",B.width=F.w*(R.x[1]-R.x[0])+"px",B.height=F.h*(R.y[1]-R.y[0])+"px"}this.glplot.redraw()}},w.destroy=function(){this.glplot&&(this.camera.mouseListener.enabled=!1,this.container.removeEventListener("wheel",this.camera.wheelListener),this.camera=null,this.glplot.dispose(),this.container.parentNode.removeChild(this.container),this.glplot=null)},w.getCamera=function(){var t;return this.camera.view.recalcMatrix(this.camera.view.lastT()),{up:{x:(t=this.camera).up[0],y:t.up[1],z:t.up[2]},center:{x:t.center[0],y:t.center[1],z:t.center[2]},eye:{x:t.eye[0],y:t.eye[1],z:t.eye[2]},projection:{type:!0===t._ortho?"orthographic":"perspective"}}},w.setViewport=function(t){var e,r=t.camera;this.camera.lookAt.apply(this,[[(e=r).eye.x,e.eye.y,e.eye.z],[e.center.x,e.center.y,e.center.z],[e.up.x,e.up.y,e.up.z]]),this.glplot.setAspectratio(t.aspectratio),"orthographic"===r.projection.type!==this.camera._ortho&&(this.glplot.redraw(),this.glplot.clearRGBA(),this.glplot.dispose(),this.initializeGLPlot())},w.isCameraChanged=function(t){var e=this.getCamera(),r=f.nestedProperty(t,this.id+".camera").get();function n(t,e,r,n){var i=["up","center","eye"],a=["x","y","z"];return e[i[r]]&&t[i[r]][a[n]]===e[i[r]][a[n]]}var i=!1;if(void 0===r)i=!0;else{for(var a=0;a<3;a++)for(var o=0;o<3;o++)if(!n(e,r,a,o)){i=!0;break}(!r.projection||e.projection&&e.projection.type!==r.projection.type)&&(i=!0)}return i},w.isAspectChanged=function(t){var e=this.glplot.getAspectratio(),r=f.nestedProperty(t,this.id+".aspectratio").get();return void 0===r||r.x!==e.x||r.y!==e.y||r.z!==e.z},w.saveLayout=function(t){var e,r,n,i,a,o,s=this.fullLayout,l=this.isCameraChanged(t),c=this.isAspectChanged(t),h=l||c;if(h){var p={};if(l&&(e=this.getCamera(),n=(r=f.nestedProperty(t,this.id+".camera")).get(),p[this.id+".camera"]=n),c&&(i=this.glplot.getAspectratio(),o=(a=f.nestedProperty(t,this.id+".aspectratio")).get(),p[this.id+".aspectratio"]=o),u.call("_storeDirectGUIEdit",t,s._preGUI,p),l)r.set(e),f.nestedProperty(s,this.id+".camera").set(e);if(c)a.set(i),f.nestedProperty(s,this.id+".aspectratio").set(i),this.glplot.redraw()}return h},w.updateFx=function(t,e){var r=this.camera;if(r)if("orbit"===t)r.mode="orbit",r.keyBindingMode="rotate";else if("turntable"===t){r.up=[0,0,1],r.mode="turntable",r.keyBindingMode="rotate";var n=this.graphDiv,i=n._fullLayout,a=this.fullSceneLayout.camera,o=a.up.x,s=a.up.y,l=a.up.z;if(l/Math.sqrt(o*o+s*s+l*l)<.999){var c=this.id+".camera.up",h={x:0,y:0,z:1},p={};p[c]=h;var d=n.layout;u.call("_storeDirectGUIEdit",d,i._preGUI,p),a.up=h,f.nestedProperty(d,c).set(h)}}else r.keyBindingMode=t;this.fullSceneLayout.hovermode=e},w.toImage=function(t){t||(t="png"),this.staticMode&&this.container.appendChild(n),this.glplot.redraw();var e=this.glplot.gl,r=e.drawingBufferWidth,i=e.drawingBufferHeight;e.bindFramebuffer(e.FRAMEBUFFER,null);var a=new Uint8Array(r*i*4);e.readPixels(0,0,r,i,e.RGBA,e.UNSIGNED_BYTE,a),function(t,e,r){for(var n=0,i=r-1;n<i;++n,--i)for(var a=0;a<e;++a)for(var o=0;o<4;++o){var s=4*(e*n+a)+o,l=4*(e*i+a)+o,c=t[s];t[s]=t[l],t[l]=c}}(a,r,i),function(t,e,r){for(var n=0;n<r;++n)for(var i=0;i<e;++i){var a=4*(e*n+i),o=t[a+3];if(o>0)for(var s=255/o,l=0;l<3;++l)t[a+l]=Math.min(s*t[a+l],255)}}(a,r,i);var o=document.createElement("canvas");o.width=r,o.height=i;var s,l=o.getContext("2d"),c=l.createImageData(r,i);switch(c.data.set(a),l.putImageData(c,0,0),t){case"jpeg":s=o.toDataURL("image/jpeg");break;case"webp":s=o.toDataURL("image/webp");break;default:s=o.toDataURL("image/png")}return this.staticMode&&this.container.removeChild(n),s},w.setConvert=function(){for(var t=0;t<3;t++){var e=this.fullSceneLayout[k[t]];p.setConvert(e,this.fullLayout),e.setScale=f.noop}},w.make4thDimension=function(){var t=this.graphDiv._fullLayout;this._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},p.setConvert(this._mockAxis,t)},e.exports=_},{"../../../stackgl_modules":1120,"../../components/fx":406,"../../lib":503,"../../lib/show_no_webgl_msg":525,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554,"../../registry":638,"./layout/convert":602,"./layout/spikes":605,"./layout/tick_marks":606,"./project":607,"has-passive-events":229,"webgl-context":331}],609:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){n=n||t.length;for(var i=new Array(n),a=0;a<n;a++)i[a]=[t[a],e[a],r[a]];return i}},{}],610:[function(t,e,r){"use strict";var n=t("./font_attributes"),i=t("./animation_attributes"),a=t("../components/color/attributes"),o=t("../components/shapes/draw_newshape/attributes"),s=t("./pad_attributes"),l=t("../lib/extend").extendFlat,c=n({editType:"calc"});c.family.dflt='"Open Sans", verdana, arial, sans-serif',c.size.dflt=12,c.color.dflt=a.defaultLine,e.exports={font:c,title:{text:{valType:"string",editType:"layoutstyle"},font:n({editType:"layoutstyle"}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle"},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle"},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle"},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle"},pad:l(s({editType:"layoutstyle"}),{}),editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot"},minsize:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none"},width:{valType:"number",min:10,dflt:700,editType:"plot"},height:{valType:"number",min:10,dflt:450,editType:"plot"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot"},r:{valType:"number",min:0,dflt:80,editType:"plot"},t:{valType:"number",min:0,dflt:100,editType:"plot"},b:{valType:"number",min:0,dflt:80,editType:"plot"},pad:{valType:"number",min:0,dflt:0,editType:"plot"},autoexpand:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},computed:{valType:"any",editType:"none"},paper_bgcolor:{valType:"color",dflt:a.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:a.background,editType:"layoutstyle"},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},separators:{valType:"string",editType:"plot"},hidesources:{valType:"boolean",dflt:!1,editType:"plot"},showlegend:{valType:"boolean",editType:"legend"},colorway:{valType:"colorlist",dflt:a.defaults,editType:"calc"},datarevision:{valType:"any",editType:"calc"},uirevision:{valType:"any",editType:"none"},editrevision:{valType:"any",editType:"none"},selectionrevision:{valType:"any",editType:"none"},template:{valType:"any",editType:"calc"},newshape:o.newshape,activeshape:o.activeshape,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:l({},i.transition,{editType:"none"}),_deprecated:{title:{valType:"string",editType:"layoutstyle"},titlefont:n({editType:"layoutstyle"})}}},{"../components/color/attributes":365,"../components/shapes/draw_newshape/attributes":451,"../lib/extend":493,"./animation_attributes":548,"./font_attributes":585,"./pad_attributes":618}],611:[function(t,e,r){"use strict";var n=t("../../lib/sort_object_keys"),i='\xa9 <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',a=['\xa9 <a target="_blank" href="https://carto.com/">Carto</a>',i].join(" "),o=['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://www.openstreetmap.org/copyright">ODbL</a>'].join(" "),s={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:i,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:a,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:a,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:o,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:o,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by <a target="_blank" href="https://stamen.com">Stamen Design</a>','under <a target="_blank" href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>',"|",'Data by <a target="_blank" href="https://openstreetmap.org">OpenStreetMap</a> contributors','under <a target="_blank" href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},l=n(s);e.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:s,styleValuesNonMapbox:l,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join("\n"),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:","  Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join("\n"),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",l.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join("\n"),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join("\n"),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":'content: ""; cursor: pointer; position: absolute; background-image: url(\'data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E\'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;',"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":'display:block; width: 21px; height: 21px; background-image: url(\'data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E\')'}}},{"../../lib/sort_object_keys":526}],612:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){var r=t.split(" "),i=r[0],a=r[1],o=n.isArrayOrTypedArray(e)?n.mean(e):e,s=.5+o/100,l=1.5+o/100,c=["",""],u=[0,0];switch(i){case"top":c[0]="top",u[1]=-l;break;case"bottom":c[0]="bottom",u[1]=l}switch(a){case"left":c[1]="right",u[0]=-s;break;case"right":c[1]="left",u[0]=s}return{anchor:c[0]&&c[1]?c.join("-"):c[0]?c[0]:c[1]?c[1]:"center",offset:u}}},{"../../lib":503}],613:[function(t,e,r){"use strict";var n=t("mapbox-gl/dist/mapbox-gl-unminified"),i=t("../../lib"),a=i.strTranslate,o=i.strScale,s=t("../../plots/get_data").getSubplotCalcData,l=t("../../constants/xmlns_namespaces"),c=t("@plotly/d3"),u=t("../../components/drawing"),f=t("../../lib/svg_text_utils"),h=t("./mapbox"),p=r.constants=t("./constants");function d(t){return"string"==typeof t&&(-1!==p.styleValuesMapbox.indexOf(t)||0===t.indexOf("mapbox://"))}r.name="mapbox",r.attr="subplot",r.idRoot="mapbox",r.idRegex=r.attrRegex=i.counterRegex("mapbox"),r.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},r.layoutAttributes=t("./layout_attributes"),r.supplyLayoutDefaults=t("./layout_defaults"),r.plot=function(t){var e=t._fullLayout,r=t.calcdata,a=e._subplots.mapbox;if(n.version!==p.requiredVersion)throw new Error(p.wrongVersionErrorMsg);var o=function(t,e){var r=t._fullLayout;if(""===t._context.mapboxAccessToken)return"";for(var n=[],a=[],o=!1,s=!1,l=0;l<e.length;l++){var c=r[e[l]],u=c.accesstoken;d(c.style)&&(u?i.pushUnique(n,u):(d(c._input.style)&&(i.error("Uses Mapbox map style, but did not set an access token."),o=!0),s=!0)),u&&i.pushUnique(a,u)}if(s){var f=o?p.noAccessTokenErrorMsg:p.missingStyleErrorMsg;throw i.error(f),new Error(f)}return n.length?(n.length>1&&i.warn(p.multipleTokensErrorMsg),n[0]):(a.length&&i.log(["Listed mapbox access token(s)",a.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(t,a);n.accessToken=o;for(var l=0;l<a.length;l++){var c=a[l],u=s(r,"mapbox",c),f=e[c],g=f._subplot;g||(g=new h(t,c),e[c]._subplot=g),g.viewInitial||(g.viewInitial={center:i.extendFlat({},f.center),zoom:f.zoom,bearing:f.bearing,pitch:f.pitch}),g.plot(u,e,t._promises)}},r.clean=function(t,e,r,n){for(var i=n._subplots.mapbox||[],a=0;a<i.length;a++){var o=i[a];!e[o]&&n[o]._subplot&&n[o]._subplot.destroy()}},r.toSVG=function(t){for(var e=t._fullLayout,r=e._subplots.mapbox,n=e._size,i=0;i<r.length;i++){var s=e[r[i]],h=s.domain,d=s._subplot.toImage("png");e._glimages.append("svg:image").attr({xmlns:l.svg,"xlink:href":d,x:n.l+n.w*h.x[0],y:n.t+n.h*(1-h.y[1]),width:n.w*(h.x[1]-h.x[0]),height:n.h*(h.y[1]-h.y[0]),preserveAspectRatio:"none"});var g=c.select(s._subplot.div);if(!(null===g.select(".mapboxgl-ctrl-logo").node().offsetParent)){var m=e._glimages.append("g");m.attr("transform",a(n.l+n.w*h.x[0]+10,n.t+n.h*(1-h.y[0])-31)),m.append("path").attr("d",p.mapboxLogo.path0).style({opacity:.9,fill:"#ffffff","enable-background":"new"}),m.append("path").attr("d",p.mapboxLogo.path1).style("opacity",.35).style("enable-background","new"),m.append("path").attr("d",p.mapboxLogo.path2).style("opacity",.35).style("enable-background","new"),m.append("polygon").attr("points",p.mapboxLogo.polygon).style({opacity:.9,fill:"#ffffff","enable-background":"new"})}var v=g.select(".mapboxgl-ctrl-attrib").text().replace("Improve this map",""),y=e._glimages.append("g"),x=y.append("text");x.text(v).classed("static-attribution",!0).attr({"font-size":12,"font-family":"Arial",color:"rgba(0, 0, 0, 0.75)","text-anchor":"end","data-unformatted":v});var b=u.bBox(x.node()),_=n.w*(h.x[1]-h.x[0]);if(b.width>_/2){var w=v.split("|").join("<br>");x.text(w).attr("data-unformatted",w).call(f.convertToTspans,t),b=u.bBox(x.node())}x.attr("transform",a(-3,8-b.height)),y.insert("rect",".static-attribution").attr({x:-b.width-6,y:-b.height-3,width:b.width+6,height:b.height+3,fill:"rgba(255, 255, 255, 0.75)"});var T=1;b.width+6>_&&(T=_/(b.width+6));var k=[n.l+n.w*h.x[1],n.t+n.h*(1-h.y[0])];y.attr("transform",a(k[0],k[1])+o(T))}},r.updateFx=function(t){for(var e=t._fullLayout,r=e._subplots.mapbox,n=0;n<r.length;n++){e[r[n]]._subplot.updateFx(e)}}},{"../../components/drawing":388,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/get_data":593,"./constants":611,"./layout_attributes":615,"./layout_defaults":616,"./mapbox":617,"@plotly/d3":58,"mapbox-gl/dist/mapbox-gl-unminified":239}],614:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../lib/svg_text_utils").sanitizeHTML,a=t("./convert_text_opts"),o=t("./constants");function s(t,e){this.subplot=t,this.uid=t.uid+"-"+e,this.index=e,this.idSource="source-"+this.uid,this.idLayer=o.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var l=s.prototype;function c(t){if(!t.visible)return!1;var e=t.source;if(Array.isArray(e)&&e.length>0){for(var r=0;r<e.length;r++)if("string"!=typeof e[r]||0===e[r].length)return!1;return!0}return n.isPlainObject(e)||"string"==typeof e&&e.length>0}function u(t){var e={},r={};switch(t.type){case"circle":n.extendFlat(r,{"circle-radius":t.circle.radius,"circle-color":t.color,"circle-opacity":t.opacity});break;case"line":n.extendFlat(r,{"line-width":t.line.width,"line-color":t.color,"line-opacity":t.opacity,"line-dasharray":t.line.dash});break;case"fill":n.extendFlat(r,{"fill-color":t.color,"fill-outline-color":t.fill.outlinecolor,"fill-opacity":t.opacity});break;case"symbol":var i=t.symbol,o=a(i.textposition,i.iconsize);n.extendFlat(e,{"icon-image":i.icon+"-15","icon-size":i.iconsize/10,"text-field":i.text,"text-size":i.textfont.size,"text-anchor":o.anchor,"text-offset":o.offset,"symbol-placement":i.placement}),n.extendFlat(r,{"icon-color":t.color,"text-color":i.textfont.color,"text-opacity":t.opacity});break;case"raster":n.extendFlat(r,{"raster-fade-duration":0,"raster-opacity":t.opacity})}return{layout:e,paint:r}}l.update=function(t){this.visible?this.needsNewImage(t)?this.updateImage(t):this.needsNewSource(t)?(this.removeLayer(),this.updateSource(t),this.updateLayer(t)):this.needsNewLayer(t)?this.updateLayer(t):this.updateStyle(t):(this.updateSource(t),this.updateLayer(t)),this.visible=c(t)},l.needsNewImage=function(t){return this.subplot.map.getSource(this.idSource)&&"image"===this.sourceType&&"image"===t.sourcetype&&(this.source!==t.source||JSON.stringify(this.coordinates)!==JSON.stringify(t.coordinates))},l.needsNewSource=function(t){return this.sourceType!==t.sourcetype||JSON.stringify(this.source)!==JSON.stringify(t.source)||this.layerType!==t.type},l.needsNewLayer=function(t){return this.layerType!==t.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},l.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},l.updateImage=function(t){this.subplot.map.getSource(this.idSource).updateImage({url:t.source,coordinates:t.coordinates});var e=this.findFollowingMapboxLayerId(this.lookupBelow());null!==e&&this.subplot.map.moveLayer(this.idLayer,e)},l.updateSource=function(t){var e=this.subplot.map;if(e.getSource(this.idSource)&&e.removeSource(this.idSource),this.sourceType=t.sourcetype,this.source=t.source,c(t)){var r=function(t){var e,r=t.sourcetype,n=t.source,a={type:r};"geojson"===r?e="data":"vector"===r?e="string"==typeof n?"url":"tiles":"raster"===r?(e="tiles",a.tileSize=256):"image"===r&&(e="url",a.coordinates=t.coordinates);a[e]=n,t.sourceattribution&&(a.attribution=i(t.sourceattribution));return a}(t);e.addSource(this.idSource,r)}},l.findFollowingMapboxLayerId=function(t){if("traces"===t)for(var e=this.subplot.getMapLayers(),r=0;r<e.length;r++){var n=e[r].id;if("string"==typeof n&&0===n.indexOf(o.traceLayerPrefix)){t=n;break}}return t},l.updateLayer=function(t){var e=this.subplot,r=u(t),n=this.lookupBelow(),i=this.findFollowingMapboxLayerId(n);this.removeLayer(),c(t)&&e.addLayer({id:this.idLayer,source:this.idSource,"source-layer":t.sourcelayer||"",type:t.type,minzoom:t.minzoom,maxzoom:t.maxzoom,layout:r.layout,paint:r.paint},i),this.layerType=t.type,this.below=n},l.updateStyle=function(t){if(c(t)){var e=u(t);this.subplot.setOptions(this.idLayer,"setLayoutProperty",e.layout),this.subplot.setOptions(this.idLayer,"setPaintProperty",e.paint)}},l.removeLayer=function(){var t=this.subplot.map;t.getLayer(this.idLayer)&&t.removeLayer(this.idLayer)},l.dispose=function(){var t=this.subplot.map;t.getLayer(this.idLayer)&&t.removeLayer(this.idLayer),t.getSource(this.idSource)&&t.removeSource(this.idSource)},e.exports=function(t,e,r){var n=new s(t,e);return n.update(r),n}},{"../../lib":503,"../../lib/svg_text_utils":529,"./constants":611,"./convert_text_opts":612}],615:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color").defaultLine,a=t("../domain").attributes,o=t("../font_attributes"),s=t("../../traces/scatter/attributes").textposition,l=t("../../plot_api/edit_types").overrideAll,c=t("../../plot_api/plot_template").templatedArray,u=t("./constants"),f=o({});f.family.dflt="Open Sans Regular, Arial Unicode MS Regular",(e.exports=l({_arrayAttrRegexps:[n.counterRegex("mapbox",".layers",!0)],domain:a({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0},style:{valType:"any",values:u.styleValuesMapbox.concat(u.styleValuesNonMapbox),dflt:u.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},layers:c("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:i},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:i}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:f,textposition:n.extendFlat({},s,{arrayOk:!1})}})},"plot","from-root")).uirevision={valType:"any",editType:"none"}},{"../../components/color":366,"../../lib":503,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":926,"../domain":584,"../font_attributes":585,"./constants":611}],616:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../subplot_defaults"),a=t("../array_container_defaults"),o=t("./layout_attributes");function s(t,e,r,n){r("accesstoken",n.accessToken),r("style"),r("center.lon"),r("center.lat"),r("zoom"),r("bearing"),r("pitch"),a(t,e,{name:"layers",handleItemDefaults:l}),e._input=t}function l(t,e){function r(r,i){return n.coerce(t,e,o.layers,r,i)}if(r("visible")){var i,a=r("sourcetype"),s="raster"===a||"image"===a;r("source"),r("sourceattribution"),"vector"===a&&r("sourcelayer"),"image"===a&&r("coordinates"),s&&(i="raster");var l=r("type",i);s&&"raster"!==l&&(l=e.type="raster",n.log("Source types *raster* and *image* must drawn *raster* layer type.")),r("below"),r("color"),r("opacity"),r("minzoom"),r("maxzoom"),"circle"===l&&r("circle.radius"),"line"===l&&(r("line.width"),r("line.dash")),"fill"===l&&r("fill.outlinecolor"),"symbol"===l&&(r("symbol.icon"),r("symbol.iconsize"),r("symbol.text"),n.coerceFont(r,"symbol.textfont"),r("symbol.textposition"),r("symbol.placement"))}}e.exports=function(t,e,r){i(t,e,r,{type:"mapbox",attributes:o,handleDefaults:s,partition:"y",accessToken:e._mapboxAccessToken})}},{"../../lib":503,"../array_container_defaults":549,"../subplot_defaults":632,"./layout_attributes":615}],617:[function(t,e,r){"use strict";var n=t("mapbox-gl/dist/mapbox-gl-unminified"),i=t("../../lib"),a=t("../../lib/geo_location_utils"),o=t("../../registry"),s=t("../cartesian/axes"),l=t("../../components/dragelement"),c=t("../../components/fx"),u=t("../../components/dragelement/helpers"),f=u.rectMode,h=u.drawMode,p=u.selectMode,d=t("../cartesian/select").prepSelect,g=t("../cartesian/select").clearSelect,m=t("../cartesian/select").clearSelectionsCache,v=t("../cartesian/select").selectOnClick,y=t("./constants"),x=t("./layers");function b(t,e){this.id=e,this.gd=t;var r=t._fullLayout,n=t._context;this.container=r._glcontainer.node(),this.isStatic=n.staticPlot,this.uid=r._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(r),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var _=b.prototype;_.plot=function(t,e,r){var n,i=this,a=e[i.id];i.map&&a.accesstoken!==i.accessToken&&(i.map.remove(),i.map=null,i.styleObj=null,i.traceHash={},i.layerList=[]),n=i.map?new Promise((function(r,n){i.updateMap(t,e,r,n)})):new Promise((function(r,n){i.createMap(t,e,r,n)})),r.push(n)},_.createMap=function(t,e,r,i){var o=this,s=e[o.id],l=o.styleObj=T(s.style);o.accessToken=s.accesstoken;var c=o.map=new n.Map({container:o.div,style:l.style,center:A(s.center),zoom:s.zoom,bearing:s.bearing,pitch:s.pitch,interactive:!o.isStatic,preserveDrawingBuffer:o.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new n.AttributionControl({compact:!0}));c._canvas.style.left="0px",c._canvas.style.top="0px",o.rejectOnError(i),o.isStatic||o.initFx(t,e);var u=[];u.push(new Promise((function(t){c.once("load",t)}))),u=u.concat(a.fetchTraceGeoData(t)),Promise.all(u).then((function(){o.fillBelowLookup(t,e),o.updateData(t),o.updateLayout(e),o.resolveOnRender(r)})).catch(i)},_.updateMap=function(t,e,r,n){var i=this,o=i.map,s=e[this.id];i.rejectOnError(n);var l=[],c=T(s.style);JSON.stringify(i.styleObj)!==JSON.stringify(c)&&(i.styleObj=c,o.setStyle(c.style),i.traceHash={},l.push(new Promise((function(t){o.once("styledata",t)})))),l=l.concat(a.fetchTraceGeoData(t)),Promise.all(l).then((function(){i.fillBelowLookup(t,e),i.updateData(t),i.updateLayout(e),i.resolveOnRender(r)})).catch(n)},_.fillBelowLookup=function(t,e){var r,n,i=e[this.id].layers,a=this.belowLookup={},o=!1;for(r=0;r<t.length;r++){var s=t[r][0].trace,l=s._module;"string"==typeof s.below?n=s.below:l.getBelow&&(n=l.getBelow(s,this)),""===n&&(o=!0),a["trace-"+s.uid]=n||""}for(r=0;r<i.length;r++){var c=i[r];n="string"==typeof c.below?c.below:o?"traces":"",a["layout-"+r]=n}var u,f,h={};for(u in a)h[n=a[u]]?h[n].push(u):h[n]=[u];for(n in h){var p=h[n];if(p.length>1)for(r=0;r<p.length;r++)0===(u=p[r]).indexOf("trace-")?(f=u.split("trace-")[1],this.traceHash[f]&&(this.traceHash[f].below=null)):0===u.indexOf("layout-")&&(f=u.split("layout-")[1],this.layerList[f]&&(this.layerList[f].below=null))}};var w={choroplethmapbox:0,densitymapbox:1,scattermapbox:2};function T(t){var e={};return i.isPlainObject(t)?(e.id=t.id,e.style=t):"string"==typeof t?(e.id=t,-1!==y.styleValuesMapbox.indexOf(t)?e.style=k(t):y.stylesNonMapbox[t]?e.style=y.stylesNonMapbox[t]:e.style=t):(e.id=y.styleValueDflt,e.style=k(y.styleValueDflt)),e.transition={duration:0,delay:0},e}function k(t){return y.styleUrlPrefix+t+"-"+y.styleUrlSuffix}function A(t){return[t.lon,t.lat]}_.updateData=function(t){var e,r,n,i,a=this.traceHash,o=t.slice().sort((function(t,e){return w[t[0].trace.type]-w[e[0].trace.type]}));for(n=0;n<o.length;n++){var s=o[n],l=!1;(e=a[(r=s[0].trace).uid])&&(e.type===r.type?(e.update(s),l=!0):e.dispose()),!l&&r._module&&(a[r.uid]=r._module.plot(this,s))}var c=Object.keys(a);t:for(n=0;n<c.length;n++){var u=c[n];for(i=0;i<t.length;i++)if(u===(r=t[i][0].trace).uid)continue t;(e=a[u]).dispose(),delete a[u]}},_.updateLayout=function(t){var e=this.map,r=t[this.id];this.dragging||this.wheeling||(e.setCenter(A(r.center)),e.setZoom(r.zoom),e.setBearing(r.bearing),e.setPitch(r.pitch)),this.updateLayers(t),this.updateFramework(t),this.updateFx(t),this.map.resize(),this.gd._context._scrollZoom.mapbox?e.scrollZoom.enable():e.scrollZoom.disable()},_.resolveOnRender=function(t){var e=this.map;e.on("render",(function r(){e.loaded()&&(e.off("render",r),setTimeout(t,10))}))},_.rejectOnError=function(t){var e=this.map;function r(){t(new Error(y.mapOnErrorMsg))}e.once("error",r),e.once("style.error",r),e.once("source.error",r),e.once("tile.error",r),e.once("layer.error",r)},_.createFramework=function(t){var e=this,r=e.div=document.createElement("div");r.id=e.uid,r.style.position="absolute",e.container.appendChild(r),e.xaxis={_id:"x",c2p:function(t){return e.project(t).x}},e.yaxis={_id:"y",c2p:function(t){return e.project(t).y}},e.updateFramework(t),e.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(e.mockAxis,t)},_.initFx=function(t,e){var r=this,n=r.gd,i=r.map;function a(){c.loneUnhover(e._hoverlayer)}function s(){var t=r.getView();n.emit("plotly_relayouting",r.getViewEditsWithDerived(t))}i.on("moveend",(function(t){if(r.map){var e=n._fullLayout;if(t.originalEvent||r.wheeling){var i=e[r.id];o.call("_storeDirectGUIEdit",n.layout,e._preGUI,r.getViewEdits(i));var a=r.getView();i._input.center=i.center=a.center,i._input.zoom=i.zoom=a.zoom,i._input.bearing=i.bearing=a.bearing,i._input.pitch=i.pitch=a.pitch,n.emit("plotly_relayout",r.getViewEditsWithDerived(a))}t.originalEvent&&"mouseup"===t.originalEvent.type?r.dragging=!1:r.wheeling&&(r.wheeling=!1),e._rehover&&e._rehover()}})),i.on("wheel",(function(){r.wheeling=!0})),i.on("mousemove",(function(t){var e=r.div.getBoundingClientRect(),a=[t.originalEvent.offsetX,t.originalEvent.offsetY];t.target.getBoundingClientRect=function(){return e},r.xaxis.p2c=function(){return i.unproject(a).lng},r.yaxis.p2c=function(){return i.unproject(a).lat},n._fullLayout._rehover=function(){n._fullLayout._hoversubplot===r.id&&n._fullLayout[r.id]&&c.hover(n,t,r.id)},c.hover(n,t,r.id),n._fullLayout._hoversubplot=r.id})),i.on("dragstart",(function(){r.dragging=!0,a()})),i.on("zoomstart",a),i.on("mouseout",(function(){n._fullLayout._hoversubplot=null})),i.on("drag",s),i.on("zoom",s),i.on("dblclick",(function(){var t=n._fullLayout[r.id];o.call("_storeDirectGUIEdit",n.layout,n._fullLayout._preGUI,r.getViewEdits(t));var e=r.viewInitial;i.setCenter(A(e.center)),i.setZoom(e.zoom),i.setBearing(e.bearing),i.setPitch(e.pitch);var a=r.getView();t._input.center=t.center=a.center,t._input.zoom=t.zoom=a.zoom,t._input.bearing=t.bearing=a.bearing,t._input.pitch=t.pitch=a.pitch,n.emit("plotly_doubleclick",null),n.emit("plotly_relayout",r.getViewEditsWithDerived(a))})),r.clearSelect=function(){m(r.dragOptions),g(r.dragOptions.gd)},r.onClickInPanFn=function(t){return function(e){var i=n._fullLayout.clickmode;i.indexOf("select")>-1&&v(e.originalEvent,n,[r.xaxis],[r.yaxis],r.id,t),i.indexOf("event")>-1&&c.click(n,e.originalEvent)}}},_.updateFx=function(t){var e=this,r=e.map,n=e.gd;if(!e.isStatic){var a,o=t.dragmode;a=f(o)?function(t,r){(t.range={})[e.id]=[c([r.xmin,r.ymin]),c([r.xmax,r.ymax])]}:function(t,r,n){(t.lassoPoints={})[e.id]=n.filtered.map(c)};var s=e.dragOptions;e.dragOptions=i.extendDeep(s||{},{dragmode:t.dragmode,element:e.div,gd:n,plotinfo:{id:e.id,domain:t[e.id].domain,xaxis:e.xaxis,yaxis:e.yaxis,fillRangeItems:a},xaxes:[e.xaxis],yaxes:[e.yaxis],subplot:e.id}),r.off("click",e.onClickInPanHandler),p(o)||h(o)?(r.dragPan.disable(),r.on("zoomstart",e.clearSelect),e.dragOptions.prepFn=function(t,r,n){d(t,r,n,e.dragOptions,o)},l.init(e.dragOptions)):(r.dragPan.enable(),r.off("zoomstart",e.clearSelect),e.div.onmousedown=null,e.onClickInPanHandler=e.onClickInPanFn(e.dragOptions),r.on("click",e.onClickInPanHandler))}function c(t){var r=e.map.unproject(t);return[r.lng,r.lat]}},_.updateFramework=function(t){var e=t[this.id].domain,r=t._size,n=this.div.style;n.width=r.w*(e.x[1]-e.x[0])+"px",n.height=r.h*(e.y[1]-e.y[0])+"px",n.left=r.l+e.x[0]*r.w+"px",n.top=r.t+(1-e.y[1])*r.h+"px",this.xaxis._offset=r.l+e.x[0]*r.w,this.xaxis._length=r.w*(e.x[1]-e.x[0]),this.yaxis._offset=r.t+(1-e.y[1])*r.h,this.yaxis._length=r.h*(e.y[1]-e.y[0])},_.updateLayers=function(t){var e,r=t[this.id].layers,n=this.layerList;if(r.length!==n.length){for(e=0;e<n.length;e++)n[e].dispose();for(n=this.layerList=[],e=0;e<r.length;e++)n.push(x(this,e,r[e]))}else for(e=0;e<r.length;e++)n[e].update(r[e])},_.destroy=function(){this.map&&(this.map.remove(),this.map=null,this.container.removeChild(this.div))},_.toImage=function(){return this.map.stop(),this.map.getCanvas().toDataURL()},_.setOptions=function(t,e,r){for(var n in r)this.map[e](t,n,r[n])},_.getMapLayers=function(){return this.map.getStyle().layers},_.addLayer=function(t,e){var r=this.map;if("string"==typeof e){if(""===e)return void r.addLayer(t,e);for(var n=this.getMapLayers(),a=0;a<n.length;a++)if(e===n[a].id)return void r.addLayer(t,e);i.warn(["Trying to add layer with *below* value",e,"referencing a layer that does not exist","or that does not yet exist."].join(" "))}r.addLayer(t)},_.project=function(t){return this.map.project(new n.LngLat(t[0],t[1]))},_.getView=function(){var t=this.map,e=t.getCenter(),r={lon:e.lng,lat:e.lat},n=t.getCanvas(),i=parseInt(n.style.width),a=parseInt(n.style.height);return{center:r,zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch(),_derived:{coordinates:[t.unproject([0,0]).toArray(),t.unproject([i,0]).toArray(),t.unproject([i,a]).toArray(),t.unproject([0,a]).toArray()]}}},_.getViewEdits=function(t){for(var e=this.id,r=["center","zoom","bearing","pitch"],n={},i=0;i<r.length;i++){var a=r[i];n[e+"."+a]=t[a]}return n},_.getViewEditsWithDerived=function(t){var e=this.id,r=this.getViewEdits(t);return r[e+"._derived"]=t._derived,r},e.exports=b},{"../../components/dragelement":385,"../../components/dragelement/helpers":384,"../../components/fx":406,"../../lib":503,"../../lib/geo_location_utils":496,"../../registry":638,"../cartesian/axes":554,"../cartesian/select":575,"./constants":611,"./layers":614,"mapbox-gl/dist/mapbox-gl-unminified":239}],618:[function(t,e,r){"use strict";e.exports=function(t){var e=t.editType;return{t:{valType:"number",dflt:0,editType:e},r:{valType:"number",dflt:0,editType:e},b:{valType:"number",dflt:0,editType:e},l:{valType:"number",dflt:0,editType:e},editType:e}}},{}],619:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-time-format").timeFormatLocale,a=t("d3-format").formatLocale,o=t("fast-isnumeric"),s=t("../registry"),l=t("../plot_api/plot_schema"),c=t("../plot_api/plot_template"),u=t("../lib"),f=t("../components/color"),h=t("../constants/numerical").BADNUM,p=t("./cartesian/axis_ids"),d=t("./cartesian/handle_outline").clearSelect,g=t("./animation_attributes"),m=t("./frame_attributes"),v=t("../plots/get_data").getModuleCalcData,y=u.relinkPrivateKeys,x=u._,b=e.exports={};u.extendFlat(b,s),b.attributes=t("./attributes"),b.attributes.type.values=b.allTypes,b.fontAttrs=t("./font_attributes"),b.layoutAttributes=t("./layout_attributes"),b.fontWeight="normal";var _=b.transformsRegistry,w=t("./command");b.executeAPICommand=w.executeAPICommand,b.computeAPICommandBindings=w.computeAPICommandBindings,b.manageCommandObserver=w.manageCommandObserver,b.hasSimpleAPICommandBindings=w.hasSimpleAPICommandBindings,b.redrawText=function(t){return t=u.getGraphDiv(t),new Promise((function(e){setTimeout((function(){t._fullLayout&&(s.getComponentMethod("annotations","draw")(t),s.getComponentMethod("legend","draw")(t),s.getComponentMethod("colorbar","draw")(t),e(b.previousPromises(t)))}),300)}))},b.resize=function(t){var e;t=u.getGraphDiv(t);var r=new Promise((function(r,n){t&&!u.isHidden(t)||n(new Error("Resize must be passed a displayed plot div element.")),t._redrawTimer&&clearTimeout(t._redrawTimer),t._resolveResize&&(e=t._resolveResize),t._resolveResize=r,t._redrawTimer=setTimeout((function(){if(!t.layout||t.layout.width&&t.layout.height||u.isHidden(t))r(t);else{delete t.layout.width,delete t.layout.height;var e=t.changed;t.autoplay=!0,s.call("relayout",t,{autosize:!0}).then((function(){t.changed=e,t._resolveResize===r&&(delete t._resolveResize,r(t))}))}}),100)}));return e&&e(r),r},b.previousPromises=function(t){if((t._promises||[]).length)return Promise.all(t._promises).then((function(){t._promises=[]}))},b.addLinks=function(t){if(t._context.showLink||t._context.showSources){var e=t._fullLayout,r=u.ensureSingle(e._paper,"text","js-plot-link-container",(function(t){t.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:f.defaultLine,"pointer-events":"all"}).each((function(){var t=n.select(this);t.append("tspan").classed("js-link-to-tool",!0),t.append("tspan").classed("js-link-spacer",!0),t.append("tspan").classed("js-sourcelinks",!0)}))})),i=r.node(),a={y:e._paper.attr("height")-9};document.body.contains(i)&&i.getComputedTextLength()>=e.width-20?(a["text-anchor"]="start",a.x=5):(a["text-anchor"]="end",a.x=e._paper.attr("width")-7),r.attr(a);var o=r.select(".js-link-to-tool"),s=r.select(".js-link-spacer"),l=r.select(".js-sourcelinks");t._context.showSources&&t._context.showSources(t),t._context.showLink&&function(t,e){e.text("");var r=e.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(t._context.linkText+" "+String.fromCharCode(187));if(t._context.sendData)r.on("click",(function(){b.sendDataToCloud(t)}));else{var n=window.location.pathname.split("/"),i=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+i})}}(t,o),s.text(o.text()&&l.text()?" - ":"")}},b.sendDataToCloud=function(t){var e=(window.PLOTLYENV||{}).BASE_URL||t._context.plotlyServerURL;if(e){t.emit("plotly_beforeexport");var r=n.select(t).append("div").attr("id","hiddenform").style("display","none"),i=r.append("form").attr({action:e+"/external",method:"post",target:"_blank"});return i.append("input").attr({type:"text",name:"data"}).node().value=b.graphJson(t,!1,"keepdata"),i.node().submit(),r.remove(),t.emit("plotly_afterexport"),!1}};var T=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function A(t,e){var r=t._context.locale;r||(r="en-US");var n=!1,i={};function a(t){for(var r=!0,a=0;a<e.length;a++){var o=e[a];i[o]||(t[o]?i[o]=t[o]:r=!1)}r&&(n=!0)}for(var o=0;o<2;o++){for(var l=t._context.locales,c=0;c<2;c++){var u=(l[r]||{}).format;if(u&&(a(u),n))break;l=s.localeRegistry}var f=r.split("-")[0];if(n||f===r)break;r=f}return n||a(s.localeRegistry.en.format),i}function M(t,e){var r={_fullLayout:e},n="x"===t._id.charAt(0),i=t._mainAxis._anchorAxis,a="",o="",s="";if(i&&(s=i._mainAxis._id,a=n?t._id+s:s+t._id),!a||!e._plots[a]){a="";for(var l=t._counterAxes,c=0;c<l.length;c++){var u=l[c],f=n?t._id+u:u+t._id;o||(o=f);var h=p.getFromId(r,u);if(s&&h.overlaying===s){a=f;break}}}return a||o}function S(t){var e=t.transforms;if(Array.isArray(e)&&e.length)for(var r=0;r<e.length;r++){var n=e[r],i=n._module||_[n.type];if(i&&i.makesData)return!0}return!1}function E(t,e,r,n){for(var i=t.transforms,a=[t],o=0;o<i.length;o++){var s=i[o],l=_[s.type];l&&l.transform&&(a=l.transform(a,{transform:s,fullTrace:t,fullData:e,layout:r,fullLayout:n,transformIndex:o}))}return a}function L(t){return"string"==typeof t&&"px"===t.substr(t.length-2)&&parseFloat(t)}function C(t){var e=t.margin;if(!t._size){var r=t._size={l:Math.round(e.l),r:Math.round(e.r),t:Math.round(e.t),b:Math.round(e.b),p:Math.round(e.pad)};r.w=Math.round(t.width)-r.l-r.r,r.h=Math.round(t.height)-r.t-r.b}t._pushmargin||(t._pushmargin={}),t._pushmarginIds||(t._pushmarginIds={})}b.supplyDefaults=function(t,e){var r=e&&e.skipUpdateCalc,n=t._fullLayout||{};if(n._skipDefaults)delete n._skipDefaults;else{var o,l=t._fullLayout={},c=t.layout||{},f=t._fullData||[],h=t._fullData=[],p=t.data||[],g=t.calcdata||[],m=t._context||{};t._transitionData||b.createTransitionData(t),l._dfltTitle={plot:x(t,"Click to enter Plot title"),x:x(t,"Click to enter X axis title"),y:x(t,"Click to enter Y axis title"),colorbar:x(t,"Click to enter Colorscale title"),annotation:x(t,"new text")},l._traceWord=x(t,"trace");var v=A(t,T);if(l._mapboxAccessToken=m.mapboxAccessToken,n._initialAutoSizeIsDone){var _=n.width,w=n.height;b.supplyLayoutGlobalDefaults(c,l,v),c.width||(l.width=_),c.height||(l.height=w),b.sanitizeMargins(l)}else{b.supplyLayoutGlobalDefaults(c,l,v);var M=!c.width||!c.height,S=l.autosize,E=m.autosizable;M&&(S||E)?b.plotAutoSize(t,c,l):M&&b.sanitizeMargins(l),!S&&M&&(c.width=l.width,c.height=l.height)}l._d3locale=function(t,e){return t.decimal=e.charAt(0),t.thousands=e.charAt(1),{numberFormat:function(e){try{e=a(t).format(u.adjustFormat(e))}catch(t){return u.warnBadFormat(e),u.noFormat}return e},timeFormat:i(t).utcFormat}}(v,l.separators),l._extraFormat=A(t,k),l._initialAutoSizeIsDone=!0,l._dataLength=p.length,l._modules=[],l._visibleModules=[],l._basePlotModules=[];var L=l._subplots=function(){var t,e,r=s.collectableSubplotTypes,n={};if(!r){r=[];var i=s.subplotsRegistry;for(var a in i){var o=i[a].attr;if(o&&(r.push(a),Array.isArray(o)))for(e=0;e<o.length;e++)u.pushUnique(r,o[e])}}for(t=0;t<r.length;t++)n[r[t]]=[];return n}(),P=l._splomAxes={x:{},y:{}},I=l._splomSubplots={};l._splomGridDflt={},l._scatterStackOpts={},l._firstScatter={},l._alignmentOpts={},l._colorAxes={},l._requestRangeslider={},l._traceUids=function(t,e){var r,n,i=e.length,a=[];for(r=0;r<t.length;r++){var o=t[r]._fullInput;o!==n&&a.push(o),n=o}var s=a.length,l=new Array(i),c={};function f(t,e){l[e]=t,c[t]=1}function h(t,e){if(t&&"string"==typeof t&&!c[t])return f(t,e),!0}for(r=0;r<i;r++){var p=e[r].uid;"number"==typeof p&&(p=String(p)),h(p,r)||(r<s&&h(a[r].uid,r)||f(u.randstr(c),r))}return l}(f,p),l._globalTransforms=(t._context||{}).globalTransforms,b.supplyDataDefaults(p,h,c,l);var O=Object.keys(P.x),z=Object.keys(P.y);if(O.length>1&&z.length>1){for(s.getComponentMethod("grid","sizeDefaults")(c,l),o=0;o<O.length;o++)u.pushUnique(L.xaxis,O[o]);for(o=0;o<z.length;o++)u.pushUnique(L.yaxis,z[o]);for(var D in I)u.pushUnique(L.cartesian,D)}if(l._has=b._hasPlotType.bind(l),f.length===h.length)for(o=0;o<h.length;o++)y(h[o],f[o]);b.supplyLayoutModuleDefaults(c,l,h,t._transitionData);var R=l._visibleModules,F=[];for(o=0;o<R.length;o++){var B=R[o].crossTraceDefaults;B&&u.pushUnique(F,B)}for(o=0;o<F.length;o++)F[o](h,l);l._hasOnlyLargeSploms=1===l._basePlotModules.length&&"splom"===l._basePlotModules[0].name&&O.length>15&&z.length>15&&0===l.shapes.length&&0===l.images.length,b.linkSubplots(h,l,f,n),b.cleanPlot(h,l,f,n);var N=!(!n._has||!n._has("gl2d")),j=!(!l._has||!l._has("gl2d")),U=!(!n._has||!n._has("cartesian"))||N,V=!(!l._has||!l._has("cartesian"))||j;U&&!V?n._bgLayer.remove():V&&!U&&(l._shouldCreateBgLayer=!0),n._zoomlayer&&!t._dragging&&d({_fullLayout:n}),function(t,e){var r,n=[];e.meta&&(r=e._meta={meta:e.meta,layout:{meta:e.meta}});for(var i=0;i<t.length;i++){var a=t[i];a.meta?n[a.index]=a._meta={meta:a.meta}:e.meta&&(a._meta={meta:e.meta}),e.meta&&(a._meta.layout={meta:e.meta})}n.length&&(r||(r=e._meta={}),r.data=n)}(h,l),y(l,n),s.getComponentMethod("colorscale","crossTraceDefaults")(h,l),l._preGUI||(l._preGUI={}),l._tracePreGUI||(l._tracePreGUI={});var H,q=l._tracePreGUI,G={};for(H in q)G[H]="old";for(o=0;o<h.length;o++)G[H=h[o]._fullInput.uid]||(q[H]={}),G[H]="new";for(H in G)"old"===G[H]&&delete q[H];C(l),s.getComponentMethod("rangeslider","makeData")(l),r||g.length!==h.length||b.supplyDefaultsUpdateCalc(g,h)}},b.supplyDefaultsUpdateCalc=function(t,e){for(var r=0;r<e.length;r++){var n=e[r],i=(t[r]||[])[0];if(i&&i.trace){var a=i.trace;if(a._hasCalcTransform){var o,s,l,c=a._arrayAttrs;for(o=0;o<c.length;o++)s=c[o],l=u.nestedProperty(a,s).get().slice(),u.nestedProperty(n,s).set(l)}i.trace=n}}},b.createTransitionData=function(t){t._transitionData||(t._transitionData={}),t._transitionData._frames||(t._transitionData._frames=[]),t._transitionData._frameHash||(t._transitionData._frameHash={}),t._transitionData._counter||(t._transitionData._counter=0),t._transitionData._interruptCallbacks||(t._transitionData._interruptCallbacks=[])},b._hasPlotType=function(t){var e,r=this._basePlotModules||[];for(e=0;e<r.length;e++)if(r[e].name===t)return!0;var n=this._modules||[];for(e=0;e<n.length;e++){var i=n[e].name;if(i===t)return!0;var a=s.modules[i];if(a&&a.categories[t])return!0}return!1},b.cleanPlot=function(t,e,r,n){var i,a,o=n._basePlotModules||[];for(i=0;i<o.length;i++){var s=o[i];s.clean&&s.clean(t,e,r,n)}var l=n._has&&n._has("gl"),c=e._has&&e._has("gl");l&&!c&&void 0!==n._glcontainer&&(n._glcontainer.selectAll(".gl-canvas").remove(),n._glcontainer.selectAll(".no-webgl").remove(),n._glcanvas=null);var u=!!n._infolayer;t:for(i=0;i<r.length;i++){var f=r[i].uid;for(a=0;a<t.length;a++){if(f===t[a].uid)continue t}u&&n._infolayer.select(".cb"+f).remove()}},b.linkSubplots=function(t,e,r,n){var i,a,o=n._plots||{},l=e._plots={},c=e._subplots,f={_fullData:t,_fullLayout:e},h=c.cartesian.concat(c.gl2d||[]);for(i=0;i<h.length;i++){var d,g=h[i],m=o[g],v=p.getFromId(f,g,"x"),y=p.getFromId(f,g,"y");for(m?d=l[g]=m:(d=l[g]={}).id=g,v._counterAxes.push(y._id),y._counterAxes.push(v._id),v._subplotsWith.push(g),y._subplotsWith.push(g),d.xaxis=v,d.yaxis=y,d._hasClipOnAxisFalse=!1,a=0;a<t.length;a++){var x=t[a];if(x.xaxis===d.xaxis._id&&x.yaxis===d.yaxis._id&&!1===x.cliponaxis){d._hasClipOnAxisFalse=!0;break}}}var b,_=p.list(f,null,!0);for(i=0;i<_.length;i++){var w=null;(b=_[i]).overlaying&&(w=p.getFromId(f,b.overlaying))&&w.overlaying&&(b.overlaying=!1,w=null),b._mainAxis=w||b,w&&(b.domain=w.domain.slice()),b._anchorAxis="free"===b.anchor?null:p.getFromId(f,b.anchor)}for(i=0;i<_.length;i++)if((b=_[i])._counterAxes.sort(p.idSort),b._subplotsWith.sort(u.subplotSort),b._mainSubplot=M(b,e),b._counterAxes.length&&(b.spikemode&&-1!==b.spikemode.indexOf("across")||b.automargin&&b.mirror&&"free"!==b.anchor||s.getComponentMethod("rangeslider","isVisible")(b))){var T=1,k=0;for(a=0;a<b._counterAxes.length;a++){var A=p.getFromId(f,b._counterAxes[a]);T=Math.min(T,A.domain[0]),k=Math.max(k,A.domain[1])}T<k&&(b._counterDomainMin=T,b._counterDomainMax=k)}},b.clearExpandedTraceDefaultColors=function(t){var e,r,n;for(r=[],(e=t._module._colorAttrs)||(t._module._colorAttrs=e=[],l.crawl(t._module.attributes,(function(t,n,i,a){r[a]=n,r.length=a+1,"color"===t.valType&&void 0===t.dflt&&e.push(r.join("."))}))),n=0;n<e.length;n++){u.nestedProperty(t,"_input."+e[n]).get()||u.nestedProperty(t,e[n]).set(null)}},b.supplyDataDefaults=function(t,e,r,n){var i,a,o,l=n._modules,f=n._visibleModules,h=n._basePlotModules,p=0,d=0;function g(t){e.push(t);var r=t._module;r&&(u.pushUnique(l,r),!0===t.visible&&u.pushUnique(f,r),u.pushUnique(h,t._module.basePlotModule),p++,!1!==t._input.visible&&d++)}n._transformModules=[];var m={},v=[],x=(r.template||{}).data||{},_=c.traceTemplater(x);for(i=0;i<t.length;i++){if(o=t[i],(a=_.newTrace(o)).uid=n._traceUids[i],b.supplyTraceDefaults(o,a,d,n,i),a.index=i,a._input=o,a._expandedIndex=p,a.transforms&&a.transforms.length)for(var w=!1!==o.visible&&!1===a.visible,T=E(a,e,r,n),k=0;k<T.length;k++){var A=T[k],M={_template:a._template,type:a.type,uid:a.uid+k};w&&!1===A.visible&&delete A.visible,b.supplyTraceDefaults(A,M,p,n,i),y(M,A),M.index=i,M._input=o,M._fullInput=a,M._expandedIndex=p,M._expandedInput=A,g(M)}else a._fullInput=a,a._expandedInput=a,g(a);s.traceIs(a,"carpetAxis")&&(m[a.carpet]=a),s.traceIs(a,"carpetDependent")&&v.push(i)}for(i=0;i<v.length;i++)if((a=e[v[i]]).visible){var S=m[a.carpet];a._carpet=S,S&&S.visible?(a.xaxis=S.xaxis,a.yaxis=S.yaxis):a.visible=!1}},b.supplyAnimationDefaults=function(t){var e;t=t||{};var r={};function n(e,n){return u.coerce(t||{},r,g,e,n)}if(n("mode"),n("direction"),n("fromcurrent"),Array.isArray(t.frame))for(r.frame=[],e=0;e<t.frame.length;e++)r.frame[e]=b.supplyAnimationFrameDefaults(t.frame[e]||{});else r.frame=b.supplyAnimationFrameDefaults(t.frame||{});if(Array.isArray(t.transition))for(r.transition=[],e=0;e<t.transition.length;e++)r.transition[e]=b.supplyAnimationTransitionDefaults(t.transition[e]||{});else r.transition=b.supplyAnimationTransitionDefaults(t.transition||{});return r},b.supplyAnimationFrameDefaults=function(t){var e={};function r(r,n){return u.coerce(t||{},e,g.frame,r,n)}return r("duration"),r("redraw"),e},b.supplyAnimationTransitionDefaults=function(t){var e={};function r(r,n){return u.coerce(t||{},e,g.transition,r,n)}return r("duration"),r("easing"),e},b.supplyFrameDefaults=function(t){var e={};function r(r,n){return u.coerce(t,e,m,r,n)}return r("group"),r("name"),r("traces"),r("baseframe"),r("data"),r("layout"),e},b.supplyTraceDefaults=function(t,e,r,n,i){var a,o=n.colorway||f.defaults,l=o[r%o.length];function c(r,n){return u.coerce(t,e,b.attributes,r,n)}var h=c("visible");c("type"),c("name",n._traceWord+" "+i),c("uirevision",n.uirevision);var p=b.getModule(e);if(e._module=p,p){var d=p.basePlotModule,g=d.attr,m=d.attributes;if(g&&m){var v=n._subplots,y="";if(h||"gl2d"!==d.name){if(Array.isArray(g))for(a=0;a<g.length;a++){var x=g[a],_=u.coerce(t,e,m,x);v[x]&&u.pushUnique(v[x],_),y+=_}else y=u.coerce(t,e,m,g);v[d.name]&&u.pushUnique(v[d.name],y)}}}return h&&(c("customdata"),c("ids"),c("meta"),s.traceIs(e,"showLegend")?(u.coerce(t,e,p.attributes.showlegend?p.attributes:b.attributes,"showlegend"),c("legendgroup"),c("legendgrouptitle.text"),c("legendrank"),e._dfltShowLegend=!0):e._dfltShowLegend=!1,p&&p.supplyDefaults(t,e,l,n),s.traceIs(e,"noOpacity")||c("opacity"),s.traceIs(e,"notLegendIsolatable")&&(e.visible=!!e.visible),s.traceIs(e,"noHover")||(e.hovertemplate||u.coerceHoverinfo(t,e,n),"parcats"!==e.type&&s.getComponentMethod("fx","supplyDefaults")(t,e,l,n)),p&&p.selectPoints&&c("selectedpoints"),b.supplyTransformDefaults(t,e,n)),e},b.hasMakesDataTransform=S,b.supplyTransformDefaults=function(t,e,r){if(e._length||S(t)){var n=r._globalTransforms||[],i=r._transformModules||[];if(Array.isArray(t.transforms)||0!==n.length)for(var a=t.transforms||[],o=n.concat(a),s=e.transforms=[],l=0;l<o.length;l++){var c,f=o[l],h=f.type,p=_[h],d=!(f._module&&f._module===p),g=p&&"function"==typeof p.transform;p||u.warn("Unrecognized transform type "+h+"."),p&&p.supplyDefaults&&(d||g)?((c=p.supplyDefaults(f,e,r,t)).type=h,c._module=p,u.pushUnique(i,p)):c=u.extendFlat({},f),s.push(c)}}},b.supplyLayoutGlobalDefaults=function(t,e,r){function n(r,n){return u.coerce(t,e,b.layoutAttributes,r,n)}var i=t.template;u.isPlainObject(i)&&(e.template=i,e._template=i.layout,e._dataTemplate=i.data),n("autotypenumbers");var a=u.coerceFont(n,"font"),o=a.size;u.coerceFont(n,"title.font",u.extendFlat({},a,{size:Math.round(1.4*o)})),n("title.text",e._dfltTitle.plot),n("title.xref"),n("title.yref"),n("title.x"),n("title.y"),n("title.xanchor"),n("title.yanchor"),n("title.pad.t"),n("title.pad.r"),n("title.pad.b"),n("title.pad.l"),n("uniformtext.mode")&&n("uniformtext.minsize"),n("autosize",!(t.width&&t.height)),n("width"),n("height"),n("margin.l"),n("margin.r"),n("margin.t"),n("margin.b"),n("margin.pad"),n("margin.autoexpand"),t.width&&t.height&&b.sanitizeMargins(e),s.getComponentMethod("grid","sizeDefaults")(t,e),n("paper_bgcolor"),n("separators",r.decimal+r.thousands),n("hidesources"),n("colorway"),n("datarevision");var l=n("uirevision");n("editrevision",l),n("selectionrevision",l),s.getComponentMethod("modebar","supplyLayoutDefaults")(t,e),s.getComponentMethod("shapes","supplyDrawNewShapeDefaults")(t,e,n),n("meta"),u.isPlainObject(t.transition)&&(n("transition.duration"),n("transition.easing"),n("transition.ordering")),s.getComponentMethod("calendars","handleDefaults")(t,e,"calendar"),s.getComponentMethod("fx","supplyLayoutGlobalDefaults")(t,e,n)},b.plotAutoSize=function(t,e,r){var n,i,a=t._context||{},s=a.frameMargins,l=u.isPlotDiv(t);if(l&&t.emit("plotly_autosize"),a.fillFrame)n=window.innerWidth,i=window.innerHeight,document.body.style.overflow="hidden";else{var c=l?window.getComputedStyle(t):{};if(n=L(c.width)||L(c.maxWidth)||r.width,i=L(c.height)||L(c.maxHeight)||r.height,o(s)&&s>0){var f=1-2*s;n=Math.round(f*n),i=Math.round(f*i)}}var h=b.layoutAttributes.width.min,p=b.layoutAttributes.height.min;n<h&&(n=h),i<p&&(i=p);var d=!e.width&&Math.abs(r.width-n)>1,g=!e.height&&Math.abs(r.height-i)>1;(g||d)&&(d&&(r.width=n),g&&(r.height=i)),t._initialAutoSize||(t._initialAutoSize={width:n,height:i}),b.sanitizeMargins(r)},b.supplyLayoutModuleDefaults=function(t,e,r,n){var i,a,o,l=s.componentsRegistry,c=e._basePlotModules,f=s.subplotsRegistry.cartesian;for(i in l)(o=l[i]).includeBasePlot&&o.includeBasePlot(t,e);for(var h in c.length||c.push(f),e._has("cartesian")&&(s.getComponentMethod("grid","contentDefaults")(t,e),f.finalizeSubplots(t,e)),e._subplots)e._subplots[h].sort(u.subplotSort);for(a=0;a<c.length;a++)(o=c[a]).supplyLayoutDefaults&&o.supplyLayoutDefaults(t,e,r);var p=e._modules;for(a=0;a<p.length;a++)(o=p[a]).supplyLayoutDefaults&&o.supplyLayoutDefaults(t,e,r);var d=e._transformModules;for(a=0;a<d.length;a++)(o=d[a]).supplyLayoutDefaults&&o.supplyLayoutDefaults(t,e,r,n);for(i in l)(o=l[i]).supplyLayoutDefaults&&o.supplyLayoutDefaults(t,e,r)},b.purge=function(t){var e=t._fullLayout||{};void 0!==e._glcontainer&&(e._glcontainer.selectAll(".gl-canvas").remove(),e._glcontainer.remove(),e._glcanvas=null),e._modeBar&&e._modeBar.destroy(),t._transitionData&&(t._transitionData._interruptCallbacks&&(t._transitionData._interruptCallbacks.length=0),t._transitionData._animationRaf&&window.cancelAnimationFrame(t._transitionData._animationRaf)),u.clearThrottle(),u.clearResponsive(t),delete t.data,delete t.layout,delete t._fullData,delete t._fullLayout,delete t.calcdata,delete t.empty,delete t.fid,delete t.undoqueue,delete t.undonum,delete t.autoplay,delete t.changed,delete t._promises,delete t._redrawTimer,delete t._hmlumcount,delete t._hmpixcount,delete t._transitionData,delete t._transitioning,delete t._initialAutoSize,delete t._transitioningWithDuration,delete t._dragging,delete t._dragged,delete t._dragdata,delete t._hoverdata,delete t._snapshotInProgress,delete t._editing,delete t._mouseDownTime,delete t._legendMouseDownTime,t.removeAllListeners&&t.removeAllListeners()},b.style=function(t){var e,r=t._fullLayout._visibleModules,n=[];for(e=0;e<r.length;e++){var i=r[e];i.style&&u.pushUnique(n,i.style)}for(e=0;e<n.length;e++)n[e](t)},b.sanitizeMargins=function(t){if(t&&t.margin){var e,r=t.width,n=t.height,i=t.margin,a=r-(i.l+i.r),o=n-(i.t+i.b);a<0&&(e=(r-1)/(i.l+i.r),i.l=Math.floor(e*i.l),i.r=Math.floor(e*i.r)),o<0&&(e=(n-1)/(i.t+i.b),i.t=Math.floor(e*i.t),i.b=Math.floor(e*i.b))}},b.clearAutoMarginIds=function(t){t._fullLayout._pushmarginIds={}},b.allowAutoMargin=function(t,e){t._fullLayout._pushmarginIds[e]=1};b.autoMargin=function(t,e,r){var n=t._fullLayout,i=n.width,a=n.height,o=n.margin,s=u.constrain(i-o.l-o.r,2,64),l=u.constrain(a-o.t-o.b,2,64),c=Math.max(0,i-s),f=Math.max(0,a-l),h=n._pushmargin,p=n._pushmarginIds;if(!1!==o.autoexpand){if(r){var d=r.pad;if(void 0===d&&(d=Math.min(12,o.l,o.r,o.t,o.b)),c){var g=(r.l+r.r)/c;g>1&&(r.l/=g,r.r/=g)}if(f){var m=(r.t+r.b)/f;m>1&&(r.t/=m,r.b/=m)}var v=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,x=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;h[e]={l:{val:v,size:r.l+d},r:{val:y,size:r.r+d},b:{val:_,size:r.b+d},t:{val:x,size:r.t+d}},p[e]=1}else delete h[e],delete p[e];if(!n._replotting)return b.doAutoMargin(t)}},b.doAutoMargin=function(t){var e=t._fullLayout,r=e.width,n=e.height;e._size||(e._size={}),C(e);var i=e._size,a=e.margin,l=u.extendFlat({},i),c=a.l,f=a.r,h=a.t,d=a.b,g=e._pushmargin,m=e._pushmarginIds;if(!1!==e.margin.autoexpand){for(var v in g)m[v]||delete g[v];for(var y in g.base={l:{val:0,size:c},r:{val:1,size:f},t:{val:1,size:h},b:{val:0,size:d}},g){var x=g[y].l||{},_=g[y].b||{},w=x.val,T=x.size,k=_.val,A=_.size;for(var M in g){if(o(T)&&g[M].r){var S=g[M].r.val,E=g[M].r.size;if(S>w){var L=(T*S+(E-r)*w)/(S-w),P=(E*(1-w)+(T-r)*(1-S))/(S-w);L+P>c+f&&(c=L,f=P)}}if(o(A)&&g[M].t){var I=g[M].t.val,O=g[M].t.size;if(I>k){var z=(A*I+(O-n)*k)/(I-k),D=(O*(1-k)+(A-n)*(1-I))/(I-k);z+D>d+h&&(d=z,h=D)}}}}}var R=u.constrain(r-a.l-a.r,2,64),F=u.constrain(n-a.t-a.b,2,64),B=Math.max(0,r-R),N=Math.max(0,n-F);if(B){var j=(c+f)/B;j>1&&(c/=j,f/=j)}if(N){var U=(d+h)/N;U>1&&(d/=U,h/=U)}if(i.l=Math.round(c),i.r=Math.round(f),i.t=Math.round(h),i.b=Math.round(d),i.p=Math.round(a.pad),i.w=Math.round(r)-i.l-i.r,i.h=Math.round(n)-i.t-i.b,!e._replotting&&b.didMarginChange(l,i)){"_redrawFromAutoMarginCount"in e?e._redrawFromAutoMarginCount++:e._redrawFromAutoMarginCount=1;var V=3*(1+Object.keys(m).length);if(e._redrawFromAutoMarginCount<V)return s.call("_doPlot",t);e._size=l,u.warn("Too many auto-margin redraws.")}!function(t){var e=p.list(t,"",!0);["_adjustTickLabelsOverflow","_hideCounterAxisInsideTickLabels"].forEach((function(t){for(var r=0;r<e.length;r++){var n=e[r][t];n&&n()}}))}(t)};var P=["l","r","t","b","p","w","h"];function I(t,e,r){var n=!1;var i=[b.previousPromises,function(){if(t._transitionData)return t._transitioning=!1,function(t){var e=Promise.resolve();if(!t)return e;for(;t.length;)e=e.then(t.shift());return e}(t._transitionData._interruptCallbacks)},r.prepareFn,b.rehover,function(){return t.emit("plotly_transitioning",[]),new Promise((function(i){t._transitioning=!0,e.duration>0&&(t._transitioningWithDuration=!0),t._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&t._transitionData._interruptCallbacks.push((function(){return s.call("redraw",t)})),t._transitionData._interruptCallbacks.push((function(){t.emit("plotly_transitioninterrupted",[])}));var a=0,o=0;function l(){return a++,function(){o++,n||o!==a||function(e){if(!t._transitionData)return;(function(t){if(t)for(;t.length;)t.shift()})(t._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return s.call("redraw",t)})).then((function(){t._transitioning=!1,t._transitioningWithDuration=!1,t.emit("plotly_transitioned",[])})).then(e)}(i)}}r.runFn(l),setTimeout(l())}))}],a=u.syncOrAsync(i,t);return a&&a.then||(a=Promise.resolve()),a.then((function(){return t}))}b.didMarginChange=function(t,e){for(var r=0;r<P.length;r++){var n=P[r],i=t[n],a=e[n];if(!o(i)||Math.abs(a-i)>1)return!0}return!1},b.graphJson=function(t,e,r,n,i,a){(i&&e&&!t._fullData||i&&!e&&!t._fullLayout)&&b.supplyDefaults(t);var o=i?t._fullData:t.data,s=i?t._fullLayout:t.layout,l=(t._transitionData||{})._frames;function c(t,e){if("function"==typeof t)return e?"_function_":null;if(u.isPlainObject(t)){var n,i={};return Object.keys(t).sort().forEach((function(a){if(-1===["_","["].indexOf(a.charAt(0)))if("function"!=typeof t[a]){if("keepdata"===r){if("src"===a.substr(a.length-3))return}else if("keepstream"===r){if("string"==typeof(n=t[a+"src"])&&n.indexOf(":")>0&&!u.isPlainObject(t.stream))return}else if("keepall"!==r&&"string"==typeof(n=t[a+"src"])&&n.indexOf(":")>0)return;i[a]=c(t[a],e)}else e&&(i[a]="_function")})),i}return Array.isArray(t)?t.map((function(t){return c(t,e)})):u.isTypedArray(t)?u.simpleMap(t,u.identity):u.isJSDate(t)?u.ms2DateTimeLocal(+t):t}var f={data:(o||[]).map((function(t){var r=c(t);return e&&delete r.fit,r}))};if(!e&&(f.layout=c(s),i)){var h=s._size;f.layout.computed={margin:{b:h.b,l:h.l,r:h.r,t:h.t}}}return l&&(f.frames=c(l)),a&&(f.config=c(t._context,!0)),"object"===n?f:JSON.stringify(f)},b.modifyFrames=function(t,e){var r,n,i,a=t._transitionData._frames,o=t._transitionData._frameHash;for(r=0;r<e.length;r++)switch((n=e[r]).type){case"replace":i=n.value;var s=(a[n.index]||{}).name,l=i.name;a[n.index]=o[l]=i,l!==s&&(delete o[s],o[l]=i);break;case"insert":o[(i=n.value).name]=i,a.splice(n.index,0,i);break;case"delete":delete o[(i=a[n.index]).name],a.splice(n.index,1)}return Promise.resolve()},b.computeFrame=function(t,e){var r,n,i,a,o=t._transitionData._frameHash;if(!e)throw new Error("computeFrame must be given a string frame name");var s=o[e.toString()];if(!s)return!1;for(var l=[s],c=[s.name];s.baseframe&&(s=o[s.baseframe.toString()])&&-1===c.indexOf(s.name);)l.push(s),c.push(s.name);for(var u={};s=l.pop();)if(s.layout&&(u.layout=b.extendLayout(u.layout,s.layout)),s.data){if(u.data||(u.data=[]),!(n=s.traces))for(n=[],r=0;r<s.data.length;r++)n[r]=r;for(u.traces||(u.traces=[]),r=0;r<s.data.length;r++)null!=(i=n[r])&&(-1===(a=u.traces.indexOf(i))&&(a=u.data.length,u.traces[a]=i),u.data[a]=b.extendTrace(u.data[a],s.data[r]))}return u},b.recomputeFrameHash=function(t){for(var e=t._transitionData._frameHash={},r=t._transitionData._frames,n=0;n<r.length;n++){var i=r[n];i&&i.name&&(e[i.name]=i)}},b.extendObjectWithContainers=function(t,e,r){var n,i,a,o,s,l,c,f=u.extendDeepNoArrays({},e||{}),h=u.expandObjectPaths(f),p={};if(r&&r.length)for(a=0;a<r.length;a++)void 0===(i=(n=u.nestedProperty(h,r[a])).get())?u.nestedProperty(p,r[a]).set(null):(n.set(null),u.nestedProperty(p,r[a]).set(i));if(t=u.extendDeepNoArrays(t||{},h),r&&r.length)for(a=0;a<r.length;a++)if(l=u.nestedProperty(p,r[a]).get()){for(c=(s=u.nestedProperty(t,r[a])).get(),Array.isArray(c)||(c=[],s.set(c)),o=0;o<l.length;o++){var d=l[o];c[o]=null===d?null:b.extendObjectWithContainers(c[o],d)}s.set(c)}return t},b.dataArrayContainers=["transforms","dimensions"],b.layoutArrayContainers=s.layoutArrayContainers,b.extendTrace=function(t,e){return b.extendObjectWithContainers(t,e,b.dataArrayContainers)},b.extendLayout=function(t,e){return b.extendObjectWithContainers(t,e,b.layoutArrayContainers)},b.transition=function(t,e,r,n,i,a){var o={redraw:i.redraw},s={},l=[];return o.prepareFn=function(){for(var i=Array.isArray(e)?e.length:0,a=n.slice(0,i),o=0;o<a.length;o++){var c=a[o],f=t._fullData[c]._module;if(f){if(f.animatable){var h=f.basePlotModule.name;s[h]||(s[h]=[]),s[h].push(c)}t.data[a[o]]=b.extendTrace(t.data[a[o]],e[o])}}var p=u.expandObjectPaths(u.extendDeepNoArrays({},r)),d=/^[xy]axis[0-9]*$/;for(var g in p)d.test(g)&&delete p[g].range;b.extendLayout(t.layout,p),delete t.calcdata,b.supplyDefaults(t),b.doCalcdata(t);var m=u.expandObjectPaths(r);if(m){var v=t._fullLayout._plots;for(var y in v){var x=v[y],_=x.xaxis,w=x.yaxis,T=_.range.slice(),k=w.range.slice(),A=null,M=null,S=null,E=null;Array.isArray(m[_._name+".range"])?A=m[_._name+".range"].slice():Array.isArray((m[_._name]||{}).range)&&(A=m[_._name].range.slice()),Array.isArray(m[w._name+".range"])?M=m[w._name+".range"].slice():Array.isArray((m[w._name]||{}).range)&&(M=m[w._name].range.slice()),T&&A&&(_.r2l(T[0])!==_.r2l(A[0])||_.r2l(T[1])!==_.r2l(A[1]))&&(S={xr0:T,xr1:A}),k&&M&&(w.r2l(k[0])!==w.r2l(M[0])||w.r2l(k[1])!==w.r2l(M[1]))&&(E={yr0:k,yr1:M}),(S||E)&&l.push(u.extendFlat({plotinfo:x},S,E))}}return Promise.resolve()},o.runFn=function(e){var n,i,o=t._fullLayout._basePlotModules,c=l.length;if(r)for(i=0;i<o.length;i++)o[i].transitionAxes&&o[i].transitionAxes(t,l,a,e);for(var f in c?((n=u.extendFlat({},a)).duration=0,delete s.cartesian):n=a,s){var h=s[f];t._fullData[h[0]]._module.basePlotModule.plot(t,h,n,e)}},I(t,a,o)},b.transitionFromReact=function(t,e,r,n){var i=t._fullLayout,a=i.transition,o={},s=[];return o.prepareFn=function(){var t=i._plots;for(var a in o.redraw=!1,"some"===e.anim&&(o.redraw=!0),"some"===r.anim&&(o.redraw=!0),t){var l=t[a],c=l.xaxis,f=l.yaxis,h=n[c._name].range.slice(),p=n[f._name].range.slice(),d=c.range.slice(),g=f.range.slice();c.setScale(),f.setScale();var m=null,v=null;c.r2l(h[0])===c.r2l(d[0])&&c.r2l(h[1])===c.r2l(d[1])||(m={xr0:h,xr1:d}),f.r2l(p[0])===f.r2l(g[0])&&f.r2l(p[1])===f.r2l(g[1])||(v={yr0:p,yr1:g}),(m||v)&&s.push(u.extendFlat({plotinfo:l},m,v))}return Promise.resolve()},o.runFn=function(r){for(var n,i,o,l=t._fullData,c=t._fullLayout._basePlotModules,f=[],h=0;h<l.length;h++)f.push(h);function p(){if(t._fullLayout)for(var e=0;e<c.length;e++)c[e].transitionAxes&&c[e].transitionAxes(t,s,n,r)}function d(){if(t._fullLayout)for(var e=0;e<c.length;e++)c[e].plot(t,o,i,r)}s.length&&e.anim?"traces first"===a.ordering?(n=u.extendFlat({},a,{duration:0}),o=f,i=a,setTimeout(p,a.duration),d()):(n=a,o=null,i=u.extendFlat({},a,{duration:0}),setTimeout(d,n.duration),p()):s.length?(n=a,p()):e.anim&&(o=f,i=a,d())},I(t,a,o)},b.doCalcdata=function(t,e){var r,n,i,a,o=p.list(t),c=t._fullData,f=t._fullLayout,d=new Array(c.length),g=(t.calcdata||[]).slice();for(t.calcdata=d,f._numBoxes=0,f._numViolins=0,f._violinScaleGroupStats={},t._hmpixcount=0,t._hmlumcount=0,f._piecolormap={},f._sunburstcolormap={},f._treemapcolormap={},f._iciclecolormap={},f._funnelareacolormap={},i=0;i<c.length;i++)Array.isArray(e)&&-1===e.indexOf(i)&&(d[i]=g[i]);for(i=0;i<c.length;i++)(r=c[i])._arrayAttrs=l.findArrayAttributes(r),r._extremes={};var m=f._subplots.polar||[];for(i=0;i<m.length;i++)o.push(f[m[i]].radialaxis,f[m[i]].angularaxis);for(var v in f._colorAxes){var y=f[v];!1!==y.cauto&&(delete y.cmin,delete y.cmax)}var x=!1;function b(e){if(r=c[e],n=r._module,!0===r.visible&&r.transforms){if(n&&n.calc){var i=n.calc(t,r);i[0]&&i[0].t&&i[0].t._scene&&delete i[0].t._scene.dirty}for(a=0;a<r.transforms.length;a++){var o=r.transforms[a];(n=_[o.type])&&n.calcTransform&&(r._hasCalcTransform=!0,x=!0,n.calcTransform(t,r,o))}}}function w(e,i){if(r=c[e],!!(n=r._module).isContainer===i){var o=[];if(!0===r.visible&&0!==r._length){delete r._indexToPoints;var s=r.transforms||[];for(a=s.length-1;a>=0;a--)if(s[a].enabled){r._indexToPoints=s[a]._indexToPoints;break}n&&n.calc&&(o=n.calc(t,r))}Array.isArray(o)&&o[0]||(o=[{x:h,y:h}]),o[0].t||(o[0].t={}),o[0].trace=r,d[e]=o}}for(z(o,c,f),i=0;i<c.length;i++)w(i,!0);for(i=0;i<c.length;i++)b(i);for(x&&z(o,c,f),i=0;i<c.length;i++)w(i,!0);for(i=0;i<c.length;i++)w(i,!1);D(t);var T=function(t,e){var r,n,i,a,o,l=[];function c(t,r,n){var i=r._id.charAt(0);if("histogram2dcontour"===t){var a=r._counterAxes[0],o=p.getFromId(e,a),s="x"===i||"x"===a&&"category"===o.type,l="y"===i||"y"===a&&"category"===o.type;return function(t,e){return 0===t||0===e||s&&t===n[e].length-1||l&&e===n.length-1?-1:("y"===i?e:t)-1}}return function(t,e){return"y"===i?e:t}}var f={min:function(t){return u.aggNums(Math.min,null,t)},max:function(t){return u.aggNums(Math.max,null,t)},sum:function(t){return u.aggNums((function(t,e){return t+e}),null,t)},total:function(t){return u.aggNums((function(t,e){return t+e}),null,t)},mean:function(t){return u.mean(t)},median:function(t){return u.median(t)}};for(r=0;r<t.length;r++){var h=t[r];if("category"===h.type){var d=h.categoryorder.match(O);if(d){var g=d[1],m=d[2],v=h._id.charAt(0),y="x"===v,x=[];for(n=0;n<h._categories.length;n++)x.push([h._categories[n],[]]);for(n=0;n<h._traceIndices.length;n++){var b=h._traceIndices[n],_=e._fullData[b];if(!0===_.visible){var w=_.type;s.traceIs(_,"histogram")&&(delete _._xautoBinFinished,delete _._yautoBinFinished);var T="splom"===w,k="scattergl"===w,A=e.calcdata[b];for(i=0;i<A.length;i++){var M,S,E=A[i];if(T){var L=_._axesDim[h._id];if(!y){var C=_._diag[L][0];C&&(h=e._fullLayout[p.id2name(C)])}var P=E.trace.dimensions[L].values;for(a=0;a<P.length;a++)for(M=h._categoriesMap[P[a]],o=0;o<E.trace.dimensions.length;o++)if(o!==L){var I=E.trace.dimensions[o];x[M][1].push(I.values[a])}}else if(k){for(a=0;a<E.t.x.length;a++)y?(M=E.t.x[a],S=E.t.y[a]):(M=E.t.y[a],S=E.t.x[a]),x[M][1].push(S);E.t&&E.t._scene&&delete E.t._scene.dirty}else if(E.hasOwnProperty("z")){S=E.z;var z=c(_.type,h,S);for(a=0;a<S.length;a++)for(o=0;o<S[a].length;o++)(M=z(o,a))+1&&x[M][1].push(S[a][o])}else for(void 0===(M=E.p)&&(M=E[v]),void 0===(S=E.s)&&(S=E.v),void 0===S&&(S=y?E.y:E.x),Array.isArray(S)||(S=void 0===S?[]:[S]),a=0;a<S.length;a++)x[M][1].push(S[a])}}}h._categoriesValue=x;var D=[];for(n=0;n<x.length;n++)D.push([x[n][0],f[g](x[n][1])]);D.sort((function(t,e){return t[1]-e[1]})),h._categoriesAggregatedValue=D,h._initialCategories=D.map((function(t){return t[0]})),"descending"===m&&h._initialCategories.reverse(),l=l.concat(h.sortByInitialCategories())}}}return l}(o,t);if(T.length){for(f._numBoxes=0,f._numViolins=0,i=0;i<T.length;i++)w(T[i],!0);for(i=0;i<T.length;i++)w(T[i],!1);D(t)}s.getComponentMethod("fx","calc")(t),s.getComponentMethod("errorbars","calc")(t)};var O=/(total|sum|min|max|mean|median) (ascending|descending)/;function z(t,e,r){var n={};function i(t){t.clearCalc(),"multicategory"===t.type&&t.setupMultiCategory(e),n[t._id]=1}u.simpleMap(t,i);for(var a=r._axisMatchGroups||[],o=0;o<a.length;o++)for(var s in a[o])n[s]||i(r[p.id2name(s)])}function D(t){var e,r,n,i=t._fullLayout,a=i._visibleModules,o={};for(r=0;r<a.length;r++){var s=a[r],l=s.crossTraceCalc;if(l){var c=s.basePlotModule.name;o[c]?u.pushUnique(o[c],l):o[c]=[l]}}for(n in o){var f=o[n],h=i._subplots[n];if(Array.isArray(h))for(e=0;e<h.length;e++){var p=h[e],d="cartesian"===n?i._plots[p]:i[p];for(r=0;r<f.length;r++)f[r](t,d,p)}else for(r=0;r<f.length;r++)f[r](t)}}b.rehover=function(t){t._fullLayout._rehover&&t._fullLayout._rehover()},b.redrag=function(t){t._fullLayout._redrag&&t._fullLayout._redrag()},b.generalUpdatePerTraceModule=function(t,e,r,n){var i,a=e.traceHash,o={};for(i=0;i<r.length;i++){var s=r[i],l=s[0].trace;l.visible&&(o[l.type]=o[l.type]||[],o[l.type].push(s))}for(var c in a)if(!o[c]){var f=a[c][0];f[0].trace.visible=!1,o[c]=[f]}for(var h in o){var p=o[h];p[0][0].trace._module.plot(t,e,u.filterVisible(p),n)}e.traceHash=o},b.plotBasePlot=function(t,e,r,n,i){var a=s.getModule(t),o=v(e.calcdata,a)[0];a.plot(e,o,n,i)},b.cleanBasePlot=function(t,e,r,n,i){var a=i._has&&i._has(t),o=r._has&&r._has(t);a&&!o&&i["_"+t+"layer"].selectAll("g.trace").remove()}},{"../components/color":366,"../constants/numerical":479,"../lib":503,"../plot_api/plot_schema":542,"../plot_api/plot_template":543,"../plots/get_data":593,"../registry":638,"./animation_attributes":548,"./attributes":550,"./cartesian/axis_ids":558,"./cartesian/handle_outline":565,"./command":583,"./font_attributes":585,"./frame_attributes":586,"./layout_attributes":610,"@plotly/d3":58,"d3-format":112,"d3-time-format":120,"fast-isnumeric":190}],620:[function(t,e,r){"use strict";e.exports={attr:"subplot",name:"polar",axisNames:["angularaxis","radialaxis"],axisName2dataArray:{angularaxis:"theta",radialaxis:"r"},layerNames:["draglayer","plotbg","backplot","angular-grid","radial-grid","frontplot","angular-line","radial-line","angular-axis","radial-axis"],radialDragBoxSize:50,angularDragBoxSize:30,cornerLen:25,cornerHalfWidth:2,MINDRAG:8,MINZOOM:20,OFFEDGE:20}},{}],621:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../lib/polygon").tester,a=n.findIndexOfMin,o=n.isAngleInsideSector,s=n.angleDelta,l=n.angleDist;function c(t,e,r,n){var i,a,o=n[0],s=n[1],l=f(Math.sin(e)-Math.sin(t)),c=f(Math.cos(e)-Math.cos(t)),u=Math.tan(r),h=f(1/u),p=l/c,d=s-p*o;return h?l&&c?a=u*(i=d/(u-p)):c?(i=s*h,a=s):(i=o,a=o*u):l&&c?(i=0,a=d):c?(i=0,a=s):i=a=NaN,[i,a]}function u(t,e,r,i){return n.isFullCircle([e,r])?function(t,e){var r,n=e.length,i=new Array(n+1);for(r=0;r<n;r++){var a=e[r];i[r]=[t*Math.cos(a),t*Math.sin(a)]}return i[r]=i[0].slice(),i}(t,i):function(t,e,r,i){var s,u,f=i.length,h=[];function p(e){return[t*Math.cos(e),t*Math.sin(e)]}function d(t,e,r){return c(t,e,r,p(t))}function g(t){return n.mod(t,f)}function m(t){return o(t,[e,r])}var v=a(i,(function(t){return m(t)?l(t,e):1/0})),y=d(i[v],i[g(v-1)],e);for(h.push(y),s=v,u=0;u<f;s++,u++){var x=i[g(s)];if(!m(x))break;h.push(p(x))}var b=a(i,(function(t){return m(t)?l(t,r):1/0})),_=d(i[b],i[g(b+1)],r);return h.push(_),h.push([0,0]),h.push(h[0].slice()),h}(t,e,r,i)}function f(t){return Math.abs(t)>1e-10?t:0}function h(t,e,r){e=e||0,r=r||0;for(var n=t.length,i=new Array(n),a=0;a<n;a++){var o=t[a];i[a]=[e+o[0],r-o[1]]}return i}e.exports={isPtInsidePolygon:function(t,e,r,n,a){if(!o(e,n))return!1;var s,l;r[0]<r[1]?(s=r[0],l=r[1]):(s=r[1],l=r[0]);var c=i(u(s,n[0],n[1],a)),f=i(u(l,n[0],n[1],a)),h=[t*Math.cos(e),t*Math.sin(e)];return f.contains(h)&&!c.contains(h)},findPolygonOffset:function(t,e,r,n){for(var i=1/0,a=1/0,o=u(t,e,r,n),s=0;s<o.length;s++){var l=o[s];i=Math.min(i,l[0]),a=Math.min(a,-l[1])}return[i,a]},findEnclosingVertexAngles:function(t,e){var r=a(e,(function(e){var r=s(e,t);return r>0?r:1/0})),i=n.mod(r+1,e.length);return[e[r],e[i]]},findIntersectionXY:c,findXYatLength:function(t,e,r,n){var i=-e*r,a=e*e+1,o=2*(e*i-r),s=i*i+r*r-t*t,l=Math.sqrt(o*o-4*a*s),c=(-o+l)/(2*a),u=(-o-l)/(2*a);return[[c,e*c+i+n],[u,e*u+i+n]]},clampTiny:f,pathPolygon:function(t,e,r,n,i,a){return"M"+h(u(t,e,r,n),i,a).join("L")},pathPolygonAnnulus:function(t,e,r,n,i,a,o){var s,l;t<e?(s=t,l=e):(s=e,l=t);var c=h(u(s,r,n,i),a,o);return"M"+h(u(l,r,n,i),a,o).reverse().join("L")+"M"+c.join("L")}}},{"../../lib":503,"../../lib/polygon":515}],622:[function(t,e,r){"use strict";var n=t("../get_data").getSubplotCalcData,i=t("../../lib").counterRegex,a=t("./polar"),o=t("./constants"),s=o.attr,l=o.name,c=i(l),u={};u[s]={valType:"subplotid",dflt:l,editType:"calc"},e.exports={attr:s,name:l,idRoot:l,idRegex:c,attrRegex:c,attributes:u,layoutAttributes:t("./layout_attributes"),supplyLayoutDefaults:t("./layout_defaults"),plot:function(t){for(var e=t._fullLayout,r=t.calcdata,i=e._subplots[l],o=0;o<i.length;o++){var s=i[o],c=n(r,l,s),u=e[s]._subplot;u||(u=a(t,s),e[s]._subplot=u),u.plot(c,e,t._promises)}},clean:function(t,e,r,n){for(var i=n._subplots[l]||[],a=n._has&&n._has("gl"),o=e._has&&e._has("gl"),s=a&&!o,c=0;c<i.length;c++){var u=i[c],f=n[u]._subplot;if(!e[u]&&f)for(var h in f.framework.remove(),f.layers["radial-axis-title"].remove(),f.clipPaths)f.clipPaths[h].remove();s&&f._scene&&(f._scene.destroy(),f._scene=null)}},toSVG:t("../cartesian").toSVG}},{"../../lib":503,"../cartesian":568,"../get_data":593,"./constants":620,"./layout_attributes":623,"./layout_defaults":624,"./polar":625}],623:[function(t,e,r){"use strict";var n=t("../../components/color/attributes"),i=t("../cartesian/layout_attributes"),a=t("../domain").attributes,o=t("../../lib").extendFlat,s=t("../../plot_api/edit_types").overrideAll,l=s({color:i.color,showline:o({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:o({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth},"plot","from-root"),c=s({tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,ticklabelstep:i.ticklabelstep,showticklabels:i.showticklabels,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickfont:i.tickfont,tickangle:i.tickangle,tickformat:i.tickformat,tickformatstops:i.tickformatstops,layer:i.layer},"plot","from-root"),u={visible:o({},i.visible,{dflt:!0}),type:o({},i.type,{values:["-","linear","log","date","category"]}),autotypenumbers:i.autotypenumbers,autorange:o({},i.autorange,{editType:"plot"}),rangemode:{valType:"enumerated",values:["tozero","nonnegative","normal"],dflt:"tozero",editType:"calc"},range:o({},i.range,{items:[{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}}],editType:"plot"}),categoryorder:i.categoryorder,categoryarray:i.categoryarray,angle:{valType:"angle",editType:"plot"},side:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"clockwise",editType:"plot"},title:{text:o({},i.title.text,{editType:"plot",dflt:""}),font:o({},i.title.font,{editType:"plot"}),editType:"plot"},hoverformat:i.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc",_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}};o(u,l,c);var f={visible:o({},i.visible,{dflt:!0}),type:{valType:"enumerated",values:["-","linear","category"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:i.autotypenumbers,categoryorder:i.categoryorder,categoryarray:i.categoryarray,thetaunit:{valType:"enumerated",values:["radians","degrees"],dflt:"degrees",editType:"calc"},period:{valType:"number",editType:"calc",min:0},direction:{valType:"enumerated",values:["counterclockwise","clockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",editType:"calc"},hoverformat:i.hoverformat,uirevision:{valType:"any",editType:"none"},editType:"calc"};o(f,l,c),e.exports={domain:a({name:"polar",editType:"plot"}),sector:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],dflt:[0,360],editType:"plot"},hole:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},bgcolor:{valType:"color",editType:"plot",dflt:n.background},radialaxis:u,angularaxis:f,gridshape:{valType:"enumerated",values:["circular","linear"],dflt:"circular",editType:"plot"},uirevision:{valType:"any",editType:"none"},editType:"calc"}},{"../../components/color/attributes":365,"../../lib":503,"../../plot_api/edit_types":536,"../cartesian/layout_attributes":569,"../domain":584}],624:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../../plot_api/plot_template"),o=t("../subplot_defaults"),s=t("../get_data").getSubplotData,l=t("../cartesian/tick_value_defaults"),c=t("../cartesian/tick_mark_defaults"),u=t("../cartesian/tick_label_defaults"),f=t("../cartesian/prefix_suffix_defaults"),h=t("../cartesian/category_order_defaults"),p=t("../cartesian/line_grid_defaults"),d=t("../cartesian/axis_autotype"),g=t("./layout_attributes"),m=t("./set_convert"),v=t("./constants"),y=v.axisNames;function x(t,e,r,o){var d=r("bgcolor");o.bgColor=i.combine(d,o.paper_bgcolor);var x=r("sector");r("hole");var _,w=s(o.fullData,v.name,o.id),T=o.layoutOut;function k(t,e){return r(_+"."+t,e)}for(var A=0;A<y.length;A++){_=y[A],n.isPlainObject(t[_])||(t[_]={});var M=t[_],S=a.newContainer(e,_);S._id=S._name=_,S._attr=o.id+"."+_,S._traceIndices=w.map((function(t){return t._expandedIndex}));var E=v.axisName2dataArray[_],L=b(M,S,k,w,E,o);h(M,S,k,{axData:w,dataAttr:E});var C=k("visible");switch(m(S,e,T),k("uirevision",e.uirevision),S._m=1,_){case"radialaxis":var P=k("autorange",!S.isValidRange(M.range));M.autorange=P,!P||"linear"!==L&&"-"!==L||k("rangemode"),"reversed"===P&&(S._m=-1),k("range"),S.cleanRange("range",{dfltRange:[0,1]});break;case"angularaxis":if("date"===L){n.log("Polar plots do not support date angular axes yet.");for(var I=0;I<w.length;I++)w[I].visible=!1;L=M.type=S.type="linear"}k("linear"===L?"thetaunit":"period");var O=k("direction");k("rotation",{counterclockwise:0,clockwise:90}[O])}if(f(M,S,k,S.type,{tickSuffixDflt:"degrees"===S.thetaunit?"\xb0":void 0}),C){var z,D,R,F,B=o.font||{};D=(z=k("color"))===M.color?z:B.color,R=B.size,F=B.family,l(M,S,k,S.type),u(M,S,k,S.type,{font:{color:D,size:R,family:F}}),c(M,S,k,{outerTicks:!0}),p(M,S,k,{dfltColor:z,bgColor:o.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:g[_]}),k("layer"),"radialaxis"===_&&(k("side"),k("angle",x[0]),k("title.text"),n.coerceFont(k,"title.font",{color:D,size:n.bigFont(R),family:F}))}"category"!==L&&k("hoverformat"),S._input=M}"category"===e.angularaxis.type&&r("gridshape")}function b(t,e,r,n,i,a){var o=r("autotypenumbers",a.autotypenumbersDflt);if("-"===r("type")){for(var s,l=0;l<n.length;l++)if(n[l].visible){s=n[l];break}s&&s[i]&&(e.type=d(s[i],"gregorian",{noMultiCategory:!0,autotypenumbers:o})),"-"===e.type?e.type="linear":t.type=e.type}return e.type}e.exports=function(t,e,r){o(t,e,r,{type:v.name,attributes:g,handleDefaults:x,font:e.font,autotypenumbersDflt:e.autotypenumbers,paper_bgcolor:e.paper_bgcolor,fullData:r,layoutOut:e})}},{"../../components/color":366,"../../lib":503,"../../plot_api/plot_template":543,"../cartesian/axis_autotype":555,"../cartesian/category_order_defaults":559,"../cartesian/line_grid_defaults":571,"../cartesian/prefix_suffix_defaults":573,"../cartesian/tick_label_defaults":578,"../cartesian/tick_mark_defaults":579,"../cartesian/tick_value_defaults":580,"../get_data":593,"../subplot_defaults":632,"./constants":620,"./layout_attributes":623,"./set_convert":626}],625:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("tinycolor2"),a=t("../../registry"),o=t("../../lib"),s=o.strRotate,l=o.strTranslate,c=t("../../components/color"),u=t("../../components/drawing"),f=t("../plots"),h=t("../../plots/cartesian/axes"),p=t("../cartesian/set_convert"),d=t("./set_convert"),g=t("../cartesian/autorange").doAutoRange,m=t("../cartesian/dragbox"),v=t("../../components/dragelement"),y=t("../../components/fx"),x=t("../../components/titles"),b=t("../cartesian/select").prepSelect,_=t("../cartesian/select").selectOnClick,w=t("../cartesian/select").clearSelect,T=t("../../lib/setcursor"),k=t("../../lib/clear_gl_canvases"),A=t("../../plot_api/subroutines").redrawReglTraces,M=t("../../constants/alignment").MID_SHIFT,S=t("./constants"),E=t("./helpers"),L=t("../smith/helpers"),C=L.smith,P=L.reactanceArc,I=L.resistanceArc,O=L.smithTransform,z=o._,D=o.mod,R=o.deg2rad,F=o.rad2deg;function B(t,e,r){this.isSmith=r||!1,this.id=e,this.gd=t,this._hasClipOnAxisFalse=null,this.vangles=null,this.radialAxisAngle=null,this.traceHash={},this.layers={},this.clipPaths={},this.clipIds={},this.viewInitial={};var n=t._fullLayout,i="clip"+n._uid+e;this.clipIds.forTraces=i+"-for-traces",this.clipPaths.forTraces=n._clips.append("clipPath").attr("id",this.clipIds.forTraces),this.clipPaths.forTraces.append("path"),this.framework=n["_"+(r?"smith":"polar")+"layer"].append("g").attr("class",e),this.getHole=function(t){return this.isSmith?0:t.hole},this.getSector=function(t){return this.isSmith?[0,360]:t.sector},this.getRadial=function(t){return this.isSmith?t.realaxis:t.radialaxis},this.getAngular=function(t){return this.isSmith?t.imaginaryaxis:t.angularaxis},r||(this.radialTickLayout=null,this.angularTickLayout=null)}var N=B.prototype;function j(t){var e=t.ticks+String(t.ticklen)+String(t.showticklabels);return"side"in t&&(e+=t.side),e}function U(t,e){return e[o.findIndexOfMin(e,(function(e){return o.angleDist(t,e)}))]}function V(t,e,r){return e?(t.attr("display",null),t.attr(r)):t&&t.attr("display","none"),t}e.exports=function(t,e,r){return new B(t,e,r)},N.plot=function(t,e){for(var r=e[this.id],n=!1,i=0;i<t.length;i++){if(!1===t[i][0].trace.cliponaxis){n=!0;break}}this._hasClipOnAxisFalse=n,this.updateLayers(e,r),this.updateLayout(e,r),f.generalUpdatePerTraceModule(this.gd,this,t,r),this.updateFx(e,r),this.isSmith&&(delete r.realaxis.range,delete r.imaginaryaxis.range)},N.updateLayers=function(t,e){var r=this.isSmith,i=this.layers,a=this.getRadial(e),o=this.getAngular(e),s=S.layerNames,l=s.indexOf("frontplot"),c=s.slice(0,l),u="below traces"===o.layer,f="below traces"===a.layer;u&&c.push("angular-line"),f&&c.push("radial-line"),u&&c.push("angular-axis"),f&&c.push("radial-axis"),c.push("frontplot"),u||c.push("angular-line"),f||c.push("radial-line"),u||c.push("angular-axis"),f||c.push("radial-axis");var h=(r?"smith":"polar")+"sublayer",p=this.framework.selectAll("."+h).data(c,String);p.enter().append("g").attr("class",(function(t){return h+" "+t})).each((function(t){var e=i[t]=n.select(this);switch(t){case"frontplot":r||e.append("g").classed("barlayer",!0),e.append("g").classed("scatterlayer",!0);break;case"backplot":e.append("g").classed("maplayer",!0);break;case"plotbg":i.bg=e.append("path");break;case"radial-grid":case"angular-grid":e.style("fill","none");break;case"radial-line":e.append("line").style("fill","none");break;case"angular-line":e.append("path").style("fill","none")}})),p.order()},N.updateLayout=function(t,e){var r=this.layers,n=t._size,i=this.getRadial(e),a=this.getAngular(e),o=e.domain.x,s=e.domain.y;this.xOffset=n.l+n.w*o[0],this.yOffset=n.t+n.h*(1-s[1]);var f=this.xLength=n.w*(o[1]-o[0]),h=this.yLength=n.h*(s[1]-s[0]),p=this.getSector(e);this.sectorInRad=p.map(R);var d,g,m,v,y,x=this.sectorBBox=function(t){var e,r,n,i,a=t[0],o=t[1]-a,s=D(a,360),l=s+o,c=Math.cos(R(s)),u=Math.sin(R(s)),f=Math.cos(R(l)),h=Math.sin(R(l));i=s<=90&&l>=90||s>90&&l>=450?1:u<=0&&h<=0?0:Math.max(u,h);e=s<=180&&l>=180||s>180&&l>=540?-1:c>=0&&f>=0?0:Math.min(c,f);r=s<=270&&l>=270||s>270&&l>=630?-1:u>=0&&h>=0?0:Math.min(u,h);n=l>=360?1:c<=0&&f<=0?0:Math.max(c,f);return[e,r,n,i]}(p),b=x[2]-x[0],_=x[3]-x[1],w=h/f,T=Math.abs(_/b);w>T?(d=f,y=(h-(g=f*T))/n.h/2,m=[o[0],o[1]],v=[s[0]+y,s[1]-y]):(g=h,y=(f-(d=h/T))/n.w/2,m=[o[0]+y,o[1]-y],v=[s[0],s[1]]),this.xLength2=d,this.yLength2=g,this.xDomain2=m,this.yDomain2=v;var k,A=this.xOffset2=n.l+n.w*m[0],M=this.yOffset2=n.t+n.h*(1-v[1]),S=this.radius=d/b,E=this.innerRadius=this.getHole(e)*S,L=this.cx=A-S*x[0],C=this.cy=M+S*x[3],P=this.cxx=L-A,I=this.cyy=C-M,O=i.side;"counterclockwise"===O?(k=O,O="top"):"clockwise"===O&&(k=O,O="bottom"),this.radialAxis=this.mockAxis(t,e,i,{_id:"x",side:O,_trueSide:k,domain:[E/n.w,S/n.w]}),this.angularAxis=this.mockAxis(t,e,a,{side:"right",domain:[0,Math.PI],autorange:!1}),this.doAutoRange(t,e),this.updateAngularAxis(t,e),this.updateRadialAxis(t,e),this.updateRadialAxisTitle(t,e),this.xaxis=this.mockCartesianAxis(t,e,{_id:"x",domain:m}),this.yaxis=this.mockCartesianAxis(t,e,{_id:"y",domain:v});var z=this.pathSubplot();this.clipPaths.forTraces.select("path").attr("d",z).attr("transform",l(P,I)),r.frontplot.attr("transform",l(A,M)).call(u.setClipUrl,this._hasClipOnAxisFalse?null:this.clipIds.forTraces,this.gd),r.bg.attr("d",z).attr("transform",l(L,C)).call(c.fill,e.bgcolor)},N.mockAxis=function(t,e,r,n){var i=o.extendFlat({},r,n);return d(i,e,t),i},N.mockCartesianAxis=function(t,e,r){var n=this,i=n.isSmith,a=r._id,s=o.extendFlat({type:"linear"},r);p(s,t);var l={x:[0,2],y:[1,3]};return s.setRange=function(){var t=n.sectorBBox,r=l[a],i=n.radialAxis._rl,o=(i[1]-i[0])/(1-n.getHole(e));s.range=[t[r[0]]*o,t[r[1]]*o]},s.isPtWithinRange="x"!==a||i?function(){return!0}:function(t){return n.isPtInside(t)},s.setRange(),s.setScale(),s},N.doAutoRange=function(t,e){var r=this.gd,n=this.radialAxis,i=this.getRadial(e);g(r,n);var a=n.range;i.range=a.slice(),i._input.range=a.slice(),n._rl=[n.r2l(a[0],null,"gregorian"),n.r2l(a[1],null,"gregorian")]},N.updateRadialAxis=function(t,e){var r=this,n=r.gd,i=r.layers,a=r.radius,u=r.innerRadius,f=r.cx,p=r.cy,d=r.getRadial(e),g=D(r.getSector(e)[0],360),m=r.radialAxis,v=u<a,y=r.isSmith;y||(r.fillViewInitialKey("radialaxis.angle",d.angle),r.fillViewInitialKey("radialaxis.range",m.range.slice()),m.setGeometry()),"auto"===m.tickangle&&g>90&&g<=270&&(m.tickangle=180);var x=y?function(t){var e=O(r,C([t.x,0]));return l(e[0]-f,e[1]-p)}:function(t){return l(m.l2p(t.x)+u,0)},b=y?function(t){return I(r,t.x,-1/0,1/0)}:function(t){return r.pathArc(m.r2p(t.x)+u)},_=j(d);if(r.radialTickLayout!==_&&(i["radial-axis"].selectAll(".xtick").remove(),r.radialTickLayout=_),v){m.setScale();var w=0,T=y?(m.tickvals||[]).filter((function(t){return t>=0})).map((function(t){return h.tickText(m,t,!0,!1)})):h.calcTicks(m),k=y?T:h.clipEnds(m,T),A=h.getTickSigns(m)[2];y&&(("top"===m.ticks&&"bottom"===m.side||"bottom"===m.ticks&&"top"===m.side)&&(A=-A),"top"===m.ticks&&"top"===m.side&&(w=-m.ticklen),"bottom"===m.ticks&&"bottom"===m.side&&(w=m.ticklen)),h.drawTicks(n,m,{vals:T,layer:i["radial-axis"],path:h.makeTickPath(m,0,A),transFn:x,crisp:!1}),h.drawGrid(n,m,{vals:k,layer:i["radial-grid"],path:b,transFn:o.noop,crisp:!1}),h.drawLabels(n,m,{vals:T,layer:i["radial-axis"],transFn:x,labelFns:h.makeLabelFns(m,w)})}var M=r.radialAxisAngle=r.vangles?F(U(R(d.angle),r.vangles)):d.angle,S=l(f,p),E=S+s(-M);V(i["radial-axis"],v&&(d.showticklabels||d.ticks),{transform:E}),V(i["radial-grid"],v&&d.showgrid,{transform:y?"":S}),V(i["radial-line"].select("line"),v&&d.showline,{x1:y?-a:u,y1:0,x2:a,y2:0,transform:E}).attr("stroke-width",d.linewidth).call(c.stroke,d.linecolor)},N.updateRadialAxisTitle=function(t,e,r){if(!this.isSmith){var n=this.gd,i=this.radius,a=this.cx,o=this.cy,s=this.getRadial(e),l=this.id+"title",c=0;if(s.title){var f=u.bBox(this.layers["radial-axis"].node()).height,h=s.title.font.size,p=s.side;c="top"===p?h:"counterclockwise"===p?-(f+.4*h):f+.8*h}var d=void 0!==r?r:this.radialAxisAngle,g=R(d),m=Math.cos(g),v=Math.sin(g),y=a+i/2*m+c*v,b=o-i/2*v+c*m;this.layers["radial-axis-title"]=x.draw(n,l,{propContainer:s,propName:this.id+".radialaxis.title",placeholder:z(n,"Click to enter radial axis title"),attributes:{x:y,y:b,"text-anchor":"middle"},transform:{rotate:-d}})}},N.updateAngularAxis=function(t,e){var r=this,n=r.gd,i=r.layers,a=r.radius,u=r.innerRadius,f=r.cx,p=r.cy,d=r.getAngular(e),g=r.angularAxis,m=r.isSmith;m||(r.fillViewInitialKey("angularaxis.rotation",d.rotation),g.setGeometry(),g.setScale());var v=m?function(t){var e=O(r,C([0,t.x]));return Math.atan2(e[0]-f,e[1]-p)-Math.PI/2}:function(t){return g.t2g(t.x)};"linear"===g.type&&"radians"===g.thetaunit&&(g.tick0=F(g.tick0),g.dtick=F(g.dtick));var y=function(t){return l(f+a*Math.cos(t),p-a*Math.sin(t))},x=m?function(t){var e=O(r,C([0,t.x]));return l(e[0],e[1])}:function(t){return y(v(t))},b=m?function(t){var e=O(r,C([0,t.x])),n=Math.atan2(e[0]-f,e[1]-p)-Math.PI/2;return l(e[0],e[1])+s(-F(n))}:function(t){var e=v(t);return y(e)+s(-F(e))},_=m?function(t){return P(r,t.x,0,1/0)}:function(t){var e=v(t),r=Math.cos(e),n=Math.sin(e);return"M"+[f+u*r,p-u*n]+"L"+[f+a*r,p-a*n]},w=h.makeLabelFns(g,0).labelStandoff,T={xFn:function(t){var e=v(t);return Math.cos(e)*w},yFn:function(t){var e=v(t),r=Math.sin(e)>0?.2:1;return-Math.sin(e)*(w+t.fontSize*r)+Math.abs(Math.cos(e))*(t.fontSize*M)},anchorFn:function(t){var e=v(t),r=Math.cos(e);return Math.abs(r)<.1?"middle":r>0?"start":"end"},heightFn:function(t,e,r){var n=v(t);return-.5*(1+Math.sin(n))*r}},k=j(d);r.angularTickLayout!==k&&(i["angular-axis"].selectAll("."+g._id+"tick").remove(),r.angularTickLayout=k);var A,S=m?[1/0].concat(g.tickvals||[]).map((function(t){return h.tickText(g,t,!0,!1)})):h.calcTicks(g);if(m&&(S[0].text="\u221e",S[0].fontSize*=1.75),"linear"===e.gridshape?(A=S.map(v),o.angleDelta(A[0],A[1])<0&&(A=A.slice().reverse())):A=null,r.vangles=A,"category"===g.type&&(S=S.filter((function(t){return o.isAngleInsideSector(v(t),r.sectorInRad)}))),g.visible){var E="inside"===g.ticks?-1:1,L=(g.linewidth||1)/2;h.drawTicks(n,g,{vals:S,layer:i["angular-axis"],path:"M"+E*L+",0h"+E*g.ticklen,transFn:b,crisp:!1}),h.drawGrid(n,g,{vals:S,layer:i["angular-grid"],path:_,transFn:o.noop,crisp:!1}),h.drawLabels(n,g,{vals:S,layer:i["angular-axis"],repositionOnUpdate:!0,transFn:x,labelFns:T})}V(i["angular-line"].select("path"),d.showline,{d:r.pathSubplot(),transform:l(f,p)}).attr("stroke-width",d.linewidth).call(c.stroke,d.linecolor)},N.updateFx=function(t,e){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(t),this.updateRadialDrag(t,e,0),this.updateRadialDrag(t,e,1)),this.updateHoverAndMainDrag(t))},N.updateHoverAndMainDrag=function(t){var e,r,s=this,c=s.isSmith,u=s.gd,f=s.layers,h=t._zoomlayer,p=S.MINZOOM,d=S.OFFEDGE,g=s.radius,x=s.innerRadius,T=s.cx,k=s.cy,A=s.cxx,M=s.cyy,L=s.sectorInRad,C=s.vangles,P=s.radialAxis,I=E.clampTiny,O=E.findXYatLength,z=E.findEnclosingVertexAngles,D=S.cornerHalfWidth,R=S.cornerLen/2,F=m.makeDragger(f,"path","maindrag","crosshair");n.select(F).attr("d",s.pathSubplot()).attr("transform",l(T,k)),F.onmousemove=function(t){y.hover(u,t,s.id),u._fullLayout._lasthover=F,u._fullLayout._hoversubplot=s.id},F.onmouseout=function(t){u._dragging||v.unhover(u,t)};var B,N,j,U,V,H,q,G,Y,W={element:F,gd:u,subplot:s.id,plotinfo:{id:s.id,xaxis:s.xaxis,yaxis:s.yaxis},xaxes:[s.xaxis],yaxes:[s.yaxis]};function X(t,e){return Math.sqrt(t*t+e*e)}function Z(t,e){return X(t-A,e-M)}function J(t,e){return Math.atan2(M-e,t-A)}function K(t,e){return[t*Math.cos(e),t*Math.sin(-e)]}function Q(t,e){if(0===t)return s.pathSector(2*D);var r=R/t,n=e-r,i=e+r,a=Math.max(0,Math.min(t,g)),o=a-D,l=a+D;return"M"+K(o,n)+"A"+[o,o]+" 0,0,0 "+K(o,i)+"L"+K(l,i)+"A"+[l,l]+" 0,0,1 "+K(l,n)+"Z"}function $(t,e,r){if(0===t)return s.pathSector(2*D);var n,i,a=K(t,e),o=K(t,r),l=I((a[0]+o[0])/2),c=I((a[1]+o[1])/2);if(l&&c){var u=c/l,f=-1/u,h=O(D,u,l,c);n=O(R,f,h[0][0],h[0][1]),i=O(R,f,h[1][0],h[1][1])}else{var p,d;c?(p=R,d=D):(p=D,d=R),n=[[l-p,c-d],[l+p,c-d]],i=[[l-p,c+d],[l+p,c+d]]}return"M"+n.join("L")+"L"+i.reverse().join("L")+"Z"}function tt(t,e){return e=Math.max(Math.min(e,g),x),t<d?t=0:g-t<d?t=g:e<d?e=0:g-e<d&&(e=g),Math.abs(e-t)>p?(t<e?(j=t,U=e):(j=e,U=t),!0):(j=null,U=null,!1)}function et(t,e){t=t||V,e=e||"M0,0Z",G.attr("d",t),Y.attr("d",e),m.transitionZoombox(G,Y,H,q),H=!0;var r={};ot(r),u.emit("plotly_relayouting",r)}function rt(t,n){var i,a,o=B+(t*=e),l=N+(n*=r),c=Z(B,N),u=Math.min(Z(o,l),g),f=J(B,N);tt(c,u)&&(i=V+s.pathSector(U),j&&(i+=s.pathSector(j)),a=Q(j,f)+Q(U,f)),et(i,a)}function nt(t,e,r,n){var i=E.findIntersectionXY(r,n,r,[t-A,M-e]);return X(i[0],i[1])}function it(t,e){var r,n,i=B+t,a=N+e,o=J(B,N),l=J(i,a),c=z(o,C),u=z(l,C);tt(nt(B,N,c[0],c[1]),Math.min(nt(i,a,u[0],u[1]),g))&&(r=V+s.pathSector(U),j&&(r+=s.pathSector(j)),n=[$(j,c[0],c[1]),$(U,c[0],c[1])].join(" ")),et(r,n)}function at(){if(m.removeZoombox(u),null!==j&&null!==U){var t={};ot(t),m.showDoubleClickNotifier(u),a.call("_guiRelayout",u,t)}}function ot(t){var e=P._rl,r=(e[1]-e[0])/(1-x/g)/g,n=[e[0]+(j-x)*r,e[0]+(U-x)*r];t[s.id+".radialaxis.range"]=n}function st(t,e){var r=u._fullLayout.clickmode;if(m.removeZoombox(u),2===t){var n={};for(var i in s.viewInitial)n[s.id+"."+i]=s.viewInitial[i];u.emit("plotly_doubleclick",null),a.call("_guiRelayout",u,n)}r.indexOf("select")>-1&&1===t&&_(e,u,[s.xaxis],[s.yaxis],s.id,W),r.indexOf("event")>-1&&y.click(u,e,s.id)}W.prepFn=function(t,n,a){var l=u._fullLayout.dragmode,f=F.getBoundingClientRect();u._fullLayout._calcInverseTransform(u);var p=u._fullLayout._invTransform;e=u._fullLayout._invScaleX,r=u._fullLayout._invScaleY;var d=o.apply3DTransform(p)(n-f.left,a-f.top);if(B=d[0],N=d[1],C){var v=E.findPolygonOffset(g,L[0],L[1],C);B+=A+v[0],N+=M+v[1]}switch(l){case"zoom":W.clickFn=st,c||(W.moveFn=C?it:rt,W.doneFn=at,function(){j=null,U=null,V=s.pathSubplot(),H=!1;var t=u._fullLayout[s.id];q=i(t.bgcolor).getLuminance(),(G=m.makeZoombox(h,q,T,k,V)).attr("fill-rule","evenodd"),Y=m.makeCorners(h,T,k),w(u)}());break;case"select":case"lasso":b(t,n,a,W,l)}},v.init(W)},N.updateRadialDrag=function(t,e,r){var i=this,c=i.gd,u=i.layers,f=i.radius,h=i.innerRadius,p=i.cx,d=i.cy,g=i.radialAxis,y=S.radialDragBoxSize,x=y/2;if(g.visible){var b,_,T,M=R(i.radialAxisAngle),E=g._rl,L=E[0],C=E[1],P=E[r],I=.75*(E[1]-E[0])/(1-i.getHole(e))/f;r?(b=p+(f+x)*Math.cos(M),_=d-(f+x)*Math.sin(M),T="radialdrag"):(b=p+(h-x)*Math.cos(M),_=d-(h-x)*Math.sin(M),T="radialdrag-inner");var O,z,D,B=m.makeRectDragger(u,T,"crosshair",-x,-x,y,y),N={element:B,gd:c};V(n.select(B),g.visible&&h<f,{transform:l(b,_)}),N.prepFn=function(){O=null,z=null,D=null,N.moveFn=j,N.doneFn=H,w(c)},N.clampFn=function(t,e){return Math.sqrt(t*t+e*e)<S.MINDRAG&&(t=0,e=0),[t,e]},v.init(N)}function j(t,e){if(O)O(t,e);else{var n=[t,-e],a=[Math.cos(M),Math.sin(M)],s=Math.abs(o.dot(n,a)/Math.sqrt(o.dot(n,n)));isNaN(s)||(O=s<.5?q:G)}var l={};!function(t){null!==z?t[i.id+".radialaxis.angle"]=z:null!==D&&(t[i.id+".radialaxis.range["+r+"]"]=D)}(l),c.emit("plotly_relayouting",l)}function H(){null!==z?a.call("_guiRelayout",c,i.id+".radialaxis.angle",z):null!==D&&a.call("_guiRelayout",c,i.id+".radialaxis.range["+r+"]",D)}function q(t,e){if(0!==r){var n=b+t,a=_+e;z=Math.atan2(d-a,n-p),i.vangles&&(z=U(z,i.vangles)),z=F(z);var o=l(p,d)+s(-z);u["radial-axis"].attr("transform",o),u["radial-line"].select("line").attr("transform",o);var c=i.gd._fullLayout,f=c[i.id];i.updateRadialAxisTitle(c,f,z)}}function G(t,e){var n=o.dot([t,-e],[Math.cos(M),Math.sin(M)]);if(D=P-I*n,I>0==(r?D>L:D<C)){var s=c._fullLayout,l=s[i.id];g.range[r]=D,g._rl[r]=D,i.updateRadialAxis(s,l),i.xaxis.setRange(),i.xaxis.setScale(),i.yaxis.setRange(),i.yaxis.setScale();var u=!1;for(var f in i.traceHash){var h=i.traceHash[f],p=o.filterVisible(h);h[0][0].trace._module.plot(c,i,p,l),a.traceIs(f,"gl")&&p.length&&(u=!0)}u&&(k(c),A(c))}else D=null}},N.updateAngularDrag=function(t){var e=this,r=e.gd,i=e.layers,c=e.radius,f=e.angularAxis,h=e.cx,p=e.cy,d=e.cxx,g=e.cyy,y=S.angularDragBoxSize,x=m.makeDragger(i,"path","angulardrag","move"),b={element:x,gd:r};function _(t,e){return Math.atan2(g+y-e,t-d-y)}n.select(x).attr("d",e.pathAnnulus(c,c+y)).attr("transform",l(h,p)).call(T,"move");var M,E,L,C,P,I,O=i.frontplot.select(".scatterlayer").selectAll(".trace"),z=O.selectAll(".point"),D=O.selectAll(".textpoint");function R(c,m){var v=e.gd._fullLayout,y=v[e.id],x=_(M+c*t._invScaleX,E+m*t._invScaleY),b=F(x-I);if(C=L+b,i.frontplot.attr("transform",l(e.xOffset2,e.yOffset2)+s([-b,d,g])),e.vangles){P=e.radialAxisAngle+b;var w=l(h,p)+s(-b),T=l(h,p)+s(-P);i.bg.attr("transform",w),i["radial-grid"].attr("transform",w),i["radial-axis"].attr("transform",T),i["radial-line"].select("line").attr("transform",T),e.updateRadialAxisTitle(v,y,P)}else e.clipPaths.forTraces.select("path").attr("transform",l(d,g)+s(b));z.each((function(){var t=n.select(this),e=u.getTranslate(t);t.attr("transform",l(e.x,e.y)+s([b]))})),D.each((function(){var t=n.select(this),e=t.select("text"),r=u.getTranslate(t);t.attr("transform",s([b,e.attr("x"),e.attr("y")])+l(r.x,r.y))})),f.rotation=o.modHalf(C,360),e.updateAngularAxis(v,y),e._hasClipOnAxisFalse&&!o.isFullCircle(e.sectorInRad)&&O.call(u.hideOutsideRangePoints,e);var S=!1;for(var R in e.traceHash)if(a.traceIs(R,"gl")){var N=e.traceHash[R],j=o.filterVisible(N);N[0][0].trace._module.plot(r,e,j,y),j.length&&(S=!0)}S&&(k(r),A(r));var U={};B(U),r.emit("plotly_relayouting",U)}function B(t){t[e.id+".angularaxis.rotation"]=C,e.vangles&&(t[e.id+".radialaxis.angle"]=P)}function N(){D.select("text").attr("transform",null);var t={};B(t),a.call("_guiRelayout",r,t)}b.prepFn=function(n,i,a){var s=t[e.id];L=s.angularaxis.rotation;var l=x.getBoundingClientRect();M=i-l.left,E=a-l.top,r._fullLayout._calcInverseTransform(r);var c=o.apply3DTransform(t._invTransform)(M,E);M=c[0],E=c[1],I=_(M,E),b.moveFn=R,b.doneFn=N,w(r)},e.vangles&&!o.isFullCircle(e.sectorInRad)&&(b.prepFn=o.noop,T(n.select(x),null)),v.init(b)},N.isPtInside=function(t){if(this.isSmith)return!0;var e=this.sectorInRad,r=this.vangles,n=this.angularAxis.c2g(t.theta),i=this.radialAxis,a=i.c2l(t.r),s=i._rl;return(r?E.isPtInsidePolygon:o.isPtInsideSector)(a,n,s,e,r)},N.pathArc=function(t){var e=this.sectorInRad,r=this.vangles;return(r?E.pathPolygon:o.pathArc)(t,e[0],e[1],r)},N.pathSector=function(t){var e=this.sectorInRad,r=this.vangles;return(r?E.pathPolygon:o.pathSector)(t,e[0],e[1],r)},N.pathAnnulus=function(t,e){var r=this.sectorInRad,n=this.vangles;return(n?E.pathPolygonAnnulus:o.pathAnnulus)(t,e,r[0],r[1],n)},N.pathSubplot=function(){var t=this.innerRadius,e=this.radius;return t?this.pathAnnulus(t,e):this.pathSector(e)},N.fillViewInitialKey=function(t,e){t in this.viewInitial||(this.viewInitial[t]=e)}},{"../../components/color":366,"../../components/dragelement":385,"../../components/drawing":388,"../../components/fx":406,"../../components/titles":464,"../../constants/alignment":471,"../../lib":503,"../../lib/clear_gl_canvases":487,"../../lib/setcursor":524,"../../plot_api/subroutines":544,"../../plots/cartesian/axes":554,"../../registry":638,"../cartesian/autorange":553,"../cartesian/dragbox":563,"../cartesian/select":575,"../cartesian/set_convert":576,"../plots":619,"../smith/helpers":628,"./constants":620,"./helpers":621,"./set_convert":626,"@plotly/d3":58,tinycolor2:312}],626:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../cartesian/set_convert"),a=n.deg2rad,o=n.rad2deg;e.exports=function(t,e,r){switch(i(t,r),t._id){case"x":case"radialaxis":!function(t,e){var r=e._subplot;t.setGeometry=function(){var e=t._rl[0],n=t._rl[1],i=r.innerRadius,a=(r.radius-i)/(n-e),o=i/a,s=e>n?function(t){return t<=0}:function(t){return t>=0};t.c2g=function(r){var n=t.c2l(r)-e;return(s(n)?n:0)+o},t.g2c=function(r){return t.l2c(r+e-o)},t.g2p=function(t){return t*a},t.c2p=function(e){return t.g2p(t.c2g(e))}}}(t,e);break;case"angularaxis":!function(t,e){var r=t.type;if("linear"===r){var i=t.d2c,s=t.c2d;t.d2c=function(t,e){return function(t,e){return"degrees"===e?a(t):t}(i(t),e)},t.c2d=function(t,e){return s(function(t,e){return"degrees"===e?o(t):t}(t,e))}}t.makeCalcdata=function(e,i){var a,o,s=e[i],l=e._length,c=function(r){return t.d2c(r,e.thetaunit)};if(s){if(n.isTypedArray(s)&&"linear"===r){if(l===s.length)return s;if(s.subarray)return s.subarray(0,l)}for(a=new Array(l),o=0;o<l;o++)a[o]=c(s[o])}else{var u=i+"0",f="d"+i,h=u in e?c(e[u]):0,p=e[f]?c(e[f]):(t.period||2*Math.PI)/l;for(a=new Array(l),o=0;o<l;o++)a[o]=h+o*p}return a},t.setGeometry=function(){var i,s,l,c,u=e.sector,f=u.map(a),h={clockwise:-1,counterclockwise:1}[t.direction],p=a(t.rotation),d=function(t){return h*t+p},g=function(t){return(t-p)/h};switch(r){case"linear":s=i=n.identity,c=a,l=o,t.range=n.isFullCircle(f)?[u[0],u[0]+360]:f.map(g).map(o);break;case"category":var m=t._categories.length,v=t.period?Math.max(t.period,m):m;0===v&&(v=1),s=c=function(t){return 2*t*Math.PI/v},i=l=function(t){return t*v/Math.PI/2},t.range=[0,v]}t.c2g=function(t){return d(s(t))},t.g2c=function(t){return i(g(t))},t.t2g=function(t){return d(c(t))},t.g2t=function(t){return l(g(t))}}}(t,e)}}},{"../../lib":503,"../cartesian/set_convert":576}],627:[function(t,e,r){"use strict";e.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},{}],628:[function(t,e,r){"use strict";function n(t){return t<0?-1:t>0?1:0}function i(t){var e=t[0],r=t[1];if(!isFinite(e)||!isFinite(r))return[1,0];var n=(e+1)*(e+1)+r*r;return[(e*e+r*r-1)/n,2*r/n]}function a(t,e){var r=e[0],n=e[1];return[r*t.radius+t.cx,-n*t.radius+t.cy]}function o(t,e){return e*t.radius}e.exports={smith:i,reactanceArc:function(t,e,r,n){var s=a(t,i([r,e])),l=s[0],c=s[1],u=a(t,i([n,e])),f=u[0],h=u[1];if(0===e)return["M"+l+","+c,"L"+f+","+h].join(" ");var p=o(t,1/Math.abs(e));return["M"+l+","+c,"A"+p+","+p+" 0 0,"+(e<0?1:0)+" "+f+","+h].join(" ")},resistanceArc:function(t,e,r,s){var l=o(t,1/(e+1)),c=a(t,i([e,r])),u=c[0],f=c[1],h=a(t,i([e,s])),p=h[0],d=h[1];if(n(r)!==n(s)){var g=a(t,i([e,0]));return["M"+u+","+f,"A"+l+","+l+" 0 0,"+(0<r?0:1)+" "+g[0]+","+g[1],"A"+l+","+l+" 0 0,"+(s<0?0:1)+p+","+d].join(" ")}return["M"+u+","+f,"A"+l+","+l+" 0 0,"+(s<r?0:1)+" "+p+","+d].join(" ")},smithTransform:a}},{}],629:[function(t,e,r){"use strict";var n=t("../get_data").getSubplotCalcData,i=t("../../lib").counterRegex,a=t("../polar/polar"),o=t("./constants"),s=o.attr,l=o.name,c=i(l),u={};u[s]={valType:"subplotid",dflt:l,editType:"calc"},e.exports={attr:s,name:l,idRoot:l,idRegex:c,attrRegex:c,attributes:u,layoutAttributes:t("./layout_attributes"),supplyLayoutDefaults:t("./layout_defaults"),plot:function(t){for(var e=t._fullLayout,r=t.calcdata,i=e._subplots[l],o=0;o<i.length;o++){var s=i[o],c=n(r,l,s),u=e[s]._subplot;u||(u=a(t,s,!0),e[s]._subplot=u),u.plot(c,e,t._promises)}},clean:function(t,e,r,n){for(var i=n._subplots[l]||[],a=0;a<i.length;a++){var o=i[a],s=n[o]._subplot;if(!e[o]&&s)for(var c in s.framework.remove(),s.clipPaths)s.clipPaths[c].remove()}},toSVG:t("../cartesian").toSVG}},{"../../lib":503,"../cartesian":568,"../get_data":593,"../polar/polar":625,"./constants":627,"./layout_attributes":630,"./layout_defaults":631}],630:[function(t,e,r){"use strict";var n=t("../../components/color/attributes"),i=t("../cartesian/layout_attributes"),a=t("../domain").attributes,o=t("../../lib").extendFlat,s=t("../../plot_api/edit_types").overrideAll,l=s({color:i.color,showline:o({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:o({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth},"plot","from-root"),c=s({ticklen:i.ticklen,tickwidth:o({},i.tickwidth,{dflt:2}),tickcolor:i.tickcolor,showticklabels:i.showticklabels,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,tickfont:i.tickfont,tickformat:i.tickformat,hoverformat:i.hoverformat,layer:i.layer},"plot","from-root"),u=o({visible:o({},i.visible,{dflt:!0}),tickvals:{dflt:[.2,.5,1,2,5],valType:"data_array",editType:"plot"},tickangle:o({},i.tickangle,{dflt:90}),ticks:{valType:"enumerated",values:["top","bottom",""],editType:"ticks"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},editType:"calc"},l,c),f=o({visible:o({},i.visible,{dflt:!0}),tickvals:{valType:"data_array",editType:"plot"},ticks:i.ticks,editType:"calc"},l,c);e.exports={domain:a({name:"smith",editType:"plot"}),bgcolor:{valType:"color",editType:"plot",dflt:n.background},realaxis:u,imaginaryaxis:f,editType:"calc"}},{"../../components/color/attributes":365,"../../lib":503,"../../plot_api/edit_types":536,"../cartesian/layout_attributes":569,"../domain":584}],631:[function(t,e,r){"use strict";var n,i,a,o=t("../../lib"),s=t("../../components/color"),l=t("../../plot_api/plot_template"),c=t("../subplot_defaults"),u=t("../get_data").getSubplotData,f=t("../cartesian/prefix_suffix_defaults"),h=t("../cartesian/tick_label_defaults"),p=t("../cartesian/line_grid_defaults"),d=t("../cartesian/set_convert"),g=t("./layout_attributes"),m=t("./constants"),v=m.axisNames,y=(n=function(t){return t.slice().reverse().map((function(t){return-t})).concat([0]).concat(t)},i=String,a={},function(t){var e=i?i(t):t;if(e in a)return a[e];var r=n(t);return a[e]=r,r});function x(t,e,r,n){var i=r("bgcolor");n.bgColor=s.combine(i,n.paper_bgcolor);var a,c=u(n.fullData,m.name,n.id),x=n.layoutOut;function b(t,e){return r(a+"."+t,e)}for(var _=0;_<v.length;_++){a=v[_],o.isPlainObject(t[a])||(t[a]={});var w=t[a],T=l.newContainer(e,a);T._id=T._name=a,T._attr=n.id+"."+a,T._traceIndices=c.map((function(t){return t._expandedIndex}));var k=b("visible");if(T.type="linear",d(T,x),f(w,T,b,T.type),k){var A,M,S,E,L="realaxis"===a;if(L&&b("side"),L)b("tickvals");else b("tickvals",y(e.realaxis.tickvals||g.realaxis.tickvals.dflt));var C=n.font||{};k&&(M=(A=b("color"))===w.color?A:C.color,S=C.size,E=C.family),h(w,T,b,T.type,{noTicklabelstep:!0,noAng:!L,noExp:!0,font:{color:M,size:S,family:E}}),o.coerce2(t,e,g,a+".ticklen"),o.coerce2(t,e,g,a+".tickwidth"),o.coerce2(t,e,g,a+".tickcolor",e.color),b("ticks")||(delete e[a].ticklen,delete e[a].tickwidth,delete e[a].tickcolor),p(w,T,b,{dfltColor:A,bgColor:n.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:g[a]}),b("layer")}b("hoverformat"),delete T.type,T._input=w}}e.exports=function(t,e,r){c(t,e,r,{noUirevision:!0,type:m.name,attributes:g,handleDefaults:x,font:e.font,paper_bgcolor:e.paper_bgcolor,fullData:r,layoutOut:e})}},{"../../components/color":366,"../../lib":503,"../../plot_api/plot_template":543,"../cartesian/line_grid_defaults":571,"../cartesian/prefix_suffix_defaults":573,"../cartesian/set_convert":576,"../cartesian/tick_label_defaults":578,"../get_data":593,"../subplot_defaults":632,"./constants":627,"./layout_attributes":630}],632:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plot_api/plot_template"),a=t("./domain").defaults;e.exports=function(t,e,r,o){var s,l,c=o.type,u=o.attributes,f=o.handleDefaults,h=o.partition||"x",p=e._subplots[c],d=p.length,g=d&&p[0].replace(/\d+$/,"");function m(t,e){return n.coerce(s,l,u,t,e)}for(var v=0;v<d;v++){var y=p[v];s=t[y]?t[y]:t[y]={},l=i.newContainer(e,y,g),o.noUirevision||m("uirevision",e.uirevision);var x={};x[h]=[v/d,(v+1)/d],a(l,e,m,x),o.id=y,f(s,l,m,o)}}},{"../lib":503,"../plot_api/plot_template":543,"./domain":584}],633:[function(t,e,r){"use strict";var n=t("../constants/docs");n.FORMAT_LINK,n.DATE_FORMAT_LINK;function i(t){var e=t.description?" "+t.description:"",r=t.keys||[];if(r.length>0){for(var n=[],i=0;i<r.length;i++)n[i]="`"+r[i]+"`";e+="Finally, the template string has access to ",e=1===r.length?"variable "+n[0]:"variables "+n.slice(0,-1).join(", ")+" and "+n.slice(-1)+"."}return e}r.hovertemplateAttrs=function(t,e){t=t||{};i(e=e||{});var r={valType:"string",dflt:"",editType:t.editType||"none"};return!1!==t.arrayOk&&(r.arrayOk=!0),r},r.texttemplateAttrs=function(t,e){t=t||{};i(e=e||{});var r={valType:"string",dflt:"",editType:t.editType||"calc"};return!1!==t.arrayOk&&(r.arrayOk=!0),r}},{"../constants/docs":474}],634:[function(t,e,r){"use strict";var n=t("./ternary"),i=t("../../plots/get_data").getSubplotCalcData,a=t("../../lib").counterRegex;r.name="ternary";var o=r.attr="subplot";r.idRoot="ternary",r.idRegex=r.attrRegex=a("ternary"),(r.attributes={})[o]={valType:"subplotid",dflt:"ternary",editType:"calc"},r.layoutAttributes=t("./layout_attributes"),r.supplyLayoutDefaults=t("./layout_defaults"),r.plot=function(t){for(var e=t._fullLayout,r=t.calcdata,a=e._subplots.ternary,o=0;o<a.length;o++){var s=a[o],l=i(r,"ternary",s),c=e[s]._subplot;c||(c=new n({id:s,graphDiv:t,container:e._ternarylayer.node()},e),e[s]._subplot=c),c.plot(l,e,t._promises)}},r.clean=function(t,e,r,n){for(var i=n._subplots.ternary||[],a=0;a<i.length;a++){var o=i[a],s=n[o]._subplot;!e[o]&&s&&(s.plotContainer.remove(),s.clipDef.remove(),s.clipDefRelative.remove(),s.layers["a-title"].remove(),s.layers["b-title"].remove(),s.layers["c-title"].remove())}}},{"../../lib":503,"../../plots/get_data":593,"./layout_attributes":635,"./layout_defaults":636,"./ternary":637}],635:[function(t,e,r){"use strict";var n=t("../../components/color/attributes"),i=t("../domain").attributes,a=t("../cartesian/layout_attributes"),o=t("../../plot_api/edit_types").overrideAll,s=t("../../lib/extend").extendFlat,l={title:{text:a.title.text,font:a.title.font},color:a.color,tickmode:a.tickmode,nticks:s({},a.nticks,{dflt:6,min:1}),tick0:a.tick0,dtick:a.dtick,tickvals:a.tickvals,ticktext:a.ticktext,ticks:a.ticks,ticklen:a.ticklen,tickwidth:a.tickwidth,tickcolor:a.tickcolor,ticklabelstep:a.ticklabelstep,showticklabels:a.showticklabels,showtickprefix:a.showtickprefix,tickprefix:a.tickprefix,showticksuffix:a.showticksuffix,ticksuffix:a.ticksuffix,showexponent:a.showexponent,exponentformat:a.exponentformat,minexponent:a.minexponent,separatethousands:a.separatethousands,tickfont:a.tickfont,tickangle:a.tickangle,tickformat:a.tickformat,tickformatstops:a.tickformatstops,hoverformat:a.hoverformat,showline:s({},a.showline,{dflt:!0}),linecolor:a.linecolor,linewidth:a.linewidth,showgrid:s({},a.showgrid,{dflt:!0}),gridcolor:a.gridcolor,gridwidth:a.gridwidth,layer:a.layer,min:{valType:"number",dflt:0,min:0},_deprecated:{title:a._deprecated.title,titlefont:a._deprecated.titlefont}},c=e.exports=o({domain:i({name:"ternary"}),bgcolor:{valType:"color",dflt:n.background},sum:{valType:"number",dflt:1,min:0},aaxis:l,baxis:l,caxis:l},"plot","from-root");c.uirevision={valType:"any",editType:"none"},c.aaxis.uirevision=c.baxis.uirevision=c.caxis.uirevision={valType:"any",editType:"none"}},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plot_api/edit_types":536,"../cartesian/layout_attributes":569,"../domain":584}],636:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../../plot_api/plot_template"),a=t("../../lib"),o=t("../subplot_defaults"),s=t("../cartesian/tick_label_defaults"),l=t("../cartesian/prefix_suffix_defaults"),c=t("../cartesian/tick_mark_defaults"),u=t("../cartesian/tick_value_defaults"),f=t("../cartesian/line_grid_defaults"),h=t("./layout_attributes"),p=["aaxis","baxis","caxis"];function d(t,e,r,a){var o,s,l,c=r("bgcolor"),u=r("sum");a.bgColor=n.combine(c,a.paper_bgcolor);for(var f=0;f<p.length;f++)s=t[o=p[f]]||{},(l=i.newContainer(e,o))._name=o,g(s,l,a,e);var h=e.aaxis,d=e.baxis,m=e.caxis;h.min+d.min+m.min>=u&&(h.min=0,d.min=0,m.min=0,t.aaxis&&delete t.aaxis.min,t.baxis&&delete t.baxis.min,t.caxis&&delete t.caxis.min)}function g(t,e,r,n){var i=h[e._name];function o(r,n){return a.coerce(t,e,i,r,n)}o("uirevision",n.uirevision),e.type="linear";var p=o("color"),d=p!==i.color.dflt?p:r.font.color,g=e._name.charAt(0).toUpperCase(),m="Component "+g,v=o("title.text",m);e._hovertitle=v===m?v:g,a.coerceFont(o,"title.font",{family:r.font.family,size:a.bigFont(r.font.size),color:d}),o("min"),u(t,e,o,"linear"),l(t,e,o,"linear"),s(t,e,o,"linear"),c(t,e,o,{outerTicks:!0}),o("showticklabels")&&(a.coerceFont(o,"tickfont",{family:r.font.family,size:r.font.size,color:d}),o("tickangle"),o("tickformat")),f(t,e,o,{dfltColor:p,bgColor:r.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:i}),o("hoverformat"),o("layer")}e.exports=function(t,e,r){o(t,e,r,{type:"ternary",attributes:h,handleDefaults:d,font:e.font,paper_bgcolor:e.paper_bgcolor})}},{"../../components/color":366,"../../lib":503,"../../plot_api/plot_template":543,"../cartesian/line_grid_defaults":571,"../cartesian/prefix_suffix_defaults":573,"../cartesian/tick_label_defaults":578,"../cartesian/tick_mark_defaults":579,"../cartesian/tick_value_defaults":580,"../subplot_defaults":632,"./layout_attributes":635}],637:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("tinycolor2"),a=t("../../registry"),o=t("../../lib"),s=o.strTranslate,l=o._,c=t("../../components/color"),u=t("../../components/drawing"),f=t("../cartesian/set_convert"),h=t("../../lib/extend").extendFlat,p=t("../plots"),d=t("../cartesian/axes"),g=t("../../components/dragelement"),m=t("../../components/fx"),v=t("../../components/dragelement/helpers"),y=v.freeMode,x=v.rectMode,b=t("../../components/titles"),_=t("../cartesian/select").prepSelect,w=t("../cartesian/select").selectOnClick,T=t("../cartesian/select").clearSelect,k=t("../cartesian/select").clearSelectionsCache,A=t("../cartesian/constants");function M(t,e){this.id=t.id,this.graphDiv=t.graphDiv,this.init(e),this.makeFramework(e),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}e.exports=M;var S=M.prototype;S.init=function(t){this.container=t._ternarylayer,this.defs=t._defs,this.layoutId=t._uid,this.traceHash={},this.layers={}},S.plot=function(t,e){var r=e[this.id],n=e._size;this._hasClipOnAxisFalse=!1;for(var i=0;i<t.length;i++){if(!1===t[i][0].trace.cliponaxis){this._hasClipOnAxisFalse=!0;break}}this.updateLayers(r),this.adjustLayout(r,n),p.generalUpdatePerTraceModule(this.graphDiv,this,t,r),this.layers.plotbg.select("path").call(c.fill,r.bgcolor)},S.makeFramework=function(t){var e=this.graphDiv,r=t[this.id],n=this.clipId="clip"+this.layoutId+this.id,i=this.clipIdRelative="clip-relative"+this.layoutId+this.id;this.clipDef=o.ensureSingleById(t._clips,"clipPath",n,(function(t){t.append("path").attr("d","M0,0Z")})),this.clipDefRelative=o.ensureSingleById(t._clips,"clipPath",i,(function(t){t.append("path").attr("d","M0,0Z")})),this.plotContainer=o.ensureSingle(this.container,"g",this.id),this.updateLayers(r),u.setClipUrl(this.layers.backplot,n,e),u.setClipUrl(this.layers.grids,n,e)},S.updateLayers=function(t){var e=this.layers,r=["draglayer","plotbg","backplot","grids"];"below traces"===t.aaxis.layer&&r.push("aaxis","aline"),"below traces"===t.baxis.layer&&r.push("baxis","bline"),"below traces"===t.caxis.layer&&r.push("caxis","cline"),r.push("frontplot"),"above traces"===t.aaxis.layer&&r.push("aaxis","aline"),"above traces"===t.baxis.layer&&r.push("baxis","bline"),"above traces"===t.caxis.layer&&r.push("caxis","cline");var i=this.plotContainer.selectAll("g.toplevel").data(r,String),a=["agrid","bgrid","cgrid"];i.enter().append("g").attr("class",(function(t){return"toplevel "+t})).each((function(t){var r=n.select(this);e[t]=r,"frontplot"===t?r.append("g").classed("scatterlayer",!0):"backplot"===t?r.append("g").classed("maplayer",!0):"plotbg"===t?r.append("path").attr("d","M0,0Z"):"aline"===t||"bline"===t||"cline"===t?r.append("path"):"grids"===t&&a.forEach((function(t){e[t]=r.append("g").classed("grid "+t,!0)}))})),i.order()};var E=Math.sqrt(4/3);S.adjustLayout=function(t,e){var r,n,i,a,o,l,p=this,d=t.domain,g=(d.x[0]+d.x[1])/2,m=(d.y[0]+d.y[1])/2,v=d.x[1]-d.x[0],y=d.y[1]-d.y[0],x=v*e.w,b=y*e.h,_=t.sum,w=t.aaxis.min,T=t.baxis.min,k=t.caxis.min;x>E*b?i=(a=b)*E:a=(i=x)/E,o=v*i/x,l=y*a/b,r=e.l+e.w*g-i/2,n=e.t+e.h*(1-m)-a/2,p.x0=r,p.y0=n,p.w=i,p.h=a,p.sum=_,p.xaxis={type:"linear",range:[w+2*k-_,_-w-2*T],domain:[g-o/2,g+o/2],_id:"x"},f(p.xaxis,p.graphDiv._fullLayout),p.xaxis.setScale(),p.xaxis.isPtWithinRange=function(t){return t.a>=p.aaxis.range[0]&&t.a<=p.aaxis.range[1]&&t.b>=p.baxis.range[1]&&t.b<=p.baxis.range[0]&&t.c>=p.caxis.range[1]&&t.c<=p.caxis.range[0]},p.yaxis={type:"linear",range:[w,_-T-k],domain:[m-l/2,m+l/2],_id:"y"},f(p.yaxis,p.graphDiv._fullLayout),p.yaxis.setScale(),p.yaxis.isPtWithinRange=function(){return!0};var A=p.yaxis.domain[0],M=p.aaxis=h({},t.aaxis,{range:[w,_-T-k],side:"left",tickangle:(+t.aaxis.tickangle||0)-30,domain:[A,A+l*E],anchor:"free",position:0,_id:"y",_length:i});f(M,p.graphDiv._fullLayout),M.setScale();var S=p.baxis=h({},t.baxis,{range:[_-w-k,T],side:"bottom",domain:p.xaxis.domain,anchor:"free",position:0,_id:"x",_length:i});f(S,p.graphDiv._fullLayout),S.setScale();var L=p.caxis=h({},t.caxis,{range:[_-w-T,k],side:"right",tickangle:(+t.caxis.tickangle||0)+30,domain:[A,A+l*E],anchor:"free",position:0,_id:"y",_length:i});f(L,p.graphDiv._fullLayout),L.setScale();var C="M"+r+","+(n+a)+"h"+i+"l-"+i/2+",-"+a+"Z";p.clipDef.select("path").attr("d",C),p.layers.plotbg.select("path").attr("d",C);var P="M0,"+a+"h"+i+"l-"+i/2+",-"+a+"Z";p.clipDefRelative.select("path").attr("d",P);var I=s(r,n);p.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",I),p.clipDefRelative.select("path").attr("transform",null);var O=s(r-S._offset,n+a);p.layers.baxis.attr("transform",O),p.layers.bgrid.attr("transform",O);var z=s(r+i/2,n)+"rotate(30)"+s(0,-M._offset);p.layers.aaxis.attr("transform",z),p.layers.agrid.attr("transform",z);var D=s(r+i/2,n)+"rotate(-30)"+s(0,-L._offset);p.layers.caxis.attr("transform",D),p.layers.cgrid.attr("transform",D),p.drawAxes(!0),p.layers.aline.select("path").attr("d",M.showline?"M"+r+","+(n+a)+"l"+i/2+",-"+a:"M0,0").call(c.stroke,M.linecolor||"#000").style("stroke-width",(M.linewidth||0)+"px"),p.layers.bline.select("path").attr("d",S.showline?"M"+r+","+(n+a)+"h"+i:"M0,0").call(c.stroke,S.linecolor||"#000").style("stroke-width",(S.linewidth||0)+"px"),p.layers.cline.select("path").attr("d",L.showline?"M"+(r+i/2)+","+n+"l"+i/2+","+a:"M0,0").call(c.stroke,L.linecolor||"#000").style("stroke-width",(L.linewidth||0)+"px"),p.graphDiv._context.staticPlot||p.initInteractions(),u.setClipUrl(p.layers.frontplot,p._hasClipOnAxisFalse?null:p.clipId,p.graphDiv)},S.drawAxes=function(t){var e=this.graphDiv,r=this.id.substr(7)+"title",n=this.layers,i=this.aaxis,a=this.baxis,o=this.caxis;if(this.drawAx(i),this.drawAx(a),this.drawAx(o),t){var s=Math.max(i.showticklabels?i.tickfont.size/2:0,(o.showticklabels?.75*o.tickfont.size:0)+("outside"===o.ticks?.87*o.ticklen:0)),c=(a.showticklabels?a.tickfont.size:0)+("outside"===a.ticks?a.ticklen:0)+3;n["a-title"]=b.draw(e,"a"+r,{propContainer:i,propName:this.id+".aaxis.title",placeholder:l(e,"Click to enter Component A title"),attributes:{x:this.x0+this.w/2,y:this.y0-i.title.font.size/3-s,"text-anchor":"middle"}}),n["b-title"]=b.draw(e,"b"+r,{propContainer:a,propName:this.id+".baxis.title",placeholder:l(e,"Click to enter Component B title"),attributes:{x:this.x0-c,y:this.y0+this.h+.83*a.title.font.size+c,"text-anchor":"middle"}}),n["c-title"]=b.draw(e,"c"+r,{propContainer:o,propName:this.id+".caxis.title",placeholder:l(e,"Click to enter Component C title"),attributes:{x:this.x0+this.w+c,y:this.y0+this.h+.83*o.title.font.size+c,"text-anchor":"middle"}})}},S.drawAx=function(t){var e,r=this.graphDiv,n=t._name,i=n.charAt(0),a=t._id,s=this.layers[n],l=i+"tickLayout",c=(e=t).ticks+String(e.ticklen)+String(e.showticklabels);this[l]!==c&&(s.selectAll("."+a+"tick").remove(),this[l]=c),t.setScale();var u=d.calcTicks(t),f=d.clipEnds(t,u),h=d.makeTransTickFn(t),p=d.getTickSigns(t)[2],g=o.deg2rad(30),m=p*(t.linewidth||1)/2,v=p*t.ticklen,y=this.w,x=this.h,b="b"===i?"M0,"+m+"l"+Math.sin(g)*v+","+Math.cos(g)*v:"M"+m+",0l"+Math.cos(g)*v+","+-Math.sin(g)*v,_={a:"M0,0l"+x+",-"+y/2,b:"M0,0l-"+y/2+",-"+x,c:"M0,0l-"+x+","+y/2}[i];d.drawTicks(r,t,{vals:"inside"===t.ticks?f:u,layer:s,path:b,transFn:h,crisp:!1}),d.drawGrid(r,t,{vals:f,layer:this.layers[i+"grid"],path:_,transFn:h,crisp:!1}),d.drawLabels(r,t,{vals:u,layer:s,transFn:h,labelFns:d.makeLabelFns(t,0,30)})};var L=A.MINZOOM/2+.87,C="m-0.87,.5h"+L+"v3h-"+(L+5.2)+"l"+(L/2+2.6)+",-"+(.87*L+4.5)+"l2.6,1.5l-"+L/2+","+.87*L+"Z",P="m0.87,.5h-"+L+"v3h"+(L+5.2)+"l-"+(L/2+2.6)+",-"+(.87*L+4.5)+"l-2.6,1.5l"+L/2+","+.87*L+"Z",I="m0,1l"+L/2+","+.87*L+"l2.6,-1.5l-"+(L/2+2.6)+",-"+(.87*L+4.5)+"l-"+(L/2+2.6)+","+(.87*L+4.5)+"l2.6,1.5l"+L/2+",-"+.87*L+"Z",O=!0;function z(t){n.select(t).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}S.clearSelect=function(){k(this.dragOptions),T(this.dragOptions.gd)},S.initInteractions=function(){var t,e,r,n,f,h,p,d,v,b,T,k,M=this,S=M.layers.plotbg.select("path").node(),L=M.graphDiv,D=L._fullLayout._zoomlayer;function R(t){var e={};return e[M.id+".aaxis.min"]=t.a,e[M.id+".baxis.min"]=t.b,e[M.id+".caxis.min"]=t.c,e}function F(t,e){var r=L._fullLayout.clickmode;z(L),2===t&&(L.emit("plotly_doubleclick",null),a.call("_guiRelayout",L,R({a:0,b:0,c:0}))),r.indexOf("select")>-1&&1===t&&w(e,L,[M.xaxis],[M.yaxis],M.id,M.dragOptions),r.indexOf("event")>-1&&m.click(L,e,M.id)}function B(t,e){return 1-e/M.h}function N(t,e){return 1-(t+(M.h-e)/Math.sqrt(3))/M.w}function j(t,e){return(t-(M.h-e)/Math.sqrt(3))/M.w}function U(i,a){var o=r+i*t,s=n+a*e,l=Math.max(0,Math.min(1,B(0,n),B(0,s))),c=Math.max(0,Math.min(1,N(r,n),N(o,s))),u=Math.max(0,Math.min(1,j(r,n),j(o,s))),g=(l/2+u)*M.w,m=(1-l/2-c)*M.w,y=(g+m)/2,x=m-g,_=(1-l)*M.h,w=_-x/E;x<A.MINZOOM?(p=f,T.attr("d",v),k.attr("d","M0,0Z")):(p={a:f.a+l*h,b:f.b+c*h,c:f.c+u*h},T.attr("d",v+"M"+g+","+_+"H"+m+"L"+y+","+w+"L"+g+","+_+"Z"),k.attr("d","M"+r+","+n+"m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2ZM"+g+","+_+C+"M"+m+","+_+P+"M"+y+","+w+I)),b||(T.transition().style("fill",d>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),k.transition().style("opacity",1).duration(200),b=!0),L.emit("plotly_relayouting",R(p))}function V(){z(L),p!==f&&(a.call("_guiRelayout",L,R(p)),O&&L.data&&L._context.showTips&&(o.notifier(l(L,"Double-click to zoom back out"),"long"),O=!1))}function H(t,e){var r=t/M.xaxis._m,n=e/M.yaxis._m,i=[(p={a:f.a-n,b:f.b+(r+n)/2,c:f.c-(r-n)/2}).a,p.b,p.c].sort(o.sorterAsc),a=i.indexOf(p.a),l=i.indexOf(p.b),c=i.indexOf(p.c);i[0]<0&&(i[1]+i[0]/2<0?(i[2]+=i[0]+i[1],i[0]=i[1]=0):(i[2]+=i[0]/2,i[1]+=i[0]/2,i[0]=0),p={a:i[a],b:i[l],c:i[c]},e=(f.a-p.a)*M.yaxis._m,t=(f.c-p.c-f.b+p.b)*M.xaxis._m);var h=s(M.x0+t,M.y0+e);M.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",h);var d=s(-t,-e);M.clipDefRelative.select("path").attr("transform",d),M.aaxis.range=[p.a,M.sum-p.b-p.c],M.baxis.range=[M.sum-p.a-p.c,p.b],M.caxis.range=[M.sum-p.a-p.b,p.c],M.drawAxes(!1),M._hasClipOnAxisFalse&&M.plotContainer.select(".scatterlayer").selectAll(".trace").call(u.hideOutsideRangePoints,M),L.emit("plotly_relayouting",R(p))}function q(){a.call("_guiRelayout",L,R(p))}this.dragOptions={element:S,gd:L,plotinfo:{id:M.id,domain:L._fullLayout[M.id].domain,xaxis:M.xaxis,yaxis:M.yaxis},subplot:M.id,prepFn:function(a,l,u){M.dragOptions.xaxes=[M.xaxis],M.dragOptions.yaxes=[M.yaxis],t=L._fullLayout._invScaleX,e=L._fullLayout._invScaleY;var g=M.dragOptions.dragmode=L._fullLayout.dragmode;y(g)?M.dragOptions.minDrag=1:M.dragOptions.minDrag=void 0,"zoom"===g?(M.dragOptions.moveFn=U,M.dragOptions.clickFn=F,M.dragOptions.doneFn=V,function(t,e,a){var l=S.getBoundingClientRect();r=e-l.left,n=a-l.top,L._fullLayout._calcInverseTransform(L);var u=L._fullLayout._invTransform,g=o.apply3DTransform(u)(r,n);r=g[0],n=g[1],f={a:M.aaxis.range[0],b:M.baxis.range[1],c:M.caxis.range[1]},p=f,h=M.aaxis.range[1]-f.a,d=i(M.graphDiv._fullLayout[M.id].bgcolor).getLuminance(),v="M0,"+M.h+"L"+M.w/2+", 0L"+M.w+","+M.h+"Z",b=!1,T=D.append("path").attr("class","zoombox").attr("transform",s(M.x0,M.y0)).style({fill:d>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",v),k=D.append("path").attr("class","zoombox-corners").attr("transform",s(M.x0,M.y0)).style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),M.clearSelect(L)}(0,l,u)):"pan"===g?(M.dragOptions.moveFn=H,M.dragOptions.clickFn=F,M.dragOptions.doneFn=q,f={a:M.aaxis.range[0],b:M.baxis.range[1],c:M.caxis.range[1]},p=f,M.clearSelect(L)):(x(g)||y(g))&&_(a,l,u,M.dragOptions,g)}},S.onmousemove=function(t){m.hover(L,t,M.id),L._fullLayout._lasthover=S,L._fullLayout._hoversubplot=M.id},S.onmouseout=function(t){L._dragging||g.unhover(L,t)},g.init(this.dragOptions)}},{"../../components/color":366,"../../components/dragelement":385,"../../components/dragelement/helpers":384,"../../components/drawing":388,"../../components/fx":406,"../../components/titles":464,"../../lib":503,"../../lib/extend":493,"../../registry":638,"../cartesian/axes":554,"../cartesian/constants":561,"../cartesian/select":575,"../cartesian/set_convert":576,"../plots":619,"@plotly/d3":58,tinycolor2:312}],638:[function(t,e,r){"use strict";var n=t("./lib/loggers"),i=t("./lib/noop"),a=t("./lib/push_unique"),o=t("./lib/is_plain_object"),s=t("./lib/dom").addStyleRule,l=t("./lib/extend"),c=t("./plots/attributes"),u=t("./plots/layout_attributes"),f=l.extendFlat,h=l.extendDeepAll;function p(t){var e=t.name,i=t.categories,a=t.meta;if(r.modules[e])n.log("Type "+e+" already registered");else{r.subplotsRegistry[t.basePlotModule.name]||function(t){var e=t.name;if(r.subplotsRegistry[e])return void n.log("Plot type "+e+" already registered.");for(var i in v(t),r.subplotsRegistry[e]=t,r.componentsRegistry)b(i,t.name)}(t.basePlotModule);for(var o={},l=0;l<i.length;l++)o[i[l]]=!0,r.allCategories[i[l]]=!0;for(var c in r.modules[e]={_module:t,categories:o},a&&Object.keys(a).length&&(r.modules[e].meta=a),r.allTypes.push(e),r.componentsRegistry)y(c,e);t.layoutAttributes&&f(r.traceLayoutAttributes,t.layoutAttributes);var u=t.basePlotModule,h=u.name;if("mapbox"===h){var p=u.constants.styleRules;for(var d in p)s(".js-plotly-plot .plotly .mapboxgl-"+d,p[d])}"geo"!==h&&"mapbox"!==h||void 0===typeof window||void 0!==window.PlotlyGeoAssets||(window.PlotlyGeoAssets={topojson:{}})}}function d(t){if("string"!=typeof t.name)throw new Error("Component module *name* must be a string.");var e=t.name;for(var n in r.componentsRegistry[e]=t,t.layoutAttributes&&(t.layoutAttributes._isLinkedToArray&&a(r.layoutArrayContainers,e),v(t)),r.modules)y(e,n);for(var i in r.subplotsRegistry)b(e,i);for(var o in r.transformsRegistry)x(e,o);t.schema&&t.schema.layout&&h(u,t.schema.layout)}function g(t){if("string"!=typeof t.name)throw new Error("Transform module *name* must be a string.");var e="Transform module "+t.name,i="function"==typeof t.transform,a="function"==typeof t.calcTransform;if(!i&&!a)throw new Error(e+" is missing a *transform* or *calcTransform* method.");for(var s in i&&a&&n.log([e+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),o(t.attributes)||n.log(e+" registered without an *attributes* object."),"function"!=typeof t.supplyDefaults&&n.log(e+" registered without a *supplyDefaults* method."),r.transformsRegistry[t.name]=t,r.componentsRegistry)x(s,t.name)}function m(t){var e=t.name,n=e.split("-")[0],i=t.dictionary,a=t.format,o=i&&Object.keys(i).length,s=a&&Object.keys(a).length,l=r.localeRegistry,c=l[e];if(c||(l[e]=c={}),n!==e){var u=l[n];u||(l[n]=u={}),o&&u.dictionary===c.dictionary&&(u.dictionary=i),s&&u.format===c.format&&(u.format=a)}o&&(c.dictionary=i),s&&(c.format=a)}function v(t){if(t.layoutAttributes){var e=t.layoutAttributes._arrayAttrRegexps;if(e)for(var n=0;n<e.length;n++)a(r.layoutArrayRegexes,e[n])}}function y(t,e){var n=r.componentsRegistry[t].schema;if(n&&n.traces){var i=n.traces[e];i&&h(r.modules[e]._module.attributes,i)}}function x(t,e){var n=r.componentsRegistry[t].schema;if(n&&n.transforms){var i=n.transforms[e];i&&h(r.transformsRegistry[e].attributes,i)}}function b(t,e){var n=r.componentsRegistry[t].schema;if(n&&n.subplots){var i=r.subplotsRegistry[e],a=i.layoutAttributes,o="subplot"===i.attr?i.name:i.attr;Array.isArray(o)&&(o=o[0]);var s=n.subplots[o];a&&s&&h(a,s)}}function _(t){return"object"==typeof t&&(t=t.type),t}r.modules={},r.allCategories={},r.allTypes=[],r.subplotsRegistry={},r.transformsRegistry={},r.componentsRegistry={},r.layoutArrayContainers=[],r.layoutArrayRegexes=[],r.traceLayoutAttributes={},r.localeRegistry={},r.apiMethodRegistry={},r.collectableSubplotTypes=null,r.register=function(t){if(r.collectableSubplotTypes=null,!t)throw new Error("No argument passed to Plotly.register.");t&&!Array.isArray(t)&&(t=[t]);for(var e=0;e<t.length;e++){var n=t[e];if(!n)throw new Error("Invalid module was attempted to be registered!");switch(n.moduleType){case"trace":p(n);break;case"transform":g(n);break;case"component":d(n);break;case"locale":m(n);break;case"apiMethod":var i=n.name;r.apiMethodRegistry[i]=n.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},r.getModule=function(t){var e=r.modules[_(t)];return!!e&&e._module},r.traceIs=function(t,e){if("various"===(t=_(t)))return!1;var i=r.modules[t];return i||(t&&n.log("Unrecognized trace type "+t+"."),i=r.modules[c.type.dflt]),!!i.categories[e]},r.getTransformIndices=function(t,e){for(var r=[],n=t.transforms||[],i=0;i<n.length;i++)n[i].type===e&&r.push(i);return r},r.hasTransform=function(t,e){for(var r=t.transforms||[],n=0;n<r.length;n++)if(r[n].type===e)return!0;return!1},r.getComponentMethod=function(t,e){var n=r.componentsRegistry[t];return n&&n[e]||i},r.call=function(){var t=arguments[0],e=[].slice.call(arguments,1);return r.apiMethodRegistry[t].apply(null,e)}},{"./lib/dom":491,"./lib/extend":493,"./lib/is_plain_object":504,"./lib/loggers":507,"./lib/noop":512,"./lib/push_unique":518,"./plots/attributes":550,"./plots/layout_attributes":610}],639:[function(t,e,r){"use strict";var n=t("../registry"),i=t("../lib"),a=i.extendFlat,o=i.extendDeep;function s(t){var e;switch(t){case"themes__thumb":e={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":e={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:e={}}return e}e.exports=function(t,e){var r,i,l=t.data,c=t.layout,u=o([],l),f=o({},c,s(e.tileClass)),h=t._context||{};if(e.width&&(f.width=e.width),e.height&&(f.height=e.height),"thumbnail"===e.tileClass||"themes__thumb"===e.tileClass){f.annotations=[];var p=Object.keys(f);for(r=0;r<p.length;r++)i=p[r],["xaxis","yaxis","zaxis"].indexOf(i.slice(0,5))>-1&&(f[p[r]].title={text:""});for(r=0;r<u.length;r++){var d=u[r];d.showscale=!1,d.marker&&(d.marker.showscale=!1),n.traceIs(d,"pie-like")&&(d.textposition="none")}}if(Array.isArray(e.annotations))for(r=0;r<e.annotations.length;r++)f.annotations.push(e.annotations[r]);var g=Object.keys(f).filter((function(t){return t.match(/^scene\d*$/)}));if(g.length){var m={};for("thumbnail"===e.tileClass&&(m={title:{text:""},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),r=0;r<g.length;r++){var v=f[g[r]];v.xaxis||(v.xaxis={}),v.yaxis||(v.yaxis={}),v.zaxis||(v.zaxis={}),a(v.xaxis,m),a(v.yaxis,m),a(v.zaxis,m),v._scene=null}}var y=document.createElement("div");e.tileClass&&(y.className=e.tileClass);var x={gd:y,td:y,layout:f,data:u,config:{staticPlot:void 0===e.staticPlot||e.staticPlot,plotGlPixelRatio:void 0===e.plotGlPixelRatio?2:e.plotGlPixelRatio,displaylogo:e.displaylogo||!1,showLink:e.showLink||!1,showTips:e.showTips||!1,mapboxAccessToken:h.mapboxAccessToken}};return"transparent"!==e.setBackground&&(x.config.setBackground=e.setBackground||"opaque"),x.gd.defaultLayout=s(e.tileClass),x}},{"../lib":503,"../registry":638}],640:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plot_api/to_image"),a=t("./filesaver"),o=t("./helpers");e.exports=function(t,e){var r;return n.isPlainObject(t)||(r=n.getGraphDiv(t)),(e=e||{}).format=e.format||"png",e.width=e.width||null,e.height=e.height||null,e.imageDataOnly=!0,new Promise((function(s,l){r&&r._snapshotInProgress&&l(new Error("Snapshotting already in progress.")),n.isIE()&&"svg"!==e.format&&l(new Error(o.MSG_IE_BAD_FORMAT)),r&&(r._snapshotInProgress=!0);var c=i(t,e),u=e.filename||t.fn||"newplot";u+="."+e.format.replace("-","."),c.then((function(t){return r&&(r._snapshotInProgress=!1),a(t,u,e.format)})).then((function(t){s(t)})).catch((function(t){r&&(r._snapshotInProgress=!1),l(t)}))}))}},{"../lib":503,"../plot_api/to_image":546,"./filesaver":641,"./helpers":642}],641:[function(t,e,r){"use strict";var n=t("../lib"),i=t("./helpers");e.exports=function(t,e,r){var a=document.createElement("a"),o="download"in a;return new Promise((function(s,l){var c,u;if(n.isIE())return c=i.createBlob(t,"svg"),window.navigator.msSaveBlob(c,e),c=null,s(e);if(o)return c=i.createBlob(t,r),u=i.createObjectURL(c),a.href=u,a.download=e,document.body.appendChild(a),a.click(),document.body.removeChild(a),i.revokeObjectURL(u),c=null,s(e);if(n.isSafari()){var f="svg"===r?",":";base64,";return i.octetStream(f+encodeURIComponent(t)),s(e)}l(new Error("download error"))}))}},{"../lib":503,"./helpers":642}],642:[function(t,e,r){"use strict";var n=t("../registry");r.getDelay=function(t){return t._has&&(t._has("gl3d")||t._has("gl2d")||t._has("mapbox"))?500:0},r.getRedrawFunc=function(t){return function(){n.getComponentMethod("colorbar","draw")(t)}},r.encodeSVG=function(t){return"data:image/svg+xml,"+encodeURIComponent(t)},r.encodeJSON=function(t){return"data:application/json,"+encodeURIComponent(t)};var i=window.URL||window.webkitURL;r.createObjectURL=function(t){return i.createObjectURL(t)},r.revokeObjectURL=function(t){return i.revokeObjectURL(t)},r.createBlob=function(t,e){if("svg"===e)return new window.Blob([t],{type:"image/svg+xml;charset=utf-8"});if("full-json"===e)return new window.Blob([t],{type:"application/json;charset=utf-8"});var r=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r),i=0;i<e;i++)n[i]=t.charCodeAt(i);return r}(window.atob(t));return new window.Blob([r],{type:"image/"+e})},r.octetStream=function(t){document.location.href="data:application/octet-stream"+t},r.IMAGE_URL_PREFIX=/^data:image\/\w+;base64,/,r.MSG_IE_BAD_FORMAT="Sorry IE does not support downloading from canvas. Try {format:'svg'} instead."},{"../registry":638}],643:[function(t,e,r){"use strict";var n=t("./helpers"),i={getDelay:n.getDelay,getRedrawFunc:n.getRedrawFunc,clone:t("./cloneplot"),toSVG:t("./tosvg"),svgToImg:t("./svgtoimg"),toImage:t("./toimage"),downloadImage:t("./download")};e.exports=i},{"./cloneplot":639,"./download":640,"./helpers":642,"./svgtoimg":644,"./toimage":645,"./tosvg":646}],644:[function(t,e,r){"use strict";var n=t("../lib"),i=t("events").EventEmitter,a=t("./helpers");e.exports=function(t){var e=t.emitter||new i,r=new Promise((function(i,o){var s=window.Image,l=t.svg,c=t.format||"png";if(n.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),t.promise?r:e.emit("error",u)}var f,h,p=t.canvas,d=t.scale||1,g=t.width||300,m=t.height||150,v=d*g,y=d*m,x=p.getContext("2d"),b=new s;"svg"===c||n.isSafari()?h=a.encodeSVG(l):(f=a.createBlob(l,"svg"),h=a.createObjectURL(f)),p.width=v,p.height=y,b.onload=function(){var r;switch(f=null,a.revokeObjectURL(h),"svg"!==c&&x.drawImage(b,0,0,v,y),c){case"jpeg":r=p.toDataURL("image/jpeg");break;case"png":r=p.toDataURL("image/png");break;case"webp":r=p.toDataURL("image/webp");break;case"svg":r=h;break;default:var n="Image format is not jpeg, png, svg or webp.";if(o(new Error(n)),!t.promise)return e.emit("error",n)}i(r),t.promise||e.emit("success",r)},b.onerror=function(r){if(f=null,a.revokeObjectURL(h),o(r),!t.promise)return e.emit("error",r)},b.src=h}));return t.promise?r:e}},{"../lib":503,"./helpers":642,events:84}],645:[function(t,e,r){"use strict";var n=t("events").EventEmitter,i=t("../registry"),a=t("../lib"),o=t("./helpers"),s=t("./cloneplot"),l=t("./tosvg"),c=t("./svgtoimg");e.exports=function(t,e){var r=new n,u=s(t,{format:"png"}),f=u.gd;f.style.position="absolute",f.style.left="-5000px",document.body.appendChild(f);var h=o.getRedrawFunc(f);return i.call("_doPlot",f,u.data,u.layout,u.config).then(h).then((function(){var t=o.getDelay(f._fullLayout);setTimeout((function(){var t=l(f),n=document.createElement("canvas");n.id=a.randstr(),(r=c({format:e.format,width:f._fullLayout.width,height:f._fullLayout.height,canvas:n,emitter:r,svg:t})).clean=function(){f&&document.body.removeChild(f)}}),t)})).catch((function(t){r.emit("error",t)})),r}},{"../lib":503,"../registry":638,"./cloneplot":639,"./helpers":642,"./svgtoimg":644,"./tosvg":646,events:84}],646:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../lib"),a=t("../components/drawing"),o=t("../components/color"),s=t("../constants/xmlns_namespaces"),l=/"/g,c=new RegExp('("TOBESTRIPPED)|(TOBESTRIPPED")',"g");e.exports=function(t,e,r){var u,f,h=t._fullLayout,p=h._paper,d=h._toppaper,g=h.width,m=h.height;p.insert("rect",":first-child").call(a.setRect,0,0,g,m).call(o.fill,h.paper_bgcolor);var v=h._basePlotModules||[];for(u=0;u<v.length;u++){var y=v[u];y.toSVG&&y.toSVG(t)}if(d){var x=d.node().childNodes,b=Array.prototype.slice.call(x);for(u=0;u<b.length;u++){var _=b[u];_.childNodes.length&&p.node().appendChild(_)}}h._draggers&&h._draggers.remove(),p.node().style.background="",p.selectAll("text").attr({"data-unformatted":null,"data-math":null}).each((function(){var t=n.select(this);if("hidden"!==this.style.visibility&&"none"!==this.style.display){t.style({visibility:null,display:null});var e=this.style.fontFamily;e&&-1!==e.indexOf('"')&&t.style("font-family",e.replace(l,"TOBESTRIPPED"))}else t.remove()}));var w=[];if(h._gradientUrlQueryParts)for(f in h._gradientUrlQueryParts)w.push(f);if(h._patternUrlQueryParts)for(f in h._patternUrlQueryParts)w.push(f);w.length&&p.selectAll(w.join(",")).each((function(){var t=n.select(this),e=this.style.fill;e&&-1!==e.indexOf("url(")&&t.style("fill",e.replace(l,"TOBESTRIPPED"));var r=this.style.stroke;r&&-1!==r.indexOf("url(")&&t.style("stroke",r.replace(l,"TOBESTRIPPED"))})),"pdf"!==e&&"eps"!==e||p.selectAll("#MathJax_SVG_glyphs path").attr("stroke-width",0),p.node().setAttributeNS(s.xmlns,"xmlns",s.svg),p.node().setAttributeNS(s.xmlns,"xmlns:xlink",s.xlink),"svg"===e&&r&&(p.attr("width",r*g),p.attr("height",r*m),p.attr("viewBox","0 0 "+g+" "+m));var T=(new window.XMLSerializer).serializeToString(p.node());return T=function(t){var e=n.select("body").append("div").style({display:"none"}).html(""),r=t.replace(/(&[^;]*;)/gi,(function(t){return"&lt;"===t?"&#60;":"&rt;"===t?"&#62;":-1!==t.indexOf("<")||-1!==t.indexOf(">")?"":e.html(t).text()}));return e.remove(),r}(T),T=(T=T.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&amp;")).replace(c,"'"),i.isIE()&&(T=(T=(T=T.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),T}},{"../components/color":366,"../components/drawing":388,"../constants/xmlns_namespaces":480,"../lib":503,"@plotly/d3":58}],647:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){for(var r=0;r<t.length;r++)t[r].i=r;n.mergeArray(e.text,t,"tx"),n.mergeArray(e.hovertext,t,"htx");var i=e.marker;if(i){n.mergeArray(i.opacity,t,"mo",!0),n.mergeArray(i.color,t,"mc");var a=i.line;a&&(n.mergeArray(a.color,t,"mlc"),n.mergeArrayCastPositive(a.width,t,"mlw"))}}},{"../../lib":503}],648:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../../plots/template_attributes").texttemplateAttrs,s=t("../../components/colorscale/attributes"),l=t("../../plots/font_attributes"),c=t("./constants"),u=t("../../components/drawing/attributes").pattern,f=t("../../lib/extend").extendFlat,h=l({editType:"calc",arrayOk:!0,colorEditType:"style"}),p=f({},n.marker.line.width,{dflt:0}),d=f({width:p,editType:"calc"},s("marker.line")),g=f({line:d,editType:"calc"},s("marker"),{opacity:{valType:"number",arrayOk:!0,dflt:1,min:0,max:1,editType:"style"},pattern:u});e.exports={x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,xhoverformat:i("x"),yhoverformat:i("y"),text:n.text,texttemplate:o({editType:"plot"},{keys:c.eventDataKeys}),hovertext:n.hovertext,hovertemplate:a({},{keys:c.eventDataKeys}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"calc"},insidetextanchor:{valType:"enumerated",values:["end","middle","start"],dflt:"end",editType:"plot"},textangle:{valType:"angle",dflt:"auto",editType:"plot"},textfont:f({},h,{}),insidetextfont:f({},h,{}),outsidetextfont:f({},h,{}),constraintext:{valType:"enumerated",values:["inside","outside","both","none"],dflt:"both",editType:"calc"},cliponaxis:f({},n.cliponaxis,{}),orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},base:{valType:"any",dflt:null,arrayOk:!0,editType:"calc"},offset:{valType:"number",dflt:null,arrayOk:!0,editType:"calc"},width:{valType:"number",dflt:null,min:0,arrayOk:!0,editType:"calc"},marker:g,offsetgroup:{valType:"string",dflt:"",editType:"calc"},alignmentgroup:{valType:"string",dflt:"",editType:"calc"},selected:{marker:{opacity:n.selected.marker.opacity,color:n.selected.marker.color,editType:"style"},textfont:n.selected.textfont,editType:"style"},unselected:{marker:{opacity:n.unselected.marker.opacity,color:n.unselected.marker.color,editType:"style"},textfont:n.unselected.textfont,editType:"style"},_deprecated:{bardir:{valType:"enumerated",editType:"calc",values:["v","h"]}}}},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":926,"./constants":650}],649:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../plots/cartesian/align_period"),a=t("../../components/colorscale/helpers").hasColorscale,o=t("../../components/colorscale/calc"),s=t("./arrays_to_calcdata"),l=t("../scatter/calc_selection");e.exports=function(t,e){var r,c,u,f,h,p,d=n.getFromId(t,e.xaxis||"x"),g=n.getFromId(t,e.yaxis||"y"),m={msUTC:!(!e.base&&0!==e.base)};"h"===e.orientation?(r=d.makeCalcdata(e,"x",m),u=g.makeCalcdata(e,"y"),f=i(e,g,"y",u),h=!!e.yperiodalignment,p="y"):(r=g.makeCalcdata(e,"y",m),u=d.makeCalcdata(e,"x"),f=i(e,d,"x",u),h=!!e.xperiodalignment,p="x"),c=f.vals;for(var v=Math.min(c.length,r.length),y=new Array(v),x=0;x<v;x++)y[x]={p:c[x],s:r[x]},h&&(y[x].orig_p=u[x],y[x][p+"End"]=f.ends[x],y[x][p+"Start"]=f.starts[x]),e.ids&&(y[x].id=String(e.ids[x]));return a(e,"marker")&&o(t,e,{vals:e.marker.color,containerStr:"marker",cLetter:"c"}),a(e,"marker.line")&&o(t,e,{vals:e.marker.line.color,containerStr:"marker.line",cLetter:"c"}),s(y,e),l(y,e),y}},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":928,"./arrays_to_calcdata":647}],650:[function(t,e,r){"use strict";e.exports={TEXTPAD:3,eventDataKeys:["value","label"]}},{}],651:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib").isArrayOrTypedArray,a=t("../../constants/numerical").BADNUM,o=t("../../registry"),s=t("../../plots/cartesian/axes"),l=t("../../plots/cartesian/constraints").getAxisGroup,c=t("./sieve.js");function u(t,e,r,o,u){if(o.length){var b,_,w,T;switch(function(t,e){var r,a;for(r=0;r<e.length;r++){var o,s=e[r],l=s[0].trace,c="funnel"===l.type?l._base:l.base,u="h"===l.orientation?l.xcalendar:l.ycalendar,f="category"===t.type||"multicategory"===t.type?function(){return null}:t.d2c;if(i(c)){for(a=0;a<Math.min(c.length,s.length);a++)o=f(c[a],0,u),n(o)?(s[a].b=+o,s[a].hasB=1):s[a].b=0;for(;a<s.length;a++)s[a].b=0}else{o=f(c,0,u);var h=n(o);for(o=h?o:0,a=0;a<s.length;a++)s[a].b=o,h&&(s[a].hasB=1)}}}(r,o),u.mode){case"overlay":f(e,r,o,u);break;case"group":for(b=[],_=[],w=0;w<o.length;w++)void 0===(T=o[w])[0].trace.offset?_.push(T):b.push(T);_.length&&function(t,e,r,n,i){var o=new c(n,{posAxis:e,sepNegVal:!1,overlapNoMerge:!i.norm});(function(t,e,r,n){for(var i=t._fullLayout,a=r.positions,o=r.distinctPositions,s=r.minDiff,c=r.traces,u=c.length,f=a.length!==o.length,h=s*(1-n.gap),m=l(i,e._id)+c[0][0].trace.orientation,v=i._alignmentOpts[m]||{},y=0;y<u;y++){var x,b,_=c[y],w=_[0].trace,T=v[w.alignmentgroup]||{},k=Object.keys(T.offsetGroups||{}).length,A=(x=k?h/k:f?h/u:h)*(1-(n.groupgap||0));b=k?((2*w._offsetIndex+1-k)*x-A)/2:f?((2*y+1-u)*x-A)/2:-A/2;var M=_[0].t;M.barwidth=A,M.poffset=b,M.bargroupwidth=h,M.bardelta=s}r.binWidth=c[0][0].t.barwidth/100,p(r),d(e,r),g(e,r,f)})(t,e,o,i),function(t,e){for(var r=t.traces,n=0;n<r.length;n++){var i=r[n];if(void 0===i[0].trace.base)for(var o=new c([i],{posAxis:e,sepNegVal:!0,overlapNoMerge:!0}),s=0;s<i.length;s++){var l=i[s];if(l.p!==a){var u=o.put(l.p,l.b+l.s);u&&(l.b=u)}}}}(o,e),i.norm?(v(o),y(r,o,i)):m(r,o)}(t,e,r,_,u),b.length&&f(e,r,b,u);break;case"stack":case"relative":for(b=[],_=[],w=0;w<o.length;w++)void 0===(T=o[w])[0].trace.base?_.push(T):b.push(T);_.length&&function(t,e,r,n,i){var o=new c(n,{posAxis:e,sepNegVal:"relative"===i.mode,overlapNoMerge:!(i.norm||"stack"===i.mode||"relative"===i.mode)});h(e,o,i),function(t,e,r){var n,i,o,l,c,u,f=x(t),h=e.traces;for(l=0;l<h.length;l++)if(n=h[l],"funnel"===(i=n[0].trace).type)for(c=0;c<n.length;c++)(u=n[c]).s!==a&&e.put(u.p,-.5*u.s);for(l=0;l<h.length;l++){n=h[l],i=n[0].trace,o="funnel"===i.type;var p=[];for(c=0;c<n.length;c++)if((u=n[c]).s!==a){var d;d=o?u.s:u.s+u.b;var g=e.put(u.p,d),m=g+d;u.b=g,u[f]=m,r.norm||(p.push(m),u.hasB&&p.push(g))}r.norm||(i._extremes[t._id]=s.findExtremes(t,p,{tozero:!0,padded:!0}))}}(r,o,i);for(var l=0;l<n.length;l++)for(var u=n[l],f=0;f<u.length;f++){var p=u[f];if(p.s!==a)p.b+p.s===o.get(p.p,p.s)&&(p._outmost=!0)}i.norm&&y(r,o,i)}(0,e,r,_,u),b.length&&f(e,r,b,u)}!function(t,e){var r,i,a,o=x(e),s={},l=1/0,c=-1/0;for(r=0;r<t.length;r++)for(a=t[r],i=0;i<a.length;i++){var u=a[i].p;n(u)&&(l=Math.min(l,u),c=Math.max(c,u))}var f=1e4/(c-l),h=s.round=function(t){return String(Math.round(f*(t-l)))};for(r=0;r<t.length;r++){(a=t[r])[0].t.extents=s;var p=a[0].t.poffset,d=Array.isArray(p);for(i=0;i<a.length;i++){var g=a[i],m=g[o]-g.w/2;if(n(m)){var v=g[o]+g.w/2,y=h(g.p);s[y]?s[y]=[Math.min(m,s[y][0]),Math.max(v,s[y][1])]:s[y]=[m,v]}g.p0=g.p+(d?p[i]:p),g.p1=g.p0+g.w,g.s0=g.b,g.s1=g.s0+g.s}}}(o,e)}}function f(t,e,r,n){for(var i=0;i<r.length;i++){var a=r[i],o=new c([a],{posAxis:t,sepNegVal:!1,overlapNoMerge:!n.norm});h(t,o,n),n.norm?(v(o),y(e,o,n)):m(e,o)}}function h(t,e,r){for(var n=e.minDiff,i=e.traces,a=n*(1-r.gap),o=a*(1-(r.groupgap||0)),s=-o/2,l=0;l<i.length;l++){var c=i[l][0].t;c.barwidth=o,c.poffset=s,c.bargroupwidth=a,c.bardelta=n}e.binWidth=i[0][0].t.barwidth/100,p(e),d(t,e),g(t,e)}function p(t){var e,r,a=t.traces;for(e=0;e<a.length;e++){var o,s=a[e],l=s[0],c=l.trace,u=l.t,f=c._offset||c.offset,h=u.poffset;if(i(f)){for(o=Array.prototype.slice.call(f,0,s.length),r=0;r<o.length;r++)n(o[r])||(o[r]=h);for(r=o.length;r<s.length;r++)o.push(h);u.poffset=o}else void 0!==f&&(u.poffset=f);var p=c._width||c.width,d=u.barwidth;if(i(p)){var g=Array.prototype.slice.call(p,0,s.length);for(r=0;r<g.length;r++)n(g[r])||(g[r]=d);for(r=g.length;r<s.length;r++)g.push(d);if(u.barwidth=g,void 0===f){for(o=[],r=0;r<s.length;r++)o.push(h+(d-g[r])/2);u.poffset=o}}else void 0!==p&&(u.barwidth=p,void 0===f&&(u.poffset=h+(d-p)/2))}}function d(t,e){for(var r=e.traces,n=x(t),i=0;i<r.length;i++)for(var a=r[i],o=a[0].t,s=o.poffset,l=Array.isArray(s),c=o.barwidth,u=Array.isArray(c),f=0;f<a.length;f++){var h=a[f],p=h.w=u?c[f]:c;h[n]=h.p+(l?s[f]:s)+p/2}}function g(t,e,r){var n=e.traces,i=e.minDiff/2;s.minDtick(t,e.minDiff,e.distinctPositions[0],r);for(var a=0;a<n.length;a++){var o,l,c,u,f=n[a],h=f[0],p=h.trace,d=[];for(u=0;u<f.length;u++)l=(o=f[u]).p-i,c=o.p+i,d.push(l,c);if(p.width||p.offset){var g=h.t,m=g.poffset,v=g.barwidth,y=Array.isArray(m),x=Array.isArray(v);for(u=0;u<f.length;u++){o=f[u];var b=y?m[u]:m,_=x?v[u]:v;c=(l=o.p+b)+_,d.push(l,c)}}p._extremes[t._id]=s.findExtremes(t,d,{padded:!1})}}function m(t,e){for(var r=e.traces,n=x(t),i=0;i<r.length;i++){for(var a=r[i],o=a[0].trace,l=[],c=!1,u=0;u<a.length;u++){var f=a[u],h=f.b,p=h+f.s;f[n]=p,l.push(p),f.hasB&&l.push(h),f.hasB&&f.b||(c=!0)}o._extremes[t._id]=s.findExtremes(t,l,{tozero:c,padded:!0})}}function v(t){for(var e=t.traces,r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;i++){var o=n[i];o.s!==a&&t.put(o.p,o.b+o.s)}}function y(t,e,r){var i=e.traces,o=x(t),l="fraction"===r.norm?1:100,c=l/1e9,u=t.l2c(t.c2l(0)),f="stack"===r.mode?l:u;function h(e){return n(t.c2l(e))&&(e<u-c||e>f+c||!n(u))}for(var p=0;p<i.length;p++){for(var d=i[p],g=d[0].trace,m=[],v=!1,y=!1,b=0;b<d.length;b++){var _=d[b];if(_.s!==a){var w=Math.abs(l/e.get(_.p,_.s));_.b*=w,_.s*=w;var T=_.b,k=T+_.s;_[o]=k,m.push(k),y=y||h(k),_.hasB&&(m.push(T),y=y||h(T)),_.hasB&&_.b||(v=!0)}}g._extremes[t._id]=s.findExtremes(t,m,{tozero:v,padded:y})}}function x(t){return t._id.charAt(0)}e.exports={crossTraceCalc:function(t,e){for(var r=e.xaxis,n=e.yaxis,i=t._fullLayout,a=t._fullData,s=t.calcdata,l=[],c=[],f=0;f<a.length;f++){var h=a[f];if(!0===h.visible&&o.traceIs(h,"bar")&&h.xaxis===r._id&&h.yaxis===n._id&&("h"===h.orientation?l.push(s[f]):c.push(s[f]),h._computePh))for(var p=t.calcdata[f],d=0;d<p.length;d++)"function"==typeof p[d].ph0&&(p[d].ph0=p[d].ph0()),"function"==typeof p[d].ph1&&(p[d].ph1=p[d].ph1())}var g={xCat:"category"===r.type||"multicategory"===r.type,yCat:"category"===n.type||"multicategory"===n.type,mode:i.barmode,norm:i.barnorm,gap:i.bargap,groupgap:i.bargroupgap};u(t,r,n,c,g),u(t,n,r,l,g)},setGroupPositions:u}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axes":554,"../../plots/cartesian/constraints":562,"../../registry":638,"./sieve.js":661,"fast-isnumeric":190}],652:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../../registry"),o=t("../scatter/xy_defaults"),s=t("../scatter/period_defaults"),l=t("./style_defaults"),c=t("../../plots/cartesian/constraints").getAxisGroup,u=t("./attributes"),f=n.coerceFont;function h(t,e,r,n){var i=e.orientation,a=e[{v:"x",h:"y"}[i]+"axis"],o=c(r,a)+i,s=r._alignmentOpts||{},l=n("alignmentgroup"),u=s[o];u||(u=s[o]={});var f=u[l];f?f.traces.push(e):f=u[l]={traces:[e],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var h=n("offsetgroup"),p=f.offsetGroups,d=p[h];h&&(d||(d=p[h]={offsetIndex:Object.keys(p).length}),e._offsetIndex=d.offsetIndex)}function p(t,e,r,i,a,o){var s=!(!1===(o=o||{}).moduleHasSelected),l=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),h=!(!1===o.moduleHasTextangle),p=!(!1===o.moduleHasInsideanchor),d=!!o.hasPathbar,g=Array.isArray(a)||"auto"===a,m=g||"inside"===a,v=g||"outside"===a;if(m||v){var y=f(i,"textfont",r.font),x=n.extendFlat({},y),b=!(t.textfont&&t.textfont.color);if(b&&delete x.color,f(i,"insidetextfont",x),d){var _=n.extendFlat({},y);b&&delete _.color,f(i,"pathbar.textfont",_)}v&&f(i,"outsidetextfont",y),s&&i("selected.textfont.color"),l&&i("unselected.textfont.color"),c&&i("constraintext"),u&&i("cliponaxis"),h&&i("textangle"),i("texttemplate")}m&&p&&i("insidetextanchor")}e.exports={supplyDefaults:function(t,e,r,c){function f(r,i){return n.coerce(t,e,u,r,i)}if(o(t,e,c,f)){s(t,e,c,f),f("xhoverformat"),f("yhoverformat"),f("orientation",e.x&&!e.y?"h":"v"),f("base"),f("offset"),f("width"),f("text"),f("hovertext"),f("hovertemplate");var h=f("textposition");p(t,e,c,f,h,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),l(t,e,f,r,c);var d=(e.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(t,e,d||i.defaultLine,{axis:"y"}),g(t,e,d||i.defaultLine,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(e,f)}else e.visible=!1},crossTraceDefaults:function(t,e){var r;function i(t){return n.coerce(r._input,r,u,t)}if("group"===e.barmode)for(var a=0;a<t.length;a++)"bar"===(r=t[a]).type&&(r._input,h(0,r,e,i))},handleGroupingDefaults:h,handleText:p}},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/constraints":562,"../../registry":638,"../scatter/period_defaults":946,"../scatter/xy_defaults":953,"./attributes":648,"./style_defaults":663}],653:[function(t,e,r){"use strict";e.exports=function(t,e,r){return t.x="xVal"in e?e.xVal:e.x,t.y="yVal"in e?e.yVal:e.y,e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),"h"===r.orientation?(t.label=t.y,t.value=t.x):(t.label=t.x,t.value=t.y),t}},{}],654:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("tinycolor2"),a=t("../../lib").isArrayOrTypedArray;r.coerceString=function(t,e,r){if("string"==typeof e){if(e||!t.noBlank)return e}else if(("number"==typeof e||!0===e)&&!t.strict)return String(e);return void 0!==r?r:t.dflt},r.coerceNumber=function(t,e,r){if(n(e)){e=+e;var i=t.min,a=t.max;if(!(void 0!==i&&e<i||void 0!==a&&e>a))return e}return void 0!==r?r:t.dflt},r.coerceColor=function(t,e,r){return i(e).isValid()?e:void 0!==r?r:t.dflt},r.coerceEnumerated=function(t,e,r){return t.coerceNumber&&(e=+e),-1!==t.values.indexOf(e)?e:void 0!==r?r:t.dflt},r.getValue=function(t,e){var r;return Array.isArray(t)?e<t.length&&(r=t[e]):r=t,r},r.getLineWidth=function(t,e){return 0<e.mlw?e.mlw:a(t.marker.line.width)?0:t.marker.line.width}},{"../../lib":503,"fast-isnumeric":190,tinycolor2:312}],655:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../registry"),a=t("../../components/color"),o=t("../../lib").fillText,s=t("./helpers").getLineWidth,l=t("../../plots/cartesian/axes").hoverLabelText,c=t("../../constants/numerical").BADNUM;function u(t,e,r,i,a){var s,u,f,h,p,d,g,m=t.cd,v=m[0].trace,y=m[0].t,x="closest"===i,b="waterfall"===v.type,_=t.maxHoverDistance,w=t.maxSpikeDistance;"h"===v.orientation?(s=r,u=e,f="y",h="x",p=z,d=I):(s=e,u=r,f="x",h="y",d=z,p=I);var T=v[f+"period"],k=x||T;function A(t){return S(t,-1)}function M(t){return S(t,1)}function S(t,e){var r=t.w;return t[f]+e*r/2}function E(t){return t[f+"End"]-t[f+"Start"]}var L=x?A:T?function(t){return t.p-E(t)/2}:function(t){return Math.min(A(t),t.p-y.bardelta/2)},C=x?M:T?function(t){return t.p+E(t)/2}:function(t){return Math.max(M(t),t.p+y.bardelta/2)};function P(t,e,r){return a.finiteRange&&(r=0),n.inbox(t-s,e-s,r+Math.min(1,Math.abs(e-t)/g)-1)}function I(t){return P(L(t),C(t),_)}function O(t){var e=t[h];if(b){var r=Math.abs(t.rawS)||0;u>0?e+=r:u<0&&(e-=r)}return e}function z(t){var e=u,r=t.b,i=O(t);return n.inbox(r-e,i-e,_+(i-e)/(i-r)-1)}var D=t[f+"a"],R=t[h+"a"];g=Math.abs(D.r2c(D.range[1])-D.r2c(D.range[0]));var F=n.getDistanceFunction(i,p,d,(function(t){return(p(t)+d(t))/2}));if(n.getClosest(m,F,t),!1!==t.index&&m[t.index].p!==c){k||(L=function(t){return Math.min(A(t),t.p-y.bargroupwidth/2)},C=function(t){return Math.max(M(t),t.p+y.bargroupwidth/2)});var B=m[t.index],N=v.base?B.b+B.s:B.s;t[h+"0"]=t[h+"1"]=R.c2p(B[h],!0),t[h+"LabelVal"]=N;var j=y.extents[y.extents.round(B.p)];t[f+"0"]=D.c2p(x?L(B):j[0],!0),t[f+"1"]=D.c2p(x?C(B):j[1],!0);var U=void 0!==B.orig_p;return t[f+"LabelVal"]=U?B.orig_p:B.p,t.labelLabel=l(D,t[f+"LabelVal"],v[f+"hoverformat"]),t.valueLabel=l(R,t[h+"LabelVal"],v[h+"hoverformat"]),t.baseLabel=l(R,B.b,v[h+"hoverformat"]),t.spikeDistance=(function(t){var e=u,r=t.b,i=O(t);return n.inbox(r-e,i-e,w+(i-e)/(i-r)-1)}(B)+function(t){return P(A(t),M(t),w)}(B))/2,t[f+"Spike"]=D.c2p(B.p,!0),o(B,v,t),t.hovertemplate=v.hovertemplate,t}}function f(t,e){var r=e.mcc||t.marker.color,n=e.mlcc||t.marker.line.color,i=s(t,e);return a.opacity(r)?r:a.opacity(n)&&i?n:void 0}e.exports={hoverPoints:function(t,e,r,n,a){var o=u(t,e,r,n,a);if(o){var s=o.cd,l=s[0].trace,c=s[o.index];return o.color=f(l,c),i.getComponentMethod("errorbars","hoverInfo")(c,l,o),[o]}},hoverOnBars:u,getTraceColor:f}},{"../../components/color":366,"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axes":554,"../../registry":638,"./helpers":654}],656:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults").supplyDefaults,crossTraceDefaults:t("./defaults").crossTraceDefaults,supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc"),crossTraceCalc:t("./cross_trace_calc").crossTraceCalc,colorbar:t("../scatter/marker_colorbar"),arraysToCalcdata:t("./arrays_to_calcdata"),plot:t("./plot").plot,style:t("./style").style,styleOnSelect:t("./style").styleOnSelect,hoverPoints:t("./hover").hoverPoints,eventData:t("./event_data"),selectPoints:t("./select"),moduleType:"trace",name:"bar",basePlotModule:t("../../plots/cartesian"),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},{"../../plots/cartesian":568,"../scatter/marker_colorbar":944,"./arrays_to_calcdata":647,"./attributes":648,"./calc":649,"./cross_trace_calc":651,"./defaults":652,"./event_data":653,"./hover":655,"./layout_attributes":657,"./layout_defaults":658,"./plot":659,"./select":660,"./style":662}],657:[function(t,e,r){"use strict";e.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},{}],658:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../plots/cartesian/axes"),a=t("../../lib"),o=t("./layout_attributes");e.exports=function(t,e,r){function s(r,n){return a.coerce(t,e,o,r,n)}for(var l=!1,c=!1,u=!1,f={},h=s("barmode"),p=0;p<r.length;p++){var d=r[p];if(n.traceIs(d,"bar")&&d.visible){if(l=!0,"group"===h){var g=d.xaxis+d.yaxis;f[g]&&(u=!0),f[g]=!0}if(d.visible&&"histogram"===d.type)"category"!==i.getFromId({_fullLayout:e},d["v"===d.orientation?"xaxis":"yaxis"]).type&&(c=!0)}}l?("overlay"!==h&&s("barnorm"),s("bargap",c&&!u?0:.2),s("bargroupgap")):delete e.barmode}},{"../../lib":503,"../../plots/cartesian/axes":554,"../../registry":638,"./layout_attributes":657}],659:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../lib"),o=t("../../lib/svg_text_utils"),s=t("../../components/color"),l=t("../../components/drawing"),c=t("../../registry"),u=t("../../plots/cartesian/axes").tickText,f=t("./uniform_text"),h=f.recordMinTextSize,p=f.clearMinTextSize,d=t("./style"),g=t("./helpers"),m=t("./constants"),v=t("./attributes"),y=v.text,x=v.textposition,b=t("../../components/fx/helpers").appendArrayPointValue,_=m.TEXTPAD;function w(t){return t.id}function T(t){if(t.ids)return w}function k(t,e){return t<e?1:-1}function A(t,e,r,n){var i;return!e.uniformtext.mode&&M(r)?(n&&(i=n()),t.transition().duration(r.duration).ease(r.easing).each("end",(function(){i&&i()})).each("interrupt",(function(){i&&i()}))):t}function M(t){return t&&t.duration>0}function S(t){return"auto"===t?0:t}function E(t,e){var r=Math.PI/180*e,n=Math.abs(Math.sin(r)),i=Math.abs(Math.cos(r));return{x:t.width*i+t.height*n,y:t.width*n+t.height*i}}function L(t,e,r,n,i,a){var o=!!a.isHorizontal,s=!!a.constrained,l=a.angle||0,c=a.anchor||"end",u="end"===c,f="start"===c,h=((a.leftToRight||0)+1)/2,p=1-h,d=i.width,g=i.height,m=Math.abs(e-t),v=Math.abs(n-r),y=m>2*_&&v>2*_?_:0;m-=2*y,v-=2*y;var x=S(l);"auto"!==l||d<=m&&g<=v||!(d>m||g>v)||(d>v||g>m)&&d<g==m<v||(x+=90);var b=E(i,x),w=1;s&&(w=Math.min(1,m/b.x,v/b.y));var T=i.left*p+i.right*h,A=(i.top+i.bottom)/2,M=(t+_)*p+(e-_)*h,L=(r+n)/2,C=0,P=0;if(f||u){var I=(o?b.x:b.y)/2,O=o?k(t,e):k(r,n);o?f?(M=t+O*y,C=-O*I):(M=e-O*y,C=O*I):f?(L=r+O*y,P=-O*I):(L=n-O*y,P=O*I)}return{textX:T,textY:A,targetX:M,targetY:L,anchorX:C,anchorY:P,scale:w,rotate:x}}e.exports={plot:function(t,e,r,f,m,v){var w=e.xaxis,C=e.yaxis,P=t._fullLayout;m||(m={mode:P.barmode,norm:P.barmode,gap:P.bargap,groupgap:P.bargroupgap},p("bar",P));var I=a.makeTraceGroups(f,r,"trace bars").each((function(r){var c=n.select(this),f=r[0].trace,p="waterfall"===f.type,I="funnel"===f.type,O="bar"===f.type||I,z=0;p&&f.connector.visible&&"between"===f.connector.mode&&(z=f.connector.line.width/2);var D="h"===f.orientation,R=M(m),F=a.ensureSingle(c,"g","points"),B=T(f),N=F.selectAll("g.point").data(a.identity,B);N.enter().append("g").classed("point",!0),N.exit().remove(),N.each((function(c,p){var T,M,I=n.select(this),F=function(t,e,r,n){var i=[],a=[],o=n?e:r,s=n?r:e;return i[0]=o.c2p(t.s0,!0),a[0]=s.c2p(t.p0,!0),i[1]=o.c2p(t.s1,!0),a[1]=s.c2p(t.p1,!0),n?[i,a]:[a,i]}(c,w,C,D),B=F[0][0],N=F[0][1],j=F[1][0],U=F[1][1],V=0==(D?N-B:U-j);if(V&&O&&g.getLineWidth(f,c)&&(V=!1),V||(V=!(i(B)&&i(N)&&i(j)&&i(U))),c.isBlank=V,V&&(D?N=B:U=j),z&&!V&&(D?(B-=k(B,N)*z,N+=k(B,N)*z):(j-=k(j,U)*z,U+=k(j,U)*z)),"waterfall"===f.type){if(!V){var H=f[c.dir].marker;T=H.line.width,M=H.color}}else T=g.getLineWidth(f,c),M=c.mc||f.marker.color;function q(t){var e=n.round(T/2%1,2);return 0===m.gap&&0===m.groupgap?n.round(Math.round(t)-e,2):t}if(!t._context.staticPlot){var G=s.opacity(M)<1||T>.01?q:function(t,e,r){return r&&t===e?t:Math.abs(t-e)>=2?q(t):t>e?Math.ceil(t):Math.floor(t)};B=G(B,N,D),N=G(N,B,D),j=G(j,U,!D),U=G(U,j,!D)}var Y=A(a.ensureSingle(I,"path"),P,m,v);if(Y.style("vector-effect","non-scaling-stroke").attr("d",isNaN((N-B)*(U-j))||V&&t._context.staticPlot?"M0,0Z":"M"+B+","+j+"V"+U+"H"+N+"V"+j+"Z").call(l.setClipUrl,e.layerClipId,t),!P.uniformtext.mode&&R){var W=l.makePointStyleFns(f);l.singlePointStyle(c,Y,f,W,t)}!function(t,e,r,n,i,s,c,f,p,m,v){var w,T=e.xaxis,M=e.yaxis,C=t._fullLayout;function P(e,r,n){return a.ensureSingle(e,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(o.convertToTspans,t)}var I=n[0].trace,O="h"===I.orientation,z=function(t,e,r,n,i){var o,s=e[0].trace;o=s.texttemplate?function(t,e,r,n,i){var o=e[0].trace,s=a.castOption(o,r,"texttemplate");if(!s)return"";var l,c,f,h,p="histogram"===o.type,d="waterfall"===o.type,g="funnel"===o.type,m="h"===o.orientation;m?(l="y",c=i,f="x",h=n):(l="x",c=n,f="y",h=i);function v(t){return u(h,h.c2l(t),!0).text}var y=e[r],x={};x.label=y.p,x.labelLabel=x[l+"Label"]=(_=y.p,u(c,c.c2l(_),!0).text);var _;var w=a.castOption(o,y.i,"text");(0===w||w)&&(x.text=w);x.value=y.s,x.valueLabel=x[f+"Label"]=v(y.s);var T={};b(T,o,y.i),(p||void 0===T.x)&&(T.x=m?x.value:x.label);(p||void 0===T.y)&&(T.y=m?x.label:x.value);(p||void 0===T.xLabel)&&(T.xLabel=m?x.valueLabel:x.labelLabel);(p||void 0===T.yLabel)&&(T.yLabel=m?x.labelLabel:x.valueLabel);d&&(x.delta=+y.rawS||y.s,x.deltaLabel=v(x.delta),x.final=y.v,x.finalLabel=v(x.final),x.initial=x.final-x.delta,x.initialLabel=v(x.initial));g&&(x.value=y.s,x.valueLabel=v(x.value),x.percentInitial=y.begR,x.percentInitialLabel=a.formatPercent(y.begR),x.percentPrevious=y.difR,x.percentPreviousLabel=a.formatPercent(y.difR),x.percentTotal=y.sumR,x.percenTotalLabel=a.formatPercent(y.sumR));var k=a.castOption(o,y.i,"customdata");k&&(x.customdata=k);return a.texttemplateString(s,x,t._d3locale,T,x,o._meta||{})}(t,e,r,n,i):s.textinfo?function(t,e,r,n){var i=t[0].trace,o="h"===i.orientation,s="waterfall"===i.type,l="funnel"===i.type;function c(t){return u(o?r:n,+t,!0).text}var f,h=i.textinfo,p=t[e],d=h.split("+"),g=[],m=function(t){return-1!==d.indexOf(t)};m("label")&&g.push((v=t[e].p,u(o?n:r,v,!0).text));var v;m("text")&&(0===(f=a.castOption(i,p.i,"text"))||f)&&g.push(f);if(s){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&g.push(c(b)),m("delta")&&g.push(c(y)),m("final")&&g.push(c(x))}if(l){m("value")&&g.push(c(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(f=a.formatPercent(p.begR),w&&(f+=" of initial"),g.push(f)),m("percent previous")&&(f=a.formatPercent(p.difR),w&&(f+=" of previous"),g.push(f)),m("percent total")&&(f=a.formatPercent(p.sumR),w&&(f+=" of total"),g.push(f))}return g.join("<br>")}(e,r,n,i):g.getValue(s.text,r);return g.coerceString(y,o)}(C,n,i,T,M);w=function(t,e){var r=g.getValue(t.textposition,e);return g.coerceEnumerated(x,r)}(I,i);var D="stack"===m.mode||"relative"===m.mode,R=n[i],F=!D||R._outmost;if(!z||"none"===w||(R.isBlank||s===c||f===p)&&("auto"===w||"inside"===w))return void r.select("text").remove();var B=C.font,N=d.getBarColor(n[i],I),j=d.getInsideTextFont(I,i,B,N),U=d.getOutsideTextFont(I,i,B),V=r.datum();O?"log"===T.type&&V.s0<=0&&(s=T.range[0]<T.range[1]?0:T._length):"log"===M.type&&V.s0<=0&&(f=M.range[0]<M.range[1]?M._length:0);var H,q,G,Y,W,X=Math.abs(c-s)-2*_,Z=Math.abs(p-f)-2*_;"outside"===w&&(F||R.hasB||(w="inside"));if("auto"===w)if(F){w="inside",W=a.ensureUniformFontSize(t,j),H=P(r,z,W),q=l.bBox(H.node()),G=q.width,Y=q.height;var J=G<=X&&Y<=Z,K=G<=Z&&Y<=X,Q=O?X>=G*(Z/Y):Z>=Y*(X/G);G>0&&Y>0&&(J||K||Q)?w="inside":(w="outside",H.remove(),H=null)}else w="inside";if(!H){W=a.ensureUniformFontSize(t,"outside"===w?U:j);var $=(H=P(r,z,W)).attr("transform");if(H.attr("transform",""),q=l.bBox(H.node()),G=q.width,Y=q.height,H.attr("transform",$),G<=0||Y<=0)return void H.remove()}var tt,et,rt=I.textangle;"outside"===w?(et="both"===I.constraintext||"outside"===I.constraintext,tt=function(t,e,r,n,i,a){var o,s=!!a.isHorizontal,l=!!a.constrained,c=a.angle||0,u=i.width,f=i.height,h=Math.abs(e-t),p=Math.abs(n-r);o=s?p>2*_?_:0:h>2*_?_:0;var d=1;l&&(d=s?Math.min(1,p/f):Math.min(1,h/u));var g=S(c),m=E(i,g),v=(s?m.x:m.y)/2,y=(i.left+i.right)/2,x=(i.top+i.bottom)/2,b=(t+e)/2,w=(r+n)/2,T=0,A=0,M=s?k(e,t):k(r,n);s?(b=e-M*o,T=M*v):(w=n+M*o,A=-M*v);return{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:A,scale:d,rotate:g}}(s,c,f,p,q,{isHorizontal:O,constrained:et,angle:rt})):(et="both"===I.constraintext||"inside"===I.constraintext,tt=L(s,c,f,p,q,{isHorizontal:O,constrained:et,angle:rt,anchor:I.insidetextanchor}));tt.fontSize=W.size,h("histogram"===I.type?"bar":I.type,tt,C),R.transform=tt,A(H,C,m,v).attr("transform",a.getTextTransform(tt))}(t,e,I,r,p,B,N,j,U,m,v),e.layerClipId&&l.hideOutsideRangePoint(c,I.select("text"),w,C,f.xcalendar,f.ycalendar)}));var j=!1===f.cliponaxis;l.setClipUrl(c,j?null:e.layerClipId,t)}));c.getComponentMethod("errorbars","plot")(t,I,e,m)},toMoveInsideBar:L}},{"../../components/color":366,"../../components/drawing":388,"../../components/fx/helpers":402,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../registry":638,"./attributes":648,"./constants":650,"./helpers":654,"./style":662,"./uniform_text":664,"@plotly/d3":58,"fast-isnumeric":190}],660:[function(t,e,r){"use strict";function n(t,e,r,n,i){var a=e.c2p(n?t.s0:t.p0,!0),o=e.c2p(n?t.s1:t.p1,!0),s=r.c2p(n?t.p0:t.s0,!0),l=r.c2p(n?t.p1:t.s1,!0);return i?[(a+o)/2,(s+l)/2]:n?[o,(s+l)/2]:[(a+o)/2,l]}e.exports=function(t,e){var r,i=t.cd,a=t.xaxis,o=t.yaxis,s=i[0].trace,l="funnel"===s.type,c="h"===s.orientation,u=[];if(!1===e)for(r=0;r<i.length;r++)i[r].selected=0;else for(r=0;r<i.length;r++){var f=i[r],h="ct"in f?f.ct:n(f,a,o,c,l);e.contains(h,!1,r,t)?(u.push({pointNumber:r,x:a.c2d(f.x),y:o.c2d(f.y)}),f.selected=1):f.selected=0}return u}},{}],661:[function(t,e,r){"use strict";e.exports=a;var n=t("../../lib").distinctVals,i=t("../../constants/numerical").BADNUM;function a(t,e){this.traces=t,this.sepNegVal=e.sepNegVal,this.overlapNoMerge=e.overlapNoMerge;for(var r=1/0,a=[],o=0;o<t.length;o++){for(var s=t[o],l=0;l<s.length;l++){var c=s[l];c.p!==i&&a.push(c.p)}s[0]&&s[0].width1&&(r=Math.min(s[0].width1,r))}this.positions=a;var u=n(a);this.distinctPositions=u.vals,1===u.vals.length&&r!==1/0?this.minDiff=r:this.minDiff=Math.min(u.minDiff,r);var f=(e.posAxis||{}).type;"category"!==f&&"multicategory"!==f||(this.minDiff=1),this.binWidth=this.minDiff,this.bins={}}a.prototype.put=function(t,e){var r=this.getLabel(t,e),n=this.bins[r]||0;return this.bins[r]=n+e,n},a.prototype.get=function(t,e){var r=this.getLabel(t,e);return this.bins[r]||0},a.prototype.getLabel=function(t,e){return(e<0&&this.sepNegVal?"v":"^")+(this.overlapNoMerge?t:Math.round(t/this.binWidth))}},{"../../constants/numerical":479,"../../lib":503}],662:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../components/drawing"),o=t("../../lib"),s=t("../../registry"),l=t("./uniform_text").resizeText,c=t("./attributes"),u=c.textfont,f=c.insidetextfont,h=c.outsidetextfont,p=t("./helpers");function d(t,e,r){a.pointStyle(t.selectAll("path"),e,r),g(t,e,r)}function g(t,e,r){t.selectAll("text").each((function(t){var i=n.select(this),s=o.ensureUniformFontSize(r,m(i,t,e,r));a.font(i,s)}))}function m(t,e,r,n){var i=n._fullLayout.font,a=r.textfont;if(t.classed("bartext-inside")){var o=_(e,r);a=y(r,e.i,i,o)}else t.classed("bartext-outside")&&(a=x(r,e.i,i));return a}function v(t,e,r){return b(u,t.textfont,e,r)}function y(t,e,r,n){var a=v(t,e,r);return(void 0===t._input.textfont||void 0===t._input.textfont.color||Array.isArray(t.textfont.color)&&void 0===t.textfont.color[e])&&(a={color:i.contrast(n),family:a.family,size:a.size}),b(f,t.insidetextfont,e,a)}function x(t,e,r){var n=v(t,e,r);return b(h,t.outsidetextfont,e,n)}function b(t,e,r,n){e=e||{};var i=p.getValue(e.family,r),a=p.getValue(e.size,r),o=p.getValue(e.color,r);return{family:p.coerceString(t.family,i,n.family),size:p.coerceNumber(t.size,a,n.size),color:p.coerceColor(t.color,o,n.color)}}function _(t,e){return"waterfall"===e.type?e[t.dir].marker.color:t.mcc||t.mc||e.marker.color}e.exports={style:function(t){var e=n.select(t).selectAll("g.barlayer").selectAll("g.trace");l(t,e,"bar");var r=e.size(),i=t._fullLayout;e.style("opacity",(function(t){return t[0].trace.opacity})).each((function(t){("stack"===i.barmode&&r>1||0===i.bargap&&0===i.bargroupgap&&!t[0].trace.marker.line.width)&&n.select(this).attr("shape-rendering","crispEdges")})),e.selectAll("g.points").each((function(e){d(n.select(this),e[0].trace,t)})),s.getComponentMethod("errorbars","style")(e)},styleTextPoints:g,styleOnSelect:function(t,e,r){var i=e[0].trace;i.selectedpoints?function(t,e,r){a.selectedPointStyle(t.selectAll("path"),e),function(t,e,r){t.each((function(t){var i,s=n.select(this);if(t.selected){i=o.ensureUniformFontSize(r,m(s,t,e,r));var l=e.selected.textfont&&e.selected.textfont.color;l&&(i.color=l),a.font(s,i)}else a.selectedTextStyle(s,e)}))}(t.selectAll("text"),e,r)}(r,i,t):(d(r,i,t),s.getComponentMethod("errorbars","style")(r))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:l}},{"../../components/color":366,"../../components/drawing":388,"../../lib":503,"../../registry":638,"./attributes":648,"./helpers":654,"./uniform_text":664,"@plotly/d3":58}],663:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/defaults"),o=t("../../lib").coercePattern;e.exports=function(t,e,r,s,l){var c=r("marker.color",s),u=i(t,"marker");u&&a(t,e,l,r,{prefix:"marker.",cLetter:"c"}),r("marker.line.color",n.defaultLine),i(t,"marker.line")&&a(t,e,l,r,{prefix:"marker.line.",cLetter:"c"}),r("marker.line.width"),r("marker.opacity"),o(r,"marker.pattern",c,u),r("selected.marker.color"),r("unselected.marker.color")}},{"../../components/color":366,"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503}],664:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib");function a(t){return"_"+t+"Text_minsize"}e.exports={recordMinTextSize:function(t,e,r){if(r.uniformtext.mode){var n=a(t),i=r.uniformtext.minsize,o=e.scale*e.fontSize;e.hide=o<i,r[n]=r[n]||1/0,e.hide||(r[n]=Math.min(r[n],Math.max(o,i)))}},clearMinTextSize:function(t,e){e[a(t)]=void 0},resizeText:function(t,e,r){var a=t._fullLayout,o=a["_"+r+"Text_minsize"];if(o){var s,l="hide"===a.uniformtext.mode;switch(r){case"funnelarea":case"pie":case"sunburst":s="g.slice";break;case"treemap":case"icicle":s="g.slice, g.pathbar";break;default:s="g.points > g.point"}e.selectAll(s).each((function(t){var e=t.transform;e&&(e.scale=l&&e.hide?0:o/e.fontSize,n.select(this).select("text").attr("transform",i.getTextTransform(e)))}))}}}},{"../../lib":503,"@plotly/d3":58}],665:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../lib/extend").extendFlat,a=t("../scatterpolar/attributes"),o=t("../bar/attributes");e.exports={r:a.r,theta:a.theta,r0:a.r0,dr:a.dr,theta0:a.theta0,dtheta:a.dtheta,thetaunit:a.thetaunit,base:i({},o.base,{}),offset:i({},o.offset,{}),width:i({},o.width,{}),text:i({},o.text,{}),hovertext:i({},o.hovertext,{}),marker:o.marker,hoverinfo:a.hoverinfo,hovertemplate:n(),selected:o.selected,unselected:o.unselected}},{"../../lib/extend":493,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatterpolar/attributes":1e3}],666:[function(t,e,r){"use strict";var n=t("../../components/colorscale/helpers").hasColorscale,i=t("../../components/colorscale/calc"),a=t("../bar/arrays_to_calcdata"),o=t("../bar/cross_trace_calc").setGroupPositions,s=t("../scatter/calc_selection"),l=t("../../registry").traceIs,c=t("../../lib").extendFlat;e.exports={calc:function(t,e){for(var r=t._fullLayout,o=e.subplot,l=r[o].radialaxis,c=r[o].angularaxis,u=l.makeCalcdata(e,"r"),f=c.makeCalcdata(e,"theta"),h=e._length,p=new Array(h),d=u,g=f,m=0;m<h;m++)p[m]={p:g[m],s:d[m]};function v(t){var r=e[t];void 0!==r&&(e["_"+t]=Array.isArray(r)?c.makeCalcdata(e,t):c.d2c(r,e.thetaunit))}return"linear"===c.type&&(v("width"),v("offset")),n(e,"marker")&&i(t,e,{vals:e.marker.color,containerStr:"marker",cLetter:"c"}),n(e,"marker.line")&&i(t,e,{vals:e.marker.line.color,containerStr:"marker.line",cLetter:"c"}),a(p,e),s(p,e),p},crossTraceCalc:function(t,e,r){for(var n=t.calcdata,i=[],a=0;a<n.length;a++){var s=n[a],u=s[0].trace;!0===u.visible&&l(u,"bar")&&u.subplot===r&&i.push(s)}var f=c({},e.radialaxis,{_id:"x"}),h=e.angularaxis;o(t,h,f,i,{mode:e.barmode,norm:e.barnorm,gap:e.bargap,groupgap:e.bargroupgap})}}},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../lib":503,"../../registry":638,"../bar/arrays_to_calcdata":647,"../bar/cross_trace_calc":651,"../scatter/calc_selection":928}],667:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatterpolar/defaults").handleRThetaDefaults,a=t("../bar/style_defaults"),o=t("./attributes");e.exports=function(t,e,r,s){function l(r,i){return n.coerce(t,e,o,r,i)}i(t,e,s,l)?(l("thetaunit"),l("base"),l("offset"),l("width"),l("text"),l("hovertext"),l("hovertemplate"),a(t,e,l,r,s),n.coerceSelectionMarkerOpacity(e,l)):e.visible=!1}},{"../../lib":503,"../bar/style_defaults":663,"../scatterpolar/defaults":1002,"./attributes":665}],668:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../lib"),a=t("../bar/hover").getTraceColor,o=i.fillText,s=t("../scatterpolar/hover").makeHoverPointText,l=t("../../plots/polar/helpers").isPtInsidePolygon;e.exports=function(t,e,r){var c=t.cd,u=c[0].trace,f=t.subplot,h=f.radialAxis,p=f.angularAxis,d=f.vangles,g=d?l:i.isPtInsideSector,m=t.maxHoverDistance,v=p._period||2*Math.PI,y=Math.abs(h.g2p(Math.sqrt(e*e+r*r))),x=Math.atan2(r,e);h.range[0]>h.range[1]&&(x+=Math.PI);if(n.getClosest(c,(function(t){return g(y,x,[t.rp0,t.rp1],[t.thetag0,t.thetag1],d)?m+Math.min(1,Math.abs(t.thetag1-t.thetag0)/v)-1+(t.rp1-y)/(t.rp1-t.rp0)-1:1/0}),t),!1!==t.index){var b=c[t.index];t.x0=t.x1=b.ct[0],t.y0=t.y1=b.ct[1];var _=i.extendFlat({},b,{r:b.s,theta:b.p});return o(b,u,t),s(_,u,f,t),t.hovertemplate=u.hovertemplate,t.color=a(u,b),t.xLabelVal=t.yLabelVal=void 0,b.s<0&&(t.idealAlign="left"),[t]}}},{"../../components/fx":406,"../../lib":503,"../../plots/polar/helpers":621,"../bar/hover":655,"../scatterpolar/hover":1004}],669:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"barpolar",basePlotModule:t("../../plots/polar"),categories:["polar","bar","showLegend"],attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("../scatterpolar/format_labels"),style:t("../bar/style").style,styleOnSelect:t("../bar/style").styleOnSelect,hoverPoints:t("./hover"),selectPoints:t("../bar/select"),meta:{}}},{"../../plots/polar":622,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":944,"../scatterpolar/format_labels":1003,"./attributes":665,"./calc":666,"./defaults":667,"./hover":668,"./layout_attributes":670,"./layout_defaults":671,"./plot":672}],670:[function(t,e,r){"use strict";e.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},{}],671:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e,r){var a,o={};function s(r,o){return n.coerce(t[a]||{},e[a],i,r,o)}for(var l=0;l<r.length;l++){var c=r[l];"barpolar"===c.type&&!0===c.visible&&(o[a=c.subplot]||(s("barmode"),s("bargap"),o[a]=1))}}},{"../../lib":503,"./layout_attributes":670}],672:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("fast-isnumeric"),a=t("../../lib"),o=t("../../components/drawing"),s=t("../../plots/polar/helpers");e.exports=function(t,e,r){var l=e.xaxis,c=e.yaxis,u=e.radialAxis,f=e.angularAxis,h=function(t){var e=t.cxx,r=t.cyy;if(t.vangles)return function(n,i,o,l){var c,u;a.angleDelta(o,l)>0?(c=o,u=l):(c=l,u=o);var f=[s.findEnclosingVertexAngles(c,t.vangles)[0],(c+u)/2,s.findEnclosingVertexAngles(u,t.vangles)[1]];return s.pathPolygonAnnulus(n,i,c,u,f,e,r)};return function(t,n,i,o){return a.pathAnnulus(t,n,i,o,e,r)}}(e),p=e.layers.frontplot.select("g.barlayer");a.makeTraceGroups(p,r,"trace bars").each((function(){var r=n.select(this),s=a.ensureSingle(r,"g","points").selectAll("g.point").data(a.identity);s.enter().append("g").style("vector-effect","non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),s.exit().remove(),s.each((function(t){var e,r=n.select(this),o=t.rp0=u.c2p(t.s0),s=t.rp1=u.c2p(t.s1),p=t.thetag0=f.c2g(t.p0),d=t.thetag1=f.c2g(t.p1);if(i(o)&&i(s)&&i(p)&&i(d)&&o!==s&&p!==d){var g=u.c2g(t.s1),m=(p+d)/2;t.ct=[l.c2p(g*Math.cos(m)),c.c2p(g*Math.sin(m))],e=h(o,s,p,d)}else e="M0,0Z";a.ensureSingle(r,"path").attr("d",e)})),o.setClipUrl(r,e._hasClipOnAxisFalse?e.clipIds.forTraces:null,t)}))}},{"../../components/drawing":388,"../../lib":503,"../../plots/polar/helpers":621,"@plotly/d3":58,"fast-isnumeric":190}],673:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../bar/attributes"),a=t("../../components/color/attributes"),o=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,s=t("../../plots/template_attributes").hovertemplateAttrs,l=t("../../lib/extend").extendFlat,c=n.marker,u=c.line;e.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,xhoverformat:o("x"),yhoverformat:o("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:l({},c.symbol,{arrayOk:!1,editType:"plot"}),opacity:l({},c.opacity,{arrayOk:!1,dflt:1,editType:"style"}),size:l({},c.size,{arrayOk:!1,editType:"calc"}),color:l({},c.color,{arrayOk:!1,editType:"style"}),line:{color:l({},u.color,{arrayOk:!1,dflt:a.defaultLine,editType:"style"}),width:l({},u.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:n.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:i.offsetgroup,alignmentgroup:i.alignmentgroup,selected:{marker:n.selected.marker,editType:"style"},unselected:{marker:n.unselected.marker,editType:"style"},text:l({},n.text,{}),hovertext:l({},n.hovertext,{}),hovertemplate:s({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":926}],674:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../plots/cartesian/axes"),a=t("../../plots/cartesian/align_period"),o=t("../../lib"),s=t("../../constants/numerical").BADNUM,l=o._;e.exports=function(t,e){var r,c,y,x,b,_,w,T=t._fullLayout,k=i.getFromId(t,e.xaxis||"x"),A=i.getFromId(t,e.yaxis||"y"),M=[],S="violin"===e.type?"_numViolins":"_numBoxes";"h"===e.orientation?(y=k,x="x",b=A,_="y",w=!!e.yperiodalignment):(y=A,x="y",b=k,_="x",w=!!e.xperiodalignment);var E,L,C,P,I,O,z=function(t,e,r,i){var s,l=e+"0"in t,c="d"+e in t;if(e in t||l&&c){var u=r.makeCalcdata(t,e);return[a(t,r,e,u).vals,u]}s=l?t[e+"0"]:"name"in t&&("category"===r.type||n(t.name)&&-1!==["linear","log"].indexOf(r.type)||o.isDateTime(t.name)&&"date"===r.type)?t.name:i;for(var f="multicategory"===r.type?r.r2c_just_indices(s):r.d2c(s,0,t[e+"calendar"]),h=t._length,p=new Array(h),d=0;d<h;d++)p[d]=f;return[p]}(e,_,b,T[S]),D=z[0],R=z[1],F=o.distinctVals(D,b),B=F.vals,N=F.minDiff/2,j="all"===(e.boxpoints||e.points)?o.identity:function(t){return t.v<E.lf||t.v>E.uf};if(e._hasPreCompStats){var U=e[x],V=function(t){return y.d2c((e[t]||[])[r])},H=1/0,q=-1/0;for(r=0;r<e._length;r++){var G=D[r];if(n(G)){if((E={}).pos=E[_]=G,w&&R&&(E.orig_p=R[r]),E.q1=V("q1"),E.med=V("median"),E.q3=V("q3"),L=[],U&&o.isArrayOrTypedArray(U[r]))for(c=0;c<U[r].length;c++)(O=y.d2c(U[r][c]))!==s&&(u(I={v:O,i:[r,c]},e,[r,c]),L.push(I));if(E.pts=L.sort(f),P=(C=E[x]=L.map(h)).length,E.med!==s&&E.q1!==s&&E.q3!==s&&E.med>=E.q1&&E.q3>=E.med){var Y=V("lowerfence");E.lf=Y!==s&&Y<=E.q1?Y:p(E,C,P);var W=V("upperfence");E.uf=W!==s&&W>=E.q3?W:d(E,C,P);var X=V("mean");E.mean=X!==s?X:P?o.mean(C,P):(E.q1+E.q3)/2;var Z=V("sd");E.sd=X!==s&&Z>=0?Z:P?o.stdev(C,P,E.mean):E.q3-E.q1,E.lo=g(E),E.uo=m(E);var J=V("notchspan");J=J!==s&&J>0?J:v(E,P),E.ln=E.med-J,E.un=E.med+J;var K=E.lf,Q=E.uf;e.boxpoints&&C.length&&(K=Math.min(K,C[0]),Q=Math.max(Q,C[P-1])),e.notched&&(K=Math.min(K,E.ln),Q=Math.max(Q,E.un)),E.min=K,E.max=Q}else{var $;o.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+E.q1,"median = "+E.med,"q3 = "+E.q3].join("\n")),$=E.med!==s?E.med:E.q1!==s?E.q3!==s?(E.q1+E.q3)/2:E.q1:E.q3!==s?E.q3:0,E.med=$,E.q1=E.q3=$,E.lf=E.uf=$,E.mean=E.sd=$,E.ln=E.un=$,E.min=E.max=$}H=Math.min(H,E.min),q=Math.max(q,E.max),E.pts2=L.filter(j),M.push(E)}}e._extremes[y._id]=i.findExtremes(y,[H,q],{padded:!0})}else{var tt=y.makeCalcdata(e,x),et=function(t,e){for(var r=t.length,n=new Array(r+1),i=0;i<r;i++)n[i]=t[i]-e;return n[r]=t[r-1]+e,n}(B,N),rt=B.length,nt=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=[];return e}(rt);for(r=0;r<e._length;r++)if(O=tt[r],n(O)){var it=o.findBin(D[r],et);it>=0&&it<rt&&(u(I={v:O,i:r},e,r),nt[it].push(I))}var at=1/0,ot=-1/0,st=e.quartilemethod,lt="exclusive"===st,ct="inclusive"===st;for(r=0;r<rt;r++)if(nt[r].length>0){var ut,ft;if((E={}).pos=E[_]=B[r],L=E.pts=nt[r].sort(f),P=(C=E[x]=L.map(h)).length,E.min=C[0],E.max=C[P-1],E.mean=o.mean(C,P),E.sd=o.stdev(C,P,E.mean),E.med=o.interp(C,.5),P%2&&(lt||ct))lt?(ut=C.slice(0,P/2),ft=C.slice(P/2+1)):ct&&(ut=C.slice(0,P/2+1),ft=C.slice(P/2)),E.q1=o.interp(ut,.5),E.q3=o.interp(ft,.5);else E.q1=o.interp(C,.25),E.q3=o.interp(C,.75);E.lf=p(E,C,P),E.uf=d(E,C,P),E.lo=g(E),E.uo=m(E);var ht=v(E,P);E.ln=E.med-ht,E.un=E.med+ht,at=Math.min(at,E.ln),ot=Math.max(ot,E.un),E.pts2=L.filter(j),M.push(E)}e._extremes[y._id]=i.findExtremes(y,e.notched?tt.concat([at,ot]):tt,{padded:!0})}return function(t,e){if(o.isArrayOrTypedArray(e.selectedpoints))for(var r=0;r<t.length;r++){for(var n=t[r].pts||[],i={},a=0;a<n.length;a++)i[n[a].i]=a;o.tagSelected(n,e,i)}}(M,e),M.length>0?(M[0].t={num:T[S],dPos:N,posLetter:_,valLetter:x,labels:{med:l(t,"median:"),min:l(t,"min:"),q1:l(t,"q1:"),q3:l(t,"q3:"),max:l(t,"max:"),mean:"sd"===e.boxmean?l(t,"mean \xb1 \u03c3:"):l(t,"mean:"),lf:l(t,"lower fence:"),uf:l(t,"upper fence:")}},T[S]++,M):[{t:{empty:!0}}]};var c={text:"tx",hovertext:"htx"};function u(t,e,r){for(var n in c)o.isArrayOrTypedArray(e[n])&&(Array.isArray(r)?o.isArrayOrTypedArray(e[n][r[0]])&&(t[c[n]]=e[n][r[0]][r[1]]):t[c[n]]=e[n][r])}function f(t,e){return t.v-e.v}function h(t){return t.v}function p(t,e,r){return 0===r?t.q1:Math.min(t.q1,e[Math.min(o.findBin(2.5*t.q1-1.5*t.q3,e,!0)+1,r-1)])}function d(t,e,r){return 0===r?t.q3:Math.max(t.q3,e[Math.max(o.findBin(2.5*t.q3-1.5*t.q1,e),0)])}function g(t){return 4*t.q1-3*t.q3}function m(t){return 4*t.q3-3*t.q1}function v(t,e){return 0===e?0:1.57*(t.q3-t.q1)/Math.sqrt(e)}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"fast-isnumeric":190}],675:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib"),a=t("../../plots/cartesian/constraints").getAxisGroup,o=["v","h"];function s(t,e,r,o){var s,l,c,u=e.calcdata,f=e._fullLayout,h=o._id,p=h.charAt(0),d=[],g=0;for(s=0;s<r.length;s++)for(c=u[r[s]],l=0;l<c.length;l++)d.push(o.c2l(c[l].pos,!0)),g+=(c[l].pts2||[]).length;if(d.length){var m=i.distinctVals(d);"category"!==o.type&&"multicategory"!==o.type||(m.minDiff=1);var v=m.minDiff/2;n.minDtick(o,m.minDiff,m.vals[0],!0);var y=f["violin"===t?"_numViolins":"_numBoxes"],x="group"===f[t+"mode"]&&y>1,b=1-f[t+"gap"],_=1-f[t+"groupgap"];for(s=0;s<r.length;s++){var w,T,k,A,M,S,E=(c=u[r[s]])[0].trace,L=c[0].t,C=E.width,P=E.side;if(C)w=T=A=C/2,k=0;else if(w=v,x){var I=a(f,o._id)+E.orientation,O=(f._alignmentOpts[I]||{})[E.alignmentgroup]||{},z=Object.keys(O.offsetGroups||{}).length,D=z||y;T=w*b*_/D,k=2*w*(((z?E._offsetIndex:L.num)+.5)/D-.5)*b,A=w*b/D}else T=w*b*_,k=0,A=w;L.dPos=w,L.bPos=k,L.bdPos=T,L.wHover=A;var R,F,B,N,j,U,V=k+T,H=Boolean(C);if("positive"===P?(M=w*(C?1:.5),R=V,S=R=k):"negative"===P?(M=R=k,S=w*(C?1:.5),F=V):(M=S=w,R=F=V),(E.boxpoints||E.points)&&g>0){var q=E.pointpos,G=E.jitter,Y=E.marker.size/2,W=0;q+G>=0&&((W=V*(q+G))>M?(H=!0,j=Y,B=W):W>R&&(j=Y,B=M)),W<=M&&(B=M);var X=0;q-G<=0&&((X=-V*(q-G))>S?(H=!0,U=Y,N=X):X>F&&(U=Y,N=S)),X<=S&&(N=S)}else B=M,N=S;var Z=new Array(c.length);for(l=0;l<c.length;l++)Z[l]=c[l].pos;E._extremes[h]=n.findExtremes(o,Z,{padded:H,vpadminus:N,vpadplus:B,vpadLinearized:!0,ppadminus:{x:U,y:j}[p],ppadplus:{x:j,y:U}[p]})}}}e.exports={crossTraceCalc:function(t,e){for(var r=t.calcdata,n=e.xaxis,i=e.yaxis,a=0;a<o.length;a++){for(var l=o[a],c="h"===l?i:n,u=[],f=0;f<r.length;f++){var h=r[f],p=h[0].t,d=h[0].trace;!0!==d.visible||"box"!==d.type&&"candlestick"!==d.type||p.empty||(d.orientation||"v")!==l||d.xaxis!==n._id||d.yaxis!==i._id||u.push(f)}s("box",t,u,c)}},setPositionOffset:s}},{"../../lib":503,"../../plots/cartesian/axes":554,"../../plots/cartesian/constraints":562}],676:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=t("../../components/color"),o=t("../scatter/period_defaults"),s=t("../bar/defaults").handleGroupingDefaults,l=t("../../plots/cartesian/axis_autotype"),c=t("./attributes");function u(t,e,r,a){function o(t){var e=0;return t&&t.length&&(e+=1,n.isArrayOrTypedArray(t[0])&&t[0].length&&(e+=1)),e}function s(e){return n.validate(t[e],c[e])}var u,f=r("y"),h=r("x");if("box"===e.type){var p=r("q1"),d=r("median"),g=r("q3");e._hasPreCompStats=p&&p.length&&d&&d.length&&g&&g.length,u=Math.min(n.minRowLength(p),n.minRowLength(d),n.minRowLength(g))}var m,v,y=o(f),x=o(h),b=y&&n.minRowLength(f),_=x&&n.minRowLength(h),w=a.calendar,T={autotypenumbers:a.autotypenumbers};if(e._hasPreCompStats)switch(String(x)+String(y)){case"00":var k=s("x0")||s("dx");m=(s("y0")||s("dy"))&&!k?"h":"v",v=u;break;case"10":m="v",v=Math.min(u,_);break;case"20":m="h",v=Math.min(u,h.length);break;case"01":m="h",v=Math.min(u,b);break;case"02":m="v",v=Math.min(u,f.length);break;case"12":m="v",v=Math.min(u,_,f.length);break;case"21":m="h",v=Math.min(u,h.length,b);break;case"11":v=0;break;case"22":var A,M=!1;for(A=0;A<h.length;A++)if("category"===l(h[A],w,T)){M=!0;break}if(M)m="v",v=Math.min(u,_,f.length);else{for(A=0;A<f.length;A++)if("category"===l(f[A],w,T)){M=!0;break}M?(m="h",v=Math.min(u,h.length,b)):(m="v",v=Math.min(u,_,f.length))}}else y>0?(m="v",v=x>0?Math.min(_,b):Math.min(b)):x>0?(m="h",v=Math.min(_)):v=0;if(v){e._length=v;var S=r("orientation",m);e._hasPreCompStats?"v"===S&&0===x?(r("x0",0),r("dx",1)):"h"===S&&0===y&&(r("y0",0),r("dy",1)):"v"===S&&0===x?r("x0"):"h"===S&&0===y&&r("y0"),i.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y"],a)}else e.visible=!1}function f(t,e,r,i){var a=i.prefix,o=n.coerce2(t,e,c,"marker.outliercolor"),s=r("marker.line.outliercolor"),l="outliers";e._hasPreCompStats?l="all":(o||s)&&(l="suspectedoutliers");var u=r(a+"points",l);u?(r("jitter","all"===u?.3:0),r("pointpos","all"===u?-1.5:0),r("marker.symbol"),r("marker.opacity"),r("marker.size"),r("marker.color",e.line.color),r("marker.line.color"),r("marker.line.width"),"suspectedoutliers"===u&&(r("marker.line.outliercolor",e.marker.color),r("marker.line.outlierwidth")),r("selected.marker.color"),r("unselected.marker.color"),r("selected.marker.size"),r("unselected.marker.size"),r("text"),r("hovertext")):delete e.marker;var f=r("hoveron");"all"!==f&&-1===f.indexOf("points")||r("hovertemplate"),n.coerceSelectionMarkerOpacity(e,r)}e.exports={supplyDefaults:function(t,e,r,i){function s(r,i){return n.coerce(t,e,c,r,i)}if(u(t,e,s,i),!1!==e.visible){o(t,e,i,s),s("xhoverformat"),s("yhoverformat");var l=e._hasPreCompStats;l&&(s("lowerfence"),s("upperfence")),s("line.color",(t.marker||{}).color||r),s("line.width"),s("fillcolor",a.addOpacity(e.line.color,.5));var h=!1;if(l){var p=s("mean"),d=s("sd");p&&p.length&&(h=!0,d&&d.length&&(h="sd"))}s("boxmean",h),s("whiskerwidth"),s("width"),s("quartilemethod");var g=!1;if(l){var m=s("notchspan");m&&m.length&&(g=!0)}else n.validate(t.notchwidth,c.notchwidth)&&(g=!0);s("notched",g)&&s("notchwidth"),f(t,e,s,{prefix:"box"})}},crossTraceDefaults:function(t,e){var r,i;function a(t){return n.coerce(i._input,i,c,t)}for(var o=0;o<t.length;o++){var l=(i=t[o]).type;"box"!==l&&"violin"!==l||(r=i._input,"group"===e[l+"mode"]&&s(r,i,e,a))}},handleSampleDefaults:u,handlePointsDefaults:f}},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/axis_autotype":555,"../../registry":638,"../bar/defaults":652,"../scatter/period_defaults":946,"./attributes":673}],677:[function(t,e,r){"use strict";e.exports=function(t,e){return e.hoverOnBox&&(t.hoverOnBox=e.hoverOnBox),"xVal"in e&&(t.x=e.xVal),"yVal"in e&&(t.y=e.yVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],678:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib"),a=t("../../components/fx"),o=t("../../components/color"),s=i.fillText;function l(t,e,r,s){var l,c,u,f,h,p,d,g,m,v,y,x,b,_,w=t.cd,T=t.xa,k=t.ya,A=w[0].trace,M=w[0].t,S="violin"===A.type,E=[],L=M.bdPos,C=M.wHover,P=function(t){return u.c2l(t.pos)+M.bPos-u.c2l(p)};S&&"both"!==A.side?("positive"===A.side&&(m=function(t){var e=P(t);return a.inbox(e,e+C,v)},x=L,b=0),"negative"===A.side&&(m=function(t){var e=P(t);return a.inbox(e-C,e,v)},x=0,b=L)):(m=function(t){var e=P(t);return a.inbox(e-C,e+C,v)},x=b=L),_=S?function(t){return a.inbox(t.span[0]-h,t.span[1]-h,v)}:function(t){return a.inbox(t.min-h,t.max-h,v)},"h"===A.orientation?(h=e,p=r,d=_,g=m,l="y",u=k,c="x",f=T):(h=r,p=e,d=m,g=_,l="x",u=T,c="y",f=k);var I=Math.min(1,L/Math.abs(u.r2c(u.range[1])-u.r2c(u.range[0])));function O(t){return(d(t)+g(t))/2}v=t.maxHoverDistance-I,y=t.maxSpikeDistance-I;var z=a.getDistanceFunction(s,d,g,O);if(a.getClosest(w,z,t),!1===t.index)return[];var D=w[t.index],R=A.line.color,F=(A.marker||{}).color;o.opacity(R)&&A.line.width?t.color=R:o.opacity(F)&&A.boxpoints?t.color=F:t.color=A.fillcolor,t[l+"0"]=u.c2p(D.pos+M.bPos-b,!0),t[l+"1"]=u.c2p(D.pos+M.bPos+x,!0),t[l+"LabelVal"]=void 0!==D.orig_p?D.orig_p:D.pos;var B=l+"Spike";t.spikeDistance=O(D)*y/v,t[B]=u.c2p(D.pos,!0);var N={},j=["med","q1","q3","min","max"];(A.boxmean||(A.meanline||{}).visible)&&j.push("mean"),(A.boxpoints||A.points)&&j.push("lf","uf");for(var U=0;U<j.length;U++){var V=j[U];if(V in D&&!(D[V]in N)){N[D[V]]=!0;var H=D[V],q=f.c2p(H,!0),G=i.extendFlat({},t);G.attr=V,G[c+"0"]=G[c+"1"]=q,G[c+"LabelVal"]=H,G[c+"Label"]=(M.labels?M.labels[V]+" ":"")+n.hoverLabelText(f,H,A[c+"hoverformat"]),G.hoverOnBox=!0,"mean"===V&&"sd"in D&&"sd"===A.boxmean&&(G[c+"err"]=D.sd),t.name="",t.spikeDistance=void 0,t[B]=void 0,G.hovertemplate=!1,E.push(G)}}return E}function c(t,e,r){for(var n,o,l,c=t.cd,u=t.xa,f=t.ya,h=c[0].trace,p=u.c2p(e),d=f.c2p(r),g=a.quadrature((function(t){var e=Math.max(3,t.mrc||0);return Math.max(Math.abs(u.c2p(t.x)-p)-e,1-3/e)}),(function(t){var e=Math.max(3,t.mrc||0);return Math.max(Math.abs(f.c2p(t.y)-d)-e,1-3/e)})),m=!1,v=0;v<c.length;v++){o=c[v];for(var y=0;y<(o.pts||[]).length;y++){var x=g(l=o.pts[y]);x<=t.distance&&(t.distance=x,m=[v,y])}}if(!m)return!1;l=(o=c[m[0]]).pts[m[1]];var b=u.c2p(l.x,!0),_=f.c2p(l.y,!0),w=l.mrc||1;n=i.extendFlat({},t,{index:l.i,color:(h.marker||{}).color,name:h.name,x0:b-w,x1:b+w,y0:_-w,y1:_+w,spikeDistance:t.distance,hovertemplate:h.hovertemplate});var T,k=o.orig_p,A=void 0!==k?k:o.pos;return"h"===h.orientation?(T=f,n.xLabelVal=l.x,n.yLabelVal=A):(T=u,n.xLabelVal=A,n.yLabelVal=l.y),n[T._id.charAt(0)+"Spike"]=T.c2p(o.pos,!0),s(l,h,n),n}e.exports={hoverPoints:function(t,e,r,n){var i,a=t.cd[0].trace.hoveron,o=[];return-1!==a.indexOf("boxes")&&(o=o.concat(l(t,e,r,n))),-1!==a.indexOf("points")&&(i=c(t,e,r)),"closest"===n?i?[i]:o:i?(o.push(i),o):o},hoverOnBoxes:l,hoverOnPoints:c}},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"../../plots/cartesian/axes":554}],679:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults").supplyDefaults,crossTraceDefaults:t("./defaults").crossTraceDefaults,supplyLayoutDefaults:t("./layout_defaults").supplyLayoutDefaults,calc:t("./calc"),crossTraceCalc:t("./cross_trace_calc").crossTraceCalc,plot:t("./plot").plot,style:t("./style").style,styleOnSelect:t("./style").styleOnSelect,hoverPoints:t("./hover").hoverPoints,eventData:t("./event_data"),selectPoints:t("./select"),moduleType:"trace",name:"box",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","boxLayout","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"./attributes":673,"./calc":674,"./cross_trace_calc":675,"./defaults":676,"./event_data":677,"./hover":678,"./layout_attributes":680,"./layout_defaults":681,"./plot":682,"./select":683,"./style":684}],680:[function(t,e,r){"use strict";e.exports={boxmode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},boxgap:{valType:"number",min:0,max:1,dflt:.3,editType:"calc"},boxgroupgap:{valType:"number",min:0,max:1,dflt:.3,editType:"calc"}}},{}],681:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("./layout_attributes");function o(t,e,r,i,a){for(var o=a+"Layout",s=!1,l=0;l<r.length;l++){var c=r[l];if(n.traceIs(c,o)){s=!0;break}}s&&(i(a+"mode"),i(a+"gap"),i(a+"groupgap"))}e.exports={supplyLayoutDefaults:function(t,e,r){o(0,0,r,(function(r,n){return i.coerce(t,e,a,r,n)}),"box")},_supply:o}},{"../../lib":503,"../../registry":638,"./layout_attributes":680}],682:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing");function o(t,e,r,a){var o,s,l="h"===r.orientation,c=e.val,u=e.pos,f=!!u.rangebreaks,h=a.bPos,p=a.wdPos||0,d=a.bPosPxOffset||0,g=r.whiskerwidth||0,m=r.notched||!1,v=m?1-2*r.notchwidth:1;Array.isArray(a.bdPos)?(o=a.bdPos[0],s=a.bdPos[1]):(o=a.bdPos,s=a.bdPos);var y=t.selectAll("path.box").data("violin"!==r.type||r.box.visible?i.identity:[]);y.enter().append("path").style("vector-effect","non-scaling-stroke").attr("class","box"),y.exit().remove(),y.each((function(t){if(t.empty)return"M0,0Z";var e=u.c2l(t.pos+h,!0),a=u.l2p(e-o)+d,y=u.l2p(e+s)+d,x=f?(a+y)/2:u.l2p(e)+d,b=r.whiskerwidth,_=f?a*b+(1-b)*x:u.l2p(e-p)+d,w=f?y*b+(1-b)*x:u.l2p(e+p)+d,T=u.l2p(e-o*v)+d,k=u.l2p(e+s*v)+d,A=c.c2p(t.q1,!0),M=c.c2p(t.q3,!0),S=i.constrain(c.c2p(t.med,!0),Math.min(A,M)+1,Math.max(A,M)-1),E=void 0===t.lf||!1===r.boxpoints,L=c.c2p(E?t.min:t.lf,!0),C=c.c2p(E?t.max:t.uf,!0),P=c.c2p(t.ln,!0),I=c.c2p(t.un,!0);l?n.select(this).attr("d","M"+S+","+T+"V"+k+"M"+A+","+a+"V"+y+(m?"H"+P+"L"+S+","+k+"L"+I+","+y:"")+"H"+M+"V"+a+(m?"H"+I+"L"+S+","+T+"L"+P+","+a:"")+"ZM"+A+","+x+"H"+L+"M"+M+","+x+"H"+C+(0===g?"":"M"+L+","+_+"V"+w+"M"+C+","+_+"V"+w)):n.select(this).attr("d","M"+T+","+S+"H"+k+"M"+a+","+A+"H"+y+(m?"V"+P+"L"+k+","+S+"L"+y+","+I:"")+"V"+M+"H"+a+(m?"V"+I+"L"+T+","+S+"L"+a+","+P:"")+"ZM"+x+","+A+"V"+L+"M"+x+","+M+"V"+C+(0===g?"":"M"+_+","+L+"H"+w+"M"+_+","+C+"H"+w))}))}function s(t,e,r,n){var o=e.x,s=e.y,l=n.bdPos,c=n.bPos,u=r.boxpoints||r.points;i.seedPseudoRandom();var f=t.selectAll("g.points").data(u?function(t){return t.forEach((function(t){t.t=n,t.trace=r})),t}:[]);f.enter().append("g").attr("class","points"),f.exit().remove();var h=f.selectAll("path").data((function(t){var e,n,a=t.pts2,o=Math.max((t.max-t.min)/10,t.q3-t.q1),s=1e-9*o,f=.01*o,h=[],p=0;if(r.jitter){if(0===o)for(p=1,h=new Array(a.length),e=0;e<a.length;e++)h[e]=1;else for(e=0;e<a.length;e++){var d=Math.max(0,e-5),g=a[d].v,m=Math.min(a.length-1,e+5),v=a[m].v;"all"!==u&&(a[e].v<t.lf?v=Math.min(v,t.lf):g=Math.max(g,t.uf));var y=Math.sqrt(f*(m-d)/(v-g+s))||0;y=i.constrain(Math.abs(y),0,1),h.push(y),p=Math.max(y,p)}n=2*r.jitter/(p||1)}for(e=0;e<a.length;e++){var x=a[e],b=x.v,_=r.jitter?n*h[e]*(i.pseudoRandom()-.5):0,w=t.pos+c+l*(r.pointpos+_);"h"===r.orientation?(x.y=w,x.x=b):(x.x=w,x.y=b),"suspectedoutliers"===u&&b<t.uo&&b>t.lo&&(x.so=!0)}return a}));h.enter().append("path").classed("point",!0),h.exit().remove(),h.call(a.translatePoints,o,s)}function l(t,e,r,a){var o,s,l=e.val,c=e.pos,u=!!c.rangebreaks,f=a.bPos,h=a.bPosPxOffset||0,p=r.boxmean||(r.meanline||{}).visible;Array.isArray(a.bdPos)?(o=a.bdPos[0],s=a.bdPos[1]):(o=a.bdPos,s=a.bdPos);var d=t.selectAll("path.mean").data("box"===r.type&&r.boxmean||"violin"===r.type&&r.box.visible&&r.meanline.visible?i.identity:[]);d.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),d.exit().remove(),d.each((function(t){var e=c.c2l(t.pos+f,!0),i=c.l2p(e-o)+h,a=c.l2p(e+s)+h,d=u?(i+a)/2:c.l2p(e)+h,g=l.c2p(t.mean,!0),m=l.c2p(t.mean-t.sd,!0),v=l.c2p(t.mean+t.sd,!0);"h"===r.orientation?n.select(this).attr("d","M"+g+","+i+"V"+a+("sd"===p?"m0,0L"+m+","+d+"L"+g+","+i+"L"+v+","+d+"Z":"")):n.select(this).attr("d","M"+i+","+g+"H"+a+("sd"===p?"m0,0L"+d+","+m+"L"+i+","+g+"L"+d+","+v+"Z":""))}))}e.exports={plot:function(t,e,r,a){var c=e.xaxis,u=e.yaxis;i.makeTraceGroups(a,r,"trace boxes").each((function(t){var e,r,i=n.select(this),a=t[0],f=a.t,h=a.trace;(f.wdPos=f.bdPos*h.whiskerwidth,!0!==h.visible||f.empty)?i.remove():("h"===h.orientation?(e=u,r=c):(e=c,r=u),o(i,{pos:e,val:r},h,f),s(i,{x:c,y:u},h,f),l(i,{pos:e,val:r},h,f))}))},plotBoxAndWhiskers:o,plotPoints:s,plotBoxMean:l}},{"../../components/drawing":388,"../../lib":503,"@plotly/d3":58}],683:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n,i=t.cd,a=t.xaxis,o=t.yaxis,s=[];if(!1===e)for(r=0;r<i.length;r++)for(n=0;n<(i[r].pts||[]).length;n++)i[r].pts[n].selected=0;else for(r=0;r<i.length;r++)for(n=0;n<(i[r].pts||[]).length;n++){var l=i[r].pts[n],c=a.c2p(l.x),u=o.c2p(l.y);e.contains([c,u],null,l.i,t)?(s.push({pointNumber:l.i,x:a.c2d(l.x),y:o.c2d(l.y)}),l.selected=1):l.selected=0}return s}},{}],684:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../components/drawing");e.exports={style:function(t,e,r){var o=r||n.select(t).selectAll("g.trace.boxes");o.style("opacity",(function(t){return t[0].trace.opacity})),o.each((function(e){var r=n.select(this),o=e[0].trace,s=o.line.width;function l(t,e,r,n){t.style("stroke-width",e+"px").call(i.stroke,r).call(i.fill,n)}var c=r.selectAll("path.box");if("candlestick"===o.type)c.each((function(t){if(!t.empty){var e=n.select(this),r=o[t.dir];l(e,r.line.width,r.line.color,r.fillcolor),e.style("opacity",o.selectedpoints&&!t.selected?.3:1)}}));else{l(c,s,o.line.color,o.fillcolor),r.selectAll("path.mean").style({"stroke-width":s,"stroke-dasharray":2*s+"px,"+s+"px"}).call(i.stroke,o.line.color);var u=r.selectAll("path.point");a.pointStyle(u,o,t)}}))},styleOnSelect:function(t,e,r){var n=e[0].trace,i=r.selectAll("path.point");n.selectedpoints?a.selectedPointStyle(i,n):a.pointStyle(i,n,t)}}},{"../../components/color":366,"../../components/drawing":388,"@plotly/d3":58}],685:[function(t,e,r){"use strict";var n=t("../../lib").extendFlat,i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../ohlc/attributes"),o=t("../box/attributes");function s(t){return{line:{color:n({},o.line.color,{dflt:t}),width:o.line.width,editType:"style"},fillcolor:o.fillcolor,editType:"style"}}e.exports={xperiod:a.xperiod,xperiod0:a.xperiod0,xperiodalignment:a.xperiodalignment,xhoverformat:i("x"),yhoverformat:i("y"),x:a.x,open:a.open,high:a.high,low:a.low,close:a.close,line:{width:n({},o.line.width,{}),editType:"style"},increasing:s(a.increasing.line.color.dflt),decreasing:s(a.decreasing.line.color.dflt),text:a.text,hovertext:a.hovertext,whiskerwidth:n({},o.whiskerwidth,{dflt:0}),hoverlabel:a.hoverlabel}},{"../../lib":503,"../../plots/cartesian/axis_format_attributes":557,"../box/attributes":673,"../ohlc/attributes":872}],686:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../../plots/cartesian/align_period"),o=t("../ohlc/calc").calcCommon;function s(t,e,r,n){return{min:r,q1:Math.min(t,n),med:n,q3:Math.max(t,n),max:e}}e.exports=function(t,e){var r=t._fullLayout,l=i.getFromId(t,e.xaxis),c=i.getFromId(t,e.yaxis),u=l.makeCalcdata(e,"x"),f=a(e,l,"x",u).vals,h=o(t,e,u,f,c,s);return h.length?(n.extendFlat(h[0].t,{num:r._numBoxes,dPos:n.distinctVals(f).minDiff/2,posLetter:"x",valLetter:"y"}),r._numBoxes++,h):[{t:{empty:!0}}]}},{"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../ohlc/calc":873}],687:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../ohlc/ohlc_defaults"),o=t("../scatter/period_defaults"),s=t("./attributes");function l(t,e,r,n){var a=r(n+".line.color");r(n+".line.width",e.line.width),r(n+".fillcolor",i.addOpacity(a,.5))}e.exports=function(t,e,r,i){function c(r,i){return n.coerce(t,e,s,r,i)}a(t,e,c,i)?(o(t,e,i,c,{x:!0}),c("xhoverformat"),c("yhoverformat"),c("line.width"),l(t,e,c,"increasing"),l(t,e,c,"decreasing"),c("text"),c("hovertext"),c("whiskerwidth"),i._requestRangeslider[e.xaxis]=!0):e.visible=!1}},{"../../components/color":366,"../../lib":503,"../ohlc/ohlc_defaults":877,"../scatter/period_defaults":946,"./attributes":685}],688:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"candlestick",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","showLegend","candlestick","boxLayout"],meta:{},attributes:t("./attributes"),layoutAttributes:t("../box/layout_attributes"),supplyLayoutDefaults:t("../box/layout_defaults").supplyLayoutDefaults,crossTraceCalc:t("../box/cross_trace_calc").crossTraceCalc,supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("../box/plot").plot,layerName:"boxlayer",style:t("../box/style").style,hoverPoints:t("../ohlc/hover").hoverPoints,selectPoints:t("../ohlc/select")}},{"../../plots/cartesian":568,"../box/cross_trace_calc":675,"../box/layout_attributes":680,"../box/layout_defaults":681,"../box/plot":682,"../box/style":684,"../ohlc/hover":875,"../ohlc/select":879,"./attributes":685,"./calc":686,"./defaults":687}],689:[function(t,e,r){"use strict";var n=t("./axis_defaults"),i=t("../../plot_api/plot_template");e.exports=function(t,e,r,a,o){a("a")||(a("da"),a("a0")),a("b")||(a("db"),a("b0")),function(t,e,r,a){["aaxis","baxis"].forEach((function(o){var s=o.charAt(0),l=t[o]||{},c=i.newContainer(e,o),u={noTicklabelstep:!0,tickfont:"x",id:s+"axis",letter:s,font:e.font,name:o,data:t[s],calendar:e.calendar,dfltColor:a,bgColor:r.paper_bgcolor,autotypenumbersDflt:r.autotypenumbers,fullLayout:r};n(l,c,u),c._categories=c._categories||[],t[o]||"-"===l.type||(t[o]={type:l.type})}))}(t,e,r,o)}},{"../../plot_api/plot_template":543,"./axis_defaults":694}],690:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray;e.exports=function(t){return function t(e,r){if(!n(e)||r>=10)return null;for(var i=1/0,a=-1/0,o=e.length,s=0;s<o;s++){var l=e[s];if(n(l)){var c=t(l,r+1);c&&(i=Math.min(c[0],i),a=Math.max(c[1],a))}else i=Math.min(l,i),a=Math.max(l,a)}return[i,a]}(t,0)}},{"../../lib":503}],691:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("./axis_attributes"),a=t("../../components/color/attributes"),o=n({editType:"calc"});o.family.dflt='"Open Sans", verdana, arial, sans-serif',o.size.dflt=12,o.color.dflt=a.defaultLine,e.exports={carpet:{valType:"string",editType:"calc"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},a:{valType:"data_array",editType:"calc"},a0:{valType:"number",dflt:0,editType:"calc"},da:{valType:"number",dflt:1,editType:"calc"},b:{valType:"data_array",editType:"calc"},b0:{valType:"number",dflt:0,editType:"calc"},db:{valType:"number",dflt:1,editType:"calc"},cheaterslope:{valType:"number",dflt:1,editType:"calc"},aaxis:i,baxis:i,font:o,color:{valType:"color",dflt:a.defaultLine,editType:"plot"},transforms:void 0}},{"../../components/color/attributes":365,"../../plots/font_attributes":585,"./axis_attributes":693}],692:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r,i){var a,o,s,l,c,u,f,h,p,d,g,m,v,y=n(r)?"a":"b",x=("a"===y?t.aaxis:t.baxis).smoothing,b="a"===y?t.a2i:t.b2j,_="a"===y?r:i,w="a"===y?i:r,T="a"===y?e.a.length:e.b.length,k="a"===y?e.b.length:e.a.length,A=Math.floor("a"===y?t.b2j(w):t.a2i(w)),M="a"===y?function(e){return t.evalxy([],e,A)}:function(e){return t.evalxy([],A,e)};x&&(s=Math.max(0,Math.min(k-2,A)),l=A-s,o="a"===y?function(e,r){return t.dxydi([],e,s,r,l)}:function(e,r){return t.dxydj([],s,e,l,r)});var S=b(_[0]),E=b(_[1]),L=S<E?1:-1,C=1e-8*(E-S),P=L>0?Math.floor:Math.ceil,I=L>0?Math.ceil:Math.floor,O=L>0?Math.min:Math.max,z=L>0?Math.max:Math.min,D=P(S+C),R=I(E-C),F=[[f=M(S)]];for(a=D;a*L<R*L;a+=L)c=[],g=z(S,a),v=(m=O(E,a+L))-g,u=Math.max(0,Math.min(T-2,Math.floor(.5*(g+m)))),h=M(m),x&&(p=o(u,g-u),d=o(u,m-u),c.push([f[0]+p[0]/3*v,f[1]+p[1]/3*v]),c.push([h[0]-d[0]/3*v,h[1]-d[1]/3*v])),c.push(h),F.push(c),f=h;return F}},{"../../lib":503}],693:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../../components/color/attributes"),a=t("../../plots/cartesian/layout_attributes"),o=t("../../plots/cartesian/axis_format_attributes").descriptionWithDates,s=t("../../plot_api/edit_types").overrideAll;e.exports={color:{valType:"color",editType:"calc"},smoothing:{valType:"number",dflt:1,min:0,max:1.3,editType:"calc"},title:{text:{valType:"string",dflt:"",editType:"calc"},font:n({editType:"calc"}),offset:{valType:"number",dflt:10,editType:"calc"},editType:"calc"},type:{valType:"enumerated",values:["-","linear","date","category"],dflt:"-",editType:"calc"},autotypenumbers:a.autotypenumbers,autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,editType:"calc"},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"calc"},range:{valType:"info_array",editType:"calc",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}]},fixedrange:{valType:"boolean",dflt:!1,editType:"calc"},cheatertype:{valType:"enumerated",values:["index","value"],dflt:"value",editType:"calc"},tickmode:{valType:"enumerated",values:["linear","array"],dflt:"array",editType:"calc"},nticks:{valType:"integer",min:0,dflt:0,editType:"calc"},tickvals:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},showticklabels:{valType:"enumerated",values:["start","end","both","none"],dflt:"start",editType:"calc"},tickfont:n({editType:"calc"}),tickangle:{valType:"angle",dflt:"auto",editType:"calc"},tickprefix:{valType:"string",dflt:"",editType:"calc"},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},ticksuffix:{valType:"string",dflt:"",editType:"calc"},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"calc"},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"calc"},minexponent:{valType:"number",dflt:3,min:0,editType:"calc"},separatethousands:{valType:"boolean",dflt:!1,editType:"calc"},tickformat:{valType:"string",dflt:"",editType:"calc",description:o("tick label")},tickformatstops:s(a.tickformatstops,"calc","from-root"),categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},labelpadding:{valType:"integer",dflt:10,editType:"calc"},labelprefix:{valType:"string",editType:"calc"},labelsuffix:{valType:"string",dflt:"",editType:"calc"},showline:{valType:"boolean",dflt:!1,editType:"calc"},linecolor:{valType:"color",dflt:i.defaultLine,editType:"calc"},linewidth:{valType:"number",min:0,dflt:1,editType:"calc"},gridcolor:{valType:"color",editType:"calc"},gridwidth:{valType:"number",min:0,dflt:1,editType:"calc"},showgrid:{valType:"boolean",dflt:!0,editType:"calc"},minorgridcount:{valType:"integer",min:0,dflt:0,editType:"calc"},minorgridwidth:{valType:"number",min:0,dflt:1,editType:"calc"},minorgridcolor:{valType:"color",dflt:i.lightLine,editType:"calc"},startline:{valType:"boolean",editType:"calc"},startlinecolor:{valType:"color",editType:"calc"},startlinewidth:{valType:"number",dflt:1,editType:"calc"},endline:{valType:"boolean",editType:"calc"},endlinewidth:{valType:"number",dflt:1,editType:"calc"},endlinecolor:{valType:"color",editType:"calc"},tick0:{valType:"number",min:0,dflt:0,editType:"calc"},dtick:{valType:"number",min:0,dflt:1,editType:"calc"},arraytick0:{valType:"integer",min:0,dflt:0,editType:"calc"},arraydtick:{valType:"integer",min:1,dflt:1,editType:"calc"},_deprecated:{title:{valType:"string",editType:"calc"},titlefont:n({editType:"calc"}),titleoffset:{valType:"number",dflt:10,editType:"calc"}},editType:"calc"}},{"../../components/color/attributes":365,"../../plot_api/edit_types":536,"../../plots/cartesian/axis_format_attributes":557,"../../plots/cartesian/layout_attributes":569,"../../plots/font_attributes":585}],694:[function(t,e,r){"use strict";var n=t("./attributes"),i=t("../../components/color").addOpacity,a=t("../../registry"),o=t("../../lib"),s=t("../../plots/cartesian/tick_value_defaults"),l=t("../../plots/cartesian/tick_label_defaults"),c=t("../../plots/cartesian/prefix_suffix_defaults"),u=t("../../plots/cartesian/category_order_defaults"),f=t("../../plots/cartesian/set_convert"),h=t("../../plots/cartesian/axis_autotype");e.exports=function(t,e,r){var p=r.letter,d=r.font||{},g=n[p+"axis"];function m(r,n){return o.coerce(t,e,g,r,n)}function v(r,n){return o.coerce2(t,e,g,r,n)}r.name&&(e._name=r.name,e._id=r.name),m("autotypenumbers",r.autotypenumbersDflt);var y=m("type");("-"===y&&(r.data&&function(t,e){if("-"!==t.type)return;var r=t._id.charAt(0),n=t[r+"calendar"];t.type=h(e,n,{autotypenumbers:t.autotypenumbers})}(e,r.data),"-"===e.type?e.type="linear":y=t.type=e.type),m("smoothing"),m("cheatertype"),m("showticklabels"),m("labelprefix",p+" = "),m("labelsuffix"),m("showtickprefix"),m("showticksuffix"),m("separatethousands"),m("tickformat"),m("exponentformat"),m("minexponent"),m("showexponent"),m("categoryorder"),m("tickmode"),m("tickvals"),m("ticktext"),m("tick0"),m("dtick"),"array"===e.tickmode&&(m("arraytick0"),m("arraydtick")),m("labelpadding"),e._hovertitle=p,"date"===y)&&a.getComponentMethod("calendars","handleDefaults")(t,e,"calendar",r.calendar);f(e,r.fullLayout),e.c2p=o.identity;var x=m("color",r.dfltColor),b=x===t.color?x:d.color;m("title.text")&&(o.coerceFont(m,"title.font",{family:d.family,size:o.bigFont(d.size),color:b}),m("title.offset")),m("tickangle"),m("autorange",!e.isValidRange(t.range))&&m("rangemode"),m("range"),e.cleanRange(),m("fixedrange"),s(t,e,m,y),c(t,e,m,y,r),l(t,e,m,y,r),u(t,e,m,{data:r.data,dataAttr:p});var _=v("gridcolor",i(x,.3)),w=v("gridwidth"),T=m("showgrid");T||(delete e.gridcolor,delete e.gridwidth);var k=v("startlinecolor",x),A=v("startlinewidth",w);m("startline",e.showgrid||!!k||!!A)||(delete e.startlinecolor,delete e.startlinewidth);var M=v("endlinecolor",x),S=v("endlinewidth",w);return m("endline",e.showgrid||!!M||!!S)||(delete e.endlinecolor,delete e.endlinewidth),T?(m("minorgridcount"),m("minorgridwidth",w),m("minorgridcolor",i(_,.06)),e.minorgridcount||(delete e.minorgridwidth,delete e.minorgridcolor)):(delete e.gridcolor,delete e.gridWidth),"none"===e.showticklabels&&(delete e.tickfont,delete e.tickangle,delete e.showexponent,delete e.exponentformat,delete e.minexponent,delete e.tickformat,delete e.showticksuffix,delete e.showtickprefix),e.showticksuffix||delete e.ticksuffix,e.showtickprefix||delete e.tickprefix,m("tickmode"),e}},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/axis_autotype":555,"../../plots/cartesian/category_order_defaults":559,"../../plots/cartesian/prefix_suffix_defaults":573,"../../plots/cartesian/set_convert":576,"../../plots/cartesian/tick_label_defaults":578,"../../plots/cartesian/tick_value_defaults":580,"../../registry":638,"./attributes":691}],695:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib").isArray1D,a=t("./cheater_basis"),o=t("./array_minmax"),s=t("./calc_gridlines"),l=t("./calc_labels"),c=t("./calc_clippath"),u=t("../heatmap/clean_2d_array"),f=t("./smooth_fill_2d_array"),h=t("../heatmap/convert_column_xyz"),p=t("./set_convert");e.exports=function(t,e){var r=n.getFromId(t,e.xaxis),d=n.getFromId(t,e.yaxis),g=e.aaxis,m=e.baxis,v=e.x,y=e.y,x=[];v&&i(v)&&x.push("x"),y&&i(y)&&x.push("y"),x.length&&h(e,g,m,"a","b",x);var b=e._a=e._a||e.a,_=e._b=e._b||e.b;v=e._x||e.x,y=e._y||e.y;var w={};if(e._cheater){var T="index"===g.cheatertype?b.length:b,k="index"===m.cheatertype?_.length:_;v=a(T,k,e.cheaterslope)}e._x=v=u(v),e._y=y=u(y),f(v,b,_),f(y,b,_),p(e),e.setScale();var A=o(v),M=o(y),S=.5*(A[1]-A[0]),E=.5*(A[1]+A[0]),L=.5*(M[1]-M[0]),C=.5*(M[1]+M[0]);return A=[E-1.3*S,E+1.3*S],M=[C-1.3*L,C+1.3*L],e._extremes[r._id]=n.findExtremes(r,A,{padded:!0}),e._extremes[d._id]=n.findExtremes(d,M,{padded:!0}),s(e,"a","b"),s(e,"b","a"),l(e,g),l(e,m),w.clipsegments=c(e._xctrl,e._yctrl,g,m),w.x=v,w.y=y,w.a=b,w.b=_,[w]}},{"../../lib":503,"../../plots/cartesian/axes":554,"../heatmap/clean_2d_array":794,"../heatmap/convert_column_xyz":796,"./array_minmax":690,"./calc_clippath":696,"./calc_gridlines":697,"./calc_labels":698,"./cheater_basis":700,"./set_convert":713,"./smooth_fill_2d_array":714}],696:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){var i,a,o,s=[],l=!!r.smoothing,c=!!n.smoothing,u=t[0].length-1,f=t.length-1;for(i=0,a=[],o=[];i<=u;i++)a[i]=t[0][i],o[i]=e[0][i];for(s.push({x:a,y:o,bicubic:l}),i=0,a=[],o=[];i<=f;i++)a[i]=t[i][u],o[i]=e[i][u];for(s.push({x:a,y:o,bicubic:c}),i=u,a=[],o=[];i>=0;i--)a[u-i]=t[f][i],o[u-i]=e[f][i];for(s.push({x:a,y:o,bicubic:l}),i=f,a=[],o=[];i>=0;i--)a[f-i]=t[i][0],o[f-i]=e[i][0];return s.push({x:a,y:o,bicubic:c}),s}},{}],697:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib/extend").extendFlat;e.exports=function(t,e,r){var a,o,s,l,c,u,f,h,p,d,g,m,v,y,x=t["_"+e],b=t[e+"axis"],_=b._gridlines=[],w=b._minorgridlines=[],T=b._boundarylines=[],k=t["_"+r],A=t[r+"axis"];"array"===b.tickmode&&(b.tickvals=x.slice());var M=t._xctrl,S=t._yctrl,E=M[0].length,L=M.length,C=t._a.length,P=t._b.length;n.prepTicks(b),"array"===b.tickmode&&delete b.tickvals;var I=b.smoothing?3:1;function O(n){var i,a,o,s,l,c,u,f,p,d,g,m,v=[],y=[],x={};if("b"===e)for(a=t.b2j(n),o=Math.floor(Math.max(0,Math.min(P-2,a))),s=a-o,x.length=P,x.crossLength=C,x.xy=function(e){return t.evalxy([],e,a)},x.dxy=function(e,r){return t.dxydi([],e,o,r,s)},i=0;i<C;i++)c=Math.min(C-2,i),u=i-c,f=t.evalxy([],i,a),A.smoothing&&i>0&&(p=t.dxydi([],i-1,o,0,s),v.push(l[0]+p[0]/3),y.push(l[1]+p[1]/3),d=t.dxydi([],i-1,o,1,s),v.push(f[0]-d[0]/3),y.push(f[1]-d[1]/3)),v.push(f[0]),y.push(f[1]),l=f;else for(i=t.a2i(n),c=Math.floor(Math.max(0,Math.min(C-2,i))),u=i-c,x.length=C,x.crossLength=P,x.xy=function(e){return t.evalxy([],i,e)},x.dxy=function(e,r){return t.dxydj([],c,e,u,r)},a=0;a<P;a++)o=Math.min(P-2,a),s=a-o,f=t.evalxy([],i,a),A.smoothing&&a>0&&(g=t.dxydj([],c,a-1,u,0),v.push(l[0]+g[0]/3),y.push(l[1]+g[1]/3),m=t.dxydj([],c,a-1,u,1),v.push(f[0]-m[0]/3),y.push(f[1]-m[1]/3)),v.push(f[0]),y.push(f[1]),l=f;return x.axisLetter=e,x.axis=b,x.crossAxis=A,x.value=n,x.constvar=r,x.index=h,x.x=v,x.y=y,x.smoothing=A.smoothing,x}function z(n){var i,a,o,s,l,c=[],u=[],f={};if(f.length=x.length,f.crossLength=k.length,"b"===e)for(o=Math.max(0,Math.min(P-2,n)),l=Math.min(1,Math.max(0,n-o)),f.xy=function(e){return t.evalxy([],e,n)},f.dxy=function(e,r){return t.dxydi([],e,o,r,l)},i=0;i<E;i++)c[i]=M[n*I][i],u[i]=S[n*I][i];else for(a=Math.max(0,Math.min(C-2,n)),s=Math.min(1,Math.max(0,n-a)),f.xy=function(e){return t.evalxy([],n,e)},f.dxy=function(e,r){return t.dxydj([],a,e,s,r)},i=0;i<L;i++)c[i]=M[i][n*I],u[i]=S[i][n*I];return f.axisLetter=e,f.axis=b,f.crossAxis=A,f.value=x[n],f.constvar=r,f.index=n,f.x=c,f.y=u,f.smoothing=A.smoothing,f}if("array"===b.tickmode){for(l=5e-15,u=(c=[Math.floor((x.length-1-b.arraytick0)/b.arraydtick*(1+l)),Math.ceil(-b.arraytick0/b.arraydtick/(1+l))].sort((function(t,e){return t-e})))[0]-1,f=c[1]+1,h=u;h<f;h++)(o=b.arraytick0+b.arraydtick*h)<0||o>x.length-1||_.push(i(z(o),{color:b.gridcolor,width:b.gridwidth}));for(h=u;h<f;h++)if(s=b.arraytick0+b.arraydtick*h,g=Math.min(s+b.arraydtick,x.length-1),!(s<0||s>x.length-1||g<0||g>x.length-1))for(m=x[s],v=x[g],a=0;a<b.minorgridcount;a++)(y=g-s)<=0||(d=m+(v-m)*(a+1)/(b.minorgridcount+1)*(b.arraydtick/y))<x[0]||d>x[x.length-1]||w.push(i(O(d),{color:b.minorgridcolor,width:b.minorgridwidth}));b.startline&&T.push(i(z(0),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&T.push(i(z(x.length-1),{color:b.endlinecolor,width:b.endlinewidth}))}else{for(l=5e-15,u=(c=[Math.floor((x[x.length-1]-b.tick0)/b.dtick*(1+l)),Math.ceil((x[0]-b.tick0)/b.dtick/(1+l))].sort((function(t,e){return t-e})))[0],f=c[1],h=u;h<=f;h++)p=b.tick0+b.dtick*h,_.push(i(O(p),{color:b.gridcolor,width:b.gridwidth}));for(h=u-1;h<f+1;h++)for(p=b.tick0+b.dtick*h,a=0;a<b.minorgridcount;a++)(d=p+b.dtick*(a+1)/(b.minorgridcount+1))<x[0]||d>x[x.length-1]||w.push(i(O(d),{color:b.minorgridcolor,width:b.minorgridwidth}));b.startline&&T.push(i(O(x[0]),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&T.push(i(O(x[x.length-1]),{color:b.endlinecolor,width:b.endlinewidth}))}}},{"../../lib/extend":493,"../../plots/cartesian/axes":554}],698:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib/extend").extendFlat;e.exports=function(t,e){var r,a,o,s=e._labels=[],l=e._gridlines;for(r=0;r<l.length;r++)o=l[r],-1!==["start","both"].indexOf(e.showticklabels)&&(a=n.tickText(e,o.value),i(a,{prefix:void 0,suffix:void 0,endAnchor:!0,xy:o.xy(0),dxy:o.dxy(0,0),axis:o.axis,length:o.crossAxis.length,font:o.axis.tickfont,isFirst:0===r,isLast:r===l.length-1}),s.push(a)),-1!==["end","both"].indexOf(e.showticklabels)&&(a=n.tickText(e,o.value),i(a,{endAnchor:!1,xy:o.xy(o.crossLength-1),dxy:o.dxy(o.crossLength-2,1),axis:o.axis,length:o.crossAxis.length,font:o.axis.tickfont,isFirst:0===r,isLast:r===l.length-1}),s.push(a))}},{"../../lib/extend":493,"../../plots/cartesian/axes":554}],699:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){var i=t[0]-e[0],a=t[1]-e[1],o=r[0]-e[0],s=r[1]-e[1],l=Math.pow(i*i+a*a,.25),c=Math.pow(o*o+s*s,.25),u=(c*c*i-l*l*o)*n,f=(c*c*a-l*l*s)*n,h=c*(l+c)*3,p=l*(l+c)*3;return[[e[0]+(h&&u/h),e[1]+(h&&f/h)],[e[0]-(p&&u/p),e[1]-(p&&f/p)]]}},{}],700:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r){var i,a,o,s,l,c,u=[],f=n(t)?t.length:t,h=n(e)?e.length:e,p=n(t)?t:null,d=n(e)?e:null;p&&(o=(p.length-1)/(p[p.length-1]-p[0])/(f-1)),d&&(s=(d.length-1)/(d[d.length-1]-d[0])/(h-1));var g=1/0,m=-1/0;for(a=0;a<h;a++)for(u[a]=[],l=d?(d[a]-d[0])*s:a/(h-1),i=0;i<f;i++)c=(p?(p[i]-p[0])*o:i/(f-1))-l*r,g=Math.min(c,g),m=Math.max(c,m),u[a][i]=c;var v=1/(m-g),y=-g*v;for(a=0;a<h;a++)for(i=0;i<f;i++)u[a][i]=v*u[a][i]+y;return u}},{"../../lib":503}],701:[function(t,e,r){"use strict";var n=t("./catmull_rom"),i=t("../../lib").ensureArray;function a(t,e,r){var n=-.5*r[0]+1.5*e[0],i=-.5*r[1]+1.5*e[1];return[(2*n+t[0])/3,(2*i+t[1])/3]}e.exports=function(t,e,r,o,s,l){var c,u,f,h,p,d,g,m,v,y,x=r[0].length,b=r.length,_=s?3*x-2:x,w=l?3*b-2:b;for(t=i(t,w),e=i(e,w),f=0;f<w;f++)t[f]=i(t[f],_),e[f]=i(e[f],_);for(u=0,h=0;u<b;u++,h+=l?3:1)for(p=t[h],d=e[h],g=r[u],m=o[u],c=0,f=0;c<x;c++,f+=s?3:1)p[f]=g[c],d[f]=m[c];if(s)for(u=0,h=0;u<b;u++,h+=l?3:1){for(c=1,f=3;c<x-1;c++,f+=3)v=n([r[u][c-1],o[u][c-1]],[r[u][c],o[u][c]],[r[u][c+1],o[u][c+1]],s),t[h][f-1]=v[0][0],e[h][f-1]=v[0][1],t[h][f+1]=v[1][0],e[h][f+1]=v[1][1];y=a([t[h][0],e[h][0]],[t[h][2],e[h][2]],[t[h][3],e[h][3]]),t[h][1]=y[0],e[h][1]=y[1],y=a([t[h][_-1],e[h][_-1]],[t[h][_-3],e[h][_-3]],[t[h][_-4],e[h][_-4]]),t[h][_-2]=y[0],e[h][_-2]=y[1]}if(l)for(f=0;f<_;f++){for(h=3;h<w-3;h+=3)v=n([t[h-3][f],e[h-3][f]],[t[h][f],e[h][f]],[t[h+3][f],e[h+3][f]],l),t[h-1][f]=v[0][0],e[h-1][f]=v[0][1],t[h+1][f]=v[1][0],e[h+1][f]=v[1][1];y=a([t[0][f],e[0][f]],[t[2][f],e[2][f]],[t[3][f],e[3][f]]),t[1][f]=y[0],e[1][f]=y[1],y=a([t[w-1][f],e[w-1][f]],[t[w-3][f],e[w-3][f]],[t[w-4][f],e[w-4][f]]),t[w-2][f]=y[0],e[w-2][f]=y[1]}if(s&&l)for(h=1;h<w;h+=(h+1)%3==0?2:1){for(f=3;f<_-3;f+=3)v=n([t[h][f-3],e[h][f-3]],[t[h][f],e[h][f]],[t[h][f+3],e[h][f+3]],s),t[h][f-1]=.5*(t[h][f-1]+v[0][0]),e[h][f-1]=.5*(e[h][f-1]+v[0][1]),t[h][f+1]=.5*(t[h][f+1]+v[1][0]),e[h][f+1]=.5*(e[h][f+1]+v[1][1]);y=a([t[h][0],e[h][0]],[t[h][2],e[h][2]],[t[h][3],e[h][3]]),t[h][1]=.5*(t[h][1]+y[0]),e[h][1]=.5*(e[h][1]+y[1]),y=a([t[h][_-1],e[h][_-1]],[t[h][_-3],e[h][_-3]],[t[h][_-4],e[h][_-4]]),t[h][_-2]=.5*(t[h][_-2]+y[0]),e[h][_-2]=.5*(e[h][_-2]+y[1])}return[t,e]}},{"../../lib":503,"./catmull_rom":699}],702:[function(t,e,r){"use strict";e.exports={RELATIVE_CULL_TOLERANCE:1e-6}},{}],703:[function(t,e,r){"use strict";e.exports=function(t,e,r){return e&&r?function(e,r,n,i,a){var o,s,l,c,u,f;e||(e=[]),r*=3,n*=3;var h=i*i,p=1-i,d=p*p,g=p*i*2,m=-3*d,v=3*(d-g),y=3*(g-h),x=3*h,b=a*a,_=b*a,w=1-a,T=w*w,k=T*w;for(f=0;f<t.length;f++)o=m*(u=t[f])[n][r]+v*u[n][r+1]+y*u[n][r+2]+x*u[n][r+3],s=m*u[n+1][r]+v*u[n+1][r+1]+y*u[n+1][r+2]+x*u[n+1][r+3],l=m*u[n+2][r]+v*u[n+2][r+1]+y*u[n+2][r+2]+x*u[n+2][r+3],c=m*u[n+3][r]+v*u[n+3][r+1]+y*u[n+3][r+2]+x*u[n+3][r+3],e[f]=k*o+3*(T*a*s+w*b*l)+_*c;return e}:e?function(e,r,n,i,a){var o,s,l,c;e||(e=[]),r*=3;var u=i*i,f=1-i,h=f*f,p=f*i*2,d=-3*h,g=3*(h-p),m=3*(p-u),v=3*u,y=1-a;for(l=0;l<t.length;l++)o=d*(c=t[l])[n][r]+g*c[n][r+1]+m*c[n][r+2]+v*c[n][r+3],s=d*c[n+1][r]+g*c[n+1][r+1]+m*c[n+1][r+2]+v*c[n+1][r+3],e[l]=y*o+a*s;return e}:r?function(e,r,n,i,a){var o,s,l,c,u,f;e||(e=[]),n*=3;var h=a*a,p=h*a,d=1-a,g=d*d,m=g*d;for(u=0;u<t.length;u++)o=(f=t[u])[n][r+1]-f[n][r],s=f[n+1][r+1]-f[n+1][r],l=f[n+2][r+1]-f[n+2][r],c=f[n+3][r+1]-f[n+3][r],e[u]=m*o+3*(g*a*s+d*h*l)+p*c;return e}:function(e,r,n,i,a){var o,s,l,c;e||(e=[]);var u=1-a;for(l=0;l<t.length;l++)o=(c=t[l])[n][r+1]-c[n][r],s=c[n+1][r+1]-c[n+1][r],e[l]=u*o+a*s;return e}}},{}],704:[function(t,e,r){"use strict";e.exports=function(t,e,r){return e&&r?function(e,r,n,i,a){var o,s,l,c,u,f;e||(e=[]),r*=3,n*=3;var h=i*i,p=h*i,d=1-i,g=d*d,m=g*d,v=a*a,y=1-a,x=y*y,b=y*a*2,_=-3*x,w=3*(x-b),T=3*(b-v),k=3*v;for(f=0;f<t.length;f++)o=_*(u=t[f])[n][r]+w*u[n+1][r]+T*u[n+2][r]+k*u[n+3][r],s=_*u[n][r+1]+w*u[n+1][r+1]+T*u[n+2][r+1]+k*u[n+3][r+1],l=_*u[n][r+2]+w*u[n+1][r+2]+T*u[n+2][r+2]+k*u[n+3][r+2],c=_*u[n][r+3]+w*u[n+1][r+3]+T*u[n+2][r+3]+k*u[n+3][r+3],e[f]=m*o+3*(g*i*s+d*h*l)+p*c;return e}:e?function(e,r,n,i,a){var o,s,l,c,u,f;e||(e=[]),r*=3;var h=a*a,p=h*a,d=1-a,g=d*d,m=g*d;for(u=0;u<t.length;u++)o=(f=t[u])[n+1][r]-f[n][r],s=f[n+1][r+1]-f[n][r+1],l=f[n+1][r+2]-f[n][r+2],c=f[n+1][r+3]-f[n][r+3],e[u]=m*o+3*(g*a*s+d*h*l)+p*c;return e}:r?function(e,r,n,i,a){var o,s,l,c;e||(e=[]),n*=3;var u=1-i,f=a*a,h=1-a,p=h*h,d=h*a*2,g=-3*p,m=3*(p-d),v=3*(d-f),y=3*f;for(l=0;l<t.length;l++)o=g*(c=t[l])[n][r]+m*c[n+1][r]+v*c[n+2][r]+y*c[n+3][r],s=g*c[n][r+1]+m*c[n+1][r+1]+v*c[n+2][r+1]+y*c[n+3][r+1],e[l]=u*o+i*s;return e}:function(e,r,n,i,a){var o,s,l,c;e||(e=[]);var u=1-i;for(l=0;l<t.length;l++)o=(c=t[l])[n+1][r]-c[n][r],s=c[n+1][r+1]-c[n][r+1],e[l]=u*o+i*s;return e}}},{}],705:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){var a=e-2,o=r-2;return n&&i?function(e,r,n){var i,s,l,c,u,f;e||(e=[]);var h=Math.max(0,Math.min(Math.floor(r),a)),p=Math.max(0,Math.min(Math.floor(n),o)),d=Math.max(0,Math.min(1,r-h)),g=Math.max(0,Math.min(1,n-p));h*=3,p*=3;var m=d*d,v=m*d,y=1-d,x=y*y,b=x*y,_=g*g,w=_*g,T=1-g,k=T*T,A=k*T;for(f=0;f<t.length;f++)i=b*(u=t[f])[p][h]+3*(x*d*u[p][h+1]+y*m*u[p][h+2])+v*u[p][h+3],s=b*u[p+1][h]+3*(x*d*u[p+1][h+1]+y*m*u[p+1][h+2])+v*u[p+1][h+3],l=b*u[p+2][h]+3*(x*d*u[p+2][h+1]+y*m*u[p+2][h+2])+v*u[p+2][h+3],c=b*u[p+3][h]+3*(x*d*u[p+3][h+1]+y*m*u[p+3][h+2])+v*u[p+3][h+3],e[f]=A*i+3*(k*g*s+T*_*l)+w*c;return e}:n?function(e,r,n){e||(e=[]);var i,s,l,c,u,f,h=Math.max(0,Math.min(Math.floor(r),a)),p=Math.max(0,Math.min(Math.floor(n),o)),d=Math.max(0,Math.min(1,r-h)),g=Math.max(0,Math.min(1,n-p));h*=3;var m=d*d,v=m*d,y=1-d,x=y*y,b=x*y,_=1-g;for(u=0;u<t.length;u++)i=_*(f=t[u])[p][h]+g*f[p+1][h],s=_*f[p][h+1]+g*f[p+1][h+1],l=_*f[p][h+2]+g*f[p+1][h+1],c=_*f[p][h+3]+g*f[p+1][h+1],e[u]=b*i+3*(x*d*s+y*m*l)+v*c;return e}:i?function(e,r,n){e||(e=[]);var i,s,l,c,u,f,h=Math.max(0,Math.min(Math.floor(r),a)),p=Math.max(0,Math.min(Math.floor(n),o)),d=Math.max(0,Math.min(1,r-h)),g=Math.max(0,Math.min(1,n-p));p*=3;var m=g*g,v=m*g,y=1-g,x=y*y,b=x*y,_=1-d;for(u=0;u<t.length;u++)i=_*(f=t[u])[p][h]+d*f[p][h+1],s=_*f[p+1][h]+d*f[p+1][h+1],l=_*f[p+2][h]+d*f[p+2][h+1],c=_*f[p+3][h]+d*f[p+3][h+1],e[u]=b*i+3*(x*g*s+y*m*l)+v*c;return e}:function(e,r,n){e||(e=[]);var i,s,l,c,u=Math.max(0,Math.min(Math.floor(r),a)),f=Math.max(0,Math.min(Math.floor(n),o)),h=Math.max(0,Math.min(1,r-u)),p=Math.max(0,Math.min(1,n-f)),d=1-p,g=1-h;for(l=0;l<t.length;l++)i=g*(c=t[l])[f][u]+h*c[f][u+1],s=g*c[f+1][u]+h*c[f+1][u+1],e[l]=d*i+p*s;return e}}},{}],706:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./xy_defaults"),a=t("./ab_defaults"),o=t("./attributes"),s=t("../../components/color/attributes");e.exports=function(t,e,r,l){function c(r,i){return n.coerce(t,e,o,r,i)}e._clipPathId="clip"+e.uid+"carpet";var u=c("color",s.defaultLine);(n.coerceFont(c,"font"),c("carpet"),a(t,e,l,c,u),e.a&&e.b)?(e.a.length<3&&(e.aaxis.smoothing=0),e.b.length<3&&(e.baxis.smoothing=0),i(t,e,c)||(e.visible=!1),e._cheater&&c("cheaterslope")):e.visible=!1}},{"../../components/color/attributes":365,"../../lib":503,"./ab_defaults":689,"./attributes":691,"./xy_defaults":715}],707:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),plot:t("./plot"),calc:t("./calc"),animatable:!0,isContainer:!0,moduleType:"trace",name:"carpet",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","carpet","carpetAxis","notLegendIsolatable","noMultiCategory","noHover","noSortingByValue"],meta:{}}},{"../../plots/cartesian":568,"./attributes":691,"./calc":695,"./defaults":706,"./plot":712}],708:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r,n=t._fullData.length,i=0;i<n;i++){var a=t._fullData[i];if(a.index!==e.index&&("carpet"===a.type&&(r||(r=a),a.carpet===e.carpet)))return a}return r}},{}],709:[function(t,e,r){"use strict";e.exports=function(t,e,r){if(0===t.length)return"";var n,i=[],a=r?3:1;for(n=0;n<t.length;n+=a)i.push(t[n]+","+e[n]),r&&n<t.length-a&&(i.push("C"),i.push([t[n+1]+","+e[n+1],t[n+2]+","+e[n+2]+" "].join(" ")));return i.join(r?"":"L")}},{}],710:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r){var i;for(n(t)?t.length>e.length&&(t=t.slice(0,e.length)):t=[],i=0;i<e.length;i++)t[i]=r(e[i]);return t}},{"../../lib":503}],711:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i,a){var o=i[0]*t.dpdx(e),s=i[1]*t.dpdy(r),l=1,c=1;if(a){var u=Math.sqrt(i[0]*i[0]+i[1]*i[1]),f=Math.sqrt(a[0]*a[0]+a[1]*a[1]),h=(i[0]*a[0]+i[1]*a[1])/u/f;c=Math.max(0,h)}var p=180*Math.atan2(s,o)/Math.PI;return p<-90?(p+=180,l=-l):p>90&&(p-=180,l=-l),{angle:p,flip:l,p:t.c2p(n,e,r),offsetMultplier:c}}},{}],712:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("./map_1d_array"),o=t("./makepath"),s=t("./orient_text"),l=t("../../lib/svg_text_utils"),c=t("../../lib"),u=c.strRotate,f=c.strTranslate,h=t("../../constants/alignment");function p(t,e,r,i,s,l){var c="const-"+s+"-lines",u=r.selectAll("."+c).data(l);u.enter().append("path").classed(c,!0).style("vector-effect","non-scaling-stroke"),u.each((function(r){var i=r,s=i.x,l=i.y,c=a([],s,t.c2p),u=a([],l,e.c2p),f="M"+o(c,u,i.smoothing);n.select(this).attr("d",f).style("stroke-width",i.width).style("stroke",i.color).style("fill","none")})),u.exit().remove()}function d(t,e,r,a,o,c,h,p){var d=c.selectAll("text."+p).data(h);d.enter().append("text").classed(p,!0);var g=0,m={};return d.each((function(o,c){var h;if("auto"===o.axis.tickangle)h=s(a,e,r,o.xy,o.dxy);else{var p=(o.axis.tickangle+180)*Math.PI/180;h=s(a,e,r,o.xy,[Math.cos(p),Math.sin(p)])}c||(m={angle:h.angle,flip:h.flip});var d=(o.endAnchor?-1:1)*h.flip,v=n.select(this).attr({"text-anchor":d>0?"start":"end","data-notex":1}).call(i.font,o.font).text(o.text).call(l.convertToTspans,t),y=i.bBox(this);v.attr("transform",f(h.p[0],h.p[1])+u(h.angle)+f(o.axis.labelpadding*d,.3*y.height)),g=Math.max(g,y.width+o.axis.labelpadding)})),d.exit().remove(),m.maxExtent=g,m}e.exports=function(t,e,r,i){var l=e.xaxis,u=e.yaxis,f=t._fullLayout._clips;c.makeTraceGroups(i,r,"trace").each((function(e){var r=n.select(this),i=e[0],h=i.trace,g=h.aaxis,m=h.baxis,y=c.ensureSingle(r,"g","minorlayer"),x=c.ensureSingle(r,"g","majorlayer"),b=c.ensureSingle(r,"g","boundarylayer"),_=c.ensureSingle(r,"g","labellayer");r.style("opacity",h.opacity),p(l,u,x,g,"a",g._gridlines),p(l,u,x,m,"b",m._gridlines),p(l,u,y,g,"a",g._minorgridlines),p(l,u,y,m,"b",m._minorgridlines),p(l,u,b,g,"a-boundary",g._boundarylines),p(l,u,b,m,"b-boundary",m._boundarylines);var w=d(t,l,u,h,i,_,g._labels,"a-label"),T=d(t,l,u,h,i,_,m._labels,"b-label");!function(t,e,r,n,i,a,o,l){var u,f,h,p,d=c.aggNums(Math.min,null,r.a),g=c.aggNums(Math.max,null,r.a),m=c.aggNums(Math.min,null,r.b),y=c.aggNums(Math.max,null,r.b);u=.5*(d+g),f=m,h=r.ab2xy(u,f,!0),p=r.dxyda_rough(u,f),void 0===o.angle&&c.extendFlat(o,s(r,i,a,h,r.dxydb_rough(u,f)));v(t,e,r,n,h,p,r.aaxis,i,a,o,"a-title"),u=d,f=.5*(m+y),h=r.ab2xy(u,f,!0),p=r.dxydb_rough(u,f),void 0===l.angle&&c.extendFlat(l,s(r,i,a,h,r.dxyda_rough(u,f)));v(t,e,r,n,h,p,r.baxis,i,a,l,"b-title")}(t,_,h,i,l,u,w,T),function(t,e,r,n,i){var s,l,u,f,h=r.select("#"+t._clipPathId);h.size()||(h=r.append("clipPath").classed("carpetclip",!0));var p=c.ensureSingle(h,"path","carpetboundary"),d=e.clipsegments,g=[];for(f=0;f<d.length;f++)s=d[f],l=a([],s.x,n.c2p),u=a([],s.y,i.c2p),g.push(o(l,u,s.bicubic));var m="M"+g.join("L")+"Z";h.attr("id",t._clipPathId),p.attr("d",m)}(h,i,f,l,u)}))};var g=h.LINE_SPACING,m=(1-h.MID_SHIFT)/g+1;function v(t,e,r,a,o,c,h,p,d,v,y){var x=[];h.title.text&&x.push(h.title.text);var b=e.selectAll("text."+y).data(x),_=v.maxExtent;b.enter().append("text").classed(y,!0),b.each((function(){var e=s(r,p,d,o,c);-1===["start","both"].indexOf(h.showticklabels)&&(_=0);var a=h.title.font.size;_+=a+h.title.offset;var y=(v.angle+(v.flip<0?180:0)-e.angle+450)%360,x=y>90&&y<270,b=n.select(this);b.text(h.title.text).call(l.convertToTspans,t),x&&(_=(-l.lineCount(b)+m)*g*a-_),b.attr("transform",f(e.p[0],e.p[1])+u(e.angle)+f(0,_)).attr("text-anchor","middle").call(i.font,h.title.font)})),b.exit().remove()}},{"../../components/drawing":388,"../../constants/alignment":471,"../../lib":503,"../../lib/svg_text_utils":529,"./makepath":709,"./map_1d_array":710,"./orient_text":711,"@plotly/d3":58}],713:[function(t,e,r){"use strict";var n=t("./constants"),i=t("../../lib/search").findBin,a=t("./compute_control_points"),o=t("./create_spline_evaluator"),s=t("./create_i_derivative_evaluator"),l=t("./create_j_derivative_evaluator");e.exports=function(t){var e=t._a,r=t._b,c=e.length,u=r.length,f=t.aaxis,h=t.baxis,p=e[0],d=e[c-1],g=r[0],m=r[u-1],v=e[e.length-1]-e[0],y=r[r.length-1]-r[0],x=v*n.RELATIVE_CULL_TOLERANCE,b=y*n.RELATIVE_CULL_TOLERANCE;p-=x,d+=x,g-=b,m+=b,t.isVisible=function(t,e){return t>p&&t<d&&e>g&&e<m},t.isOccluded=function(t,e){return t<p||t>d||e<g||e>m},t.setScale=function(){var e=t._x,r=t._y,n=a(t._xctrl,t._yctrl,e,r,f.smoothing,h.smoothing);t._xctrl=n[0],t._yctrl=n[1],t.evalxy=o([t._xctrl,t._yctrl],c,u,f.smoothing,h.smoothing),t.dxydi=s([t._xctrl,t._yctrl],f.smoothing,h.smoothing),t.dxydj=l([t._xctrl,t._yctrl],f.smoothing,h.smoothing)},t.i2a=function(t){var r=Math.max(0,Math.floor(t[0]),c-2),n=t[0]-r;return(1-n)*e[r]+n*e[r+1]},t.j2b=function(t){var e=Math.max(0,Math.floor(t[1]),c-2),n=t[1]-e;return(1-n)*r[e]+n*r[e+1]},t.ij2ab=function(e){return[t.i2a(e[0]),t.j2b(e[1])]},t.a2i=function(t){var r=Math.max(0,Math.min(i(t,e),c-2)),n=e[r],a=e[r+1];return Math.max(0,Math.min(c-1,r+(t-n)/(a-n)))},t.b2j=function(t){var e=Math.max(0,Math.min(i(t,r),u-2)),n=r[e],a=r[e+1];return Math.max(0,Math.min(u-1,e+(t-n)/(a-n)))},t.ab2ij=function(e){return[t.a2i(e[0]),t.b2j(e[1])]},t.i2c=function(e,r){return t.evalxy([],e,r)},t.ab2xy=function(n,i,a){if(!a&&(n<e[0]||n>e[c-1]|i<r[0]||i>r[u-1]))return[!1,!1];var o=t.a2i(n),s=t.b2j(i),l=t.evalxy([],o,s);if(a){var f,h,p,d,g=0,m=0,v=[];n<e[0]?(f=0,h=0,g=(n-e[0])/(e[1]-e[0])):n>e[c-1]?(f=c-2,h=1,g=(n-e[c-1])/(e[c-1]-e[c-2])):h=o-(f=Math.max(0,Math.min(c-2,Math.floor(o)))),i<r[0]?(p=0,d=0,m=(i-r[0])/(r[1]-r[0])):i>r[u-1]?(p=u-2,d=1,m=(i-r[u-1])/(r[u-1]-r[u-2])):d=s-(p=Math.max(0,Math.min(u-2,Math.floor(s)))),g&&(t.dxydi(v,f,p,h,d),l[0]+=v[0]*g,l[1]+=v[1]*g),m&&(t.dxydj(v,f,p,h,d),l[0]+=v[0]*m,l[1]+=v[1]*m)}return l},t.c2p=function(t,e,r){return[e.c2p(t[0]),r.c2p(t[1])]},t.p2x=function(t,e,r){return[e.p2c(t[0]),r.p2c(t[1])]},t.dadi=function(t){var r=Math.max(0,Math.min(e.length-2,t));return e[r+1]-e[r]},t.dbdj=function(t){var e=Math.max(0,Math.min(r.length-2,t));return r[e+1]-r[e]},t.dxyda=function(e,r,n,i){var a=t.dxydi(null,e,r,n,i),o=t.dadi(e,n);return[a[0]/o,a[1]/o]},t.dxydb=function(e,r,n,i){var a=t.dxydj(null,e,r,n,i),o=t.dbdj(r,i);return[a[0]/o,a[1]/o]},t.dxyda_rough=function(e,r,n){var i=v*(n||.1),a=t.ab2xy(e+i,r,!0),o=t.ab2xy(e-i,r,!0);return[.5*(a[0]-o[0])/i,.5*(a[1]-o[1])/i]},t.dxydb_rough=function(e,r,n){var i=y*(n||.1),a=t.ab2xy(e,r+i,!0),o=t.ab2xy(e,r-i,!0);return[.5*(a[0]-o[0])/i,.5*(a[1]-o[1])/i]},t.dpdx=function(t){return t._m},t.dpdy=function(t){return t._m}}},{"../../lib/search":523,"./compute_control_points":701,"./constants":702,"./create_i_derivative_evaluator":703,"./create_j_derivative_evaluator":704,"./create_spline_evaluator":705}],714:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e,r){var i,a,o,s=[],l=[],c=t[0].length,u=t.length;function f(e,r){var n,i=0,a=0;return e>0&&void 0!==(n=t[r][e-1])&&(a++,i+=n),e<c-1&&void 0!==(n=t[r][e+1])&&(a++,i+=n),r>0&&void 0!==(n=t[r-1][e])&&(a++,i+=n),r<u-1&&void 0!==(n=t[r+1][e])&&(a++,i+=n),i/Math.max(1,a)}var h,p,d,g,m,v,y,x,b,_,w,T=0;for(i=0;i<c;i++)for(a=0;a<u;a++)void 0===t[a][i]&&(s.push(i),l.push(a),t[a][i]=f(i,a)),T=Math.max(T,Math.abs(t[a][i]));if(!s.length)return t;var k=0,A=0,M=s.length;do{for(k=0,o=0;o<M;o++){i=s[o],a=l[o];var S,E,L,C,P,I,O=0,z=0;0===i?(L=e[P=Math.min(c-1,2)],C=e[1],S=t[a][P],z+=(E=t[a][1])+(E-S)*(e[0]-C)/(C-L),O++):i===c-1&&(L=e[P=Math.max(0,c-3)],C=e[c-2],S=t[a][P],z+=(E=t[a][c-2])+(E-S)*(e[c-1]-C)/(C-L),O++),(0===i||i===c-1)&&a>0&&a<u-1&&(h=r[a+1]-r[a],z+=((p=r[a]-r[a-1])*t[a+1][i]+h*t[a-1][i])/(p+h),O++),0===a?(L=r[I=Math.min(u-1,2)],C=r[1],S=t[I][i],z+=(E=t[1][i])+(E-S)*(r[0]-C)/(C-L),O++):a===u-1&&(L=r[I=Math.max(0,u-3)],C=r[u-2],S=t[I][i],z+=(E=t[u-2][i])+(E-S)*(r[u-1]-C)/(C-L),O++),(0===a||a===u-1)&&i>0&&i<c-1&&(h=e[i+1]-e[i],z+=((p=e[i]-e[i-1])*t[a][i+1]+h*t[a][i-1])/(p+h),O++),O?z/=O:(d=e[i+1]-e[i],g=e[i]-e[i-1],x=(m=r[a+1]-r[a])*(v=r[a]-r[a-1])*(m+v),z=((y=d*g*(d+g))*(v*t[a+1][i]+m*t[a-1][i])+x*(g*t[a][i+1]+d*t[a][i-1]))/(x*(g+d)+y*(v+m))),k+=(_=(b=z-t[a][i])/T)*_,w=O?0:.85,t[a][i]+=b*(1+w)}k=Math.sqrt(k)}while(A++<100&&k>1e-5);return n.log("Smoother converged to",k,"after",A,"iterations"),t}},{"../../lib":503}],715:[function(t,e,r){"use strict";var n=t("../../lib").isArray1D;e.exports=function(t,e,r){var i=r("x"),a=i&&i.length,o=r("y"),s=o&&o.length;if(!a&&!s)return!1;if(e._cheater=!i,a&&!n(i)||s&&!n(o))e._length=null;else{var l=a?i.length:1/0;s&&(l=Math.min(l,o.length)),e.a&&e.a.length&&(l=Math.min(l,e.a.length)),e.b&&e.b.length&&(l=Math.min(l,e.b.length)),e._length=l}return!0}},{"../../lib":503}],716:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../scattergeo/attributes"),a=t("../../components/colorscale/attributes"),o=t("../../plots/attributes"),s=t("../../components/color/attributes").defaultLine,l=t("../../lib/extend").extendFlat,c=i.marker.line;e.exports=l({locations:{valType:"data_array",editType:"calc"},locationmode:i.locationmode,z:{valType:"data_array",editType:"calc"},geojson:l({},i.geojson,{}),featureidkey:i.featureidkey,text:l({},i.text,{}),hovertext:l({},i.hovertext,{}),marker:{line:{color:l({},c.color,{dflt:s}),width:l({},c.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:i.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:i.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:l({},o.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:n(),showlegend:l({},o.showlegend,{dflt:!1})},a("",{cLetter:"z",editTypeOverride:"calc"}))},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattergeo/attributes":968}],717:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../constants/numerical").BADNUM,a=t("../../components/colorscale/calc"),o=t("../scatter/arrays_to_calcdata"),s=t("../scatter/calc_selection");function l(t){return t&&"string"==typeof t}e.exports=function(t,e){var r,c=e._length,u=new Array(c);r=e.geojson?function(t){return l(t)||n(t)}:l;for(var f=0;f<c;f++){var h=u[f]={},p=e.locations[f],d=e.z[f];r(p)&&n(d)?(h.loc=p,h.z=d):(h.loc=null,h.z=i),h.index=f}return o(u,e),a(t,e,{vals:e.z,containerStr:"",cLetter:"z"}),s(u,e),u}},{"../../components/colorscale/calc":374,"../../constants/numerical":479,"../scatter/arrays_to_calcdata":925,"../scatter/calc_selection":928,"fast-isnumeric":190}],718:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/defaults"),a=t("./attributes");e.exports=function(t,e,r,o){function s(r,i){return n.coerce(t,e,a,r,i)}var l=s("locations"),c=s("z");if(l&&l.length&&n.isArrayOrTypedArray(c)&&c.length){e._length=Math.min(l.length,c.length);var u,f=s("geojson");("string"==typeof f&&""!==f||n.isPlainObject(f))&&(u="geojson-id"),"geojson-id"===s("locationmode",u)&&s("featureidkey"),s("text"),s("hovertext"),s("hovertemplate"),s("marker.line.width")&&s("marker.line.color"),s("marker.opacity"),i(t,e,o,s,{prefix:"",cLetter:"z"}),n.coerceSelectionMarkerOpacity(e,s)}else e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":716}],719:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){t.location=e.location,t.z=e.z;var a=n[i];return a.fIn&&a.fIn.properties&&(t.properties=a.fIn.properties),t.ct=a.ct,t}},{}],720:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("./attributes"),a=t("../../lib").fillText;e.exports=function(t,e,r){var o,s,l,c,u=t.cd,f=u[0].trace,h=t.subplot,p=[e,r],d=[e+360,r];for(s=0;s<u.length;s++)if(c=!1,(o=u[s])._polygons){for(l=0;l<o._polygons.length;l++)o._polygons[l].contains(p)&&(c=!c),o._polygons[l].contains(d)&&(c=!c);if(c)break}if(c&&o)return t.x0=t.x1=t.xa.c2p(o.ct),t.y0=t.y1=t.ya.c2p(o.ct),t.index=o.index,t.location=o.loc,t.z=o.z,t.zLabel=n.tickText(h.mockAxis,h.mockAxis.c2l(o.z),"hover").text,t.hovertemplate=o.hovertemplate,function(t,e,r){if(e.hovertemplate)return;var n=r.hi||e.hoverinfo,o=String(r.loc),s="all"===n?i.hoverinfo.flags:n.split("+"),l=-1!==s.indexOf("name"),c=-1!==s.indexOf("location"),u=-1!==s.indexOf("z"),f=-1!==s.indexOf("text"),h=[];!l&&c?t.nameOverride=o:(l&&(t.nameOverride=e.name),c&&h.push(o));u&&h.push(t.zLabel);f&&a(r,e,h);t.extraText=h.join("<br>")}(t,f,o),[t]}},{"../../lib":503,"../../plots/cartesian/axes":554,"./attributes":716}],721:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../heatmap/colorbar"),calc:t("./calc"),calcGeoJSON:t("./plot").calcGeoJSON,plot:t("./plot").plot,style:t("./style").style,styleOnSelect:t("./style").styleOnSelect,hoverPoints:t("./hover"),eventData:t("./event_data"),selectPoints:t("./select"),moduleType:"trace",name:"choropleth",basePlotModule:t("../../plots/geo"),categories:["geo","noOpacity","showLegend"],meta:{}}},{"../../plots/geo":589,"../heatmap/colorbar":795,"./attributes":716,"./calc":717,"./defaults":718,"./event_data":719,"./hover":720,"./plot":722,"./select":723,"./style":724}],722:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../lib/geo_location_utils"),o=t("../../lib/topojson_utils").getTopojsonFeatures,s=t("../../plots/cartesian/autorange").findExtremes,l=t("./style").style;e.exports={calcGeoJSON:function(t,e){for(var r=t[0].trace,n=e[r.geo],i=n._subplot,l=r.locationmode,c=r._length,u="geojson-id"===l?a.extractTraceFeature(t):o(r,i.topojson),f=[],h=[],p=0;p<c;p++){var d=t[p],g="geojson-id"===l?d.fOut:a.locationToFeature(l,d.loc,u);if(g){d.geojson=g,d.ct=g.properties.ct,d._polygons=a.feature2polygons(g);var m=a.computeBbox(g);f.push(m[0],m[2]),h.push(m[1],m[3])}else d.geojson=null}if("geojson"===n.fitbounds&&"geojson-id"===l){var v=a.computeBbox(a.getTraceGeojson(r));f=[v[0],v[2]],h=[v[1],v[3]]}var y={padded:!0};r._extremes.lon=s(n.lonaxis._ax,f,y),r._extremes.lat=s(n.lataxis._ax,h,y)},plot:function(t,e,r){var a=e.layers.backplot.select(".choroplethlayer");i.makeTraceGroups(a,r,"trace choropleth").each((function(e){var r=n.select(this).selectAll("path.choroplethlocation").data(i.identity);r.enter().append("path").classed("choroplethlocation",!0),r.exit().remove(),l(t,e)}))}}},{"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/topojson_utils":532,"../../plots/cartesian/autorange":553,"./style":724,"@plotly/d3":58}],723:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n,i,a,o,s=t.cd,l=t.xaxis,c=t.yaxis,u=[];if(!1===e)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)(i=(n=s[r]).ct)&&(a=l.c2p(i),o=c.c2p(i),e.contains([a,o],null,r,t)?(u.push({pointNumber:r,lon:i[0],lat:i[1]}),n.selected=1):n.selected=0);return u}},{}],724:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../components/drawing"),o=t("../../components/colorscale");function s(t,e){var r=e[0].trace,s=e[0].node3.selectAll(".choroplethlocation"),l=r.marker||{},c=l.line||{},u=o.makeColorScaleFuncFromTrace(r);s.each((function(t){n.select(this).attr("fill",u(t.z)).call(i.stroke,t.mlc||c.color).call(a.dashLine,"",t.mlw||c.width||0).style("opacity",l.opacity)})),a.selectedPointStyle(s,r,t)}e.exports={style:function(t,e){e&&s(t,e)},styleOnSelect:function(t,e){var r=e[0].node3,n=e[0].trace;n.selectedpoints?a.selectedPointStyle(r.selectAll(".choroplethlocation"),n,t):s(t,e)}}},{"../../components/color":366,"../../components/colorscale":378,"../../components/drawing":388,"@plotly/d3":58}],725:[function(t,e,r){"use strict";var n=t("../choropleth/attributes"),i=t("../../components/colorscale/attributes"),a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../../plots/attributes"),s=t("../../lib/extend").extendFlat;e.exports=s({locations:{valType:"data_array",editType:"calc"},z:{valType:"data_array",editType:"calc"},geojson:{valType:"any",editType:"calc"},featureidkey:s({},n.featureidkey,{}),below:{valType:"string",editType:"plot"},text:n.text,hovertext:n.hovertext,marker:{line:{color:s({},n.marker.line.color,{editType:"plot"}),width:s({},n.marker.line.width,{editType:"plot"}),editType:"calc"},opacity:s({},n.marker.opacity,{editType:"plot"}),editType:"calc"},selected:{marker:{opacity:s({},n.selected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},unselected:{marker:{opacity:s({},n.unselected.marker.opacity,{editType:"plot"}),editType:"plot"},editType:"plot"},hoverinfo:n.hoverinfo,hovertemplate:a({},{keys:["properties"]}),showlegend:s({},o.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../choropleth/attributes":716}],726:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../components/colorscale"),o=t("../../components/drawing"),s=t("../../lib/geojson_utils").makeBlank,l=t("../../lib/geo_location_utils");function c(t){var e,r=t[0].trace,n=r._opts;if(r.selectedpoints){for(var a=o.makeSelectedPointStyleFns(r),s=0;s<t.length;s++){var l=t[s];l.fOut&&(l.fOut.properties.mo2=a.selectedOpacityFn(l))}e={type:"identity",property:"mo2"}}else e=i.isArrayOrTypedArray(r.marker.opacity)?{type:"identity",property:"mo"}:r.marker.opacity;return i.extendFlat(n.fill.paint,{"fill-opacity":e}),i.extendFlat(n.line.paint,{"line-opacity":e}),n}e.exports={convert:function(t){var e=t[0].trace,r=!0===e.visible&&0!==e._length,o={layout:{visibility:"none"},paint:{}},u={layout:{visibility:"none"},paint:{}},f=e._opts={fill:o,line:u,geojson:s()};if(!r)return f;var h=l.extractTraceFeature(t);if(!h)return f;var p,d,g,m=a.makeColorScaleFuncFromTrace(e),v=e.marker,y=v.line||{};i.isArrayOrTypedArray(v.opacity)&&(p=function(t){var e=t.mo;return n(e)?+i.constrain(e,0,1):0}),i.isArrayOrTypedArray(y.color)&&(d=function(t){return t.mlc}),i.isArrayOrTypedArray(y.width)&&(g=function(t){return t.mlw});for(var x=0;x<t.length;x++){var b=t[x],_=b.fOut;if(_){var w=_.properties;w.fc=m(b.z),p&&(w.mo=p(b)),d&&(w.mlc=d(b)),g&&(w.mlw=g(b)),b.ct=w.ct,b._polygons=l.feature2polygons(_)}}var T=p?{type:"identity",property:"mo"}:v.opacity;return i.extendFlat(o.paint,{"fill-color":{type:"identity",property:"fc"},"fill-opacity":T}),i.extendFlat(u.paint,{"line-color":d?{type:"identity",property:"mlc"}:y.color,"line-width":g?{type:"identity",property:"mlw"}:y.width,"line-opacity":T}),o.layout.visibility="visible",u.layout.visibility="visible",f.geojson={type:"FeatureCollection",features:h},c(t),f},convertOnSelect:c}},{"../../components/colorscale":378,"../../components/drawing":388,"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/geojson_utils":497,"fast-isnumeric":190}],727:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/defaults"),a=t("./attributes");e.exports=function(t,e,r,o){function s(r,i){return n.coerce(t,e,a,r,i)}var l=s("locations"),c=s("z"),u=s("geojson");n.isArrayOrTypedArray(l)&&l.length&&n.isArrayOrTypedArray(c)&&c.length&&("string"==typeof u&&""!==u||n.isPlainObject(u))?(s("featureidkey"),e._length=Math.min(l.length,c.length),s("below"),s("text"),s("hovertext"),s("hovertemplate"),s("marker.line.width")&&s("marker.line.color"),s("marker.opacity"),i(t,e,o,s,{prefix:"",cLetter:"z"}),n.coerceSelectionMarkerOpacity(e,s)):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":725}],728:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../heatmap/colorbar"),calc:t("../choropleth/calc"),plot:t("./plot"),hoverPoints:t("../choropleth/hover"),eventData:t("../choropleth/event_data"),selectPoints:t("../choropleth/select"),styleOnSelect:function(t,e){e&&e[0].trace._glTrace.updateOnSelect(e)},getBelow:function(t,e){for(var r=e.getMapLayers(),n=r.length-2;n>=0;n--){var i=r[n].id;if("string"==typeof i&&0===i.indexOf("water"))for(var a=n+1;a<r.length;a++)if("string"==typeof(i=r[a].id)&&-1===i.indexOf("plotly-"))return i}},moduleType:"trace",name:"choroplethmapbox",basePlotModule:t("../../plots/mapbox"),categories:["mapbox","gl","noOpacity","showLegend"],meta:{hr_name:"choropleth_mapbox"}}},{"../../plots/mapbox":613,"../choropleth/calc":717,"../choropleth/event_data":719,"../choropleth/hover":720,"../choropleth/select":723,"../heatmap/colorbar":795,"./attributes":725,"./defaults":727,"./plot":729}],729:[function(t,e,r){"use strict";var n=t("./convert").convert,i=t("./convert").convertOnSelect,a=t("../../plots/mapbox/constants").traceLayerPrefix;function o(t,e){this.type="choroplethmapbox",this.subplot=t,this.uid=e,this.sourceId="source-"+e,this.layerList=[["fill",a+e+"-fill"],["line",a+e+"-line"]],this.below=null}var s=o.prototype;s.update=function(t){this._update(n(t))},s.updateOnSelect=function(t){this._update(i(t))},s._update=function(t){var e=this.subplot,r=this.layerList,n=e.belowLookup["trace-"+this.uid];e.map.getSource(this.sourceId).setData(t.geojson),n!==this.below&&(this._removeLayers(),this._addLayers(t,n),this.below=n);for(var i=0;i<r.length;i++){var a=r[i],o=a[0],s=a[1],l=t[o];e.setOptions(s,"setLayoutProperty",l.layout),"visible"===l.layout.visibility&&e.setOptions(s,"setPaintProperty",l.paint)}},s._addLayers=function(t,e){for(var r=this.subplot,n=this.layerList,i=this.sourceId,a=0;a<n.length;a++){var o=n[a],s=o[0],l=t[s];r.addLayer({type:s,id:o[1],source:i,layout:l.layout,paint:l.paint},e)}},s._removeLayers=function(){for(var t=this.subplot.map,e=this.layerList,r=e.length-1;r>=0;r--)t.removeLayer(e[r][1])},s.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},e.exports=function(t,e){var r=e[0].trace,i=new o(t,r.uid),a=i.sourceId,s=n(e),l=i.below=t.belowLookup["trace-"+r.uid];return t.map.addSource(a,{type:"geojson",data:s.geojson}),i._addLayers(s,l),e[0].trace._glTrace=i,i}},{"../../plots/mapbox/constants":611,"./convert":726}],730:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../mesh3d/attributes"),s=t("../../plots/attributes"),l=t("../../lib/extend").extendFlat,c={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:a({editType:"calc"},{keys:["norm"]}),uhoverformat:i("u",1),vhoverformat:i("v",1),whoverformat:i("w",1),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),showlegend:l({},s.showlegend,{dflt:!1})};l(c,n("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));["opacity","lightposition","lighting"].forEach((function(t){c[t]=o[t]})),c.hoverinfo=l({},s.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),c.transforms=void 0,e.exports=c},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../mesh3d/attributes":867}],731:[function(t,e,r){"use strict";var n=t("../../components/colorscale/calc");e.exports=function(t,e){for(var r=e.u,i=e.v,a=e.w,o=Math.min(e.x.length,e.y.length,e.z.length,r.length,i.length,a.length),s=-1/0,l=1/0,c=0;c<o;c++){var u=r[c],f=i[c],h=a[c],p=Math.sqrt(u*u+f*f+h*h);s=Math.max(s,p),l=Math.min(l,p)}e._len=o,e._normMax=s,n(t,e,{vals:[l,s],containerStr:"",cLetter:"c"})}},{"../../components/colorscale/calc":374}],732:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_cone3d,i=t("../../../stackgl_modules").gl_cone3d.createConeMesh,a=t("../../lib").simpleMap,o=t("../../lib/gl_format_color").parseColorScale,s=t("../../components/colorscale").extractOpts,l=t("../../plots/gl3d/zip3");function c(t,e){this.scene=t,this.uid=e,this.mesh=null,this.data=null}var u=c.prototype;u.handlePick=function(t){if(t.object===this.mesh){var e=t.index=t.data.index,r=this.data.x[e],n=this.data.y[e],i=this.data.z[e],a=this.data.u[e],o=this.data.v[e],s=this.data.w[e];t.traceCoordinate=[r,n,i,a,o,s,Math.sqrt(a*a+o*o+s*s)];var l=this.data.hovertext||this.data.text;return Array.isArray(l)&&void 0!==l[e]?t.textLabel=l[e]:l&&(t.textLabel=l),!0}};var f={xaxis:0,yaxis:1,zaxis:2},h={tip:1,tail:0,cm:.25,center:.5},p={tip:1,tail:1,cm:.75,center:.5};function d(t,e){var r=t.fullSceneLayout,i=t.dataScale,c={};function u(t,e){var n=r[e],o=i[f[e]];return a(t,(function(t){return n.d2l(t)*o}))}c.vectors=l(u(e.u,"xaxis"),u(e.v,"yaxis"),u(e.w,"zaxis"),e._len),c.positions=l(u(e.x,"xaxis"),u(e.y,"yaxis"),u(e.z,"zaxis"),e._len);var d=s(e);c.colormap=o(e),c.vertexIntensityBounds=[d.min/e._normMax,d.max/e._normMax],c.coneOffset=h[e.anchor],"scaled"===e.sizemode?c.coneSize=e.sizeref||.5:c.coneSize=e.sizeref&&e._normMax?e.sizeref/e._normMax:.5;var g=n(c),m=e.lightposition;return g.lightPosition=[m.x,m.y,m.z],g.ambient=e.lighting.ambient,g.diffuse=e.lighting.diffuse,g.specular=e.lighting.specular,g.roughness=e.lighting.roughness,g.fresnel=e.lighting.fresnel,g.opacity=e.opacity,e._pad=p[e.anchor]*g.vectorScale*g.coneScale*e._normMax,g}u.update=function(t){this.data=t;var e=d(this.scene,t);this.mesh.update(e)},u.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var r=t.glplot.gl,n=d(t,e),a=i(r,n),o=new c(t,e.uid);return o.mesh=a,o.data=e,a._trace=o,t.glplot.add(a),o}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/gl3d/zip3":609}],733:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/defaults"),a=t("./attributes");e.exports=function(t,e,r,o){function s(r,i){return n.coerce(t,e,a,r,i)}var l=s("u"),c=s("v"),u=s("w"),f=s("x"),h=s("y"),p=s("z");l&&l.length&&c&&c.length&&u&&u.length&&f&&f.length&&h&&h.length&&p&&p.length?(s("sizeref"),s("sizemode"),s("anchor"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),i(t,e,o,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),s("uhoverformat"),s("vhoverformat"),s("whoverformat"),s("xhoverformat"),s("yhoverformat"),s("zhoverformat"),e._length=null):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":730}],734:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"cone",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","showLegend"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:{min:"cmin",max:"cmax"},calc:t("./calc"),plot:t("./convert"),eventData:function(t,e){return t.norm=e.traceCoordinate[6],t},meta:{}}},{"../../plots/gl3d":598,"./attributes":730,"./calc":731,"./convert":732,"./defaults":733}],735:[function(t,e,r){"use strict";var n=t("../heatmap/attributes"),i=t("../scatter/attributes"),a=t("../../plots/cartesian/axis_format_attributes"),o=a.axisHoverFormat,s=a.descriptionOnlyNumbers,l=t("../../components/colorscale/attributes"),c=t("../../components/drawing/attributes").dash,u=t("../../plots/font_attributes"),f=t("../../lib/extend").extendFlat,h=t("../../constants/filter_ops"),p=h.COMPARISON_OPS2,d=h.INTERVAL_OPS,g=i.line;e.exports=f({z:n.z,x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,text:n.text,hovertext:n.hovertext,transpose:n.transpose,xtype:n.xtype,ytype:n.ytype,xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z",1),hovertemplate:n.hovertemplate,texttemplate:f({},n.texttemplate,{}),textfont:f({},n.textfont,{}),hoverongaps:n.hoverongaps,connectgaps:f({},n.connectgaps,{}),fillcolor:{valType:"color",editType:"calc"},autocontour:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"contours.start":void 0,"contours.end":void 0,"contours.size":void 0}},ncontours:{valType:"integer",dflt:15,min:1,editType:"calc"},contours:{type:{valType:"enumerated",values:["levels","constraint"],dflt:"levels",editType:"calc"},start:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},end:{valType:"number",dflt:null,editType:"plot",impliedEdits:{"^autocontour":!1}},size:{valType:"number",dflt:null,min:0,editType:"plot",impliedEdits:{"^autocontour":!1}},coloring:{valType:"enumerated",values:["fill","heatmap","lines","none"],dflt:"fill",editType:"calc"},showlines:{valType:"boolean",dflt:!0,editType:"plot"},showlabels:{valType:"boolean",dflt:!1,editType:"plot"},labelfont:u({editType:"plot",colorEditType:"style"}),labelformat:{valType:"string",dflt:"",editType:"plot",description:s("contour label")},operation:{valType:"enumerated",values:[].concat(p).concat(d),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},editType:"calc",impliedEdits:{autocontour:!1}},line:{color:f({},g.color,{editType:"style+colorbars"}),width:{valType:"number",min:0,editType:"style+colorbars"},dash:c,smoothing:f({},g.smoothing,{}),editType:"plot"}},l("",{cLetter:"z",autoColorDflt:!1,editTypeOverride:"calc"}))},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../constants/filter_ops":475,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../heatmap/attributes":792,"../scatter/attributes":926}],736:[function(t,e,r){"use strict";var n=t("../../components/colorscale"),i=t("../heatmap/calc"),a=t("./set_contours"),o=t("./end_plus");e.exports=function(t,e){var r=i(t,e),s=r[0].z;a(e,s);var l,c=e.contours,u=n.extractOpts(e);if("heatmap"===c.coloring&&u.auto&&!1===e.autocontour){var f=c.start,h=o(c),p=c.size||1,d=Math.floor((h-f)/p)+1;isFinite(p)||(p=1,d=1);var g=f-p/2;l=[g,g+d*p]}else l=s;return n.calc(t,e,{vals:l,cLetter:"z"}),r}},{"../../components/colorscale":378,"../heatmap/calc":793,"./end_plus":746,"./set_contours":754}],737:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n=t[0],i=n.z;switch(e.type){case"levels":var a=Math.min(i[0][0],i[0][1]);for(r=0;r<t.length;r++){var o=t[r];o.prefixBoundary=!o.edgepaths.length&&(a>o.level||o.starts.length&&a===o.level)}break;case"constraint":if(n.prefixBoundary=!1,n.edgepaths.length)return;var s=n.x.length,l=n.y.length,c=-1/0,u=1/0;for(r=0;r<l;r++)u=Math.min(u,i[r][0]),u=Math.min(u,i[r][s-1]),c=Math.max(c,i[r][0]),c=Math.max(c,i[r][s-1]);for(r=1;r<s-1;r++)u=Math.min(u,i[0][r]),u=Math.min(u,i[l-1][r]),c=Math.max(c,i[0][r]),c=Math.max(c,i[l-1][r]);var f,h,p=e.value;switch(e._operation){case">":p>c&&(n.prefixBoundary=!0);break;case"<":(p<u||n.starts.length&&p===u)&&(n.prefixBoundary=!0);break;case"[]":f=Math.min(p[0],p[1]),((h=Math.max(p[0],p[1]))<u||f>c||n.starts.length&&h===u)&&(n.prefixBoundary=!0);break;case"][":f=Math.min(p[0],p[1]),h=Math.max(p[0],p[1]),f<u&&h>c&&(n.prefixBoundary=!0)}}}},{}],738:[function(t,e,r){"use strict";var n=t("../../components/colorscale"),i=t("./make_color_map"),a=t("./end_plus");e.exports={min:"zmin",max:"zmax",calc:function(t,e,r){var o=e.contours,s=e.line,l=o.size||1,c=o.coloring,u=i(e,{isColorbar:!0});if("heatmap"===c){var f=n.extractOpts(e);r._fillgradient=f.reversescale?n.flipScale(f.colorscale):f.colorscale,r._zrange=[f.min,f.max]}else"fill"===c&&(r._fillcolor=u);r._line={color:"lines"===c?u:s.color,width:!1!==o.showlines?s.width:0,dash:s.dash},r._levels={start:o.start,end:a(o),size:l}}}},{"../../components/colorscale":378,"./end_plus":746,"./make_color_map":751}],739:[function(t,e,r){"use strict";e.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},{}],740:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("./label_defaults"),a=t("../../components/color"),o=a.addOpacity,s=a.opacity,l=t("../../constants/filter_ops"),c=l.CONSTRAINT_REDUCTION,u=l.COMPARISON_OPS2;e.exports=function(t,e,r,a,l,f){var h,p,d,g=e.contours,m=r("contours.operation");(g._operation=c[m],function(t,e){var r;-1===u.indexOf(e.operation)?(t("contours.value",[0,1]),Array.isArray(e.value)?e.value.length>2?e.value=e.value.slice(2):0===e.length?e.value=[0,1]:e.length<2?(r=parseFloat(e.value[0]),e.value=[r,r+1]):e.value=[parseFloat(e.value[0]),parseFloat(e.value[1])]:n(e.value)&&(r=parseFloat(e.value),e.value=[r,r+1])):(t("contours.value",0),n(e.value)||(Array.isArray(e.value)?e.value=parseFloat(e.value[0]):e.value=0))}(r,g),"="===m?h=g.showlines=!0:(h=r("contours.showlines"),d=r("fillcolor",o((t.line||{}).color||l,.5))),h)&&(p=r("line.color",d&&s(d)?o(e.fillcolor,1):l),r("line.width",2),r("line.dash"));r("line.smoothing"),i(r,a,p,f)}},{"../../components/color":366,"../../constants/filter_ops":475,"./label_defaults":750,"fast-isnumeric":190}],741:[function(t,e,r){"use strict";var n=t("../../constants/filter_ops"),i=t("fast-isnumeric");function a(t,e){var r,a=Array.isArray(e);function o(t){return i(t)?+t:null}return-1!==n.COMPARISON_OPS2.indexOf(t)?r=o(a?e[0]:e):-1!==n.INTERVAL_OPS.indexOf(t)?r=a?[o(e[0]),o(e[1])]:[o(e),o(e)]:-1!==n.SET_OPS.indexOf(t)&&(r=a?e.map(o):[o(e)]),r}function o(t){return function(e){e=a(t,e);var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return{start:r,end:n,size:n-r}}}function s(t){return function(e){return{start:e=a(t,e),end:1/0,size:1/0}}}e.exports={"[]":o("[]"),"][":o("]["),">":s(">"),"<":s("<"),"=":s("=")}},{"../../constants/filter_ops":475,"fast-isnumeric":190}],742:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){var i=n("contours.start"),a=n("contours.end"),o=!1===i||!1===a,s=r("contours.size");!(o?e.autocontour=!0:r("autocontour",!1))&&s||r("ncontours")}},{}],743:[function(t,e,r){"use strict";var n=t("../../lib");function i(t){return n.extendFlat({},t,{edgepaths:n.extendDeep([],t.edgepaths),paths:n.extendDeep([],t.paths),starts:n.extendDeep([],t.starts)})}e.exports=function(t,e){var r,a,o,s=function(t){return t.reverse()},l=function(t){return t};switch(e){case"=":case"<":return t;case">":for(1!==t.length&&n.warn("Contour data invalid for the specified inequality operation."),a=t[0],r=0;r<a.edgepaths.length;r++)a.edgepaths[r]=s(a.edgepaths[r]);for(r=0;r<a.paths.length;r++)a.paths[r]=s(a.paths[r]);for(r=0;r<a.starts.length;r++)a.starts[r]=s(a.starts[r]);return t;case"][":var c=s;s=l,l=c;case"[]":for(2!==t.length&&n.warn("Contour data invalid for the specified inequality range operation."),a=i(t[0]),o=i(t[1]),r=0;r<a.edgepaths.length;r++)a.edgepaths[r]=s(a.edgepaths[r]);for(r=0;r<a.paths.length;r++)a.paths[r]=s(a.paths[r]);for(r=0;r<a.starts.length;r++)a.starts[r]=s(a.starts[r]);for(;o.edgepaths.length;)a.edgepaths.push(l(o.edgepaths.shift()));for(;o.paths.length;)a.paths.push(l(o.paths.shift()));for(;o.starts.length;)a.starts.push(l(o.starts.shift()));return[a]}}},{"../../lib":503}],744:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../heatmap/xyz_defaults"),a=t("../scatter/period_defaults"),o=t("./constraint_defaults"),s=t("./contours_defaults"),l=t("./style_defaults"),c=t("../heatmap/label_defaults"),u=t("./attributes");e.exports=function(t,e,r,f){function h(r,i){return n.coerce(t,e,u,r,i)}if(i(t,e,h,f)){a(t,e,f,h),h("xhoverformat"),h("yhoverformat"),h("text"),h("hovertext"),h("hoverongaps"),h("hovertemplate");var p="constraint"===h("contours.type");h("connectgaps",n.isArray1D(e.z)),p?o(t,e,h,f,r):(s(t,e,h,(function(r){return n.coerce2(t,e,u,r)})),l(t,e,h,f)),e.contours&&"heatmap"===e.contours.coloring&&c(h,f)}else e.visible=!1}},{"../../lib":503,"../heatmap/label_defaults":802,"../heatmap/xyz_defaults":807,"../scatter/period_defaults":946,"./attributes":735,"./constraint_defaults":740,"./contours_defaults":742,"./style_defaults":756}],745:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./constraint_mapping"),a=t("./end_plus");e.exports=function(t,e,r){for(var o="constraint"===t.type?i[t._operation](t.value):t,s=o.size,l=[],c=a(o),u=r.trace._carpetTrace,f=u?{xaxis:u.aaxis,yaxis:u.baxis,x:r.a,y:r.b}:{xaxis:e.xaxis,yaxis:e.yaxis,x:r.x,y:r.y},h=o.start;h<c;h+=s)if(l.push(n.extendFlat({level:h,crossings:{},starts:[],edgepaths:[],paths:[],z:r.z,smoothing:r.trace.line.smoothing},f)),l.length>1e3){n.warn("Too many contours, clipping at 1000",t);break}return l}},{"../../lib":503,"./constraint_mapping":741,"./end_plus":746}],746:[function(t,e,r){"use strict";e.exports=function(t){return t.end+t.size/1e6}},{}],747:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./constants");function a(t,e,r,n){return Math.abs(t[0]-e[0])<r&&Math.abs(t[1]-e[1])<n}function o(t,e,r,o,l){var c,u=e.join(","),f=t.crossings[u],h=function(t,e,r){var n=0,a=0;t>20&&e?208===t||1114===t?n=0===r[0]?1:-1:a=0===r[1]?1:-1:-1!==i.BOTTOMSTART.indexOf(t)?a=1:-1!==i.LEFTSTART.indexOf(t)?n=1:-1!==i.TOPSTART.indexOf(t)?a=-1:n=-1;return[n,a]}(f,r,e),p=[s(t,e,[-h[0],-h[1]])],d=t.z.length,g=t.z[0].length,m=e.slice(),v=h.slice();for(c=0;c<1e4;c++){if(f>20?(f=i.CHOOSESADDLE[f][(h[0]||h[1])<0?0:1],t.crossings[u]=i.SADDLEREMAINDER[f]):delete t.crossings[u],!(h=i.NEWDELTA[f])){n.log("Found bad marching index:",f,e,t.level);break}p.push(s(t,e,h)),e[0]+=h[0],e[1]+=h[1],u=e.join(","),a(p[p.length-1],p[p.length-2],o,l)&&p.pop();var y=h[0]&&(e[0]<0||e[0]>g-2)||h[1]&&(e[1]<0||e[1]>d-2);if(e[0]===m[0]&&e[1]===m[1]&&h[0]===v[0]&&h[1]===v[1]||r&&y)break;f=t.crossings[u]}1e4===c&&n.log("Infinite loop in contour?");var x,b,_,w,T,k,A,M,S,E,L,C,P,I,O,z=a(p[0],p[p.length-1],o,l),D=0,R=.2*t.smoothing,F=[],B=0;for(c=1;c<p.length;c++)C=p[c],P=p[c-1],I=void 0,O=void 0,I=C[2]-P[2],O=C[3]-P[3],D+=A=Math.sqrt(I*I+O*O),F.push(A);var N=D/F.length*R;function j(t){return p[t%p.length]}for(c=p.length-2;c>=B;c--)if((x=F[c])<N){for(_=0,b=c-1;b>=B&&x+F[b]<N;b--)x+=F[b];if(z&&c===p.length-2)for(_=0;_<b&&x+F[_]<N;_++)x+=F[_];T=c-b+_+1,k=Math.floor((c+b+_+2)/2),w=z||c!==p.length-2?z||-1!==b?T%2?j(k):[(j(k)[0]+j(k+1)[0])/2,(j(k)[1]+j(k+1)[1])/2]:p[0]:p[p.length-1],p.splice(b+1,c-b+1,w),c=b+1,_&&(B=_),z&&(c===p.length-2?p[_]=p[p.length-1]:0===c&&(p[p.length-1]=p[0]))}for(p.splice(0,B),c=0;c<p.length;c++)p[c].length=2;if(!(p.length<2))if(z)p.pop(),t.paths.push(p);else{r||n.log("Unclosed interior contour?",t.level,m.join(","),p.join("L"));var U=!1;for(M=0;M<t.edgepaths.length;M++)if(E=t.edgepaths[M],!U&&a(E[0],p[p.length-1],o,l)){p.pop(),U=!0;var V=!1;for(S=0;S<t.edgepaths.length;S++)if(a((L=t.edgepaths[S])[L.length-1],p[0],o,l)){V=!0,p.shift(),t.edgepaths.splice(M,1),S===M?t.paths.push(p.concat(L)):(S>M&&S--,t.edgepaths[S]=L.concat(p,E));break}V||(t.edgepaths[M]=p.concat(E))}for(M=0;M<t.edgepaths.length&&!U;M++)a((E=t.edgepaths[M])[E.length-1],p[0],o,l)&&(p.shift(),t.edgepaths[M]=E.concat(p),U=!0);U||t.edgepaths.push(p)}}function s(t,e,r){var n=e[0]+Math.max(r[0],0),i=e[1]+Math.max(r[1],0),a=t.z[i][n],o=t.xaxis,s=t.yaxis;if(r[1]){var l=(t.level-a)/(t.z[i][n+1]-a),c=(1!==l?(1-l)*o.c2l(t.x[n]):0)+(0!==l?l*o.c2l(t.x[n+1]):0);return[o.c2p(o.l2c(c),!0),s.c2p(t.y[i],!0),n+l,i]}var u=(t.level-a)/(t.z[i+1][n]-a),f=(1!==u?(1-u)*s.c2l(t.y[i]):0)+(0!==u?u*s.c2l(t.y[i+1]):0);return[o.c2p(t.x[n],!0),s.c2p(s.l2c(f),!0),n,i+u]}e.exports=function(t,e,r){var i,a,s,l;for(e=e||.01,r=r||.01,a=0;a<t.length;a++){for(s=t[a],l=0;l<s.starts.length;l++)o(s,s.starts[l],"edge",e,r);for(i=0;Object.keys(s.crossings).length&&i<1e4;)i++,o(s,Object.keys(s.crossings)[0].split(",").map(Number),void 0,e,r);1e4===i&&n.log("Infinite loop in contour?")}}},{"../../lib":503,"./constants":739}],748:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../heatmap/hover");e.exports=function(t,e,r,a,o){o||(o={}),o.isContour=!0;var s=i(t,e,r,a,o);return s&&s.forEach((function(t){var e=t.trace;"constraint"===e.contours.type&&(e.fillcolor&&n.opacity(e.fillcolor)?t.color=n.addOpacity(e.fillcolor,1):e.contours.showlines&&n.opacity(e.line.color)&&(t.color=n.addOpacity(e.line.color,1)))})),s}},{"../../components/color":366,"../heatmap/hover":799}],749:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot").plot,style:t("./style"),colorbar:t("./colorbar"),hoverPoints:t("./hover"),moduleType:"trace",name:"contour",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{}}},{"../../plots/cartesian":568,"./attributes":735,"./calc":736,"./colorbar":738,"./defaults":744,"./hover":748,"./plot":753,"./style":755}],750:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e,r,i){if(i||(i={}),t("contours.showlabels")){var a=e.font;n.coerceFont(t,"contours.labelfont",{family:a.family,size:a.size,color:r}),t("contours.labelformat")}!1!==i.hasHover&&t("zhoverformat")}},{"../../lib":503}],751:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/colorscale"),a=t("./end_plus");e.exports=function(t){var e=t.contours,r=e.start,o=a(e),s=e.size||1,l=Math.floor((o-r)/s)+1,c="lines"===e.coloring?0:1,u=i.extractOpts(t);isFinite(s)||(s=1,l=1);var f,h,p=u.reversescale?i.flipScale(u.colorscale):u.colorscale,d=p.length,g=new Array(d),m=new Array(d);if("heatmap"===e.coloring){var v=u.min,y=u.max;for(h=0;h<d;h++)f=p[h],g[h]=f[0]*(y-v)+v,m[h]=f[1];var x=n.extent([v,y,e.start,e.start+s*(l-1)]),b=x[v<y?0:1],_=x[v<y?1:0];b!==v&&(g.splice(0,0,b),m.splice(0,0,m[0])),_!==y&&(g.push(_),m.push(m[m.length-1]))}else for(h=0;h<d;h++)f=p[h],g[h]=(f[0]*(l+c-1)-c/2)*s+r,m[h]=f[1];return i.makeColorScaleFunc({domain:g,range:m},{noNumericCheck:!0})}},{"../../components/colorscale":378,"./end_plus":746,"@plotly/d3":58}],752:[function(t,e,r){"use strict";var n=t("./constants");function i(t,e){var r=(e[0][0]>t?0:1)+(e[0][1]>t?0:2)+(e[1][1]>t?0:4)+(e[1][0]>t?0:8);return 5===r||10===r?t>(e[0][0]+e[0][1]+e[1][0]+e[1][1])/4?5===r?713:1114:5===r?104:208:15===r?0:r}e.exports=function(t){var e,r,a,o,s,l,c,u,f,h=t[0].z,p=h.length,d=h[0].length,g=2===p||2===d;for(r=0;r<p-1;r++)for(o=[],0===r&&(o=o.concat(n.BOTTOMSTART)),r===p-2&&(o=o.concat(n.TOPSTART)),e=0;e<d-1;e++)for(a=o.slice(),0===e&&(a=a.concat(n.LEFTSTART)),e===d-2&&(a=a.concat(n.RIGHTSTART)),s=e+","+r,l=[[h[r][e],h[r][e+1]],[h[r+1][e],h[r+1][e+1]]],f=0;f<t.length;f++)(c=i((u=t[f]).level,l))&&(u.crossings[s]=c,-1!==a.indexOf(c)&&(u.starts.push([e,r]),g&&-1!==a.indexOf(c,a.indexOf(c)+1)&&u.starts.push([e,r])))}},{"./constants":739}],753:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../components/colorscale"),s=t("../../lib/svg_text_utils"),l=t("../../plots/cartesian/axes"),c=t("../../plots/cartesian/set_convert"),u=t("../heatmap/plot"),f=t("./make_crossings"),h=t("./find_all_paths"),p=t("./empty_pathinfo"),d=t("./convert_to_constraints"),g=t("./close_boundaries"),m=t("./constants"),v=m.LABELOPTIMIZER;function y(t,e){var r,n,o,s,l,c,u,f="",h=0,p=t.edgepaths.map((function(t,e){return e})),d=!0;function g(t){return Math.abs(t[1]-e[2][1])<.01}function m(t){return Math.abs(t[0]-e[0][0])<.01}function v(t){return Math.abs(t[0]-e[2][0])<.01}for(;p.length;){for(c=a.smoothopen(t.edgepaths[h],t.smoothing),f+=d?c:c.replace(/^M/,"L"),p.splice(p.indexOf(h),1),r=t.edgepaths[h][t.edgepaths[h].length-1],s=-1,o=0;o<4;o++){if(!r){i.log("Missing end?",h,t);break}for(u=r,Math.abs(u[1]-e[0][1])<.01&&!v(r)?n=e[1]:m(r)?n=e[0]:g(r)?n=e[3]:v(r)&&(n=e[2]),l=0;l<t.edgepaths.length;l++){var y=t.edgepaths[l][0];Math.abs(r[0]-n[0])<.01?Math.abs(r[0]-y[0])<.01&&(y[1]-r[1])*(n[1]-y[1])>=0&&(n=y,s=l):Math.abs(r[1]-n[1])<.01?Math.abs(r[1]-y[1])<.01&&(y[0]-r[0])*(n[0]-y[0])>=0&&(n=y,s=l):i.log("endpt to newendpt is not vert. or horz.",r,n,y)}if(r=n,s>=0)break;f+="L"+n}if(s===t.edgepaths.length){i.log("unclosed perimeter path");break}h=s,(d=-1===p.indexOf(h))&&(h=p[0],f+="Z")}for(h=0;h<t.paths.length;h++)f+=a.smoothclosed(t.paths[h],t.smoothing);return f}function x(t,e,r,n){var a=e.width/2,o=e.height/2,s=t.x,l=t.y,c=t.theta,u=Math.cos(c)*a,f=Math.sin(c)*a,h=(s>n.center?n.right-s:s-n.left)/(u+Math.abs(Math.sin(c)*o)),p=(l>n.middle?n.bottom-l:l-n.top)/(Math.abs(f)+Math.cos(c)*o);if(h<1||p<1)return 1/0;var d=v.EDGECOST*(1/(h-1)+1/(p-1));d+=v.ANGLECOST*c*c;for(var g=s-u,m=l-f,y=s+u,x=l+f,b=0;b<r.length;b++){var _=r[b],w=Math.cos(_.theta)*_.width/2,T=Math.sin(_.theta)*_.width/2,k=2*i.segmentDistance(g,m,y,x,_.x-w,_.y-T,_.x+w,_.y+T)/(e.height+_.height),A=_.level===e.level,M=A?v.SAMELEVELDISTANCE:1;if(k<=M)return 1/0;d+=v.NEIGHBORCOST*(A?v.SAMELEVELFACTOR:1)/(k-M)}return d}function b(t){var e,r,n=t.trace._emptypoints,i=[],a=t.z.length,o=t.z[0].length,s=[];for(e=0;e<o;e++)s.push(1);for(e=0;e<a;e++)i.push(s.slice());for(e=0;e<n.length;e++)i[(r=n[e])[0]][r[1]]=0;return t.zmask=i,i}r.plot=function(t,e,o,s){var l=e.xaxis,c=e.yaxis;i.makeTraceGroups(s,o,"contour").each((function(o){var s=n.select(this),v=o[0],x=v.trace,_=v.x,w=v.y,T=x.contours,k=p(T,e,v),A=i.ensureSingle(s,"g","heatmapcoloring"),M=[];"heatmap"===T.coloring&&(M=[o]),u(t,e,M,A),f(k),h(k);var S=l.c2p(_[0],!0),E=l.c2p(_[_.length-1],!0),L=c.c2p(w[0],!0),C=c.c2p(w[w.length-1],!0),P=[[S,C],[E,C],[E,L],[S,L]],I=k;"constraint"===T.type&&(I=d(k,T._operation)),function(t,e,r){var n=i.ensureSingle(t,"g","contourbg").selectAll("path").data("fill"===r.coloring?[0]:[]);n.enter().append("path"),n.exit().remove(),n.attr("d","M"+e.join("L")+"Z").style("stroke","none")}(s,P,T),function(t,e,r,a){var o="fill"===a.coloring||"constraint"===a.type&&"="!==a._operation,s="M"+r.join("L")+"Z";o&&g(e,a);var l=i.ensureSingle(t,"g","contourfill").selectAll("path").data(o?e:[]);l.enter().append("path"),l.exit().remove(),l.each((function(t){var e=(t.prefixBoundary?s:"")+y(t,r);e?n.select(this).attr("d",e).style("stroke","none"):n.select(this).remove()}))}(s,I,P,T),function(t,e,o,s,l){var c=i.ensureSingle(t,"g","contourlines"),u=!1!==l.showlines,f=l.showlabels,h=u&&f,p=r.createLines(c,u||f,e),d=r.createLineClip(c,h,o,s.trace.uid),g=t.selectAll("g.contourlabels").data(f?[0]:[]);if(g.exit().remove(),g.enter().append("g").classed("contourlabels",!0),f){var v=[],y=[];i.clearLocationCache();var x=r.labelFormatter(o,s),b=a.tester.append("text").attr("data-notex",1).call(a.font,l.labelfont),_=e[0].xaxis,w=e[0].yaxis,T=_._length,k=w._length,A=_.range,M=w.range,S=i.aggNums(Math.min,null,s.x),E=i.aggNums(Math.max,null,s.x),L=i.aggNums(Math.min,null,s.y),C=i.aggNums(Math.max,null,s.y),P=Math.max(_.c2p(S,!0),0),I=Math.min(_.c2p(E,!0),T),O=Math.max(w.c2p(C,!0),0),z=Math.min(w.c2p(L,!0),k),D={};A[0]<A[1]?(D.left=P,D.right=I):(D.left=I,D.right=P),M[0]<M[1]?(D.top=O,D.bottom=z):(D.top=z,D.bottom=O),D.middle=(D.top+D.bottom)/2,D.center=(D.left+D.right)/2,v.push([[D.left,D.top],[D.right,D.top],[D.right,D.bottom],[D.left,D.bottom]]);var R=Math.sqrt(T*T+k*k),F=m.LABELDISTANCE*R/Math.max(1,e.length/m.LABELINCREASE);p.each((function(t){var e=r.calcTextOpts(t.level,x,b,o);n.select(this).selectAll("path").each((function(){var t=i.getVisibleSegment(this,D,e.height/2);if(t&&!(t.len<(e.width+e.height)*m.LABELMIN))for(var n=Math.min(Math.ceil(t.len/F),m.LABELMAX),a=0;a<n;a++){var o=r.findBestTextLocation(this,t,e,y,D);if(!o)break;r.addLabelData(o,e,y,v)}}))})),b.remove(),r.drawLabels(g,y,o,d,h?v:null)}f&&!u&&p.remove()}(s,k,t,v,T),function(t,e,r,n,o){var s=n.trace,l=r._fullLayout._clips,c="clip"+s.uid,u=l.selectAll("#"+c).data(s.connectgaps?[]:[0]);if(u.enter().append("clipPath").classed("contourclip",!0).attr("id",c),u.exit().remove(),!1===s.connectgaps){var p={level:.9,crossings:{},starts:[],edgepaths:[],paths:[],xaxis:e.xaxis,yaxis:e.yaxis,x:n.x,y:n.y,z:b(n),smoothing:0};f([p]),h([p]),g([p],{type:"levels"}),i.ensureSingle(u,"path","").attr("d",(p.prefixBoundary?"M"+o.join("L")+"Z":"")+y(p,o))}else c=null;a.setClipUrl(t,c,r)}(s,e,t,v,P)}))},r.createLines=function(t,e,r){var n=r[0].smoothing,i=t.selectAll("g.contourlevel").data(e?r:[]);if(i.exit().remove(),i.enter().append("g").classed("contourlevel",!0),e){var o=i.selectAll("path.openline").data((function(t){return t.pedgepaths||t.edgepaths}));o.exit().remove(),o.enter().append("path").classed("openline",!0),o.attr("d",(function(t){return a.smoothopen(t,n)})).style("stroke-miterlimit",1).style("vector-effect","non-scaling-stroke");var s=i.selectAll("path.closedline").data((function(t){return t.ppaths||t.paths}));s.exit().remove(),s.enter().append("path").classed("closedline",!0),s.attr("d",(function(t){return a.smoothclosed(t,n)})).style("stroke-miterlimit",1).style("vector-effect","non-scaling-stroke")}return i},r.createLineClip=function(t,e,r,n){var i=e?"clipline"+n:null,o=r._fullLayout._clips.selectAll("#"+i).data(e?[0]:[]);return o.exit().remove(),o.enter().append("clipPath").classed("contourlineclip",!0).attr("id",i),a.setClipUrl(t,i,r),o},r.labelFormatter=function(t,e){var r=t._fullLayout,n=e.trace,i=n.contours,a={type:"linear",_id:"ycontour",showexponent:"all",exponentformat:"B"};if(i.labelformat)a.tickformat=i.labelformat,c(a,r);else{var s=o.extractOpts(n);if(s&&s.colorbar&&s.colorbar._axis)a=s.colorbar._axis;else{if("constraint"===i.type){var u=i.value;Array.isArray(u)?a.range=[u[0],u[u.length-1]]:a.range=[u,u]}else a.range=[i.start,i.end],a.nticks=(i.end-i.start)/i.size;a.range[0]===a.range[1]&&(a.range[1]+=a.range[0]||1),a.nticks||(a.nticks=1e3),c(a,r),l.prepTicks(a),a._tmin=null,a._tmax=null}}return function(t){return l.tickText(a,t).text}},r.calcTextOpts=function(t,e,r,n){var i=e(t);r.text(i).call(s.convertToTspans,n);var o=r.node(),l=a.bBox(o,!0);return{text:i,width:l.width,height:l.height,fontSize:+o.style["font-size"].replace("px",""),level:t,dy:(l.top+l.bottom)/2}},r.findBestTextLocation=function(t,e,r,n,a){var o,s,l,c,u,f=r.width;e.isClosed?(s=e.len/v.INITIALSEARCHPOINTS,o=e.min+s/2,l=e.max):(s=(e.len-f)/(v.INITIALSEARCHPOINTS+1),o=e.min+s+f/2,l=e.max-(s+f)/2);for(var h=1/0,p=0;p<v.ITERATIONS;p++){for(var d=o;d<l;d+=s){var g=i.getTextLocation(t,e.total,d,f),m=x(g,r,n,a);m<h&&(h=m,u=g,c=d)}if(h>2*v.MAXCOST)break;p&&(s/=2),l=(o=c-s/2)+1.5*s}if(h<=v.MAXCOST)return u},r.addLabelData=function(t,e,r,n){var i=e.fontSize,a=e.width+i/3,o=Math.max(0,e.height-i/3),s=t.x,l=t.y,c=t.theta,u=Math.sin(c),f=Math.cos(c),h=function(t,e){return[s+t*f-e*u,l+t*u+e*f]},p=[h(-a/2,-o/2),h(-a/2,o/2),h(a/2,o/2),h(a/2,-o/2)];r.push({text:e.text,x:s,y:l,dy:e.dy,theta:c,level:e.level,width:a,height:o}),n.push(p)},r.drawLabels=function(t,e,r,a,o){var l=t.selectAll("text").data(e,(function(t){return t.text+","+t.x+","+t.y+","+t.theta}));if(l.exit().remove(),l.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each((function(t){var e=t.x+Math.sin(t.theta)*t.dy,i=t.y-Math.cos(t.theta)*t.dy;n.select(this).text(t.text).attr({x:e,y:i,transform:"rotate("+180*t.theta/Math.PI+" "+e+" "+i+")"}).call(s.convertToTspans,r)})),o){for(var c="",u=0;u<o.length;u++)c+="M"+o[u].join("L")+"Z";i.ensureSingle(a,"path","").attr("d",c)}}},{"../../components/colorscale":378,"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../plots/cartesian/set_convert":576,"../heatmap/plot":804,"./close_boundaries":737,"./constants":739,"./convert_to_constraints":743,"./empty_pathinfo":745,"./find_all_paths":747,"./make_crossings":752,"@plotly/d3":58}],754:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib");function a(t,e,r){var i={type:"linear",range:[t,e]};return n.autoTicks(i,(e-t)/(r||15)),i}e.exports=function(t,e){var r=t.contours;if(t.autocontour){var o=t.zmin,s=t.zmax;(t.zauto||void 0===o)&&(o=i.aggNums(Math.min,null,e)),(t.zauto||void 0===s)&&(s=i.aggNums(Math.max,null,e));var l=a(o,s,t.ncontours);r.size=l.dtick,r.start=n.tickFirst(l),l.range.reverse(),r.end=n.tickFirst(l),r.start===o&&(r.start+=r.size),r.end===s&&(r.end-=r.size),r.start>r.end&&(r.start=r.end=(r.start+r.end)/2),t._input.contours||(t._input.contours={}),i.extendFlat(t._input.contours,{start:r.start,end:r.end,size:r.size}),t._input.autocontour=!0}else if("constraint"!==r.type){var c,u=r.start,f=r.end,h=t._input.contours;if(u>f&&(r.start=h.start=f,f=r.end=h.end=u,u=r.start),!(r.size>0))c=u===f?1:a(u,f,t.ncontours).dtick,h.size=r.size=c}}},{"../../lib":503,"../../plots/cartesian/axes":554}],755:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../heatmap/style"),o=t("./make_color_map");e.exports=function(t){var e=n.select(t).selectAll("g.contour");e.style("opacity",(function(t){return t[0].trace.opacity})),e.each((function(t){var e=n.select(this),r=t[0].trace,a=r.contours,s=r.line,l=a.size||1,c=a.start,u="constraint"===a.type,f=!u&&"lines"===a.coloring,h=!u&&"fill"===a.coloring,p=f||h?o(r):null;e.selectAll("g.contourlevel").each((function(t){n.select(this).selectAll("path").call(i.lineGroupStyle,s.width,f?p(t.level):s.color,s.dash)}));var d=a.labelfont;if(e.selectAll("g.contourlabels text").each((function(t){i.font(n.select(this),{family:d.family,size:d.size,color:d.color||(f?p(t.level):s.color)})})),u)e.selectAll("g.contourfill path").style("fill",r.fillcolor);else if(h){var g;e.selectAll("g.contourfill path").style("fill",(function(t){return void 0===g&&(g=t.level),p(t.level+.5*l)})),void 0===g&&(g=c),e.selectAll("g.contourbg path").style("fill",p(g-.5*l))}})),a(t)}},{"../../components/drawing":388,"../heatmap/style":805,"./make_color_map":751,"@plotly/d3":58}],756:[function(t,e,r){"use strict";var n=t("../../components/colorscale/defaults"),i=t("./label_defaults");e.exports=function(t,e,r,a,o){var s,l=r("contours.coloring"),c="";"fill"===l&&(s=r("contours.showlines")),!1!==s&&("lines"!==l&&(c=r("line.color","#000")),r("line.width",.5),r("line.dash")),"none"!==l&&(!0!==t.showlegend&&(e.showlegend=!1),e._dfltShowLegend=!1,n(t,e,a,r,{prefix:"",cLetter:"z"})),r("line.smoothing"),i(r,a,c,o)}},{"../../components/colorscale/defaults":376,"./label_defaults":750}],757:[function(t,e,r){"use strict";var n=t("../heatmap/attributes"),i=t("../contour/attributes"),a=t("../../components/colorscale/attributes"),o=t("../../lib/extend").extendFlat,s=i.contours;e.exports=o({carpet:{valType:"string",editType:"calc"},z:n.z,a:n.x,a0:n.x0,da:n.dx,b:n.y,b0:n.y0,db:n.dy,text:n.text,hovertext:n.hovertext,transpose:n.transpose,atype:n.xtype,btype:n.ytype,fillcolor:i.fillcolor,autocontour:i.autocontour,ncontours:i.ncontours,contours:{type:s.type,start:s.start,end:s.end,size:s.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:s.showlines,showlabels:s.showlabels,labelfont:s.labelfont,labelformat:s.labelformat,operation:s.operation,value:s.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:i.line.color,width:i.line.width,dash:i.line.dash,smoothing:i.line.smoothing,editType:"plot"},transforms:void 0},a("",{cLetter:"z",autoColorDflt:!1}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../contour/attributes":735,"../heatmap/attributes":792}],758:[function(t,e,r){"use strict";var n=t("../../components/colorscale/calc"),i=t("../../lib"),a=t("../heatmap/convert_column_xyz"),o=t("../heatmap/clean_2d_array"),s=t("../heatmap/interp2d"),l=t("../heatmap/find_empties"),c=t("../heatmap/make_bound_array"),u=t("./defaults"),f=t("../carpet/lookup_carpetid"),h=t("../contour/set_contours");e.exports=function(t,e){var r=e._carpetTrace=f(t,e);if(r&&r.visible&&"legendonly"!==r.visible){if(!e.a||!e.b){var p=t.data[r.index],d=t.data[e.index];d.a||(d.a=p.a),d.b||(d.b=p.b),u(d,e,e._defaultColor,t._fullLayout)}var g=function(t,e){var r,u,f,h,p,d,g,m=e._carpetTrace,v=m.aaxis,y=m.baxis;v._minDtick=0,y._minDtick=0,i.isArray1D(e.z)&&a(e,v,y,"a","b",["z"]);r=e._a=e._a||e.a,h=e._b=e._b||e.b,r=r?v.makeCalcdata(e,"_a"):[],h=h?y.makeCalcdata(e,"_b"):[],u=e.a0||0,f=e.da||1,p=e.b0||0,d=e.db||1,g=e._z=o(e._z||e.z,e.transpose),e._emptypoints=l(g),s(g,e._emptypoints);var x=i.maxRowLength(g),b="scaled"===e.xtype?"":r,_=c(e,b,u,f,x,v),w="scaled"===e.ytype?"":h,T=c(e,w,p,d,g.length,y),k={a:_,b:T,z:g};"levels"===e.contours.type&&"none"!==e.contours.coloring&&n(t,e,{vals:g,containerStr:"",cLetter:"z"});return[k]}(t,e);return h(e,e._z),g}}},{"../../components/colorscale/calc":374,"../../lib":503,"../carpet/lookup_carpetid":708,"../contour/set_contours":754,"../heatmap/clean_2d_array":794,"../heatmap/convert_column_xyz":796,"../heatmap/find_empties":798,"../heatmap/interp2d":801,"../heatmap/make_bound_array":803,"./defaults":759}],759:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../heatmap/xyz_defaults"),a=t("./attributes"),o=t("../contour/constraint_defaults"),s=t("../contour/contours_defaults"),l=t("../contour/style_defaults");e.exports=function(t,e,r,c){function u(r,i){return n.coerce(t,e,a,r,i)}if(u("carpet"),t.a&&t.b){if(!i(t,e,u,c,"a","b"))return void(e.visible=!1);u("text"),"constraint"===u("contours.type")?o(t,e,u,c,r,{hasHover:!1}):(s(t,e,u,(function(r){return n.coerce2(t,e,a,r)})),l(t,e,u,c,{hasHover:!1}))}else e._defaultColor=r,e._length=null}},{"../../lib":503,"../contour/constraint_defaults":740,"../contour/contours_defaults":742,"../contour/style_defaults":756,"../heatmap/xyz_defaults":807,"./attributes":757}],760:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../contour/colorbar"),calc:t("./calc"),plot:t("./plot"),style:t("../contour/style"),moduleType:"trace",name:"contourcarpet",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},{"../../plots/cartesian":568,"../contour/colorbar":738,"../contour/style":755,"./attributes":757,"./calc":758,"./defaults":759,"./plot":761}],761:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../carpet/map_1d_array"),a=t("../carpet/makepath"),o=t("../../components/drawing"),s=t("../../lib"),l=t("../contour/make_crossings"),c=t("../contour/find_all_paths"),u=t("../contour/plot"),f=t("../contour/constants"),h=t("../contour/convert_to_constraints"),p=t("../contour/empty_pathinfo"),d=t("../contour/close_boundaries"),g=t("../carpet/lookup_carpetid"),m=t("../carpet/axis_aligned_line");function v(t,e,r){var n=t.getPointAtLength(e),i=t.getPointAtLength(r),a=i.x-n.x,o=i.y-n.y,s=Math.sqrt(a*a+o*o);return[a/s,o/s]}function y(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}function x(t,e){var r=Math.abs(t[0]*e[0]+t[1]*e[1]);return Math.sqrt(1-r*r)/r}e.exports=function(t,e,r,b){var _=e.xaxis,w=e.yaxis;s.makeTraceGroups(b,r,"contour").each((function(r){var b=n.select(this),T=r[0],k=T.trace,A=k._carpetTrace=g(t,k),M=t.calcdata[A.index][0];if(A.visible&&"legendonly"!==A.visible){var S=T.a,E=T.b,L=k.contours,C=p(L,e,T),P="constraint"===L.type,I=L._operation,O=P?"="===I?"lines":"fill":L.coloring,z=[[S[0],E[E.length-1]],[S[S.length-1],E[E.length-1]],[S[S.length-1],E[0]],[S[0],E[0]]];l(C);var D=1e-8*(S[S.length-1]-S[0]),R=1e-8*(E[E.length-1]-E[0]);c(C,D,R);var F,B,N,j,U=C;"constraint"===L.type&&(U=h(C,I)),function(t,e){var r,n,i,a,o,s,l,c,u;for(r=0;r<t.length;r++){for(a=t[r],o=a.pedgepaths=[],s=a.ppaths=[],n=0;n<a.edgepaths.length;n++){for(u=a.edgepaths[n],l=[],i=0;i<u.length;i++)l[i]=e(u[i]);o.push(l)}for(n=0;n<a.paths.length;n++){for(u=a.paths[n],c=[],i=0;i<u.length;i++)c[i]=e(u[i]);s.push(c)}}}(C,q);var V=[];for(j=M.clipsegments.length-1;j>=0;j--)F=M.clipsegments[j],B=i([],F.x,_.c2p),N=i([],F.y,w.c2p),B.reverse(),N.reverse(),V.push(a(B,N,F.bicubic));var H="M"+V.join("L")+"Z";!function(t,e,r,n,o,l){var c,u,f,h,p=s.ensureSingle(t,"g","contourbg").selectAll("path").data("fill"!==l||o?[]:[0]);p.enter().append("path"),p.exit().remove();var d=[];for(h=0;h<e.length;h++)c=e[h],u=i([],c.x,r.c2p),f=i([],c.y,n.c2p),d.push(a(u,f,c.bicubic));p.attr("d","M"+d.join("L")+"Z").style("stroke","none")}(b,M.clipsegments,_,w,P,O),function(t,e,r,i,a,l,c,u,f,h,p){var g="fill"===h;g&&d(a,t.contours);var v=s.ensureSingle(e,"g","contourfill").selectAll("path").data(g?a:[]);v.enter().append("path"),v.exit().remove(),v.each((function(t){var e=(t.prefixBoundary?p:"")+function(t,e,r,n,i,a,l,c){var u,f,h,p,d,g,v,y="",x=e.edgepaths.map((function(t,e){return e})),b=!0,_=1e-4*Math.abs(r[0][0]-r[2][0]),w=1e-4*Math.abs(r[0][1]-r[2][1]);function T(t){return Math.abs(t[1]-r[0][1])<w}function k(t){return Math.abs(t[1]-r[2][1])<w}function A(t){return Math.abs(t[0]-r[0][0])<_}function M(t){return Math.abs(t[0]-r[2][0])<_}function S(t,e){var r,n,o,s,u="";for(T(t)&&!M(t)||k(t)&&!A(t)?(s=i.aaxis,o=m(i,a,[t[0],e[0]],.5*(t[1]+e[1]))):(s=i.baxis,o=m(i,a,.5*(t[0]+e[0]),[t[1],e[1]])),r=1;r<o.length;r++)for(u+=s.smoothing?"C":"L",n=0;n<o[r].length;n++){var f=o[r][n];u+=[l.c2p(f[0]),c.c2p(f[1])]+" "}return u}u=0,f=null;for(;x.length;){var E=e.edgepaths[u][0];for(f&&(y+=S(f,E)),v=o.smoothopen(e.edgepaths[u].map(n),e.smoothing),y+=b?v:v.replace(/^M/,"L"),x.splice(x.indexOf(u),1),f=e.edgepaths[u][e.edgepaths[u].length-1],d=-1,p=0;p<4;p++){if(!f){s.log("Missing end?",u,e);break}for(T(f)&&!M(f)?h=r[1]:A(f)?h=r[0]:k(f)?h=r[3]:M(f)&&(h=r[2]),g=0;g<e.edgepaths.length;g++){var L=e.edgepaths[g][0];Math.abs(f[0]-h[0])<_?Math.abs(f[0]-L[0])<_&&(L[1]-f[1])*(h[1]-L[1])>=0&&(h=L,d=g):Math.abs(f[1]-h[1])<w?Math.abs(f[1]-L[1])<w&&(L[0]-f[0])*(h[0]-L[0])>=0&&(h=L,d=g):s.log("endpt to newendpt is not vert. or horz.",f,h,L)}if(d>=0)break;y+=S(f,h),f=h}if(d===e.edgepaths.length){s.log("unclosed perimeter path");break}u=d,(b=-1===x.indexOf(u))&&(u=x[0],y+=S(f,h)+"Z",f=null)}for(u=0;u<e.paths.length;u++)y+=o.smoothclosed(e.paths[u].map(n),e.smoothing);return y}(0,t,l,c,u,f,r,i);e?n.select(this).attr("d",e).style("stroke","none"):n.select(this).remove()}))}(k,b,_,w,U,z,q,A,M,O,H),function(t,e,r,i,a,l,c){var h=s.ensureSingle(t,"g","contourlines"),p=!1!==a.showlines,d=a.showlabels,g=p&&d,m=u.createLines(h,p||d,e),b=u.createLineClip(h,g,r,i.trace.uid),_=t.selectAll("g.contourlabels").data(d?[0]:[]);if(_.exit().remove(),_.enter().append("g").classed("contourlabels",!0),d){var w=l.xaxis,T=l.yaxis,k=w._length,A=T._length,M=[[[0,0],[k,0],[k,A],[0,A]]],S=[];s.clearLocationCache();var E=u.labelFormatter(r,i),L=o.tester.append("text").attr("data-notex",1).call(o.font,a.labelfont),C={left:0,right:k,center:k/2,top:0,bottom:A,middle:A/2},P=Math.sqrt(k*k+A*A),I=f.LABELDISTANCE*P/Math.max(1,e.length/f.LABELINCREASE);m.each((function(t){var e=u.calcTextOpts(t.level,E,L,r);n.select(this).selectAll("path").each((function(r){var n=s.getVisibleSegment(this,C,e.height/2);if(n&&(function(t,e,r,n,i,a){for(var o,s=0;s<r.pedgepaths.length;s++)e===r.pedgepaths[s]&&(o=r.edgepaths[s]);if(!o)return;var l=i.a[0],c=i.a[i.a.length-1],u=i.b[0],f=i.b[i.b.length-1];function h(t,e){var r,n=0;return(Math.abs(t[0]-l)<.1||Math.abs(t[0]-c)<.1)&&(r=y(i.dxydb_rough(t[0],t[1],.1)),n=Math.max(n,a*x(e,r)/2)),(Math.abs(t[1]-u)<.1||Math.abs(t[1]-f)<.1)&&(r=y(i.dxyda_rough(t[0],t[1],.1)),n=Math.max(n,a*x(e,r)/2)),n}var p=v(t,0,1),d=v(t,n.total,n.total-1),g=h(o[0],p),m=n.total-h(o[o.length-1],d);n.min<g&&(n.min=g);n.max>m&&(n.max=m);n.len=n.max-n.min}(this,r,t,n,c,e.height),!(n.len<(e.width+e.height)*f.LABELMIN)))for(var i=Math.min(Math.ceil(n.len/I),f.LABELMAX),a=0;a<i;a++){var o=u.findBestTextLocation(this,n,e,S,C);if(!o)break;u.addLabelData(o,e,S,M)}}))})),L.remove(),u.drawLabels(_,S,r,b,g?M:null)}d&&!p&&m.remove()}(b,C,t,T,L,e,A),o.setClipUrl(b,A._clipPathId,t)}function q(t){var e=A.ab2xy(t[0],t[1],!0);return[_.c2p(e[0]),w.c2p(e[1])]}}))}},{"../../components/drawing":388,"../../lib":503,"../carpet/axis_aligned_line":692,"../carpet/lookup_carpetid":708,"../carpet/makepath":709,"../carpet/map_1d_array":710,"../contour/close_boundaries":737,"../contour/constants":739,"../contour/convert_to_constraints":743,"../contour/empty_pathinfo":745,"../contour/find_all_paths":747,"../contour/make_crossings":752,"../contour/plot":753,"@plotly/d3":58}],762:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/template_attributes").hovertemplateAttrs,a=t("../../plots/attributes"),o=t("../scattermapbox/attributes"),s=t("../../lib/extend").extendFlat;e.exports=s({lon:o.lon,lat:o.lat,z:{valType:"data_array",editType:"calc"},radius:{valType:"number",editType:"plot",arrayOk:!0,min:1,dflt:30},below:{valType:"string",editType:"plot"},text:o.text,hovertext:o.hovertext,hoverinfo:s({},a.hoverinfo,{flags:["lon","lat","z","text","name"]}),hovertemplate:i(),showlegend:s({},a.showlegend,{dflt:!1})},n("",{cLetter:"z",editTypeOverride:"calc"}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattermapbox/attributes":991}],763:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib").isArrayOrTypedArray,a=t("../../constants/numerical").BADNUM,o=t("../../components/colorscale/calc"),s=t("../../lib")._;e.exports=function(t,e){for(var r=e._length,l=new Array(r),c=e.z,u=i(c)&&c.length,f=0;f<r;f++){var h=l[f]={},p=e.lon[f],d=e.lat[f];if(h.lonlat=n(p)&&n(d)?[+p,+d]:[a,a],u){var g=c[f];h.z=n(g)?g:a}}return o(t,e,{vals:u?c:[0,1],containerStr:"",cLetter:"z"}),r&&(l[0].t={labels:{lat:s(t,"lat:")+" ",lon:s(t,"lon:")+" "}}),l}},{"../../components/colorscale/calc":374,"../../constants/numerical":479,"../../lib":503,"fast-isnumeric":190}],764:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../components/color"),o=t("../../components/colorscale"),s=t("../../constants/numerical").BADNUM,l=t("../../lib/geojson_utils").makeBlank;e.exports=function(t){var e=t[0].trace,r=!0===e.visible&&0!==e._length,c=e._opts={heatmap:{layout:{visibility:"none"},paint:{}},geojson:l()};if(!r)return c;var u,f=[],h=e.z,p=e.radius,d=i.isArrayOrTypedArray(h)&&h.length,g=i.isArrayOrTypedArray(p);for(u=0;u<t.length;u++){var m=t[u],v=m.lonlat;if(v[0]!==s){var y={};if(d){var x=m.z;y.z=x!==s?x:0}g&&(y.r=n(p[u])&&p[u]>0?+p[u]:0),f.push({type:"Feature",geometry:{type:"Point",coordinates:v},properties:y})}}var b=o.extractOpts(e),_=b.reversescale?o.flipScale(b.colorscale):b.colorscale,w=_[0][1],T=["interpolate",["linear"],["heatmap-density"],0,a.opacity(w)<1?w:a.addOpacity(w,0)];for(u=1;u<_.length;u++)T.push(_[u][0],_[u][1]);var k=["interpolate",["linear"],["get","z"],b.min,0,b.max,1];return i.extendFlat(c.heatmap.paint,{"heatmap-weight":d?k:1/(b.max-b.min),"heatmap-color":T,"heatmap-radius":g?{type:"identity",property:"r"}:e.radius,"heatmap-opacity":e.opacity}),c.geojson={type:"FeatureCollection",features:f},c.heatmap.layout.visibility="visible",c}},{"../../components/color":366,"../../components/colorscale":378,"../../constants/numerical":479,"../../lib":503,"../../lib/geojson_utils":497,"fast-isnumeric":190}],765:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/defaults"),a=t("./attributes");e.exports=function(t,e,r,o){function s(r,i){return n.coerce(t,e,a,r,i)}var l=s("lon")||[],c=s("lat")||[],u=Math.min(l.length,c.length);u?(e._length=u,s("z"),s("radius"),s("below"),s("text"),s("hovertext"),s("hovertemplate"),i(t,e,o,s,{prefix:"",cLetter:"z"})):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":762}],766:[function(t,e,r){"use strict";e.exports=function(t,e){return t.lon=e.lon,t.lat=e.lat,t.z=e.z,t}},{}],767:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../scattermapbox/hover").hoverPoints,a=t("../scattermapbox/hover").getExtraText;e.exports=function(t,e,r){var o=i(t,e,r);if(o){var s=o[0],l=s.cd,c=l[0].trace,u=l[s.index];if(delete s.color,"z"in u){var f=s.subplot.mockAxis;s.z=u.z,s.zLabel=n.tickText(f,f.c2l(u.z),"hover").text}return s.extraText=a(c,u,l[0].t.labels),[s]}}},{"../../plots/cartesian/axes":554,"../scattermapbox/hover":996}],768:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../heatmap/colorbar"),formatLabels:t("../scattermapbox/format_labels"),calc:t("./calc"),plot:t("./plot"),hoverPoints:t("./hover"),eventData:t("./event_data"),getBelow:function(t,e){for(var r=e.getMapLayers(),n=0;n<r.length;n++){var i=r[n],a=i.id;if("symbol"===i.type&&"string"==typeof a&&-1===a.indexOf("plotly-"))return a}},moduleType:"trace",name:"densitymapbox",basePlotModule:t("../../plots/mapbox"),categories:["mapbox","gl","showLegend"],meta:{hr_name:"density_mapbox"}}},{"../../plots/mapbox":613,"../heatmap/colorbar":795,"../scattermapbox/format_labels":995,"./attributes":762,"./calc":763,"./defaults":765,"./event_data":766,"./hover":767,"./plot":769}],769:[function(t,e,r){"use strict";var n=t("./convert"),i=t("../../plots/mapbox/constants").traceLayerPrefix;function a(t,e){this.type="densitymapbox",this.subplot=t,this.uid=e,this.sourceId="source-"+e,this.layerList=[["heatmap",i+e+"-heatmap"]],this.below=null}var o=a.prototype;o.update=function(t){var e=this.subplot,r=this.layerList,i=n(t),a=e.belowLookup["trace-"+this.uid];e.map.getSource(this.sourceId).setData(i.geojson),a!==this.below&&(this._removeLayers(),this._addLayers(i,a),this.below=a);for(var o=0;o<r.length;o++){var s=r[o],l=s[0],c=s[1],u=i[l];e.setOptions(c,"setLayoutProperty",u.layout),"visible"===u.layout.visibility&&e.setOptions(c,"setPaintProperty",u.paint)}},o._addLayers=function(t,e){for(var r=this.subplot,n=this.layerList,i=this.sourceId,a=0;a<n.length;a++){var o=n[a],s=o[0],l=t[s];r.addLayer({type:s,id:o[1],source:i,layout:l.layout,paint:l.paint},e)}},o._removeLayers=function(){for(var t=this.subplot.map,e=this.layerList,r=e.length-1;r>=0;r--)t.removeLayer(e[r][1])},o.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},e.exports=function(t,e){var r=e[0].trace,i=new a(t,r.uid),o=i.sourceId,s=n(e),l=i.below=t.belowLookup["trace-"+r.uid];return t.map.addSource(o,{type:"geojson",data:s.geojson}),i._addLayers(s,l),i}},{"../../plots/mapbox/constants":611,"./convert":764}],770:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){for(var r=0;r<t.length;r++)t[r].i=r;n.mergeArray(e.text,t,"tx"),n.mergeArray(e.hovertext,t,"htx");var i=e.marker;if(i){n.mergeArray(i.opacity,t,"mo"),n.mergeArray(i.color,t,"mc");var a=i.line;a&&(n.mergeArray(a.color,t,"mlc"),n.mergeArrayCastPositive(a.width,t,"mlw"))}}},{"../../lib":503}],771:[function(t,e,r){"use strict";var n,i=t("../bar/attributes"),a=t("../scatter/attributes").line,o=t("../../plots/attributes"),s=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,l=t("../../plots/template_attributes").hovertemplateAttrs,c=t("../../plots/template_attributes").texttemplateAttrs,u=t("./constants"),f=t("../../lib/extend").extendFlat,h=t("../../components/color");e.exports={x:i.x,x0:i.x0,dx:i.dx,y:i.y,y0:i.y0,dy:i.dy,xperiod:i.xperiod,yperiod:i.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:i.xperiodalignment,yperiodalignment:i.yperiodalignment,xhoverformat:s("x"),yhoverformat:s("y"),hovertext:i.hovertext,hovertemplate:l({},{keys:u.eventDataKeys}),hoverinfo:f({},o.hoverinfo,{flags:["name","x","y","text","percent initial","percent previous","percent total"]}),textinfo:{valType:"flaglist",flags:["label","text","percent initial","percent previous","percent total","value"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:c({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),text:i.text,textposition:i.textposition,insidetextanchor:f({},i.insidetextanchor,{dflt:"middle"}),textangle:f({},i.textangle,{dflt:0}),textfont:i.textfont,insidetextfont:i.insidetextfont,outsidetextfont:i.outsidetextfont,constraintext:i.constraintext,cliponaxis:i.cliponaxis,orientation:f({},i.orientation,{}),offset:f({},i.offset,{arrayOk:!1}),width:f({},i.width,{arrayOk:!1}),marker:(n=f({},i.marker),delete n.pattern,n),connector:{fillcolor:{valType:"color",editType:"style"},line:{color:f({},a.color,{dflt:h.defaultLine}),width:f({},a.width,{dflt:0,editType:"plot"}),dash:a.dash,editType:"style"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:i.offsetgroup,alignmentgroup:i.alignmentgroup}},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":926,"./constants":773}],772:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../plots/cartesian/align_period"),a=t("./arrays_to_calcdata"),o=t("../scatter/calc_selection"),s=t("../../constants/numerical").BADNUM;function l(t){return t===s?0:t}e.exports=function(t,e){var r,c,u,f,h,p,d,g,m=n.getFromId(t,e.xaxis||"x"),v=n.getFromId(t,e.yaxis||"y");"h"===e.orientation?(r=m.makeCalcdata(e,"x"),u=v.makeCalcdata(e,"y"),f=i(e,v,"y",u),h=!!e.yperiodalignment,p="y"):(r=v.makeCalcdata(e,"y"),u=m.makeCalcdata(e,"x"),f=i(e,m,"x",u),h=!!e.xperiodalignment,p="x"),c=f.vals;var y,x=Math.min(c.length,r.length),b=new Array(x);for(e._base=[],d=0;d<x;d++){r[d]<0&&(r[d]=s);var _=!1;r[d]!==s&&d+1<x&&r[d+1]!==s&&(_=!0),g=b[d]={p:c[d],s:r[d],cNext:_},e._base[d]=-.5*g.s,h&&(b[d].orig_p=u[d],b[d][p+"End"]=f.ends[d],b[d][p+"Start"]=f.starts[d]),e.ids&&(g.id=String(e.ids[d])),0===d&&(b[0].vTotal=0),b[0].vTotal+=l(g.s),g.begR=l(g.s)/l(b[0].s)}for(d=0;d<x;d++)(g=b[d]).s!==s&&(g.sumR=g.s/b[0].vTotal,g.difR=void 0!==y?g.s/y:1,y=g.s);return a(b,e),o(b,e),b}},{"../../constants/numerical":479,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":928,"./arrays_to_calcdata":770}],773:[function(t,e,r){"use strict";e.exports={eventDataKeys:["percentInitial","percentPrevious","percentTotal"]}},{}],774:[function(t,e,r){"use strict";var n=t("../bar/cross_trace_calc").setGroupPositions;e.exports=function(t,e){var r,i,a=t._fullLayout,o=t._fullData,s=t.calcdata,l=e.xaxis,c=e.yaxis,u=[],f=[],h=[];for(i=0;i<o.length;i++){var p=o[i],d="h"===p.orientation;!0===p.visible&&p.xaxis===l._id&&p.yaxis===c._id&&"funnel"===p.type&&(r=s[i],d?h.push(r):f.push(r),u.push(r))}var g={mode:a.funnelmode,norm:a.funnelnorm,gap:a.funnelgap,groupgap:a.funnelgroupgap};for(n(t,l,c,f,g),n(t,c,l,h,g),i=0;i<u.length;i++){r=u[i];for(var m=0;m<r.length;m++)m+1<r.length&&(r[m].nextP0=r[m+1].p0,r[m].nextS0=r[m+1].s0,r[m].nextP1=r[m+1].p1,r[m].nextS1=r[m+1].s1)}}},{"../bar/cross_trace_calc":651}],775:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../bar/defaults").handleGroupingDefaults,a=t("../bar/defaults").handleText,o=t("../scatter/xy_defaults"),s=t("../scatter/period_defaults"),l=t("./attributes"),c=t("../../components/color");e.exports={supplyDefaults:function(t,e,r,i){function u(r,i){return n.coerce(t,e,l,r,i)}if(o(t,e,i,u)){s(t,e,i,u),u("xhoverformat"),u("yhoverformat"),u("orientation",e.y&&!e.x?"v":"h"),u("offset"),u("width");var f=u("text");u("hovertext"),u("hovertemplate");var h=u("textposition");a(t,e,i,u,h,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"===e.textposition||e.texttemplate||u("textinfo",Array.isArray(f)?"text+value":"value");var p=u("marker.color",r);if(u("marker.line.color",c.defaultLine),u("marker.line.width"),u("connector.visible"))u("connector.fillcolor",function(t){var e=n.isArrayOrTypedArray(t)?"#000":t;return c.addOpacity(e,.5*c.opacity(e))}(p)),u("connector.line.width")&&(u("connector.line.color"),u("connector.line.dash"))}else e.visible=!1},crossTraceDefaults:function(t,e){var r,a;function o(t){return n.coerce(a._input,a,l,t)}if("group"===e.funnelmode)for(var s=0;s<t.length;s++)r=(a=t[s])._input,i(r,a,e,o)}}},{"../../components/color":366,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":946,"../scatter/xy_defaults":953,"./attributes":771}],776:[function(t,e,r){"use strict";e.exports=function(t,e){return t.x="xVal"in e?e.xVal:e.x,t.y="yVal"in e?e.yVal:e.y,"percentInitial"in e&&(t.percentInitial=e.percentInitial),"percentPrevious"in e&&(t.percentPrevious=e.percentPrevious),"percentTotal"in e&&(t.percentTotal=e.percentTotal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],777:[function(t,e,r){"use strict";var n=t("../../components/color").opacity,i=t("../bar/hover").hoverOnBars,a=t("../../lib").formatPercent;e.exports=function(t,e,r,o,s){var l=i(t,e,r,o,s);if(l){var c=l.cd,u=c[0].trace,f="h"===u.orientation,h=c[l.index];l[(f?"x":"y")+"LabelVal"]=h.s,l.percentInitial=h.begR,l.percentInitialLabel=a(h.begR,1),l.percentPrevious=h.difR,l.percentPreviousLabel=a(h.difR,1),l.percentTotal=h.sumR,l.percentTotalLabel=a(h.sumR,1);var p=h.hi||u.hoverinfo,d=[];if(p&&"none"!==p&&"skip"!==p){var g="all"===p,m=p.split("+"),v=function(t){return g||-1!==m.indexOf(t)};v("percent initial")&&d.push(l.percentInitialLabel+" of initial"),v("percent previous")&&d.push(l.percentPreviousLabel+" of previous"),v("percent total")&&d.push(l.percentTotalLabel+" of total")}return l.extraText=d.join("<br>"),l.color=function(t,e){var r=t.marker,i=e.mc||r.color,a=e.mlc||r.line.color,o=e.mlw||r.line.width;if(n(i))return i;if(n(a)&&o)return a}(u,h),[l]}}},{"../../components/color":366,"../../lib":503,"../bar/hover":655}],778:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults").supplyDefaults,crossTraceDefaults:t("./defaults").crossTraceDefaults,supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc"),crossTraceCalc:t("./cross_trace_calc"),plot:t("./plot"),style:t("./style").style,hoverPoints:t("./hover"),eventData:t("./event_data"),selectPoints:t("../bar/select"),moduleType:"trace",name:"funnel",basePlotModule:t("../../plots/cartesian"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"../bar/select":660,"./attributes":771,"./calc":772,"./cross_trace_calc":774,"./defaults":775,"./event_data":776,"./hover":777,"./layout_attributes":779,"./layout_defaults":780,"./plot":781,"./style":782}],779:[function(t,e,r){"use strict";e.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},{}],780:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e,r){var a=!1;function o(r,a){return n.coerce(t,e,i,r,a)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"funnel"===l.type){a=!0;break}}a&&(o("funnelmode"),o("funnelgap",.2),o("funnelgroupgap"))}},{"../../lib":503,"./layout_attributes":779}],781:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../constants/numerical").BADNUM,s=t("../bar/plot"),l=t("../bar/uniform_text").clearMinTextSize;function c(t,e,r,n){var i=[],a=[],o=n?e:r,s=n?r:e;return i[0]=o.c2p(t.s0,!0),a[0]=s.c2p(t.p0,!0),i[1]=o.c2p(t.s1,!0),a[1]=s.c2p(t.p1,!0),i[2]=o.c2p(t.nextS0,!0),a[2]=s.c2p(t.nextP0,!0),i[3]=o.c2p(t.nextS1,!0),a[3]=s.c2p(t.nextP1,!0),n?[i,a]:[a,i]}e.exports=function(t,e,r,u){var f=t._fullLayout;l("funnel",f),function(t,e,r,s){var l=e.xaxis,u=e.yaxis;i.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),f=r[0].trace,h=i.ensureSingle(s,"g","regions");if(f.connector&&f.connector.visible){var p="h"===f.orientation,d=h.selectAll("g.region").data(i.identity);d.enter().append("g").classed("region",!0),d.exit().remove();var g=d.size();d.each((function(r,s){if(s===g-1||r.cNext){var f=c(r,l,u,p),h=f[0],d=f[1],m="";h[0]!==o&&d[0]!==o&&h[1]!==o&&d[1]!==o&&h[2]!==o&&d[2]!==o&&h[3]!==o&&d[3]!==o&&(m+=p?"M"+h[0]+","+d[1]+"L"+h[2]+","+d[2]+"H"+h[3]+"L"+h[1]+","+d[1]+"Z":"M"+h[1]+","+d[1]+"L"+h[2]+","+d[3]+"V"+d[2]+"L"+h[1]+","+d[0]+"Z"),""===m&&(m="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",m).call(a.setClipUrl,e.layerClipId,t)}}))}else h.remove()}))}(t,e,r,u),function(t,e,r,o){var s=e.xaxis,l=e.yaxis;i.makeTraceGroups(o,r,"trace bars").each((function(r){var o=n.select(this),u=r[0].trace,f=i.ensureSingle(o,"g","lines");if(u.connector&&u.connector.visible&&u.connector.line.width){var h="h"===u.orientation,p=f.selectAll("g.line").data(i.identity);p.enter().append("g").classed("line",!0),p.exit().remove();var d=p.size();p.each((function(r,o){if(o===d-1||r.cNext){var u=c(r,s,l,h),f=u[0],p=u[1],g="";void 0!==f[3]&&void 0!==p[3]&&(h?(g+="M"+f[0]+","+p[1]+"L"+f[2]+","+p[2],g+="M"+f[1]+","+p[1]+"L"+f[3]+","+p[2]):(g+="M"+f[1]+","+p[1]+"L"+f[2]+","+p[3],g+="M"+f[1]+","+p[0]+"L"+f[2]+","+p[2])),""===g&&(g="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",g).call(a.setClipUrl,e.layerClipId,t)}}))}else f.remove()}))}(t,e,r,u),s.plot(t,e,r,u,{mode:f.funnelmode,norm:f.funnelmode,gap:f.funnelgap,groupgap:f.funnelgroupgap})}},{"../../components/drawing":388,"../../constants/numerical":479,"../../lib":503,"../bar/plot":659,"../bar/uniform_text":664,"@plotly/d3":58}],782:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../components/color"),o=t("../../constants/interactions").DESELECTDIM,s=t("../bar/style"),l=t("../bar/uniform_text").resizeText,c=s.styleTextPoints;e.exports={style:function(t,e,r){var s=r||n.select(t).selectAll("g.funnellayer").selectAll("g.trace");l(t,s,"funnel"),s.style("opacity",(function(t){return t[0].trace.opacity})),s.each((function(e){var r=n.select(this),s=e[0].trace;r.selectAll(".point > path").each((function(t){if(!t.isBlank){var e=s.marker;n.select(this).call(a.fill,t.mc||e.color).call(a.stroke,t.mlc||e.line.color).call(i.dashLine,e.line.dash,t.mlw||e.line.width).style("opacity",s.selectedpoints&&!t.selected?o:1)}})),c(r,s,t),r.selectAll(".regions").each((function(){n.select(this).selectAll("path").style("stroke-width",0).call(a.fill,s.connector.fillcolor)})),r.selectAll(".lines").each((function(){var t=s.connector.line;i.lineGroupStyle(n.select(this).selectAll("path"),t.width,t.color,t.dash)}))}))}}},{"../../components/color":366,"../../components/drawing":388,"../../constants/interactions":478,"../bar/style":662,"../bar/uniform_text":664,"@plotly/d3":58}],783:[function(t,e,r){"use strict";var n=t("../pie/attributes"),i=t("../../plots/attributes"),a=t("../../plots/domain").attributes,o=t("../../plots/template_attributes").hovertemplateAttrs,s=t("../../plots/template_attributes").texttemplateAttrs,l=t("../../lib/extend").extendFlat;e.exports={labels:n.labels,label0:n.label0,dlabel:n.dlabel,values:n.values,marker:{colors:n.marker.colors,line:{color:l({},n.marker.line.color,{dflt:null}),width:l({},n.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:n.text,hovertext:n.hovertext,scalegroup:l({},n.scalegroup,{}),textinfo:l({},n.textinfo,{flags:["label","text","value","percent"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:l({},i.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:o({},{keys:["label","color","value","text","percent"]}),textposition:l({},n.textposition,{values:["inside","none"],dflt:"inside"}),textfont:n.textfont,insidetextfont:n.insidetextfont,title:{text:n.title.text,font:n.title.font,position:l({},n.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:a({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":900}],784:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="funnelarea",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],785:[function(t,e,r){"use strict";var n=t("../pie/calc");e.exports={calc:function(t,e){return n.calc(t,e)},crossTraceCalc:function(t){n.crossTraceCalc(t,{type:"funnelarea"})}}},{"../pie/calc":902}],786:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../plots/domain").defaults,o=t("../bar/defaults").handleText,s=t("../pie/defaults").handleLabelsAndValues;e.exports=function(t,e,r,l){function c(r,a){return n.coerce(t,e,i,r,a)}var u=c("labels"),f=c("values"),h=s(u,f),p=h.len;if(e._hasLabels=h.hasLabels,e._hasValues=h.hasValues,!e._hasLabels&&e._hasValues&&(c("label0"),c("dlabel")),p){e._length=p,c("marker.line.width")&&c("marker.line.color",l.paper_bgcolor),c("marker.colors"),c("scalegroup");var d,g=c("text"),m=c("texttemplate");if(m||(d=c("textinfo",Array.isArray(g)?"text+percent":"percent")),c("hovertext"),c("hovertemplate"),m||d&&"none"!==d){var v=c("textposition");o(t,e,l,c,v,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}a(e,l,c),c("title.text")&&(c("title.position"),n.coerceFont(c,"title.font",l.font)),c("aspectratio"),c("baseratio")}else e.visible=!1}},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"../pie/defaults":903,"./attributes":783}],787:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t("./base_plot"),categories:["pie-like","funnelarea","showLegend"],attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot"),style:t("./style"),styleOne:t("../pie/style_one"),meta:{}}},{"../pie/style_one":911,"./attributes":783,"./base_plot":784,"./calc":785,"./defaults":786,"./layout_attributes":788,"./layout_defaults":789,"./plot":790,"./style":791}],788:[function(t,e,r){"use strict";var n=t("../pie/layout_attributes").hiddenlabels;e.exports={hiddenlabels:n,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},{"../pie/layout_attributes":907}],789:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("hiddenlabels"),r("funnelareacolorway",e.colorway),r("extendfunnelareacolors")}},{"../../lib":503,"./layout_attributes":788}],790:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../lib"),o=a.strScale,s=a.strTranslate,l=t("../../lib/svg_text_utils"),c=t("../bar/plot").toMoveInsideBar,u=t("../bar/uniform_text"),f=u.recordMinTextSize,h=u.clearMinTextSize,p=t("../pie/helpers"),d=t("../pie/plot"),g=d.attachFxHandlers,m=d.determineInsideTextFont,v=d.layoutAreas,y=d.prerenderTitles,x=d.positionTitleOutside,b=d.formatSliceLabel;function _(t,e){return"l"+(e[0]-t[0])+","+(e[1]-t[1])}e.exports=function(t,e){var r=t._fullLayout;h("funnelarea",r),y(e,t),v(e,r._size),a.makeTraceGroups(r._funnelarealayer,e,"trace").each((function(e){var u=n.select(this),h=e[0],d=h.trace;!function(t){if(!t.length)return;var e=t[0],r=e.trace,n=r.aspectratio,i=r.baseratio;i>.999&&(i=.999);var a,o=Math.pow(i,2),s=e.vTotal,l=s,c=s*o/(1-o)/s;function u(){var t,e={x:t=Math.sqrt(c),y:-t};return[e.x,e.y]}var f,h,p=[];for(p.push(u()),f=t.length-1;f>-1;f--)if(!(h=t[f]).hidden){var d=h.v/l;c+=d,p.push(u())}var g=1/0,m=-1/0;for(f=0;f<p.length;f++)a=p[f],g=Math.min(g,a[1]),m=Math.max(m,a[1]);for(f=0;f<p.length;f++)p[f][1]-=(m+g)/2;var v=p[p.length-1][0],y=e.r,x=(m-g)/2,b=y/v,_=y/x*n;for(e.r=_*x,f=0;f<p.length;f++)p[f][0]*=b,p[f][1]*=_;var w=[-(a=p[0])[0],a[1]],T=[a[0],a[1]],k=0;for(f=t.length-1;f>-1;f--)if(!(h=t[f]).hidden){var A=p[k+=1][0],M=p[k][1];h.TL=[-A,M],h.TR=[A,M],h.BL=w,h.BR=T,h.pxmid=(S=h.TR,E=h.BR,[.5*(S[0]+E[0]),.5*(S[1]+E[1])]),w=h.TL,T=h.TR}var S,E}(e),u.each((function(){var u=n.select(this).selectAll("g.slice").data(e);u.enter().append("g").classed("slice",!0),u.exit().remove(),u.each((function(o,s){if(o.hidden)n.select(this).selectAll("path,g").remove();else{o.pointNumber=o.i,o.curveNumber=d.index;var u=h.cx,v=h.cy,y=n.select(this),x=y.selectAll("path.surface").data([o]);x.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),y.call(g,t,e);var w="M"+(u+o.TR[0])+","+(v+o.TR[1])+_(o.TR,o.BR)+_(o.BR,o.BL)+_(o.BL,o.TL)+"Z";x.attr("d",w),b(t,o,h);var T=p.castOption(d.textposition,o.pts),k=y.selectAll("g.slicetext").data(o.text&&"none"!==T?[0]:[]);k.enter().append("g").classed("slicetext",!0),k.exit().remove(),k.each((function(){var h=a.ensureSingle(n.select(this),"text","",(function(t){t.attr("data-notex",1)})),p=a.ensureUniformFontSize(t,m(d,o,r.font));h.text(o.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(i.font,p).call(l.convertToTspans,t);var g,y,x,b=i.bBox(h.node()),_=Math.min(o.BL[1],o.BR[1])+v,w=Math.max(o.TL[1],o.TR[1])+v;y=Math.max(o.TL[0],o.BL[0])+u,x=Math.min(o.TR[0],o.BR[0])+u,(g=c(y,x,_,w,b,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=p.size,f(d.type,g,r),e[s].transform=g,h.attr("transform",a.getTextTransform(g))}))}}));var v=n.select(this).selectAll("g.titletext").data(d.title.text?[0]:[]);v.enter().append("g").classed("titletext",!0),v.exit().remove(),v.each((function(){var e=a.ensureSingle(n.select(this),"text","",(function(t){t.attr("data-notex",1)})),c=d.title.text;d._meta&&(c=a.templateString(c,d._meta)),e.text(c).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(i.font,d.title.font).call(l.convertToTspans,t);var u=x(h,r._size);e.attr("transform",s(u.x,u.y)+o(Math.min(1,u.scale))+s(u.tx,u.ty))}))}))}))}},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/plot":659,"../bar/uniform_text":664,"../pie/helpers":905,"../pie/plot":909,"@plotly/d3":58}],791:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../pie/style_one"),a=t("../bar/uniform_text").resizeText;e.exports=function(t){var e=t._fullLayout._funnelarealayer.selectAll(".trace");a(t,e,"funnelarea"),e.each((function(t){var e=t[0].trace,r=n.select(this);r.style({opacity:e.opacity}),r.selectAll("path.surface").each((function(t){n.select(this).call(i,t,e)}))}))}},{"../bar/uniform_text":664,"../pie/style_one":911,"@plotly/d3":58}],792:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../../plots/attributes"),a=t("../../plots/font_attributes"),o=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,s=t("../../plots/template_attributes").hovertemplateAttrs,l=t("../../plots/template_attributes").texttemplateAttrs,c=t("../../components/colorscale/attributes"),u=t("../../lib/extend").extendFlat;e.exports=u({z:{valType:"data_array",editType:"calc"},x:u({},n.x,{impliedEdits:{xtype:"array"}}),x0:u({},n.x0,{impliedEdits:{xtype:"scaled"}}),dx:u({},n.dx,{impliedEdits:{xtype:"scaled"}}),y:u({},n.y,{impliedEdits:{ytype:"array"}}),y0:u({},n.y0,{impliedEdits:{ytype:"scaled"}}),dy:u({},n.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:u({},n.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:u({},n.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:u({},n.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:u({},n.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:u({},n.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:u({},n.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z",1),hovertemplate:s(),texttemplate:l({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:a({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:u({},i.showlegend,{dflt:!1})},{transforms:void 0},c("",{cLetter:"z",autoColorDflt:!1}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":926}],793:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../plots/cartesian/axes"),o=t("../../plots/cartesian/align_period"),s=t("../histogram2d/calc"),l=t("../../components/colorscale/calc"),c=t("./convert_column_xyz"),u=t("./clean_2d_array"),f=t("./interp2d"),h=t("./find_empties"),p=t("./make_bound_array"),d=t("../../constants/numerical").BADNUM;function g(t){for(var e=[],r=t.length,n=0;n<r;n++){var i=t[n];i!==d&&e.push(i)}return e}e.exports=function(t,e){var r,m,v,y,x,b,_,w,T,k,A,M=a.getFromId(t,e.xaxis||"x"),S=a.getFromId(t,e.yaxis||"y"),E=n.traceIs(e,"contour"),L=n.traceIs(e,"histogram"),C=n.traceIs(e,"gl2d"),P=E?"best":e.zsmooth;if(M._minDtick=0,S._minDtick=0,L)y=(A=s(t,e)).orig_x,r=A.x,m=A.x0,v=A.dx,w=A.orig_y,x=A.y,b=A.y0,_=A.dy,T=A.z;else{var I=e.z;i.isArray1D(I)?(c(e,M,S,"x","y",["z"]),r=e._x,x=e._y,I=e._z):(y=e.x?M.makeCalcdata(e,"x"):[],w=e.y?S.makeCalcdata(e,"y"):[],r=o(e,M,"x",y).vals,x=o(e,S,"y",w).vals,e._x=r,e._y=x),m=e.x0,v=e.dx,b=e.y0,_=e.dy,T=u(I,e,M,S)}function O(t){P=e._input.zsmooth=e.zsmooth=!1,i.warn('cannot use zsmooth: "fast": '+t)}if((M.rangebreaks||S.rangebreaks)&&(T=function(t,e,r){for(var n=[],i=-1,a=0;a<r.length;a++)if(e[a]!==d){i++,n[i]=[];for(var o=0;o<r[a].length;o++)t[o]!==d&&n[i].push(r[a][o])}return n}(r,x,T),L||(r=g(r),x=g(x),e._x=r,e._y=x)),L||!E&&!e.connectgaps||(e._emptypoints=h(T),f(T,e._emptypoints)),"fast"===P)if("log"===M.type||"log"===S.type)O("log axis found");else if(!L){if(r.length){var z=(r[r.length-1]-r[0])/(r.length-1),D=Math.abs(z/100);for(k=0;k<r.length-1;k++)if(Math.abs(r[k+1]-r[k]-z)>D){O("x scale is not linear");break}}if(x.length&&"fast"===P){var R=(x[x.length-1]-x[0])/(x.length-1),F=Math.abs(R/100);for(k=0;k<x.length-1;k++)if(Math.abs(x[k+1]-x[k]-R)>F){O("y scale is not linear");break}}}var B=i.maxRowLength(T),N="scaled"===e.xtype?"":r,j=p(e,N,m,v,B,M),U="scaled"===e.ytype?"":x,V=p(e,U,b,_,T.length,S);C||(e._extremes[M._id]=a.findExtremes(M,j),e._extremes[S._id]=a.findExtremes(S,V));var H={x:j,y:V,z:T,text:e._text||e.text,hovertext:e._hovertext||e.hovertext};if(e.xperiodalignment&&y&&(H.orig_x=y),e.yperiodalignment&&w&&(H.orig_y=w),N&&N.length===j.length-1&&(H.xCenter=N),U&&U.length===V.length-1&&(H.yCenter=U),L&&(H.xRanges=A.xRanges,H.yRanges=A.yRanges,H.pts=A.pts),E||l(t,e,{vals:T,cLetter:"z"}),E&&e.contours&&"heatmap"===e.contours.coloring){var q={type:"contour"===e.type?"heatmap":"histogram2d",xcalendar:e.xcalendar,ycalendar:e.ycalendar};H.xfill=p(q,N,m,v,B,M),H.yfill=p(q,U,b,_,T.length,S)}return[H]}},{"../../components/colorscale/calc":374,"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../../registry":638,"../histogram2d/calc":826,"./clean_2d_array":794,"./convert_column_xyz":796,"./find_empties":798,"./interp2d":801,"./make_bound_array":803}],794:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../constants/numerical").BADNUM;e.exports=function(t,e,r,o){var s,l,c,u,f,h;function p(t){if(n(t))return+t}if(e&&e.transpose){for(s=0,f=0;f<t.length;f++)s=Math.max(s,t[f].length);if(0===s)return!1;c=function(t){return t.length},u=function(t,e,r){return(t[r]||[])[e]}}else s=t.length,c=function(t,e){return t[e].length},u=function(t,e,r){return(t[e]||[])[r]};var d=function(t,e,r){return e===a||r===a?a:u(t,e,r)};function g(t){if(e&&"carpet"!==e.type&&"contourcarpet"!==e.type&&t&&"category"===t.type&&e["_"+t._id.charAt(0)].length){var r=t._id.charAt(0),n={},o=e["_"+r+"CategoryMap"]||e[r];for(f=0;f<o.length;f++)n[o[f]]=f;return function(e){var r=n[t._categories[e]];return r+1?r:a}}return i.identity}var m=g(r),v=g(o);o&&"category"===o.type&&(s=o._categories.length);var y=new Array(s);for(f=0;f<s;f++)for(l=r&&"category"===r.type?r._categories.length:c(t,f),y[f]=new Array(l),h=0;h<l;h++)y[f][h]=p(d(t,v(f),m(h)));return y}},{"../../constants/numerical":479,"../../lib":503,"fast-isnumeric":190}],795:[function(t,e,r){"use strict";e.exports={min:"zmin",max:"zmax"}},{}],796:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../constants/numerical").BADNUM,a=t("../../plots/cartesian/align_period");e.exports=function(t,e,r,o,s,l){var c=t._length,u=e.makeCalcdata(t,o),f=r.makeCalcdata(t,s);u=a(t,e,o,u).vals,f=a(t,r,s,f).vals;var h,p,d,g,m=t.text,v=void 0!==m&&n.isArray1D(m),y=t.hovertext,x=void 0!==y&&n.isArray1D(y),b=n.distinctVals(u),_=b.vals,w=n.distinctVals(f),T=w.vals,k=[],A=T.length,M=_.length;for(h=0;h<l.length;h++)k[h]=n.init2dArray(A,M);v&&(d=n.init2dArray(A,M)),x&&(g=n.init2dArray(A,M));var S=n.init2dArray(A,M);for(h=0;h<c;h++)if(u[h]!==i&&f[h]!==i){var E=n.findBin(u[h]+b.minDiff/2,_),L=n.findBin(f[h]+w.minDiff/2,T);for(p=0;p<l.length;p++){var C=t[l[p]];k[p][L][E]=C[h],S[L][E]=h}v&&(d[L][E]=m[h]),x&&(g[L][E]=y[h])}for(t["_"+o]=_,t["_"+s]=T,p=0;p<l.length;p++)t["_"+l[p]]=k[p];v&&(t._text=d),x&&(t._hovertext=g),e&&"category"===e.type&&(t["_"+o+"CategoryMap"]=_.map((function(t){return e._categories[t]}))),r&&"category"===r.type&&(t["_"+s+"CategoryMap"]=T.map((function(t){return r._categories[t]}))),t._after2before=S}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551}],797:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./xyz_defaults"),a=t("./label_defaults"),o=t("../scatter/period_defaults"),s=t("./style_defaults"),l=t("../../components/colorscale/defaults"),c=t("./attributes");e.exports=function(t,e,r,u){function f(r,i){return n.coerce(t,e,c,r,i)}i(t,e,f,u)?(o(t,e,u,f),f("xhoverformat"),f("yhoverformat"),f("text"),f("hovertext"),f("hovertemplate"),a(f,u),s(t,e,f,u),f("hoverongaps"),f("connectgaps",n.isArray1D(e.z)&&!1!==e.zsmooth),l(t,e,u,f,{prefix:"",cLetter:"z"})):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"../scatter/period_defaults":946,"./attributes":792,"./label_defaults":802,"./style_defaults":806,"./xyz_defaults":807}],798:[function(t,e,r){"use strict";var n=t("../../lib").maxRowLength;e.exports=function(t){var e,r,i,a,o,s,l,c,u=[],f={},h=[],p=t[0],d=[],g=[0,0,0],m=n(t);for(r=0;r<t.length;r++)for(e=d,d=p,p=t[r+1]||[],i=0;i<m;i++)void 0===d[i]&&((s=(void 0!==d[i-1]?1:0)+(void 0!==d[i+1]?1:0)+(void 0!==e[i]?1:0)+(void 0!==p[i]?1:0))?(0===r&&s++,0===i&&s++,r===t.length-1&&s++,i===d.length-1&&s++,s<4&&(f[[r,i]]=[r,i,s]),u.push([r,i,s])):h.push([r,i]));for(;h.length;){for(l={},c=!1,o=h.length-1;o>=0;o--)(s=((f[[(r=(a=h[o])[0])-1,i=a[1]]]||g)[2]+(f[[r+1,i]]||g)[2]+(f[[r,i-1]]||g)[2]+(f[[r,i+1]]||g)[2])/20)&&(l[a]=[r,i,s],h.splice(o,1),c=!0);if(!c)throw"findEmpties iterated with no new neighbors";for(a in l)f[a]=l[a],u.push(l[a])}return u.sort((function(t,e){return e[2]-t[2]}))}},{"../../lib":503}],799:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../lib"),a=t("../../plots/cartesian/axes"),o=t("../../components/colorscale").extractOpts;e.exports=function(t,e,r,s,l){l||(l={});var c,u,f,h,p=l.isContour,d=t.cd[0],g=d.trace,m=t.xa,v=t.ya,y=d.x,x=d.y,b=d.z,_=d.xCenter,w=d.yCenter,T=d.zmask,k=g.zhoverformat,A=y,M=x;if(!1!==t.index){try{f=Math.round(t.index[1]),h=Math.round(t.index[0])}catch(e){return void i.error("Error hovering on heatmap, pointNumber must be [row,col], found:",t.index)}if(f<0||f>=b[0].length||h<0||h>b.length)return}else{if(n.inbox(e-y[0],e-y[y.length-1],0)>0||n.inbox(r-x[0],r-x[x.length-1],0)>0)return;if(p){var S;for(A=[2*y[0]-y[1]],S=1;S<y.length;S++)A.push((y[S]+y[S-1])/2);for(A.push([2*y[y.length-1]-y[y.length-2]]),M=[2*x[0]-x[1]],S=1;S<x.length;S++)M.push((x[S]+x[S-1])/2);M.push([2*x[x.length-1]-x[x.length-2]])}f=Math.max(0,Math.min(A.length-2,i.findBin(e,A))),h=Math.max(0,Math.min(M.length-2,i.findBin(r,M)))}var E,L,C=m.c2p(y[f]),P=m.c2p(y[f+1]),I=v.c2p(x[h]),O=v.c2p(x[h+1]);p?(E=d.orig_x||y,L=d.orig_y||x,P=C,c=E[f],O=I,u=L[h]):(E=d.orig_x||_||y,L=d.orig_y||w||x,c=_?E[f]:(E[f]+E[f+1])/2,u=w?L[h]:(L[h]+L[h+1])/2,m&&"category"===m.type&&(c=y[f]),v&&"category"===v.type&&(u=x[h]),g.zsmooth&&(C=P=m.c2p(c),I=O=v.c2p(u)));var z=b[h][f];if(T&&!T[h][f]&&(z=void 0),void 0!==z||g.hoverongaps){var D;Array.isArray(d.hovertext)&&Array.isArray(d.hovertext[h])?D=d.hovertext[h][f]:Array.isArray(d.text)&&Array.isArray(d.text[h])&&(D=d.text[h][f]);var R=o(g),F={type:"linear",range:[R.min,R.max],hoverformat:k,_separators:m._separators,_numFormat:m._numFormat},B=a.tickText(F,z,"hover").text;return[i.extendFlat(t,{index:g._after2before?g._after2before[h][f]:[h,f],distance:t.maxHoverDistance,spikeDistance:t.maxSpikeDistance,x0:C,x1:P,y0:I,y1:O,xLabelVal:c,yLabelVal:u,zLabelVal:z,zLabel:B,text:D})]}}},{"../../components/colorscale":378,"../../components/fx":406,"../../lib":503,"../../plots/cartesian/axes":554}],800:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),colorbar:t("./colorbar"),style:t("./style"),hoverPoints:t("./hover"),moduleType:"trace",name:"heatmap",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","2dMap","showLegend"],meta:{}}},{"../../plots/cartesian":568,"./attributes":792,"./calc":793,"./colorbar":795,"./defaults":797,"./hover":799,"./plot":804,"./style":805}],801:[function(t,e,r){"use strict";var n=t("../../lib"),i=[[-1,0],[1,0],[0,-1],[0,1]];function a(t){return.5-.25*Math.min(1,.5*t)}function o(t,e,r){var n,a,o,s,l,c,u,f,h,p,d,g,m,v=0;for(s=0;s<e.length;s++){for(a=(n=e[s])[0],o=n[1],d=t[a][o],p=0,h=0,l=0;l<4;l++)(u=t[a+(c=i[l])[0]])&&void 0!==(f=u[o+c[1]])&&(0===p?g=m=f:(g=Math.min(g,f),m=Math.max(m,f)),h++,p+=f);if(0===h)throw"iterateInterp2d order is wrong: no defined neighbors";t[a][o]=p/h,void 0===d?h<4&&(v=1):(t[a][o]=(1+r)*t[a][o]-r*d,m>g&&(v=Math.max(v,Math.abs(t[a][o]-d)/(m-g))))}return v}e.exports=function(t,e){var r,i=1;for(o(t,e),r=0;r<e.length&&!(e[r][2]<4);r++);for(e=e.slice(r),r=0;r<100&&i>.01;r++)i=o(t,e,a(i));return i>.01&&n.log("interp2d didn't converge quickly",i),t}},{"../../lib":503}],802:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){t("texttemplate");var r=n.extendFlat({},e.font,{color:"auto",size:"auto"});n.coerceFont(t,"textfont",r)}},{"../../lib":503}],803:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r,a,o,s){var l,c,u,f=[],h=n.traceIs(t,"contour"),p=n.traceIs(t,"histogram"),d=n.traceIs(t,"gl2d");if(i(e)&&e.length>1&&!p&&"category"!==s.type){var g=e.length;if(!(g<=o))return h?e.slice(0,o):e.slice(0,o+1);if(h||d)f=e.slice(0,o);else if(1===o)f=[e[0]-.5,e[0]+.5];else{for(f=[1.5*e[0]-.5*e[1]],u=1;u<g;u++)f.push(.5*(e[u-1]+e[u]));f.push(1.5*e[g-1]-.5*e[g-2])}if(g<o){var m=f[f.length-1],v=m-f[f.length-2];for(u=g;u<o;u++)m+=v,f.push(m)}}else{var y=t[s._id.charAt(0)+"calendar"];if(p)l=s.r2c(r,0,y);else if(i(e)&&1===e.length)l=e[0];else if(void 0===r)l=0;else{l=("log"===s.type?s.d2c:s.r2c)(r,0,y)}for(c=a||1,u=h||d?0:-.5;u<o;u++)f.push(l+c*u)}return f}},{"../../lib":503,"../../registry":638}],804:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("tinycolor2"),a=t("../../registry"),o=t("../../components/drawing"),s=t("../../plots/cartesian/axes"),l=t("../../lib"),c=t("../../lib/svg_text_utils"),u=t("../scatter/format_labels"),f=t("../../components/color"),h=t("../../components/colorscale").extractOpts,p=t("../../components/colorscale").makeColorScaleFuncFromTrace,d=t("../../constants/xmlns_namespaces"),g=t("../../constants/alignment").LINE_SPACING;function m(t){return t.selectAll("g.heatmap-label")}function v(t){m(t).remove()}function y(t,e){var r=e.length-2,n=l.constrain(l.findBin(t,e),0,r),i=e[n],a=e[n+1],o=l.constrain(n+(t-i)/(a-i)-.5,0,r),s=Math.round(o),c=Math.abs(o-s);return o&&o!==r&&c?{bin0:s,frac:c,bin1:Math.round(s+c/(o-s))}:{bin0:s,bin1:s,frac:0}}function x(t,e){var r=e.length-1,n=l.constrain(l.findBin(t,e),0,r),i=e[n],a=(t-i)/(e[n+1]-i)||0;return a<=0?{bin0:n,bin1:n,frac:0}:a<.5?{bin0:n,bin1:n+1,frac:a}:{bin0:n+1,bin1:n,frac:1-a}}function b(t,e,r){t[e]=r[0],t[e+1]=r[1],t[e+2]=r[2],t[e+3]=Math.round(255*r[3])}e.exports=function(t,e,r,_){var w=e.xaxis,T=e.yaxis;l.makeTraceGroups(_,r,"hm").each((function(e){var r,_,k,A,M,S,E,L,C=n.select(this),P=e[0],I=P.trace,O=I.xgap||0,z=I.ygap||0,D=P.z,R=P.x,F=P.y,B=P.xCenter,N=P.yCenter,j=a.traceIs(I,"contour"),U=j?"best":I.zsmooth,V=D.length,H=l.maxRowLength(D),q=!1,G=!1;for(S=0;void 0===r&&S<R.length-1;)r=w.c2p(R[S]),S++;for(S=R.length-1;void 0===_&&S>0;)_=w.c2p(R[S]),S--;for(_<r&&(k=_,_=r,r=k,q=!0),S=0;void 0===A&&S<F.length-1;)A=T.c2p(F[S]),S++;for(S=F.length-1;void 0===M&&S>0;)M=T.c2p(F[S]),S--;if(M<A&&(k=A,A=M,M=k,G=!0),j&&(B=R,N=F,R=P.xfill,F=P.yfill),"fast"!==U){var Y="best"===U?0:.5;r=Math.max(-Y*w._length,r),_=Math.min((1+Y)*w._length,_),A=Math.max(-Y*T._length,A),M=Math.min((1+Y)*T._length,M)}var W,X,Z=Math.round(_-r),J=Math.round(M-A);if(Z<=0||J<=0)return C.selectAll("image").data([]).exit().remove(),void v(C);"fast"===U?(W=H,X=V):(W=Z,X=J);var K=document.createElement("canvas");K.width=W,K.height=X;var Q,$,tt=K.getContext("2d"),et=p(I,{noNumericCheck:!0,returnArray:!0});"fast"===U?(Q=q?function(t){return H-1-t}:l.identity,$=G?function(t){return V-1-t}:l.identity):(Q=function(t){return l.constrain(Math.round(w.c2p(R[t])-r),0,Z)},$=function(t){return l.constrain(Math.round(T.c2p(F[t])-A),0,J)});var rt,nt,it,at,ot=$(0),st=[ot,ot],lt=q?0:1,ct=G?0:1,ut=0,ft=0,ht=0,pt=0;function dt(t,e){if(void 0!==t){var r=et(t);return r[0]=Math.round(r[0]),r[1]=Math.round(r[1]),r[2]=Math.round(r[2]),ut+=e,ft+=r[0]*e,ht+=r[1]*e,pt+=r[2]*e,r}return[0,0,0,0]}function gt(t,e,r,n){var i=t[r.bin0];if(void 0===i)return dt(void 0,1);var a,o=t[r.bin1],s=e[r.bin0],l=e[r.bin1],c=o-i||0,u=s-i||0;return a=void 0===o?void 0===l?0:void 0===s?2*(l-i):2*(2*l-s-i)/3:void 0===l?void 0===s?0:2*(2*i-o-s)/3:void 0===s?2*(2*l-o-i)/3:l+i-o-s,dt(i+r.frac*c+n.frac*(u+r.frac*a))}if(U){var mt,vt=0;try{mt=new Uint8Array(Z*J*4)}catch(t){mt=new Array(Z*J*4)}if("best"===U){var yt,xt,bt,_t=B||R,wt=N||F,Tt=new Array(_t.length),kt=new Array(wt.length),At=new Array(Z),Mt=B?x:y,St=N?x:y;for(S=0;S<_t.length;S++)Tt[S]=Math.round(w.c2p(_t[S])-r);for(S=0;S<wt.length;S++)kt[S]=Math.round(T.c2p(wt[S])-A);for(S=0;S<Z;S++)At[S]=Mt(S,Tt);for(E=0;E<J;E++)for(xt=D[(yt=St(E,kt)).bin0],bt=D[yt.bin1],S=0;S<Z;S++,vt+=4)b(mt,vt,at=gt(xt,bt,At[S],yt))}else for(E=0;E<V;E++)for(it=D[E],st=$(E),S=0;S<Z;S++)at=dt(it[S],1),b(mt,vt=4*(st*Z+Q(S)),at);var Et=tt.createImageData(Z,J);try{Et.data.set(mt)}catch(t){var Lt=Et.data,Ct=Lt.length;for(E=0;E<Ct;E++)Lt[E]=mt[E]}tt.putImageData(Et,0,0)}else{var Pt=Math.floor(O/2),It=Math.floor(z/2);for(E=0;E<V;E++)if(it=D[E],st.reverse(),st[ct]=$(E+1),st[0]!==st[1]&&void 0!==st[0]&&void 0!==st[1])for(rt=[nt=Q(0),nt],S=0;S<H;S++)rt.reverse(),rt[lt]=Q(S+1),rt[0]!==rt[1]&&void 0!==rt[0]&&void 0!==rt[1]&&(at=dt(it[S],(rt[1]-rt[0])*(st[1]-st[0])),tt.fillStyle="rgba("+at.join(",")+")",tt.fillRect(rt[0]+Pt,st[0]+It,rt[1]-rt[0]-O,st[1]-st[0]-z))}ft=Math.round(ft/ut),ht=Math.round(ht/ut),pt=Math.round(pt/ut);var Ot=i("rgb("+ft+","+ht+","+pt+")");t._hmpixcount=(t._hmpixcount||0)+ut,t._hmlumcount=(t._hmlumcount||0)+ut*Ot.getLuminance();var zt=C.selectAll("image").data(e);zt.enter().append("svg:image").attr({xmlns:d.svg,preserveAspectRatio:"none"}),zt.attr({height:J,width:Z,x:r,y:A,"xlink:href":K.toDataURL("image/png")}),v(C);var Dt=I.texttemplate;if(Dt){var Rt=h(I),Ft={type:"linear",range:[Rt.min,Rt.max],_separators:w._separators,_numFormat:w._numFormat},Bt="histogram2dcontour"===I.type,Nt="contour"===I.type,jt=Nt?V-1:V,Ut=Nt?1:0,Vt=Nt?H-1:H,Ht=[];for(S=Nt?1:0;S<jt;S++){var qt;if(Nt)qt=P.y[S];else if(Bt){if(0===S||S===V-1)continue;qt=P.y[S]}else if(P.yCenter)qt=P.yCenter[S];else{if(S+1===V&&void 0===P.y[S+1])continue;qt=(P.y[S]+P.y[S+1])/2}var Gt=Math.round(T.c2p(qt));if(!(0>Gt||Gt>T._length))for(E=Ut;E<Vt;E++){var Yt;if(Nt)Yt=P.x[E];else if(Bt){if(0===E||E===H-1)continue;Yt=P.x[E]}else if(P.xCenter)Yt=P.xCenter[E];else{if(E+1===H&&void 0===P.x[E+1])continue;Yt=(P.x[E]+P.x[E+1])/2}var Wt=Math.round(w.c2p(Yt));if(!(0>Wt||Wt>w._length)){var Xt=u({x:Yt,y:qt},I,t._fullLayout);Xt.x=Yt,Xt.y=qt;var Zt=P.z[S][E];void 0===Zt?(Xt.z="",Xt.zLabel=""):(Xt.z=Zt,Xt.zLabel=s.tickText(Ft,Zt,"hover").text);var Jt=P.text&&P.text[S]&&P.text[S][E];void 0!==Jt&&!1!==Jt||(Jt=""),Xt.text=Jt;var Kt=l.texttemplateString(Dt,Xt,t._fullLayout._d3locale,Xt,I._meta||{});if(Kt){var Qt=Kt.split("<br>"),$t=Qt.length,te=0;for(L=0;L<$t;L++)te=Math.max(te,Qt[L].length);Ht.push({l:$t,c:te,t:Kt,x:Wt,y:Gt,z:Zt})}}}}var ee=I.textfont,re=ee.family,ne=ee.size,ie=t._fullLayout.font.size;if(!ne||"auto"===ne){var ae=1/0,oe=1/0,se=0,le=0;for(L=0;L<Ht.length;L++){var ce=Ht[L];if(se=Math.max(se,ce.l),le=Math.max(le,ce.c),L<Ht.length-1){var ue=Ht[L+1],fe=Math.abs(ue.x-ce.x),he=Math.abs(ue.y-ce.y);fe&&(ae=Math.min(ae,fe)),he&&(oe=Math.min(oe,he))}}isFinite(ae)&&isFinite(oe)?(ae-=O,oe-=z,ae/=le,oe/=se,ae/=g/2,oe/=g,ne=Math.min(Math.floor(ae),Math.floor(oe),ie)):ne=ie}if(ne<=0||!isFinite(ne))return;m(C).data(Ht).enter().append("g").classed("heatmap-label",1).append("text").attr("text-anchor","middle").each((function(e){var r=n.select(this),i=ee.color;i&&"auto"!==i||(i=f.contrast("rgba("+et(e.z).join()+")")),r.attr("data-notex",1).call(c.positionText,function(t){return t.x}(e),function(t){return t.y-ne*(t.l*g/2-1)}(e)).call(o.font,re,ne,i).text(e.t).call(c.convertToTspans,t)}))}}))}},{"../../components/color":366,"../../components/colorscale":378,"../../components/drawing":388,"../../constants/alignment":471,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../registry":638,"../scatter/format_labels":935,"@plotly/d3":58,tinycolor2:312}],805:[function(t,e,r){"use strict";var n=t("@plotly/d3");e.exports=function(t){n.select(t).selectAll(".hm image").style("opacity",(function(t){return t.trace.opacity}))}},{"@plotly/d3":58}],806:[function(t,e,r){"use strict";e.exports=function(t,e,r){!1===r("zsmooth")&&(r("xgap"),r("ygap")),r("zhoverformat")}},{}],807:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../registry");function o(t,e){var r=e(t);return"scaled"===(r?e(t+"type","array"):"scaled")&&(e(t+"0"),e("d"+t)),r}e.exports=function(t,e,r,s,l,c){var u,f,h=r("z");if(l=l||"x",c=c||"y",void 0===h||!h.length)return 0;if(i.isArray1D(t.z)){u=r(l),f=r(c);var p=i.minRowLength(u),d=i.minRowLength(f);if(0===p||0===d)return 0;e._length=Math.min(p,d,h.length)}else{if(u=o(l,r),f=o(c,r),!function(t){for(var e,r=!0,a=!1,o=!1,s=0;s<t.length;s++){if(e=t[s],!i.isArrayOrTypedArray(e)){r=!1;break}e.length>0&&(a=!0);for(var l=0;l<e.length;l++)if(n(e[l])){o=!0;break}}return r&&a&&o}(h))return 0;r("transpose"),e._length=null}return"heatmapgl"===t.type||a.getComponentMethod("calendars","handleTraceDefaults")(t,e,[l,c],s),!0}},{"../../lib":503,"../../registry":638,"fast-isnumeric":190}],808:[function(t,e,r){"use strict";for(var n=t("../heatmap/attributes"),i=t("../../components/colorscale/attributes"),a=t("../../lib/extend").extendFlat,o=t("../../plot_api/edit_types").overrideAll,s=["z","x","x0","dx","y","y0","dy","text","transpose","xtype","ytype"],l={},c=0;c<s.length;c++){var u=s[c];l[u]=n[u]}l.zsmooth={valType:"enumerated",values:["fast",!1],dflt:"fast",editType:"calc"},a(l,i("",{cLetter:"z",autoColorDflt:!1})),e.exports=o(l,"calc","nested")},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../heatmap/attributes":792}],809:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_heatmap2d,i=t("../../plots/cartesian/axes"),a=t("../../lib/str2rgbarray");function o(t,e){this.scene=t,this.uid=e,this.type="heatmapgl",this.name="",this.hoverinfo="all",this.xData=[],this.yData=[],this.zData=[],this.textLabels=[],this.idToIndex=[],this.bounds=[0,0,0,0],this.options={zsmooth:"fast",z:[],x:[],y:[],shape:[0,0],colorLevels:[0],colorValues:[0,0,0,1]},this.heatmap=n(t.glplot,this.options),this.heatmap._trace=this}var s=o.prototype;s.handlePick=function(t){var e=this.options,r=e.shape,n=t.pointId,i=n%r[0],a=Math.floor(n/r[0]),o=n;return{trace:this,dataCoord:t.dataCoord,traceCoord:[e.x[i],e.y[a],e.z[o]],textLabel:this.textLabels[n],name:this.name,pointIndex:[a,i],hoverinfo:this.hoverinfo}},s.update=function(t,e){var r=e[0];this.index=t.index,this.name=t.name,this.hoverinfo=t.hoverinfo;var n=r.z;this.options.z=[].concat.apply([],n);var o=n[0].length,s=n.length;this.options.shape=[o,s],this.options.x=r.x,this.options.y=r.y,this.options.zsmooth=t.zsmooth;var l=function(t){for(var e=t.colorscale,r=t.zmin,n=t.zmax,i=e.length,o=new Array(i),s=new Array(4*i),l=0;l<i;l++){var c=e[l],u=a(c[1]);o[l]=r+c[0]*(n-r);for(var f=0;f<4;f++)s[4*l+f]=u[f]}return{colorLevels:o,colorValues:s}}(t);this.options.colorLevels=l.colorLevels,this.options.colorValues=l.colorValues,this.textLabels=[].concat.apply([],t.text),this.heatmap.update(this.options);var c,u,f=this.scene.xaxis,h=this.scene.yaxis;!1===t.zsmooth&&(c={ppad:r.x[1]-r.x[0]},u={ppad:r.y[1]-r.y[0]}),t._extremes[f._id]=i.findExtremes(f,r.x,c),t._extremes[h._id]=i.findExtremes(h,r.y,u)},s.dispose=function(){this.heatmap.dispose()},e.exports=function(t,e,r){var n=new o(t,e.uid);return n.update(e,r),n}},{"../../../stackgl_modules":1120,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554}],810:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../heatmap/xyz_defaults"),a=t("../../components/colorscale/defaults"),o=t("./attributes");e.exports=function(t,e,r,s){function l(r,i){return n.coerce(t,e,o,r,i)}i(t,e,l,s)?(l("text"),l("zsmooth"),a(t,e,s,l,{prefix:"",cLetter:"z"})):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"../heatmap/xyz_defaults":807,"./attributes":808}],811:[function(t,e,r){"use strict";["*heatmapgl* trace is deprecated!","Please consider switching to the *heatmap* or *image* trace types.","Alternatively you could contribute/sponsor rewriting this trace type","based on cartesian features and using regl framework."].join(" ");e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../heatmap/colorbar"),calc:t("../heatmap/calc"),plot:t("./convert"),moduleType:"trace",name:"heatmapgl",basePlotModule:t("../../plots/gl2d"),categories:["gl","gl2d","2dMap"],meta:{}}},{"../../plots/gl2d":596,"../heatmap/calc":793,"../heatmap/colorbar":795,"./attributes":808,"./convert":809,"./defaults":810}],812:[function(t,e,r){"use strict";var n=t("../bar/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../../plots/template_attributes").texttemplateAttrs,s=t("../../plots/font_attributes"),l=t("./bin_attributes"),c=t("./constants"),u=t("../../lib/extend").extendFlat;e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},xhoverformat:i("x"),yhoverformat:i("y"),text:u({},n.text,{}),hovertext:u({},n.hovertext,{}),orientation:n.orientation,histfunc:{valType:"enumerated",values:["count","sum","avg","min","max"],dflt:"count",editType:"calc"},histnorm:{valType:"enumerated",values:["","percent","probability","density","probability density"],dflt:"",editType:"calc"},cumulative:{enabled:{valType:"boolean",dflt:!1,editType:"calc"},direction:{valType:"enumerated",values:["increasing","decreasing"],dflt:"increasing",editType:"calc"},currentbin:{valType:"enumerated",values:["include","exclude","half"],dflt:"include",editType:"calc"},editType:"calc"},nbinsx:{valType:"integer",min:0,dflt:0,editType:"calc"},xbins:l("x",!0),nbinsy:{valType:"integer",min:0,dflt:0,editType:"calc"},ybins:l("y",!0),autobinx:{valType:"boolean",dflt:null,editType:"calc"},autobiny:{valType:"boolean",dflt:null,editType:"calc"},bingroup:{valType:"string",dflt:"",editType:"calc"},hovertemplate:a({},{keys:c.eventDataKeys}),texttemplate:o({arrayOk:!1,editType:"plot"},{keys:["label","value"]}),textposition:u({},n.textposition,{arrayOk:!1}),textfont:s({arrayOk:!1,editType:"plot",colorEditType:"style"}),outsidetextfont:s({arrayOk:!1,editType:"plot",colorEditType:"style"}),insidetextfont:s({arrayOk:!1,editType:"plot",colorEditType:"style"}),insidetextanchor:n.insidetextanchor,textangle:n.textangle,cliponaxis:n.cliponaxis,constraintext:n.constraintext,marker:n.marker,offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup,selected:n.selected,unselected:n.unselected,_deprecated:{bardir:n._deprecated.bardir}}},{"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../bar/attributes":648,"./bin_attributes":814,"./constants":818}],813:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=t.length,n=0,i=0;i<r;i++)e[i]?(t[i]/=e[i],n+=t[i]):t[i]=null;return n}},{}],814:[function(t,e,r){"use strict";e.exports=function(t,e){return{start:{valType:"any",editType:"calc"},end:{valType:"any",editType:"calc"},size:{valType:"any",editType:"calc"},editType:"calc"}}},{}],815:[function(t,e,r){"use strict";var n=t("fast-isnumeric");e.exports={count:function(t,e,r){return r[t]++,1},sum:function(t,e,r,i){var a=i[e];return n(a)?(a=Number(a),r[t]+=a,a):0},avg:function(t,e,r,i,a){var o=i[e];return n(o)&&(o=Number(o),r[t]+=o,a[t]++),0},min:function(t,e,r,i){var a=i[e];if(n(a)){if(a=Number(a),!n(r[t]))return r[t]=a,a;if(r[t]>a){var o=a-r[t];return r[t]=a,o}}return 0},max:function(t,e,r,i){var a=i[e];if(n(a)){if(a=Number(a),!n(r[t]))return r[t]=a,a;if(r[t]<a){var o=a-r[t];return r[t]=a,o}}return 0}}},{"fast-isnumeric":190}],816:[function(t,e,r){"use strict";var n=t("../../constants/numerical"),i=n.ONEAVGYEAR,a=n.ONEAVGMONTH,o=n.ONEDAY,s=n.ONEHOUR,l=n.ONEMIN,c=n.ONESEC,u=t("../../plots/cartesian/axes").tickIncrement;function f(t,e,r,n){if(t*e<=0)return 1/0;for(var i=Math.abs(e-t),a="date"===r.type,o=h(i,a),s=0;s<10;s++){var l=h(80*o,a);if(o===l)break;if(!p(l,t,e,a,r,n))break;o=l}return o}function h(t,e){return e&&t>c?t>o?t>1.1*i?i:t>1.1*a?a:o:t>s?s:t>l?l:c:Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function p(t,e,r,n,a,s){if(n&&t>o){var l=d(e,a,s),c=d(r,a,s),u=t===i?0:1;return l[u]!==c[u]}return Math.floor(r/t)-Math.floor(e/t)>.1}function d(t,e,r){var n=e.c2d(t,i,r).split("-");return""===n[0]&&(n.unshift(),n[0]="-"+n[0]),n}e.exports=function(t,e,r,n,a){var s,l,c=-1.1*e,h=-.1*e,p=t-h,d=r[0],g=r[1],m=Math.min(f(d+h,d+p,n,a),f(g+h,g+p,n,a)),v=Math.min(f(d+c,d+h,n,a),f(g+c,g+h,n,a));if(m>v&&v<Math.abs(g-d)/4e3?(s=m,l=!1):(s=Math.min(m,v),l=!0),"date"===n.type&&s>o){var y=s===i?1:6,x=s===i?"M12":"M1";return function(e,r){var o=n.c2d(e,i,a),s=o.indexOf("-",y);s>0&&(o=o.substr(0,s));var c=n.d2c(o,0,a);if(c<e){var f=u(c,x,!1,a);(c+f)/2<e+t&&(c=f)}return r&&l?u(c,x,!0,a):c}}return function(e,r){var n=s*Math.round(e/s);return n+s/10<e&&n+.9*s<e+t&&(n+=s),r&&l&&(n-=s),n}}},{"../../constants/numerical":479,"../../plots/cartesian/axes":554}],817:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../registry"),o=t("../../plots/cartesian/axes"),s=t("../bar/arrays_to_calcdata"),l=t("./bin_functions"),c=t("./norm_functions"),u=t("./average"),f=t("./bin_label_vals");function h(t,e,r,s,l){var c,u,f,p,d,g,m,v=s+"bins",y=t._fullLayout,x=e["_"+s+"bingroup"],b=y._histogramBinOpts[x],_="overlay"===y.barmode,w=function(t){return r.r2c(t,0,p)},T=function(t){return r.c2r(t,0,p)},k="date"===r.type?function(t){return t||0===t?i.cleanDate(t,null,p):null}:function(t){return n(t)?Number(t):null};function A(t,e,r){e[t+"Found"]?(e[t]=k(e[t]),null===e[t]&&(e[t]=r[t])):(g[t]=e[t]=r[t],i.nestedProperty(u[0],v+"."+t).set(r[t]))}if(e["_"+s+"autoBinFinished"])delete e["_"+s+"autoBinFinished"];else{u=b.traces;var M=[],S=!0,E=!1,L=!1;for(c=0;c<u.length;c++)if((f=u[c]).visible){var C=b.dirs[c];d=f["_"+C+"pos0"]=r.makeCalcdata(f,C),M=i.concat(M,d),delete f["_"+s+"autoBinFinished"],!0===e.visible&&(S?S=!1:(delete f._autoBin,f["_"+s+"autoBinFinished"]=1),a.traceIs(f,"2dMap")&&(E=!0),"histogram2dcontour"===f.type&&(L=!0))}p=u[0][s+"calendar"];var P=o.autoBin(M,r,b.nbins,E,p,b.sizeFound&&b.size),I=u[0]._autoBin={};if(g=I[b.dirs[0]]={},L&&(b.size||(P.start=T(o.tickIncrement(w(P.start),P.size,!0,p))),void 0===b.end&&(P.end=T(o.tickIncrement(w(P.end),P.size,!1,p)))),_&&!a.traceIs(e,"2dMap")&&0===P._dataSpan&&"category"!==r.type&&"multicategory"!==r.type){if(l)return[P,d,!0];P=function(t,e,r,n,a){var o,s,l,c=t._fullLayout,u=function(t,e){for(var r=e.xaxis,n=e.yaxis,i=e.orientation,a=[],o=t._fullData,s=0;s<o.length;s++){var l=o[s];"histogram"===l.type&&!0===l.visible&&l.orientation===i&&l.xaxis===r&&l.yaxis===n&&a.push(l)}return a}(t,e),f=!1,p=1/0,d=[e];for(o=0;o<u.length;o++)if((s=u[o])===e)f=!0;else if(f){var g=h(t,s,r,n,!0),m=g[0],v=g[2];s["_"+n+"autoBinFinished"]=1,s["_"+n+"pos0"]=g[1],v?d.push(s):p=Math.min(p,m.size)}else l=c._histogramBinOpts[s["_"+n+"bingroup"]],p=Math.min(p,l.size||s[a].size);var y=new Array(d.length);for(o=0;o<d.length;o++)for(var x=d[o]["_"+n+"pos0"],b=0;b<x.length;b++)if(void 0!==x[b]){y[o]=x[b];break}isFinite(p)||(p=i.distinctVals(y).minDiff);for(o=0;o<d.length;o++){var _=(s=d[o])[n+"calendar"],w={start:r.c2r(y[o]-p/2,0,_),end:r.c2r(y[o]+p/2,0,_),size:p};s._input[a]=s[a]=w,(l=c._histogramBinOpts[s["_"+n+"bingroup"]])&&i.extendFlat(l,w)}return e[a]}(t,e,r,s,v)}(m=f.cumulative||{}).enabled&&"include"!==m.currentbin&&("decreasing"===m.direction?P.start=T(o.tickIncrement(w(P.start),P.size,!0,p)):P.end=T(o.tickIncrement(w(P.end),P.size,!1,p))),b.size=P.size,b.sizeFound||(g.size=P.size,i.nestedProperty(u[0],v+".size").set(P.size)),A("start",b,P),A("end",b,P)}d=e["_"+s+"pos0"],delete e["_"+s+"pos0"];var O=e._input[v]||{},z=i.extendFlat({},b),D=b.start,R=r.r2l(O.start),F=void 0!==R;if((b.startFound||F)&&R!==r.r2l(D)){var B=F?R:i.aggNums(Math.min,null,d),N={type:"category"===r.type||"multicategory"===r.type?"linear":r.type,r2l:r.r2l,dtick:b.size,tick0:D,calendar:p,range:[B,o.tickIncrement(B,b.size,!1,p)].map(r.l2r)},j=o.tickFirst(N);j>r.r2l(B)&&(j=o.tickIncrement(j,b.size,!0,p)),z.start=r.l2r(j),F||i.nestedProperty(e,v+".start").set(z.start)}var U=b.end,V=r.r2l(O.end),H=void 0!==V;if((b.endFound||H)&&V!==r.r2l(U)){var q=H?V:i.aggNums(Math.max,null,d);z.end=r.l2r(q),H||i.nestedProperty(e,v+".start").set(z.end)}var G="autobin"+s;return!1===e._input[G]&&(e._input[v]=i.extendFlat({},e[v]||{}),delete e._input[G],delete e[G]),[z,d]}e.exports={calc:function(t,e){var r,a,p,d,g=[],m=[],v="h"===e.orientation,y=o.getFromId(t,v?e.yaxis:e.xaxis),x=v?"y":"x",b={x:"y",y:"x"}[x],_=e[x+"calendar"],w=e.cumulative,T=h(t,e,y,x),k=T[0],A=T[1],M="string"==typeof k.size,S=[],E=M?S:k,L=[],C=[],P=[],I=0,O=e.histnorm,z=e.histfunc,D=-1!==O.indexOf("density");w.enabled&&D&&(O=O.replace(/ ?density$/,""),D=!1);var R,F="max"===z||"min"===z?null:0,B=l.count,N=c[O],j=!1,U=function(t){return y.r2c(t,0,_)};for(i.isArrayOrTypedArray(e[b])&&"count"!==z&&(R=e[b],j="avg"===z,B=l[z]),r=U(k.start),p=U(k.end)+(r-o.tickIncrement(r,k.size,!1,_))/1e6;r<p&&g.length<1e6&&(a=o.tickIncrement(r,k.size,!1,_),g.push((r+a)/2),m.push(F),P.push([]),S.push(r),D&&L.push(1/(a-r)),j&&C.push(0),!(a<=r));)r=a;S.push(r),M||"date"!==y.type||(E={start:U(E.start),end:U(E.end),size:E.size}),t._fullLayout._roundFnOpts||(t._fullLayout._roundFnOpts={});var V=e["_"+x+"bingroup"],H={leftGap:1/0,rightGap:1/0};V&&(t._fullLayout._roundFnOpts[V]||(t._fullLayout._roundFnOpts[V]=H),H=t._fullLayout._roundFnOpts[V]);var q,G=m.length,Y=!0,W=H.leftGap,X=H.rightGap,Z={};for(r=0;r<A.length;r++){var J=A[r];(d=i.findBin(J,E))>=0&&d<G&&(I+=B(d,r,m,R,C),Y&&P[d].length&&J!==A[P[d][0]]&&(Y=!1),P[d].push(r),Z[r]=d,W=Math.min(W,J-S[d]),X=Math.min(X,S[d+1]-J))}H.leftGap=W,H.rightGap=X,Y||(q=function(e,r){return function(){var n=t._fullLayout._roundFnOpts[V];return f(n.leftGap,n.rightGap,S,y,_)(e,r)}}),j&&(I=u(m,C)),N&&N(m,I,L),w.enabled&&function(t,e,r){var n,i,a;function o(e){a=t[e],t[e]/=2}function s(e){i=t[e],t[e]=a+i/2,a+=i}if("half"===r)if("increasing"===e)for(o(0),n=1;n<t.length;n++)s(n);else for(o(t.length-1),n=t.length-2;n>=0;n--)s(n);else if("increasing"===e){for(n=1;n<t.length;n++)t[n]+=t[n-1];"exclude"===r&&(t.unshift(0),t.pop())}else{for(n=t.length-2;n>=0;n--)t[n]+=t[n+1];"exclude"===r&&(t.push(0),t.shift())}}(m,w.direction,w.currentbin);var K=Math.min(g.length,m.length),Q=[],$=0,tt=K-1;for(r=0;r<K;r++)if(m[r]){$=r;break}for(r=K-1;r>=$;r--)if(m[r]){tt=r;break}for(r=$;r<=tt;r++)if(n(g[r])&&n(m[r])){var et={p:g[r],s:m[r],b:0};w.enabled||(et.pts=P[r],Y?et.ph0=et.ph1=P[r].length?A[P[r][0]]:g[r]:(e._computePh=!0,et.ph0=q(S[r]),et.ph1=q(S[r+1],!0))),Q.push(et)}return 1===Q.length&&(Q[0].width1=o.tickIncrement(Q[0].p,k.size,!1,_)-Q[0].p),s(Q,e),i.isArrayOrTypedArray(e.selectedpoints)&&i.tagSelected(Q,e,Z),Q},calcAllAutoBins:h}},{"../../lib":503,"../../plots/cartesian/axes":554,"../../registry":638,"../bar/arrays_to_calcdata":647,"./average":813,"./bin_functions":815,"./bin_label_vals":816,"./norm_functions":824,"fast-isnumeric":190}],818:[function(t,e,r){"use strict";e.exports={eventDataKeys:["binNumber"]}},{}],819:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axis_ids"),a=t("../../registry").traceIs,o=t("../bar/defaults").handleGroupingDefaults,s=n.nestedProperty,l=t("../../plots/cartesian/constraints").getAxisGroup,c=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],u=["x","y"];e.exports=function(t,e){var r,f,h,p,d,g,m,v=e._histogramBinOpts={},y=[],x={},b=[];function _(t,e){return n.coerce(r._input,r,r._module.attributes,t,e)}function w(t){return"v"===t.orientation?"x":"y"}function T(t,r,a){var o=t.uid+"__"+a;r||(r=o);var s=function(t,r){return i.getFromTrace({_fullLayout:e},t,r).type}(t,a),l=t[a+"calendar"]||"",c=v[r],u=!0;c&&(s===c.axType&&l===c.calendar?(u=!1,c.traces.push(t),c.dirs.push(a)):(r=o,s!==c.axType&&n.warn(["Attempted to group the bins of trace",t.index,"set on a","type:"+s,"axis","with bins on","type:"+c.axType,"axis."].join(" ")),l!==c.calendar&&n.warn(["Attempted to group the bins of trace",t.index,"set with a",l,"calendar","with bins",c.calendar?"on a "+c.calendar+" calendar":"w/o a set calendar"].join(" ")))),u&&(v[r]={traces:[t],dirs:[a],axType:s,calendar:t[a+"calendar"]||""}),t["_"+a+"bingroup"]=r}for(d=0;d<t.length;d++)r=t[d],a(r,"histogram")&&(y.push(r),delete r._xautoBinFinished,delete r._yautoBinFinished,a(r,"2dMap")||o(r._input,r,e,_));var k=e._alignmentOpts||{};for(d=0;d<y.length;d++){if(r=y[d],h="",!a(r,"2dMap")){if(p=w(r),"group"===e.barmode&&r.alignmentgroup){var A=r[p+"axis"],M=l(e,A)+r.orientation;(k[M]||{})[r.alignmentgroup]&&(h=M)}h||"overlay"===e.barmode||(h=l(e,r.xaxis)+l(e,r.yaxis)+w(r))}h?(x[h]||(x[h]=[]),x[h].push(r)):b.push(r)}for(h in x)if(1!==(f=x[h]).length){var S=!1;for(f.length&&(r=f[0],S=_("bingroup")),h=S||h,d=0;d<f.length;d++){var E=(r=f[d])._input.bingroup;E&&E!==h&&n.warn(["Trace",r.index,"must match","within bingroup",h+".","Ignoring its bingroup:",E,"setting."].join(" ")),r.bingroup=h,T(r,h,w(r))}}else b.push(f[0]);for(d=0;d<b.length;d++){r=b[d];var L=_("bingroup");if(a(r,"2dMap"))for(m=0;m<2;m++){var C=_((p=u[m])+"bingroup",L?L+"__"+p:null);T(r,C,p)}else T(r,L,w(r))}for(h in v){var P=v[h];for(f=P.traces,g=0;g<c.length;g++){var I,O,z=c[g],D=z.name;if("nbins"!==D||!P.sizeFound){for(d=0;d<f.length;d++){if(r=f[d],p=P.dirs[d],I=z.aStr[p],void 0!==s(r._input,I).get()){P[D]=_(I),P[D+"Found"]=!0;break}(O=(r._autoBin||{})[p]||{})[D]&&s(r,I).set(O[D])}if("start"===D||"end"===D)for(;d<f.length;d++)(r=f[d])["_"+p+"bingroup"]&&_(I,(O=(r._autoBin||{})[p]||{})[D]);"nbins"!==D||P.sizeFound||P.nbinsFound||(r=f[0],P[D]=_(I))}}}}},{"../../lib":503,"../../plots/cartesian/axis_ids":558,"../../plots/cartesian/constraints":562,"../../registry":638,"../bar/defaults":652}],820:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../components/color"),o=t("../bar/defaults").handleText,s=t("../bar/style_defaults"),l=t("./attributes");e.exports=function(t,e,r,c){function u(r,n){return i.coerce(t,e,l,r,n)}var f=u("x"),h=u("y");u("cumulative.enabled")&&(u("cumulative.direction"),u("cumulative.currentbin")),u("text");var p=u("textposition");o(t,e,c,u,p,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),u("hovertext"),u("hovertemplate"),u("xhoverformat"),u("yhoverformat");var d=u("orientation",h&&!f?"h":"v"),g="v"===d?"x":"y",m="v"===d?"y":"x",v=f&&h?Math.min(i.minRowLength(f)&&i.minRowLength(h)):i.minRowLength(e[g]||[]);if(v){e._length=v,n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y"],c),e[m]&&u("histfunc"),u("histnorm"),u("autobin"+g),s(t,e,u,r,c),i.coerceSelectionMarkerOpacity(e,u);var y=(e.marker.line||{}).color,x=n.getComponentMethod("errorbars","supplyDefaults");x(t,e,y||a.defaultLine,{axis:"y"}),x(t,e,y||a.defaultLine,{axis:"x",inherit:"y"})}else e.visible=!1}},{"../../components/color":366,"../../lib":503,"../../registry":638,"../bar/defaults":652,"../bar/style_defaults":663,"./attributes":812}],821:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){if(t.x="xVal"in e?e.xVal:e.x,t.y="yVal"in e?e.yVal:e.y,"zLabelVal"in e&&(t.z=e.zLabelVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),!(r.cumulative||{}).enabled){var a,o=Array.isArray(i)?n[0].pts[i[0]][i[1]]:n[i].pts;if(t.pointNumbers=o,t.binNumber=t.pointNumber,delete t.pointNumber,delete t.pointIndex,r._indexToPoints){a=[];for(var s=0;s<o.length;s++)a=a.concat(r._indexToPoints[o[s]])}else a=o;t.pointIndices=a}return t}},{}],822:[function(t,e,r){"use strict";var n=t("../bar/hover").hoverPoints,i=t("../../plots/cartesian/axes").hoverLabelText;e.exports=function(t,e,r,a,o){var s=n(t,e,r,a,o);if(s){var l=(t=s[0]).cd[t.index],c=t.cd[0].trace;if(!c.cumulative.enabled){var u="h"===c.orientation?"y":"x";t[u+"Label"]=i(t[u+"a"],[l.ph0,l.ph1],c[u+"hoverformat"])}return s}}},{"../../plots/cartesian/axes":554,"../bar/hover":655}],823:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("../bar/layout_attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("./cross_trace_defaults"),supplyLayoutDefaults:t("../bar/layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("../bar/cross_trace_calc").crossTraceCalc,plot:t("../bar/plot").plot,layerName:"barlayer",style:t("../bar/style").style,styleOnSelect:t("../bar/style").styleOnSelect,colorbar:t("../scatter/marker_colorbar"),hoverPoints:t("./hover"),selectPoints:t("../bar/select"),eventData:t("./event_data"),moduleType:"trace",name:"histogram",basePlotModule:t("../../plots/cartesian"),categories:["bar-like","cartesian","svg","bar","histogram","oriented","errorBarsOK","showLegend"],meta:{}}},{"../../plots/cartesian":568,"../bar/cross_trace_calc":651,"../bar/layout_attributes":657,"../bar/layout_defaults":658,"../bar/plot":659,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":944,"./attributes":812,"./calc":817,"./cross_trace_defaults":819,"./defaults":820,"./event_data":821,"./hover":822}],824:[function(t,e,r){"use strict";e.exports={percent:function(t,e){for(var r=t.length,n=100/e,i=0;i<r;i++)t[i]*=n},probability:function(t,e){for(var r=t.length,n=0;n<r;n++)t[n]/=e},density:function(t,e,r,n){var i=t.length;n=n||1;for(var a=0;a<i;a++)t[a]*=r[a]*n},"probability density":function(t,e,r,n){var i=t.length;n&&(e/=n);for(var a=0;a<i;a++)t[a]*=r[a]/e}}},{}],825:[function(t,e,r){"use strict";var n=t("../histogram/attributes"),i=t("../histogram/bin_attributes"),a=t("../heatmap/attributes"),o=t("../../plots/attributes"),s=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,l=t("../../plots/template_attributes").hovertemplateAttrs,c=t("../../plots/template_attributes").texttemplateAttrs,u=t("../../components/colorscale/attributes"),f=t("../../lib/extend").extendFlat;e.exports=f({x:n.x,y:n.y,z:{valType:"data_array",editType:"calc"},marker:{color:{valType:"data_array",editType:"calc"},editType:"calc"},histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:i("x"),nbinsy:n.nbinsy,ybins:i("y"),autobinx:n.autobinx,autobiny:n.autobiny,bingroup:f({},n.bingroup,{}),xbingroup:f({},n.bingroup,{}),ybingroup:f({},n.bingroup,{}),xgap:a.xgap,ygap:a.ygap,zsmooth:a.zsmooth,xhoverformat:s("x"),yhoverformat:s("y"),zhoverformat:s("z",1),hovertemplate:l({},{keys:"z"}),texttemplate:c({arrayOk:!1,editType:"plot"},{keys:"z"}),textfont:a.textfont,showlegend:f({},o.showlegend,{dflt:!1})},u("",{cLetter:"z",autoColorDflt:!1}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../heatmap/attributes":792,"../histogram/attributes":812,"../histogram/bin_attributes":814}],826:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../histogram/bin_functions"),o=t("../histogram/norm_functions"),s=t("../histogram/average"),l=t("../histogram/bin_label_vals"),c=t("../histogram/calc").calcAllAutoBins;function u(t,e,r,n){var i,a=new Array(t);if(n)for(i=0;i<t;i++)a[i]=1/(e[i+1]-e[i]);else{var o=1/r;for(i=0;i<t;i++)a[i]=o}return a}function f(t,e){return{start:t(e.start),end:t(e.end),size:e.size}}function h(t,e,r,n,i,a){var o,s=t.length-1,c=new Array(s),u=l(r,n,t,i,a);for(o=0;o<s;o++){var f=(e||[])[o];c[o]=void 0===f?[u(t[o]),u(t[o+1],!0)]:[f,f]}return c}e.exports=function(t,e){var r,l,p,d,g=i.getFromId(t,e.xaxis),m=i.getFromId(t,e.yaxis),v=e.xcalendar,y=e.ycalendar,x=function(t){return g.r2c(t,0,v)},b=function(t){return m.r2c(t,0,y)},_=c(t,e,g,"x"),w=_[0],T=_[1],k=c(t,e,m,"y"),A=k[0],M=k[1],S=e._length;T.length>S&&T.splice(S,T.length-S),M.length>S&&M.splice(S,M.length-S);var E=[],L=[],C=[],P="string"==typeof w.size,I="string"==typeof A.size,O=[],z=[],D=P?O:w,R=I?z:A,F=0,B=[],N=[],j=e.histnorm,U=e.histfunc,V=-1!==j.indexOf("density"),H="max"===U||"min"===U?null:0,q=a.count,G=o[j],Y=!1,W=[],X=[],Z="z"in e?e.z:"marker"in e&&Array.isArray(e.marker.color)?e.marker.color:"";Z&&"count"!==U&&(Y="avg"===U,q=a[U]);var J=w.size,K=x(w.start),Q=x(w.end)+(K-i.tickIncrement(K,J,!1,v))/1e6;for(r=K;r<Q;r=i.tickIncrement(r,J,!1,v))L.push(H),O.push(r),Y&&C.push(0);O.push(r);var $,tt=L.length,et=(r-K)/tt,rt=($=K+et/2,g.c2r($,0,v)),nt=A.size,it=b(A.start),at=b(A.end)+(it-i.tickIncrement(it,nt,!1,y))/1e6;for(r=it;r<at;r=i.tickIncrement(r,nt,!1,y)){E.push(L.slice()),z.push(r);var ot=new Array(tt);for(l=0;l<tt;l++)ot[l]=[];N.push(ot),Y&&B.push(C.slice())}z.push(r);var st=E.length,lt=(r-it)/st,ct=function(t){return m.c2r(t,0,y)}(it+lt/2);V&&(W=u(L.length,D,et,P),X=u(E.length,R,lt,I)),P||"date"!==g.type||(D=f(x,D)),I||"date"!==m.type||(R=f(b,R));var ut=!0,ft=!0,ht=new Array(tt),pt=new Array(st),dt=1/0,gt=1/0,mt=1/0,vt=1/0;for(r=0;r<S;r++){var yt=T[r],xt=M[r];p=n.findBin(yt,D),d=n.findBin(xt,R),p>=0&&p<tt&&d>=0&&d<st&&(F+=q(p,r,E[d],Z,B[d]),N[d][p].push(r),ut&&(void 0===ht[p]?ht[p]=yt:ht[p]!==yt&&(ut=!1)),ft&&(void 0===pt[d]?pt[d]=xt:pt[d]!==xt&&(ft=!1)),dt=Math.min(dt,yt-O[p]),gt=Math.min(gt,O[p+1]-yt),mt=Math.min(mt,xt-z[d]),vt=Math.min(vt,z[d+1]-xt))}if(Y)for(d=0;d<st;d++)F+=s(E[d],B[d]);if(G)for(d=0;d<st;d++)G(E[d],F,W,X[d]);return{x:T,xRanges:h(O,ut&&ht,dt,gt,g,v),x0:rt,dx:et,y:M,yRanges:h(z,ft&&pt,mt,vt,m,y),y0:ct,dy:lt,z:E,pts:N}}},{"../../lib":503,"../../plots/cartesian/axes":554,"../histogram/average":813,"../histogram/bin_functions":815,"../histogram/bin_label_vals":816,"../histogram/calc":817,"../histogram/norm_functions":824}],827:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./sample_defaults"),a=t("../heatmap/style_defaults"),o=t("../../components/colorscale/defaults"),s=t("../heatmap/label_defaults"),l=t("./attributes");e.exports=function(t,e,r,c){function u(r,i){return n.coerce(t,e,l,r,i)}i(t,e,u,c),!1!==e.visible&&(a(t,e,u,c),o(t,e,c,u,{prefix:"",cLetter:"z"}),u("hovertemplate"),s(u,c),u("xhoverformat"),u("yhoverformat"))}},{"../../components/colorscale/defaults":376,"../../lib":503,"../heatmap/label_defaults":802,"../heatmap/style_defaults":806,"./attributes":825,"./sample_defaults":830}],828:[function(t,e,r){"use strict";var n=t("../heatmap/hover"),i=t("../../plots/cartesian/axes").hoverLabelText;e.exports=function(t,e,r,a,o){var s=n(t,e,r,a,o);if(s){var l=(t=s[0]).index,c=l[0],u=l[1],f=t.cd[0],h=f.trace,p=f.xRanges[u],d=f.yRanges[c];return t.xLabel=i(t.xa,[p[0],p[1]],h.xhoverformat),t.yLabel=i(t.ya,[d[0],d[1]],h.yhoverformat),s}}},{"../../plots/cartesian/axes":554,"../heatmap/hover":799}],829:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("../histogram/cross_trace_defaults"),calc:t("../heatmap/calc"),plot:t("../heatmap/plot"),layerName:"heatmaplayer",colorbar:t("../heatmap/colorbar"),style:t("../heatmap/style"),hoverPoints:t("./hover"),eventData:t("../histogram/event_data"),moduleType:"trace",name:"histogram2d",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","2dMap","histogram","showLegend"],meta:{}}},{"../../plots/cartesian":568,"../heatmap/calc":793,"../heatmap/colorbar":795,"../heatmap/plot":804,"../heatmap/style":805,"../histogram/cross_trace_defaults":819,"../histogram/event_data":821,"./attributes":825,"./defaults":827,"./hover":828}],830:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib");e.exports=function(t,e,r,a){var o=r("x"),s=r("y"),l=i.minRowLength(o),c=i.minRowLength(s);l&&c?(e._length=Math.min(l,c),n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y"],a),(r("z")||r("marker.color"))&&r("histfunc"),r("histnorm"),r("autobinx"),r("autobiny")):e.visible=!1}},{"../../lib":503,"../../registry":638}],831:[function(t,e,r){"use strict";var n=t("../histogram2d/attributes"),i=t("../contour/attributes"),a=t("../../components/colorscale/attributes"),o=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,s=t("../../lib/extend").extendFlat;e.exports=s({x:n.x,y:n.y,z:n.z,marker:n.marker,histnorm:n.histnorm,histfunc:n.histfunc,nbinsx:n.nbinsx,xbins:n.xbins,nbinsy:n.nbinsy,ybins:n.ybins,autobinx:n.autobinx,autobiny:n.autobiny,bingroup:n.bingroup,xbingroup:n.xbingroup,ybingroup:n.ybingroup,autocontour:i.autocontour,ncontours:i.ncontours,contours:i.contours,line:{color:i.line.color,width:s({},i.line.width,{dflt:.5}),dash:i.line.dash,smoothing:i.line.smoothing,editType:"plot"},xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z",1),hovertemplate:n.hovertemplate,texttemplate:i.texttemplate,textfont:i.textfont},a("",{cLetter:"z",editTypeOverride:"calc"}))},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../contour/attributes":735,"../histogram2d/attributes":825}],832:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../histogram2d/sample_defaults"),a=t("../contour/contours_defaults"),o=t("../contour/style_defaults"),s=t("../heatmap/label_defaults"),l=t("./attributes");e.exports=function(t,e,r,c){function u(r,i){return n.coerce(t,e,l,r,i)}i(t,e,u,c),!1!==e.visible&&(a(t,e,u,(function(r){return n.coerce2(t,e,l,r)})),o(t,e,u,c),u("xhoverformat"),u("yhoverformat"),u("hovertemplate"),e.contours&&"heatmap"===e.contours.coloring&&s(u,c))}},{"../../lib":503,"../contour/contours_defaults":742,"../contour/style_defaults":756,"../heatmap/label_defaults":802,"../histogram2d/sample_defaults":830,"./attributes":831}],833:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("../histogram/cross_trace_defaults"),calc:t("../contour/calc"),plot:t("../contour/plot").plot,layerName:"contourlayer",style:t("../contour/style"),colorbar:t("../contour/colorbar"),hoverPoints:t("../contour/hover"),moduleType:"trace",name:"histogram2dcontour",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","2dMap","contour","histogram","showLegend"],meta:{}}},{"../../plots/cartesian":568,"../contour/calc":736,"../contour/colorbar":738,"../contour/hover":748,"../contour/plot":753,"../contour/style":755,"../histogram/cross_trace_defaults":819,"./attributes":831,"./defaults":832}],834:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../../components/colorscale/attributes"),o=t("../../plots/domain").attributes,s=t("../pie/attributes"),l=t("../sunburst/attributes"),c=t("../treemap/attributes"),u=t("../treemap/constants"),f=t("../../lib/extend").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"plot"},flip:c.tiling.flip,pad:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},marker:f({colors:l.marker.colors,line:l.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),leaf:l.leaf,pathbar:c.pathbar,text:s.text,textinfo:l.textinfo,texttemplate:i({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:n({},{keys:u.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:c.outsidetextfont,textposition:c.textposition,sort:s.sort,root:l.root,domain:o({name:"icicle",trace:!0,editType:"calc"})}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":900,"../sunburst/attributes":1045,"../treemap/attributes":1071,"../treemap/constants":1074}],835:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="icicle",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],836:[function(t,e,r){"use strict";var n=t("../sunburst/calc");r.calc=function(t,e){return n.calc(t,e)},r.crossTraceCalc=function(t){return n._runCrossTraceCalc("icicle",t)}},{"../sunburst/calc":1047}],837:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../components/color"),o=t("../../plots/domain").defaults,s=t("../bar/defaults").handleText,l=t("../bar/constants").TEXTPAD,c=t("../../components/colorscale"),u=c.hasColorscale,f=c.handleDefaults;e.exports=function(t,e,r,c){function h(r,a){return n.coerce(t,e,i,r,a)}var p=h("labels"),d=h("parents");if(p&&p.length&&d&&d.length){var g=h("values");g&&g.length?h("branchvalues"):h("count"),h("level"),h("maxdepth"),h("tiling.orientation"),h("tiling.flip"),h("tiling.pad");var m=h("text");h("texttemplate"),e.texttemplate||h("textinfo",Array.isArray(m)?"text+label":"label"),h("hovertext"),h("hovertemplate");var v=h("pathbar.visible");s(t,e,c,h,"auto",{hasPathbar:v,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("textposition"),h("marker.line.width")&&h("marker.line.color",c.paper_bgcolor),h("marker.colors");var y=e._hasColorscale=u(t,"marker","colors")||(t.marker||{}).coloraxis;y&&f(t,e,c,h,{prefix:"marker.",cLetter:"c"}),h("leaf.opacity",y?1:.7),e._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},v&&(h("pathbar.thickness",e.pathbar.textfont.size+2*l),h("pathbar.side"),h("pathbar.edgeshape")),h("sort"),h("root.color"),o(e,c,h),e._length=null}else e.visible=!1}},{"../../components/color":366,"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/constants":650,"../bar/defaults":652,"./attributes":834}],838:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../lib/svg_text_utils"),s=t("./partition"),l=t("./style").styleOne,c=t("../treemap/constants"),u=t("../sunburst/helpers"),f=t("../sunburst/fx"),h=t("../sunburst/plot").formatSliceLabel;e.exports=function(t,e,r,p,d){var g=d.width,m=d.height,v=d.viewX,y=d.viewY,x=d.pathSlice,b=d.toMoveInsideSlice,_=d.strTransform,w=d.hasTransition,T=d.handleSlicesExit,k=d.makeUpdateSliceInterpolator,A=d.makeUpdateTextInterpolator,M=d.prevEntry,S=t._fullLayout,E=e[0].trace,L=-1!==E.textposition.indexOf("left"),C=-1!==E.textposition.indexOf("right"),P=-1!==E.textposition.indexOf("bottom"),I=s(r,[g,m],{flipX:E.tiling.flip.indexOf("x")>-1,flipY:E.tiling.flip.indexOf("y")>-1,orientation:E.tiling.orientation,pad:{inner:E.tiling.pad},maxDepth:E._maxDepth}).descendants(),O=1/0,z=-1/0;I.forEach((function(t){var e=t.depth;e>=E._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):(O=Math.min(O,e),z=Math.max(z,e))})),p=p.data(I,u.getPtId),E._maxVisibleLayers=isFinite(z)?z-O+1:0,p.enter().append("g").classed("slice",!0),T(p,!1,{},[g,m],x),p.order();var D=null;if(w&&M){var R=u.getPtId(M);p.each((function(t){null===D&&u.getPtId(t)===R&&(D={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})}))}var F=function(){return D||{x0:0,x1:g,y0:0,y1:m}},B=p;return w&&(B=B.transition().each("end",(function(){var e=n.select(this);u.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),B.each((function(s){s._x0=v(s.x0),s._x1=v(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=v(s.x1-E.tiling.pad),s._hoverY=y(P?s.y1-E.tiling.pad/2:s.y0+E.tiling.pad/2);var p=n.select(this),d=i.ensureSingle(p,"path","surface",(function(t){t.style("pointer-events","all")}));w?d.transition().attrTween("d",(function(t){var e=k(t,!1,F(),[g,m],{orientation:E.tiling.orientation,flipX:E.tiling.flip.indexOf("x")>-1,flipY:E.tiling.flip.indexOf("y")>-1});return function(t){return x(e(t))}})):d.attr("d",x),p.call(f,r,t,e,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,t,{isTransitioning:t._transitioning}),d.call(l,s,E,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=h(s,r,E,e,S)||"";var T=i.ensureSingle(p,"g","slicetext"),M=i.ensureSingle(T,"text","",(function(t){t.attr("data-notex",1)})),I=i.ensureUniformFontSize(t,u.determineTextFont(E,s,S.font));M.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",C?"end":L?"start":"middle").call(a.font,I).call(o.convertToTspans,t),s.textBB=a.bBox(M.node()),s.transform=b(s,{fontSize:I.size}),s.transform.fontSize=I.size,w?M.transition().attrTween("transform",(function(t){var e=A(t,!1,F(),[g,m]);return function(t){return _(e(t))}})):M.attr("transform",_(s))})),D}},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1050,"../sunburst/helpers":1051,"../sunburst/plot":1055,"../treemap/constants":1074,"./partition":842,"./style":844,"@plotly/d3":58}],839:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"icicle",basePlotModule:t("./base_plot"),categories:[],animatable:!0,attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot"),style:t("./style").style,colorbar:t("../scatter/marker_colorbar"),meta:{}}},{"../scatter/marker_colorbar":944,"./attributes":834,"./base_plot":835,"./calc":836,"./defaults":837,"./layout_attributes":840,"./layout_defaults":841,"./plot":843,"./style":844}],840:[function(t,e,r){"use strict";e.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},{}],841:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("iciclecolorway",e.colorway),r("extendiciclecolors")}},{"../../lib":503,"./layout_attributes":840}],842:[function(t,e,r){"use strict";var n=t("d3-hierarchy"),i=t("../treemap/flip_tree");e.exports=function(t,e,r){var a=r.flipX,o=r.flipY,s="h"===r.orientation,l=r.maxDepth,c=e[0],u=e[1];l&&(c=(t.height+1)*e[0]/Math.min(t.height+1,l),u=(t.height+1)*e[1]/Math.min(t.height+1,l));var f=n.partition().padding(r.pad.inner).size(s?[e[1],c]:[e[0],u])(t);return(s||a||o)&&i(f,e,{swapXY:s,flipX:a,flipY:o}),f}},{"../treemap/flip_tree":1079,"d3-hierarchy":115}],843:[function(t,e,r){"use strict";var n=t("../treemap/draw"),i=t("./draw_descendants");e.exports=function(t,e,r,a){return n(t,e,r,a,{type:"icicle",drawDescendants:i})}},{"../treemap/draw":1076,"./draw_descendants":838}],844:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../lib"),o=t("../bar/uniform_text").resizeText;function s(t,e,r){var n=e.data.data,o=!e.children,s=n.i,l=a.castOption(r,s,"marker.line.color")||i.defaultLine,c=a.castOption(r,s,"marker.line.width")||0;t.style("stroke-width",c).call(i.fill,n.color).call(i.stroke,l).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(t){var e=t._fullLayout._iciclelayer.selectAll(".trace");o(t,e,"icicle"),e.each((function(t){var e=n.select(this),r=t[0].trace;e.style("opacity",r.opacity),e.selectAll("path.surface").each((function(t){n.select(this).call(s,t,r)}))}))},styleOne:s}},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"@plotly/d3":58}],845:[function(t,e,r){"use strict";for(var n=t("../../plots/attributes"),i=t("../../plots/template_attributes").hovertemplateAttrs,a=t("../../lib/extend").extendFlat,o=t("./constants").colormodel,s=["rgb","rgba","rgba256","hsl","hsla"],l=[],c=[],u=0;u<s.length;u++){var f=o[s[u]];l.push("For the `"+s[u]+"` colormodel, it is ["+(f.zminDflt||f.min).join(", ")+"]."),c.push("For the `"+s[u]+"` colormodel, it is ["+(f.zmaxDflt||f.max).join(", ")+"].")}e.exports=a({source:{valType:"string",editType:"calc"},z:{valType:"data_array",editType:"calc"},colormodel:{valType:"enumerated",values:s,editType:"calc"},zsmooth:{valType:"enumerated",values:["fast",!1],dflt:!1,editType:"plot"},zmin:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc"},zmax:{valType:"info_array",items:[{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"},{valType:"number",editType:"calc"}],editType:"calc"},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dx:{valType:"number",dflt:1,editType:"calc"},dy:{valType:"number",dflt:1,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"data_array",editType:"plot"},hoverinfo:a({},n.hoverinfo,{flags:["x","y","z","color","name","text"],dflt:"x+y+z+text+name"}),hovertemplate:i({},{keys:["z","color","colormodel"]}),transforms:void 0})},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"./constants":847}],846:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./constants"),a=t("fast-isnumeric"),o=t("../../plots/cartesian/axes"),s=t("../../lib").maxRowLength,l=t("./helpers").getImageSize;function c(t,e,r,i){return function(a){return n.constrain((a-t)*e,r,i)}}function u(t,e){return function(r){return n.constrain(r,t,e)}}e.exports=function(t,e){var r,n;if(e._hasZ)r=e.z.length,n=s(e.z);else if(e._hasSource){var f=l(e.source);r=f.height,n=f.width}var h,p=o.getFromId(t,e.xaxis||"x"),d=o.getFromId(t,e.yaxis||"y"),g=p.d2c(e.x0)-e.dx/2,m=d.d2c(e.y0)-e.dy/2,v=[g,g+n*e.dx],y=[m,m+r*e.dy];if(p&&"log"===p.type)for(h=0;h<n;h++)v.push(g+h*e.dx);if(d&&"log"===d.type)for(h=0;h<r;h++)y.push(m+h*e.dy);return e._extremes[p._id]=o.findExtremes(p,v),e._extremes[d._id]=o.findExtremes(d,y),e._scaler=function(t){var e=i.colormodel[t.colormodel],r=(e.colormodel||t.colormodel).length;t._sArray=[];for(var n=0;n<r;n++)e.min[n]!==t.zmin[n]||e.max[n]!==t.zmax[n]?t._sArray.push(c(t.zmin[n],(e.max[n]-e.min[n])/(t.zmax[n]-t.zmin[n]),e.min[n],e.max[n])):t._sArray.push(u(e.min[n],e.max[n]));return function(e){for(var n=e.slice(0,r),i=0;i<r;i++){var o=n[i];if(!a(o))return!1;n[i]=t._sArray[i](o)}return n}}(e),[{x0:g,y0:m,z:e.z,w:n,h:r}]}},{"../../lib":503,"../../plots/cartesian/axes":554,"./constants":847,"./helpers":850,"fast-isnumeric":190}],847:[function(t,e,r){"use strict";e.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(t){return t.slice(0,3)},suffix:["","",""]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(t){return t.slice(0,4)},suffix:["","","",""]},rgba256:{colormodel:"rgba",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(t){return t.slice(0,4)},suffix:["","","",""]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(t){var e=t.slice(0,3);return e[1]=e[1]+"%",e[2]=e[2]+"%",e},suffix:["\xb0","%","%"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(t){var e=t.slice(0,4);return e[1]=e[1]+"%",e[2]=e[2]+"%",e},suffix:["\xb0","%","%",""]}},pixelatedStyle:["image-rendering: optimizeSpeed","image-rendering: -moz-crisp-edges","image-rendering: -o-crisp-edges","image-rendering: -webkit-optimize-contrast","image-rendering: optimize-contrast","image-rendering: crisp-edges","image-rendering: pixelated",""].join("; ")}},{}],848:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("./constants"),o=t("../../snapshot/helpers").IMAGE_URL_PREFIX;e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("source"),e.source&&!e.source.match(o)&&delete e.source,e._hasSource=!!e.source;var s,l=r("z");(e._hasZ=!(void 0===l||!l.length||!l[0]||!l[0].length),e._hasZ||e._hasSource)?(r("x0"),r("y0"),r("dx"),r("dy"),e._hasZ?(r("colormodel","rgb"),r("zmin",(s=a.colormodel[e.colormodel]).zminDflt||s.min),r("zmax",s.zmaxDflt||s.max)):e._hasSource&&(e.colormodel="rgba256",s=a.colormodel[e.colormodel],e.zmin=s.zminDflt,e.zmax=s.zmaxDflt),r("zsmooth"),r("text"),r("hovertext"),r("hovertemplate"),e._length=null):e.visible=!1}},{"../../lib":503,"../../snapshot/helpers":642,"./attributes":845,"./constants":847}],849:[function(t,e,r){"use strict";e.exports=function(t,e){return"xVal"in e&&(t.x=e.xVal),"yVal"in e&&(t.y=e.yVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t.color=e.color,t.colormodel=e.trace.colormodel,t.z||(t.z=e.color),t}},{}],850:[function(t,e,r){"use strict";var n=t("probe-image-size/sync"),i=t("../../snapshot/helpers").IMAGE_URL_PREFIX,a=t("buffer/").Buffer;r.getImageSize=function(t){var e=t.replace(i,""),r=new a(e,"base64");return n(r)}},{"../../snapshot/helpers":642,"buffer/":85,"probe-image-size/sync":276}],851:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../lib"),a=t("./constants");e.exports=function(t,e,r){var o=t.cd[0],s=o.trace,l=t.xa,c=t.ya;if(!(n.inbox(e-o.x0,e-(o.x0+o.w*s.dx),0)>0||n.inbox(r-o.y0,r-(o.y0+o.h*s.dy),0)>0)){var u,f=Math.floor((e-o.x0)/s.dx),h=Math.floor(Math.abs(r-o.y0)/s.dy);if(s._hasZ?u=o.z[h][f]:s._hasSource&&(u=s._canvas.el.getContext("2d").getImageData(f,h,1,1).data),u){var p,d=o.hi||s.hoverinfo;if(d){var g=d.split("+");-1!==g.indexOf("all")&&(g=["color"]),-1!==g.indexOf("color")&&(p=!0)}var m,v=a.colormodel[s.colormodel],y=v.colormodel||s.colormodel,x=y.length,b=s._scaler(u),_=v.suffix,w=[];(s.hovertemplate||p)&&(w.push("["+[b[0]+_[0],b[1]+_[1],b[2]+_[2]].join(", ")),4===x&&w.push(", "+b[3]+_[3]),w.push("]"),w=w.join(""),t.extraText=y.toUpperCase()+": "+w),Array.isArray(s.hovertext)&&Array.isArray(s.hovertext[h])?m=s.hovertext[h][f]:Array.isArray(s.text)&&Array.isArray(s.text[h])&&(m=s.text[h][f]);var T=c.c2p(o.y0+(h+.5)*s.dy),k=o.x0+(f+.5)*s.dx,A=o.y0+(h+.5)*s.dy,M="["+u.slice(0,s.colormodel.length).join(", ")+"]";return[i.extendFlat(t,{index:[h,f],x0:l.c2p(o.x0+f*s.dx),x1:l.c2p(o.x0+(f+1)*s.dx),y0:T,y1:T,color:b,xVal:k,xLabelVal:k,yVal:A,yLabelVal:A,zLabelVal:M,text:m,hovertemplateLabels:{zLabel:M,colorLabel:w,"color[0]Label":b[0]+_[0],"color[1]Label":b[1]+_[1],"color[2]Label":b[2]+_[2],"color[3]Label":b[3]+_[3]}})]}}}},{"../../components/fx":406,"../../lib":503,"./constants":847}],852:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),style:t("./style"),hoverPoints:t("./hover"),eventData:t("./event_data"),moduleType:"trace",name:"image",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},{"../../plots/cartesian":568,"./attributes":845,"./calc":846,"./defaults":848,"./event_data":849,"./hover":851,"./plot":853,"./style":854}],853:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=i.strTranslate,o=t("../../constants/xmlns_namespaces"),s=t("./constants"),l=i.isIOS()||i.isSafari()||i.isIE();e.exports=function(t,e,r,c){var u=e.xaxis,f=e.yaxis,h=!(l||t._context._exportedPlot);i.makeTraceGroups(c,r,"im").each((function(e){var r=n.select(this),l=e[0],c=l.trace,p=("fast"===c.zsmooth||!1===c.zsmooth&&h)&&!c._hasZ&&c._hasSource&&"linear"===u.type&&"linear"===f.type;c._realImage=p;var d,g,m,v,y,x,b=l.z,_=l.x0,w=l.y0,T=l.w,k=l.h,A=c.dx,M=c.dy;for(x=0;void 0===d&&x<T;)d=u.c2p(_+x*A),x++;for(x=T;void 0===g&&x>0;)g=u.c2p(_+x*A),x--;for(x=0;void 0===v&&x<k;)v=f.c2p(w+x*M),x++;for(x=k;void 0===y&&x>0;)y=f.c2p(w+x*M),x--;if(g<d&&(m=g,g=d,d=m),y<v&&(m=v,v=y,y=m),!p){d=Math.max(-.5*u._length,d),g=Math.min(1.5*u._length,g),v=Math.max(-.5*f._length,v),y=Math.min(1.5*f._length,y)}var S=Math.round(g-d),E=Math.round(y-v);if(S<=0||E<=0){r.selectAll("image").data([]).exit().remove()}else{var L=r.selectAll("image").data([e]);L.enter().append("svg:image").attr({xmlns:o.svg,preserveAspectRatio:"none"}),L.exit().remove();var C=!1===c.zsmooth?s.pixelatedStyle:"";if(p){var P=i.simpleMap(u.range,u.r2l),I=i.simpleMap(f.range,f.r2l),O=P[1]<P[0],z=I[1]>I[0];if(O||z){var D=d+S/2,R=v+E/2;C+="transform:"+a(D+"px",R+"px")+"scale("+(O?-1:1)+","+(z?-1:1)+")"+a(-D+"px",-R+"px")+";"}}L.attr("style",C);var F=new Promise((function(t){if(c._hasZ)t();else if(c._hasSource)if(c._canvas&&c._canvas.el.width===T&&c._canvas.el.height===k&&c._canvas.source===c.source)t();else{var e=document.createElement("canvas");e.width=T,e.height=k;var r=e.getContext("2d");c._image=c._image||new Image;var n=c._image;n.onload=function(){r.drawImage(n,0,0),c._canvas={el:e,source:c.source},t()},n.setAttribute("src",c.source)}})).then((function(){var t;if(c._hasZ)t=B((function(t,e){return b[e][t]})).toDataURL("image/png");else if(c._hasSource)if(p)t=c.source;else{var e=c._canvas.el.getContext("2d").getImageData(0,0,T,k).data;t=B((function(t,r){var n=4*(r*T+t);return[e[n],e[n+1],e[n+2],e[n+3]]})).toDataURL("image/png")}L.attr({"xlink:href":t,height:E,width:S,x:d,y:v})}));t._promises.push(F)}function B(t){var e=document.createElement("canvas");e.width=S,e.height=E;var r,n=e.getContext("2d"),a=function(t){return i.constrain(Math.round(u.c2p(_+t*A)-d),0,S)},o=function(t){return i.constrain(Math.round(f.c2p(w+t*M)-v),0,E)},h=s.colormodel[c.colormodel],p=h.colormodel||c.colormodel,g=h.fmt;for(x=0;x<l.w;x++){var m=a(x),y=a(x+1);if(y!==m&&!isNaN(y)&&!isNaN(m))for(var b=0;b<l.h;b++){var T=o(b),k=o(b+1);k===T||isNaN(k)||isNaN(T)||!t(x,b)||(r=c._scaler(t(x,b)),n.fillStyle=r?p+"("+g(r).join(",")+")":"rgba(0,0,0,0)",n.fillRect(m,T,y-m,k-T))}}return e}}))}},{"../../constants/xmlns_namespaces":480,"../../lib":503,"./constants":847,"@plotly/d3":58}],854:[function(t,e,r){"use strict";var n=t("@plotly/d3");e.exports=function(t){n.select(t).selectAll(".im image").style("opacity",(function(t){return t[0].trace.opacity}))}},{"@plotly/d3":58}],855:[function(t,e,r){"use strict";var n=t("../../lib/extend").extendFlat,i=t("../../lib/extend").extendDeep,a=t("../../plot_api/edit_types").overrideAll,o=t("../../plots/font_attributes"),s=t("../../components/color/attributes"),l=t("../../plots/domain").attributes,c=t("../../plots/cartesian/layout_attributes"),u=t("../../plot_api/plot_template").templatedArray,f=t("../../constants/delta.js"),h=t("../../plots/cartesian/axis_format_attributes").descriptionOnlyNumbers,p=o({editType:"plot",colorEditType:"plot"}),d={color:{valType:"color",editType:"plot"},line:{color:{valType:"color",dflt:s.defaultLine,editType:"plot"},width:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},thickness:{valType:"number",min:0,max:1,dflt:1,editType:"plot"},editType:"calc"},g={valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},m=u("step",i({},d,{range:g}));e.exports={mode:{valType:"flaglist",editType:"calc",flags:["number","delta","gauge"],dflt:"number"},value:{valType:"number",editType:"calc",anim:!0},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},domain:l({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",editType:"plot"},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},font:n({},p,{}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",editType:"plot",description:h("value")},font:n({},p,{}),prefix:{valType:"string",dflt:"",editType:"plot"},suffix:{valType:"string",dflt:"",editType:"plot"},editType:"plot"},delta:{reference:{valType:"number",editType:"calc"},position:{valType:"enumerated",values:["top","bottom","left","right"],dflt:"bottom",editType:"plot"},relative:{valType:"boolean",editType:"plot",dflt:!1},valueformat:{valType:"string",editType:"plot",description:h("value")},increasing:{symbol:{valType:"string",dflt:f.INCREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:f.INCREASING.COLOR,editType:"plot"},editType:"plot"},decreasing:{symbol:{valType:"string",dflt:f.DECREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:f.DECREASING.COLOR,editType:"plot"},editType:"plot"},font:n({},p,{}),editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",dflt:"angular",values:["angular","bullet"]},bar:i({},d,{color:{dflt:"green"}}),bgcolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:s.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:1,editType:"plot"},axis:a({range:g,visible:n({},c.visible,{dflt:!0}),tickmode:c.tickmode,nticks:c.nticks,tick0:c.tick0,dtick:c.dtick,tickvals:c.tickvals,ticktext:c.ticktext,ticks:n({},c.ticks,{dflt:"outside"}),ticklen:c.ticklen,tickwidth:c.tickwidth,tickcolor:c.tickcolor,ticklabelstep:c.ticklabelstep,showticklabels:c.showticklabels,tickfont:o({}),tickangle:c.tickangle,tickformat:c.tickformat,tickformatstops:c.tickformatstops,tickprefix:c.tickprefix,showtickprefix:c.showtickprefix,ticksuffix:c.ticksuffix,showticksuffix:c.showticksuffix,separatethousands:c.separatethousands,exponentformat:c.exponentformat,minexponent:c.minexponent,showexponent:c.showexponent,editType:"plot"},"plot"),steps:m,threshold:{line:{color:n({},d.line.color,{}),width:n({},d.line.width,{dflt:1}),editType:"plot"},thickness:n({},d.thickness,{dflt:.85}),value:{valType:"number",editType:"calc",dflt:!1},editType:"plot"},editType:"plot"}}},{"../../components/color/attributes":365,"../../constants/delta.js":473,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_format_attributes":557,"../../plots/cartesian/layout_attributes":569,"../../plots/domain":584,"../../plots/font_attributes":585}],856:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="indicator",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],857:[function(t,e,r){"use strict";e.exports={calc:function(t,e){var r=[],n=e.value;"number"!=typeof e._lastValue&&(e._lastValue=e.value);var i=e._lastValue,a=i;return e._hasDelta&&"number"==typeof e.delta.reference&&(a=e.delta.reference),r[0]={y:n,lastY:i,delta:n-a,relativeDelta:(n-a)/a},r}}},{}],858:[function(t,e,r){"use strict";e.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},{}],859:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../plots/domain").defaults,o=t("../../plot_api/plot_template"),s=t("../../plots/array_container_defaults"),l=t("./constants.js"),c=t("../../plots/cartesian/tick_value_defaults"),u=t("../../plots/cartesian/tick_mark_defaults"),f=t("../../plots/cartesian/tick_label_defaults"),h=t("../../plots/cartesian/prefix_suffix_defaults");function p(t,e){function r(r,a){return n.coerce(t,e,i.gauge.steps,r,a)}r("color"),r("line.color"),r("line.width"),r("range"),r("thickness")}e.exports={supplyDefaults:function(t,e,r,d){function g(r,a){return n.coerce(t,e,i,r,a)}a(e,d,g),g("mode"),e._hasNumber=-1!==e.mode.indexOf("number"),e._hasDelta=-1!==e.mode.indexOf("delta"),e._hasGauge=-1!==e.mode.indexOf("gauge");var m=g("value");e._range=[0,"number"==typeof m?1.5*m:1];var v,y,x,b,_,w,T=new Array(2);function k(t,e){return n.coerce(x,b,i.gauge,t,e)}function A(t,e){return n.coerce(_,w,i.gauge.axis,t,e)}if(e._hasNumber&&(g("number.valueformat"),g("number.font.color",d.font.color),g("number.font.family",d.font.family),g("number.font.size"),void 0===e.number.font.size&&(e.number.font.size=l.defaultNumberFontSize,T[0]=!0),g("number.prefix"),g("number.suffix"),v=e.number.font.size),e._hasDelta&&(g("delta.font.color",d.font.color),g("delta.font.family",d.font.family),g("delta.font.size"),void 0===e.delta.font.size&&(e.delta.font.size=(e._hasNumber?.5:1)*(v||l.defaultNumberFontSize),T[1]=!0),g("delta.reference",e.value),g("delta.relative"),g("delta.valueformat",e.delta.relative?"2%":""),g("delta.increasing.symbol"),g("delta.increasing.color"),g("delta.decreasing.symbol"),g("delta.decreasing.color"),g("delta.position"),y=e.delta.font.size),e._scaleNumbers=(!e._hasNumber||T[0])&&(!e._hasDelta||T[1])||!1,g("title.font.color",d.font.color),g("title.font.family",d.font.family),g("title.font.size",.25*(v||y||l.defaultNumberFontSize)),g("title.text"),e._hasGauge){(x=t.gauge)||(x={}),b=o.newContainer(e,"gauge"),k("shape"),(e._isBullet="bullet"===e.gauge.shape)||g("title.align","center"),(e._isAngular="angular"===e.gauge.shape)||g("align","center"),k("bgcolor",d.paper_bgcolor),k("borderwidth"),k("bordercolor"),k("bar.color"),k("bar.line.color"),k("bar.line.width"),k("bar.thickness",l.valueThickness*("bullet"===e.gauge.shape?.5:1)),s(x,b,{name:"steps",handleItemDefaults:p}),k("threshold.value"),k("threshold.thickness"),k("threshold.line.width"),k("threshold.line.color"),_={},x&&(_=x.axis||{}),w=o.newContainer(b,"axis"),A("visible"),e._range=A("range",e._range);var M={outerTicks:!0};c(_,w,A,"linear"),h(_,w,A,"linear",M),f(_,w,A,"linear",M),u(_,w,A,M)}else g("title.align","center"),g("align","center"),e._isAngular=e._isBullet=!1;e._length=null}}},{"../../lib":503,"../../plot_api/plot_template":543,"../../plots/array_container_defaults":549,"../../plots/cartesian/prefix_suffix_defaults":573,"../../plots/cartesian/tick_label_defaults":578,"../../plots/cartesian/tick_mark_defaults":579,"../../plots/cartesian/tick_value_defaults":580,"../../plots/domain":584,"./attributes":855,"./constants.js":858}],860:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"indicator",basePlotModule:t("./base_plot"),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:t("./attributes"),supplyDefaults:t("./defaults").supplyDefaults,calc:t("./calc").calc,plot:t("./plot"),meta:{}}},{"./attributes":855,"./base_plot":856,"./calc":857,"./defaults":859,"./plot":861}],861:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-interpolate").interpolate,a=t("d3-interpolate").interpolateNumber,o=t("../../lib"),s=o.strScale,l=o.strTranslate,c=o.rad2deg,u=t("../../constants/alignment").MID_SHIFT,f=t("../../components/drawing"),h=t("./constants"),p=t("../../lib/svg_text_utils"),d=t("../../plots/cartesian/axes"),g=t("../../plots/cartesian/axis_defaults"),m=t("../../plots/cartesian/position_defaults"),v=t("../../plots/cartesian/layout_attributes"),y=t("../../components/color"),x={left:"start",center:"middle",right:"end"},b={left:0,center:.5,right:1},_=/[yzafpn\xb5mkMGTPEZY]/;function w(t){return t&&t.duration>0}function T(t){t.each((function(t){y.stroke(n.select(this),t.line.color)})).each((function(t){y.fill(n.select(this),t.color)})).style("stroke-width",(function(t){return t.line.width}))}function k(t,e,r){var n=t._fullLayout,i=o.extendFlat({type:"linear",ticks:"outside",range:r,showline:!0},e),a={type:"linear",_id:"x"+e._id},s={letter:"x",font:n.font,noHover:!0,noTickson:!0};function l(t,e){return o.coerce(i,a,v,t,e)}return g(i,a,l,s,n),m(i,a,l,s),a}function A(t,e,r){return[Math.min(e/t.width,r/t.height),t,e+"x"+r]}function M(t,e,r,i){var a=document.createElementNS("http://www.w3.org/2000/svg","text"),o=n.select(a);return o.text(t).attr("x",0).attr("y",0).attr("text-anchor",r).attr("data-unformatted",t).call(p.convertToTspans,i).call(f.font,e),f.bBox(o.node())}function S(t,e,r,n,i,a){var s="_cache"+e;t[s]&&t[s].key===i||(t[s]={key:i,value:r});var l=o.aggNums(a,null,[t[s].value,n],2);return t[s].value=l,l}e.exports=function(t,e,r,g){var m,v=t._fullLayout;w(r)&&g&&(m=g()),o.makeTraceGroups(v._indicatorlayer,e,"trace").each((function(e){var g,E,L,C,P,I=e[0].trace,O=n.select(this),z=I._hasGauge,D=I._isAngular,R=I._isBullet,F=I.domain,B={w:v._size.w*(F.x[1]-F.x[0]),h:v._size.h*(F.y[1]-F.y[0]),l:v._size.l+v._size.w*F.x[0],r:v._size.r+v._size.w*(1-F.x[1]),t:v._size.t+v._size.h*(1-F.y[1]),b:v._size.b+v._size.h*F.y[0]},N=B.l+B.w/2,j=B.t+B.h/2,U=Math.min(B.w/2,B.h),V=h.innerRadius*U,H=I.align||"center";if(E=j,z){if(D&&(g=N,E=j+U/2,L=function(t){return function(t,e){var r=Math.sqrt(t.width/2*(t.width/2)+t.height*t.height);return[e/r,t,e]}(t,.9*V)}),R){var q=h.bulletPadding,G=1-h.bulletNumberDomainSize+q;g=B.l+(G+(1-G)*b[H])*B.w,L=function(t){return A(t,(h.bulletNumberDomainSize-q)*B.w,B.h)}}}else g=B.l+b[H]*B.w,L=function(t){return A(t,B.w,B.h)};!function(t,e,r,i){var c,u,h,g=r[0].trace,m=i.numbersX,v=i.numbersY,T=g.align||"center",A=x[T],E=i.transitionOpts,L=i.onComplete,C=o.ensureSingle(e,"g","numbers"),P=[];g._hasNumber&&P.push("number");g._hasDelta&&(P.push("delta"),"left"===g.delta.position&&P.reverse());var I=C.selectAll("text").data(P);function O(e,r,n,i){if(!e.match("s")||n>=0==i>=0||r(n).slice(-1).match(_)||r(i).slice(-1).match(_))return r;var a=e.slice().replace("s","f").replace(/\d+/,(function(t){return parseInt(t)-1})),o=k(t,{tickformat:a});return function(t){return Math.abs(t)<1?d.tickText(o,t).text:r(t)}}I.enter().append("text"),I.attr("text-anchor",(function(){return A})).attr("class",(function(t){return t})).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),I.exit().remove();var z,D=g.mode+g.align;g._hasDelta&&(z=function(){var e=k(t,{tickformat:g.delta.valueformat},g._range);e.setScale(),d.prepTicks(e);var i=function(t){return d.tickText(e,t).text},o=function(t){return g.delta.relative?t.relativeDelta:t.delta},s=function(t,e){return 0===t||"number"!=typeof t||isNaN(t)?"-":(t>0?g.delta.increasing.symbol:g.delta.decreasing.symbol)+e(t)},l=function(t){return t.delta>=0?g.delta.increasing.color:g.delta.decreasing.color};void 0===g._deltaLastValue&&(g._deltaLastValue=o(r[0]));var c=C.select("text.delta");function h(){c.text(s(o(r[0]),i)).call(y.fill,l(r[0])).call(p.convertToTspans,t)}return c.call(f.font,g.delta.font).call(y.fill,l({delta:g._deltaLastValue})),w(E)?c.transition().duration(E.duration).ease(E.easing).tween("text",(function(){var t=n.select(this),e=o(r[0]),c=g._deltaLastValue,u=O(g.delta.valueformat,i,c,e),f=a(c,e);return g._deltaLastValue=e,function(e){t.text(s(f(e),u)),t.call(y.fill,l({delta:f(e)}))}})).each("end",(function(){h(),L&&L()})).each("interrupt",(function(){h(),L&&L()})):h(),u=M(s(o(r[0]),i),g.delta.font,A,t),c}(),D+=g.delta.position+g.delta.font.size+g.delta.font.family+g.delta.valueformat,D+=g.delta.increasing.symbol+g.delta.decreasing.symbol,h=u);g._hasNumber&&(!function(){var e=k(t,{tickformat:g.number.valueformat},g._range);e.setScale(),d.prepTicks(e);var i=function(t){return d.tickText(e,t).text},o=g.number.suffix,s=g.number.prefix,l=C.select("text.number");function u(){var e="number"==typeof r[0].y?s+i(r[0].y)+o:"-";l.text(e).call(f.font,g.number.font).call(p.convertToTspans,t)}w(E)?l.transition().duration(E.duration).ease(E.easing).each("end",(function(){u(),L&&L()})).each("interrupt",(function(){u(),L&&L()})).attrTween("text",(function(){var t=n.select(this),e=a(r[0].lastY,r[0].y);g._lastValue=r[0].y;var l=O(g.number.valueformat,i,r[0].lastY,r[0].y);return function(r){t.text(s+l(e(r))+o)}})):u(),c=M(s+i(r[0].y)+o,g.number.font,A,t)}(),D+=g.number.font.size+g.number.font.family+g.number.valueformat+g.number.suffix+g.number.prefix,h=c);if(g._hasDelta&&g._hasNumber){var R,F,B=[(c.left+c.right)/2,(c.top+c.bottom)/2],N=[(u.left+u.right)/2,(u.top+u.bottom)/2],j=.75*g.delta.font.size;"left"===g.delta.position&&(R=S(g,"deltaPos",0,-1*(c.width*b[g.align]+u.width*(1-b[g.align])+j),D,Math.min),F=B[1]-N[1],h={width:c.width+u.width+j,height:Math.max(c.height,u.height),left:u.left+R,right:c.right,top:Math.min(c.top,u.top+F),bottom:Math.max(c.bottom,u.bottom+F)}),"right"===g.delta.position&&(R=S(g,"deltaPos",0,c.width*(1-b[g.align])+u.width*b[g.align]+j,D,Math.max),F=B[1]-N[1],h={width:c.width+u.width+j,height:Math.max(c.height,u.height),left:c.left,right:u.right+R,top:Math.min(c.top,u.top+F),bottom:Math.max(c.bottom,u.bottom+F)}),"bottom"===g.delta.position&&(R=null,F=u.height,h={width:Math.max(c.width,u.width),height:c.height+u.height,left:Math.min(c.left,u.left),right:Math.max(c.right,u.right),top:c.bottom-c.height,bottom:c.bottom+u.height}),"top"===g.delta.position&&(R=null,F=c.top,h={width:Math.max(c.width,u.width),height:c.height+u.height,left:Math.min(c.left,u.left),right:Math.max(c.right,u.right),top:c.bottom-c.height-u.height,bottom:c.bottom}),z.attr({dx:R,dy:F})}(g._hasNumber||g._hasDelta)&&C.attr("transform",(function(){var t=i.numbersScaler(h);D+=t[2];var e,r=S(g,"numbersScale",1,t[0],D,Math.min);g._scaleNumbers||(r=1),e=g._isAngular?v-r*h.bottom:v-r*(h.top+h.bottom)/2,g._numbersTop=r*h.top+e;var n=h[T];"center"===T&&(n=(h.left+h.right)/2);var a=m-r*n;return a=S(g,"numbersTranslate",0,a,D,Math.max),l(a,e)+s(r)}))}(t,O,e,{numbersX:g,numbersY:E,numbersScaler:L,transitionOpts:r,onComplete:m}),z&&(C={range:I.gauge.axis.range,color:I.gauge.bgcolor,line:{color:I.gauge.bordercolor,width:0},thickness:1},P={range:I.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:I.gauge.bordercolor,width:I.gauge.borderwidth},thickness:1});var Y=O.selectAll("g.angular").data(D?e:[]);Y.exit().remove();var W=O.selectAll("g.angularaxis").data(D?e:[]);W.exit().remove(),D&&function(t,e,r,a){var o,s,f,h,p=r[0].trace,g=a.size,m=a.radius,v=a.innerRadius,y=a.gaugeBg,x=a.gaugeOutline,b=[g.l+g.w/2,g.t+g.h/2+m/2],_=a.gauge,A=a.layer,M=a.transitionOpts,S=a.onComplete,E=Math.PI/2;function L(t){var e=p.gauge.axis.range[0],r=(t-e)/(p.gauge.axis.range[1]-e)*Math.PI-E;return r<-E?-E:r>E?E:r}function C(t){return n.svg.arc().innerRadius((v+m)/2-t/2*(m-v)).outerRadius((v+m)/2+t/2*(m-v)).startAngle(-E)}function P(t){t.attr("d",(function(t){return C(t.thickness).startAngle(L(t.range[0])).endAngle(L(t.range[1]))()}))}_.enter().append("g").classed("angular",!0),_.attr("transform",l(b[0],b[1])),A.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),A.selectAll("g.xangularaxistick,path,text").remove(),(o=k(t,p.gauge.axis)).type="linear",o.range=p.gauge.axis.range,o._id="xangularaxis",o.ticklabeloverflow="allow",o.setScale();var I=function(t){return(o.range[0]-t.x)/(o.range[1]-o.range[0])*Math.PI+Math.PI},O={},z=d.makeLabelFns(o,0).labelStandoff;O.xFn=function(t){var e=I(t);return Math.cos(e)*z},O.yFn=function(t){var e=I(t),r=Math.sin(e)>0?.2:1;return-Math.sin(e)*(z+t.fontSize*r)+Math.abs(Math.cos(e))*(t.fontSize*u)},O.anchorFn=function(t){var e=I(t),r=Math.cos(e);return Math.abs(r)<.1?"middle":r>0?"start":"end"},O.heightFn=function(t,e,r){var n=I(t);return-.5*(1+Math.sin(n))*r};var D=function(t){return l(b[0]+m*Math.cos(t),b[1]-m*Math.sin(t))};f=function(t){return D(I(t))};if(s=d.calcTicks(o),h=d.getTickSigns(o)[2],o.visible){h="inside"===o.ticks?-1:1;var R=(o.linewidth||1)/2;d.drawTicks(t,o,{vals:s,layer:A,path:"M"+h*R+",0h"+h*o.ticklen,transFn:function(t){var e=I(t);return D(e)+"rotate("+-c(e)+")"}}),d.drawLabels(t,o,{vals:s,layer:A,transFn:f,labelFns:O})}var F=[y].concat(p.gauge.steps),B=_.selectAll("g.bg-arc").data(F);B.enter().append("g").classed("bg-arc",!0).append("path"),B.select("path").call(P).call(T),B.exit().remove();var N=C(p.gauge.bar.thickness),j=_.selectAll("g.value-arc").data([p.gauge.bar]);j.enter().append("g").classed("value-arc",!0).append("path");var U=j.select("path");w(M)?(U.transition().duration(M.duration).ease(M.easing).each("end",(function(){S&&S()})).each("interrupt",(function(){S&&S()})).attrTween("d",(V=N,H=L(r[0].lastY),q=L(r[0].y),function(){var t=i(H,q);return function(e){return V.endAngle(t(e))()}})),p._lastValue=r[0].y):U.attr("d","number"==typeof r[0].y?N.endAngle(L(r[0].y)):"M0,0Z");var V,H,q;U.call(T),j.exit().remove(),F=[];var G=p.gauge.threshold.value;(G||0===G)&&F.push({range:[G,G],color:p.gauge.threshold.color,line:{color:p.gauge.threshold.line.color,width:p.gauge.threshold.line.width},thickness:p.gauge.threshold.thickness});var Y=_.selectAll("g.threshold-arc").data(F);Y.enter().append("g").classed("threshold-arc",!0).append("path"),Y.select("path").call(P).call(T),Y.exit().remove();var W=_.selectAll("g.gauge-outline").data([x]);W.enter().append("g").classed("gauge-outline",!0).append("path"),W.select("path").call(P).call(T),W.exit().remove()}(t,0,e,{radius:U,innerRadius:V,gauge:Y,layer:W,size:B,gaugeBg:C,gaugeOutline:P,transitionOpts:r,onComplete:m});var X=O.selectAll("g.bullet").data(R?e:[]);X.exit().remove();var Z=O.selectAll("g.bulletaxis").data(R?e:[]);Z.exit().remove(),R&&function(t,e,r,n){var i,a,o,s,c,u=r[0].trace,f=n.gauge,p=n.layer,g=n.gaugeBg,m=n.gaugeOutline,v=n.size,x=u.domain,b=n.transitionOpts,_=n.onComplete;f.enter().append("g").classed("bullet",!0),f.attr("transform",l(v.l,v.t)),p.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),p.selectAll("g.xbulletaxistick,path,text").remove();var A=v.h,M=u.gauge.bar.thickness*A,S=x.x[0],E=x.x[0]+(x.x[1]-x.x[0])*(u._hasNumber||u._hasDelta?1-h.bulletNumberDomainSize:1);(i=k(t,u.gauge.axis))._id="xbulletaxis",i.domain=[S,E],i.setScale(),a=d.calcTicks(i),o=d.makeTransTickFn(i),s=d.getTickSigns(i)[2],c=v.t+v.h,i.visible&&(d.drawTicks(t,i,{vals:"inside"===i.ticks?d.clipEnds(i,a):a,layer:p,path:d.makeTickPath(i,c,s),transFn:o}),d.drawLabels(t,i,{vals:a,layer:p,transFn:o,labelFns:d.makeLabelFns(i,c)}));function L(t){t.attr("width",(function(t){return Math.max(0,i.c2p(t.range[1])-i.c2p(t.range[0]))})).attr("x",(function(t){return i.c2p(t.range[0])})).attr("y",(function(t){return.5*(1-t.thickness)*A})).attr("height",(function(t){return t.thickness*A}))}var C=[g].concat(u.gauge.steps),P=f.selectAll("g.bg-bullet").data(C);P.enter().append("g").classed("bg-bullet",!0).append("rect"),P.select("rect").call(L).call(T),P.exit().remove();var I=f.selectAll("g.value-bullet").data([u.gauge.bar]);I.enter().append("g").classed("value-bullet",!0).append("rect"),I.select("rect").attr("height",M).attr("y",(A-M)/2).call(T),w(b)?I.select("rect").transition().duration(b.duration).ease(b.easing).each("end",(function(){_&&_()})).each("interrupt",(function(){_&&_()})).attr("width",Math.max(0,i.c2p(Math.min(u.gauge.axis.range[1],r[0].y)))):I.select("rect").attr("width","number"==typeof r[0].y?Math.max(0,i.c2p(Math.min(u.gauge.axis.range[1],r[0].y))):0);I.exit().remove();var O=r.filter((function(){return u.gauge.threshold.value||0===u.gauge.threshold.value})),z=f.selectAll("g.threshold-bullet").data(O);z.enter().append("g").classed("threshold-bullet",!0).append("line"),z.select("line").attr("x1",i.c2p(u.gauge.threshold.value)).attr("x2",i.c2p(u.gauge.threshold.value)).attr("y1",(1-u.gauge.threshold.thickness)/2*A).attr("y2",(1-(1-u.gauge.threshold.thickness)/2)*A).call(y.stroke,u.gauge.threshold.line.color).style("stroke-width",u.gauge.threshold.line.width),z.exit().remove();var D=f.selectAll("g.gauge-outline").data([m]);D.enter().append("g").classed("gauge-outline",!0).append("rect"),D.select("rect").call(L).call(T),D.exit().remove()}(t,0,e,{gauge:X,layer:Z,size:B,gaugeBg:C,gaugeOutline:P,transitionOpts:r,onComplete:m});var J=O.selectAll("text.title").data(e);J.exit().remove(),J.enter().append("text").classed("title",!0),J.attr("text-anchor",(function(){return R?x.right:x[I.title.align]})).text(I.title.text).call(f.font,I.title.font).call(p.convertToTspans,t),J.attr("transform",(function(){var t,e=B.l+B.w*b[I.title.align],r=h.titlePadding,n=f.bBox(J.node());if(z){if(D)if(I.gauge.axis.visible)t=f.bBox(W.node()).top-r-n.bottom;else t=B.t+B.h/2-U/2-n.bottom-r;R&&(t=E-(n.top+n.bottom)/2,e=B.l-h.bulletPadding*B.w)}else t=I._numbersTop-r-n.bottom;return l(e,t)}))}))}},{"../../components/color":366,"../../components/drawing":388,"../../constants/alignment":471,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_defaults":556,"../../plots/cartesian/layout_attributes":569,"../../plots/cartesian/position_defaults":572,"./constants":858,"@plotly/d3":58,"d3-interpolate":116}],862:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../mesh3d/attributes"),s=t("../../plots/attributes"),l=t("../../lib/extend").extendFlat,c=t("../../plot_api/edit_types").overrideAll;var u=e.exports=c(l({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:a(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),valuehoverformat:i("value",1),showlegend:l({},s.showlegend,{dflt:!1})},n("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:o.opacity,lightposition:o.lightposition,lighting:o.lighting,flatshading:o.flatshading,contour:o.contour,hoverinfo:l({},s.hoverinfo)}),"calc","nested");u.flatshading.dflt=!0,u.lighting.facenormalsepsilon.dflt=0,u.x.editType=u.y.editType=u.z.editType=u.value.editType="calc+clearAxisTypes",u.transforms=void 0},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../mesh3d/attributes":867}],863:[function(t,e,r){"use strict";var n=t("../../components/colorscale/calc"),i=t("../streamtube/calc").processGrid,a=t("../streamtube/calc").filter;e.exports=function(t,e){e._len=Math.min(e.x.length,e.y.length,e.z.length,e.value.length),e._x=a(e.x,e._len),e._y=a(e.y,e._len),e._z=a(e.z,e._len),e._value=a(e.value,e._len);var r=i(e);e._gridFill=r.fill,e._Xs=r.Xs,e._Ys=r.Ys,e._Zs=r.Zs,e._len=r.len;for(var o=1/0,s=-1/0,l=0;l<e._len;l++){var c=e._value[l];o=Math.min(o,c),s=Math.max(s,c)}e._minValues=o,e._maxValues=s,e._vMin=void 0===e.isomin||null===e.isomin?o:e.isomin,e._vMax=void 0===e.isomax||null===e.isomin?s:e.isomax,n(t,e,{vals:[e._vMin,e._vMax],containerStr:"",cLetter:"c"})}},{"../../components/colorscale/calc":374,"../streamtube/calc":1041}],864:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_mesh3d,i=t("../../lib/gl_format_color").parseColorScale,a=t("../../lib/str2rgbarray"),o=t("../../components/colorscale").extractOpts,s=t("../../plots/gl3d/zip3"),l=function(t,e){for(var r=e.length-1;r>0;r--){var n=Math.min(e[r],e[r-1]),i=Math.max(e[r],e[r-1]);if(i>n&&n<t&&t<=i)return{id:r,distRatio:(i-t)/(i-n)}}return{id:0,distRatio:0}};function c(t,e,r){this.scene=t,this.uid=r,this.mesh=e,this.name="",this.data=null,this.showContour=!1}var u=c.prototype;u.handlePick=function(t){if(t.object===this.mesh){var e=t.data.index,r=this.data._meshX[e],n=this.data._meshY[e],i=this.data._meshZ[e],a=this.data._Ys.length,o=this.data._Zs.length,s=l(r,this.data._Xs).id,c=l(n,this.data._Ys).id,u=l(i,this.data._Zs).id,f=t.index=u+o*c+o*a*s;t.traceCoordinate=[this.data._meshX[f],this.data._meshY[f],this.data._meshZ[f],this.data._value[f]];var h=this.data.hovertext||this.data.text;return Array.isArray(h)&&void 0!==h[f]?t.textLabel=h[f]:h&&(t.textLabel=h),!0}},u.update=function(t){var e=this.scene,r=e.fullSceneLayout;function n(t,e,r,n){return e.map((function(e){return t.d2l(e,0,n)*r}))}this.data=h(t);var l={positions:s(n(r.xaxis,t._meshX,e.dataScale[0],t.xcalendar),n(r.yaxis,t._meshY,e.dataScale[1],t.ycalendar),n(r.zaxis,t._meshZ,e.dataScale[2],t.zcalendar)),cells:s(t._meshI,t._meshJ,t._meshK),lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,contourEnable:t.contour.show,contourColor:a(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading},c=o(t);l.vertexIntensity=t._meshIntensity,l.vertexIntensityBounds=[c.min,c.max],l.colormap=i(t),this.mesh.update(l)},u.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};var f=["xyz","xzy","yxz","yzx","zxy","zyx"];function h(t){t._meshI=[],t._meshJ=[],t._meshK=[];var e,r,n,i,a,o,s,c=t.surface.show,u=t.spaceframe.show,h=t.surface.fill,p=t.spaceframe.fill,d=!1,g=!1,m=0,v=t._Xs,y=t._Ys,x=t._Zs,b=v.length,_=y.length,w=x.length,T=f.indexOf(t._gridFill.replace(/-/g,"").replace(/\+/g,"")),k=function(t,e,r){switch(T){case 5:return r+w*e+w*_*t;case 4:return r+w*t+w*b*e;case 3:return e+_*r+_*w*t;case 2:return e+_*t+_*b*r;case 1:return t+b*r+b*w*e;default:return t+b*e+b*_*r}},A=t._minValues,M=t._maxValues,S=t._vMin,E=t._vMax;function L(t,e,s){for(var l=o.length,c=r;c<l;c++)if(t===n[c]&&e===i[c]&&s===a[c])return c;return-1}function C(){r=e}function P(){n=[],i=[],a=[],o=[],e=0,C()}function I(t,r,s,l){return n.push(t),i.push(r),a.push(s),o.push(l),++e-1}function O(t,e,r){for(var n=[],i=0;i<t.length;i++)n[i]=t[i]*(1-r)+r*e[i];return n}function z(t){s=t}function D(t,e){return"all"===t||null===t||t.indexOf(e)>-1}function R(t,e){return null===t?e:t}function F(e,r,n){C();var i,a,o,l=[r],c=[n];if(s>=1)l=[r],c=[n];else if(s>0){var u=function(t,e){var r=t[0],n=t[1],i=t[2],a=function(t,e,r){for(var n=[],i=0;i<t.length;i++)n[i]=(t[i]+e[i]+r[i])/3;return n}(r,n,i),o=Math.sqrt(1-s),l=O(a,r,o),c=O(a,n,o),u=O(a,i,o),f=e[0],h=e[1],p=e[2];return{xyzv:[[r,n,c],[c,l,r],[n,i,u],[u,c,n],[i,r,l],[l,u,i]],abc:[[f,h,-1],[-1,-1,f],[h,p,-1],[-1,-1,h],[p,f,-1],[-1,-1,p]]}}(r,n);l=u.xyzv,c=u.abc}for(var f=0;f<l.length;f++){r=l[f],n=c[f];for(var h=[],p=0;p<3;p++){var d=r[p][0],g=r[p][1],v=r[p][2],y=r[p][3],x=n[p]>-1?n[p]:L(d,g,v);h[p]=x>-1?x:I(d,g,v,R(e,y))}i=h[0],a=h[1],o=h[2],t._meshI.push(i),t._meshJ.push(a),t._meshK.push(o),++m}}function B(t,e,r,n){var i=t[3];i<r&&(i=r),i>n&&(i=n);for(var a=(t[3]-i)/(t[3]-e[3]+1e-9),o=[],s=0;s<4;s++)o[s]=(1-a)*t[s]+a*e[s];return o}function N(t,e,r){return t>=e&&t<=r}function j(t){var e=.001*(E-S);return t>=S-e&&t<=E+e}function U(e){for(var r=[],n=0;n<4;n++){var i=e[n];r.push([t._x[i],t._y[i],t._z[i],t._value[i]])}return r}function V(t,e,r,n,i,a){a||(a=1),r=[-1,-1,-1];var o=!1,s=[N(e[0][3],n,i),N(e[1][3],n,i),N(e[2][3],n,i)];if(!s[0]&&!s[1]&&!s[2])return!1;var l=function(t,e,r){return j(e[0][3])&&j(e[1][3])&&j(e[2][3])?(F(t,e,r),!0):a<3&&V(t,e,r,S,E,++a)};if(s[0]&&s[1]&&s[2])return l(t,e,r)||o;var c=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach((function(a){if(s[a[0]]&&s[a[1]]&&!s[a[2]]){var u=e[a[0]],f=e[a[1]],h=e[a[2]],p=B(h,u,n,i),d=B(h,f,n,i);o=l(t,[d,p,u],[-1,-1,r[a[0]]])||o,o=l(t,[u,f,d],[r[a[0]],r[a[1]],-1])||o,c=!0}})),c||[[0,1,2],[1,2,0],[2,0,1]].forEach((function(a){if(s[a[0]]&&!s[a[1]]&&!s[a[2]]){var u=e[a[0]],f=e[a[1]],h=e[a[2]],p=B(f,u,n,i),d=B(h,u,n,i);o=l(t,[d,p,u],[-1,-1,r[a[0]]])||o,c=!0}})),o}function H(t,e,r,n){var i=!1,a=U(e),o=[N(a[0][3],r,n),N(a[1][3],r,n),N(a[2][3],r,n),N(a[3][3],r,n)];if(!(o[0]||o[1]||o[2]||o[3]))return i;if(o[0]&&o[1]&&o[2]&&o[3])return g&&(i=function(t,e,r){var n=function(n,i,a){F(t,[e[n],e[i],e[a]],[r[n],r[i],r[a]])};n(0,1,2),n(3,0,1),n(2,3,0),n(1,2,3)}(t,a,e)||i),i;var s=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach((function(l){if(o[l[0]]&&o[l[1]]&&o[l[2]]&&!o[l[3]]){var c=a[l[0]],u=a[l[1]],f=a[l[2]],h=a[l[3]];if(g)i=F(t,[c,u,f],[e[l[0]],e[l[1]],e[l[2]]])||i;else{var p=B(h,c,r,n),d=B(h,u,r,n),m=B(h,f,r,n);i=F(null,[p,d,m],[-1,-1,-1])||i}s=!0}})),s?i:([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach((function(l){if(o[l[0]]&&o[l[1]]&&!o[l[2]]&&!o[l[3]]){var c=a[l[0]],u=a[l[1]],f=a[l[2]],h=a[l[3]],p=B(f,c,r,n),d=B(f,u,r,n),m=B(h,u,r,n),v=B(h,c,r,n);g?(i=F(t,[c,v,p],[e[l[0]],-1,-1])||i,i=F(t,[u,d,m],[e[l[1]],-1,-1])||i):i=function(t,e,r){var n=function(n,i,a){F(t,[e[n],e[i],e[a]],[r[n],r[i],r[a]])};n(0,1,2),n(2,3,0)}(null,[p,d,m,v],[-1,-1,-1,-1])||i,s=!0}})),s||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach((function(l){if(o[l[0]]&&!o[l[1]]&&!o[l[2]]&&!o[l[3]]){var c=a[l[0]],u=a[l[1]],f=a[l[2]],h=a[l[3]],p=B(u,c,r,n),d=B(f,c,r,n),m=B(h,c,r,n);g?(i=F(t,[c,p,d],[e[l[0]],-1,-1])||i,i=F(t,[c,d,m],[e[l[0]],-1,-1])||i,i=F(t,[c,m,p],[e[l[0]],-1,-1])||i):i=F(null,[p,d,m],[-1,-1,-1])||i,s=!0}})),i)}function q(t,e,r,n,i,a,o,s,l,c,u){var f=!1;return d&&(D(t,"A")&&(f=H(null,[e,r,n,a],c,u)||f),D(t,"B")&&(f=H(null,[r,n,i,l],c,u)||f),D(t,"C")&&(f=H(null,[r,a,o,l],c,u)||f),D(t,"D")&&(f=H(null,[n,a,s,l],c,u)||f),D(t,"E")&&(f=H(null,[r,n,a,l],c,u)||f)),g&&(f=H(t,[r,n,a,l],c,u)||f),f}function G(t,e,r,n,i,a,o,s){return[!0===s[0]||V(t,U([e,r,n]),[e,r,n],a,o),!0===s[1]||V(t,U([n,i,e]),[n,i,e],a,o)]}function Y(t,e,r,n,i,a,o,s,l){return s?G(t,e,r,i,n,a,o,l):G(t,r,i,n,e,a,o,l)}function W(t,e,r,n,i,a,o){var s,l,c,u,f=!1,h=function(){f=V(t,[s,l,c],[-1,-1,-1],i,a)||f,f=V(t,[c,u,s],[-1,-1,-1],i,a)||f},p=o[0],d=o[1],g=o[2];return p&&(s=O(U([k(e,r-0,n-0)])[0],U([k(e-1,r-0,n-0)])[0],p),l=O(U([k(e,r-0,n-1)])[0],U([k(e-1,r-0,n-1)])[0],p),c=O(U([k(e,r-1,n-1)])[0],U([k(e-1,r-1,n-1)])[0],p),u=O(U([k(e,r-1,n-0)])[0],U([k(e-1,r-1,n-0)])[0],p),h()),d&&(s=O(U([k(e-0,r,n-0)])[0],U([k(e-0,r-1,n-0)])[0],d),l=O(U([k(e-0,r,n-1)])[0],U([k(e-0,r-1,n-1)])[0],d),c=O(U([k(e-1,r,n-1)])[0],U([k(e-1,r-1,n-1)])[0],d),u=O(U([k(e-1,r,n-0)])[0],U([k(e-1,r-1,n-0)])[0],d),h()),g&&(s=O(U([k(e-0,r-0,n)])[0],U([k(e-0,r-0,n-1)])[0],g),l=O(U([k(e-0,r-1,n)])[0],U([k(e-0,r-1,n-1)])[0],g),c=O(U([k(e-1,r-1,n)])[0],U([k(e-1,r-1,n-1)])[0],g),u=O(U([k(e-1,r-0,n)])[0],U([k(e-1,r-0,n-1)])[0],g),h()),f}function X(t,e,r,n,i,a,o,s,l,c,u,f){var h=t;return f?(d&&"even"===t&&(h=null),q(h,e,r,n,i,a,o,s,l,c,u)):(d&&"odd"===t&&(h=null),q(h,l,s,o,a,i,n,r,e,c,u))}function Z(t,e,r,n,i){for(var a=[],o=0,s=0;s<e.length;s++)for(var l=e[s],c=1;c<w;c++)for(var u=1;u<_;u++)a.push(Y(t,k(l,u-1,c-1),k(l,u-1,c),k(l,u,c-1),k(l,u,c),r,n,(l+u+c)%2,i&&i[o]?i[o]:[])),o++;return a}function J(t,e,r,n,i){for(var a=[],o=0,s=0;s<e.length;s++)for(var l=e[s],c=1;c<b;c++)for(var u=1;u<w;u++)a.push(Y(t,k(c-1,l,u-1),k(c,l,u-1),k(c-1,l,u),k(c,l,u),r,n,(c+l+u)%2,i&&i[o]?i[o]:[])),o++;return a}function K(t,e,r,n,i){for(var a=[],o=0,s=0;s<e.length;s++)for(var l=e[s],c=1;c<_;c++)for(var u=1;u<b;u++)a.push(Y(t,k(u-1,c-1,l),k(u-1,c,l),k(u,c-1,l),k(u,c,l),r,n,(u+c+l)%2,i&&i[o]?i[o]:[])),o++;return a}function Q(t,e,r){for(var n=1;n<w;n++)for(var i=1;i<_;i++)for(var a=1;a<b;a++)X(t,k(a-1,i-1,n-1),k(a-1,i-1,n),k(a-1,i,n-1),k(a-1,i,n),k(a,i-1,n-1),k(a,i-1,n),k(a,i,n-1),k(a,i,n),e,r,(a+i+n)%2)}function $(t,e,r){d=!0,Q(t,e,r),d=!1}function tt(t,e,r,n,i,a){for(var o=[],s=0,l=0;l<e.length;l++)for(var c=e[l],u=1;u<w;u++)for(var f=1;f<_;f++)o.push(W(t,c,f,u,r,n,i[l],a&&a[s]&&a[s])),s++;return o}function et(t,e,r,n,i,a){for(var o=[],s=0,l=0;l<e.length;l++)for(var c=e[l],u=1;u<b;u++)for(var f=1;f<w;f++)o.push(W(t,u,c,f,r,n,i[l],a&&a[s]&&a[s])),s++;return o}function rt(t,e,r,n,i,a){for(var o=[],s=0,l=0;l<e.length;l++)for(var c=e[l],u=1;u<_;u++)for(var f=1;f<b;f++)o.push(W(t,f,u,c,r,n,i[l],a&&a[s]&&a[s])),s++;return o}function nt(t,e){for(var r=[],n=t;n<e;n++)r.push(n);return r}return function(){if(P(),function(){for(var e=0;e<b;e++)for(var r=0;r<_;r++)for(var n=0;n<w;n++){var i=k(e,r,n);I(t._x[i],t._y[i],t._z[i],t._value[i])}}(),u&&p&&(z(p),g=!0,Q(null,S,E),g=!1),c&&h){z(h);for(var e=t.surface.pattern,r=t.surface.count,s=0;s<r;s++){var f=1===r?.5:s/(r-1),d=(1-f)*S+f*E,T=Math.abs(d-A)>Math.abs(d-M)?[A,d]:[d,M];$(e,T[0],T[1])}}var L=[[Math.min(S,M),Math.max(S,M)],[Math.min(A,E),Math.max(A,E)]];["x","y","z"].forEach((function(e){for(var r=[],n=0;n<L.length;n++){var i=0,a=L[n][0],o=L[n][1],s=t.slices[e];if(s.show&&s.fill){z(s.fill);var c=[],u=[],f=[];if(s.locations.length)for(var h=0;h<s.locations.length;h++){var p=l(s.locations[h],"x"===e?v:"y"===e?y:x);0===p.distRatio?c.push(p.id):p.id>0&&(u.push(p.id),"x"===e?f.push([p.distRatio,0,0]):"y"===e?f.push([0,p.distRatio,0]):f.push([0,0,p.distRatio]))}else c=nt(1,"x"===e?b-1:"y"===e?_-1:w-1);u.length>0&&(r[i]="x"===e?tt(null,u,a,o,f,r[i]):"y"===e?et(null,u,a,o,f,r[i]):rt(null,u,a,o,f,r[i]),i++),c.length>0&&(r[i]="x"===e?Z(null,c,a,o,r[i]):"y"===e?J(null,c,a,o,r[i]):K(null,c,a,o,r[i]),i++)}var d=t.caps[e];d.show&&d.fill&&(z(d.fill),r[i]="x"===e?Z(null,[0,b-1],a,o,r[i]):"y"===e?J(null,[0,_-1],a,o,r[i]):K(null,[0,w-1],a,o,r[i]),i++)}})),0===m&&P(),t._meshX=n,t._meshY=i,t._meshZ=a,t._meshIntensity=o,t._Xs=v,t._Ys=y,t._Zs=x}(),t}e.exports={findNearestOnAxis:l,generateIsoMeshes:h,createIsosurfaceTrace:function(t,e){var r=t.glplot.gl,i=n({gl:r}),a=new c(t,i,e.uid);return i._trace=a,a.update(e),t.glplot.add(i),a}}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609}],865:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=t("./attributes"),o=t("../../components/colorscale/defaults");function s(t,e,r,n,a){var s=a("isomin"),l=a("isomax");null!=l&&null!=s&&s>l&&(e.isomin=null,e.isomax=null);var c=a("x"),u=a("y"),f=a("z"),h=a("value");c&&c.length&&u&&u.length&&f&&f.length&&h&&h.length?(i.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y","z"],n),a("valuehoverformat"),["x","y","z"].forEach((function(t){a(t+"hoverformat");var e="caps."+t;a(e+".show")&&a(e+".fill");var r="slices."+t;a(r+".show")&&(a(r+".fill"),a(r+".locations"))})),a("spaceframe.show")&&a("spaceframe.fill"),a("surface.show")&&(a("surface.count"),a("surface.fill"),a("surface.pattern")),a("contour.show")&&(a("contour.color"),a("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach((function(t){a(t)})),o(t,e,n,a,{prefix:"",cLetter:"c"}),e._length=null):e.visible=!1}e.exports={supplyDefaults:function(t,e,r,i){s(t,e,r,i,(function(r,i){return n.coerce(t,e,a,r,i)}))},supplyIsoDefaults:s}},{"../../components/colorscale/defaults":376,"../../lib":503,"../../registry":638,"./attributes":862}],866:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults").supplyDefaults,calc:t("./calc"),colorbar:{min:"cmin",max:"cmax"},plot:t("./convert").createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","showLegend"],meta:{}}},{"../../plots/gl3d":598,"./attributes":862,"./calc":863,"./convert":864,"./defaults":865}],867:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../surface/attributes"),s=t("../../plots/attributes"),l=t("../../lib/extend").extendFlat;e.exports=l({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:a({editType:"calc"}),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},n("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:o.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:l({},o.contours.x.show,{}),color:o.contours.x.color,width:o.contours.x.width,editType:"calc"},lightposition:{x:l({},o.lightposition.x,{dflt:1e5}),y:l({},o.lightposition.y,{dflt:1e5}),z:l({},o.lightposition.z,{dflt:0}),editType:"calc"},lighting:l({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},o.lighting),hoverinfo:l({},s.hoverinfo,{editType:"calc"}),showlegend:l({},s.showlegend,{dflt:!1})})},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../surface/attributes":1057}],868:[function(t,e,r){"use strict";var n=t("../../components/colorscale/calc");e.exports=function(t,e){e.intensity&&n(t,e,{vals:e.intensity,containerStr:"",cLetter:"c"})}},{"../../components/colorscale/calc":374}],869:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_mesh3d,i=t("../../../stackgl_modules").delaunay_triangulate,a=t("../../../stackgl_modules").alpha_shape,o=t("../../../stackgl_modules").convex_hull,s=t("../../lib/gl_format_color").parseColorScale,l=t("../../lib/str2rgbarray"),c=t("../../components/colorscale").extractOpts,u=t("../../plots/gl3d/zip3");function f(t,e,r){this.scene=t,this.uid=r,this.mesh=e,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var h=f.prototype;function p(t){for(var e=[],r=t.length,n=0;n<r;n++)e[n]=l(t[n]);return e}function d(t,e,r,n){for(var i=[],a=e.length,o=0;o<a;o++)i[o]=t.d2l(e[o],0,n)*r;return i}function g(t){for(var e=[],r=t.length,n=0;n<r;n++)e[n]=Math.round(t[n]);return e}function m(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n]<=-.5||t[n]>=e-.5)return!1;return!0}h.handlePick=function(t){if(t.object===this.mesh){var e=t.index=t.data.index;t.data._cellCenter?t.traceCoordinate=t.data.dataCoordinate:t.traceCoordinate=[this.data.x[e],this.data.y[e],this.data.z[e]];var r=this.data.hovertext||this.data.text;return Array.isArray(r)&&void 0!==r[e]?t.textLabel=r[e]:r&&(t.textLabel=r),!0}},h.update=function(t){var e=this.scene,r=e.fullSceneLayout;this.data=t;var n,f=t.x.length,h=u(d(r.xaxis,t.x,e.dataScale[0],t.xcalendar),d(r.yaxis,t.y,e.dataScale[1],t.ycalendar),d(r.zaxis,t.z,e.dataScale[2],t.zcalendar));if(t.i&&t.j&&t.k){if(t.i.length!==t.j.length||t.j.length!==t.k.length||!m(t.i,f)||!m(t.j,f)||!m(t.k,f))return;n=u(g(t.i),g(t.j),g(t.k))}else n=0===t.alphahull?o(h):t.alphahull>0?a(t.alphahull,h):function(t,e){for(var r=["x","y","z"].indexOf(t),n=[],a=e.length,o=0;o<a;o++)n[o]=[e[o][(r+1)%3],e[o][(r+2)%3]];return i(n)}(t.delaunayaxis,h);var v={positions:h,cells:n,lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,contourEnable:t.contour.show,contourColor:l(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading};if(t.intensity){var y=c(t);this.color="#fff";var x=t.intensitymode;v[x+"Intensity"]=t.intensity,v[x+"IntensityBounds"]=[y.min,y.max],v.colormap=s(t)}else t.vertexcolor?(this.color=t.vertexcolor[0],v.vertexColors=p(t.vertexcolor)):t.facecolor?(this.color=t.facecolor[0],v.cellColors=p(t.facecolor)):(this.color=t.color,v.meshColor=l(t.color));this.mesh.update(v)},h.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var r=t.glplot.gl,i=n({gl:r}),a=new f(t,i,e.uid);return i._trace=a,a.update(e),t.glplot.add(i),a}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609}],870:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../components/colorscale/defaults"),o=t("./attributes");e.exports=function(t,e,r,s){function l(r,n){return i.coerce(t,e,o,r,n)}function c(t){var e=t.map((function(t){var e=l(t);return e&&i.isArrayOrTypedArray(e)?e:null}));return e.every((function(t){return t&&t.length===e[0].length}))&&e}c(["x","y","z"])?(c(["i","j","k"]),(!e.i||e.j&&e.k)&&(!e.j||e.k&&e.i)&&(!e.k||e.i&&e.j)?(n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y","z"],s),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach((function(t){l(t)})),l("contour.show")&&(l("contour.color"),l("contour.width")),"intensity"in t?(l("intensity"),l("intensitymode"),a(t,e,s,l,{prefix:"",cLetter:"c"})):(e.showscale=!1,"facecolor"in t?l("facecolor"):"vertexcolor"in t?l("vertexcolor"):l("color",r)),l("text"),l("hovertext"),l("hovertemplate"),l("xhoverformat"),l("yhoverformat"),l("zhoverformat"),e._length=null):e.visible=!1):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"../../registry":638,"./attributes":867}],871:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),colorbar:{min:"cmin",max:"cmax"},plot:t("./convert"),moduleType:"trace",name:"mesh3d",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","showLegend"],meta:{}}},{"../../plots/gl3d":598,"./attributes":867,"./calc":868,"./convert":869,"./defaults":870}],872:[function(t,e,r){"use strict";var n=t("../../lib").extendFlat,i=t("../scatter/attributes"),a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,o=t("../../components/drawing/attributes").dash,s=t("../../components/fx/attributes"),l=t("../../constants/delta.js"),c=l.INCREASING.COLOR,u=l.DECREASING.COLOR,f=i.line;function h(t){return{line:{color:n({},f.color,{dflt:t}),width:f.width,dash:o,editType:"style"},editType:"style"}}e.exports={xperiod:i.xperiod,xperiod0:i.xperiod0,xperiodalignment:i.xperiodalignment,xhoverformat:a("x"),yhoverformat:a("y"),x:{valType:"data_array",editType:"calc+clearAxisTypes"},open:{valType:"data_array",editType:"calc"},high:{valType:"data_array",editType:"calc"},low:{valType:"data_array",editType:"calc"},close:{valType:"data_array",editType:"calc"},line:{width:n({},f.width,{}),dash:n({},o,{}),editType:"style"},increasing:h(c),decreasing:h(u),text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},tickwidth:{valType:"number",min:0,max:.5,dflt:.3,editType:"calc"},hoverlabel:n({},s.hoverlabel,{split:{valType:"boolean",dflt:!1,editType:"style"}})}},{"../../components/drawing/attributes":387,"../../components/fx/attributes":397,"../../constants/delta.js":473,"../../lib":503,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":926}],873:[function(t,e,r){"use strict";var n=t("../../lib"),i=n._,a=t("../../plots/cartesian/axes"),o=t("../../plots/cartesian/align_period"),s=t("../../constants/numerical").BADNUM;function l(t,e,r,n){return{o:t,h:e,l:r,c:n}}function c(t,e,r,o,l,c){for(var u=l.makeCalcdata(e,"open"),f=l.makeCalcdata(e,"high"),h=l.makeCalcdata(e,"low"),p=l.makeCalcdata(e,"close"),d=Array.isArray(e.text),g=Array.isArray(e.hovertext),m=!0,v=null,y=!!e.xperiodalignment,x=[],b=0;b<o.length;b++){var _=o[b],w=u[b],T=f[b],k=h[b],A=p[b];if(_!==s&&w!==s&&T!==s&&k!==s&&A!==s){A===w?null!==v&&A!==v&&(m=A>v):m=A>w,v=A;var M=c(w,T,k,A);M.pos=_,M.yc=(w+A)/2,M.i=b,M.dir=m?"increasing":"decreasing",M.x=M.pos,M.y=[k,T],y&&(M.orig_p=r[b]),d&&(M.tx=e.text[b]),g&&(M.htx=e.hovertext[b]),x.push(M)}else x.push({pos:_,empty:!0})}return e._extremes[l._id]=a.findExtremes(l,n.concat(h,f),{padded:!0}),x.length&&(x[0].t={labels:{open:i(t,"open:")+" ",high:i(t,"high:")+" ",low:i(t,"low:")+" ",close:i(t,"close:")+" "}}),x}e.exports={calc:function(t,e){var r=a.getFromId(t,e.xaxis),i=a.getFromId(t,e.yaxis),s=function(t,e,r){var i=r._minDiff;if(!i){var a,s=t._fullData,l=[];for(i=1/0,a=0;a<s.length;a++){var c=s[a];if("ohlc"===c.type&&!0===c.visible&&c.xaxis===e._id){l.push(c);var u=e.makeCalcdata(c,"x");c._origX=u;var f=o(r,e,"x",u).vals;c._xcalc=f;var h=n.distinctVals(f).minDiff;h&&isFinite(h)&&(i=Math.min(i,h))}}for(i===1/0&&(i=1),a=0;a<l.length;a++)l[a]._minDiff=i}return i*r.tickwidth}(t,r,e),u=e._minDiff;e._minDiff=null;var f=e._origX;e._origX=null;var h=e._xcalc;e._xcalc=null;var p=c(t,e,f,h,i,l);return e._extremes[r._id]=a.findExtremes(r,h,{vpad:u/2}),p.length?(n.extendFlat(p[0].t,{wHover:u/2,tickLen:s}),p):[{t:{empty:!0}}]},calcCommon:c}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554}],874:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./ohlc_defaults"),a=t("../scatter/period_defaults"),o=t("./attributes");function s(t,e,r,n){r(n+".line.color"),r(n+".line.width",e.line.width),r(n+".line.dash",e.line.dash)}e.exports=function(t,e,r,l){function c(r,i){return n.coerce(t,e,o,r,i)}i(t,e,c,l)?(a(t,e,l,c,{x:!0}),c("xhoverformat"),c("yhoverformat"),c("line.width"),c("line.dash"),s(t,e,c,"increasing"),s(t,e,c,"decreasing"),c("text"),c("hovertext"),c("tickwidth"),l._requestRangeslider[e.xaxis]=!0):e.visible=!1}},{"../../lib":503,"../scatter/period_defaults":946,"./attributes":872,"./ohlc_defaults":877}],875:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../lib"),a=t("../../components/fx"),o=t("../../components/color"),s=t("../../lib").fillText,l=t("../../constants/delta.js"),c={increasing:l.INCREASING.SYMBOL,decreasing:l.DECREASING.SYMBOL};function u(t,e,r,n){var i,s,l=t.cd,c=t.xa,u=l[0].trace,f=l[0].t,h=u.type,p="ohlc"===h?"l":"min",d="ohlc"===h?"h":"max",g=f.bPos||0,m=f.bdPos||f.tickLen,v=f.wHover,y=Math.min(1,m/Math.abs(c.r2c(c.range[1])-c.r2c(c.range[0])));function x(t){var r=function(t){return t.pos+g-e}(t);return a.inbox(r-v,r+v,i)}function b(t){var e=t[p],n=t[d];return e===n||a.inbox(e-r,n-r,i)}function _(t){return(x(t)+b(t))/2}i=t.maxHoverDistance-y,s=t.maxSpikeDistance-y;var w=a.getDistanceFunction(n,x,b,_);if(a.getClosest(l,w,t),!1===t.index)return null;var T=l[t.index];if(T.empty)return null;var k=u[T.dir],A=k.line.color;return o.opacity(A)&&k.line.width?t.color=A:t.color=k.fillcolor,t.x0=c.c2p(T.pos+g-m,!0),t.x1=c.c2p(T.pos+g+m,!0),t.xLabelVal=void 0!==T.orig_p?T.orig_p:T.pos,t.spikeDistance=_(T)*s/i,t.xSpike=c.c2p(T.pos,!0),t}function f(t,e,r,a){var o=t.cd,s=t.ya,l=o[0].trace,c=o[0].t,f=[],h=u(t,e,r,a);if(!h)return[];var p=o[h.index].hi||l.hoverinfo,d=p.split("+");if(!("all"===p||-1!==d.indexOf("y")))return[];for(var g=["high","open","close","low"],m={},v=0;v<g.length;v++){var y,x=g[v],b=l[x][h.index],_=s.c2p(b,!0);b in m?(y=m[b]).yLabel+="<br>"+c.labels[x]+n.hoverLabelText(s,b,l.yhoverformat):((y=i.extendFlat({},h)).y0=y.y1=_,y.yLabelVal=b,y.yLabel=c.labels[x]+n.hoverLabelText(s,b,l.yhoverformat),y.name="",f.push(y),m[b]=y)}return f}function h(t,e,r,i){var a=t.cd,o=t.ya,l=a[0].trace,f=a[0].t,h=u(t,e,r,i);if(!h)return[];var p=a[h.index],d=h.index=p.i,g=p.dir;function m(t){return f.labels[t]+n.hoverLabelText(o,l[t][d],l.yhoverformat)}var v=p.hi||l.hoverinfo,y=v.split("+"),x="all"===v,b=x||-1!==y.indexOf("y"),_=x||-1!==y.indexOf("text"),w=b?[m("open"),m("high"),m("low"),m("close")+"  "+c[g]]:[];return _&&s(p,l,w),h.extraText=w.join("<br>"),h.y0=h.y1=o.c2p(p.yc,!0),[h]}e.exports={hoverPoints:function(t,e,r,n){return t.cd[0].trace.hoverlabel.split?f(t,e,r,n):h(t,e,r,n)},hoverSplit:f,hoverOnPoints:h}},{"../../components/color":366,"../../components/fx":406,"../../constants/delta.js":473,"../../lib":503,"../../plots/cartesian/axes":554}],876:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"ohlc",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","showLegend"],meta:{},attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc").calc,plot:t("./plot"),style:t("./style"),hoverPoints:t("./hover").hoverPoints,selectPoints:t("./select")}},{"../../plots/cartesian":568,"./attributes":872,"./calc":873,"./defaults":874,"./hover":875,"./plot":878,"./select":879,"./style":880}],877:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib");e.exports=function(t,e,r,a){var o=r("x"),s=r("open"),l=r("high"),c=r("low"),u=r("close");if(r("hoverlabel.split"),n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x"],a),s&&l&&c&&u){var f=Math.min(s.length,l.length,c.length,u.length);return o&&(f=Math.min(f,i.minRowLength(o))),e._length=f,f}}},{"../../lib":503,"../../registry":638}],878:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib");e.exports=function(t,e,r,a){var o=e.yaxis,s=e.xaxis,l=!!s.rangebreaks;i.makeTraceGroups(a,r,"trace ohlc").each((function(t){var e=n.select(this),r=t[0],a=r.t;if(!0!==r.trace.visible||a.empty)e.remove();else{var c=a.tickLen,u=e.selectAll("path").data(i.identity);u.enter().append("path"),u.exit().remove(),u.attr("d",(function(t){if(t.empty)return"M0,0Z";var e=s.c2p(t.pos-c,!0),r=s.c2p(t.pos+c,!0),n=l?(e+r)/2:s.c2p(t.pos,!0);return"M"+e+","+o.c2p(t.o,!0)+"H"+n+"M"+n+","+o.c2p(t.h,!0)+"V"+o.c2p(t.l,!0)+"M"+r+","+o.c2p(t.c,!0)+"H"+n}))}}))}},{"../../lib":503,"@plotly/d3":58}],879:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n=t.cd,i=t.xaxis,a=t.yaxis,o=[],s=n[0].t.bPos||0;if(!1===e)for(r=0;r<n.length;r++)n[r].selected=0;else for(r=0;r<n.length;r++){var l=n[r];e.contains([i.c2p(l.pos+s),a.c2p(l.yc)],null,l.i,t)?(o.push({pointNumber:l.i,x:i.c2d(l.pos),y:a.c2d(l.yc)}),l.selected=1):l.selected=0}return o}},{}],880:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../components/color");e.exports=function(t,e,r){var o=r||n.select(t).selectAll("g.ohlclayer").selectAll("g.trace");o.style("opacity",(function(t){return t[0].trace.opacity})),o.each((function(t){var e=t[0].trace;n.select(this).selectAll("path").each((function(t){if(!t.empty){var r=e[t.dir].line;n.select(this).style("fill","none").call(a.stroke,r.color).call(i.dashLine,r.dash,r.width).style("opacity",e.selectedpoints&&!t.selected?.3:1)}}))}))}},{"../../components/color":366,"../../components/drawing":388,"@plotly/d3":58}],881:[function(t,e,r){"use strict";var n=t("../../lib/extend").extendFlat,i=t("../../plots/attributes"),a=t("../../plots/font_attributes"),o=t("../../components/colorscale/attributes"),s=t("../../plots/template_attributes").hovertemplateAttrs,l=t("../../plots/domain").attributes,c=n({editType:"calc"},o("line",{editTypeOverride:"calc"}),{shape:{valType:"enumerated",values:["linear","hspline"],dflt:"linear",editType:"plot"},hovertemplate:s({editType:"plot",arrayOk:!1},{keys:["count","probability"]})});e.exports={domain:l({name:"parcats",trace:!0,editType:"calc"}),hoverinfo:n({},i.hoverinfo,{flags:["count","probability"],editType:"plot",arrayOk:!1}),hoveron:{valType:"enumerated",values:["category","color","dimension"],dflt:"category",editType:"plot"},hovertemplate:s({editType:"plot",arrayOk:!1},{keys:["count","probability","category","categorycount","colorcount","bandcolorcount"]}),arrangement:{valType:"enumerated",values:["perpendicular","freeform","fixed"],dflt:"perpendicular",editType:"plot"},bundlecolors:{valType:"boolean",dflt:!0,editType:"plot"},sortpaths:{valType:"enumerated",values:["forward","backward"],dflt:"forward",editType:"plot"},labelfont:a({editType:"calc"}),tickfont:a({editType:"calc"}),dimensions:{_isLinkedToArray:"dimension",label:{valType:"string",editType:"calc"},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},ticktext:{valType:"data_array",editType:"calc"},values:{valType:"data_array",dflt:[],editType:"calc"},displayindex:{valType:"integer",editType:"calc"},editType:"calc",visible:{valType:"boolean",dflt:!0,editType:"calc"}},line:c,counts:{valType:"number",min:0,dflt:1,arrayOk:!0,editType:"calc"},customdata:void 0,hoverlabel:void 0,ids:void 0,legendgroup:void 0,legendrank:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],882:[function(t,e,r){"use strict";var n=t("../../plots/get_data").getModuleCalcData,i=t("./plot");r.name="parcats",r.plot=function(t,e,r,a){var o=n(t.calcdata,"parcats");if(o.length){var s=o[0];i(t,s,r,a)}},r.clean=function(t,e,r,n){var i=n._has&&n._has("parcats"),a=e._has&&e._has("parcats");i&&!a&&n._paperdiv.selectAll(".parcats").remove()}},{"../../plots/get_data":593,"./plot":887}],883:[function(t,e,r){"use strict";var n=t("../../lib/gup").wrap,i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/calc"),o=t("../../lib/filter_unique.js"),s=t("../../components/drawing"),l=t("../../lib"),c=t("fast-isnumeric");function u(t,e,r){t.valueInds.push(e),t.count+=r}function f(t,e,r){return{categoryInds:t,color:e,rawColor:r,valueInds:[],count:0}}function h(t,e,r){t.valueInds.push(e),t.count+=r}e.exports=function(t,e){var r=l.filterVisible(e.dimensions);if(0===r.length)return[];var p,d,g,m=r.map((function(t){var e;if("trace"===t.categoryorder)e=null;else if("array"===t.categoryorder)e=t.categoryarray;else{e=o(t.values);for(var r=!0,n=0;n<e.length;n++)if(!c(e[n])){r=!1;break}e.sort(r?l.sorterAsc:void 0),"category descending"===t.categoryorder&&(e=e.reverse())}return function(t,e){e=null==e?[]:e.map((function(t){return t}));var r={},n={},i=[];e.forEach((function(t,e){r[t]=0,n[t]=e}));for(var a=0;a<t.length;a++){var o,s=t[a];void 0===r[s]?(r[s]=1,o=e.push(s)-1,n[s]=o):(r[s]++,o=n[s]),i.push(o)}var l=e.map((function(t){return r[t]}));return{uniqueValues:e,uniqueCounts:l,inds:i}}(t.values,e)}));p=l.isArrayOrTypedArray(e.counts)?e.counts:[e.counts],function(t){var e;if(function(t){for(var e=new Array(t.length),r=0;r<t.length;r++){if(t[r]<0||t[r]>=t.length)return!1;if(void 0!==e[t[r]])return!1;e[t[r]]=!0}return!0}(t.map((function(t){return t.displayindex}))))for(e=0;e<t.length;e++)t[e]._displayindex=t[e].displayindex;else for(e=0;e<t.length;e++)t[e]._displayindex=e}(r),r.forEach((function(t,e){!function(t,e){t._categoryarray=e.uniqueValues,null===t.ticktext||void 0===t.ticktext?t._ticktext=[]:t._ticktext=t.ticktext.slice();for(var r=t._ticktext.length;r<e.uniqueValues.length;r++)t._ticktext.push(e.uniqueValues[r])}(t,m[e])}));var v,y=e.line;y?(i(e,"line")&&a(t,e,{vals:e.line.color,containerStr:"line",cLetter:"c"}),v=s.tryColorscale(y)):v=l.identity;var x,b,_,w,T,k=r[0].values.length,A={},M=m.map((function(t){return t.inds}));for(g=0,x=0;x<k;x++){var S=[];for(b=0;b<M.length;b++)S.push(M[b][x]);d=p[x%p.length],g+=d;var E=(_=x,w=void 0,T=void 0,l.isArrayOrTypedArray(y.color)?T=w=y.color[_%y.color.length]:w=y.color,{color:v(w),rawColor:T}),L=S+"-"+E.rawColor;void 0===A[L]&&(A[L]=f(S,E.color,E.rawColor)),h(A[L],x,d)}var C,P=r.map((function(t,e){return function(t,e,r,n,i){return{dimensionInd:t,containerInd:e,displayInd:r,dimensionLabel:n,count:i,categories:[],dragX:null}}(e,t._index,t._displayindex,t.label,g)}));for(x=0;x<k;x++)for(d=p[x%p.length],b=0;b<P.length;b++){var I=P[b].containerInd,O=m[b].inds[x],z=P[b].categories;if(void 0===z[O]){var D=e.dimensions[I]._categoryarray[O],R=e.dimensions[I]._ticktext[O];z[O]={dimensionInd:b,categoryInd:C=O,categoryValue:D,displayInd:C,categoryLabel:R,valueInds:[],count:0,dragY:null}}u(z[O],x,d)}return n(function(t,e,r){var n=t.map((function(t){return t.categories.length})).reduce((function(t,e){return Math.max(t,e)}));return{dimensions:t,paths:e,trace:void 0,maxCats:n,count:r}}(P,A,g))}},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../components/drawing":388,"../../lib":503,"../../lib/filter_unique.js":494,"../../lib/gup":500,"fast-isnumeric":190}],884:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/defaults"),o=t("../../plots/domain").defaults,s=t("../../plots/array_container_defaults"),l=t("./attributes"),c=t("../parcoords/merge_length");function u(t,e){function r(r,i){return n.coerce(t,e,l.dimensions,r,i)}var i=r("values"),a=r("visible");if(i&&i.length||(a=e.visible=!1),a){r("label"),r("displayindex",e._index);var o,s=t.categoryarray,c=Array.isArray(s)&&s.length>0;c&&(o="array");var u=r("categoryorder",o);"array"===u?(r("categoryarray"),r("ticktext")):(delete t.categoryarray,delete t.ticktext),c||"array"!==u||(e.categoryorder="trace")}}e.exports=function(t,e,r,f){function h(r,i){return n.coerce(t,e,l,r,i)}var p=s(t,e,{name:"dimensions",handleItemDefaults:u}),d=function(t,e,r,o,s){s("line.shape"),s("line.hovertemplate");var l=s("line.color",o.colorway[0]);if(i(t,"line")&&n.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),a(t,e,o,s,{prefix:"line.",cLetter:"c"}),l.length;e.line.color=r}return 1/0}(t,e,r,f,h);o(e,f,h),Array.isArray(p)&&p.length||(e.visible=!1),c(e,p,"values",d),h("hoveron"),h("hovertemplate"),h("arrangement"),h("bundlecolors"),h("sortpaths"),h("counts");var g={family:f.font.family,size:Math.round(f.font.size),color:f.font.color};n.coerceFont(h,"labelfont",g);var m={family:f.font.family,size:Math.round(f.font.size/1.2),color:f.font.color};n.coerceFont(h,"tickfont",m)}},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/domain":584,"../parcoords/merge_length":897,"./attributes":881}],885:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t("./base_plot"),categories:["noOpacity"],meta:{}}},{"./attributes":881,"./base_plot":882,"./calc":883,"./defaults":884,"./plot":887}],886:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-interpolate").interpolateNumber,a=t("../../plot_api/plot_api"),o=t("../../components/fx"),s=t("../../lib"),l=s.strTranslate,c=t("../../components/drawing"),u=t("tinycolor2"),f=t("../../lib/svg_text_utils");function h(t,e,r,i){var a=t.map(F.bind(0,e,r)),o=i.selectAll("g.parcatslayer").data([null]);o.enter().append("g").attr("class","parcatslayer").style("pointer-events","all");var u=o.selectAll("g.trace.parcats").data(a,p),h=u.enter().append("g").attr("class","trace parcats");u.attr("transform",(function(t){return l(t.x,t.y)})),h.append("g").attr("class","paths");var y=u.select("g.paths").selectAll("path.path").data((function(t){return t.paths}),p);y.attr("fill",(function(t){return t.model.color}));var x=y.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",(function(t){return t.model.color})).attr("fill-opacity",0);_(x),y.attr("d",(function(t){return t.svgD})),x.empty()||y.sort(g),y.exit().remove(),y.on("mouseover",m).on("mouseout",v).on("click",b),h.append("g").attr("class","dimensions");var w=u.select("g.dimensions").selectAll("g.dimension").data((function(t){return t.dimensions}),p);w.enter().append("g").attr("class","dimension"),w.attr("transform",(function(t){return l(t.x,0)})),w.exit().remove();var A=w.selectAll("g.category").data((function(t){return t.categories}),p),M=A.enter().append("g").attr("class","category");A.attr("transform",(function(t){return l(0,t.y)})),M.append("rect").attr("class","catrect").attr("pointer-events","none"),A.select("rect.catrect").attr("fill","none").attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})),T(M);var S=A.selectAll("rect.bandrect").data((function(t){return t.bands}),p);S.each((function(){s.raiseToTop(this)})),S.attr("fill",(function(t){return t.color}));var E=S.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",(function(t){return t.color})).attr("fill-opacity",0);S.attr("fill",(function(t){return t.color})).attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})).attr("y",(function(t){return t.y})).attr("cursor",(function(t){return"fixed"===t.parcatsViewModel.arrangement?"default":"perpendicular"===t.parcatsViewModel.arrangement?"ns-resize":"move"})),k(E),S.exit().remove(),M.append("text").attr("class","catlabel").attr("pointer-events","none");var z=e._fullLayout.paper_bgcolor;A.select("text.catlabel").attr("text-anchor",(function(t){return d(t)?"start":"end"})).attr("alignment-baseline","middle").style("text-shadow",f.makeTextShadow(z)).style("fill","rgb(0, 0, 0)").attr("x",(function(t){return d(t)?t.width+5:-5})).attr("y",(function(t){return t.height/2})).text((function(t){return t.model.categoryLabel})).each((function(t){c.font(n.select(this),t.parcatsViewModel.categorylabelfont),f.convertToTspans(n.select(this),e)})),M.append("text").attr("class","dimlabel"),A.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",(function(t){return"fixed"===t.parcatsViewModel.arrangement?"default":"ew-resize"})).attr("x",(function(t){return t.width/2})).attr("y",-5).text((function(t,e){return 0===e?t.parcatsViewModel.model.dimensions[t.model.dimensionInd].dimensionLabel:null})).each((function(t){c.font(n.select(this),t.parcatsViewModel.labelfont)})),A.selectAll("rect.bandrect").on("mouseover",L).on("mouseout",C),A.exit().remove(),w.call(n.behavior.drag().origin((function(t){return{x:t.x,y:0}})).on("dragstart",P).on("drag",I).on("dragend",O)),u.each((function(t){t.traceSelection=n.select(this),t.pathSelection=n.select(this).selectAll("g.paths").selectAll("path.path"),t.dimensionSelection=n.select(this).selectAll("g.dimensions").selectAll("g.dimension")})),u.exit().remove()}function p(t){return t.key}function d(t){var e=t.parcatsViewModel.dimensions.length,r=t.parcatsViewModel.dimensions[e-1].model.dimensionInd;return t.model.dimensionInd===r}function g(t,e){return t.model.rawColor>e.model.rawColor?1:t.model.rawColor<e.model.rawColor?-1:0}function m(t){if(!t.parcatsViewModel.dragDimension&&-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")){s.raiseToTop(this),w(n.select(this));var e=y(t),r=x(t);if(t.parcatsViewModel.graphDiv.emit("plotly_hover",{points:e,event:n.event,constraints:r}),-1===t.parcatsViewModel.hoverinfoItems.indexOf("none")){var i,a,l,c=n.mouse(this)[0],f=t.parcatsViewModel.graphDiv,h=t.parcatsViewModel.trace,p=f._fullLayout,d=p._paperdiv.node().getBoundingClientRect(),g=t.parcatsViewModel.graphDiv.getBoundingClientRect();for(l=0;l<t.leftXs.length-1;l++)if(t.leftXs[l]+t.dimWidths[l]-2<=c&&c<=t.leftXs[l+1]+2){var m=t.parcatsViewModel.dimensions[l],v=t.parcatsViewModel.dimensions[l+1];i=(m.x+m.width+v.x)/2,a=(t.topYs[l]+t.topYs[l+1]+t.height)/2;break}var b=t.parcatsViewModel.x+i,_=t.parcatsViewModel.y+a,T=u.mostReadable(t.model.color,["black","white"]),k=t.model.count,A=k/t.parcatsViewModel.model.count,M={countLabel:k,probabilityLabel:A.toFixed(3)},S=[];-1!==t.parcatsViewModel.hoverinfoItems.indexOf("count")&&S.push(["Count:",M.countLabel].join(" ")),-1!==t.parcatsViewModel.hoverinfoItems.indexOf("probability")&&S.push(["P:",M.probabilityLabel].join(" "));var E=S.join("<br>"),L=n.mouse(f)[0];o.loneHover({trace:h,x:b-d.left+g.left,y:_-d.top+g.top,text:E,color:t.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:T,idealAlign:L<b?"right":"left",hovertemplate:(h.line||{}).hovertemplate,hovertemplateLabels:M,eventData:[{data:h._input,fullData:h,count:k,probability:A}]},{container:p._hoverlayer.node(),outerContainer:p._paper.node(),gd:f})}}}function v(t){if(!t.parcatsViewModel.dragDimension&&(_(n.select(this)),o.loneUnhover(t.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()),t.parcatsViewModel.pathSelection.sort(g),-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip"))){var e=y(t),r=x(t);t.parcatsViewModel.graphDiv.emit("plotly_unhover",{points:e,event:n.event,constraints:r})}}function y(t){for(var e=[],r=z(t.parcatsViewModel),n=0;n<t.model.valueInds.length;n++){var i=t.model.valueInds[n];e.push({curveNumber:r,pointNumber:i})}return e}function x(t){for(var e={},r=t.parcatsViewModel.model.dimensions,n=0;n<r.length;n++){var i=r[n],a=i.categories[t.model.categoryInds[n]];e[i.containerInd]=a.categoryValue}return void 0!==t.model.rawColor&&(e.color=t.model.rawColor),e}function b(t){if(-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")){var e=y(t),r=x(t);t.parcatsViewModel.graphDiv.emit("plotly_click",{points:e,event:n.event,constraints:r})}}function _(t){t.attr("fill",(function(t){return t.model.color})).attr("fill-opacity",.6).attr("stroke","lightgray").attr("stroke-width",.2).attr("stroke-opacity",1)}function w(t){t.attr("fill-opacity",.8).attr("stroke",(function(t){return u.mostReadable(t.model.color,["black","white"])})).attr("stroke-width",.3)}function T(t){t.select("rect.catrect").attr("stroke","black").attr("stroke-width",1).attr("stroke-opacity",1)}function k(t){t.attr("stroke","black").attr("stroke-width",.2).attr("stroke-opacity",1).attr("fill-opacity",1)}function A(t){var e=t.parcatsViewModel.pathSelection,r=t.categoryViewModel.model.dimensionInd,n=t.categoryViewModel.model.categoryInd;return e.filter((function(e){return e.model.categoryInds[r]===n&&e.model.color===t.color}))}function M(t,e,r){var i=n.select(t).datum(),a=i.categoryViewModel.model,o=i.parcatsViewModel.graphDiv,s=n.select(t.parentNode).selectAll("rect.bandrect"),l=[];s.each((function(t){A(t).each((function(t){Array.prototype.push.apply(l,y(t))}))}));var c={};c[a.dimensionInd]=a.categoryValue,o.emit(e,{points:l,event:r,constraints:c})}function S(t,e,r){var i=n.select(t).datum(),a=i.categoryViewModel.model,o=i.parcatsViewModel.graphDiv,s=A(i),l=[];s.each((function(t){Array.prototype.push.apply(l,y(t))}));var c={};c[a.dimensionInd]=a.categoryValue,void 0!==i.rawColor&&(c.color=i.rawColor),o.emit(e,{points:l,event:r,constraints:c})}function E(t,e,r){t._fullLayout._calcInverseTransform(t);var i,a,o=t._fullLayout._invScaleX,s=t._fullLayout._invScaleY,l=n.select(r.parentNode).select("rect.catrect"),c=l.node().getBoundingClientRect(),u=l.datum(),f=u.parcatsViewModel,h=f.model.dimensions[u.model.dimensionInd],p=f.trace,d=c.top+c.height/2;f.dimensions.length>1&&h.displayInd===f.dimensions.length-1?(i=c.left,a="left"):(i=c.left+c.width,a="right");var g=u.model.count,m=u.model.categoryLabel,v=g/u.parcatsViewModel.model.count,y={countLabel:g,categoryLabel:m,probabilityLabel:v.toFixed(3)},x=[];-1!==u.parcatsViewModel.hoverinfoItems.indexOf("count")&&x.push(["Count:",y.countLabel].join(" ")),-1!==u.parcatsViewModel.hoverinfoItems.indexOf("probability")&&x.push(["P("+y.categoryLabel+"):",y.probabilityLabel].join(" "));var b=x.join("<br>");return{trace:p,x:o*(i-e.left),y:s*(d-e.top),text:b,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:a,hovertemplate:p.hovertemplate,hovertemplateLabels:y,eventData:[{data:p._input,fullData:p,count:g,category:m,probability:v}]}}function L(t){if(!t.parcatsViewModel.dragDimension&&-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")){if(n.mouse(this)[1]<-1)return;var e,r=t.parcatsViewModel.graphDiv,i=r._fullLayout,a=i._paperdiv.node().getBoundingClientRect(),l=t.parcatsViewModel.hoveron;if("color"===l?(!function(t){var e=n.select(t).datum(),r=A(e);w(r),r.each((function(){s.raiseToTop(this)})),n.select(t.parentNode).selectAll("rect.bandrect").filter((function(t){return t.color===e.color})).each((function(){s.raiseToTop(this),n.select(this).attr("stroke","black").attr("stroke-width",1.5)}))}(this),S(this,"plotly_hover",n.event)):(!function(t){n.select(t.parentNode).selectAll("rect.bandrect").each((function(t){var e=A(t);w(e),e.each((function(){s.raiseToTop(this)}))})),n.select(t.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(this),M(this,"plotly_hover",n.event)),-1===t.parcatsViewModel.hoverinfoItems.indexOf("none"))"category"===l?e=E(r,a,this):"color"===l?e=function(t,e,r){t._fullLayout._calcInverseTransform(t);var i,a,o=t._fullLayout._invScaleX,s=t._fullLayout._invScaleY,l=r.getBoundingClientRect(),c=n.select(r).datum(),f=c.categoryViewModel,h=f.parcatsViewModel,p=h.model.dimensions[f.model.dimensionInd],d=h.trace,g=l.y+l.height/2;h.dimensions.length>1&&p.displayInd===h.dimensions.length-1?(i=l.left,a="left"):(i=l.left+l.width,a="right");var m=f.model.categoryLabel,v=c.parcatsViewModel.model.count,y=0;c.categoryViewModel.bands.forEach((function(t){t.color===c.color&&(y+=t.count)}));var x=f.model.count,b=0;h.pathSelection.each((function(t){t.model.color===c.color&&(b+=t.model.count)}));var _=y/v,w=y/b,T=y/x,k={countLabel:v,categoryLabel:m,probabilityLabel:_.toFixed(3)},A=[];-1!==f.parcatsViewModel.hoverinfoItems.indexOf("count")&&A.push(["Count:",k.countLabel].join(" ")),-1!==f.parcatsViewModel.hoverinfoItems.indexOf("probability")&&(A.push("P(color \u2229 "+m+"): "+k.probabilityLabel),A.push("P("+m+" | color): "+w.toFixed(3)),A.push("P(color | "+m+"): "+T.toFixed(3)));var M=A.join("<br>"),S=u.mostReadable(c.color,["black","white"]);return{trace:d,x:o*(i-e.left),y:s*(g-e.top),text:M,color:c.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:S,fontSize:10,idealAlign:a,hovertemplate:d.hovertemplate,hovertemplateLabels:k,eventData:[{data:d._input,fullData:d,category:m,count:v,probability:_,categorycount:x,colorcount:b,bandcolorcount:y}]}}(r,a,this):"dimension"===l&&(e=function(t,e,r){var i=[];return n.select(r.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each((function(){i.push(E(t,e,this))})),i}(r,a,this)),e&&o.loneHover(e,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:r})}}function C(t){var e=t.parcatsViewModel;if(!e.dragDimension&&(_(e.pathSelection),T(e.dimensionSelection.selectAll("g.category")),k(e.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),o.loneUnhover(e.graphDiv._fullLayout._hoverlayer.node()),e.pathSelection.sort(g),-1===e.hoverinfoItems.indexOf("skip"))){"color"===t.parcatsViewModel.hoveron?S(this,"plotly_unhover",n.event):M(this,"plotly_unhover",n.event)}}function P(t){"fixed"!==t.parcatsViewModel.arrangement&&(t.dragDimensionDisplayInd=t.model.displayInd,t.initialDragDimensionDisplayInds=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),t.dragHasMoved=!1,t.dragCategoryDisplayInd=null,n.select(this).selectAll("g.category").select("rect.catrect").each((function(e){var r=n.mouse(this)[0],i=n.mouse(this)[1];-2<=r&&r<=e.width+2&&-2<=i&&i<=e.height+2&&(t.dragCategoryDisplayInd=e.model.displayInd,t.initialDragCategoryDisplayInds=t.model.categories.map((function(t){return t.displayInd})),e.model.dragY=e.y,s.raiseToTop(this.parentNode),n.select(this.parentNode).selectAll("rect.bandrect").each((function(e){e.y<i&&i<=e.y+e.height&&(t.potentialClickBand=this)})))})),t.parcatsViewModel.dragDimension=t,o.loneUnhover(t.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()))}function I(t){if("fixed"!==t.parcatsViewModel.arrangement&&(t.dragHasMoved=!0,null!==t.dragDimensionDisplayInd)){var e=t.dragDimensionDisplayInd,r=e-1,i=e+1,a=t.parcatsViewModel.dimensions[e];if(null!==t.dragCategoryDisplayInd){var o=a.categories[t.dragCategoryDisplayInd];o.model.dragY+=n.event.dy;var s=o.model.dragY,l=o.model.displayInd,c=a.categories,u=c[l-1],f=c[l+1];void 0!==u&&s<u.y+u.height/2&&(o.model.displayInd=u.model.displayInd,u.model.displayInd=l),void 0!==f&&s+o.height>f.y+f.height/2&&(o.model.displayInd=f.model.displayInd,f.model.displayInd=l),t.dragCategoryDisplayInd=o.model.displayInd}if(null===t.dragCategoryDisplayInd||"freeform"===t.parcatsViewModel.arrangement){a.model.dragX=n.event.x;var h=t.parcatsViewModel.dimensions[r],p=t.parcatsViewModel.dimensions[i];void 0!==h&&a.model.dragX<h.x+h.width&&(a.model.displayInd=h.model.displayInd,h.model.displayInd=e),void 0!==p&&a.model.dragX+a.width>p.x&&(a.model.displayInd=p.model.displayInd,p.model.displayInd=t.dragDimensionDisplayInd),t.dragDimensionDisplayInd=a.model.displayInd}j(t.parcatsViewModel),N(t.parcatsViewModel),R(t.parcatsViewModel),D(t.parcatsViewModel)}}function O(t){if("fixed"!==t.parcatsViewModel.arrangement&&null!==t.dragDimensionDisplayInd){n.select(this).selectAll("text").attr("font-weight","normal");var e={},r=z(t.parcatsViewModel),i=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),o=t.initialDragDimensionDisplayInds.some((function(t,e){return t!==i[e]}));o&&i.forEach((function(r,n){var i=t.parcatsViewModel.model.dimensions[n].containerInd;e["dimensions["+i+"].displayindex"]=r}));var s=!1;if(null!==t.dragCategoryDisplayInd){var l=t.model.categories.map((function(t){return t.displayInd}));if(s=t.initialDragCategoryDisplayInds.some((function(t,e){return t!==l[e]}))){var c=t.model.categories.slice().sort((function(t,e){return t.displayInd-e.displayInd})),u=c.map((function(t){return t.categoryValue})),f=c.map((function(t){return t.categoryLabel}));e["dimensions["+t.model.containerInd+"].categoryarray"]=[u],e["dimensions["+t.model.containerInd+"].ticktext"]=[f],e["dimensions["+t.model.containerInd+"].categoryorder"]="array"}}if(-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")&&!t.dragHasMoved&&t.potentialClickBand&&("color"===t.parcatsViewModel.hoveron?S(t.potentialClickBand,"plotly_click",n.event.sourceEvent):M(t.potentialClickBand,"plotly_click",n.event.sourceEvent)),t.model.dragX=null,null!==t.dragCategoryDisplayInd)t.parcatsViewModel.dimensions[t.dragDimensionDisplayInd].categories[t.dragCategoryDisplayInd].model.dragY=null,t.dragCategoryDisplayInd=null;t.dragDimensionDisplayInd=null,t.parcatsViewModel.dragDimension=null,t.dragHasMoved=null,t.potentialClickBand=null,j(t.parcatsViewModel),N(t.parcatsViewModel),n.transition().duration(300).ease("cubic-in-out").each((function(){R(t.parcatsViewModel,!0),D(t.parcatsViewModel,!0)})).each("end",(function(){(o||s)&&a.restyle(t.parcatsViewModel.graphDiv,e,[r])}))}}function z(t){for(var e,r=t.graphDiv._fullData,n=0;n<r.length;n++)if(t.key===r[n].uid){e=n;break}return e}function D(t,e){var r;void 0===e&&(e=!1),t.pathSelection.data((function(t){return t.paths}),p),(r=t.pathSelection,e?r.transition():r).attr("d",(function(t){return t.svgD}))}function R(t,e){function r(t){return e?t.transition():t}void 0===e&&(e=!1),t.dimensionSelection.data((function(t){return t.dimensions}),p);var i=t.dimensionSelection.selectAll("g.category").data((function(t){return t.categories}),p);r(t.dimensionSelection).attr("transform",(function(t){return l(t.x,0)})),r(i).attr("transform",(function(t){return l(0,t.y)})),i.select(".dimlabel").text((function(t,e){return 0===e?t.parcatsViewModel.model.dimensions[t.model.dimensionInd].dimensionLabel:null})),i.select(".catlabel").attr("text-anchor",(function(t){return d(t)?"start":"end"})).attr("x",(function(t){return d(t)?t.width+5:-5})).each((function(t){var e,r;d(t)?(e=t.width+5,r="start"):(e=-5,r="end"),n.select(this).selectAll("tspan").attr("x",e).attr("text-anchor",r)}));var a=i.selectAll("rect.bandrect").data((function(t){return t.bands}),p),o=a.enter().append("rect").attr("class","bandrect").attr("cursor","move").attr("stroke-opacity",0).attr("fill",(function(t){return t.color})).attr("fill-opacity",0);a.attr("fill",(function(t){return t.color})).attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})).attr("y",(function(t){return t.y})),k(o),a.each((function(){s.raiseToTop(this)})),a.exit().remove()}function F(t,e,r){var n,i=r[0],a=e.margin||{l:80,r:80,t:100,b:80},o=i.trace,s=o.domain,l=e.width,c=e.height,u=Math.floor(l*(s.x[1]-s.x[0])),f=Math.floor(c*(s.y[1]-s.y[0])),h=s.x[0]*l+a.l,p=e.height-s.y[1]*e.height+a.t,d=o.line.shape;n="all"===o.hoverinfo?["count","probability"]:(o.hoverinfo||"").split("+");var g={trace:o,key:o.uid,model:i,x:h,y:p,width:u,height:f,hoveron:o.hoveron,hoverinfoItems:n,arrangement:o.arrangement,bundlecolors:o.bundlecolors,sortpaths:o.sortpaths,labelfont:o.labelfont,categorylabelfont:o.tickfont,pathShape:d,dragDimension:null,margin:a,paths:[],dimensions:[],graphDiv:t,traceSelection:null,pathSelection:null,dimensionSelection:null};return i.dimensions&&(j(g),N(g)),g}function B(t,e,r,n,a){var o,s,l=[],c=[];for(s=0;s<r.length-1;s++)o=i(r[s]+t[s],t[s+1]),l.push(o(a)),c.push(o(1-a));var u="M "+t[0]+","+e[0];for(u+="l"+r[0]+",0 ",s=1;s<r.length;s++)u+="C"+l[s-1]+","+e[s-1]+" "+c[s-1]+","+e[s]+" "+t[s]+","+e[s],u+="l"+r[s]+",0 ";for(u+="l0,"+n+" ",u+="l -"+r[r.length-1]+",0 ",s=r.length-2;s>=0;s--)u+="C"+c[s]+","+(e[s+1]+n)+" "+l[s]+","+(e[s]+n)+" "+(t[s]+r[s])+","+(e[s]+n),u+="l-"+r[s]+",0 ";return u+="Z"}function N(t){var e=t.dimensions,r=t.model,n=e.map((function(t){return t.categories.map((function(t){return t.y}))})),i=t.model.dimensions.map((function(t){return t.categories.map((function(t){return t.displayInd}))})),a=t.model.dimensions.map((function(t){return t.displayInd})),o=t.dimensions.map((function(t){return t.model.dimensionInd})),s=e.map((function(t){return t.x})),l=e.map((function(t){return t.width})),c=[];for(var u in r.paths)r.paths.hasOwnProperty(u)&&c.push(r.paths[u]);function f(t){var e=t.categoryInds.map((function(t,e){return i[e][t]}));return o.map((function(t){return e[t]}))}c.sort((function(e,r){var n=f(e),i=f(r);return"backward"===t.sortpaths&&(n.reverse(),i.reverse()),n.push(e.valueInds[0]),i.push(r.valueInds[0]),t.bundlecolors&&(n.unshift(e.rawColor),i.unshift(r.rawColor)),n<i?-1:n>i?1:0}));for(var h=new Array(c.length),p=e[0].model.count,d=e[0].categories.map((function(t){return t.height})).reduce((function(t,e){return t+e})),g=0;g<c.length;g++){var m,v=c[g];m=p>0?d*(v.count/p):0;for(var y,x=new Array(n.length),b=0;b<v.categoryInds.length;b++){var _=v.categoryInds[b],w=i[b][_],T=a[b];x[T]=n[T][w],n[T][w]+=m;var k=t.dimensions[T].categories[w],A=k.bands.length,M=k.bands[A-1];if(void 0===M||v.rawColor!==M.rawColor){var S=void 0===M?0:M.y+M.height;k.bands.push({key:S,color:v.color,rawColor:v.rawColor,height:m,width:k.width,count:v.count,y:S,categoryViewModel:k,parcatsViewModel:t})}else{var E=k.bands[A-1];E.height+=m,E.count+=v.count}}y="hspline"===t.pathShape?B(s,x,l,m,.5):B(s,x,l,m,0),h[g]={key:v.valueInds[0],model:v,height:m,leftXs:s,topYs:x,dimWidths:l,svgD:y,parcatsViewModel:t}}t.paths=h}function j(t){var e=t.model.dimensions.map((function(t){return{displayInd:t.displayInd,dimensionInd:t.dimensionInd}}));e.sort((function(t,e){return t.displayInd-e.displayInd}));var r=[];for(var n in e){var i=e[n].dimensionInd,a=t.model.dimensions[i];r.push(U(t,a))}t.dimensions=r}function U(t,e){var r,n=t.model.dimensions.length,i=e.displayInd;r=40+(n>1?(t.width-80-16)/(n-1):0)*i;var a,o,s,l,c,u=[],f=t.model.maxCats,h=e.categories.length,p=e.count,d=t.height-8*(f-1),g=8*(f-h)/2,m=e.categories.map((function(t){return{displayInd:t.displayInd,categoryInd:t.categoryInd}}));for(m.sort((function(t,e){return t.displayInd-e.displayInd})),c=0;c<h;c++)l=m[c].categoryInd,o=e.categories[l],a=p>0?o.count/p*d:0,s={key:o.valueInds[0],model:o,width:16,height:a,y:null!==o.dragY?o.dragY:g,bands:[],parcatsViewModel:t},g=g+a+8,u.push(s);return{key:e.dimensionInd,x:null!==e.dragX?e.dragX:r,y:0,width:16,model:e,categories:u,parcatsViewModel:t,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}e.exports=function(t,e,r,n){h(r,t,n,e)}},{"../../components/drawing":388,"../../components/fx":406,"../../lib":503,"../../lib/svg_text_utils":529,"../../plot_api/plot_api":540,"@plotly/d3":58,"d3-interpolate":116,tinycolor2:312}],887:[function(t,e,r){"use strict";var n=t("./parcats");e.exports=function(t,e,r,i){var a=t._fullLayout,o=a._paper,s=a._size;n(t,o,e,{width:s.w,height:s.h,margin:{t:s.t,r:s.r,b:s.b,l:s.l}},r,i)}},{"./parcats":886}],888:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/cartesian/layout_attributes"),a=t("../../plots/font_attributes"),o=t("../../plots/domain").attributes,s=t("../../lib/extend").extendFlat,l=t("../../plot_api/plot_template").templatedArray;e.exports={domain:o({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:a({editType:"plot"}),tickfont:a({editType:"plot"}),rangefont:a({editType:"plot"}),dimensions:l("dimension",{label:{valType:"string",editType:"plot"},tickvals:s({},i.tickvals,{editType:"plot"}),ticktext:s({},i.ticktext,{editType:"plot"}),tickformat:s({},i.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:s({editType:"calc"},n("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"}))}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../plots/cartesian/layout_attributes":569,"../../plots/domain":584,"../../plots/font_attributes":585}],889:[function(t,e,r){"use strict";var n=t("./constants"),i=t("@plotly/d3"),a=t("../../lib/gup").keyFun,o=t("../../lib/gup").repeat,s=t("../../lib").sorterAsc,l=t("../../lib").strTranslate,c=n.bar.snapRatio;function u(t,e){return t*(1-c)+e*c}var f=n.bar.snapClose;function h(t,e){return t*(1-f)+e*f}function p(t,e,r,n){if(function(t,e){for(var r=0;r<e.length;r++)if(t>=e[r][0]&&t<=e[r][1])return!0;return!1}(r,n))return r;var i=t?-1:1,a=0,o=e.length-1;if(i<0){var s=a;a=o,o=s}for(var l=e[a],c=l,f=a;i*f<i*o;f+=i){var p=f+i,d=e[p];if(i*r<i*h(l,d))return u(l,c);if(i*r<i*d||p===o)return u(d,l);c=l,l=d}}function d(t){t.attr("x",-n.bar.captureWidth/2).attr("width",n.bar.captureWidth)}function g(t){t.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function m(t){if(!t.brush.filterSpecified)return"0,"+t.height;for(var e,r,n,i=v(t.brush.filter.getConsolidated(),t.height),a=[0],o=i.length?i[0][0]:null,s=0;s<i.length;s++)r=(e=i[s])[1]-e[0],a.push(o),a.push(r),(n=s+1)<i.length&&(o=i[n][0]-e[1]);return a.push(t.height),a}function v(t,e){return t.map((function(t){return t.map((function(t){return Math.max(0,t*e)})).sort(s)}))}function y(){i.select(document.body).style("cursor",null)}function x(t){t.attr("stroke-dasharray",m)}function b(t,e){var r=i.select(t).selectAll(".highlight, .highlight-shadow");x(e?r.transition().duration(n.bar.snapDuration).each("end",e):r)}function _(t,e){var r,i=t.brush,a=NaN,o={};if(i.filterSpecified){var s=t.height,l=i.filter.getConsolidated(),c=v(l,s),u=NaN,f=NaN,h=NaN;for(r=0;r<=c.length;r++){var p=c[r];if(p&&p[0]<=e&&e<=p[1]){u=r;break}if(f=r?r-1:NaN,p&&p[0]>e){h=r;break}}if(a=u,isNaN(a)&&(a=isNaN(f)||isNaN(h)?isNaN(f)?h:f:e-c[f][1]<c[h][0]-e?f:h),!isNaN(a)){var d=c[a],g=function(t,e){var r=n.bar.handleHeight;if(!(e>t[1]+r||e<t[0]-r))return e>=.9*t[1]+.1*t[0]?"n":e<=.9*t[0]+.1*t[1]?"s":"ns"}(d,e);g&&(o.interval=l[a],o.intervalPix=d,o.region=g)}}if(t.ordinal&&!o.region){var m=t.unitTickvals,y=t.unitToPaddedPx.invert(e);for(r=0;r<m.length;r++){var x=[.25*m[Math.max(r-1,0)]+.75*m[r],.25*m[Math.min(r+1,m.length-1)]+.75*m[r]];if(y>=x[0]&&y<=x[1]){o.clickableOrdinalRange=x;break}}}return o}function w(t,e){i.event.sourceEvent.stopPropagation();var r=e.height-i.mouse(t)[1]-2*n.verticalPadding,a=e.brush.svgBrush;a.wasDragged=!0,a._dragging=!0,a.grabbingBar?a.newExtent=[r-a.grabPoint,r+a.barLength-a.grabPoint].map(e.unitToPaddedPx.invert):a.newExtent=[a.startExtent,e.unitToPaddedPx.invert(r)].sort(s),e.brush.filterSpecified=!0,a.extent=a.stayingIntervals.concat([a.newExtent]),a.brushCallback(e),b(t.parentNode)}function T(t,e){var r=_(e,e.height-i.mouse(t)[1]-2*n.verticalPadding),a="crosshair";r.clickableOrdinalRange?a="pointer":r.region&&(a=r.region+"-resize"),i.select(document.body).style("cursor",a)}function k(t){t.on("mousemove",(function(t){i.event.preventDefault(),t.parent.inBrushDrag||T(this,t)})).on("mouseleave",(function(t){t.parent.inBrushDrag||y()})).call(i.behavior.drag().on("dragstart",(function(t){!function(t,e){i.event.sourceEvent.stopPropagation();var r=e.height-i.mouse(t)[1]-2*n.verticalPadding,a=e.unitToPaddedPx.invert(r),o=e.brush,s=_(e,r),l=s.interval,c=o.svgBrush;if(c.wasDragged=!1,c.grabbingBar="ns"===s.region,c.grabbingBar){var u=l.map(e.unitToPaddedPx);c.grabPoint=r-u[0]-n.verticalPadding,c.barLength=u[1]-u[0]}c.clickableOrdinalRange=s.clickableOrdinalRange,c.stayingIntervals=e.multiselect&&o.filterSpecified?o.filter.getConsolidated():[],l&&(c.stayingIntervals=c.stayingIntervals.filter((function(t){return t[0]!==l[0]&&t[1]!==l[1]}))),c.startExtent=s.region?l["s"===s.region?1:0]:a,e.parent.inBrushDrag=!0,c.brushStartCallback()}(this,t)})).on("drag",(function(t){w(this,t)})).on("dragend",(function(t){!function(t,e){var r=e.brush,n=r.filter,a=r.svgBrush;a._dragging||(T(t,e),w(t,e),e.brush.svgBrush.wasDragged=!1),a._dragging=!1,i.event.sourceEvent.stopPropagation();var o=a.grabbingBar;if(a.grabbingBar=!1,a.grabLocation=void 0,e.parent.inBrushDrag=!1,y(),!a.wasDragged)return a.wasDragged=void 0,a.clickableOrdinalRange?r.filterSpecified&&e.multiselect?a.extent.push(a.clickableOrdinalRange):(a.extent=[a.clickableOrdinalRange],r.filterSpecified=!0):o?(a.extent=a.stayingIntervals,0===a.extent.length&&M(r)):M(r),a.brushCallback(e),b(t.parentNode),void a.brushEndCallback(r.filterSpecified?n.getConsolidated():[]);var s=function(){n.set(n.getConsolidated())};if(e.ordinal){var l=e.unitTickvals;l[l.length-1]<l[0]&&l.reverse(),a.newExtent=[p(0,l,a.newExtent[0],a.stayingIntervals),p(1,l,a.newExtent[1],a.stayingIntervals)];var c=a.newExtent[1]>a.newExtent[0];a.extent=a.stayingIntervals.concat(c?[a.newExtent]:[]),a.extent.length||M(r),a.brushCallback(e),c?b(t.parentNode,s):(s(),b(t.parentNode))}else s();a.brushEndCallback(r.filterSpecified?n.getConsolidated():[])}(this,t)})))}function A(t,e){return t[0]-e[0]}function M(t){t.filterSpecified=!1,t.svgBrush.extent=[[-1/0,1/0]]}function S(t){for(var e,r=t.slice(),n=[],i=r.shift();i;){for(e=i.slice();(i=r.shift())&&i[0]<=e[1];)e[1]=Math.max(e[1],i[1]);n.push(e)}return 1===n.length&&n[0][0]>n[0][1]&&(n=[]),n}e.exports={makeBrush:function(t,e,r,n,i,a){var o,l=function(){var t,e,r=[];return{set:function(n){1===(r=n.map((function(t){return t.slice().sort(s)})).sort(A)).length&&r[0][0]===-1/0&&r[0][1]===1/0&&(r=[[0,-1]]),t=S(r),e=r.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0])},get:function(){return r.slice()},getConsolidated:function(){return t},getBounds:function(){return e}}}();return l.set(r),{filter:l,filterSpecified:e,svgBrush:{extent:[],brushStartCallback:n,brushCallback:(o=i,function(t){var e=t.brush,r=function(t){return t.svgBrush.extent.map((function(t){return t.slice()}))}(e).slice();e.filter.set(r),o()}),brushEndCallback:a}}},ensureAxisBrush:function(t,e){var r=t.selectAll("."+n.cn.axisBrush).data(o,a);r.enter().append("g").classed(n.cn.axisBrush,!0),function(t,e){var r=t.selectAll(".background").data(o);r.enter().append("rect").classed("background",!0).call(d).call(g).style("pointer-events","auto").attr("transform",l(0,n.verticalPadding)),r.call(k).attr("height",(function(t){return t.height-n.verticalPadding}));var i=t.selectAll(".highlight-shadow").data(o);i.enter().append("line").classed("highlight-shadow",!0).attr("x",-n.bar.width/2).attr("stroke-width",n.bar.width+n.bar.strokeWidth).attr("stroke",e).attr("opacity",n.bar.strokeOpacity).attr("stroke-linecap","butt"),i.attr("y1",(function(t){return t.height})).call(x);var a=t.selectAll(".highlight").data(o);a.enter().append("line").classed("highlight",!0).attr("x",-n.bar.width/2).attr("stroke-width",n.bar.width-n.bar.strokeWidth).attr("stroke",n.bar.fillColor).attr("opacity",n.bar.fillOpacity).attr("stroke-linecap","butt"),a.attr("y1",(function(t){return t.height})).call(x)}(r,e)},cleanRanges:function(t,e){if(Array.isArray(t[0])?(t=t.map((function(t){return t.sort(s)})),t=e.multiselect?S(t.sort(A)):[t[0]]):t=[t.sort(s)],e.tickvals){var r=e.tickvals.slice().sort(s);if(!(t=t.map((function(t){var e=[p(0,r,t[0],[]),p(1,r,t[1],[])];if(e[1]>e[0])return e})).filter((function(t){return t}))).length)return}return t.length>1?t:t[0]}}},{"../../lib":503,"../../lib/gup":500,"./constants":892,"@plotly/d3":58}],890:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../plots/get_data").getModuleCalcData,a=t("./plot"),o=t("../../constants/xmlns_namespaces");r.name="parcoords",r.plot=function(t){var e=i(t.calcdata,"parcoords")[0];e.length&&a(t,e)},r.clean=function(t,e,r,n){var i=n._has&&n._has("parcoords"),a=e._has&&e._has("parcoords");i&&!a&&(n._paperdiv.selectAll(".parcoords").remove(),n._glimages.selectAll("*").remove())},r.toSVG=function(t){var e=t._fullLayout._glimages,r=n.select(t).selectAll(".svg-container");r.filter((function(t,e){return e===r.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus").each((function(){var t=this.toDataURL("image/png");e.append("svg:image").attr({xmlns:o.svg,"xlink:href":t,preserveAspectRatio:"none",x:0,y:0,width:this.style.width,height:this.style.height})})),window.setTimeout((function(){n.selectAll("#filterBarPattern").attr("id","filterBarPattern")}),60)}},{"../../constants/xmlns_namespaces":480,"../../plots/get_data":593,"./plot":899,"@plotly/d3":58}],891:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray,i=t("../../components/colorscale"),a=t("../../lib/gup").wrap;e.exports=function(t,e){var r,o;return i.hasColorscale(e,"line")&&n(e.line.color)?(r=e.line.color,o=i.extractOpts(e.line).colorscale,i.calc(t,e,{vals:r,containerStr:"line",cLetter:"c"})):(r=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=.5;return e}(e._length),o=[[0,e.line.color],[1,e.line.color]]),a({lineColor:r,cscale:o})}},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500}],892:[function(t,e,r){"use strict";e.exports={maxDimensionCount:60,overdrag:45,verticalPadding:2,tickDistance:50,canvasPixelRatio:1,blockLineCount:5e3,layers:["contextLineLayer","focusLineLayer","pickLineLayer"],axisTitleOffset:28,axisExtentOffset:10,deselectedLineColor:"#777",bar:{width:4,captureWidth:10,fillColor:"magenta",fillOpacity:1,snapDuration:150,snapRatio:.25,snapClose:.01,strokeOpacity:1,strokeWidth:1,handleHeight:8,handleOpacity:1,handleOverlap:0},cn:{axisExtentText:"axis-extent-text",parcoordsLineLayers:"parcoords-line-layers",parcoordsLineLayer:"parcoords-lines",parcoords:"parcoords",parcoordsControlView:"parcoords-control-view",yAxis:"y-axis",axisOverlays:"axis-overlays",axis:"axis",axisHeading:"axis-heading",axisTitle:"axis-title",axisExtent:"axis-extent",axisExtentTop:"axis-extent-top",axisExtentTopText:"axis-extent-top-text",axisExtentBottom:"axis-extent-bottom",axisExtentBottomText:"axis-extent-bottom-text",axisBrush:"axis-brush"},id:{filterBarPattern:"filter-bar-pattern"}}},{}],893:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/defaults"),o=t("../../plots/domain").defaults,s=t("../../plots/array_container_defaults"),l=t("../../plots/cartesian/axes"),c=t("./attributes"),u=t("./axisbrush"),f=t("./constants").maxDimensionCount,h=t("./merge_length");function p(t,e,r,i){function a(r,i){return n.coerce(t,e,c.dimensions,r,i)}var o=a("values"),s=a("visible");if(o&&o.length||(s=e.visible=!1),s){a("label"),a("tickvals"),a("ticktext"),a("tickformat");var f=a("range");e._ax={_id:"y",type:"linear",showexponent:"all",exponentformat:"B",range:f},l.setConvert(e._ax,i.layout),a("multiselect");var h=a("constraintrange");h&&(e.constraintrange=u.cleanRanges(h,e))}}e.exports=function(t,e,r,l){function u(r,i){return n.coerce(t,e,c,r,i)}var d=t.dimensions;Array.isArray(d)&&d.length>f&&(n.log("parcoords traces support up to "+f+" dimensions at the moment"),d.splice(f));var g=s(t,e,{name:"dimensions",layout:l,handleItemDefaults:p}),m=function(t,e,r,o,s){var l=s("line.color",r);if(i(t,"line")&&n.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),a(t,e,o,s,{prefix:"line.",cLetter:"c"}),l.length;e.line.color=r}return 1/0}(t,e,r,l,u);o(e,l,u),Array.isArray(g)&&g.length||(e.visible=!1),h(e,g,"values",m);var v={family:l.font.family,size:Math.round(l.font.size/1.2),color:l.font.color};n.coerceFont(u,"labelfont",v),n.coerceFont(u,"tickfont",v),n.coerceFont(u,"rangefont",v),u("labelangle"),u("labelside")}},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"../../plots/domain":584,"./attributes":888,"./axisbrush":889,"./constants":892,"./merge_length":897}],894:[function(t,e,r){"use strict";var n=t("../../lib").isTypedArray;r.convertTypedArray=function(t){return n(t)?Array.prototype.slice.call(t):t},r.isOrdinal=function(t){return!!t.tickvals},r.isVisible=function(t){return t.visible||!("visible"in t)}},{"../../lib":503}],895:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t("./base_plot"),categories:["gl","regl","noOpacity","noHover"],meta:{}}},{"./attributes":888,"./base_plot":890,"./calc":891,"./defaults":893,"./plot":899}],896:[function(t,e,r){"use strict";var n=t("glslify"),i=n(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nattribute vec4 p01_04, p05_08, p09_12, p13_16,\n               p17_20, p21_24, p25_28, p29_32,\n               p33_36, p37_40, p41_44, p45_48,\n               p49_52, p53_56, p57_60, colors;\n\nuniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,\n             loA, hiA, loB, hiB, loC, hiC, loD, hiD;\n\nuniform vec2 resolution, viewBoxPos, viewBoxSize;\nuniform float maskHeight;\nuniform float drwLayer; // 0: context, 1: focus, 2: pick\nuniform vec4 contextColor;\nuniform sampler2D maskTexture, palette;\n\nbool isPick    = (drwLayer > 1.5);\nbool isContext = (drwLayer < 0.5);\n\nconst vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);\nconst vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);\n\nfloat val(mat4 p, mat4 v) {\n    return dot(matrixCompMult(p, v) * UNITS, UNITS);\n}\n\nfloat axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {\n    float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);\n    float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);\n    return y1 * (1.0 - ratio) + y2 * ratio;\n}\n\nint iMod(int a, int b) {\n    return a - b * (a / b);\n}\n\nbool fOutside(float p, float lo, float hi) {\n    return (lo < hi) && (lo > p || p > hi);\n}\n\nbool vOutside(vec4 p, vec4 lo, vec4 hi) {\n    return (\n        fOutside(p[0], lo[0], hi[0]) ||\n        fOutside(p[1], lo[1], hi[1]) ||\n        fOutside(p[2], lo[2], hi[2]) ||\n        fOutside(p[3], lo[3], hi[3])\n    );\n}\n\nbool mOutside(mat4 p, mat4 lo, mat4 hi) {\n    return (\n        vOutside(p[0], lo[0], hi[0]) ||\n        vOutside(p[1], lo[1], hi[1]) ||\n        vOutside(p[2], lo[2], hi[2]) ||\n        vOutside(p[3], lo[3], hi[3])\n    );\n}\n\nbool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {\n    return mOutside(A, loA, hiA) ||\n           mOutside(B, loB, hiB) ||\n           mOutside(C, loC, hiC) ||\n           mOutside(D, loD, hiD);\n}\n\nbool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {\n    mat4 pnts[4];\n    pnts[0] = A;\n    pnts[1] = B;\n    pnts[2] = C;\n    pnts[3] = D;\n\n    for(int i = 0; i < 4; ++i) {\n        for(int j = 0; j < 4; ++j) {\n            for(int k = 0; k < 4; ++k) {\n                if(0 == iMod(\n                    int(255.0 * texture2D(maskTexture,\n                        vec2(\n                            (float(i * 2 + j / 2) + 0.5) / 8.0,\n                            (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight\n                        ))[3]\n                    ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),\n                    2\n                )) return true;\n            }\n        }\n    }\n    return false;\n}\n\nvec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {\n    float x = 0.5 * sign(v) + 0.5;\n    float y = axisY(x, A, B, C, D);\n    float z = 1.0 - abs(v);\n\n    z += isContext ? 0.0 : 2.0 * float(\n        outsideBoundingBox(A, B, C, D) ||\n        outsideRasterMask(A, B, C, D)\n    );\n\n    return vec4(\n        2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,\n        z,\n        1.0\n    );\n}\n\nvoid main() {\n    mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);\n    mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);\n    mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);\n    mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);\n\n    float v = colors[3];\n\n    gl_Position = position(isContext, v, A, B, C, D);\n\n    fragColor =\n        isContext ? vec4(contextColor) :\n        isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));\n}\n"]),a=n(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nvoid main() {\n    gl_FragColor = fragColor;\n}\n"]),o=t("./constants").maxDimensionCount,s=t("../../lib"),l=new Uint8Array(4),c=new Uint8Array(4),u={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function f(t,e,r,n,i){var a=t._gl;a.enable(a.SCISSOR_TEST),a.scissor(e,r,n,i),t.clear({color:[0,0,0,0],depth:1})}function h(t,e,r,n,i,a){var o=a.key;r.drawCompleted||(!function(t){t.read({x:0,y:0,width:1,height:1,data:l})}(t),r.drawCompleted=!0),function s(l){var c=Math.min(n,i-l*n);0===l&&(window.cancelAnimationFrame(r.currentRafs[o]),delete r.currentRafs[o],f(t,a.scissorX,a.scissorY,a.scissorWidth,a.viewBoxSize[1])),r.clearOnly||(a.count=2*c,a.offset=2*l*n,e(a),l*n+c<i&&(r.currentRafs[o]=window.requestAnimationFrame((function(){s(l+1)}))),r.drawCompleted=!1)}(0)}function p(t,e){for(var r=new Array(256),n=0;n<256;n++)r[n]=t(n/255).concat(e);return r}function d(t,e){return(t>>>8*e)%256/255}function g(t,e,r){for(var n=new Array(8*e),i=0,a=0;a<e;a++)for(var o=0;o<2;o++)for(var s=0;s<4;s++){var l=4*t+s,c=r[64*a+l];63===l&&0===o&&(c*=-1),n[i++]=c}return n}function m(t){var e="0"+t;return e.substr(e.length-2)}function v(t){return t<o?"p"+m(t+1)+"_"+m(t+4):"colors"}function y(t,e,r,n,i,a,o,l,c,u,f,h,p,d){for(var g=[[],[]],m=0;m<64;m++)g[0][m]=m===i?1:0,g[1][m]=m===a?1:0;o*=d,l*=d,c*=d,u*=d;var v=t.lines.canvasOverdrag*d,y=t.domain,x=t.canvasWidth*d,b=t.canvasHeight*d,_=t.pad.l*d,w=t.pad.b*d,T=t.layoutHeight*d,k=t.layoutWidth*d,A=t.deselectedLines.color;return s.extendFlat({key:f,resolution:[x,b],viewBoxPos:[o+v,l],viewBoxSize:[c,u],i0:i,i1:a,dim0A:g[0].slice(0,16),dim0B:g[0].slice(16,32),dim0C:g[0].slice(32,48),dim0D:g[0].slice(48,64),dim1A:g[1].slice(0,16),dim1B:g[1].slice(16,32),dim1C:g[1].slice(32,48),dim1D:g[1].slice(48,64),drwLayer:h,contextColor:[A[0]/255,A[1]/255,A[2]/255,A[3]<1?A[3]:Math.max(1/255,Math.pow(1/t.lines.color.length,1/3))],scissorX:(n===e?0:o+v)+(_-v)+k*y.x[0],scissorWidth:(n===r?x-o+v:c+.5)+(n===e?o+v:0),scissorY:l+w+T*y.y[0],scissorHeight:u,viewportX:_-v+k*y.x[0],viewportY:w+T*y.y[0],viewportWidth:x,viewportHeight:b},p)}function x(t){var e=Math.max(0,Math.floor(2047*t[0]),0),r=Math.min(2047,Math.ceil(2047*t[1]),2047);return[Math.min(e,r),Math.max(e,r)]}e.exports=function(t,e){var r,n,l,m,b,_=e.context,w=e.pick,T=e.regl,k=T._gl,A=k.getParameter(k.ALIASED_LINE_WIDTH_RANGE),M=Math.max(A[0],Math.min(A[1],e.viewModel.plotGlPixelRatio)),S={currentRafs:{},drawCompleted:!0,clearOnly:!1},E=function(t){for(var e={},r=0;r<=o;r+=4)e[v(r)]=t.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)});return e}(T),L=T.texture(u),C=[];I(e);var P=T({profile:!1,blend:{enable:_,func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:1,dstAlpha:1},equation:{rgb:"add",alpha:"add"},color:[0,0,0,0]},depth:{enable:!_,mask:!0,func:"less",range:[0,1]},cull:{enable:!0,face:"back"},scissor:{enable:!0,box:{x:T.prop("scissorX"),y:T.prop("scissorY"),width:T.prop("scissorWidth"),height:T.prop("scissorHeight")}},viewport:{x:T.prop("viewportX"),y:T.prop("viewportY"),width:T.prop("viewportWidth"),height:T.prop("viewportHeight")},dither:!1,vert:i,frag:a,primitive:"lines",lineWidth:M,attributes:E,uniforms:{resolution:T.prop("resolution"),viewBoxPos:T.prop("viewBoxPos"),viewBoxSize:T.prop("viewBoxSize"),dim0A:T.prop("dim0A"),dim1A:T.prop("dim1A"),dim0B:T.prop("dim0B"),dim1B:T.prop("dim1B"),dim0C:T.prop("dim0C"),dim1C:T.prop("dim1C"),dim0D:T.prop("dim0D"),dim1D:T.prop("dim1D"),loA:T.prop("loA"),hiA:T.prop("hiA"),loB:T.prop("loB"),hiB:T.prop("hiB"),loC:T.prop("loC"),hiC:T.prop("hiC"),loD:T.prop("loD"),hiD:T.prop("hiD"),palette:L,contextColor:T.prop("contextColor"),maskTexture:T.prop("maskTexture"),drwLayer:T.prop("drwLayer"),maskHeight:T.prop("maskHeight")},offset:T.prop("offset"),count:T.prop("count")});function I(t){r=t.model,n=t.viewModel,l=n.dimensions.slice(),m=l[0]?l[0].values.length:0;var e=r.lines,i=w?e.color.map((function(t,r){return r/e.color.length})):e.color,a=function(t,e,r){for(var n,i=new Array(t*(o+4)),a=0,s=0;s<t;s++){for(var l=0;l<o;l++)i[a++]=l<e.length?e[l].paddedUnitValues[s]:.5;i[a++]=d(s,2),i[a++]=d(s,1),i[a++]=d(s,0),i[a++]=(n=r[s],Math.max(1e-6,Math.min(.999999,n)))}return i}(m,l,i);!function(t,e,r){for(var n=0;n<=o;n+=4)t[v(n)](g(n/4,e,r))}(E,m,a),_||w||(L=T.texture(s.extendFlat({data:p(r.unitToColor,255)},u)))}return{render:function(t,e,n){var i,a,o,s=t.length,c=1/0,u=-1/0;for(i=0;i<s;i++)t[i].dim0.canvasX<c&&(c=t[i].dim0.canvasX,a=i),t[i].dim1.canvasX>u&&(u=t[i].dim1.canvasX,o=i);0===s&&f(T,0,0,r.canvasWidth,r.canvasHeight);var p=function(t){var e,r,n,i=[[],[]];for(n=0;n<64;n++){var a=!t&&n<l.length?l[n].brush.filter.getBounds():[-1/0,1/0];i[0][n]=a[0],i[1][n]=a[1]}var o=new Array(16384);for(e=0;e<16384;e++)o[e]=255;if(!t)for(e=0;e<l.length;e++){var s=e%8,c=(e-s)/8,u=Math.pow(2,s),f=l[e].brush.filter.get();if(!(f.length<2)){var h=x(f[0])[1];for(r=1;r<f.length;r++){var p=x(f[r]);for(n=h+1;n<p[0];n++)o[8*n+c]&=~u;h=Math.max(h,p[1])}}}var d={shape:[8,2048],format:"alpha",type:"uint8",mag:"nearest",min:"nearest",data:o};return b?b(d):b=T.texture(d),{maskTexture:b,maskHeight:2048,loA:i[0].slice(0,16),loB:i[0].slice(16,32),loC:i[0].slice(32,48),loD:i[0].slice(48,64),hiA:i[1].slice(0,16),hiB:i[1].slice(16,32),hiC:i[1].slice(32,48),hiD:i[1].slice(48,64)}}(_);for(i=0;i<s;i++){var d=t[i],g=d.dim0.crossfilterDimensionIndex,v=d.dim1.crossfilterDimensionIndex,k=d.canvasX,A=d.canvasY,M=k+d.panelSizeX,E=d.plotGlPixelRatio;if(e||!C[g]||C[g][0]!==k||C[g][1]!==M){C[g]=[k,M];var L=y(r,a,o,i,g,v,k,A,d.panelSizeX,d.panelSizeY,d.dim0.crossfilterDimensionIndex,_?0:w?2:1,p,E);S.clearOnly=n;var I=e?r.lines.blockLineCount:m;h(T,P,S,I,m,L)}}},readPixel:function(t,e){return T.read({x:t,y:e,width:1,height:1,data:c}),c},readPixels:function(t,e,r,n){var i=new Uint8Array(4*r*n);return T.read({x:t,y:e,width:r,height:n,data:i}),i},destroy:function(){for(var e in t.style["pointer-events"]="none",L.destroy(),b&&b.destroy(),E)E[e].destroy()},update:I}}},{"../../lib":503,"./constants":892,glslify:227}],897:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){var i,a;for(n||(n=1/0),i=0;i<e.length;i++)(a=e[i]).visible&&(n=Math.min(n,a[r].length));for(n===1/0&&(n=0),t._length=n,i=0;i<e.length;i++)(a=e[i]).visible&&(a._length=n);return n}},{}],898:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=i.numberFormat,o=t("color-rgba"),s=t("../../plots/cartesian/axes"),l=i.strRotate,c=i.strTranslate,u=t("../../lib/svg_text_utils"),f=t("../../components/drawing"),h=t("../../components/colorscale"),p=t("../../lib/gup"),d=p.keyFun,g=p.repeat,m=p.unwrap,v=t("./helpers"),y=t("./constants"),x=t("./axisbrush"),b=t("./lines");function _(t,e,r){return i.aggNums(t,null,e,r)}function w(t,e){return k(_(Math.min,t,e),_(Math.max,t,e))}function T(t){var e=t.range;return e?k(e[0],e[1]):w(t.values,t._length)}function k(t,e){return!isNaN(t)&&isFinite(t)||(t=0),!isNaN(e)&&isFinite(e)||(e=0),t===e&&(0===t?(t-=1,e+=1):(t*=.9,e*=1.1)),[t,e]}function A(t,e,r,i,o){var s,l,c=T(r);return i?n.scale.ordinal().domain(i.map((s=a(r.tickformat),l=o,l?function(t,e){var r=l[e];return null==r?s(t):r}:s))).range(i.map((function(r){var n=(r-c[0])/(c[1]-c[0]);return t-e+n*(2*e-t)}))):n.scale.linear().domain(c).range([t-e,e])}function M(t){if(t.tickvals){var e=T(t);return n.scale.ordinal().domain(t.tickvals).range(t.tickvals.map((function(t){return(t-e[0])/(e[1]-e[0])})))}}function S(t){var e=t.map((function(t){return t[0]})),r=t.map((function(t){var e=o(t[1]);return n.rgb("rgb("+e[0]+","+e[1]+","+e[2]+")")})),i="rgb".split("").map((function(t){return n.scale.linear().clamp(!0).domain(e).range(r.map((i=t,function(t){return t[i]})));var i}));return function(t){return i.map((function(e){return e(t)}))}}function E(t){return t.dimensions.some((function(t){return t.brush.filterSpecified}))}function L(t,e,r){var a=m(e),s=a.trace,l=v.convertTypedArray(a.lineColor),c=s.line,u={color:o(y.deselectedLineColor)},f=h.extractOpts(c),p=f.reversescale?h.flipScale(a.cscale):a.cscale,d=s.domain,g=s.dimensions,x=t.width,b=s.labelangle,_=s.labelside,w=s.labelfont,k=s.tickfont,A=s.rangefont,M=i.extendDeepNoArrays({},c,{color:l.map(n.scale.linear().domain(T({values:l,range:[f.min,f.max],_length:s._length}))),blockLineCount:y.blockLineCount,canvasOverdrag:y.overdrag*y.canvasPixelRatio}),E=Math.floor(x*(d.x[1]-d.x[0])),L=Math.floor(t.height*(d.y[1]-d.y[0])),C=t.margin||{l:80,r:80,t:100,b:80},P=E,I=L;return{key:r,colCount:g.filter(v.isVisible).length,dimensions:g,tickDistance:y.tickDistance,unitToColor:S(p),lines:M,deselectedLines:u,labelAngle:b,labelSide:_,labelFont:w,tickFont:k,rangeFont:A,layoutWidth:x,layoutHeight:t.height,domain:d,translateX:d.x[0]*x,translateY:t.height-d.y[1]*t.height,pad:C,canvasWidth:P*y.canvasPixelRatio+2*M.canvasOverdrag,canvasHeight:I*y.canvasPixelRatio,width:P,height:I,canvasPixelRatio:y.canvasPixelRatio}}function C(t,e,r){var o=r.width,s=r.height,l=r.dimensions,c=r.canvasPixelRatio,u=function(t){return o*t/Math.max(1,r.colCount-1)},f=y.verticalPadding/s,h=function(t,e){return n.scale.linear().range([e,t-e])}(s,y.verticalPadding),p={key:r.key,xScale:u,model:r,inBrushDrag:!1},d={};return p.dimensions=l.filter(v.isVisible).map((function(o,l){var g=function(t,e){return n.scale.linear().domain(T(t)).range([e,1-e])}(o,f),m=d[o.label];d[o.label]=(m||0)+1;var b=o.label+(m?"__"+m:""),_=o.constraintrange,w=_&&_.length;w&&!Array.isArray(_[0])&&(_=[_]);var k=w?_.map((function(t){return t.map(g)})):[[-1/0,1/0]],S=o.values;S.length>o._length&&(S=S.slice(0,o._length));var L,C=o.tickvals;function P(t,e){return{val:t,text:L[e]}}function I(t,e){return t.val-e.val}if(Array.isArray(C)&&C.length){L=o.ticktext,Array.isArray(L)&&L.length?L.length>C.length?L=L.slice(0,C.length):C.length>L.length&&(C=C.slice(0,L.length)):L=C.map(a(o.tickformat));for(var O=1;O<C.length;O++)if(C[O]<C[O-1]){for(var z=C.map(P).sort(I),D=0;D<C.length;D++)C[D]=z[D].val,L[D]=z[D].text;break}}else C=void 0;return S=v.convertTypedArray(S),{key:b,label:o.label,tickFormat:o.tickformat,tickvals:C,ticktext:L,ordinal:v.isOrdinal(o),multiselect:o.multiselect,xIndex:l,crossfilterDimensionIndex:l,visibleIndex:o._index,height:s,values:S,paddedUnitValues:S.map(g),unitTickvals:C&&C.map(g),xScale:u,x:u(l),canvasX:u(l)*c,unitToPaddedPx:h,domainScale:A(s,y.verticalPadding,o,C,L),ordinalScale:M(o),parent:p,model:r,brush:x.makeBrush(t,w,k,(function(){t.linePickActive(!1)}),(function(){var e=p;e.focusLayer&&e.focusLayer.render(e.panels,!0);var r=E(e);!t.contextShown()&&r?(e.contextLayer&&e.contextLayer.render(e.panels,!0),t.contextShown(!0)):t.contextShown()&&!r&&(e.contextLayer&&e.contextLayer.render(e.panels,!0,!0),t.contextShown(!1))}),(function(r){if(p.focusLayer.render(p.panels,!0),p.pickLayer&&p.pickLayer.render(p.panels,!0),t.linePickActive(!0),e&&e.filterChanged){var n=g.invert,a=r.map((function(t){return t.map(n).sort(i.sorterAsc)})).sort((function(t,e){return t[0]-e[0]}));e.filterChanged(p.key,o._index,a)}}))}})),p}function P(t){t.classed(y.cn.axisExtentText,!0).attr("text-anchor","middle").style("cursor","default")}function I(t,e){var r="top"===e?1:-1,n=t*Math.PI/180;return{dir:r,dx:Math.sin(n),dy:Math.cos(n),degrees:t}}function O(t,e,r){for(var n=e.panels||(e.panels=[]),i=t.data(),a=0;a<i.length-1;a++){var o=n[a]||(n[a]={}),s=i[a],l=i[a+1];o.dim0=s,o.dim1=l,o.canvasX=s.canvasX,o.panelSizeX=l.canvasX-s.canvasX,o.panelSizeY=e.model.canvasHeight,o.y=0,o.canvasY=0,o.plotGlPixelRatio=r}}function z(t,e){return s.tickText(t._ax,e,!1).text}function D(t,e){if(t.ordinal)return"";var r=t.domainScale.domain(),n=r[e?r.length-1:0];return z(t.model.dimensions[t.visibleIndex],n)}e.exports=function(t,e,r,a){var o=t._fullLayout,h=o._toppaper,p=o._glcontainer,_=t._context.plotGlPixelRatio,T=t._fullLayout.paper_bgcolor;!function(t){for(var e=0;e<t.length;e++)for(var r=0;r<t[e].length;r++)for(var n=t[e][r].trace,i=n.dimensions,a=0;a<i.length;a++){var o=i[a].values,l=i[a]._ax;l&&(l.range?l.range=k(l.range[0],l.range[1]):l.range=w(o,n._length),l.dtick||(l.dtick=.01*(Math.abs(l.range[1]-l.range[0])||1)),l.tickformat=i[a].tickformat,s.calcTicks(l),l.cleanRange())}}(e);var A,M,S=(A=!0,M=!1,{linePickActive:function(t){return arguments.length?A=!!t:A},contextShown:function(t){return arguments.length?M=!!t:M}}),R=e.filter((function(t){return m(t).trace.visible})).map(L.bind(0,r)).map(C.bind(0,S,a));p.each((function(t,e){return i.extendFlat(t,R[e])}));var F=p.selectAll(".gl-canvas").each((function(t){t.viewModel=R[0],t.viewModel.plotGlPixelRatio=_,t.viewModel.paperColor=T,t.model=t.viewModel?t.viewModel.model:null})),B=null;F.filter((function(t){return t.pick})).style("pointer-events","auto").on("mousemove",(function(t){if(S.linePickActive()&&t.lineLayer&&a&&a.hover){var e=n.event,r=this.width,i=this.height,o=n.mouse(this),s=o[0],l=o[1];if(s<0||l<0||s>=r||l>=i)return;var c=t.lineLayer.readPixel(s,i-1-l),u=0!==c[3],f=u?c[2]+256*(c[1]+256*c[0]):null,h={x:s,y:l,clientX:e.clientX,clientY:e.clientY,dataIndex:t.model.key,curveNumber:f};f!==B&&(u?a.hover(h):a.unhover&&a.unhover(h),B=f)}})),F.style("opacity",(function(t){return t.pick?0:1})),h.style("background","rgba(255, 255, 255, 0)");var N=h.selectAll("."+y.cn.parcoords).data(R,d);N.exit().remove(),N.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),N.attr("transform",(function(t){return c(t.model.translateX,t.model.translateY)}));var j=N.selectAll("."+y.cn.parcoordsControlView).data(g,d);j.enter().append("g").classed(y.cn.parcoordsControlView,!0),j.attr("transform",(function(t){return c(t.model.pad.l,t.model.pad.t)}));var U=j.selectAll("."+y.cn.yAxis).data((function(t){return t.dimensions}),d);U.enter().append("g").classed(y.cn.yAxis,!0),j.each((function(t){O(U,t,_)})),F.each((function(t){if(t.viewModel){!t.lineLayer||a?t.lineLayer=b(this,t):t.lineLayer.update(t),(t.key||0===t.key)&&(t.viewModel[t.key]=t.lineLayer);var e=!t.context||a;t.lineLayer.render(t.viewModel.panels,e)}})),U.attr("transform",(function(t){return c(t.xScale(t.xIndex),0)})),U.call(n.behavior.drag().origin((function(t){return t})).on("drag",(function(t){var e=t.parent;S.linePickActive(!1),t.x=Math.max(-y.overdrag,Math.min(t.model.width+y.overdrag,n.event.x)),t.canvasX=t.x*t.model.canvasPixelRatio,U.sort((function(t,e){return t.x-e.x})).each((function(e,r){e.xIndex=r,e.x=t===e?e.x:e.xScale(e.xIndex),e.canvasX=e.x*e.model.canvasPixelRatio})),O(U,e,_),U.filter((function(e){return 0!==Math.abs(t.xIndex-e.xIndex)})).attr("transform",(function(t){return c(t.xScale(t.xIndex),0)})),n.select(this).attr("transform",c(t.x,0)),U.each((function(r,n,i){i===t.parent.key&&(e.dimensions[n]=r)})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!E(e)),e.focusLayer.render&&e.focusLayer.render(e.panels)})).on("dragend",(function(t){var e=t.parent;t.x=t.xScale(t.xIndex),t.canvasX=t.x*t.model.canvasPixelRatio,O(U,e,_),n.select(this).attr("transform",(function(t){return c(t.x,0)})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!E(e)),e.focusLayer&&e.focusLayer.render(e.panels),e.pickLayer&&e.pickLayer.render(e.panels,!0),S.linePickActive(!0),a&&a.axesMoved&&a.axesMoved(e.key,e.dimensions.map((function(t){return t.crossfilterDimensionIndex})))}))),U.exit().remove();var V=U.selectAll("."+y.cn.axisOverlays).data(g,d);V.enter().append("g").classed(y.cn.axisOverlays,!0),V.selectAll("."+y.cn.axis).remove();var H=V.selectAll("."+y.cn.axis).data(g,d);H.enter().append("g").classed(y.cn.axis,!0),H.each((function(t){var e=t.model.height/t.model.tickDistance,r=t.domainScale,i=r.domain();n.select(this).call(n.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(e,t.tickFormat).tickValues(t.ordinal?i:null).tickFormat((function(e){return v.isOrdinal(t)?e:z(t.model.dimensions[t.visibleIndex],e)})).scale(r)),f.font(H.selectAll("text"),t.model.tickFont)})),H.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),H.selectAll("text").style("text-shadow",u.makeTextShadow(T)).style("cursor","default");var q=V.selectAll("."+y.cn.axisHeading).data(g,d);q.enter().append("g").classed(y.cn.axisHeading,!0);var G=q.selectAll("."+y.cn.axisTitle).data(g,d);G.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events","auto"),G.text((function(t){return t.label})).each((function(e){var r=n.select(this);f.font(r,e.model.labelFont),u.convertToTspans(r,t)})).attr("transform",(function(t){var e=I(t.model.labelAngle,t.model.labelSide),r=y.axisTitleOffset;return(e.dir>0?"":c(0,2*r+t.model.height))+l(e.degrees)+c(-r*e.dx,-r*e.dy)})).attr("text-anchor",(function(t){var e=I(t.model.labelAngle,t.model.labelSide);return 2*Math.abs(e.dx)>Math.abs(e.dy)?e.dir*e.dx<0?"start":"end":"middle"}));var Y=V.selectAll("."+y.cn.axisExtent).data(g,d);Y.enter().append("g").classed(y.cn.axisExtent,!0);var W=Y.selectAll("."+y.cn.axisExtentTop).data(g,d);W.enter().append("g").classed(y.cn.axisExtentTop,!0),W.attr("transform",c(0,-y.axisExtentOffset));var X=W.selectAll("."+y.cn.axisExtentTopText).data(g,d);X.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(P),X.text((function(t){return D(t,!0)})).each((function(t){f.font(n.select(this),t.model.rangeFont)}));var Z=Y.selectAll("."+y.cn.axisExtentBottom).data(g,d);Z.enter().append("g").classed(y.cn.axisExtentBottom,!0),Z.attr("transform",(function(t){return c(0,t.model.height+y.axisExtentOffset)}));var J=Z.selectAll("."+y.cn.axisExtentBottomText).data(g,d);J.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(P),J.text((function(t){return D(t,!1)})).each((function(t){f.font(n.select(this),t.model.rangeFont)})),x.ensureAxisBrush(V,T)}},{"../../components/colorscale":378,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"./axisbrush":889,"./constants":892,"./helpers":894,"./lines":896,"@plotly/d3":58,"color-rgba":91}],899:[function(t,e,r){"use strict";var n=t("./parcoords"),i=t("../../lib/prepare_regl"),a=t("./helpers").isVisible;function o(t,e,r){var n=e.indexOf(r),i=t.indexOf(n);return-1===i&&(i+=e.length),i}e.exports=function(t,e){var r=t._fullLayout;if(i(t)){var s={},l={},c={},u={},f=r._size;e.forEach((function(e,r){var n=e[0].trace;c[r]=n.index;var i=u[r]=n._fullInput.index;s[r]=t.data[i].dimensions,l[r]=t.data[i].dimensions.slice()}));n(t,e,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{filterChanged:function(e,n,i){var a=l[e][n],o=i.map((function(t){return t.slice()})),s="dimensions["+n+"].constraintrange",f=r._tracePreGUI[t._fullData[c[e]]._fullInput.uid];if(void 0===f[s]){var h=a.constraintrange;f[s]=h||null}var p=t._fullData[c[e]].dimensions[n];o.length?(1===o.length&&(o=o[0]),a.constraintrange=o,p.constraintrange=o.slice(),o=[o]):(delete a.constraintrange,delete p.constraintrange,o=null);var d={};d[s]=o,t.emit("plotly_restyle",[d,[u[e]]])},hover:function(e){t.emit("plotly_hover",e)},unhover:function(e){t.emit("plotly_unhover",e)},axesMoved:function(e,r){var n=function(t,e){return function(r,n){return o(t,e,r)-o(t,e,n)}}(r,l[e].filter(a));s[e].sort(n),l[e].filter((function(t){return!a(t)})).sort((function(t){return l[e].indexOf(t)})).forEach((function(t){s[e].splice(s[e].indexOf(t),1),s[e].splice(l[e].indexOf(t),0,t)})),t.emit("plotly_restyle",[{dimensions:[s[e]]},[u[e]]])}})}}},{"../../lib/prepare_regl":516,"./helpers":894,"./parcoords":898}],900:[function(t,e,r){"use strict";var n=t("../../plots/attributes"),i=t("../../plots/domain").attributes,a=t("../../plots/font_attributes"),o=t("../../components/color/attributes"),s=t("../../plots/template_attributes").hovertemplateAttrs,l=t("../../plots/template_attributes").texttemplateAttrs,c=t("../../lib/extend").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot"});e.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:o.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:c({},n.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:s({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:c({},u,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:c({},u,{}),outsidetextfont:c({},u,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:c({},u,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:i({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"number",min:-360,max:360,dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:c({},u,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],901:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="pie",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],902:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("tinycolor2"),a=t("../../components/color"),o={};function s(t){return function(e,r){return!!e&&(!!(e=i(e)).isValid()&&(e=a.addOpacity(e,e.getAlpha()),t[r]||(t[r]=e),e))}}function l(t,e){var r,n=JSON.stringify(t),a=e[n];if(!a){for(a=t.slice(),r=0;r<t.length;r++)a.push(i(t[r]).lighten(20).toHexString());for(r=0;r<t.length;r++)a.push(i(t[r]).darken(20).toHexString());e[n]=a}return a}e.exports={calc:function(t,e){var r,i,a=[],o=t._fullLayout,l=o.hiddenlabels||[],c=e.labels,u=e.marker.colors||[],f=e.values,h=e._length,p=e._hasValues&&h;if(e.dlabel)for(c=new Array(h),r=0;r<h;r++)c[r]=String(e.label0+r*e.dlabel);var d={},g=s(o["_"+e.type+"colormap"]),m=0,v=!1;for(r=0;r<h;r++){var y,x,b;if(p){if(y=f[r],!n(y))continue;y=+y}else y=1;void 0!==(x=c[r])&&""!==x||(x=r);var _=d[x=String(x)];void 0===_?(d[x]=a.length,(b=-1!==l.indexOf(x))||(m+=y),a.push({v:y,label:x,color:g(u[r],x),i:r,pts:[r],hidden:b})):(v=!0,(i=a[_]).v+=y,i.pts.push(r),i.hidden||(m+=y),!1===i.color&&u[r]&&(i.color=g(u[r],x)))}return a=a.filter((function(t){return t.v>=0})),("funnelarea"===e.type?v:e.sort)&&a.sort((function(t,e){return e.v-t.v})),a[0]&&(a[0].vTotal=m),a},crossTraceCalc:function(t,e){var r=(e||{}).type;r||(r="pie");var n=t._fullLayout,i=t.calcdata,a=n[r+"colorway"],s=n["_"+r+"colormap"];n["extend"+r+"colors"]&&(a=l(a,o));for(var c=0,u=0;u<i.length;u++){var f=i[u];if(f[0].trace.type===r)for(var h=0;h<f.length;h++){var p=f[h];!1===p.color&&(s[p.label]?p.color=s[p.label]:(s[p.label]=p.color=a[c%a.length],c++))}}},makePullColorFn:s,generateExtendedColors:l}},{"../../components/color":366,"fast-isnumeric":190,tinycolor2:312}],903:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("./attributes"),o=t("../../plots/domain").defaults,s=t("../bar/defaults").handleText;function l(t,e){var r=Array.isArray(t),a=i.isArrayOrTypedArray(e),o=Math.min(r?t.length:1/0,a?e.length:1/0);if(isFinite(o)||(o=0),o&&a){for(var s,l=0;l<o;l++){var c=e[l];if(n(c)&&c>0){s=!0;break}}s||(o=0)}return{hasLabels:r,hasValues:a,len:o}}e.exports={handleLabelsAndValues:l,supplyDefaults:function(t,e,r,n){function c(r,n){return i.coerce(t,e,a,r,n)}var u=l(c("labels"),c("values")),f=u.len;if(e._hasLabels=u.hasLabels,e._hasValues=u.hasValues,!e._hasLabels&&e._hasValues&&(c("label0"),c("dlabel")),f){e._length=f,c("marker.line.width")&&c("marker.line.color"),c("marker.colors"),c("scalegroup");var h,p=c("text"),d=c("texttemplate");if(d||(h=c("textinfo",Array.isArray(p)?"text+percent":"percent")),c("hovertext"),c("hovertemplate"),d||h&&"none"!==h){var g=c("textposition");s(t,e,n,c,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(g)||"auto"===g||"outside"===g)&&c("automargin"),("inside"===g||"auto"===g||Array.isArray(g))&&c("insidetextorientation")}o(e,n,c);var m=c("hole");if(c("title.text")){var v=c("title.position",m?"middle center":"top center");m||"middle center"!==v||(e.title.position="top center"),i.coerceFont(c,"title.font",n.font)}c("sort"),c("direction"),c("rotation"),c("pull")}else e.visible=!1}}},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":900,"fast-isnumeric":190}],904:[function(t,e,r){"use strict";var n=t("../../components/fx/helpers").appendArrayMultiPointValues;e.exports=function(t,e){var r={curveNumber:e.index,pointNumbers:t.pts,data:e._input,fullData:e,label:t.label,color:t.color,value:t.v,percent:t.percent,text:t.text,bbox:t.bbox,v:t.v};return 1===t.pts.length&&(r.pointNumber=r.i=t.pts[0]),n(r,e,t.pts),"funnelarea"===e.type&&(delete r.v,delete r.i),r}},{"../../components/fx/helpers":402}],905:[function(t,e,r){"use strict";var n=t("../../lib");function i(t){return-1!==t.indexOf("e")?t.replace(/[.]?0+e/,"e"):-1!==t.indexOf(".")?t.replace(/[.]?0+$/,""):t}r.formatPiePercent=function(t,e){var r=i((100*t).toPrecision(3));return n.numSeparate(r,e)+"%"},r.formatPieValue=function(t,e){var r=i(t.toPrecision(10));return n.numSeparate(r,e)},r.getFirstFilled=function(t,e){if(Array.isArray(t))for(var r=0;r<e.length;r++){var n=t[e[r]];if(n||0===n||""===n)return n}},r.castOption=function(t,e){return Array.isArray(t)?r.getFirstFilled(t,e):t||void 0},r.getRotationAngle=function(t){return("auto"===t?0:t)*Math.PI/180}},{"../../lib":503}],906:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults").supplyDefaults,supplyLayoutDefaults:t("./layout_defaults"),layoutAttributes:t("./layout_attributes"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot").plot,style:t("./style"),styleOne:t("./style_one"),moduleType:"trace",name:"pie",basePlotModule:t("./base_plot"),categories:["pie-like","pie","showLegend"],meta:{}}},{"./attributes":900,"./base_plot":901,"./calc":902,"./defaults":903,"./layout_attributes":907,"./layout_defaults":908,"./plot":909,"./style":910,"./style_one":911}],907:[function(t,e,r){"use strict";e.exports={hiddenlabels:{valType:"data_array",editType:"calc"},piecolorway:{valType:"colorlist",editType:"calc"},extendpiecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},{}],908:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("hiddenlabels"),r("piecolorway",e.colorway),r("extendpiecolors")}},{"../../lib":503,"./layout_attributes":907}],909:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../plots/plots"),a=t("../../components/fx"),o=t("../../components/color"),s=t("../../components/drawing"),l=t("../../lib"),c=l.strScale,u=l.strTranslate,f=t("../../lib/svg_text_utils"),h=t("../bar/uniform_text"),p=h.recordMinTextSize,d=h.clearMinTextSize,g=t("../bar/constants").TEXTPAD,m=t("./helpers"),v=t("./event_data"),y=t("../../lib").isValidTextValue;function x(t,e,r){var i=r[0],o=i.cx,s=i.cy,c=i.trace,u="funnelarea"===c.type;"_hasHoverLabel"in c||(c._hasHoverLabel=!1),"_hasHoverEvent"in c||(c._hasHoverEvent=!1),t.on("mouseover",(function(t){var r=e._fullLayout,f=e._fullData[c.index];if(!e._dragging&&!1!==r.hovermode){var h=f.hoverinfo;if(Array.isArray(h)&&(h=a.castHoverinfo({hoverinfo:[m.castOption(h,t.pts)],_module:c._module},r,0)),"all"===h&&(h="label+text+value+percent+name"),f.hovertemplate||"none"!==h&&"skip"!==h&&h){var p=t.rInscribed||0,d=o+t.pxmid[0]*(1-p),g=s+t.pxmid[1]*(1-p),y=r.separators,x=[];if(h&&-1!==h.indexOf("label")&&x.push(t.label),t.text=m.castOption(f.hovertext||f.text,t.pts),h&&-1!==h.indexOf("text")){var b=t.text;l.isValidTextValue(b)&&x.push(b)}t.value=t.v,t.valueLabel=m.formatPieValue(t.v,y),h&&-1!==h.indexOf("value")&&x.push(t.valueLabel),t.percent=t.v/i.vTotal,t.percentLabel=m.formatPiePercent(t.percent,y),h&&-1!==h.indexOf("percent")&&x.push(t.percentLabel);var _=f.hoverlabel,w=_.font,T=[];a.loneHover({trace:c,x0:d-p*i.r,x1:d+p*i.r,y:g,_x0:u?o+t.TL[0]:d-p*i.r,_x1:u?o+t.TR[0]:d+p*i.r,_y0:u?s+t.TL[1]:g-p*i.r,_y1:u?s+t.BL[1]:g+p*i.r,text:x.join("<br>"),name:f.hovertemplate||-1!==h.indexOf("name")?f.name:void 0,idealAlign:t.pxmid[0]<0?"left":"right",color:m.castOption(_.bgcolor,t.pts)||t.color,borderColor:m.castOption(_.bordercolor,t.pts),fontFamily:m.castOption(w.family,t.pts),fontSize:m.castOption(w.size,t.pts),fontColor:m.castOption(w.color,t.pts),nameLength:m.castOption(_.namelength,t.pts),textAlign:m.castOption(_.align,t.pts),hovertemplate:m.castOption(f.hovertemplate,t.pts),hovertemplateLabels:t,eventData:[v(t,f)]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:e,inOut_bbox:T}),t.bbox=T[0],c._hasHoverLabel=!0}c._hasHoverEvent=!0,e.emit("plotly_hover",{points:[v(t,f)],event:n.event})}})),t.on("mouseout",(function(t){var r=e._fullLayout,i=e._fullData[c.index],o=n.select(this).datum();c._hasHoverEvent&&(t.originalEvent=n.event,e.emit("plotly_unhover",{points:[v(o,i)],event:n.event}),c._hasHoverEvent=!1),c._hasHoverLabel&&(a.loneUnhover(r._hoverlayer.node()),c._hasHoverLabel=!1)})),t.on("click",(function(t){var r=e._fullLayout,i=e._fullData[c.index];e._dragging||!1===r.hovermode||(e._hoverdata=[v(t,i)],a.click(e,n.event))}))}function b(t,e,r){var n=m.castOption(t.insidetextfont.color,e.pts);!n&&t._input.textfont&&(n=m.castOption(t._input.textfont.color,e.pts));var i=m.castOption(t.insidetextfont.family,e.pts)||m.castOption(t.textfont.family,e.pts)||r.family,a=m.castOption(t.insidetextfont.size,e.pts)||m.castOption(t.textfont.size,e.pts)||r.size;return{color:n||o.contrast(e.color),family:i,size:a}}function _(t,e){for(var r,n,i=0;i<t.length;i++)if((n=(r=t[i][0]).trace).title.text){var a=n.title.text;n._meta&&(a=l.templateString(a,n._meta));var o=s.tester.append("text").attr("data-notex",1).text(a).call(s.font,n.title.font).call(f.convertToTspans,e),c=s.bBox(o.node(),!0);r.titleBox={width:c.width,height:c.height},o.remove()}}function w(t,e,r){var n=r.r||e.rpx1,i=e.rInscribed;if(e.startangle===e.stopangle)return{rCenter:1-i,scale:0,rotate:0,textPosAngle:0};var a,o=e.ring,s=1===o&&Math.abs(e.startangle-e.stopangle)===2*Math.PI,l=e.halfangle,c=e.midangle,u=r.trace.insidetextorientation,f="horizontal"===u,h="tangential"===u,p="radial"===u,d="auto"===u,g=[];if(!d){var m,v=function(r,i){if(function(t,e){var r=t.startangle,n=t.stopangle;return r>e&&e>n||r<e&&e<n}(e,r)){var s=Math.abs(r-e.startangle),l=Math.abs(r-e.stopangle),c=s<l?s:l;(a="tan"===i?k(t,n,o,c,0):T(t,n,o,c,Math.PI/2)).textPosAngle=r,g.push(a)}};if(f||h){for(m=4;m>=-4;m-=2)v(Math.PI*m,"tan");for(m=4;m>=-4;m-=2)v(Math.PI*(m+1),"tan")}if(f||p){for(m=4;m>=-4;m-=2)v(Math.PI*(m+1.5),"rad");for(m=4;m>=-4;m-=2)v(Math.PI*(m+.5),"rad")}}if(s||d||f){var y=Math.sqrt(t.width*t.width+t.height*t.height);if((a={scale:i*n*2/y,rCenter:1-i,rotate:0}).textPosAngle=(e.startangle+e.stopangle)/2,a.scale>=1)return a;g.push(a)}(d||p)&&((a=T(t,n,o,l,c)).textPosAngle=(e.startangle+e.stopangle)/2,g.push(a)),(d||h)&&((a=k(t,n,o,l,c)).textPosAngle=(e.startangle+e.stopangle)/2,g.push(a));for(var x=0,b=0,_=0;_<g.length;_++){var w=g[_].scale;if(b<w&&(b=w,x=_),!d&&b>=1)break}return g[x]}function T(t,e,r,n,i){e=Math.max(0,e-2*g);var a=t.width/t.height,o=S(a,n,e,r);return{scale:2*o/t.height,rCenter:A(a,o/e),rotate:M(i)}}function k(t,e,r,n,i){e=Math.max(0,e-2*g);var a=t.height/t.width,o=S(a,n,e,r);return{scale:2*o/t.width,rCenter:A(a,o/e),rotate:M(i+Math.PI/2)}}function A(t,e){return Math.cos(e)-t*e}function M(t){return(180/Math.PI*t+720)%180-90}function S(t,e,r,n){var i=t+1/(2*Math.tan(e));return r*Math.min(1/(Math.sqrt(i*i+.5)+i),n/(Math.sqrt(t*t+n/2)+t))}function E(t,e){return t.v!==e.vTotal||e.trace.hole?Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2):1}function L(t,e){var r=e.pxmid[0],n=e.pxmid[1],i=t.width/2,a=t.height/2;return r<0&&(i*=-1),n<0&&(a*=-1),{scale:1,rCenter:1,rotate:0,x:i+Math.abs(a)*(i>0?1:-1)/2,y:a/(1+r*r/(n*n)),outside:!0}}function C(t,e){var r,n,i,a=t.trace,o={x:t.cx,y:t.cy},s={tx:0,ty:0};s.ty+=a.title.font.size,i=I(a),-1!==a.title.position.indexOf("top")?(o.y-=(1+i)*t.r,s.ty-=t.titleBox.height):-1!==a.title.position.indexOf("bottom")&&(o.y+=(1+i)*t.r);var l,c,u=(l=t.r,c=t.trace.aspectratio,l/(void 0===c?1:c)),f=e.w*(a.domain.x[1]-a.domain.x[0])/2;return-1!==a.title.position.indexOf("left")?(f+=u,o.x-=(1+i)*u,s.tx+=t.titleBox.width/2):-1!==a.title.position.indexOf("center")?f*=2:-1!==a.title.position.indexOf("right")&&(f+=u,o.x+=(1+i)*u,s.tx-=t.titleBox.width/2),r=f/t.titleBox.width,n=P(t,e)/t.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:s.tx,ty:s.ty}}function P(t,e){var r=t.trace,n=e.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(t.titleBox.height,n/2)}function I(t){var e,r=t.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,e=0;e<t.pull.length;e++)t.pull[e]>r&&(r=t.pull[e]);return r}function O(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n][0],a=i.trace,o=a.domain,s=e.w*(o.x[1]-o.x[0]),l=e.h*(o.y[1]-o.y[0]);a.title.text&&"middle center"!==a.title.position&&(l-=P(i,e));var c=s/2,u=l/2;"funnelarea"!==a.type||a.scalegroup||(u/=a.aspectratio),i.r=Math.min(c,u)/(1+I(a)),i.cx=e.l+e.w*(a.domain.x[1]+a.domain.x[0])/2,i.cy=e.t+e.h*(1-a.domain.y[0])-l/2,a.title.text&&-1!==a.title.position.indexOf("bottom")&&(i.cy-=P(i,e)),a.scalegroup&&-1===r.indexOf(a.scalegroup)&&r.push(a.scalegroup)}!function(t,e){for(var r,n,i,a=0;a<e.length;a++){var o=1/0,s=e[a];for(n=0;n<t.length;n++)if(r=t[n][0],(i=r.trace).scalegroup===s){var l;if("pie"===i.type)l=r.r*r.r;else if("funnelarea"===i.type){var c,u;i.aspectratio>1?(c=r.r,u=c/i.aspectratio):(u=r.r,c=u*i.aspectratio),c*=(1+i.baseratio)/2,l=c*u}o=Math.min(o,l/r.vTotal)}for(n=0;n<t.length;n++)if(r=t[n][0],(i=r.trace).scalegroup===s){var f=o*r.vTotal;"funnelarea"===i.type&&(f/=(1+i.baseratio)/2,f/=i.aspectratio),r.r=Math.sqrt(f)}}}(t,r)}function z(t,e){return[t*Math.sin(e),-t*Math.cos(e)]}function D(t,e,r){var n=t._fullLayout,i=r.trace,a=i.texttemplate,o=i.textinfo;if(!a&&o&&"none"!==o){var s,c=o.split("+"),u=function(t){return-1!==c.indexOf(t)},f=u("label"),h=u("text"),p=u("value"),d=u("percent"),g=n.separators;if(s=f?[e.label]:[],h){var v=m.getFirstFilled(i.text,e.pts);y(v)&&s.push(v)}p&&s.push(m.formatPieValue(e.v,g)),d&&s.push(m.formatPiePercent(e.v/r.vTotal,g)),e.text=s.join("<br>")}if(a){var x=l.castOption(i,e.i,"texttemplate");if(x){var b=function(t){return{label:t.label,value:t.v,valueLabel:m.formatPieValue(t.v,n.separators),percent:t.v/r.vTotal,percentLabel:m.formatPiePercent(t.v/r.vTotal,n.separators),color:t.color,text:t.text,customdata:l.castOption(i,t.i,"customdata")}}(e),_=m.getFirstFilled(i.text,e.pts);(y(_)||""===_)&&(b.text=_),e.text=l.texttemplateString(x,b,t._fullLayout._d3locale,b,i._meta||{})}else e.text=""}}function R(t,e){var r=t.rotate*Math.PI/180,n=Math.cos(r),i=Math.sin(r),a=(e.left+e.right)/2,o=(e.top+e.bottom)/2;t.textX=a*n-o*i,t.textY=a*i+o*n,t.noCenter=!0}e.exports={plot:function(t,e){var r=t._fullLayout,a=r._size;d("pie",r),_(e,t),O(e,a);var h=l.makeTraceGroups(r._pielayer,e,"trace").each((function(e){var h=n.select(this),d=e[0],g=d.trace;!function(t){var e,r,n,i=t[0],a=i.r,o=i.trace,s=m.getRotationAngle(o.rotation),l=2*Math.PI/i.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(e=0;e<t.length&&t[e].hidden;e++);if(e===t.length)return;s+=l*t[e].v,l*=-1,c="px1",u="px0"}for(n=z(a,s),e=0;e<t.length;e++)(r=t[e]).hidden||(r[c]=n,r.startangle=s,s+=l*r.v/2,r.pxmid=z(a,s),r.midangle=s,s+=l*r.v/2,n=z(a,s),r.stopangle=s,r[u]=n,r.largeArc=r.v>i.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/i.vTotal,.5),r.ring=1-o.hole,r.rInscribed=E(r,i))}(e),h.attr("stroke-linejoin","round"),h.each((function(){var v=n.select(this).selectAll("g.slice").data(e);v.enter().append("g").classed("slice",!0),v.exit().remove();var y=[[[],[]],[[],[]]],_=!1;v.each((function(i,a){if(i.hidden)n.select(this).selectAll("path,g").remove();else{i.pointNumber=i.i,i.curveNumber=g.index,y[i.pxmid[1]<0?0:1][i.pxmid[0]<0?0:1].push(i);var o=d.cx,c=d.cy,u=n.select(this),h=u.selectAll("path.surface").data([i]);if(h.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,t,e),g.pull){var v=+m.castOption(g.pull,i.pts)||0;v>0&&(o+=v*i.pxmid[0],c+=v*i.pxmid[1])}i.cxFinal=o,i.cyFinal=c;var T=g.hole;if(i.v===d.vTotal){var k="M"+(o+i.px0[0])+","+(c+i.px0[1])+C(i.px0,i.pxmid,!0,1)+C(i.pxmid,i.px0,!0,1)+"Z";T?h.attr("d","M"+(o+T*i.px0[0])+","+(c+T*i.px0[1])+C(i.px0,i.pxmid,!1,T)+C(i.pxmid,i.px0,!1,T)+"Z"+k):h.attr("d",k)}else{var A=C(i.px0,i.px1,!0,1);if(T){var M=1-T;h.attr("d","M"+(o+T*i.px1[0])+","+(c+T*i.px1[1])+C(i.px1,i.px0,!1,T)+"l"+M*i.px0[0]+","+M*i.px0[1]+A+"Z")}else h.attr("d","M"+o+","+c+"l"+i.px0[0]+","+i.px0[1]+A+"Z")}D(t,i,d);var S=m.castOption(g.textposition,i.pts),E=u.selectAll("g.slicetext").data(i.text&&"none"!==S?[0]:[]);E.enter().append("g").classed("slicetext",!0),E.exit().remove(),E.each((function(){var u=l.ensureSingle(n.select(this),"text","",(function(t){t.attr("data-notex",1)})),h=l.ensureUniformFontSize(t,"outside"===S?function(t,e,r){var n=m.castOption(t.outsidetextfont.color,e.pts)||m.castOption(t.textfont.color,e.pts)||r.color,i=m.castOption(t.outsidetextfont.family,e.pts)||m.castOption(t.textfont.family,e.pts)||r.family,a=m.castOption(t.outsidetextfont.size,e.pts)||m.castOption(t.textfont.size,e.pts)||r.size;return{color:n,family:i,size:a}}(g,i,r.font):b(g,i,r.font));u.text(i.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,h).call(f.convertToTspans,t);var v,y=s.bBox(u.node());if("outside"===S)v=L(y,i);else if(v=w(y,i,d),"auto"===S&&v.scale<1){var x=l.ensureUniformFontSize(t,g.outsidetextfont);u.call(s.font,x),v=L(y=s.bBox(u.node()),i)}var T=v.textPosAngle,k=void 0===T?i.pxmid:z(d.r,T);if(v.targetX=o+k[0]*v.rCenter+(v.x||0),v.targetY=c+k[1]*v.rCenter+(v.y||0),R(v,y),v.outside){var A=v.targetY;i.yLabelMin=A-y.height/2,i.yLabelMid=A,i.yLabelMax=A+y.height/2,i.labelExtraX=0,i.labelExtraY=0,_=!0}v.fontSize=h.size,p(g.type,v,r),e[a].transform=v,u.attr("transform",l.getTextTransform(v))}))}function C(t,e,r,n){var a=n*(e[0]-t[0]),o=n*(e[1]-t[1]);return"a"+n*d.r+","+n*d.r+" 0 "+i.largeArc+(r?" 1 ":" 0 ")+a+","+o}}));var T=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(T.enter().append("g").classed("titletext",!0),T.exit().remove(),T.each((function(){var e,r=l.ensureSingle(n.select(this),"text","",(function(t){t.attr("data-notex",1)})),i=g.title.text;g._meta&&(i=l.templateString(i,g._meta)),r.text(i).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,g.title.font).call(f.convertToTspans,t),e="middle center"===g.title.position?function(t){var e=Math.sqrt(t.titleBox.width*t.titleBox.width+t.titleBox.height*t.titleBox.height);return{x:t.cx,y:t.cy,scale:t.trace.hole*t.r*2/e,tx:0,ty:-t.titleBox.height/2+t.trace.title.font.size}}(d):C(d,a),r.attr("transform",u(e.x,e.y)+c(Math.min(1,e.scale))+u(e.tx,e.ty))})),_&&function(t,e){var r,n,i,a,o,s,l,c,u,f,h,p,d;function g(t,e){return t.pxmid[1]-e.pxmid[1]}function v(t,e){return e.pxmid[1]-t.pxmid[1]}function y(t,r){r||(r={});var i,c,u,h,p=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),d=n?t.yLabelMin:t.yLabelMax,g=n?t.yLabelMax:t.yLabelMin,v=t.cyFinal+o(t.px0[1],t.px1[1]),y=p-d;if(y*l>0&&(t.labelExtraY=y),Array.isArray(e.pull))for(c=0;c<f.length;c++)(u=f[c])===t||(m.castOption(e.pull,t.pts)||0)>=(m.castOption(e.pull,u.pts)||0)||((t.pxmid[1]-u.pxmid[1])*l>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-d-t.labelExtraY)*l>0&&(t.labelExtraY+=y):(g+t.labelExtraY-v)*l>0&&(i=3*s*Math.abs(c-f.indexOf(t)),(h=u.cxFinal+a(u.px0[0],u.px1[0])+i-(t.cxFinal+t.pxmid[0])-t.labelExtraX)*s>0&&(t.labelExtraX+=h)))}for(n=0;n<2;n++)for(i=n?g:v,o=n?Math.max:Math.min,l=n?1:-1,r=0;r<2;r++){for(a=r?Math.max:Math.min,s=r?1:-1,(c=t[n][r]).sort(i),u=t[1-n][r],f=u.concat(c),p=[],h=0;h<c.length;h++)void 0!==c[h].yLabelMid&&p.push(c[h]);for(d=!1,h=0;n&&h<u.length;h++)if(void 0!==u[h].yLabelMid){d=u[h];break}for(h=0;h<p.length;h++){var x=h&&p[h-1];d&&!h&&(x=d),y(p[h],x)}}}(y,g),function(t,e){t.each((function(t){var r=n.select(this);if(t.labelExtraX||t.labelExtraY){var i=r.select("g.slicetext text");t.transform.targetX+=t.labelExtraX,t.transform.targetY+=t.labelExtraY,i.attr("transform",l.getTextTransform(t.transform));var a=t.cxFinal+t.pxmid[0],s="M"+a+","+(t.cyFinal+t.pxmid[1]),c=(t.yLabelMax-t.yLabelMin)*(t.pxmid[0]<0?-1:1)/4;if(t.labelExtraX){var u=t.labelExtraX*t.pxmid[1]/t.pxmid[0],f=t.yLabelMid+t.labelExtraY-(t.cyFinal+t.pxmid[1]);Math.abs(u)>Math.abs(f)?s+="l"+f*t.pxmid[0]/t.pxmid[1]+","+f+"H"+(a+t.labelExtraX+c):s+="l"+t.labelExtraX+","+u+"v"+(f-u)+"h"+c}else s+="V"+(t.yLabelMid+t.labelExtraY)+"h"+c;l.ensureSingle(r,"path","textline").call(o.stroke,e.outsidetextfont.color).attr({"stroke-width":Math.min(2,e.outsidetextfont.size/8),d:s,fill:"none"})}else r.select("path.textline").remove()}))}(v,g),_&&g.automargin){var k=s.bBox(h.node()),A=g.domain,M=a.w*(A.x[1]-A.x[0]),S=a.h*(A.y[1]-A.y[0]),E=(.5*M-d.r)/a.w,P=(.5*S-d.r)/a.h;i.autoMargin(t,"pie."+g.uid+".automargin",{xl:A.x[0]-E,xr:A.x[1]+E,yb:A.y[0]-P,yt:A.y[1]+P,l:Math.max(d.cx-d.r-k.left,0),r:Math.max(k.right-(d.cx+d.r),0),b:Math.max(k.bottom-(d.cy+d.r),0),t:Math.max(d.cy-d.r-k.top,0),pad:5})}}))}));setTimeout((function(){h.selectAll("tspan").each((function(){var t=n.select(this);t.attr("dy")&&t.attr("dy",t.attr("dy"))}))}),0)},formatSliceLabel:D,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:C,prerenderTitles:_,layoutAreas:O,attachFxHandlers:x,computeTransform:R}},{"../../components/color":366,"../../components/drawing":388,"../../components/fx":406,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../bar/constants":650,"../bar/uniform_text":664,"./event_data":904,"./helpers":905,"@plotly/d3":58}],910:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("./style_one"),a=t("../bar/uniform_text").resizeText;e.exports=function(t){var e=t._fullLayout._pielayer.selectAll(".trace");a(t,e,"pie"),e.each((function(t){var e=t[0].trace,r=n.select(this);r.style({opacity:e.opacity}),r.selectAll("path.surface").each((function(t){n.select(this).call(i,t,e)}))}))}},{"../bar/uniform_text":664,"./style_one":911,"@plotly/d3":58}],911:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("./helpers").castOption;e.exports=function(t,e,r){var a=r.marker.line,o=i(a.color,e.pts)||n.defaultLine,s=i(a.width,e.pts)||0;t.style("stroke-width",s).call(n.fill,e.color).call(n.stroke,o)}},{"../../components/color":366,"./helpers":905}],912:[function(t,e,r){"use strict";var n=t("../scatter/attributes");e.exports={x:n.x,y:n.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:n.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},{"../scatter/attributes":926}],913:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_pointcloud2d,i=t("../../lib/str2rgbarray"),a=t("../../plots/cartesian/autorange").findExtremes,o=t("../scatter/get_trace_color");function s(t,e){this.scene=t,this.uid=e,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=n(t.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var l=s.prototype;l.handlePick=function(t){var e=this.idToIndex[t.pointId];return{trace:this,dataCoord:t.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*e],this.pickXYData[2*e+1]]:[this.pickXData[e],this.pickYData[e]],textLabel:Array.isArray(this.textLabels)?this.textLabels[e]:this.textLabels,color:this.color,name:this.name,pointIndex:e,hoverinfo:this.hoverinfo}},l.update=function(t){this.index=t.index,this.textLabels=t.text,this.name=t.name,this.hoverinfo=t.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(t),this.color=o(t,{})},l.updateFast=function(t){var e,r,n,o,s,l,c=this.xData=this.pickXData=t.x,u=this.yData=this.pickYData=t.y,f=this.pickXYData=t.xy,h=t.xbounds&&t.ybounds,p=t.indices,d=this.bounds;if(f){if(n=f,e=f.length>>>1,h)d[0]=t.xbounds[0],d[2]=t.xbounds[1],d[1]=t.ybounds[0],d[3]=t.ybounds[1];else for(l=0;l<e;l++)o=n[2*l],s=n[2*l+1],o<d[0]&&(d[0]=o),o>d[2]&&(d[2]=o),s<d[1]&&(d[1]=s),s>d[3]&&(d[3]=s);if(p)r=p;else for(r=new Int32Array(e),l=0;l<e;l++)r[l]=l}else for(e=c.length,n=new Float32Array(2*e),r=new Int32Array(e),l=0;l<e;l++)o=c[l],s=u[l],r[l]=l,n[2*l]=o,n[2*l+1]=s,o<d[0]&&(d[0]=o),o>d[2]&&(d[2]=o),s<d[1]&&(d[1]=s),s>d[3]&&(d[3]=s);this.idToIndex=r,this.pointcloudOptions.idToIndex=r,this.pointcloudOptions.positions=n;var g=i(t.marker.color),m=i(t.marker.border.color),v=t.opacity*t.marker.opacity;g[3]*=v,this.pointcloudOptions.color=g;var y=t.marker.blend;if(null===y){y=c.length<100||u.length<100}this.pointcloudOptions.blend=y,m[3]*=v,this.pointcloudOptions.borderColor=m;var x=t.marker.sizemin,b=Math.max(t.marker.sizemax,t.marker.sizemin);this.pointcloudOptions.sizeMin=x,this.pointcloudOptions.sizeMax=b,this.pointcloudOptions.areaRatio=t.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var _=this.scene.xaxis,w=this.scene.yaxis,T=b/2||.5;t._extremes[_._id]=a(_,[d[0],d[2]],{ppad:T}),t._extremes[w._id]=a(w,[d[1],d[3]],{ppad:T})},l.dispose=function(){this.pointcloud.dispose()},e.exports=function(t,e){var r=new s(t,e.uid);return r.update(e),r}},{"../../../stackgl_modules":1120,"../../lib/str2rgbarray":528,"../../plots/cartesian/autorange":553,"../scatter/get_trace_color":936}],914:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes");e.exports=function(t,e,r){function a(r,a){return n.coerce(t,e,i,r,a)}a("x"),a("y"),a("xbounds"),a("ybounds"),t.xy&&t.xy instanceof Float32Array&&(e.xy=t.xy),t.indices&&t.indices instanceof Int32Array&&(e.indices=t.indices),a("text"),a("marker.color",r),a("marker.opacity"),a("marker.blend"),a("marker.sizemin"),a("marker.sizemax"),a("marker.border.color",r),a("marker.border.arearatio"),e._length=null}},{"../../lib":503,"./attributes":912}],915:[function(t,e,r){"use strict";["*pointcloud* trace is deprecated!","Please consider switching to the *scattergl* trace type."].join(" ");e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("../scatter3d/calc"),plot:t("./convert"),moduleType:"trace",name:"pointcloud",basePlotModule:t("../../plots/gl2d"),categories:["gl","gl2d","showLegend"],meta:{}}},{"../../plots/gl2d":596,"../scatter3d/calc":955,"./attributes":912,"./convert":913,"./defaults":914}],916:[function(t,e,r){"use strict";var n=t("../../plots/font_attributes"),i=t("../../plots/attributes"),a=t("../../components/color/attributes"),o=t("../../components/fx/attributes"),s=t("../../plots/domain").attributes,l=t("../../plots/template_attributes").hovertemplateAttrs,c=t("../../components/colorscale/attributes"),u=t("../../plot_api/plot_template").templatedArray,f=t("../../plots/cartesian/axis_format_attributes").descriptionOnlyNumbers,h=t("../../lib/extend").extendFlat,p=t("../../plot_api/edit_types").overrideAll;(e.exports=p({hoverinfo:h({},i.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:o.hoverlabel,domain:s({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:f("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:n({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:a.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:o.hoverlabel,hovertemplate:l({},{keys:["value","label"]})},link:{label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:a.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:o.hoverlabel,hovertemplate:l({},{keys:["value","label"]}),colorscales:u("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:h(c().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../components/fx/attributes":397,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],917:[function(t,e,r){"use strict";var n=t("../../plot_api/edit_types").overrideAll,i=t("../../plots/get_data").getModuleCalcData,a=t("./plot"),o=t("../../components/fx/layout_attributes"),s=t("../../lib/setcursor"),l=t("../../components/dragelement"),c=t("../../plots/cartesian/select").prepSelect,u=t("../../lib"),f=t("../../registry");function h(t,e){var r=t._fullData[e],n=t._fullLayout,i=n.dragmode,a="pan"===n.dragmode?"move":"crosshair",o=r._bgRect;if("pan"!==i&&"zoom"!==i){s(o,a);var h={_id:"x",c2p:u.identity,_offset:r._sankey.translateX,_length:r._sankey.width},p={_id:"y",c2p:u.identity,_offset:r._sankey.translateY,_length:r._sankey.height},d={gd:t,element:o.node(),plotinfo:{id:e,xaxis:h,yaxis:p,fillRangeItems:u.noop},subplot:e,xaxes:[h],yaxes:[p],doneFnCompleted:function(r){var n,i=t._fullData[e],a=i.node.groups.slice(),o=[];function s(t){for(var e=i._sankey.graph.nodes,r=0;r<e.length;r++)if(e[r].pointNumber===t)return e[r]}for(var l=0;l<r.length;l++){var c=s(r[l].pointNumber);if(c)if(c.group){for(var u=0;u<c.childrenNodes.length;u++)o.push(c.childrenNodes[u].pointNumber);a[c.pointNumber-i.node._count]=!1}else o.push(c.pointNumber)}n=a.filter(Boolean).concat([o]),f.call("_guiRestyle",t,{"node.groups":[n]},e)},prepFn:function(t,e,r){c(t,e,r,d,i)}};l.init(d)}}r.name="sankey",r.baseLayoutAttrOverrides=n({hoverlabel:o.hoverlabel},"plot","nested"),r.plot=function(t){var e=i(t.calcdata,"sankey")[0];a(t,e),r.updateFx(t)},r.clean=function(t,e,r,n){var i=n._has&&n._has("sankey"),a=e._has&&e._has("sankey");i&&!a&&(n._paperdiv.selectAll(".sankey").remove(),n._paperdiv.selectAll(".bgsankey").remove())},r.updateFx=function(t){for(var e=0;e<t._fullData.length;e++)h(t,e)}},{"../../components/dragelement":385,"../../components/fx/layout_attributes":407,"../../lib":503,"../../lib/setcursor":524,"../../plot_api/edit_types":536,"../../plots/cartesian/select":575,"../../plots/get_data":593,"../../registry":638,"./plot":922}],918:[function(t,e,r){"use strict";var n=t("strongly-connected-components"),i=t("../../lib"),a=t("../../lib/gup").wrap,o=i.isArrayOrTypedArray,s=i.isIndex,l=t("../../components/colorscale");function c(t){var e,r=t.node,a=t.link,c=[],u=o(a.color),f=o(a.customdata),h={},p={},d=a.colorscales.length;for(e=0;e<d;e++){var g=a.colorscales[e],m=l.extractScale(g,{cLetter:"c"}),v=l.makeColorScaleFunc(m);p[g.label]=v}var y=0;for(e=0;e<a.value.length;e++)a.source[e]>y&&(y=a.source[e]),a.target[e]>y&&(y=a.target[e]);var x,b=y+1;t.node._count=b;var _=t.node.groups,w={};for(e=0;e<_.length;e++){var T=_[e];for(x=0;x<T.length;x++){var k=T[x],A=b+e;w.hasOwnProperty(k)?i.warn("Node "+k+" is already part of a group."):w[k]=A}}var M={source:[],target:[]};for(e=0;e<a.value.length;e++){var S=a.value[e],E=a.source[e],L=a.target[e];if(S>0&&s(E,b)&&s(L,b)&&(!w.hasOwnProperty(E)||!w.hasOwnProperty(L)||w[E]!==w[L])){w.hasOwnProperty(L)&&(L=w[L]),w.hasOwnProperty(E)&&(E=w[E]),L=+L,h[E=+E]=h[L]=!0;var C="";a.label&&a.label[e]&&(C=a.label[e]);var P=null;C&&p.hasOwnProperty(C)&&(P=p[C]),c.push({pointNumber:e,label:C,color:u?a.color[e]:a.color,customdata:f?a.customdata[e]:a.customdata,concentrationscale:P,source:E,target:L,value:+S}),M.source.push(E),M.target.push(L)}}var I=b+_.length,O=o(r.color),z=o(r.customdata),D=[];for(e=0;e<I;e++)if(h[e]){var R=r.label[e];D.push({group:e>b-1,childrenNodes:[],pointNumber:e,label:R,color:O?r.color[e]:r.color,customdata:z?r.customdata[e]:r.customdata})}var F=!1;return function(t,e,r){for(var a=i.init2dArray(t,0),o=0;o<Math.min(e.length,r.length);o++)if(i.isIndex(e[o],t)&&i.isIndex(r[o],t)){if(e[o]===r[o])return!0;a[e[o]].push(r[o])}return n(a).components.some((function(t){return t.length>1}))}(I,M.source,M.target)&&(F=!0),{circular:F,links:c,nodes:D,groups:_,groupLookup:w}}e.exports=function(t,e){var r=c(e);return a({circular:r.circular,_nodes:r.nodes,_links:r.links,_groups:r.groups,_groupLookup:r.groupLookup})}},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500,"strongly-connected-components":306}],919:[function(t,e,r){"use strict";e.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},{}],920:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../components/color"),o=t("tinycolor2"),s=t("../../plots/domain").defaults,l=t("../../components/fx/hoverlabel_defaults"),c=t("../../plot_api/plot_template"),u=t("../../plots/array_container_defaults");function f(t,e){function r(r,a){return n.coerce(t,e,i.link.colorscales,r,a)}r("label"),r("cmin"),r("cmax"),r("colorscale")}e.exports=function(t,e,r,h){function p(r,a){return n.coerce(t,e,i,r,a)}var d=n.extendDeep(h.hoverlabel,t.hoverlabel),g=t.node,m=c.newContainer(e,"node");function v(t,e){return n.coerce(g,m,i.node,t,e)}v("label"),v("groups"),v("x"),v("y"),v("pad"),v("thickness"),v("line.color"),v("line.width"),v("hoverinfo",t.hoverinfo),l(g,m,v,d),v("hovertemplate");var y=h.colorway;v("color",m.label.map((function(t,e){return a.addOpacity(function(t){return y[t%y.length]}(e),.8)}))),v("customdata");var x=t.link||{},b=c.newContainer(e,"link");function _(t,e){return n.coerce(x,b,i.link,t,e)}_("label"),_("source"),_("target"),_("value"),_("line.color"),_("line.width"),_("hoverinfo",t.hoverinfo),l(x,b,_,d),_("hovertemplate");var w,T=o(h.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";_("color",n.repeat(T,b.value.length)),_("customdata"),u(x,b,{name:"colorscales",handleItemDefaults:f}),s(e,h,p),p("orientation"),p("valueformat"),p("valuesuffix"),m.x.length&&m.y.length&&(w="freeform"),p("arrangement",w),n.coerceFont(p,"textfont",n.extendFlat({},h.font)),e._length=null}},{"../../components/color":366,"../../components/fx/hoverlabel_defaults":404,"../../lib":503,"../../plot_api/plot_template":543,"../../plots/array_container_defaults":549,"../../plots/domain":584,"./attributes":916,tinycolor2:312}],921:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),moduleType:"trace",name:"sankey",basePlotModule:t("./base_plot"),selectPoints:t("./select.js"),categories:["noOpacity"],meta:{}}},{"./attributes":916,"./base_plot":917,"./calc":918,"./defaults":920,"./plot":922,"./select.js":924}],922:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=i.numberFormat,o=t("./render"),s=t("../../components/fx"),l=t("../../components/color"),c=t("./constants").cn,u=i._;function f(t){return""!==t}function h(t,e){return t.filter((function(t){return t.key===e.traceId}))}function p(t,e){n.select(t).select("path").style("fill-opacity",e),n.select(t).select("rect").style("fill-opacity",e)}function d(t){n.select(t).select("text.name").style("fill","black")}function g(t){return function(e){return-1!==t.node.sourceLinks.indexOf(e.link)||-1!==t.node.targetLinks.indexOf(e.link)}}function m(t){return function(e){return-1!==e.node.sourceLinks.indexOf(t.link)||-1!==e.node.targetLinks.indexOf(t.link)}}function v(t,e,r){e&&r&&h(r,e).selectAll("."+c.sankeyLink).filter(g(e)).call(x.bind(0,e,r,!1))}function y(t,e,r){e&&r&&h(r,e).selectAll("."+c.sankeyLink).filter(g(e)).call(b.bind(0,e,r,!1))}function x(t,e,r,n){var i=n.datum().link.label;n.style("fill-opacity",(function(t){if(!t.link.concentrationscale)return.4})),i&&h(e,t).selectAll("."+c.sankeyLink).filter((function(t){return t.link.label===i})).style("fill-opacity",(function(t){if(!t.link.concentrationscale)return.4})),r&&h(e,t).selectAll("."+c.sankeyNode).filter(m(t)).call(v)}function b(t,e,r,n){var i=n.datum().link.label;n.style("fill-opacity",(function(t){return t.tinyColorAlpha})),i&&h(e,t).selectAll("."+c.sankeyLink).filter((function(t){return t.link.label===i})).style("fill-opacity",(function(t){return t.tinyColorAlpha})),r&&h(e,t).selectAll(c.sankeyNode).filter(m(t)).call(y)}function _(t,e){var r=t.hoverlabel||{},n=i.nestedProperty(r,e).get();return!Array.isArray(n)&&n}e.exports=function(t,e){for(var r=t._fullLayout,i=r._paper,h=r._size,g=0;g<t._fullData.length;g++)if(t._fullData[g].visible&&t._fullData[g].type===c.sankey&&!t._fullData[g]._viewInitial){var m=t._fullData[g].node;t._fullData[g]._viewInitial={node:{groups:m.groups.slice(),x:m.x.slice(),y:m.y.slice()}}}var w=u(t,"source:")+" ",T=u(t,"target:")+" ",k=u(t,"concentration:")+" ",A=u(t,"incoming flow count:")+" ",M=u(t,"outgoing flow count:")+" ";o(t,i,e,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{linkEvents:{hover:function(e,r,i){!1!==t._fullLayout.hovermode&&(n.select(e).call(x.bind(0,r,i,!0)),"skip"!==r.link.trace.link.hoverinfo&&(r.link.fullData=r.link.trace,t.emit("plotly_hover",{event:n.event,points:[r.link]})))},follow:function(e,i){if(!1!==t._fullLayout.hovermode){var o=i.link.trace.link;if("none"!==o.hoverinfo&&"skip"!==o.hoverinfo){for(var c=[],u=0,h=0;h<i.flow.links.length;h++){var g=i.flow.links[h];if("closest"!==t._fullLayout.hovermode||i.link.pointNumber===g.pointNumber){i.link.pointNumber===g.pointNumber&&(u=h),g.fullData=g.trace,o=i.link.trace.link;var m=y(g),v={valueLabel:a(i.valueFormat)(g.value)+i.valueSuffix};c.push({x:m[0],y:m[1],name:v.valueLabel,text:[g.label||"",w+g.source.label,T+g.target.label,g.concentrationscale?k+a("%0.2f")(g.flow.labelConcentration):""].filter(f).join("<br>"),color:_(o,"bgcolor")||l.addOpacity(g.color,1),borderColor:_(o,"bordercolor"),fontFamily:_(o,"font.family"),fontSize:_(o,"font.size"),fontColor:_(o,"font.color"),nameLength:_(o,"namelength"),textAlign:_(o,"align"),idealAlign:n.event.x<m[0]?"right":"left",hovertemplate:o.hovertemplate,hovertemplateLabels:v,eventData:[g]})}}s.loneHover(c,{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:t,anchorIndex:u}).each((function(){i.link.concentrationscale||p(this,.65),d(this)}))}}function y(t){var e,r;t.circular?(e=(t.circularPathData.leftInnerExtent+t.circularPathData.rightInnerExtent)/2,r=t.circularPathData.verticalFullExtent):(e=(t.source.x1+t.target.x0)/2,r=(t.y0+t.y1)/2);var n=[e,r];return"v"===t.trace.orientation&&n.reverse(),n[0]+=i.parent.translateX,n[1]+=i.parent.translateY,n}},unhover:function(e,i,a){!1!==t._fullLayout.hovermode&&(n.select(e).call(b.bind(0,i,a,!0)),"skip"!==i.link.trace.link.hoverinfo&&(i.link.fullData=i.link.trace,t.emit("plotly_unhover",{event:n.event,points:[i.link]})),s.loneUnhover(r._hoverlayer.node()))},select:function(e,r){var i=r.link;i.originalEvent=n.event,t._hoverdata=[i],s.click(t,{target:!0})}},nodeEvents:{hover:function(e,r,i){!1!==t._fullLayout.hovermode&&(n.select(e).call(v,r,i),"skip"!==r.node.trace.node.hoverinfo&&(r.node.fullData=r.node.trace,t.emit("plotly_hover",{event:n.event,points:[r.node]})))},follow:function(e,i){if(!1!==t._fullLayout.hovermode){var o=i.node.trace.node;if("none"!==o.hoverinfo&&"skip"!==o.hoverinfo){var l=n.select(e).select("."+c.nodeRect),u=t._fullLayout._paperdiv.node().getBoundingClientRect(),h=l.node().getBoundingClientRect(),g=h.left-2-u.left,m=h.right+2-u.left,v=h.top+h.height/4-u.top,y={valueLabel:a(i.valueFormat)(i.node.value)+i.valueSuffix};i.node.fullData=i.node.trace,t._fullLayout._calcInverseTransform(t);var x=t._fullLayout._invScaleX,b=t._fullLayout._invScaleY,w=s.loneHover({x0:x*g,x1:x*m,y:b*v,name:a(i.valueFormat)(i.node.value)+i.valueSuffix,text:[i.node.label,A+i.node.targetLinks.length,M+i.node.sourceLinks.length].filter(f).join("<br>"),color:_(o,"bgcolor")||i.tinyColorHue,borderColor:_(o,"bordercolor"),fontFamily:_(o,"font.family"),fontSize:_(o,"font.size"),fontColor:_(o,"font.color"),nameLength:_(o,"namelength"),textAlign:_(o,"align"),idealAlign:"left",hovertemplate:o.hovertemplate,hovertemplateLabels:y,eventData:[i.node]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:t});p(w,.85),d(w)}}},unhover:function(e,i,a){!1!==t._fullLayout.hovermode&&(n.select(e).call(y,i,a),"skip"!==i.node.trace.node.hoverinfo&&(i.node.fullData=i.node.trace,t.emit("plotly_unhover",{event:n.event,points:[i.node]})),s.loneUnhover(r._hoverlayer.node()))},select:function(e,r,i){var a=r.node;a.originalEvent=n.event,t._hoverdata=[a],n.select(e).call(y,r,i),s.click(t,{target:!0})}}})}},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"./constants":919,"./render":923,"@plotly/d3":58}],923:[function(t,e,r){"use strict";var n=t("d3-force"),i=t("d3-interpolate").interpolateNumber,a=t("@plotly/d3"),o=t("@plotly/d3-sankey"),s=t("@plotly/d3-sankey-circular"),l=t("./constants"),c=t("tinycolor2"),u=t("../../components/color"),f=t("../../components/drawing"),h=t("../../lib"),p=h.strTranslate,d=h.strRotate,g=t("../../lib/gup"),m=g.keyFun,v=g.repeat,y=g.unwrap,x=t("../../lib/svg_text_utils"),b=t("../../registry"),_=t("../../constants/alignment"),w=_.CAP_SHIFT,T=_.LINE_SPACING;function k(t,e,r){var n,i=y(e),a=i.trace,u=a.domain,f="h"===a.orientation,p=a.node.pad,d=a.node.thickness,g=t.width*(u.x[1]-u.x[0]),m=t.height*(u.y[1]-u.y[0]),v=i._nodes,x=i._links,b=i.circular;(n=b?s.sankeyCircular().circularLinkGap(0):o.sankey()).iterations(l.sankeyIterations).size(f?[g,m]:[m,g]).nodeWidth(d).nodePadding(p).nodeId((function(t){return t.pointNumber})).nodes(v).links(x);var _,w,T,k=n();for(var A in n.nodePadding()<p&&h.warn("node.pad was reduced to ",n.nodePadding()," to fit within the figure."),i._groupLookup){var M,S=parseInt(i._groupLookup[A]);for(_=0;_<k.nodes.length;_++)if(k.nodes[_].pointNumber===S){M=k.nodes[_];break}if(M){var E={pointNumber:parseInt(A),x0:M.x0,x1:M.x1,y0:M.y0,y1:M.y1,partOfGroup:!0,sourceLinks:[],targetLinks:[]};k.nodes.unshift(E),M.childrenNodes.unshift(E)}}if(function(){for(_=0;_<k.nodes.length;_++){var t,e,r=k.nodes[_],n={};for(w=0;w<r.targetLinks.length;w++)t=(e=r.targetLinks[w]).source.pointNumber+":"+e.target.pointNumber,n.hasOwnProperty(t)||(n[t]=[]),n[t].push(e);var i=Object.keys(n);for(w=0;w<i.length;w++){var a=n[t=i[w]],o=0,s={};for(T=0;T<a.length;T++)s[(e=a[T]).label]||(s[e.label]=0),s[e.label]+=e.value,o+=e.value;for(T=0;T<a.length;T++)(e=a[T]).flow={value:o,labelConcentration:s[e.label]/o,concentration:e.value/o,links:a},e.concentrationscale&&(e.color=c(e.concentrationscale(e.flow.labelConcentration)))}var l=0;for(w=0;w<r.sourceLinks.length;w++)l+=r.sourceLinks[w].value;for(w=0;w<r.sourceLinks.length;w++)(e=r.sourceLinks[w]).concentrationOut=e.value/l;var u=0;for(w=0;w<r.targetLinks.length;w++)u+=r.targetLinks[w].value;for(w=0;w<r.targetLinks.length;w++)(e=r.targetLinks[w]).concenrationIn=e.value/u}}(),a.node.x.length&&a.node.y.length){for(_=0;_<Math.min(a.node.x.length,a.node.y.length,k.nodes.length);_++)if(a.node.x[_]&&a.node.y[_]){var L=[a.node.x[_]*g,a.node.y[_]*m];k.nodes[_].x0=L[0]-d/2,k.nodes[_].x1=L[0]+d/2;var C=k.nodes[_].y1-k.nodes[_].y0;k.nodes[_].y0=L[1]-C/2,k.nodes[_].y1=L[1]+C/2}if("snap"===a.arrangement)!function(t){t.forEach((function(t){var e,r,n,i=0,a=t.length;for(t.sort((function(t,e){return t.y0-e.y0})),n=0;n<a;++n)(e=t[n]).y0>=i||(r=i-e.y0)>1e-6&&(e.y0+=r,e.y1+=r),i=e.y1+p}))}(function(t){var e,r,n=t.map((function(t,e){return{x0:t.x0,index:e}})).sort((function(t,e){return t.x0-e.x0})),i=[],a=-1,o=-1/0;for(_=0;_<n.length;_++){var s=t[n[_].index];s.x0>o+d&&(a+=1,e=s.x0),o=s.x0,i[a]||(i[a]=[]),i[a].push(s),r=e-s.x0,s.x0+=r,s.x1+=r}return i}(v=k.nodes));n.update(k)}return{circular:b,key:r,trace:a,guid:h.randstr(),horizontal:f,width:g,height:m,nodePad:a.node.pad,nodeLineColor:a.node.line.color,nodeLineWidth:a.node.line.width,linkLineColor:a.link.line.color,linkLineWidth:a.link.line.width,valueFormat:a.valueformat,valueSuffix:a.valuesuffix,textFont:a.textfont,translateX:u.x[0]*t.width+t.margin.l,translateY:t.height-u.y[1]*t.height+t.margin.t,dragParallel:f?m:g,dragPerpendicular:f?g:m,arrangement:a.arrangement,sankey:n,graph:k,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function A(t,e,r){var n=c(e.color),i=e.source.label+"|"+e.target.label+"__"+r;return e.trace=t.trace,e.curveNumber=t.trace.index,{circular:t.circular,key:i,traceId:t.key,pointNumber:e.pointNumber,link:e,tinyColorHue:u.tinyRGB(n),tinyColorAlpha:n.getAlpha(),linkPath:M,linkLineColor:t.linkLineColor,linkLineWidth:t.linkLineWidth,valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,parent:t,interactionState:t.interactionState,flow:e.flow}}function M(){return function(t){if(t.link.circular)return e=t.link,r=e.width/2,n=e.circularPathData,"top"===e.circularLinkType?"M "+n.targetX+" "+(n.targetY+r)+" L"+n.rightInnerExtent+" "+(n.targetY+r)+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightSmallArcRadius+r)+" 0 0 1 "+(n.rightFullExtent-r)+" "+(n.targetY-n.rightSmallArcRadius)+"L"+(n.rightFullExtent-r)+" "+n.verticalRightInnerExtent+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightLargeArcRadius+r)+" 0 0 1 "+n.rightInnerExtent+" "+(n.verticalFullExtent-r)+"L"+n.leftInnerExtent+" "+(n.verticalFullExtent-r)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftLargeArcRadius+r)+" 0 0 1 "+(n.leftFullExtent+r)+" "+n.verticalLeftInnerExtent+"L"+(n.leftFullExtent+r)+" "+(n.sourceY-n.leftSmallArcRadius)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftSmallArcRadius+r)+" 0 0 1 "+n.leftInnerExtent+" "+(n.sourceY+r)+"L"+n.sourceX+" "+(n.sourceY+r)+"L"+n.sourceX+" "+(n.sourceY-r)+"L"+n.leftInnerExtent+" "+(n.sourceY-r)+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftSmallArcRadius-r)+" 0 0 0 "+(n.leftFullExtent-r)+" "+(n.sourceY-n.leftSmallArcRadius)+"L"+(n.leftFullExtent-r)+" "+n.verticalLeftInnerExtent+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftLargeArcRadius-r)+" 0 0 0 "+n.leftInnerExtent+" "+(n.verticalFullExtent+r)+"L"+n.rightInnerExtent+" "+(n.verticalFullExtent+r)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightLargeArcRadius-r)+" 0 0 0 "+(n.rightFullExtent+r)+" "+n.verticalRightInnerExtent+"L"+(n.rightFullExtent+r)+" "+(n.targetY-n.rightSmallArcRadius)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightSmallArcRadius-r)+" 0 0 0 "+n.rightInnerExtent+" "+(n.targetY-r)+"L"+n.targetX+" "+(n.targetY-r)+"Z":"M "+n.targetX+" "+(n.targetY-r)+" L"+n.rightInnerExtent+" "+(n.targetY-r)+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightSmallArcRadius+r)+" 0 0 0 "+(n.rightFullExtent-r)+" "+(n.targetY+n.rightSmallArcRadius)+"L"+(n.rightFullExtent-r)+" "+n.verticalRightInnerExtent+"A"+(n.rightLargeArcRadius+r)+" "+(n.rightLargeArcRadius+r)+" 0 0 0 "+n.rightInnerExtent+" "+(n.verticalFullExtent+r)+"L"+n.leftInnerExtent+" "+(n.verticalFullExtent+r)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftLargeArcRadius+r)+" 0 0 0 "+(n.leftFullExtent+r)+" "+n.verticalLeftInnerExtent+"L"+(n.leftFullExtent+r)+" "+(n.sourceY+n.leftSmallArcRadius)+"A"+(n.leftLargeArcRadius+r)+" "+(n.leftSmallArcRadius+r)+" 0 0 0 "+n.leftInnerExtent+" "+(n.sourceY-r)+"L"+n.sourceX+" "+(n.sourceY-r)+"L"+n.sourceX+" "+(n.sourceY+r)+"L"+n.leftInnerExtent+" "+(n.sourceY+r)+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftSmallArcRadius-r)+" 0 0 1 "+(n.leftFullExtent-r)+" "+(n.sourceY+n.leftSmallArcRadius)+"L"+(n.leftFullExtent-r)+" "+n.verticalLeftInnerExtent+"A"+(n.leftLargeArcRadius-r)+" "+(n.leftLargeArcRadius-r)+" 0 0 1 "+n.leftInnerExtent+" "+(n.verticalFullExtent-r)+"L"+n.rightInnerExtent+" "+(n.verticalFullExtent-r)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightLargeArcRadius-r)+" 0 0 1 "+(n.rightFullExtent+r)+" "+n.verticalRightInnerExtent+"L"+(n.rightFullExtent+r)+" "+(n.targetY+n.rightSmallArcRadius)+"A"+(n.rightLargeArcRadius-r)+" "+(n.rightSmallArcRadius-r)+" 0 0 1 "+n.rightInnerExtent+" "+(n.targetY+r)+"L"+n.targetX+" "+(n.targetY+r)+"Z";var e,r,n,a=t.link.source.x1,o=t.link.target.x0,s=i(a,o),l=s(.5),c=s(.5),u=t.link.y0-t.link.width/2,f=t.link.y0+t.link.width/2,h=t.link.y1-t.link.width/2,p=t.link.y1+t.link.width/2;return"M"+a+","+u+"C"+l+","+u+" "+c+","+h+" "+o+","+h+"L"+o+","+p+"C"+c+","+p+" "+l+","+f+" "+a+","+f+"Z"}}function S(t,e){var r=c(e.color),n=l.nodePadAcross,i=t.nodePad/2;e.dx=e.x1-e.x0,e.dy=e.y1-e.y0;var a=e.dx,o=Math.max(.5,e.dy),s="node_"+e.pointNumber;return e.group&&(s=h.randstr()),e.trace=t.trace,e.curveNumber=t.trace.index,{index:e.pointNumber,key:s,partOfGroup:e.partOfGroup||!1,group:e.group,traceId:t.key,trace:t.trace,node:e,nodePad:t.nodePad,nodeLineColor:t.nodeLineColor,nodeLineWidth:t.nodeLineWidth,textFont:t.textFont,size:t.horizontal?t.height:t.width,visibleWidth:Math.ceil(a),visibleHeight:o,zoneX:-n,zoneY:-i,zoneWidth:a+2*n,zoneHeight:o+2*i,labelY:t.horizontal?e.dy/2+1:e.dx/2+1,left:1===e.originalLayer,sizeAcross:t.width,forceLayouts:t.forceLayouts,horizontal:t.horizontal,darkBackground:r.getBrightness()<=128,tinyColorHue:u.tinyRGB(r),tinyColorAlpha:r.getAlpha(),valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,graph:t.graph,arrangement:t.arrangement,uniqueNodeLabelPathId:[t.guid,t.key,s].join("_"),interactionState:t.interactionState,figure:t}}function E(t){t.attr("transform",(function(t){return p(t.node.x0.toFixed(3),t.node.y0.toFixed(3))}))}function L(t){t.call(E)}function C(t,e){t.call(L),e.attr("d",M())}function P(t){t.attr("width",(function(t){return t.node.x1-t.node.x0})).attr("height",(function(t){return t.visibleHeight}))}function I(t){return t.link.width>1||t.linkLineWidth>0}function O(t){return p(t.translateX,t.translateY)+(t.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function z(t,e,r){t.on(".basic",null).on("mouseover.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(r.hover(this,t,e),t.interactionState.hovered=[this,t])})).on("mousemove.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(r.follow(this,t),t.interactionState.hovered=[this,t])})).on("mouseout.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(r.unhover(this,t,e),t.interactionState.hovered=!1)})).on("click.basic",(function(t){t.interactionState.hovered&&(r.unhover(this,t,e),t.interactionState.hovered=!1),t.interactionState.dragInProgress||t.partOfGroup||r.select(this,t,e)}))}function D(t,e,r,i){var o=a.behavior.drag().origin((function(t){return{x:t.node.x0+t.visibleWidth/2,y:t.node.y0+t.visibleHeight/2}})).on("dragstart",(function(a){if("fixed"!==a.arrangement&&(h.ensureSingle(i._fullLayout._infolayer,"g","dragcover",(function(t){i._fullLayout._dragCover=t})),h.raiseToTop(this),a.interactionState.dragInProgress=a.node,F(a.node),a.interactionState.hovered&&(r.nodeEvents.unhover.apply(0,a.interactionState.hovered),a.interactionState.hovered=!1),"snap"===a.arrangement)){var o=a.traceId+"|"+a.key;a.forceLayouts[o]?a.forceLayouts[o].alpha(1):function(t,e,r,i){!function(t){for(var e=0;e<t.length;e++)t[e].y=(t[e].y0+t[e].y1)/2,t[e].x=(t[e].x0+t[e].x1)/2}(r.graph.nodes);var a=r.graph.nodes.filter((function(t){return t.originalX===r.node.originalX})).filter((function(t){return!t.partOfGroup}));r.forceLayouts[e]=n.forceSimulation(a).alphaDecay(0).force("collide",n.forceCollide().radius((function(t){return t.dy/2+r.nodePad/2})).strength(1).iterations(l.forceIterations)).force("constrain",function(t,e,r,n){return function(){for(var t=0,i=0;i<r.length;i++){var a=r[i];a===n.interactionState.dragInProgress?(a.x=a.lastDraggedX,a.y=a.lastDraggedY):(a.vx=(a.originalX-a.x)/l.forceTicksPerFrame,a.y=Math.min(n.size-a.dy/2,Math.max(a.dy/2,a.y))),t=Math.max(t,Math.abs(a.vx),Math.abs(a.vy))}!n.interactionState.dragInProgress&&t<.1&&n.forceLayouts[e].alpha()>0&&n.forceLayouts[e].alpha(0)}}(0,e,a,r)).stop()}(0,o,a),function(t,e,r,n,i){window.requestAnimationFrame((function a(){var o;for(o=0;o<l.forceTicksPerFrame;o++)r.forceLayouts[n].tick();if(function(t){for(var e=0;e<t.length;e++)t[e].y0=t[e].y-t[e].dy/2,t[e].y1=t[e].y0+t[e].dy,t[e].x0=t[e].x-t[e].dx/2,t[e].x1=t[e].x0+t[e].dx}(r.graph.nodes),r.sankey.update(r.graph),C(t.filter(B(r)),e),r.forceLayouts[n].alpha()>0)window.requestAnimationFrame(a);else{var s=r.node.originalX;r.node.x0=s-r.visibleWidth/2,r.node.x1=s+r.visibleWidth/2,R(r,i)}}))}(t,e,a,o,i)}})).on("drag",(function(r){if("fixed"!==r.arrangement){var n=a.event.x,i=a.event.y;"snap"===r.arrangement?(r.node.x0=n-r.visibleWidth/2,r.node.x1=n+r.visibleWidth/2,r.node.y0=i-r.visibleHeight/2,r.node.y1=i+r.visibleHeight/2):("freeform"===r.arrangement&&(r.node.x0=n-r.visibleWidth/2,r.node.x1=n+r.visibleWidth/2),i=Math.max(0,Math.min(r.size-r.visibleHeight/2,i)),r.node.y0=i-r.visibleHeight/2,r.node.y1=i+r.visibleHeight/2),F(r.node),"snap"!==r.arrangement&&(r.sankey.update(r.graph),C(t.filter(B(r)),e))}})).on("dragend",(function(t){if("fixed"!==t.arrangement){t.interactionState.dragInProgress=!1;for(var e=0;e<t.node.childrenNodes.length;e++)t.node.childrenNodes[e].x=t.node.x,t.node.childrenNodes[e].y=t.node.y;"snap"!==t.arrangement&&R(t,i)}}));t.on(".drag",null).call(o)}function R(t,e){for(var r=[],n=[],i=0;i<t.graph.nodes.length;i++){var a=(t.graph.nodes[i].x0+t.graph.nodes[i].x1)/2,o=(t.graph.nodes[i].y0+t.graph.nodes[i].y1)/2;r.push(a/t.figure.width),n.push(o/t.figure.height)}b.call("_guiRestyle",e,{"node.x":[r],"node.y":[n]},t.trace.index).then((function(){e._fullLayout._dragCover&&e._fullLayout._dragCover.remove()}))}function F(t){t.lastDraggedX=t.x0+t.dx/2,t.lastDraggedY=t.y0+t.dy/2}function B(t){return function(e){return e.node.originalX===t.node.originalX}}e.exports=function(t,e,r,n,i){var o=!1;h.ensureSingle(t._fullLayout._infolayer,"g","first-render",(function(){o=!0}));var s=t._fullLayout._dragCover,g=r.filter((function(t){return y(t).trace.visible})).map(k.bind(null,n)),b=e.selectAll("."+l.cn.sankey).data(g,m);b.exit().remove(),b.enter().append("g").classed(l.cn.sankey,!0).style("box-sizing","content-box").style("position","absolute").style("left",0).style("shape-rendering","geometricPrecision").style("pointer-events","auto").attr("transform",O),b.each((function(e,r){t._fullData[r]._sankey=e;var n="bgsankey-"+e.trace.uid+"-"+r;h.ensureSingle(t._fullLayout._draggers,"rect",n),t._fullData[r]._bgRect=a.select("."+n),t._fullData[r]._bgRect.style("pointer-events","all").attr("width",e.width).attr("height",e.height).attr("x",e.translateX).attr("y",e.translateY).classed("bgsankey",!0).style({fill:"transparent","stroke-width":0})})),b.transition().ease(l.ease).duration(l.duration).attr("transform",O);var _=b.selectAll("."+l.cn.sankeyLinks).data(v,m);_.enter().append("g").classed(l.cn.sankeyLinks,!0).style("fill","none");var L=_.selectAll("."+l.cn.sankeyLink).data((function(t){return t.graph.links.filter((function(t){return t.value})).map(A.bind(null,t))}),m);L.enter().append("path").classed(l.cn.sankeyLink,!0).call(z,b,i.linkEvents),L.style("stroke",(function(t){return I(t)?u.tinyRGB(c(t.linkLineColor)):t.tinyColorHue})).style("stroke-opacity",(function(t){return I(t)?u.opacity(t.linkLineColor):t.tinyColorAlpha})).style("fill",(function(t){return t.tinyColorHue})).style("fill-opacity",(function(t){return t.tinyColorAlpha})).style("stroke-width",(function(t){return I(t)?t.linkLineWidth:1})).attr("d",M()),L.style("opacity",(function(){return t._context.staticPlot||o||s?1:0})).transition().ease(l.ease).duration(l.duration).style("opacity",1),L.exit().transition().ease(l.ease).duration(l.duration).style("opacity",0).remove();var C=b.selectAll("."+l.cn.sankeyNodeSet).data(v,m);C.enter().append("g").classed(l.cn.sankeyNodeSet,!0),C.style("cursor",(function(t){switch(t.arrangement){case"fixed":return"default";case"perpendicular":return"ns-resize";default:return"move"}}));var R=C.selectAll("."+l.cn.sankeyNode).data((function(t){var e=t.graph.nodes;return function(t){var e,r=[];for(e=0;e<t.length;e++)t[e].originalX=(t[e].x0+t[e].x1)/2,t[e].originalY=(t[e].y0+t[e].y1)/2,-1===r.indexOf(t[e].originalX)&&r.push(t[e].originalX);for(r.sort((function(t,e){return t-e})),e=0;e<t.length;e++)t[e].originalLayerIndex=r.indexOf(t[e].originalX),t[e].originalLayer=t[e].originalLayerIndex/(r.length-1)}(e),e.map(S.bind(null,t))}),m);R.enter().append("g").classed(l.cn.sankeyNode,!0).call(E).style("opacity",(function(e){return!t._context.staticPlot&&!o||e.partOfGroup?0:1})),R.call(z,b,i.nodeEvents).call(D,L,i,t),R.transition().ease(l.ease).duration(l.duration).call(E).style("opacity",(function(t){return t.partOfGroup?0:1})),R.exit().transition().ease(l.ease).duration(l.duration).style("opacity",0).remove();var F=R.selectAll("."+l.cn.nodeRect).data(v);F.enter().append("rect").classed(l.cn.nodeRect,!0).call(P),F.style("stroke-width",(function(t){return t.nodeLineWidth})).style("stroke",(function(t){return u.tinyRGB(c(t.nodeLineColor))})).style("stroke-opacity",(function(t){return u.opacity(t.nodeLineColor)})).style("fill",(function(t){return t.tinyColorHue})).style("fill-opacity",(function(t){return t.tinyColorAlpha})),F.transition().ease(l.ease).duration(l.duration).call(P);var B=R.selectAll("."+l.cn.nodeLabel).data(v);B.enter().append("text").classed(l.cn.nodeLabel,!0).style("cursor","default"),B.attr("data-notex",1).text((function(t){return t.node.label})).each((function(e){var r=a.select(this);f.font(r,e.textFont),x.convertToTspans(r,t)})).style("text-shadow",x.makeTextShadow(t._fullLayout.paper_bgcolor)).attr("text-anchor",(function(t){return t.horizontal&&t.left?"end":"start"})).attr("transform",(function(t){var e=a.select(this),r=x.lineCount(e),n=t.textFont.size*((r-1)*T-w),i=t.nodeLineWidth/2+3,o=((t.horizontal?t.visibleHeight:t.visibleWidth)-n)/2;t.horizontal&&(t.left?i=-i:i+=t.visibleWidth);var s=t.horizontal?"":"scale(-1,1)"+d(90);return p(t.horizontal?i:o,t.horizontal?o:i)+s})),B.transition().ease(l.ease).duration(l.duration)}},{"../../components/color":366,"../../components/drawing":388,"../../constants/alignment":471,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../registry":638,"./constants":919,"@plotly/d3":58,"@plotly/d3-sankey":57,"@plotly/d3-sankey-circular":56,"d3-force":111,"d3-interpolate":116,tinycolor2:312}],924:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=[],n=t.cd[0].trace,i=n._sankey.graph.nodes,a=0;a<i.length;a++){var o=i[a];if(!o.partOfGroup){var s=[(o.x0+o.x1)/2,(o.y0+o.y1)/2];"v"===n.orientation&&s.reverse(),e&&e.contains(s,!1,a,t)&&r.push({pointNumber:o.pointNumber})}}return r}},{}],925:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){for(var r=0;r<t.length;r++)t[r].i=r;n.mergeArray(e.text,t,"tx"),n.mergeArray(e.texttemplate,t,"txt"),n.mergeArray(e.hovertext,t,"htx"),n.mergeArray(e.customdata,t,"data"),n.mergeArray(e.textposition,t,"tp"),e.textfont&&(n.mergeArrayCastPositive(e.textfont.size,t,"ts"),n.mergeArray(e.textfont.color,t,"tc"),n.mergeArray(e.textfont.family,t,"tf"));var i=e.marker;if(i){n.mergeArrayCastPositive(i.size,t,"ms"),n.mergeArrayCastPositive(i.opacity,t,"mo"),n.mergeArray(i.symbol,t,"mx"),n.mergeArray(i.color,t,"mc");var a=i.line;i.line&&(n.mergeArray(a.color,t,"mlc"),n.mergeArrayCastPositive(a.width,t,"mlw"));var o=i.gradient;o&&"none"!==o.type&&(n.mergeArray(o.type,t,"mgt"),n.mergeArray(o.color,t,"mgc"))}}},{"../../lib":503}],926:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../../components/colorscale/attributes"),s=t("../../plots/font_attributes"),l=t("../../components/drawing/attributes").dash,c=t("../../components/drawing"),u=t("./constants"),f=t("../../lib/extend").extendFlat;e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0},dx:{valType:"number",dflt:1,editType:"calc",anim:!0},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0},dy:{valType:"number",dflt:1,editType:"calc",anim:!0},xperiod:{valType:"any",dflt:0,editType:"calc"},yperiod:{valType:"any",dflt:0,editType:"calc"},xperiod0:{valType:"any",editType:"calc"},yperiod0:{valType:"any",editType:"calc"},xperiodalignment:{valType:"enumerated",values:["start","middle","end"],dflt:"middle",editType:"calc"},yperiodalignment:{valType:"enumerated",values:["start","middle","end"],dflt:"middle",editType:"calc"},xhoverformat:n("x"),yhoverformat:n("y"),stackgroup:{valType:"string",dflt:"",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc"},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},texttemplate:i({},{}),hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],editType:"calc"},hoveron:{valType:"flaglist",flags:["points","fills"],editType:"style"},hovertemplate:a({},{keys:u.eventDataKeys}),line:{color:{valType:"color",editType:"style",anim:!0},width:{valType:"number",min:0,dflt:2,editType:"style",anim:!0},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",editType:"plot"},smoothing:{valType:"number",min:0,max:1.3,dflt:1,editType:"plot"},dash:f({},l,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},cliponaxis:{valType:"boolean",dflt:!0,editType:"plot"},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],editType:"calc"},fillcolor:{valType:"color",editType:"style",anim:!0},marker:f({symbol:{valType:"enumerated",values:c.symbolList,dflt:"circle",arrayOk:!0,editType:"style"},opacity:{valType:"number",min:0,max:1,arrayOk:!0,editType:"style",anim:!0},size:{valType:"number",min:0,dflt:6,arrayOk:!0,editType:"calc",anim:!0},maxdisplayed:{valType:"number",min:0,dflt:0,editType:"plot"},sizeref:{valType:"number",dflt:1,editType:"calc"},sizemin:{valType:"number",min:0,dflt:0,editType:"calc"},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",editType:"calc"},line:f({width:{valType:"number",min:0,arrayOk:!0,editType:"style",anim:!0},editType:"calc"},o("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",editType:"calc"},color:{valType:"color",arrayOk:!0,editType:"calc"},editType:"calc"},editType:"calc"},o("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style"},color:{valType:"color",editType:"style"},size:{valType:"number",min:0,editType:"style"},editType:"style"},textfont:{color:{valType:"color",editType:"style"},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style"},color:{valType:"color",editType:"style"},size:{valType:"number",min:0,editType:"style"},editType:"style"},textfont:{color:{valType:"color",editType:"style"},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,editType:"calc"},textfont:s({editType:"calc",colorEditType:"style",arrayOk:!0})}},{"../../components/colorscale/attributes":373,"../../components/drawing":388,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"./constants":930}],927:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../plots/cartesian/axes"),o=t("../../plots/cartesian/align_period"),s=t("../../constants/numerical").BADNUM,l=t("./subtypes"),c=t("./colorscale_calc"),u=t("./arrays_to_calcdata"),f=t("./calc_selection");function h(t,e,r,n,i,o,s){var c=e._length,u=t._fullLayout,f=r._id,h=n._id,p=u._firstScatter[g(e)]===e.uid,d=(m(e,u,r,n)||{}).orientation,v=e.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};s&&(y.ppad=x.ppad=s);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===v||"tonextx"===v&&(p||"h"===d))?y.tozero=!0:(e.error_y||{}).visible||"tonexty"!==v&&"tozeroy"!==v&&(l.hasMarkers(e)||l.hasText(e))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===v||"tonexty"===v&&(p||"v"===d))?x.tozero=!0:"tonextx"!==v&&"tozerox"!==v||(x.padded=!1),f&&(e._extremes[f]=a.findExtremes(r,i,y)),h&&(e._extremes[h]=a.findExtremes(n,o,x))}function p(t,e){if(l.hasMarkers(t)){var r,n=t.marker,o=1.6*(t.marker.sizeref||1);if(r="area"===t.marker.sizemode?function(t){return Math.max(Math.sqrt((t||0)/o),3)}:function(t){return Math.max((t||0)/o,3)},i.isArrayOrTypedArray(n.size)){var s={type:"linear"};a.setConvert(s);for(var c=s.makeCalcdata(t.marker,"size"),u=new Array(e),f=0;f<e;f++)u[f]=r(c[f]);return u}return r(n.size)}}function d(t,e){var r=g(e),n=t._firstScatter;n[r]||(n[r]=e.uid)}function g(t){var e=t.stackgroup;return t.xaxis+t.yaxis+t.type+(e?"-"+e:"")}function m(t,e,r,n){var i=t.stackgroup;if(i){var a=e._scatterStackOpts[r._id+n._id][i],o="v"===a.orientation?n:r;return"linear"===o.type||"log"===o.type?a:void 0}}e.exports={calc:function(t,e){var r,l,g,v,y,x,b=t._fullLayout,_=a.getFromId(t,e.xaxis||"x"),w=a.getFromId(t,e.yaxis||"y"),T=_.makeCalcdata(e,"x"),k=w.makeCalcdata(e,"y"),A=o(e,_,"x",T),M=o(e,w,"y",k),S=A.vals,E=M.vals,L=e._length,C=new Array(L),P=e.ids,I=m(e,b,_,w),O=!1;d(b,e);var z,D="x",R="y";I?(i.pushUnique(I.traceIndices,e._expandedIndex),(r="v"===I.orientation)?(R="s",z="x"):(D="s",z="y"),y="interpolate"===I.stackgaps):h(t,e,_,w,S,E,p(e,L));var F=!!e.xperiodalignment,B=!!e.yperiodalignment;for(l=0;l<L;l++){var N=C[l]={},j=n(S[l]),U=n(E[l]);j&&U?(N[D]=S[l],N[R]=E[l],F&&(N.orig_x=T[l],N.xEnd=A.ends[l],N.xStart=A.starts[l]),B&&(N.orig_y=k[l],N.yEnd=M.ends[l],N.yStart=M.starts[l])):I&&(r?j:U)?(N[z]=r?S[l]:E[l],N.gap=!0,y?(N.s=s,O=!0):N.s=0):N[D]=N[R]=s,P&&(N.id=String(P[l]))}if(u(C,e),c(t,e),f(C,e),I){for(l=0;l<C.length;)C[l][z]===s?C.splice(l,1):l++;if(i.sort(C,(function(t,e){return t[z]-e[z]||t.i-e.i})),O){for(l=0;l<C.length-1&&C[l].gap;)l++;for((x=C[l].s)||(x=C[l].s=0),g=0;g<l;g++)C[g].s=x;for(v=C.length-1;v>l&&C[v].gap;)v--;for(x=C[v].s,g=C.length-1;g>v;g--)C[g].s=x;for(;l<v;)if(C[++l].gap){for(g=l+1;C[g].gap;)g++;for(var V=C[l-1][z],H=C[l-1].s,q=(C[g].s-H)/(C[g][z]-V);l<g;)C[l].s=H+(C[l][z]-V)*q,l++}}}return C},calcMarkerSize:p,calcAxisExpansion:h,setFirstScatter:d,getStackOpts:m}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"./arrays_to_calcdata":925,"./calc_selection":928,"./colorscale_calc":929,"./subtypes":951,"fast-isnumeric":190}],928:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){n.isArrayOrTypedArray(e.selectedpoints)&&n.tagSelected(t,e)}},{"../../lib":503}],929:[function(t,e,r){"use strict";var n=t("../../components/colorscale/helpers").hasColorscale,i=t("../../components/colorscale/calc"),a=t("./subtypes");e.exports=function(t,e){a.hasLines(e)&&n(e,"line")&&i(t,e,{vals:e.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(e)&&(n(e,"marker")&&i(t,e,{vals:e.marker.color,containerStr:"marker",cLetter:"c"}),n(e,"marker.line")&&i(t,e,{vals:e.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"./subtypes":951}],930:[function(t,e,r){"use strict";e.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},{}],931:[function(t,e,r){"use strict";var n=t("./calc");function i(t,e,r,n,i,a,o){i[n]=!0;var s={i:null,gap:!0,s:0};if(s[o]=r,t.splice(e,0,s),e&&r===t[e-1][o]){var l=t[e-1];s.s=l.s,s.i=l.i,s.gap=l.gap}else a&&(s.s=function(t,e,r,n){var i=t[e-1],a=t[e+1];return a?i?i.s+(a.s-i.s)*(r-i[n])/(a[n]-i[n]):a.s:i.s}(t,e,r,o));e||(t[0].t=t[1].t,t[0].trace=t[1].trace,delete t[1].t,delete t[1].trace)}e.exports=function(t,e){var r=e.xaxis,a=e.yaxis,o=r._id+a._id,s=t._fullLayout._scatterStackOpts[o];if(s){var l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T=t.calcdata;for(var k in s){var A=(v=s[k]).traceIndices;if(A.length){for(y="interpolate"===v.stackgaps,x=v.groupnorm,"v"===v.orientation?(b="x",_="y"):(b="y",_="x"),w=new Array(A.length),l=0;l<w.length;l++)w[l]=!1;p=T[A[0]];var M=new Array(p.length);for(l=0;l<p.length;l++)M[l]=p[l][b];for(l=1;l<A.length;l++){for(h=T[A[l]],c=u=0;c<h.length;c++){for(d=h[c][b];d>M[u]&&u<M.length;u++)i(h,c,M[u],l,w,y,b),c++;if(d!==M[u]){for(f=0;f<l;f++)i(T[A[f]],u,d,f,w,y,b);M.splice(u,0,d)}u++}for(;u<M.length;u++)i(h,c,M[u],l,w,y,b),c++}var S=M.length;for(c=0;c<p.length;c++){for(g=p[c][_]=p[c].s,l=1;l<A.length;l++)(h=T[A[l]])[0].trace._rawLength=h[0].trace._length,h[0].trace._length=S,g+=h[c].s,h[c][_]=g;if(x)for(m=("fraction"===x?g:g/100)||1,l=0;l<A.length;l++){var E=T[A[l]][c];E[_]/=m,E.sNorm=E.s/m}}for(l=0;l<A.length;l++){var L=(h=T[A[l]])[0].trace,C=n.calcMarkerSize(L,L._rawLength),P=Array.isArray(C);if(C&&w[l]||P){var I=C;for(C=new Array(S),c=0;c<S;c++)C[c]=h[c].gap?0:P?I[h[c].i]:I}var O=new Array(S),z=new Array(S);for(c=0;c<S;c++)O[c]=h[c].x,z[c]=h[c].y;n.calcAxisExpansion(t,L,r,a,O,z,C),h[0].t.orientation=v.orientation}}}}}},{"./calc":927}],932:[function(t,e,r){"use strict";e.exports=function(t){for(var e=0;e<t.length;e++){var r=t[e];if("scatter"===r.type){var n=r.fill;if("none"!==n&&"toself"!==n&&(r.opacity=void 0,"tonexty"===n||"tonextx"===n))for(var i=e-1;i>=0;i--){var a=t[i];if("scatter"===a.type&&a.xaxis===r.xaxis&&a.yaxis===r.yaxis){a.opacity=void 0;break}}}}}},{}],933:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=t("./attributes"),o=t("./constants"),s=t("./subtypes"),l=t("./xy_defaults"),c=t("./period_defaults"),u=t("./stack_defaults"),f=t("./marker_defaults"),h=t("./line_defaults"),p=t("./line_shape_defaults"),d=t("./text_defaults"),g=t("./fillcolor_defaults");e.exports=function(t,e,r,m){function v(r,i){return n.coerce(t,e,a,r,i)}var y=l(t,e,m,v);if(y||(e.visible=!1),e.visible){c(t,e,m,v),v("xhoverformat"),v("yhoverformat");var x=u(t,e,m,v),b=!x&&y<o.PTS_LINESONLY?"lines+markers":"lines";v("text"),v("hovertext"),v("mode",b),s.hasLines(e)&&(h(t,e,r,m,v),p(t,e,v),v("connectgaps"),v("line.simplify")),s.hasMarkers(e)&&f(t,e,r,m,v,{gradient:!0}),s.hasText(e)&&(v("texttemplate"),d(t,e,m,v));var _=[];(s.hasMarkers(e)||s.hasText(e))&&(v("cliponaxis"),v("marker.maxdisplayed"),_.push("points")),v("fill",x?x.fillDflt:"none"),"none"!==e.fill&&(g(t,e,r,v),s.hasLines(e)||p(t,e,v));var w=(e.line||{}).color,T=(e.marker||{}).color;"tonext"!==e.fill&&"toself"!==e.fill||_.push("fills"),v("hoveron",_.join("+")||"points"),"fills"!==e.hoveron&&v("hovertemplate");var k=i.getComponentMethod("errorbars","supplyDefaults");k(t,e,w||T||r,{axis:"y"}),k(t,e,w||T||r,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(e,v)}}},{"../../lib":503,"../../registry":638,"./attributes":926,"./constants":930,"./fillcolor_defaults":934,"./line_defaults":939,"./line_shape_defaults":941,"./marker_defaults":945,"./period_defaults":946,"./stack_defaults":949,"./subtypes":951,"./text_defaults":952,"./xy_defaults":953}],934:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../../lib").isArrayOrTypedArray;e.exports=function(t,e,r,a){var o=!1;if(e.marker){var s=e.marker.color,l=(e.marker.line||{}).color;s&&!i(s)?o=s:l&&!i(l)&&(o=l)}a("fillcolor",n.addOpacity((e.line||{}).color||o||r,.5))}},{"../../components/color":366,"../../lib":503}],935:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var i={},a={_fullLayout:r},o=n.getFromTrace(a,e,"x"),s=n.getFromTrace(a,e,"y");return i.xLabel=n.tickText(o,o.c2l(t.x),!0).text,i.yLabel=n.tickText(s,s.c2l(t.y),!0).text,i}},{"../../plots/cartesian/axes":554}],936:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("./subtypes");e.exports=function(t,e){var r,a;if("lines"===t.mode)return(r=t.line.color)&&n.opacity(r)?r:t.fillcolor;if("none"===t.mode)return t.fill?t.fillcolor:"";var o=e.mcc||(t.marker||{}).color,s=e.mlcc||((t.marker||{}).line||{}).color;return(a=o&&n.opacity(o)?o:s&&n.opacity(s)&&(e.mlw||((t.marker||{}).line||{}).width)?s:"")?n.opacity(a)<.3?n.addOpacity(a,.3):a:(r=(t.line||{}).color)&&n.opacity(r)&&i.hasLines(t)&&t.line.width?r:t.fillcolor}},{"../../components/color":366,"./subtypes":951}],937:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/fx"),a=t("../../registry"),o=t("./get_trace_color"),s=t("../../components/color"),l=n.fillText;e.exports=function(t,e,r,c){var u=t.cd,f=u[0].trace,h=t.xa,p=t.ya,d=h.c2p(e),g=p.c2p(r),m=[d,g],v=f.hoveron||"",y=-1!==f.mode.indexOf("markers")?3:.5,x=!!f.xperiodalignment,b=!!f.yperiodalignment;if(-1!==v.indexOf("points")){var _=function(t){var e=Math.max(y,t.mrc||0),r=h.c2p(t.x)-d,n=p.c2p(t.y)-g;return Math.max(Math.sqrt(r*r+n*n)-e,1-y/e)},w=i.getDistanceFunction(c,(function(t){if(x){var e=h.c2p(t.xStart),r=h.c2p(t.xEnd);return d>=Math.min(e,r)&&d<=Math.max(e,r)?0:1/0}var n=Math.max(3,t.mrc||0),i=1-1/n,a=Math.abs(h.c2p(t.x)-d);return a<n?i*a/n:a-n+i}),(function(t){if(b){var e=p.c2p(t.yStart),r=p.c2p(t.yEnd);return g>=Math.min(e,r)&&g<=Math.max(e,r)?0:1/0}var n=Math.max(3,t.mrc||0),i=1-1/n,a=Math.abs(p.c2p(t.y)-g);return a<n?i*a/n:a-n+i}),_);if(i.getClosest(u,w,t),!1!==t.index){var T=u[t.index],k=h.c2p(T.x,!0),A=p.c2p(T.y,!0),M=T.mrc||1;t.index=T.i;var S=u[0].t.orientation,E=S&&(T.sNorm||T.s),L="h"===S?E:void 0!==T.orig_x?T.orig_x:T.x,C="v"===S?E:void 0!==T.orig_y?T.orig_y:T.y;return n.extendFlat(t,{color:o(f,T),x0:k-M,x1:k+M,xLabelVal:L,y0:A-M,y1:A+M,yLabelVal:C,spikeDistance:_(T),hovertemplate:f.hovertemplate}),l(T,f,t),a.getComponentMethod("errorbars","hoverInfo")(T,f,t),[t]}}if(-1!==v.indexOf("fills")&&f._polygons){var P,I,O,z,D,R,F,B,N,j=f._polygons,U=[],V=!1,H=1/0,q=-1/0,G=1/0,Y=-1/0;for(P=0;P<j.length;P++)(O=j[P]).contains(m)&&(V=!V,U.push(O),G=Math.min(G,O.ymin),Y=Math.max(Y,O.ymax));if(V){var W=((G=Math.max(G,0))+(Y=Math.min(Y,p._length)))/2;for(P=0;P<U.length;P++)for(z=U[P].pts,I=1;I<z.length;I++)(B=z[I-1][1])>W!=(N=z[I][1])>=W&&(R=z[I-1][0],F=z[I][0],N-B&&(D=R+(F-R)*(W-B)/(N-B),H=Math.min(H,D),q=Math.max(q,D)));H=Math.max(H,0),q=Math.min(q,h._length);var X=s.defaultLine;return s.opacity(f.fillcolor)?X=f.fillcolor:s.opacity((f.line||{}).color)&&(X=f.line.color),n.extendFlat(t,{distance:t.maxHoverDistance,x0:H,x1:q,y0:W,y1:W,color:X,hovertemplate:!1}),delete t.index,f.text&&!Array.isArray(f.text)?t.text=String(f.text):t.text=f.name,[t]}}}},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"../../registry":638,"./get_trace_color":936}],938:[function(t,e,r){"use strict";var n=t("./subtypes");e.exports={hasLines:n.hasLines,hasMarkers:n.hasMarkers,hasText:n.hasText,isBubble:n.isBubble,attributes:t("./attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("./cross_trace_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./cross_trace_calc"),arraysToCalcdata:t("./arrays_to_calcdata"),plot:t("./plot"),colorbar:t("./marker_colorbar"),formatLabels:t("./format_labels"),style:t("./style").style,styleOnSelect:t("./style").styleOnSelect,hoverPoints:t("./hover"),selectPoints:t("./select"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"./arrays_to_calcdata":925,"./attributes":926,"./calc":927,"./cross_trace_calc":931,"./cross_trace_defaults":932,"./defaults":933,"./format_labels":935,"./hover":937,"./marker_colorbar":944,"./plot":947,"./select":948,"./style":950,"./subtypes":951}],939:[function(t,e,r){"use strict";var n=t("../../lib").isArrayOrTypedArray,i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/defaults");e.exports=function(t,e,r,o,s,l){var c=(t.marker||{}).color;(s("line.color",r),i(t,"line"))?a(t,e,o,s,{prefix:"line.",cLetter:"c"}):s("line.color",!n(c)&&c||r);s("line.width"),(l||{}).noDash||s("line.dash")}},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503}],940:[function(t,e,r){"use strict";var n=t("../../constants/numerical"),i=n.BADNUM,a=n.LOG_CLIP,o=a+.5,s=a-.5,l=t("../../lib"),c=l.segmentsIntersect,u=l.constrain,f=t("./constants");e.exports=function(t,e){var r,n,a,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S=e.xaxis,E=e.yaxis,L="log"===S.type,C="log"===E.type,P=S._length,I=E._length,O=e.connectGaps,z=e.baseTolerance,D=e.shape,R="linear"===D,F=e.fill&&"none"!==e.fill,B=[],N=f.minTolerance,j=t.length,U=new Array(j),V=0;function H(r){var n=t[r];if(!n)return!1;var a=e.linearized?S.l2p(n.x):S.c2p(n.x),l=e.linearized?E.l2p(n.y):E.c2p(n.y);if(a===i){if(L&&(a=S.c2p(n.x,!0)),a===i)return!1;C&&l===i&&(a*=Math.abs(S._m*I*(S._m>0?o:s)/(E._m*P*(E._m>0?o:s)))),a*=1e3}if(l===i){if(C&&(l=E.c2p(n.y,!0)),l===i)return!1;l*=1e3}return[a,l]}function q(t,e,r,n){var i=r-t,a=n-e,o=.5-t,s=.5-e,l=i*i+a*a,c=i*o+a*s;if(c>0&&c<l){var u=o*a-s*i;if(u*u<l)return!0}}function G(t,e){var r=t[0]/P,n=t[1]/I,i=Math.max(0,-r,r-1,-n,n-1);return i&&void 0!==A&&q(r,n,A,M)&&(i=0),i&&e&&q(r,n,e[0]/P,e[1]/I)&&(i=0),(1+f.toleranceGrowth*i)*z}function Y(t,e){var r=t[0]-e[0],n=t[1]-e[1];return Math.sqrt(r*r+n*n)}var W,X,Z,J,K,Q,$,tt=f.maxScreensAway,et=-P*tt,rt=P*(1+tt),nt=-I*tt,it=I*(1+tt),at=[[et,nt,rt,nt],[rt,nt,rt,it],[rt,it,et,it],[et,it,et,nt]];function ot(t){if(t[0]<et||t[0]>rt||t[1]<nt||t[1]>it)return[u(t[0],et,rt),u(t[1],nt,it)]}function st(t,e){return t[0]===e[0]&&(t[0]===et||t[0]===rt)||(t[1]===e[1]&&(t[1]===nt||t[1]===it)||void 0)}function lt(t,e,r){return function(n,i){var a=ot(n),o=ot(i),s=[];if(a&&o&&st(a,o))return s;a&&s.push(a),o&&s.push(o);var c=2*l.constrain((n[t]+i[t])/2,e,r)-((a||n)[t]+(o||i)[t]);c&&((a&&o?c>0==a[t]>o[t]?a:o:a||o)[t]+=c);return s}}function ct(t){var e=t[0],r=t[1],n=e===U[V-1][0],i=r===U[V-1][1];if(!n||!i)if(V>1){var a=e===U[V-2][0],o=r===U[V-2][1];n&&(e===et||e===rt)&&a?o?V--:U[V-1]=t:i&&(r===nt||r===it)&&o?a?V--:U[V-1]=t:U[V++]=t}else U[V++]=t}function ut(t){U[V-1][0]!==t[0]&&U[V-1][1]!==t[1]&&ct([Z,J]),ct(t),K=null,Z=J=0}function ft(t){if(A=t[0]/P,M=t[1]/I,W=t[0]<et?et:t[0]>rt?rt:0,X=t[1]<nt?nt:t[1]>it?it:0,W||X){if(V)if(K){var e=$(K,t);e.length>1&&(ut(e[0]),U[V++]=e[1])}else Q=$(U[V-1],t)[0],U[V++]=Q;else U[V++]=[W||t[0],X||t[1]];var r=U[V-1];W&&X&&(r[0]!==W||r[1]!==X)?(K&&(Z!==W&&J!==X?ct(Z&&J?(n=K,a=(i=t)[0]-n[0],o=(i[1]-n[1])/a,(n[1]*i[0]-i[1]*n[0])/a>0?[o>0?et:rt,it]:[o>0?rt:et,nt]):[Z||W,J||X]):Z&&J&&ct([Z,J])),ct([W,X])):Z-W&&J-X&&ct([W||Z,X||J]),K=t,Z=W,J=X}else K&&ut($(K,t)[0]),U[V++]=t;var n,i,a,o}for("linear"===D||"spline"===D?$=function(t,e){for(var r=[],n=0,i=0;i<4;i++){var a=at[i],o=c(t[0],t[1],e[0],e[1],a[0],a[1],a[2],a[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&Y(o,t)<Y(r[0],t)?r.unshift(o):r.push(o),n++)}return r}:"hv"===D||"vh"===D?$=function(t,e){var r=[],n=ot(t),i=ot(e);return n&&i&&st(n,i)||(n&&r.push(n),i&&r.push(i)),r}:"hvh"===D?$=lt(0,et,rt):"vhv"===D&&($=lt(1,nt,it)),r=0;r<j;r++)if(n=H(r)){for(V=0,K=null,ft(n),r++;r<j;r++){if(!(h=H(r))){if(O)continue;break}if(R&&e.simplify){var ht=H(r+1);if(y=Y(h,n),F&&(0===V||V===j-1)||!(y<G(h,ht)*N)){for(m=[(h[0]-n[0])/y,(h[1]-n[1])/y],p=n,x=y,b=w=T=0,g=!1,a=h,r++;r<t.length;r++){if(d=ht,ht=H(r+1),!d){if(O)continue;break}if(k=(v=[d[0]-n[0],d[1]-n[1]])[0]*m[1]-v[1]*m[0],w=Math.min(w,k),(T=Math.max(T,k))-w>G(d,ht))break;a=d,(_=v[0]*m[0]+v[1]*m[1])>x?(x=_,h=d,g=!1):_<b&&(b=_,p=d,g=!0)}if(g?(ft(h),a!==p&&ft(p)):(p!==n&&ft(p),a!==h&&ft(h)),ft(a),r>=t.length||!d)break;ft(d),n=d}}else ft(h)}K&&ct([Z||K[0],J||K[1]]),B.push(U.slice(0,V))}return B}},{"../../constants/numerical":479,"../../lib":503,"./constants":930}],941:[function(t,e,r){"use strict";e.exports=function(t,e,r){"spline"===r("line.shape")&&r("line.smoothing")}},{}],942:[function(t,e,r){"use strict";var n={tonextx:1,tonexty:1,tonext:1};e.exports=function(t,e,r){var i,a,o,s,l,c={},u=!1,f=-1,h=0,p=-1;for(a=0;a<r.length;a++)(o=(i=r[a][0].trace).stackgroup||"")?o in c?l=c[o]:(l=c[o]=h,h++):i.fill in n&&p>=0?l=p:(l=p=h,h++),l<f&&(u=!0),i._groupIndex=f=l;var d=r.slice();u&&d.sort((function(t,e){var r=t[0].trace,n=e[0].trace;return r._groupIndex-n._groupIndex||r.index-n.index}));var g={};for(a=0;a<d.length;a++)o=(i=d[a][0].trace).stackgroup||"",!0===i.visible?(i._nexttrace=null,i.fill in n&&(s=g[o],i._prevtrace=s||null,s&&(s._nexttrace=i)),i._ownfill=i.fill&&("tozero"===i.fill.substr(0,6)||"toself"===i.fill||"to"===i.fill.substr(0,2)&&!i._prevtrace),g[o]=i):i._prevtrace=i._nexttrace=i._ownfill=null;return d}},{}],943:[function(t,e,r){"use strict";var n=t("fast-isnumeric");e.exports=function(t,e){e||(e=2);var r=t.marker,i=r.sizeref||1,a=r.sizemin||0,o="area"===r.sizemode?function(t){return Math.sqrt(t/i)}:function(t){return t/i};return function(t){var r=o(t/e);return n(r)&&r>0?Math.max(r,a):0}}},{"fast-isnumeric":190}],944:[function(t,e,r){"use strict";e.exports={container:"marker",min:"cmin",max:"cmax"}},{}],945:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../../components/colorscale/helpers").hasColorscale,a=t("../../components/colorscale/defaults"),o=t("./subtypes");e.exports=function(t,e,r,s,l,c){var u=o.isBubble(t),f=(t.line||{}).color;(c=c||{},f&&(r=f),l("marker.symbol"),l("marker.opacity",u?.7:1),l("marker.size"),l("marker.color",r),i(t,"marker")&&a(t,e,s,l,{prefix:"marker.",cLetter:"c"}),c.noSelect||(l("selected.marker.color"),l("unselected.marker.color"),l("selected.marker.size"),l("unselected.marker.size")),c.noLine||(l("marker.line.color",f&&!Array.isArray(f)&&e.marker.color!==f?f:u?n.background:n.defaultLine),i(t,"marker.line")&&a(t,e,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",u?1:0)),u&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode")),c.gradient)&&("none"!==l("marker.gradient.type")&&l("marker.gradient.color"))}},{"../../components/color":366,"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"./subtypes":951}],946:[function(t,e,r){"use strict";var n=t("../../lib").dateTick0,i=t("../../constants/numerical").ONEWEEK;function a(t,e){return n(e,t%i==0?1:0)}e.exports=function(t,e,r,n,i){if(i||(i={x:!0,y:!0}),i.x){var o=n("xperiod");o&&(n("xperiod0",a(o,e.xcalendar)),n("xperiodalignment"))}if(i.y){var s=n("yperiod");s&&(n("yperiod0",a(s,e.ycalendar)),n("yperiodalignment"))}}},{"../../constants/numerical":479,"../../lib":503}],947:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../lib"),o=a.ensureSingle,s=a.identity,l=t("../../components/drawing"),c=t("./subtypes"),u=t("./line_points"),f=t("./link_traces"),h=t("../../lib/polygon").tester;function p(t,e,r,f,p,d,g){var m;!function(t,e,r,i,o){var s=r.xaxis,l=r.yaxis,u=n.extent(a.simpleMap(s.range,s.r2c)),f=n.extent(a.simpleMap(l.range,l.r2c)),h=i[0].trace;if(!c.hasMarkers(h))return;var p=h.marker.maxdisplayed;if(0===p)return;var d=i.filter((function(t){return t.x>=u[0]&&t.x<=u[1]&&t.y>=f[0]&&t.y<=f[1]})),g=Math.ceil(d.length/p),m=0;o.forEach((function(t,r){var n=t[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r<e&&m++}));var v=Math.round(m*g/3+Math.floor(m/3)*g/7.1);i.forEach((function(t){delete t.vis})),d.forEach((function(t,e){0===Math.round((e+v)%g)&&(t.vis=!0)}))}(0,e,r,f,p);var v=!!g&&g.duration>0;function y(t){return v?t.transition():t}var x=r.xaxis,b=r.yaxis,_=f[0].trace,w=_.line,T=n.select(d),k=o(T,"g","errorbars"),A=o(T,"g","lines"),M=o(T,"g","points"),S=o(T,"g","text");if(i.getComponentMethod("errorbars","plot")(t,k,r,g),!0===_.visible){var E,L;y(T).style("opacity",_.opacity);var C=_.fill.charAt(_.fill.length-1);"x"!==C&&"y"!==C&&(C=""),f[0][r.isRangePlot?"nodeRangePlot3":"node3"]=T;var P,I,O="",z=[],D=_._prevtrace;D&&(O=D._prevRevpath||"",L=D._nextFill,z=D._polygons);var R,F,B,N,j,U,V,H="",q="",G=[],Y=a.noop;if(E=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(L&&L.datum(f),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(R=l.steps(w.shape),F=l.steps(w.shape.split("").reverse().join(""))):R=F="spline"===w.shape?function(t){var e=t[t.length-1];return t.length>1&&t[0][0]===e[0]&&t[0][1]===e[1]?l.smoothclosed(t.slice(1),w.smoothing):l.smoothopen(t,w.smoothing)}:function(t){return"M"+t.join("L")},B=function(t){return F(t.reverse())},G=u(f,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),V=_._polygons=new Array(G.length),m=0;m<G.length;m++)_._polygons[m]=h(G[m]);G.length&&(N=G[0][0],U=(j=G[G.length-1])[j.length-1]),Y=function(t){return function(e){if(P=R(e),I=B(e),H?C?(H+="L"+P.substr(1),q=I+"L"+q.substr(1)):(H+="Z"+P,q=I+"Z"+q):(H=P,q=I),c.hasLines(_)&&e.length>1){var r=n.select(this);if(r.datum(f),t)y(r.style("opacity",0).attr("d",P).call(l.lineGroupStyle)).style("opacity",1);else{var i=y(r);i.attr("d",P),l.singleLineStyle(f,i)}}}}}var W=A.selectAll(".js-line").data(G);y(W.exit()).style("opacity",0).remove(),W.each(Y(!1)),W.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(Y(!0)),l.setClipUrl(W,r.layerClipId,t),G.length?(E?(E.datum(f),N&&U&&(C?("y"===C?N[1]=U[1]=b.c2p(0,!0):"x"===C&&(N[0]=U[0]=x.c2p(0,!0)),y(E).attr("d","M"+U+"L"+N+"L"+H.substr(1)).call(l.singleFillStyle)):y(E).attr("d",H+"Z").call(l.singleFillStyle))):L&&("tonext"===_.fill.substr(0,6)&&H&&O?("tonext"===_.fill?y(L).attr("d",H+"Z"+O+"Z").call(l.singleFillStyle):y(L).attr("d",H+"L"+O.substr(1)+"Z").call(l.singleFillStyle),_._polygons=_._polygons.concat(z)):(Z(L),_._polygons=null)),_._prevRevpath=q,_._prevPolygons=V):(E?Z(E):L&&Z(L),_._polygons=_._prevRevpath=_._prevPolygons=null),M.datum(f),S.datum(f),function(e,i,a){var o,u=a[0].trace,f=c.hasMarkers(u),h=c.hasText(u),p=tt(u),d=et,g=et;if(f||h){var m=s,_=u.stackgroup,w=_&&"infer zero"===t._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?m=w?K:J:_&&!w&&(m=Q),f&&(d=m),h&&(g=m)}var T,k=(o=e.selectAll("path.point").data(d,p)).enter().append("path").classed("point",!0);v&&k.call(l.pointStyle,u,t).call(l.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),o.order(),f&&(T=l.makePointStyleFns(u)),o.each((function(e){var i=n.select(this),a=y(i);l.translatePoint(e,a,x,b)?(l.singlePointStyle(e,a,u,T,t),r.layerClipId&&l.hideOutsideRangePoint(e,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&i.classed("plotly-customdata",null!==e.data&&void 0!==e.data)):a.remove()})),v?o.exit().transition().style("opacity",0).remove():o.exit().remove(),(o=i.selectAll("g").data(g,p)).enter().append("g").classed("textpoint",!0).append("text"),o.order(),o.each((function(t){var e=n.select(this),i=y(e.select("text"));l.translatePoint(t,i,x,b)?r.layerClipId&&l.hideOutsideRangePoint(t,e,x,b,u.xcalendar,u.ycalendar):e.remove()})),o.selectAll("text").call(l.textPointStyle,u,t).each((function(t){var e=x.c2p(t.x),r=b.c2p(t.y);n.select(this).selectAll("tspan.line").each((function(){y(n.select(this)).attr({x:e,y:r})}))})),o.exit().remove()}(M,S,f);var X=!1===_.cliponaxis?null:r.layerClipId;l.setClipUrl(M,X,t),l.setClipUrl(S,X,t)}function Z(t){y(t).attr("d","M0,0Z")}function J(t){return t.filter((function(t){return!t.gap&&t.vis}))}function K(t){return t.filter((function(t){return t.vis}))}function Q(t){return t.filter((function(t){return!t.gap}))}function $(t){return t.id}function tt(t){if(t.ids)return $}function et(){return!1}}e.exports=function(t,e,r,i,a,c){var u,h,d=!a,g=!!a&&a.duration>0,m=f(t,e,r);((u=i.selectAll("g.trace").data(m,(function(t){return t[0].trace.uid}))).enter().append("g").attr("class",(function(t){return"trace scatter trace"+t[0].trace.uid})).style("stroke-miterlimit",2),u.order(),function(t,e,r){e.each((function(e){var i=o(n.select(this),"g","fills");l.setClipUrl(i,r.layerClipId,t);var a=e[0].trace,c=[];a._ownfill&&c.push("_ownFill"),a._nexttrace&&c.push("_nextFill");var u=i.selectAll("g").data(c,s);u.enter().append("g"),u.exit().each((function(t){a[t]=null})).remove(),u.order().each((function(t){a[t]=o(n.select(this),"path","js-fill")}))}))}(t,u,e),g)?(c&&(h=c()),n.transition().duration(a.duration).ease(a.easing).each("end",(function(){h&&h()})).each("interrupt",(function(){h&&h()})).each((function(){i.selectAll("g.trace").each((function(r,n){p(t,n,e,r,m,this,a)}))}))):u.each((function(r,n){p(t,n,e,r,m,this,a)}));d&&u.exit().remove(),i.selectAll("path:not([d])").remove()}},{"../../components/drawing":388,"../../lib":503,"../../lib/polygon":515,"../../registry":638,"./line_points":940,"./link_traces":942,"./subtypes":951,"@plotly/d3":58}],948:[function(t,e,r){"use strict";var n=t("./subtypes");e.exports=function(t,e){var r,i,a,o,s=t.cd,l=t.xaxis,c=t.yaxis,u=[],f=s[0].trace;if(!n.hasMarkers(f)&&!n.hasText(f))return[];if(!1===e)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)i=s[r],a=l.c2p(i.x),o=c.c2p(i.y),null!==i.i&&e.contains([a,o],!1,r,t)?(u.push({pointNumber:i.i,x:l.c2d(i.x),y:c.c2d(i.y)}),i.selected=1):i.selected=0;return u}},{"./subtypes":951}],949:[function(t,e,r){"use strict";var n=["orientation","groupnorm","stackgaps"];e.exports=function(t,e,r,i){var a=r._scatterStackOpts,o=i("stackgroup");if(o){var s=e.xaxis+e.yaxis,l=a[s];l||(l=a[s]={});var c=l[o],u=!1;c?c.traces.push(e):(c=l[o]={traceIndices:[],traces:[e]},u=!0);for(var f={orientation:e.x&&!e.y?"h":"v"},h=0;h<n.length;h++){var p=n[h],d=p+"Found";if(!c[d]){var g=void 0!==t[p],m="orientation"===p;if((g||u)&&(c[p]=i(p,f[p]),m&&(c.fillDflt="h"===c[p]?"tonextx":"tonexty"),g&&(c[d]=!0,!u&&(delete c.traces[0][p],m))))for(var v=0;v<c.traces.length-1;v++){var y=c.traces[v];y._input.fill!==y.fill&&(y.fill=c.fillDflt)}}}return c}}},{}],950:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../registry");function o(t,e,r){i.pointStyle(t.selectAll("path.point"),e,r)}function s(t,e,r){i.textPointStyle(t.selectAll("text"),e,r)}e.exports={style:function(t){var e=n.select(t).selectAll("g.trace.scatter");e.style("opacity",(function(t){return t[0].trace.opacity})),e.selectAll("g.points").each((function(e){o(n.select(this),e.trace||e[0].trace,t)})),e.selectAll("g.text").each((function(e){s(n.select(this),e.trace||e[0].trace,t)})),e.selectAll("g.trace path.js-line").call(i.lineGroupStyle),e.selectAll("g.trace path.js-fill").call(i.fillGroupStyle),a.getComponentMethod("errorbars","style")(e)},stylePoints:o,styleText:s,styleOnSelect:function(t,e,r){var n=e[0].trace;n.selectedpoints?(i.selectedPointStyle(r.selectAll("path.point"),n),i.selectedTextStyle(r.selectAll("text"),n)):(o(r,n,t),s(r,n,t))}}},{"../../components/drawing":388,"../../registry":638,"@plotly/d3":58}],951:[function(t,e,r){"use strict";var n=t("../../lib");e.exports={hasLines:function(t){return t.visible&&t.mode&&-1!==t.mode.indexOf("lines")},hasMarkers:function(t){return t.visible&&(t.mode&&-1!==t.mode.indexOf("markers")||"splom"===t.type)},hasText:function(t){return t.visible&&t.mode&&-1!==t.mode.indexOf("text")},isBubble:function(t){return n.isPlainObject(t.marker)&&n.isArrayOrTypedArray(t.marker.size)}}},{"../../lib":503}],952:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e,r,i,a){a=a||{},i("textposition"),n.coerceFont(i,"textfont",r.font),a.noSelect||(i("selected.textfont.color"),i("unselected.textfont.color"))}},{"../../lib":503}],953:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry");e.exports=function(t,e,r,a){var o,s=a("x"),l=a("y");if(i.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y"],r),s){var c=n.minRowLength(s);l?o=Math.min(c,n.minRowLength(l)):(o=c,a("y0"),a("dy"))}else{if(!l)return 0;o=n.minRowLength(l),a("x0"),a("dx")}return e._length=o,o}},{"../../lib":503,"../../registry":638}],954:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../../components/colorscale/attributes"),a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,o=t("../../plots/template_attributes").hovertemplateAttrs,s=t("../../plots/template_attributes").texttemplateAttrs,l=t("../../plots/attributes"),c=t("../../constants/gl3d_dashes"),u=t("../../constants/gl3d_markers"),f=t("../../lib/extend").extendFlat,h=t("../../plot_api/edit_types").overrideAll,p=t("../../lib/sort_object_keys"),d=n.line,g=n.marker,m=g.line,v=f({width:d.width,dash:{valType:"enumerated",values:p(c),dflt:"solid"}},i("line"));var y=e.exports=h({x:n.x,y:n.y,z:{valType:"data_array"},text:f({},n.text,{}),texttemplate:s({},{}),hovertext:f({},n.hovertext,{}),hovertemplate:o(),xhoverformat:a("x"),yhoverformat:a("y"),zhoverformat:a("z"),mode:f({},n.mode,{dflt:"lines+markers"}),surfaceaxis:{valType:"enumerated",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:"color"},projection:{x:{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:2/3}},y:{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:2/3}},z:{show:{valType:"boolean",dflt:!1},opacity:{valType:"number",min:0,max:1,dflt:1},scale:{valType:"number",min:0,max:10,dflt:2/3}}},connectgaps:n.connectgaps,line:v,marker:f({symbol:{valType:"enumerated",values:p(u),dflt:"circle",arrayOk:!0},size:f({},g.size,{dflt:8}),sizeref:g.sizeref,sizemin:g.sizemin,sizemode:g.sizemode,opacity:f({},g.opacity,{arrayOk:!1}),colorbar:g.colorbar,line:f({width:f({},m.width,{arrayOk:!1})},i("marker.line"))},i("marker")),textposition:f({},n.textposition,{dflt:"top center"}),textfont:{color:n.textfont.color,size:n.textfont.size,family:f({},n.textfont.family,{arrayOk:!1})},opacity:l.opacity,hoverinfo:f({},l.hoverinfo)},"calc","nested");y.x.editType=y.y.editType=y.z.editType="calc+clearAxisTypes"},{"../../components/colorscale/attributes":373,"../../constants/gl3d_dashes":476,"../../constants/gl3d_markers":477,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../scatter/attributes":926}],955:[function(t,e,r){"use strict";var n=t("../scatter/arrays_to_calcdata"),i=t("../scatter/colorscale_calc");e.exports=function(t,e){var r=[{x:!1,y:!1,trace:e,t:{}}];return n(r,e),i(t,e),r}},{"../scatter/arrays_to_calcdata":925,"../scatter/colorscale_calc":929}],956:[function(t,e,r){"use strict";var n=t("../../registry");function i(t,e,r,i){if(!e||!e.visible)return null;for(var a=n.getComponentMethod("errorbars","makeComputeError")(e),o=new Array(t.length),s=0;s<t.length;s++){var l=a(+t[s],s);if("log"===i.type){var c=i.c2l(t[s]),u=t[s]-l[0],f=t[s]+l[1];if(o[s]=[(i.c2l(u,!0)-c)*r,(i.c2l(f,!0)-c)*r],u>0){var h=i.c2l(u);i._lowerLogErrorBound||(i._lowerLogErrorBound=h),i._lowerErrorBound=Math.min(i._lowerLogErrorBound,h)}}else o[s]=[-l[0]*r,l[1]*r]}return o}e.exports=function(t,e,r){var n=[i(t.x,t.error_x,e[0],r.xaxis),i(t.y,t.error_y,e[1],r.yaxis),i(t.z,t.error_z,e[2],r.zaxis)],a=function(t){for(var e=0;e<t.length;e++)if(t[e])return t[e].length;return 0}(n);if(0===a)return null;for(var o=new Array(a),s=0;s<a;s++){for(var l=[[0,0,0],[0,0,0]],c=0;c<3;c++)if(n[c])for(var u=0;u<2;u++)l[u][c]=n[c][s][u];o[s]=l}return o}},{"../../registry":638}],957:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_line3d,i=t("../../../stackgl_modules").gl_scatter3d,a=t("../../../stackgl_modules").gl_error3d,o=t("../../../stackgl_modules").gl_mesh3d,s=t("../../../stackgl_modules").delaunay_triangulate,l=t("../../lib"),c=t("../../lib/str2rgbarray"),u=t("../../lib/gl_format_color").formatColor,f=t("../scatter/make_bubble_size_func"),h=t("../../constants/gl3d_dashes"),p=t("../../constants/gl3d_markers"),d=t("../../plots/cartesian/axes"),g=t("../../components/fx/helpers").appendArrayPointValue,m=t("./calc_errors");function v(t,e){this.scene=t,this.uid=e,this.linePlot=null,this.scatterPlot=null,this.errorBars=null,this.textMarkers=null,this.delaunayMesh=null,this.color=null,this.mode="",this.dataPoints=[],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.textLabels=null,this.data=null}var y=v.prototype;function x(t){return null==t?0:t.indexOf("left")>-1?-1:t.indexOf("right")>-1?1:0}function b(t){return null==t?0:t.indexOf("top")>-1?-1:t.indexOf("bottom")>-1?1:0}function _(t,e){return e(4*t)}function w(t){return p[t]}function T(t,e,r,n,i){var a=null;if(l.isArrayOrTypedArray(t)){a=[];for(var o=0;o<e;o++)void 0===t[o]?a[o]=n:a[o]=r(t[o],i)}else a=r(t,l.identity);return a}function k(t,e){var r,n,i,a,o,s,h=[],p=t.fullSceneLayout,v=t.dataScale,y=p.xaxis,k=p.yaxis,A=p.zaxis,M=e.marker,S=e.line,E=e.x||[],L=e.y||[],C=e.z||[],P=E.length,I=e.xcalendar,O=e.ycalendar,z=e.zcalendar;for(o=0;o<P;o++)r=y.d2l(E[o],0,I)*v[0],n=k.d2l(L[o],0,O)*v[1],i=A.d2l(C[o],0,z)*v[2],h[o]=[r,n,i];if(Array.isArray(e.text))s=e.text;else if(void 0!==e.text)for(s=new Array(P),o=0;o<P;o++)s[o]=e.text;function D(t,e){var r=p[t];return d.tickText(r,r.d2l(e),!0).text}var R=e.texttemplate;if(R){var F=t.fullLayout._d3locale,B=Array.isArray(R),N=B?Math.min(R.length,P):P,j=B?function(t){return R[t]}:function(){return R};for(s=new Array(N),o=0;o<N;o++){var U={x:E[o],y:L[o],z:C[o]},V={xLabel:D("xaxis",E[o]),yLabel:D("yaxis",L[o]),zLabel:D("zaxis",C[o])},H={};g(H,e,o);var q=e._meta||{};s[o]=l.texttemplateString(j(o),V,F,H,U,q)}}if(a={position:h,mode:e.mode,text:s},"line"in e&&(a.lineColor=u(S,1,P),a.lineWidth=S.width,a.lineDashes=S.dash),"marker"in e){var G=f(e);a.scatterColor=u(M,1,P),a.scatterSize=T(M.size,P,_,20,G),a.scatterMarker=T(M.symbol,P,w,"\u25cf"),a.scatterLineWidth=M.line.width,a.scatterLineColor=u(M.line,1,P),a.scatterAngle=0}"textposition"in e&&(a.textOffset=function(t){var e=[0,0];if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=[0,0],t[r]&&(e[r][0]=x(t[r]),e[r][1]=b(t[r]));else e[0]=x(t),e[1]=b(t);return e}(e.textposition),a.textColor=u(e.textfont,1,P),a.textSize=T(e.textfont.size,P,l.identity,12),a.textFont=e.textfont.family,a.textAngle=0);var Y=["x","y","z"];for(a.project=[!1,!1,!1],a.projectScale=[1,1,1],a.projectOpacity=[1,1,1],o=0;o<3;++o){var W=e.projection[Y[o]];(a.project[o]=W.show)&&(a.projectOpacity[o]=W.opacity,a.projectScale[o]=W.scale)}a.errorBounds=m(e,v,p);var X=function(t){for(var e=[0,0,0],r=[[0,0,0],[0,0,0],[0,0,0]],n=[1,1,1],i=0;i<3;i++){var a=t[i];a&&!1!==a.copy_zstyle&&!1!==t[2].visible&&(a=t[2]),a&&a.visible&&(e[i]=a.width/2,r[i]=c(a.color),n[i]=a.thickness)}return{capSize:e,color:r,lineWidth:n}}([e.error_x,e.error_y,e.error_z]);return a.errorColor=X.color,a.errorLineWidth=X.lineWidth,a.errorCapSize=X.capSize,a.delaunayAxis=e.surfaceaxis,a.delaunayColor=c(e.surfacecolor),a}function A(t){if(l.isArrayOrTypedArray(t)){var e=t[0];return l.isArrayOrTypedArray(e)&&(t=e),"rgb("+t.slice(0,3).map((function(t){return Math.round(255*t)}))+")"}return null}function M(t){return l.isArrayOrTypedArray(t)?4===t.length&&"number"==typeof t[0]?A(t):t.map(A):null}y.handlePick=function(t){if(t.object&&(t.object===this.linePlot||t.object===this.delaunayMesh||t.object===this.textMarkers||t.object===this.scatterPlot)){var e=t.index=t.data.index;return t.object.highlight&&t.object.highlight(null),this.scatterPlot&&(t.object=this.scatterPlot,this.scatterPlot.highlight(t.data)),t.textLabel="",this.textLabels&&(Array.isArray(this.textLabels)?(this.textLabels[e]||0===this.textLabels[e])&&(t.textLabel=this.textLabels[e]):t.textLabel=this.textLabels),t.traceCoordinate=[this.data.x[e],this.data.y[e],this.data.z[e]],!0}},y.update=function(t){var e,r,l,c,u=this.scene.glplot.gl,f=h.solid;this.data=t;var p=k(this.scene,t);"mode"in p&&(this.mode=p.mode),"lineDashes"in p&&p.lineDashes in h&&(f=h[p.lineDashes]),this.color=M(p.scatterColor)||M(p.lineColor),this.dataPoints=p.position,e={gl:this.scene.glplot.gl,position:p.position,color:p.lineColor,lineWidth:p.lineWidth||1,dashes:f[0],dashScale:f[1],opacity:t.opacity,connectGaps:t.connectgaps},-1!==this.mode.indexOf("lines")?this.linePlot?this.linePlot.update(e):(this.linePlot=n(e),this.linePlot._trace=this,this.scene.glplot.add(this.linePlot)):this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose(),this.linePlot=null);var d=t.opacity;if(t.marker&&t.marker.opacity&&(d*=t.marker.opacity),r={gl:this.scene.glplot.gl,position:p.position,color:p.scatterColor,size:p.scatterSize,glyph:p.scatterMarker,opacity:d,orthographic:!0,lineWidth:p.scatterLineWidth,lineColor:p.scatterLineColor,project:p.project,projectScale:p.projectScale,projectOpacity:p.projectOpacity},-1!==this.mode.indexOf("markers")?this.scatterPlot?this.scatterPlot.update(r):(this.scatterPlot=i(r),this.scatterPlot._trace=this,this.scatterPlot.highlightScale=1,this.scene.glplot.add(this.scatterPlot)):this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose(),this.scatterPlot=null),c={gl:this.scene.glplot.gl,position:p.position,glyph:p.text,color:p.textColor,size:p.textSize,angle:p.textAngle,alignment:p.textOffset,font:p.textFont,orthographic:!0,lineWidth:0,project:!1,opacity:t.opacity},this.textLabels=t.hovertext||t.text,-1!==this.mode.indexOf("text")?this.textMarkers?this.textMarkers.update(c):(this.textMarkers=i(c),this.textMarkers._trace=this,this.textMarkers.highlightScale=1,this.scene.glplot.add(this.textMarkers)):this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose(),this.textMarkers=null),l={gl:this.scene.glplot.gl,position:p.position,color:p.errorColor,error:p.errorBounds,lineWidth:p.errorLineWidth,capSize:p.errorCapSize,opacity:t.opacity},this.errorBars?p.errorBounds?this.errorBars.update(l):(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose(),this.errorBars=null):p.errorBounds&&(this.errorBars=a(l),this.errorBars._trace=this,this.scene.glplot.add(this.errorBars)),p.delaunayAxis>=0){var g=function(t,e,r){var n,i=(r+1)%3,a=(r+2)%3,o=[],l=[];for(n=0;n<t.length;++n){var c=t[n];!isNaN(c[i])&&isFinite(c[i])&&!isNaN(c[a])&&isFinite(c[a])&&(o.push([c[i],c[a]]),l.push(n))}var u=s(o);for(n=0;n<u.length;++n)for(var f=u[n],h=0;h<f.length;++h)f[h]=l[f[h]];return{positions:t,cells:u,meshColor:e}}(p.position,p.delaunayColor,p.delaunayAxis);g.opacity=t.opacity,this.delaunayMesh?this.delaunayMesh.update(g):(g.gl=u,this.delaunayMesh=o(g),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},y.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())},e.exports=function(t,e){var r=new v(t,e.uid);return r.update(e),r}},{"../../../stackgl_modules":1120,"../../components/fx/helpers":402,"../../constants/gl3d_dashes":476,"../../constants/gl3d_markers":477,"../../lib":503,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554,"../scatter/make_bubble_size_func":943,"./calc_errors":956}],958:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../scatter/subtypes"),o=t("../scatter/marker_defaults"),s=t("../scatter/line_defaults"),l=t("../scatter/text_defaults"),c=t("./attributes");e.exports=function(t,e,r,u){function f(r,n){return i.coerce(t,e,c,r,n)}if(function(t,e,r,i){var a=0,o=r("x"),s=r("y"),l=r("z");n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y","z"],i),o&&s&&l&&(a=Math.min(o.length,s.length,l.length),e._length=e._xlength=e._ylength=e._zlength=a);return a}(t,e,f,u)){f("text"),f("hovertext"),f("hovertemplate"),f("xhoverformat"),f("yhoverformat"),f("zhoverformat"),f("mode"),a.hasLines(e)&&(f("connectgaps"),s(t,e,r,u,f)),a.hasMarkers(e)&&o(t,e,r,u,f,{noSelect:!0}),a.hasText(e)&&(f("texttemplate"),l(t,e,u,f,{noSelect:!0}));var h=(e.line||{}).color,p=(e.marker||{}).color;f("surfaceaxis")>=0&&f("surfacecolor",h||p);for(var d=["x","y","z"],g=0;g<3;++g){var m="projection."+d[g];f(m+".show")&&(f(m+".opacity"),f(m+".scale"))}var v=n.getComponentMethod("errorbars","supplyDefaults");v(t,e,h||p||r,{axis:"z"}),v(t,e,h||p||r,{axis:"y",inherit:"z"}),v(t,e,h||p||r,{axis:"x",inherit:"z"})}else e.visible=!1}},{"../../lib":503,"../../registry":638,"../scatter/line_defaults":939,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":954}],959:[function(t,e,r){"use strict";e.exports={plot:t("./convert"),attributes:t("./attributes"),markerSymbols:t("../../constants/gl3d_markers"),supplyDefaults:t("./defaults"),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t("./calc"),moduleType:"trace",name:"scatter3d",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},{"../../constants/gl3d_markers":477,"../../plots/gl3d":598,"./attributes":954,"./calc":955,"./convert":957,"./defaults":958}],960:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../../plots/attributes"),a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../../plots/template_attributes").texttemplateAttrs,s=t("../../components/colorscale/attributes"),l=t("../../lib/extend").extendFlat,c=n.marker,u=n.line,f=c.line;e.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:l({},n.mode,{dflt:"markers"}),text:l({},n.text,{}),texttemplate:o({editType:"plot"},{keys:["a","b","text"]}),hovertext:l({},n.hovertext,{}),line:{color:u.color,width:u.width,dash:u.dash,shape:l({},u.shape,{values:["linear","spline"]}),smoothing:u.smoothing,editType:"calc"},connectgaps:n.connectgaps,fill:l({},n.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:n.fillcolor,marker:l({symbol:c.symbol,opacity:c.opacity,maxdisplayed:c.maxdisplayed,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,line:l({width:f.width,editType:"calc"},s("marker.line")),gradient:c.gradient,editType:"calc"},s("marker")),textfont:n.textfont,textposition:n.textposition,selected:n.selected,unselected:n.unselected,hoverinfo:l({},i.hoverinfo,{flags:["a","b","text","name"]}),hoveron:n.hoveron,hovertemplate:a()}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":926}],961:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../scatter/colorscale_calc"),a=t("../scatter/arrays_to_calcdata"),o=t("../scatter/calc_selection"),s=t("../scatter/calc").calcMarkerSize,l=t("../carpet/lookup_carpetid");e.exports=function(t,e){var r=e._carpetTrace=l(t,e);if(r&&r.visible&&"legendonly"!==r.visible){var c;e.xaxis=r.xaxis,e.yaxis=r.yaxis;var u,f,h=e._length,p=new Array(h),d=!1;for(c=0;c<h;c++)if(u=e.a[c],f=e.b[c],n(u)&&n(f)){var g=r.ab2xy(+u,+f,!0),m=r.isVisible(+u,+f);m||(d=!0),p[c]={x:g[0],y:g[1],a:u,b:f,vis:m}}else p[c]={x:!1,y:!1};return e._needsCull=d,p[0].carpet=r,p[0].trace=e,s(e,h),i(t,e),a(p,e),o(p,e),p}}},{"../carpet/lookup_carpetid":708,"../scatter/arrays_to_calcdata":925,"../scatter/calc":927,"../scatter/calc_selection":928,"../scatter/colorscale_calc":929,"fast-isnumeric":190}],962:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/constants"),a=t("../scatter/subtypes"),o=t("../scatter/marker_defaults"),s=t("../scatter/line_defaults"),l=t("../scatter/line_shape_defaults"),c=t("../scatter/text_defaults"),u=t("../scatter/fillcolor_defaults"),f=t("./attributes");e.exports=function(t,e,r,h){function p(r,i){return n.coerce(t,e,f,r,i)}p("carpet"),e.xaxis="x",e.yaxis="y";var d=p("a"),g=p("b"),m=Math.min(d.length,g.length);if(m){e._length=m,p("text"),p("texttemplate"),p("hovertext"),p("mode",m<i.PTS_LINESONLY?"lines+markers":"lines"),a.hasLines(e)&&(s(t,e,r,h,p),l(t,e,p),p("connectgaps")),a.hasMarkers(e)&&o(t,e,r,h,p,{gradient:!0}),a.hasText(e)&&c(t,e,h,p);var v=[];(a.hasMarkers(e)||a.hasText(e))&&(p("marker.maxdisplayed"),v.push("points")),p("fill"),"none"!==e.fill&&(u(t,e,r,p),a.hasLines(e)||l(t,e,p)),"tonext"!==e.fill&&"toself"!==e.fill||v.push("fills"),"fills"!==p("hoveron",v.join("+")||"points")&&p("hovertemplate"),n.coerceSelectionMarkerOpacity(e,p)}else e.visible=!1}},{"../../lib":503,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/line_shape_defaults":941,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":960}],963:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){var a=n[i];return t.a=a.a,t.b=a.b,t.y=a.y,t}},{}],964:[function(t,e,r){"use strict";e.exports=function(t,e){var r={},n=e._carpet,i=n.ab2ij([t.a,t.b]),a=Math.floor(i[0]),o=i[0]-a,s=Math.floor(i[1]),l=i[1]-s,c=n.evalxy([],a,s,o,l);return r.yLabel=c[1].toFixed(3),r}},{}],965:[function(t,e,r){"use strict";var n=t("../scatter/hover"),i=t("../../lib").fillText;e.exports=function(t,e,r,a){var o=n(t,e,r,a);if(o&&!1!==o[0].index){var s=o[0];if(void 0===s.index){var l=1-s.y0/t.ya._length,c=t.xa._length,u=c*l/2,f=c-u;return s.x0=Math.max(Math.min(s.x0,f),u),s.x1=Math.max(Math.min(s.x1,f),u),o}var h=s.cd[s.index];s.a=h.a,s.b=h.b,s.xLabelVal=void 0,s.yLabelVal=void 0;var p=s.trace,d=p._carpet,g=p._module.formatLabels(h,p);s.yLabel=g.yLabel,delete s.text;var m=[];if(!p.hovertemplate){var v=(h.hi||p.hoverinfo).split("+");-1!==v.indexOf("all")&&(v=["a","b","text"]),-1!==v.indexOf("a")&&y(d.aaxis,h.a),-1!==v.indexOf("b")&&y(d.baxis,h.b),m.push("y: "+s.yLabel),-1!==v.indexOf("text")&&i(h,p,m),s.extraText=m.join("<br>")}return o}function y(t,e){var r;r=t.labelprefix&&t.labelprefix.length>0?t.labelprefix.replace(/ = $/,""):t._hovertitle,m.push(r+": "+e.toFixed(3)+t.labelsuffix)}}},{"../../lib":503,"../scatter/hover":937}],966:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),style:t("../scatter/style").style,styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover"),selectPoints:t("../scatter/select"),eventData:t("./event_data"),moduleType:"trace",name:"scattercarpet",basePlotModule:t("../../plots/cartesian"),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"../scatter/marker_colorbar":944,"../scatter/select":948,"../scatter/style":950,"./attributes":960,"./calc":961,"./defaults":962,"./event_data":963,"./format_labels":964,"./hover":965,"./plot":967}],967:[function(t,e,r){"use strict";var n=t("../scatter/plot"),i=t("../../plots/cartesian/axes"),a=t("../../components/drawing");e.exports=function(t,e,r,o){var s,l,c,u=r[0][0].carpet,f={xaxis:i.getFromId(t,u.xaxis||"x"),yaxis:i.getFromId(t,u.yaxis||"y"),plot:e.plot};for(n(t,f,r,o),s=0;s<r.length;s++)l=r[s][0].trace,c=o.selectAll("g.trace"+l.uid+" .js-line"),a.setClipUrl(c,r[s][0].carpet._clipPathId,t)}},{"../../components/drawing":388,"../../plots/cartesian/axes":554,"../scatter/plot":947}],968:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../scatter/attributes"),o=t("../../plots/attributes"),s=t("../../components/colorscale/attributes"),l=t("../../components/drawing/attributes").dash,c=t("../../lib/extend").extendFlat,u=t("../../plot_api/edit_types").overrideAll,f=a.marker,h=a.line,p=f.line;e.exports=u({lon:{valType:"data_array"},lat:{valType:"data_array"},locations:{valType:"data_array"},locationmode:{valType:"enumerated",values:["ISO-3","USA-states","country names","geojson-id"],dflt:"ISO-3"},geojson:{valType:"any",editType:"calc"},featureidkey:{valType:"string",editType:"calc",dflt:"id"},mode:c({},a.mode,{dflt:"markers"}),text:c({},a.text,{}),texttemplate:i({editType:"plot"},{keys:["lat","lon","location","text"]}),hovertext:c({},a.hovertext,{}),textfont:a.textfont,textposition:a.textposition,line:{color:h.color,width:h.width,dash:l},connectgaps:a.connectgaps,marker:c({symbol:f.symbol,opacity:f.opacity,size:f.size,sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode,colorbar:f.colorbar,line:c({width:p.width},s("marker.line")),gradient:f.gradient},s("marker")),fill:{valType:"enumerated",values:["none","toself"],dflt:"none"},fillcolor:a.fillcolor,selected:a.selected,unselected:a.unselected,hoverinfo:c({},o.hoverinfo,{flags:["lon","lat","location","text","name"]}),hovertemplate:n()},"calc","nested")},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":926}],969:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../constants/numerical").BADNUM,a=t("../scatter/colorscale_calc"),o=t("../scatter/arrays_to_calcdata"),s=t("../scatter/calc_selection"),l=t("../../lib")._;function c(t){return t&&"string"==typeof t}e.exports=function(t,e){var r,u=Array.isArray(e.locations),f=u?e.locations.length:e._length,h=new Array(f);r=e.geojson?function(t){return c(t)||n(t)}:c;for(var p=0;p<f;p++){var d=h[p]={};if(u){var g=e.locations[p];d.loc=r(g)?g:null}else{var m=e.lon[p],v=e.lat[p];n(m)&&n(v)?d.lonlat=[+m,+v]:d.lonlat=[i,i]}}return o(h,e),a(t,e),s(h,e),f&&(h[0].t={labels:{lat:l(t,"lat:")+" ",lon:l(t,"lon:")+" "}}),h}},{"../../constants/numerical":479,"../../lib":503,"../scatter/arrays_to_calcdata":925,"../scatter/calc_selection":928,"../scatter/colorscale_calc":929,"fast-isnumeric":190}],970:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../scatter/marker_defaults"),o=t("../scatter/line_defaults"),s=t("../scatter/text_defaults"),l=t("../scatter/fillcolor_defaults"),c=t("./attributes");e.exports=function(t,e,r,u){function f(r,i){return n.coerce(t,e,c,r,i)}var h,p=f("locations");if(p&&p.length){var d,g=f("geojson");("string"==typeof g&&""!==g||n.isPlainObject(g))&&(d="geojson-id"),"geojson-id"===f("locationmode",d)&&f("featureidkey"),h=p.length}else{var m=f("lon")||[],v=f("lat")||[];h=Math.min(m.length,v.length)}h?(e._length=h,f("text"),f("hovertext"),f("hovertemplate"),f("mode"),i.hasLines(e)&&(o(t,e,r,u,f),f("connectgaps")),i.hasMarkers(e)&&a(t,e,r,u,f,{gradient:!0}),i.hasText(e)&&(f("texttemplate"),s(t,e,u,f)),f("fill"),"none"!==e.fill&&l(t,e,r,f),n.coerceSelectionMarkerOpacity(e,f)):e.visible=!1}},{"../../lib":503,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":968}],971:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){t.lon=e.lon,t.lat=e.lat,t.location=e.loc?e.loc:null;var a=n[i];return a.fIn&&a.fIn.properties&&(t.properties=a.fIn.properties),t}},{}],972:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var i={},a=r[e.geo]._subplot.mockAxis,o=t.lonlat;return i.lonLabel=n.tickText(a,a.c2l(o[0]),!0).text,i.latLabel=n.tickText(a,a.c2l(o[1]),!0).text,i}},{"../../plots/cartesian/axes":554}],973:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../constants/numerical").BADNUM,a=t("../scatter/get_trace_color"),o=t("../../lib").fillText,s=t("./attributes");e.exports=function(t,e,r){var l=t.cd,c=l[0].trace,u=t.xa,f=t.ya,h=t.subplot,p=h.projection.isLonLatOverEdges,d=h.project;if(n.getClosest(l,(function(t){var n=t.lonlat;if(n[0]===i)return 1/0;if(p(n))return 1/0;var a=d(n),o=d([e,r]),s=Math.abs(a[0]-o[0]),l=Math.abs(a[1]-o[1]),c=Math.max(3,t.mrc||0);return Math.max(Math.sqrt(s*s+l*l)-c,1-3/c)}),t),!1!==t.index){var g=l[t.index],m=g.lonlat,v=[u.c2p(m),f.c2p(m)],y=g.mrc||1;t.x0=v[0]-y,t.x1=v[0]+y,t.y0=v[1]-y,t.y1=v[1]+y,t.loc=g.loc,t.lon=m[0],t.lat=m[1];var x={};x[c.geo]={_subplot:h};var b=c._module.formatLabels(g,c,x);return t.lonLabel=b.lonLabel,t.latLabel=b.latLabel,t.color=a(c,g),t.extraText=function(t,e,r,n){if(t.hovertemplate)return;var i=e.hi||t.hoverinfo,a="all"===i?s.hoverinfo.flags:i.split("+"),l=-1!==a.indexOf("location")&&Array.isArray(t.locations),c=-1!==a.indexOf("lon"),u=-1!==a.indexOf("lat"),f=-1!==a.indexOf("text"),h=[];function p(t){return t+"\xb0"}l?h.push(e.loc):c&&u?h.push("("+p(r.latLabel)+", "+p(r.lonLabel)+")"):c?h.push(n.lon+p(r.lonLabel)):u&&h.push(n.lat+p(r.latLabel));f&&o(e,t,h);return h.join("<br>")}(c,g,t,l[0].t.labels),t.hovertemplate=c.hovertemplate,[t]}}},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":936,"./attributes":968}],974:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),calcGeoJSON:t("./plot").calcGeoJSON,plot:t("./plot").plot,style:t("./style"),styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover"),eventData:t("./event_data"),selectPoints:t("./select"),moduleType:"trace",name:"scattergeo",basePlotModule:t("../../plots/geo"),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},{"../../plots/geo":589,"../scatter/marker_colorbar":944,"../scatter/style":950,"./attributes":968,"./calc":969,"./defaults":970,"./event_data":971,"./format_labels":972,"./hover":973,"./plot":975,"./select":976,"./style":977}],975:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../lib/topojson_utils").getTopojsonFeatures,o=t("../../lib/geojson_utils"),s=t("../../lib/geo_location_utils"),l=t("../../plots/cartesian/autorange").findExtremes,c=t("../../constants/numerical").BADNUM,u=t("../scatter/calc").calcMarkerSize,f=t("../scatter/subtypes"),h=t("./style");e.exports={calcGeoJSON:function(t,e){var r,n,i=t[0].trace,o=e[i.geo],f=o._subplot,h=i._length;if(Array.isArray(i.locations)){var p=i.locationmode,d="geojson-id"===p?s.extractTraceFeature(t):a(i,f.topojson);for(r=0;r<h;r++){n=t[r];var g="geojson-id"===p?n.fOut:s.locationToFeature(p,n.loc,d);n.lonlat=g?g.properties.ct:[c,c]}}var m,v,y={padded:!0};if("geojson"===o.fitbounds&&"geojson-id"===i.locationmode){var x=s.computeBbox(s.getTraceGeojson(i));m=[x[0],x[2]],v=[x[1],x[3]]}else{for(m=new Array(h),v=new Array(h),r=0;r<h;r++)n=t[r],m[r]=n.lonlat[0],v[r]=n.lonlat[1];y.ppad=u(i,h)}i._extremes.lon=l(o.lonaxis._ax,m,y),i._extremes.lat=l(o.lataxis._ax,v,y)},plot:function(t,e,r){var a=e.layers.frontplot.select(".scatterlayer"),s=i.makeTraceGroups(a,r,"trace scattergeo");function l(t,e){t.lonlat[0]===c&&n.select(e).remove()}s.selectAll("*").remove(),s.each((function(e){var r=n.select(this),a=e[0].trace;if(f.hasLines(a)||"none"!==a.fill){var s=o.calcTraceToLineCoords(e),c="none"!==a.fill?o.makePolygon(s):o.makeLine(s);r.selectAll("path.js-line").data([{geojson:c,trace:a}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}f.hasMarkers(a)&&r.selectAll("path.point").data(i.identity).enter().append("path").classed("point",!0).each((function(t){l(t,this)})),f.hasText(a)&&r.selectAll("g").data(i.identity).enter().append("g").append("text").each((function(t){l(t,this)})),h(t,e)}))}}},{"../../constants/numerical":479,"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/geojson_utils":497,"../../lib/topojson_utils":532,"../../plots/cartesian/autorange":553,"../scatter/calc":927,"../scatter/subtypes":951,"./style":977,"@plotly/d3":58}],976:[function(t,e,r){"use strict";var n=t("../scatter/subtypes"),i=t("../../constants/numerical").BADNUM;e.exports=function(t,e){var r,a,o,s,l,c=t.cd,u=t.xaxis,f=t.yaxis,h=[],p=c[0].trace;if(!n.hasMarkers(p)&&!n.hasText(p))return[];if(!1===e)for(l=0;l<c.length;l++)c[l].selected=0;else for(l=0;l<c.length;l++)(a=(r=c[l]).lonlat)[0]!==i&&(o=u.c2p(a),s=f.c2p(a),e.contains([o,s],null,l,t)?(h.push({pointNumber:l,lon:a[0],lat:a[1]}),r.selected=1):r.selected=0);return h}},{"../../constants/numerical":479,"../scatter/subtypes":951}],977:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../components/color"),o=t("../scatter/style"),s=o.stylePoints,l=o.styleText;e.exports=function(t,e){e&&function(t,e){var r=e[0].trace,o=e[0].node3;o.style("opacity",e[0].trace.opacity),s(o,r,t),l(o,r,t),o.selectAll("path.js-line").style("fill","none").each((function(t){var e=n.select(this),r=t.trace,o=r.line||{};e.call(a.stroke,o.color).call(i.dashLine,o.dash||"",o.width||0),"none"!==r.fill&&e.call(a.fill,r.fillcolor)}))}(t,e)}},{"../../components/color":366,"../../components/drawing":388,"../scatter/style":950,"@plotly/d3":58}],978:[function(t,e,r){"use strict";var n=t("../../plots/attributes"),i=t("../scatter/attributes"),a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,o=t("../../components/colorscale/attributes"),s=t("../../lib/sort_object_keys"),l=t("../../lib/extend").extendFlat,c=t("../../plot_api/edit_types").overrideAll,u=t("./constants").DASHES,f=i.line,h=i.marker,p=h.line,d=e.exports=c({x:i.x,x0:i.x0,dx:i.dx,y:i.y,y0:i.y0,dy:i.dy,xperiod:i.xperiod,yperiod:i.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:i.xperiodalignment,yperiodalignment:i.yperiodalignment,xhoverformat:a("x"),yhoverformat:a("y"),text:i.text,hovertext:i.hovertext,textposition:i.textposition,textfont:i.textfont,mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"]},line:{color:f.color,width:f.width,shape:{valType:"enumerated",values:["linear","hv","vh","hvh","vhv"],dflt:"linear",editType:"plot"},dash:{valType:"enumerated",values:s(u),dflt:"solid"}},marker:l({},o("marker"),{symbol:h.symbol,size:h.size,sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,opacity:h.opacity,colorbar:h.colorbar,line:l({},o("marker.line"),{width:p.width})}),connectgaps:i.connectgaps,fill:l({},i.fill,{dflt:"none"}),fillcolor:i.fillcolor,selected:{marker:i.selected.marker,textfont:i.selected.textfont},unselected:{marker:i.unselected.marker,textfont:i.unselected.textfont},opacity:n.opacity},"calc","nested");d.x.editType=d.y.editType=d.x0.editType=d.y0.editType="calc+clearAxisTypes",d.hovertemplate=i.hovertemplate,d.texttemplate=i.texttemplate},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":926,"./constants":980}],979:[function(t,e,r){"use strict";var n=t("@plotly/point-cluster"),i=t("../../lib"),a=t("../../plots/cartesian/axis_ids"),o=t("../../plots/cartesian/autorange").findExtremes,s=t("../../plots/cartesian/align_period"),l=t("../scatter/calc"),c=l.calcMarkerSize,u=l.calcAxisExpansion,f=l.setFirstScatter,h=t("../scatter/colorscale_calc"),p=t("./convert"),d=t("./scene_update"),g=t("../../constants/numerical").BADNUM,m=t("./constants").TOO_MANY_POINTS;function v(t,e,r){var n=t._extremes[e._id],i=o(e,r._bnds,{padded:!0});n.min=n.min.concat(i.min),n.max=n.max.concat(i.max)}e.exports=function(t,e){var r,o=t._fullLayout,l=a.getFromId(t,e.xaxis),y=a.getFromId(t,e.yaxis),x=o._plots[e.xaxis+e.yaxis],b=e._length,_=b>=m,w=2*b,T={},k=l.makeCalcdata(e,"x"),A=y.makeCalcdata(e,"y"),M=s(e,l,"x",k),S=s(e,y,"y",A),E=M.vals,L=S.vals;e._x=E,e._y=L,e.xperiodalignment&&(e._origX=k,e._xStarts=M.starts,e._xEnds=M.ends),e.yperiodalignment&&(e._origY=A,e._yStarts=S.starts,e._yEnds=S.ends);var C=new Array(w),P=new Array(b);for(r=0;r<b;r++)C[2*r]=E[r]===g?NaN:E[r],C[2*r+1]=L[r]===g?NaN:L[r],P[r]=r;if("log"===l.type)for(r=0;r<w;r+=2)C[r]=l.c2l(C[r]);if("log"===y.type)for(r=1;r<w;r+=2)C[r]=y.c2l(C[r]);_&&"log"!==l.type&&"log"!==y.type?T.tree=n(C):T.ids=P,h(t,e);var I,O=function(t,e,r,n,a,o){var s=p.style(t,r);s.marker&&(s.marker.positions=n);s.line&&n.length>1&&i.extendFlat(s.line,p.linePositions(t,r,n));if(s.errorX||s.errorY){var l=p.errorBarPositions(t,r,n,a,o);s.errorX&&i.extendFlat(s.errorX,l.x),s.errorY&&i.extendFlat(s.errorY,l.y)}s.text&&(i.extendFlat(s.text,{positions:n},p.textPosition(t,r,s.text,s.marker)),i.extendFlat(s.textSel,{positions:n},p.textPosition(t,r,s.text,s.markerSel)),i.extendFlat(s.textUnsel,{positions:n},p.textPosition(t,r,s.text,s.markerUnsel)));return s}(t,0,e,C,E,L),z=d(t,x);return f(o,e),_?O.marker&&(I=O.marker.sizeAvg||Math.max(O.marker.size,3)):I=c(e,b),u(t,e,l,y,E,L,I),O.errorX&&v(e,l,O.errorX),O.errorY&&v(e,y,O.errorY),O.fill&&!z.fill2d&&(z.fill2d=!0),O.marker&&!z.scatter2d&&(z.scatter2d=!0),O.line&&!z.line2d&&(z.line2d=!0),!O.errorX&&!O.errorY||z.error2d||(z.error2d=!0),O.text&&!z.glText&&(z.glText=!0),O.marker&&(O.marker.snap=b),z.lineOptions.push(O.line),z.errorXOptions.push(O.errorX),z.errorYOptions.push(O.errorY),z.fillOptions.push(O.fill),z.markerOptions.push(O.marker),z.markerSelectedOptions.push(O.markerSel),z.markerUnselectedOptions.push(O.markerUnsel),z.textOptions.push(O.text),z.textSelectedOptions.push(O.textSel),z.textUnselectedOptions.push(O.textUnsel),z.selectBatch.push([]),z.unselectBatch.push([]),T._scene=z,T.index=z.count,T.x=E,T.y=L,T.positions=C,z.count++,[{x:!1,y:!1,t:T,trace:e}]}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/autorange":553,"../../plots/cartesian/axis_ids":558,"../scatter/calc":927,"../scatter/colorscale_calc":929,"./constants":980,"./convert":981,"./scene_update":989,"@plotly/point-cluster":59}],980:[function(t,e,r){"use strict";e.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},{}],981:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("svg-path-sdf"),a=t("color-normalize"),o=t("../../registry"),s=t("../../lib"),l=t("../../components/drawing"),c=t("../../plots/cartesian/axis_ids"),u=t("../../lib/gl_format_color").formatColor,f=t("../scatter/subtypes"),h=t("../scatter/make_bubble_size_func"),p=t("./helpers"),d=t("./constants"),g=t("../../constants/interactions").DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},v=t("../../components/fx/helpers").appendArrayPointValue;function y(t,e){var r,i=t._fullLayout,a=e._length,o=e.textfont,l=e.textposition,c=Array.isArray(l)?l:[l],u=o.color,f=o.size,h=o.family,p={},d=t._context.plotGlPixelRatio,g=e.texttemplate;if(g){p.text=[];var m=i._d3locale,y=Array.isArray(g),x=y?Math.min(g.length,a):a,b=y?function(t){return g[t]}:function(){return g};for(r=0;r<x;r++){var _={i:r},w=e._module.formatLabels(_,e,i),T={};v(T,e,r);var k=e._meta||{};p.text.push(s.texttemplateString(b(r),w,m,T,_,k))}}else Array.isArray(e.text)&&e.text.length<a?p.text=e.text.slice():p.text=e.text;if(Array.isArray(p.text))for(r=p.text.length;r<a;r++)p.text[r]="";for(p.opacity=e.opacity,p.font={},p.align=[],p.baseline=[],r=0;r<c.length;r++){var A=c[r].split(/\s+/);switch(A[1]){case"left":p.align.push("right");break;case"right":p.align.push("left");break;default:p.align.push(A[1])}switch(A[0]){case"top":p.baseline.push("bottom");break;case"bottom":p.baseline.push("top");break;default:p.baseline.push(A[0])}}if(Array.isArray(u))for(p.color=new Array(a),r=0;r<a;r++)p.color[r]=u[r];else p.color=u;if(s.isArrayOrTypedArray(f)||Array.isArray(h))for(p.font=new Array(a),r=0;r<a;r++){var M=p.font[r]={};M.size=(s.isTypedArray(f)?f[r]:Array.isArray(f)?n(f[r])?f[r]:0:f)*d,M.family=Array.isArray(h)?h[r]:h}else p.font={size:f*d,family:h};return p}function x(t){var e,r,n=t._length,i=t.marker,o={},l=s.isArrayOrTypedArray(i.symbol),c=s.isArrayOrTypedArray(i.color),f=s.isArrayOrTypedArray(i.line.color),d=s.isArrayOrTypedArray(i.opacity),g=s.isArrayOrTypedArray(i.size),m=s.isArrayOrTypedArray(i.line.width);if(l||(r=p.isOpenSymbol(i.symbol)),l||c||f||d){o.colors=new Array(n),o.borderColors=new Array(n);var v=u(i,i.opacity,n),y=u(i.line,i.opacity,n);if(!Array.isArray(y[0])){var x=y;for(y=Array(n),e=0;e<n;e++)y[e]=x}if(!Array.isArray(v[0])){var b=v;for(v=Array(n),e=0;e<n;e++)v[e]=b}for(o.colors=v,o.borderColors=y,e=0;e<n;e++){if(l){var _=i.symbol[e];r=p.isOpenSymbol(_)}r&&(y[e]=v[e].slice(),v[e]=v[e].slice(),v[e][3]=0)}o.opacity=t.opacity}else r?(o.color=a(i.color,"uint8"),o.color[3]=0,o.borderColor=a(i.color,"uint8")):(o.color=a(i.color,"uint8"),o.borderColor=a(i.line.color,"uint8")),o.opacity=t.opacity*i.opacity;if(l)for(o.markers=new Array(n),e=0;e<n;e++)o.markers[e]=E(i.symbol[e]);else o.marker=E(i.symbol);var w,T=h(t,1);if(g||m){var k,A=o.sizes=new Array(n),M=o.borderSizes=new Array(n),S=0;if(g){for(e=0;e<n;e++)A[e]=T(i.size[e]),S+=A[e];k=S/n}else for(w=T(i.size),e=0;e<n;e++)A[e]=w;if(m)for(e=0;e<n;e++)M[e]=i.line.width[e];else for(w=i.line.width,e=0;e<n;e++)M[e]=w;o.sizeAvg=k}else o.size=T(i&&i.size||10),o.borderSizes=T(i.line.width);return o}function b(t,e){var r=t.marker,n={};return e?(e.marker&&e.marker.symbol?n=x(s.extendFlat({},r,e.marker)):e.marker&&(e.marker.size&&(n.size=e.marker.size),e.marker.color&&(n.colors=e.marker.color),void 0!==e.marker.opacity&&(n.opacity=e.marker.opacity)),n):n}function _(t,e,r){var n={};if(!r)return n;if(r.textfont){var i={opacity:1,text:e.text,texttemplate:e.texttemplate,textposition:e.textposition,textfont:s.extendFlat({},e.textfont)};r.textfont&&s.extendFlat(i.textfont,r.textfont),n=y(t,i)}return n}function w(t,e,r){var n={capSize:2*e.width*r,lineWidth:e.thickness*r,color:e.color};return e.copy_ystyle&&(n=t.error_y),n}var T=d.SYMBOL_SDF_SIZE,k=d.SYMBOL_SIZE,A=d.SYMBOL_STROKE,M={},S=l.symbolFuncs[0](.05*k);function E(t){if("circle"===t)return null;var e,r,n=l.symbolNumber(t),a=l.symbolFuncs[n%100],o=!!l.symbolNoDot[n%100],s=!!l.symbolNoFill[n%100],c=p.isDotSymbol(t);return M[t]?M[t]:(e=c&&!o?a(1.1*k)+S:a(k),r=i(e,{w:T,h:T,viewBox:[-k,-k,k,k],stroke:s?A:-A}),M[t]=r,r||null)}e.exports={style:function(t,e){var r,n={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},i=t._context.plotGlPixelRatio;if(!0!==e.visible)return n;if(f.hasText(e)&&(n.text=y(t,e),n.textSel=_(t,e,e.selected),n.textUnsel=_(t,e,e.unselected)),f.hasMarkers(e)&&(n.marker=x(e),n.markerSel=b(e,e.selected),n.markerUnsel=b(e,e.unselected),!e.unselected&&s.isArrayOrTypedArray(e.marker.opacity))){var a=e.marker.opacity;for(n.markerUnsel.opacity=new Array(a.length),r=0;r<a.length;r++)n.markerUnsel.opacity[r]=g*a[r]}if(f.hasLines(e)){n.line={overlay:!0,thickness:e.line.width*i,color:e.line.color,opacity:e.opacity};var o=(d.DASHES[e.line.dash]||[1]).slice();for(r=0;r<o.length;++r)o[r]*=e.line.width*i;n.line.dashes=o}return e.error_x&&e.error_x.visible&&(n.errorX=w(e,e.error_x,i)),e.error_y&&e.error_y.visible&&(n.errorY=w(e,e.error_y,i)),e.fill&&"none"!==e.fill&&(n.fill={closed:!0,fill:e.fillcolor,thickness:0}),n},markerStyle:x,markerSelection:b,linePositions:function(t,e,r){var n,i,a=r.length,o=a/2;if(f.hasLines(e)&&o)if("hv"===e.line.shape){for(n=[],i=0;i<o-1;i++)isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN,NaN,NaN):(n.push(r[2*i],r[2*i+1]),isNaN(r[2*i+2])||isNaN(r[2*i+3])?n.push(NaN,NaN):n.push(r[2*i+2],r[2*i+1]));n.push(r[a-2],r[a-1])}else if("hvh"===e.line.shape){for(n=[],i=0;i<o-1;i++)if(isNaN(r[2*i])||isNaN(r[2*i+1])||isNaN(r[2*i+2])||isNaN(r[2*i+3]))isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+1]),n.push(NaN,NaN);else{var s=(r[2*i]+r[2*i+2])/2;n.push(r[2*i],r[2*i+1],s,r[2*i+1],s,r[2*i+3])}n.push(r[a-2],r[a-1])}else if("vhv"===e.line.shape){for(n=[],i=0;i<o-1;i++)if(isNaN(r[2*i])||isNaN(r[2*i+1])||isNaN(r[2*i+2])||isNaN(r[2*i+3]))isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+1]),n.push(NaN,NaN);else{var l=(r[2*i+1]+r[2*i+3])/2;n.push(r[2*i],r[2*i+1],r[2*i],l,r[2*i+2],l)}n.push(r[a-2],r[a-1])}else if("vh"===e.line.shape){for(n=[],i=0;i<o-1;i++)isNaN(r[2*i])||isNaN(r[2*i+1])?n.push(NaN,NaN,NaN,NaN):(n.push(r[2*i],r[2*i+1]),isNaN(r[2*i+2])||isNaN(r[2*i+3])?n.push(NaN,NaN):n.push(r[2*i],r[2*i+3]));n.push(r[a-2],r[a-1])}else n=r;var c=!1;for(i=0;i<n.length;i++)if(isNaN(n[i])){c=!0;break}var u=c||n.length>d.TOO_MANY_POINTS||f.hasMarkers(e)?"rect":"round";if(c&&e.connectgaps){var h=n[0],p=n[1];for(i=0;i<n.length;i+=2)isNaN(n[i])||isNaN(n[i+1])?(n[i]=h,n[i+1]=p):(h=n[i],p=n[i+1])}return{join:u,positions:n}},errorBarPositions:function(t,e,r,i,a){var s=o.getComponentMethod("errorbars","makeComputeError"),l=c.getFromId(t,e.xaxis),u=c.getFromId(t,e.yaxis),f=r.length/2,h={};function p(t,i){var a=i._id.charAt(0),o=e["error_"+a];if(o&&o.visible&&("linear"===i.type||"log"===i.type)){for(var l=s(o),c={x:0,y:1}[a],u={x:[0,1,2,3],y:[2,3,0,1]}[a],p=new Float64Array(4*f),d=1/0,g=-1/0,m=0,v=0;m<f;m++,v+=4){var y=t[m];if(n(y)){var x=r[2*m+c],b=l(y,m),_=b[0],w=b[1];if(n(_)&&n(w)){var T=y-_,k=y+w;p[v+u[0]]=x-i.c2l(T),p[v+u[1]]=i.c2l(k)-x,p[v+u[2]]=0,p[v+u[3]]=0,d=Math.min(d,y-_),g=Math.max(g,y+w)}}}h[a]={positions:r,errors:p,_bnds:[d,g]}}}return p(i,l),p(a,u),h},textPosition:function(t,e,r,n){var i,a=e._length,o={};if(f.hasMarkers(e)){var s=r.font,l=r.align,c=r.baseline;for(o.offset=new Array(a),i=0;i<a;i++){var u=n.sizes?n.sizes[i]:n.size,h=Array.isArray(s)?s[i].size:s.size,p=Array.isArray(l)?l.length>1?l[i]:l[0]:l,d=Array.isArray(c)?c.length>1?c[i]:c[0]:c,g=m[p],v=m[d],y=u?u/.8+1:0,x=-v*y-.5*v;o.offset[i]=[g*y/h,x/h]}}return o}}},{"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/interactions":478,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/cartesian/axis_ids":558,"../../registry":638,"../scatter/make_bubble_size_func":943,"../scatter/subtypes":951,"./constants":980,"./helpers":985,"color-normalize":89,"fast-isnumeric":190,"svg-path-sdf":310}],982:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../registry"),a=t("./helpers"),o=t("./attributes"),s=t("../scatter/constants"),l=t("../scatter/subtypes"),c=t("../scatter/xy_defaults"),u=t("../scatter/period_defaults"),f=t("../scatter/marker_defaults"),h=t("../scatter/line_defaults"),p=t("../scatter/fillcolor_defaults"),d=t("../scatter/text_defaults");e.exports=function(t,e,r,g){function m(r,i){return n.coerce(t,e,o,r,i)}var v=!!t.marker&&a.isOpenSymbol(t.marker.symbol),y=l.isBubble(t),x=c(t,e,g,m);if(x){u(t,e,g,m),m("xhoverformat"),m("yhoverformat");var b=x<s.PTS_LINESONLY?"lines+markers":"lines";m("text"),m("hovertext"),m("hovertemplate"),m("mode",b),l.hasLines(e)&&(m("connectgaps"),h(t,e,r,g,m),m("line.shape")),l.hasMarkers(e)&&(f(t,e,r,g,m),m("marker.line.width",v||y?1:0)),l.hasText(e)&&(m("texttemplate"),d(t,e,g,m));var _=(e.line||{}).color,w=(e.marker||{}).color;m("fill"),"none"!==e.fill&&p(t,e,r,m);var T=i.getComponentMethod("errorbars","supplyDefaults");T(t,e,_||w||r,{axis:"y"}),T(t,e,_||w||r,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(e,m)}else e.visible=!1}},{"../../lib":503,"../../registry":638,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/marker_defaults":945,"../scatter/period_defaults":946,"../scatter/subtypes":951,"../scatter/text_defaults":952,"../scatter/xy_defaults":953,"./attributes":978,"./helpers":985}],983:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../../constants/interactions").DESELECTDIM;e.exports={styleTextSelection:function(t){var e,r,o=t[0],s=o.trace,l=o.t,c=l._scene,u=l.index,f=c.selectBatch[u],h=c.unselectBatch[u],p=c.textOptions[u],d=c.textSelectedOptions[u]||{},g=c.textUnselectedOptions[u]||{},m=n.extendFlat({},p);if(f.length||h.length){var v=d.color,y=g.color,x=p.color,b=Array.isArray(x);for(m.color=new Array(s._length),e=0;e<f.length;e++)r=f[e],m.color[r]=v||(b?x[r]:x);for(e=0;e<h.length;e++){r=h[e];var _=b?x[r]:x;m.color[r]=y||(v?_:i.addOpacity(_,a))}}c.glText[u].update(m)}}},{"../../components/color":366,"../../constants/interactions":478,"../../lib":503}],984:[function(t,e,r){"use strict";var n=t("../scatter/format_labels");e.exports=function(t,e,r){var i=t.i;return"x"in t||(t.x=e._x[i]),"y"in t||(t.y=e._y[i]),n(t,e,r)}},{"../scatter/format_labels":935}],985:[function(t,e,r){"use strict";var n=t("./constants");r.isOpenSymbol=function(t){return"string"==typeof t?n.OPEN_RE.test(t):t%200>100},r.isDotSymbol=function(t){return"string"==typeof t?n.DOT_RE.test(t):t>200}},{"./constants":980}],986:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../scatter/get_trace_color");function o(t,e,r,o){var s=t.xa,l=t.ya,c=t.distance,u=t.dxy,f=t.index,h={pointNumber:f,x:e[f],y:r[f]};h.tx=Array.isArray(o.text)?o.text[f]:o.text,h.htx=Array.isArray(o.hovertext)?o.hovertext[f]:o.hovertext,h.data=Array.isArray(o.customdata)?o.customdata[f]:o.customdata,h.tp=Array.isArray(o.textposition)?o.textposition[f]:o.textposition;var p=o.textfont;p&&(h.ts=i.isArrayOrTypedArray(p.size)?p.size[f]:p.size,h.tc=Array.isArray(p.color)?p.color[f]:p.color,h.tf=Array.isArray(p.family)?p.family[f]:p.family);var d=o.marker;d&&(h.ms=i.isArrayOrTypedArray(d.size)?d.size[f]:d.size,h.mo=i.isArrayOrTypedArray(d.opacity)?d.opacity[f]:d.opacity,h.mx=i.isArrayOrTypedArray(d.symbol)?d.symbol[f]:d.symbol,h.mc=i.isArrayOrTypedArray(d.color)?d.color[f]:d.color);var g=d&&d.line;g&&(h.mlc=Array.isArray(g.color)?g.color[f]:g.color,h.mlw=i.isArrayOrTypedArray(g.width)?g.width[f]:g.width);var m=d&&d.gradient;m&&"none"!==m.type&&(h.mgt=Array.isArray(m.type)?m.type[f]:m.type,h.mgc=Array.isArray(m.color)?m.color[f]:m.color);var v=s.c2p(h.x,!0),y=l.c2p(h.y,!0),x=h.mrc||1,b=o.hoverlabel;b&&(h.hbg=Array.isArray(b.bgcolor)?b.bgcolor[f]:b.bgcolor,h.hbc=Array.isArray(b.bordercolor)?b.bordercolor[f]:b.bordercolor,h.hts=i.isArrayOrTypedArray(b.font.size)?b.font.size[f]:b.font.size,h.htc=Array.isArray(b.font.color)?b.font.color[f]:b.font.color,h.htf=Array.isArray(b.font.family)?b.font.family[f]:b.font.family,h.hnl=i.isArrayOrTypedArray(b.namelength)?b.namelength[f]:b.namelength);var _=o.hoverinfo;_&&(h.hi=Array.isArray(_)?_[f]:_);var w=o.hovertemplate;w&&(h.ht=Array.isArray(w)?w[f]:w);var T={};T[t.index]=h;var k=o._origX,A=o._origY,M=i.extendFlat({},t,{color:a(o,h),x0:v-x,x1:v+x,xLabelVal:k?k[f]:h.x,y0:y-x,y1:y+x,yLabelVal:A?A[f]:h.y,cd:T,distance:c,spikeDistance:u,hovertemplate:h.ht});return h.htx?M.text=h.htx:h.tx?M.text=h.tx:o.text&&(M.text=o.text),i.fillText(h,o,M),n.getComponentMethod("errorbars","hoverInfo")(h,o,M),M}e.exports={hoverPoints:function(t,e,r,n){var i,a,s,l,c,u,f,h,p,d,g=t.cd,m=g[0].t,v=g[0].trace,y=t.xa,x=t.ya,b=m.x,_=m.y,w=y.c2p(e),T=x.c2p(r),k=t.distance;if(m.tree){var A=y.p2c(w-k),M=y.p2c(w+k),S=x.p2c(T-k),E=x.p2c(T+k);i="x"===n?m.tree.range(Math.min(A,M),Math.min(x._rl[0],x._rl[1]),Math.max(A,M),Math.max(x._rl[0],x._rl[1])):m.tree.range(Math.min(A,M),Math.min(S,E),Math.max(A,M),Math.max(S,E))}else i=m.ids;var L=k;if("x"===n){var C=!!v.xperiodalignment,P=!!v.yperiodalignment;for(u=0;u<i.length;u++){if(l=b[a=i[u]],f=Math.abs(y.c2p(l)-w),C){var I=y.c2p(v._xStarts[a]),O=y.c2p(v._xEnds[a]);f=w>=Math.min(I,O)&&w<=Math.max(I,O)?0:1/0}if(f<L){if(L=f,c=_[a],h=x.c2p(c)-T,P){var z=x.c2p(v._yStarts[a]),D=x.c2p(v._yEnds[a]);h=T>=Math.min(z,D)&&T<=Math.max(z,D)?0:1/0}d=Math.sqrt(f*f+h*h),s=i[u]}}}else for(u=i.length-1;u>-1;u--)l=b[a=i[u]],c=_[a],f=y.c2p(l)-w,h=x.c2p(c)-T,(p=Math.sqrt(f*f+h*h))<L&&(L=d=p,s=a);return t.index=s,t.distance=L,t.dxy=d,void 0===s?[t]:[o(t,b,_,v)]},calcHover:o}},{"../../lib":503,"../../registry":638,"../scatter/get_trace_color":936}],987:[function(t,e,r){"use strict";var n=t("./hover");e.exports={moduleType:"trace",name:"scattergl",basePlotModule:t("../../plots/cartesian"),categories:["gl","regl","cartesian","symbols","errorBarsOK","showLegend","scatter-like"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("../scatter/cross_trace_defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),hoverPoints:n.hoverPoints,selectPoints:t("./select"),meta:{}}},{"../../plots/cartesian":568,"../scatter/cross_trace_defaults":932,"../scatter/marker_colorbar":944,"./attributes":978,"./calc":979,"./defaults":982,"./format_labels":984,"./hover":986,"./plot":988,"./select":990}],988:[function(t,e,r){"use strict";var n=t("regl-scatter2d"),i=t("regl-line2d"),a=t("regl-error2d"),o=t("gl-text"),s=t("../../lib"),l=t("../../components/dragelement/helpers").selectMode,c=t("../../lib/prepare_regl"),u=t("../scatter/subtypes"),f=t("../scatter/link_traces"),h=t("./edit_style").styleTextSelection;function p(t,e,r,n){var i=t._size,a=t.width*n,o=t.height*n,s=i.l*n,l=i.b*n,c=i.r*n,u=i.t*n,f=i.w*n,h=i.h*n;return[s+e.domain[0]*f,l+r.domain[0]*h,a-c-(1-e.domain[1])*f,o-u-(1-r.domain[1])*h]}e.exports=function(t,e,r){if(r.length){var d,g,m=t._fullLayout,v=e._scene,y=e.xaxis,x=e.yaxis;if(v)if(c(t,["ANGLE_instanced_arrays","OES_element_index_uint"])){var b=v.count,_=m._glcanvas.data()[0].regl;if(f(t,e,r),v.dirty){if(!0===v.error2d&&(v.error2d=a(_)),!0===v.line2d&&(v.line2d=i(_)),!0===v.scatter2d&&(v.scatter2d=n(_)),!0===v.fill2d&&(v.fill2d=i(_)),!0===v.glText)for(v.glText=new Array(b),d=0;d<b;d++)v.glText[d]=new o(_);if(v.glText){if(b>v.glText.length){var w=b-v.glText.length;for(d=0;d<w;d++)v.glText.push(new o(_))}else if(b<v.glText.length){var T=v.glText.length-b;v.glText.splice(b,T).forEach((function(t){t.destroy()}))}for(d=0;d<b;d++)v.glText[d].update(v.textOptions[d])}if(v.line2d&&(v.line2d.update(v.lineOptions),v.lineOptions=v.lineOptions.map((function(t){if(t&&t.positions){for(var e=t.positions,r=0;r<e.length&&(isNaN(e[r])||isNaN(e[r+1]));)r+=2;for(var n=e.length-2;n>r&&(isNaN(e[n])||isNaN(e[n+1]));)n-=2;t.positions=e.slice(r,n+2)}return t})),v.line2d.update(v.lineOptions)),v.error2d){var k=(v.errorXOptions||[]).concat(v.errorYOptions||[]);v.error2d.update(k)}v.scatter2d&&v.scatter2d.update(v.markerOptions),v.fillOrder=s.repeat(null,b),v.fill2d&&(v.fillOptions=v.fillOptions.map((function(t,e){var n=r[e];if(t&&n&&n[0]&&n[0].trace){var i,a,o=n[0],s=o.trace,l=o.t,c=v.lineOptions[e],u=[];s._ownfill&&u.push(e),s._nexttrace&&u.push(e+1),u.length&&(v.fillOrder[e]=u);var f,h,p=[],d=c&&c.positions||l.positions;if("tozeroy"===s.fill){for(f=0;f<d.length&&isNaN(d[f+1]);)f+=2;for(h=d.length-2;h>f&&isNaN(d[h+1]);)h-=2;0!==d[f+1]&&(p=[d[f],0]),p=p.concat(d.slice(f,h+2)),0!==d[h+1]&&(p=p.concat([d[h],0]))}else if("tozerox"===s.fill){for(f=0;f<d.length&&isNaN(d[f]);)f+=2;for(h=d.length-2;h>f&&isNaN(d[h]);)h-=2;0!==d[f]&&(p=[0,d[f+1]]),p=p.concat(d.slice(f,h+2)),0!==d[h]&&(p=p.concat([0,d[h+1]]))}else if("toself"===s.fill||"tonext"===s.fill){for(p=[],i=0,t.splitNull=!0,a=0;a<d.length;a+=2)(isNaN(d[a])||isNaN(d[a+1]))&&((p=p.concat(d.slice(i,a))).push(d[i],d[i+1]),p.push(null,null),i=a+2);p=p.concat(d.slice(i)),i&&p.push(d[i],d[i+1])}else{var g=s._nexttrace;if(g){var m=v.lineOptions[e+1];if(m){var y=m.positions;if("tonexty"===s.fill){for(p=d.slice(),e=Math.floor(y.length/2);e--;){var x=y[2*e],b=y[2*e+1];isNaN(x)||isNaN(b)||p.push(x,b)}t.fill=g.fillcolor}}}}if(s._prevtrace&&"tonext"===s._prevtrace.fill){var _=v.lineOptions[e-1].positions,w=p.length/2,T=[i=w];for(a=0;a<_.length;a+=2)(isNaN(_[a])||isNaN(_[a+1]))&&(T.push(a/2+w+1),i=a+2);p=p.concat(_),t.hole=T}return t.fillmode=s.fill,t.opacity=s.opacity,t.positions=p,t}})),v.fill2d.update(v.fillOptions))}var A=m.dragmode,M=l(A),S=m.clickmode.indexOf("select")>-1;for(d=0;d<b;d++){var E=r[d][0],L=E.trace,C=E.t,P=C.index,I=L._length,O=C.x,z=C.y;if(L.selectedpoints||M||S){if(M||(M=!0),L.selectedpoints){var D=v.selectBatch[P]=s.selIndices2selPoints(L),R={};for(g=0;g<D.length;g++)R[D[g]]=1;var F=[];for(g=0;g<I;g++)R[g]||F.push(g);v.unselectBatch[P]=F}var B=C.xpx=new Array(I),N=C.ypx=new Array(I);for(g=0;g<I;g++)B[g]=y.c2p(O[g]),N[g]=x.c2p(z[g])}else C.xpx=C.ypx=null}if(M){if(v.select2d||(v.select2d=n(m._glcanvas.data()[1].regl)),v.scatter2d){var j=new Array(b);for(d=0;d<b;d++)j[d]=v.selectBatch[d].length||v.unselectBatch[d].length?v.markerUnselectedOptions[d]:{};v.scatter2d.update(j)}v.select2d&&(v.select2d.update(v.markerOptions),v.select2d.update(v.markerSelectedOptions)),v.glText&&r.forEach((function(t){var e=((t||[])[0]||{}).trace||{};u.hasText(e)&&h(t)}))}else v.scatter2d&&v.scatter2d.update(v.markerOptions);var U={viewport:p(m,y,x,t._context.plotGlPixelRatio),range:[(y._rl||y.range)[0],(x._rl||x.range)[0],(y._rl||y.range)[1],(x._rl||x.range)[1]]},V=s.repeat(U,v.count);v.fill2d&&v.fill2d.update(V),v.line2d&&v.line2d.update(V),v.error2d&&v.error2d.update(V.concat(V)),v.scatter2d&&v.scatter2d.update(V),v.select2d&&v.select2d.update(V),v.glText&&v.glText.forEach((function(t){t.update(U)}))}else v.init()}}},{"../../components/dragelement/helpers":384,"../../lib":503,"../../lib/prepare_regl":516,"../scatter/link_traces":942,"../scatter/subtypes":951,"./edit_style":983,"gl-text":225,"regl-error2d":279,"regl-line2d":280,"regl-scatter2d":281}],989:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){var r=e._scene,i={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},a={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return e._scene||((r=e._scene={}).init=function(){n.extendFlat(r,a,i)},r.init(),r.update=function(t){var e=n.repeat(t,r.count);if(r.fill2d&&r.fill2d.update(e),r.scatter2d&&r.scatter2d.update(e),r.line2d&&r.line2d.update(e),r.error2d&&r.error2d.update(e.concat(e)),r.select2d&&r.select2d.update(e),r.glText)for(var i=0;i<r.count;i++)r.glText[i].update(t)},r.draw=function(){for(var t=r.count,e=r.fill2d,i=r.error2d,a=r.line2d,o=r.scatter2d,s=r.glText,l=r.select2d,c=r.selectBatch,u=r.unselectBatch,f=0;f<t;f++){if(e&&r.fillOrder[f]&&e.draw(r.fillOrder[f]),a&&r.lineOptions[f]&&a.draw(f),i&&(r.errorXOptions[f]&&i.draw(f),r.errorYOptions[f]&&i.draw(f+t)),o&&r.markerOptions[f])if(u[f].length){var h=n.repeat([],r.count);h[f]=u[f],o.draw(h)}else c[f].length||o.draw(f);s[f]&&r.textOptions[f]&&s[f].render()}l&&l.draw(c),r.dirty=!1},r.destroy=function(){r.fill2d&&r.fill2d.destroy&&r.fill2d.destroy(),r.scatter2d&&r.scatter2d.destroy&&r.scatter2d.destroy(),r.error2d&&r.error2d.destroy&&r.error2d.destroy(),r.line2d&&r.line2d.destroy&&r.line2d.destroy(),r.select2d&&r.select2d.destroy&&r.select2d.destroy(),r.glText&&r.glText.forEach((function(t){t.destroy&&t.destroy()})),r.lineOptions=null,r.fillOptions=null,r.markerOptions=null,r.markerSelectedOptions=null,r.markerUnselectedOptions=null,r.errorXOptions=null,r.errorYOptions=null,r.textOptions=null,r.textSelectedOptions=null,r.textUnselectedOptions=null,r.selectBatch=null,r.unselectBatch=null,e._scene=null}),r.dirty||n.extendFlat(r,i),r}},{"../../lib":503}],990:[function(t,e,r){"use strict";var n=t("../scatter/subtypes"),i=t("./edit_style").styleTextSelection;e.exports=function(t,e){var r=t.cd,a=t.xaxis,o=t.yaxis,s=[],l=r[0].trace,c=r[0].t,u=l._length,f=c.x,h=c.y,p=c._scene,d=c.index;if(!p)return s;var g=n.hasText(l),m=n.hasMarkers(l),v=!m&&!g;if(!0!==l.visible||v)return s;var y=[],x=[];if(!1!==e&&!e.degenerate)for(var b=0;b<u;b++)e.contains([c.xpx[b],c.ypx[b]],!1,b,t)?(y.push(b),s.push({pointNumber:b,x:a.c2d(f[b]),y:o.c2d(h[b])})):x.push(b);if(m){var _=p.scatter2d;if(y.length||x.length){if(!p.selectBatch[d].length&&!p.unselectBatch[d].length){var w=new Array(p.count);w[d]=p.markerUnselectedOptions[d],_.update.apply(_,w)}}else{var T=new Array(p.count);T[d]=p.markerOptions[d],_.update.apply(_,T)}}return p.selectBatch[d]=y,p.unselectBatch[d]=x,g&&i(r),s}},{"../scatter/subtypes":951,"./edit_style":983}],991:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../scattergeo/attributes"),o=t("../scatter/attributes"),s=t("../../plots/mapbox/layout_attributes"),l=t("../../plots/attributes"),c=t("../../components/colorscale/attributes"),u=t("../../lib/extend").extendFlat,f=t("../../plot_api/edit_types").overrideAll,h=a.line,p=a.marker;e.exports=f({lon:a.lon,lat:a.lat,mode:u({},o.mode,{dflt:"markers"}),text:u({},o.text,{}),texttemplate:i({editType:"plot"},{keys:["lat","lon","text"]}),hovertext:u({},o.hovertext,{}),line:{color:h.color,width:h.width},connectgaps:o.connectgaps,marker:u({symbol:{valType:"string",dflt:"circle",arrayOk:!0},angle:{valType:"number",dflt:"auto",arrayOk:!0},allowoverlap:{valType:"boolean",dflt:!1},opacity:p.opacity,size:p.size,sizeref:p.sizeref,sizemin:p.sizemin,sizemode:p.sizemode},c("marker")),fill:a.fill,fillcolor:o.fillcolor,textfont:s.layers.symbol.textfont,textposition:s.layers.symbol.textposition,below:{valType:"string"},selected:{marker:o.selected.marker},unselected:{marker:o.unselected.marker},hoverinfo:u({},l.hoverinfo,{flags:["lon","lat","text","name"]}),hovertemplate:n()},"calc","nested")},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/mapbox/layout_attributes":615,"../../plots/template_attributes":633,"../scatter/attributes":926,"../scattergeo/attributes":968}],992:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../lib"),a=t("../../constants/numerical").BADNUM,o=t("../../lib/geojson_utils"),s=t("../../components/colorscale"),l=t("../../components/drawing"),c=t("../scatter/make_bubble_size_func"),u=t("../scatter/subtypes"),f=t("../../plots/mapbox/convert_text_opts"),h=t("../../components/fx/helpers").appendArrayPointValue,p=t("../../lib/svg_text_utils").NEWLINES,d=t("../../lib/svg_text_utils").BR_TAG_ALL;function g(){return{geojson:o.makeBlank(),layout:{visibility:"none"},paint:{}}}function m(t,e){return i.isArrayOrTypedArray(t)?e?function(e){return n(t[e])?+t[e]:0}:function(e){return t[e]}:t?function(){return t}:v}function v(){return""}function y(t){return t[0]===a}e.exports=function(t,e){var r,a=e[0].trace,x=!0===a.visible&&0!==a._length,b="none"!==a.fill,_=u.hasLines(a),w=u.hasMarkers(a),T=u.hasText(a),k=w&&"circle"===a.marker.symbol,A=w&&"circle"!==a.marker.symbol,M=g(),S=g(),E=g(),L=g(),C={fill:M,line:S,circle:E,symbol:L};if(!x)return C;if((b||_)&&(r=o.calcTraceToLineCoords(e)),b&&(M.geojson=o.makePolygon(r),M.layout.visibility="visible",i.extendFlat(M.paint,{"fill-color":a.fillcolor})),_&&(S.geojson=o.makeLine(r),S.layout.visibility="visible",i.extendFlat(S.paint,{"line-width":a.line.width,"line-color":a.line.color,"line-opacity":a.opacity})),k){var P=function(t){var e,r,a,o,u=t[0].trace,f=u.marker,h=u.selectedpoints,p=i.isArrayOrTypedArray(f.color),d=i.isArrayOrTypedArray(f.size),g=i.isArrayOrTypedArray(f.opacity);function m(t){return u.opacity*t}p&&(r=s.hasColorscale(u,"marker")?s.makeColorScaleFuncFromTrace(f):i.identity);d&&(a=c(u));g&&(o=function(t){return m(n(t)?+i.constrain(t,0,1):0)});var v,x=[];for(e=0;e<t.length;e++){var b=t[e],_=b.lonlat;if(!y(_)){var w={};r&&(w.mcc=b.mcc=r(b.mc)),a&&(w.mrc=b.mrc=a(b.ms)),o&&(w.mo=o(b.mo)),h&&(w.selected=b.selected||0),x.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:w})}}if(h)for(v=l.makeSelectedPointStyleFns(u),e=0;e<x.length;e++){var T=x[e].properties;v.selectedOpacityFn&&(T.mo=m(v.selectedOpacityFn(T))),v.selectedColorFn&&(T.mcc=v.selectedColorFn(T)),v.selectedSizeFn&&(T.mrc=v.selectedSizeFn(T))}return{geojson:{type:"FeatureCollection",features:x},mcc:p||v&&v.selectedColorFn?{type:"identity",property:"mcc"}:f.color,mrc:d||v&&v.selectedSizeFn?{type:"identity",property:"mrc"}:(k=f.size,k/2),mo:g||v&&v.selectedOpacityFn?{type:"identity",property:"mo"}:m(f.opacity)};var k}(e);E.geojson=P.geojson,E.layout.visibility="visible",i.extendFlat(E.paint,{"circle-color":P.mcc,"circle-radius":P.mrc,"circle-opacity":P.mo})}if((A||T)&&(L.geojson=function(t,e){for(var r=e._fullLayout,n=t[0].trace,a=n.marker||{},o=a.symbol,s=a.angle,l="circle"!==o?m(o):v,c="auto"!==s?m(s,!0):v,f=u.hasText(n)?m(n.text):v,g=[],x=0;x<t.length;x++){var b=t[x];if(!y(b.lonlat)){var _,w=n.texttemplate;if(w){var T=Array.isArray(w)?w[x]||"":w,k=n._module.formatLabels(b,n,r),A={};h(A,n,b.i);var M=n._meta||{};_=i.texttemplateString(T,k,r._d3locale,A,b,M)}else _=f(x);_&&(_=_.replace(p,"").replace(d,"\n")),g.push({type:"Feature",geometry:{type:"Point",coordinates:b.lonlat},properties:{symbol:l(x),angle:c(x),text:_}})}}return{type:"FeatureCollection",features:g}}(e,t),i.extendFlat(L.layout,{visibility:"visible","icon-image":"{symbol}-15","text-field":"{text}"}),A&&(i.extendFlat(L.layout,{"icon-size":a.marker.size/10}),"angle"in a.marker&&"auto"!==a.marker.angle&&i.extendFlat(L.layout,{"icon-rotate":{type:"identity",property:"angle"},"icon-rotation-alignment":"map"}),L.layout["icon-allow-overlap"]=a.marker.allowoverlap,i.extendFlat(L.paint,{"icon-opacity":a.opacity*a.marker.opacity,"icon-color":a.marker.color})),T)){var I=(a.marker||{}).size,O=f(a.textposition,I);i.extendFlat(L.layout,{"text-size":a.textfont.size,"text-anchor":O.anchor,"text-offset":O.offset}),i.extendFlat(L.paint,{"text-color":a.textfont.color,"text-opacity":a.opacity})}return C}},{"../../components/colorscale":378,"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/numerical":479,"../../lib":503,"../../lib/geojson_utils":497,"../../lib/svg_text_utils":529,"../../plots/mapbox/convert_text_opts":612,"../scatter/make_bubble_size_func":943,"../scatter/subtypes":951,"fast-isnumeric":190}],993:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../scatter/marker_defaults"),o=t("../scatter/line_defaults"),s=t("../scatter/text_defaults"),l=t("../scatter/fillcolor_defaults"),c=t("./attributes");e.exports=function(t,e,r,u){function f(r,i){return n.coerce(t,e,c,r,i)}if(function(t,e,r){var n=r("lon")||[],i=r("lat")||[],a=Math.min(n.length,i.length);return e._length=a,a}(0,e,f)){if(f("text"),f("texttemplate"),f("hovertext"),f("hovertemplate"),f("mode"),f("below"),i.hasLines(e)&&(o(t,e,r,u,f,{noDash:!0}),f("connectgaps")),i.hasMarkers(e)){a(t,e,r,u,f,{noLine:!0}),f("marker.allowoverlap"),f("marker.angle");var h=e.marker;"circle"!==h.symbol&&(n.isArrayOrTypedArray(h.size)&&(h.size=h.size[0]),n.isArrayOrTypedArray(h.color)&&(h.color=h.color[0]))}i.hasText(e)&&s(t,e,u,f,{noSelect:!0}),f("fill"),"none"!==e.fill&&l(t,e,r,f),n.coerceSelectionMarkerOpacity(e,f)}else e.visible=!1}},{"../../lib":503,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":991}],994:[function(t,e,r){"use strict";e.exports=function(t,e){return t.lon=e.lon,t.lat=e.lat,t}},{}],995:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var i={},a=r[e.subplot]._subplot.mockAxis,o=t.lonlat;return i.lonLabel=n.tickText(a,a.c2l(o[0]),!0).text,i.latLabel=n.tickText(a,a.c2l(o[1]),!0).text,i}},{"../../plots/cartesian/axes":554}],996:[function(t,e,r){"use strict";var n=t("../../components/fx"),i=t("../../lib"),a=t("../scatter/get_trace_color"),o=i.fillText,s=t("../../constants/numerical").BADNUM;function l(t,e,r){if(!t.hovertemplate){var n=(e.hi||t.hoverinfo).split("+"),i=-1!==n.indexOf("all"),a=-1!==n.indexOf("lon"),s=-1!==n.indexOf("lat"),l=e.lonlat,c=[];return i||a&&s?c.push("("+u(l[1])+", "+u(l[0])+")"):a?c.push(r.lon+u(l[0])):s&&c.push(r.lat+u(l[1])),(i||-1!==n.indexOf("text"))&&o(e,t,c),c.join("<br>")}function u(t){return t+"\xb0"}}e.exports={hoverPoints:function(t,e,r){var o=t.cd,c=o[0].trace,u=t.xa,f=t.ya,h=t.subplot,p=360*(e>=0?Math.floor((e+180)/360):Math.ceil((e-180)/360)),d=e-p;if(n.getClosest(o,(function(t){var e=t.lonlat;if(e[0]===s)return 1/0;var n=i.modHalf(e[0],360),a=e[1],o=h.project([n,a]),l=o.x-u.c2p([d,a]),c=o.y-f.c2p([n,r]),p=Math.max(3,t.mrc||0);return Math.max(Math.sqrt(l*l+c*c)-p,1-3/p)}),t),!1!==t.index){var g=o[t.index],m=g.lonlat,v=[i.modHalf(m[0],360)+p,m[1]],y=u.c2p(v),x=f.c2p(v),b=g.mrc||1;t.x0=y-b,t.x1=y+b,t.y0=x-b,t.y1=x+b;var _={};_[c.subplot]={_subplot:h};var w=c._module.formatLabels(g,c,_);return t.lonLabel=w.lonLabel,t.latLabel=w.latLabel,t.color=a(c,g),t.extraText=l(c,g,o[0].t.labels),t.hovertemplate=c.hovertemplate,[t]}},getExtraText:l}},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":936}],997:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("../scattergeo/calc"),plot:t("./plot"),hoverPoints:t("./hover").hoverPoints,eventData:t("./event_data"),selectPoints:t("./select"),styleOnSelect:function(t,e){e&&e[0].trace._glTrace.update(e)},moduleType:"trace",name:"scattermapbox",basePlotModule:t("../../plots/mapbox"),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},{"../../plots/mapbox":613,"../scatter/marker_colorbar":944,"../scattergeo/calc":969,"./attributes":991,"./defaults":993,"./event_data":994,"./format_labels":995,"./hover":996,"./plot":998,"./select":999}],998:[function(t,e,r){"use strict";var n=t("./convert"),i=t("../../plots/mapbox/constants").traceLayerPrefix,a=["fill","line","circle","symbol"];function o(t,e){this.type="scattermapbox",this.subplot=t,this.uid=e,this.sourceIds={fill:"source-"+e+"-fill",line:"source-"+e+"-line",circle:"source-"+e+"-circle",symbol:"source-"+e+"-symbol"},this.layerIds={fill:i+e+"-fill",line:i+e+"-line",circle:i+e+"-circle",symbol:i+e+"-symbol"},this.below=null}var s=o.prototype;s.addSource=function(t,e){this.subplot.map.addSource(this.sourceIds[t],{type:"geojson",data:e.geojson})},s.setSourceData=function(t,e){this.subplot.map.getSource(this.sourceIds[t]).setData(e.geojson)},s.addLayer=function(t,e,r){this.subplot.addLayer({type:t,id:this.layerIds[t],source:this.sourceIds[t],layout:e.layout,paint:e.paint},r)},s.update=function(t){var e,r,i,o=this.subplot,s=o.map,l=n(o.gd,t),c=o.belowLookup["trace-"+this.uid];if(c!==this.below){for(e=a.length-1;e>=0;e--)r=a[e],s.removeLayer(this.layerIds[r]);for(e=0;e<a.length;e++)i=l[r=a[e]],this.addLayer(r,i,c);this.below=c}for(e=0;e<a.length;e++)i=l[r=a[e]],o.setOptions(this.layerIds[r],"setLayoutProperty",i.layout),"visible"===i.layout.visibility&&(this.setSourceData(r,i),o.setOptions(this.layerIds[r],"setPaintProperty",i.paint));t[0].trace._glTrace=this},s.dispose=function(){for(var t=this.subplot.map,e=a.length-1;e>=0;e--){var r=a[e];t.removeLayer(this.layerIds[r]),t.removeSource(this.sourceIds[r])}},e.exports=function(t,e){for(var r=e[0].trace,i=new o(t,r.uid),s=n(t.gd,e),l=i.below=t.belowLookup["trace-"+r.uid],c=0;c<a.length;c++){var u=a[c],f=s[u];i.addSource(u,f),i.addLayer(u,f,l)}return e[0].trace._glTrace=i,i}},{"../../plots/mapbox/constants":611,"./convert":992}],999:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../../constants/numerical").BADNUM;e.exports=function(t,e){var r,o=t.cd,s=t.xaxis,l=t.yaxis,c=[],u=o[0].trace;if(!i.hasMarkers(u))return[];if(!1===e)for(r=0;r<o.length;r++)o[r].selected=0;else for(r=0;r<o.length;r++){var f=o[r],h=f.lonlat;if(h[0]!==a){var p=[n.modHalf(h[0],360),h[1]],d=[s.c2p(p),l.c2p(p)];e.contains(d,null,r,t)?(c.push({pointNumber:r,lon:h[0],lat:h[1]}),f.selected=1):f.selected=0}}return c}},{"../../constants/numerical":479,"../../lib":503,"../scatter/subtypes":951}],1e3:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../../lib/extend").extendFlat,o=t("../scatter/attributes"),s=t("../../plots/attributes"),l=o.line;e.exports={mode:o.mode,r:{valType:"data_array",editType:"calc+clearAxisTypes"},theta:{valType:"data_array",editType:"calc+clearAxisTypes"},r0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dr:{valType:"number",dflt:1,editType:"calc"},theta0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes"},dtheta:{valType:"number",editType:"calc"},thetaunit:{valType:"enumerated",values:["radians","degrees","gradians"],dflt:"degrees",editType:"calc+clearAxisTypes"},text:o.text,texttemplate:i({editType:"plot"},{keys:["r","theta","text"]}),hovertext:o.hovertext,line:{color:l.color,width:l.width,dash:l.dash,shape:a({},l.shape,{values:["linear","spline"]}),smoothing:l.smoothing,editType:"calc"},connectgaps:o.connectgaps,marker:o.marker,cliponaxis:a({},o.cliponaxis,{dflt:!1}),textposition:o.textposition,textfont:o.textfont,fill:a({},o.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:o.fillcolor,hoverinfo:a({},s.hoverinfo,{flags:["r","theta","text","name"]}),hoveron:o.hoveron,hovertemplate:n(),selected:o.selected,unselected:o.unselected}},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":926}],1001:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../constants/numerical").BADNUM,a=t("../../plots/cartesian/axes"),o=t("../scatter/colorscale_calc"),s=t("../scatter/arrays_to_calcdata"),l=t("../scatter/calc_selection"),c=t("../scatter/calc").calcMarkerSize;e.exports=function(t,e){for(var r=t._fullLayout,u=e.subplot,f=r[u].radialaxis,h=r[u].angularaxis,p=f.makeCalcdata(e,"r"),d=h.makeCalcdata(e,"theta"),g=e._length,m=new Array(g),v=0;v<g;v++){var y=p[v],x=d[v],b=m[v]={};n(y)&&n(x)?(b.r=y,b.theta=x):b.r=i}var _=c(e,g);return e._extremes.x=a.findExtremes(f,p,{ppad:_}),o(t,e),s(m,e),l(m,e),m}},{"../../constants/numerical":479,"../../plots/cartesian/axes":554,"../scatter/arrays_to_calcdata":925,"../scatter/calc":927,"../scatter/calc_selection":928,"../scatter/colorscale_calc":929,"fast-isnumeric":190}],1002:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../scatter/marker_defaults"),o=t("../scatter/line_defaults"),s=t("../scatter/line_shape_defaults"),l=t("../scatter/text_defaults"),c=t("../scatter/fillcolor_defaults"),u=t("../scatter/constants").PTS_LINESONLY,f=t("./attributes");function h(t,e,r,n){var i,a=n("r"),o=n("theta");if(a)o?i=Math.min(a.length,o.length):(i=a.length,n("theta0"),n("dtheta"));else{if(!o)return 0;i=e.theta.length,n("r0"),n("dr")}return e._length=i,i}e.exports={handleRThetaDefaults:h,supplyDefaults:function(t,e,r,p){function d(r,i){return n.coerce(t,e,f,r,i)}var g=h(t,e,p,d);if(g){d("thetaunit"),d("mode",g<u?"lines+markers":"lines"),d("text"),d("hovertext"),"fills"!==e.hoveron&&d("hovertemplate"),i.hasLines(e)&&(o(t,e,r,p,d),s(t,e,d),d("connectgaps")),i.hasMarkers(e)&&a(t,e,r,p,d,{gradient:!0}),i.hasText(e)&&(d("texttemplate"),l(t,e,p,d));var m=[];(i.hasMarkers(e)||i.hasText(e))&&(d("cliponaxis"),d("marker.maxdisplayed"),m.push("points")),d("fill"),"none"!==e.fill&&(c(t,e,r,d),i.hasLines(e)||s(t,e,d)),"tonext"!==e.fill&&"toself"!==e.fill||m.push("fills"),d("hoveron",m.join("+")||"points"),n.coerceSelectionMarkerOpacity(e,d)}else e.visible=!1}}},{"../../lib":503,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/line_shape_defaults":941,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":1e3}],1003:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var a,o,s={},l=r[e.subplot]._subplot;l?(a=l.radialAxis,o=l.angularAxis):(a=(l=r[e.subplot]).radialaxis,o=l.angularaxis);var c=a.c2l(t.r);s.rLabel=i.tickText(a,c,!0).text;var u="degrees"===o.thetaunit?n.rad2deg(t.theta):t.theta;return s.thetaLabel=i.tickText(o,u,!0).text,s}},{"../../lib":503,"../../plots/cartesian/axes":554}],1004:[function(t,e,r){"use strict";var n=t("../scatter/hover");function i(t,e,r,n){var i=r.radialAxis,a=r.angularAxis;i._hovertitle="r",a._hovertitle="\u03b8";var o={};o[e.subplot]={_subplot:r};var s=e._module.formatLabels(t,e,o);n.rLabel=s.rLabel,n.thetaLabel=s.thetaLabel;var l=t.hi||e.hoverinfo,c=[];function u(t,e){c.push(t._hovertitle+": "+e)}if(!e.hovertemplate){var f=l.split("+");-1!==f.indexOf("all")&&(f=["r","theta","text"]),-1!==f.indexOf("r")&&u(i,n.rLabel),-1!==f.indexOf("theta")&&u(a,n.thetaLabel),-1!==f.indexOf("text")&&n.text&&(c.push(n.text),delete n.text),n.extraText=c.join("<br>")}}e.exports={hoverPoints:function(t,e,r,a){var o=n(t,e,r,a);if(o&&!1!==o[0].index){var s=o[0];if(void 0===s.index)return o;var l=t.subplot,c=s.cd[s.index],u=s.trace;if(l.isPtInside(c))return s.xLabelVal=void 0,s.yLabelVal=void 0,i(c,u,l,s),s.hovertemplate=u.hovertemplate,o}},makeHoverPointText:i}},{"../scatter/hover":937}],1005:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t("../../plots/polar"),categories:["polar","symbols","showLegend","scatter-like"],attributes:t("./attributes"),supplyDefaults:t("./defaults").supplyDefaults,colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),style:t("../scatter/style").style,styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover").hoverPoints,selectPoints:t("../scatter/select"),meta:{}}},{"../../plots/polar":622,"../scatter/marker_colorbar":944,"../scatter/select":948,"../scatter/style":950,"./attributes":1e3,"./calc":1001,"./defaults":1002,"./format_labels":1003,"./hover":1004,"./plot":1006}],1006:[function(t,e,r){"use strict";var n=t("../scatter/plot"),i=t("../../constants/numerical").BADNUM;e.exports=function(t,e,r){for(var a=e.layers.frontplot.select("g.scatterlayer"),o={xaxis:e.xaxis,yaxis:e.yaxis,plot:e.framework,layerClipId:e._hasClipOnAxisFalse?e.clipIds.forTraces:null},s=e.radialAxis,l=e.angularAxis,c=0;c<r.length;c++)for(var u=r[c],f=0;f<u.length;f++){var h=u[f],p=h.r;if(p===i)h.x=h.y=i;else{var d=s.c2g(p),g=l.c2g(h.theta);h.x=d*Math.cos(g),h.y=d*Math.sin(g)}}n(t,o,r,a)}},{"../../constants/numerical":479,"../scatter/plot":947}],1007:[function(t,e,r){"use strict";var n=t("../scatterpolar/attributes"),i=t("../scattergl/attributes"),a=t("../../plots/template_attributes").texttemplateAttrs;e.exports={mode:n.mode,r:n.r,theta:n.theta,r0:n.r0,dr:n.dr,theta0:n.theta0,dtheta:n.dtheta,thetaunit:n.thetaunit,text:n.text,texttemplate:a({editType:"plot"},{keys:["r","theta","text"]}),hovertext:n.hovertext,hovertemplate:n.hovertemplate,line:i.line,connectgaps:i.connectgaps,marker:i.marker,fill:i.fill,fillcolor:i.fillcolor,textposition:i.textposition,textfont:i.textfont,hoverinfo:n.hoverinfo,selected:n.selected,unselected:n.unselected}},{"../../plots/template_attributes":633,"../scattergl/attributes":978,"../scatterpolar/attributes":1e3}],1008:[function(t,e,r){"use strict";var n=t("../scatter/colorscale_calc"),i=t("../scatter/calc").calcMarkerSize,a=t("../scattergl/convert"),o=t("../../plots/cartesian/axes"),s=t("../scattergl/constants").TOO_MANY_POINTS;e.exports=function(t,e){var r=t._fullLayout,l=e.subplot,c=r[l].radialaxis,u=r[l].angularaxis,f=e._r=c.makeCalcdata(e,"r"),h=e._theta=u.makeCalcdata(e,"theta"),p=e._length,d={};p<f.length&&(f=f.slice(0,p)),p<h.length&&(h=h.slice(0,p)),d.r=f,d.theta=h,n(t,e);var g,m=d.opts=a.style(t,e);return p<s?g=i(e,p):m.marker&&(g=2*(m.marker.sizeAvg||Math.max(m.marker.size,3))),e._extremes.x=o.findExtremes(c,f,{ppad:g}),[{x:!1,y:!1,t:d,trace:e}]}},{"../../plots/cartesian/axes":554,"../scatter/calc":927,"../scatter/colorscale_calc":929,"../scattergl/constants":980,"../scattergl/convert":981}],1009:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../scatterpolar/defaults").handleRThetaDefaults,o=t("../scatter/marker_defaults"),s=t("../scatter/line_defaults"),l=t("../scatter/text_defaults"),c=t("../scatter/fillcolor_defaults"),u=t("../scatter/constants").PTS_LINESONLY,f=t("./attributes");e.exports=function(t,e,r,h){function p(r,i){return n.coerce(t,e,f,r,i)}var d=a(t,e,h,p);d?(p("thetaunit"),p("mode",d<u?"lines+markers":"lines"),p("text"),p("hovertext"),"fills"!==e.hoveron&&p("hovertemplate"),i.hasLines(e)&&(s(t,e,r,h,p),p("connectgaps")),i.hasMarkers(e)&&o(t,e,r,h,p),i.hasText(e)&&(p("texttemplate"),l(t,e,h,p)),p("fill"),"none"!==e.fill&&c(t,e,r,p),n.coerceSelectionMarkerOpacity(e,p)):e.visible=!1}},{"../../lib":503,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"../scatterpolar/defaults":1002,"./attributes":1007}],1010:[function(t,e,r){"use strict";var n=t("../scatterpolar/format_labels");e.exports=function(t,e,r){var i=t.i;return"r"in t||(t.r=e._r[i]),"theta"in t||(t.theta=e._theta[i]),n(t,e,r)}},{"../scatterpolar/format_labels":1003}],1011:[function(t,e,r){"use strict";var n=t("../scattergl/hover"),i=t("../scatterpolar/hover").makeHoverPointText;e.exports={hoverPoints:function(t,e,r,a){var o=t.cd[0].t,s=o.r,l=o.theta,c=n.hoverPoints(t,e,r,a);if(c&&!1!==c[0].index){var u=c[0];if(void 0===u.index)return c;var f=t.subplot,h=u.cd[u.index],p=u.trace;if(h.r=s[u.index],h.theta=l[u.index],f.isPtInside(h))return u.xLabelVal=void 0,u.yLabelVal=void 0,i(h,p,f,u),c}}}},{"../scattergl/hover":986,"../scatterpolar/hover":1004}],1012:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"scatterpolargl",basePlotModule:t("../../plots/polar"),categories:["gl","regl","polar","symbols","showLegend","scatter-like"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),hoverPoints:t("./hover").hoverPoints,selectPoints:t("../scattergl/select"),meta:{}}},{"../../plots/polar":622,"../scatter/marker_colorbar":944,"../scattergl/select":990,"./attributes":1007,"./calc":1008,"./defaults":1009,"./format_labels":1010,"./hover":1011,"./plot":1013}],1013:[function(t,e,r){"use strict";var n=t("@plotly/point-cluster"),i=t("fast-isnumeric"),a=t("../scattergl/plot"),o=t("../scattergl/scene_update"),s=t("../scattergl/convert"),l=t("../../lib"),c=t("../scattergl/constants").TOO_MANY_POINTS;e.exports=function(t,e,r){if(r.length){var u=e.radialAxis,f=e.angularAxis,h=o(t,e);return r.forEach((function(r){if(r&&r[0]&&r[0].trace){var a,o=r[0],p=o.trace,d=o.t,g=p._length,m=d.r,v=d.theta,y=d.opts,x=m.slice(),b=v.slice();for(a=0;a<m.length;a++)e.isPtInside({r:m[a],theta:v[a]})||(x[a]=NaN,b[a]=NaN);var _=new Array(2*g),w=Array(g),T=Array(g);for(a=0;a<g;a++){var k,A,M=x[a];if(i(M)){var S=u.c2g(M),E=f.c2g(b[a],p.thetaunit);k=S*Math.cos(E),A=S*Math.sin(E)}else k=A=NaN;w[a]=_[2*a]=k,T[a]=_[2*a+1]=A}d.tree=n(_),y.marker&&g>=c&&(y.marker.cluster=d.tree),y.marker&&(y.markerSel.positions=y.markerUnsel.positions=y.marker.positions=_),y.line&&_.length>1&&l.extendFlat(y.line,s.linePositions(t,p,_)),y.text&&(l.extendFlat(y.text,{positions:_},s.textPosition(t,p,y.text,y.marker)),l.extendFlat(y.textSel,{positions:_},s.textPosition(t,p,y.text,y.markerSel)),l.extendFlat(y.textUnsel,{positions:_},s.textPosition(t,p,y.text,y.markerUnsel))),y.fill&&!h.fill2d&&(h.fill2d=!0),y.marker&&!h.scatter2d&&(h.scatter2d=!0),y.line&&!h.line2d&&(h.line2d=!0),y.text&&!h.glText&&(h.glText=!0),h.lineOptions.push(y.line),h.fillOptions.push(y.fill),h.markerOptions.push(y.marker),h.markerSelectedOptions.push(y.markerSel),h.markerUnselectedOptions.push(y.markerUnsel),h.textOptions.push(y.text),h.textSelectedOptions.push(y.textSel),h.textUnselectedOptions.push(y.textUnsel),h.selectBatch.push([]),h.unselectBatch.push([]),d.x=w,d.y=T,d.rawx=w,d.rawy=T,d.r=m,d.theta=v,d.positions=_,d._scene=h,d.index=h.count,h.count++}})),a(t,e,r)}}},{"../../lib":503,"../scattergl/constants":980,"../scattergl/convert":981,"../scattergl/plot":988,"../scattergl/scene_update":989,"@plotly/point-cluster":59,"fast-isnumeric":190}],1014:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../../lib/extend").extendFlat,o=t("../scatter/attributes"),s=t("../../plots/attributes"),l=o.line;e.exports={mode:o.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:o.text,texttemplate:i({editType:"plot"},{keys:["real","imag","text"]}),hovertext:o.hovertext,line:{color:l.color,width:l.width,dash:l.dash,shape:a({},l.shape,{values:["linear","spline"]}),smoothing:l.smoothing,editType:"calc"},connectgaps:o.connectgaps,marker:o.marker,cliponaxis:a({},o.cliponaxis,{dflt:!1}),textposition:o.textposition,textfont:o.textfont,fill:a({},o.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:o.fillcolor,hoverinfo:a({},s.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:o.hoveron,hovertemplate:n(),selected:o.selected,unselected:o.unselected}},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":926}],1015:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../../constants/numerical").BADNUM,a=t("../scatter/colorscale_calc"),o=t("../scatter/arrays_to_calcdata"),s=t("../scatter/calc_selection"),l=t("../scatter/calc").calcMarkerSize;e.exports=function(t,e){for(var r=t._fullLayout,c=e.subplot,u=r[c].realaxis,f=r[c].imaginaryaxis,h=u.makeCalcdata(e,"real"),p=f.makeCalcdata(e,"imag"),d=e._length,g=new Array(d),m=0;m<d;m++){var v=h[m],y=p[m],x=g[m]={};n(v)&&n(y)?(x.real=v,x.imag=y):x.real=i}return l(e,d),a(t,e),o(g,e),s(g,e),g}},{"../../constants/numerical":479,"../scatter/arrays_to_calcdata":925,"../scatter/calc":927,"../scatter/calc_selection":928,"../scatter/colorscale_calc":929,"fast-isnumeric":190}],1016:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("../scatter/marker_defaults"),o=t("../scatter/line_defaults"),s=t("../scatter/line_shape_defaults"),l=t("../scatter/text_defaults"),c=t("../scatter/fillcolor_defaults"),u=t("../scatter/constants").PTS_LINESONLY,f=t("./attributes");e.exports=function(t,e,r,h){function p(r,i){return n.coerce(t,e,f,r,i)}var d=function(t,e,r,n){var i,a=n("real"),o=n("imag");a&&o&&(i=Math.min(a.length,o.length));return e._length=i,i}(0,e,0,p);if(d){p("mode",d<u?"lines+markers":"lines"),p("text"),p("hovertext"),"fills"!==e.hoveron&&p("hovertemplate"),i.hasLines(e)&&(o(t,e,r,h,p),s(t,e,p),p("connectgaps")),i.hasMarkers(e)&&a(t,e,r,h,p,{gradient:!0}),i.hasText(e)&&(p("texttemplate"),l(t,e,h,p));var g=[];(i.hasMarkers(e)||i.hasText(e))&&(p("cliponaxis"),p("marker.maxdisplayed"),g.push("points")),p("fill"),"none"!==e.fill&&(c(t,e,r,p),i.hasLines(e)||s(t,e,p)),"tonext"!==e.fill&&"toself"!==e.fill||g.push("fills"),p("hoveron",g.join("+")||"points"),n.coerceSelectionMarkerOpacity(e,p)}else e.visible=!1}},{"../../lib":503,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/line_shape_defaults":941,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":1014}],1017:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var i={},a=r[e.subplot]._subplot;return i.realLabel=n.tickText(a.radialAxis,t.real,!0).text,i.imagLabel=n.tickText(a.angularAxis,t.imag,!0).text,i}},{"../../plots/cartesian/axes":554}],1018:[function(t,e,r){"use strict";var n=t("../scatter/hover");function i(t,e,r,n){var i=r.radialAxis,a=r.angularAxis;i._hovertitle="real",a._hovertitle="imag";var o={};o[e.subplot]={_subplot:r};var s=e._module.formatLabels(t,e,o);n.realLabel=s.realLabel,n.imagLabel=s.imagLabel;var l=t.hi||e.hoverinfo,c=[];function u(t,e){c.push(t._hovertitle+": "+e)}if(!e.hovertemplate){var f=l.split("+");-1!==f.indexOf("all")&&(f=["real","imag","text"]),-1!==f.indexOf("real")&&u(i,n.realLabel),-1!==f.indexOf("imag")&&u(a,n.imagLabel),-1!==f.indexOf("text")&&n.text&&(c.push(n.text),delete n.text),n.extraText=c.join("<br>")}}e.exports={hoverPoints:function(t,e,r,a){var o=n(t,e,r,a);if(o&&!1!==o[0].index){var s=o[0];if(void 0===s.index)return o;var l=t.subplot,c=s.cd[s.index],u=s.trace;if(l.isPtInside(c))return s.xLabelVal=void 0,s.yLabelVal=void 0,i(c,u,l,s),s.hovertemplate=u.hovertemplate,o}},makeHoverPointText:i}},{"../scatter/hover":937}],1019:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t("../../plots/smith"),categories:["smith","symbols","showLegend","scatter-like"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),style:t("../scatter/style").style,styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover").hoverPoints,selectPoints:t("../scatter/select"),meta:{}}},{"../../plots/smith":629,"../scatter/marker_colorbar":944,"../scatter/select":948,"../scatter/style":950,"./attributes":1014,"./calc":1015,"./defaults":1016,"./format_labels":1017,"./hover":1018,"./plot":1020}],1020:[function(t,e,r){"use strict";var n=t("../scatter/plot"),i=t("../../constants/numerical").BADNUM,a=t("../../plots/smith/helpers").smith;e.exports=function(t,e,r){for(var o=e.layers.frontplot.select("g.scatterlayer"),s={xaxis:e.xaxis,yaxis:e.yaxis,plot:e.framework,layerClipId:e._hasClipOnAxisFalse?e.clipIds.forTraces:null},l=0;l<r.length;l++)for(var c=r[l],u=0;u<c.length;u++){var f=c[u],h=f.real;if(h===i)f.x=f.y=i;else{var p=a([h,f.imag]);f.x=p[0],f.y=p[1]}}n(t,s,r,o)}},{"../../constants/numerical":479,"../../plots/smith/helpers":628,"../scatter/plot":947}],1021:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../scatter/attributes"),o=t("../../plots/attributes"),s=t("../../components/colorscale/attributes"),l=t("../../components/drawing/attributes").dash,c=t("../../lib/extend").extendFlat,u=a.marker,f=a.line,h=u.line;e.exports={a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},c:{valType:"data_array",editType:"calc"},sum:{valType:"number",dflt:0,min:0,editType:"calc"},mode:c({},a.mode,{dflt:"markers"}),text:c({},a.text,{}),texttemplate:i({editType:"plot"},{keys:["a","b","c","text"]}),hovertext:c({},a.hovertext,{}),line:{color:f.color,width:f.width,dash:l,shape:c({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:a.connectgaps,cliponaxis:a.cliponaxis,fill:c({},a.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:a.fillcolor,marker:c({symbol:u.symbol,opacity:u.opacity,maxdisplayed:u.maxdisplayed,size:u.size,sizeref:u.sizeref,sizemin:u.sizemin,sizemode:u.sizemode,line:c({width:h.width,editType:"calc"},s("marker.line")),gradient:u.gradient,editType:"calc"},s("marker")),textfont:a.textfont,textposition:a.textposition,selected:a.selected,unselected:a.unselected,hoverinfo:c({},o.hoverinfo,{flags:["a","b","c","text","name"]}),hoveron:a.hoveron,hovertemplate:n()}},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":926}],1022:[function(t,e,r){"use strict";var n=t("fast-isnumeric"),i=t("../scatter/colorscale_calc"),a=t("../scatter/arrays_to_calcdata"),o=t("../scatter/calc_selection"),s=t("../scatter/calc").calcMarkerSize,l=["a","b","c"],c={a:["b","c"],b:["a","c"],c:["a","b"]};e.exports=function(t,e){var r,u,f,h,p,d,g=t._fullLayout[e.subplot].sum,m=e.sum||g,v={a:e.a,b:e.b,c:e.c};for(r=0;r<l.length;r++)if(!v[f=l[r]]){for(p=v[c[f][0]],d=v[c[f][1]],h=new Array(p.length),u=0;u<p.length;u++)h[u]=m-p[u]-d[u];v[f]=h}var y,x,b,_,w,T,k=e._length,A=new Array(k);for(r=0;r<k;r++)y=v.a[r],x=v.b[r],b=v.c[r],n(y)&&n(x)&&n(b)?(1!==(_=g/((y=+y)+(x=+x)+(b=+b)))&&(y*=_,x*=_,b*=_),T=y,w=b-x,A[r]={x:w,y:T,a:y,b:x,c:b}):A[r]={x:!1,y:!1};return s(e,k),i(t,e),a(A,e),o(A,e),A}},{"../scatter/arrays_to_calcdata":925,"../scatter/calc":927,"../scatter/calc_selection":928,"../scatter/colorscale_calc":929,"fast-isnumeric":190}],1023:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/constants"),a=t("../scatter/subtypes"),o=t("../scatter/marker_defaults"),s=t("../scatter/line_defaults"),l=t("../scatter/line_shape_defaults"),c=t("../scatter/text_defaults"),u=t("../scatter/fillcolor_defaults"),f=t("./attributes");e.exports=function(t,e,r,h){function p(r,i){return n.coerce(t,e,f,r,i)}var d,g=p("a"),m=p("b"),v=p("c");if(g?(d=g.length,m?(d=Math.min(d,m.length),v&&(d=Math.min(d,v.length))):d=v?Math.min(d,v.length):0):m&&v&&(d=Math.min(m.length,v.length)),d){e._length=d,p("sum"),p("text"),p("hovertext"),"fills"!==e.hoveron&&p("hovertemplate"),p("mode",d<i.PTS_LINESONLY?"lines+markers":"lines"),a.hasLines(e)&&(s(t,e,r,h,p),l(t,e,p),p("connectgaps")),a.hasMarkers(e)&&o(t,e,r,h,p,{gradient:!0}),a.hasText(e)&&(p("texttemplate"),c(t,e,h,p));var y=[];(a.hasMarkers(e)||a.hasText(e))&&(p("cliponaxis"),p("marker.maxdisplayed"),y.push("points")),p("fill"),"none"!==e.fill&&(u(t,e,r,p),a.hasLines(e)||l(t,e,p)),"tonext"!==e.fill&&"toself"!==e.fill||y.push("fills"),p("hoveron",y.join("+")||"points"),n.coerceSelectionMarkerOpacity(e,p)}else e.visible=!1}},{"../../lib":503,"../scatter/constants":930,"../scatter/fillcolor_defaults":934,"../scatter/line_defaults":939,"../scatter/line_shape_defaults":941,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scatter/text_defaults":952,"./attributes":1021}],1024:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i){if(e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),n[i]){var a=n[i];t.a=a.a,t.b=a.b,t.c=a.c}else t.a=e.a,t.b=e.b,t.c=e.c;return t}},{}],1025:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes");e.exports=function(t,e,r){var i={},a=r[e.subplot]._subplot;return i.aLabel=n.tickText(a.aaxis,t.a,!0).text,i.bLabel=n.tickText(a.baxis,t.b,!0).text,i.cLabel=n.tickText(a.caxis,t.c,!0).text,i}},{"../../plots/cartesian/axes":554}],1026:[function(t,e,r){"use strict";var n=t("../scatter/hover");e.exports=function(t,e,r,i){var a=n(t,e,r,i);if(a&&!1!==a[0].index){var o=a[0];if(void 0===o.index){var s=1-o.y0/t.ya._length,l=t.xa._length,c=l*s/2,u=l-c;return o.x0=Math.max(Math.min(o.x0,u),c),o.x1=Math.max(Math.min(o.x1,u),c),a}var f=o.cd[o.index],h=o.trace,p=o.subplot;o.a=f.a,o.b=f.b,o.c=f.c,o.xLabelVal=void 0,o.yLabelVal=void 0;var d={};d[h.subplot]={_subplot:p};var g=h._module.formatLabels(f,h,d);o.aLabel=g.aLabel,o.bLabel=g.bLabel,o.cLabel=g.cLabel;var m=f.hi||h.hoverinfo,v=[];if(!h.hovertemplate){var y=m.split("+");-1!==y.indexOf("all")&&(y=["a","b","c"]),-1!==y.indexOf("a")&&x(p.aaxis,o.aLabel),-1!==y.indexOf("b")&&x(p.baxis,o.bLabel),-1!==y.indexOf("c")&&x(p.caxis,o.cLabel)}return o.extraText=v.join("<br>"),o.hovertemplate=h.hovertemplate,a}function x(t,e){v.push(t._hovertitle+": "+e)}}},{"../scatter/hover":937}],1027:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),formatLabels:t("./format_labels"),calc:t("./calc"),plot:t("./plot"),style:t("../scatter/style").style,styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover"),selectPoints:t("../scatter/select"),eventData:t("./event_data"),moduleType:"trace",name:"scatterternary",basePlotModule:t("../../plots/ternary"),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},{"../../plots/ternary":634,"../scatter/marker_colorbar":944,"../scatter/select":948,"../scatter/style":950,"./attributes":1021,"./calc":1022,"./defaults":1023,"./event_data":1024,"./format_labels":1025,"./hover":1026,"./plot":1028}],1028:[function(t,e,r){"use strict";var n=t("../scatter/plot");e.exports=function(t,e,r){var i=e.plotContainer;i.select(".scatterlayer").selectAll("*").remove();var a={xaxis:e.xaxis,yaxis:e.yaxis,plot:i,layerClipId:e._hasClipOnAxisFalse?e.clipIdRelative:null},o=e.layers.frontplot.select("g.scatterlayer");n(t,a,r,o)}},{"../scatter/plot":947}],1029:[function(t,e,r){"use strict";var n=t("../scatter/attributes"),i=t("../../components/colorscale/attributes"),a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,o=t("../../plots/template_attributes").hovertemplateAttrs,s=t("../scattergl/attributes"),l=t("../../plots/cartesian/constants").idRegex,c=t("../../plot_api/plot_template").templatedArray,u=t("../../lib/extend").extendFlat,f=n.marker,h=f.line,p=u(i("marker.line",{editTypeOverride:"calc"}),{width:u({},h.width,{editType:"calc"}),editType:"calc"}),d=u(i("marker"),{symbol:f.symbol,size:u({},f.size,{editType:"markerSize"}),sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode,opacity:f.opacity,colorbar:f.colorbar,line:p,editType:"calc"});function g(t){return{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"subplotid",regex:l[t],editType:"plot"}}}d.color.editType=d.cmin.editType=d.cmax.editType="style",e.exports={dimensions:c("dimension",{visible:{valType:"boolean",dflt:!0,editType:"calc"},label:{valType:"string",editType:"calc"},values:{valType:"data_array",editType:"calc+clearAxisTypes"},axis:{type:{valType:"enumerated",values:["linear","log","date","category"],editType:"calc+clearAxisTypes"},matches:{valType:"boolean",dflt:!1,editType:"calc"},editType:"calc+clearAxisTypes"},editType:"calc+clearAxisTypes"}),text:u({},s.text,{}),hovertext:u({},s.hovertext,{}),hovertemplate:o(),xhoverformat:a("x"),yhoverformat:a("y"),marker:d,xaxes:g("x"),yaxes:g("y"),diagonal:{visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},showupperhalf:{valType:"boolean",dflt:!0,editType:"calc"},showlowerhalf:{valType:"boolean",dflt:!0,editType:"calc"},selected:{marker:s.selected.marker,editType:"calc"},unselected:{marker:s.unselected.marker,editType:"calc"},opacity:s.opacity}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_format_attributes":557,"../../plots/cartesian/constants":561,"../../plots/template_attributes":633,"../scatter/attributes":926,"../scattergl/attributes":978}],1030:[function(t,e,r){"use strict";var n=t("regl-line2d"),i=t("../../registry"),a=t("../../lib/prepare_regl"),o=t("../../plots/get_data").getModuleCalcData,s=t("../../plots/cartesian"),l=t("../../plots/cartesian/axis_ids").getFromId,c=t("../../plots/cartesian/axes").shouldShowZeroLine;function u(t,e,r){for(var n=r.matrixOptions.data.length,i=e._visibleDims,a=r.viewOpts.ranges=new Array(n),o=0;o<i.length;o++){var s=i[o],c=a[o]=new Array(4),u=l(t,e._diag[s][0]);u&&(c[0]=u.r2l(u.range[0]),c[2]=u.r2l(u.range[1]));var f=l(t,e._diag[s][1]);f&&(c[1]=f.r2l(f.range[0]),c[3]=f.r2l(f.range[1]))}r.selectBatch.length||r.unselectBatch.length?r.matrix.update({ranges:a},{ranges:a}):r.matrix.update({ranges:a})}function f(t){var e=t._fullLayout,r=e._glcanvas.data()[0].regl,i=e._splomGrid;i||(i=e._splomGrid=n(r)),i.update(function(t){var e,r=t._context.plotGlPixelRatio,n=t._fullLayout,i=n._size,a=[0,0,n.width*r,n.height*r],o={};function s(t,e,n,i,s,l){n*=r,i*=r,s*=r,l*=r;var c=e[t+"color"],u=e[t+"width"],f=String(c+u);f in o?o[f].data.push(NaN,NaN,n,i,s,l):o[f]={data:[n,i,s,l],join:"rect",thickness:u*r,color:c,viewport:a,range:a,overlay:!1}}for(e in n._splomSubplots){var l,u,f=n._plots[e],h=f.xaxis,p=f.yaxis,d=h._gridVals,g=p._gridVals,m=h._offset,v=h._length,y=p._length,x=i.b+p.domain[0]*i.h,b=-p._m,_=-b*p.r2l(p.range[0],p.calendar);if(h.showgrid)for(e=0;e<d.length;e++)l=m+h.l2p(d[e].x),s("grid",h,l,x,l,x+y);if(p.showgrid)for(e=0;e<g.length;e++)u=x+_+b*g[e].x,s("grid",p,m,u,m+v,u);c(t,h,p)&&(l=m+h.l2p(0),s("zeroline",h,l,x,l,x+y)),c(t,p,h)&&s("zeroline",p,m,u=x+_+0,m+v,u)}var w=[];for(e in o)w.push(o[e]);return w}(t))}e.exports={name:"splom",attr:s.attr,attrRegex:s.attrRegex,layoutAttributes:s.layoutAttributes,supplyLayoutDefaults:s.supplyLayoutDefaults,drawFramework:s.drawFramework,plot:function(t){var e=t._fullLayout,r=i.getModule("splom"),n=o(t.calcdata,r)[0];a(t,["ANGLE_instanced_arrays","OES_element_index_uint"])&&(e._hasOnlyLargeSploms&&f(t),r.plot(t,{},n))},drag:function(t){var e=t.calcdata,r=t._fullLayout;r._hasOnlyLargeSploms&&f(t);for(var n=0;n<e.length;n++){var i=e[n][0].trace,a=r._splomScenes[i.uid];"splom"===i.type&&a&&a.matrix&&u(t,i,a)}},updateGrid:f,clean:function(t,e,r,n){var i,a={};if(n._splomScenes){for(i=0;i<t.length;i++){var o=t[i];"splom"===o.type&&(a[o.uid]=1)}for(i=0;i<r.length;i++){var l=r[i];if(!a[l.uid]){var c=n._splomScenes[l.uid];c&&c.destroy&&c.destroy(),n._splomScenes[l.uid]=null,delete n._splomScenes[l.uid]}}}0===Object.keys(n._splomScenes||{}).length&&delete n._splomScenes,n._splomGrid&&!e._hasOnlyLargeSploms&&n._hasOnlyLargeSploms&&(n._splomGrid.destroy(),n._splomGrid=null,delete n._splomGrid),s.clean(t,e,r,n)},updateFx:s.updateFx,toSVG:s.toSVG}},{"../../lib/prepare_regl":516,"../../plots/cartesian":568,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_ids":558,"../../plots/get_data":593,"../../registry":638,"regl-line2d":280}],1031:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axis_ids"),a=t("../scatter/calc").calcMarkerSize,o=t("../scatter/calc").calcAxisExpansion,s=t("../scatter/colorscale_calc"),l=t("../scattergl/convert").markerSelection,c=t("../scattergl/convert").markerStyle,u=t("./scene_update"),f=t("../../constants/numerical").BADNUM,h=t("../scattergl/constants").TOO_MANY_POINTS;e.exports=function(t,e){var r,p,d,g,m,v,y=e.dimensions,x=e._length,b={},_=b.cdata=[],w=b.data=[],T=e._visibleDims=[];function k(t,r){for(var i=t.makeCalcdata({v:r.values,vcalendar:e.calendar},"v"),a=0;a<i.length;a++)i[a]=i[a]===f?NaN:i[a];_.push(i),w.push("log"===t.type?n.simpleMap(i,t.c2l):i)}for(r=0;r<y.length;r++)if((d=y[r]).visible){if(g=i.getFromId(t,e._diag[r][0]),m=i.getFromId(t,e._diag[r][1]),g&&m&&g.type!==m.type){n.log("Skipping splom dimension "+r+" with conflicting axis types");continue}g?(k(g,d),m&&"category"===m.type&&(m._categories=g._categories.slice())):k(m,d),T.push(r)}for(s(t,e),n.extendFlat(b,c(e)),v=_.length*x>h?b.sizeAvg||Math.max(b.size,3):a(e,x),p=0;p<T.length;p++)d=y[r=T[p]],g=i.getFromId(t,e._diag[r][0])||{},m=i.getFromId(t,e._diag[r][1])||{},o(t,e,g,m,_[p],_[p],v);var A=u(t,e);return A.matrix||(A.matrix=!0),A.matrixOptions=b,A.selectedOptions=l(e,e.selected),A.unselectedOptions=l(e,e.unselected),[{x:!1,y:!1,t:{},trace:e}]}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axis_ids":558,"../scatter/calc":927,"../scatter/colorscale_calc":929,"../scattergl/constants":980,"../scattergl/convert":981,"./scene_update":1038}],1032:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/array_container_defaults"),a=t("./attributes"),o=t("../scatter/subtypes"),s=t("../scatter/marker_defaults"),l=t("../parcoords/merge_length"),c=t("../scattergl/helpers").isOpenSymbol;function u(t,e){function r(r,i){return n.coerce(t,e,a.dimensions,r,i)}r("label");var i=r("values");i&&i.length?r("visible"):e.visible=!1,r("axis.type"),r("axis.matches")}e.exports=function(t,e,r,f){function h(r,i){return n.coerce(t,e,a,r,i)}var p=i(t,e,{name:"dimensions",handleItemDefaults:u}),d=h("diagonal.visible"),g=h("showupperhalf"),m=h("showlowerhalf");if(l(e,p,"values")&&(d||g||m)){h("text"),h("hovertext"),h("hovertemplate"),h("xhoverformat"),h("yhoverformat"),s(t,e,r,f,h);var v=c(e.marker.symbol),y=o.isBubble(e);h("marker.line.width",v||y?1:0),function(t,e,r,n){var i,a,o=e.dimensions,s=o.length,l=e.showupperhalf,c=e.showlowerhalf,u=e.diagonal.visible,f=new Array(s),h=new Array(s);for(i=0;i<s;i++){var p=i?i+1:"";f[i]="x"+p,h[i]="y"+p}var d=n("xaxes",f),g=n("yaxes",h),m=e._diag=new Array(s);e._xaxes={},e._yaxes={};var v=[],y=[];function x(t,n,i,a){if(t){var o=t.charAt(0),s=r._splomAxes[o];if(e["_"+o+"axes"][t]=1,a.push(t),!(t in s)){var l=s[t]={};i&&(l.label=i.label||"",i.visible&&i.axis&&(i.axis.type&&(l.type=i.axis.type),i.axis.matches&&(l.matches=n)))}}}var b=!u&&!c,_=!u&&!l;for(e._axesDim={},i=0;i<s;i++){var w=o[i],T=0===i,k=i===s-1,A=T&&b||k&&_?void 0:d[i],M=T&&_||k&&b?void 0:g[i];x(A,M,w,v),x(M,A,w,y),m[i]=[A,M],e._axesDim[A]=i,e._axesDim[M]=i}for(i=0;i<v.length;i++)for(a=0;a<y.length;a++){var S=v[i]+y[a];i>a&&l||i<a&&c?r._splomSubplots[S]=1:i!==a||!u&&c&&l||(r._splomSubplots[S]=1)}(!c||!u&&l&&c)&&(r._splomGridDflt.xside="bottom",r._splomGridDflt.yside="left")}(0,e,f,h),n.coerceSelectionMarkerOpacity(e,h)}else e.visible=!1}},{"../../lib":503,"../../plots/array_container_defaults":549,"../parcoords/merge_length":897,"../scatter/marker_defaults":945,"../scatter/subtypes":951,"../scattergl/helpers":985,"./attributes":1029}],1033:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/colorscale_calc"),a=t("../scattergl/convert").markerStyle;e.exports=function(t,e){var r=e.trace,o=t._fullLayout._splomScenes[r.uid];if(o){i(t,r),n.extendFlat(o.matrixOptions,a(r));var s=n.extendFlat({},o.matrixOptions,o.viewOpts);o.matrix.update(s,null)}}},{"../../lib":503,"../scatter/colorscale_calc":929,"../scattergl/convert":981}],1034:[function(t,e,r){"use strict";r.getDimIndex=function(t,e){for(var r=e._id,n={x:0,y:1}[r.charAt(0)],i=t._visibleDims,a=0;a<i.length;a++){var o=i[a];if(t._diag[o][n]===r)return a}return!1}},{}],1035:[function(t,e,r){"use strict";var n=t("./helpers"),i=t("../scattergl/hover").calcHover;e.exports={hoverPoints:function(t,e,r){var a=t.cd[0].trace,o=t.scene.matrixOptions.cdata,s=t.xa,l=t.ya,c=s.c2p(e),u=l.c2p(r),f=t.distance,h=n.getDimIndex(a,s),p=n.getDimIndex(a,l);if(!1===h||!1===p)return[t];for(var d,g,m=o[h],v=o[p],y=f,x=0;x<m.length;x++){var b=m[x],_=v[x],w=s.c2p(b)-c,T=l.c2p(_)-u,k=Math.sqrt(w*w+T*T);k<y&&(y=g=k,d=x)}return t.index=d,t.distance=y,t.dxy=g,void 0===d?[t]:[i(t,m,v,a)]}}},{"../scattergl/hover":986,"./helpers":1034}],1036:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../components/grid");e.exports={moduleType:"trace",name:"splom",basePlotModule:t("./base_plot"),categories:["gl","regl","cartesian","symbols","showLegend","scatter-like"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:t("../scatter/marker_colorbar"),calc:t("./calc"),plot:t("./plot"),hoverPoints:t("./hover").hoverPoints,selectPoints:t("./select"),editStyle:t("./edit_style"),meta:{}},n.register(i)},{"../../components/grid":410,"../../registry":638,"../scatter/marker_colorbar":944,"./attributes":1029,"./base_plot":1030,"./calc":1031,"./defaults":1032,"./edit_style":1033,"./hover":1035,"./plot":1037,"./select":1039}],1037:[function(t,e,r){"use strict";var n=t("regl-splom"),i=t("../../lib"),a=t("../../plots/cartesian/axis_ids"),o=t("../../components/dragelement/helpers").selectMode;function s(t,e){var r,s,l,c,u,f=t._fullLayout,h=f._size,p=e.trace,d=e.t,g=f._splomScenes[p.uid],m=g.matrixOptions,v=m.cdata,y=f._glcanvas.data()[0].regl,x=f.dragmode;if(0!==v.length){m.lower=p.showupperhalf,m.upper=p.showlowerhalf,m.diagonal=p.diagonal.visible;var b=p._visibleDims,_=v.length,w=g.viewOpts={};for(w.ranges=new Array(_),w.domains=new Array(_),u=0;u<b.length;u++){l=b[u];var T=w.ranges[u]=new Array(4),k=w.domains[u]=new Array(4);(r=a.getFromId(t,p._diag[l][0]))&&(T[0]=r._rl[0],T[2]=r._rl[1],k[0]=r.domain[0],k[2]=r.domain[1]),(s=a.getFromId(t,p._diag[l][1]))&&(T[1]=s._rl[0],T[3]=s._rl[1],k[1]=s.domain[0],k[3]=s.domain[1])}var A=t._context.plotGlPixelRatio,M=h.l*A,S=h.b*A,E=h.w*A,L=h.h*A;w.viewport=[M,S,E+M,L+S],!0===g.matrix&&(g.matrix=n(y));var C=f.clickmode.indexOf("select")>-1,P=!0;if(o(x)||!!p.selectedpoints||C){var I=p._length;if(p.selectedpoints){g.selectBatch=p.selectedpoints;var O=p.selectedpoints,z={};for(l=0;l<O.length;l++)z[O[l]]=!0;var D=[];for(l=0;l<I;l++)z[l]||D.push(l);g.unselectBatch=D}var R=d.xpx=new Array(_),F=d.ypx=new Array(_);for(u=0;u<b.length;u++){if(l=b[u],r=a.getFromId(t,p._diag[l][0]))for(R[u]=new Array(I),c=0;c<I;c++)R[u][c]=r.c2p(v[u][c]);if(s=a.getFromId(t,p._diag[l][1]))for(F[u]=new Array(I),c=0;c<I;c++)F[u][c]=s.c2p(v[u][c])}if(g.selectBatch.length||g.unselectBatch.length){var B=i.extendFlat({},m,g.unselectedOptions,w),N=i.extendFlat({},m,g.selectedOptions,w);g.matrix.update(B,N),P=!1}}else d.xpx=d.ypx=null;if(P){var j=i.extendFlat({},m,w);g.matrix.update(j,null)}}}e.exports=function(t,e,r){if(r.length)for(var n=0;n<r.length;n++)s(t,r[n][0])}},{"../../components/dragelement/helpers":384,"../../lib":503,"../../plots/cartesian/axis_ids":558,"regl-splom":282}],1038:[function(t,e,r){"use strict";var n=t("../../lib");e.exports=function(t,e){var r=t._fullLayout,i=e.uid,a=r._splomScenes;a||(a=r._splomScenes={});var o={dirty:!0,selectBatch:[],unselectBatch:[]},s=a[e.uid];return s||((s=a[i]=n.extendFlat({},o,{matrix:!1,selectBatch:[],unselectBatch:[]})).draw=function(){s.matrix&&s.matrix.draw&&(s.selectBatch.length||s.unselectBatch.length?s.matrix.draw(s.unselectBatch,s.selectBatch):s.matrix.draw()),s.dirty=!1},s.destroy=function(){s.matrix&&s.matrix.destroy&&s.matrix.destroy(),s.matrixOptions=null,s.selectBatch=null,s.unselectBatch=null,s=null}),s.dirty||n.extendFlat(s,o),s}},{"../../lib":503}],1039:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../scatter/subtypes"),a=t("./helpers");e.exports=function(t,e){var r=t.cd,o=r[0].trace,s=r[0].t,l=t.scene,c=l.matrixOptions.cdata,u=t.xaxis,f=t.yaxis,h=[];if(!l)return h;var p=!i.hasMarkers(o)&&!i.hasText(o);if(!0!==o.visible||p)return h;var d=a.getDimIndex(o,u),g=a.getDimIndex(o,f);if(!1===d||!1===g)return h;var m=s.xpx[d],v=s.ypx[g],y=c[d],x=c[g],b=[],_=[];if(!1!==e&&!e.degenerate)for(var w=0;w<y.length;w++)e.contains([m[w],v[w]],null,w,t)?(b.push(w),h.push({pointNumber:w,x:y[w],y:x[w]})):_.push(w);var T=l.matrixOptions;return b.length||_.length?l.selectBatch.length||l.unselectBatch.length||l.matrix.update(l.unselectedOptions,n.extendFlat({},T,l.selectedOptions,l.viewOpts)):l.matrix.update(T,null),l.selectBatch=b,l.unselectBatch=_,h}},{"../../lib":503,"../scatter/subtypes":951,"./helpers":1034}],1040:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,a=t("../../plots/template_attributes").hovertemplateAttrs,o=t("../mesh3d/attributes"),s=t("../../plots/attributes"),l=t("../../lib/extend").extendFlat,c={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},starts:{x:{valType:"data_array",editType:"calc"},y:{valType:"data_array",editType:"calc"},z:{valType:"data_array",editType:"calc"},editType:"calc"},maxdisplayed:{valType:"integer",min:0,dflt:1e3,editType:"calc"},sizeref:{valType:"number",editType:"calc",min:0,dflt:1},text:{valType:"string",dflt:"",editType:"calc"},hovertext:{valType:"string",dflt:"",editType:"calc"},hovertemplate:a({editType:"calc"},{keys:["tubex","tubey","tubez","tubeu","tubev","tubew","norm","divergence"]}),uhoverformat:i("u",1),vhoverformat:i("v",1),whoverformat:i("w",1),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),showlegend:l({},s.showlegend,{dflt:!1})};l(c,n("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));["opacity","lightposition","lighting"].forEach((function(t){c[t]=o[t]})),c.hoverinfo=l({},s.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","divergence","text","name"],dflt:"x+y+z+norm+text+name"}),c.transforms=void 0,e.exports=c},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../mesh3d/attributes":867}],1041:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/calc");function a(t){var e,r,i,a,s,l,c,u,f,h,p,d,g=t._x,m=t._y,v=t._z,y=t._len,x=-1/0,b=1/0,_=-1/0,w=1/0,T=-1/0,k=1/0,A="";for(y&&(c=g[0],f=m[0],p=v[0]),y>1&&(u=g[y-1],h=m[y-1],d=v[y-1]),e=0;e<y;e++)x=Math.max(x,g[e]),b=Math.min(b,g[e]),_=Math.max(_,m[e]),w=Math.min(w,m[e]),T=Math.max(T,v[e]),k=Math.min(k,v[e]),a||g[e]===c||(a=!0,A+="x"),s||m[e]===f||(s=!0,A+="y"),l||v[e]===p||(l=!0,A+="z");a||(A+="x"),s||(A+="y"),l||(A+="z");var M=o(t._x),S=o(t._y),E=o(t._z);A=(A=(A=A.replace("x",(c>u?"-":"+")+"x")).replace("y",(f>h?"-":"+")+"y")).replace("z",(p>d?"-":"+")+"z");var L=function(){y=0,M=[],S=[],E=[]};(!y||y<M.length*S.length*E.length)&&L();var C=function(t){return"x"===t?g:"y"===t?m:v},P=function(t){return"x"===t?M:"y"===t?S:E},I=function(t){return t[y-1]<t[0]?-1:1},O=C(A[1]),z=C(A[3]),D=C(A[5]),R=P(A[1]).length,F=P(A[3]).length,B=P(A[5]).length,N=!1,j=function(t,e,r){return R*(F*t+e)+r},U=I(C(A[1])),V=I(C(A[3])),H=I(C(A[5]));for(e=0;e<B-1;e++){for(r=0;r<F-1;r++){for(i=0;i<R-1;i++){var q=j(e,r,i),G=j(e,r,i+1),Y=j(e,r+1,i),W=j(e+1,r,i);if(O[q]*U<O[G]*U&&z[q]*V<z[Y]*V&&D[q]*H<D[W]*H||(N=!0),N)break}if(N)break}if(N)break}return N&&(n.warn("Encountered arbitrary coordinates! Unable to input data grid."),L()),{xMin:b,yMin:w,zMin:k,xMax:x,yMax:_,zMax:T,Xs:M,Ys:S,Zs:E,len:y,fill:A}}function o(t){return n.distinctVals(t).vals}function s(t,e){if(void 0===e&&(e=t.length),n.isTypedArray(t))return t.subarray(0,e);for(var r=[],i=0;i<e;i++)r[i]=+t[i];return r}e.exports={calc:function(t,e){e._len=Math.min(e.u.length,e.v.length,e.w.length,e.x.length,e.y.length,e.z.length),e._u=s(e.u,e._len),e._v=s(e.v,e._len),e._w=s(e.w,e._len),e._x=s(e.x,e._len),e._y=s(e.y,e._len),e._z=s(e.z,e._len);var r=a(e);e._gridFill=r.fill,e._Xs=r.Xs,e._Ys=r.Ys,e._Zs=r.Zs,e._len=r.len;var n,o,l,c=0;e.starts&&(n=s(e.starts.x||[]),o=s(e.starts.y||[]),l=s(e.starts.z||[]),c=Math.min(n.length,o.length,l.length)),e._startsX=n||[],e._startsY=o||[],e._startsZ=l||[];var u,f=0,h=1/0;for(u=0;u<e._len;u++){var p=e._u[u],d=e._v[u],g=e._w[u],m=Math.sqrt(p*p+d*d+g*g);f=Math.max(f,m),h=Math.min(h,m)}for(i(t,e,{vals:[h,f],containerStr:"",cLetter:"c"}),u=0;u<c;u++){var v=n[u];r.xMax=Math.max(r.xMax,v),r.xMin=Math.min(r.xMin,v);var y=o[u];r.yMax=Math.max(r.yMax,y),r.yMin=Math.min(r.yMin,y);var x=l[u];r.zMax=Math.max(r.zMax,x),r.zMin=Math.min(r.zMin,x)}e._slen=c,e._normMax=f,e._xbnds=[r.xMin,r.xMax],e._ybnds=[r.yMin,r.yMax],e._zbnds=[r.zMin,r.zMax]},filter:s,processGrid:a}},{"../../components/colorscale/calc":374,"../../lib":503}],1042:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_streamtube3d,i=n.createTubeMesh,a=t("../../lib"),o=t("../../lib/gl_format_color").parseColorScale,s=t("../../components/colorscale").extractOpts,l=t("../../plots/gl3d/zip3"),c={xaxis:0,yaxis:1,zaxis:2};function u(t,e){this.scene=t,this.uid=e,this.mesh=null,this.data=null}var f=u.prototype;function h(t){var e=t.length;return e>2?t.slice(1,e-1):2===e?[(t[0]+t[1])/2]:t}function p(t){var e=t.length;return 1===e?[.5,.5]:[t[1]-t[0],t[e-1]-t[e-2]]}function d(t,e){var r=t.fullSceneLayout,i=t.dataScale,u=e._len,f={};function d(t,e){var n=r[e],o=i[c[e]];return a.simpleMap(t,(function(t){return n.d2l(t)*o}))}if(f.vectors=l(d(e._u,"xaxis"),d(e._v,"yaxis"),d(e._w,"zaxis"),u),!u)return{positions:[],cells:[]};var g=d(e._Xs,"xaxis"),m=d(e._Ys,"yaxis"),v=d(e._Zs,"zaxis");if(f.meshgrid=[g,m,v],f.gridFill=e._gridFill,e._slen)f.startingPositions=l(d(e._startsX,"xaxis"),d(e._startsY,"yaxis"),d(e._startsZ,"zaxis"));else{for(var y=m[0],x=h(g),b=h(v),_=new Array(x.length*b.length),w=0,T=0;T<x.length;T++)for(var k=0;k<b.length;k++)_[w++]=[x[T],y,b[k]];f.startingPositions=_}f.colormap=o(e),f.tubeSize=e.sizeref,f.maxLength=e.maxdisplayed;var A=d(e._xbnds,"xaxis"),M=d(e._ybnds,"yaxis"),S=d(e._zbnds,"zaxis"),E=p(g),L=p(m),C=p(v),P=[[A[0]-E[0],M[0]-L[0],S[0]-C[0]],[A[1]+E[1],M[1]+L[1],S[1]+C[1]]],I=n(f,P),O=s(e);I.vertexIntensityBounds=[O.min/e._normMax,O.max/e._normMax];var z=e.lightposition;return I.lightPosition=[z.x,z.y,z.z],I.ambient=e.lighting.ambient,I.diffuse=e.lighting.diffuse,I.specular=e.lighting.specular,I.roughness=e.lighting.roughness,I.fresnel=e.lighting.fresnel,I.opacity=e.opacity,e._pad=I.tubeScale*e.sizeref*2,I}f.handlePick=function(t){var e=this.scene.fullSceneLayout,r=this.scene.dataScale;function n(t,n){var i=e[n],a=r[c[n]];return i.l2c(t)/a}if(t.object===this.mesh){var i=t.data.position,a=t.data.velocity;return t.traceCoordinate=[n(i[0],"xaxis"),n(i[1],"yaxis"),n(i[2],"zaxis"),n(a[0],"xaxis"),n(a[1],"yaxis"),n(a[2],"zaxis"),t.data.intensity*this.data._normMax,t.data.divergence],t.textLabel=this.data.hovertext||this.data.text,!0}},f.update=function(t){this.data=t;var e=d(this.scene,t);this.mesh.update(e)},f.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var r=t.glplot.gl,n=d(t,e),a=i(r,n),o=new u(t,e.uid);return o.mesh=a,o.data=e,a._trace=o,t.glplot.add(a),o}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/gl3d/zip3":609}],1043:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/colorscale/defaults"),a=t("./attributes");e.exports=function(t,e,r,o){function s(r,i){return n.coerce(t,e,a,r,i)}var l=s("u"),c=s("v"),u=s("w"),f=s("x"),h=s("y"),p=s("z");l&&l.length&&c&&c.length&&u&&u.length&&f&&f.length&&h&&h.length&&p&&p.length?(s("starts.x"),s("starts.y"),s("starts.z"),s("maxdisplayed"),s("sizeref"),s("lighting.ambient"),s("lighting.diffuse"),s("lighting.specular"),s("lighting.roughness"),s("lighting.fresnel"),s("lightposition.x"),s("lightposition.y"),s("lightposition.z"),i(t,e,o,s,{prefix:"",cLetter:"c"}),s("text"),s("hovertext"),s("hovertemplate"),s("uhoverformat"),s("vhoverformat"),s("whoverformat"),s("xhoverformat"),s("yhoverformat"),s("zhoverformat"),e._length=null):e.visible=!1}},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":1040}],1044:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"streamtube",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","showLegend"],attributes:t("./attributes"),supplyDefaults:t("./defaults"),colorbar:{min:"cmin",max:"cmax"},calc:t("./calc").calc,plot:t("./convert"),eventData:function(t,e){return t.tubex=t.x,t.tubey=t.y,t.tubez=t.z,t.tubeu=e.traceCoordinate[3],t.tubev=e.traceCoordinate[4],t.tubew=e.traceCoordinate[5],t.norm=e.traceCoordinate[6],t.divergence=e.traceCoordinate[7],delete t.x,delete t.y,delete t.z,t},meta:{}}},{"../../plots/gl3d":598,"./attributes":1040,"./calc":1041,"./convert":1042,"./defaults":1043}],1045:[function(t,e,r){"use strict";var n=t("../../plots/attributes"),i=t("../../plots/template_attributes").hovertemplateAttrs,a=t("../../plots/template_attributes").texttemplateAttrs,o=t("../../components/colorscale/attributes"),s=t("../../plots/domain").attributes,l=t("../pie/attributes"),c=t("./constants"),u=t("../../lib/extend").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc"},parents:{valType:"data_array",editType:"calc"},values:{valType:"data_array",editType:"calc"},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc"},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc"},level:{valType:"any",editType:"plot",anim:!0},maxdepth:{valType:"integer",editType:"plot",dflt:-1},marker:u({colors:{valType:"data_array",editType:"calc"},line:{color:u({},l.marker.line.color,{dflt:null}),width:u({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot"},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:u({},n.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:i({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{}),rotation:{valType:"angle",dflt:0,editType:"plot"},sort:l.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)"},editType:"calc"},domain:s({name:"sunburst",trace:!0,editType:"calc"})}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":900,"./constants":1048}],1046:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="sunburst",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],1047:[function(t,e,r){"use strict";var n=t("d3-hierarchy"),i=t("fast-isnumeric"),a=t("../../lib"),o=t("../../components/colorscale").makeColorScaleFuncFromTrace,s=t("../pie/calc").makePullColorFn,l=t("../pie/calc").generateExtendedColors,c=t("../../components/colorscale").calc,u=t("../../constants/numerical").ALMOST_EQUAL,f={},h={},p={};r.calc=function(t,e){var r,l,f,h,p,d,g=t._fullLayout,m=e.ids,v=a.isArrayOrTypedArray(m),y=e.labels,x=e.parents,b=e.values,_=a.isArrayOrTypedArray(b),w=[],T={},k={},A=function(t){return t||"number"==typeof t},M=function(t){return!_||i(b[t])&&b[t]>=0};v?(r=Math.min(m.length,x.length),l=function(t){return A(m[t])&&M(t)},f=function(t){return String(m[t])}):(r=Math.min(y.length,x.length),l=function(t){return A(y[t])&&M(t)},f=function(t){return String(y[t])}),_&&(r=Math.min(r,b.length));for(var S=0;S<r;S++)if(l(S)){var E=f(S),L=A(x[S])?String(x[S]):"",C={i:S,id:E,pid:L,label:A(y[S])?String(y[S]):""};_&&(C.v=+b[S]),w.push(C),p=E,T[h=L]?T[h].push(p):T[h]=[p],k[p]=1}if(T[""]){if(T[""].length>1){for(var P=a.randstr(),I=0;I<w.length;I++)""===w[I].pid&&(w[I].pid=P);w.unshift({hasMultipleRoots:!0,id:P,pid:"",label:""})}}else{var O,z=[];for(O in T)k[O]||z.push(O);if(1!==z.length)return a.warn(["Multiple implied roots, cannot build",e.type,"hierarchy of",e.name+".","These roots include:",z.join(", ")].join(" "));O=z[0],w.unshift({hasImpliedRoot:!0,id:O,pid:"",label:O})}try{d=n.stratify().id((function(t){return t.id})).parentId((function(t){return t.pid}))(w)}catch(t){return a.warn(["Failed to build",e.type,"hierarchy of",e.name+".","Error:",t.message].join(" "))}var D=n.hierarchy(d),R=!1;if(_)switch(e.branchvalues){case"remainder":D.sum((function(t){return t.data.v}));break;case"total":D.each((function(t){var r=t.data.data,n=r.v;if(t.children){var i=t.children.reduce((function(t,e){return t+e.data.data.v}),0);if((r.hasImpliedRoot||r.hasMultipleRoots)&&(n=i),n<i*u)return R=!0,a.warn(["Total value for node",t.data.data.id,"of",e.name,"is smaller than the sum of its children.","\nparent value =",n,"\nchildren sum =",i].join(" "))}t.value=n}))}else!function t(e,r,n){var i=0,a=e.children;if(a){for(var o=a.length,s=0;s<o;s++)i+=t(a[s],r,n);n.branches&&i++}else n.leaves&&i++;e.value=e.data.data.value=i,r._values||(r._values=[]);return r._values[e.data.data.i]=i,i}(D,e,{branches:-1!==e.count.indexOf("branches"),leaves:-1!==e.count.indexOf("leaves")});if(!R){var F,B;e.sort&&D.sort((function(t,e){return e.value-t.value}));var N=e.marker.colors||[],j=!!N.length;return e._hasColorscale?(j||(N=_?e.values:e._values),c(t,e,{vals:N,containerStr:"marker",cLetter:"c"}),B=o(e.marker)):F=s(g["_"+e.type+"colormap"]),D.each((function(t){var r=t.data.data;r.color=e._hasColorscale?B(N[r.i]):F(N[r.i],r.id)})),w[0].hierarchy=D,w}},r._runCrossTraceCalc=function(t,e){var r=e._fullLayout,n=e.calcdata,i=r[t+"colorway"],a=r["_"+t+"colormap"];r["extend"+t+"colors"]&&(i=l(i,"icicle"===t?p:"treemap"===t?h:f));var o,s=0;function c(t){var e=t.data.data,r=e.id;!1===e.color&&(a[r]?e.color=a[r]:t.parent?t.parent.parent?e.color=t.parent.data.data.color:(a[r]=e.color=i[s%i.length],s++):e.color=o)}for(var u=0;u<n.length;u++){var d=n[u][0];d.trace.type===t&&d.hierarchy&&(o=d.trace.root.color,d.hierarchy.each(c))}},r.crossTraceCalc=function(t){return r._runCrossTraceCalc("sunburst",t)}},{"../../components/colorscale":378,"../../constants/numerical":479,"../../lib":503,"../pie/calc":902,"d3-hierarchy":115,"fast-isnumeric":190}],1048:[function(t,e,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}},{}],1049:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../plots/domain").defaults,o=t("../bar/defaults").handleText,s=t("../../components/colorscale"),l=s.hasColorscale,c=s.handleDefaults;e.exports=function(t,e,r,s){function u(r,a){return n.coerce(t,e,i,r,a)}var f=u("labels"),h=u("parents");if(f&&f.length&&h&&h.length){var p=u("values");p&&p.length?u("branchvalues"):u("count"),u("level"),u("maxdepth"),u("marker.line.width")&&u("marker.line.color",s.paper_bgcolor),u("marker.colors");var d=e._hasColorscale=l(t,"marker","colors")||(t.marker||{}).coloraxis;d&&c(t,e,s,u,{prefix:"marker.",cLetter:"c"}),u("leaf.opacity",d?1:.7);var g=u("text");u("texttemplate"),e.texttemplate||u("textinfo",Array.isArray(g)?"text+label":"label"),u("hovertext"),u("hovertemplate");o(t,e,s,u,"auto",{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),u("insidetextorientation"),u("sort"),u("rotation"),u("root.color"),a(e,s,u),e._length=null}else e.visible=!1}},{"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":1045}],1050:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../registry"),a=t("../../components/fx/helpers").appendArrayPointValue,o=t("../../components/fx"),s=t("../../lib"),l=t("../../lib/events"),c=t("./helpers"),u=t("../pie/helpers").formatPieValue;function f(t,e,r){for(var n=t.data.data,i={curveNumber:e.index,pointNumber:n.i,data:e._input,fullData:e},o=0;o<r.length;o++){var s=r[o];s in t&&(i[s]=t[s])}return"parentString"in t&&!c.isHierarchyRoot(t)&&(i.parent=t.parentString),a(i,e,n.i),i}e.exports=function(t,e,r,a,h){var p=a[0],d=p.trace,g=p.hierarchy,m="sunburst"===d.type,v="treemap"===d.type||"icicle"===d.type;"_hasHoverLabel"in d||(d._hasHoverLabel=!1),"_hasHoverEvent"in d||(d._hasHoverEvent=!1);t.on("mouseover",(function(i){var a=r._fullLayout;if(!r._dragging&&!1!==a.hovermode){var l,y=r._fullData[d.index],x=i.data.data,b=x.i,_=c.isHierarchyRoot(i),w=c.getParent(g,i),T=c.getValue(i),k=function(t){return s.castOption(y,b,t)},A=k("hovertemplate"),M=o.castHoverinfo(y,a,b),S=a.separators;if(A||M&&"none"!==M&&"skip"!==M){var E,L;m&&(E=p.cx+i.pxmid[0]*(1-i.rInscribed),L=p.cy+i.pxmid[1]*(1-i.rInscribed)),v&&(E=i._hoverX,L=i._hoverY);var C,P={},I=[],O=[],z=function(t){return-1!==I.indexOf(t)};M&&(I="all"===M?y._module.attributes.hoverinfo.flags:M.split("+")),P.label=x.label,z("label")&&P.label&&O.push(P.label),x.hasOwnProperty("v")&&(P.value=x.v,P.valueLabel=u(P.value,S),z("value")&&O.push(P.valueLabel)),P.currentPath=i.currentPath=c.getPath(i.data),z("current path")&&!_&&O.push(P.currentPath);var D=[],R=function(){-1===D.indexOf(C)&&(O.push(C),D.push(C))};P.percentParent=i.percentParent=T/c.getValue(w),P.parent=i.parentString=c.getPtLabel(w),z("percent parent")&&(C=c.formatPercent(P.percentParent,S)+" of "+P.parent,R()),P.percentEntry=i.percentEntry=T/c.getValue(e),P.entry=i.entry=c.getPtLabel(e),!z("percent entry")||_||i.onPathbar||(C=c.formatPercent(P.percentEntry,S)+" of "+P.entry,R()),P.percentRoot=i.percentRoot=T/c.getValue(g),P.root=i.root=c.getPtLabel(g),z("percent root")&&!_&&(C=c.formatPercent(P.percentRoot,S)+" of "+P.root,R()),P.text=k("hovertext")||k("text"),z("text")&&(C=P.text,s.isValidTextValue(C)&&O.push(C)),l=[f(i,y,h.eventDataKeys)];var F={trace:y,y:L,_x0:i._x0,_x1:i._x1,_y0:i._y0,_y1:i._y1,text:O.join("<br>"),name:A||z("name")?y.name:void 0,color:k("hoverlabel.bgcolor")||x.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:A,hovertemplateLabels:P,eventData:l};m&&(F.x0=E-i.rInscribed*i.rpx1,F.x1=E+i.rInscribed*i.rpx1,F.idealAlign=i.pxmid[0]<0?"left":"right"),v&&(F.x=E,F.idealAlign=E<0?"left":"right");var B=[];o.loneHover(F,{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:r,inOut_bbox:B}),l[0].bbox=B[0],d._hasHoverLabel=!0}if(v){var N=t.select("path.surface");h.styleOne(N,i,y,{hovered:!0})}d._hasHoverEvent=!0,r.emit("plotly_hover",{points:l||[f(i,y,h.eventDataKeys)],event:n.event})}})),t.on("mouseout",(function(e){var i=r._fullLayout,a=r._fullData[d.index],s=n.select(this).datum();if(d._hasHoverEvent&&(e.originalEvent=n.event,r.emit("plotly_unhover",{points:[f(s,a,h.eventDataKeys)],event:n.event}),d._hasHoverEvent=!1),d._hasHoverLabel&&(o.loneUnhover(i._hoverlayer.node()),d._hasHoverLabel=!1),v){var l=t.select("path.surface");h.styleOne(l,s,a,{hovered:!1})}})),t.on("click",(function(t){var e=r._fullLayout,a=r._fullData[d.index],s=m&&(c.isHierarchyRoot(t)||c.isLeaf(t)),u=c.getPtId(t),p=c.isEntry(t)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),v=c.getPtId(p),y={points:[f(t,a,h.eventDataKeys)],event:n.event};s||(y.nextLevel=v);var x=l.triggerHandler(r,"plotly_"+d.type+"click",y);if(!1!==x&&e.hovermode&&(r._hoverdata=[f(t,a,h.eventDataKeys)],o.click(r,n.event)),!s&&!1!==x&&!r._dragging&&!r._transitioning){i.call("_storeDirectGUIEdit",a,e._tracePreGUI[a.uid],{level:a.level});var b={data:[{level:v}],traces:[d.index]},_={frame:{redraw:!1,duration:h.transitionTime},transition:{duration:h.transitionTime,easing:h.transitionEasing},mode:"immediate",fromcurrent:!0};o.loneUnhover(e._hoverlayer.node()),i.call("animate",r,b,_)}}))}},{"../../components/fx":406,"../../components/fx/helpers":402,"../../lib":503,"../../lib/events":492,"../../registry":638,"../pie/helpers":905,"./helpers":1051,"@plotly/d3":58}],1051:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../../lib/setcursor"),o=t("../pie/helpers");function s(t){return t.data.data.pid}r.findEntryWithLevel=function(t,e){var n;return e&&t.eachAfter((function(t){if(r.getPtId(t)===e)return n=t.copy()})),n||t},r.findEntryWithChild=function(t,e){var n;return t.eachAfter((function(t){for(var i=t.children||[],a=0;a<i.length;a++){var o=i[a];if(r.getPtId(o)===e)return n=t.copy()}})),n||t},r.isEntry=function(t){return!t.parent},r.isLeaf=function(t){return!t.children},r.getPtId=function(t){return t.data.data.id},r.getPtLabel=function(t){return t.data.data.label},r.getValue=function(t){return t.value},r.isHierarchyRoot=function(t){return""===s(t)},r.setSliceCursor=function(t,e,n){var i=n.isTransitioning;if(!i){var o=t.datum();i=n.hideOnRoot&&r.isHierarchyRoot(o)||n.hideOnLeaves&&r.isLeaf(o)}a(t,i?null:"pointer")},r.getInsideTextFontKey=function(t,e,r,i,a){var o=(a||{}).onPathbar?"pathbar.textfont":"insidetextfont",s=r.data.data.i;return n.castOption(e,s,o+"."+t)||n.castOption(e,s,"textfont."+t)||i.size},r.getOutsideTextFontKey=function(t,e,r,i){var a=r.data.data.i;return n.castOption(e,a,"outsidetextfont."+t)||n.castOption(e,a,"textfont."+t)||i.size},r.isOutsideText=function(t,e){return!t._hasColorscale&&r.isHierarchyRoot(e)},r.determineTextFont=function(t,e,a,o){return r.isOutsideText(t,e)?function(t,e,n){return{color:r.getOutsideTextFontKey("color",t,e,n),family:r.getOutsideTextFontKey("family",t,e,n),size:r.getOutsideTextFontKey("size",t,e,n)}}(t,e,a):function(t,e,a,o){var s=(o||{}).onPathbar,l=e.data.data,c=l.i,u=n.castOption(t,c,(s?"pathbar.textfont":"insidetextfont")+".color");return!u&&t._input.textfont&&(u=n.castOption(t._input,c,"textfont.color")),{color:u||i.contrast(l.color),family:r.getInsideTextFontKey("family",t,e,a,o),size:r.getInsideTextFontKey("size",t,e,a,o)}}(t,e,a,o)},r.hasTransition=function(t){return!!(t&&t.duration>0)},r.getMaxDepth=function(t){return t.maxdepth>=0?t.maxdepth:1/0},r.isHeader=function(t,e){return!(r.isLeaf(t)||t.depth===e._maxDepth-1)},r.getParent=function(t,e){return r.findEntryWithLevel(t,s(e))},r.listPath=function(t,e){var n=t.parent;if(!n)return[];var i=e?[n.data[e]]:[n];return r.listPath(n,e).concat(i)},r.getPath=function(t){return r.listPath(t,"label").join("/")+"/"},r.formatValue=o.formatPieValue,r.formatPercent=function(t,e){var r=n.formatPercent(t,0);return"0%"===r&&(r=o.formatPiePercent(t,e)),r}},{"../../components/color":366,"../../lib":503,"../../lib/setcursor":524,"../pie/helpers":905}],1052:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"sunburst",basePlotModule:t("./base_plot"),categories:[],animatable:!0,attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot").plot,style:t("./style").style,colorbar:t("../scatter/marker_colorbar"),meta:{}}},{"../scatter/marker_colorbar":944,"./attributes":1045,"./base_plot":1046,"./calc":1047,"./defaults":1049,"./layout_attributes":1053,"./layout_defaults":1054,"./plot":1055,"./style":1056}],1053:[function(t,e,r){"use strict";e.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},{}],1054:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("sunburstcolorway",e.colorway),r("extendsunburstcolors")}},{"../../lib":503,"./layout_attributes":1053}],1055:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-hierarchy"),a=t("d3-interpolate").interpolate,o=t("../../components/drawing"),s=t("../../lib"),l=t("../../lib/svg_text_utils"),c=t("../bar/uniform_text"),u=c.recordMinTextSize,f=c.clearMinTextSize,h=t("../pie/plot"),p=t("../pie/helpers").getRotationAngle,d=h.computeTransform,g=h.transformInsideText,m=t("./style").styleOne,v=t("../bar/style").resizeText,y=t("./fx"),x=t("./constants"),b=t("./helpers");function _(t,e,c,f){var h=t._fullLayout,v=!h.uniformtext.mode&&b.hasTransition(f),_=n.select(c).selectAll("g.slice"),T=e[0],k=T.trace,A=T.hierarchy,M=b.findEntryWithLevel(A,k.level),S=b.getMaxDepth(k),E=h._size,L=k.domain,C=E.w*(L.x[1]-L.x[0]),P=E.h*(L.y[1]-L.y[0]),I=.5*Math.min(C,P),O=T.cx=E.l+E.w*(L.x[1]+L.x[0])/2,z=T.cy=E.t+E.h*(1-L.y[0])-P/2;if(!M)return _.remove();var D=null,R={};v&&_.each((function(t){R[b.getPtId(t)]={rpx0:t.rpx0,rpx1:t.rpx1,x0:t.x0,x1:t.x1,transform:t.transform},!D&&b.isEntry(t)&&(D=t)}));var F=function(t){return i.partition().size([2*Math.PI,t.height+1])(t)}(M).descendants(),B=M.height+1,N=0,j=S;T.hasMultipleRoots&&b.isHierarchyRoot(M)&&(F=F.slice(1),B-=1,N=1,j+=1),F=F.filter((function(t){return t.y1<=j}));var U=p(k.rotation);U&&F.forEach((function(t){t.x0+=U,t.x1+=U}));var V=Math.min(B,S),H=function(t){return(t-N)/V*I},q=function(t,e){return[t*Math.cos(e),-t*Math.sin(e)]},G=function(t){return s.pathAnnulus(t.rpx0,t.rpx1,t.x0,t.x1,O,z)},Y=function(t){return O+w(t)[0]*(t.transform.rCenter||0)+(t.transform.x||0)},W=function(t){return z+w(t)[1]*(t.transform.rCenter||0)+(t.transform.y||0)};(_=_.data(F,b.getPtId)).enter().append("g").classed("slice",!0),v?_.exit().transition().each((function(){var t=n.select(this);t.select("path.surface").transition().attrTween("d",(function(t){var e=function(t){var e,r=b.getPtId(t),n=R[r],i=R[b.getPtId(M)];if(i){var o=(t.x1>i.x1?2*Math.PI:0)+U;e=t.rpx1<i.rpx1?{x0:t.x0,x1:t.x1,rpx0:0,rpx1:0}:{x0:o,x1:o,rpx0:t.rpx0,rpx1:t.rpx1}}else{var s,l=b.getPtId(t.parent);_.each((function(t){if(b.getPtId(t)===l)return s=t}));var c,u=s.children;u.forEach((function(t,e){if(b.getPtId(t)===r)return c=e}));var f=u.length,h=a(s.x0,s.x1);e={rpx0:I,rpx1:I,x0:h(c/f),x1:h((c+1)/f)}}return a(n,e)}(t);return function(t){return G(e(t))}})),t.select("g.slicetext").attr("opacity",0)})).remove():_.exit().remove(),_.order();var X=null;if(v&&D){var Z=b.getPtId(D);_.each((function(t){null===X&&b.getPtId(t)===Z&&(X=t.x1)}))}var J=_;function K(t){var e=t.parent,r=R[b.getPtId(e)],n={};if(r){var i=e.children,o=i.indexOf(t),s=i.length,l=a(r.x0,r.x1);n.x0=l(o/s),n.x1=l(o/s)}else n.x0=n.x1=0;return n}v&&(J=J.transition().each("end",(function(){var e=n.select(this);b.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})}))),J.each((function(i){var c=n.select(this),f=s.ensureSingle(c,"path","surface",(function(t){t.style("pointer-events","all")}));i.rpx0=H(i.y0),i.rpx1=H(i.y1),i.xmid=(i.x0+i.x1)/2,i.pxmid=q(i.rpx1,i.xmid),i.midangle=-(i.xmid-Math.PI/2),i.startangle=-(i.x0-Math.PI/2),i.stopangle=-(i.x1-Math.PI/2),i.halfangle=.5*Math.min(s.angleDelta(i.x0,i.x1)||Math.PI,Math.PI),i.ring=1-i.rpx0/i.rpx1,i.rInscribed=function(t){return 0===t.rpx0&&s.isFullCircle([t.x0,t.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2))}(i),v?f.transition().attrTween("d",(function(t){var e=function(t){var e,r=R[b.getPtId(t)],n={x0:t.x0,x1:t.x1,rpx0:t.rpx0,rpx1:t.rpx1};if(r)e=r;else if(D)if(t.parent)if(X){var i=(t.x1>X?2*Math.PI:0)+U;e={x0:i,x1:i}}else e={rpx0:I,rpx1:I},s.extendFlat(e,K(t));else e={rpx0:0,rpx1:0};else e={x0:U,x1:U};return a(e,n)}(t);return function(t){return G(e(t))}})):f.attr("d",G),c.call(y,M,t,e,{eventDataKeys:x.eventDataKeys,transitionTime:x.CLICK_TRANSITION_TIME,transitionEasing:x.CLICK_TRANSITION_EASING}).call(b.setSliceCursor,t,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:t._transitioning}),f.call(m,i,k);var p=s.ensureSingle(c,"g","slicetext"),_=s.ensureSingle(p,"text","",(function(t){t.attr("data-notex",1)})),w=s.ensureUniformFontSize(t,b.determineTextFont(k,i,h.font));_.text(r.formatSliceLabel(i,M,k,e,h)).classed("slicetext",!0).attr("text-anchor","middle").call(o.font,w).call(l.convertToTspans,t);var A=o.bBox(_.node());i.transform=g(A,i,T),i.transform.targetX=Y(i),i.transform.targetY=W(i);var S=function(t,e){var r=t.transform;return d(r,e),r.fontSize=w.size,u(k.type,r,h),s.getTextTransform(r)};v?_.transition().attrTween("transform",(function(t){var e=function(t){var e,r=R[b.getPtId(t)],n=t.transform;if(r)e=r;else if(e={rpx1:t.rpx1,transform:{textPosAngle:n.textPosAngle,scale:0,rotate:n.rotate,rCenter:n.rCenter,x:n.x,y:n.y}},D)if(t.parent)if(X){var i=t.x1>X?2*Math.PI:0;e.x0=e.x1=i}else s.extendFlat(e,K(t));else e.x0=e.x1=U;else e.x0=e.x1=U;var o=a(e.transform.textPosAngle,t.transform.textPosAngle),l=a(e.rpx1,t.rpx1),c=a(e.x0,t.x0),f=a(e.x1,t.x1),p=a(e.transform.scale,n.scale),d=a(e.transform.rotate,n.rotate),g=0===n.rCenter?3:0===e.transform.rCenter?1/3:1,m=a(e.transform.rCenter,n.rCenter);return function(t){var e=l(t),r=c(t),i=f(t),a=function(t){return m(Math.pow(t,g))}(t),s={pxmid:q(e,(r+i)/2),rpx1:e,transform:{textPosAngle:o(t),rCenter:a,x:n.x,y:n.y}};return u(k.type,n,h),{transform:{targetX:Y(s),targetY:W(s),scale:p(t),rotate:d(t),rCenter:a}}}}(t);return function(t){return S(e(t),A)}})):_.attr("transform",S(i,A))}))}function w(t){return e=t.rpx1,r=t.transform.textPosAngle,[e*Math.sin(r),-e*Math.cos(r)];var e,r}r.plot=function(t,e,r,i){var a,o,s=t._fullLayout,l=s._sunburstlayer,c=!r,u=!s.uniformtext.mode&&b.hasTransition(r);(f("sunburst",s),(a=l.selectAll("g.trace.sunburst").data(e,(function(t){return t[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),a.order(),u)?(i&&(o=i()),n.transition().duration(r.duration).ease(r.easing).each("end",(function(){o&&o()})).each("interrupt",(function(){o&&o()})).each((function(){l.selectAll("g.trace").each((function(e){_(t,e,this,r)}))}))):(a.each((function(e){_(t,e,this,r)})),s.uniformtext.mode&&v(t,s._sunburstlayer.selectAll(".trace"),"sunburst"));c&&a.exit().remove()},r.formatSliceLabel=function(t,e,r,n,i){var a=r.texttemplate,o=r.textinfo;if(!(a||o&&"none"!==o))return"";var l=i.separators,c=n[0],u=t.data.data,f=c.hierarchy,h=b.isHierarchyRoot(t),p=b.getParent(f,t),d=b.getValue(t);if(!a){var g,m=o.split("+"),v=function(t){return-1!==m.indexOf(t)},y=[];if(v("label")&&u.label&&y.push(u.label),u.hasOwnProperty("v")&&v("value")&&y.push(b.formatValue(u.v,l)),!h){v("current path")&&y.push(b.getPath(t.data));var x=0;v("percent parent")&&x++,v("percent entry")&&x++,v("percent root")&&x++;var _=x>1;if(x){var w,T=function(t){g=b.formatPercent(w,l),_&&(g+=" of "+t),y.push(g)};v("percent parent")&&!h&&(w=d/b.getValue(p),T("parent")),v("percent entry")&&(w=d/b.getValue(e),T("entry")),v("percent root")&&(w=d/b.getValue(f),T("root"))}}return v("text")&&(g=s.castOption(r,u.i,"text"),s.isValidTextValue(g)&&y.push(g)),y.join("<br>")}var k=s.castOption(r,u.i,"texttemplate");if(!k)return"";var A={};u.label&&(A.label=u.label),u.hasOwnProperty("v")&&(A.value=u.v,A.valueLabel=b.formatValue(u.v,l)),A.currentPath=b.getPath(t.data),h||(A.percentParent=d/b.getValue(p),A.percentParentLabel=b.formatPercent(A.percentParent,l),A.parent=b.getPtLabel(p)),A.percentEntry=d/b.getValue(e),A.percentEntryLabel=b.formatPercent(A.percentEntry,l),A.entry=b.getPtLabel(e),A.percentRoot=d/b.getValue(f),A.percentRootLabel=b.formatPercent(A.percentRoot,l),A.root=b.getPtLabel(f),u.hasOwnProperty("color")&&(A.color=u.color);var M=s.castOption(r,u.i,"text");return(s.isValidTextValue(M)||""===M)&&(A.text=M),A.customdata=s.castOption(r,u.i,"customdata"),s.texttemplateString(k,A,i._d3locale,A,r._meta||{})}},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/style":662,"../bar/uniform_text":664,"../pie/helpers":905,"../pie/plot":909,"./constants":1048,"./fx":1050,"./helpers":1051,"./style":1056,"@plotly/d3":58,"d3-hierarchy":115,"d3-interpolate":116}],1056:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../lib"),o=t("../bar/uniform_text").resizeText;function s(t,e,r){var n=e.data.data,o=!e.children,s=n.i,l=a.castOption(r,s,"marker.line.color")||i.defaultLine,c=a.castOption(r,s,"marker.line.width")||0;t.style("stroke-width",c).call(i.fill,n.color).call(i.stroke,l).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(t){var e=t._fullLayout._sunburstlayer.selectAll(".trace");o(t,e,"sunburst"),e.each((function(t){var e=n.select(this),r=t[0].trace;e.style("opacity",r.opacity),e.selectAll("path.surface").each((function(t){n.select(this).call(s,t,r)}))}))},styleOne:s}},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"@plotly/d3":58}],1057:[function(t,e,r){"use strict";var n=t("../../components/color"),i=t("../../components/colorscale/attributes"),a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,o=t("../../plots/template_attributes").hovertemplateAttrs,s=t("../../plots/attributes"),l=t("../../lib/extend").extendFlat,c=t("../../plot_api/edit_types").overrideAll;function u(t){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:n.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:n.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var f=e.exports=c(l({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:o(),xhoverformat:a("x"),yhoverformat:a("y"),zhoverformat:a("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},i("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:u(),y:u(),z:u()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:l({},i.zauto,{}),zmin:l({},i.zmin,{}),zmax:l({},i.zmax,{})},hoverinfo:l({},s.hoverinfo),showlegend:l({},s.showlegend,{dflt:!1})}),"calc","nested");f.x.editType=f.y.editType=f.z.editType="calc+clearAxisTypes",f.transforms=void 0},{"../../components/color":366,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633}],1058:[function(t,e,r){"use strict";var n=t("../../components/colorscale/calc");e.exports=function(t,e){e.surfacecolor?n(t,e,{vals:e.surfacecolor,containerStr:"",cLetter:"c"}):n(t,e,{vals:e.z,containerStr:"",cLetter:"c"})}},{"../../components/colorscale/calc":374}],1059:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_surface3d,i=t("../../../stackgl_modules").ndarray,a=t("../../../stackgl_modules").ndarray_linear_interpolate.d2,o=t("../heatmap/interp2d"),s=t("../heatmap/find_empties"),l=t("../../lib").isArrayOrTypedArray,c=t("../../lib/gl_format_color").parseColorScale,u=t("../../lib/str2rgbarray"),f=t("../../components/colorscale").extractOpts;function h(t,e,r){this.scene=t,this.uid=r,this.surface=e,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var p=h.prototype;p.getXat=function(t,e,r,n){var i=l(this.data.x)?l(this.data.x[0])?this.data.x[e][t]:this.data.x[t]:t;return void 0===r?i:n.d2l(i,0,r)},p.getYat=function(t,e,r,n){var i=l(this.data.y)?l(this.data.y[0])?this.data.y[e][t]:this.data.y[e]:e;return void 0===r?i:n.d2l(i,0,r)},p.getZat=function(t,e,r,n){var i=this.data.z[e][t];return null===i&&this.data.connectgaps&&this.data._interpolatedZ&&(i=this.data._interpolatedZ[e][t]),void 0===r?i:n.d2l(i,0,r)},p.handlePick=function(t){if(t.object===this.surface){var e=(t.data.index[0]-1)/this.dataScaleX-1,r=(t.data.index[1]-1)/this.dataScaleY-1,n=Math.max(Math.min(Math.round(e),this.data.z[0].length-1),0),i=Math.max(Math.min(Math.round(r),this.data._ylength-1),0);t.index=[n,i],t.traceCoordinate=[this.getXat(n,i),this.getYat(n,i),this.getZat(n,i)],t.dataCoordinate=[this.getXat(n,i,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(n,i,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(n,i,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var a=0;a<3;a++){var o=t.dataCoordinate[a];null!=o&&(t.dataCoordinate[a]*=this.scene.dataScale[a])}var s=this.data.hovertext||this.data.text;return Array.isArray(s)&&s[i]&&void 0!==s[i][n]?t.textLabel=s[i][n]:t.textLabel=s||"",t.data.dataCoordinate=t.dataCoordinate.slice(),this.surface.highlight(t.data),this.scene.glplot.spikes.position=t.dataCoordinate,!0}};var d=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function g(t,e){if(t<e)return 0;for(var r=0;0===Math.floor(t%e);)t/=e,r++;return r}function m(t){for(var e=[],r=0;r<d.length;r++){var n=d[r];e.push(g(t,n))}return e}function v(t){for(var e=m(t),r=t,n=0;n<d.length;n++)if(e[n]>0){r=d[n];break}return r}function y(t,e){if(!(t<1||e<1)){for(var r=m(t),n=m(e),i=1,a=0;a<d.length;a++)i*=Math.pow(d[a],Math.max(r[a],n[a]));return i}}p.calcXnums=function(t){var e,r=[];for(e=1;e<t;e++){var n=this.getXat(e-1,0),i=this.getXat(e,0);r[e-1]=i!==n&&null!=n&&null!=i?Math.abs(i-n):0}var a=0;for(e=1;e<t;e++)a+=r[e-1];for(e=1;e<t;e++)0===r[e-1]?r[e-1]=1:r[e-1]=Math.round(a/r[e-1]);return r},p.calcYnums=function(t){var e,r=[];for(e=1;e<t;e++){var n=this.getYat(0,e-1),i=this.getYat(0,e);r[e-1]=i!==n&&null!=n&&null!=i?Math.abs(i-n):0}var a=0;for(e=1;e<t;e++)a+=r[e-1];for(e=1;e<t;e++)0===r[e-1]?r[e-1]=1:r[e-1]=Math.round(a/r[e-1]);return r};var x=[1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260],b=x[9],_=x[13];function w(t,e,r){var n=r[8]+r[2]*e[0]+r[5]*e[1];return t[0]=(r[6]+r[0]*e[0]+r[3]*e[1])/n,t[1]=(r[7]+r[1]*e[0]+r[4]*e[1])/n,t}function T(t,e,r){return function(t,e,r,n){for(var i=[0,0],o=t.shape[0],s=t.shape[1],l=0;l<o;l++)for(var c=0;c<s;c++)r(i,[l,c],n),t.set(l,c,a(e,i[0],i[1]))}(t,e,w,r),t}function k(t,e){for(var r=!1,n=0;n<t.length;n++)if(e===t[n]){r=!0;break}!1===r&&t.push(e)}p.estimateScale=function(t,e){for(var r=1+function(t){if(0!==t.length){for(var e=1,r=0;r<t.length;r++)e=y(e,t[r]);return e}}(0===e?this.calcXnums(t):this.calcYnums(t));r<b;)r*=2;for(;r>_;)r--,r/=v(r),++r<b&&(r=_);var n=Math.round(r/t);return n>1?n:1},p.refineCoords=function(t){for(var e=this.dataScaleX,r=this.dataScaleY,n=t[0].shape[0],a=t[0].shape[1],o=0|Math.floor(t[0].shape[0]*e+1),s=0|Math.floor(t[0].shape[1]*r+1),l=1+n+1,c=1+a+1,u=i(new Float32Array(l*c),[l,c]),f=[1/e,0,0,0,1/r,0,0,0,1],h=0;h<t.length;++h){this.surface.padField(u,t[h]);var p=i(new Float32Array(o*s),[o,s]);T(p,u,f),t[h]=p}},p.setContourLevels=function(){var t,e,r,n=[[],[],[]],i=[!1,!1,!1],a=!1;for(t=0;t<3;++t)if(this.showContour[t]&&(a=!0,this.contourSize[t]>0&&null!==this.contourStart[t]&&null!==this.contourEnd[t]&&this.contourEnd[t]>this.contourStart[t]))for(i[t]=!0,e=this.contourStart[t];e<this.contourEnd[t];e+=this.contourSize[t])r=e*this.scene.dataScale[t],k(n[t],r);if(a){var o=[[],[],[]];for(t=0;t<3;++t)this.showContour[t]&&(o[t]=i[t]?n[t]:this.scene.contourLevels[t]);this.surface.update({levels:o})}},p.update=function(t){var e,r,n,a,l=this.scene,h=l.fullSceneLayout,p=this.surface,d=c(t),g=l.dataScale,m=t.z[0].length,v=t._ylength,y=l.contourLevels;this.data=t;var x=[];for(e=0;e<3;e++)for(x[e]=[],r=0;r<m;r++)x[e][r]=[];for(r=0;r<m;r++)for(n=0;n<v;n++)x[0][r][n]=this.getXat(r,n,t.xcalendar,h.xaxis),x[1][r][n]=this.getYat(r,n,t.ycalendar,h.yaxis),x[2][r][n]=this.getZat(r,n,t.zcalendar,h.zaxis);if(t.connectgaps)for(t._emptypoints=s(x[2]),o(x[2],t._emptypoints),t._interpolatedZ=[],r=0;r<m;r++)for(t._interpolatedZ[r]=[],n=0;n<v;n++)t._interpolatedZ[r][n]=x[2][r][n];for(e=0;e<3;e++)for(r=0;r<m;r++)for(n=0;n<v;n++)null==(a=x[e][r][n])?x[e][r][n]=NaN:a=x[e][r][n]*=g[e];for(e=0;e<3;e++)for(r=0;r<m;r++)for(n=0;n<v;n++)null!=(a=x[e][r][n])&&(this.minValues[e]>a&&(this.minValues[e]=a),this.maxValues[e]<a&&(this.maxValues[e]=a));for(e=0;e<3;e++)this.objectOffset[e]=.5*(this.minValues[e]+this.maxValues[e]);for(e=0;e<3;e++)for(r=0;r<m;r++)for(n=0;n<v;n++)null!=(a=x[e][r][n])&&(x[e][r][n]-=this.objectOffset[e]);var b=[i(new Float32Array(m*v),[m,v]),i(new Float32Array(m*v),[m,v]),i(new Float32Array(m*v),[m,v])];for(e=0;e<3;e++)for(r=0;r<m;r++)for(n=0;n<v;n++)b[e].set(r,n,x[e][r][n]);x=[];var w={colormap:d,levels:[[],[],[]],showContour:[!0,!0,!0],showSurface:!t.hidesurface,contourProject:[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],contourWidth:[1,1,1],contourColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],contourTint:[1,1,1],dynamicColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],dynamicWidth:[1,1,1],dynamicTint:[1,1,1],opacityscale:t.opacityscale,opacity:t.opacity},T=f(t);if(w.intensityBounds=[T.min,T.max],t.surfacecolor){var k=i(new Float32Array(m*v),[m,v]);for(r=0;r<m;r++)for(n=0;n<v;n++)k.set(r,n,t.surfacecolor[n][r]);b.push(k)}else w.intensityBounds[0]*=g[2],w.intensityBounds[1]*=g[2];(_<b[0].shape[0]||_<b[0].shape[1])&&(this.refineData=!1),!0===this.refineData&&(this.dataScaleX=this.estimateScale(b[0].shape[0],0),this.dataScaleY=this.estimateScale(b[0].shape[1],1),1===this.dataScaleX&&1===this.dataScaleY||this.refineCoords(b)),t.surfacecolor&&(w.intensity=b.pop());var A=[!0,!0,!0],M=["x","y","z"];for(e=0;e<3;++e){var S=t.contours[M[e]];A[e]=S.highlight,w.showContour[e]=S.show||S.highlight,w.showContour[e]&&(w.contourProject[e]=[S.project.x,S.project.y,S.project.z],S.show?(this.showContour[e]=!0,w.levels[e]=y[e],p.highlightColor[e]=w.contourColor[e]=u(S.color),S.usecolormap?p.highlightTint[e]=w.contourTint[e]=0:p.highlightTint[e]=w.contourTint[e]=1,w.contourWidth[e]=S.width,this.contourStart[e]=S.start,this.contourEnd[e]=S.end,this.contourSize[e]=S.size):(this.showContour[e]=!1,this.contourStart[e]=null,this.contourEnd[e]=null,this.contourSize[e]=0),S.highlight&&(w.dynamicColor[e]=u(S.highlightcolor),w.dynamicWidth[e]=S.highlightwidth))}(function(t){var e=t[0].rgb,r=t[t.length-1].rgb;return e[0]===r[0]&&e[1]===r[1]&&e[2]===r[2]&&e[3]===r[3]})(d)&&(w.vertexColor=!0),w.objectOffset=this.objectOffset,w.coords=b,p.update(w),p.visible=t.visible,p.enableDynamic=A,p.enableHighlight=A,p.snapToData=!0,"lighting"in t&&(p.ambientLight=t.lighting.ambient,p.diffuseLight=t.lighting.diffuse,p.specularLight=t.lighting.specular,p.roughness=t.lighting.roughness,p.fresnel=t.lighting.fresnel),"lightposition"in t&&(p.lightPosition=[t.lightposition.x,t.lightposition.y,t.lightposition.z])},p.dispose=function(){this.scene.glplot.remove(this.surface),this.surface.dispose()},e.exports=function(t,e){var r=t.glplot.gl,i=n({gl:r}),a=new h(t,i,e.uid);return i._trace=a,a.update(e),t.glplot.add(i),a}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../heatmap/find_empties":798,"../heatmap/interp2d":801}],1060:[function(t,e,r){"use strict";var n=t("../../registry"),i=t("../../lib"),a=t("../../components/colorscale/defaults"),o=t("./attributes");function s(t,e,r,n){var i=n("opacityscale");"max"===i?e.opacityscale=[[0,.1],[1,1]]:"min"===i?e.opacityscale=[[0,1],[1,.1]]:"extremes"===i?e.opacityscale=function(t,e){for(var r=[],n=0;n<32;n++){var i=n/31,a=e+(1-e)*(1-Math.pow(Math.sin(t*i*Math.PI),2));r.push([i,Math.max(0,Math.min(1,a))])}return r}(1,.1):function(t){var e=0;if(!Array.isArray(t)||t.length<2)return!1;if(!t[0]||!t[t.length-1])return!1;if(0!=+t[0][0]||1!=+t[t.length-1][0])return!1;for(var r=0;r<t.length;r++){var n=t[r];if(2!==n.length||+n[0]<e)return!1;e=+n[0]}return!0}(i)||(e.opacityscale=void 0)}function l(t,e,r){e in t&&!(r in t)&&(t[r]=t[e])}e.exports={supplyDefaults:function(t,e,r,c){var u,f;function h(r,n){return i.coerce(t,e,o,r,n)}var p=h("x"),d=h("y"),g=h("z");if(!g||!g.length||p&&p.length<1||d&&d.length<1)e.visible=!1;else{e._xlength=Array.isArray(p)&&i.isArrayOrTypedArray(p[0])?g.length:g[0].length,e._ylength=g.length,n.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y","z"],c),h("text"),h("hovertext"),h("hovertemplate"),h("xhoverformat"),h("yhoverformat"),h("zhoverformat"),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lightposition.x","lightposition.y","lightposition.z","hidesurface","connectgaps","opacity"].forEach((function(t){h(t)}));var m=h("surfacecolor"),v=["x","y","z"];for(u=0;u<3;++u){var y="contours."+v[u],x=h(y+".show"),b=h(y+".highlight");if(x||b)for(f=0;f<3;++f)h(y+".project."+v[f]);x&&(h(y+".color"),h(y+".width"),h(y+".usecolormap")),b&&(h(y+".highlightcolor"),h(y+".highlightwidth")),h(y+".start"),h(y+".end"),h(y+".size")}m||(l(t,"zmin","cmin"),l(t,"zmax","cmax"),l(t,"zauto","cauto")),a(t,e,c,h,{prefix:"",cLetter:"c"}),s(t,e,c,h),e._length=null}},opacityscaleDefaults:s}},{"../../components/colorscale/defaults":376,"../../lib":503,"../../registry":638,"./attributes":1057}],1061:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults").supplyDefaults,colorbar:{min:"cmin",max:"cmax"},calc:t("./calc"),plot:t("./convert"),moduleType:"trace",name:"surface",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","2dMap","showLegend"],meta:{}}},{"../../plots/gl3d":598,"./attributes":1057,"./calc":1058,"./convert":1059,"./defaults":1060}],1062:[function(t,e,r){"use strict";var n=t("../../components/annotations/attributes"),i=t("../../lib/extend").extendFlat,a=t("../../plot_api/edit_types").overrideAll,o=t("../../plots/font_attributes"),s=t("../../plots/domain").attributes,l=t("../../plots/cartesian/axis_format_attributes").descriptionOnlyNumbers;(e.exports=a({domain:s({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null},columnorder:{valType:"data_array"},header:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:l("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:28},align:i({},n.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:i({},o({arrayOk:!0}))},cells:{values:{valType:"data_array",dflt:[]},format:{valType:"data_array",dflt:[],description:l("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null},suffix:{valType:"string",arrayOk:!0,dflt:null},height:{valType:"number",dflt:20},align:i({},n.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white"}},font:i({},o({arrayOk:!0}))}},"calc","from-root")).transforms=void 0},{"../../components/annotations/attributes":349,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585}],1063:[function(t,e,r){"use strict";var n=t("../../plots/get_data").getModuleCalcData,i=t("./plot");r.name="table",r.plot=function(t){var e=n(t.calcdata,"table")[0];e.length&&i(t,e)},r.clean=function(t,e,r,n){var i=n._has&&n._has("table"),a=e._has&&e._has("table");i&&!a&&n._paperdiv.selectAll(".table").remove()}},{"../../plots/get_data":593,"./plot":1070}],1064:[function(t,e,r){"use strict";var n=t("../../lib/gup").wrap;e.exports=function(){return n({})}},{"../../lib/gup":500}],1065:[function(t,e,r){"use strict";e.exports={cellPad:8,columnExtentOffset:10,columnTitleOffset:28,emptyHeaderHeight:16,latexCheck:/^\$.*\$$/,goldenRatio:1.618,lineBreaker:"<br>",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},{}],1066:[function(t,e,r){"use strict";var n=t("./constants"),i=t("../../lib/extend").extendFlat,a=t("fast-isnumeric");function o(t){if(Array.isArray(t)){for(var e=0,r=0;r<t.length;r++)e=Math.max(e,o(t[r]));return e}return t}function s(t,e){return t+e}function l(t){var e,r=t.slice(),n=1/0,i=0;for(e=0;e<r.length;e++)Array.isArray(r[e])||(r[e]=[r[e]]),n=Math.min(n,r[e].length),i=Math.max(i,r[e].length);if(n!==i)for(e=0;e<r.length;e++){var a=i-r[e].length;a&&(r[e]=r[e].concat(c(a)))}return r}function c(t){for(var e=new Array(t),r=0;r<t;r++)e[r]="";return e}function u(t){return t.calcdata.columns.reduce((function(e,r){return r.xIndex<t.xIndex?e+r.columnWidth:e}),0)}function f(t,e){return Object.keys(t).map((function(r){return i({},t[r],{auxiliaryBlocks:e})}))}function h(t,e){for(var r,n={},i=0,a=0,o={firstRowIndex:null,lastRowIndex:null,rows:[]},s=0,l=0,c=0;c<t.length;c++)r=t[c],o.rows.push({rowIndex:c,rowHeight:r}),((a+=r)>=e||c===t.length-1)&&(n[i]=o,o.key=l++,o.firstRowIndex=s,o.lastRowIndex=c,o={firstRowIndex:null,lastRowIndex:null,rows:[]},i+=a,s=c+1,a=0);return n}e.exports=function(t,e){var r=l(e.cells.values),p=function(t){return t.slice(e.header.values.length,t.length)},d=l(e.header.values);d.length&&!d[0].length&&(d[0]=[""],d=l(d));var g=d.concat(p(r).map((function(){return c((d[0]||[""]).length)}))),m=e.domain,v=Math.floor(t._fullLayout._size.w*(m.x[1]-m.x[0])),y=Math.floor(t._fullLayout._size.h*(m.y[1]-m.y[0])),x=e.header.values.length?g[0].map((function(){return e.header.height})):[n.emptyHeaderHeight],b=r.length?r[0].map((function(){return e.cells.height})):[],_=x.reduce(s,0),w=h(b,y-_+n.uplift),T=f(h(x,_),[]),k=f(w,T),A={},M=e._fullInput.columnorder.concat(p(r.map((function(t,e){return e})))),S=g.map((function(t,r){var n=Array.isArray(e.columnwidth)?e.columnwidth[Math.min(r,e.columnwidth.length-1)]:e.columnwidth;return a(n)?Number(n):1})),E=S.reduce(s,0);S=S.map((function(t){return t/E*v}));var L=Math.max(o(e.header.line.width),o(e.cells.line.width)),C={key:e.uid+t._context.staticPlot,translateX:m.x[0]*t._fullLayout._size.w,translateY:t._fullLayout._size.h*(1-m.y[1]),size:t._fullLayout._size,width:v,maxLineWidth:L,height:y,columnOrder:M,groupHeight:y,rowBlocks:k,headerRowBlocks:T,scrollY:0,cells:i({},e.cells,{values:r}),headerCells:i({},e.header,{values:g}),gdColumns:g.map((function(t){return t[0]})),gdColumnsOriginalOrder:g.map((function(t){return t[0]})),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:g.map((function(t,e){var r=A[t];return A[t]=(r||0)+1,{key:t+"__"+A[t],label:t,specIndex:e,xIndex:M[e],xScale:u,x:void 0,calcdata:void 0,columnWidth:S[e]}}))};return C.columns.forEach((function(t){t.calcdata=C,t.x=u(t)})),C}},{"../../lib/extend":493,"./constants":1065,"fast-isnumeric":190}],1067:[function(t,e,r){"use strict";var n=t("../../lib/extend").extendFlat;r.splitToPanels=function(t){var e=[0,0],r=n({},t,{key:"header",type:"header",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!0,values:t.calcdata.headerCells.values[t.specIndex],rowBlocks:t.calcdata.headerRowBlocks,calcdata:n({},t.calcdata,{cells:t.calcdata.headerCells})});return[n({},t,{key:"cells1",type:"cells",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),n({},t,{key:"cells2",type:"cells",page:1,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),r]},r.splitToCells=function(t){var e=function(t){var e=t.rowBlocks[t.page],r=e?e.rows[0].rowIndex:0,n=e?r+e.rows.length:0;return[r,n]}(t);return(t.values||[]).slice(e[0],e[1]).map((function(r,n){return{keyWithinBlock:n+("string"==typeof r&&r.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:e[0]+n,column:t,calcdata:t.calcdata,page:t.page,rowBlocks:t.rowBlocks,value:r}}))}},{"../../lib/extend":493}],1068:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../plots/domain").defaults;e.exports=function(t,e,r,o){function s(r,a){return n.coerce(t,e,i,r,a)}a(e,o,s),s("columnwidth"),s("header.values"),s("header.format"),s("header.align"),s("header.prefix"),s("header.suffix"),s("header.height"),s("header.line.width"),s("header.line.color"),s("header.fill.color"),n.coerceFont(s,"header.font",n.extendFlat({},o.font)),function(t,e){for(var r=t.columnorder||[],n=t.header.values.length,i=r.slice(0,n),a=i.slice().sort((function(t,e){return t-e})),o=i.map((function(t){return a.indexOf(t)})),s=o.length;s<n;s++)o.push(s);e("columnorder",o)}(e,s),s("cells.values"),s("cells.format"),s("cells.align"),s("cells.prefix"),s("cells.suffix"),s("cells.height"),s("cells.line.width"),s("cells.line.color"),s("cells.fill.color"),n.coerceFont(s,"cells.font",n.extendFlat({},o.font)),e._length=null}},{"../../lib":503,"../../plots/domain":584,"./attributes":1062}],1069:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("./calc"),plot:t("./plot"),moduleType:"trace",name:"table",basePlotModule:t("./base_plot"),categories:["noOpacity"],meta:{}}},{"./attributes":1062,"./base_plot":1063,"./calc":1064,"./defaults":1068,"./plot":1070}],1070:[function(t,e,r){"use strict";var n=t("./constants"),i=t("@plotly/d3"),a=t("../../lib").numberFormat,o=t("../../lib/gup"),s=t("../../components/drawing"),l=t("../../lib/svg_text_utils"),c=t("../../lib").raiseToTop,u=t("../../lib").strTranslate,f=t("../../lib").cancelTransition,h=t("./data_preparation_helper"),p=t("./data_split_helpers"),d=t("../../components/color");function g(t){return Math.ceil(t.calcdata.maxLineWidth/2)}function m(t,e){return"clip"+t._fullLayout._uid+"_scrollAreaBottomClip_"+e.key}function v(t,e){return"clip"+t._fullLayout._uid+"_columnBoundaryClippath_"+e.calcdata.key+"_"+e.specIndex}function y(t){return[].concat.apply([],t.map((function(t){return t}))).map((function(t){return t.__data__}))}function x(t,e,r){var a=t.selectAll("."+n.cn.scrollbarKit).data(o.repeat,o.keyFun);a.enter().append("g").classed(n.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),a.each((function(t){var e=t.scrollbarState;e.totalHeight=function(t){var e=t.rowBlocks;return D(e,e.length-1)+(e.length?R(e[e.length-1],1/0):1)}(t),e.scrollableAreaHeight=t.groupHeight-S(t),e.currentlyVisibleHeight=Math.min(e.totalHeight,e.scrollableAreaHeight),e.ratio=e.currentlyVisibleHeight/e.totalHeight,e.barLength=Math.max(e.ratio*e.currentlyVisibleHeight,n.goldenRatio*n.scrollbarWidth),e.barWiggleRoom=e.currentlyVisibleHeight-e.barLength,e.wiggleRoom=Math.max(0,e.totalHeight-e.scrollableAreaHeight),e.topY=0===e.barWiggleRoom?0:t.scrollY/e.wiggleRoom*e.barWiggleRoom,e.bottomY=e.topY+e.barLength,e.dragMultiplier=e.wiggleRoom/e.barWiggleRoom})).attr("transform",(function(t){var e=t.width+n.scrollbarWidth/2+n.scrollbarOffset;return u(e,S(t))}));var s=a.selectAll("."+n.cn.scrollbar).data(o.repeat,o.keyFun);s.enter().append("g").classed(n.cn.scrollbar,!0);var l=s.selectAll("."+n.cn.scrollbarSlider).data(o.repeat,o.keyFun);l.enter().append("g").classed(n.cn.scrollbarSlider,!0),l.attr("transform",(function(t){return u(0,t.scrollbarState.topY||0)}));var c=l.selectAll("."+n.cn.scrollbarGlyph).data(o.repeat,o.keyFun);c.enter().append("line").classed(n.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",n.scrollbarWidth).attr("stroke-linecap","round").attr("y1",n.scrollbarWidth/2),c.attr("y2",(function(t){return t.scrollbarState.barLength-n.scrollbarWidth/2})).attr("stroke-opacity",(function(t){return t.columnDragInProgress||!t.scrollbarState.barWiggleRoom||r?0:.4})),c.transition().delay(0).duration(0),c.transition().delay(n.scrollbarHideDelay).duration(n.scrollbarHideDuration).attr("stroke-opacity",0);var f=s.selectAll("."+n.cn.scrollbarCaptureZone).data(o.repeat,o.keyFun);f.enter().append("line").classed(n.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",n.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",(function(r){var n=i.event.y,a=this.getBoundingClientRect(),o=r.scrollbarState,s=n-a.top,l=i.scale.linear().domain([0,o.scrollableAreaHeight]).range([0,o.totalHeight]).clamp(!0);o.topY<=s&&s<=o.bottomY||L(e,t,null,l(s-o.barLength/2))(r)})).call(i.behavior.drag().origin((function(t){return i.event.stopPropagation(),t.scrollbarState.scrollbarScrollInProgress=!0,t})).on("drag",L(e,t)).on("dragend",(function(){}))),f.attr("y2",(function(t){return t.scrollbarState.scrollableAreaHeight})),e._context.staticPlot&&(c.remove(),f.remove())}function b(t,e,r,a){var l=function(t){var e=t.selectAll("."+n.cn.columnCell).data(p.splitToCells,(function(t){return t.keyWithinBlock}));return e.enter().append("g").classed(n.cn.columnCell,!0),e.exit().remove(),e}(function(t){var e=t.selectAll("."+n.cn.columnCells).data(o.repeat,o.keyFun);return e.enter().append("g").classed(n.cn.columnCells,!0),e.exit().remove(),e}(r));!function(t){t.each((function(t,e){var r=t.calcdata.cells.font,n=t.column.specIndex,i={size:T(r.size,n,e),color:T(r.color,n,e),family:T(r.family,n,e)};t.rowNumber=t.key,t.align=T(t.calcdata.cells.align,n,e),t.cellBorderWidth=T(t.calcdata.cells.line.width,n,e),t.font=i}))}(l),function(t){t.attr("width",(function(t){return t.column.columnWidth})).attr("stroke-width",(function(t){return t.cellBorderWidth})).each((function(t){var e=i.select(this);d.stroke(e,T(t.calcdata.cells.line.color,t.column.specIndex,t.rowNumber)),d.fill(e,T(t.calcdata.cells.fill.color,t.column.specIndex,t.rowNumber))}))}(function(t){var e=t.selectAll("."+n.cn.cellRect).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append("rect").classed(n.cn.cellRect,!0),e}(l));var c=function(t){var e=t.selectAll("."+n.cn.cellText).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append("text").classed(n.cn.cellText,!0).style("cursor",(function(){return"auto"})).on("mousedown",(function(){i.event.stopPropagation()})),e}(function(t){var e=t.selectAll("."+n.cn.cellTextHolder).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append("g").classed(n.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),e}(l));!function(t){t.each((function(t){s.font(i.select(this),t.font)}))}(c),_(c,e,a,t),z(l)}function _(t,e,r,o){t.text((function(t){var e=t.column.specIndex,r=t.rowNumber,i=t.value,o="string"==typeof i,s=o&&i.match(/<br>/i),l=!o||s;t.mayHaveMarkup=o&&i.match(/[<&>]/);var c,u="string"==typeof(c=i)&&c.match(n.latexCheck);t.latex=u;var f,h,p=u?"":T(t.calcdata.cells.prefix,e,r)||"",d=u?"":T(t.calcdata.cells.suffix,e,r)||"",g=u?null:T(t.calcdata.cells.format,e,r)||null,m=p+(g?a(g)(t.value):t.value)+d;if(t.wrappingNeeded=!t.wrapped&&!l&&!u&&(f=w(m)),t.cellHeightMayIncrease=s||u||t.mayHaveMarkup||(void 0===f?w(m):f),t.needsConvertToTspans=t.mayHaveMarkup||t.wrappingNeeded||t.latex,t.wrappingNeeded){var v=(" "===n.wrapSplitCharacter?m.replace(/<a href=/gi,"<a_href="):m).split(n.wrapSplitCharacter),y=" "===n.wrapSplitCharacter?v.map((function(t){return t.replace(/<a_href=/gi,"<a href=")})):v;t.fragments=y.map((function(t){return{text:t,width:null}})),t.fragments.push({fragment:n.wrapSpacer,width:null}),h=y.join(n.lineBreaker)+n.lineBreaker+n.wrapSpacer}else delete t.fragments,h=m;return h})).attr("dy",(function(t){return t.needsConvertToTspans?0:"0.75em"})).each((function(t){var a=i.select(this),s=t.wrappingNeeded?P:I;t.needsConvertToTspans?l.convertToTspans(a,o,s(r,this,e,o,t)):i.select(this.parentNode).attr("transform",(function(t){return u(O(t),n.cellPad)})).attr("text-anchor",(function(t){return{left:"start",center:"middle",right:"end"}[t.align]}))}))}function w(t){return-1!==t.indexOf(n.wrapSplitCharacter)}function T(t,e,r){if(Array.isArray(t)){var n=t[Math.min(e,t.length-1)];return Array.isArray(n)?n[Math.min(r,n.length-1)]:n}return t}function k(t,e,r){t.transition().ease(n.releaseTransitionEase).duration(n.releaseTransitionDuration).attr("transform",u(e.x,r))}function A(t){return"cells"===t.type}function M(t){return"header"===t.type}function S(t){return(t.rowBlocks.length?t.rowBlocks[0].auxiliaryBlocks:[]).reduce((function(t,e){return t+R(e,1/0)}),0)}function E(t,e,r){var n=y(e)[0];if(void 0!==n){var i=n.rowBlocks,a=n.calcdata,o=D(i,i.length),s=n.calcdata.groupHeight-S(n),l=a.scrollY=Math.max(0,Math.min(o-s,a.scrollY)),c=function(t,e,r){for(var n=[],i=0,a=0;a<t.length;a++){for(var o=t[a],s=o.rows,l=0,c=0;c<s.length;c++)l+=s[c].rowHeight;o.allRowsHeight=l;e<i+l&&e+r>i&&n.push(a),i+=l}return n}(i,l,s);1===c.length&&(c[0]===i.length-1?c.unshift(c[0]-1):c.push(c[0]+1)),c[0]%2&&c.reverse(),e.each((function(t,e){t.page=c[e],t.scrollY=l})),e.attr("transform",(function(t){var e=D(t.rowBlocks,t.page)-t.scrollY;return u(0,e)})),t&&(C(t,r,e,c,n.prevPages,n,0),C(t,r,e,c,n.prevPages,n,1),x(r,t))}}function L(t,e,r,a){return function(o){var s=o.calcdata?o.calcdata:o,l=e.filter((function(t){return s.key===t.key})),c=r||s.scrollbarState.dragMultiplier,u=s.scrollY;s.scrollY=void 0===a?s.scrollY+c*i.event.dy:a;var f=l.selectAll("."+n.cn.yColumn).selectAll("."+n.cn.columnBlock).filter(A);return E(t,f,l),s.scrollY===u}}function C(t,e,r,n,i,a,o){n[o]!==i[o]&&(clearTimeout(a.currentRepaint[o]),a.currentRepaint[o]=setTimeout((function(){var a=r.filter((function(t,e){return e===o&&n[e]!==i[e]}));b(t,e,a,r),i[o]=n[o]})))}function P(t,e,r,a){return function(){var o=i.select(e.parentNode);o.each((function(t){var e=t.fragments;o.selectAll("tspan.line").each((function(t,r){e[r].width=this.getComputedTextLength()}));var r,i,a=e[e.length-1].width,s=e.slice(0,-1),l=[],c=0,u=t.column.columnWidth-2*n.cellPad;for(t.value="";s.length;)c+(i=(r=s.shift()).width+a)>u&&(t.value+=l.join(n.wrapSpacer)+n.lineBreaker,l=[],c=0),l.push(r.text),c+=i;c&&(t.value+=l.join(n.wrapSpacer)),t.wrapped=!0})),o.selectAll("tspan.line").remove(),_(o.select("."+n.cn.cellText),r,t,a),i.select(e.parentNode.parentNode).call(z)}}function I(t,e,r,a,o){return function(){if(!o.settledY){var s=i.select(e.parentNode),l=B(o),c=o.key-l.firstRowIndex,f=l.rows[c].rowHeight,h=o.cellHeightMayIncrease?e.parentNode.getBoundingClientRect().height+2*n.cellPad:f,p=Math.max(h,f);p-l.rows[c].rowHeight&&(l.rows[c].rowHeight=p,t.selectAll("."+n.cn.columnCell).call(z),E(null,t.filter(A),0),x(r,a,!0)),s.attr("transform",(function(){var t=this.parentNode.getBoundingClientRect(),e=i.select(this.parentNode).select("."+n.cn.cellRect).node().getBoundingClientRect(),r=this.transform.baseVal.consolidate(),a=e.top-t.top+(r?r.matrix.f:n.cellPad);return u(O(o,i.select(this.parentNode).select("."+n.cn.cellTextHolder).node().getBoundingClientRect().width),a)})),o.settledY=!0}}}function O(t,e){switch(t.align){case"left":return n.cellPad;case"right":return t.column.columnWidth-(e||0)-n.cellPad;case"center":return(t.column.columnWidth-(e||0))/2;default:return n.cellPad}}function z(t){t.attr("transform",(function(t){var e=t.rowBlocks[0].auxiliaryBlocks.reduce((function(t,e){return t+R(e,1/0)}),0),r=R(B(t),t.key);return u(0,r+e)})).selectAll("."+n.cn.cellRect).attr("height",(function(t){return(e=B(t),r=t.key,e.rows[r-e.firstRowIndex]).rowHeight;var e,r}))}function D(t,e){for(var r=0,n=e-1;n>=0;n--)r+=F(t[n]);return r}function R(t,e){for(var r=0,n=0;n<t.rows.length&&t.rows[n].rowIndex<e;n++)r+=t.rows[n].rowHeight;return r}function F(t){var e=t.allRowsHeight;if(void 0!==e)return e;for(var r=0,n=0;n<t.rows.length;n++)r+=t.rows[n].rowHeight;return t.allRowsHeight=r,r}function B(t){return t.rowBlocks[t.page]}e.exports=function(t,e){var r=!t._context.staticPlot,a=t._fullLayout._paper.selectAll("."+n.cn.table).data(e.map((function(e){var r=o.unwrap(e).trace;return h(t,r)})),o.keyFun);a.exit().remove(),a.enter().append("g").classed(n.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),a.attr("width",(function(t){return t.width+t.size.l+t.size.r})).attr("height",(function(t){return t.height+t.size.t+t.size.b})).attr("transform",(function(t){return u(t.translateX,t.translateY)}));var l=a.selectAll("."+n.cn.tableControlView).data(o.repeat,o.keyFun),d=l.enter().append("g").classed(n.cn.tableControlView,!0).style("box-sizing","content-box");if(r){var _="onwheel"in document?"wheel":"mousewheel";d.on("mousemove",(function(e){l.filter((function(t){return e===t})).call(x,t)})).on(_,(function(e){if(!e.scrollbarState.wheeling){e.scrollbarState.wheeling=!0;var r=e.scrollY+i.event.deltaY;L(t,l,null,r)(e)||(i.event.stopPropagation(),i.event.preventDefault()),e.scrollbarState.wheeling=!1}})).call(x,t,!0)}l.attr("transform",(function(t){return u(t.size.l,t.size.t)}));var w=l.selectAll("."+n.cn.scrollBackground).data(o.repeat,o.keyFun);w.enter().append("rect").classed(n.cn.scrollBackground,!0).attr("fill","none"),w.attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})),l.each((function(e){s.setClipUrl(i.select(this),m(t,e),t)}));var T=l.selectAll("."+n.cn.yColumn).data((function(t){return t.columns}),o.keyFun);T.enter().append("g").classed(n.cn.yColumn,!0),T.exit().remove(),T.attr("transform",(function(t){return u(t.x,0)})),r&&T.call(i.behavior.drag().origin((function(e){return k(i.select(this),e,-n.uplift),c(this),e.calcdata.columnDragInProgress=!0,x(l.filter((function(t){return e.calcdata.key===t.key})),t),e})).on("drag",(function(t){var e=i.select(this),r=function(e){return(t===e?i.event.x:e.x)+e.columnWidth/2};t.x=Math.max(-n.overdrag,Math.min(t.calcdata.width+n.overdrag-t.columnWidth,i.event.x)),y(T).filter((function(e){return e.calcdata.key===t.calcdata.key})).sort((function(t,e){return r(t)-r(e)})).forEach((function(e,r){e.xIndex=r,e.x=t===e?e.x:e.xScale(e)})),T.filter((function(e){return t!==e})).transition().ease(n.transitionEase).duration(n.transitionDuration).attr("transform",(function(t){return u(t.x,0)})),e.call(f).attr("transform",u(t.x,-n.uplift))})).on("dragend",(function(e){var r=i.select(this),n=e.calcdata;e.x=e.xScale(e),e.calcdata.columnDragInProgress=!1,k(r,e,0),function(t,e,r){var n=e.gdColumnsOriginalOrder;e.gdColumns.sort((function(t,e){return r[n.indexOf(t)]-r[n.indexOf(e)]})),e.columnorder=r,t.emit("plotly_restyle")}(t,n,n.columns.map((function(t){return t.xIndex})))}))),T.each((function(e){s.setClipUrl(i.select(this),v(t,e),t)}));var S=T.selectAll("."+n.cn.columnBlock).data(p.splitToPanels,o.keyFun);S.enter().append("g").classed(n.cn.columnBlock,!0).attr("id",(function(t){return t.key})),S.style("cursor",(function(t){return t.dragHandle?"ew-resize":t.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"}));var C=S.filter(M),P=S.filter(A);r&&P.call(i.behavior.drag().origin((function(t){return i.event.stopPropagation(),t})).on("drag",L(t,l,-1)).on("dragend",(function(){}))),b(t,l,C,S),b(t,l,P,S);var I=l.selectAll("."+n.cn.scrollAreaClip).data(o.repeat,o.keyFun);I.enter().append("clipPath").classed(n.cn.scrollAreaClip,!0).attr("id",(function(e){return m(t,e)}));var O=I.selectAll("."+n.cn.scrollAreaClipRect).data(o.repeat,o.keyFun);O.enter().append("rect").classed(n.cn.scrollAreaClipRect,!0).attr("x",-n.overdrag).attr("y",-n.uplift).attr("fill","none"),O.attr("width",(function(t){return t.width+2*n.overdrag})).attr("height",(function(t){return t.height+n.uplift})),T.selectAll("."+n.cn.columnBoundary).data(o.repeat,o.keyFun).enter().append("g").classed(n.cn.columnBoundary,!0);var z=T.selectAll("."+n.cn.columnBoundaryClippath).data(o.repeat,o.keyFun);z.enter().append("clipPath").classed(n.cn.columnBoundaryClippath,!0),z.attr("id",(function(e){return v(t,e)}));var D=z.selectAll("."+n.cn.columnBoundaryRect).data(o.repeat,o.keyFun);D.enter().append("rect").classed(n.cn.columnBoundaryRect,!0).attr("fill","none"),D.attr("width",(function(t){return t.columnWidth+2*g(t)})).attr("height",(function(t){return t.calcdata.height+2*g(t)+n.uplift})).attr("x",(function(t){return-g(t)})).attr("y",(function(t){return-g(t)})),E(null,P,l)}},{"../../components/color":366,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"./constants":1065,"./data_preparation_helper":1066,"./data_split_helpers":1067,"@plotly/d3":58}],1071:[function(t,e,r){"use strict";var n=t("../../plots/template_attributes").hovertemplateAttrs,i=t("../../plots/template_attributes").texttemplateAttrs,a=t("../../components/colorscale/attributes"),o=t("../../plots/domain").attributes,s=t("../pie/attributes"),l=t("../sunburst/attributes"),c=t("./constants"),u=t("../../lib/extend").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",editType:"plot"},squarifyratio:{valType:"number",min:1,dflt:1,editType:"plot"},flip:{valType:"flaglist",flags:["x","y"],dflt:"",editType:"plot"},pad:{valType:"number",min:0,dflt:3,editType:"plot"},editType:"calc"},marker:u({pad:{t:{valType:"number",min:0,editType:"plot"},l:{valType:"number",min:0,editType:"plot"},r:{valType:"number",min:0,editType:"plot"},b:{valType:"number",min:0,editType:"plot"},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style"},line:l.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,editType:"plot"},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:u({},s.textfont,{}),editType:"calc"},text:s.text,textinfo:l.textinfo,texttemplate:i({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:n({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:s.sort,root:l.root,domain:o({name:"treemap",trace:!0,editType:"calc"})}},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":900,"../sunburst/attributes":1045,"./constants":1074}],1072:[function(t,e,r){"use strict";var n=t("../../plots/plots");r.name="treemap",r.plot=function(t,e,i,a){n.plotBasePlot(r.name,t,e,i,a)},r.clean=function(t,e,i,a){n.cleanBasePlot(r.name,t,e,i,a)}},{"../../plots/plots":619}],1073:[function(t,e,r){"use strict";var n=t("../sunburst/calc");r.calc=function(t,e){return n.calc(t,e)},r.crossTraceCalc=function(t){return n._runCrossTraceCalc("treemap",t)}},{"../sunburst/calc":1047}],1074:[function(t,e,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},{}],1075:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../../components/color"),o=t("../../plots/domain").defaults,s=t("../bar/defaults").handleText,l=t("../bar/constants").TEXTPAD,c=t("../../components/colorscale"),u=c.hasColorscale,f=c.handleDefaults;e.exports=function(t,e,r,c){function h(r,a){return n.coerce(t,e,i,r,a)}var p=h("labels"),d=h("parents");if(p&&p.length&&d&&d.length){var g=h("values");g&&g.length?h("branchvalues"):h("count"),h("level"),h("maxdepth"),"squarify"===h("tiling.packing")&&h("tiling.squarifyratio"),h("tiling.flip"),h("tiling.pad");var m=h("text");h("texttemplate"),e.texttemplate||h("textinfo",Array.isArray(m)?"text+label":"label"),h("hovertext"),h("hovertemplate");var v=h("pathbar.visible");s(t,e,c,h,"auto",{hasPathbar:v,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("textposition");var y=-1!==e.textposition.indexOf("bottom");h("marker.line.width")&&h("marker.line.color",c.paper_bgcolor);var x=h("marker.colors");(e._hasColorscale=u(t,"marker","colors")||(t.marker||{}).coloraxis)?f(t,e,c,h,{prefix:"marker.",cLetter:"c"}):h("marker.depthfade",!(x||[]).length);var b=2*e.textfont.size;h("marker.pad.t",y?b/4:b),h("marker.pad.l",b/4),h("marker.pad.r",b/4),h("marker.pad.b",y?b:b/4),e._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},v&&(h("pathbar.thickness",e.pathbar.textfont.size+2*l),h("pathbar.side"),h("pathbar.edgeshape")),h("sort"),h("root.color"),o(e,c,h),e._length=null}else e.visible=!1}},{"../../components/color":366,"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/constants":650,"../bar/defaults":652,"./attributes":1071}],1076:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../sunburst/helpers"),a=t("../bar/uniform_text").clearMinTextSize,o=t("../bar/style").resizeText,s=t("./plot_one");e.exports=function(t,e,r,l,c){var u,f,h=c.type,p=c.drawDescendants,d=t._fullLayout,g=d["_"+h+"layer"],m=!r;(a(h,d),(u=g.selectAll("g.trace."+h).data(e,(function(t){return t[0].trace.uid}))).enter().append("g").classed("trace",!0).classed(h,!0),u.order(),!d.uniformtext.mode&&i.hasTransition(r))?(l&&(f=l()),n.transition().duration(r.duration).ease(r.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){g.selectAll("g.trace").each((function(e){s(t,e,this,r,p)}))}))):(u.each((function(e){s(t,e,this,r,p)})),d.uniformtext.mode&&o(t,g.selectAll(".trace"),h));m&&u.exit().remove()}},{"../bar/style":662,"../bar/uniform_text":664,"../sunburst/helpers":1051,"./plot_one":1085,"@plotly/d3":58}],1077:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../lib/svg_text_utils"),s=t("./partition"),l=t("./style").styleOne,c=t("./constants"),u=t("../sunburst/helpers"),f=t("../sunburst/fx");e.exports=function(t,e,r,h,p){var d=p.barDifY,g=p.width,m=p.height,v=p.viewX,y=p.viewY,x=p.pathSlice,b=p.toMoveInsideSlice,_=p.strTransform,w=p.hasTransition,T=p.handleSlicesExit,k=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,M={},S=t._fullLayout,E=e[0],L=E.trace,C=E.hierarchy,P=g/L._entryDepth,I=u.listPath(r.data,"id"),O=s(C.copy(),[g,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(O=O.filter((function(t){var e=I.indexOf(t.data.id);return-1!==e&&(t.x0=P*e,t.x1=P*(e+1),t.y0=d,t.y1=d+m,t.onPathbar=!0,!0)}))).reverse(),(h=h.data(O,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,!0,M,[g,m],x),h.order();var z=h;w&&(z=z.transition().each("end",(function(){var e=n.select(this);u.setSliceCursor(e,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),z.each((function(s){s._x0=v(s.x0),s._x1=v(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=v(s.x1-Math.min(g,m)/2),s._hoverY=y(s.y1-m/2);var h=n.select(this),p=i.ensureSingle(h,"path","surface",(function(t){t.style("pointer-events","all")}));w?p.transition().attrTween("d",(function(t){var e=k(t,!0,M,[g,m]);return function(t){return x(e(t))}})):p.attr("d",x),h.call(f,r,t,e,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:t._transitioning}),p.call(l,s,L,{hovered:!1}),s._text=(u.getPtLabel(s)||"").split("<br>").join(" ")||"";var d=i.ensureSingle(h,"g","slicetext"),T=i.ensureSingle(d,"text","",(function(t){t.attr("data-notex",1)})),E=i.ensureUniformFontSize(t,u.determineTextFont(L,s,S.font,{onPathbar:!0}));T.text(s._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,E).call(o.convertToTspans,t),s.textBB=a.bBox(T.node()),s.transform=b(s,{fontSize:E.size,onPathbar:!0}),s.transform.fontSize=E.size,w?T.transition().attrTween("transform",(function(t){var e=A(t,!0,M,[g,m]);return function(t){return _(e(t))}})):T.attr("transform",_(s))}))}},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1050,"../sunburst/helpers":1051,"./constants":1074,"./partition":1083,"./style":1086,"@plotly/d3":58}],1078:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../lib/svg_text_utils"),s=t("./partition"),l=t("./style").styleOne,c=t("./constants"),u=t("../sunburst/helpers"),f=t("../sunburst/fx"),h=t("../sunburst/plot").formatSliceLabel;e.exports=function(t,e,r,p,d){var g=d.width,m=d.height,v=d.viewX,y=d.viewY,x=d.pathSlice,b=d.toMoveInsideSlice,_=d.strTransform,w=d.hasTransition,T=d.handleSlicesExit,k=d.makeUpdateSliceInterpolator,A=d.makeUpdateTextInterpolator,M=d.prevEntry,S=t._fullLayout,E=e[0].trace,L=-1!==E.textposition.indexOf("left"),C=-1!==E.textposition.indexOf("right"),P=-1!==E.textposition.indexOf("bottom"),I=!P&&!E.marker.pad.t||P&&!E.marker.pad.b,O=s(r,[g,m],{packing:E.tiling.packing,squarifyratio:E.tiling.squarifyratio,flipX:E.tiling.flip.indexOf("x")>-1,flipY:E.tiling.flip.indexOf("y")>-1,pad:{inner:E.tiling.pad,top:E.marker.pad.t,left:E.marker.pad.l,right:E.marker.pad.r,bottom:E.marker.pad.b}}).descendants(),z=1/0,D=-1/0;O.forEach((function(t){var e=t.depth;e>=E._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):(z=Math.min(z,e),D=Math.max(D,e))})),p=p.data(O,u.getPtId),E._maxVisibleLayers=isFinite(D)?D-z+1:0,p.enter().append("g").classed("slice",!0),T(p,!1,{},[g,m],x),p.order();var R=null;if(w&&M){var F=u.getPtId(M);p.each((function(t){null===R&&u.getPtId(t)===F&&(R={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})}))}var B=function(){return R||{x0:0,x1:g,y0:0,y1:m}},N=p;return w&&(N=N.transition().each("end",(function(){var e=n.select(this);u.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),N.each((function(s){var p=u.isHeader(s,E);s._x0=v(s.x0),s._x1=v(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=v(s.x1-E.marker.pad.r),s._hoverY=y(P?s.y1-E.marker.pad.b/2:s.y0+E.marker.pad.t/2);var d=n.select(this),T=i.ensureSingle(d,"path","surface",(function(t){t.style("pointer-events","all")}));w?T.transition().attrTween("d",(function(t){var e=k(t,!1,B(),[g,m]);return function(t){return x(e(t))}})):T.attr("d",x),d.call(f,r,t,e,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,t,{isTransitioning:t._transitioning}),T.call(l,s,E,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=p?I?"":u.getPtLabel(s)||"":h(s,r,E,e,S)||"";var M=i.ensureSingle(d,"g","slicetext"),O=i.ensureSingle(M,"text","",(function(t){t.attr("data-notex",1)})),z=i.ensureUniformFontSize(t,u.determineTextFont(E,s,S.font));O.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",C?"end":L||p?"start":"middle").call(a.font,z).call(o.convertToTspans,t),s.textBB=a.bBox(O.node()),s.transform=b(s,{fontSize:z.size,isHeader:p}),s.transform.fontSize=z.size,w?O.transition().attrTween("transform",(function(t){var e=A(t,!1,B(),[g,m]);return function(t){return _(e(t))}})):O.attr("transform",_(s))})),R}},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1050,"../sunburst/helpers":1051,"../sunburst/plot":1055,"./constants":1074,"./partition":1083,"./style":1086,"@plotly/d3":58}],1079:[function(t,e,r){"use strict";e.exports=function t(e,r,n){var i;n.swapXY&&(i=e.x0,e.x0=e.y0,e.y0=i,i=e.x1,e.x1=e.y1,e.y1=i),n.flipX&&(i=e.x0,e.x0=r[0]-e.x1,e.x1=r[0]-i),n.flipY&&(i=e.y0,e.y0=r[1]-e.y1,e.y1=r[1]-i);var a=e.children;if(a)for(var o=0;o<a.length;o++)t(a[o],r,n)}},{}],1080:[function(t,e,r){"use strict";e.exports={moduleType:"trace",name:"treemap",basePlotModule:t("./base_plot"),categories:[],animatable:!0,attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc").calc,crossTraceCalc:t("./calc").crossTraceCalc,plot:t("./plot"),style:t("./style").style,colorbar:t("../scatter/marker_colorbar"),meta:{}}},{"../scatter/marker_colorbar":944,"./attributes":1071,"./base_plot":1072,"./calc":1073,"./defaults":1075,"./layout_attributes":1081,"./layout_defaults":1082,"./plot":1084,"./style":1086}],1081:[function(t,e,r){"use strict";e.exports={treemapcolorway:{valType:"colorlist",editType:"calc"},extendtreemapcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},{}],1082:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e){function r(r,a){return n.coerce(t,e,i,r,a)}r("treemapcolorway",e.colorway),r("extendtreemapcolors")}},{"../../lib":503,"./layout_attributes":1081}],1083:[function(t,e,r){"use strict";var n=t("d3-hierarchy"),i=t("./flip_tree");e.exports=function(t,e,r){var a,o=r.flipX,s=r.flipY,l="dice-slice"===r.packing,c=r.pad[s?"bottom":"top"],u=r.pad[o?"right":"left"],f=r.pad[o?"left":"right"],h=r.pad[s?"top":"bottom"];l&&(a=u,u=c,c=a,a=f,f=h,h=a);var p=n.treemap().tile(function(t,e){switch(t){case"squarify":return n.treemapSquarify.ratio(e);case"binary":return n.treemapBinary;case"dice":return n.treemapDice;case"slice":return n.treemapSlice;default:return n.treemapSliceDice}}(r.packing,r.squarifyratio)).paddingInner(r.pad.inner).paddingLeft(u).paddingRight(f).paddingTop(c).paddingBottom(h).size(l?[e[1],e[0]]:e)(t);return(l||o||s)&&i(p,e,{swapXY:l,flipX:o,flipY:s}),p}},{"./flip_tree":1079,"d3-hierarchy":115}],1084:[function(t,e,r){"use strict";var n=t("./draw"),i=t("./draw_descendants");e.exports=function(t,e,r,a){return n(t,e,r,a,{type:"treemap",drawDescendants:i})}},{"./draw":1076,"./draw_descendants":1078}],1085:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("d3-interpolate").interpolate,a=t("../sunburst/helpers"),o=t("../../lib"),s=t("../bar/constants").TEXTPAD,l=t("../bar/plot").toMoveInsideBar,c=t("../bar/uniform_text").recordMinTextSize,u=t("./constants"),f=t("./draw_ancestors");function h(t){return a.isHierarchyRoot(t)?"":a.getPtId(t)}e.exports=function(t,e,r,p,d){var g=t._fullLayout,m=e[0],v=m.trace,y="icicle"===v.type,x=m.hierarchy,b=a.findEntryWithLevel(x,v.level),_=n.select(r),w=_.selectAll("g.pathbar"),T=_.selectAll("g.slice");if(!b)return w.remove(),void T.remove();var k=a.isHierarchyRoot(b),A=!g.uniformtext.mode&&a.hasTransition(p),M=a.getMaxDepth(v),S=g._size,E=v.domain,L=S.w*(E.x[1]-E.x[0]),C=S.h*(E.y[1]-E.y[0]),P=L,I=v.pathbar.thickness,O=v.marker.line.width+u.gapWithPathbar,z=v.pathbar.visible?v.pathbar.side.indexOf("bottom")>-1?C+O:-(I+O):0,D={x0:P,x1:P,y0:z,y1:z+I},R=function(t,e,r){var n=v.tiling.pad,i=function(t){return t-n<=e.x0},a=function(t){return t+n>=e.x1},o=function(t){return t-n<=e.y0},s=function(t){return t+n>=e.y1};return t.x0===e.x0&&t.x1===e.x1&&t.y0===e.y0&&t.y1===e.y1?{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}:{x0:i(t.x0-n)?0:a(t.x0-n)?r[0]:t.x0,x1:i(t.x1+n)?0:a(t.x1+n)?r[0]:t.x1,y0:o(t.y0-n)?0:s(t.y0-n)?r[1]:t.y0,y1:o(t.y1+n)?0:s(t.y1+n)?r[1]:t.y1}},F=null,B={},N={},j=null,U=function(t,e){return e?B[h(t)]:N[h(t)]},V=function(t,e,r,n){if(e)return B[h(x)]||D;var i=N[v.level]||r;return function(t){return t.data.depth-b.data.depth<M}(t)?R(t,i,n):{}};m.hasMultipleRoots&&k&&M++,v._maxDepth=M,v._backgroundColor=g.paper_bgcolor,v._entryDepth=b.data.depth,v._atRootLevel=k;var H=-L/2+S.l+S.w*(E.x[1]+E.x[0])/2,q=-C/2+S.t+S.h*(1-(E.y[1]+E.y[0])/2),G=function(t){return H+t},Y=function(t){return q+t},W=Y(0),X=G(0),Z=function(t){return X+t},J=function(t){return W+t};function K(t,e){return t+","+e}var Q=Z(0),$=function(t){t.x=Math.max(Q,t.x)},tt=v.pathbar.edgeshape,et=function(t,e){var r=t.x0,n=t.x1,i=t.y0,a=t.y1,o=t.textBB,u=function(t){return-1!==v.textposition.indexOf(t)},f=u("bottom"),h=u("top")||e.isHeader&&!f?"start":f?"end":"middle",p=u("right"),d=u("left")||e.onPathbar?-1:p?1:0,m=v[y?"tiling":"marker"].pad;if(e.isHeader){if((r+=(y?m:m.l)-s)>=(n-=(y?m:m.r)-s)){var x=(r+n)/2;r=x,n=x}var b;f?i<(b=a-(y?m:m.b))&&b<a&&(i=b):i<(b=i+(y?m:m.t))&&b<a&&(a=b)}var _=l(r,n,i,a,o,{isHorizontal:!1,constrained:!0,angle:0,anchor:h,leftToRight:d});return _.fontSize=e.fontSize,_.targetX=G(_.targetX),_.targetY=Y(_.targetY),isNaN(_.targetX)||isNaN(_.targetY)?{}:(r!==n&&i!==a&&c(v.type,_,g),{scale:_.scale,rotate:_.rotate,textX:_.textX,textY:_.textY,anchorX:_.anchorX,anchorY:_.anchorY,targetX:_.targetX,targetY:_.targetY})},rt=function(t,e){for(var r,n=0,i=t;!r&&n<M;)n++,(i=i.parent)?r=U(i,e):n=M;return r||{}},nt=function(t,e,r,n,a){var s,l=U(t,e);if(l)s=l;else if(e)s=D;else if(F)if(t.parent){var c=j||r;c&&!e?s=R(t,c,n):(s={},o.extendFlat(s,rt(t,e)))}else s=o.extendFlat({},t),y&&("h"===a.orientation?a.flipX?s.x0=t.x1:s.x1=0:a.flipY?s.y0=t.y1:s.y1=0);else s={};return i(s,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})},it=function(t,e,r,n){var s=U(t,e),l={},u=V(t,e,r,n);o.extendFlat(l,{transform:et({x0:u.x0,x1:u.x1,y0:u.y0,y1:u.y1,textBB:t.textBB,_text:t._text},{isHeader:a.isHeader(t,v)})}),s?l=s:t.parent&&o.extendFlat(l,rt(t,e));var f=t.transform;return t.x0!==t.x1&&t.y0!==t.y1&&c(v.type,f,g),i(l,{transform:{scale:f.scale,rotate:f.rotate,textX:f.textX,textY:f.textY,anchorX:f.anchorX,anchorY:f.anchorY,targetX:f.targetX,targetY:f.targetY}})},at=function(t,e,r,a,o){var s=a[0],l=a[1];A?t.exit().transition().each((function(){var t=n.select(this);t.select("path.surface").transition().attrTween("d",(function(t){var r=function(t,e,r,n){var a,o=U(t,e);if(e)a=D;else{var s=U(b,e);a=s?R(t,s,n):{}}return i(o,a)}(t,e,0,[s,l]);return function(t){return o(r(t))}})),t.select("g.slicetext").attr("opacity",0)})).remove():t.exit().remove()},ot=function(t){var e=t.transform;return t.x0!==t.x1&&t.y0!==t.y1&&c(v.type,e,g),o.getTextTransform({textX:e.textX,textY:e.textY,anchorX:e.anchorX,anchorY:e.anchorY,targetX:e.targetX,targetY:e.targetY,scale:e.scale,rotate:e.rotate})};A&&(w.each((function(t){B[h(t)]={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1},t.transform&&(B[h(t)].transform={textX:t.transform.textX,textY:t.transform.textY,anchorX:t.transform.anchorX,anchorY:t.transform.anchorY,targetX:t.transform.targetX,targetY:t.transform.targetY,scale:t.transform.scale,rotate:t.transform.rotate})})),T.each((function(t){N[h(t)]={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1},t.transform&&(N[h(t)].transform={textX:t.transform.textX,textY:t.transform.textY,anchorX:t.transform.anchorX,anchorY:t.transform.anchorY,targetX:t.transform.targetX,targetY:t.transform.targetY,scale:t.transform.scale,rotate:t.transform.rotate}),!F&&a.isEntry(t)&&(F=t)}))),j=d(t,e,b,T,{width:L,height:C,viewX:G,viewY:Y,pathSlice:function(t){var e=G(t.x0),r=G(t.x1),n=Y(t.y0),i=Y(t.y1),a=r-e,o=i-n;if(!a||!o)return"";return"M"+K(e,n+0)+"L"+K(r-0,n)+"L"+K(r,i-0)+"L"+K(e+0,i)+"Z"},toMoveInsideSlice:et,prevEntry:F,makeUpdateSliceInterpolator:nt,makeUpdateTextInterpolator:it,handleSlicesExit:at,hasTransition:A,strTransform:ot}),v.pathbar.visible?f(t,e,b,w,{barDifY:z,width:P,height:I,viewX:Z,viewY:J,pathSlice:function(t){var e=Z(Math.max(Math.min(t.x0,t.x0),0)),r=Z(Math.min(Math.max(t.x1,t.x1),P)),n=J(t.y0),i=J(t.y1),a=I/2,o={},s={};o.x=e,s.x=r,o.y=s.y=(n+i)/2;var l={x:e,y:n},c={x:r,y:n},u={x:r,y:i},f={x:e,y:i};return">"===tt?(l.x-=a,c.x-=a,u.x-=a,f.x-=a):"/"===tt?(u.x-=a,f.x-=a,o.x-=a/2,s.x-=a/2):"\\"===tt?(l.x-=a,c.x-=a,o.x-=a/2,s.x-=a/2):"<"===tt&&(o.x-=a,s.x-=a),$(l),$(f),$(o),$(c),$(u),$(s),"M"+K(l.x,l.y)+"L"+K(c.x,c.y)+"L"+K(s.x,s.y)+"L"+K(u.x,u.y)+"L"+K(f.x,f.y)+"L"+K(o.x,o.y)+"Z"},toMoveInsideSlice:et,makeUpdateSliceInterpolator:nt,makeUpdateTextInterpolator:it,handleSlicesExit:at,hasTransition:A,strTransform:ot}):w.remove()}},{"../../lib":503,"../bar/constants":650,"../bar/plot":659,"../bar/uniform_text":664,"../sunburst/helpers":1051,"./constants":1074,"./draw_ancestors":1077,"@plotly/d3":58,"d3-interpolate":116}],1086:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../../lib"),o=t("../sunburst/helpers"),s=t("../bar/uniform_text").resizeText;function l(t,e,r,n){var s,l,c=(n||{}).hovered,u=e.data.data,f=u.i,h=u.color,p=o.isHierarchyRoot(e),d=1;if(c)s=r._hovered.marker.line.color,l=r._hovered.marker.line.width;else if(p&&h===r.root.color)d=100,s="rgba(0,0,0,0)",l=0;else if(s=a.castOption(r,f,"marker.line.color")||i.defaultLine,l=a.castOption(r,f,"marker.line.width")||0,!r._hasColorscale&&!e.onPathbar){var g=r.marker.depthfade;if(g){var m,v=i.combine(i.addOpacity(r._backgroundColor,.75),h);if(!0===g){var y=o.getMaxDepth(r);m=isFinite(y)?o.isLeaf(e)?0:r._maxVisibleLayers-(e.data.depth-r._entryDepth):e.data.height+1}else m=e.data.depth-r._entryDepth,r._atRootLevel||m++;if(m>0)for(var x=0;x<m;x++){var b=.5*x/m;h=i.combine(i.addOpacity(v,b),h)}}}t.style("stroke-width",l).call(i.fill,h).call(i.stroke,s).style("opacity",d)}e.exports={style:function(t){var e=t._fullLayout._treemaplayer.selectAll(".trace");s(t,e,"treemap"),e.each((function(t){var e=n.select(this),r=t[0].trace;e.style("opacity",r.opacity),e.selectAll("path.surface").each((function(t){n.select(this).call(l,t,r,{hovered:!1})}))}))},styleOne:l}},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"../sunburst/helpers":1051,"@plotly/d3":58}],1087:[function(t,e,r){"use strict";var n=t("../box/attributes"),i=t("../../lib/extend").extendFlat,a=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat;e.exports={y:n.y,x:n.x,x0:n.x0,y0:n.y0,xhoverformat:a("x"),yhoverformat:a("y"),name:i({},n.name,{}),orientation:i({},n.orientation,{}),bandwidth:{valType:"number",min:0,editType:"calc"},scalegroup:{valType:"string",dflt:"",editType:"calc"},scalemode:{valType:"enumerated",values:["width","count"],dflt:"width",editType:"calc"},spanmode:{valType:"enumerated",values:["soft","hard","manual"],dflt:"soft",editType:"calc"},span:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:n.fillcolor,points:i({},n.boxpoints,{}),jitter:i({},n.jitter,{}),pointpos:i({},n.pointpos,{}),width:i({},n.width,{}),marker:n.marker,text:n.text,hovertext:n.hovertext,hovertemplate:n.hovertemplate,box:{visible:{valType:"boolean",dflt:!1,editType:"plot"},width:{valType:"number",min:0,max:1,dflt:.25,editType:"plot"},fillcolor:{valType:"color",editType:"style"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,editType:"style"},editType:"style"},editType:"plot"},meanline:{visible:{valType:"boolean",dflt:!1,editType:"plot"},color:{valType:"color",editType:"style"},width:{valType:"number",min:0,editType:"style"},editType:"plot"},side:{valType:"enumerated",values:["both","positive","negative"],dflt:"both",editType:"calc"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup,selected:n.selected,unselected:n.unselected,hoveron:{valType:"flaglist",flags:["violins","points","kde"],dflt:"violins+points+kde",extras:["all"],editType:"style"}}},{"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../box/attributes":673}],1088:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../box/calc"),o=t("./helpers"),s=t("../../constants/numerical").BADNUM;function l(t,e,r){var i=e.max-e.min;if(!i)return t.bandwidth?t.bandwidth:0;if(t.bandwidth)return Math.max(t.bandwidth,i/1e4);var a=r.length,o=n.stdev(r,a-1,e.mean);return Math.max(function(t,e,r){return 1.059*Math.min(e,r/1.349)*Math.pow(t,-.2)}(a,o,e.q3-e.q1),i/100)}function c(t,e,r,n){var a,o=t.spanmode,l=t.span||[],c=[e.min,e.max],u=[e.min-2*n,e.max+2*n];function f(n){var i=l[n],a="multicategory"===r.type?r.r2c(i):r.d2c(i,0,t[e.valLetter+"calendar"]);return a===s?u[n]:a}var h={type:"linear",range:a="soft"===o?u:"hard"===o?c:[f(0),f(1)]};return i.setConvert(h),h.cleanRange(),a}e.exports=function(t,e){var r=a(t,e);if(r[0].t.empty)return r;for(var s=t._fullLayout,u=i.getFromId(t,e["h"===e.orientation?"xaxis":"yaxis"]),f=1/0,h=-1/0,p=0,d=0,g=0;g<r.length;g++){var m=r[g],v=m.pts.map(o.extractVal),y=m.bandwidth=l(e,m,v),x=m.span=c(e,m,u,y);if(m.min===m.max&&0===y)x=m.span=[m.min,m.max],m.density=[{v:1,t:x[0]}],m.bandwidth=y,p=Math.max(p,1);else{var b=x[1]-x[0],_=Math.ceil(b/(y/3)),w=b/_;if(!isFinite(w)||!isFinite(_))return n.error("Something went wrong with computing the violin span"),r[0].t.empty=!0,r;var T=o.makeKDE(m,e,v);m.density=new Array(_);for(var k=0,A=x[0];A<x[1]+w/2;k++,A+=w){var M=T(A);m.density[k]={v:M,t:A},p=Math.max(p,M)}}d=Math.max(d,v.length),f=Math.min(f,x[0]),h=Math.max(h,x[1])}var S=i.findExtremes(u,[f,h],{padded:!0});if(e._extremes[u._id]=S,e.width)r[0].t.maxKDE=p;else{var E=s._violinScaleGroupStats,L=e.scalegroup,C=E[L];C?(C.maxKDE=Math.max(C.maxKDE,p),C.maxCount=Math.max(C.maxCount,d)):E[L]={maxKDE:p,maxCount:d}}return r[0].t.labels.kde=n._(t,"kde:"),r}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axes":554,"../box/calc":674,"./helpers":1091}],1089:[function(t,e,r){"use strict";var n=t("../box/cross_trace_calc").setPositionOffset,i=["v","h"];e.exports=function(t,e){for(var r=t.calcdata,a=e.xaxis,o=e.yaxis,s=0;s<i.length;s++){for(var l=i[s],c="h"===l?o:a,u=[],f=0;f<r.length;f++){var h=r[f],p=h[0].t,d=h[0].trace;!0!==d.visible||"violin"!==d.type||p.empty||d.orientation!==l||d.xaxis!==a._id||d.yaxis!==o._id||u.push(f)}n("violin",t,u,c)}}},{"../box/cross_trace_calc":675}],1090:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../components/color"),a=t("../box/defaults"),o=t("./attributes");e.exports=function(t,e,r,s){function l(r,i){return n.coerce(t,e,o,r,i)}function c(r,i){return n.coerce2(t,e,o,r,i)}if(a.handleSampleDefaults(t,e,l,s),!1!==e.visible){l("bandwidth"),l("side"),l("width")||(l("scalegroup",e.name),l("scalemode"));var u,f=l("span");Array.isArray(f)&&(u="manual"),l("spanmode",u);var h=l("line.color",(t.marker||{}).color||r),p=l("line.width"),d=l("fillcolor",i.addOpacity(e.line.color,.5));a.handlePointsDefaults(t,e,l,{prefix:""});var g=c("box.width"),m=c("box.fillcolor",d),v=c("box.line.color",h),y=c("box.line.width",p);l("box.visible",Boolean(g||m||v||y))||(e.box={visible:!1});var x=c("meanline.color",h),b=c("meanline.width",p);l("meanline.visible",Boolean(x||b))||(e.meanline={visible:!1})}}},{"../../components/color":366,"../../lib":503,"../box/defaults":676,"./attributes":1087}],1091:[function(t,e,r){"use strict";var n=t("../../lib"),i=function(t){return 1/Math.sqrt(2*Math.PI)*Math.exp(-.5*t*t)};r.makeKDE=function(t,e,r){var n=r.length,a=i,o=t.bandwidth,s=1/(n*o);return function(t){for(var e=0,i=0;i<n;i++)e+=a((t-r[i])/o);return s*e}},r.getPositionOnKdePath=function(t,e,r){var i,a;"h"===e.orientation?(i="y",a="x"):(i="x",a="y");var o=n.findPointOnPath(t.path,r,a,{pathLength:t.pathLength}),s=t.posCenterPx,l=o[i];return[l,"both"===e.side?2*s-l:s]},r.getKdeValue=function(t,e,n){var i=t.pts.map(r.extractVal);return r.makeKDE(t,e,i)(n)/t.posDensityScale},r.extractVal=function(t){return t.v}},{"../../lib":503}],1092:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../../plots/cartesian/axes"),a=t("../box/hover"),o=t("./helpers");e.exports=function(t,e,r,s,l){l||(l={});var c,u,f=l.hoverLayer,h=t.cd,p=h[0].trace,d=p.hoveron,g=-1!==d.indexOf("violins"),m=-1!==d.indexOf("kde"),v=[];if(g||m){var y=a.hoverOnBoxes(t,e,r,s);if(m&&y.length>0){var x,b,_,w,T,k=t.xa,A=t.ya;"h"===p.orientation?(T=e,x="y",_=A,b="x",w=k):(T=r,x="x",_=k,b="y",w=A);var M=h[t.index];if(T>=M.span[0]&&T<=M.span[1]){var S=n.extendFlat({},t),E=w.c2p(T,!0),L=o.getKdeValue(M,p,T),C=o.getPositionOnKdePath(M,p,E),P=_._offset,I=_._length;S[x+"0"]=C[0],S[x+"1"]=C[1],S[b+"0"]=S[b+"1"]=E,S[b+"Label"]=b+": "+i.hoverLabelText(w,T,p[b+"hoverformat"])+", "+h[0].t.labels.kde+" "+L.toFixed(3),S.spikeDistance=y[0].spikeDistance;var O=x+"Spike";S[O]=y[0][O],y[0].spikeDistance=void 0,y[0][O]=void 0,S.hovertemplate=!1,v.push(S),(u={stroke:t.color})[x+"1"]=n.constrain(P+C[0],P,P+I),u[x+"2"]=n.constrain(P+C[1],P,P+I),u[b+"1"]=u[b+"2"]=w._offset+E}}g&&(v=v.concat(y))}-1!==d.indexOf("points")&&(c=a.hoverOnPoints(t,e,r));var z=f.selectAll(".violinline-"+p.uid).data(u?[0]:[]);return z.enter().append("line").classed("violinline-"+p.uid,!0).attr("stroke-width",1.5),z.exit().remove(),z.attr(u),"closest"===s?c?[c]:v:c?(v.push(c),v):v}},{"../../lib":503,"../../plots/cartesian/axes":554,"../box/hover":678,"./helpers":1091}],1093:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults"),crossTraceDefaults:t("../box/defaults").crossTraceDefaults,supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc"),crossTraceCalc:t("./cross_trace_calc"),plot:t("./plot"),style:t("./style"),styleOnSelect:t("../scatter/style").styleOnSelect,hoverPoints:t("./hover"),selectPoints:t("../box/select"),moduleType:"trace",name:"violin",basePlotModule:t("../../plots/cartesian"),categories:["cartesian","svg","symbols","oriented","box-violin","showLegend","violinLayout","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"../box/defaults":676,"../box/select":683,"../scatter/style":950,"./attributes":1087,"./calc":1088,"./cross_trace_calc":1089,"./defaults":1090,"./hover":1092,"./layout_attributes":1094,"./layout_defaults":1095,"./plot":1096,"./style":1097}],1094:[function(t,e,r){"use strict";var n=t("../box/layout_attributes"),i=t("../../lib").extendFlat;e.exports={violinmode:i({},n.boxmode,{}),violingap:i({},n.boxgap,{}),violingroupgap:i({},n.boxgroupgap,{})}},{"../../lib":503,"../box/layout_attributes":680}],1095:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes"),a=t("../box/layout_defaults");e.exports=function(t,e,r){a._supply(t,e,r,(function(r,a){return n.coerce(t,e,i,r,a)}),"violin")}},{"../../lib":503,"../box/layout_defaults":681,"./layout_attributes":1094}],1096:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../box/plot"),s=t("../scatter/line_points"),l=t("./helpers");e.exports=function(t,e,r,c){var u=t._fullLayout,f=e.xaxis,h=e.yaxis;function p(t){var e=s(t,{xaxis:f,yaxis:h,connectGaps:!0,baseTolerance:.75,shape:"spline",simplify:!0,linearized:!0});return a.smoothopen(e[0],1)}i.makeTraceGroups(c,r,"trace violins").each((function(t){var r=n.select(this),a=t[0],s=a.t,c=a.trace;if(!0!==c.visible||s.empty)r.remove();else{var d=s.bPos,g=s.bdPos,m=e[s.valLetter+"axis"],v=e[s.posLetter+"axis"],y="both"===c.side,x=y||"positive"===c.side,b=y||"negative"===c.side,_=r.selectAll("path.violin").data(i.identity);_.enter().append("path").style("vector-effect","non-scaling-stroke").attr("class","violin"),_.exit().remove(),_.each((function(t){var e,r,i,a,o,l,f,h,_=n.select(this),w=t.density,T=w.length,k=v.c2l(t.pos+d,!0),A=v.l2p(k);if(c.width)e=s.maxKDE/g;else{var M=u._violinScaleGroupStats[c.scalegroup];e="count"===c.scalemode?M.maxKDE/g*(M.maxCount/t.pts.length):M.maxKDE/g}if(x){for(f=new Array(T),o=0;o<T;o++)(h=f[o]={})[s.posLetter]=k+w[o].v/e,h[s.valLetter]=m.c2l(w[o].t,!0);r=p(f)}if(b){for(f=new Array(T),l=0,o=T-1;l<T;l++,o--)(h=f[l]={})[s.posLetter]=k-w[o].v/e,h[s.valLetter]=m.c2l(w[o].t,!0);i=p(f)}if(y)a=r+"L"+i.substr(1)+"Z";else{var S=[A,m.c2p(w[0].t)],E=[A,m.c2p(w[T-1].t)];"h"===c.orientation&&(S.reverse(),E.reverse()),a=x?"M"+S+"L"+r.substr(1)+"L"+E:"M"+E+"L"+i.substr(1)+"L"+S}_.attr("d",a),t.posCenterPx=A,t.posDensityScale=e*g,t.path=_.node(),t.pathLength=t.path.getTotalLength()/(y?2:1)}));var w,T,k,A=c.box,M=A.width,S=(A.line||{}).width;y?(w=g*M,T=0):x?(w=[0,g*M/2],T=S*{x:1,y:-1}[s.posLetter]):(w=[g*M/2,0],T=S*{x:-1,y:1}[s.posLetter]),o.plotBoxAndWhiskers(r,{pos:v,val:m},c,{bPos:d,bdPos:w,bPosPxOffset:T}),o.plotBoxMean(r,{pos:v,val:m},c,{bPos:d,bdPos:w,bPosPxOffset:T}),!c.box.visible&&c.meanline.visible&&(k=i.identity);var E=r.selectAll("path.meanline").data(k||[]);E.enter().append("path").attr("class","meanline").style("fill","none").style("vector-effect","non-scaling-stroke"),E.exit().remove(),E.each((function(t){var e=m.c2p(t.mean,!0),r=l.getPositionOnKdePath(t,c,e);n.select(this).attr("d","h"===c.orientation?"M"+e+","+r[0]+"V"+r[1]:"M"+r[0]+","+e+"H"+r[1])})),o.plotPoints(r,{x:f,y:h},c,s)}}))}},{"../../components/drawing":388,"../../lib":503,"../box/plot":682,"../scatter/line_points":940,"./helpers":1091,"@plotly/d3":58}],1097:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/color"),a=t("../scatter/style").stylePoints;e.exports=function(t){var e=n.select(t).selectAll("g.trace.violins");e.style("opacity",(function(t){return t[0].trace.opacity})),e.each((function(e){var r=e[0].trace,o=n.select(this),s=r.box||{},l=s.line||{},c=r.meanline||{},u=c.width;o.selectAll("path.violin").style("stroke-width",r.line.width+"px").call(i.stroke,r.line.color).call(i.fill,r.fillcolor),o.selectAll("path.box").style("stroke-width",l.width+"px").call(i.stroke,l.color).call(i.fill,s.fillcolor);var f={"stroke-width":u+"px","stroke-dasharray":2*u+"px,"+u+"px"};o.selectAll("path.mean").style(f).call(i.stroke,c.color),o.selectAll("path.meanline").style(f).call(i.stroke,c.color),a(o,r,t)}))}},{"../../components/color":366,"../scatter/style":950,"@plotly/d3":58}],1098:[function(t,e,r){"use strict";var n=t("../../components/colorscale/attributes"),i=t("../isosurface/attributes"),a=t("../surface/attributes"),o=t("../../plots/attributes"),s=t("../../lib/extend").extendFlat,l=t("../../plot_api/edit_types").overrideAll,c=e.exports=l(s({x:i.x,y:i.y,z:i.z,value:i.value,isomin:i.isomin,isomax:i.isomax,surface:i.surface,spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:1}},slices:i.slices,caps:i.caps,text:i.text,hovertext:i.hovertext,xhoverformat:i.xhoverformat,yhoverformat:i.yhoverformat,zhoverformat:i.zhoverformat,valuehoverformat:i.valuehoverformat,hovertemplate:i.hovertemplate},n("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{colorbar:i.colorbar,opacity:i.opacity,opacityscale:a.opacityscale,lightposition:i.lightposition,lighting:i.lighting,flatshading:i.flatshading,contour:i.contour,hoverinfo:s({},o.hoverinfo),showlegend:s({},o.showlegend,{dflt:!1})}),"calc","nested");c.x.editType=c.y.editType=c.z.editType=c.value.editType="calc+clearAxisTypes",c.transforms=void 0},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../isosurface/attributes":862,"../surface/attributes":1057}],1099:[function(t,e,r){"use strict";var n=t("../../../stackgl_modules").gl_mesh3d,i=t("../../lib/gl_format_color").parseColorScale,a=t("../../lib/str2rgbarray"),o=t("../../components/colorscale").extractOpts,s=t("../../plots/gl3d/zip3"),l=t("../isosurface/convert").findNearestOnAxis,c=t("../isosurface/convert").generateIsoMeshes;function u(t,e,r){this.scene=t,this.uid=r,this.mesh=e,this.name="",this.data=null,this.showContour=!1}var f=u.prototype;f.handlePick=function(t){if(t.object===this.mesh){var e=t.data.index,r=this.data._meshX[e],n=this.data._meshY[e],i=this.data._meshZ[e],a=this.data._Ys.length,o=this.data._Zs.length,s=l(r,this.data._Xs).id,c=l(n,this.data._Ys).id,u=l(i,this.data._Zs).id,f=t.index=u+o*c+o*a*s;t.traceCoordinate=[this.data._meshX[f],this.data._meshY[f],this.data._meshZ[f],this.data._value[f]];var h=this.data.hovertext||this.data.text;return Array.isArray(h)&&void 0!==h[f]?t.textLabel=h[f]:h&&(t.textLabel=h),!0}},f.update=function(t){var e=this.scene,r=e.fullSceneLayout;function n(t,e,r,n){return e.map((function(e){return t.d2l(e,0,n)*r}))}this.data=c(t);var l={positions:s(n(r.xaxis,t._meshX,e.dataScale[0],t.xcalendar),n(r.yaxis,t._meshY,e.dataScale[1],t.ycalendar),n(r.zaxis,t._meshZ,e.dataScale[2],t.zcalendar)),cells:s(t._meshI,t._meshJ,t._meshK),lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,opacityscale:t.opacityscale,contourEnable:t.contour.show,contourColor:a(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading},u=o(t);l.vertexIntensity=t._meshIntensity,l.vertexIntensityBounds=[u.min,u.max],l.colormap=i(t),this.mesh.update(l)},f.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var r=t.glplot.gl,i=n({gl:r}),a=new u(t,i,e.uid);return i._trace=a,a.update(e),t.glplot.add(i),a}},{"../../../stackgl_modules":1120,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609,"../isosurface/convert":864}],1100:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./attributes"),a=t("../isosurface/defaults").supplyIsoDefaults,o=t("../surface/defaults").opacityscaleDefaults;e.exports=function(t,e,r,s){function l(r,a){return n.coerce(t,e,i,r,a)}a(t,e,r,s,l),o(t,e,s,l)}},{"../../lib":503,"../isosurface/defaults":865,"../surface/defaults":1060,"./attributes":1098}],1101:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),supplyDefaults:t("./defaults"),calc:t("../isosurface/calc"),colorbar:{min:"cmin",max:"cmax"},plot:t("./convert"),moduleType:"trace",name:"volume",basePlotModule:t("../../plots/gl3d"),categories:["gl3d","showLegend"],meta:{}}},{"../../plots/gl3d":598,"../isosurface/calc":863,"./attributes":1098,"./convert":1099,"./defaults":1100}],1102:[function(t,e,r){"use strict";var n=t("../bar/attributes"),i=t("../scatter/attributes").line,a=t("../../plots/attributes"),o=t("../../plots/cartesian/axis_format_attributes").axisHoverFormat,s=t("../../plots/template_attributes").hovertemplateAttrs,l=t("../../plots/template_attributes").texttemplateAttrs,c=t("./constants"),u=t("../../lib/extend").extendFlat,f=t("../../components/color");function h(t){return{marker:{color:u({},n.marker.color,{arrayOk:!1,editType:"style"}),line:{color:u({},n.marker.line.color,{arrayOk:!1,editType:"style"}),width:u({},n.marker.line.width,{arrayOk:!1,editType:"style"}),editType:"style"},editType:"style"},editType:"style"}}e.exports={measure:{valType:"data_array",dflt:[],editType:"calc"},base:{valType:"number",dflt:null,arrayOk:!1,editType:"calc"},x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,xperiod:n.xperiod,yperiod:n.yperiod,xperiod0:n.xperiod0,yperiod0:n.yperiod0,xperiodalignment:n.xperiodalignment,yperiodalignment:n.yperiodalignment,xhoverformat:o("x"),yhoverformat:o("y"),hovertext:n.hovertext,hovertemplate:s({},{keys:c.eventDataKeys}),hoverinfo:u({},a.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],editType:"plot",arrayOk:!1},texttemplate:l({editType:"plot"},{keys:c.eventDataKeys.concat(["label"])}),text:n.text,textposition:n.textposition,insidetextanchor:n.insidetextanchor,textangle:n.textangle,textfont:n.textfont,insidetextfont:n.insidetextfont,outsidetextfont:n.outsidetextfont,constraintext:n.constraintext,cliponaxis:n.cliponaxis,orientation:n.orientation,offset:n.offset,width:n.width,increasing:h(),decreasing:h(),totals:h(),connector:{line:{color:u({},i.color,{dflt:f.defaultLine}),width:u({},i.width,{editType:"plot"}),dash:i.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup}},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":926,"./constants":1104}],1103:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes"),i=t("../../plots/cartesian/align_period"),a=t("../../lib").mergeArray,o=t("../scatter/calc_selection"),s=t("../../constants/numerical").BADNUM;function l(t){return"a"===t||"absolute"===t}function c(t){return"t"===t||"total"===t}e.exports=function(t,e){var r,u,f,h,p,d,g=n.getFromId(t,e.xaxis||"x"),m=n.getFromId(t,e.yaxis||"y");"h"===e.orientation?(r=g.makeCalcdata(e,"x"),f=m.makeCalcdata(e,"y"),h=i(e,m,"y",f),p=!!e.yperiodalignment,d="y"):(r=m.makeCalcdata(e,"y"),f=g.makeCalcdata(e,"x"),h=i(e,g,"x",f),p=!!e.xperiodalignment,d="x"),u=h.vals;for(var v,y=Math.min(u.length,r.length),x=new Array(y),b=0,_=!1,w=0;w<y;w++){var T=r[w]||0,k=!1;(r[w]!==s||c(e.measure[w])||l(e.measure[w]))&&w+1<y&&(r[w+1]!==s||c(e.measure[w+1])||l(e.measure[w+1]))&&(k=!0);var A=x[w]={i:w,p:u[w],s:T,rawS:T,cNext:k};l(e.measure[w])?(b=A.s,A.isSum=!0,A.dir="totals",A.s=b):c(e.measure[w])?(A.isSum=!0,A.dir="totals",A.s=b):(A.isSum=!1,A.dir=A.rawS<0?"decreasing":"increasing",v=A.s,A.s=b+v,b+=v),"totals"===A.dir&&(_=!0),p&&(x[w].orig_p=f[w],x[w][d+"End"]=h.ends[w],x[w][d+"Start"]=h.starts[w]),e.ids&&(A.id=String(e.ids[w])),A.v=(e.base||0)+b}return x.length&&(x[0].hasTotals=_),a(e.text,x,"tx"),a(e.hovertext,x,"htx"),o(x,e),x}},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":928}],1104:[function(t,e,r){"use strict";e.exports={eventDataKeys:["initial","delta","final"]}},{}],1105:[function(t,e,r){"use strict";var n=t("../bar/cross_trace_calc").setGroupPositions;e.exports=function(t,e){var r,i,a=t._fullLayout,o=t._fullData,s=t.calcdata,l=e.xaxis,c=e.yaxis,u=[],f=[],h=[];for(i=0;i<o.length;i++){var p=o[i];!0===p.visible&&p.xaxis===l._id&&p.yaxis===c._id&&"waterfall"===p.type&&(r=s[i],"h"===p.orientation?h.push(r):f.push(r),u.push(r))}var d={mode:a.waterfallmode,norm:a.waterfallnorm,gap:a.waterfallgap,groupgap:a.waterfallgroupgap};for(n(t,l,c,f,d),n(t,c,l,h,d),i=0;i<u.length;i++){r=u[i];for(var g=0;g<r.length;g++){var m=r[g];!1===m.isSum&&(m.s0+=0===g?0:r[g-1].s),g+1<r.length&&(r[g].nextP0=r[g+1].p0,r[g].nextS0=r[g+1].s0)}}}},{"../bar/cross_trace_calc":651}],1106:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("../bar/defaults").handleGroupingDefaults,a=t("../bar/defaults").handleText,o=t("../scatter/xy_defaults"),s=t("../scatter/period_defaults"),l=t("./attributes"),c=t("../../components/color"),u=t("../../constants/delta.js"),f=u.INCREASING.COLOR,h=u.DECREASING.COLOR;function p(t,e,r){t(e+".marker.color",r),t(e+".marker.line.color",c.defaultLine),t(e+".marker.line.width")}e.exports={supplyDefaults:function(t,e,r,i){function c(r,i){return n.coerce(t,e,l,r,i)}if(o(t,e,i,c)){s(t,e,i,c),c("xhoverformat"),c("yhoverformat"),c("measure"),c("orientation",e.x&&!e.y?"h":"v"),c("base"),c("offset"),c("width"),c("text"),c("hovertext"),c("hovertemplate");var u=c("textposition");if(a(t,e,i,c,u,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"!==e.textposition&&(c("texttemplate"),e.texttemplate||c("textinfo")),p(c,"increasing",f),p(c,"decreasing",h),p(c,"totals","#4499FF"),c("connector.visible"))c("connector.mode"),c("connector.line.width")&&(c("connector.line.color"),c("connector.line.dash"))}else e.visible=!1},crossTraceDefaults:function(t,e){var r,a;function o(t){return n.coerce(a._input,a,l,t)}if("group"===e.waterfallmode)for(var s=0;s<t.length;s++)r=(a=t[s])._input,i(r,a,e,o)}}},{"../../components/color":366,"../../constants/delta.js":473,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":946,"../scatter/xy_defaults":953,"./attributes":1102}],1107:[function(t,e,r){"use strict";e.exports=function(t,e){return t.x="xVal"in e?e.xVal:e.x,t.y="yVal"in e?e.yVal:e.y,"initial"in e&&(t.initial=e.initial),"delta"in e&&(t.delta=e.delta),"final"in e&&(t.final=e.final),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],1108:[function(t,e,r){"use strict";var n=t("../../plots/cartesian/axes").hoverLabelText,i=t("../../components/color").opacity,a=t("../bar/hover").hoverOnBars,o=t("../../constants/delta.js"),s=o.INCREASING.SYMBOL,l=o.DECREASING.SYMBOL;e.exports=function(t,e,r,o,c){var u=a(t,e,r,o,c);if(u){var f=u.cd,h=f[0].trace,p="h"===h.orientation,d=p?"x":"y",g=p?t.xa:t.ya,m=f[u.index],v=m.isSum?m.b+m.s:m.rawS;if(!m.isSum){u.initial=m.b+m.s-v,u.delta=v,u.final=u.initial+u.delta;var y=k(Math.abs(u.delta));u.deltaLabel=v<0?"("+y+")":y,u.finalLabel=k(u.final),u.initialLabel=k(u.initial)}var x=m.hi||h.hoverinfo,b=[];if(x&&"none"!==x&&"skip"!==x){var _="all"===x,w=x.split("+"),T=function(t){return _||-1!==w.indexOf(t)};m.isSum||(!T("final")||T(p?"x":"y")||b.push(u.finalLabel),T("delta")&&(v<0?b.push(u.deltaLabel+" "+l):b.push(u.deltaLabel+" "+s)),T("initial")&&b.push("Initial: "+u.initialLabel))}return b.length&&(u.extraText=b.join("<br>")),u.color=function(t,e){var r=t[e.dir].marker,n=r.color,a=r.line.color,o=r.line.width;if(i(n))return n;if(i(a)&&o)return a}(h,m),[u]}function k(t){return n(g,t,h[d+"hoverformat"])}}},{"../../components/color":366,"../../constants/delta.js":473,"../../plots/cartesian/axes":554,"../bar/hover":655}],1109:[function(t,e,r){"use strict";e.exports={attributes:t("./attributes"),layoutAttributes:t("./layout_attributes"),supplyDefaults:t("./defaults").supplyDefaults,crossTraceDefaults:t("./defaults").crossTraceDefaults,supplyLayoutDefaults:t("./layout_defaults"),calc:t("./calc"),crossTraceCalc:t("./cross_trace_calc"),plot:t("./plot"),style:t("./style").style,hoverPoints:t("./hover"),eventData:t("./event_data"),selectPoints:t("../bar/select"),moduleType:"trace",name:"waterfall",basePlotModule:t("../../plots/cartesian"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},{"../../plots/cartesian":568,"../bar/select":660,"./attributes":1102,"./calc":1103,"./cross_trace_calc":1105,"./defaults":1106,"./event_data":1107,"./hover":1108,"./layout_attributes":1110,"./layout_defaults":1111,"./plot":1112,"./style":1113}],1110:[function(t,e,r){"use strict";e.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},{}],1111:[function(t,e,r){"use strict";var n=t("../../lib"),i=t("./layout_attributes");e.exports=function(t,e,r){var a=!1;function o(r,a){return n.coerce(t,e,i,r,a)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"waterfall"===l.type){a=!0;break}}a&&(o("waterfallmode"),o("waterfallgap",.2),o("waterfallgroupgap"))}},{"../../lib":503,"./layout_attributes":1110}],1112:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../lib"),a=t("../../components/drawing"),o=t("../../constants/numerical").BADNUM,s=t("../bar/plot"),l=t("../bar/uniform_text").clearMinTextSize;e.exports=function(t,e,r,c){var u=t._fullLayout;l("waterfall",u),s.plot(t,e,r,c,{mode:u.waterfallmode,norm:u.waterfallmode,gap:u.waterfallgap,groupgap:u.waterfallgroupgap}),function(t,e,r,s){var l=e.xaxis,c=e.yaxis;i.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),u=r[0].trace,f=i.ensureSingle(s,"g","lines");if(u.connector&&u.connector.visible){var h="h"===u.orientation,p=u.connector.mode,d=f.selectAll("g.line").data(i.identity);d.enter().append("g").classed("line",!0),d.exit().remove();var g=d.size();d.each((function(r,s){if(s===g-1||r.cNext){var u=function(t,e,r,n){var i=[],a=[],o=n?e:r,s=n?r:e;return i[0]=o.c2p(t.s0,!0),a[0]=s.c2p(t.p0,!0),i[1]=o.c2p(t.s1,!0),a[1]=s.c2p(t.p1,!0),i[2]=o.c2p(t.nextS0,!0),a[2]=s.c2p(t.nextP0,!0),n?[i,a]:[a,i]}(r,l,c,h),f=u[0],d=u[1],m="";f[0]!==o&&d[0]!==o&&f[1]!==o&&d[1]!==o&&("spanning"===p&&!r.isSum&&s>0&&(m+=h?"M"+f[0]+","+d[1]+"V"+d[0]:"M"+f[1]+","+d[0]+"H"+f[0]),"between"!==p&&(r.isSum||s<g-1)&&(m+=h?"M"+f[1]+","+d[0]+"V"+d[1]:"M"+f[0]+","+d[1]+"H"+f[1]),f[2]!==o&&d[2]!==o&&(m+=h?"M"+f[1]+","+d[1]+"V"+d[2]:"M"+f[1]+","+d[1]+"H"+f[2])),""===m&&(m="M0,0Z"),i.ensureSingle(n.select(this),"path").attr("d",m).call(a.setClipUrl,e.layerClipId,t)}}))}else f.remove()}))}(t,e,r,c)}},{"../../components/drawing":388,"../../constants/numerical":479,"../../lib":503,"../bar/plot":659,"../bar/uniform_text":664,"@plotly/d3":58}],1113:[function(t,e,r){"use strict";var n=t("@plotly/d3"),i=t("../../components/drawing"),a=t("../../components/color"),o=t("../../constants/interactions").DESELECTDIM,s=t("../bar/style"),l=t("../bar/uniform_text").resizeText,c=s.styleTextPoints;e.exports={style:function(t,e,r){var s=r||n.select(t).selectAll("g.waterfalllayer").selectAll("g.trace");l(t,s,"waterfall"),s.style("opacity",(function(t){return t[0].trace.opacity})),s.each((function(e){var r=n.select(this),s=e[0].trace;r.selectAll(".point > path").each((function(t){if(!t.isBlank){var e=s[t.dir].marker;n.select(this).call(a.fill,e.color).call(a.stroke,e.line.color).call(i.dashLine,e.line.dash,e.line.width).style("opacity",s.selectedpoints&&!t.selected?o:1)}})),c(r,s,t),r.selectAll(".lines").each((function(){var t=s.connector.line;i.lineGroupStyle(n.select(this).selectAll("path"),t.width,t.color,t.dash)}))}))}}},{"../../components/color":366,"../../components/drawing":388,"../../constants/interactions":478,"../bar/style":662,"../bar/uniform_text":664,"@plotly/d3":58}],1114:[function(t,e,r){"use strict";var n=t("../plots/cartesian/axes"),i=t("../lib"),a=t("../plot_api/plot_schema"),o=t("./helpers").pointsAccessorFunction,s=t("../constants/numerical").BADNUM;r.moduleType="transform",r.name="aggregate";var l=r.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},c=l.aggregations;function u(t,e,r,a){if(a.enabled){for(var o=a.target,l=i.nestedProperty(e,o),c=l.get(),u=function(t,e){var r=t.func,n=e.d2c,a=e.c2d;switch(r){case"count":return f;case"first":return h;case"last":return p;case"sum":return function(t,e){for(var r=0,i=0;i<e.length;i++){var o=n(t[e[i]]);o!==s&&(r+=o)}return a(r)};case"avg":return function(t,e){for(var r=0,i=0,o=0;o<e.length;o++){var l=n(t[e[o]]);l!==s&&(r+=l,i++)}return i?a(r/i):s};case"min":return function(t,e){for(var r=1/0,i=0;i<e.length;i++){var o=n(t[e[i]]);o!==s&&(r=Math.min(r,o))}return r===1/0?s:a(r)};case"max":return function(t,e){for(var r=-1/0,i=0;i<e.length;i++){var o=n(t[e[i]]);o!==s&&(r=Math.max(r,o))}return r===-1/0?s:a(r)};case"range":return function(t,e){for(var r=1/0,i=-1/0,o=0;o<e.length;o++){var l=n(t[e[o]]);l!==s&&(r=Math.min(r,l),i=Math.max(i,l))}return i===-1/0||r===1/0?s:a(i-r)};case"change":return function(t,e){var r=n(t[e[0]]),i=n(t[e[e.length-1]]);return r===s||i===s?s:a(i-r)};case"median":return function(t,e){for(var r=[],o=0;o<e.length;o++){var l=n(t[e[o]]);l!==s&&r.push(l)}if(!r.length)return s;r.sort(i.sorterAsc);var c=(r.length-1)/2;return a((r[Math.floor(c)]+r[Math.ceil(c)])/2)};case"mode":return function(t,e){for(var r={},i=0,o=s,l=0;l<e.length;l++){var c=n(t[e[l]]);if(c!==s){var u=r[c]=(r[c]||0)+1;u>i&&(i=u,o=c)}}return i?a(o):s};case"rms":return function(t,e){for(var r=0,i=0,o=0;o<e.length;o++){var l=n(t[e[o]]);l!==s&&(r+=l*l,i++)}return i?a(Math.sqrt(r/i)):s};case"stddev":return function(e,r){var i,a=0,o=0,l=1,c=s;for(i=0;i<r.length&&c===s;i++)c=n(e[r[i]]);if(c===s)return s;for(;i<r.length;i++){var u=n(e[r[i]]);if(u!==s){var f=u-c;a+=f,o+=f*f,l++}}var h="sample"===t.funcmode?l-1:l;return h?Math.sqrt((o-a*a/l)/h):0}}}(a,n.getDataConversions(t,e,o,c)),d=new Array(r.length),g=0;g<r.length;g++)d[g]=u(c,r[g]);l.set(d),"count"===a.func&&i.pushUnique(e._arrayAttrs,o)}}function f(t,e){return e.length}function h(t,e){return t[e[0]]}function p(t,e){return t[e[e.length-1]]}r.supplyDefaults=function(t,e){var r,n={};function o(e,r){return i.coerce(t,n,l,e,r)}if(!o("enabled"))return n;var s=a.findArrayAttributes(e),u={};for(r=0;r<s.length;r++)u[s[r]]=1;var f=o("groups");if(!Array.isArray(f)){if(!u[f])return n.enabled=!1,n;u[f]=0}var h,p=t.aggregations||[],d=n.aggregations=new Array(p.length);function g(t,e){return i.coerce(p[r],h,c,t,e)}for(r=0;r<p.length;r++){h={_index:r};var m=g("target"),v=g("func");g("enabled")&&m&&(u[m]||"count"===v&&void 0===u[m])?("stddev"===v&&g("funcmode"),u[m]=0,d[r]=h):d[r]={enabled:!1,_index:r}}for(r=0;r<s.length;r++)u[s[r]]&&d.push({target:s[r],func:c.func.dflt,enabled:!0,_index:-1});return n},r.calcTransform=function(t,e,r){if(r.enabled){var n=r.groups,a=i.getTargetArray(e,{target:n});if(a){var s,l,c,f,h={},p={},d=[],g=o(e.transforms,r),m=a.length;for(e._length&&(m=Math.min(m,e._length)),s=0;s<m;s++)void 0===(c=h[l=a[s]])?(h[l]=d.length,f=[s],d.push(f),p[h[l]]=g(s)):(d[c].push(s),p[h[l]]=(p[h[l]]||[]).concat(g(s)));r._indexToPoints=p;var v=r.aggregations;for(s=0;s<v.length;s++)u(t,e,d,v[s]);"string"==typeof n&&u(t,e,d,{target:n,func:"first",enabled:!0}),e._length=d.length}}}},{"../constants/numerical":479,"../lib":503,"../plot_api/plot_schema":542,"../plots/cartesian/axes":554,"./helpers":1117}],1115:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../registry"),a=t("../plots/cartesian/axes"),o=t("./helpers").pointsAccessorFunction,s=t("../constants/filter_ops"),l=s.COMPARISON_OPS,c=s.INTERVAL_OPS,u=s.SET_OPS;r.moduleType="transform",r.name="filter",r.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},operation:{valType:"enumerated",values:[].concat(l).concat(c).concat(u),dflt:"=",editType:"calc"},value:{valType:"any",dflt:0,editType:"calc"},preservegaps:{valType:"boolean",dflt:!1,editType:"calc"},editType:"calc"},r.supplyDefaults=function(t){var e={};function a(i,a){return n.coerce(t,e,r.attributes,i,a)}if(a("enabled")){var o=a("target");if(n.isArrayOrTypedArray(o)&&0===o.length)return e.enabled=!1,e;a("preservegaps"),a("operation"),a("value");var s=i.getComponentMethod("calendars","handleDefaults");s(t,e,"valuecalendar",null),s(t,e,"targetcalendar",null)}return e},r.calcTransform=function(t,e,r){if(r.enabled){var i=n.getTargetArray(e,r);if(i){var s=r.target,f=i.length;e._length&&(f=Math.min(f,e._length));var h=r.targetcalendar,p=e._arrayAttrs,d=r.preservegaps;if("string"==typeof s){var g=n.nestedProperty(e,s+"calendar").get();g&&(h=g)}var m,v,y=function(t,e,r){var n=t.operation,i=t.value,a=Array.isArray(i);function o(t){return-1!==t.indexOf(n)}var s,f=function(r){return e(r,0,t.valuecalendar)},h=function(t){return e(t,0,r)};o(l)?s=f(a?i[0]:i):o(c)?s=a?[f(i[0]),f(i[1])]:[f(i),f(i)]:o(u)&&(s=a?i.map(f):[f(i)]);switch(n){case"=":return function(t){return h(t)===s};case"!=":return function(t){return h(t)!==s};case"<":return function(t){return h(t)<s};case"<=":return function(t){return h(t)<=s};case">":return function(t){return h(t)>s};case">=":return function(t){return h(t)>=s};case"[]":return function(t){var e=h(t);return e>=s[0]&&e<=s[1]};case"()":return function(t){var e=h(t);return e>s[0]&&e<s[1]};case"[)":return function(t){var e=h(t);return e>=s[0]&&e<s[1]};case"(]":return function(t){var e=h(t);return e>s[0]&&e<=s[1]};case"][":return function(t){var e=h(t);return e<=s[0]||e>=s[1]};case")(":return function(t){var e=h(t);return e<s[0]||e>s[1]};case"](":return function(t){var e=h(t);return e<=s[0]||e>s[1]};case")[":return function(t){var e=h(t);return e<s[0]||e>=s[1]};case"{}":return function(t){return-1!==s.indexOf(h(t))};case"}{":return function(t){return-1===s.indexOf(h(t))}}}(r,a.getDataToCoordFunc(t,e,s,i),h),x={},b={},_=0;d?(m=function(t){x[t.astr]=n.extendDeep([],t.get()),t.set(new Array(f))},v=function(t,e){var r=x[t.astr][e];t.get()[e]=r}):(m=function(t){x[t.astr]=n.extendDeep([],t.get()),t.set([])},v=function(t,e){var r=x[t.astr][e];t.get().push(r)}),k(m);for(var w=o(e.transforms,r),T=0;T<f;T++){y(i[T])?(k(v,T),b[_++]=w(T)):d&&_++}r._indexToPoints=b,e._length=_}}function k(t,r){for(var i=0;i<p.length;i++){t(n.nestedProperty(e,p[i]),r)}}}},{"../constants/filter_ops":475,"../lib":503,"../plots/cartesian/axes":554,"../registry":638,"./helpers":1117}],1116:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plot_api/plot_schema"),a=t("../plots/plots"),o=t("./helpers").pointsAccessorFunction;function s(t,e){var r,s,l,c,u,f,h,p,d,g,m=e.transform,v=e.transformIndex,y=t.transforms[v].groups,x=o(t.transforms,m);if(!n.isArrayOrTypedArray(y)||0===y.length)return[t];var b=n.filterUnique(y),_=new Array(b.length),w=y.length,T=i.findArrayAttributes(t),k=m.styles||[],A={};for(r=0;r<k.length;r++)A[k[r].target]=k[r].value;m.styles&&(g=n.keyedContainer(m,"styles","target","value.name"));var M={},S={};for(r=0;r<b.length;r++){M[f=b[r]]=r,S[f]=0,(h=_[r]=n.extendDeepNoArrays({},t))._group=f,h.transforms[v]._indexToPoints={};var E=null;for(g&&(E=g.get(f)),h.name=E||""===E?E:n.templateString(m.nameformat,{trace:t.name,group:f}),p=h.transforms,h.transforms=[],s=0;s<p.length;s++)h.transforms[s]=n.extendDeepNoArrays({},p[s]);for(s=0;s<T.length;s++)n.nestedProperty(h,T[s]).set([])}for(l=0;l<T.length;l++){for(c=T[l],s=0,d=[];s<b.length;s++)d[s]=n.nestedProperty(_[s],c).get();for(u=n.nestedProperty(t,c).get(),s=0;s<w;s++)d[M[y[s]]].push(u[s])}for(s=0;s<w;s++){(h=_[M[y[s]]]).transforms[v]._indexToPoints[S[y[s]]]=x(s),S[y[s]]++}for(r=0;r<b.length;r++)f=b[r],h=_[r],a.clearExpandedTraceDefaultColors(h),h=n.extendDeepNoArrays(h,A[f]||{});return _}r.moduleType="transform",r.name="groupby",r.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"data_array",dflt:[],editType:"calc"},nameformat:{valType:"string",editType:"calc"},styles:{_isLinkedToArray:"style",target:{valType:"string",editType:"calc"},value:{valType:"any",dflt:{},editType:"calc",_compareAsJSON:!0},editType:"calc"},editType:"calc"},r.supplyDefaults=function(t,e,i){var a,o={};function s(e,i){return n.coerce(t,o,r.attributes,e,i)}if(!s("enabled"))return o;s("groups"),s("nameformat",i._dataLength>1?"%{group} (%{trace})":"%{group}");var l=t.styles,c=o.styles=[];if(l)for(a=0;a<l.length;a++){var u=c[a]={};n.coerce(l[a],c[a],r.attributes.styles,"target");var f=n.coerce(l[a],c[a],r.attributes.styles,"value");n.isPlainObject(f)?u.value=n.extendDeep({},f):f&&delete u.value}return o},r.transform=function(t,e){var r,n,i,a=[];for(n=0;n<t.length;n++)for(r=s(t[n],e),i=0;i<r.length;i++)a.push(r[i]);return a}},{"../lib":503,"../plot_api/plot_schema":542,"../plots/plots":619,"./helpers":1117}],1117:[function(t,e,r){"use strict";r.pointsAccessorFunction=function(t,e){for(var r,n,i=0;i<t.length&&(r=t[i])!==e;i++)r._indexToPoints&&!1!==r.enabled&&(n=r._indexToPoints);return n?function(t){return n[t]}:function(t){return[t]}}},{}],1118:[function(t,e,r){"use strict";var n=t("../lib"),i=t("../plots/cartesian/axes"),a=t("./helpers").pointsAccessorFunction,o=t("../constants/numerical").BADNUM;r.moduleType="transform",r.name="sort",r.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},target:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},order:{valType:"enumerated",values:["ascending","descending"],dflt:"ascending",editType:"calc"},editType:"calc"},r.supplyDefaults=function(t){var e={};function i(i,a){return n.coerce(t,e,r.attributes,i,a)}return i("enabled")&&(i("target"),i("order")),e},r.calcTransform=function(t,e,r){if(r.enabled){var s=n.getTargetArray(e,r);if(s){var l=r.target,c=s.length;e._length&&(c=Math.min(c,e._length));var u,f,h=e._arrayAttrs,p=function(t,e,r,n){var i,a=new Array(n),s=new Array(n);for(i=0;i<n;i++)a[i]={v:e[i],i:i};for(a.sort(function(t,e){switch(t.order){case"ascending":return function(t,r){var n=e(t.v),i=e(r.v);return n===o?1:i===o?-1:n-i};case"descending":return function(t,r){var n=e(t.v),i=e(r.v);return n===o?1:i===o?-1:i-n}}}(t,r)),i=0;i<n;i++)s[i]=a[i].i;return s}(r,s,i.getDataToCoordFunc(t,e,l,s),c),d=a(e.transforms,r),g={};for(u=0;u<h.length;u++){var m=n.nestedProperty(e,h[u]),v=m.get(),y=new Array(c);for(f=0;f<c;f++)y[f]=v[p[f]];m.set(y)}for(f=0;f<c;f++)g[f]=d(p[f]);r._indexToPoints=g,e._length=c}}}},{"../constants/numerical":479,"../lib":503,"../plots/cartesian/axes":554,"./helpers":1117}],1119:[function(t,e,r){"use strict";r.version="2.9.0"},{}],1120:[function(t,e,r){(function(n){(function(){!function(t){"object"==typeof r&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:this).stackgl=t()}((function(){return function e(r,n,i){function a(s,l){if(!n[s]){if(!r[s]){var c="function"==typeof t&&t;if(!l&&c)return c(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var f=n[s]={exports:{}};r[s][0].call(f.exports,(function(t){return a(r[s][1][t]||t)}),f,f.exports,e,r,n,i)}return n[s].exports}for(var o="function"==typeof t&&t,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(t,e,r){"use strict";r.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},r.toByteArray=function(t){var e,r,n=c(t),o=n[0],s=n[1],l=new a(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),u=0,f=s>0?o-4:o;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,l[u++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},r.fromByteArray=function(t){for(var e,r=t.length,i=r%3,a=[],o=0,s=r-i;o<s;o+=16383)a.push(u(t,o,o+16383>s?s:o+16383));1===i?(e=t[r-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return a.join("")};for(var n=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,r){for(var i,a,o=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(n[(a=i)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],2:[function(t,e,r){},{}],3:[function(t,e,r){(function(e){(function(){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
"use strict";var e=t("base64-js"),n=t("ieee754");r.Buffer=a,r.SlowBuffer=function(t){+t!=t&&(t=0);return a.alloc(+t)},r.INSPECT_MAX_BYTES=50;function i(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return e.__proto__=a.prototype,e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return o(t,e,r)}function o(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|f(t,e),n=i(r),o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer))return function(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r);return n.__proto__=a.prototype,n}(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return a.from(n,e,r);var o=function(t){if(a.isBuffer(t)){var e=0|u(t.length),r=i(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||N(t.length)?i(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return s(t),i(t<0?0:0|u(t))}function c(t){for(var e=t.length<0?0:0|u(t.length),r=i(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function u(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function f(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(t).length;default:if(i)return n?-1:D(t).length;e=(""+e).toLowerCase(),i=!0}}function h(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return A(this,e,r);case"base64":return w(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function p(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function d(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),N(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var a,o=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var u=-1;for(a=r;a<s;a++)if(c(t,a)===c(e,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var f=!0,h=0;h<l;h++)if(c(t,a+h)!==c(e,h)){f=!1;break}if(f)return a}return-1}function m(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(e.substr(2*o,2),16);if(N(s))return o;t[r+o]=s}return o}function v(t,e,r,n){return F(D(e,t.length-r),t,r,n)}function y(t,e,r,n){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return y(t,e,r,n)}function b(t,e,r,n){return F(R(e),t,r,n)}function _(t,e,r,n){return F(function(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function w(t,r,n){return 0===r&&n===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,n))}function T(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a,o,s,l,c=t[i],u=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(a=t[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}r.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(t,e,r){return o(t,e,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(t,e,r){return function(t,e,r){return s(t),t<=0?i(t):void 0!==e?"string"==typeof r?i(t).fill(e,r):i(t).fill(e):i(t)}(t,e,r)},a.allocUnsafe=function(t){return l(t)},a.allocUnsafeSlow=function(t){return l(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=a.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(B(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):h.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},a.prototype.compare=function(t,e,r,n,i){if(B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),l=Math.min(o,s),c=this.slice(n,i),u=t.slice(e,r),f=0;f<l;++f)if(c[f]!==u[f]){o=c[f],s=u[f];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return d(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return d(this,t,e,r,!1)},a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return m(this,t,e,r);case"utf8":case"utf-8":return v(this,t,e,r);case"ascii":return y(this,t,e,r);case"latin1":case"binary":return x(this,t,e,r);case"base64":return b(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function A(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=z(t[a]);return i}function S(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function E(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function C(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,i,a){return e=+e,r>>>=0,a||C(t,0,r,4),n.write(t,e,r,i,23,4),r+4}function I(t,e,r,i,a){return e=+e,r>>>=0,a||C(t,0,r,8),n.write(t,e,r,i,52,8),r+8}a.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},a.prototype.readInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a<r&&(i*=256);)this[e+a]=t/i&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a<r&&(o*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return I(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return I(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),l=s.length;if(0===l)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%l]}return this};var O=/[^+/0-9A-Za-z-_]/g;function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function D(t,e){var r;e=e||1/0;for(var n=t.length,i=null,a=[],o=0;o<n;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function R(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function N(t){return t!=t}}).call(this)}).call(this,t("buffer").Buffer)},{"base64-js":1,buffer:3,ieee754:4}],4:[function(t,e,r){r.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,f=r?i-1:0,h=r?-1:1,p=t[e+f];for(f+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+t[e+f],f+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+t[e+f],f+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},r.write=function(t,e,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,f=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(o++,l/=2),o+f>=u?(s=0,o=u):o+f>=1?(s=(e*l-1)*Math.pow(2,i),o+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;t[r+p]=255&o,p+=d,o/=256,c-=8);t[r+p-d]|=128*g}},{}],5:[function(t,e,r){var n,i,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var c,u=[],f=!1,h=-1;function p(){f&&c&&(f=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!f){var t=l(p);f=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function m(){}a.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new g(t,e)),1!==u.length||f||l(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(t){return[]},a.binding=function(t){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],6:[function(t,e,r){e.exports={alpha_shape:t("alpha-shape"),convex_hull:t("convex-hull"),delaunay_triangulate:t("delaunay-triangulate"),gl_cone3d:t("gl-cone3d"),gl_error3d:t("gl-error3d"),gl_heatmap2d:t("gl-heatmap2d"),gl_line3d:t("gl-line3d"),gl_mesh3d:t("gl-mesh3d"),gl_plot2d:t("gl-plot2d"),gl_plot3d:t("gl-plot3d"),gl_pointcloud2d:t("gl-pointcloud2d"),gl_scatter3d:t("gl-scatter3d"),gl_select_box:t("gl-select-box"),gl_spikes2d:t("gl-spikes2d"),gl_streamtube3d:t("gl-streamtube3d"),gl_surface3d:t("gl-surface3d"),ndarray:t("ndarray"),ndarray_linear_interpolate:t("ndarray-linear-interpolate")}},{"alpha-shape":12,"convex-hull":58,"delaunay-triangulate":63,"gl-cone3d":79,"gl-error3d":84,"gl-heatmap2d":88,"gl-line3d":91,"gl-mesh3d":112,"gl-plot2d":118,"gl-plot3d":121,"gl-pointcloud2d":123,"gl-scatter3d":128,"gl-select-box":130,"gl-spikes2d":139,"gl-streamtube3d":143,"gl-surface3d":145,ndarray:259,"ndarray-linear-interpolate":253}],7:[function(t,e,r){"use strict";e.exports=function(t){var e=(t=t||{}).eye||[0,0,1],r=t.center||[0,0,0],s=t.up||[0,1,0],l=t.distanceLimits||[0,1/0],c=t.mode||"turntable",u=n(),f=i(),h=a();return u.setDistanceLimits(l[0],l[1]),u.lookAt(0,e,r,s),f.setDistanceLimits(l[0],l[1]),f.lookAt(0,e,r,s),h.setDistanceLimits(l[0],l[1]),h.lookAt(0,e,r,s),new o({turntable:u,orbit:f,matrix:h},c)};var n=t("turntable-camera-controller"),i=t("orbit-camera-controller"),a=t("matrix-camera-controller");function o(t,e){this._controllerNames=Object.keys(t),this._controllerList=this._controllerNames.map((function(e){return t[e]})),this._mode=e,this._active=t[e],this._active||(this._mode="turntable",this._active=t.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=o.prototype;s.flush=function(t){for(var e=this._controllerList,r=0;r<e.length;++r)e[r].flush(t)},s.idle=function(t){for(var e=this._controllerList,r=0;r<e.length;++r)e[r].idle(t)},s.lookAt=function(t,e,r,n){for(var i=this._controllerList,a=0;a<i.length;++a)i[a].lookAt(t,e,r,n)},s.rotate=function(t,e,r,n){for(var i=this._controllerList,a=0;a<i.length;++a)i[a].rotate(t,e,r,n)},s.pan=function(t,e,r,n){for(var i=this._controllerList,a=0;a<i.length;++a)i[a].pan(t,e,r,n)},s.translate=function(t,e,r,n){for(var i=this._controllerList,a=0;a<i.length;++a)i[a].translate(t,e,r,n)},s.setMatrix=function(t,e){for(var r=this._controllerList,n=0;n<r.length;++n)r[n].setMatrix(t,e)},s.setDistanceLimits=function(t,e){for(var r=this._controllerList,n=0;n<r.length;++n)r[n].setDistanceLimits(t,e)},s.setDistance=function(t,e){for(var r=this._controllerList,n=0;n<r.length;++n)r[n].setDistance(t,e)},s.recalcMatrix=function(t){this._active.recalcMatrix(t)},s.getDistance=function(t){return this._active.getDistance(t)},s.getDistanceLimits=function(t){return this._active.getDistanceLimits(t)},s.lastT=function(){return this._active.lastT()},s.setMode=function(t){if(t!==this._mode){var e=this._controllerNames.indexOf(t);if(!(e<0)){var r=this._active,n=this._controllerList[e],i=Math.max(r.lastT(),n.lastT());r.recalcMatrix(i),n.setMatrix(i,r.computedMatrix),this._active=n,this._mode=t,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}}},s.getMode=function(){return this._mode}},{"matrix-camera-controller":245,"orbit-camera-controller":263,"turntable-camera-controller":305}],8:[function(t,e,r){"use strict";var n="undefined"==typeof WeakMap?t("weak-map"):WeakMap,i=t("gl-buffer"),a=t("gl-vao"),o=new n;e.exports=function(t){var e=o.get(t),r=e&&(e._triangleBuffer.handle||e._triangleBuffer.buffer);if(!r||!t.isBuffer(r)){var n=i(t,new Float32Array([-1,-1,-1,4,4,-1]));(e=a(t,[{buffer:n,type:t.FLOAT,size:2}]))._triangleBuffer=n,o.set(t,e)}e.bind(),t.drawArrays(t.TRIANGLES,0,3),e.unbind()}},{"gl-buffer":78,"gl-vao":150,"weak-map":313}],9:[function(t,e,r){var n=t("pad-left");e.exports=function(t,e,r){e="number"==typeof e?e:1,r=r||": ";var i=t.split(/\r?\n/),a=String(i.length+e-1).length;return i.map((function(t,i){var o=i+e,s=String(o).length;return n(o,a-s)+r+t})).join("\n")}},{"pad-left":264}],10:[function(t,e,r){"use strict";e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[0];for(var r=t[0].length,n=[t[0]],a=[0],o=1;o<e;++o)if(n.push(t[o]),i(n,r)){if(a.push(o),a.length===r+1)return a}else n.pop();return a};var n=t("robust-orientation");function i(t,e){for(var r=new Array(e+1),i=0;i<t.length;++i)r[i]=t[i];for(i=0;i<=t.length;++i){for(var a=t.length;a<=e;++a){for(var o=new Array(e),s=0;s<e;++s)o[s]=Math.pow(a+1-i,s);r[a]=o}if(n.apply(void 0,r))return!0}return!1}},{"robust-orientation":284}],11:[function(t,e,r){"use strict";e.exports=function(t,e){return n(e).filter((function(r){for(var n=new Array(r.length),a=0;a<r.length;++a)n[a]=e[r[a]];return i(n)*t<1}))};var n=t("delaunay-triangulate"),i=t("circumradius")},{circumradius:49,"delaunay-triangulate":63}],12:[function(t,e,r){e.exports=function(t,e){return i(n(t,e))};var n=t("alpha-complex"),i=t("simplicial-complex-boundary")},{"alpha-complex":11,"simplicial-complex-boundary":290}],13:[function(t,e,r){e.exports=function(t){return atob(t)}},{}],14:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=e.length,a=new Array(r+1),o=0;o<r;++o){for(var s=new Array(r+1),l=0;l<=r;++l)s[l]=t[l][o];a[o]=s}a[r]=new Array(r+1);for(o=0;o<=r;++o)a[r][o]=1;var c=new Array(r+1);for(o=0;o<r;++o)c[o]=e[o];c[r]=1;var u=n(a,c),f=i(u[r+1]);0===f&&(f=1);var h=new Array(r+1);for(o=0;o<=r;++o)h[o]=i(u[o])/f;return h};var n=t("robust-linear-solve");function i(t){for(var e=0,r=0;r<t.length;++r)e+=t[r];return e}},{"robust-linear-solve":283}],15:[function(t,e,r){"use strict";var n=t("./lib/rationalize");e.exports=function(t,e){return n(t[0].mul(e[1]).add(e[0].mul(t[1])),t[1].mul(e[1]))}},{"./lib/rationalize":25}],16:[function(t,e,r){"use strict";e.exports=function(t,e){return t[0].mul(e[1]).cmp(e[0].mul(t[1]))}},{}],17:[function(t,e,r){"use strict";var n=t("./lib/rationalize");e.exports=function(t,e){return n(t[0].mul(e[1]),t[1].mul(e[0]))}},{"./lib/rationalize":25}],18:[function(t,e,r){"use strict";var n=t("./is-rat"),i=t("./lib/is-bn"),a=t("./lib/num-to-bn"),o=t("./lib/str-to-bn"),s=t("./lib/rationalize"),l=t("./div");e.exports=function t(e,r){if(n(e))return r?l(e,t(r)):[e[0].clone(),e[1].clone()];var c,u,f=0;if(i(e))c=e.clone();else if("string"==typeof e)c=o(e);else{if(0===e)return[a(0),a(1)];if(e===Math.floor(e))c=a(e);else{for(;e!==Math.floor(e);)e*=Math.pow(2,256),f-=256;c=a(e)}}if(n(r))c.mul(r[1]),u=r[0].clone();else if(i(r))u=r.clone();else if("string"==typeof r)u=o(r);else if(r)if(r===Math.floor(r))u=a(r);else{for(;r!==Math.floor(r);)r*=Math.pow(2,256),f+=256;u=a(r)}else u=a(1);f>0?c=c.ushln(f):f<0&&(u=u.ushln(-f));return s(c,u)}},{"./div":17,"./is-rat":19,"./lib/is-bn":23,"./lib/num-to-bn":24,"./lib/rationalize":25,"./lib/str-to-bn":26}],19:[function(t,e,r){"use strict";var n=t("./lib/is-bn");e.exports=function(t){return Array.isArray(t)&&2===t.length&&n(t[0])&&n(t[1])}},{"./lib/is-bn":23}],20:[function(t,e,r){"use strict";var n=t("bn.js");e.exports=function(t){return t.cmp(new n(0))}},{"bn.js":33}],21:[function(t,e,r){"use strict";var n=t("./bn-sign");e.exports=function(t){var e=t.length,r=t.words,i=0;if(1===e)i=r[0];else if(2===e)i=r[0]+67108864*r[1];else for(var a=0;a<e;a++){var o=r[a];i+=o*Math.pow(67108864,a)}return n(t)*i}},{"./bn-sign":20}],22:[function(t,e,r){"use strict";var n=t("double-bits"),i=t("bit-twiddle").countTrailingZeros;e.exports=function(t){var e=i(n.lo(t));if(e<32)return e;var r=i(n.hi(t));if(r>20)return 52;return r+32}},{"bit-twiddle":32,"double-bits":64}],23:[function(t,e,r){"use strict";t("bn.js");e.exports=function(t){return t&&"object"==typeof t&&Boolean(t.words)}},{"bn.js":33}],24:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("double-bits");e.exports=function(t){var e=i.exponent(t);return e<52?new n(t):new n(t*Math.pow(2,52-e)).ushln(e-52)}},{"bn.js":33,"double-bits":64}],25:[function(t,e,r){"use strict";var n=t("./num-to-bn"),i=t("./bn-sign");e.exports=function(t,e){var r=i(t),a=i(e);if(0===r)return[n(0),n(1)];if(0===a)return[n(0),n(0)];a<0&&(t=t.neg(),e=e.neg());var o=t.gcd(e);if(o.cmpn(1))return[t.div(o),e.div(o)];return[t,e]}},{"./bn-sign":20,"./num-to-bn":24}],26:[function(t,e,r){"use strict";var n=t("bn.js");e.exports=function(t){return new n(t)}},{"bn.js":33}],27:[function(t,e,r){"use strict";var n=t("./lib/rationalize");e.exports=function(t,e){return n(t[0].mul(e[0]),t[1].mul(e[1]))}},{"./lib/rationalize":25}],28:[function(t,e,r){"use strict";var n=t("./lib/bn-sign");e.exports=function(t){return n(t[0])*n(t[1])}},{"./lib/bn-sign":20}],29:[function(t,e,r){"use strict";var n=t("./lib/rationalize");e.exports=function(t,e){return n(t[0].mul(e[1]).sub(t[1].mul(e[0])),t[1].mul(e[1]))}},{"./lib/rationalize":25}],30:[function(t,e,r){"use strict";var n=t("./lib/bn-to-num"),i=t("./lib/ctz");e.exports=function(t){var e=t[0],r=t[1];if(0===e.cmpn(0))return 0;var a=e.abs().divmod(r.abs()),o=a.div,s=n(o),l=a.mod,c=e.negative!==r.negative?-1:1;if(0===l.cmpn(0))return c*s;if(s){var u=i(s)+4,f=n(l.ushln(u).divRound(r));return c*(s+f*Math.pow(2,-u))}var h=r.bitLength()-l.bitLength()+53;f=n(l.ushln(h).divRound(r));return h<1023?c*f*Math.pow(2,-h):(f*=Math.pow(2,-1023),c*f*Math.pow(2,1023-h))}},{"./lib/bn-to-num":21,"./lib/ctz":22}],31:[function(t,e,r){"use strict";function n(t,e,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)>=0?(a=o,i=o-1):n=o+1}return a}function i(t,e,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)>0?(a=o,i=o-1):n=o+1}return a}function a(t,e,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)<0?(a=o,n=o+1):i=o-1}return a}function o(t,e,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,s=t[o];(void 0!==r?r(s,e):s-e)<=0?(a=o,n=o+1):i=o-1}return a}function s(t,e,r,n,i){for(;n<=i;){var a=n+i>>>1,o=t[a],s=void 0!==r?r(o,e):o-e;if(0===s)return a;s<=0?n=a+1:i=a-1}return-1}function l(t,e,r,n,i,a){return"function"==typeof r?a(t,e,r,void 0===n?0:0|n,void 0===i?t.length-1:0|i):a(t,e,void 0,void 0===r?0:0|r,void 0===n?t.length-1:0|n)}e.exports={ge:function(t,e,r,i,a){return l(t,e,r,i,a,n)},gt:function(t,e,r,n,a){return l(t,e,r,n,a,i)},lt:function(t,e,r,n,i){return l(t,e,r,n,i,a)},le:function(t,e,r,n,i){return l(t,e,r,n,i,o)},eq:function(t,e,r,n,i){return l(t,e,r,n,i,s)}}},{}],32:[function(t,e,r){"use strict";function n(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}r.INT_BITS=32,r.INT_MAX=2147483647,r.INT_MIN=-1<<31,r.sign=function(t){return(t>0)-(t<0)},r.abs=function(t){var e=t>>31;return(t^e)-e},r.min=function(t,e){return e^(t^e)&-(t<e)},r.max=function(t,e){return t^(t^e)&-(t<e)},r.isPow2=function(t){return!(t&t-1||!t)},r.log2=function(t){var e,r;return e=(t>65535)<<4,e|=r=((t>>>=e)>255)<<3,e|=r=((t>>>=r)>15)<<2,(e|=r=((t>>>=r)>3)<<1)|(t>>>=r)>>1},r.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},r.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},r.countTrailingZeros=n,r.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1},r.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},r.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var r=e,n=e,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=1&r,--i;t[e]=n<<i&255}}(i),r.reverse=function(t){return i[255&t]<<24|i[t>>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},r.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},r.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},r.interleave3=function(t,e,r){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(r=1227133513&((r=3272356035&((r=251719695&((r=4278190335&((r&=1023)|r<<16))|r<<8))|r<<4))|r<<2))<<2},r.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},r.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},{}],33:[function(t,e,r){!function(e,r){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var o;"object"==typeof e?e.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:t("buffer").Buffer}catch(t){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function c(t,e,r,n){for(var i=0,a=Math.min(t.length,r),o=e;o<a;o++){var s=t.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=t.length-1,a=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=l(t,e,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(n=(t.length-e)%2==0?e+1:e;n<t.length;n+=2)i=l(t,e,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this.strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var a=t.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,u=r;u<s;u+=n)l=c(t,u,u+n,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var f=1;for(l=c(t,u,t.length,e),u=0;u<o;u++)f*=e;this.imuln(f),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],a=0|e.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var c=1;c<n;c++){for(var u=l>>>26,f=67108863&l,h=Math.min(c,e.length-1),p=Math.max(0,c-t.length+1);p<=h;p++){var d=c-p|0;u+=(o=(i=0|t.words[d])*(a=0|e.words[p])+f)/67108864|0,f=67108863&o}r.words[c]=0|f,l=0|u}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);r=0!==(a=s>>>24-i&16777215)||o!==this.length-1?u[6-l.length]+l+r:l+r,(i+=2)>=26&&(i-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=f[t],p=h[t];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var g=d.modn(p).toString(t);r=(d=d.idivn(p)).isZero()?g+r:u[c-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,e){return n(void 0!==o),this.toArrayLike(o,t,e)},a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===e,c=new t(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},a.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},a.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},a.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,a=0;a<n.length;a++)e=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&e,i=e>>>26;for(;0!==i&&a<r.length;a++)e=(0|r.words[a])+i,this.words[a]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var a=0,o=0;o<n.length;o++)a=(e=(0|r.words[o])-(0|n.words[o])+a)>>26,this.words[o]=67108863&e;for(;0!==a&&o<r.length;o++)a=(e=(0|r.words[o])+a)>>26,this.words[o]=67108863&e;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var d=function(t,e,r){var n,i,a,o=t.words,s=e.words,l=r.words,c=0,u=0|o[0],f=8191&u,h=u>>>13,p=0|o[1],d=8191&p,g=p>>>13,m=0|o[2],v=8191&m,y=m>>>13,x=0|o[3],b=8191&x,_=x>>>13,w=0|o[4],T=8191&w,k=w>>>13,A=0|o[5],M=8191&A,S=A>>>13,E=0|o[6],L=8191&E,C=E>>>13,P=0|o[7],I=8191&P,O=P>>>13,z=0|o[8],D=8191&z,R=z>>>13,F=0|o[9],B=8191&F,N=F>>>13,j=0|s[0],U=8191&j,V=j>>>13,H=0|s[1],q=8191&H,G=H>>>13,Y=0|s[2],W=8191&Y,X=Y>>>13,Z=0|s[3],J=8191&Z,K=Z>>>13,Q=0|s[4],$=8191&Q,tt=Q>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],at=8191&it,ot=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ft=8191&ut,ht=ut>>>13,pt=0|s[9],dt=8191&pt,gt=pt>>>13;r.negative=t.negative^e.negative,r.length=19;var mt=(c+(n=Math.imul(f,U))|0)+((8191&(i=(i=Math.imul(f,V))+Math.imul(h,U)|0))<<13)|0;c=((a=Math.imul(h,V))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(d,U),i=(i=Math.imul(d,V))+Math.imul(g,U)|0,a=Math.imul(g,V);var vt=(c+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(h,q)|0))<<13)|0;c=((a=a+Math.imul(h,G)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,U),i=(i=Math.imul(v,V))+Math.imul(y,U)|0,a=Math.imul(y,V),n=n+Math.imul(d,q)|0,i=(i=i+Math.imul(d,G)|0)+Math.imul(g,q)|0,a=a+Math.imul(g,G)|0;var yt=(c+(n=n+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,W)|0))<<13)|0;c=((a=a+Math.imul(h,X)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(b,U),i=(i=Math.imul(b,V))+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(y,q)|0,a=a+Math.imul(y,G)|0,n=n+Math.imul(d,W)|0,i=(i=i+Math.imul(d,X)|0)+Math.imul(g,W)|0,a=a+Math.imul(g,X)|0;var xt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(h,J)|0))<<13)|0;c=((a=a+Math.imul(h,K)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(T,U),i=(i=Math.imul(T,V))+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(b,q)|0,i=(i=i+Math.imul(b,G)|0)+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(v,W)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(y,W)|0,a=a+Math.imul(y,X)|0,n=n+Math.imul(d,J)|0,i=(i=i+Math.imul(d,K)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,K)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,$)|0))<<13)|0;c=((a=a+Math.imul(h,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(M,U),i=(i=Math.imul(M,V))+Math.imul(S,U)|0,a=Math.imul(S,V),n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(k,q)|0,a=a+Math.imul(k,G)|0,n=n+Math.imul(b,W)|0,i=(i=i+Math.imul(b,X)|0)+Math.imul(_,W)|0,a=a+Math.imul(_,X)|0,n=n+Math.imul(v,J)|0,i=(i=i+Math.imul(v,K)|0)+Math.imul(y,J)|0,a=a+Math.imul(y,K)|0,n=n+Math.imul(d,$)|0,i=(i=i+Math.imul(d,tt)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,tt)|0;var _t=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;c=((a=a+Math.imul(h,nt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,U),i=(i=Math.imul(L,V))+Math.imul(C,U)|0,a=Math.imul(C,V),n=n+Math.imul(M,q)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(S,q)|0,a=a+Math.imul(S,G)|0,n=n+Math.imul(T,W)|0,i=(i=i+Math.imul(T,X)|0)+Math.imul(k,W)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(_,J)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(y,$)|0,a=a+Math.imul(y,tt)|0,n=n+Math.imul(d,rt)|0,i=(i=i+Math.imul(d,nt)|0)+Math.imul(g,rt)|0,a=a+Math.imul(g,nt)|0;var wt=(c+(n=n+Math.imul(f,at)|0)|0)+((8191&(i=(i=i+Math.imul(f,ot)|0)+Math.imul(h,at)|0))<<13)|0;c=((a=a+Math.imul(h,ot)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(I,U),i=(i=Math.imul(I,V))+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(M,W)|0,i=(i=i+Math.imul(M,X)|0)+Math.imul(S,W)|0,a=a+Math.imul(S,X)|0,n=n+Math.imul(T,J)|0,i=(i=i+Math.imul(T,K)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(_,$)|0,a=a+Math.imul(_,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(y,rt)|0,a=a+Math.imul(y,nt)|0,n=n+Math.imul(d,at)|0,i=(i=i+Math.imul(d,ot)|0)+Math.imul(g,at)|0,a=a+Math.imul(g,ot)|0;var Tt=(c+(n=n+Math.imul(f,lt)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(h,lt)|0))<<13)|0;c=((a=a+Math.imul(h,ct)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(D,U),i=(i=Math.imul(D,V))+Math.imul(R,U)|0,a=Math.imul(R,V),n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,q)|0,a=a+Math.imul(O,G)|0,n=n+Math.imul(L,W)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(C,W)|0,a=a+Math.imul(C,X)|0,n=n+Math.imul(M,J)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(S,J)|0,a=a+Math.imul(S,K)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(k,$)|0,a=a+Math.imul(k,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(_,rt)|0,a=a+Math.imul(_,nt)|0,n=n+Math.imul(v,at)|0,i=(i=i+Math.imul(v,ot)|0)+Math.imul(y,at)|0,a=a+Math.imul(y,ot)|0,n=n+Math.imul(d,lt)|0,i=(i=i+Math.imul(d,ct)|0)+Math.imul(g,lt)|0,a=a+Math.imul(g,ct)|0;var kt=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;c=((a=a+Math.imul(h,ht)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(B,U),i=(i=Math.imul(B,V))+Math.imul(N,U)|0,a=Math.imul(N,V),n=n+Math.imul(D,q)|0,i=(i=i+Math.imul(D,G)|0)+Math.imul(R,q)|0,a=a+Math.imul(R,G)|0,n=n+Math.imul(I,W)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(O,W)|0,a=a+Math.imul(O,X)|0,n=n+Math.imul(L,J)|0,i=(i=i+Math.imul(L,K)|0)+Math.imul(C,J)|0,a=a+Math.imul(C,K)|0,n=n+Math.imul(M,$)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(S,$)|0,a=a+Math.imul(S,tt)|0,n=n+Math.imul(T,rt)|0,i=(i=i+Math.imul(T,nt)|0)+Math.imul(k,rt)|0,a=a+Math.imul(k,nt)|0,n=n+Math.imul(b,at)|0,i=(i=i+Math.imul(b,ot)|0)+Math.imul(_,at)|0,a=a+Math.imul(_,ot)|0,n=n+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(y,lt)|0,a=a+Math.imul(y,ct)|0,n=n+Math.imul(d,ft)|0,i=(i=i+Math.imul(d,ht)|0)+Math.imul(g,ft)|0,a=a+Math.imul(g,ht)|0;var At=(c+(n=n+Math.imul(f,dt)|0)|0)+((8191&(i=(i=i+Math.imul(f,gt)|0)+Math.imul(h,dt)|0))<<13)|0;c=((a=a+Math.imul(h,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(B,q),i=(i=Math.imul(B,G))+Math.imul(N,q)|0,a=Math.imul(N,G),n=n+Math.imul(D,W)|0,i=(i=i+Math.imul(D,X)|0)+Math.imul(R,W)|0,a=a+Math.imul(R,X)|0,n=n+Math.imul(I,J)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(O,J)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(C,$)|0,a=a+Math.imul(C,tt)|0,n=n+Math.imul(M,rt)|0,i=(i=i+Math.imul(M,nt)|0)+Math.imul(S,rt)|0,a=a+Math.imul(S,nt)|0,n=n+Math.imul(T,at)|0,i=(i=i+Math.imul(T,ot)|0)+Math.imul(k,at)|0,a=a+Math.imul(k,ot)|0,n=n+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(_,lt)|0,a=a+Math.imul(_,ct)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(y,ft)|0,a=a+Math.imul(y,ht)|0;var Mt=(c+(n=n+Math.imul(d,dt)|0)|0)+((8191&(i=(i=i+Math.imul(d,gt)|0)+Math.imul(g,dt)|0))<<13)|0;c=((a=a+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(B,W),i=(i=Math.imul(B,X))+Math.imul(N,W)|0,a=Math.imul(N,X),n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,J)|0,a=a+Math.imul(R,K)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(O,$)|0,a=a+Math.imul(O,tt)|0,n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(C,rt)|0,a=a+Math.imul(C,nt)|0,n=n+Math.imul(M,at)|0,i=(i=i+Math.imul(M,ot)|0)+Math.imul(S,at)|0,a=a+Math.imul(S,ot)|0,n=n+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,ct)|0)+Math.imul(k,lt)|0,a=a+Math.imul(k,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,ht)|0)+Math.imul(_,ft)|0,a=a+Math.imul(_,ht)|0;var St=(c+(n=n+Math.imul(v,dt)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(y,dt)|0))<<13)|0;c=((a=a+Math.imul(y,gt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(B,J),i=(i=Math.imul(B,K))+Math.imul(N,J)|0,a=Math.imul(N,K),n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,a=a+Math.imul(R,tt)|0,n=n+Math.imul(I,rt)|0,i=(i=i+Math.imul(I,nt)|0)+Math.imul(O,rt)|0,a=a+Math.imul(O,nt)|0,n=n+Math.imul(L,at)|0,i=(i=i+Math.imul(L,ot)|0)+Math.imul(C,at)|0,a=a+Math.imul(C,ot)|0,n=n+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(S,lt)|0,a=a+Math.imul(S,ct)|0,n=n+Math.imul(T,ft)|0,i=(i=i+Math.imul(T,ht)|0)+Math.imul(k,ft)|0,a=a+Math.imul(k,ht)|0;var Et=(c+(n=n+Math.imul(b,dt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(_,dt)|0))<<13)|0;c=((a=a+Math.imul(_,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(N,$)|0,a=Math.imul(N,tt),n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,a=a+Math.imul(R,nt)|0,n=n+Math.imul(I,at)|0,i=(i=i+Math.imul(I,ot)|0)+Math.imul(O,at)|0,a=a+Math.imul(O,ot)|0,n=n+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(C,lt)|0,a=a+Math.imul(C,ct)|0,n=n+Math.imul(M,ft)|0,i=(i=i+Math.imul(M,ht)|0)+Math.imul(S,ft)|0,a=a+Math.imul(S,ht)|0;var Lt=(c+(n=n+Math.imul(T,dt)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(k,dt)|0))<<13)|0;c=((a=a+Math.imul(k,gt)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(B,rt),i=(i=Math.imul(B,nt))+Math.imul(N,rt)|0,a=Math.imul(N,nt),n=n+Math.imul(D,at)|0,i=(i=i+Math.imul(D,ot)|0)+Math.imul(R,at)|0,a=a+Math.imul(R,ot)|0,n=n+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(O,lt)|0,a=a+Math.imul(O,ct)|0,n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(C,ft)|0,a=a+Math.imul(C,ht)|0;var Ct=(c+(n=n+Math.imul(M,dt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(S,dt)|0))<<13)|0;c=((a=a+Math.imul(S,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(B,at),i=(i=Math.imul(B,ot))+Math.imul(N,at)|0,a=Math.imul(N,ot),n=n+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,lt)|0,a=a+Math.imul(R,ct)|0,n=n+Math.imul(I,ft)|0,i=(i=i+Math.imul(I,ht)|0)+Math.imul(O,ft)|0,a=a+Math.imul(O,ht)|0;var Pt=(c+(n=n+Math.imul(L,dt)|0)|0)+((8191&(i=(i=i+Math.imul(L,gt)|0)+Math.imul(C,dt)|0))<<13)|0;c=((a=a+Math.imul(C,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(N,lt)|0,a=Math.imul(N,ct),n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,ht)|0)+Math.imul(R,ft)|0,a=a+Math.imul(R,ht)|0;var It=(c+(n=n+Math.imul(I,dt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(O,dt)|0))<<13)|0;c=((a=a+Math.imul(O,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(B,ft),i=(i=Math.imul(B,ht))+Math.imul(N,ft)|0,a=Math.imul(N,ht);var Ot=(c+(n=n+Math.imul(D,dt)|0)|0)+((8191&(i=(i=i+Math.imul(D,gt)|0)+Math.imul(R,dt)|0))<<13)|0;c=((a=a+Math.imul(R,gt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863;var zt=(c+(n=Math.imul(B,dt))|0)+((8191&(i=(i=Math.imul(B,gt))+Math.imul(N,dt)|0))<<13)|0;return c=((a=Math.imul(N,gt))+(i>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=mt,l[1]=vt,l[2]=yt,l[3]=xt,l[4]=bt,l[5]=_t,l[6]=wt,l[7]=Tt,l[8]=kt,l[9]=At,l[10]=Mt,l[11]=St,l[12]=Et,l[13]=Lt,l[14]=Ct,l[15]=Pt,l[16]=It,l[17]=Ot,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function g(t,e,r){return(new m).mulp(t,e,r)}function m(t,e){this.x=t,this.y=e}Math.imul||(d=p),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?d(this,t,e):r<63?p(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,e.length-1),c=Math.max(0,a-t.length+1);c<=l;c++){var u=a-c,f=(0|t.words[u])*(0|e.words[c]),h=67108863&f;s=67108863&(h=h+s|0),i+=(o=(o=o+(f/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}(this,t,e):g(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},m.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},m.prototype.permute=function(t,e,r,n,i,a){for(var o=0;o<a;o++)n[o]=e[t[o]],i[o]=r[t[o]]},m.prototype.transform=function(t,e,r,n,i,a){this.permute(a,t,e,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var f=l,h=c,p=0;p<o;p++){var d=r[u+p],g=n[u+p],m=r[u+p+o],v=n[u+p+o],y=f*m-h*v;v=f*v+h*m,m=y,r[u+p]=d+m,n[u+p]=g+v,r[u+p+o]=d-m,n[u+p+o]=g-v,p!==s&&(y=l*f-c*h,h=l*h+c*f,f=y)}},m.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},m.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},m.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},m.prototype.convert13b=function(t,e,r,i){for(var a=0,o=0;o<e;o++)a+=0|t[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*e;o<i;++o)r[o]=0;n(0===a),n(0==(-8192&a))},m.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},m.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),c=new Array(n),u=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,o,n),this.convert13b(e.words,e.length,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,f,n,i);for(var p=0;p<n;p++){var d=s[p]*u[p]-l[p]*f[p];l[p]=s[p]*f[p]+l[p]*u[p],s[p]=d}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),g(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,a=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=a>>>26,this.words[r]=67108863&a}return 0!==e&&(this.words[r]=e,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(e=0;e<this.length;e++){var s=this.words[e]&a,l=(0|this.words[e])-s<<r;this.words[e]=l|o,o=s>>>26-r}o&&(this.words[e]=o,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var i;n("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var a=t%26,o=Math.min((t-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var f=0|this.words[c];this.words[c]=u<<26-a|f>>>a,u=f&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},a.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var i,a,o=t.length+r;this._expand(o);var s=0;for(i=0;i<t.length;i++){a=(0|this.words[i+r])+s;var l=(0|t.words[i])*e;s=((a-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)s=(a=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(a=-(0|this.words[i])+s)>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==e){(s=new a(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=n.clone()._ishlnsubmul(i,1,l);0===u.negative&&(n=u,s&&(s.words[l]=1));for(var f=l-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:i,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},a.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new a(1),o=new a(0),s=new a(0),l=new a(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),f=e.clone();!e.isZero();){for(var h=0,p=1;0==(e.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(u),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var d=0,g=1;0==(r.words[0]&g)&&d<26;++d,g<<=1);if(d>0)for(r.iushrn(d);d-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(f)),s.iushrn(1),l.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),o.isub(l)):(r.isub(e),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(c)}},a.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,o=new a(1),s=new a(0),l=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);for(var f=0,h=1;0==(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(i=0===e.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(t),i},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var a=e;e=r,r=a}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new T(t)},a.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){T.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(x,y),x.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var a=0|t.words[n];t.words[n-10]=(4194303&a)<<4|i>>>22,i=a}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},x.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(b,y),i(_,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new x;else if("p224"===t)e=new b;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return v[t]=e,e},T.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},T.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},T.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},T.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},T.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},T.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},T.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},T.prototype.isqr=function(t){return this.imul(t,t.clone())},T.prototype.sqr=function(t){return this.mul(t,t)},T.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new a(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var f=this.pow(u,i),h=this.pow(t,i.addn(1).iushrn(1)),p=this.pow(t,i),d=o;0!==p.cmp(s);){for(var g=p,m=0;0!==g.cmp(s);m++)g=g.redSqr();n(m<d);var v=this.pow(f,new a(1).iushln(d-m-1));h=h.redMul(v),f=v.redSqr(),p=p.redMul(f),d=m}return h},T.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},T.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),n=e.length-1;n>=0;n--){for(var c=e.words[n],u=l-1;u>=0;u--){var f=c>>u&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===u)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}l=26}return i},T.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},T.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new k(t)},i(k,T),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)},{buffer:2}],34:[function(t,e,r){"use strict";e.exports=function(t){var e,r,n,i=t.length,a=0;for(e=0;e<i;++e)a+=t[e].length;var o=new Array(a),s=0;for(e=0;e<i;++e){var l=t[e],c=l.length;for(r=0;r<c;++r){var u=o[s++]=new Array(c-1),f=0;for(n=0;n<c;++n)n!==r&&(u[f++]=l[n]);if(1&r){var h=u[1];u[1]=u[0],u[0]=h}}}return o}},{}],35:[function(t,e,r){"use strict";e.exports=function(t,e,r){switch(arguments.length){case 1:return f(t);case 2:return"function"==typeof e?c(t,t,e,!0):h(t,e);case 3:return c(t,e,r,!1);default:throw new Error("box-intersect: Invalid arguments")}};var n,i=t("typedarray-pool"),a=t("./lib/sweep"),o=t("./lib/intersect");function s(t,e){for(var r=0;r<t;++r)if(!(e[r]<=e[r+t]))return!0;return!1}function l(t,e,r,n){for(var i=0,a=0,o=0,l=t.length;o<l;++o){var c=t[o];if(!s(e,c)){for(var u=0;u<2*e;++u)r[i++]=c[u];n[a++]=o}}return a}function c(t,e,r,n){var s=t.length,c=e.length;if(!(s<=0||c<=0)){var u=t[0].length>>>1;if(!(u<=0)){var f,h=i.mallocDouble(2*u*s),p=i.mallocInt32(s);if((s=l(t,u,h,p))>0){if(1===u&&n)a.init(s),f=a.sweepComplete(u,r,0,s,h,p,0,s,h,p);else{var d=i.mallocDouble(2*u*c),g=i.mallocInt32(c);(c=l(e,u,d,g))>0&&(a.init(s+c),f=1===u?a.sweepBipartite(u,r,0,s,h,p,0,c,d,g):o(u,r,n,s,h,p,c,d,g),i.free(d),i.free(g))}i.free(h),i.free(p)}return f}}}function u(t,e){n.push([t,e])}function f(t){return n=[],c(t,t,u,!0),n}function h(t,e){return n=[],c(t,e,u,!1),n}},{"./lib/intersect":37,"./lib/sweep":41,"typedarray-pool":308}],36:[function(t,e,r){"use strict";function n(t){return t?function(t,e,r,n,i,a,o,s,l,c,u){return i-n>l-s?function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=n,p=f*n;h<i;++h,p+=f){var d=a[e+p],g=a[e+p+t],m=o[h];t:for(var v=s,y=f*s;v<l;++v,y+=f){var x=c[e+y],b=c[e+y+t],_=u[v];if(!(b<d||g<x)){for(var w=e+1;w<t;++w){var T=a[w+p],k=a[w+t+p],A=c[w+y],M=c[w+t+y];if(k<A||M<T)continue t}var S=r(m,_);if(void 0!==S)return S}}}}(t,e,r,n,i,a,o,s,l,c,u):function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=s,p=f*s;h<l;++h,p+=f){var d=c[e+p],g=c[e+p+t],m=u[h];t:for(var v=n,y=f*n;v<i;++v,y+=f){var x=a[e+y],b=a[e+y+t],_=o[v];if(!(g<x||b<d)){for(var w=e+1;w<t;++w){var T=a[w+y],k=a[w+t+y],A=c[w+p],M=c[w+t+p];if(k<A||M<T)continue t}var S=r(_,m);if(void 0!==S)return S}}}}(t,e,r,n,i,a,o,s,l,c,u)}:function(t,e,r,n,i,a,o,s,l,c,u,f){return a-i>c-l?n?function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=n,p=f*n;h<i;++h,p+=f){var d=a[e+p],g=a[e+p+t],m=o[h];t:for(var v=s,y=f*s;v<l;++v,y+=f){var x=c[e+y],b=u[v];if(!(x<=d||g<x)){for(var _=e+1;_<t;++_){var w=a[_+p],T=a[_+t+p],k=c[_+y],A=c[_+t+y];if(T<k||A<w)continue t}var M=r(b,m);if(void 0!==M)return M}}}}(t,e,r,i,a,o,s,l,c,u,f):function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=n,p=f*n;h<i;++h,p+=f){var d=a[e+p],g=a[e+p+t],m=o[h];t:for(var v=s,y=f*s;v<l;++v,y+=f){var x=c[e+y],b=u[v];if(!(x<d||g<x)){for(var _=e+1;_<t;++_){var w=a[_+p],T=a[_+t+p],k=c[_+y],A=c[_+t+y];if(T<k||A<w)continue t}var M=r(m,b);if(void 0!==M)return M}}}}(t,e,r,i,a,o,s,l,c,u,f):n?function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=s,p=f*s;h<l;++h,p+=f){var d=c[e+p],g=u[h];t:for(var m=n,v=f*n;m<i;++m,v+=f){var y=a[e+v],x=a[e+v+t],b=o[m];if(!(d<=y||x<d)){for(var _=e+1;_<t;++_){var w=a[_+v],T=a[_+t+v],k=c[_+p],A=c[_+t+p];if(T<k||A<w)continue t}var M=r(g,b);if(void 0!==M)return M}}}}(t,e,r,i,a,o,s,l,c,u,f):function(t,e,r,n,i,a,o,s,l,c,u){for(var f=2*t,h=s,p=f*s;h<l;++h,p+=f){var d=c[e+p],g=u[h];t:for(var m=n,v=f*n;m<i;++m,v+=f){var y=a[e+v],x=a[e+v+t],b=o[m];if(!(d<y||x<d)){for(var _=e+1;_<t;++_){var w=a[_+v],T=a[_+t+v],k=c[_+p],A=c[_+t+p];if(T<k||A<w)continue t}var M=r(b,g);if(void 0!==M)return M}}}}(t,e,r,i,a,o,s,l,c,u,f)}}r.partial=n(!1),r.full=n(!0)},{}],37:[function(t,e,r){"use strict";e.exports=function(t,e,r,a,u,w,T,k,A){!function(t,e){var r=8*i.log2(e+1)*(t+1)|0,a=i.nextPow2(6*r);v.length<a&&(n.free(v),v=n.mallocInt32(a));var o=i.nextPow2(2*r);y.length<o&&(n.free(y),y=n.mallocDouble(o))}(t,a+T);var M,S=0,E=2*t;x(S++,0,0,a,0,T,r?16:0,-1/0,1/0),r||x(S++,0,0,T,0,a,1,-1/0,1/0);for(;S>0;){var L=6*(S-=1),C=v[L],P=v[L+1],I=v[L+2],O=v[L+3],z=v[L+4],D=v[L+5],R=2*S,F=y[R],B=y[R+1],N=1&D,j=!!(16&D),U=u,V=w,H=k,q=A;if(N&&(U=k,V=A,H=u,q=w),!(2&D&&(I=p(t,C,P,I,U,V,B),P>=I)||4&D&&(P=d(t,C,P,I,U,V,F))>=I)){var G=I-P,Y=z-O;if(j){if(t*G*(G+Y)<1<<22){if(void 0!==(M=l.scanComplete(t,C,e,P,I,U,V,O,z,H,q)))return M;continue}}else{if(t*Math.min(G,Y)<128){if(void 0!==(M=o(t,C,e,N,P,I,U,V,O,z,H,q)))return M;continue}if(t*G*Y<1<<22){if(void 0!==(M=l.scanBipartite(t,C,e,N,P,I,U,V,O,z,H,q)))return M;continue}}var W=f(t,C,P,I,U,V,F,B);if(P<W)if(t*(W-P)<128){if(void 0!==(M=s(t,C+1,e,P,W,U,V,O,z,H,q)))return M}else if(C===t-2){if(void 0!==(M=N?l.sweepBipartite(t,e,O,z,H,q,P,W,U,V):l.sweepBipartite(t,e,P,W,U,V,O,z,H,q)))return M}else x(S++,C+1,P,W,O,z,N,-1/0,1/0),x(S++,C+1,O,z,P,W,1^N,-1/0,1/0);if(W<I){var X=c(t,C,O,z,H,q),Z=H[E*X+C],J=h(t,C,X,z,H,q,Z);if(J<z&&x(S++,C,W,I,J,z,(4|N)+(j?16:0),Z,B),O<X&&x(S++,C,W,I,O,X,(2|N)+(j?16:0),F,Z),X+1===J){if(void 0!==(M=j?_(t,C,e,W,I,U,V,X,H,q[X]):b(t,C,e,N,W,I,U,V,X,H,q[X])))return M}else if(X<J){var K;if(j){if(K=g(t,C,W,I,U,V,Z),W<K){var Q=h(t,C,W,K,U,V,Z);if(C===t-2){if(W<Q&&void 0!==(M=l.sweepComplete(t,e,W,Q,U,V,X,J,H,q)))return M;if(Q<K&&void 0!==(M=l.sweepBipartite(t,e,Q,K,U,V,X,J,H,q)))return M}else W<Q&&x(S++,C+1,W,Q,X,J,16,-1/0,1/0),Q<K&&(x(S++,C+1,Q,K,X,J,0,-1/0,1/0),x(S++,C+1,X,J,Q,K,1,-1/0,1/0))}}else K=N?m(t,C,W,I,U,V,Z):g(t,C,W,I,U,V,Z),W<K&&(C===t-2?M=N?l.sweepBipartite(t,e,X,J,H,q,W,K,U,V):l.sweepBipartite(t,e,W,K,U,V,X,J,H,q):(x(S++,C+1,W,K,X,J,N,-1/0,1/0),x(S++,C+1,X,J,W,K,1^N,-1/0,1/0)))}}}}};var n=t("typedarray-pool"),i=t("bit-twiddle"),a=t("./brute"),o=a.partial,s=a.full,l=t("./sweep"),c=t("./median"),u=t("./partition"),f=u("!(lo>=p0)&&!(p1>=hi)"),h=u("lo===p0"),p=u("lo<p0"),d=u("hi<=p0"),g=u("lo<=p0&&p0<=hi"),m=u("lo<p0&&p0<=hi"),v=n.mallocInt32(1024),y=n.mallocDouble(1024);function x(t,e,r,n,i,a,o,s,l){var c=6*t;v[c]=e,v[c+1]=r,v[c+2]=n,v[c+3]=i,v[c+4]=a,v[c+5]=o;var u=2*t;y[u]=s,y[u+1]=l}function b(t,e,r,n,i,a,o,s,l,c,u){var f=2*t,h=l*f,p=c[h+e];t:for(var d=i,g=i*f;d<a;++d,g+=f){var m=o[g+e],v=o[g+e+t];if(!(p<m||v<p)&&(!n||p!==m)){for(var y,x=s[d],b=e+1;b<t;++b){m=o[g+b],v=o[g+b+t];var _=c[h+b],w=c[h+b+t];if(v<_||w<m)continue t}if(void 0!==(y=n?r(u,x):r(x,u)))return y}}}function _(t,e,r,n,i,a,o,s,l,c){var u=2*t,f=s*u,h=l[f+e];t:for(var p=n,d=n*u;p<i;++p,d+=u){var g=o[p];if(g!==c){var m=a[d+e],v=a[d+e+t];if(!(h<m||v<h)){for(var y=e+1;y<t;++y){m=a[d+y],v=a[d+y+t];var x=l[f+y],b=l[f+y+t];if(v<x||b<m)continue t}var _=r(g,c);if(void 0!==_)return _}}}}},{"./brute":36,"./median":38,"./partition":39,"./sweep":41,"bit-twiddle":32,"typedarray-pool":308}],38:[function(t,e,r){"use strict";e.exports=function(t,e,r,a,o,s){if(a<=r+1)return r;var l=r,c=a,u=a+r>>>1,f=2*t,h=u,p=o[f*u+e];for(;l<c;){if(c-l<8){i(t,e,l,c,o,s),p=o[f*u+e];break}var d=c-l,g=Math.random()*d+l|0,m=o[f*g+e],v=Math.random()*d+l|0,y=o[f*v+e],x=Math.random()*d+l|0,b=o[f*x+e];m<=y?b>=y?(h=v,p=y):m>=b?(h=g,p=m):(h=x,p=b):y>=b?(h=v,p=y):b>=m?(h=g,p=m):(h=x,p=b);for(var _=f*(c-1),w=f*h,T=0;T<f;++T,++_,++w){var k=o[_];o[_]=o[w],o[w]=k}var A=s[c-1];s[c-1]=s[h],s[h]=A,h=n(t,e,l,c-1,o,s,p);for(_=f*(c-1),w=f*h,T=0;T<f;++T,++_,++w){k=o[_];o[_]=o[w],o[w]=k}A=s[c-1];if(s[c-1]=s[h],s[h]=A,u<h){for(c=h-1;l<c&&o[f*(c-1)+e]===p;)c-=1;c+=1}else{if(!(h<u))break;for(l=h+1;l<c&&o[f*l+e]===p;)l+=1}}return n(t,e,r,u,o,s,o[f*u+e])};var n=t("./partition")("lo<p0");function i(t,e,r,n,i,a){for(var o=2*t,s=o*(r+1)+e,l=r+1;l<n;++l,s+=o)for(var c=i[s],u=l,f=o*(l-1);u>r&&i[f+e]>c;--u,f-=o){for(var h=f,p=f+o,d=0;d<o;++d,++h,++p){var g=i[h];i[h]=i[p],i[p]=g}var m=a[u];a[u]=a[u-1],a[u-1]=m}}},{"./partition":39}],39:[function(t,e,r){"use strict";e.exports=function(t){return n[t]};var n={"lo===p0":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=e,h=r;n>h;++h,l+=s){if(i[l+f]===o)if(u===h)u+=1,c+=s;else{for(var p=0;s>p;++p){var d=i[l+p];i[l+p]=i[c],i[c++]=d}var g=a[h];a[h]=a[u],a[u++]=g}}return u},"lo<p0":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=e,h=r;n>h;++h,l+=s){if(i[l+f]<o)if(u===h)u+=1,c+=s;else{for(var p=0;s>p;++p){var d=i[l+p];i[l+p]=i[c],i[c++]=d}var g=a[h];a[h]=a[u],a[u++]=g}}return u},"lo<=p0":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=t+e,h=r;n>h;++h,l+=s){if(i[l+f]<=o)if(u===h)u+=1,c+=s;else{for(var p=0;s>p;++p){var d=i[l+p];i[l+p]=i[c],i[c++]=d}var g=a[h];a[h]=a[u],a[u++]=g}}return u},"hi<=p0":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=t+e,h=r;n>h;++h,l+=s){if(i[l+f]<=o)if(u===h)u+=1,c+=s;else{for(var p=0;s>p;++p){var d=i[l+p];i[l+p]=i[c],i[c++]=d}var g=a[h];a[h]=a[u],a[u++]=g}}return u},"lo<p0&&p0<=hi":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=e,h=t+e,p=r;n>p;++p,l+=s){var d=i[l+f],g=i[l+h];if(d<o&&o<=g)if(u===p)u+=1,c+=s;else{for(var m=0;s>m;++m){var v=i[l+m];i[l+m]=i[c],i[c++]=v}var y=a[p];a[p]=a[u],a[u++]=y}}return u},"lo<=p0&&p0<=hi":function(t,e,r,n,i,a,o){for(var s=2*t,l=s*r,c=l,u=r,f=e,h=t+e,p=r;n>p;++p,l+=s){var d=i[l+f],g=i[l+h];if(d<=o&&o<=g)if(u===p)u+=1,c+=s;else{for(var m=0;s>m;++m){var v=i[l+m];i[l+m]=i[c],i[c++]=v}var y=a[p];a[p]=a[u],a[u++]=y}}return u},"!(lo>=p0)&&!(p1>=hi)":function(t,e,r,n,i,a,o,s){for(var l=2*t,c=l*r,u=c,f=r,h=e,p=t+e,d=r;n>d;++d,c+=l){var g=i[c+h],m=i[c+p];if(!(g>=o||s>=m))if(f===d)f+=1,u+=l;else{for(var v=0;l>v;++v){var y=i[c+v];i[c+v]=i[u],i[u++]=y}var x=a[d];a[d]=a[f],a[f++]=x}}return f}}},{}],40:[function(t,e,r){"use strict";e.exports=function(t,e){e<=128?n(0,e-1,t):function t(e,r,u){var f=(r-e+1)/6|0,h=e+f,p=r-f,d=e+r>>1,g=d-f,m=d+f,v=h,y=g,x=d,b=m,_=p,w=e+1,T=r-1,k=0;l(v,y,u)&&(k=v,v=y,y=k);l(b,_,u)&&(k=b,b=_,_=k);l(v,x,u)&&(k=v,v=x,x=k);l(y,x,u)&&(k=y,y=x,x=k);l(v,b,u)&&(k=v,v=b,b=k);l(x,b,u)&&(k=x,x=b,b=k);l(y,_,u)&&(k=y,y=_,_=k);l(y,x,u)&&(k=y,y=x,x=k);l(b,_,u)&&(k=b,b=_,_=k);for(var A=u[2*y],M=u[2*y+1],S=u[2*b],E=u[2*b+1],L=2*v,C=2*x,P=2*_,I=2*h,O=2*d,z=2*p,D=0;D<2;++D){var R=u[L+D],F=u[C+D],B=u[P+D];u[I+D]=R,u[O+D]=F,u[z+D]=B}a(g,e,u),a(m,r,u);for(var N=w;N<=T;++N)if(c(N,A,M,u))N!==w&&i(N,w,u),++w;else if(!c(N,S,E,u))for(;;){if(c(T,S,E,u)){c(T,A,M,u)?(o(N,w,T,u),++w,--T):(i(N,T,u),--T);break}if(--T<N)break}s(e,w-1,A,M,u),s(r,T+1,S,E,u),w-2-e<=32?n(e,w-2,u):t(e,w-2,u);r-(T+2)<=32?n(T+2,r,u):t(T+2,r,u);T-w<=32?n(w,T,u):t(w,T,u)}(0,e-1,t)};function n(t,e,r){for(var n=2*(t+1),i=t+1;i<=e;++i){for(var a=r[n++],o=r[n++],s=i,l=n-2;s-- >t;){var c=r[l-2],u=r[l-1];if(c<a)break;if(c===a&&u<o)break;r[l]=c,r[l+1]=u,l-=2}r[l]=a,r[l+1]=o}}function i(t,e,r){e*=2;var n=r[t*=2],i=r[t+1];r[t]=r[e],r[t+1]=r[e+1],r[e]=n,r[e+1]=i}function a(t,e,r){e*=2,r[t*=2]=r[e],r[t+1]=r[e+1]}function o(t,e,r,n){e*=2,r*=2;var i=n[t*=2],a=n[t+1];n[t]=n[e],n[t+1]=n[e+1],n[e]=n[r],n[e+1]=n[r+1],n[r]=i,n[r+1]=a}function s(t,e,r,n,i){e*=2,i[t*=2]=i[e],i[e]=r,i[t+1]=i[e+1],i[e+1]=n}function l(t,e,r){e*=2;var n=r[t*=2],i=r[e];return!(n<i)&&(n!==i||r[t+1]>r[e+1])}function c(t,e,r,n){var i=n[t*=2];return i<e||i===e&&n[t+1]<r}},{}],41:[function(t,e,r){"use strict";e.exports={init:function(t){var e=i.nextPow2(t);o.length<e&&(n.free(o),o=n.mallocInt32(e));s.length<e&&(n.free(s),s=n.mallocInt32(e));l.length<e&&(n.free(l),l=n.mallocInt32(e));c.length<e&&(n.free(c),c=n.mallocInt32(e));u.length<e&&(n.free(u),u=n.mallocInt32(e));f.length<e&&(n.free(f),f=n.mallocInt32(e));var r=8*e;h.length<r&&(n.free(h),h=n.mallocDouble(r))},sweepBipartite:function(t,e,r,n,i,u,f,g,m,v){for(var y=0,x=2*t,b=t-1,_=x-1,w=r;w<n;++w){var T=u[w],k=x*w;h[y++]=i[k+b],h[y++]=-(T+1),h[y++]=i[k+_],h[y++]=T}for(w=f;w<g;++w){T=v[w]+(1<<28);var A=x*w;h[y++]=m[A+b],h[y++]=-T,h[y++]=m[A+_],h[y++]=T}var M=y>>>1;a(h,M);var S=0,E=0;for(w=0;w<M;++w){var L=0|h[2*w+1];if(L>=1<<28)p(l,c,E--,L=L-(1<<28)|0);else if(L>=0)p(o,s,S--,L);else if(L<=-(1<<28)){L=-L-(1<<28)|0;for(var C=0;C<S;++C){if(void 0!==(P=e(o[C],L)))return P}d(l,c,E++,L)}else{L=-L-1|0;for(C=0;C<E;++C){var P;if(void 0!==(P=e(L,l[C])))return P}d(o,s,S++,L)}}},sweepComplete:function(t,e,r,n,i,g,m,v,y,x){for(var b=0,_=2*t,w=t-1,T=_-1,k=r;k<n;++k){var A=g[k]+1<<1,M=_*k;h[b++]=i[M+w],h[b++]=-A,h[b++]=i[M+T],h[b++]=A}for(k=m;k<v;++k){A=x[k]+1<<1;var S=_*k;h[b++]=y[S+w],h[b++]=1|-A,h[b++]=y[S+T],h[b++]=1|A}var E=b>>>1;a(h,E);var L=0,C=0,P=0;for(k=0;k<E;++k){var I=0|h[2*k+1],O=1&I;if(k<E-1&&I>>1==h[2*k+3]>>1&&(O=2,k+=1),I<0){for(var z=-(I>>1)-1,D=0;D<P;++D){if(void 0!==(R=e(u[D],z)))return R}if(0!==O)for(D=0;D<L;++D){if(void 0!==(R=e(o[D],z)))return R}if(1!==O)for(D=0;D<C;++D){var R;if(void 0!==(R=e(l[D],z)))return R}0===O?d(o,s,L++,z):1===O?d(l,c,C++,z):2===O&&d(u,f,P++,z)}else{z=(I>>1)-1;0===O?p(o,s,L--,z):1===O?p(l,c,C--,z):2===O&&p(u,f,P--,z)}}},scanBipartite:function(t,e,r,n,i,l,c,u,f,g,m,v){var y=0,x=2*t,b=e,_=e+t,w=1,T=1;n?T=1<<28:w=1<<28;for(var k=i;k<l;++k){var A=k+w,M=x*k;h[y++]=c[M+b],h[y++]=-A,h[y++]=c[M+_],h[y++]=A}for(k=f;k<g;++k){A=k+T;var S=x*k;h[y++]=m[S+b],h[y++]=-A}var E=y>>>1;a(h,E);var L=0;for(k=0;k<E;++k){var C=0|h[2*k+1];if(C<0){var P=!1;if((A=-C)>=1<<28?(P=!n,A-=1<<28):(P=!!n,A-=1),P)d(o,s,L++,A);else{var I=v[A],O=x*A,z=m[O+e+1],D=m[O+e+1+t];t:for(var R=0;R<L;++R){var F=o[R],B=x*F;if(!(D<c[B+e+1]||c[B+e+1+t]<z)){for(var N=e+2;N<t;++N)if(m[O+N+t]<c[B+N]||c[B+N+t]<m[O+N])continue t;var j,U=u[F];if(void 0!==(j=n?r(I,U):r(U,I)))return j}}}}else p(o,s,L--,C-w)}},scanComplete:function(t,e,r,n,i,s,l,c,u,f,p){for(var d=0,g=2*t,m=e,v=e+t,y=n;y<i;++y){var x=y+(1<<28),b=g*y;h[d++]=s[b+m],h[d++]=-x,h[d++]=s[b+v],h[d++]=x}for(y=c;y<u;++y){x=y+1;var _=g*y;h[d++]=f[_+m],h[d++]=-x}var w=d>>>1;a(h,w);var T=0;for(y=0;y<w;++y){var k=0|h[2*y+1];if(k<0){if((x=-k)>=1<<28)o[T++]=x-(1<<28);else{var A=p[x-=1],M=g*x,S=f[M+e+1],E=f[M+e+1+t];t:for(var L=0;L<T;++L){var C=o[L],P=l[C];if(P===A)break;var I=g*C;if(!(E<s[I+e+1]||s[I+e+1+t]<S)){for(var O=e+2;O<t;++O)if(f[M+O+t]<s[I+O]||s[I+O+t]<f[M+O])continue t;var z=r(P,A);if(void 0!==z)return z}}}}else{for(x=k-(1<<28),L=T-1;L>=0;--L)if(o[L]===x){for(O=L+1;O<T;++O)o[O-1]=o[O];break}--T}}}};var n=t("typedarray-pool"),i=t("bit-twiddle"),a=t("./sort"),o=n.mallocInt32(1024),s=n.mallocInt32(1024),l=n.mallocInt32(1024),c=n.mallocInt32(1024),u=n.mallocInt32(1024),f=n.mallocInt32(1024),h=n.mallocDouble(8192);function p(t,e,r,n){var i=e[n],a=t[r-1];t[i]=a,e[a]=i}function d(t,e,r,n){t[r]=n,e[n]=r}},{"./sort":40,"bit-twiddle":32,"typedarray-pool":308}],42:[function(t,e,r){"use strict";var n=t("./lib/monotone"),i=t("./lib/triangulation"),a=t("./lib/delaunay"),o=t("./lib/filter");function s(t){return[Math.min(t[0],t[1]),Math.max(t[0],t[1])]}function l(t,e){return t[0]-e[0]||t[1]-e[1]}function c(t,e,r){return e in t?t[e]:r}e.exports=function(t,e,r){Array.isArray(e)?(r=r||{},e=e||[]):(r=e||{},e=[]);var u=!!c(r,"delaunay",!0),f=!!c(r,"interior",!0),h=!!c(r,"exterior",!0),p=!!c(r,"infinity",!1);if(!f&&!h||0===t.length)return[];var d=n(t,e);if(u||f!==h||p){for(var g=i(t.length,function(t){return t.map(s).sort(l)}(e)),m=0;m<d.length;++m){var v=d[m];g.addTriangle(v[0],v[1],v[2])}return u&&a(t,g),h?f?p?o(g,0,p):g.cells():o(g,1,p):o(g,-1)}return d}},{"./lib/delaunay":43,"./lib/filter":44,"./lib/monotone":45,"./lib/triangulation":46}],43:[function(t,e,r){"use strict";var n=t("robust-in-sphere")[4];t("binary-search-bounds");function i(t,e,r,i,a,o){var s=e.opposite(i,a);if(!(s<0)){if(a<i){var l=i;i=a,a=l,l=o,o=s,s=l}e.isConstraint(i,a)||n(t[i],t[a],t[o],t[s])<0&&r.push(i,a)}}e.exports=function(t,e){for(var r=[],a=t.length,o=e.stars,s=0;s<a;++s)for(var l=o[s],c=1;c<l.length;c+=2){if(!((p=l[c])<s)&&!e.isConstraint(s,p)){for(var u=l[c-1],f=-1,h=1;h<l.length;h+=2)if(l[h-1]===p){f=l[h];break}f<0||n(t[s],t[p],t[u],t[f])<0&&r.push(s,p)}}for(;r.length>0;){for(var p=r.pop(),d=(s=r.pop(),u=-1,f=-1,l=o[s],1);d<l.length;d+=2){var g=l[d-1],m=l[d];g===p?f=m:m===p&&(u=g)}u<0||f<0||(n(t[s],t[p],t[u],t[f])>=0||(e.flip(s,p),i(t,e,r,u,s,f),i(t,e,r,s,f,u),i(t,e,r,f,p,u),i(t,e,r,p,u,f)))}}},{"binary-search-bounds":31,"robust-in-sphere":282}],44:[function(t,e,r){"use strict";var n,i=t("binary-search-bounds");function a(t,e,r,n,i,a,o){this.cells=t,this.neighbor=e,this.flags=n,this.constraint=r,this.active=i,this.next=a,this.boundary=o}function o(t,e){return t[0]-e[0]||t[1]-e[1]||t[2]-e[2]}e.exports=function(t,e,r){var n=function(t,e){for(var r=t.cells(),n=r.length,i=0;i<n;++i){var s=(v=r[i])[0],l=v[1],c=v[2];l<c?l<s&&(v[0]=l,v[1]=c,v[2]=s):c<s&&(v[0]=c,v[1]=s,v[2]=l)}r.sort(o);var u=new Array(n);for(i=0;i<u.length;++i)u[i]=0;var f=[],h=[],p=new Array(3*n),d=new Array(3*n),g=null;e&&(g=[]);var m=new a(r,p,d,u,f,h,g);for(i=0;i<n;++i)for(var v=r[i],y=0;y<3;++y){s=v[y],l=v[(y+1)%3];var x=p[3*i+y]=m.locate(l,s,t.opposite(l,s)),b=d[3*i+y]=t.isConstraint(s,l);x<0&&(b?h.push(i):(f.push(i),u[i]=1),e&&g.push([l,s,-1]))}return m}(t,r);if(0===e)return r?n.cells.concat(n.boundary):n.cells;var i=1,s=n.active,l=n.next,c=n.flags,u=n.cells,f=n.constraint,h=n.neighbor;for(;s.length>0||l.length>0;){for(;s.length>0;){var p=s.pop();if(c[p]!==-i){c[p]=i;u[p];for(var d=0;d<3;++d){var g=h[3*p+d];g>=0&&0===c[g]&&(f[3*p+d]?l.push(g):(s.push(g),c[g]=i))}}}var m=l;l=s,s=m,l.length=0,i=-i}var v=function(t,e,r){for(var n=0,i=0;i<t.length;++i)e[i]===r&&(t[n++]=t[i]);return t.length=n,t}(u,c,e);if(r)return v.concat(n.boundary);return v},a.prototype.locate=(n=[0,0,0],function(t,e,r){var a=t,s=e,l=r;return e<r?e<t&&(a=e,s=r,l=t):r<t&&(a=r,s=t,l=e),a<0?-1:(n[0]=a,n[1]=s,n[2]=l,i.eq(this.cells,n,o))})},{"binary-search-bounds":31}],45:[function(t,e,r){"use strict";var n=t("binary-search-bounds"),i=t("robust-orientation")[3];function a(t,e,r,n,i){this.a=t,this.b=e,this.idx=r,this.lowerIds=n,this.upperIds=i}function o(t,e,r,n){this.a=t,this.b=e,this.type=r,this.idx=n}function s(t,e){var r=t.a[0]-e.a[0]||t.a[1]-e.a[1]||t.type-e.type;return r||(0!==t.type&&(r=i(t.a,t.b,e.b))?r:t.idx-e.idx)}function l(t,e){return i(t.a,t.b,e)}function c(t,e,r,a,o){for(var s=n.lt(e,a,l),c=n.gt(e,a,l),u=s;u<c;++u){for(var f=e[u],h=f.lowerIds,p=h.length;p>1&&i(r[h[p-2]],r[h[p-1]],a)>0;)t.push([h[p-1],h[p-2],o]),p-=1;h.length=p,h.push(o);var d=f.upperIds;for(p=d.length;p>1&&i(r[d[p-2]],r[d[p-1]],a)<0;)t.push([d[p-2],d[p-1],o]),p-=1;d.length=p,d.push(o)}}function u(t,e){var r;return(r=t.a[0]<e.a[0]?i(t.a,t.b,e.a):i(e.b,e.a,t.a))?r:(r=e.b[0]<t.b[0]?i(t.a,t.b,e.b):i(e.b,e.a,t.b))||t.idx-e.idx}function f(t,e,r){var i=n.le(t,r,u),o=t[i],s=o.upperIds,l=s[s.length-1];o.upperIds=[l],t.splice(i+1,0,new a(r.a,r.b,r.idx,[l],s))}function h(t,e,r){var i=r.a;r.a=r.b,r.b=i;var a=n.eq(t,r,u),o=t[a];t[a-1].upperIds=o.upperIds,t.splice(a,1)}e.exports=function(t,e){for(var r=t.length,n=e.length,i=[],l=0;l<r;++l)i.push(new o(t[l],null,0,l));for(l=0;l<n;++l){var u=e[l],p=t[u[0]],d=t[u[1]];p[0]<d[0]?i.push(new o(p,d,2,l),new o(d,p,1,l)):p[0]>d[0]&&i.push(new o(d,p,2,l),new o(p,d,1,l))}i.sort(s);for(var g=i[0].a[0]-(1+Math.abs(i[0].a[0]))*Math.pow(2,-52),m=[new a([g,1],[g,0],-1,[],[],[],[])],v=[],y=(l=0,i.length);l<y;++l){var x=i[l],b=x.type;0===b?c(v,m,t,x.a,x.idx):2===b?f(m,t,x):h(m,t,x)}return v}},{"binary-search-bounds":31,"robust-orientation":284}],46:[function(t,e,r){"use strict";var n=t("binary-search-bounds");function i(t,e){this.stars=t,this.edges=e}e.exports=function(t,e){for(var r=new Array(t),n=0;n<t;++n)r[n]=[];return new i(r,e)};var a=i.prototype;function o(t,e,r){for(var n=1,i=t.length;n<i;n+=2)if(t[n-1]===e&&t[n]===r)return t[n-1]=t[i-2],t[n]=t[i-1],void(t.length=i-2)}a.isConstraint=function(){var t=[0,0];function e(t,e){return t[0]-e[0]||t[1]-e[1]}return function(r,i){return t[0]=Math.min(r,i),t[1]=Math.max(r,i),n.eq(this.edges,t,e)>=0}}(),a.removeTriangle=function(t,e,r){var n=this.stars;o(n[t],e,r),o(n[e],r,t),o(n[r],t,e)},a.addTriangle=function(t,e,r){var n=this.stars;n[t].push(e,r),n[e].push(r,t),n[r].push(t,e)},a.opposite=function(t,e){for(var r=this.stars[e],n=1,i=r.length;n<i;n+=2)if(r[n]===t)return r[n-1];return-1},a.flip=function(t,e){var r=this.opposite(t,e),n=this.opposite(e,t);this.removeTriangle(t,e,r),this.removeTriangle(e,t,n),this.addTriangle(t,n,r),this.addTriangle(e,r,n)},a.edges=function(){for(var t=this.stars,e=[],r=0,n=t.length;r<n;++r)for(var i=t[r],a=0,o=i.length;a<o;a+=2)e.push([i[a],i[a+1]]);return e},a.cells=function(){for(var t=this.stars,e=[],r=0,n=t.length;r<n;++r)for(var i=t[r],a=0,o=i.length;a<o;a+=2){var s=i[a],l=i[a+1];r<Math.min(s,l)&&e.push([r,s,l])}return e}},{"binary-search-bounds":31}],47:[function(t,e,r){"use strict";e.exports=function(t){for(var e=1,r=1;r<t.length;++r)for(var n=0;n<r;++n)if(t[r]<t[n])e=-e;else if(t[n]===t[r])return 0;return e}},{}],48:[function(t,e,r){"use strict";var n=t("dup"),i=t("robust-linear-solve");function a(t,e){for(var r=0,n=t.length,i=0;i<n;++i)r+=t[i]*e[i];return r}function o(t){var e=t.length;if(0===e)return[];t[0].length;var r=n([t.length+1,t.length+1],1),o=n([t.length+1],1);r[e][e]=0;for(var s=0;s<e;++s){for(var l=0;l<=s;++l)r[l][s]=r[s][l]=2*a(t[s],t[l]);o[s]=a(t[s],t[s])}var c=i(r,o),u=0,f=c[e+1];for(s=0;s<f.length;++s)u+=f[s];var h=new Array(e);for(s=0;s<e;++s){f=c[s];var p=0;for(l=0;l<f.length;++l)p+=f[l];h[s]=p/u}return h}function s(t){if(0===t.length)return[];for(var e=t[0].length,r=n([e]),i=o(t),a=0;a<t.length;++a)for(var s=0;s<e;++s)r[s]+=t[a][s]*i[a];return r}s.barycenetric=o,e.exports=s},{dup:65,"robust-linear-solve":283}],49:[function(t,e,r){e.exports=function(t){for(var e=n(t),r=0,i=0;i<t.length;++i)for(var a=t[i],o=0;o<e.length;++o)r+=Math.pow(a[o]-e[o],2);return Math.sqrt(r/t.length)};var n=t("circumcenter")},{circumcenter:48}],50:[function(t,e,r){"use strict";e.exports=function(t,e,r){var n;if(r){n=e;for(var i=new Array(e.length),a=0;a<e.length;++a){var o=e[a];i[a]=[o[0],o[1],r[a]]}e=i}var s=function(t,e,r){var n=d(t,[],p(t));return v(e,n,r),!!n}(t,e,!!r);for(;y(t,e,!!r);)s=!0;if(r&&s){n.length=0,r.length=0;for(a=0;a<e.length;++a){o=e[a];n.push([o[0],o[1]]),r.push(o[2])}}return s};var n=t("union-find"),i=t("box-intersect"),a=t("robust-segment-intersect"),o=t("big-rat"),s=t("big-rat/cmp"),l=t("big-rat/to-float"),c=t("rat-vec"),u=t("nextafter"),f=t("./lib/rat-seg-intersect");function h(t){var e=l(t);return[u(e,-1/0),u(e,1/0)]}function p(t){for(var e=new Array(t.length),r=0;r<t.length;++r){var n=t[r];e[r]=[u(n[0],-1/0),u(n[1],-1/0),u(n[0],1/0),u(n[1],1/0)]}return e}function d(t,e,r){for(var a=e.length,o=new n(a),s=[],l=0;l<e.length;++l){var c=e[l],f=h(c[0]),p=h(c[1]);s.push([u(f[0],-1/0),u(p[0],-1/0),u(f[1],1/0),u(p[1],1/0)])}i(s,(function(t,e){o.link(t,e)}));var d=!0,g=new Array(a);for(l=0;l<a;++l){(v=o.find(l))!==l&&(d=!1,t[v]=[Math.min(t[l][0],t[v][0]),Math.min(t[l][1],t[v][1])])}if(d)return null;var m=0;for(l=0;l<a;++l){var v;(v=o.find(l))===l?(g[l]=m,t[m++]=t[l]):g[l]=-1}t.length=m;for(l=0;l<a;++l)g[l]<0&&(g[l]=g[o.find(l)]);return g}function g(t,e){return t[0]-e[0]||t[1]-e[1]}function m(t,e){var r=t[0]-e[0]||t[1]-e[1];return r||(t[2]<e[2]?-1:t[2]>e[2]?1:0)}function v(t,e,r){if(0!==t.length){if(e)for(var n=0;n<t.length;++n){var i=e[(o=t[n])[0]],a=e[o[1]];o[0]=Math.min(i,a),o[1]=Math.max(i,a)}else for(n=0;n<t.length;++n){var o;i=(o=t[n])[0],a=o[1];o[0]=Math.min(i,a),o[1]=Math.max(i,a)}r?t.sort(m):t.sort(g);var s=1;for(n=1;n<t.length;++n){var l=t[n-1],c=t[n];(c[0]!==l[0]||c[1]!==l[1]||r&&c[2]!==l[2])&&(t[s++]=c)}t.length=s}}function y(t,e,r){var n=function(t,e){for(var r=new Array(e.length),n=0;n<e.length;++n){var i=e[n],a=t[i[0]],o=t[i[1]];r[n]=[u(Math.min(a[0],o[0]),-1/0),u(Math.min(a[1],o[1]),-1/0),u(Math.max(a[0],o[0]),1/0),u(Math.max(a[1],o[1]),1/0)]}return r}(t,e),h=function(t,e,r){var n=[];return i(r,(function(r,i){var o=e[r],s=e[i];if(o[0]!==s[0]&&o[0]!==s[1]&&o[1]!==s[0]&&o[1]!==s[1]){var l=t[o[0]],c=t[o[1]],u=t[s[0]],f=t[s[1]];a(l,c,u,f)&&n.push([r,i])}})),n}(t,e,n),g=p(t),m=function(t,e,r,n){var o=[];return i(r,n,(function(r,n){var i=e[r];if(i[0]!==n&&i[1]!==n){var s=t[n],l=t[i[0]],c=t[i[1]];a(l,c,s,s)&&o.push([r,n])}})),o}(t,e,n,g),y=d(t,function(t,e,r,n,i){var a,u,h=t.map((function(t){return[o(t[0]),o(t[1])]}));for(a=0;a<r.length;++a){var p=r[a];u=p[0];var d=p[1],g=e[u],m=e[d],v=f(c(t[g[0]]),c(t[g[1]]),c(t[m[0]]),c(t[m[1]]));if(v){var y=t.length;t.push([l(v[0]),l(v[1])]),h.push(v),n.push([u,y],[d,y])}}for(n.sort((function(t,e){if(t[0]!==e[0])return t[0]-e[0];var r=h[t[1]],n=h[e[1]];return s(r[0],n[0])||s(r[1],n[1])})),a=n.length-1;a>=0;--a){var x=e[u=(S=n[a])[0]],b=x[0],_=x[1],w=t[b],T=t[_];if((w[0]-T[0]||w[1]-T[1])<0){var k=b;b=_,_=k}x[0]=b;var A,M=x[1]=S[1];for(i&&(A=x[2]);a>0&&n[a-1][0]===u;){var S,E=(S=n[--a])[1];i?e.push([M,E,A]):e.push([M,E]),M=E}i?e.push([M,_,A]):e.push([M,_])}return h}(t,e,h,m,r));return v(e,y,r),!!y||(h.length>0||m.length>0)}},{"./lib/rat-seg-intersect":51,"big-rat":18,"big-rat/cmp":16,"big-rat/to-float":30,"box-intersect":35,nextafter:260,"rat-vec":273,"robust-segment-intersect":287,"union-find":309}],51:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){var a=s(e,t),f=s(n,r),h=u(a,f);if(0===o(h))return null;var p=s(t,r),d=u(f,p),g=i(d,h),m=c(a,g);return l(t,m)};var n=t("big-rat/mul"),i=t("big-rat/div"),a=t("big-rat/sub"),o=t("big-rat/sign"),s=t("rat-vec/sub"),l=t("rat-vec/add"),c=t("rat-vec/muls");function u(t,e){return a(n(t[0],e[1]),n(t[1],e[0]))}},{"big-rat/div":17,"big-rat/mul":27,"big-rat/sign":28,"big-rat/sub":29,"rat-vec/add":272,"rat-vec/muls":274,"rat-vec/sub":275}],52:[function(t,e,r){e.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},{}],53:[function(t,e,r){"use strict";var n=t("./colorScale"),i=t("lerp");function a(t){return[t[0]/255,t[1]/255,t[2]/255,t[3]]}function o(t){for(var e,r="#",n=0;n<3;++n)r+=("00"+(e=(e=t[n]).toString(16))).substr(e.length);return r}function s(t){return"rgba("+t.join(",")+")"}e.exports=function(t){var e,r,l,c,u,f,h,p,d,g;t||(t={});p=(t.nshades||72)-1,h=t.format||"hex",(f=t.colormap)||(f="jet");if("string"==typeof f){if(f=f.toLowerCase(),!n[f])throw Error(f+" not a supported colorscale");u=n[f]}else{if(!Array.isArray(f))throw Error("unsupported colormap option",f);u=f.slice()}if(u.length>p+1)throw new Error(f+" map requires nshades to be at least size "+u.length);d=Array.isArray(t.alpha)?2!==t.alpha.length?[1,1]:t.alpha.slice():"number"==typeof t.alpha?[t.alpha,t.alpha]:[1,1];e=u.map((function(t){return Math.round(t.index*p)})),d[0]=Math.min(Math.max(d[0],0),1),d[1]=Math.min(Math.max(d[1],0),1);var m=u.map((function(t,e){var r=u[e].index,n=u[e].rgb.slice();return 4===n.length&&n[3]>=0&&n[3]<=1||(n[3]=d[0]+(d[1]-d[0])*r),n})),v=[];for(g=0;g<e.length-1;++g){c=e[g+1]-e[g],r=m[g],l=m[g+1];for(var y=0;y<c;y++){var x=y/c;v.push([Math.round(i(r[0],l[0],x)),Math.round(i(r[1],l[1],x)),Math.round(i(r[2],l[2],x)),i(r[3],l[3],x)])}}v.push(u[u.length-1].rgb.concat(d[1])),"hex"===h?v=v.map(o):"rgbaString"===h?v=v.map(s):"float"===h&&(v=v.map(a));return v}},{"./colorScale":52,lerp:240}],54:[function(t,e,r){"use strict";e.exports=function(t,e,r,a){var o=n(e,r,a);if(0===o){var s=i(n(t,e,r)),c=i(n(t,e,a));if(s===c){if(0===s){var u=l(t,e,r),f=l(t,e,a);return u===f?0:u?1:-1}return 0}return 0===c?s>0||l(t,e,a)?-1:1:0===s?c>0||l(t,e,r)?1:-1:i(c-s)}var h=n(t,e,r);return h>0?o>0&&n(t,e,a)>0?1:-1:h<0?o>0||n(t,e,a)>0?1:-1:n(t,e,a)>0||l(t,e,r)?1:-1};var n=t("robust-orientation"),i=t("signum"),a=t("two-sum"),o=t("robust-product"),s=t("robust-sum");function l(t,e,r){var n=a(t[0],-e[0]),i=a(t[1],-e[1]),l=a(r[0],-e[0]),c=a(r[1],-e[1]),u=s(o(n,l),o(i,c));return u[u.length-1]>=0}},{"robust-orientation":284,"robust-product":285,"robust-sum":289,signum:55,"two-sum":307}],55:[function(t,e,r){"use strict";e.exports=function(t){return t<0?-1:t>0?1:0}},{}],56:[function(t,e,r){e.exports=function(t,e){var r=t.length,a=t.length-e.length;if(a)return a;switch(r){case 0:return 0;case 1:return t[0]-e[0];case 2:return t[0]+t[1]-e[0]-e[1]||n(t[0],t[1])-n(e[0],e[1]);case 3:var o=t[0]+t[1],s=e[0]+e[1];if(a=o+t[2]-(s+e[2]))return a;var l=n(t[0],t[1]),c=n(e[0],e[1]);return n(l,t[2])-n(c,e[2])||n(l+t[2],o)-n(c+e[2],s);case 4:var u=t[0],f=t[1],h=t[2],p=t[3],d=e[0],g=e[1],m=e[2],v=e[3];return u+f+h+p-(d+g+m+v)||n(u,f,h,p)-n(d,g,m,v,d)||n(u+f,u+h,u+p,f+h,f+p,h+p)-n(d+g,d+m,d+v,g+m,g+v,m+v)||n(u+f+h,u+f+p,u+h+p,f+h+p)-n(d+g+m,d+g+v,d+m+v,g+m+v);default:for(var y=t.slice().sort(i),x=e.slice().sort(i),b=0;b<r;++b)if(a=y[b]-x[b])return a;return 0}};var n=Math.min;function i(t,e){return t-e}},{}],57:[function(t,e,r){"use strict";var n=t("compare-cell"),i=t("cell-orientation");e.exports=function(t,e){return n(t,e)||i(t)-i(e)}},{"cell-orientation":47,"compare-cell":56}],58:[function(t,e,r){"use strict";var n=t("./lib/ch1d"),i=t("./lib/ch2d"),a=t("./lib/chnd");e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[[0]];var r=t[0].length;if(0===r)return[];if(1===r)return n(t);if(2===r)return i(t);return a(t,r)}},{"./lib/ch1d":59,"./lib/ch2d":60,"./lib/chnd":61}],59:[function(t,e,r){"use strict";e.exports=function(t){for(var e=0,r=0,n=1;n<t.length;++n)t[n][0]<t[e][0]&&(e=n),t[n][0]>t[r][0]&&(r=n);return e<r?[[e],[r]]:e>r?[[r],[e]]:[[e]]}},{}],60:[function(t,e,r){"use strict";e.exports=function(t){var e=n(t),r=e.length;if(r<=2)return[];for(var i=new Array(r),a=e[r-1],o=0;o<r;++o){var s=e[o];i[o]=[a,s],a=s}return i};var n=t("monotone-convex-hull-2d")},{"monotone-convex-hull-2d":246}],61:[function(t,e,r){"use strict";e.exports=function(t,e){try{return n(t,!0)}catch(o){var r=i(t);if(r.length<=e)return[];var a=function(t,e){for(var r=t.length,n=new Array(r),i=0;i<e.length;++i)n[i]=t[e[i]];var a=e.length;for(i=0;i<r;++i)e.indexOf(i)<0&&(n[a++]=t[i]);return n}(t,r);return function(t,e){for(var r=t.length,n=e.length,i=0;i<r;++i)for(var a=t[i],o=0;o<a.length;++o){var s=a[o];if(s<n)a[o]=e[s];else{s-=n;for(var l=0;l<n;++l)s>=e[l]&&(s+=1);a[o]=s}}return t}(n(a,!0),r)}};var n=t("incremental-convex-hull"),i=t("affine-hull")},{"affine-hull":10,"incremental-convex-hull":233}],62:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i,a){var o=i-1,s=i*i,l=o*o,c=(1+2*i)*l,u=i*l,f=s*(3-2*i),h=s*o;if(t.length){a||(a=new Array(t.length));for(var p=t.length-1;p>=0;--p)a[p]=c*t[p]+u*e[p]+f*r[p]+h*n[p];return a}return c*t+u*e+f*r+h*n},e.exports.derivative=function(t,e,r,n,i,a){var o=6*i*i-6*i,s=3*i*i-4*i+1,l=-6*i*i+6*i,c=3*i*i-2*i;if(t.length){a||(a=new Array(t.length));for(var u=t.length-1;u>=0;--u)a[u]=o*t[u]+s*e[u]+l*r[u]+c*n[u];return a}return o*t+s*e+l*r[u]+c*n}},{}],63:[function(t,e,r){"use strict";var n=t("incremental-convex-hull"),i=t("uniq");function a(t,e){this.point=t,this.index=e}function o(t,e){for(var r=t.point,n=e.point,i=r.length,a=0;a<i;++a){var o=n[a]-r[a];if(o)return o}return 0}e.exports=function(t,e){var r=t.length;if(0===r)return[];var s=t[0].length;if(s<1)return[];if(1===s)return function(t,e,r){if(1===t)return r?[[-1,0]]:[];var n=e.map((function(t,e){return[t[0],e]}));n.sort((function(t,e){return t[0]-e[0]}));for(var i=new Array(t-1),a=1;a<t;++a){var o=n[a-1],s=n[a];i[a-1]=[o[1],s[1]]}r&&i.push([-1,i[0][1]],[i[t-1][1],-1]);return i}(r,t,e);for(var l=new Array(r),c=1,u=0;u<r;++u){for(var f=t[u],h=new Array(s+1),p=0,d=0;d<s;++d){var g=f[d];h[d]=g,p+=g*g}h[s]=p,l[u]=new a(h,u),c=Math.max(p,c)}i(l,o),r=l.length;var m=new Array(r+s+1),v=new Array(r+s+1),y=(s+1)*(s+1)*c,x=new Array(s+1);for(u=0;u<=s;++u)x[u]=0;x[s]=y,m[0]=x.slice(),v[0]=-1;for(u=0;u<=s;++u){(h=x.slice())[u]=1,m[u+1]=h,v[u+1]=-1}for(u=0;u<r;++u){var b=l[u];m[u+s+1]=b.point,v[u+s+1]=b.index}var _=n(m,!1);_=e?_.filter((function(t){for(var e=0,r=0;r<=s;++r){var n=v[t[r]];if(n<0&&++e>=2)return!1;t[r]=n}return!0})):_.filter((function(t){for(var e=0;e<=s;++e){var r=v[t[e]];if(r<0)return!1;t[e]=r}return!0}));if(1&s)for(u=0;u<_.length;++u){h=(b=_[u])[0];b[0]=b[1],b[1]=h}return _}},{"incremental-convex-hull":233,uniq:310}],64:[function(t,e,r){(function(t){(function(){var r=!1;if("undefined"!=typeof Float64Array){var n=new Float64Array(1),i=new Uint32Array(n.buffer);if(n[0]=1,r=!0,1072693248===i[1]){e.exports=function(t){return n[0]=t,[i[0],i[1]]},e.exports.pack=function(t,e){return i[0]=t,i[1]=e,n[0]},e.exports.lo=function(t){return n[0]=t,i[0]},e.exports.hi=function(t){return n[0]=t,i[1]}}else if(1072693248===i[0]){e.exports=function(t){return n[0]=t,[i[1],i[0]]},e.exports.pack=function(t,e){return i[1]=t,i[0]=e,n[0]},e.exports.lo=function(t){return n[0]=t,i[1]},e.exports.hi=function(t){return n[0]=t,i[0]}}else r=!1}if(!r){var a=new t(8);e.exports=function(t){return a.writeDoubleLE(t,0,!0),[a.readUInt32LE(0,!0),a.readUInt32LE(4,!0)]},e.exports.pack=function(t,e){return a.writeUInt32LE(t,0,!0),a.writeUInt32LE(e,4,!0),a.readDoubleLE(0,!0)},e.exports.lo=function(t){return a.writeDoubleLE(t,0,!0),a.readUInt32LE(0,!0)},e.exports.hi=function(t){return a.writeDoubleLE(t,0,!0),a.readUInt32LE(4,!0)}}e.exports.sign=function(t){return e.exports.hi(t)>>>31},e.exports.exponent=function(t){return(e.exports.hi(t)<<1>>>21)-1023},e.exports.fraction=function(t){var r=e.exports.lo(t),n=e.exports.hi(t),i=1048575&n;return 2146435072&n&&(i+=1<<20),[r,i]},e.exports.denormalized=function(t){return!(2146435072&e.exports.hi(t))}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:3}],65:[function(t,e,r){"use strict";e.exports=function(t,e){switch(void 0===e&&(e=0),typeof t){case"number":if(t>0)return function(t,e){var r,n;for(r=new Array(t),n=0;n<t;++n)r[n]=e;return r}(0|t,e);break;case"object":if("number"==typeof t.length)return function t(e,r,n){var i=0|e[n];if(i<=0)return[];var a,o=new Array(i);if(n===e.length-1)for(a=0;a<i;++a)o[a]=r;else for(a=0;a<i;++a)o[a]=t(e,r,n+1);return o}(t,e,0)}return[]}},{}],66:[function(t,e,r){"use strict";e.exports=function(t,e){var r=t.length;if("number"!=typeof e){e=0;for(var i=0;i<r;++i){var a=t[i];e=Math.max(e,a[0],a[1])}e=1+(0|e)}e|=0;var o=new Array(e);for(i=0;i<e;++i)o[i]=[];for(i=0;i<r;++i){a=t[i];o[a[0]].push(a[1]),o[a[1]].push(a[0])}for(var s=0;s<e;++s)n(o[s],(function(t,e){return t-e}));return o};var n=t("uniq")},{uniq:310}],67:[function(t,e,r){"use strict";e.exports=function(t,e,r){var n=e||0,i=r||1;return[[t[12]+t[0],t[13]+t[1],t[14]+t[2],t[15]+t[3]],[t[12]-t[0],t[13]-t[1],t[14]-t[2],t[15]-t[3]],[t[12]+t[4],t[13]+t[5],t[14]+t[6],t[15]+t[7]],[t[12]-t[4],t[13]-t[5],t[14]-t[6],t[15]-t[7]],[n*t[12]+t[8],n*t[13]+t[9],n*t[14]+t[10],n*t[15]+t[11]],[i*t[12]-t[8],i*t[13]-t[9],i*t[14]-t[10],i*t[15]-t[11]]]}},{}],68:[function(t,e,r){"use strict";e.exports=function(t,e,r){switch(arguments.length){case 0:return new o([0],[0],0);case 1:return"number"==typeof t?new o(n=l(t),n,0):new o(t,l(t.length),0);case 2:if("number"==typeof e){var n=l(t.length);return new o(t,n,+e)}r=0;case 3:if(t.length!==e.length)throw new Error("state and velocity lengths must match");return new o(t,e,r)}};var n=t("cubic-hermite"),i=t("binary-search-bounds");function a(t,e,r){return Math.min(e,Math.max(t,r))}function o(t,e,r){this.dimension=t.length,this.bounds=[new Array(this.dimension),new Array(this.dimension)];for(var n=0;n<this.dimension;++n)this.bounds[0][n]=-1/0,this.bounds[1][n]=1/0;this._state=t.slice().reverse(),this._velocity=e.slice().reverse(),this._time=[r],this._scratch=[t.slice(),t.slice(),t.slice(),t.slice(),t.slice()]}var s=o.prototype;function l(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=0;return e}s.flush=function(t){var e=i.gt(this._time,t)-1;e<=0||(this._time.splice(0,e),this._state.splice(0,e*this.dimension),this._velocity.splice(0,e*this.dimension))},s.curve=function(t){var e=this._time,r=e.length,o=i.le(e,t),s=this._scratch[0],l=this._state,c=this._velocity,u=this.dimension,f=this.bounds;if(o<0)for(var h=u-1,p=0;p<u;++p,--h)s[p]=l[h];else if(o>=r-1){h=l.length-1;var d=t-e[r-1];for(p=0;p<u;++p,--h)s[p]=l[h]+d*c[h]}else{h=u*(o+1)-1;var g=e[o],m=e[o+1]-g||1,v=this._scratch[1],y=this._scratch[2],x=this._scratch[3],b=this._scratch[4],_=!0;for(p=0;p<u;++p,--h)v[p]=l[h],x[p]=c[h]*m,y[p]=l[h+u],b[p]=c[h+u]*m,_=_&&v[p]===y[p]&&x[p]===b[p]&&0===x[p];if(_)for(p=0;p<u;++p)s[p]=v[p];else n(v,x,y,b,(t-g)/m,s)}var w=f[0],T=f[1];for(p=0;p<u;++p)s[p]=a(w[p],T[p],s[p]);return s},s.dcurve=function(t){var e=this._time,r=e.length,a=i.le(e,t),o=this._scratch[0],s=this._state,l=this._velocity,c=this.dimension;if(a>=r-1)for(var u=s.length-1,f=(e[r-1],0);f<c;++f,--u)o[f]=l[u];else{u=c*(a+1)-1;var h=e[a],p=e[a+1]-h||1,d=this._scratch[1],g=this._scratch[2],m=this._scratch[3],v=this._scratch[4],y=!0;for(f=0;f<c;++f,--u)d[f]=s[u],m[f]=l[u]*p,g[f]=s[u+c],v[f]=l[u+c]*p,y=y&&d[f]===g[f]&&m[f]===v[f]&&0===m[f];if(y)for(f=0;f<c;++f)o[f]=0;else{n.derivative(d,m,g,v,(t-h)/p,o);for(f=0;f<c;++f)o[f]/=p}}return o},s.lastT=function(){var t=this._time;return t[t.length-1]},s.stable=function(){for(var t=this._velocity,e=t.length,r=this.dimension-1;r>=0;--r)if(t[--e])return!1;return!0},s.jump=function(t){var e=this.lastT(),r=this.dimension;if(!(t<e||arguments.length!==r+1)){var n=this._state,i=this._velocity,o=n.length-this.dimension,s=this.bounds,l=s[0],c=s[1];this._time.push(e,t);for(var u=0;u<2;++u)for(var f=0;f<r;++f)n.push(n[o++]),i.push(0);this._time.push(t);for(f=r;f>0;--f)n.push(a(l[f-1],c[f-1],arguments[f])),i.push(0)}},s.push=function(t){var e=this.lastT(),r=this.dimension;if(!(t<e||arguments.length!==r+1)){var n=this._state,i=this._velocity,o=n.length-this.dimension,s=t-e,l=this.bounds,c=l[0],u=l[1],f=s>1e-6?1/s:0;this._time.push(t);for(var h=r;h>0;--h){var p=a(c[h-1],u[h-1],arguments[h]);n.push(p),i.push((p-n[o++])*f)}}},s.set=function(t){var e=this.dimension;if(!(t<this.lastT()||arguments.length!==e+1)){var r=this._state,n=this._velocity,i=this.bounds,o=i[0],s=i[1];this._time.push(t);for(var l=e;l>0;--l)r.push(a(o[l-1],s[l-1],arguments[l])),n.push(0)}},s.move=function(t){var e=this.lastT(),r=this.dimension;if(!(t<=e||arguments.length!==r+1)){var n=this._state,i=this._velocity,o=n.length-this.dimension,s=this.bounds,l=s[0],c=s[1],u=t-e,f=u>1e-6?1/u:0;this._time.push(t);for(var h=r;h>0;--h){var p=arguments[h];n.push(a(l[h-1],c[h-1],n[o++]+p)),i.push(p*f)}}},s.idle=function(t){var e=this.lastT();if(!(t<e)){var r=this.dimension,n=this._state,i=this._velocity,o=n.length-r,s=this.bounds,l=s[0],c=s[1],u=t-e;this._time.push(t);for(var f=r-1;f>=0;--f)n.push(a(l[f],c[f],n[o]+u*i[o])),i.push(0),o+=1}}},{"binary-search-bounds":31,"cubic-hermite":62}],69:[function(t,e,r){"use strict";e.exports=function(t){return new s(t||g,null)};function n(t,e,r,n,i,a){this._color=t,this.key=e,this.value=r,this.left=n,this.right=i,this._count=a}function i(t){return new n(t._color,t.key,t.value,t.left,t.right,t._count)}function a(t,e){return new n(t,e.key,e.value,e.left,e.right,e._count)}function o(t){t._count=1+(t.left?t.left._count:0)+(t.right?t.right._count:0)}function s(t,e){this._compare=t,this.root=e}var l=s.prototype;function c(t,e){var r;if(e.left&&(r=c(t,e.left)))return r;return(r=t(e.key,e.value))||(e.right?c(t,e.right):void 0)}function u(t,e,r,n){if(e(t,n.key)<=0){var i;if(n.left)if(i=u(t,e,r,n.left))return i;if(i=r(n.key,n.value))return i}if(n.right)return u(t,e,r,n.right)}function f(t,e,r,n,i){var a,o=r(t,i.key),s=r(e,i.key);if(o<=0){if(i.left&&(a=f(t,e,r,n,i.left)))return a;if(s>0&&(a=n(i.key,i.value)))return a}if(s>0&&i.right)return f(t,e,r,n,i.right)}function h(t,e){this.tree=t,this._stack=e}Object.defineProperty(l,"keys",{get:function(){var t=[];return this.forEach((function(e,r){t.push(e)})),t}}),Object.defineProperty(l,"values",{get:function(){var t=[];return this.forEach((function(e,r){t.push(r)})),t}}),Object.defineProperty(l,"length",{get:function(){return this.root?this.root._count:0}}),l.insert=function(t,e){for(var r=this._compare,i=this.root,l=[],c=[];i;){var u=r(t,i.key);l.push(i),c.push(u),i=u<=0?i.left:i.right}l.push(new n(0,t,e,null,null,1));for(var f=l.length-2;f>=0;--f){i=l[f];c[f]<=0?l[f]=new n(i._color,i.key,i.value,l[f+1],i.right,i._count+1):l[f]=new n(i._color,i.key,i.value,i.left,l[f+1],i._count+1)}for(f=l.length-1;f>1;--f){var h=l[f-1];i=l[f];if(1===h._color||1===i._color)break;var p=l[f-2];if(p.left===h)if(h.left===i){if(!(d=p.right)||0!==d._color){if(p._color=0,p.left=h.right,h._color=1,h.right=p,l[f-2]=h,l[f-1]=i,o(p),o(h),f>=3)(g=l[f-3]).left===p?g.left=h:g.right=h;break}h._color=1,p.right=a(1,d),p._color=0,f-=1}else{if(!(d=p.right)||0!==d._color){if(h.right=i.left,p._color=0,p.left=i.right,i._color=1,i.left=h,i.right=p,l[f-2]=i,l[f-1]=h,o(p),o(h),o(i),f>=3)(g=l[f-3]).left===p?g.left=i:g.right=i;break}h._color=1,p.right=a(1,d),p._color=0,f-=1}else if(h.right===i){if(!(d=p.left)||0!==d._color){if(p._color=0,p.right=h.left,h._color=1,h.left=p,l[f-2]=h,l[f-1]=i,o(p),o(h),f>=3)(g=l[f-3]).right===p?g.right=h:g.left=h;break}h._color=1,p.left=a(1,d),p._color=0,f-=1}else{var d;if(!(d=p.left)||0!==d._color){var g;if(h.left=i.right,p._color=0,p.right=i.left,i._color=1,i.right=h,i.left=p,l[f-2]=i,l[f-1]=h,o(p),o(h),o(i),f>=3)(g=l[f-3]).right===p?g.right=i:g.left=i;break}h._color=1,p.left=a(1,d),p._color=0,f-=1}}return l[0]._color=1,new s(r,l[0])},l.forEach=function(t,e,r){if(this.root)switch(arguments.length){case 1:return c(t,this.root);case 2:return u(e,this._compare,t,this.root);case 3:if(this._compare(e,r)>=0)return;return f(e,r,this._compare,t,this.root)}},Object.defineProperty(l,"begin",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.left;return new h(this,t)}}),Object.defineProperty(l,"end",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.right;return new h(this,t)}}),l.at=function(t){if(t<0)return new h(this,[]);for(var e=this.root,r=[];;){if(r.push(e),e.left){if(t<e.left._count){e=e.left;continue}t-=e.left._count}if(!t)return new h(this,r);if(t-=1,!e.right)break;if(t>=e.right._count)break;e=e.right}return new h(this,[])},l.ge=function(t){for(var e=this._compare,r=this.root,n=[],i=0;r;){var a=e(t,r.key);n.push(r),a<=0&&(i=n.length),r=a<=0?r.left:r.right}return n.length=i,new h(this,n)},l.gt=function(t){for(var e=this._compare,r=this.root,n=[],i=0;r;){var a=e(t,r.key);n.push(r),a<0&&(i=n.length),r=a<0?r.left:r.right}return n.length=i,new h(this,n)},l.lt=function(t){for(var e=this._compare,r=this.root,n=[],i=0;r;){var a=e(t,r.key);n.push(r),a>0&&(i=n.length),r=a<=0?r.left:r.right}return n.length=i,new h(this,n)},l.le=function(t){for(var e=this._compare,r=this.root,n=[],i=0;r;){var a=e(t,r.key);n.push(r),a>=0&&(i=n.length),r=a<0?r.left:r.right}return n.length=i,new h(this,n)},l.find=function(t){for(var e=this._compare,r=this.root,n=[];r;){var i=e(t,r.key);if(n.push(r),0===i)return new h(this,n);r=i<=0?r.left:r.right}return new h(this,[])},l.remove=function(t){var e=this.find(t);return e?e.remove():this},l.get=function(t){for(var e=this._compare,r=this.root;r;){var n=e(t,r.key);if(0===n)return r.value;r=n<=0?r.left:r.right}};var p=h.prototype;function d(t,e){t.key=e.key,t.value=e.value,t.left=e.left,t.right=e.right,t._color=e._color,t._count=e._count}function g(t,e){return t<e?-1:t>e?1:0}Object.defineProperty(p,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(p,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),p.clone=function(){return new h(this.tree,this._stack.slice())},p.remove=function(){var t=this._stack;if(0===t.length)return this.tree;var e=new Array(t.length),r=t[t.length-1];e[e.length-1]=new n(r._color,r.key,r.value,r.left,r.right,r._count);for(var l=t.length-2;l>=0;--l){(r=t[l]).left===t[l+1]?e[l]=new n(r._color,r.key,r.value,e[l+1],r.right,r._count):e[l]=new n(r._color,r.key,r.value,r.left,e[l+1],r._count)}if((r=e[e.length-1]).left&&r.right){var c=e.length;for(r=r.left;r.right;)e.push(r),r=r.right;var u=e[c-1];e.push(new n(r._color,u.key,u.value,r.left,r.right,r._count)),e[c-1].key=r.key,e[c-1].value=r.value;for(l=e.length-2;l>=c;--l)r=e[l],e[l]=new n(r._color,r.key,r.value,r.left,e[l+1],r._count);e[c-1].left=e[c]}if(0===(r=e[e.length-1])._color){var f=e[e.length-2];f.left===r?f.left=null:f.right===r&&(f.right=null),e.pop();for(l=0;l<e.length;++l)e[l]._count--;return new s(this.tree._compare,e[0])}if(r.left||r.right){r.left?d(r,r.left):r.right&&d(r,r.right),r._color=1;for(l=0;l<e.length-1;++l)e[l]._count--;return new s(this.tree._compare,e[0])}if(1===e.length)return new s(this.tree._compare,null);for(l=0;l<e.length;++l)e[l]._count--;var h=e[e.length-2];return function(t){for(var e,r,n,s,l=t.length-1;l>=0;--l){if(e=t[l],0===l)return void(e._color=1);if((r=t[l-1]).left===e){if((n=r.right).right&&0===n.right._color){if(s=(n=r.right=i(n)).right=i(n.right),r.right=n.left,n.left=r,n.right=s,n._color=r._color,e._color=1,r._color=1,s._color=1,o(r),o(n),l>1)(c=t[l-2]).left===r?c.left=n:c.right=n;return void(t[l-1]=n)}if(n.left&&0===n.left._color){if(s=(n=r.right=i(n)).left=i(n.left),r.right=s.left,n.left=s.right,s.left=r,s.right=n,s._color=r._color,r._color=1,n._color=1,e._color=1,o(r),o(n),o(s),l>1)(c=t[l-2]).left===r?c.left=s:c.right=s;return void(t[l-1]=s)}if(1===n._color){if(0===r._color)return r._color=1,void(r.right=a(0,n));r.right=a(0,n);continue}n=i(n),r.right=n.left,n.left=r,n._color=r._color,r._color=0,o(r),o(n),l>1&&((c=t[l-2]).left===r?c.left=n:c.right=n),t[l-1]=n,t[l]=r,l+1<t.length?t[l+1]=e:t.push(e),l+=2}else{if((n=r.left).left&&0===n.left._color){if(s=(n=r.left=i(n)).left=i(n.left),r.left=n.right,n.right=r,n.left=s,n._color=r._color,e._color=1,r._color=1,s._color=1,o(r),o(n),l>1)(c=t[l-2]).right===r?c.right=n:c.left=n;return void(t[l-1]=n)}if(n.right&&0===n.right._color){if(s=(n=r.left=i(n)).right=i(n.right),r.left=s.right,n.right=s.left,s.right=r,s.left=n,s._color=r._color,r._color=1,n._color=1,e._color=1,o(r),o(n),o(s),l>1)(c=t[l-2]).right===r?c.right=s:c.left=s;return void(t[l-1]=s)}if(1===n._color){if(0===r._color)return r._color=1,void(r.left=a(0,n));r.left=a(0,n);continue}var c;n=i(n),r.left=n.right,n.right=r,n._color=r._color,r._color=0,o(r),o(n),l>1&&((c=t[l-2]).right===r?c.right=n:c.left=n),t[l-1]=n,t[l]=r,l+1<t.length?t[l+1]=e:t.push(e),l+=2}}}(e),h.left===r?h.left=null:h.right=null,new s(this.tree._compare,e[0])},Object.defineProperty(p,"key",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(p,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(p,"index",{get:function(){var t=0,e=this._stack;if(0===e.length){var r=this.tree.root;return r?r._count:0}e[e.length-1].left&&(t=e[e.length-1].left._count);for(var n=e.length-2;n>=0;--n)e[n+1]===e[n].right&&(++t,e[n].left&&(t+=e[n].left._count));return t},enumerable:!0}),p.next=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.right)for(e=e.right;e;)t.push(e),e=e.left;else for(t.pop();t.length>0&&t[t.length-1].right===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(p,"hasNext",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].right)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].left===t[e])return!0;return!1}}),p.update=function(t){var e=this._stack;if(0===e.length)throw new Error("Can't update empty node!");var r=new Array(e.length),i=e[e.length-1];r[r.length-1]=new n(i._color,i.key,t,i.left,i.right,i._count);for(var a=e.length-2;a>=0;--a)(i=e[a]).left===e[a+1]?r[a]=new n(i._color,i.key,i.value,r[a+1],i.right,i._count):r[a]=new n(i._color,i.key,i.value,i.left,r[a+1],i._count);return new s(this.tree._compare,r[0])},p.prev=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.left)for(e=e.left;e;)t.push(e),e=e.right;else for(t.pop();t.length>0&&t[t.length-1].left===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(p,"hasPrev",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].left)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].right===t[e])return!0;return!1}})},{}],70:[function(t,e,r){"use strict";e.exports=function(t,e){var r=new u(t);return r.update(e),r};var n=t("./lib/text.js"),i=t("./lib/lines.js"),a=t("./lib/background.js"),o=t("./lib/cube.js"),s=t("./lib/ticks.js"),l=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t){this.gl=t,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=a(t)}var f=u.prototype;function h(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}f.update=function(t){function e(e,r,n){if(n in t){var i,a=t[n],o=this[n];(e?Array.isArray(a)&&Array.isArray(a[0]):Array.isArray(a))?this[n]=i=[r(a[0]),r(a[1]),r(a[2])]:this[n]=i=[r(a),r(a),r(a)];for(var s=0;s<3;++s)if(i[s]!==o[s])return!0}return!1}t=t||{};var r,a=e.bind(this,!1,Number),o=e.bind(this,!1,Boolean),l=e.bind(this,!1,String),c=e.bind(this,!0,(function(t){if(Array.isArray(t)){if(3===t.length)return[+t[0],+t[1],+t[2],1];if(4===t.length)return[+t[0],+t[1],+t[2],+t[3]]}return[0,0,0,1]})),u=!1,f=!1;if("bounds"in t)for(var h=t.bounds,p=0;p<2;++p)for(var d=0;d<3;++d)h[p][d]!==this.bounds[p][d]&&(f=!0),this.bounds[p][d]=h[p][d];if("ticks"in t){r=t.ticks,u=!0,this.autoTicks=!1;for(p=0;p<3;++p)this.tickSpacing[p]=0}else a("tickSpacing")&&(this.autoTicks=!0,f=!0);if(this._firstInit&&("ticks"in t||"tickSpacing"in t||(this.autoTicks=!0),f=!0,u=!0,this._firstInit=!1),f&&this.autoTicks&&(r=s.create(this.bounds,this.tickSpacing),u=!0),u){for(p=0;p<3;++p)r[p].sort((function(t,e){return t.x-e.x}));s.equal(r,this.ticks)?u=!1:this.ticks=r}o("tickEnable"),l("tickFont")&&(u=!0),a("tickSize"),a("tickAngle"),a("tickPad"),c("tickColor");var g=l("labels");l("labelFont")&&(g=!0),o("labelEnable"),a("labelSize"),a("labelPad"),c("labelColor"),o("lineEnable"),o("lineMirror"),a("lineWidth"),c("lineColor"),o("lineTickEnable"),o("lineTickMirror"),a("lineTickLength"),a("lineTickWidth"),c("lineTickColor"),o("gridEnable"),a("gridWidth"),c("gridColor"),o("zeroEnable"),c("zeroLineColor"),a("zeroLineWidth"),o("backgroundEnable"),c("backgroundColor"),this._text?this._text&&(g||u)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=n(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&u&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=i(this.gl,this.bounds,this.ticks))};var p=[new h,new h,new h];function d(t,e,r,n,i){for(var a=t.primalOffset,o=t.primalMinor,s=t.mirrorOffset,l=t.mirrorMinor,c=n[e],u=0;u<3;++u)if(e!==u){var f=a,h=s,p=o,d=l;c&1<<u&&(f=s,h=a,p=l,d=o),f[u]=r[0][u],h[u]=r[1][u],i[u]>0?(p[u]=-1,d[u]=0):(p[u]=0,d[u]=1)}}var g=[0,0,0],m={model:l,view:l,projection:l,_ortho:!1};f.isOpaque=function(){return!0},f.isTransparent=function(){return!1},f.drawTransparent=function(t){};var v=[0,0,0],y=[0,0,0],x=[0,0,0];f.draw=function(t){t=t||m;for(var e=this.gl,r=t.model||l,n=t.view||l,i=t.projection||l,a=this.bounds,s=t._ortho||!1,u=o(r,n,i,a,s),f=u.cubeEdges,h=u.axis,b=n[12],_=n[13],w=n[14],T=n[15],k=(s?2:1)*this.pixelRatio*(i[3]*b+i[7]*_+i[11]*w+i[15]*T)/e.drawingBufferHeight,A=0;A<3;++A)this.lastCubeProps.cubeEdges[A]=f[A],this.lastCubeProps.axis[A]=h[A];var M=p;for(A=0;A<3;++A)d(p[A],A,this.bounds,f,h);e=this.gl;var S,E=g;for(A=0;A<3;++A)this.backgroundEnable[A]?E[A]=h[A]:E[A]=0;this._background.draw(r,n,i,a,E,this.backgroundColor),this._lines.bind(r,n,i,this);for(A=0;A<3;++A){var L=[0,0,0];h[A]>0?L[A]=a[1][A]:L[A]=a[0][A];for(var C=0;C<2;++C){var P=(A+1+C)%3,I=(A+1+(1^C))%3;this.gridEnable[P]&&this._lines.drawGrid(P,I,this.bounds,L,this.gridColor[P],this.gridWidth[P]*this.pixelRatio)}for(C=0;C<2;++C){P=(A+1+C)%3,I=(A+1+(1^C))%3;this.zeroEnable[I]&&Math.min(a[0][I],a[1][I])<=0&&Math.max(a[0][I],a[1][I])>=0&&this._lines.drawZero(P,I,this.bounds,L,this.zeroLineColor[I],this.zeroLineWidth[I]*this.pixelRatio)}}for(A=0;A<3;++A){this.lineEnable[A]&&this._lines.drawAxisLine(A,this.bounds,M[A].primalOffset,this.lineColor[A],this.lineWidth[A]*this.pixelRatio),this.lineMirror[A]&&this._lines.drawAxisLine(A,this.bounds,M[A].mirrorOffset,this.lineColor[A],this.lineWidth[A]*this.pixelRatio);var O=c(v,M[A].primalMinor),z=c(y,M[A].mirrorMinor),D=this.lineTickLength;for(C=0;C<3;++C){var R=k/r[5*C];O[C]*=D[C]*R,z[C]*=D[C]*R}this.lineTickEnable[A]&&this._lines.drawAxisTicks(A,M[A].primalOffset,O,this.lineTickColor[A],this.lineTickWidth[A]*this.pixelRatio),this.lineTickMirror[A]&&this._lines.drawAxisTicks(A,M[A].mirrorOffset,z,this.lineTickColor[A],this.lineTickWidth[A]*this.pixelRatio)}this._lines.unbind(),this._text.bind(r,n,i,this.pixelRatio);var F,B;function N(t){(B=[0,0,0])[t]=1}function j(t,e,r){var n=(t+1)%3,i=(t+2)%3,a=e[n],o=e[i],s=r[n],l=r[i];a>0&&l>0||a>0&&l<0||a<0&&l>0||a<0&&l<0?N(n):(o>0&&s>0||o>0&&s<0||o<0&&s>0||o<0&&s<0)&&N(i)}for(A=0;A<3;++A){var U=M[A].primalMinor,V=M[A].mirrorMinor,H=c(x,M[A].primalOffset);for(C=0;C<3;++C)this.lineTickEnable[A]&&(H[C]+=k*U[C]*Math.max(this.lineTickLength[C],0)/r[5*C]);var q=[0,0,0];if(q[A]=1,this.tickEnable[A]){-3600===this.tickAngle[A]?(this.tickAngle[A]=0,this.tickAlign[A]="auto"):this.tickAlign[A]=-1,F=1,"auto"===(S=[this.tickAlign[A],.5,F])[0]?S[0]=0:S[0]=parseInt(""+S[0]),B=[0,0,0],j(A,U,V);for(C=0;C<3;++C)H[C]+=k*U[C]*this.tickPad[C]/r[5*C];this._text.drawTicks(A,this.tickSize[A],this.tickAngle[A],H,this.tickColor[A],q,B,S)}if(this.labelEnable[A]){F=0,B=[0,0,0],this.labels[A].length>4&&(N(A),F=1),"auto"===(S=[this.labelAlign[A],.5,F])[0]?S[0]=0:S[0]=parseInt(""+S[0]);for(C=0;C<3;++C)H[C]+=k*U[C]*this.labelPad[C]/r[5*C];H[A]+=.5*(a[0][A]+a[1][A]),this._text.drawLabel(A,this.labelSize[A],this.labelAngle[A],H,this.labelColor[A],[0,0,0],B,S)}}this._text.unbind()},f.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},{"./lib/background.js":71,"./lib/cube.js":72,"./lib/lines.js":73,"./lib/text.js":75,"./lib/ticks.js":76}],71:[function(t,e,r){"use strict";e.exports=function(t){for(var e=[],r=[],s=0,l=0;l<3;++l)for(var c=(l+1)%3,u=(l+2)%3,f=[0,0,0],h=[0,0,0],p=-1;p<=1;p+=2){r.push(s,s+2,s+1,s+1,s+2,s+3),f[l]=p,h[l]=p;for(var d=-1;d<=1;d+=2){f[c]=d;for(var g=-1;g<=1;g+=2)f[u]=g,e.push(f[0],f[1],f[2],h[0],h[1],h[2]),s+=1}var m=c;c=u,u=m}var v=n(t,new Float32Array(e)),y=n(t,new Uint16Array(r),t.ELEMENT_ARRAY_BUFFER),x=i(t,[{buffer:v,type:t.FLOAT,size:3,offset:0,stride:24},{buffer:v,type:t.FLOAT,size:3,offset:12,stride:24}],y),b=a(t);return b.attributes.position.location=0,b.attributes.normal.location=1,new o(t,v,x,b)};var n=t("gl-buffer"),i=t("gl-vao"),a=t("./shaders").bg;function o(t,e,r,n){this.gl=t,this.buffer=e,this.vao=r,this.shader=n}var s=o.prototype;s.draw=function(t,e,r,n,i,a){for(var o=!1,s=0;s<3;++s)o=o||i[s];if(o){var l=this.gl;l.enable(l.POLYGON_OFFSET_FILL),l.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:t,view:e,projection:r,bounds:n,enable:i,colors:a},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),l.disable(l.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},{"./shaders":74,"gl-buffer":78,"gl-vao":150}],72:[function(t,e,r){"use strict";e.exports=function(t,e,r,a,p){i(s,e,t),i(s,r,s);for(var y=0,x=0;x<2;++x){u[2]=a[x][2];for(var b=0;b<2;++b){u[1]=a[b][1];for(var _=0;_<2;++_)u[0]=a[_][0],h(l[y],u,s),y+=1}}var w=-1;for(x=0;x<8;++x){for(var T=l[x][3],k=0;k<3;++k)c[x][k]=l[x][k]/T;p&&(c[x][2]*=-1),T<0&&(w<0||c[x][2]<c[w][2])&&(w=x)}if(w<0){w=0;for(var A=0;A<3;++A){for(var M=(A+2)%3,S=(A+1)%3,E=-1,L=-1,C=0;C<2;++C){var P=(O=C<<A)+(C<<M)+(1-C<<S),I=O+(1-C<<M)+(C<<S);o(c[O],c[P],c[I],f)<0||(C?E=1:L=1)}if(E<0||L<0)L>E&&(w|=1<<A);else{for(C=0;C<2;++C){P=(O=C<<A)+(C<<M)+(1-C<<S),I=O+(1-C<<M)+(C<<S);var O,z=d([l[O],l[P],l[I],l[O+(1<<M)+(1<<S)]]);C?E=z:L=z}L>E&&(w|=1<<A)}}}var D=7^w,R=-1;for(x=0;x<8;++x)x!==w&&x!==D&&(R<0||c[R][1]>c[x][1])&&(R=x);var F=-1;for(x=0;x<3;++x){if((N=R^1<<x)!==w&&N!==D)F<0&&(F=N),(S=c[N])[0]<c[F][0]&&(F=N)}var B=-1;for(x=0;x<3;++x){var N;if((N=R^1<<x)!==w&&N!==D&&N!==F)B<0&&(B=N),(S=c[N])[0]>c[B][0]&&(B=N)}var j=g;j[0]=j[1]=j[2]=0,j[n.log2(F^R)]=R&F,j[n.log2(R^B)]=R&B;var U=7^B;U===w||U===D?(U=7^F,j[n.log2(B^U)]=U&B):j[n.log2(F^U)]=U&F;var V=m,H=w;for(A=0;A<3;++A)V[A]=H&1<<A?-1:1;return v};var n=t("bit-twiddle"),i=t("gl-mat4/multiply"),a=t("split-polygon"),o=t("robust-orientation"),s=new Array(16),l=new Array(8),c=new Array(8),u=new Array(3),f=[0,0,0];function h(t,e,r){for(var n=0;n<4;++n){t[n]=r[12+n];for(var i=0;i<3;++i)t[n]+=e[i]*r[4*i+n]}}!function(){for(var t=0;t<8;++t)l[t]=[1,1,1,1],c[t]=[1,1,1]}();var p=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function d(t){for(var e=0;e<p.length;++e)if((t=a.positive(t,p[e])).length<3)return 0;var r=t[0],n=r[0]/r[3],i=r[1]/r[3],o=0;for(e=1;e+1<t.length;++e){var s=t[e],l=t[e+1],c=s[0]/s[3]-n,u=s[1]/s[3]-i,f=l[0]/l[3]-n,h=l[1]/l[3]-i;o+=Math.abs(c*h-u*f)}return o}var g=[1,1,1],m=[0,0,0],v={cubeEdges:g,axis:m}},{"bit-twiddle":32,"gl-mat4/multiply":100,"robust-orientation":284,"split-polygon":300}],73:[function(t,e,r){"use strict";e.exports=function(t,e,r){var o=[],s=[0,0,0],l=[0,0,0],c=[0,0,0],u=[0,0,0];o.push(0,0,1,0,1,1,0,0,-1,0,0,-1,0,1,1,0,1,-1);for(var f=0;f<3;++f){for(var h=o.length/3|0,d=0;d<r[f].length;++d){var g=+r[f][d].x;o.push(g,0,1,g,1,1,g,0,-1,g,0,-1,g,1,1,g,1,-1)}var m=o.length/3|0;s[f]=h,l[f]=m-h;h=o.length/3|0;for(var v=0;v<r[f].length;++v){g=+r[f][v].x;o.push(g,0,1,g,1,1,g,0,-1,g,0,-1,g,1,1,g,1,-1)}m=o.length/3|0;c[f]=h,u[f]=m-h}var y=n(t,new Float32Array(o)),x=i(t,[{buffer:y,type:t.FLOAT,size:3,stride:0,offset:0}]),b=a(t);return b.attributes.position.location=0,new p(t,y,x,b,l,s,u,c)};var n=t("gl-buffer"),i=t("gl-vao"),a=t("./shaders").line,o=[0,0,0],s=[0,0,0],l=[0,0,0],c=[0,0,0],u=[1,1];function f(t){return t[0]=t[1]=t[2]=0,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function p(t,e,r,n,i,a,o,s){this.gl=t,this.vertBuffer=e,this.vao=r,this.shader=n,this.tickCount=i,this.tickOffset=a,this.gridCount=o,this.gridOffset=s}var d=p.prototype;d.bind=function(t,e,r){this.shader.bind(),this.shader.uniforms.model=t,this.shader.uniforms.view=e,this.shader.uniforms.projection=r,u[0]=this.gl.drawingBufferWidth,u[1]=this.gl.drawingBufferHeight,this.shader.uniforms.screenShape=u,this.vao.bind()},d.unbind=function(){this.vao.unbind()},d.drawAxisLine=function(t,e,r,n,i){var a=f(s);this.shader.uniforms.majorAxis=s,a[t]=e[1][t]-e[0][t],this.shader.uniforms.minorAxis=a;var o,u=h(c,r);u[t]+=e[0][t],this.shader.uniforms.offset=u,this.shader.uniforms.lineWidth=i,this.shader.uniforms.color=n,(o=f(l))[(t+2)%3]=1,this.shader.uniforms.screenAxis=o,this.vao.draw(this.gl.TRIANGLES,6),(o=f(l))[(t+1)%3]=1,this.shader.uniforms.screenAxis=o,this.vao.draw(this.gl.TRIANGLES,6)},d.drawAxisTicks=function(t,e,r,n,i){if(this.tickCount[t]){var a=f(o);a[t]=1,this.shader.uniforms.majorAxis=a,this.shader.uniforms.offset=e,this.shader.uniforms.minorAxis=r,this.shader.uniforms.color=n,this.shader.uniforms.lineWidth=i;var s=f(l);s[t]=1,this.shader.uniforms.screenAxis=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[t],this.tickOffset[t])}},d.drawGrid=function(t,e,r,n,i,a){if(this.gridCount[t]){var u=f(s);u[e]=r[1][e]-r[0][e],this.shader.uniforms.minorAxis=u;var p=h(c,n);p[e]+=r[0][e],this.shader.uniforms.offset=p;var d=f(o);d[t]=1,this.shader.uniforms.majorAxis=d;var g=f(l);g[t]=1,this.shader.uniforms.screenAxis=g,this.shader.uniforms.lineWidth=a,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,this.gridCount[t],this.gridOffset[t])}},d.drawZero=function(t,e,r,n,i,a){var o=f(s);this.shader.uniforms.majorAxis=o,o[t]=r[1][t]-r[0][t],this.shader.uniforms.minorAxis=o;var u=h(c,n);u[t]+=r[0][t],this.shader.uniforms.offset=u;var p=f(l);p[e]=1,this.shader.uniforms.screenAxis=p,this.shader.uniforms.lineWidth=a,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,6)},d.dispose=function(){this.vao.dispose(),this.vertBuffer.dispose(),this.shader.dispose()}},{"./shaders":74,"gl-buffer":78,"gl-vao":150}],74:[function(t,e,r){"use strict";var n=t("glslify"),i=t("gl-shader"),a=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\nuniform vec3 offset, majorAxis, minorAxis, screenAxis;\nuniform float lineWidth;\nuniform vec2 screenShape;\n\nvec3 project(vec3 p) {\n  vec4 pp = projection * view * model * vec4(p, 1.0);\n  return pp.xyz / max(pp.w, 0.0001);\n}\n\nvoid main() {\n  vec3 major = position.x * majorAxis;\n  vec3 minor = position.y * minorAxis;\n\n  vec3 vPosition = major + minor + offset;\n  vec3 pPosition = project(vPosition);\n  vec3 offset = project(vPosition + screenAxis * position.z);\n\n  vec2 screen = normalize((offset - pPosition).xy * screenShape) / screenShape;\n\n  gl_Position = vec4(pPosition + vec3(0.5 * screen * lineWidth, 0), 1.0);\n}\n"]),o=n(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nvoid main() {\n  gl_FragColor = color;\n}"]);r.line=function(t){return i(t,a,o,null,[{name:"position",type:"vec3"}])};var s=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\nuniform vec3 offset, axis, alignDir, alignOpt;\nuniform float scale, angle, pixelScale;\nuniform vec2 resolution;\n\nvec3 project(vec3 p) {\n  vec4 pp = projection * view * model * vec4(p, 1.0);\n  return pp.xyz / max(pp.w, 0.0001);\n}\n\nfloat computeViewAngle(vec3 a, vec3 b) {\n  vec3 A = project(a);\n  vec3 B = project(b);\n\n  return atan(\n    (B.y - A.y) * resolution.y,\n    (B.x - A.x) * resolution.x\n  );\n}\n\nconst float PI = 3.141592;\nconst float TWO_PI = 2.0 * PI;\nconst float HALF_PI = 0.5 * PI;\nconst float ONE_AND_HALF_PI = 1.5 * PI;\n\nint option = int(floor(alignOpt.x + 0.001));\nfloat hv_ratio =       alignOpt.y;\nbool enableAlign =    (alignOpt.z != 0.0);\n\nfloat mod_angle(float a) {\n  return mod(a, PI);\n}\n\nfloat positive_angle(float a) {\n  return mod_angle((a < 0.0) ?\n    a + TWO_PI :\n    a\n  );\n}\n\nfloat look_upwards(float a) {\n  float b = positive_angle(a);\n  return ((b > HALF_PI) && (b <= ONE_AND_HALF_PI)) ?\n    b - PI :\n    b;\n}\n\nfloat look_horizontal_or_vertical(float a, float ratio) {\n  // ratio controls the ratio between being horizontal to (vertical + horizontal)\n  // if ratio is set to 0.5 then it is 50%, 50%.\n  // when using a higher ratio e.g. 0.75 the result would\n  // likely be more horizontal than vertical.\n\n  float b = positive_angle(a);\n\n  return\n    (b < (      ratio) * HALF_PI) ? 0.0 :\n    (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :\n    (b < (2.0 + ratio) * HALF_PI) ? 0.0 :\n    (b < (4.0 - ratio) * HALF_PI) ? HALF_PI :\n                                    0.0;\n}\n\nfloat roundTo(float a, float b) {\n  return float(b * floor((a + 0.5 * b) / b));\n}\n\nfloat look_round_n_directions(float a, int n) {\n  float b = positive_angle(a);\n  float div = TWO_PI / float(n);\n  float c = roundTo(b, div);\n  return look_upwards(c);\n}\n\nfloat applyAlignOption(float rawAngle, float delta) {\n  return\n    (option >  2) ? look_round_n_directions(rawAngle + delta, option) :       // option 3-n: round to n directions\n    (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical\n    (option == 1) ? rawAngle + delta :       // use free angle, and flip to align with one direction of the axis\n    (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards\n    (option ==-1) ? 0.0 :                    // useful for backward compatibility, all texts remains horizontal\n                    rawAngle;                // otherwise return back raw input angle\n}\n\nbool isAxisTitle = (axis.x == 0.0) &&\n                   (axis.y == 0.0) &&\n                   (axis.z == 0.0);\n\nvoid main() {\n  //Compute world offset\n  float axisDistance = position.z;\n  vec3 dataPosition = axisDistance * axis + offset;\n\n  float beta = angle; // i.e. user defined attributes for each tick\n\n  float axisAngle;\n  float clipAngle;\n  float flip;\n\n  if (enableAlign) {\n    axisAngle = (isAxisTitle) ? HALF_PI :\n                      computeViewAngle(dataPosition, dataPosition + axis);\n    clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);\n\n    axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;\n    clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;\n\n    flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),\n                vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;\n\n    beta += applyAlignOption(clipAngle, flip * PI);\n  }\n\n  //Compute plane offset\n  vec2 planeCoord = position.xy * pixelScale;\n\n  mat2 planeXform = scale * mat2(\n     cos(beta), sin(beta),\n    -sin(beta), cos(beta)\n  );\n\n  vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;\n\n  //Compute clip position\n  vec3 clipPosition = project(dataPosition);\n\n  //Apply text offset in clip coordinates\n  clipPosition += vec3(viewOffset, 0.0);\n\n  //Done\n  gl_Position = vec4(clipPosition, 1.0);\n}"]),l=n(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nvoid main() {\n  gl_FragColor = color;\n}"]);r.text=function(t){return i(t,s,l,null,[{name:"position",type:"vec3"}])};var c=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 model, view, projection;\nuniform vec3 enable;\nuniform vec3 bounds[2];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n\n  vec3 signAxis = sign(bounds[1] - bounds[0]);\n\n  vec3 realNormal = signAxis * normal;\n\n  if(dot(realNormal, enable) > 0.0) {\n    vec3 minRange = min(bounds[0], bounds[1]);\n    vec3 maxRange = max(bounds[0], bounds[1]);\n    vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));\n    gl_Position = projection * view * model * vec4(nPosition, 1.0);\n  } else {\n    gl_Position = vec4(0,0,0,0);\n  }\n\n  colorChannel = abs(realNormal);\n}"]),u=n(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 colors[3];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n  gl_FragColor = colorChannel.x * colors[0] +\n                 colorChannel.y * colors[1] +\n                 colorChannel.z * colors[2];\n}"]);r.bg=function(t){return i(t,c,u,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},{"gl-shader":132,glslify:231}],75:[function(t,e,r){(function(r){(function(){"use strict";e.exports=function(t,e,r,a,s,l){var u=n(t),f=i(t,[{buffer:u,size:3}]),h=o(t);h.attributes.position.location=0;var p=new c(t,h,u,f);return p.update(e,r,a,s,l),p};var n=t("gl-buffer"),i=t("gl-vao"),a=t("vectorize-text"),o=t("./shaders").text,s=window||r.global||{},l=s.__TEXT_CACHE||{};s.__TEXT_CACHE={};function c(t,e,r,n){this.gl=t,this.shader=e,this.buffer=r,this.vao=n,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var u=c.prototype,f=[0,0];u.bind=function(t,e,r,n){this.vao.bind(),this.shader.bind();var i=this.shader.uniforms;i.model=t,i.view=e,i.projection=r,i.pixelScale=n,f[0]=this.gl.drawingBufferWidth,f[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=f},u.unbind=function(){this.vao.unbind()},u.update=function(t,e,r,n,i){var o=[];function s(t,e,r,n,i,s){var c=l[r];c||(c=l[r]={});var u=c[e];u||(u=c[e]=function(t,e){try{return a(t,e)}catch(e){return console.warn('error vectorizing text:"'+t+'" error:',e),{cells:[],positions:[]}}}(e,{triangles:!0,font:r,textAlign:"center",textBaseline:"middle",lineSpacing:i,styletags:s}));for(var f=(n||12)/12,h=u.positions,p=u.cells,d=0,g=p.length;d<g;++d)for(var m=p[d],v=2;v>=0;--v){var y=h[m[v]];o.push(f*y[0],-f*y[1],t)}}for(var c=[0,0,0],u=[0,0,0],f=[0,0,0],h=[0,0,0],p={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},d=0;d<3;++d){f[d]=o.length/3|0,s(.5*(t[0][d]+t[1][d]),e[d],r[d],12,1.25,p),h[d]=(o.length/3|0)-f[d],c[d]=o.length/3|0;for(var g=0;g<n[d].length;++g)n[d][g].text&&s(n[d][g].x,n[d][g].text,n[d][g].font||i,n[d][g].fontSize||12,1.25,p);u[d]=(o.length/3|0)-c[d]}this.buffer.update(o),this.tickOffset=c,this.tickCount=u,this.labelOffset=f,this.labelCount=h},u.drawTicks=function(t,e,r,n,i,a,o,s){this.tickCount[t]&&(this.shader.uniforms.axis=a,this.shader.uniforms.color=i,this.shader.uniforms.angle=r,this.shader.uniforms.scale=e,this.shader.uniforms.offset=n,this.shader.uniforms.alignDir=o,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[t],this.tickOffset[t]))},u.drawLabel=function(t,e,r,n,i,a,o,s){this.labelCount[t]&&(this.shader.uniforms.axis=a,this.shader.uniforms.color=i,this.shader.uniforms.angle=r,this.shader.uniforms.scale=e,this.shader.uniforms.offset=n,this.shader.uniforms.alignDir=o,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.labelCount[t],this.labelOffset[t]))},u.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}}).call(this)}).call(this,t("_process"))},{"./shaders":74,_process:5,"gl-buffer":78,"gl-vao":150,"vectorize-text":311}],76:[function(t,e,r){"use strict";function n(t,e){var r=t+"",n=r.indexOf("."),i=0;n>=0&&(i=r.length-n-1);var a=Math.pow(10,i),o=Math.round(t*e*a),s=o+"";if(s.indexOf("e")>=0)return s;var l=o/a,c=o%a;o<0?(l=0|-Math.ceil(l),c=0|-c):(l=0|Math.floor(l),c|=0);var u=""+l;if(o<0&&(u="-"+u),i){for(var f=""+c;f.length<i;)f="0"+f;return u+"."+f}return u}r.create=function(t,e){for(var r=[],i=0;i<3;++i){for(var a=[],o=(t[0][i],t[1][i],0);o*e[i]<=t[1][i];++o)a.push({x:o*e[i],text:n(e[i],o)});for(o=-1;o*e[i]>=t[0][i];--o)a.push({x:o*e[i],text:n(e[i],o)});r.push(a)}return r},r.equal=function(t,e){for(var r=0;r<3;++r){if(t[r].length!==e[r].length)return!1;for(var n=0;n<t[r].length;++n){var i=t[r][n],a=e[r][n];if(i.x!==a.x||i.text!==a.text||i.font!==a.font||i.fontColor!==a.fontColor||i.fontSize!==a.fontSize||i.dx!==a.dx||i.dy!==a.dy)return!1}}return!0}},{}],77:[function(t,e,r){"use strict";e.exports=function(t,e,r,l,f){var h=e.model||c,p=e.view||c,v=e.projection||c,y=e._ortho||!1,x=t.bounds,b=(f=f||a(h,p,v,x,y)).axis;o(u,p,h),o(u,v,u);for(var _=g,w=0;w<3;++w)_[w].lo=1/0,_[w].hi=-1/0,_[w].pixelsPerDataUnit=1/0;var T=n(s(u,u));s(u,u);for(var k=0;k<3;++k){var A=(k+1)%3,M=(k+2)%3,S=m;t:for(w=0;w<2;++w){var E=[];if(b[k]<0!=!!w){S[k]=x[w][k];for(var L=0;L<2;++L){S[A]=x[L^w][A];for(var C=0;C<2;++C)S[M]=x[C^L^w][M],E.push(S.slice())}var P=y?5:4;for(L=P;L===P;++L){if(0===E.length)continue t;E=i.positive(E,T[L])}for(L=0;L<E.length;++L){M=E[L];var I=d(m,u,M,r,l);for(C=0;C<3;++C)_[C].lo=Math.min(_[C].lo,M[C]),_[C].hi=Math.max(_[C].hi,M[C]),C!==k&&(_[C].pixelsPerDataUnit=Math.min(_[C].pixelsPerDataUnit,Math.abs(I[C])))}}}}return _};var n=t("extract-frustum-planes"),i=t("split-polygon"),a=t("./lib/cube.js"),o=t("gl-mat4/multiply"),s=t("gl-mat4/transpose"),l=t("gl-vec4/transformMat4"),c=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),u=new Float32Array(16);function f(t,e,r){this.lo=t,this.hi=e,this.pixelsPerDataUnit=r}var h=[0,0,0,1],p=[0,0,0,1];function d(t,e,r,n,i){for(var a=0;a<3;++a){for(var o=h,s=p,c=0;c<3;++c)s[c]=o[c]=r[c];s[3]=o[3]=1,s[a]+=1,l(s,s,e),s[3]<0&&(t[a]=1/0),o[a]-=1,l(o,o,e),o[3]<0&&(t[a]=1/0);var u=(o[0]/o[3]-s[0]/s[3])*n,f=(o[1]/o[3]-s[1]/s[3])*i;t[a]=.25*Math.sqrt(u*u+f*f)}return t}var g=[new f(1/0,-1/0,1/0),new f(1/0,-1/0,1/0),new f(1/0,-1/0,1/0)],m=[0,0,0]},{"./lib/cube.js":72,"extract-frustum-planes":67,"gl-mat4/multiply":100,"gl-mat4/transpose":109,"gl-vec4/transformMat4":221,"split-polygon":300}],78:[function(t,e,r){"use strict";var n=t("typedarray-pool"),i=t("ndarray-ops"),a=t("ndarray"),o=["uint8","uint8_clamped","uint16","uint32","int8","int16","int32","float32"];function s(t,e,r,n,i){this.gl=t,this.type=e,this.handle=r,this.length=n,this.usage=i}var l=s.prototype;function c(t,e,r,n,i,a){var o=i.length*i.BYTES_PER_ELEMENT;if(a<0)return t.bufferData(e,i,n),o;if(o+a>r)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return t.bufferSubData(e,a,i),r}function u(t,e){for(var r=n.malloc(t.length,e),i=t.length,a=0;a<i;++a)r[a]=t[a];return r}l.bind=function(){this.gl.bindBuffer(this.type,this.handle)},l.unbind=function(){this.gl.bindBuffer(this.type,null)},l.dispose=function(){this.gl.deleteBuffer(this.handle)},l.update=function(t,e){if("number"!=typeof e&&(e=-1),this.bind(),"object"==typeof t&&void 0!==t.shape){var r=t.dtype;if(o.indexOf(r)<0&&(r="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER)r=gl.getExtension("OES_element_index_uint")&&"uint16"!==r?"uint32":"uint16";if(r===t.dtype&&function(t,e){for(var r=1,n=e.length-1;n>=0;--n){if(e[n]!==r)return!1;r*=t[n]}return!0}(t.shape,t.stride))0===t.offset&&t.data.length===t.shape[0]?this.length=c(this.gl,this.type,this.length,this.usage,t.data,e):this.length=c(this.gl,this.type,this.length,this.usage,t.data.subarray(t.offset,t.shape[0]),e);else{var s=n.malloc(t.size,r),l=a(s,t.shape);i.assign(l,t),this.length=c(this.gl,this.type,this.length,this.usage,e<0?s:s.subarray(0,t.size),e),n.free(s)}}else if(Array.isArray(t)){var f;f=this.type===this.gl.ELEMENT_ARRAY_BUFFER?u(t,"uint16"):u(t,"float32"),this.length=c(this.gl,this.type,this.length,this.usage,e<0?f:f.subarray(0,t.length),e),n.free(f)}else if("object"==typeof t&&"number"==typeof t.length)this.length=c(this.gl,this.type,this.length,this.usage,t,e);else{if("number"!=typeof t&&void 0!==t)throw new Error("gl-buffer: Invalid data type");if(e>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(t|=0)<=0&&(t=1),this.gl.bufferData(this.type,0|t,this.usage),this.length=t}},e.exports=function(t,e,r,n){if(r=r||t.ARRAY_BUFFER,n=n||t.DYNAMIC_DRAW,r!==t.ARRAY_BUFFER&&r!==t.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(n!==t.DYNAMIC_DRAW&&n!==t.STATIC_DRAW&&n!==t.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var i=t.createBuffer(),a=new s(t,r,i,0,n);return a.update(e),a}},{ndarray:259,"ndarray-ops":254,"typedarray-pool":308}],79:[function(t,e,r){"use strict";var n=t("gl-vec3");e.exports=function(t,e){var r=t.positions,i=t.vectors,a={positions:[],vertexIntensity:[],vertexIntensityBounds:t.vertexIntensityBounds,vectors:[],cells:[],coneOffset:t.coneOffset,colormap:t.colormap};if(0===t.positions.length)return e&&(e[0]=[0,0,0],e[1]=[0,0,0]),a;for(var o=0,s=1/0,l=-1/0,c=1/0,u=-1/0,f=1/0,h=-1/0,p=null,d=null,g=[],m=1/0,v=!1,y=0;y<r.length;y++){var x=r[y];s=Math.min(x[0],s),l=Math.max(x[0],l),c=Math.min(x[1],c),u=Math.max(x[1],u),f=Math.min(x[2],f),h=Math.max(x[2],h);var b=i[y];if(n.length(b)>o&&(o=n.length(b)),y){var _=2*n.distance(p,x)/(n.length(d)+n.length(b));_?(m=Math.min(m,_),v=!1):v=!0}v||(p=x,d=b),g.push(b)}var w=[s,c,f],T=[l,u,h];e&&(e[0]=w,e[1]=T),0===o&&(o=1);var k=1/o;isFinite(m)||(m=1),a.vectorScale=m;var A=t.coneSize||.5;t.absoluteConeSize&&(A=t.absoluteConeSize*k),a.coneScale=A;y=0;for(var M=0;y<r.length;y++)for(var S=(x=r[y])[0],E=x[1],L=x[2],C=g[y],P=n.length(C)*k,I=0;I<8;I++){a.positions.push([S,E,L,M++]),a.positions.push([S,E,L,M++]),a.positions.push([S,E,L,M++]),a.positions.push([S,E,L,M++]),a.positions.push([S,E,L,M++]),a.positions.push([S,E,L,M++]),a.vectors.push(C),a.vectors.push(C),a.vectors.push(C),a.vectors.push(C),a.vectors.push(C),a.vectors.push(C),a.vertexIntensity.push(P,P,P),a.vertexIntensity.push(P,P,P);var O=a.positions.length;a.cells.push([O-6,O-5,O-4],[O-3,O-2,O-1])}return a};var i=t("./lib/shaders");e.exports.createMesh=t("./create_mesh"),e.exports.createConeMesh=function(t,r){return e.exports.createMesh(t,r,{shaders:i,traceType:"cone"})}},{"./create_mesh":80,"./lib/shaders":81,"gl-vec3":169}],80:[function(t,e,r){"use strict";var n=t("gl-shader"),i=t("gl-buffer"),a=t("gl-vao"),o=t("gl-texture2d"),s=t("gl-mat4/multiply"),l=t("gl-mat4/invert"),c=t("ndarray"),u=t("colormap"),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(t,e,r,n,i,a,o,s,l,c,u){this.gl=t,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=e,this.dirty=!0,this.triShader=r,this.pickShader=n,this.trianglePositions=i,this.triangleVectors=a,this.triangleColors=s,this.triangleUVs=l,this.triangleIds=o,this.triangleVAO=c,this.triangleCount=0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.traceType=u,this.tubeScale=1,this.coneScale=2,this.vectorScale=1,this.coneOffset=.25,this._model=f,this._view=f,this._projection=f,this._resolution=[1,1]}var p=h.prototype;function d(t,e){var r=n(t,e.meshShader.vertex,e.meshShader.fragment,null,e.meshShader.attributes);return r.attributes.position.location=0,r.attributes.color.location=2,r.attributes.uv.location=3,r.attributes.vector.location=4,r}function g(t,e){var r=n(t,e.pickShader.vertex,e.pickShader.fragment,null,e.pickShader.attributes);return r.attributes.position.location=0,r.attributes.id.location=1,r.attributes.vector.location=4,r}p.isOpaque=function(){return this.opacity>=1},p.isTransparent=function(){return this.opacity<1},p.pickSlots=1,p.setPickBase=function(t){this.pickId=t},p.update=function(t){t=t||{};var e=this.gl;this.dirty=!0,"lightPosition"in t&&(this.lightPosition=t.lightPosition),"opacity"in t&&(this.opacity=t.opacity),"ambient"in t&&(this.ambientLight=t.ambient),"diffuse"in t&&(this.diffuseLight=t.diffuse),"specular"in t&&(this.specularLight=t.specular),"roughness"in t&&(this.roughness=t.roughness),"fresnel"in t&&(this.fresnel=t.fresnel),void 0!==t.tubeScale&&(this.tubeScale=t.tubeScale),void 0!==t.vectorScale&&(this.vectorScale=t.vectorScale),void 0!==t.coneScale&&(this.coneScale=t.coneScale),void 0!==t.coneOffset&&(this.coneOffset=t.coneOffset),t.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=e.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=e.LINEAR,this.texture.setPixels(function(t){for(var e=u({colormap:t,nshades:256,format:"rgba"}),r=new Uint8Array(1024),n=0;n<256;++n){for(var i=e[n],a=0;a<3;++a)r[4*n+a]=i[a];r[4*n+3]=255*i[3]}return c(r,[256,256,4],[4,0,1])}(t.colormap)),this.texture.generateMipmap());var r=t.cells,n=t.positions,i=t.vectors;if(n&&r&&i){var a=[],o=[],s=[],l=[],f=[];this.cells=r,this.positions=n,this.vectors=i;var h=t.meshColor||[1,1,1,1],p=t.vertexIntensity,d=1/0,g=-1/0;if(p)if(t.vertexIntensityBounds)d=+t.vertexIntensityBounds[0],g=+t.vertexIntensityBounds[1];else for(var m=0;m<p.length;++m){var v=p[m];d=Math.min(d,v),g=Math.max(g,v)}else for(m=0;m<n.length;++m){v=n[m][2];d=Math.min(d,v),g=Math.max(g,v)}this.intensity=p||function(t){for(var e=t.length,r=new Array(e),n=0;n<e;++n)r[n]=t[n][2];return r}(n),this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(m=0;m<n.length;++m)for(var y=n[m],x=0;x<3;++x)!isNaN(y[x])&&isFinite(y[x])&&(this.bounds[0][x]=Math.min(this.bounds[0][x],y[x]),this.bounds[1][x]=Math.max(this.bounds[1][x],y[x]));var b=0;t:for(m=0;m<r.length;++m){var _=r[m];switch(_.length){case 3:for(x=0;x<3;++x){y=n[T=_[x]];for(var w=0;w<3;++w)if(isNaN(y[w])||!isFinite(y[w]))continue t}for(x=0;x<3;++x){var T;y=n[T=_[2-x]];a.push(y[0],y[1],y[2],y[3]);var k=i[T];o.push(k[0],k[1],k[2],k[3]||0);var A,M=h;3===M.length?s.push(M[0],M[1],M[2],1):s.push(M[0],M[1],M[2],M[3]),A=p?[(p[T]-d)/(g-d),0]:[(y[2]-d)/(g-d),0],l.push(A[0],A[1]),f.push(m)}b+=1}}this.triangleCount=b,this.trianglePositions.update(a),this.triangleVectors.update(o),this.triangleColors.update(s),this.triangleUVs.update(l),this.triangleIds.update(new Uint32Array(f))}},p.drawTransparent=p.draw=function(t){t=t||{};for(var e=this.gl,r=t.model||f,n=t.view||f,i=t.projection||f,a=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],o=0;o<3;++o)a[0][o]=Math.max(a[0][o],this.clipBounds[0][o]),a[1][o]=Math.min(a[1][o],this.clipBounds[1][o]);var c={model:r,view:n,projection:i,inverseModel:f.slice(),clipBounds:a,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],opacity:this.opacity,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,texture:0};c.inverseModel=l(c.inverseModel,c.model),e.disable(e.CULL_FACE),this.texture.bind(0);var u=new Array(16);s(u,c.view,c.model),s(u,c.projection,u),l(u,u);for(o=0;o<3;++o)c.eyePosition[o]=u[12+o]/u[15];var h=u[15];for(o=0;o<3;++o)h+=this.lightPosition[o]*u[4*o+3];for(o=0;o<3;++o){for(var p=u[12+o],d=0;d<3;++d)p+=u[4*d+o]*this.lightPosition[d];c.lightPosition[o]=p/h}if(this.triangleCount>0){var g=this.triShader;g.bind(),g.uniforms=c,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},p.drawPick=function(t){t=t||{};for(var e=this.gl,r=t.model||f,n=t.view||f,i=t.projection||f,a=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],o=0;o<3;++o)a[0][o]=Math.max(a[0][o],this.clipBounds[0][o]),a[1][o]=Math.min(a[1][o],this.clipBounds[1][o]);this._model=[].slice.call(r),this._view=[].slice.call(n),this._projection=[].slice.call(i),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s={model:r,view:n,projection:i,clipBounds:a,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},l=this.pickShader;l.bind(),l.uniforms=s,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},p.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=t.value[0]+256*t.value[1]+65536*t.value[2],r=this.cells[e],n=this.positions[r[1]].slice(0,3),i={position:n,dataCoordinate:n,index:Math.floor(r[1]/48)};return"cone"===this.traceType?i.index=Math.floor(r[1]/48):"streamtube"===this.traceType&&(i.intensity=this.intensity[r[1]],i.velocity=this.vectors[r[1]].slice(0,3),i.divergence=this.vectors[r[1]][3],i.index=e),i},p.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},e.exports=function(t,e,r){var n=r.shaders;1===arguments.length&&(t=(e=t).gl);var s=d(t,n),l=g(t,n),u=o(t,c(new Uint8Array([255,255,255,255]),[1,1,4]));u.generateMipmap(),u.minFilter=t.LINEAR_MIPMAP_LINEAR,u.magFilter=t.LINEAR;var f=i(t),p=i(t),m=i(t),v=i(t),y=i(t),x=a(t,[{buffer:f,type:t.FLOAT,size:4},{buffer:y,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:m,type:t.FLOAT,size:4},{buffer:v,type:t.FLOAT,size:2},{buffer:p,type:t.FLOAT,size:4}]),b=new h(t,u,s,l,f,p,y,m,v,x,r.traceType||"cone");return b.update(e),b}},{colormap:53,"gl-buffer":78,"gl-mat4/invert":98,"gl-mat4/multiply":100,"gl-shader":132,"gl-texture2d":146,"gl-vao":150,ndarray:259}],81:[function(t,e,r){var n=t("glslify"),i=n(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n  // Return up-vector for only-z vector.\n  // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n  // From the above if-statement we have ||a|| > 0  U  ||b|| > 0.\n  // Assign z = 0, x = -b, y = a:\n  // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n  if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n    return normalize(vec3(-v.y, v.x, 0.0));\n  } else {\n    return normalize(vec3(0.0, v.z, -v.y));\n  }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n//   segment + 0 top vertex\n//   segment + 1 perimeter vertex a+1\n//   segment + 2 perimeter vertex a\n//   segment + 3 center base vertex\n//   segment + 4 perimeter vertex a\n//   segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n  const float segmentCount = 8.0;\n\n  float index = rawIndex - floor(rawIndex /\n    (segmentCount * 6.0)) *\n    (segmentCount * 6.0);\n\n  float segment = floor(0.001 + index/6.0);\n  float segmentIndex = index - (segment*6.0);\n\n  normal = -normalize(d);\n\n  if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n    return mix(vec3(0.0), -d, coneOffset);\n  }\n\n  float nextAngle = (\n    (segmentIndex > 0.99 &&  segmentIndex < 1.01) ||\n    (segmentIndex > 4.99 &&  segmentIndex < 5.01)\n  ) ? 1.0 : 0.0;\n  float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n  vec3 v1 = mix(d, vec3(0.0), coneOffset);\n  vec3 v2 = v1 - d;\n\n  vec3 u = getOrthogonalVector(d);\n  vec3 v = normalize(cross(u, d));\n\n  vec3 x = u * cos(angle) * length(d)*0.25;\n  vec3 y = v * sin(angle) * length(d)*0.25;\n  vec3 v3 = v2 + x + y;\n  if (segmentIndex < 3.0) {\n    vec3 tx = u * sin(angle);\n    vec3 ty = v * -cos(angle);\n    vec3 tangent = tx + ty;\n    normal = normalize(cross(v3 - v1, tangent));\n  }\n\n  if (segmentIndex == 0.0) {\n    return mix(d, vec3(0.0), coneOffset);\n  }\n  return v3;\n}\n\nattribute vec3 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, coneScale, coneOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  // Scale the vector magnitude to stay constant with\n  // model & view changes.\n  vec3 normal;\n  vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\n  vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n  //Lighting geometry parameters\n  vec4 cameraCoordinate = view * conePosition;\n  cameraCoordinate.xyz /= cameraCoordinate.w;\n  f_lightDirection = lightPosition - cameraCoordinate.xyz;\n  f_eyeDirection   = eyePosition - cameraCoordinate.xyz;\n  f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n  // vec4 m_position  = model * vec4(conePosition, 1.0);\n  vec4 t_position  = view * conePosition;\n  gl_Position      = projection * t_position;\n\n  f_color          = color;\n  f_data           = conePosition.xyz;\n  f_position       = position.xyz;\n  f_uv             = uv;\n}\n"]),a=n(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n  float NdotH = max(x, 0.0001);\n  float cos2Alpha = NdotH * NdotH;\n  float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n  float roughness2 = roughness * roughness;\n  float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n  return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n  vec3 lightDirection,\n  vec3 viewDirection,\n  vec3 surfaceNormal,\n  float roughness,\n  float fresnel) {\n\n  float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n  float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n  //Half angle vector\n  vec3 H = normalize(lightDirection + viewDirection);\n\n  //Geometric term\n  float NdotH = max(dot(surfaceNormal, H), 0.0);\n  float VdotH = max(dot(viewDirection, H), 0.000001);\n  float LdotH = max(dot(lightDirection, H), 0.000001);\n  float G1 = (2.0 * NdotH * VdotN) / VdotH;\n  float G2 = (2.0 * NdotH * LdotN) / LdotH;\n  float G = min(1.0, min(G1, G2));\n  \n  //Distribution term\n  float D = beckmannDistribution(NdotH, roughness);\n\n  //Fresnel term\n  float F = pow(1.0 - VdotN, fresnel);\n\n  //Multiply terms and done\n  return  G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n  vec3 N = normalize(f_normal);\n  vec3 L = normalize(f_lightDirection);\n  vec3 V = normalize(f_eyeDirection);\n\n  if(gl_FrontFacing) {\n    N = -N;\n  }\n\n  float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n  float diffuse  = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n  vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n  vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular,  1.0);\n\n  gl_FragColor = litColor * opacity;\n}\n"]),o=n(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n  // Return up-vector for only-z vector.\n  // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n  // From the above if-statement we have ||a|| > 0  U  ||b|| > 0.\n  // Assign z = 0, x = -b, y = a:\n  // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n  if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n    return normalize(vec3(-v.y, v.x, 0.0));\n  } else {\n    return normalize(vec3(0.0, v.z, -v.y));\n  }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n//   segment + 0 top vertex\n//   segment + 1 perimeter vertex a+1\n//   segment + 2 perimeter vertex a\n//   segment + 3 center base vertex\n//   segment + 4 perimeter vertex a\n//   segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n  const float segmentCount = 8.0;\n\n  float index = rawIndex - floor(rawIndex /\n    (segmentCount * 6.0)) *\n    (segmentCount * 6.0);\n\n  float segment = floor(0.001 + index/6.0);\n  float segmentIndex = index - (segment*6.0);\n\n  normal = -normalize(d);\n\n  if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n    return mix(vec3(0.0), -d, coneOffset);\n  }\n\n  float nextAngle = (\n    (segmentIndex > 0.99 &&  segmentIndex < 1.01) ||\n    (segmentIndex > 4.99 &&  segmentIndex < 5.01)\n  ) ? 1.0 : 0.0;\n  float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n  vec3 v1 = mix(d, vec3(0.0), coneOffset);\n  vec3 v2 = v1 - d;\n\n  vec3 u = getOrthogonalVector(d);\n  vec3 v = normalize(cross(u, d));\n\n  vec3 x = u * cos(angle) * length(d)*0.25;\n  vec3 y = v * sin(angle) * length(d)*0.25;\n  vec3 v3 = v2 + x + y;\n  if (segmentIndex < 3.0) {\n    vec3 tx = u * sin(angle);\n    vec3 ty = v * -cos(angle);\n    vec3 tangent = tx + ty;\n    normal = normalize(cross(v3 - v1, tangent));\n  }\n\n  if (segmentIndex == 0.0) {\n    return mix(d, vec3(0.0), coneOffset);\n  }\n  return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float vectorScale, coneScale, coneOffset;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  vec3 normal;\n  vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);\n  vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n  gl_Position = projection * view * conePosition;\n  f_id        = id;\n  f_position  = position.xyz;\n}\n"]),s=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3  clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n  gl_FragColor = vec4(pickId, f_id.xyz);\n}"]);r.meshShader={vertex:i,fragment:a,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},r.pickShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},{glslify:231}],82:[function(t,e,r){e.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},{}],83:[function(t,e,r){var n=t("./1.0/numbers");e.exports=function(t){return n[t]}},{"./1.0/numbers":82}],84:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e),o=i(e,[{buffer:r,type:e.FLOAT,size:3,offset:0,stride:40},{buffer:r,type:e.FLOAT,size:4,offset:12,stride:40},{buffer:r,type:e.FLOAT,size:3,offset:28,stride:40}]),l=a(e);l.attributes.position.location=0,l.attributes.color.location=1,l.attributes.offset.location=2;var c=new s(e,r,o,l);return c.update(t),c};var n=t("gl-buffer"),i=t("gl-vao"),a=t("./shaders/index"),o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(t,e,r,n){this.gl=t,this.shader=n,this.buffer=e,this.vao=r,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var l=s.prototype;function c(t,e){for(var r=0;r<3;++r)t[0][r]=Math.min(t[0][r],e[r]),t[1][r]=Math.max(t[1][r],e[r])}l.isOpaque=function(){return!this.hasAlpha},l.isTransparent=function(){return this.hasAlpha},l.drawTransparent=l.draw=function(t){var e=this.gl,r=this.shader.uniforms;this.shader.bind();var n=r.view=t.view||o,i=r.projection=t.projection||o;r.model=t.model||o,r.clipBounds=this.clipBounds,r.opacity=this.opacity;var a=n[12],s=n[13],l=n[14],c=n[15],u=(t._ortho||!1?2:1)*this.pixelRatio*(i[3]*a+i[7]*s+i[11]*l+i[15]*c)/e.drawingBufferHeight;this.vao.bind();for(var f=0;f<3;++f)e.lineWidth(this.lineWidth[f]*this.pixelRatio),r.capSize=this.capSize[f]*u,this.lineCount[f]&&e.drawArrays(e.LINES,this.lineOffset[f],this.lineCount[f]);this.vao.unbind()};var u=function(){for(var t=new Array(3),e=0;e<3;++e){for(var r=[],n=1;n<=2;++n)for(var i=-1;i<=1;i+=2){var a=[0,0,0];a[(n+e)%3]=i,r.push(a)}t[e]=r}return t}();function f(t,e,r,n){for(var i=u[n],a=0;a<i.length;++a){var o=i[a];t.push(e[0],e[1],e[2],r[0],r[1],r[2],r[3],o[0],o[1],o[2])}return i.length}l.update=function(t){"lineWidth"in(t=t||{})&&(this.lineWidth=t.lineWidth,Array.isArray(this.lineWidth)||(this.lineWidth=[this.lineWidth,this.lineWidth,this.lineWidth])),"capSize"in t&&(this.capSize=t.capSize,Array.isArray(this.capSize)||(this.capSize=[this.capSize,this.capSize,this.capSize])),this.hasAlpha=!1,"opacity"in t&&(this.opacity=+t.opacity,this.opacity<1&&(this.hasAlpha=!0));var e=t.color||[[0,0,0],[0,0,0],[0,0,0]],r=t.position,n=t.error;if(Array.isArray(e[0])||(e=[e,e,e]),r&&n){var i=[],a=r.length,o=0;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.lineCount=[0,0,0];for(var s=0;s<3;++s){this.lineOffset[s]=o;t:for(var l=0;l<a;++l){for(var u=r[l],h=0;h<3;++h)if(isNaN(u[h])||!isFinite(u[h]))continue t;var p=n[l],d=e[s];if(Array.isArray(d[0])&&(d=e[l]),3===d.length?d=[d[0],d[1],d[2],1]:4===d.length&&(d=[d[0],d[1],d[2],d[3]],!this.hasAlpha&&d[3]<1&&(this.hasAlpha=!0)),!isNaN(p[0][s])&&!isNaN(p[1][s])){var g;if(p[0][s]<0)(g=u.slice())[s]+=p[0][s],i.push(u[0],u[1],u[2],d[0],d[1],d[2],d[3],0,0,0,g[0],g[1],g[2],d[0],d[1],d[2],d[3],0,0,0),c(this.bounds,g),o+=2+f(i,g,d,s);if(p[1][s]>0)(g=u.slice())[s]+=p[1][s],i.push(u[0],u[1],u[2],d[0],d[1],d[2],d[3],0,0,0,g[0],g[1],g[2],d[0],d[1],d[2],d[3],0,0,0),c(this.bounds,g),o+=2+f(i,g,d,s)}}this.lineCount[s]=o-this.lineOffset[s]}this.buffer.update(i)}},l.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},{"./shaders/index":85,"gl-buffer":78,"gl-vao":150}],85:[function(t,e,r){"use strict";var n=t("glslify"),i=t("gl-shader"),a=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, offset;\nattribute vec4 color;\nuniform mat4 model, view, projection;\nuniform float capSize;\nvarying vec4 fragColor;\nvarying vec3 fragPosition;\n\nvoid main() {\n  vec4 worldPosition  = model * vec4(position, 1.0);\n  worldPosition       = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);\n  gl_Position         = projection * view * worldPosition;\n  fragColor           = color;\n  fragPosition        = position;\n}"]),o=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float opacity;\nvarying vec3 fragPosition;\nvarying vec4 fragColor;\n\nvoid main() {\n  if (\n    outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||\n    fragColor.a * opacity == 0.\n  ) discard;\n\n  gl_FragColor = opacity * fragColor;\n}"]);e.exports=function(t){return i(t,a,o,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},{"gl-shader":132,glslify:231}],86:[function(t,e,r){"use strict";var n=t("gl-texture2d");e.exports=function(t,e,r,n){i||(i=t.FRAMEBUFFER_UNSUPPORTED,a=t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,o=t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,s=t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var c=t.getExtension("WEBGL_draw_buffers");!l&&c&&function(t,e){var r=t.getParameter(e.MAX_COLOR_ATTACHMENTS_WEBGL);l=new Array(r+1);for(var n=0;n<=r;++n){for(var i=new Array(r),a=0;a<n;++a)i[a]=t.COLOR_ATTACHMENT0+a;for(a=n;a<r;++a)i[a]=t.NONE;l[n]=i}}(t,c);Array.isArray(e)&&(n=r,r=0|e[1],e=0|e[0]);if("number"!=typeof e)throw new Error("gl-fbo: Missing shape parameter");var u=t.getParameter(t.MAX_RENDERBUFFER_SIZE);if(e<0||e>u||r<0||r>u)throw new Error("gl-fbo: Parameters are too large for FBO");var f=1;if("color"in(n=n||{})){if((f=Math.max(0|n.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(f>1){if(!c)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(f>t.getParameter(c.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+f+" draw buffers")}}var h=t.UNSIGNED_BYTE,p=t.getExtension("OES_texture_float");if(n.float&&f>0){if(!p)throw new Error("gl-fbo: Context does not support floating point textures");h=t.FLOAT}else n.preferFloat&&f>0&&p&&(h=t.FLOAT);var g=!0;"depth"in n&&(g=!!n.depth);var m=!1;"stencil"in n&&(m=!!n.stencil);return new d(t,e,r,h,f,g,m,c)};var i,a,o,s,l=null;function c(t){return[t.getParameter(t.FRAMEBUFFER_BINDING),t.getParameter(t.RENDERBUFFER_BINDING),t.getParameter(t.TEXTURE_BINDING_2D)]}function u(t,e){t.bindFramebuffer(t.FRAMEBUFFER,e[0]),t.bindRenderbuffer(t.RENDERBUFFER,e[1]),t.bindTexture(t.TEXTURE_2D,e[2])}function f(t){switch(t){case i:throw new Error("gl-fbo: Framebuffer unsupported");case a:throw new Error("gl-fbo: Framebuffer incomplete attachment");case o:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case s:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function h(t,e,r,i,a,o){if(!i)return null;var s=n(t,e,r,a,i);return s.magFilter=t.NEAREST,s.minFilter=t.NEAREST,s.mipSamples=1,s.bind(),t.framebufferTexture2D(t.FRAMEBUFFER,o,t.TEXTURE_2D,s.handle,0),s}function p(t,e,r,n,i){var a=t.createRenderbuffer();return t.bindRenderbuffer(t.RENDERBUFFER,a),t.renderbufferStorage(t.RENDERBUFFER,n,e,r),t.framebufferRenderbuffer(t.FRAMEBUFFER,i,t.RENDERBUFFER,a),a}function d(t,e,r,n,i,a,o,s){this.gl=t,this._shape=[0|e,0|r],this._destroyed=!1,this._ext=s,this.color=new Array(i);for(var d=0;d<i;++d)this.color[d]=null;this._color_rb=null,this.depth=null,this._depth_rb=null,this._colorType=n,this._useDepth=a,this._useStencil=o;var g=this,m=[0|e,0|r];Object.defineProperties(m,{0:{get:function(){return g._shape[0]},set:function(t){return g.width=t}},1:{get:function(){return g._shape[1]},set:function(t){return g.height=t}}}),this._shapeVector=m,function(t){var e=c(t.gl),r=t.gl,n=t.handle=r.createFramebuffer(),i=t._shape[0],a=t._shape[1],o=t.color.length,s=t._ext,d=t._useStencil,g=t._useDepth,m=t._colorType;r.bindFramebuffer(r.FRAMEBUFFER,n);for(var v=0;v<o;++v)t.color[v]=h(r,i,a,m,r.RGBA,r.COLOR_ATTACHMENT0+v);0===o?(t._color_rb=p(r,i,a,r.RGBA4,r.COLOR_ATTACHMENT0),s&&s.drawBuffersWEBGL(l[0])):o>1&&s.drawBuffersWEBGL(l[o]);var y=r.getExtension("WEBGL_depth_texture");y?d?t.depth=h(r,i,a,y.UNSIGNED_INT_24_8_WEBGL,r.DEPTH_STENCIL,r.DEPTH_STENCIL_ATTACHMENT):g&&(t.depth=h(r,i,a,r.UNSIGNED_SHORT,r.DEPTH_COMPONENT,r.DEPTH_ATTACHMENT)):g&&d?t._depth_rb=p(r,i,a,r.DEPTH_STENCIL,r.DEPTH_STENCIL_ATTACHMENT):g?t._depth_rb=p(r,i,a,r.DEPTH_COMPONENT16,r.DEPTH_ATTACHMENT):d&&(t._depth_rb=p(r,i,a,r.STENCIL_INDEX,r.STENCIL_ATTACHMENT));var x=r.checkFramebufferStatus(r.FRAMEBUFFER);if(x!==r.FRAMEBUFFER_COMPLETE){t._destroyed=!0,r.bindFramebuffer(r.FRAMEBUFFER,null),r.deleteFramebuffer(t.handle),t.handle=null,t.depth&&(t.depth.dispose(),t.depth=null),t._depth_rb&&(r.deleteRenderbuffer(t._depth_rb),t._depth_rb=null);for(v=0;v<t.color.length;++v)t.color[v].dispose(),t.color[v]=null;t._color_rb&&(r.deleteRenderbuffer(t._color_rb),t._color_rb=null),u(r,e),f(x)}u(r,e)}(this)}var g=d.prototype;function m(t,e,r){if(t._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(t._shape[0]!==e||t._shape[1]!==r){var n=t.gl,i=n.getParameter(n.MAX_RENDERBUFFER_SIZE);if(e<0||e>i||r<0||r>i)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");t._shape[0]=e,t._shape[1]=r;for(var a=c(n),o=0;o<t.color.length;++o)t.color[o].shape=t._shape;t._color_rb&&(n.bindRenderbuffer(n.RENDERBUFFER,t._color_rb),n.renderbufferStorage(n.RENDERBUFFER,n.RGBA4,t._shape[0],t._shape[1])),t.depth&&(t.depth.shape=t._shape),t._depth_rb&&(n.bindRenderbuffer(n.RENDERBUFFER,t._depth_rb),t._useDepth&&t._useStencil?n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,t._shape[0],t._shape[1]):t._useDepth?n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_COMPONENT16,t._shape[0],t._shape[1]):t._useStencil&&n.renderbufferStorage(n.RENDERBUFFER,n.STENCIL_INDEX,t._shape[0],t._shape[1])),n.bindFramebuffer(n.FRAMEBUFFER,t.handle);var s=n.checkFramebufferStatus(n.FRAMEBUFFER);s!==n.FRAMEBUFFER_COMPLETE&&(t.dispose(),u(n,a),f(s)),u(n,a)}}Object.defineProperties(g,{shape:{get:function(){return this._destroyed?[0,0]:this._shapeVector},set:function(t){if(Array.isArray(t)||(t=[0|t,0|t]),2!==t.length)throw new Error("gl-fbo: Shape vector must be length 2");var e=0|t[0],r=0|t[1];return m(this,e,r),[e,r]},enumerable:!1},width:{get:function(){return this._destroyed?0:this._shape[0]},set:function(t){return m(this,t|=0,this._shape[1]),t},enumerable:!1},height:{get:function(){return this._destroyed?0:this._shape[1]},set:function(t){return t|=0,m(this,this._shape[0],t),t},enumerable:!1}}),g.bind=function(){if(!this._destroyed){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,this.handle),t.viewport(0,0,this._shape[0],this._shape[1])}},g.dispose=function(){if(!this._destroyed){this._destroyed=!0;var t=this.gl;t.deleteFramebuffer(this.handle),this.handle=null,this.depth&&(this.depth.dispose(),this.depth=null),this._depth_rb&&(t.deleteRenderbuffer(this._depth_rb),this._depth_rb=null);for(var e=0;e<this.color.length;++e)this.color[e].dispose(),this.color[e]=null;this._color_rb&&(t.deleteRenderbuffer(this._color_rb),this._color_rb=null)}}},{"gl-texture2d":146}],87:[function(t,e,r){var n=t("sprintf-js").sprintf,i=t("gl-constants/lookup"),a=t("glsl-shader-name"),o=t("add-line-numbers");e.exports=function(t,e,r){"use strict";var s=a(e)||"of unknown name (see npm glsl-shader-name)",l="unknown type";void 0!==r&&(l=r===i.FRAGMENT_SHADER?"fragment":"vertex");for(var c=n("Error compiling %s shader %s:\n",l,s),u=n("%s%s",c,t),f=t.split("\n"),h={},p=0;p<f.length;p++){var d=f[p];if(""!==d&&"\0"!==d){var g=parseInt(d.split(":")[2]);if(isNaN(g))throw new Error(n("Could not parse error: %s",d));h[g]=d}}var m=o(e).split("\n");for(p=0;p<m.length;p++)if(h[p+3]||h[p+2]||h[p+1]){var v=m[p];if(c+=v+"\n",h[p+1]){var y=h[p+1];y=y.substr(y.split(":",3).join(":").length+1).trim(),c+=n("^^^ %s\n\n",y)}}return{long:c.trim(),short:u.trim()}}},{"add-line-numbers":9,"gl-constants/lookup":83,"glsl-shader-name":223,"sprintf-js":301}],88:[function(t,e,r){"use strict";e.exports=function(t,e){var r=t.gl,n=o(r,l.vertex,l.fragment),i=o(r,l.pickVertex,l.pickFragment),a=s(r),u=s(r),f=s(r),h=s(r),p=new c(t,n,i,a,u,f,h);return p.update(e),t.addObject(p),p};var n=t("binary-search-bounds"),i=t("iota-array"),a=t("typedarray-pool"),o=t("gl-shader"),s=t("gl-buffer"),l=t("./lib/shaders");function c(t,e,r,n,i,a,o){this.plot=t,this.shader=e,this.pickShader=r,this.positionBuffer=n,this.weightBuffer=i,this.colorBuffer=a,this.idBuffer=o,this.xData=[],this.yData=[],this.shape=[0,0],this.bounds=[1/0,1/0,-1/0,-1/0],this.pickOffset=0}var u,f=c.prototype,h=[0,0,1,0,0,1,1,0,1,1,0,1];f.draw=(u=[1,0,0,0,1,0,0,0,1],function(){var t=this.plot,e=this.shader,r=this.bounds,n=this.numVertices;if(!(n<=0)){var i=t.gl,a=t.dataBox,o=r[2]-r[0],s=r[3]-r[1],l=a[2]-a[0],c=a[3]-a[1];u[0]=2*o/l,u[4]=2*s/c,u[6]=2*(r[0]-a[0])/l-1,u[7]=2*(r[1]-a[1])/c-1,e.bind();var f=e.uniforms;f.viewTransform=u,f.shape=this.shape;var h=e.attributes;this.positionBuffer.bind(),h.position.pointer(),this.weightBuffer.bind(),h.weight.pointer(i.UNSIGNED_BYTE,!1),this.colorBuffer.bind(),h.color.pointer(i.UNSIGNED_BYTE,!0),i.drawArrays(i.TRIANGLES,0,n)}}),f.drawPick=function(){var t=[1,0,0,0,1,0,0,0,1],e=[0,0,0,0];return function(r){var n=this.plot,i=this.pickShader,a=this.bounds,o=this.numVertices;if(!(o<=0)){var s=n.gl,l=n.dataBox,c=a[2]-a[0],u=a[3]-a[1],f=l[2]-l[0],h=l[3]-l[1];t[0]=2*c/f,t[4]=2*u/h,t[6]=2*(a[0]-l[0])/f-1,t[7]=2*(a[1]-l[1])/h-1;for(var p=0;p<4;++p)e[p]=r>>8*p&255;this.pickOffset=r,i.bind();var d=i.uniforms;d.viewTransform=t,d.pickOffset=e,d.shape=this.shape;var g=i.attributes;return this.positionBuffer.bind(),g.position.pointer(),this.weightBuffer.bind(),g.weight.pointer(s.UNSIGNED_BYTE,!1),this.idBuffer.bind(),g.pickId.pointer(s.UNSIGNED_BYTE,!1),s.drawArrays(s.TRIANGLES,0,o),r+this.shape[0]*this.shape[1]}}}(),f.pick=function(t,e,r){var n=this.pickOffset,i=this.shape[0]*this.shape[1];if(r<n||r>=n+i)return null;var a=r-n,o=this.xData,s=this.yData;return{object:this,pointId:a,dataCoord:[o[a%this.shape[0]],s[a/this.shape[0]|0]]}},f.update=function(t){var e=(t=t||{}).shape||[0,0],r=t.x||i(e[0]),o=t.y||i(e[1]),s=t.z||new Float32Array(e[0]*e[1]),l=!1!==t.zsmooth;this.xData=r,this.yData=o;var c,u,f,p,d=t.colorLevels||[0],g=t.colorValues||[0,0,0,1],m=d.length,v=this.bounds;l?(c=v[0]=r[0],u=v[1]=o[0],f=v[2]=r[r.length-1],p=v[3]=o[o.length-1]):(c=v[0]=r[0]+(r[1]-r[0])/2,u=v[1]=o[0]+(o[1]-o[0])/2,f=v[2]=r[r.length-1]+(r[r.length-1]-r[r.length-2])/2,p=v[3]=o[o.length-1]+(o[o.length-1]-o[o.length-2])/2);var y=1/(f-c),x=1/(p-u),b=e[0],_=e[1];this.shape=[b,_];var w=(l?(b-1)*(_-1):b*_)*(h.length>>>1);this.numVertices=w;for(var T=a.mallocUint8(4*w),k=a.mallocFloat32(2*w),A=a.mallocUint8(2*w),M=a.mallocUint32(w),S=0,E=l?b-1:b,L=l?_-1:_,C=0;C<L;++C){var P,I;l?(P=x*(o[C]-u),I=x*(o[C+1]-u)):(P=C<_-1?x*(o[C]-(o[C+1]-o[C])/2-u):x*(o[C]-(o[C]-o[C-1])/2-u),I=C<_-1?x*(o[C]+(o[C+1]-o[C])/2-u):x*(o[C]+(o[C]-o[C-1])/2-u));for(var O=0;O<E;++O){var z,D;l?(z=y*(r[O]-c),D=y*(r[O+1]-c)):(z=O<b-1?y*(r[O]-(r[O+1]-r[O])/2-c):y*(r[O]-(r[O]-r[O-1])/2-c),D=O<b-1?y*(r[O]+(r[O+1]-r[O])/2-c):y*(r[O]+(r[O]-r[O-1])/2-c));for(var R=0;R<h.length;R+=2){var F,B,N,j,U=h[R],V=h[R+1],H=s[l?(C+V)*b+(O+U):C*b+O],q=n.le(d,H);if(q<0)F=g[0],B=g[1],N=g[2],j=g[3];else if(q===m-1)F=g[4*m-4],B=g[4*m-3],N=g[4*m-2],j=g[4*m-1];else{var G=(H-d[q])/(d[q+1]-d[q]),Y=1-G,W=4*q,X=4*(q+1);F=Y*g[W]+G*g[X],B=Y*g[W+1]+G*g[X+1],N=Y*g[W+2]+G*g[X+2],j=Y*g[W+3]+G*g[X+3]}T[4*S]=255*F,T[4*S+1]=255*B,T[4*S+2]=255*N,T[4*S+3]=255*j,k[2*S]=.5*z+.5*D,k[2*S+1]=.5*P+.5*I,A[2*S]=U,A[2*S+1]=V,M[S]=C*b+O,S+=1}}}this.positionBuffer.update(k),this.weightBuffer.update(A),this.colorBuffer.update(T),this.idBuffer.update(M),a.free(k),a.free(T),a.free(A),a.free(M)},f.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.positionBuffer.dispose(),this.weightBuffer.dispose(),this.colorBuffer.dispose(),this.idBuffer.dispose(),this.plot.removeObject(this)}},{"./lib/shaders":89,"binary-search-bounds":31,"gl-buffer":78,"gl-shader":132,"iota-array":235,"typedarray-pool":308}],89:[function(t,e,r){"use strict";var n=t("glslify");e.exports={fragment:n(["precision lowp float;\n#define GLSLIFY 1\nvarying vec4 fragColor;\nvoid main() {\n  gl_FragColor = vec4(fragColor.rgb * fragColor.a, fragColor.a);\n}\n"]),vertex:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 color;\nattribute vec2 weight;\n\nuniform vec2 shape;\nuniform mat3 viewTransform;\n\nvarying vec4 fragColor;\n\nvoid main() {\n  vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);\n  fragColor = color;\n  gl_Position = vec4(vPosition.xy, 0, vPosition.z);\n}\n"]),pickFragment:n(["precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragId;\nvarying vec2 vWeight;\n\nuniform vec2 shape;\nuniform vec4 pickOffset;\n\nvoid main() {\n  vec2 d = step(.5, vWeight);\n  vec4 id = fragId + pickOffset;\n  id.x += d.x + d.y*shape.x;\n\n  id.y += floor(id.x / 256.0);\n  id.x -= floor(id.x / 256.0) * 256.0;\n\n  id.z += floor(id.y / 256.0);\n  id.y -= floor(id.y / 256.0) * 256.0;\n\n  id.w += floor(id.z / 256.0);\n  id.z -= floor(id.z / 256.0) * 256.0;\n\n  gl_FragColor = id/255.;\n}\n"]),pickVertex:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 pickId;\nattribute vec2 weight;\n\nuniform vec2 shape;\nuniform mat3 viewTransform;\n\nvarying vec4 fragId;\nvarying vec2 vWeight;\n\nvoid main() {\n  vWeight = weight;\n\n  fragId = pickId;\n\n  vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);\n  gl_Position = vec4(vPosition.xy, 0, vPosition.z);\n}\n"])}},{glslify:231}],90:[function(t,e,r){var n=t("glslify"),i=t("gl-shader"),a=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, nextPosition;\nattribute float arcLength, lineWidth;\nattribute vec4 color;\n\nuniform vec2 screenShape;\nuniform float pixelRatio;\nuniform mat4 model, view, projection;\n\nvarying vec4 fragColor;\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\n\nvec4 project(vec3 p) {\n  return projection * view * model * vec4(p, 1.0);\n}\n\nvoid main() {\n  vec4 startPoint = project(position);\n  vec4 endPoint   = project(nextPosition);\n\n  vec2 A = startPoint.xy / startPoint.w;\n  vec2 B =   endPoint.xy /   endPoint.w;\n\n  float clipAngle = atan(\n    (B.y - A.y) * screenShape.y,\n    (B.x - A.x) * screenShape.x\n  );\n\n  vec2 offset = 0.5 * pixelRatio * lineWidth * vec2(\n    sin(clipAngle),\n    -cos(clipAngle)\n  ) / screenShape;\n\n  gl_Position = vec4(startPoint.xy + startPoint.w * offset, startPoint.zw);\n\n  worldPosition = position;\n  pixelArcLength = arcLength;\n  fragColor = color;\n}\n"]),o=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3      clipBounds[2];\nuniform sampler2D dashTexture;\nuniform float     dashScale;\nuniform float     opacity;\n\nvarying vec3    worldPosition;\nvarying float   pixelArcLength;\nvarying vec4    fragColor;\n\nvoid main() {\n  if (\n    outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||\n    fragColor.a * opacity == 0.\n  ) discard;\n\n  float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\n  if(dashWeight < 0.5) {\n    discard;\n  }\n  gl_FragColor = fragColor * opacity;\n}\n"]),s=n(["precision highp float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX  1.70141184e38\n#define FLOAT_MIN  1.17549435e-38\n\n// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl\nvec4 packFloat(float v) {\n  float av = abs(v);\n\n  //Handle special cases\n  if(av < FLOAT_MIN) {\n    return vec4(0.0, 0.0, 0.0, 0.0);\n  } else if(v > FLOAT_MAX) {\n    return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n  } else if(v < -FLOAT_MAX) {\n    return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n  }\n\n  vec4 c = vec4(0,0,0,0);\n\n  //Compute exponent and mantissa\n  float e = floor(log2(av));\n  float m = av * pow(2.0, -e) - 1.0;\n\n  //Unpack mantissa\n  c[1] = floor(128.0 * m);\n  m -= c[1] / 128.0;\n  c[2] = floor(32768.0 * m);\n  m -= c[2] / 32768.0;\n  c[3] = floor(8388608.0 * m);\n\n  //Unpack exponent\n  float ebias = e + 127.0;\n  c[0] = floor(ebias / 2.0);\n  ebias -= c[0] * 2.0;\n  c[1] += floor(ebias) * 128.0;\n\n  //Unpack sign bit\n  c[0] += 128.0 * step(0.0, -v);\n\n  //Scale back to range\n  return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n  gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);\n}"]),l=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];r.createShader=function(t){return i(t,a,o,null,l)},r.createPickShader=function(t){return i(t,a,s,null,l)}},{"gl-shader":132,glslify:231}],91:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl||t.scene&&t.scene.gl,r=f(e);r.attributes.position.location=0,r.attributes.nextPosition.location=1,r.attributes.arcLength.location=2,r.attributes.lineWidth.location=3,r.attributes.color.location=4;var o=h(e);o.attributes.position.location=0,o.attributes.nextPosition.location=1,o.attributes.arcLength.location=2,o.attributes.lineWidth.location=3,o.attributes.color.location=4;for(var s=n(e),l=i(e,[{buffer:s,size:3,offset:0,stride:48},{buffer:s,size:3,offset:12,stride:48},{buffer:s,size:1,offset:24,stride:48},{buffer:s,size:1,offset:28,stride:48},{buffer:s,size:4,offset:32,stride:48}]),u=c(new Array(1024),[256,1,4]),p=0;p<1024;++p)u.data[p]=255;var d=a(e,u);d.wrap=e.REPEAT;var g=new v(e,r,o,s,l,d);return g.update(t),g};var n=t("gl-buffer"),i=t("gl-vao"),a=t("gl-texture2d"),o=new Uint8Array(4),s=new Float32Array(o.buffer);var l=t("binary-search-bounds"),c=t("ndarray"),u=t("./lib/shaders"),f=u.createShader,h=u.createPickShader,p=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function d(t,e){for(var r=0,n=0;n<3;++n){var i=t[n]-e[n];r+=i*i}return Math.sqrt(r)}function g(t){for(var e=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],r=0;r<3;++r)e[0][r]=Math.max(t[0][r],e[0][r]),e[1][r]=Math.min(t[1][r],e[1][r]);return e}function m(t,e,r,n){this.arcLength=t,this.position=e,this.index=r,this.dataCoordinate=n}function v(t,e,r,n,i,a){this.gl=t,this.shader=e,this.pickShader=r,this.buffer=n,this.vao=i,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=a,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var y=v.prototype;y.isTransparent=function(){return this.hasAlpha},y.isOpaque=function(){return!this.hasAlpha},y.pickSlots=1,y.setPickBase=function(t){this.pickId=t},y.drawTransparent=y.draw=function(t){if(this.vertexCount){var e=this.gl,r=this.shader,n=this.vao;r.bind(),r.uniforms={model:t.model||p,view:t.view||p,projection:t.projection||p,clipBounds:g(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},n.bind(),n.draw(e.TRIANGLE_STRIP,this.vertexCount),n.unbind()}},y.drawPick=function(t){if(this.vertexCount){var e=this.gl,r=this.pickShader,n=this.vao;r.bind(),r.uniforms={model:t.model||p,view:t.view||p,projection:t.projection||p,pickId:this.pickId,clipBounds:g(this.clipBounds),screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},n.bind(),n.draw(e.TRIANGLE_STRIP,this.vertexCount),n.unbind()}},y.update=function(t){var e,r;this.dirty=!0;var n=!!t.connectGaps;"dashScale"in t&&(this.dashScale=t.dashScale),this.hasAlpha=!1,"opacity"in t&&(this.opacity=+t.opacity,this.opacity<1&&(this.hasAlpha=!0));var i=[],a=[],o=[],s=0,u=0,f=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],h=t.position||t.positions;if(h){var p=t.color||t.colors||[0,0,0,1],g=t.lineWidth||1,m=!1;t:for(e=1;e<h.length;++e){var v,y,x,b=h[e-1],_=h[e];for(a.push(s),o.push(b.slice()),r=0;r<3;++r){if(isNaN(b[r])||isNaN(_[r])||!isFinite(b[r])||!isFinite(_[r])){if(!n&&i.length>0){for(var w=0;w<24;++w)i.push(i[i.length-12]);u+=2,m=!0}continue t}f[0][r]=Math.min(f[0][r],b[r],_[r]),f[1][r]=Math.max(f[1][r],b[r],_[r])}Array.isArray(p[0])?(v=p.length>e-1?p[e-1]:p.length>0?p[p.length-1]:[0,0,0,1],y=p.length>e?p[e]:p.length>0?p[p.length-1]:[0,0,0,1]):v=y=p,3===v.length&&(v=[v[0],v[1],v[2],1]),3===y.length&&(y=[y[0],y[1],y[2],1]),!this.hasAlpha&&v[3]<1&&(this.hasAlpha=!0),x=Array.isArray(g)?g.length>e-1?g[e-1]:g.length>0?g[g.length-1]:[0,0,0,1]:g;var T=s;if(s+=d(b,_),m){for(r=0;r<2;++r)i.push(b[0],b[1],b[2],_[0],_[1],_[2],T,x,v[0],v[1],v[2],v[3]);u+=2,m=!1}i.push(b[0],b[1],b[2],_[0],_[1],_[2],T,x,v[0],v[1],v[2],v[3],b[0],b[1],b[2],_[0],_[1],_[2],T,-x,v[0],v[1],v[2],v[3],_[0],_[1],_[2],b[0],b[1],b[2],s,-x,y[0],y[1],y[2],y[3],_[0],_[1],_[2],b[0],b[1],b[2],s,x,y[0],y[1],y[2],y[3]),u+=4}}if(this.buffer.update(i),a.push(s),o.push(h[h.length-1].slice()),this.bounds=f,this.vertexCount=u,this.points=o,this.arcLength=a,"dashes"in t){var k=t.dashes.slice();for(k.unshift(0),e=1;e<k.length;++e)k[e]=k[e-1]+k[e];var A=c(new Array(1024),[256,1,4]);for(e=0;e<256;++e){for(r=0;r<4;++r)A.set(e,0,r,0);1&l.le(k,k[k.length-1]*e/255)?A.set(e,0,0,0):A.set(e,0,0,255)}this.texture.setPixels(A)}},y.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()},y.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=function(t,e,r,n){return o[0]=n,o[1]=r,o[2]=e,o[3]=t,s[0]}(t.value[0],t.value[1],t.value[2],0),r=l.le(this.arcLength,e);if(r<0)return null;if(r===this.arcLength.length-1)return new m(this.arcLength[this.arcLength.length-1],this.points[this.points.length-1].slice(),r);for(var n=this.points[r],i=this.points[Math.min(r+1,this.points.length-1)],a=(e-this.arcLength[r])/(this.arcLength[r+1]-this.arcLength[r]),c=1-a,u=[0,0,0],f=0;f<3;++f)u[f]=c*n[f]+a*i[f];var h=Math.min(a<.5?r:r+1,this.points.length-1);return new m(e,u,h,this.points[h])}},{"./lib/shaders":90,"binary-search-bounds":31,"gl-buffer":78,"gl-texture2d":146,"gl-vao":150,ndarray:259}],92:[function(t,e,r){e.exports=function(t){var e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],93:[function(t,e,r){e.exports=function(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],94:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2],i=t[3],a=t[4],o=t[5],s=t[6],l=t[7],c=t[8],u=t[9],f=t[10],h=t[11],p=t[12],d=t[13],g=t[14],m=t[15];return(e*o-r*a)*(f*m-h*g)-(e*s-n*a)*(u*m-h*d)+(e*l-i*a)*(u*g-f*d)+(r*s-n*o)*(c*m-h*p)-(r*l-i*o)*(c*g-f*p)+(n*l-i*s)*(c*d-u*p)}},{}],95:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=r+r,s=n+n,l=i+i,c=r*o,u=n*o,f=n*s,h=i*o,p=i*s,d=i*l,g=a*o,m=a*s,v=a*l;return t[0]=1-f-d,t[1]=u+v,t[2]=h-m,t[3]=0,t[4]=u-v,t[5]=1-c-d,t[6]=p+g,t[7]=0,t[8]=h+m,t[9]=p-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],96:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=n+n,l=i+i,c=a+a,u=n*s,f=n*l,h=n*c,p=i*l,d=i*c,g=a*c,m=o*s,v=o*l,y=o*c;return t[0]=1-(p+g),t[1]=f+y,t[2]=h-v,t[3]=0,t[4]=f-y,t[5]=1-(u+g),t[6]=d+m,t[7]=0,t[8]=h+v,t[9]=d-m,t[10]=1-(u+p),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}},{}],97:[function(t,e,r){e.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],98:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],p=e[11],d=e[12],g=e[13],m=e[14],v=e[15],y=r*s-n*o,x=r*l-i*o,b=r*c-a*o,_=n*l-i*s,w=n*c-a*s,T=i*c-a*l,k=u*g-f*d,A=u*m-h*d,M=u*v-p*d,S=f*m-h*g,E=f*v-p*g,L=h*v-p*m,C=y*L-x*E+b*S+_*M-w*A+T*k;if(!C)return null;return C=1/C,t[0]=(s*L-l*E+c*S)*C,t[1]=(i*E-n*L-a*S)*C,t[2]=(g*T-m*w+v*_)*C,t[3]=(h*w-f*T-p*_)*C,t[4]=(l*M-o*L-c*A)*C,t[5]=(r*L-i*M+a*A)*C,t[6]=(m*b-d*T-v*x)*C,t[7]=(u*T-h*b+p*x)*C,t[8]=(o*E-s*M+c*k)*C,t[9]=(n*M-r*E-a*k)*C,t[10]=(d*w-g*b+v*y)*C,t[11]=(f*b-u*w-p*y)*C,t[12]=(s*A-o*S-l*k)*C,t[13]=(r*S-n*A+i*k)*C,t[14]=(g*x-d*_-m*y)*C,t[15]=(u*_-f*x+h*y)*C,t}},{}],99:[function(t,e,r){var n=t("./identity");e.exports=function(t,e,r,i){var a,o,s,l,c,u,f,h,p,d,g=e[0],m=e[1],v=e[2],y=i[0],x=i[1],b=i[2],_=r[0],w=r[1],T=r[2];if(Math.abs(g-_)<1e-6&&Math.abs(m-w)<1e-6&&Math.abs(v-T)<1e-6)return n(t);f=g-_,h=m-w,p=v-T,d=1/Math.sqrt(f*f+h*h+p*p),a=x*(p*=d)-b*(h*=d),o=b*(f*=d)-y*p,s=y*h-x*f,(d=Math.sqrt(a*a+o*o+s*s))?(a*=d=1/d,o*=d,s*=d):(a=0,o=0,s=0);l=h*s-p*o,c=p*a-f*s,u=f*o-h*a,(d=Math.sqrt(l*l+c*c+u*u))?(l*=d=1/d,c*=d,u*=d):(l=0,c=0,u=0);return t[0]=a,t[1]=l,t[2]=f,t[3]=0,t[4]=o,t[5]=c,t[6]=h,t[7]=0,t[8]=s,t[9]=u,t[10]=p,t[11]=0,t[12]=-(a*g+o*m+s*v),t[13]=-(l*g+c*m+u*v),t[14]=-(f*g+h*m+p*v),t[15]=1,t}},{"./identity":97}],100:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],g=e[12],m=e[13],v=e[14],y=e[15],x=r[0],b=r[1],_=r[2],w=r[3];return t[0]=x*n+b*s+_*f+w*g,t[1]=x*i+b*l+_*h+w*m,t[2]=x*a+b*c+_*p+w*v,t[3]=x*o+b*u+_*d+w*y,x=r[4],b=r[5],_=r[6],w=r[7],t[4]=x*n+b*s+_*f+w*g,t[5]=x*i+b*l+_*h+w*m,t[6]=x*a+b*c+_*p+w*v,t[7]=x*o+b*u+_*d+w*y,x=r[8],b=r[9],_=r[10],w=r[11],t[8]=x*n+b*s+_*f+w*g,t[9]=x*i+b*l+_*h+w*m,t[10]=x*a+b*c+_*p+w*v,t[11]=x*o+b*u+_*d+w*y,x=r[12],b=r[13],_=r[14],w=r[15],t[12]=x*n+b*s+_*f+w*g,t[13]=x*i+b*l+_*h+w*m,t[14]=x*a+b*c+_*p+w*v,t[15]=x*o+b*u+_*d+w*y,t}},{}],101:[function(t,e,r){e.exports=function(t,e,r,n,i,a,o){var s=1/(e-r),l=1/(n-i),c=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*s,t[13]=(i+n)*l,t[14]=(o+a)*c,t[15]=1,t}},{}],102:[function(t,e,r){e.exports=function(t,e,r,n,i){var a=1/Math.tan(e/2),o=1/(n-i);return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+n)*o,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*n*o,t[15]=0,t}},{}],103:[function(t,e,r){e.exports=function(t,e,r,n){var i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,w,T,k,A,M,S,E=n[0],L=n[1],C=n[2],P=Math.sqrt(E*E+L*L+C*C);if(Math.abs(P)<1e-6)return null;E*=P=1/P,L*=P,C*=P,i=Math.sin(r),a=Math.cos(r),o=1-a,s=e[0],l=e[1],c=e[2],u=e[3],f=e[4],h=e[5],p=e[6],d=e[7],g=e[8],m=e[9],v=e[10],y=e[11],x=E*E*o+a,b=L*E*o+C*i,_=C*E*o-L*i,w=E*L*o-C*i,T=L*L*o+a,k=C*L*o+E*i,A=E*C*o+L*i,M=L*C*o-E*i,S=C*C*o+a,t[0]=s*x+f*b+g*_,t[1]=l*x+h*b+m*_,t[2]=c*x+p*b+v*_,t[3]=u*x+d*b+y*_,t[4]=s*w+f*T+g*k,t[5]=l*w+h*T+m*k,t[6]=c*w+p*T+v*k,t[7]=u*w+d*T+y*k,t[8]=s*A+f*M+g*S,t[9]=l*A+h*M+m*S,t[10]=c*A+p*M+v*S,t[11]=u*A+d*M+y*S,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t}},{}],104:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],f=e[10],h=e[11];e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[4]=a*i+c*n,t[5]=o*i+u*n,t[6]=s*i+f*n,t[7]=l*i+h*n,t[8]=c*i-a*n,t[9]=u*i-o*n,t[10]=f*i-s*n,t[11]=h*i-l*n,t}},{}],105:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],l=e[3],c=e[8],u=e[9],f=e[10],h=e[11];e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=a*i-c*n,t[1]=o*i-u*n,t[2]=s*i-f*n,t[3]=l*i-h*n,t[8]=a*n+c*i,t[9]=o*n+u*i,t[10]=s*n+f*i,t[11]=l*n+h*i,t}},{}],106:[function(t,e,r){e.exports=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],l=e[3],c=e[4],u=e[5],f=e[6],h=e[7];e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=a*i+c*n,t[1]=o*i+u*n,t[2]=s*i+f*n,t[3]=l*i+h*n,t[4]=c*i-a*n,t[5]=u*i-o*n,t[6]=f*i-s*n,t[7]=h*i-l*n,t}},{}],107:[function(t,e,r){e.exports=function(t,e,r){var n=r[0],i=r[1],a=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},{}],108:[function(t,e,r){e.exports=function(t,e,r){var n,i,a,o,s,l,c,u,f,h,p,d,g=r[0],m=r[1],v=r[2];e===t?(t[12]=e[0]*g+e[4]*m+e[8]*v+e[12],t[13]=e[1]*g+e[5]*m+e[9]*v+e[13],t[14]=e[2]*g+e[6]*m+e[10]*v+e[14],t[15]=e[3]*g+e[7]*m+e[11]*v+e[15]):(n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],f=e[8],h=e[9],p=e[10],d=e[11],t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=c,t[7]=u,t[8]=f,t[9]=h,t[10]=p,t[11]=d,t[12]=n*g+s*m+f*v+e[12],t[13]=i*g+l*m+h*v+e[13],t[14]=a*g+c*m+p*v+e[14],t[15]=o*g+u*m+d*v+e[15]);return t}},{}],109:[function(t,e,r){e.exports=function(t,e){if(t===e){var r=e[1],n=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}},{}],110:[function(t,e,r){"use strict";var n=t("barycentric"),i=t("polytope-closest-point/lib/closest_point_2d.js");function a(t,e){for(var r=[0,0,0,0],n=0;n<4;++n)for(var i=0;i<4;++i)r[i]+=t[4*n+i]*e[n];return r}function o(t,e,r,n,i){for(var o=a(n,a(r,a(e,[t[0],t[1],t[2],1]))),s=0;s<3;++s)o[s]/=o[3];return[.5*i[0]*(1+o[0]),.5*i[1]*(1-o[1])]}function s(t,e){for(var r=[0,0,0],n=0;n<t.length;++n)for(var i=t[n],a=e[n],o=0;o<3;++o)r[o]+=a*i[o];return r}e.exports=function(t,e,r,a,l,c){if(1===t.length)return[0,t[0].slice()];for(var u=new Array(t.length),f=0;f<t.length;++f)u[f]=o(t[f],r,a,l,c);var h=0,p=1/0;for(f=0;f<u.length;++f){for(var d=0,g=0;g<2;++g)d+=Math.pow(u[f][g]-e[g],2);d<p&&(p=d,h=f)}var m=function(t,e){if(2===t.length){for(var r=0,a=0,o=0;o<2;++o)r+=Math.pow(e[o]-t[0][o],2),a+=Math.pow(e[o]-t[1][o],2);return r=Math.sqrt(r),a=Math.sqrt(a),r+a<1e-6?[1,0]:[a/(r+a),r/(a+r)]}if(3===t.length){var s=[0,0];return i(t[0],t[1],t[2],e,s),n(t,s)}return[]}(u,e),v=0;for(f=0;f<3;++f){if(m[f]<-.001||m[f]>1.0001)return null;v+=m[f]}if(Math.abs(v-1)>.001)return null;return[h,s(t,m),m]}},{barycentric:14,"polytope-closest-point/lib/closest_point_2d.js":270}],111:[function(t,e,r){var n=t("glslify"),i=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, normal;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model\n           , view\n           , projection\n           , inverseModel;\nuniform vec3 eyePosition\n           , lightPosition;\n\nvarying vec3 f_normal\n           , f_lightDirection\n           , f_eyeDirection\n           , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvec4 project(vec3 p) {\n  return projection * view * model * vec4(p, 1.0);\n}\n\nvoid main() {\n  gl_Position      = project(position);\n\n  //Lighting geometry parameters\n  vec4 cameraCoordinate = view * vec4(position , 1.0);\n  cameraCoordinate.xyz /= cameraCoordinate.w;\n  f_lightDirection = lightPosition - cameraCoordinate.xyz;\n  f_eyeDirection   = eyePosition - cameraCoordinate.xyz;\n  f_normal  = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n  f_color          = color;\n  f_data           = position;\n  f_uv             = uv;\n}\n"]),a=n(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n  float NdotH = max(x, 0.0001);\n  float cos2Alpha = NdotH * NdotH;\n  float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n  float roughness2 = roughness * roughness;\n  float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n  return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n  vec3 lightDirection,\n  vec3 viewDirection,\n  vec3 surfaceNormal,\n  float roughness,\n  float fresnel) {\n\n  float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n  float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n  //Half angle vector\n  vec3 H = normalize(lightDirection + viewDirection);\n\n  //Geometric term\n  float NdotH = max(dot(surfaceNormal, H), 0.0);\n  float VdotH = max(dot(viewDirection, H), 0.000001);\n  float LdotH = max(dot(lightDirection, H), 0.000001);\n  float G1 = (2.0 * NdotH * VdotN) / VdotH;\n  float G2 = (2.0 * NdotH * LdotN) / LdotH;\n  float G = min(1.0, min(G1, G2));\n  \n  //Distribution term\n  float D = beckmannDistribution(NdotH, roughness);\n\n  //Fresnel term\n  float F = pow(1.0 - VdotN, fresnel);\n\n  //Multiply terms and done\n  return  G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\n//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness\n            , fresnel\n            , kambient\n            , kdiffuse\n            , kspecular;\nuniform sampler2D texture;\n\nvarying vec3 f_normal\n           , f_lightDirection\n           , f_eyeDirection\n           , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  if (f_color.a == 0.0 ||\n    outOfRange(clipBounds[0], clipBounds[1], f_data)\n  ) discard;\n\n  vec3 N = normalize(f_normal);\n  vec3 L = normalize(f_lightDirection);\n  vec3 V = normalize(f_eyeDirection);\n\n  if(gl_FrontFacing) {\n    N = -N;\n  }\n\n  float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n  //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d\n\n  float diffuse  = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n  vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);\n  vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular,  1.0);\n\n  gl_FragColor = litColor * f_color.a;\n}\n"]),o=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model, view, projection;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n  gl_Position = projection * view * model * vec4(position, 1.0);\n  f_color = color;\n  f_data  = position;\n  f_uv    = uv;\n}"]),s=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;\n\n  gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}"]),l=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\nattribute float pointSize;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n    gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);\n  } else {\n    gl_Position = projection * view * model * vec4(position, 1.0);\n  }\n  gl_PointSize = pointSize;\n  f_color = color;\n  f_uv = uv;\n}"]),c=n(["precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);\n  if(dot(pointR, pointR) > 0.25) {\n    discard;\n  }\n  gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}"]),u=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  gl_Position = projection * view * model * vec4(position, 1.0);\n  f_id        = id;\n  f_position  = position;\n}"]),f=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3  clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n  gl_FragColor = vec4(pickId, f_id.xyz);\n}"]),h=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3  position;\nattribute float pointSize;\nattribute vec4  id;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n    gl_Position = vec4(0.0, 0.0, 0.0, 0.0);\n  } else {\n    gl_Position  = projection * view * model * vec4(position, 1.0);\n    gl_PointSize = pointSize;\n  }\n  f_id         = id;\n  f_position   = position;\n}"]),p=n(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\n\nvoid main() {\n  gl_Position = projection * view * model * vec4(position, 1.0);\n}"]),d=n(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 contourColor;\n\nvoid main() {\n  gl_FragColor = vec4(contourColor, 1.0);\n}\n"]);r.meshShader={vertex:i,fragment:a,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},r.wireShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},r.pointShader={vertex:l,fragment:c,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},r.pickShader={vertex:u,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},r.pointPickShader={vertex:h,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},r.contourShader={vertex:p,fragment:d,attributes:[{name:"position",type:"vec3"}]}},{glslify:231}],112:[function(t,e,r){"use strict";var n=t("gl-shader"),i=t("gl-buffer"),a=t("gl-vao"),o=t("gl-texture2d"),s=t("normals"),l=t("gl-mat4/multiply"),c=t("gl-mat4/invert"),u=t("ndarray"),f=t("colormap"),h=t("simplicial-complex-contour"),p=t("typedarray-pool"),d=t("./lib/shaders"),g=t("./lib/closest-point"),m=d.meshShader,v=d.wireShader,y=d.pointShader,x=d.pickShader,b=d.pointPickShader,_=d.contourShader,w=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function T(t,e,r,n,i,a,o,s,l,c,u,f,h,p,d,g,m,v,y,x,b,_,T,k,A,M,S){this.gl=t,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=e,this.dirty=!0,this.triShader=r,this.lineShader=n,this.pointShader=i,this.pickShader=a,this.pointPickShader=o,this.contourShader=s,this.trianglePositions=l,this.triangleColors=u,this.triangleNormals=h,this.triangleUVs=f,this.triangleIds=c,this.triangleVAO=p,this.triangleCount=0,this.lineWidth=1,this.edgePositions=d,this.edgeColors=m,this.edgeUVs=v,this.edgeIds=g,this.edgeVAO=y,this.edgeCount=0,this.pointPositions=x,this.pointColors=_,this.pointUVs=T,this.pointSizes=k,this.pointIds=b,this.pointVAO=A,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=M,this.contourVAO=S,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=w,this._view=w,this._projection=w,this._resolution=[1,1]}var k=T.prototype;function A(t,e){if(!e)return 1;if(!e.length)return 1;for(var r=0;r<e.length;++r){if(e.length<2)return 1;if(e[r][0]===t)return e[r][1];if(e[r][0]>t&&r>0){var n=(e[r][0]-t)/(e[r][0]-e[r-1][0]);return e[r][1]*(1-n)+n*e[r-1][1]}}return 1}function M(t){var e=n(t,m.vertex,m.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e.attributes.normal.location=4,e}function S(t){var e=n(t,v.vertex,v.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e}function E(t){var e=n(t,y.vertex,y.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e.attributes.pointSize.location=4,e}function L(t){var e=n(t,x.vertex,x.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e}function C(t){var e=n(t,b.vertex,b.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e.attributes.pointSize.location=4,e}function P(t){var e=n(t,_.vertex,_.fragment);return e.attributes.position.location=0,e}k.isOpaque=function(){return!this.hasAlpha},k.isTransparent=function(){return this.hasAlpha},k.pickSlots=1,k.setPickBase=function(t){this.pickId=t},k.highlight=function(t){if(t&&this.contourEnable){for(var e=h(this.cells,this.intensity,t.intensity),r=e.cells,n=e.vertexIds,i=e.vertexWeights,a=r.length,o=p.mallocFloat32(6*a),s=0,l=0;l<a;++l)for(var c=r[l],u=0;u<2;++u){var f=c[0];2===c.length&&(f=c[u]);for(var d=n[f][0],g=n[f][1],m=i[f],v=1-m,y=this.positions[d],x=this.positions[g],b=0;b<3;++b)o[s++]=m*y[b]+v*x[b]}this.contourCount=s/3|0,this.contourPositions.update(o.subarray(0,s)),p.free(o)}else this.contourCount=0},k.update=function(t){t=t||{};var e=this.gl;this.dirty=!0,"contourEnable"in t&&(this.contourEnable=t.contourEnable),"contourColor"in t&&(this.contourColor=t.contourColor),"lineWidth"in t&&(this.lineWidth=t.lineWidth),"lightPosition"in t&&(this.lightPosition=t.lightPosition),this.hasAlpha=!1,"opacity"in t&&(this.opacity=t.opacity,this.opacity<1&&(this.hasAlpha=!0)),"opacityscale"in t&&(this.opacityscale=t.opacityscale,this.hasAlpha=!0),"ambient"in t&&(this.ambientLight=t.ambient),"diffuse"in t&&(this.diffuseLight=t.diffuse),"specular"in t&&(this.specularLight=t.specular),"roughness"in t&&(this.roughness=t.roughness),"fresnel"in t&&(this.fresnel=t.fresnel),t.texture?(this.texture.dispose(),this.texture=o(e,t.texture)):t.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=e.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=e.LINEAR,this.texture.setPixels(function(t,e){for(var r=f({colormap:t,nshades:256,format:"rgba"}),n=new Uint8Array(1024),i=0;i<256;++i){for(var a=r[i],o=0;o<3;++o)n[4*i+o]=a[o];n[4*i+3]=e?255*A(i/255,e):255*a[3]}return u(n,[256,256,4],[4,0,1])}(t.colormap,this.opacityscale)),this.texture.generateMipmap());var r=t.cells,n=t.positions;if(n&&r){var i=[],a=[],l=[],c=[],h=[],p=[],d=[],g=[],m=[],v=[],y=[],x=[],b=[],_=[];this.cells=r,this.positions=n;var w=t.vertexNormals,T=t.cellNormals,k=void 0===t.vertexNormalsEpsilon?1e-6:t.vertexNormalsEpsilon,M=void 0===t.faceNormalsEpsilon?1e-6:t.faceNormalsEpsilon;t.useFacetNormals&&!T&&(T=s.faceNormals(r,n,M)),T||w||(w=s.vertexNormals(r,n,k));var S=t.vertexColors,E=t.cellColors,L=t.meshColor||[1,1,1,1],C=t.vertexUVs,P=t.vertexIntensity,I=t.cellUVs,O=t.cellIntensity,z=1/0,D=-1/0;if(!C&&!I)if(P)if(t.vertexIntensityBounds)z=+t.vertexIntensityBounds[0],D=+t.vertexIntensityBounds[1];else for(var R=0;R<P.length;++R){var F=P[R];z=Math.min(z,F),D=Math.max(D,F)}else if(O)if(t.cellIntensityBounds)z=+t.cellIntensityBounds[0],D=+t.cellIntensityBounds[1];else for(R=0;R<O.length;++R){F=O[R];z=Math.min(z,F),D=Math.max(D,F)}else for(R=0;R<n.length;++R){F=n[R][2];z=Math.min(z,F),D=Math.max(D,F)}this.intensity=P||(O||function(t){for(var e=t.length,r=new Array(e),n=0;n<e;++n)r[n]=t[n][2];return r}(n)),this.pickVertex=!(O||E);var B=t.pointSizes,N=t.pointSize||1;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(R=0;R<n.length;++R)for(var j=n[R],U=0;U<3;++U)!isNaN(j[U])&&isFinite(j[U])&&(this.bounds[0][U]=Math.min(this.bounds[0][U],j[U]),this.bounds[1][U]=Math.max(this.bounds[1][U],j[U]));var V=0,H=0,q=0;t:for(R=0;R<r.length;++R){var G=r[R];switch(G.length){case 1:for(j=n[W=G[0]],U=0;U<3;++U)if(isNaN(j[U])||!isFinite(j[U]))continue t;v.push(j[0],j[1],j[2]),X=S?S[W]:E?E[R]:L,this.opacityscale&&P?a.push(X[0],X[1],X[2],this.opacity*A((P[W]-z)/(D-z),this.opacityscale)):3===X.length?y.push(X[0],X[1],X[2],this.opacity):(y.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)),Z=C?C[W]:P?[(P[W]-z)/(D-z),0]:I?I[R]:O?[(O[R]-z)/(D-z),0]:[(j[2]-z)/(D-z),0],x.push(Z[0],Z[1]),B?b.push(B[W]):b.push(N),_.push(R),q+=1;break;case 2:for(U=0;U<2;++U){j=n[W=G[U]];for(var Y=0;Y<3;++Y)if(isNaN(j[Y])||!isFinite(j[Y]))continue t}for(U=0;U<2;++U){j=n[W=G[U]];p.push(j[0],j[1],j[2]),X=S?S[W]:E?E[R]:L,this.opacityscale&&P?a.push(X[0],X[1],X[2],this.opacity*A((P[W]-z)/(D-z),this.opacityscale)):3===X.length?d.push(X[0],X[1],X[2],this.opacity):(d.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)),Z=C?C[W]:P?[(P[W]-z)/(D-z),0]:I?I[R]:O?[(O[R]-z)/(D-z),0]:[(j[2]-z)/(D-z),0],g.push(Z[0],Z[1]),m.push(R)}H+=1;break;case 3:for(U=0;U<3;++U)for(j=n[W=G[U]],Y=0;Y<3;++Y)if(isNaN(j[Y])||!isFinite(j[Y]))continue t;for(U=0;U<3;++U){var W,X,Z,J;j=n[W=G[2-U]];i.push(j[0],j[1],j[2]),(X=S?S[W]:E?E[R]:L)?this.opacityscale&&P?a.push(X[0],X[1],X[2],this.opacity*A((P[W]-z)/(D-z),this.opacityscale)):3===X.length?a.push(X[0],X[1],X[2],this.opacity):(a.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)):a.push(.5,.5,.5,1),Z=C?C[W]:P?[(P[W]-z)/(D-z),0]:I?I[R]:O?[(O[R]-z)/(D-z),0]:[(j[2]-z)/(D-z),0],c.push(Z[0],Z[1]),J=w?w[W]:T[R],l.push(J[0],J[1],J[2]),h.push(R)}V+=1}}this.pointCount=q,this.edgeCount=H,this.triangleCount=V,this.pointPositions.update(v),this.pointColors.update(y),this.pointUVs.update(x),this.pointSizes.update(b),this.pointIds.update(new Uint32Array(_)),this.edgePositions.update(p),this.edgeColors.update(d),this.edgeUVs.update(g),this.edgeIds.update(new Uint32Array(m)),this.trianglePositions.update(i),this.triangleColors.update(a),this.triangleUVs.update(c),this.triangleNormals.update(l),this.triangleIds.update(new Uint32Array(h))}},k.drawTransparent=k.draw=function(t){t=t||{};for(var e=this.gl,r=t.model||w,n=t.view||w,i=t.projection||w,a=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],o=0;o<3;++o)a[0][o]=Math.max(a[0][o],this.clipBounds[0][o]),a[1][o]=Math.min(a[1][o],this.clipBounds[1][o]);var s={model:r,view:n,projection:i,inverseModel:w.slice(),clipBounds:a,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],contourColor:this.contourColor,texture:0};s.inverseModel=c(s.inverseModel,s.model),e.disable(e.CULL_FACE),this.texture.bind(0);var u=new Array(16);l(u,s.view,s.model),l(u,s.projection,u),c(u,u);for(o=0;o<3;++o)s.eyePosition[o]=u[12+o]/u[15];var f,h=u[15];for(o=0;o<3;++o)h+=this.lightPosition[o]*u[4*o+3];for(o=0;o<3;++o){for(var p=u[12+o],d=0;d<3;++d)p+=u[4*d+o]*this.lightPosition[d];s.lightPosition[o]=p/h}this.triangleCount>0&&((f=this.triShader).bind(),f.uniforms=s,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind());this.edgeCount>0&&this.lineWidth>0&&((f=this.lineShader).bind(),f.uniforms=s,this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind());this.pointCount>0&&((f=this.pointShader).bind(),f.uniforms=s,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind());this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((f=this.contourShader).bind(),f.uniforms=s,this.contourVAO.bind(),e.drawArrays(e.LINES,0,this.contourCount),this.contourVAO.unbind())},k.drawPick=function(t){t=t||{};for(var e=this.gl,r=t.model||w,n=t.view||w,i=t.projection||w,a=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],o=0;o<3;++o)a[0][o]=Math.max(a[0][o],this.clipBounds[0][o]),a[1][o]=Math.min(a[1][o],this.clipBounds[1][o]);this._model=[].slice.call(r),this._view=[].slice.call(n),this._projection=[].slice.call(i),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s,l={model:r,view:n,projection:i,clipBounds:a,pickId:this.pickId/255};((s=this.pickShader).bind(),s.uniforms=l,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0)&&((s=this.pointPickShader).bind(),s.uniforms=l,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind())},k.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;for(var e=t.value[0]+256*t.value[1]+65536*t.value[2],r=this.cells[e],n=this.positions,i=new Array(r.length),a=0;a<r.length;++a)i[a]=n[r[a]];var o=t.coord[0],s=t.coord[1];if(!this.pickVertex){var l=this.positions[r[0]],c=this.positions[r[1]],u=this.positions[r[2]],f=[(l[0]+c[0]+u[0])/3,(l[1]+c[1]+u[1])/3,(l[2]+c[2]+u[2])/3];return{_cellCenter:!0,position:[o,s],index:e,cell:r,cellId:e,intensity:this.intensity[e],dataCoordinate:f}}var h=g(i,[o*this.pixelRatio,this._resolution[1]-s*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!h)return null;var p=h[2],d=0;for(a=0;a<r.length;++a)d+=p[a]*this.intensity[r[a]];return{position:h[1],index:r[h[0]],cell:r,cellId:e,intensity:d,dataCoordinate:this.positions[r[h[0]]]}},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()},e.exports=function(t,e){1===arguments.length&&(t=(e=t).gl);var r=t.getExtension("OES_standard_derivatives")||t.getExtension("MOZ_OES_standard_derivatives")||t.getExtension("WEBKIT_OES_standard_derivatives");if(!r)throw new Error("derivatives not supported");var n=M(t),s=S(t),l=E(t),c=L(t),f=C(t),h=P(t),p=o(t,u(new Uint8Array([255,255,255,255]),[1,1,4]));p.generateMipmap(),p.minFilter=t.LINEAR_MIPMAP_LINEAR,p.magFilter=t.LINEAR;var d=i(t),g=i(t),m=i(t),v=i(t),y=i(t),x=a(t,[{buffer:d,type:t.FLOAT,size:3},{buffer:y,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:g,type:t.FLOAT,size:4},{buffer:m,type:t.FLOAT,size:2},{buffer:v,type:t.FLOAT,size:3}]),b=i(t),_=i(t),w=i(t),k=i(t),A=a(t,[{buffer:b,type:t.FLOAT,size:3},{buffer:k,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:_,type:t.FLOAT,size:4},{buffer:w,type:t.FLOAT,size:2}]),I=i(t),O=i(t),z=i(t),D=i(t),R=i(t),F=a(t,[{buffer:I,type:t.FLOAT,size:3},{buffer:R,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:O,type:t.FLOAT,size:4},{buffer:z,type:t.FLOAT,size:2},{buffer:D,type:t.FLOAT,size:1}]),B=i(t),N=a(t,[{buffer:B,type:t.FLOAT,size:3}]),j=new T(t,p,n,s,l,c,f,h,d,y,g,m,v,x,b,k,_,w,A,I,R,O,z,D,F,B,N);return j.update(e),j}},{"./lib/closest-point":110,"./lib/shaders":111,colormap:53,"gl-buffer":78,"gl-mat4/invert":98,"gl-mat4/multiply":100,"gl-shader":132,"gl-texture2d":146,"gl-vao":150,ndarray:259,normals:261,"simplicial-complex-contour":291,"typedarray-pool":308}],113:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e,[0,0,0,1,1,0,1,1]),s=i(e,a.boxVert,a.lineFrag);return new o(t,r,s)};var n=t("gl-buffer"),i=t("gl-shader"),a=t("./shaders");function o(t,e,r){this.plot=t,this.vbo=e,this.shader=r}var s,l,c=o.prototype;c.bind=function(){var t=this.shader;this.vbo.bind(),this.shader.bind(),t.attributes.coord.pointer(),t.uniforms.screenBox=this.plot.screenBox},c.drawBox=(s=[0,0],l=[0,0],function(t,e,r,n,i){var a=this.plot,o=this.shader,c=a.gl;s[0]=t,s[1]=e,l[0]=r,l[1]=n,o.uniforms.lo=s,o.uniforms.hi=l,o.uniforms.color=i,c.drawArrays(c.TRIANGLE_STRIP,0,4)}),c.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{"./shaders":116,"gl-buffer":78,"gl-shader":132}],114:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e),a=i(e,o.gridVert,o.gridFrag),l=i(e,o.tickVert,o.gridFrag);return new s(t,r,a,l)};var n=t("gl-buffer"),i=t("gl-shader"),a=t("binary-search-bounds"),o=t("./shaders");function s(t,e,r,n){this.plot=t,this.vbo=e,this.shader=r,this.tickShader=n,this.ticks=[[],[]]}function l(t,e){return t-e}var c,u,f,h,p,d=s.prototype;d.draw=(c=[0,0],u=[0,0],f=[0,0],function(){for(var t=this.plot,e=this.vbo,r=this.shader,n=this.ticks,i=t.gl,a=t._tickBounds,o=t.dataBox,s=t.viewBox,l=t.gridLineWidth,h=t.gridLineColor,p=t.gridLineEnable,d=t.pixelRatio,g=0;g<2;++g){var m=a[g],v=a[g+2]-m,y=.5*(o[g+2]+o[g]),x=o[g+2]-o[g];u[g]=2*v/x,c[g]=2*(m-y)/x}r.bind(),e.bind(),r.attributes.dataCoord.pointer(),r.uniforms.dataShift=c,r.uniforms.dataScale=u;var b=0;for(g=0;g<2;++g){f[0]=f[1]=0,f[g]=1,r.uniforms.dataAxis=f,r.uniforms.lineWidth=l[g]/(s[g+2]-s[g])*d,r.uniforms.color=h[g];var _=6*n[g].length;p[g]&&_&&i.drawArrays(i.TRIANGLES,b,_),b+=_}}),d.drawTickMarks=function(){var t=[0,0],e=[0,0],r=[1,0],n=[0,1],i=[0,0],o=[0,0];return function(){for(var s=this.plot,c=this.vbo,u=this.tickShader,f=this.ticks,h=s.gl,p=s._tickBounds,d=s.dataBox,g=s.viewBox,m=s.pixelRatio,v=s.screenBox,y=v[2]-v[0],x=v[3]-v[1],b=g[2]-g[0],_=g[3]-g[1],w=0;w<2;++w){var T=p[w],k=p[w+2]-T,A=.5*(d[w+2]+d[w]),M=d[w+2]-d[w];e[w]=2*k/M,t[w]=2*(T-A)/M}e[0]*=b/y,t[0]*=b/y,e[1]*=_/x,t[1]*=_/x,u.bind(),c.bind(),u.attributes.dataCoord.pointer();var S=u.uniforms;S.dataShift=t,S.dataScale=e;var E=s.tickMarkLength,L=s.tickMarkWidth,C=s.tickMarkColor,P=6*f[0].length,I=Math.min(a.ge(f[0],(d[0]-p[0])/(p[2]-p[0]),l),f[0].length),O=Math.min(a.gt(f[0],(d[2]-p[0])/(p[2]-p[0]),l),f[0].length),z=0+6*I,D=6*Math.max(0,O-I),R=Math.min(a.ge(f[1],(d[1]-p[1])/(p[3]-p[1]),l),f[1].length),F=Math.min(a.gt(f[1],(d[3]-p[1])/(p[3]-p[1]),l),f[1].length),B=P+6*R,N=6*Math.max(0,F-R);i[0]=2*(g[0]-E[1])/y-1,i[1]=(g[3]+g[1])/x-1,o[0]=E[1]*m/y,o[1]=L[1]*m/x,N&&(S.color=C[1],S.tickScale=o,S.dataAxis=n,S.screenOffset=i,h.drawArrays(h.TRIANGLES,B,N)),i[0]=(g[2]+g[0])/y-1,i[1]=2*(g[1]-E[0])/x-1,o[0]=L[0]*m/y,o[1]=E[0]*m/x,D&&(S.color=C[0],S.tickScale=o,S.dataAxis=r,S.screenOffset=i,h.drawArrays(h.TRIANGLES,z,D)),i[0]=2*(g[2]+E[3])/y-1,i[1]=(g[3]+g[1])/x-1,o[0]=E[3]*m/y,o[1]=L[3]*m/x,N&&(S.color=C[3],S.tickScale=o,S.dataAxis=n,S.screenOffset=i,h.drawArrays(h.TRIANGLES,B,N)),i[0]=(g[2]+g[0])/y-1,i[1]=2*(g[3]+E[2])/x-1,o[0]=L[2]*m/y,o[1]=E[2]*m/x,D&&(S.color=C[2],S.tickScale=o,S.dataAxis=r,S.screenOffset=i,h.drawArrays(h.TRIANGLES,z,D))}}(),d.update=(h=[1,1,-1,-1,1,-1],p=[1,-1,1,1,-1,-1],function(t){for(var e=t.ticks,r=t.bounds,n=new Float32Array(18*(e[0].length+e[1].length)),i=(this.plot.zeroLineEnable,0),a=[[],[]],o=0;o<2;++o)for(var s=a[o],l=e[o],c=r[o],u=r[o+2],f=0;f<l.length;++f){var d=(l[f].x-c)/(u-c);s.push(d);for(var g=0;g<6;++g)n[i++]=d,n[i++]=h[g],n[i++]=p[g]}this.ticks=a,this.vbo.update(n)}),d.dispose=function(){this.vbo.dispose(),this.shader.dispose(),this.tickShader.dispose()}},{"./shaders":116,"binary-search-bounds":31,"gl-buffer":78,"gl-shader":132}],115:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e,[-1,-1,-1,1,1,-1,1,1]),s=i(e,a.lineVert,a.lineFrag);return new o(t,r,s)};var n=t("gl-buffer"),i=t("gl-shader"),a=t("./shaders");function o(t,e,r){this.plot=t,this.vbo=e,this.shader=r}var s,l,c=o.prototype;c.bind=function(){var t=this.shader;this.vbo.bind(),this.shader.bind(),t.attributes.coord.pointer(),t.uniforms.screenBox=this.plot.screenBox},c.drawLine=(s=[0,0],l=[0,0],function(t,e,r,n,i,a){var o=this.plot,c=this.shader,u=o.gl;s[0]=t,s[1]=e,l[0]=r,l[1]=n,c.uniforms.start=s,c.uniforms.end=l,c.uniforms.width=i*o.pixelRatio,c.uniforms.color=a,u.drawArrays(u.TRIANGLE_STRIP,0,4)}),c.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{"./shaders":116,"gl-buffer":78,"gl-shader":132}],116:[function(t,e,r){"use strict";var n=t("glslify"),i=n(["precision lowp float;\n#define GLSLIFY 1\nuniform vec4 color;\nvoid main() {\n  gl_FragColor = vec4(color.xyz * color.w, color.w);\n}\n"]);e.exports={lineVert:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 coord;\n\nuniform vec4 screenBox;\nuniform vec2 start, end;\nuniform float width;\n\nvec2 perp(vec2 v) {\n  return vec2(v.y, -v.x);\n}\n\nvec2 screen(vec2 v) {\n  return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;\n}\n\nvoid main() {\n  vec2 delta = normalize(perp(start - end));\n  vec2 offset = mix(start, end, 0.5 * (coord.y+1.0));\n  gl_Position = vec4(screen(offset + 0.5 * width * delta * coord.x), 0, 1);\n}\n"]),lineFrag:i,textVert:n(["#define GLSLIFY 1\nattribute vec3 textCoordinate;\n\nuniform vec2 dataScale, dataShift, dataAxis, screenOffset, textScale;\nuniform float angle;\n\nvoid main() {\n  float dataOffset  = textCoordinate.z;\n  vec2 glyphOffset  = textCoordinate.xy;\n  mat2 glyphMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle));\n  vec2 screenCoordinate = dataAxis * (dataScale * dataOffset + dataShift) +\n    glyphMatrix * glyphOffset * textScale + screenOffset;\n  gl_Position = vec4(screenCoordinate, 0, 1);\n}\n"]),textFrag:i,gridVert:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 dataCoord;\n\nuniform vec2 dataAxis, dataShift, dataScale;\nuniform float lineWidth;\n\nvoid main() {\n  vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);\n  pos += 10.0 * dataCoord.y * vec2(dataAxis.y, -dataAxis.x) + dataCoord.z * lineWidth;\n  gl_Position = vec4(pos, 0, 1);\n}\n"]),gridFrag:i,boxVert:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 coord;\n\nuniform vec4 screenBox;\nuniform vec2 lo, hi;\n\nvec2 screen(vec2 v) {\n  return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;\n}\n\nvoid main() {\n  gl_Position = vec4(screen(mix(lo, hi, coord)), 0, 1);\n}\n"]),tickVert:n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 dataCoord;\n\nuniform vec2 dataAxis, dataShift, dataScale, screenOffset, tickScale;\n\nvoid main() {\n  vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);\n  gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1);\n}\n"])}},{glslify:231}],117:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e),a=i(e,s.textVert,s.textFrag);return new l(t,r,a)};var n=t("gl-buffer"),i=t("gl-shader"),a=t("text-cache"),o=t("binary-search-bounds"),s=t("./shaders");function l(t,e,r){this.plot=t,this.vbo=e,this.shader=r,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var c,u,f,h,p,d,g=l.prototype;g.drawTicks=(c=[0,0],u=[0,0],f=[0,0],function(t){var e=this.plot,r=this.shader,n=this.tickX[t],i=this.tickOffset[t],a=e.gl,s=e.viewBox,l=e.dataBox,h=e.screenBox,p=e.pixelRatio,d=e.tickEnable,g=e.tickPad,m=e.tickColor,v=e.tickAngle,y=e.labelEnable,x=e.labelPad,b=e.labelColor,_=e.labelAngle,w=this.labelOffset[t],T=this.labelCount[t],k=o.lt(n,l[t]),A=o.le(n,l[t+2]);c[0]=c[1]=0,c[t]=1,u[t]=(s[2+t]+s[t])/(h[2+t]-h[t])-1;var M=2/h[2+(1^t)]-h[1^t];u[1^t]=M*s[1^t]-1,d[t]&&(u[1^t]-=M*p*g[t],k<A&&i[A]>i[k]&&(r.uniforms.dataAxis=c,r.uniforms.screenOffset=u,r.uniforms.color=m[t],r.uniforms.angle=v[t],a.drawArrays(a.TRIANGLES,i[k],i[A]-i[k]))),y[t]&&T&&(u[1^t]-=M*p*x[t],r.uniforms.dataAxis=f,r.uniforms.screenOffset=u,r.uniforms.color=b[t],r.uniforms.angle=_[t],a.drawArrays(a.TRIANGLES,w,T)),u[1^t]=M*s[2+(1^t)]-1,d[t+2]&&(u[1^t]+=M*p*g[t+2],k<A&&i[A]>i[k]&&(r.uniforms.dataAxis=c,r.uniforms.screenOffset=u,r.uniforms.color=m[t+2],r.uniforms.angle=v[t+2],a.drawArrays(a.TRIANGLES,i[k],i[A]-i[k]))),y[t+2]&&T&&(u[1^t]+=M*p*x[t+2],r.uniforms.dataAxis=f,r.uniforms.screenOffset=u,r.uniforms.color=b[t+2],r.uniforms.angle=_[t+2],a.drawArrays(a.TRIANGLES,w,T))}),g.drawTitle=function(){var t=[0,0],e=[0,0];return function(){var r=this.plot,n=this.shader,i=r.gl,a=r.screenBox,o=r.titleCenter,s=r.titleAngle,l=r.titleColor,c=r.pixelRatio;if(this.titleCount){for(var u=0;u<2;++u)e[u]=2*(o[u]*c-a[u])/(a[2+u]-a[u])-1;n.bind(),n.uniforms.dataAxis=t,n.uniforms.screenOffset=e,n.uniforms.angle=s,n.uniforms.color=l,i.drawArrays(i.TRIANGLES,this.titleOffset,this.titleCount)}}}(),g.bind=(h=[0,0],p=[0,0],d=[0,0],function(){var t=this.plot,e=this.shader,r=t._tickBounds,n=t.dataBox,i=t.screenBox,a=t.viewBox;e.bind();for(var o=0;o<2;++o){var s=r[o],l=r[o+2]-s,c=.5*(n[o+2]+n[o]),u=n[o+2]-n[o],f=a[o],g=a[o+2]-f,m=i[o],v=i[o+2]-m;p[o]=2*l/u*g/v,h[o]=2*(s-c)/u*g/v}d[1]=2*t.pixelRatio/(i[3]-i[1]),d[0]=d[1]*(i[3]-i[1])/(i[2]-i[0]),e.uniforms.dataScale=p,e.uniforms.dataShift=h,e.uniforms.textScale=d,this.vbo.bind(),e.attributes.textCoordinate.pointer()}),g.update=function(t){var e,r,n,i,o,s=[],l=t.ticks,c=t.bounds;for(o=0;o<2;++o){var u=[Math.floor(s.length/3)],f=[-1/0],h=l[o];for(e=0;e<h.length;++e){var p=h[e],d=p.x,g=p.text,m=p.font||"sans-serif";i=p.fontSize||12;for(var v=1/(c[o+2]-c[o]),y=c[o],x=g.split("\n"),b=0;b<x.length;b++)for(n=a(m,x[b]).data,r=0;r<n.length;r+=2)s.push(n[r]*i,-n[r+1]*i-b*i*1.2,(d-y)*v);u.push(Math.floor(s.length/3)),f.push(d)}this.tickOffset[o]=u,this.tickX[o]=f}for(o=0;o<2;++o){for(this.labelOffset[o]=Math.floor(s.length/3),n=a(t.labelFont[o],t.labels[o],{textAlign:"center"}).data,i=t.labelSize[o],e=0;e<n.length;e+=2)s.push(n[e]*i,-n[e+1]*i,0);this.labelCount[o]=Math.floor(s.length/3)-this.labelOffset[o]}for(this.titleOffset=Math.floor(s.length/3),n=a(t.titleFont,t.title).data,i=t.titleSize,e=0;e<n.length;e+=2)s.push(n[e]*i,-n[e+1]*i,0);this.titleCount=Math.floor(s.length/3)-this.titleOffset,this.vbo.update(s)},g.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{"./shaders":116,"binary-search-bounds":31,"gl-buffer":78,"gl-shader":132,"text-cache":303}],118:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=n(e,[e.drawingBufferWidth,e.drawingBufferHeight]),c=new l(e,r);return c.grid=i(c),c.text=a(c),c.line=o(c),c.box=s(c),c.update(t),c};var n=t("gl-select-static"),i=t("./lib/grid"),a=t("./lib/text"),o=t("./lib/line"),s=t("./lib/box");function l(t,e){this.gl=t,this.pickBuffer=e,this.screenBox=[0,0,t.drawingBufferWidth,t.drawingBufferHeight],this.viewBox=[0,0,0,0],this.dataBox=[-10,-10,10,10],this.gridLineEnable=[!0,!0],this.gridLineWidth=[1,1],this.gridLineColor=[[0,0,0,1],[0,0,0,1]],this.pixelRatio=1,this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickEnable=[!0,!0,!0,!0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[15,15,15,15],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelEnable=[!0,!0,!0,!0],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.titleCenter=[0,0],this.titleEnable=!0,this.titleAngle=0,this.titleColor=[0,0,0,1],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[4,4],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderLineEnable=[!0,!0,!0,!0],this.borderLineWidth=[2,2,2,2],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.grid=null,this.text=null,this.line=null,this.box=null,this.objects=[],this.overlays=[],this._tickBounds=[1/0,1/0,-1/0,-1/0],this.static=!1,this.dirty=!1,this.pickDirty=!1,this.pickDelay=120,this.pickRadius=10,this._pickTimeout=null,this._drawPick=this.drawPick.bind(this),this._depthCounter=0}var c=l.prototype;function u(t){for(var e=t.slice(),r=0;r<e.length;++r)e[r]=e[r].slice();return e}function f(t,e){return t.x-e.x}c.setDirty=function(){this.dirty=this.pickDirty=!0},c.setOverlayDirty=function(){this.dirty=!0},c.nextDepthValue=function(){return this._depthCounter++/65536},c.draw=function(){var t=this.gl,e=this.screenBox,r=this.viewBox,n=this.dataBox,i=this.pixelRatio,a=this.grid,o=this.line,s=this.text,l=this.objects;if(this._depthCounter=0,this.pickDirty&&(this._pickTimeout&&clearTimeout(this._pickTimeout),this.pickDirty=!1,this._pickTimeout=setTimeout(this._drawPick,this.pickDelay)),this.dirty){if(this.dirty=!1,t.bindFramebuffer(t.FRAMEBUFFER,null),t.enable(t.SCISSOR_TEST),t.disable(t.DEPTH_TEST),t.depthFunc(t.LESS),t.depthMask(!1),t.enable(t.BLEND),t.blendEquation(t.FUNC_ADD,t.FUNC_ADD),t.blendFunc(t.ONE,t.ONE_MINUS_SRC_ALPHA),this.borderColor){t.scissor(e[0],e[1],e[2]-e[0],e[3]-e[1]);var c=this.borderColor;t.clearColor(c[0]*c[3],c[1]*c[3],c[2]*c[3],c[3]),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}t.scissor(r[0],r[1],r[2]-r[0],r[3]-r[1]),t.viewport(r[0],r[1],r[2]-r[0],r[3]-r[1]);var u=this.backgroundColor;t.clearColor(u[0]*u[3],u[1]*u[3],u[2]*u[3],u[3]),t.clear(t.COLOR_BUFFER_BIT),a.draw();var f=this.zeroLineEnable,h=this.zeroLineColor,p=this.zeroLineWidth;if(f[0]||f[1]){o.bind();for(var d=0;d<2;++d)if(f[d]&&n[d]<=0&&n[d+2]>=0){var g=e[d]-n[d]*(e[d+2]-e[d])/(n[d+2]-n[d]);0===d?o.drawLine(g,e[1],g,e[3],p[d],h[d]):o.drawLine(e[0],g,e[2],g,p[d],h[d])}}for(d=0;d<l.length;++d)l[d].draw();t.viewport(e[0],e[1],e[2]-e[0],e[3]-e[1]),t.scissor(e[0],e[1],e[2]-e[0],e[3]-e[1]),this.grid.drawTickMarks(),o.bind();var m=this.borderLineEnable,v=this.borderLineWidth,y=this.borderLineColor;for(m[1]&&o.drawLine(r[0],r[1]-.5*v[1]*i,r[0],r[3]+.5*v[3]*i,v[1],y[1]),m[0]&&o.drawLine(r[0]-.5*v[0]*i,r[1],r[2]+.5*v[2]*i,r[1],v[0],y[0]),m[3]&&o.drawLine(r[2],r[1]-.5*v[1]*i,r[2],r[3]+.5*v[3]*i,v[3],y[3]),m[2]&&o.drawLine(r[0]-.5*v[0]*i,r[3],r[2]+.5*v[2]*i,r[3],v[2],y[2]),s.bind(),d=0;d<2;++d)s.drawTicks(d);this.titleEnable&&s.drawTitle();var x=this.overlays;for(d=0;d<x.length;++d)x[d].draw();t.disable(t.SCISSOR_TEST),t.disable(t.BLEND),t.depthMask(!0)}},c.drawPick=function(){if(!this.static){var t=this.pickBuffer;this.gl,this._pickTimeout=null,t.begin();for(var e=1,r=this.objects,n=0;n<r.length;++n)e=r[n].drawPick(e);t.end()}},c.pick=function(t,e){if(!this.static){var r=this.pixelRatio,n=this.pickPixelRatio,i=this.viewBox,a=0|Math.round((t-i[0]/r)*n),o=0|Math.round((e-i[1]/r)*n),s=this.pickBuffer.query(a,o,this.pickRadius);if(!s)return null;for(var l=s.id+(s.value[0]<<8)+(s.value[1]<<16)+(s.value[2]<<24),c=this.objects,u=0;u<c.length;++u){var f=c[u].pick(a,o,l);if(f)return f}return null}},c.setScreenBox=function(t){var e=this.screenBox,r=this.pixelRatio;e[0]=0|Math.round(t[0]*r),e[1]=0|Math.round(t[1]*r),e[2]=0|Math.round(t[2]*r),e[3]=0|Math.round(t[3]*r),this.setDirty()},c.setDataBox=function(t){var e=this.dataBox;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3])&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],this.setDirty())},c.setViewBox=function(t){var e=this.pixelRatio,r=this.viewBox;r[0]=0|Math.round(t[0]*e),r[1]=0|Math.round(t[1]*e),r[2]=0|Math.round(t[2]*e),r[3]=0|Math.round(t[3]*e);var n=this.pickPixelRatio;this.pickBuffer.shape=[0|Math.round((t[2]-t[0])*n),0|Math.round((t[3]-t[1])*n)],this.setDirty()},c.update=function(t){t=t||{};var e=this.gl;this.pixelRatio=t.pixelRatio||1;var r=this.pixelRatio;this.pickPixelRatio=Math.max(r,1),this.setScreenBox(t.screenBox||[0,0,e.drawingBufferWidth/r,e.drawingBufferHeight/r]);this.screenBox;this.setViewBox(t.viewBox||[.125*(this.screenBox[2]-this.screenBox[0])/r,.125*(this.screenBox[3]-this.screenBox[1])/r,.875*(this.screenBox[2]-this.screenBox[0])/r,.875*(this.screenBox[3]-this.screenBox[1])/r]);var n=this.viewBox,i=(n[2]-n[0])/(n[3]-n[1]);this.setDataBox(t.dataBox||[-10,-10/i,10,10/i]),this.borderColor=!1!==t.borderColor&&(t.borderColor||[0,0,0,0]).slice(),this.backgroundColor=(t.backgroundColor||[0,0,0,0]).slice(),this.gridLineEnable=(t.gridLineEnable||[!0,!0]).slice(),this.gridLineWidth=(t.gridLineWidth||[1,1]).slice(),this.gridLineColor=u(t.gridLineColor||[[.5,.5,.5,1],[.5,.5,.5,1]]),this.zeroLineEnable=(t.zeroLineEnable||[!0,!0]).slice(),this.zeroLineWidth=(t.zeroLineWidth||[4,4]).slice(),this.zeroLineColor=u(t.zeroLineColor||[[0,0,0,1],[0,0,0,1]]),this.tickMarkLength=(t.tickMarkLength||[0,0,0,0]).slice(),this.tickMarkWidth=(t.tickMarkWidth||[0,0,0,0]).slice(),this.tickMarkColor=u(t.tickMarkColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.titleCenter=(t.titleCenter||[.5*(n[0]+n[2])/r,(n[3]+120)/r]).slice(),this.titleEnable=!("titleEnable"in t)||!!t.titleEnable,this.titleAngle=t.titleAngle||0,this.titleColor=(t.titleColor||[0,0,0,1]).slice(),this.labelPad=(t.labelPad||[15,15,15,15]).slice(),this.labelAngle=(t.labelAngle||[0,Math.PI/2,0,3*Math.PI/2]).slice(),this.labelEnable=(t.labelEnable||[!0,!0,!0,!0]).slice(),this.labelColor=u(t.labelColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.tickPad=(t.tickPad||[15,15,15,15]).slice(),this.tickAngle=(t.tickAngle||[0,0,0,0]).slice(),this.tickEnable=(t.tickEnable||[!0,!0,!0,!0]).slice(),this.tickColor=u(t.tickColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.borderLineEnable=(t.borderLineEnable||[!0,!0,!0,!0]).slice(),this.borderLineWidth=(t.borderLineWidth||[2,2,2,2]).slice(),this.borderLineColor=u(t.borderLineColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]);var a=t.ticks||[[],[]],o=this._tickBounds;o[0]=o[1]=1/0,o[2]=o[3]=-1/0;for(var s=0;s<2;++s){var l=a[s].slice(0);0!==l.length&&(l.sort(f),o[s]=Math.min(o[s],l[0].x),o[s+2]=Math.max(o[s+2],l[l.length-1].x))}this.grid.update({bounds:o,ticks:a}),this.text.update({bounds:o,ticks:a,labels:t.labels||["x","y"],labelSize:t.labelSize||[12,12],labelFont:t.labelFont||["sans-serif","sans-serif"],title:t.title||"",titleSize:t.titleSize||18,titleFont:t.titleFont||"sans-serif"}),this.static=!!t.static,this.setDirty()},c.dispose=function(){this.box.dispose(),this.grid.dispose(),this.text.dispose(),this.line.dispose();for(var t=this.objects.length-1;t>=0;--t)this.objects[t].dispose();this.objects.length=0;for(t=this.overlays.length-1;t>=0;--t)this.overlays[t].dispose();this.overlays.length=0,this.gl=null},c.addObject=function(t){this.objects.indexOf(t)<0&&(this.objects.push(t),this.setDirty())},c.removeObject=function(t){for(var e=this.objects,r=0;r<e.length;++r)if(e[r]===t){e.splice(r,1),this.setDirty();break}},c.addOverlay=function(t){this.overlays.indexOf(t)<0&&(this.overlays.push(t),this.setOverlayDirty())},c.removeOverlay=function(t){for(var e=this.overlays,r=0;r<e.length;++r)if(e[r]===t){e.splice(r,1),this.setOverlayDirty();break}}},{"./lib/box":113,"./lib/grid":114,"./lib/line":115,"./lib/text":117,"gl-select-static":131}],119:[function(t,e,r){"use strict";e.exports=function(t,e){t=t||document.body,e=e||{};var r=[.01,1/0];"distanceLimits"in e&&(r[0]=e.distanceLimits[0],r[1]=e.distanceLimits[1]);"zoomMin"in e&&(r[0]=e.zoomMin);"zoomMax"in e&&(r[1]=e.zoomMax);var c=i({center:e.center||[0,0,0],up:e.up||[0,1,0],eye:e.eye||[0,0,10],mode:e.mode||"orbit",distanceLimits:r}),u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0,h=t.clientWidth,p=t.clientHeight,d={keyBindingMode:"rotate",enableWheel:!0,view:c,element:t,delay:e.delay||16,rotateSpeed:e.rotateSpeed||1,zoomSpeed:e.zoomSpeed||1,translateSpeed:e.translateSpeed||1,flipX:!!e.flipX,flipY:!!e.flipY,modes:c.modes,_ortho:e._ortho||e.projection&&"orthographic"===e.projection.type||!1,tick:function(){var e=n(),r=this.delay,i=e-2*r;c.idle(e-r),c.recalcMatrix(i),c.flush(e-(100+2*r));for(var a=!0,o=c.computedMatrix,s=0;s<16;++s)a=a&&u[s]===o[s],u[s]=o[s];var l=t.clientWidth===h&&t.clientHeight===p;return h=t.clientWidth,p=t.clientHeight,a?!l:(f=Math.exp(c.computedRadius[0]),!0)},lookAt:function(t,e,r){c.lookAt(c.lastT(),t,e,r)},rotate:function(t,e,r){c.rotate(c.lastT(),t,e,r)},pan:function(t,e,r){c.pan(c.lastT(),t,e,r)},translate:function(t,e,r){c.translate(c.lastT(),t,e,r)}};return Object.defineProperties(d,{matrix:{get:function(){return c.computedMatrix},set:function(t){return c.setMatrix(c.lastT(),t),c.computedMatrix},enumerable:!0},mode:{get:function(){return c.getMode()},set:function(t){var e=c.computedUp.slice(),r=c.computedEye.slice(),i=c.computedCenter.slice();if(c.setMode(t),"turntable"===t){var a=n();c._active.lookAt(a,r,i,e),c._active.lookAt(a+500,r,i,[0,0,1]),c._active.flush(a)}return c.getMode()},enumerable:!0},center:{get:function(){return c.computedCenter},set:function(t){return c.lookAt(c.lastT(),null,t),c.computedCenter},enumerable:!0},eye:{get:function(){return c.computedEye},set:function(t){return c.lookAt(c.lastT(),t),c.computedEye},enumerable:!0},up:{get:function(){return c.computedUp},set:function(t){return c.lookAt(c.lastT(),null,null,t),c.computedUp},enumerable:!0},distance:{get:function(){return f},set:function(t){return c.setDistance(c.lastT(),t),t},enumerable:!0},distanceLimits:{get:function(){return c.getDistanceLimits(r)},set:function(t){return c.setDistanceLimits(t),t},enumerable:!0}}),t.addEventListener("contextmenu",(function(t){return t.preventDefault(),!1})),d._lastX=-1,d._lastY=-1,d._lastMods={shift:!1,control:!1,alt:!1,meta:!1},d.enableMouseListeners=function(){function e(e,r,i,a){var o=d.keyBindingMode;if(!1!==o){var s="rotate"===o,l="pan"===o,u="zoom"===o,h=!!a.control,p=!!a.alt,g=!!a.shift,m=!!(1&e),v=!!(2&e),y=!!(4&e),x=1/t.clientHeight,b=x*(r-d._lastX),_=x*(i-d._lastY),w=d.flipX?1:-1,T=d.flipY?1:-1,k=Math.PI*d.rotateSpeed,A=n();if(-1!==d._lastX&&-1!==d._lastY&&((s&&m&&!h&&!p&&!g||m&&!h&&!p&&g)&&c.rotate(A,w*k*b,-T*k*_,0),(l&&m&&!h&&!p&&!g||v||m&&h&&!p&&!g)&&c.pan(A,-d.translateSpeed*b*f,d.translateSpeed*_*f,0),u&&m&&!h&&!p&&!g||y||m&&!h&&p&&!g)){var M=-d.zoomSpeed*_/window.innerHeight*(A-c.lastT())*100;c.pan(A,0,0,f*(Math.exp(M)-1))}return d._lastX=r,d._lastY=i,d._lastMods=a,!0}}d.mouseListener=a(t,e),t.addEventListener("touchstart",(function(r){var n=s(r.changedTouches[0],t);e(0,n[0],n[1],d._lastMods),e(1,n[0],n[1],d._lastMods)}),!!l&&{passive:!0}),t.addEventListener("touchmove",(function(r){var n=s(r.changedTouches[0],t);e(1,n[0],n[1],d._lastMods),r.preventDefault()}),!!l&&{passive:!1}),t.addEventListener("touchend",(function(t){e(0,d._lastX,d._lastY,d._lastMods)}),!!l&&{passive:!0}),d.wheelListener=o(t,(function(t,e){if(!1!==d.keyBindingMode&&d.enableWheel){var r=d.flipX?1:-1,i=d.flipY?1:-1,a=n();if(Math.abs(t)>Math.abs(e))c.rotate(a,0,0,-t*r*Math.PI*d.rotateSpeed/window.innerWidth);else if(!d._ortho){var o=-d.zoomSpeed*i*e/window.innerHeight*(a-c.lastT())/20;c.pan(a,0,0,f*(Math.exp(o)-1))}}}),!0)},d.enableMouseListeners(),d};var n=t("right-now"),i=t("3d-view"),a=t("mouse-change"),o=t("mouse-wheel"),s=t("mouse-event-offset"),l=t("has-passive-events")},{"3d-view":7,"has-passive-events":232,"mouse-change":247,"mouse-event-offset":248,"mouse-wheel":250,"right-now":278}],120:[function(t,e,r){var n=t("glslify"),i=t("gl-shader"),a=n(["precision mediump float;\n#define GLSLIFY 1\nattribute vec2 position;\nvarying vec2 uv;\nvoid main() {\n  uv = position;\n  gl_Position = vec4(position, 0, 1);\n}"]),o=n(["precision mediump float;\n#define GLSLIFY 1\n\nuniform sampler2D accumBuffer;\nvarying vec2 uv;\n\nvoid main() {\n  vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));\n  gl_FragColor = min(vec4(1,1,1,1), accum);\n}"]);e.exports=function(t){return i(t,a,o,null,[{name:"position",type:"vec2"}])}},{"gl-shader":132,glslify:231}],121:[function(t,e,r){"use strict";var n=t("./camera.js"),i=t("gl-axes3d"),a=t("gl-axes3d/properties"),o=t("gl-spikes3d"),s=t("gl-select-static"),l=t("gl-fbo"),c=t("a-big-triangle"),u=t("mouse-change"),f=t("gl-mat4/perspective"),h=t("gl-mat4/ortho"),p=t("./lib/shader"),d=t("is-mobile")({tablet:!0,featureDetect:!0});function g(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function m(t){var e=Math.round(Math.log(Math.abs(t))/Math.log(10));if(e<0){var r=Math.round(Math.pow(10,-e));return Math.ceil(t*r)/r}if(e>0){r=Math.round(Math.pow(10,e));return Math.ceil(t/r)*r}return Math.ceil(t)}function v(t){return"boolean"!=typeof t||t}e.exports={createScene:function(t){(t=t||{}).camera=t.camera||{};var e=t.canvas;if(!e){if(e=document.createElement("canvas"),t.container)t.container.appendChild(e);else document.body.appendChild(e)}var r=t.gl;r||(t.glOptions&&(d=!!t.glOptions.preserveDrawingBuffer),r=function(t,e){var r=null;try{(r=t.getContext("webgl",e))||(r=t.getContext("experimental-webgl",e))}catch(t){return null}return r}(e,t.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:d}));if(!r)throw new Error("webgl not supported");var y=t.bounds||[[-10,-10,-10],[10,10,10]],x=new g,b=l(r,r.drawingBufferWidth,r.drawingBufferHeight,{preferFloat:!d}),_=p(r),w=t.cameraObject&&!0===t.cameraObject._ortho||t.camera.projection&&"orthographic"===t.camera.projection.type||!1,T={eye:t.camera.eye||[2,0,0],center:t.camera.center||[0,0,0],up:t.camera.up||[0,1,0],zoomMin:t.camera.zoomMax||.1,zoomMax:t.camera.zoomMin||100,mode:t.camera.mode||"turntable",_ortho:w},k=t.axes||{},A=i(r,k);A.enable=!k.disable;var M=t.spikes||{},S=o(r,M),E=[],L=[],C=[],P=[],I=!0,O=!0,z=new Array(16),D=new Array(16),R={view:null,projection:z,model:D,_ortho:!1},F=(O=!0,[r.drawingBufferWidth,r.drawingBufferHeight]),B=t.cameraObject||n(e,T),N={gl:r,contextLost:!1,pixelRatio:t.pixelRatio||1,canvas:e,selection:x,camera:B,axes:A,axesPixels:null,spikes:S,bounds:y,objects:E,shape:F,aspect:t.aspectRatio||[1,1,1],pickRadius:t.pickRadius||10,zNear:t.zNear||.01,zFar:t.zFar||1e3,fovy:t.fovy||Math.PI/4,clearColor:t.clearColor||[0,0,0,0],autoResize:v(t.autoResize),autoBounds:v(t.autoBounds),autoScale:!!t.autoScale,autoCenter:v(t.autoCenter),clipToBounds:v(t.clipToBounds),snapToData:!!t.snapToData,onselect:t.onselect||null,onrender:t.onrender||null,onclick:t.onclick||null,cameraParams:R,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(t){this.aspect[0]=t.x,this.aspect[1]=t.y,this.aspect[2]=t.z,O=!0},setBounds:function(t,e){this.bounds[0][t]=e.min,this.bounds[1][t]=e.max},setClearColor:function(t){this.clearColor=t},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},j=[r.drawingBufferWidth/N.pixelRatio|0,r.drawingBufferHeight/N.pixelRatio|0];function U(){if(!N._stopped&&N.autoResize){var t=e.parentNode,r=1,n=1;t&&t!==document.body?(r=t.clientWidth,n=t.clientHeight):(r=window.innerWidth,n=window.innerHeight);var i=0|Math.ceil(r*N.pixelRatio),a=0|Math.ceil(n*N.pixelRatio);if(i!==e.width||a!==e.height){e.width=i,e.height=a;var o=e.style;o.position=o.position||"absolute",o.left="0px",o.top="0px",o.width=r+"px",o.height=n+"px",I=!0}}}N.autoResize&&U();function V(){for(var t=E.length,e=P.length,n=0;n<e;++n)C[n]=0;t:for(n=0;n<t;++n){var i=E[n],a=i.pickSlots;if(a){for(var o=0;o<e;++o)if(C[o]+a<255){L[n]=o,i.setPickBase(C[o]+1),C[o]+=a;continue t}var l=s(r,F);L[n]=e,P.push(l),C.push(a),i.setPickBase(1),e+=1}else L[n]=-1}for(;e>0&&0===C[e-1];)C.pop(),P.pop().dispose()}function H(){if(N.contextLost)return!0;r.isContextLost()&&(N.contextLost=!0,N.mouseListener.enabled=!1,N.selection.object=null,N.oncontextloss&&N.oncontextloss())}window.addEventListener("resize",U),N.update=function(t){N._stopped||(t=t||{},I=!0,O=!0)},N.add=function(t){N._stopped||(t.axes=A,E.push(t),L.push(-1),I=!0,O=!0,V())},N.remove=function(t){if(!N._stopped){var e=E.indexOf(t);e<0||(E.splice(e,1),L.pop(),I=!0,O=!0,V())}},N.dispose=function(){if(!N._stopped&&(N._stopped=!0,window.removeEventListener("resize",U),e.removeEventListener("webglcontextlost",H),N.mouseListener.enabled=!1,!N.contextLost)){A.dispose(),S.dispose();for(var t=0;t<E.length;++t)E[t].dispose();b.dispose();for(t=0;t<P.length;++t)P[t].dispose();_.dispose(),r=null,A=null,S=null,E=[]}},N._mouseRotating=!1,N._prevButtons=0,N.enableMouseListeners=function(){N.mouseListener=u(e,(function(t,e,r){if(!N._stopped){var n=P.length,i=E.length,a=x.object;x.distance=1/0,x.mouse[0]=e,x.mouse[1]=r,x.object=null,x.screen=null,x.dataCoordinate=x.dataPosition=null;var o=!1;if(t&&N._prevButtons)N._mouseRotating=!0;else{N._mouseRotating&&(O=!0),N._mouseRotating=!1;for(var s=0;s<n;++s){var l=P[s].query(e,j[1]-r-1,N.pickRadius);if(l){if(l.distance>x.distance)continue;for(var c=0;c<i;++c){var u=E[c];if(L[c]===s){var f=u.pick(l);f&&(x.buttons=t,x.screen=l.coord,x.distance=l.distance,x.object=u,x.index=f.distance,x.dataPosition=f.position,x.dataCoordinate=f.dataCoordinate,x.data=f,o=!0)}}}}}a&&a!==x.object&&(a.highlight&&a.highlight(null),I=!0),x.object&&(x.object.highlight&&x.object.highlight(x.data),I=!0),(o=o||x.object!==a)&&N.onselect&&N.onselect(x),1&t&&!(1&N._prevButtons)&&N.onclick&&N.onclick(x),N._prevButtons=t}}))},e.addEventListener("webglcontextlost",H);var q=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],G=[q[0].slice(),q[1].slice()];function Y(){if(!H()){U();var t=N.camera.tick();R.view=N.camera.matrix,I=I||t,O=O||t,A.pixelRatio=N.pixelRatio,S.pixelRatio=N.pixelRatio;var e=E.length,n=q[0],i=q[1];n[0]=n[1]=n[2]=1/0,i[0]=i[1]=i[2]=-1/0;for(var o=0;o<e;++o){(C=E[o]).pixelRatio=N.pixelRatio,C.axes=N.axes,I=I||!!C.dirty,O=O||!!C.dirty;var s=C.bounds;if(s)for(var l=s[0],u=s[1],p=0;p<3;++p)n[p]=Math.min(n[p],l[p]),i[p]=Math.max(i[p],u[p])}var d=N.bounds;if(N.autoBounds)for(p=0;p<3;++p){if(i[p]<n[p])n[p]=-1,i[p]=1;else{n[p]===i[p]&&(n[p]-=1,i[p]+=1);var g=.05*(i[p]-n[p]);n[p]=n[p]-g,i[p]=i[p]+g}d[0][p]=n[p],d[1][p]=i[p]}var v=!1;for(p=0;p<3;++p)v=v||G[0][p]!==d[0][p]||G[1][p]!==d[1][p],G[0][p]=d[0][p],G[1][p]=d[1][p];if(O=O||v,I=I||v){if(v){var y=[0,0,0];for(o=0;o<3;++o)y[o]=m((d[1][o]-d[0][o])/10);A.autoTicks?A.update({bounds:d,tickSpacing:y}):A.update({bounds:d})}var T=r.drawingBufferWidth,k=r.drawingBufferHeight;F[0]=T,F[1]=k,j[0]=0|Math.max(T/N.pixelRatio,1),j[1]=0|Math.max(k/N.pixelRatio,1),function(t,e){var r=t.bounds,n=t.cameraParams,i=n.projection,a=n.model,o=t.gl.drawingBufferWidth,s=t.gl.drawingBufferHeight,l=t.zNear,c=t.zFar,u=t.fovy,p=o/s;e?(h(i,-p,p,-1,1,l,c),n._ortho=!0):(f(i,u,p,l,c),n._ortho=!1);for(var d=0;d<16;++d)a[d]=0;a[15]=1;var g=0;for(d=0;d<3;++d)g=Math.max(g,r[1][d]-r[0][d]);for(d=0;d<3;++d)t.autoScale?a[5*d]=t.aspect[d]/(r[1][d]-r[0][d]):a[5*d]=1/g,t.autoCenter&&(a[12+d]=.5*-a[5*d]*(r[0][d]+r[1][d]))}(N,w);for(o=0;o<e;++o){(C=E[o]).axesBounds=d,N.clipToBounds&&(C.clipBounds=d)}x.object&&(N.snapToData?S.position=x.dataCoordinate:S.position=x.dataPosition,S.bounds=d),O&&(O=!1,function(){if(!H()){r.colorMask(!0,!0,!0,!0),r.depthMask(!0),r.disable(r.BLEND),r.enable(r.DEPTH_TEST),r.depthFunc(r.LEQUAL);for(var t=E.length,e=P.length,n=0;n<e;++n){var i=P[n];i.shape=j,i.begin();for(var a=0;a<t;++a)if(L[a]===n){var o=E[a];o.drawPick&&(o.pixelRatio=1,o.drawPick(R))}i.end()}}}()),N.axesPixels=a(N.axes,R,T,k),N.onrender&&N.onrender(),r.bindFramebuffer(r.FRAMEBUFFER,null),r.viewport(0,0,T,k),N.clearRGBA(),r.depthMask(!0),r.colorMask(!0,!0,!0,!0),r.enable(r.DEPTH_TEST),r.depthFunc(r.LEQUAL),r.disable(r.BLEND),r.disable(r.CULL_FACE);var M=!1;A.enable&&(M=M||A.isTransparent(),A.draw(R)),S.axes=A,x.object&&S.draw(R),r.disable(r.CULL_FACE);for(o=0;o<e;++o){(C=E[o]).axes=A,C.pixelRatio=N.pixelRatio,C.isOpaque&&C.isOpaque()&&C.draw(R),C.isTransparent&&C.isTransparent()&&(M=!0)}if(M){b.shape=F,b.bind(),r.clear(r.DEPTH_BUFFER_BIT),r.colorMask(!1,!1,!1,!1),r.depthMask(!0),r.depthFunc(r.LESS),A.enable&&A.isTransparent()&&A.drawTransparent(R);for(o=0;o<e;++o){(C=E[o]).isOpaque&&C.isOpaque()&&C.draw(R)}r.enable(r.BLEND),r.blendEquation(r.FUNC_ADD),r.blendFunc(r.ONE,r.ONE_MINUS_SRC_ALPHA),r.colorMask(!0,!0,!0,!0),r.depthMask(!1),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),A.isTransparent()&&A.drawTransparent(R);for(o=0;o<e;++o){var C;(C=E[o]).isTransparent&&C.isTransparent()&&C.drawTransparent(R)}r.bindFramebuffer(r.FRAMEBUFFER,null),r.blendFunc(r.ONE,r.ONE_MINUS_SRC_ALPHA),r.disable(r.DEPTH_TEST),_.bind(),b.color[0].bind(0),_.uniforms.accumBuffer=0,c(r),r.disable(r.BLEND)}I=!1;for(o=0;o<e;++o)E[o].dirty=!1}}}return N.enableMouseListeners(),function t(){if(N._stopped||N.contextLost)return;Y(),requestAnimationFrame(t)}(),N.redraw=function(){N._stopped||(I=!0,Y())},N},createCamera:n}},{"./camera.js":119,"./lib/shader":120,"a-big-triangle":8,"gl-axes3d":70,"gl-axes3d/properties":77,"gl-fbo":86,"gl-mat4/ortho":101,"gl-mat4/perspective":102,"gl-select-static":131,"gl-spikes3d":141,"is-mobile":238,"mouse-change":247}],122:[function(t,e,r){var n=t("glslify");r.pointVertex=n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\n\nuniform mat3 matrix;\nuniform float pointSize;\nuniform float pointCloud;\n\nhighp float rand(vec2 co) {\n  highp float a = 12.9898;\n  highp float b = 78.233;\n  highp float c = 43758.5453;\n  highp float d = dot(co.xy, vec2(a, b));\n  highp float e = mod(d, 3.14);\n  return fract(sin(e) * c);\n}\n\nvoid main() {\n  vec3 hgPosition = matrix * vec3(position, 1);\n  gl_Position  = vec4(hgPosition.xy, 0, hgPosition.z);\n    // if we don't jitter the point size a bit, overall point cloud\n    // saturation 'jumps' on zooming, which is disturbing and confusing\n  gl_PointSize = pointSize * ((19.5 + rand(position)) / 20.0);\n  if(pointCloud != 0.0) { // pointCloud is truthy\n    // get the same square surface as circle would be\n    gl_PointSize *= 0.886;\n  }\n}"]),r.pointFragment=n(["precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color, borderColor;\nuniform float centerFraction;\nuniform float pointCloud;\n\nvoid main() {\n  float radius;\n  vec4 baseColor;\n  if(pointCloud != 0.0) { // pointCloud is truthy\n    if(centerFraction == 1.0) {\n      gl_FragColor = color;\n    } else {\n      gl_FragColor = mix(borderColor, color, centerFraction);\n    }\n  } else {\n    radius = length(2.0 * gl_PointCoord.xy - 1.0);\n    if(radius > 1.0) {\n      discard;\n    }\n    baseColor = mix(borderColor, color, step(radius, centerFraction));\n    gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a);\n  }\n}\n"]),r.pickVertex=n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 pickId;\n\nuniform mat3 matrix;\nuniform float pointSize;\nuniform vec4 pickOffset;\n\nvarying vec4 fragId;\n\nvoid main() {\n  vec3 hgPosition = matrix * vec3(position, 1);\n  gl_Position  = vec4(hgPosition.xy, 0, hgPosition.z);\n  gl_PointSize = pointSize;\n\n  vec4 id = pickId + pickOffset;\n  id.y += floor(id.x / 256.0);\n  id.x -= floor(id.x / 256.0) * 256.0;\n\n  id.z += floor(id.y / 256.0);\n  id.y -= floor(id.y / 256.0) * 256.0;\n\n  id.w += floor(id.z / 256.0);\n  id.z -= floor(id.z / 256.0) * 256.0;\n\n  fragId = id;\n}\n"]),r.pickFragment=n(["precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragId;\n\nvoid main() {\n  float radius = length(2.0 * gl_PointCoord.xy - 1.0);\n  if(radius > 1.0) {\n    discard;\n  }\n  gl_FragColor = fragId / 255.0;\n}\n"])},{glslify:231}],123:[function(t,e,r){"use strict";var n=t("gl-shader"),i=t("gl-buffer"),a=t("typedarray-pool"),o=t("./lib/shader");function s(t,e,r,n,i){this.plot=t,this.offsetBuffer=e,this.pickBuffer=r,this.shader=n,this.pickShader=i,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}e.exports=function(t,e){var r=t.gl,a=i(r),l=i(r),c=n(r,o.pointVertex,o.pointFragment),u=n(r,o.pickVertex,o.pickFragment),f=new s(t,a,l,c,u);return f.update(e),t.addObject(f),f};var l,c,u=s.prototype;u.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},u.update=function(t){var e;function r(e,r){return e in t?t[e]:r}t=t||{},this.sizeMin=r("sizeMin",.5),this.sizeMax=r("sizeMax",20),this.color=r("color",[1,0,0,1]).slice(),this.areaRatio=r("areaRatio",1),this.borderColor=r("borderColor",[0,0,0,1]).slice(),this.blend=r("blend",!1);var n=t.positions.length>>>1,i=t.positions instanceof Float32Array,o=t.idToIndex instanceof Int32Array&&t.idToIndex.length>=n,s=t.positions,l=i?s:a.mallocFloat32(s.length),c=o?t.idToIndex:a.mallocInt32(n);if(i||l.set(s),!o)for(l.set(s),e=0;e<n;e++)c[e]=e;this.points=s,this.offsetBuffer.update(l),this.pickBuffer.update(c),i||a.free(l),o||a.free(c),this.pointCount=n,this.pickOffset=0},u.unifiedDraw=(l=[1,0,0,0,1,0,0,0,1],c=[0,0,0,0],function(t){var e=void 0!==t,r=e?this.pickShader:this.shader,n=this.plot.gl,i=this.plot.dataBox;if(0===this.pointCount)return t;var a=i[2]-i[0],o=i[3]-i[1],s=function(t,e){var r,n=0,i=t.length>>>1;for(r=0;r<i;r++){var a=t[2*r],o=t[2*r+1];a>=e[0]&&a<=e[2]&&o>=e[1]&&o<=e[3]&&n++}return n}(this.points,i),u=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(s,.33333)));l[0]=2/a,l[4]=2/o,l[6]=-2*i[0]/a-1,l[7]=-2*i[1]/o-1,this.offsetBuffer.bind(),r.bind(),r.attributes.position.pointer(),r.uniforms.matrix=l,r.uniforms.color=this.color,r.uniforms.borderColor=this.borderColor,r.uniforms.pointCloud=u<5,r.uniforms.pointSize=u,r.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),e&&(c[0]=255&t,c[1]=t>>8&255,c[2]=t>>16&255,c[3]=t>>24&255,this.pickBuffer.bind(),r.attributes.pickId.pointer(n.UNSIGNED_BYTE),r.uniforms.pickOffset=c,this.pickOffset=t);var f=n.getParameter(n.BLEND),h=n.getParameter(n.DITHER);return f&&!this.blend&&n.disable(n.BLEND),h&&n.disable(n.DITHER),n.drawArrays(n.POINTS,0,this.pointCount),f&&!this.blend&&n.enable(n.BLEND),h&&n.enable(n.DITHER),t+this.pointCount}),u.draw=u.unifiedDraw,u.drawPick=u.unifiedDraw,u.pick=function(t,e,r){var n=this.pickOffset,i=this.pointCount;if(r<n||r>=n+i)return null;var a=r-n,o=this.points;return{object:this,pointId:a,dataCoord:[o[2*a],o[2*a+1]]}}},{"./lib/shader":122,"gl-buffer":78,"gl-shader":132,"typedarray-pool":308}],124:[function(t,e,r){e.exports=function(t,e,r,n){var i,a,o,s,l,c=e[0],u=e[1],f=e[2],h=e[3],p=r[0],d=r[1],g=r[2],m=r[3];(a=c*p+u*d+f*g+h*m)<0&&(a=-a,p=-p,d=-d,g=-g,m=-m);1-a>1e-6?(i=Math.acos(a),o=Math.sin(i),s=Math.sin((1-n)*i)/o,l=Math.sin(n*i)/o):(s=1-n,l=n);return t[0]=s*c+l*p,t[1]=s*u+l*d,t[2]=s*f+l*g,t[3]=s*h+l*m,t}},{}],125:[function(t,e,r){"use strict";e.exports=function(t){return t||0===t?t.toString():""}},{}],126:[function(t,e,r){"use strict";var n=t("vectorize-text");e.exports=function(t,e,r){var a=i[e];a||(a=i[e]={});if(t in a)return a[t];var o={textAlign:"center",textBaseline:"middle",lineHeight:1,font:e,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},s=n(t,o);o.triangles=!1;var l,c,u=n(t,o);if(r&&1!==r){for(l=0;l<s.positions.length;++l)for(c=0;c<s.positions[l].length;++c)s.positions[l][c]/=r;for(l=0;l<u.positions.length;++l)for(c=0;c<u.positions[l].length;++c)u.positions[l][c]/=r}var f=[[1/0,1/0],[-1/0,-1/0]],h=u.positions.length;for(l=0;l<h;++l){var p=u.positions[l];for(c=0;c<2;++c)f[0][c]=Math.min(f[0][c],p[c]),f[1][c]=Math.max(f[1][c],p[c])}return a[t]=[s,u,f]};var i={}},{"vectorize-text":311}],127:[function(t,e,r){var n=t("gl-shader"),i=t("glslify"),a=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform vec4 highlightId;\nuniform float highlightScale;\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n    gl_Position = vec4(0,0,0,0);\n  } else {\n    float scale = 1.0;\n    if(distance(highlightId, id) < 0.0001) {\n      scale = highlightScale;\n    }\n\n    vec4 worldPosition = model * vec4(position, 1);\n    vec4 viewPosition = view * worldPosition;\n    viewPosition = viewPosition / viewPosition.w;\n    vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));\n\n    gl_Position = clipPosition;\n    interpColor = color;\n    pickId = id;\n    dataCoordinate = position;\n  }\n}"]),o=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float highlightScale, pixelRatio;\nuniform vec4 highlightId;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n    gl_Position = vec4(0,0,0,0);\n  } else {\n    float scale = pixelRatio;\n    if(distance(highlightId.bgr, id.bgr) < 0.001) {\n      scale *= highlightScale;\n    }\n\n    vec4 worldPosition = model * vec4(position, 1.0);\n    vec4 viewPosition = view * worldPosition;\n    vec4 clipPosition = projection * viewPosition;\n    clipPosition /= clipPosition.w;\n\n    gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);\n    interpColor = color;\n    pickId = id;\n    dataCoordinate = position;\n  }\n}"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform float highlightScale;\nuniform vec4 highlightId;\nuniform vec3 axes[2];\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float scale, pixelRatio;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n    gl_Position = vec4(0,0,0,0);\n  } else {\n    float lscale = pixelRatio * scale;\n    if(distance(highlightId, id) < 0.0001) {\n      lscale *= highlightScale;\n    }\n\n    vec4 clipCenter   = projection * view * model * vec4(position, 1);\n    vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;\n    vec4 clipPosition = projection * view * model * vec4(dataPosition, 1);\n\n    gl_Position = clipPosition;\n    interpColor = color;\n    pickId = id;\n    dataCoordinate = dataPosition;\n  }\n}\n"]),l=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float opacity;\n\nvarying vec4 interpColor;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n  if (\n    outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\n    interpColor.a * opacity == 0.\n  ) discard;\n  gl_FragColor = interpColor * opacity;\n}\n"]),c=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float pickGroup;\n\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n  if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;\n\n  gl_FragColor = vec4(pickGroup, pickId.bgr);\n}"]),u=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],f={vertex:a,fragment:l,attributes:u},h={vertex:o,fragment:l,attributes:u},p={vertex:s,fragment:l,attributes:u},d={vertex:a,fragment:c,attributes:u},g={vertex:o,fragment:c,attributes:u},m={vertex:s,fragment:c,attributes:u};function v(t,e){var r=n(t,e),i=r.attributes;return i.position.location=0,i.color.location=1,i.glyph.location=2,i.id.location=3,r}r.createPerspective=function(t){return v(t,f)},r.createOrtho=function(t){return v(t,h)},r.createProject=function(t){return v(t,p)},r.createPickPerspective=function(t){return v(t,d)},r.createPickOrtho=function(t){return v(t,g)},r.createPickProject=function(t){return v(t,m)}},{"gl-shader":132,glslify:231}],128:[function(t,e,r){"use strict";var n=t("is-string-blank"),i=t("gl-buffer"),a=t("gl-vao"),o=t("typedarray-pool"),s=t("gl-mat4/multiply"),l=t("./lib/shaders"),c=t("./lib/glyphs"),u=t("./lib/get-simple-string"),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];return t[0]=e[0]*r+e[4]*n+e[8]*i+e[12]*a,t[1]=e[1]*r+e[5]*n+e[9]*i+e[13]*a,t[2]=e[2]*r+e[6]*n+e[10]*i+e[14]*a,t[3]=e[3]*r+e[7]*n+e[11]*i+e[15]*a,t}function p(t,e,r,n){return h(n,n),h(n,n),h(n,n)}function d(t,e){this.index=t,this.dataCoordinate=this.position=e}function g(t){return!0===t||t>1?1:t}function m(t,e,r,n,i,a,o,s,l,c,u,f){this.gl=t,this.pixelRatio=1,this.shader=e,this.orthoShader=r,this.projectShader=n,this.pointBuffer=i,this.colorBuffer=a,this.glyphBuffer=o,this.idBuffer=s,this.vao=l,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[2/3,2/3,2/3],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=c,this.pickOrthoShader=u,this.pickProjectShader=f,this.points=[],this._selectResult=new d(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}e.exports=function(t){var e=t.gl,r=l.createPerspective(e),n=l.createOrtho(e),o=l.createProject(e),s=l.createPickPerspective(e),c=l.createPickOrtho(e),u=l.createPickProject(e),f=i(e),h=i(e),p=i(e),d=i(e),g=a(e,[{buffer:f,size:3,type:e.FLOAT},{buffer:h,size:4,type:e.FLOAT},{buffer:p,size:2,type:e.FLOAT},{buffer:d,size:4,type:e.UNSIGNED_BYTE,normalized:!0}]),v=new m(e,r,n,o,f,h,p,d,g,s,c,u);return v.update(t),v};var v=m.prototype;v.pickSlots=1,v.setPickBase=function(t){this.pickId=t},v.isTransparent=function(){if(this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&this.projectHasAlpha)return!0;return!1},v.isOpaque=function(){if(!this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],x=[0,0,0],b=[0,0,0],_=[0,0,0,1],w=[0,0,0,1],T=f.slice(),k=[0,0,0],A=[[0,0,0],[0,0,0]];function M(t){return t[0]=t[1]=t[2]=0,t}function S(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=1,t}function E(t,e,r,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[r]=n,t}function L(t,e,r,n){var i,a=e.axesProject,o=e.gl,l=t.uniforms,c=r.model||f,u=r.view||f,h=r.projection||f,d=e.axesBounds,g=function(t){for(var e=A,r=0;r<2;++r)for(var n=0;n<3;++n)e[r][n]=Math.max(Math.min(t[r][n],1e8),-1e8);return e}(e.clipBounds);i=e.axes&&e.axes.lastCubeProps?e.axes.lastCubeProps.axis:[1,1,1],y[0]=2/o.drawingBufferWidth,y[1]=2/o.drawingBufferHeight,t.bind(),l.view=u,l.projection=h,l.screenSize=y,l.highlightId=e.highlightId,l.highlightScale=e.highlightScale,l.clipBounds=g,l.pickGroup=e.pickId/255,l.pixelRatio=n;for(var m=0;m<3;++m)if(a[m]){l.scale=e.projectScale[m],l.opacity=e.projectOpacity[m];for(var v=T,L=0;L<16;++L)v[L]=0;for(L=0;L<4;++L)v[5*L]=1;v[5*m]=0,i[m]<0?v[12+m]=d[0][m]:v[12+m]=d[1][m],s(v,c,v),l.model=v;var C=(m+1)%3,P=(m+2)%3,I=M(x),O=M(b);I[C]=1,O[P]=1;var z=p(0,0,0,S(_,I)),D=p(0,0,0,S(w,O));if(Math.abs(z[1])>Math.abs(D[1])){var R=z;z=D,D=R,R=I,I=O,O=R;var F=C;C=P,P=F}z[0]<0&&(I[C]=-1),D[1]>0&&(O[P]=-1);var B=0,N=0;for(L=0;L<4;++L)B+=Math.pow(c[4*C+L],2),N+=Math.pow(c[4*P+L],2);I[C]/=Math.sqrt(B),O[P]/=Math.sqrt(N),l.axes[0]=I,l.axes[1]=O,l.fragClipBounds[0]=E(k,g[0],m,-1e8),l.fragClipBounds[1]=E(k,g[1],m,1e8),e.vao.bind(),e.vao.draw(o.TRIANGLES,e.vertexCount),e.lineWidth>0&&(o.lineWidth(e.lineWidth*n),e.vao.draw(o.LINES,e.lineVertexCount,e.vertexCount)),e.vao.unbind()}}var C=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function P(t,e,r,n,i,a,o){var s=r.gl;if((a===r.projectHasAlpha||o)&&L(e,r,n,i),a===r.hasAlpha||o){t.bind();var l=t.uniforms;l.model=n.model||f,l.view=n.view||f,l.projection=n.projection||f,y[0]=2/s.drawingBufferWidth,y[1]=2/s.drawingBufferHeight,l.screenSize=y,l.highlightId=r.highlightId,l.highlightScale=r.highlightScale,l.fragClipBounds=C,l.clipBounds=r.axes.bounds,l.opacity=r.opacity,l.pickGroup=r.pickId/255,l.pixelRatio=i,r.vao.bind(),r.vao.draw(s.TRIANGLES,r.vertexCount),r.lineWidth>0&&(s.lineWidth(r.lineWidth*i),r.vao.draw(s.LINES,r.lineVertexCount,r.vertexCount)),r.vao.unbind()}}function I(t,e,r,i){var a;a=Array.isArray(t)?e<t.length?t[e]:void 0:t,a=u(a);var o=!0;n(a)&&(a="\u25bc",o=!1);var s=c(a,r,i);return{mesh:s[0],lines:s[1],bounds:s[2],visible:o}}v.draw=function(t){P(this.useOrtho?this.orthoShader:this.shader,this.projectShader,this,t,this.pixelRatio,!1,!1)},v.drawTransparent=function(t){P(this.useOrtho?this.orthoShader:this.shader,this.projectShader,this,t,this.pixelRatio,!0,!1)},v.drawPick=function(t){P(this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader,this.pickProjectShader,this,t,1,!0,!0)},v.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=t.value[2]+(t.value[1]<<8)+(t.value[0]<<16);if(e>=this.pointCount||e<0)return null;var r=this.points[e],n=this._selectResult;n.index=e;for(var i=0;i<3;++i)n.position[i]=n.dataCoordinate[i]=r[i];return n},v.highlight=function(t){if(t){var e=t.index,r=255&e,n=e>>8&255,i=e>>16&255;this.highlightId=[r/255,n/255,i/255,0]}else this.highlightId=[1,1,1,1]},v.update=function(t){if("perspective"in(t=t||{})&&(this.useOrtho=!t.perspective),"orthographic"in t&&(this.useOrtho=!!t.orthographic),"lineWidth"in t&&(this.lineWidth=t.lineWidth),"project"in t)if(Array.isArray(t.project))this.axesProject=t.project;else{var e=!!t.project;this.axesProject=[e,e,e]}if("projectScale"in t)if(Array.isArray(t.projectScale))this.projectScale=t.projectScale.slice();else{var r=+t.projectScale;this.projectScale=[r,r,r]}if(this.projectHasAlpha=!1,"projectOpacity"in t){if(Array.isArray(t.projectOpacity))this.projectOpacity=t.projectOpacity.slice();else{r=+t.projectOpacity;this.projectOpacity=[r,r,r]}for(var n=0;n<3;++n)this.projectOpacity[n]=g(this.projectOpacity[n]),this.projectOpacity[n]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in t&&(this.opacity=g(t.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var i,a,s=t.position,l=t.font||"normal",c=t.alignment||[0,0];if(2===c.length)i=c[0],a=c[1];else{i=[],a=[];for(n=0;n<c.length;++n)i[n]=c[n][0],a[n]=c[n][1]}var u=[1/0,1/0,1/0],f=[-1/0,-1/0,-1/0],h=t.glyph,p=t.color,d=t.size,m=t.angle,v=t.lineColor,y=-1,x=0,b=0,_=0;if(s.length){_=s.length;t:for(n=0;n<_;++n){for(var w=s[n],T=0;T<3;++T)if(isNaN(w[T])||!isFinite(w[T]))continue t;var k=(N=I(h,n,l,this.pixelRatio)).mesh,A=N.lines,M=N.bounds;x+=3*k.cells.length,b+=2*A.edges.length}}var S=x+b,E=o.mallocFloat(3*S),L=o.mallocFloat(4*S),C=o.mallocFloat(2*S),P=o.mallocUint32(S);if(S>0){var O=0,z=x,D=[0,0,0,1],R=[0,0,0,1],F=Array.isArray(p)&&Array.isArray(p[0]),B=Array.isArray(v)&&Array.isArray(v[0]);t:for(n=0;n<_;++n){y+=1;for(w=s[n],T=0;T<3;++T){if(isNaN(w[T])||!isFinite(w[T]))continue t;f[T]=Math.max(f[T],w[T]),u[T]=Math.min(u[T],w[T])}k=(N=I(h,n,l,this.pixelRatio)).mesh,A=N.lines,M=N.bounds;var N,j=N.visible;if(j)if(Array.isArray(p)){if(3===(U=F?n<p.length?p[n]:[0,0,0,0]:p).length){for(T=0;T<3;++T)D[T]=U[T];D[3]=1}else if(4===U.length){for(T=0;T<4;++T)D[T]=U[T];!this.hasAlpha&&U[3]<1&&(this.hasAlpha=!0)}}else D[0]=D[1]=D[2]=0,D[3]=1;else D=[1,1,1,0];if(j)if(Array.isArray(v)){var U;if(3===(U=B?n<v.length?v[n]:[0,0,0,0]:v).length){for(T=0;T<3;++T)R[T]=U[T];R[T]=1}else if(4===U.length){for(T=0;T<4;++T)R[T]=U[T];!this.hasAlpha&&U[3]<1&&(this.hasAlpha=!0)}}else R[0]=R[1]=R[2]=0,R[3]=1;else R=[1,1,1,0];var V=.5;j?Array.isArray(d)?V=n<d.length?+d[n]:12:d?V=+d:this.useOrtho&&(V=12):V=0;var H=0;Array.isArray(m)?H=n<m.length?+m[n]:0:m&&(H=+m);var q=Math.cos(H),G=Math.sin(H);for(w=s[n],T=0;T<3;++T)f[T]=Math.max(f[T],w[T]),u[T]=Math.min(u[T],w[T]);var Y=i,W=a;Y=0;Array.isArray(i)?Y=n<i.length?i[n]:0:i&&(Y=i);W=0;Array.isArray(a)?W=n<a.length?a[n]:0:a&&(W=a);var X=[Y*=Y>0?1-M[0][0]:Y<0?1+M[1][0]:1,W*=W>0?1-M[0][1]:W<0?1+M[1][1]:1],Z=k.cells||[],J=k.positions||[];for(T=0;T<Z.length;++T)for(var K=Z[T],Q=0;Q<3;++Q){for(var $=0;$<3;++$)E[3*O+$]=w[$];for($=0;$<4;++$)L[4*O+$]=D[$];P[O]=y;var tt=J[K[Q]];C[2*O]=V*(q*tt[0]-G*tt[1]+X[0]),C[2*O+1]=V*(G*tt[0]+q*tt[1]+X[1]),O+=1}for(Z=A.edges,J=A.positions,T=0;T<Z.length;++T)for(K=Z[T],Q=0;Q<2;++Q){for($=0;$<3;++$)E[3*z+$]=w[$];for($=0;$<4;++$)L[4*z+$]=R[$];P[z]=y;tt=J[K[Q]];C[2*z]=V*(q*tt[0]-G*tt[1]+X[0]),C[2*z+1]=V*(G*tt[0]+q*tt[1]+X[1]),z+=1}}}this.bounds=[u,f],this.points=s,this.pointCount=s.length,this.vertexCount=x,this.lineVertexCount=b,this.pointBuffer.update(E),this.colorBuffer.update(L),this.glyphBuffer.update(C),this.idBuffer.update(P),o.free(E),o.free(L),o.free(C),o.free(P)},v.dispose=function(){this.shader.dispose(),this.orthoShader.dispose(),this.pickPerspectiveShader.dispose(),this.pickOrthoShader.dispose(),this.vao.dispose(),this.pointBuffer.dispose(),this.colorBuffer.dispose(),this.glyphBuffer.dispose(),this.idBuffer.dispose()}},{"./lib/get-simple-string":125,"./lib/glyphs":126,"./lib/shaders":127,"gl-buffer":78,"gl-mat4/multiply":100,"gl-vao":150,"is-string-blank":239,"typedarray-pool":308}],129:[function(t,e,r){"use strict";var n=t("glslify");r.boxVertex=n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 vertex;\n\nuniform vec2 cornerA, cornerB;\n\nvoid main() {\n  gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1);\n}\n"]),r.boxFragment=n(["precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color;\n\nvoid main() {\n  gl_FragColor = color;\n}\n"])},{glslify:231}],130:[function(t,e,r){"use strict";var n=t("gl-shader"),i=t("gl-buffer"),a=t("./lib/shaders");function o(t,e,r){this.plot=t,this.boxBuffer=e,this.boxShader=r,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}e.exports=function(t,e){var r=t.gl,s=i(r,[0,0,0,1,1,0,1,1]),l=n(r,a.boxVertex,a.boxFragment),c=new o(t,s,l);return c.update(e),t.addOverlay(c),c};var s=o.prototype;s.draw=function(){if(this.enabled){var t=this.plot,e=this.selectBox,r=this.borderWidth,n=(this.innerFill,this.innerColor),i=(this.outerFill,this.outerColor),a=this.borderColor,o=t.box,s=t.screenBox,l=t.dataBox,c=t.viewBox,u=t.pixelRatio,f=(e[0]-l[0])*(c[2]-c[0])/(l[2]-l[0])+c[0],h=(e[1]-l[1])*(c[3]-c[1])/(l[3]-l[1])+c[1],p=(e[2]-l[0])*(c[2]-c[0])/(l[2]-l[0])+c[0],d=(e[3]-l[1])*(c[3]-c[1])/(l[3]-l[1])+c[1];if(f=Math.max(f,c[0]),h=Math.max(h,c[1]),p=Math.min(p,c[2]),d=Math.min(d,c[3]),!(p<f||d<h)){o.bind();var g=s[2]-s[0],m=s[3]-s[1];if(this.outerFill&&(o.drawBox(0,0,g,h,i),o.drawBox(0,h,f,d,i),o.drawBox(0,d,g,m,i),o.drawBox(p,h,g,d,i)),this.innerFill&&o.drawBox(f,h,p,d,n),r>0){var v=r*u;o.drawBox(f-v,h-v,p+v,h+v,a),o.drawBox(f-v,d-v,p+v,d+v,a),o.drawBox(f-v,h-v,f+v,d+v,a),o.drawBox(p-v,h-v,p+v,d+v,a)}}}},s.update=function(t){t=t||{},this.innerFill=!!t.innerFill,this.outerFill=!!t.outerFill,this.innerColor=(t.innerColor||[0,0,0,.5]).slice(),this.outerColor=(t.outerColor||[0,0,0,.5]).slice(),this.borderColor=(t.borderColor||[0,0,0,1]).slice(),this.borderWidth=t.borderWidth||0,this.selectBox=(t.selectBox||this.selectBox).slice()},s.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},{"./lib/shaders":129,"gl-buffer":78,"gl-shader":132}],131:[function(t,e,r){"use strict";e.exports=function(t,e){var r=e[0],a=e[1],o=n(t,r,a,{}),s=i.mallocUint8(r*a*4);return new l(t,o,s)};var n=t("gl-fbo"),i=t("typedarray-pool"),a=t("ndarray"),o=t("bit-twiddle").nextPow2;function s(t,e,r,n,i){this.coord=[t,e],this.id=r,this.value=n,this.distance=i}function l(t,e,r){this.gl=t,this.fbo=e,this.buffer=r,this._readTimeout=null;var n=this;this._readCallback=function(){n.gl&&(e.bind(),t.readPixels(0,0,e.shape[0],e.shape[1],t.RGBA,t.UNSIGNED_BYTE,n.buffer),n._readTimeout=null)}}var c=l.prototype;Object.defineProperty(c,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(t){if(this.gl){this.fbo.shape=t;var e=this.fbo.shape[0],r=this.fbo.shape[1];if(r*e*4>this.buffer.length){i.free(this.buffer);for(var n=this.buffer=i.mallocUint8(o(r*e*4)),a=0;a<r*e*4;++a)n[a]=255}return t}}}),c.begin=function(){var t=this.gl;this.shape;t&&(this.fbo.bind(),t.clearColor(1,1,1,1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT))},c.end=function(){var t=this.gl;t&&(t.bindFramebuffer(t.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},c.query=function(t,e,r){if(!this.gl)return null;var n=this.fbo.shape.slice();t|=0,e|=0,"number"!=typeof r&&(r=1);var i=0|Math.min(Math.max(t-r,0),n[0]),o=0|Math.min(Math.max(t+r,0),n[0]),l=0|Math.min(Math.max(e-r,0),n[1]),c=0|Math.min(Math.max(e+r,0),n[1]);if(o<=i||c<=l)return null;var u=[o-i,c-l],f=a(this.buffer,[u[0],u[1],4],[4,4*n[0],1],4*(i+n[0]*l)),h=function(t,e,r){for(var n=1e8,i=-1,a=-1,o=t.shape[0],s=t.shape[1],l=0;l<o;l++)for(var c=0;c<s;c++){var u=t.get(l,c,0),f=t.get(l,c,1),h=t.get(l,c,2),p=t.get(l,c,3);if(u<255||f<255||h<255||p<255){var d=e-l,g=r-c,m=d*d+g*g;m<n&&(n=m,i=l,a=c)}}return[i,a,n]}(f.hi(u[0],u[1],1),r,r),p=h[0],d=h[1];return p<0||Math.pow(this.radius,2)<h[2]?null:new s(p+i|0,d+l|0,f.get(p,d,0),[f.get(p,d,1),f.get(p,d,2),f.get(p,d,3)],Math.sqrt(h[2]))},c.dispose=function(){this.gl&&(this.fbo.dispose(),i.free(this.buffer),this.gl=null,this._readTimeout&&clearTimeout(this._readTimeout))}},{"bit-twiddle":32,"gl-fbo":86,ndarray:259,"typedarray-pool":308}],132:[function(t,e,r){"use strict";var n=t("./lib/create-uniforms"),i=t("./lib/create-attributes"),a=t("./lib/reflect"),o=t("./lib/shader-cache"),s=t("./lib/runtime-reflect"),l=t("./lib/GLError");function c(t){this.gl=t,this.gl.lastAttribCount=0,this._vref=this._fref=this._relink=this.vertShader=this.fragShader=this.program=this.attributes=this.uniforms=this.types=null}var u=c.prototype;function f(t,e){return t.name<e.name?-1:1}u.bind=function(){var t;this.program||this._relink();var e=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES),r=this.gl.lastAttribCount;if(e>r)for(t=r;t<e;t++)this.gl.enableVertexAttribArray(t);else if(r>e)for(t=e;t<r;t++)this.gl.disableVertexAttribArray(t);this.gl.lastAttribCount=e,this.gl.useProgram(this.program)},u.dispose=function(){for(var t=this.gl.lastAttribCount,e=0;e<t;e++)this.gl.disableVertexAttribArray(e);this.gl.lastAttribCount=0,this._fref&&this._fref.dispose(),this._vref&&this._vref.dispose(),this.attributes=this.types=this.vertShader=this.fragShader=this.program=this._relink=this._fref=this._vref=null},u.update=function(t,e,r,c){if(!e||1===arguments.length){var u=t;t=u.vertex,e=u.fragment,r=u.uniforms,c=u.attributes}var h=this,p=h.gl,d=h._vref;h._vref=o.shader(p,p.VERTEX_SHADER,t),d&&d.dispose(),h.vertShader=h._vref.shader;var g=this._fref;if(h._fref=o.shader(p,p.FRAGMENT_SHADER,e),g&&g.dispose(),h.fragShader=h._fref.shader,!r||!c){var m=p.createProgram();if(p.attachShader(m,h.fragShader),p.attachShader(m,h.vertShader),p.linkProgram(m),!p.getProgramParameter(m,p.LINK_STATUS)){var v=p.getProgramInfoLog(m);throw new l(v,"Error linking program:"+v)}r=r||s.uniforms(p,m),c=c||s.attributes(p,m),p.deleteProgram(m)}(c=c.slice()).sort(f);var y,x=[],b=[],_=[];for(y=0;y<c.length;++y){var w=c[y];if(w.type.indexOf("mat")>=0){for(var T=0|w.type.charAt(w.type.length-1),k=new Array(T),A=0;A<T;++A)k[A]=_.length,b.push(w.name+"["+A+"]"),"number"==typeof w.location?_.push(w.location+A):Array.isArray(w.location)&&w.location.length===T&&"number"==typeof w.location[A]?_.push(0|w.location[A]):_.push(-1);x.push({name:w.name,type:w.type,locations:k})}else x.push({name:w.name,type:w.type,locations:[_.length]}),b.push(w.name),"number"==typeof w.location?_.push(0|w.location):_.push(-1)}var M=0;for(y=0;y<_.length;++y)if(_[y]<0){for(;_.indexOf(M)>=0;)M+=1;_[y]=M}var S=new Array(r.length);function E(){h.program=o.program(p,h._vref,h._fref,b,_);for(var t=0;t<r.length;++t)S[t]=p.getUniformLocation(h.program,r[t].name)}E(),h._relink=E,h.types={uniforms:a(r),attributes:a(c)},h.attributes=i(p,h,x,_),Object.defineProperty(h,"uniforms",n(p,h,r,S))},e.exports=function(t,e,r,n,i){var a=new c(t);return a.update(e,r,n,i),a}},{"./lib/GLError":133,"./lib/create-attributes":134,"./lib/create-uniforms":135,"./lib/reflect":136,"./lib/runtime-reflect":137,"./lib/shader-cache":138}],133:[function(t,e,r){function n(t,e,r){this.shortMessage=e||"",this.longMessage=r||"",this.rawError=t||"",this.message="gl-shader: "+(e||t||"")+(r?"\n"+r:""),this.stack=(new Error).stack}n.prototype=new Error,n.prototype.name="GLError",n.prototype.constructor=n,e.exports=n},{}],134:[function(t,e,r){"use strict";e.exports=function(t,e,r,i){for(var a={},o=0,c=r.length;o<c;++o){var u=r[o],f=u.name,h=u.type,p=u.locations;switch(h){case"bool":case"int":case"float":s(t,e,p[0],i,1,a,f);break;default:if(h.indexOf("vec")>=0){if((d=h.charCodeAt(h.length-1)-48)<2||d>4)throw new n("","Invalid data type for attribute "+f+": "+h);s(t,e,p[0],i,d,a,f)}else{if(!(h.indexOf("mat")>=0))throw new n("","Unknown data type for attribute "+f+": "+h);var d;if((d=h.charCodeAt(h.length-1)-48)<2||d>4)throw new n("","Invalid data type for attribute "+f+": "+h);l(t,e,p,i,d,a,f)}}}return a};var n=t("./GLError");function i(t,e,r,n,i,a){this._gl=t,this._wrapper=e,this._index=r,this._locations=n,this._dimension=i,this._constFunc=a}var a=i.prototype;a.pointer=function(t,e,r,n){var i=this._gl,a=this._locations[this._index];i.vertexAttribPointer(a,this._dimension,t||i.FLOAT,!!e,r||0,n||0),i.enableVertexAttribArray(a)},a.set=function(t,e,r,n){return this._constFunc(this._locations[this._index],t,e,r,n)},Object.defineProperty(a,"location",{get:function(){return this._locations[this._index]},set:function(t){return t!==this._locations[this._index]&&(this._locations[this._index]=0|t,this._wrapper.program=null),0|t}});var o=[function(t,e,r){return void 0===r.length?t.vertexAttrib1f(e,r):t.vertexAttrib1fv(e,r)},function(t,e,r,n){return void 0===r.length?t.vertexAttrib2f(e,r,n):t.vertexAttrib2fv(e,r)},function(t,e,r,n,i){return void 0===r.length?t.vertexAttrib3f(e,r,n,i):t.vertexAttrib3fv(e,r)},function(t,e,r,n,i,a){return void 0===r.length?t.vertexAttrib4f(e,r,n,i,a):t.vertexAttrib4fv(e,r)}];function s(t,e,r,n,a,s,l){var c=o[a],u=new i(t,e,r,n,a,c);Object.defineProperty(s,l,{set:function(e){return t.disableVertexAttribArray(n[r]),c(t,n[r],e),e},get:function(){return u},enumerable:!0})}function l(t,e,r,n,i,a,o){for(var l=new Array(i),c=new Array(i),u=0;u<i;++u)s(t,e,r[u],n,i,l,u),c[u]=l[u];Object.defineProperty(l,"location",{set:function(t){if(Array.isArray(t))for(var e=0;e<i;++e)c[e].location=t[e];else for(e=0;e<i;++e)c[e].location=t+e;return t},get:function(){for(var t=new Array(i),e=0;e<i;++e)t[e]=n[r[e]];return t},enumerable:!0}),l.pointer=function(e,a,o,s){e=e||t.FLOAT,a=!!a,o=o||i*i,s=s||0;for(var l=0;l<i;++l){var c=n[r[l]];t.vertexAttribPointer(c,i,e,a,o,s+l*i),t.enableVertexAttribArray(c)}};var f=new Array(i),h=t["vertexAttrib"+i+"fv"];Object.defineProperty(a,o,{set:function(e){for(var a=0;a<i;++a){var o=n[r[a]];if(t.disableVertexAttribArray(o),Array.isArray(e[0]))h.call(t,o,e[a]);else{for(var s=0;s<i;++s)f[s]=e[i*a+s];h.call(t,o,f)}}return e},get:function(){return l},enumerable:!0})}},{"./GLError":133}],135:[function(t,e,r){"use strict";var n=t("./reflect"),i=t("./GLError");function a(t){return function(){return t}}function o(t,e){for(var r=new Array(t),n=0;n<t;++n)r[n]=e;return r}e.exports=function(t,e,r,s){function l(e){return function(n){for(var a=function t(e,r){if("object"!=typeof r)return[[e,r]];var n=[];for(var i in r){var a=r[i],o=e;parseInt(i)+""===i?o+="["+i+"]":o+="."+i,"object"==typeof a?n.push.apply(n,t(o,a)):n.push([o,a])}return n}("",e),o=0;o<a.length;++o){var l=a[o],c=l[0],u=l[1];if(s[u]){var f=n;if("string"==typeof c&&(0===c.indexOf(".")||0===c.indexOf("["))){var h=c;if(0===c.indexOf(".")&&(h=c.slice(1)),h.indexOf("]")===h.length-1){var p=h.indexOf("["),d=h.slice(0,p),g=h.slice(p+1,h.length-1);f=d?n[d][g]:n[g]}else f=n[h]}var m,v=r[u].type;switch(v){case"bool":case"int":case"sampler2D":case"samplerCube":t.uniform1i(s[u],f);break;case"float":t.uniform1f(s[u],f);break;default:var y=v.indexOf("vec");if(!(0<=y&&y<=1&&v.length===4+y)){if(0===v.indexOf("mat")&&4===v.length){if((m=v.charCodeAt(v.length-1)-48)<2||m>4)throw new i("","Invalid uniform dimension type for matrix "+name+": "+v);t["uniformMatrix"+m+"fv"](s[u],!1,f);break}throw new i("","Unknown uniform data type for "+name+": "+v)}if((m=v.charCodeAt(v.length-1)-48)<2||m>4)throw new i("","Invalid data type");switch(v.charAt(0)){case"b":case"i":t["uniform"+m+"iv"](s[u],f);break;case"v":t["uniform"+m+"fv"](s[u],f);break;default:throw new i("","Unrecognized data type for vector "+name+": "+v)}}}}}}function c(t,e,n){if("object"==typeof n){var c=u(n);Object.defineProperty(t,e,{get:a(c),set:l(n),enumerable:!0,configurable:!1})}else s[n]?Object.defineProperty(t,e,{get:(f=n,function(t,e,r){return t.getUniform(e.program,r[f])}),set:l(n),enumerable:!0,configurable:!1}):t[e]=function(t){switch(t){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var e=t.indexOf("vec");if(0<=e&&e<=1&&t.length===4+e){if((r=t.charCodeAt(t.length-1)-48)<2||r>4)throw new i("","Invalid data type");return"b"===t.charAt(0)?o(r,!1):o(r,0)}if(0===t.indexOf("mat")&&4===t.length){var r;if((r=t.charCodeAt(t.length-1)-48)<2||r>4)throw new i("","Invalid uniform dimension type for matrix "+name+": "+t);return o(r*r,0)}throw new i("","Unknown uniform data type for "+name+": "+t)}}(r[n].type);var f}function u(t){var e;if(Array.isArray(t)){e=new Array(t.length);for(var r=0;r<t.length;++r)c(e,r,t[r])}else for(var n in e={},t)c(e,n,t[n]);return e}var f=n(r,!0);return{get:a(u(f)),set:l(f),enumerable:!0,configurable:!0}}},{"./GLError":133,"./reflect":136}],136:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r={},n=0;n<t.length;++n)for(var i=t[n].name.split("."),a=r,o=0;o<i.length;++o){var s=i[o].split("[");if(s.length>1){s[0]in a||(a[s[0]]=[]),a=a[s[0]];for(var l=1;l<s.length;++l){var c=parseInt(s[l]);l<s.length-1||o<i.length-1?(c in a||(l<s.length-1?a[c]=[]:a[c]={}),a=a[c]):a[c]=e?n:t[n].type}}else o<i.length-1?(s[0]in a||(a[s[0]]={}),a=a[s[0]]):a[s[0]]=e?n:t[n].type}return r}},{}],137:[function(t,e,r){"use strict";r.uniforms=function(t,e){for(var r=t.getProgramParameter(e,t.ACTIVE_UNIFORMS),n=[],i=0;i<r;++i){var o=t.getActiveUniform(e,i);if(o){var s=a(t,o.type);if(o.size>1)for(var l=0;l<o.size;++l)n.push({name:o.name.replace("[0]","["+l+"]"),type:s});else n.push({name:o.name,type:s})}}return n},r.attributes=function(t,e){for(var r=t.getProgramParameter(e,t.ACTIVE_ATTRIBUTES),n=[],i=0;i<r;++i){var o=t.getActiveAttrib(e,i);o&&n.push({name:o.name,type:a(t,o.type)})}return n};var n={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube"},i=null;function a(t,e){if(!i){var r=Object.keys(n);i={};for(var a=0;a<r.length;++a){var o=r[a];i[t[o]]=n[o]}}return i[e]}},{}],138:[function(t,e,r){"use strict";r.shader=function(t,e,r){return u(t).getShaderReference(e,r)},r.program=function(t,e,r,n,i){return u(t).getProgram(e,r,n,i)};var n=t("./GLError"),i=t("gl-format-compiler-error"),a=new("undefined"==typeof WeakMap?t("weakmap-shim"):WeakMap),o=0;function s(t,e,r,n,i,a,o){this.id=t,this.src=e,this.type=r,this.shader=n,this.count=a,this.programs=[],this.cache=o}function l(t){this.gl=t,this.shaders=[{},{}],this.programs={}}s.prototype.dispose=function(){if(0==--this.count){for(var t=this.cache,e=t.gl,r=this.programs,n=0,i=r.length;n<i;++n){var a=t.programs[r[n]];a&&(delete t.programs[n],e.deleteProgram(a))}e.deleteShader(this.shader),delete t.shaders[this.type===e.FRAGMENT_SHADER|0][this.src]}};var c=l.prototype;function u(t){var e=a.get(t);return e||(e=new l(t),a.set(t,e)),e}c.getShaderReference=function(t,e){var r=this.gl,a=this.shaders[t===r.FRAGMENT_SHADER|0],l=a[e];if(l&&r.isShader(l.shader))l.count+=1;else{var c=function(t,e,r){var a=t.createShader(e);if(t.shaderSource(a,r),t.compileShader(a),!t.getShaderParameter(a,t.COMPILE_STATUS)){var o=t.getShaderInfoLog(a);try{var s=i(o,r,e)}catch(t){throw console.warn("Failed to format compiler error: "+t),new n(o,"Error compiling shader:\n"+o)}throw new n(o,s.short,s.long)}return a}(r,t,e);l=a[e]=new s(o++,e,t,c,[],1,this)}return l},c.getProgram=function(t,e,r,i){var a=[t.id,e.id,r.join(":"),i.join(":")].join("@"),o=this.programs[a];return o&&this.gl.isProgram(o)||(this.programs[a]=o=function(t,e,r,i,a){var o=t.createProgram();t.attachShader(o,e),t.attachShader(o,r);for(var s=0;s<i.length;++s)t.bindAttribLocation(o,a[s],i[s]);if(t.linkProgram(o),!t.getProgramParameter(o,t.LINK_STATUS)){var l=t.getProgramInfoLog(o);throw new n(l,"Error linking program: "+l)}return o}(this.gl,t.shader,e.shader,r,i),t.programs.push(a),e.programs.push(a)),o}},{"./GLError":133,"gl-format-compiler-error":87,"weakmap-shim":316}],139:[function(t,e,r){"use strict";function n(t){this.plot=t,this.enable=[!0,!0,!1,!1],this.width=[1,1,1,1],this.color=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.center=[1/0,1/0]}e.exports=function(t,e){var r=new n(t);return r.update(e),t.addOverlay(r),r};var i=n.prototype;i.update=function(t){t=t||{},this.enable=(t.enable||[!0,!0,!1,!1]).slice(),this.width=(t.width||[1,1,1,1]).slice(),this.color=(t.color||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]).map((function(t){return t.slice()})),this.center=(t.center||[1/0,1/0]).slice(),this.plot.setOverlayDirty()},i.draw=function(){var t=this.enable,e=this.width,r=this.color,n=this.center,i=this.plot,a=i.line,o=i.dataBox,s=i.viewBox;if(a.bind(),o[0]<=n[0]&&n[0]<=o[2]&&o[1]<=n[1]&&n[1]<=o[3]){var l=s[0]+(n[0]-o[0])/(o[2]-o[0])*(s[2]-s[0]),c=s[1]+(n[1]-o[1])/(o[3]-o[1])*(s[3]-s[1]);t[0]&&a.drawLine(l,c,s[0],c,e[0],r[0]),t[1]&&a.drawLine(l,c,l,s[1],e[1],r[1]),t[2]&&a.drawLine(l,c,s[2],c,e[2],r[2]),t[3]&&a.drawLine(l,c,l,s[3],e[3],r[3])}},i.dispose=function(){this.plot.removeOverlay(this)}},{}],140:[function(t,e,r){"use strict";var n=t("glslify"),i=t("gl-shader"),a=n(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 position, color;\nattribute float weight;\n\nuniform mat4 model, view, projection;\nuniform vec3 coordinates[3];\nuniform vec4 colors[3];\nuniform vec2 screenShape;\nuniform float lineWidth;\n\nvarying vec4 fragColor;\n\nvoid main() {\n  vec3 vertexPosition = mix(coordinates[0],\n    mix(coordinates[2], coordinates[1], 0.5 * (position + 1.0)), abs(position));\n\n  vec4 clipPos = projection * view * model * vec4(vertexPosition, 1.0);\n  vec2 clipOffset = (projection * view * model * vec4(color, 0.0)).xy;\n  vec2 delta = weight * clipOffset * screenShape;\n  vec2 lineOffset = normalize(vec2(delta.y, -delta.x)) / screenShape;\n\n  gl_Position   = vec4(clipPos.xy + clipPos.w * 0.5 * lineWidth * lineOffset, clipPos.z, clipPos.w);\n  fragColor     = color.x * colors[0] + color.y * colors[1] + color.z * colors[2];\n}\n"]),o=n(["precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nvoid main() {\n  gl_FragColor = fragColor;\n}"]);e.exports=function(t){return i(t,a,o,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},{"gl-shader":132,glslify:231}],141:[function(t,e,r){"use strict";var n=t("gl-buffer"),i=t("gl-vao"),a=t("./shaders/index");e.exports=function(t,e){var r=[];function o(t,e,n,i,a,o){var s=[t,e,n,0,0,0,1];s[i+3]=1,s[i]=a,r.push.apply(r,s),s[6]=-1,r.push.apply(r,s),s[i]=o,r.push.apply(r,s),r.push.apply(r,s),s[6]=1,r.push.apply(r,s),s[i]=a,r.push.apply(r,s)}o(0,0,0,0,0,1),o(0,0,0,1,0,1),o(0,0,0,2,0,1),o(1,0,0,1,-1,1),o(1,0,0,2,-1,1),o(0,1,0,0,-1,1),o(0,1,0,2,-1,1),o(0,0,1,0,-1,1),o(0,0,1,1,-1,1);var l=n(t,r),c=i(t,[{type:t.FLOAT,buffer:l,size:3,offset:0,stride:28},{type:t.FLOAT,buffer:l,size:3,offset:12,stride:28},{type:t.FLOAT,buffer:l,size:1,offset:24,stride:28}]),u=a(t);u.attributes.position.location=0,u.attributes.color.location=1,u.attributes.weight.location=2;var f=new s(t,l,c,u);return f.update(e),f};var o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(t,e,r,n){this.gl=t,this.buffer=e,this.vao=r,this.shader=n,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var l=s.prototype,c=[0,0,0],u=[0,0,0],f=[0,0];l.isTransparent=function(){return!1},l.drawTransparent=function(t){},l.draw=function(t){var e=this.gl,r=this.vao,n=this.shader;r.bind(),n.bind();var i,a=t.model||o,s=t.view||o,l=t.projection||o;this.axes&&(i=this.axes.lastCubeProps.axis);for(var h=c,p=u,d=0;d<3;++d)i&&i[d]<0?(h[d]=this.bounds[0][d],p[d]=this.bounds[1][d]):(h[d]=this.bounds[1][d],p[d]=this.bounds[0][d]);f[0]=e.drawingBufferWidth,f[1]=e.drawingBufferHeight,n.uniforms.model=a,n.uniforms.view=s,n.uniforms.projection=l,n.uniforms.coordinates=[this.position,h,p],n.uniforms.colors=this.colors,n.uniforms.screenShape=f;for(d=0;d<3;++d)n.uniforms.lineWidth=this.lineWidth[d]*this.pixelRatio,this.enabled[d]&&(r.draw(e.TRIANGLES,6,6*d),this.drawSides[d]&&r.draw(e.TRIANGLES,12,18+12*d));r.unbind()},l.update=function(t){t&&("bounds"in t&&(this.bounds=t.bounds),"position"in t&&(this.position=t.position),"lineWidth"in t&&(this.lineWidth=t.lineWidth),"colors"in t&&(this.colors=t.colors),"enabled"in t&&(this.enabled=t.enabled),"drawSides"in t&&(this.drawSides=t.drawSides))},l.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},{"./shaders/index":140,"gl-buffer":78,"gl-vao":150}],142:[function(t,e,r){var n=t("glslify"),i=n(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n  // Return up-vector for only-z vector.\n  // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n  // From the above if-statement we have ||a|| > 0  U  ||b|| > 0.\n  // Assign z = 0, x = -b, y = a:\n  // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n  if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n    return normalize(vec3(-v.y, v.x, 0.0));\n  } else {\n    return normalize(vec3(0.0, v.z, -v.y));\n  }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n  float segmentCount = 8.0;\n\n  float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n  vec3 u = getOrthogonalVector(d);\n  vec3 v = normalize(cross(u, d));\n\n  vec3 x = u * cos(angle) * length(d);\n  vec3 y = v * sin(angle) * length(d);\n  vec3 v3 = x + y;\n\n  normal = normalize(v3);\n\n  return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, tubeScale;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  // Scale the vector magnitude to stay constant with\n  // model & view changes.\n  vec3 normal;\n  vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n  vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n  //Lighting geometry parameters\n  vec4 cameraCoordinate = view * tubePosition;\n  cameraCoordinate.xyz /= cameraCoordinate.w;\n  f_lightDirection = lightPosition - cameraCoordinate.xyz;\n  f_eyeDirection   = eyePosition - cameraCoordinate.xyz;\n  f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n  // vec4 m_position  = model * vec4(tubePosition, 1.0);\n  vec4 t_position  = view * tubePosition;\n  gl_Position      = projection * t_position;\n\n  f_color          = color;\n  f_data           = tubePosition.xyz;\n  f_position       = position.xyz;\n  f_uv             = uv;\n}\n"]),a=n(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n  float NdotH = max(x, 0.0001);\n  float cos2Alpha = NdotH * NdotH;\n  float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n  float roughness2 = roughness * roughness;\n  float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n  return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n  vec3 lightDirection,\n  vec3 viewDirection,\n  vec3 surfaceNormal,\n  float roughness,\n  float fresnel) {\n\n  float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n  float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n  //Half angle vector\n  vec3 H = normalize(lightDirection + viewDirection);\n\n  //Geometric term\n  float NdotH = max(dot(surfaceNormal, H), 0.0);\n  float VdotH = max(dot(viewDirection, H), 0.000001);\n  float LdotH = max(dot(lightDirection, H), 0.000001);\n  float G1 = (2.0 * NdotH * VdotN) / VdotH;\n  float G2 = (2.0 * NdotH * LdotN) / LdotH;\n  float G = min(1.0, min(G1, G2));\n  \n  //Distribution term\n  float D = beckmannDistribution(NdotH, roughness);\n\n  //Fresnel term\n  float F = pow(1.0 - VdotN, fresnel);\n\n  //Multiply terms and done\n  return  G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n  vec3 N = normalize(f_normal);\n  vec3 L = normalize(f_lightDirection);\n  vec3 V = normalize(f_eyeDirection);\n\n  if(gl_FrontFacing) {\n    N = -N;\n  }\n\n  float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n  float diffuse  = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n  vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n  vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular,  1.0);\n\n  gl_FragColor = litColor * opacity;\n}\n"]),o=n(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n  // Return up-vector for only-z vector.\n  // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n  // From the above if-statement we have ||a|| > 0  U  ||b|| > 0.\n  // Assign z = 0, x = -b, y = a:\n  // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n  if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n    return normalize(vec3(-v.y, v.x, 0.0));\n  } else {\n    return normalize(vec3(0.0, v.z, -v.y));\n  }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n  float segmentCount = 8.0;\n\n  float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n  vec3 u = getOrthogonalVector(d);\n  vec3 v = normalize(cross(u, d));\n\n  vec3 x = u * cos(angle) * length(d);\n  vec3 y = v * sin(angle) * length(d);\n  vec3 v3 = x + y;\n\n  normal = normalize(v3);\n\n  return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float tubeScale;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  vec3 normal;\n  vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n  vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n  gl_Position = projection * view * tubePosition;\n  f_id        = id;\n  f_position  = position.xyz;\n}\n"]),s=n(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3  clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n  if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n  gl_FragColor = vec4(pickId, f_id.xyz);\n}"]);r.meshShader={vertex:i,fragment:a,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},r.pickShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},{glslify:231}],143:[function(t,e,r){"use strict";var n=t("gl-vec3"),i=t("gl-vec4"),a=["xyz","xzy","yxz","yzx","zxy","zyx"],o=function(t,e,r,a){for(var o=0,s=0;s<t.length;s++)for(var l=t[s].velocities,c=0;c<l.length;c++)o=Math.max(o,n.length(l[c]));var u=t.map((function(t){return function(t,e,r,a){for(var o=t.points,s=t.velocities,l=t.divergences,c=[],u=[],f=[],h=[],p=[],d=[],g=0,m=0,v=i.create(),y=i.create(),x=0;x<o.length;x++){var b=o[x],_=s[x],w=l[x];0===e&&(w=.05*r),m=n.length(_)/a,v=i.create(),n.copy(v,_),v[3]=w;for(var T=0;T<8;T++)p[T]=[b[0],b[1],b[2],T];if(h.length>0)for(T=0;T<8;T++){var k=(T+1)%8;c.push(h[T],p[T],p[k],p[k],h[k],h[T]),f.push(y,v,v,v,y,y),d.push(g,m,m,m,g,g);var A=c.length;u.push([A-6,A-5,A-4],[A-3,A-2,A-1])}var M=h;h=p,p=M;var S=y;y=v,v=S;var E=g;g=m,m=E}return{positions:c,cells:u,vectors:f,vertexIntensity:d}}(t,r,a,o)})),f=[],h=[],p=[],d=[];for(s=0;s<u.length;s++){var g=u[s],m=f.length;f=f.concat(g.positions),p=p.concat(g.vectors),d=d.concat(g.vertexIntensity);for(c=0;c<g.cells.length;c++){var v=g.cells[c],y=[];h.push(y);for(var x=0;x<v.length;x++)y.push(v[x]+m)}}return{positions:f,cells:h,vectors:p,vertexIntensity:d,colormap:e}},s=function(t,e){var r,n=t.length;for(r=0;r<n;r++){var i=t[r];if(i===e)return r;if(i>e)return r-1}return r},l=function(t,e,r){return t<e?e:t>r?r:t},c=function(t){var e=1/0;t.sort((function(t,e){return t-e}));for(var r=t.length,n=1;n<r;n++){var i=Math.abs(t[n]-t[n-1]);i<e&&(e=i)}return e};e.exports=function(t,e){var r=t.startingPositions,i=t.maxLength||1e3,u=t.tubeSize||1,f=t.absoluteTubeSize,h=t.gridFill||"+x+y+z",p={};-1!==h.indexOf("-x")&&(p.reversedX=!0),-1!==h.indexOf("-y")&&(p.reversedY=!0),-1!==h.indexOf("-z")&&(p.reversedZ=!0),p.filled=a.indexOf(h.replace(/-/g,"").replace(/\+/g,""));var d=t.getVelocity||function(e){return function(t,e,r){var i=e.vectors,a=e.meshgrid,o=t[0],c=t[1],u=t[2],f=a[0].length,h=a[1].length,p=a[2].length,d=s(a[0],o),g=s(a[1],c),m=s(a[2],u),v=d+1,y=g+1,x=m+1;if(d=l(d,0,f-1),v=l(v,0,f-1),g=l(g,0,h-1),y=l(y,0,h-1),m=l(m,0,p-1),x=l(x,0,p-1),d<0||g<0||m<0||v>f-1||y>h-1||x>p-1)return n.create();var b,_,w,T,k,A,M=a[0][d],S=a[0][v],E=a[1][g],L=a[1][y],C=a[2][m],P=(o-M)/(S-M),I=(c-E)/(L-E),O=(u-C)/(a[2][x]-C);switch(isFinite(P)||(P=.5),isFinite(I)||(I=.5),isFinite(O)||(O=.5),r.reversedX&&(d=f-1-d,v=f-1-v),r.reversedY&&(g=h-1-g,y=h-1-y),r.reversedZ&&(m=p-1-m,x=p-1-x),r.filled){case 5:k=m,A=x,w=g*p,T=y*p,b=d*p*h,_=v*p*h;break;case 4:k=m,A=x,b=d*p,_=v*p,w=g*p*f,T=y*p*f;break;case 3:w=g,T=y,k=m*h,A=x*h,b=d*h*p,_=v*h*p;break;case 2:w=g,T=y,b=d*h,_=v*h,k=m*h*f,A=x*h*f;break;case 1:b=d,_=v,k=m*f,A=x*f,w=g*f*p,T=y*f*p;break;default:b=d,_=v,w=g*f,T=y*f,k=m*f*h,A=x*f*h}var z=i[b+w+k],D=i[b+w+A],R=i[b+T+k],F=i[b+T+A],B=i[_+w+k],N=i[_+w+A],j=i[_+T+k],U=i[_+T+A],V=n.create(),H=n.create(),q=n.create(),G=n.create();n.lerp(V,z,B,P),n.lerp(H,D,N,P),n.lerp(q,R,j,P),n.lerp(G,F,U,P);var Y=n.create(),W=n.create();n.lerp(Y,V,q,I),n.lerp(W,H,G,I);var X=n.create();return n.lerp(X,Y,W,O),X}(e,t,p)},g=t.getDivergence||function(t,e){var r=n.create(),i=1e-4;n.add(r,t,[i,0,0]);var a=d(r);n.subtract(a,a,e),n.scale(a,a,1/i),n.add(r,t,[0,i,0]);var o=d(r);n.subtract(o,o,e),n.scale(o,o,1/i),n.add(r,t,[0,0,i]);var s=d(r);return n.subtract(s,s,e),n.scale(s,s,1/i),n.add(r,a,o),n.add(r,r,s),r},m=[],v=e[0][0],y=e[0][1],x=e[0][2],b=e[1][0],_=e[1][1],w=e[1][2],T=function(t){var e=t[0],r=t[1],n=t[2];return!(e<v||e>b||r<y||r>_||n<x||n>w)},k=10*n.distance(e[0],e[1])/i,A=k*k,M=1,S=0,E=r.length;E>1&&(M=function(t){for(var e=[],r=[],n=[],i={},a={},o={},s=t.length,l=0;l<s;l++){var u=t[l],f=u[0],h=u[1],p=u[2];i[f]||(e.push(f),i[f]=!0),a[h]||(r.push(h),a[h]=!0),o[p]||(n.push(p),o[p]=!0)}var d=c(e),g=c(r),m=c(n),v=Math.min(d,g,m);return isFinite(v)?v:1}(r));for(var L=0;L<E;L++){var C=n.create();n.copy(C,r[L]);var P=[C],I=[],O=d(C),z=C;I.push(O);var D=[],R=g(C,O),F=n.length(R);isFinite(F)&&F>S&&(S=F),D.push(F),m.push({points:P,velocities:I,divergences:D});for(var B=0;B<100*i&&P.length<i&&T(C);){B++;var N=n.clone(O),j=n.squaredLength(N);if(0===j)break;if(j>A&&n.scale(N,N,k/Math.sqrt(j)),n.add(N,N,C),O=d(N),n.squaredDistance(z,N)-A>-1e-4*A){P.push(N),z=N,I.push(O);R=g(N,O),F=n.length(R);isFinite(F)&&F>S&&(S=F),D.push(F)}C=N}}var U=o(m,t.colormap,S,M);return f?U.tubeScale=f:(0===S&&(S=1),U.tubeScale=.5*u*M/S),U};var u=t("./lib/shaders"),f=t("gl-cone3d").createMesh;e.exports.createTubeMesh=function(t,e){return f(t,e,{shaders:u,traceType:"streamtube"})}},{"./lib/shaders":142,"gl-cone3d":79,"gl-vec3":169,"gl-vec4":205}],144:[function(t,e,r){var n=t("gl-shader"),i=t("glslify"),a=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute vec3 f;\nattribute vec3 normal;\n\nuniform vec3 objectOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 lightPosition, eyePosition;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n  vec3 localCoordinate = vec3(uv.zw, f.x);\n  worldCoordinate = objectOffset + localCoordinate;\n  vec4 worldPosition = model * vec4(worldCoordinate, 1.0);\n  vec4 clipPosition = projection * view * worldPosition;\n  gl_Position = clipPosition;\n  kill = f.y;\n  value = f.z;\n  planeCoordinate = uv.xy;\n\n  vColor = texture2D(colormap, vec2(value, value));\n\n  //Lighting geometry parameters\n  vec4 cameraCoordinate = view * worldPosition;\n  cameraCoordinate.xyz /= cameraCoordinate.w;\n  lightDirection = lightPosition - cameraCoordinate.xyz;\n  eyeDirection   = eyePosition - cameraCoordinate.xyz;\n  surfaceNormal  = normalize((vec4(normal,0) * inverseModel).xyz);\n}\n"]),o=i(["precision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n  float NdotH = max(x, 0.0001);\n  float cos2Alpha = NdotH * NdotH;\n  float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n  float roughness2 = roughness * roughness;\n  float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n  return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat beckmannSpecular(\n  vec3 lightDirection,\n  vec3 viewDirection,\n  vec3 surfaceNormal,\n  float roughness) {\n  return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness);\n}\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 lowerBound, upperBound;\nuniform float contourTint;\nuniform vec4 contourColor;\nuniform sampler2D colormap;\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform float vertexColor;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n  if (\n    kill > 0.0 ||\n    vColor.a == 0.0 ||\n    outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)\n  ) discard;\n\n  vec3 N = normalize(surfaceNormal);\n  vec3 V = normalize(eyeDirection);\n  vec3 L = normalize(lightDirection);\n\n  if(gl_FrontFacing) {\n    N = -N;\n  }\n\n  float specular = max(beckmannSpecular(L, V, N, roughness), 0.);\n  float diffuse  = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n  //decide how to interpolate color \u2014 in vertex or in fragment\n  vec4 surfaceColor =\n    step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +\n    step(.5, vertexColor) * vColor;\n\n  vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular,  1.0);\n\n  gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;\n}\n"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute float f;\n\nuniform vec3 objectOffset;\nuniform mat3 permutation;\nuniform mat4 model, view, projection;\nuniform float height, zOffset;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n  vec3 dataCoordinate = permutation * vec3(uv.xy, height);\n  worldCoordinate = objectOffset + dataCoordinate;\n  vec4 worldPosition = model * vec4(worldCoordinate, 1.0);\n\n  vec4 clipPosition = projection * view * worldPosition;\n  clipPosition.z += zOffset;\n\n  gl_Position = clipPosition;\n  value = f + objectOffset.z;\n  kill = -1.0;\n  planeCoordinate = uv.zw;\n\n  vColor = texture2D(colormap, vec2(value, value));\n\n  //Don't do lighting for contours\n  surfaceNormal   = vec3(1,0,0);\n  eyeDirection    = vec3(0,1,0);\n  lightDirection  = vec3(0,0,1);\n}\n"]),l=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n  return ((p > max(a, b)) || \n          (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n  return (outOfRange(a.x, b.x, p.x) ||\n          outOfRange(a.y, b.y, p.y) ||\n          outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n  return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec2 shape;\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 surfaceNormal;\n\nvec2 splitFloat(float v) {\n  float vh = 255.0 * v;\n  float upper = floor(vh);\n  float lower = fract(vh);\n  return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);\n}\n\nvoid main() {\n  if ((kill > 0.0) ||\n      (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;\n\n  vec2 ux = splitFloat(planeCoordinate.x / shape.x);\n  vec2 uy = splitFloat(planeCoordinate.y / shape.y);\n  gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));\n}\n"]);r.createShader=function(t){var e=n(t,a,o,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},r.createPickShader=function(t){var e=n(t,a,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},r.createContourShader=function(t){var e=n(t,s,o,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e},r.createPickContourShader=function(t){var e=n(t,s,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e}},{"gl-shader":132,glslify:231}],145:[function(t,e,r){"use strict";e.exports=function(t){var e=t.gl,r=y(e),n=b(e),s=x(e),l=_(e),c=i(e),u=a(e,[{buffer:c,size:4,stride:40,offset:0},{buffer:c,size:3,stride:40,offset:16},{buffer:c,size:3,stride:40,offset:28}]),f=i(e),h=a(e,[{buffer:f,size:4,stride:20,offset:0},{buffer:f,size:1,stride:20,offset:16}]),p=i(e),d=a(e,[{buffer:p,size:2,type:e.FLOAT}]),g=o(e,1,256,e.RGBA,e.UNSIGNED_BYTE);g.minFilter=e.LINEAR,g.magFilter=e.LINEAR;var m=new M(e,[0,0],[[0,0,0],[0,0,0]],r,n,c,u,g,s,l,f,h,p,d,[0,0,0]),v={levels:[[],[],[]]};for(var w in t)v[w]=t[w];return v.colormap=v.colormap||"jet",m.update(v),m};var n=t("bit-twiddle"),i=t("gl-buffer"),a=t("gl-vao"),o=t("gl-texture2d"),s=t("typedarray-pool"),l=t("colormap"),c=t("ndarray-ops"),u=t("ndarray-pack"),f=t("ndarray"),h=t("surface-nets"),p=t("gl-mat4/multiply"),d=t("gl-mat4/invert"),g=t("binary-search-bounds"),m=t("ndarray-gradient"),v=t("./lib/shaders"),y=v.createShader,x=v.createContourShader,b=v.createPickShader,_=v.createPickContourShader,w=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],T=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],k=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function A(t,e,r,n,i){this.position=t,this.index=e,this.uv=r,this.level=n,this.dataCoordinate=i}!function(){for(var t=0;t<3;++t){var e=k[t],r=(t+2)%3;e[(t+1)%3+0]=1,e[r+3]=1,e[t+6]=1}}();function M(t,e,r,n,i,a,o,l,c,u,h,p,d,g,m){this.gl=t,this.shape=e,this.bounds=r,this.objectOffset=m,this.intensityBounds=[],this._shader=n,this._pickShader=i,this._coordinateBuffer=a,this._vao=o,this._colorMap=l,this._contourShader=c,this._contourPickShader=u,this._contourBuffer=h,this._contourVAO=p,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new A([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=d,this._dynamicVAO=g,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[f(s.mallocFloat(1024),[0,0]),f(s.mallocFloat(1024),[0,0]),f(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var S=M.prototype;S.genColormap=function(t,e){var r=!1,n=u([l({colormap:t,nshades:256,format:"rgba"}).map((function(t,n){var i=e?function(t,e){if(!e)return 1;if(!e.length)return 1;for(var r=0;r<e.length;++r){if(e.length<2)return 1;if(e[r][0]===t)return e[r][1];if(e[r][0]>t&&r>0){var n=(e[r][0]-t)/(e[r][0]-e[r-1][0]);return e[r][1]*(1-n)+n*e[r-1][1]}}return 1}(n/255,e):t[3];return i<1&&(r=!0),[t[0],t[1],t[2],255*i]}))]);return c.divseq(n,255),this.hasAlphaScale=r,n},S.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},S.isOpaque=function(){return!this.isTransparent()},S.pickSlots=1,S.setPickBase=function(t){this.pickId=t};var E=[0,0,0],L={showSurface:!1,showContour:!1,projections:[w.slice(),w.slice(),w.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function C(t,e){var r,n,i,a=e.axes&&e.axes.lastCubeProps.axis||E,o=e.showSurface,s=e.showContour;for(r=0;r<3;++r)for(o=o||e.surfaceProject[r],n=0;n<3;++n)s=s||e.contourProject[r][n];for(r=0;r<3;++r){var l=L.projections[r];for(n=0;n<16;++n)l[n]=0;for(n=0;n<4;++n)l[5*n]=1;l[5*r]=0,l[12+r]=e.axesBounds[+(a[r]>0)][r],p(l,t.model,l);var c=L.clipBounds[r];for(i=0;i<2;++i)for(n=0;n<3;++n)c[i][n]=t.clipBounds[i][n];c[0][r]=-1e8,c[1][r]=1e8}return L.showSurface=o,L.showContour=s,L}var P={model:w,view:w,projection:w,inverseModel:w.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},I=w.slice(),O=[1,0,0,0,1,0,0,0,1];function z(t,e){t=t||{};var r=this.gl;r.disable(r.CULL_FACE),this._colorMap.bind(0);var n=P;n.model=t.model||w,n.view=t.view||w,n.projection=t.projection||w,n.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],n.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],n.objectOffset=this.objectOffset,n.contourColor=this.contourColor[0],n.inverseModel=d(n.inverseModel,n.model);for(var i=0;i<2;++i)for(var a=n.clipBounds[i],o=0;o<3;++o)a[o]=Math.min(Math.max(this.clipBounds[i][o],-1e8),1e8);n.kambient=this.ambientLight,n.kdiffuse=this.diffuseLight,n.kspecular=this.specularLight,n.roughness=this.roughness,n.fresnel=this.fresnel,n.opacity=this.opacity,n.height=0,n.permutation=O,n.vertexColor=this.vertexColor;var s=I;for(p(s,n.view,n.model),p(s,n.projection,s),d(s,s),i=0;i<3;++i)n.eyePosition[i]=s[12+i]/s[15];var l=s[15];for(i=0;i<3;++i)l+=this.lightPosition[i]*s[4*i+3];for(i=0;i<3;++i){var c=s[12+i];for(o=0;o<3;++o)c+=s[4*o+i]*this.lightPosition[o];n.lightPosition[i]=c/l}var u=C(n,this);if(u.showSurface){for(this._shader.bind(),this._shader.uniforms=n,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(r.TRIANGLES,this._vertexCount),i=0;i<3;++i)this.surfaceProject[i]&&this.vertexCount&&(this._shader.uniforms.model=u.projections[i],this._shader.uniforms.clipBounds=u.clipBounds[i],this._vao.draw(r.TRIANGLES,this._vertexCount));this._vao.unbind()}if(u.showContour){var f=this._contourShader;n.kambient=1,n.kdiffuse=0,n.kspecular=0,n.opacity=1,f.bind(),f.uniforms=n;var h=this._contourVAO;for(h.bind(),i=0;i<3;++i)for(f.uniforms.permutation=k[i],r.lineWidth(this.contourWidth[i]*this.pixelRatio),o=0;o<this.contourLevels[i].length;++o)o===this.highlightLevel[i]?(f.uniforms.contourColor=this.highlightColor[i],f.uniforms.contourTint=this.highlightTint[i]):0!==o&&o-1!==this.highlightLevel[i]||(f.uniforms.contourColor=this.contourColor[i],f.uniforms.contourTint=this.contourTint[i]),this._contourCounts[i][o]&&(f.uniforms.height=this.contourLevels[i][o],h.draw(r.LINES,this._contourCounts[i][o],this._contourOffsets[i][o]));for(i=0;i<3;++i)for(f.uniforms.model=u.projections[i],f.uniforms.clipBounds=u.clipBounds[i],o=0;o<3;++o)if(this.contourProject[i][o]){f.uniforms.permutation=k[o],r.lineWidth(this.contourWidth[o]*this.pixelRatio);for(var g=0;g<this.contourLevels[o].length;++g)g===this.highlightLevel[o]?(f.uniforms.contourColor=this.highlightColor[o],f.uniforms.contourTint=this.highlightTint[o]):0!==g&&g-1!==this.highlightLevel[o]||(f.uniforms.contourColor=this.contourColor[o],f.uniforms.contourTint=this.contourTint[o]),this._contourCounts[o][g]&&(f.uniforms.height=this.contourLevels[o][g],h.draw(r.LINES,this._contourCounts[o][g],this._contourOffsets[o][g]))}for(h.unbind(),(h=this._dynamicVAO).bind(),i=0;i<3;++i)if(0!==this._dynamicCounts[i])for(f.uniforms.model=n.model,f.uniforms.clipBounds=n.clipBounds,f.uniforms.permutation=k[i],r.lineWidth(this.dynamicWidth[i]*this.pixelRatio),f.uniforms.contourColor=this.dynamicColor[i],f.uniforms.contourTint=this.dynamicTint[i],f.uniforms.height=this.dynamicLevel[i],h.draw(r.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]),o=0;o<3;++o)this.contourProject[o][i]&&(f.uniforms.model=u.projections[o],f.uniforms.clipBounds=u.clipBounds[o],h.draw(r.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]));h.unbind()}}S.draw=function(t){return z.call(this,t,!1)},S.drawTransparent=function(t){return z.call(this,t,!0)};var D={model:w,view:w,projection:w,inverseModel:w,clipBounds:[[0,0,0],[0,0,0]],height:0,shape:[0,0],pickId:0,lowerBound:[0,0,0],upperBound:[0,0,0],zOffset:0,objectOffset:[0,0,0],permutation:[1,0,0,0,1,0,0,0,1],lightPosition:[0,0,0],eyePosition:[0,0,0]};function R(t,e){return Array.isArray(t)?[e(t[0]),e(t[1]),e(t[2])]:[e(t),e(t),e(t)]}function F(t){return Array.isArray(t)?3===t.length?[t[0],t[1],t[2],1]:[t[0],t[1],t[2],t[3]]:[0,0,0,1]}function B(t){if(Array.isArray(t)){if(Array.isArray(t))return[F(t[0]),F(t[1]),F(t[2])];var e=F(t);return[e.slice(),e.slice(),e.slice()]}}S.drawPick=function(t){t=t||{};var e=this.gl;e.disable(e.CULL_FACE);var r=D;r.model=t.model||w,r.view=t.view||w,r.projection=t.projection||w,r.shape=this._field[2].shape,r.pickId=this.pickId/255,r.lowerBound=this.bounds[0],r.upperBound=this.bounds[1],r.objectOffset=this.objectOffset,r.permutation=O;for(var n=0;n<2;++n)for(var i=r.clipBounds[n],a=0;a<3;++a)i[a]=Math.min(Math.max(this.clipBounds[n][a],-1e8),1e8);var o=C(r,this);if(o.showSurface){for(this._pickShader.bind(),this._pickShader.uniforms=r,this._vao.bind(),this._vao.draw(e.TRIANGLES,this._vertexCount),n=0;n<3;++n)this.surfaceProject[n]&&(this._pickShader.uniforms.model=o.projections[n],this._pickShader.uniforms.clipBounds=o.clipBounds[n],this._vao.draw(e.TRIANGLES,this._vertexCount));this._vao.unbind()}if(o.showContour){var s=this._contourPickShader;s.bind(),s.uniforms=r;var l=this._contourVAO;for(l.bind(),a=0;a<3;++a)for(e.lineWidth(this.contourWidth[a]*this.pixelRatio),s.uniforms.permutation=k[a],n=0;n<this.contourLevels[a].length;++n)this._contourCounts[a][n]&&(s.uniforms.height=this.contourLevels[a][n],l.draw(e.LINES,this._contourCounts[a][n],this._contourOffsets[a][n]));for(n=0;n<3;++n)for(s.uniforms.model=o.projections[n],s.uniforms.clipBounds=o.clipBounds[n],a=0;a<3;++a)if(this.contourProject[n][a]){s.uniforms.permutation=k[a],e.lineWidth(this.contourWidth[a]*this.pixelRatio);for(var c=0;c<this.contourLevels[a].length;++c)this._contourCounts[a][c]&&(s.uniforms.height=this.contourLevels[a][c],l.draw(e.LINES,this._contourCounts[a][c],this._contourOffsets[a][c]))}l.unbind()}},S.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=this._field[2].shape,r=this._pickResult,n=e[0]*(t.value[0]+(t.value[2]>>4)/16)/255,i=Math.floor(n),a=n-i,o=e[1]*(t.value[1]+(15&t.value[2])/16)/255,s=Math.floor(o),l=o-s;i+=1,s+=1;var c=r.position;c[0]=c[1]=c[2]=0;for(var u=0;u<2;++u)for(var f=u?a:1-a,h=0;h<2;++h)for(var p=i+u,d=s+h,m=f*(h?l:1-l),v=0;v<3;++v)c[v]+=this._field[v].get(p,d)*m;for(var y=this._pickResult.level,x=0;x<3;++x)if(y[x]=g.le(this.contourLevels[x],c[x]),y[x]<0)this.contourLevels[x].length>0&&(y[x]=0);else if(y[x]<this.contourLevels[x].length-1){var b=this.contourLevels[x][y[x]],_=this.contourLevels[x][y[x]+1];Math.abs(b-c[x])>Math.abs(_-c[x])&&(y[x]+=1)}for(r.index[0]=a<.5?i:i+1,r.index[1]=l<.5?s:s+1,r.uv[0]=n/e[0],r.uv[1]=o/e[1],v=0;v<3;++v)r.dataCoordinate[v]=this._field[v].get(r.index[0],r.index[1]);return r},S.padField=function(t,e){var r=e.shape.slice(),n=t.shape.slice();c.assign(t.lo(1,1).hi(r[0],r[1]),e),c.assign(t.lo(1).hi(r[0],1),e.hi(r[0],1)),c.assign(t.lo(1,n[1]-1).hi(r[0],1),e.lo(0,r[1]-1).hi(r[0],1)),c.assign(t.lo(0,1).hi(1,r[1]),e.hi(1)),c.assign(t.lo(n[0]-1,1).hi(1,r[1]),e.lo(r[0]-1)),t.set(0,0,e.get(0,0)),t.set(0,n[1]-1,e.get(0,r[1]-1)),t.set(n[0]-1,0,e.get(r[0]-1,0)),t.set(n[0]-1,n[1]-1,e.get(r[0]-1,r[1]-1))},S.update=function(t){t=t||{},this.objectOffset=t.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in t&&(this.contourWidth=R(t.contourWidth,Number)),"showContour"in t&&(this.showContour=R(t.showContour,Boolean)),"showSurface"in t&&(this.showSurface=!!t.showSurface),"contourTint"in t&&(this.contourTint=R(t.contourTint,Boolean)),"contourColor"in t&&(this.contourColor=B(t.contourColor)),"contourProject"in t&&(this.contourProject=R(t.contourProject,(function(t){return R(t,Boolean)}))),"surfaceProject"in t&&(this.surfaceProject=t.surfaceProject),"dynamicColor"in t&&(this.dynamicColor=B(t.dynamicColor)),"dynamicTint"in t&&(this.dynamicTint=R(t.dynamicTint,Number)),"dynamicWidth"in t&&(this.dynamicWidth=R(t.dynamicWidth,Number)),"opacity"in t&&(this.opacity=t.opacity),"opacityscale"in t&&(this.opacityscale=t.opacityscale),"colorBounds"in t&&(this.colorBounds=t.colorBounds),"vertexColor"in t&&(this.vertexColor=t.vertexColor?1:0),"colormap"in t&&this._colorMap.setPixels(this.genColormap(t.colormap,this.opacityscale));var e=t.field||t.coords&&t.coords[2]||null,r=!1;if(e||(e=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in t||"coords"in t){var i=(e.shape[0]+2)*(e.shape[1]+2);i>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(n.nextPow2(i))),this._field[2]=f(this._field[2].data,[e.shape[0]+2,e.shape[1]+2]),this.padField(this._field[2],e),this.shape=e.shape.slice();for(var a=this.shape,o=0;o<2;++o)this._field[2].size>this._field[o].data.length&&(s.freeFloat(this._field[o].data),this._field[o].data=s.mallocFloat(this._field[2].size)),this._field[o]=f(this._field[o].data,[a[0]+2,a[1]+2]);if(t.coords){var l=t.coords;if(!Array.isArray(l)||3!==l.length)throw new Error("gl-surface: invalid coordinates for x/y");for(o=0;o<2;++o){var c=l[o];for(v=0;v<2;++v)if(c.shape[v]!==a[v])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[o],c)}}else if(t.ticks){var u=t.ticks;if(!Array.isArray(u)||2!==u.length)throw new Error("gl-surface: invalid ticks");for(o=0;o<2;++o){var p=u[o];if((Array.isArray(p)||p.length)&&(p=f(p)),p.shape[0]!==a[o])throw new Error("gl-surface: invalid tick length");var d=f(p.data,a);d.stride[o]=p.stride[0],d.stride[1^o]=0,this.padField(this._field[o],d)}}else{for(o=0;o<2;++o){var g=[0,0];g[o]=1,this._field[o]=f(this._field[o].data,[a[0]+2,a[1]+2],g,0)}this._field[0].set(0,0,0);for(var v=0;v<a[0];++v)this._field[0].set(v+1,0,v);for(this._field[0].set(a[0]+1,0,a[0]-1),this._field[1].set(0,0,0),v=0;v<a[1];++v)this._field[1].set(0,v+1,v);this._field[1].set(0,a[1]+1,a[1]-1)}var y=this._field,x=f(s.mallocFloat(3*y[2].size*2),[3,a[0]+2,a[1]+2,2]);for(o=0;o<3;++o)m(x.pick(o),y[o],"mirror");var b=f(s.mallocFloat(3*y[2].size),[a[0]+2,a[1]+2,3]);for(o=0;o<a[0]+2;++o)for(v=0;v<a[1]+2;++v){var _=x.get(0,o,v,0),w=x.get(0,o,v,1),k=x.get(1,o,v,0),A=x.get(1,o,v,1),M=x.get(2,o,v,0),S=x.get(2,o,v,1),E=k*S-A*M,L=M*w-S*_,C=_*A-w*k,P=Math.sqrt(E*E+L*L+C*C);P<1e-8?(P=Math.max(Math.abs(E),Math.abs(L),Math.abs(C)))<1e-8?(C=1,L=E=0,P=1):P=1/P:P=1/Math.sqrt(P),b.set(o,v,0,E*P),b.set(o,v,1,L*P),b.set(o,v,2,C*P)}s.free(x.data);var I=[1/0,1/0,1/0],O=[-1/0,-1/0,-1/0],z=1/0,D=-1/0,F=(a[0]-1)*(a[1]-1)*6,N=s.mallocFloat(n.nextPow2(10*F)),j=0,U=0;for(o=0;o<a[0]-1;++o)t:for(v=0;v<a[1]-1;++v){for(var V=0;V<2;++V)for(var H=0;H<2;++H)for(var q=0;q<3;++q){var G=this._field[q].get(1+o+V,1+v+H);if(isNaN(G)||!isFinite(G))continue t}for(q=0;q<6;++q){var Y=o+T[q][0],W=v+T[q][1],X=this._field[0].get(Y+1,W+1),Z=this._field[1].get(Y+1,W+1);G=this._field[2].get(Y+1,W+1),E=b.get(Y+1,W+1,0),L=b.get(Y+1,W+1,1),C=b.get(Y+1,W+1,2),t.intensity&&(J=t.intensity.get(Y,W));var J=t.intensity?t.intensity.get(Y,W):G+this.objectOffset[2];N[j++]=Y,N[j++]=W,N[j++]=X,N[j++]=Z,N[j++]=G,N[j++]=0,N[j++]=J,N[j++]=E,N[j++]=L,N[j++]=C,I[0]=Math.min(I[0],X+this.objectOffset[0]),I[1]=Math.min(I[1],Z+this.objectOffset[1]),I[2]=Math.min(I[2],G+this.objectOffset[2]),z=Math.min(z,J),O[0]=Math.max(O[0],X+this.objectOffset[0]),O[1]=Math.max(O[1],Z+this.objectOffset[1]),O[2]=Math.max(O[2],G+this.objectOffset[2]),D=Math.max(D,J),U+=1}}for(t.intensityBounds&&(z=+t.intensityBounds[0],D=+t.intensityBounds[1]),o=6;o<j;o+=10)N[o]=(N[o]-z)/(D-z);this._vertexCount=U,this._coordinateBuffer.update(N.subarray(0,j)),s.freeFloat(N),s.free(b.data),this.bounds=[I,O],this.intensity=t.intensity||this._field[2],this.intensityBounds[0]===z&&this.intensityBounds[1]===D||(r=!0),this.intensityBounds=[z,D]}if("levels"in t){var K=t.levels;for(K=Array.isArray(K[0])?K.slice():[[],[],K],o=0;o<3;++o)K[o]=K[o].slice(),K[o].sort((function(t,e){return t-e}));for(o=0;o<3;++o)for(v=0;v<K[o].length;++v)K[o][v]-=this.objectOffset[o];t:for(o=0;o<3;++o){if(K[o].length!==this.contourLevels[o].length){r=!0;break}for(v=0;v<K[o].length;++v)if(K[o][v]!==this.contourLevels[o][v]){r=!0;break t}}this.contourLevels=K}if(r){y=this._field,a=this.shape;for(var Q=[],$=0;$<3;++$){var tt=this.contourLevels[$],et=[],rt=[],nt=[0,0,0];for(o=0;o<tt.length;++o){var it=h(this._field[$],tt[o]);et.push(Q.length/5|0),U=0;t:for(v=0;v<it.cells.length;++v){var at=it.cells[v];for(q=0;q<2;++q){var ot=it.positions[at[q]],st=ot[0],lt=0|Math.floor(st),ct=st-lt,ut=ot[1],ft=0|Math.floor(ut),ht=ut-ft,pt=!1;e:for(var dt=0;dt<3;++dt){nt[dt]=0;var gt=($+dt+1)%3;for(V=0;V<2;++V){var mt=V?ct:1-ct;for(Y=0|Math.min(Math.max(lt+V,0),a[0]),H=0;H<2;++H){var vt=H?ht:1-ht;if(W=0|Math.min(Math.max(ft+H,0),a[1]),G=dt<2?this._field[gt].get(Y,W):(this.intensity.get(Y,W)-this.intensityBounds[0])/(this.intensityBounds[1]-this.intensityBounds[0]),!isFinite(G)||isNaN(G)){pt=!0;break e}var yt=mt*vt;nt[dt]+=yt*G}}}if(pt){if(q>0){for(var xt=0;xt<5;++xt)Q.pop();U-=1}continue t}Q.push(nt[0],nt[1],ot[0],ot[1],nt[2]),U+=1}}rt.push(U)}this._contourOffsets[$]=et,this._contourCounts[$]=rt}var bt=s.mallocFloat(Q.length);for(o=0;o<Q.length;++o)bt[o]=Q[o];this._contourBuffer.update(bt),s.freeFloat(bt)}},S.dispose=function(){this._shader.dispose(),this._vao.dispose(),this._coordinateBuffer.dispose(),this._colorMap.dispose(),this._contourBuffer.dispose(),this._contourVAO.dispose(),this._contourShader.dispose(),this._contourPickShader.dispose(),this._dynamicBuffer.dispose(),this._dynamicVAO.dispose();for(var t=0;t<3;++t)s.freeFloat(this._field[t].data)},S.highlight=function(t){var e,r;if(!t)return this._dynamicCounts=[0,0,0],this.dyanamicLevel=[NaN,NaN,NaN],void(this.highlightLevel=[-1,-1,-1]);for(e=0;e<3;++e)this.enableHighlight[e]?this.highlightLevel[e]=t.level[e]:this.highlightLevel[e]=-1;for(r=this.snapToData?t.dataCoordinate:t.position,e=0;e<3;++e)r[e]-=this.objectOffset[e];if(this.enableDynamic[0]&&r[0]!==this.dynamicLevel[0]||this.enableDynamic[1]&&r[1]!==this.dynamicLevel[1]||this.enableDynamic[2]&&r[2]!==this.dynamicLevel[2]){for(var n=0,i=this.shape,a=s.mallocFloat(12*i[0]*i[1]),o=0;o<3;++o)if(this.enableDynamic[o]){this.dynamicLevel[o]=r[o];var l=(o+1)%3,c=(o+2)%3,u=this._field[o],f=this._field[l],p=this._field[c],d=h(u,r[o]),g=d.cells,m=d.positions;for(this._dynamicOffsets[o]=n,e=0;e<g.length;++e)for(var v=g[e],y=0;y<2;++y){var x=m[v[y]],b=+x[0],_=0|b,w=0|Math.min(_+1,i[0]),T=b-_,k=1-T,A=+x[1],M=0|A,S=0|Math.min(M+1,i[1]),E=A-M,L=1-E,C=k*L,P=k*E,I=T*L,O=T*E,z=C*f.get(_,M)+P*f.get(_,S)+I*f.get(w,M)+O*f.get(w,S),D=C*p.get(_,M)+P*p.get(_,S)+I*p.get(w,M)+O*p.get(w,S);if(isNaN(z)||isNaN(D)){y&&(n-=1);break}a[2*n+0]=z,a[2*n+1]=D,n+=1}this._dynamicCounts[o]=n-this._dynamicOffsets[o]}else this.dynamicLevel[o]=NaN,this._dynamicCounts[o]=0;this._dynamicBuffer.update(a.subarray(0,2*n)),s.freeFloat(a)}}},{"./lib/shaders":144,"binary-search-bounds":31,"bit-twiddle":32,colormap:53,"gl-buffer":78,"gl-mat4/invert":98,"gl-mat4/multiply":100,"gl-texture2d":146,"gl-vao":150,ndarray:259,"ndarray-gradient":252,"ndarray-ops":254,"ndarray-pack":255,"surface-nets":302,"typedarray-pool":308}],146:[function(t,e,r){"use strict";var n=t("ndarray"),i=t("ndarray-ops"),a=t("typedarray-pool");e.exports=function(t){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");o||c(t);if("number"==typeof arguments[1])return v(t,arguments[1],arguments[2],arguments[3]||t.RGBA,arguments[4]||t.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return v(t,0|arguments[1][0],0|arguments[1][1],arguments[2]||t.RGBA,arguments[3]||t.UNSIGNED_BYTE);if("object"==typeof arguments[1]){var e=arguments[1],r=u(e)?e:e.raw;if(r)return y(t,r,0|e.width,0|e.height,arguments[2]||t.RGBA,arguments[3]||t.UNSIGNED_BYTE);if(e.shape&&e.data&&e.stride)return x(t,e)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")};var o=null,s=null,l=null;function c(t){o=[t.LINEAR,t.NEAREST_MIPMAP_LINEAR,t.LINEAR_MIPMAP_NEAREST,t.LINEAR_MIPMAP_NEAREST],s=[t.NEAREST,t.LINEAR,t.NEAREST_MIPMAP_NEAREST,t.NEAREST_MIPMAP_LINEAR,t.LINEAR_MIPMAP_NEAREST,t.LINEAR_MIPMAP_LINEAR],l=[t.REPEAT,t.CLAMP_TO_EDGE,t.MIRRORED_REPEAT]}function u(t){return"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement||"undefined"!=typeof ImageData&&t instanceof ImageData}var f=function(t,e){i.muls(t,e,255)};function h(t,e,r){var n=t.gl,i=n.getParameter(n.MAX_TEXTURE_SIZE);if(e<0||e>i||r<0||r>i)throw new Error("gl-texture2d: Invalid texture size");return t._shape=[e,r],t.bind(),n.texImage2D(n.TEXTURE_2D,0,t.format,e,r,0,t.format,t.type,null),t._mipLevels=[0],t}function p(t,e,r,n,i,a){this.gl=t,this.handle=e,this.format=i,this.type=a,this._shape=[r,n],this._mipLevels=[0],this._magFilter=t.NEAREST,this._minFilter=t.NEAREST,this._wrapS=t.CLAMP_TO_EDGE,this._wrapT=t.CLAMP_TO_EDGE,this._anisoSamples=1;var o=this,s=[this._wrapS,this._wrapT];Object.defineProperties(s,[{get:function(){return o._wrapS},set:function(t){return o.wrapS=t}},{get:function(){return o._wrapT},set:function(t){return o.wrapT=t}}]),this._wrapVector=s;var l=[this._shape[0],this._shape[1]];Object.defineProperties(l,[{get:function(){return o._shape[0]},set:function(t){return o.width=t}},{get:function(){return o._shape[1]},set:function(t){return o.height=t}}]),this._shapeVector=l}var d=p.prototype;function g(t,e){return 3===t.length?1===e[2]&&e[1]===t[0]*t[2]&&e[0]===t[2]:1===e[0]&&e[1]===t[0]}function m(t){var e=t.createTexture();return t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),e}function v(t,e,r,n,i){var a=t.getParameter(t.MAX_TEXTURE_SIZE);if(e<0||e>a||r<0||r>a)throw new Error("gl-texture2d: Invalid texture shape");if(i===t.FLOAT&&!t.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var o=m(t);return t.texImage2D(t.TEXTURE_2D,0,n,e,r,0,n,i,null),new p(t,o,e,r,n,i)}function y(t,e,r,n,i,a){var o=m(t);return t.texImage2D(t.TEXTURE_2D,0,i,i,a,e),new p(t,o,r,n,i,a)}function x(t,e){var r=e.dtype,o=e.shape.slice(),s=t.getParameter(t.MAX_TEXTURE_SIZE);if(o[0]<0||o[0]>s||o[1]<0||o[1]>s)throw new Error("gl-texture2d: Invalid texture size");var l=g(o,e.stride.slice()),c=0;"float32"===r?c=t.FLOAT:"float64"===r?(c=t.FLOAT,l=!1,r="float32"):"uint8"===r?c=t.UNSIGNED_BYTE:(c=t.UNSIGNED_BYTE,l=!1,r="uint8");var u,h,d=0;if(2===o.length)d=t.LUMINANCE,o=[o[0],o[1],1],e=n(e.data,o,[e.stride[0],e.stride[1],1],e.offset);else{if(3!==o.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===o[2])d=t.ALPHA;else if(2===o[2])d=t.LUMINANCE_ALPHA;else if(3===o[2])d=t.RGB;else{if(4!==o[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");d=t.RGBA}}c!==t.FLOAT||t.getExtension("OES_texture_float")||(c=t.UNSIGNED_BYTE,l=!1);var v=e.size;if(l)u=0===e.offset&&e.data.length===v?e.data:e.data.subarray(e.offset,e.offset+v);else{var y=[o[2],o[2]*o[0],1];h=a.malloc(v,r);var x=n(h,o,y,0);"float32"!==r&&"float64"!==r||c!==t.UNSIGNED_BYTE?i.assign(x,e):f(x,e),u=h.subarray(0,v)}var b=m(t);return t.texImage2D(t.TEXTURE_2D,0,d,o[0],o[1],0,d,c,u),l||a.free(h),new p(t,b,o[0],o[1],d,c)}Object.defineProperties(d,{minFilter:{get:function(){return this._minFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&o.indexOf(t)>=0&&(e.getExtension("OES_texture_float_linear")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error("gl-texture2d: Unknown filter mode "+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t),this._minFilter=t}},magFilter:{get:function(){return this._magFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&o.indexOf(t)>=0&&(e.getExtension("OES_texture_float_linear")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error("gl-texture2d: Unknown filter mode "+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,t),this._magFilter=t}},mipSamples:{get:function(){return this._anisoSamples},set:function(t){var e=this._anisoSamples;if(this._anisoSamples=0|Math.max(t,1),e!==this._anisoSamples){var r=this.gl.getExtension("EXT_texture_filter_anisotropic");r&&this.gl.texParameterf(this.gl.TEXTURE_2D,r.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,t),this._wrapS=t}},wrapT:{get:function(){return this._wrapT},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,t),this._wrapT=t}},wrap:{get:function(){return this._wrapVector},set:function(t){if(Array.isArray(t)||(t=[t,t]),2!==t.length)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var e=0;e<2;++e)if(l.indexOf(t[e])<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);this._wrapS=t[0],this._wrapT=t[1];var r=this.gl;return this.bind(),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,this._wrapS),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,this._wrapT),t}},shape:{get:function(){return this._shapeVector},set:function(t){if(Array.isArray(t)){if(2!==t.length)throw new Error("gl-texture2d: Invalid texture shape")}else t=[0|t,0|t];return h(this,0|t[0],0|t[1]),[0|t[0],0|t[1]]}},width:{get:function(){return this._shape[0]},set:function(t){return h(this,t|=0,this._shape[1]),t}},height:{get:function(){return this._shape[1]},set:function(t){return t|=0,h(this,this._shape[0],t),t}}}),d.bind=function(t){var e=this.gl;return void 0!==t&&e.activeTexture(e.TEXTURE0+(0|t)),e.bindTexture(e.TEXTURE_2D,this.handle),void 0!==t?0|t:e.getParameter(e.ACTIVE_TEXTURE)-e.TEXTURE0},d.dispose=function(){this.gl.deleteTexture(this.handle)},d.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var t=Math.min(this._shape[0],this._shape[1]),e=0;t>0;++e,t>>>=1)this._mipLevels.indexOf(e)<0&&this._mipLevels.push(e)},d.setPixels=function(t,e,r,o){var s=this.gl;this.bind(),Array.isArray(e)?(o=r,r=0|e[1],e=0|e[0]):(e=e||0,r=r||0),o=o||0;var l=u(t)?t:t.raw;if(l){this._mipLevels.indexOf(o)<0?(s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,this.type,l),this._mipLevels.push(o)):s.texSubImage2D(s.TEXTURE_2D,o,e,r,this.format,this.type,l)}else{if(!(t.shape&&t.stride&&t.data))throw new Error("gl-texture2d: Unsupported data type");if(t.shape.length<2||e+t.shape[1]>this._shape[1]>>>o||r+t.shape[0]>this._shape[0]>>>o||e<0||r<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");!function(t,e,r,o,s,l,c,u){var h=u.dtype,p=u.shape.slice();if(p.length<2||p.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var d=0,m=0,v=g(p,u.stride.slice());"float32"===h?d=t.FLOAT:"float64"===h?(d=t.FLOAT,v=!1,h="float32"):"uint8"===h?d=t.UNSIGNED_BYTE:(d=t.UNSIGNED_BYTE,v=!1,h="uint8");if(2===p.length)m=t.LUMINANCE,p=[p[0],p[1],1],u=n(u.data,p,[u.stride[0],u.stride[1],1],u.offset);else{if(3!==p.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===p[2])m=t.ALPHA;else if(2===p[2])m=t.LUMINANCE_ALPHA;else if(3===p[2])m=t.RGB;else{if(4!==p[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");m=t.RGBA}p[2]}m!==t.LUMINANCE&&m!==t.ALPHA||s!==t.LUMINANCE&&s!==t.ALPHA||(m=s);if(m!==s)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var y=u.size,x=c.indexOf(o)<0;x&&c.push(o);if(d===l&&v)0===u.offset&&u.data.length===y?x?t.texImage2D(t.TEXTURE_2D,o,s,p[0],p[1],0,s,l,u.data):t.texSubImage2D(t.TEXTURE_2D,o,e,r,p[0],p[1],s,l,u.data):x?t.texImage2D(t.TEXTURE_2D,o,s,p[0],p[1],0,s,l,u.data.subarray(u.offset,u.offset+y)):t.texSubImage2D(t.TEXTURE_2D,o,e,r,p[0],p[1],s,l,u.data.subarray(u.offset,u.offset+y));else{var b;b=l===t.FLOAT?a.mallocFloat32(y):a.mallocUint8(y);var _=n(b,p,[p[2],p[2]*p[0],1]);d===t.FLOAT&&l===t.UNSIGNED_BYTE?f(_,u):i.assign(_,u),x?t.texImage2D(t.TEXTURE_2D,o,s,p[0],p[1],0,s,l,b.subarray(0,y)):t.texSubImage2D(t.TEXTURE_2D,o,e,r,p[0],p[1],s,l,b.subarray(0,y)),l===t.FLOAT?a.freeFloat32(b):a.freeUint8(b)}}(s,e,r,o,this.format,this.type,this._mipLevels,t)}}},{ndarray:259,"ndarray-ops":254,"typedarray-pool":308}],147:[function(t,e,r){"use strict";e.exports=function(t,e,r){e?e.bind():t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null);var n=0|t.getParameter(t.MAX_VERTEX_ATTRIBS);if(r){if(r.length>n)throw new Error("gl-vao: Too many vertex attributes");for(var i=0;i<r.length;++i){var a=r[i];if(a.buffer){var o=a.buffer,s=a.size||4,l=a.type||t.FLOAT,c=!!a.normalized,u=a.stride||0,f=a.offset||0;o.bind(),t.enableVertexAttribArray(i),t.vertexAttribPointer(i,s,l,c,u,f)}else{if("number"==typeof a)t.vertexAttrib1f(i,a);else if(1===a.length)t.vertexAttrib1f(i,a[0]);else if(2===a.length)t.vertexAttrib2f(i,a[0],a[1]);else if(3===a.length)t.vertexAttrib3f(i,a[0],a[1],a[2]);else{if(4!==a.length)throw new Error("gl-vao: Invalid vertex attribute");t.vertexAttrib4f(i,a[0],a[1],a[2],a[3])}t.disableVertexAttribArray(i)}}for(;i<n;++i)t.disableVertexAttribArray(i)}else{t.bindBuffer(t.ARRAY_BUFFER,null);for(i=0;i<n;++i)t.disableVertexAttribArray(i)}}},{}],148:[function(t,e,r){"use strict";var n=t("./do-bind.js");function i(t){this.gl=t,this._elements=null,this._attributes=null,this._elementsType=t.UNSIGNED_SHORT}i.prototype.bind=function(){n(this.gl,this._elements,this._attributes)},i.prototype.update=function(t,e,r){this._elements=e,this._attributes=t,this._elementsType=r||this.gl.UNSIGNED_SHORT},i.prototype.dispose=function(){},i.prototype.unbind=function(){},i.prototype.draw=function(t,e,r){r=r||0;var n=this.gl;this._elements?n.drawElements(t,e,this._elementsType,r):n.drawArrays(t,r,e)},e.exports=function(t){return new i(t)}},{"./do-bind.js":147}],149:[function(t,e,r){"use strict";var n=t("./do-bind.js");function i(t,e,r,n,i,a){this.location=t,this.dimension=e,this.a=r,this.b=n,this.c=i,this.d=a}function a(t,e,r){this.gl=t,this._ext=e,this.handle=r,this._attribs=[],this._useElements=!1,this._elementsType=t.UNSIGNED_SHORT}i.prototype.bind=function(t){switch(this.dimension){case 1:t.vertexAttrib1f(this.location,this.a);break;case 2:t.vertexAttrib2f(this.location,this.a,this.b);break;case 3:t.vertexAttrib3f(this.location,this.a,this.b,this.c);break;case 4:t.vertexAttrib4f(this.location,this.a,this.b,this.c,this.d)}},a.prototype.bind=function(){this._ext.bindVertexArrayOES(this.handle);for(var t=0;t<this._attribs.length;++t)this._attribs[t].bind(this.gl)},a.prototype.unbind=function(){this._ext.bindVertexArrayOES(null)},a.prototype.dispose=function(){this._ext.deleteVertexArrayOES(this.handle)},a.prototype.update=function(t,e,r){if(this.bind(),n(this.gl,e,t),this.unbind(),this._attribs.length=0,t)for(var a=0;a<t.length;++a){var o=t[a];"number"==typeof o?this._attribs.push(new i(a,1,o)):Array.isArray(o)&&this._attribs.push(new i(a,o.length,o[0],o[1],o[2],o[3]))}this._useElements=!!e,this._elementsType=r||this.gl.UNSIGNED_SHORT},a.prototype.draw=function(t,e,r){r=r||0;var n=this.gl;this._useElements?n.drawElements(t,e,this._elementsType,r):n.drawArrays(t,r,e)},e.exports=function(t,e){return new a(t,e,e.createVertexArrayOES())}},{"./do-bind.js":147}],150:[function(t,e,r){"use strict";var n=t("./lib/vao-native.js"),i=t("./lib/vao-emulated.js");function a(t){this.bindVertexArrayOES=t.bindVertexArray.bind(t),this.createVertexArrayOES=t.createVertexArray.bind(t),this.deleteVertexArrayOES=t.deleteVertexArray.bind(t)}e.exports=function(t,e,r,o){var s,l=t.createVertexArray?new a(t):t.getExtension("OES_vertex_array_object");return(s=l?n(t,l):i(t)).update(e,r,o),s}},{"./lib/vao-emulated.js":148,"./lib/vao-native.js":149}],151:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t}},{}],152:[function(t,e,r){e.exports=function(t,e){var r=n(t[0],t[1],t[2]),o=n(e[0],e[1],e[2]);i(r,r),i(o,o);var s=a(r,o);return s>1?0:Math.acos(s)};var n=t("./fromValues"),i=t("./normalize"),a=t("./dot")},{"./dot":162,"./fromValues":168,"./normalize":179}],153:[function(t,e,r){e.exports=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t}},{}],154:[function(t,e,r){e.exports=function(t){var e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},{}],155:[function(t,e,r){e.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}},{}],156:[function(t,e,r){e.exports=function(){var t=new Float32Array(3);return t[0]=0,t[1]=0,t[2]=0,t}},{}],157:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=r[0],s=r[1],l=r[2];return t[0]=i*l-a*s,t[1]=a*o-n*l,t[2]=n*s-i*o,t}},{}],158:[function(t,e,r){e.exports=t("./distance")},{"./distance":159}],159:[function(t,e,r){e.exports=function(t,e){var r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(r*r+n*n+i*i)}},{}],160:[function(t,e,r){e.exports=t("./divide")},{"./divide":161}],161:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t}},{}],162:[function(t,e,r){e.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}},{}],163:[function(t,e,r){e.exports=1e-6},{}],164:[function(t,e,r){e.exports=function(t,e){var r=t[0],i=t[1],a=t[2],o=e[0],s=e[1],l=e[2];return Math.abs(r-o)<=n*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-s)<=n*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-l)<=n*Math.max(1,Math.abs(a),Math.abs(l))};var n=t("./epsilon")},{"./epsilon":163}],165:[function(t,e,r){e.exports=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}},{}],166:[function(t,e,r){e.exports=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}},{}],167:[function(t,e,r){e.exports=function(t,e,r,i,a,o){var s,l;e||(e=3);r||(r=0);l=i?Math.min(i*e+r,t.length):t.length;for(s=r;s<l;s+=e)n[0]=t[s],n[1]=t[s+1],n[2]=t[s+2],a(n,n,o),t[s]=n[0],t[s+1]=n[1],t[s+2]=n[2];return t};var n=t("./create")()},{"./create":156}],168:[function(t,e,r){e.exports=function(t,e,r){var n=new Float32Array(3);return n[0]=t,n[1]=e,n[2]=r,n}},{}],169:[function(t,e,r){e.exports={EPSILON:t("./epsilon"),create:t("./create"),clone:t("./clone"),angle:t("./angle"),fromValues:t("./fromValues"),copy:t("./copy"),set:t("./set"),equals:t("./equals"),exactEquals:t("./exactEquals"),add:t("./add"),subtract:t("./subtract"),sub:t("./sub"),multiply:t("./multiply"),mul:t("./mul"),divide:t("./divide"),div:t("./div"),min:t("./min"),max:t("./max"),floor:t("./floor"),ceil:t("./ceil"),round:t("./round"),scale:t("./scale"),scaleAndAdd:t("./scaleAndAdd"),distance:t("./distance"),dist:t("./dist"),squaredDistance:t("./squaredDistance"),sqrDist:t("./sqrDist"),length:t("./length"),len:t("./len"),squaredLength:t("./squaredLength"),sqrLen:t("./sqrLen"),negate:t("./negate"),inverse:t("./inverse"),normalize:t("./normalize"),dot:t("./dot"),cross:t("./cross"),lerp:t("./lerp"),random:t("./random"),transformMat4:t("./transformMat4"),transformMat3:t("./transformMat3"),transformQuat:t("./transformQuat"),rotateX:t("./rotateX"),rotateY:t("./rotateY"),rotateZ:t("./rotateZ"),forEach:t("./forEach")}},{"./add":151,"./angle":152,"./ceil":153,"./clone":154,"./copy":155,"./create":156,"./cross":157,"./dist":158,"./distance":159,"./div":160,"./divide":161,"./dot":162,"./epsilon":163,"./equals":164,"./exactEquals":165,"./floor":166,"./forEach":167,"./fromValues":168,"./inverse":170,"./len":171,"./length":172,"./lerp":173,"./max":174,"./min":175,"./mul":176,"./multiply":177,"./negate":178,"./normalize":179,"./random":180,"./rotateX":181,"./rotateY":182,"./rotateZ":183,"./round":184,"./scale":185,"./scaleAndAdd":186,"./set":187,"./sqrDist":188,"./sqrLen":189,"./squaredDistance":190,"./squaredLength":191,"./sub":192,"./subtract":193,"./transformMat3":194,"./transformMat4":195,"./transformQuat":196}],170:[function(t,e,r){e.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}},{}],171:[function(t,e,r){e.exports=t("./length")},{"./length":172}],172:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2];return Math.sqrt(e*e+r*r+n*n)}},{}],173:[function(t,e,r){e.exports=function(t,e,r,n){var i=e[0],a=e[1],o=e[2];return t[0]=i+n*(r[0]-i),t[1]=a+n*(r[1]-a),t[2]=o+n*(r[2]-o),t}},{}],174:[function(t,e,r){e.exports=function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t}},{}],175:[function(t,e,r){e.exports=function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t}},{}],176:[function(t,e,r){e.exports=t("./multiply")},{"./multiply":177}],177:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t}},{}],178:[function(t,e,r){e.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}},{}],179:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=r*r+n*n+i*i;a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a);return t}},{}],180:[function(t,e,r){e.exports=function(t,e){e=e||1;var r=2*Math.random()*Math.PI,n=2*Math.random()-1,i=Math.sqrt(1-n*n)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=n*e,t}},{}],181:[function(t,e,r){e.exports=function(t,e,r,n){var i=r[1],a=r[2],o=e[1]-i,s=e[2]-a,l=Math.sin(n),c=Math.cos(n);return t[0]=e[0],t[1]=i+o*c-s*l,t[2]=a+o*l+s*c,t}},{}],182:[function(t,e,r){e.exports=function(t,e,r,n){var i=r[0],a=r[2],o=e[0]-i,s=e[2]-a,l=Math.sin(n),c=Math.cos(n);return t[0]=i+s*l+o*c,t[1]=e[1],t[2]=a+s*c-o*l,t}},{}],183:[function(t,e,r){e.exports=function(t,e,r,n){var i=r[0],a=r[1],o=e[0]-i,s=e[1]-a,l=Math.sin(n),c=Math.cos(n);return t[0]=i+o*c-s*l,t[1]=a+o*l+s*c,t[2]=e[2],t}},{}],184:[function(t,e,r){e.exports=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t}},{}],185:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t}},{}],186:[function(t,e,r){e.exports=function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t}},{}],187:[function(t,e,r){e.exports=function(t,e,r,n){return t[0]=e,t[1]=r,t[2]=n,t}},{}],188:[function(t,e,r){e.exports=t("./squaredDistance")},{"./squaredDistance":190}],189:[function(t,e,r){e.exports=t("./squaredLength")},{"./squaredLength":191}],190:[function(t,e,r){e.exports=function(t,e){var r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2];return r*r+n*n+i*i}},{}],191:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2];return e*e+r*r+n*n}},{}],192:[function(t,e,r){e.exports=t("./subtract")},{"./subtract":193}],193:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t}},{}],194:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2];return t[0]=n*r[0]+i*r[3]+a*r[6],t[1]=n*r[1]+i*r[4]+a*r[7],t[2]=n*r[2]+i*r[5]+a*r[8],t}},{}],195:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=r[3]*n+r[7]*i+r[11]*a+r[15];return o=o||1,t[0]=(r[0]*n+r[4]*i+r[8]*a+r[12])/o,t[1]=(r[1]*n+r[5]*i+r[9]*a+r[13])/o,t[2]=(r[2]*n+r[6]*i+r[10]*a+r[14])/o,t}},{}],196:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=r[0],s=r[1],l=r[2],c=r[3],u=c*n+s*a-l*i,f=c*i+l*n-o*a,h=c*a+o*i-s*n,p=-o*n-s*i-l*a;return t[0]=u*c+p*-o+f*-l-h*-s,t[1]=f*c+p*-s+h*-o-u*-l,t[2]=h*c+p*-l+u*-s-f*-o,t}},{}],197:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}},{}],198:[function(t,e,r){e.exports=function(t){var e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}},{}],199:[function(t,e,r){e.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}},{}],200:[function(t,e,r){e.exports=function(){var t=new Float32Array(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}},{}],201:[function(t,e,r){e.exports=function(t,e){var r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return Math.sqrt(r*r+n*n+i*i+a*a)}},{}],202:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}},{}],203:[function(t,e,r){e.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}},{}],204:[function(t,e,r){e.exports=function(t,e,r,n){var i=new Float32Array(4);return i[0]=t,i[1]=e,i[2]=r,i[3]=n,i}},{}],205:[function(t,e,r){e.exports={create:t("./create"),clone:t("./clone"),fromValues:t("./fromValues"),copy:t("./copy"),set:t("./set"),add:t("./add"),subtract:t("./subtract"),multiply:t("./multiply"),divide:t("./divide"),min:t("./min"),max:t("./max"),scale:t("./scale"),scaleAndAdd:t("./scaleAndAdd"),distance:t("./distance"),squaredDistance:t("./squaredDistance"),length:t("./length"),squaredLength:t("./squaredLength"),negate:t("./negate"),inverse:t("./inverse"),normalize:t("./normalize"),dot:t("./dot"),lerp:t("./lerp"),random:t("./random"),transformMat4:t("./transformMat4"),transformQuat:t("./transformQuat")}},{"./add":197,"./clone":198,"./copy":199,"./create":200,"./distance":201,"./divide":202,"./dot":203,"./fromValues":204,"./inverse":206,"./length":207,"./lerp":208,"./max":209,"./min":210,"./multiply":211,"./negate":212,"./normalize":213,"./random":214,"./scale":215,"./scaleAndAdd":216,"./set":217,"./squaredDistance":218,"./squaredLength":219,"./subtract":220,"./transformMat4":221,"./transformQuat":222}],206:[function(t,e,r){e.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t}},{}],207:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2],i=t[3];return Math.sqrt(e*e+r*r+n*n+i*i)}},{}],208:[function(t,e,r){e.exports=function(t,e,r,n){var i=e[0],a=e[1],o=e[2],s=e[3];return t[0]=i+n*(r[0]-i),t[1]=a+n*(r[1]-a),t[2]=o+n*(r[2]-o),t[3]=s+n*(r[3]-s),t}},{}],209:[function(t,e,r){e.exports=function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}},{}],210:[function(t,e,r){e.exports=function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}},{}],211:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}},{}],212:[function(t,e,r){e.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t}},{}],213:[function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=r*r+n*n+i*i+a*a;o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=n*o,t[2]=i*o,t[3]=a*o);return t}},{}],214:[function(t,e,r){var n=t("./normalize"),i=t("./scale");e.exports=function(t,e){return e=e||1,t[0]=Math.random(),t[1]=Math.random(),t[2]=Math.random(),t[3]=Math.random(),n(t,t),i(t,t,e),t}},{"./normalize":213,"./scale":215}],215:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}},{}],216:[function(t,e,r){e.exports=function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t}},{}],217:[function(t,e,r){e.exports=function(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}},{}],218:[function(t,e,r){e.exports=function(t,e){var r=e[0]-t[0],n=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return r*r+n*n+i*i+a*a}},{}],219:[function(t,e,r){e.exports=function(t){var e=t[0],r=t[1],n=t[2],i=t[3];return e*e+r*r+n*n+i*i}},{}],220:[function(t,e,r){e.exports=function(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}},{}],221:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*a+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*a+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*a+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*a+r[15]*o,t}},{}],222:[function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=r[0],s=r[1],l=r[2],c=r[3],u=c*n+s*a-l*i,f=c*i+l*n-o*a,h=c*a+o*i-s*n,p=-o*n-s*i-l*a;return t[0]=u*c+p*-o+f*-l-h*-s,t[1]=f*c+p*-s+h*-o-u*-l,t[2]=h*c+p*-l+u*-s-f*-o,t[3]=e[3],t}},{}],223:[function(t,e,r){var n=t("glsl-tokenizer"),i=t("atob-lite");e.exports=function(t){for(var e=Array.isArray(t)?t:n(t),r=0;r<e.length;r++){var a=e[r];if("preprocessor"===a.type){var o=a.data.match(/\#define\s+SHADER_NAME(_B64)?\s+(.+)$/);if(o&&o[2]){var s=o[1],l=o[2];return(s?i(l):l).trim()}}}}},{"atob-lite":13,"glsl-tokenizer":230}],224:[function(t,e,r){e.exports=function(t){var e,r,c,u=0,f=0,h=999,p=[],d=[],g=1,m=0,v=0,y=!1,x=!1,b="",_=a,w=n;"300 es"===(t=t||{}).version&&(_=s,w=o);var T={},k={};for(u=0;u<_.length;u++)T[_[u]]=!0;for(u=0;u<w.length;u++)k[w[u]]=!0;return function(t){return d=[],null!==t?function(t){u=0,t.toString&&(t=t.toString());var r;b+=t.replace(/\r\n/g,"\n"),c=b.length;for(;e=b[u],u<c;){switch(r=u,h){case 0:u=L();break;case 1:case 2:u=E();break;case 3:u=C();break;case 4:u=O();break;case 11:u=I();break;case 5:u=z();break;case 9999:u=D();break;case 9:u=S();break;case 999:u=M()}if(r!==u)switch(b[r]){case"\n":m=0,++g;break;default:++m}}return f+=u,b=b.slice(u),d}(t):function(t){p.length&&A(p.join(""));return h=10,A("(eof)"),d}()};function A(t){t.length&&d.push({type:l[h],data:t,position:v,line:g,column:m})}function M(){return p=p.length?[]:p,"/"===r&&"*"===e?(v=f+u-1,h=0,r=e,u+1):"/"===r&&"/"===e?(v=f+u-1,h=1,r=e,u+1):"#"===e?(h=2,v=f+u,u):/\s/.test(e)?(h=9,v=f+u,u):(y=/\d/.test(e),x=/[^\w_]/.test(e),v=f+u,h=y?4:x?3:9999,u)}function S(){return/[^\s]/g.test(e)?(A(p.join("")),h=999,u):(p.push(e),r=e,u+1)}function E(){return"\r"!==e&&"\n"!==e||"\\"===r?(p.push(e),r=e,u+1):(A(p.join("")),h=999,u)}function L(){return"/"===e&&"*"===r?(p.push(e),A(p.join("")),h=999,u+1):(p.push(e),r=e,u+1)}function C(){if("."===r&&/\d/.test(e))return h=5,u;if("/"===r&&"*"===e)return h=0,u;if("/"===r&&"/"===e)return h=1,u;if("."===e&&p.length){for(;P(p););return h=5,u}if(";"===e||")"===e||"("===e){if(p.length)for(;P(p););return A(e),h=999,u+1}var t=2===p.length&&"="!==e;if(/[\w_\d\s]/.test(e)||t){for(;P(p););return h=999,u}return p.push(e),r=e,u+1}function P(t){for(var e,r,n=0;;){if(e=i.indexOf(t.slice(0,t.length+n).join("")),r=i[e],-1===e){if(n--+t.length>0)continue;r=t.slice(0,1).join("")}return A(r),v+=r.length,(p=p.slice(r.length)).length}}function I(){return/[^a-fA-F0-9]/.test(e)?(A(p.join("")),h=999,u):(p.push(e),r=e,u+1)}function O(){return"."===e||/[eE]/.test(e)?(p.push(e),h=5,r=e,u+1):"x"===e&&1===p.length&&"0"===p[0]?(h=11,p.push(e),r=e,u+1):/[^\d]/.test(e)?(A(p.join("")),h=999,u):(p.push(e),r=e,u+1)}function z(){return"f"===e&&(p.push(e),r=e,u+=1),/[eE]/.test(e)?(p.push(e),r=e,u+1):("-"!==e&&"+"!==e||!/[eE]/.test(r))&&/[^\d]/.test(e)?(A(p.join("")),h=999,u):(p.push(e),r=e,u+1)}function D(){if(/[^\d\w_]/.test(e)){var t=p.join("");return h=k[t]?8:T[t]?7:6,A(p.join("")),h=999,u}return p.push(e),r=e,u+1}};var n=t("./lib/literals"),i=t("./lib/operators"),a=t("./lib/builtins"),o=t("./lib/literals-300es"),s=t("./lib/builtins-300es"),l=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},{"./lib/builtins":226,"./lib/builtins-300es":225,"./lib/literals":228,"./lib/literals-300es":227,"./lib/operators":229}],225:[function(t,e,r){var n=t("./builtins");n=n.slice().filter((function(t){return!/^(gl\_|texture)/.test(t)})),e.exports=n.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},{"./builtins":226}],226:[function(t,e,r){e.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},{}],227:[function(t,e,r){var n=t("./literals");e.exports=n.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},{"./literals":228}],228:[function(t,e,r){e.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},{}],229:[function(t,e,r){e.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},{}],230:[function(t,e,r){var n=t("./index");e.exports=function(t,e){var r=n(e),i=[];return i=(i=i.concat(r(t))).concat(r(null))}},{"./index":224}],231:[function(t,e,r){e.exports=function(t){"string"==typeof t&&(t=[t]);for(var e=[].slice.call(arguments,1),r=[],n=0;n<t.length-1;n++)r.push(t[n],e[n]||"");return r.push(t[n]),r.join("")}},{}],232:[function(t,e,r){"use strict";var n=t("is-browser");e.exports=n&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){t=!1}return t}()},{"is-browser":236}],233:[function(t,e,r){"use strict";e.exports=function(t,e){var r=t.length;if(0===r)throw new Error("Must have at least d+1 points");var i=t[0].length;if(r<=i)throw new Error("Must input at least d+1 points");var o=t.slice(0,i+1),s=n.apply(void 0,o);if(0===s)throw new Error("Input not in general position");for(var l=new Array(i+1),u=0;u<=i;++u)l[u]=u;s<0&&(l[0]=1,l[1]=0);var f=new a(l,new Array(i+1),!1),h=f.adjacent,p=new Array(i+2);for(u=0;u<=i;++u){for(var d=l.slice(),g=0;g<=i;++g)g===u&&(d[g]=-1);var m=d[0];d[0]=d[1],d[1]=m;var v=new a(d,new Array(i+1),!0);h[u]=v,p[u]=v}p[i+1]=f;for(u=0;u<=i;++u){d=h[u].vertices;var y=h[u].adjacent;for(g=0;g<=i;++g){var x=d[g];if(x<0)y[g]=f;else for(var b=0;b<=i;++b)h[b].vertices.indexOf(x)<0&&(y[g]=h[b])}}var _=new c(i,o,p),w=!!e;for(u=i+1;u<r;++u)_.insert(t[u],w);return _.boundary()};var n=t("robust-orientation"),i=t("simplicial-complex").compareCells;function a(t,e,r){this.vertices=t,this.adjacent=e,this.boundary=r,this.lastVisited=-1}function o(t,e,r){this.vertices=t,this.cell=e,this.index=r}function s(t,e){return i(t.vertices,e.vertices)}a.prototype.flip=function(){var t=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=t;var e=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=e};var l=[];function c(t,e,r){this.dimension=t,this.vertices=e,this.simplices=r,this.interior=r.filter((function(t){return!t.boundary})),this.tuple=new Array(t+1);for(var i=0;i<=t;++i)this.tuple[i]=this.vertices[i];var a,o=l[t];o||(o=l[t]=((a=n[t+1])||(a=n),function(t){return function(){var e=this.tuple;return t.apply(this,e)}}(a))),this.orient=o}var u=c.prototype;u.handleBoundaryDegeneracy=function(t,e){var r=this.dimension,n=this.vertices.length-1,i=this.tuple,a=this.vertices,o=[t];for(t.lastVisited=-n;o.length>0;)for(var s=(t=o.pop()).adjacent,l=0;l<=r;++l){var c=s[l];if(c.boundary&&!(c.lastVisited<=-n)){for(var u=c.vertices,f=0;f<=r;++f){var h=u[f];i[f]=h<0?e:a[h]}var p=this.orient();if(p>0)return c;c.lastVisited=-n,0===p&&o.push(c)}}return null},u.walk=function(t,e){var r=this.vertices.length-1,n=this.dimension,i=this.vertices,a=this.tuple,o=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[o];t:for(;!s.boundary;){for(var l=s.vertices,c=s.adjacent,u=0;u<=n;++u)a[u]=i[l[u]];s.lastVisited=r;for(u=0;u<=n;++u){var f=c[u];if(!(f.lastVisited>=r)){var h=a[u];a[u]=t;var p=this.orient();if(a[u]=h,p<0){s=f;continue t}f.boundary?f.lastVisited=-r:f.lastVisited=r}}return}return s},u.addPeaks=function(t,e){var r=this.vertices.length-1,n=this.dimension,i=this.vertices,l=this.tuple,c=this.interior,u=this.simplices,f=[e];e.lastVisited=r,e.vertices[e.vertices.indexOf(-1)]=r,e.boundary=!1,c.push(e);for(var h=[];f.length>0;){var p=(e=f.pop()).vertices,d=e.adjacent,g=p.indexOf(r);if(!(g<0))for(var m=0;m<=n;++m)if(m!==g){var v=d[m];if(v.boundary&&!(v.lastVisited>=r)){var y=v.vertices;if(v.lastVisited!==-r){for(var x=0,b=0;b<=n;++b)y[b]<0?(x=b,l[b]=t):l[b]=i[y[b]];if(this.orient()>0){y[x]=r,v.boundary=!1,c.push(v),f.push(v),v.lastVisited=r;continue}v.lastVisited=-r}var _=v.adjacent,w=p.slice(),T=d.slice(),k=new a(w,T,!0);u.push(k);var A=_.indexOf(e);if(!(A<0)){_[A]=k,T[g]=v,w[m]=-1,T[m]=e,d[m]=k,k.flip();for(b=0;b<=n;++b){var M=w[b];if(!(M<0||M===r)){for(var S=new Array(n-1),E=0,L=0;L<=n;++L){var C=w[L];C<0||L===b||(S[E++]=C)}h.push(new o(S,k,b))}}}}}}h.sort(s);for(m=0;m+1<h.length;m+=2){var P=h[m],I=h[m+1],O=P.index,z=I.index;O<0||z<0||(P.cell.adjacent[P.index]=I.cell,I.cell.adjacent[I.index]=P.cell)}},u.insert=function(t,e){var r=this.vertices;r.push(t);var n=this.walk(t,e);if(n){for(var i=this.dimension,a=this.tuple,o=0;o<=i;++o){var s=n.vertices[o];a[o]=s<0?t:r[s]}var l=this.orient(a);l<0||(0!==l||(n=this.handleBoundaryDegeneracy(n,t)))&&this.addPeaks(t,n)}},u.boundary=function(){for(var t=this.dimension,e=[],r=this.simplices,n=r.length,i=0;i<n;++i){var a=r[i];if(a.boundary){for(var o=new Array(t),s=a.vertices,l=0,c=0,u=0;u<=t;++u)s[u]>=0?o[l++]=s[u]:c=1&u;if(c===(1&t)){var f=o[0];o[0]=o[1],o[1]=f}e.push(o)}}return e}},{"robust-orientation":284,"simplicial-complex":293}],234:[function(t,e,r){"use strict";var n=t("binary-search-bounds");function i(t,e,r,n,i){this.mid=t,this.left=e,this.right=r,this.leftPoints=n,this.rightPoints=i,this.count=(e?e.count:0)+(r?r.count:0)+n.length}e.exports=function(t){if(!t||0===t.length)return new v(null);return new v(m(t))};var a=i.prototype;function o(t,e){t.mid=e.mid,t.left=e.left,t.right=e.right,t.leftPoints=e.leftPoints,t.rightPoints=e.rightPoints,t.count=e.count}function s(t,e){var r=m(e);t.mid=r.mid,t.left=r.left,t.right=r.right,t.leftPoints=r.leftPoints,t.rightPoints=r.rightPoints,t.count=r.count}function l(t,e){var r=t.intervals([]);r.push(e),s(t,r)}function c(t,e){var r=t.intervals([]),n=r.indexOf(e);return n<0?0:(r.splice(n,1),s(t,r),1)}function u(t,e,r){for(var n=0;n<t.length&&t[n][0]<=e;++n){var i=r(t[n]);if(i)return i}}function f(t,e,r){for(var n=t.length-1;n>=0&&t[n][1]>=e;--n){var i=r(t[n]);if(i)return i}}function h(t,e){for(var r=0;r<t.length;++r){var n=e(t[r]);if(n)return n}}function p(t,e){return t-e}function d(t,e){var r=t[0]-e[0];return r||t[1]-e[1]}function g(t,e){var r=t[1]-e[1];return r||t[0]-e[0]}function m(t){if(0===t.length)return null;for(var e=[],r=0;r<t.length;++r)e.push(t[r][0],t[r][1]);e.sort(p);var n=e[e.length>>1],a=[],o=[],s=[];for(r=0;r<t.length;++r){var l=t[r];l[1]<n?a.push(l):n<l[0]?o.push(l):s.push(l)}var c=s,u=s.slice();return c.sort(d),u.sort(g),new i(n,m(a),m(o),c,u)}function v(t){this.root=t}a.intervals=function(t){return t.push.apply(t,this.leftPoints),this.left&&this.left.intervals(t),this.right&&this.right.intervals(t),t},a.insert=function(t){var e=this.count-this.leftPoints.length;if(this.count+=1,t[1]<this.mid)this.left?4*(this.left.count+1)>3*(e+1)?l(this,t):this.left.insert(t):this.left=m([t]);else if(t[0]>this.mid)this.right?4*(this.right.count+1)>3*(e+1)?l(this,t):this.right.insert(t):this.right=m([t]);else{var r=n.ge(this.leftPoints,t,d),i=n.ge(this.rightPoints,t,g);this.leftPoints.splice(r,0,t),this.rightPoints.splice(i,0,t)}},a.remove=function(t){var e=this.count-this.leftPoints;if(t[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(e-1)?c(this,t):2===(s=this.left.remove(t))?(this.left=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(t[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(e-1)?c(this,t):2===(s=this.right.remove(t))?(this.right=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(1===this.count)return this.leftPoints[0]===t?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===t){if(this.left&&this.right){for(var r=this,i=this.left;i.right;)r=i,i=i.right;if(r===this)i.right=this.right;else{var a=this.left,s=this.right;r.count-=i.count,r.right=i.left,i.left=a,i.right=s}o(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?o(this,this.left):o(this,this.right);return 1}for(a=n.ge(this.leftPoints,t,d);a<this.leftPoints.length&&this.leftPoints[a][0]===t[0];++a)if(this.leftPoints[a]===t){this.count-=1,this.leftPoints.splice(a,1);for(s=n.ge(this.rightPoints,t,g);s<this.rightPoints.length&&this.rightPoints[s][1]===t[1];++s)if(this.rightPoints[s]===t)return this.rightPoints.splice(s,1),1}return 0},a.queryPoint=function(t,e){if(t<this.mid){if(this.left)if(r=this.left.queryPoint(t,e))return r;return u(this.leftPoints,t,e)}if(t>this.mid){var r;if(this.right)if(r=this.right.queryPoint(t,e))return r;return f(this.rightPoints,t,e)}return h(this.leftPoints,e)},a.queryInterval=function(t,e,r){var n;if(t<this.mid&&this.left&&(n=this.left.queryInterval(t,e,r)))return n;if(e>this.mid&&this.right&&(n=this.right.queryInterval(t,e,r)))return n;return e<this.mid?u(this.leftPoints,e,r):t>this.mid?f(this.rightPoints,t,r):h(this.leftPoints,r)};var y=v.prototype;y.insert=function(t){this.root?this.root.insert(t):this.root=new i(t[0],null,null,[t],[t])},y.remove=function(t){if(this.root){var e=this.root.remove(t);return 2===e&&(this.root=null),0!==e}return!1},y.queryPoint=function(t,e){if(this.root)return this.root.queryPoint(t,e)},y.queryInterval=function(t,e,r){if(t<=e&&this.root)return this.root.queryInterval(t,e,r)},Object.defineProperty(y,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(y,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},{"binary-search-bounds":31}],235:[function(t,e,r){"use strict";e.exports=function(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=r;return e}},{}],236:[function(t,e,r){e.exports=!0},{}],237:[function(t,e,r){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},{}],238:[function(t,e,r){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(t){t||(t={});var e=t.ua;if(e||"undefined"==typeof navigator||(e=navigator.userAgent),e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),"string"!=typeof e)return!1;var r=t.tablet?i.test(e):n.test(e);return!r&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==e.indexOf("Macintosh")&&-1!==e.indexOf("Safari")&&(r=!0),r}},{}],239:[function(t,e,r){"use strict";e.exports=function(t){for(var e,r=t.length,n=0;n<r;n++)if(((e=t.charCodeAt(n))<9||e>13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},{}],240:[function(t,e,r){e.exports=function(t,e,r){return t*(1-r)+e*r}},{}],241:[function(t,e,r){var n=t("./normalize"),i=t("gl-mat4/create"),a=t("gl-mat4/clone"),o=t("gl-mat4/determinant"),s=t("gl-mat4/invert"),l=t("gl-mat4/transpose"),c={length:t("gl-vec3/length"),normalize:t("gl-vec3/normalize"),dot:t("gl-vec3/dot"),cross:t("gl-vec3/cross")},u=i(),f=i(),h=[0,0,0,0],p=[[0,0,0],[0,0,0],[0,0,0]],d=[0,0,0];function g(t,e,r,n,i){t[0]=e[0]*n+r[0]*i,t[1]=e[1]*n+r[1]*i,t[2]=e[2]*n+r[2]*i}e.exports=function(t,e,r,i,m,v){if(e||(e=[0,0,0]),r||(r=[0,0,0]),i||(i=[0,0,0]),m||(m=[0,0,0,1]),v||(v=[0,0,0,1]),!n(u,t))return!1;if(a(f,u),f[3]=0,f[7]=0,f[11]=0,f[15]=1,Math.abs(o(f)<1e-8))return!1;var y,x,b,_,w,T,k,A=u[3],M=u[7],S=u[11],E=u[12],L=u[13],C=u[14],P=u[15];if(0!==A||0!==M||0!==S){if(h[0]=A,h[1]=M,h[2]=S,h[3]=P,!s(f,f))return!1;l(f,f),y=m,b=f,_=(x=h)[0],w=x[1],T=x[2],k=x[3],y[0]=b[0]*_+b[4]*w+b[8]*T+b[12]*k,y[1]=b[1]*_+b[5]*w+b[9]*T+b[13]*k,y[2]=b[2]*_+b[6]*w+b[10]*T+b[14]*k,y[3]=b[3]*_+b[7]*w+b[11]*T+b[15]*k}else m[0]=m[1]=m[2]=0,m[3]=1;if(e[0]=E,e[1]=L,e[2]=C,function(t,e){t[0][0]=e[0],t[0][1]=e[1],t[0][2]=e[2],t[1][0]=e[4],t[1][1]=e[5],t[1][2]=e[6],t[2][0]=e[8],t[2][1]=e[9],t[2][2]=e[10]}(p,u),r[0]=c.length(p[0]),c.normalize(p[0],p[0]),i[0]=c.dot(p[0],p[1]),g(p[1],p[1],p[0],1,-i[0]),r[1]=c.length(p[1]),c.normalize(p[1],p[1]),i[0]/=r[1],i[1]=c.dot(p[0],p[2]),g(p[2],p[2],p[0],1,-i[1]),i[2]=c.dot(p[1],p[2]),g(p[2],p[2],p[1],1,-i[2]),r[2]=c.length(p[2]),c.normalize(p[2],p[2]),i[1]/=r[2],i[2]/=r[2],c.cross(d,p[1],p[2]),c.dot(p[0],d)<0)for(var I=0;I<3;I++)r[I]*=-1,p[I][0]*=-1,p[I][1]*=-1,p[I][2]*=-1;return v[0]=.5*Math.sqrt(Math.max(1+p[0][0]-p[1][1]-p[2][2],0)),v[1]=.5*Math.sqrt(Math.max(1-p[0][0]+p[1][1]-p[2][2],0)),v[2]=.5*Math.sqrt(Math.max(1-p[0][0]-p[1][1]+p[2][2],0)),v[3]=.5*Math.sqrt(Math.max(1+p[0][0]+p[1][1]+p[2][2],0)),p[2][1]>p[1][2]&&(v[0]=-v[0]),p[0][2]>p[2][0]&&(v[1]=-v[1]),p[1][0]>p[0][1]&&(v[2]=-v[2]),!0}},{"./normalize":242,"gl-mat4/clone":92,"gl-mat4/create":93,"gl-mat4/determinant":94,"gl-mat4/invert":98,"gl-mat4/transpose":109,"gl-vec3/cross":157,"gl-vec3/dot":162,"gl-vec3/length":172,"gl-vec3/normalize":179}],242:[function(t,e,r){e.exports=function(t,e){var r=e[15];if(0===r)return!1;for(var n=1/r,i=0;i<16;i++)t[i]=e[i]*n;return!0}},{}],243:[function(t,e,r){var n=t("gl-vec3/lerp"),i=t("mat4-recompose"),a=t("mat4-decompose"),o=t("gl-mat4/determinant"),s=t("quat-slerp"),l=f(),c=f(),u=f();function f(){return{translate:h(),scale:h(1),skew:h(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function h(t){return[t||0,t||0,t||0]}e.exports=function(t,e,r,f){if(0===o(e)||0===o(r))return!1;var h=a(e,l.translate,l.scale,l.skew,l.perspective,l.quaternion),p=a(r,c.translate,c.scale,c.skew,c.perspective,c.quaternion);return!(!h||!p)&&(n(u.translate,l.translate,c.translate,f),n(u.skew,l.skew,c.skew,f),n(u.scale,l.scale,c.scale,f),n(u.perspective,l.perspective,c.perspective,f),s(u.quaternion,l.quaternion,c.quaternion,f),i(t,u.translate,u.scale,u.skew,u.perspective,u.quaternion),!0)}},{"gl-mat4/determinant":94,"gl-vec3/lerp":173,"mat4-decompose":241,"mat4-recompose":244,"quat-slerp":271}],244:[function(t,e,r){var n={identity:t("gl-mat4/identity"),translate:t("gl-mat4/translate"),multiply:t("gl-mat4/multiply"),create:t("gl-mat4/create"),scale:t("gl-mat4/scale"),fromRotationTranslation:t("gl-mat4/fromRotationTranslation")},i=(n.create(),n.create());e.exports=function(t,e,r,a,o,s){return n.identity(t),n.fromRotationTranslation(t,s,e),t[3]=o[0],t[7]=o[1],t[11]=o[2],t[15]=o[3],n.identity(i),0!==a[2]&&(i[9]=a[2],n.multiply(t,t,i)),0!==a[1]&&(i[9]=0,i[8]=a[1],n.multiply(t,t,i)),0!==a[0]&&(i[8]=0,i[4]=a[0],n.multiply(t,t,i)),n.scale(t,t,r),t}},{"gl-mat4/create":93,"gl-mat4/fromRotationTranslation":96,"gl-mat4/identity":97,"gl-mat4/multiply":100,"gl-mat4/scale":107,"gl-mat4/translate":108}],245:[function(t,e,r){"use strict";var n=t("binary-search-bounds"),i=t("mat4-interpolate"),a=t("gl-mat4/invert"),o=t("gl-mat4/rotateX"),s=t("gl-mat4/rotateY"),l=t("gl-mat4/rotateZ"),c=t("gl-mat4/lookAt"),u=t("gl-mat4/translate"),f=(t("gl-mat4/scale"),t("gl-vec3/normalize")),h=[0,0,0];function p(t){this._components=t.slice(),this._time=[0],this.prevMatrix=t.slice(),this.nextMatrix=t.slice(),this.computedMatrix=t.slice(),this.computedInverse=t.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}e.exports=function(t){return new p((t=t||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var d=p.prototype;d.recalcMatrix=function(t){var e=this._time,r=n.le(e,t),o=this.computedMatrix;if(!(r<0)){var s=this._components;if(r===e.length-1)for(var l=16*r,c=0;c<16;++c)o[c]=s[l++];else{var u=e[r+1]-e[r],h=(l=16*r,this.prevMatrix),p=!0;for(c=0;c<16;++c)h[c]=s[l++];var d=this.nextMatrix;for(c=0;c<16;++c)d[c]=s[l++],p=p&&h[c]===d[c];if(u<1e-6||p)for(c=0;c<16;++c)o[c]=h[c];else i(o,h,d,(t-e[r])/u)}var g=this.computedUp;g[0]=o[1],g[1]=o[5],g[2]=o[9],f(g,g);var m=this.computedInverse;a(m,o);var v=this.computedEye,y=m[15];v[0]=m[12]/y,v[1]=m[13]/y,v[2]=m[14]/y;var x=this.computedCenter,b=Math.exp(this.computedRadius[0]);for(c=0;c<3;++c)x[c]=v[c]-o[2+4*c]*b}},d.idle=function(t){if(!(t<this.lastT())){for(var e=this._components,r=e.length-16,n=0;n<16;++n)e.push(e[r++]);this._time.push(t)}},d.flush=function(t){var e=n.gt(this._time,t)-2;e<0||(this._time.splice(0,e),this._components.splice(0,16*e))},d.lastT=function(){return this._time[this._time.length-1]},d.lookAt=function(t,e,r,n){this.recalcMatrix(t),e=e||this.computedEye,r=r||h,n=n||this.computedUp,this.setMatrix(t,c(this.computedMatrix,e,r,n));for(var i=0,a=0;a<3;++a)i+=Math.pow(r[a]-e[a],2);i=Math.log(Math.sqrt(i)),this.computedRadius[0]=i},d.rotate=function(t,e,r,n){this.recalcMatrix(t);var i=this.computedInverse;e&&s(i,i,e),r&&o(i,i,r),n&&l(i,i,n),this.setMatrix(t,a(this.computedMatrix,i))};var g=[0,0,0];d.pan=function(t,e,r,n){g[0]=-(e||0),g[1]=-(r||0),g[2]=-(n||0),this.recalcMatrix(t);var i=this.computedInverse;u(i,i,g),this.setMatrix(t,a(i,i))},d.translate=function(t,e,r,n){g[0]=e||0,g[1]=r||0,g[2]=n||0,this.recalcMatrix(t);var i=this.computedMatrix;u(i,i,g),this.setMatrix(t,i)},d.setMatrix=function(t,e){if(!(t<this.lastT())){this._time.push(t);for(var r=0;r<16;++r)this._components.push(e[r])}},d.setDistance=function(t,e){this.computedRadius[0]=e},d.setDistanceLimits=function(t,e){var r=this._limits;r[0]=t,r[1]=e},d.getDistanceLimits=function(t){var e=this._limits;return t?(t[0]=e[0],t[1]=e[1],t):e}},{"binary-search-bounds":31,"gl-mat4/invert":98,"gl-mat4/lookAt":99,"gl-mat4/rotateX":104,"gl-mat4/rotateY":105,"gl-mat4/rotateZ":106,"gl-mat4/scale":107,"gl-mat4/translate":108,"gl-vec3/normalize":179,"mat4-interpolate":243}],246:[function(t,e,r){"use strict";e.exports=function(t){var e=t.length;if(e<3){for(var r=new Array(e),i=0;i<e;++i)r[i]=i;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:r}var a=new Array(e);for(i=0;i<e;++i)a[i]=i;a.sort((function(e,r){var n=t[e][0]-t[r][0];return n||t[e][1]-t[r][1]}));var o=[a[0],a[1]],s=[a[0],a[1]];for(i=2;i<e;++i){for(var l=a[i],c=t[l],u=o.length;u>1&&n(t[o[u-2]],t[o[u-1]],c)<=0;)u-=1,o.pop();for(o.push(l),u=s.length;u>1&&n(t[s[u-2]],t[s[u-1]],c)>=0;)u-=1,s.pop();s.push(l)}r=new Array(s.length+o.length-2);for(var f=0,h=(i=0,o.length);i<h;++i)r[f++]=o[i];for(var p=s.length-2;p>0;--p)r[f++]=s[p];return r};var n=t("robust-orientation")[3]},{"robust-orientation":284}],247:[function(t,e,r){"use strict";e.exports=function(t,e){e||(e=t,t=window);var r=0,i=0,a=0,o={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(t){var e=!1;return"altKey"in t&&(e=e||t.altKey!==o.alt,o.alt=!!t.altKey),"shiftKey"in t&&(e=e||t.shiftKey!==o.shift,o.shift=!!t.shiftKey),"ctrlKey"in t&&(e=e||t.ctrlKey!==o.control,o.control=!!t.ctrlKey),"metaKey"in t&&(e=e||t.metaKey!==o.meta,o.meta=!!t.metaKey),e}function c(t,s){var c=n.x(s),u=n.y(s);"buttons"in s&&(t=0|s.buttons),(t!==r||c!==i||u!==a||l(s))&&(r=0|t,i=c||0,a=u||0,e&&e(r,i,a,o))}function u(t){c(0,t)}function f(){(r||i||a||o.shift||o.alt||o.meta||o.control)&&(i=a=0,r=0,o.shift=o.alt=o.control=o.meta=!1,e&&e(0,0,0,o))}function h(t){l(t)&&e&&e(r,i,a,o)}function p(t){0===n.buttons(t)?c(0,t):c(r,t)}function d(t){c(r|n.buttons(t),t)}function g(t){c(r&~n.buttons(t),t)}function m(){s||(s=!0,t.addEventListener("mousemove",p),t.addEventListener("mousedown",d),t.addEventListener("mouseup",g),t.addEventListener("mouseleave",u),t.addEventListener("mouseenter",u),t.addEventListener("mouseout",u),t.addEventListener("mouseover",u),t.addEventListener("blur",f),t.addEventListener("keyup",h),t.addEventListener("keydown",h),t.addEventListener("keypress",h),t!==window&&(window.addEventListener("blur",f),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}m();var v={element:t};return Object.defineProperties(v,{enabled:{get:function(){return s},set:function(e){e?m():function(){if(!s)return;s=!1,t.removeEventListener("mousemove",p),t.removeEventListener("mousedown",d),t.removeEventListener("mouseup",g),t.removeEventListener("mouseleave",u),t.removeEventListener("mouseenter",u),t.removeEventListener("mouseout",u),t.removeEventListener("mouseover",u),t.removeEventListener("blur",f),t.removeEventListener("keyup",h),t.removeEventListener("keydown",h),t.removeEventListener("keypress",h),t!==window&&(window.removeEventListener("blur",f),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h))}()},enumerable:!0},buttons:{get:function(){return r},enumerable:!0},x:{get:function(){return i},enumerable:!0},y:{get:function(){return a},enumerable:!0},mods:{get:function(){return o},enumerable:!0}}),v};var n=t("mouse-event")},{"mouse-event":249}],248:[function(t,e,r){var n={left:0,top:0};e.exports=function(t,e,r){e=e||t.currentTarget||t.srcElement,Array.isArray(r)||(r=[0,0]);var i=t.clientX||0,a=t.clientY||0,o=(s=e,s===window||s===document||s===document.body?n:s.getBoundingClientRect());var s;return r[0]=i-o.left,r[1]=a-o.top,r}},{}],249:[function(t,e,r){"use strict";function n(t){return t.target||t.srcElement||window}r.buttons=function(t){if("object"==typeof t){if("buttons"in t)return t.buttons;if("which"in t){if(2===(e=t.which))return 4;if(3===e)return 2;if(e>0)return 1<<e-1}else if("button"in t){var e;if(1===(e=t.button))return 4;if(2===e)return 2;if(e>=0)return 1<<e}}return 0},r.element=n,r.x=function(t){if("object"==typeof t){if("offsetX"in t)return t.offsetX;var e=n(t).getBoundingClientRect();return t.clientX-e.left}return 0},r.y=function(t){if("object"==typeof t){if("offsetY"in t)return t.offsetY;var e=n(t).getBoundingClientRect();return t.clientY-e.top}return 0}},{}],250:[function(t,e,r){"use strict";var n=t("to-px");e.exports=function(t,e,r){"function"==typeof t&&(r=!!e,e=t,t=window);var i=n("ex",t),a=function(t){r&&t.preventDefault();var n=t.deltaX||0,a=t.deltaY||0,o=t.deltaZ||0,s=1;switch(t.deltaMode){case 1:s=i;break;case 2:s=window.innerHeight}if(a*=s,o*=s,(n*=s)||a||o)return e(n,a,o,t)};return t.addEventListener("wheel",a),a}},{"to-px":304}],251:[function(t,e,r){"use strict";var n=t("typedarray-pool");e.exports=function(t){function e(t){throw new Error("ndarray-extract-contour: "+t)}"object"!=typeof t&&e("Must specify arguments");var r=t.order;Array.isArray(r)||e("Must specify order");var a=t.arrayArguments||1;a<1&&e("Must have at least one array argument");var o=t.scalarArguments||0;o<0&&e("Scalar arg count must be > 0");"function"!=typeof t.vertex&&e("Must specify vertex creation function");"function"!=typeof t.cell&&e("Must specify cell creation function");"function"!=typeof t.phase&&e("Must specify phase function");for(var s=t.getters||[],l=new Array(a),c=0;c<a;++c)s.indexOf(c)>=0?l[c]=!0:l[c]=!1;return function(t,e,r,a,o,s){var l=[s,o].join(",");return(0,i[l])(t,e,r,n.mallocUint32,n.freeUint32)}(t.vertex,t.cell,t.phase,0,r,l)};var i={"false,0,1":function(t,e,r,n,i){return function(a,o,s,l){var c,u=0|a.shape[0],f=0|a.shape[1],h=a.data,p=0|a.offset,d=0|a.stride[0],g=0|a.stride[1],m=p,v=0|-d,y=0,x=0|-g,b=0,_=-d-g|0,w=0,T=0|d,k=g-d*u|0,A=0,M=0,S=0,E=2*u|0,L=n(E),C=n(E),P=0,I=0,O=-1,z=-1,D=0,R=0|-u,F=0|u,B=0,N=-u-1|0,j=u-1|0,U=0,V=0,H=0;for(A=0;A<u;++A)L[P++]=r(h[m],o,s,l),m+=T;if(m+=k,f>0){if(M=1,L[P++]=r(h[m],o,s,l),m+=T,u>0)for(A=1,c=h[m],I=L[P]=r(c,o,s,l),D=L[P+O],B=L[P+R],U=L[P+N],I===D&&I===B&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,D,B,U,o,s,l),V=C[P]=S++),P+=1,m+=T,A=2;A<u;++A)c=h[m],I=L[P]=r(c,o,s,l),D=L[P+O],B=L[P+R],U=L[P+N],I===D&&I===B&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,D,B,U,o,s,l),V=C[P]=S++,U!==D&&e(C[P+O],V,w,y,U,D,o,s,l)),P+=1,m+=T;for(m+=k,P=0,H=O,O=z,z=H,H=R,R=F,F=H,H=N,N=j,j=H,M=2;M<f;++M){if(L[P++]=r(h[m],o,s,l),m+=T,u>0)for(A=1,c=h[m],I=L[P]=r(c,o,s,l),D=L[P+O],B=L[P+R],U=L[P+N],I===D&&I===B&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,D,B,U,o,s,l),V=C[P]=S++,U!==B&&e(C[P+R],V,b,w,B,U,o,s,l)),P+=1,m+=T,A=2;A<u;++A)c=h[m],I=L[P]=r(c,o,s,l),D=L[P+O],B=L[P+R],U=L[P+N],I===D&&I===B&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,D,B,U,o,s,l),V=C[P]=S++,U!==B&&e(C[P+R],V,b,w,B,U,o,s,l),U!==D&&e(C[P+O],V,w,y,U,D,o,s,l)),P+=1,m+=T;1&M&&(P=0),H=O,O=z,z=H,H=R,R=F,F=H,H=N,N=j,j=H,m+=k}}i(C),i(L)}},"false,1,0":function(t,e,r,n,i){return function(a,o,s,l){var c,u=0|a.shape[0],f=0|a.shape[1],h=a.data,p=0|a.offset,d=0|a.stride[0],g=0|a.stride[1],m=p,v=0|-d,y=0,x=0|-g,b=0,_=-d-g|0,w=0,T=0|g,k=d-g*f|0,A=0,M=0,S=0,E=2*f|0,L=n(E),C=n(E),P=0,I=0,O=-1,z=-1,D=0,R=0|-f,F=0|f,B=0,N=-f-1|0,j=f-1|0,U=0,V=0,H=0;for(M=0;M<f;++M)L[P++]=r(h[m],o,s,l),m+=T;if(m+=k,u>0){if(A=1,L[P++]=r(h[m],o,s,l),m+=T,f>0)for(M=1,c=h[m],I=L[P]=r(c,o,s,l),B=L[P+R],D=L[P+O],U=L[P+N],I===B&&I===D&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,B,D,U,o,s,l),V=C[P]=S++),P+=1,m+=T,M=2;M<f;++M)c=h[m],I=L[P]=r(c,o,s,l),B=L[P+R],D=L[P+O],U=L[P+N],I===B&&I===D&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,B,D,U,o,s,l),V=C[P]=S++,U!==D&&e(C[P+O],V,b,w,D,U,o,s,l)),P+=1,m+=T;for(m+=k,P=0,H=R,R=F,F=H,H=O,O=z,z=H,H=N,N=j,j=H,A=2;A<u;++A){if(L[P++]=r(h[m],o,s,l),m+=T,f>0)for(M=1,c=h[m],I=L[P]=r(c,o,s,l),B=L[P+R],D=L[P+O],U=L[P+N],I===B&&I===D&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,B,D,U,o,s,l),V=C[P]=S++,U!==B&&e(C[P+R],V,w,y,U,B,o,s,l)),P+=1,m+=T,M=2;M<f;++M)c=h[m],I=L[P]=r(c,o,s,l),B=L[P+R],D=L[P+O],U=L[P+N],I===B&&I===D&&I===U||(y=h[m+v],b=h[m+x],w=h[m+_],t(A,M,c,y,b,w,I,B,D,U,o,s,l),V=C[P]=S++,U!==D&&e(C[P+O],V,b,w,D,U,o,s,l),U!==B&&e(C[P+R],V,w,y,U,B,o,s,l)),P+=1,m+=T;1&A&&(P=0),H=R,R=F,F=H,H=O,O=z,z=H,H=N,N=j,j=H,m+=k}}i(C),i(L)}}}},{"typedarray-pool":308}],252:[function(t,e,r){"use strict";var n=t("dup"),i={zero:function(t,e,r,n){var i=t[0];n|=0;var a=0,o=r[0];for(a=0;a<i;++a)e[n]=0,n+=o},fdTemplate1:function(t,e,r,n,i,a,o){var s=t[0],l=r[0],c=-1*l,u=l;n|=0,o|=0;var f=0,h=l,p=a[0];for(f=0;f<s;++f)i[o]=.5*(e[n+c]-e[n+u]),n+=h,o+=p},fdTemplate2:function(t,e,r,n,i,a,o,s,l,c){var u=t[0],f=t[1],h=r[0],p=r[1],d=a[0],g=a[1],m=l[0],v=l[1],y=-1*h,x=h,b=-1*p,_=p;n|=0,o|=0,c|=0;var w=0,T=0,k=p,A=h-f*p,M=g,S=d-f*g,E=v,L=m-f*v;for(T=0;T<u;++T){for(w=0;w<f;++w)i[o]=.5*(e[n+y]-e[n+x]),s[c]=.5*(e[n+b]-e[n+_]),n+=k,o+=M,c+=E;n+=A,o+=S,c+=L}}},a={cdiff:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=i.dtype,u=i.order,f=[a,o.join(),s,l.join(),c,u.join()].join(),h=e[f];return h||(e[f]=h=t([a,o,s,l,c,u])),h(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i.data,i.stride,0|i.offset)}},zero:function(t){var e={};return function(r){var n=r.dtype,i=r.order,a=[n,i.join()].join(),o=e[a];return o||(e[a]=o=t([n,i])),o(r.shape.slice(0),r.data,r.stride,0|r.offset)}},fdTemplate1:function(t){var e={};return function(r,n){var i=r.dtype,a=r.order,o=n.dtype,s=n.order,l=[i,a.join(),o,s.join()].join(),c=e[l];return c||(e[l]=c=t([i,a,o,s])),c(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset)}},fdTemplate2:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=i.dtype,u=i.order,f=[a,o.join(),s,l.join(),c,u.join()].join(),h=e[f];return h||(e[f]=h=t([a,o,s,l,c,u])),h(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i.data,i.stride,0|i.offset)}}};function o(t){return(0,a[t.funcName])(s.bind(void 0,t))}function s(t){return i[t.funcName]}function l(t){return o({funcName:t.funcName})}var c={},u={},f=l({funcName:"cdiff"}),h=l({funcName:"zero"});function p(t){return t in c?c[t]:c[t]=l({funcName:"fdTemplate"+t})}function d(t,e,r,n){return function(t,i){var a=i.shape.slice();return a[0]>2&&a[1]>2&&n(i.pick(-1,-1).lo(1,1).hi(a[0]-2,a[1]-2),t.pick(-1,-1,0).lo(1,1).hi(a[0]-2,a[1]-2),t.pick(-1,-1,1).lo(1,1).hi(a[0]-2,a[1]-2)),a[1]>2&&(r(i.pick(0,-1).lo(1).hi(a[1]-2),t.pick(0,-1,1).lo(1).hi(a[1]-2)),e(t.pick(0,-1,0).lo(1).hi(a[1]-2))),a[1]>2&&(r(i.pick(a[0]-1,-1).lo(1).hi(a[1]-2),t.pick(a[0]-1,-1,1).lo(1).hi(a[1]-2)),e(t.pick(a[0]-1,-1,0).lo(1).hi(a[1]-2))),a[0]>2&&(r(i.pick(-1,0).lo(1).hi(a[0]-2),t.pick(-1,0,0).lo(1).hi(a[0]-2)),e(t.pick(-1,0,1).lo(1).hi(a[0]-2))),a[0]>2&&(r(i.pick(-1,a[1]-1).lo(1).hi(a[0]-2),t.pick(-1,a[1]-1,0).lo(1).hi(a[0]-2)),e(t.pick(-1,a[1]-1,1).lo(1).hi(a[0]-2))),t.set(0,0,0,0),t.set(0,0,1,0),t.set(a[0]-1,0,0,0),t.set(a[0]-1,0,1,0),t.set(0,a[1]-1,0,0),t.set(0,a[1]-1,1,0),t.set(a[0]-1,a[1]-1,0,0),t.set(a[0]-1,a[1]-1,1,0),t}}e.exports=function(t,e,r){return Array.isArray(r)||(r=n(e.dimension,"string"==typeof r?r:"clamp")),0===e.size?t:0===e.dimension?(t.set(0),t):function(t){var e=t.join();if(a=u[e])return a;for(var r=t.length,n=[f,h],i=1;i<=r;++i)n.push(p(i));var a=d.apply(void 0,n);return u[e]=a,a}(r)(t,e)}},{dup:65}],253:[function(t,e,r){"use strict";function n(t,e){var r=Math.floor(e),n=e-r,i=0<=r&&r<t.shape[0],a=0<=r+1&&r+1<t.shape[0];return(1-n)*(i?+t.get(r):0)+n*(a?+t.get(r+1):0)}function i(t,e,r){var n=Math.floor(e),i=e-n,a=0<=n&&n<t.shape[0],o=0<=n+1&&n+1<t.shape[0],s=Math.floor(r),l=r-s,c=0<=s&&s<t.shape[1],u=0<=s+1&&s+1<t.shape[1],f=a&&c?t.get(n,s):0,h=a&&u?t.get(n,s+1):0;return(1-l)*((1-i)*f+i*(o&&c?t.get(n+1,s):0))+l*((1-i)*h+i*(o&&u?t.get(n+1,s+1):0))}function a(t,e,r,n){var i=Math.floor(e),a=e-i,o=0<=i&&i<t.shape[0],s=0<=i+1&&i+1<t.shape[0],l=Math.floor(r),c=r-l,u=0<=l&&l<t.shape[1],f=0<=l+1&&l+1<t.shape[1],h=Math.floor(n),p=n-h,d=0<=h&&h<t.shape[2],g=0<=h+1&&h+1<t.shape[2],m=o&&u&&d?t.get(i,l,h):0,v=o&&f&&d?t.get(i,l+1,h):0,y=s&&u&&d?t.get(i+1,l,h):0,x=s&&f&&d?t.get(i+1,l+1,h):0,b=o&&u&&g?t.get(i,l,h+1):0,_=o&&f&&g?t.get(i,l+1,h+1):0;return(1-p)*((1-c)*((1-a)*m+a*y)+c*((1-a)*v+a*x))+p*((1-c)*((1-a)*b+a*(s&&u&&g?t.get(i+1,l,h+1):0))+c*((1-a)*_+a*(s&&f&&g?t.get(i+1,l+1,h+1):0)))}function o(t){var e,r,n=0|t.shape.length,i=new Array(n),a=new Array(n),o=new Array(n),s=new Array(n);for(e=0;e<n;++e)r=+arguments[e+1],i[e]=Math.floor(r),a[e]=r-i[e],o[e]=0<=i[e]&&i[e]<t.shape[e],s[e]=0<=i[e]+1&&i[e]+1<t.shape[e];var l,c,u,f=0;t:for(e=0;e<1<<n;++e){for(c=1,u=t.offset,l=0;l<n;++l)if(e&1<<l){if(!s[l])continue t;c*=a[l],u+=t.stride[l]*(i[l]+1)}else{if(!o[l])continue t;c*=1-a[l],u+=t.stride[l]*i[l]}f+=c*t.data[u]}return f}e.exports=function(t,e,r,s){switch(t.shape.length){case 0:return 0;case 1:return n(t,e);case 2:return i(t,e,r);case 3:return a(t,e,r,s);default:return o.apply(void 0,arguments)}},e.exports.d1=n,e.exports.d2=i,e.exports.d3=a},{}],254:[function(t,e,r){"use strict";var n={"float64,2,1,0":function(){return function(t,e,r,n,i){var a=t[0],o=t[1],s=t[2],l=r[0],c=r[1],u=r[2];n|=0;var f=0,h=0,p=0,d=u,g=c-s*u,m=l-o*c;for(p=0;p<a;++p){for(h=0;h<o;++h){for(f=0;f<s;++f)e[n]/=i,n+=d;n+=g}n+=m}}},"uint8,2,0,1,float64,2,1,0":function(){return function(t,e,r,n,i,a,o,s){for(var l=t[0],c=t[1],u=t[2],f=r[0],h=r[1],p=r[2],d=a[0],g=a[1],m=a[2],v=n|=0,y=o|=0,x=0|t[0];x>0;){x<64?(l=x,x=0):(l=64,x-=64);for(var b=0|t[1];b>0;){b<64?(c=b,b=0):(c=64,b-=64),n=v+x*f+b*h,o=y+x*d+b*g;var _=0,w=0,T=0,k=p,A=f-u*p,M=h-l*f,S=m,E=d-u*m,L=g-l*d;for(T=0;T<c;++T){for(w=0;w<l;++w){for(_=0;_<u;++_)e[n]=i[o]*s,n+=k,o+=S;n+=A,o+=E}n+=M,o+=L}}}}},"float32,1,0,float32,1,0":function(){return function(t,e,r,n,i,a,o){var s=t[0],l=t[1],c=r[0],u=r[1],f=a[0],h=a[1];n|=0,o|=0;var p=0,d=0,g=u,m=c-l*u,v=h,y=f-l*h;for(d=0;d<s;++d){for(p=0;p<l;++p)e[n]=i[o],n+=g,o+=v;n+=m,o+=y}}},"float32,1,0,float32,0,1":function(){return function(t,e,r,n,i,a,o){for(var s=t[0],l=t[1],c=r[0],u=r[1],f=a[0],h=a[1],p=n|=0,d=o|=0,g=0|t[1];g>0;){g<64?(l=g,g=0):(l=64,g-=64);for(var m=0|t[0];m>0;){m<64?(s=m,m=0):(s=64,m-=64),n=p+g*u+m*c,o=d+g*h+m*f;var v=0,y=0,x=u,b=c-l*u,_=h,w=f-l*h;for(y=0;y<s;++y){for(v=0;v<l;++v)e[n]=i[o],n+=x,o+=_;n+=b,o+=w}}}}},"uint8,2,0,1,uint8,1,2,0":function(){return function(t,e,r,n,i,a,o){for(var s=t[0],l=t[1],c=t[2],u=r[0],f=r[1],h=r[2],p=a[0],d=a[1],g=a[2],m=n|=0,v=o|=0,y=0|t[2];y>0;){y<64?(c=y,y=0):(c=64,y-=64);for(var x=0|t[0];x>0;){x<64?(s=x,x=0):(s=64,x-=64);for(var b=0|t[1];b>0;){b<64?(l=b,b=0):(l=64,b-=64),n=m+y*h+x*u+b*f,o=v+y*g+x*p+b*d;var _=0,w=0,T=0,k=h,A=u-c*h,M=f-s*u,S=g,E=p-c*g,L=d-s*p;for(T=0;T<l;++T){for(w=0;w<s;++w){for(_=0;_<c;++_)e[n]=i[o],n+=k,o+=S;n+=A,o+=E}n+=M,o+=L}}}}}},"uint8,2,0,1,array,2,0,1":function(){return function(t,e,r,n,i,a,o){var s=t[0],l=t[1],c=t[2],u=r[0],f=r[1],h=r[2],p=a[0],d=a[1],g=a[2];n|=0,o|=0;var m=0,v=0,y=0,x=h,b=u-c*h,_=f-s*u,w=g,T=p-c*g,k=d-s*p;for(y=0;y<l;++y){for(v=0;v<s;++v){for(m=0;m<c;++m)e[n]=i[o],n+=x,o+=w;n+=b,o+=T}n+=_,o+=k}}}};var i=function(t,e){var r=e.join(",");return(0,n[r])()},a={mul:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=i.dtype,u=i.order,f=[a,o.join(),s,l.join(),c,u.join()].join(),h=e[f];return h||(e[f]=h=t([a,o,s,l,c,u])),h(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i.data,i.stride,0|i.offset)}},muls:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=[a,o.join(),s,l.join()].join(),u=e[c];return u||(e[c]=u=t([a,o,s,l])),u(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i)}},mulseq:function(t){var e={};return function(r,n){var i=r.dtype,a=r.order,o=[i,a.join()].join(),s=e[o];return s||(e[o]=s=t([i,a])),s(r.shape.slice(0),r.data,r.stride,0|r.offset,n)}},div:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=i.dtype,u=i.order,f=[a,o.join(),s,l.join(),c,u.join()].join(),h=e[f];return h||(e[f]=h=t([a,o,s,l,c,u])),h(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i.data,i.stride,0|i.offset)}},divs:function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=n.dtype,l=n.order,c=[a,o.join(),s,l.join()].join(),u=e[c];return u||(e[c]=u=t([a,o,s,l])),u(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset,i)}},divseq:function(t){var e={};return function(r,n){var i=r.dtype,a=r.order,o=[i,a.join()].join(),s=e[o];return s||(e[o]=s=t([i,a])),s(r.shape.slice(0),r.data,r.stride,0|r.offset,n)}},assign:function(t){var e={};return function(r,n){var i=r.dtype,a=r.order,o=n.dtype,s=n.order,l=[i,a.join(),o,s.join()].join(),c=e[l];return c||(e[l]=c=t([i,a,o,s])),c(r.shape.slice(0),r.data,r.stride,0|r.offset,n.data,n.stride,0|n.offset)}}};function o(t){return e={funcName:t.funcName},(0,a[e.funcName])(i.bind(void 0,e));var e}var s={mul:"*",div:"/"};!function(){for(var t in s)r[t]=o({funcName:t}),r[t+"s"]=o({funcName:t+"s"}),r[t+"seq"]=o({funcName:t+"seq"})}(),r.assign=o({funcName:"assign"})},{}],255:[function(t,e,r){"use strict";var n=t("ndarray"),i=t("./doConvert.js");e.exports=function(t,e){for(var r=[],a=t,o=1;Array.isArray(a);)r.push(a.length),o*=a.length,a=a[0];return 0===r.length?n():(e||(e=n(new Float64Array(o),r)),i(e,t),e)}},{"./doConvert.js":256,ndarray:259}],256:[function(t,e,r){"use strict";var n,i=function(){return function(t,e,r,n,i){var a=t[0],o=t[1],s=t[2],l=r[0],c=r[1],u=r[2],f=[0,0,0];n|=0;var h=0,p=0,d=0,g=u,m=c-s*u,v=l-o*c;for(d=0;d<a;++d){for(p=0;p<o;++p){for(h=0;h<s;++h){var y,x=i;for(y=0;y<f.length-1;++y)x=x[f[y]];e[n]=x[f[f.length-1]],n+=g,++f[2]}n+=m,f[2]-=s,++f[1]}n+=v,f[1]-=o,++f[0]}}};e.exports=(n={funcName:{funcName:"convert"}.funcName},function(t){var e={};return function(r,n){var i=r.dtype,a=r.order,o=[i,a.join()].join(),s=e[o];return s||(e[o]=s=t([i,a])),s(r.shape.slice(0),r.data,r.stride,0|r.offset,n)}}(i.bind(void 0,n)))},{}],257:[function(t,e,r){"use strict";var n=t("typedarray-pool");function i(t){switch(t){case"uint32":return[n.mallocUint32,n.freeUint32];default:return null}}var a={"uint32,1,0":function(t,e){return function(r,n,i,a,o,s,l,c,u,f,h){var p,d,g,m,v,y,x,b,_=r*o+a,w=t(c);for(p=r+1;p<=n;++p){for(d=p,g=_+=o,v=0,y=_,m=0;m<c;++m)w[v++]=i[y],y+=u;t:for(;d-- >r;){v=0,y=g-o;e:for(m=0;m<c;++m){if((x=i[y])<(b=w[v]))break t;if(x>b)break e;y+=f,v+=h}for(v=g,y=g-o,m=0;m<c;++m)i[v]=i[y],v+=u,y+=u;g-=o}for(v=g,y=0,m=0;m<c;++m)i[v]=w[y++],v+=u}e(w)}}};var o={"uint32,1,0":function(t,e,r){return function n(i,a,o,s,l,c,u,f,h,p,d){var g,m,v,y,x,b,_,w,T,k,A,M,S,E,L,C,P,I,O,z,D,R,F,B,N,j=(a-i+1)/6|0,U=i+j,V=a-j,H=i+a>>1,q=H-j,G=H+j,Y=U,W=q,X=H,Z=G,J=V,K=i+1,Q=a-1,$=!0,tt=0,et=0,rt=0,nt=f,it=e(nt),at=e(nt);A=l*Y,M=l*W,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=Y,Y=W,W=m;break t}if(rt<0)break t;N+=p}A=l*Z,M=l*J,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=Z,Z=J,J=m;break t}if(rt<0)break t;N+=p}A=l*Y,M=l*X,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=Y,Y=X,X=m;break t}if(rt<0)break t;N+=p}A=l*W,M=l*X,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=W,W=X,X=m;break t}if(rt<0)break t;N+=p}A=l*Y,M=l*Z,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=Y,Y=Z,Z=m;break t}if(rt<0)break t;N+=p}A=l*X,M=l*Z,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=X,X=Z,Z=m;break t}if(rt<0)break t;N+=p}A=l*W,M=l*J,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=W,W=J,J=m;break t}if(rt<0)break t;N+=p}A=l*W,M=l*X,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=W,W=X,X=m;break t}if(rt<0)break t;N+=p}A=l*Z,M=l*J,N=s;t:for(k=0;k<f;++k){if(w=M+N,(rt=o[_=A+N]-o[w])>0){m=Z,Z=J,J=m;break t}if(rt<0)break t;N+=p}for(A=l*Y,M=l*W,S=l*X,E=l*Z,L=l*J,C=l*U,P=l*H,I=l*V,B=0,N=s,k=0;k<f;++k)_=A+N,w=M+N,T=S+N,O=E+N,z=L+N,D=C+N,R=P+N,F=I+N,it[B]=o[w],at[B]=o[O],$=$&&it[B]===at[B],v=o[_],y=o[T],x=o[z],o[D]=v,o[R]=y,o[F]=x,++B,N+=h;for(A=l*q,M=l*i,N=s,k=0;k<f;++k)w=M+N,o[_=A+N]=o[w],N+=h;for(A=l*G,M=l*a,N=s,k=0;k<f;++k)w=M+N,o[_=A+N]=o[w],N+=h;if($)for(b=K;b<=Q;++b){_=s+b*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-it[B]);++k)B+=d,_+=p;if(0!==rt)if(rt<0){if(b!==K)for(A=l*b,M=l*K,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;++K}else for(;;){_=s+Q*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-it[B]);++k)B+=d,_+=p;if(!(rt>0)){if(rt<0){for(A=l*b,M=l*K,S=l*Q,N=s,k=0;k<f;++k)w=M+N,T=S+N,g=o[_=A+N],o[_]=o[w],o[w]=o[T],o[T]=g,N+=h;++K,--Q;break}for(A=l*b,M=l*Q,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;--Q;break}Q--}}else for(b=K;b<=Q;++b){_=s+b*l,B=0;t:for(k=0;k<f&&0===(tt=o[_]-it[B]);++k)B+=d,_+=p;if(tt<0){if(b!==K)for(A=l*b,M=l*K,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;++K}else{_=s+b*l,B=0;t:for(k=0;k<f&&0===(et=o[_]-at[B]);++k)B+=d,_+=p;if(et>0)for(;;){_=s+Q*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-at[B]);++k)B+=d,_+=p;if(!(rt>0)){_=s+Q*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-it[B]);++k)B+=d,_+=p;if(rt<0){for(A=l*b,M=l*K,S=l*Q,N=s,k=0;k<f;++k)w=M+N,T=S+N,g=o[_=A+N],o[_]=o[w],o[w]=o[T],o[T]=g,N+=h;++K,--Q}else{for(A=l*b,M=l*Q,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;--Q}break}if(--Q<b)break}}}for(A=l*i,M=l*(K-1),B=0,N=s,k=0;k<f;++k)w=M+N,o[_=A+N]=o[w],o[w]=it[B],++B,N+=h;for(A=l*a,M=l*(Q+1),B=0,N=s,k=0;k<f;++k)w=M+N,o[_=A+N]=o[w],o[w]=at[B],++B,N+=h;if(K-2-i<=32?t(i,K-2,o,s,l,c,u,f,h,p,d):n(i,K-2,o,s,l,c,u,f,h,p,d),a-(Q+2)<=32?t(Q+2,a,o,s,l,c,u,f,h,p,d):n(Q+2,a,o,s,l,c,u,f,h,p,d),$)return r(it),void r(at);if(K<U&&Q>V){t:for(;;){for(_=s+K*l,B=0,N=s,k=0;k<f;++k){if(o[_]!==it[B])break t;++B,_+=h}++K}t:for(;;){for(_=s+Q*l,B=0,N=s,k=0;k<f;++k){if(o[_]!==at[B])break t;++B,_+=h}--Q}for(b=K;b<=Q;++b){_=s+b*l,B=0;t:for(k=0;k<f&&0===(tt=o[_]-it[B]);++k)B+=d,_+=p;if(0===tt){if(b!==K)for(A=l*b,M=l*K,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;++K}else{_=s+b*l,B=0;t:for(k=0;k<f&&0===(et=o[_]-at[B]);++k)B+=d,_+=p;if(0===et)for(;;){_=s+Q*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-at[B]);++k)B+=d,_+=p;if(0!==rt){_=s+Q*l,B=0;t:for(k=0;k<f&&0===(rt=o[_]-it[B]);++k)B+=d,_+=p;if(rt<0){for(A=l*b,M=l*K,S=l*Q,N=s,k=0;k<f;++k)w=M+N,T=S+N,g=o[_=A+N],o[_]=o[w],o[w]=o[T],o[T]=g,N+=h;++K,--Q}else{for(A=l*b,M=l*Q,N=s,k=0;k<f;++k)w=M+N,g=o[_=A+N],o[_]=o[w],o[w]=g,N+=h;--Q}break}if(--Q<b)break}}}}r(it),r(at),Q-K<=32?t(K,Q,o,s,l,c,u,f,h,p,d):n(K,Q,o,s,l,c,u,f,h,p,d)}}};var s={"uint32,1,0":function(t,e){return function(r){var n=r.data,i=0|r.offset,a=r.shape,o=r.stride,s=0|o[0],l=0|a[0],c=0|o[1],u=0|a[1],f=c,h=c;l<=32?t(0,l-1,n,i,s,c,l,u,f,h,1):e(0,l-1,n,i,s,c,l,u,f,h,1)}}};e.exports=function(t,e){var r=[e,t].join(","),n=s[r],l=function(t,e){var r=i(e),n=[e,t].join(","),o=a[n];return r?o(r[0],r[1]):o()}(t,e),c=function(t,e,r){var n=i(e),a=[e,t].join(","),s=o[a];return t.length>1&&n?s(r,n[0],n[1]):s(r)}(t,e,l);return n(l,c)}},{"typedarray-pool":308}],258:[function(t,e,r){"use strict";var n=t("./lib/compile_sort.js"),i={};e.exports=function(t){var e=t.order,r=t.dtype,a=[e,r].join(":"),o=i[a];return o||(i[a]=o=n(e,r)),o(t),t}},{"./lib/compile_sort.js":257}],259:[function(t,e,r){var n=t("is-buffer"),i="undefined"!=typeof Float64Array;function a(t,e){return t[0]-e[0]}function o(){var t,e=this.stride,r=new Array(e.length);for(t=0;t<r.length;++t)r[t]=[Math.abs(e[t]),t];r.sort(a);var n=new Array(r.length);for(t=0;t<n.length;++t)n[t]=r[t][1];return n}var s={T:function(t){function e(t){this.data=t}var r=e.prototype;return r.dtype=t,r.index=function(){return-1},r.size=0,r.dimension=-1,r.shape=r.stride=r.order=[],r.lo=r.hi=r.transpose=r.step=function(){return new e(this.data)},r.get=r.set=function(){},r.pick=function(){return null},function(t){return new e(t)}},0:function(t,e){function r(t,e){this.data=t,this.offset=e}var n=r.prototype;return n.dtype=t,n.index=function(){return this.offset},n.dimension=0,n.size=1,n.shape=n.stride=n.order=[],n.lo=n.hi=n.transpose=n.step=function(){return new r(this.data,this.offset)},n.pick=function(){return e(this.data)},n.valueOf=n.get=function(){return"generic"===t?this.data.get(this.offset):this.data[this.offset]},n.set=function(e){return"generic"===t?this.data.set(this.offset,e):this.data[this.offset]=e},function(t,e,n,i){return new r(t,i)}},1:function(t,e,r){function n(t,e,r,n){this.data=t,this.shape=[e],this.stride=[r],this.offset=0|n}var i=n.prototype;return i.dtype=t,i.dimension=1,Object.defineProperty(i,"size",{get:function(){return this.shape[0]}}),i.order=[0],i.set=function(e,r){return"generic"===t?this.data.set(this.offset+this.stride[0]*e,r):this.data[this.offset+this.stride[0]*e]=r},i.get=function(e){return"generic"===t?this.data.get(this.offset+this.stride[0]*e):this.data[this.offset+this.stride[0]*e]},i.index=function(t){return this.offset+this.stride[0]*t},i.hi=function(t){return new n(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,this.stride[0],this.offset)},i.lo=function(t){var e=this.offset,r=0,i=this.shape[0],a=this.stride[0];return"number"==typeof t&&t>=0&&(e+=a*(r=0|t),i-=r),new n(this.data,i,a,e)},i.step=function(t){var e=this.shape[0],r=this.stride[0],i=this.offset,a=0,o=Math.ceil;return"number"==typeof t&&((a=0|t)<0?(i+=r*(e-1),e=o(-e/a)):e=o(e/a),r*=a),new n(this.data,e,r,i)},i.transpose=function(t){t=void 0===t?0:0|t;var e=this.shape,r=this.stride;return new n(this.data,e[t],r[t],this.offset)},i.pick=function(t){var r=[],n=[],i=this.offset;return"number"==typeof t&&t>=0?i=i+this.stride[0]*t|0:(r.push(this.shape[0]),n.push(this.stride[0])),(0,e[r.length+1])(this.data,r,n,i)},function(t,e,r,i){return new n(t,e[0],r[0],i)}},2:function(t,e,r){function n(t,e,r,n,i,a){this.data=t,this.shape=[e,r],this.stride=[n,i],this.offset=0|a}var i=n.prototype;return i.dtype=t,i.dimension=2,Object.defineProperty(i,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(i,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),i.set=function(e,r,n){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*r,n):this.data[this.offset+this.stride[0]*e+this.stride[1]*r]=n},i.get=function(e,r){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*r):this.data[this.offset+this.stride[0]*e+this.stride[1]*r]},i.index=function(t,e){return this.offset+this.stride[0]*t+this.stride[1]*e},i.hi=function(t,e){return new n(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,this.stride[0],this.stride[1],this.offset)},i.lo=function(t,e){var r=this.offset,i=0,a=this.shape[0],o=this.shape[1],s=this.stride[0],l=this.stride[1];return"number"==typeof t&&t>=0&&(r+=s*(i=0|t),a-=i),"number"==typeof e&&e>=0&&(r+=l*(i=0|e),o-=i),new n(this.data,a,o,s,l,r)},i.step=function(t,e){var r=this.shape[0],i=this.shape[1],a=this.stride[0],o=this.stride[1],s=this.offset,l=0,c=Math.ceil;return"number"==typeof t&&((l=0|t)<0?(s+=a*(r-1),r=c(-r/l)):r=c(r/l),a*=l),"number"==typeof e&&((l=0|e)<0?(s+=o*(i-1),i=c(-i/l)):i=c(i/l),o*=l),new n(this.data,r,i,a,o,s)},i.transpose=function(t,e){t=void 0===t?0:0|t,e=void 0===e?1:0|e;var r=this.shape,i=this.stride;return new n(this.data,r[t],r[e],i[t],i[e],this.offset)},i.pick=function(t,r){var n=[],i=[],a=this.offset;return"number"==typeof t&&t>=0?a=a+this.stride[0]*t|0:(n.push(this.shape[0]),i.push(this.stride[0])),"number"==typeof r&&r>=0?a=a+this.stride[1]*r|0:(n.push(this.shape[1]),i.push(this.stride[1])),(0,e[n.length+1])(this.data,n,i,a)},function(t,e,r,i){return new n(t,e[0],e[1],r[0],r[1],i)}},3:function(t,e,r){function n(t,e,r,n,i,a,o,s){this.data=t,this.shape=[e,r,n],this.stride=[i,a,o],this.offset=0|s}var i=n.prototype;return i.dtype=t,i.dimension=3,Object.defineProperty(i,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(i,"order",{get:function(){var t=Math.abs(this.stride[0]),e=Math.abs(this.stride[1]),r=Math.abs(this.stride[2]);return t>e?e>r?[2,1,0]:t>r?[1,2,0]:[1,0,2]:t>r?[2,0,1]:r>e?[0,1,2]:[0,2,1]}}),i.set=function(e,r,n,i){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n,i):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n]=i},i.get=function(e,r,n){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n]},i.index=function(t,e,r){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*r},i.hi=function(t,e,r){return new n(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof r||r<0?this.shape[2]:0|r,this.stride[0],this.stride[1],this.stride[2],this.offset)},i.lo=function(t,e,r){var i=this.offset,a=0,o=this.shape[0],s=this.shape[1],l=this.shape[2],c=this.stride[0],u=this.stride[1],f=this.stride[2];return"number"==typeof t&&t>=0&&(i+=c*(a=0|t),o-=a),"number"==typeof e&&e>=0&&(i+=u*(a=0|e),s-=a),"number"==typeof r&&r>=0&&(i+=f*(a=0|r),l-=a),new n(this.data,o,s,l,c,u,f,i)},i.step=function(t,e,r){var i=this.shape[0],a=this.shape[1],o=this.shape[2],s=this.stride[0],l=this.stride[1],c=this.stride[2],u=this.offset,f=0,h=Math.ceil;return"number"==typeof t&&((f=0|t)<0?(u+=s*(i-1),i=h(-i/f)):i=h(i/f),s*=f),"number"==typeof e&&((f=0|e)<0?(u+=l*(a-1),a=h(-a/f)):a=h(a/f),l*=f),"number"==typeof r&&((f=0|r)<0?(u+=c*(o-1),o=h(-o/f)):o=h(o/f),c*=f),new n(this.data,i,a,o,s,l,c,u)},i.transpose=function(t,e,r){t=void 0===t?0:0|t,e=void 0===e?1:0|e,r=void 0===r?2:0|r;var i=this.shape,a=this.stride;return new n(this.data,i[t],i[e],i[r],a[t],a[e],a[r],this.offset)},i.pick=function(t,r,n){var i=[],a=[],o=this.offset;return"number"==typeof t&&t>=0?o=o+this.stride[0]*t|0:(i.push(this.shape[0]),a.push(this.stride[0])),"number"==typeof r&&r>=0?o=o+this.stride[1]*r|0:(i.push(this.shape[1]),a.push(this.stride[1])),"number"==typeof n&&n>=0?o=o+this.stride[2]*n|0:(i.push(this.shape[2]),a.push(this.stride[2])),(0,e[i.length+1])(this.data,i,a,o)},function(t,e,r,i){return new n(t,e[0],e[1],e[2],r[0],r[1],r[2],i)}},4:function(t,e,r){function n(t,e,r,n,i,a,o,s,l,c){this.data=t,this.shape=[e,r,n,i],this.stride=[a,o,s,l],this.offset=0|c}var i=n.prototype;return i.dtype=t,i.dimension=4,Object.defineProperty(i,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(i,"order",{get:r}),i.set=function(e,r,n,i,a){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i,a):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i]=a},i.get=function(e,r,n,i){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i]},i.index=function(t,e,r,n){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*r+this.stride[3]*n},i.hi=function(t,e,r,i){return new n(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof r||r<0?this.shape[2]:0|r,"number"!=typeof i||i<0?this.shape[3]:0|i,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},i.lo=function(t,e,r,i){var a=this.offset,o=0,s=this.shape[0],l=this.shape[1],c=this.shape[2],u=this.shape[3],f=this.stride[0],h=this.stride[1],p=this.stride[2],d=this.stride[3];return"number"==typeof t&&t>=0&&(a+=f*(o=0|t),s-=o),"number"==typeof e&&e>=0&&(a+=h*(o=0|e),l-=o),"number"==typeof r&&r>=0&&(a+=p*(o=0|r),c-=o),"number"==typeof i&&i>=0&&(a+=d*(o=0|i),u-=o),new n(this.data,s,l,c,u,f,h,p,d,a)},i.step=function(t,e,r,i){var a=this.shape[0],o=this.shape[1],s=this.shape[2],l=this.shape[3],c=this.stride[0],u=this.stride[1],f=this.stride[2],h=this.stride[3],p=this.offset,d=0,g=Math.ceil;return"number"==typeof t&&((d=0|t)<0?(p+=c*(a-1),a=g(-a/d)):a=g(a/d),c*=d),"number"==typeof e&&((d=0|e)<0?(p+=u*(o-1),o=g(-o/d)):o=g(o/d),u*=d),"number"==typeof r&&((d=0|r)<0?(p+=f*(s-1),s=g(-s/d)):s=g(s/d),f*=d),"number"==typeof i&&((d=0|i)<0?(p+=h*(l-1),l=g(-l/d)):l=g(l/d),h*=d),new n(this.data,a,o,s,l,c,u,f,h,p)},i.transpose=function(t,e,r,i){t=void 0===t?0:0|t,e=void 0===e?1:0|e,r=void 0===r?2:0|r,i=void 0===i?3:0|i;var a=this.shape,o=this.stride;return new n(this.data,a[t],a[e],a[r],a[i],o[t],o[e],o[r],o[i],this.offset)},i.pick=function(t,r,n,i){var a=[],o=[],s=this.offset;return"number"==typeof t&&t>=0?s=s+this.stride[0]*t|0:(a.push(this.shape[0]),o.push(this.stride[0])),"number"==typeof r&&r>=0?s=s+this.stride[1]*r|0:(a.push(this.shape[1]),o.push(this.stride[1])),"number"==typeof n&&n>=0?s=s+this.stride[2]*n|0:(a.push(this.shape[2]),o.push(this.stride[2])),"number"==typeof i&&i>=0?s=s+this.stride[3]*i|0:(a.push(this.shape[3]),o.push(this.stride[3])),(0,e[a.length+1])(this.data,a,o,s)},function(t,e,r,i){return new n(t,e[0],e[1],e[2],e[3],r[0],r[1],r[2],r[3],i)}},5:function(t,e,r){function n(t,e,r,n,i,a,o,s,l,c,u,f){this.data=t,this.shape=[e,r,n,i,a],this.stride=[o,s,l,c,u],this.offset=0|f}var i=n.prototype;return i.dtype=t,i.dimension=5,Object.defineProperty(i,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(i,"order",{get:r}),i.set=function(e,r,n,i,a,o){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i+this.stride[4]*a,o):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i+this.stride[4]*a]=o},i.get=function(e,r,n,i,a){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i+this.stride[4]*a):this.data[this.offset+this.stride[0]*e+this.stride[1]*r+this.stride[2]*n+this.stride[3]*i+this.stride[4]*a]},i.index=function(t,e,r,n,i){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*r+this.stride[3]*n+this.stride[4]*i},i.hi=function(t,e,r,i,a){return new n(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof r||r<0?this.shape[2]:0|r,"number"!=typeof i||i<0?this.shape[3]:0|i,"number"!=typeof a||a<0?this.shape[4]:0|a,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},i.lo=function(t,e,r,i,a){var o=this.offset,s=0,l=this.shape[0],c=this.shape[1],u=this.shape[2],f=this.shape[3],h=this.shape[4],p=this.stride[0],d=this.stride[1],g=this.stride[2],m=this.stride[3],v=this.stride[4];return"number"==typeof t&&t>=0&&(o+=p*(s=0|t),l-=s),"number"==typeof e&&e>=0&&(o+=d*(s=0|e),c-=s),"number"==typeof r&&r>=0&&(o+=g*(s=0|r),u-=s),"number"==typeof i&&i>=0&&(o+=m*(s=0|i),f-=s),"number"==typeof a&&a>=0&&(o+=v*(s=0|a),h-=s),new n(this.data,l,c,u,f,h,p,d,g,m,v,o)},i.step=function(t,e,r,i,a){var o=this.shape[0],s=this.shape[1],l=this.shape[2],c=this.shape[3],u=this.shape[4],f=this.stride[0],h=this.stride[1],p=this.stride[2],d=this.stride[3],g=this.stride[4],m=this.offset,v=0,y=Math.ceil;return"number"==typeof t&&((v=0|t)<0?(m+=f*(o-1),o=y(-o/v)):o=y(o/v),f*=v),"number"==typeof e&&((v=0|e)<0?(m+=h*(s-1),s=y(-s/v)):s=y(s/v),h*=v),"number"==typeof r&&((v=0|r)<0?(m+=p*(l-1),l=y(-l/v)):l=y(l/v),p*=v),"number"==typeof i&&((v=0|i)<0?(m+=d*(c-1),c=y(-c/v)):c=y(c/v),d*=v),"number"==typeof a&&((v=0|a)<0?(m+=g*(u-1),u=y(-u/v)):u=y(u/v),g*=v),new n(this.data,o,s,l,c,u,f,h,p,d,g,m)},i.transpose=function(t,e,r,i,a){t=void 0===t?0:0|t,e=void 0===e?1:0|e,r=void 0===r?2:0|r,i=void 0===i?3:0|i,a=void 0===a?4:0|a;var o=this.shape,s=this.stride;return new n(this.data,o[t],o[e],o[r],o[i],o[a],s[t],s[e],s[r],s[i],s[a],this.offset)},i.pick=function(t,r,n,i,a){var o=[],s=[],l=this.offset;return"number"==typeof t&&t>=0?l=l+this.stride[0]*t|0:(o.push(this.shape[0]),s.push(this.stride[0])),"number"==typeof r&&r>=0?l=l+this.stride[1]*r|0:(o.push(this.shape[1]),s.push(this.stride[1])),"number"==typeof n&&n>=0?l=l+this.stride[2]*n|0:(o.push(this.shape[2]),s.push(this.stride[2])),"number"==typeof i&&i>=0?l=l+this.stride[3]*i|0:(o.push(this.shape[3]),s.push(this.stride[3])),"number"==typeof a&&a>=0?l=l+this.stride[4]*a|0:(o.push(this.shape[4]),s.push(this.stride[4])),(0,e[o.length+1])(this.data,o,s,l)},function(t,e,r,i){return new n(t,e[0],e[1],e[2],e[3],e[4],r[0],r[1],r[2],r[3],r[4],i)}}};function l(t,e){var r=-1===e?"T":String(e),n=s[r];return-1===e?n(t):0===e?n(t,c[t][0]):n(t,c[t],o)}var c={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};e.exports=function(t,e,r,a){if(void 0===t)return(0,c.array[0])([]);"number"==typeof t&&(t=[t]),void 0===e&&(e=[t.length]);var o=e.length;if(void 0===r){r=new Array(o);for(var s=o-1,u=1;s>=0;--s)r[s]=u,u*=e[s]}if(void 0===a){a=0;for(s=0;s<o;++s)r[s]<0&&(a-=(e[s]-1)*r[s])}for(var f=function(t){if(n(t))return"buffer";if(i)switch(Object.prototype.toString.call(t)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(t)?"array":"generic"}(t),h=c[f];h.length<=o+1;)h.push(l(f,h.length-1));return(0,h[o+1])(t,e,r,a)}},{"is-buffer":237}],260:[function(t,e,r){"use strict";var n=t("double-bits"),i=Math.pow(2,-1074);e.exports=function(t,e){if(isNaN(t)||isNaN(e))return NaN;if(t===e)return t;if(0===t)return e<0?-i:i;var r=n.hi(t),a=n.lo(t);e>t==t>0?a===-1>>>0?(r+=1,a=0):a+=1:0===a?(a=-1>>>0,r-=1):a-=1;return n.pack(a,r)}},{"double-bits":64}],261:[function(t,e,r){r.vertexNormals=function(t,e,r){for(var n=e.length,i=new Array(n),a=void 0===r?1e-6:r,o=0;o<n;++o)i[o]=[0,0,0];for(o=0;o<t.length;++o)for(var s=t[o],l=0,c=s[s.length-1],u=s[0],f=0;f<s.length;++f){l=c,c=u,u=s[(f+1)%s.length];for(var h=e[l],p=e[c],d=e[u],g=new Array(3),m=0,v=new Array(3),y=0,x=0;x<3;++x)g[x]=h[x]-p[x],m+=g[x]*g[x],v[x]=d[x]-p[x],y+=v[x]*v[x];if(m*y>a){var b=i[c],_=1/Math.sqrt(m*y);for(x=0;x<3;++x){var w=(x+1)%3,T=(x+2)%3;b[x]+=_*(v[w]*g[T]-v[T]*g[w])}}}for(o=0;o<n;++o){b=i[o];var k=0;for(x=0;x<3;++x)k+=b[x]*b[x];if(k>a)for(_=1/Math.sqrt(k),x=0;x<3;++x)b[x]*=_;else for(x=0;x<3;++x)b[x]=0}return i},r.faceNormals=function(t,e,r){for(var n=t.length,i=new Array(n),a=void 0===r?1e-6:r,o=0;o<n;++o){for(var s=t[o],l=new Array(3),c=0;c<3;++c)l[c]=e[s[c]];var u=new Array(3),f=new Array(3);for(c=0;c<3;++c)u[c]=l[1][c]-l[0][c],f[c]=l[2][c]-l[0][c];var h=new Array(3),p=0;for(c=0;c<3;++c){var d=(c+1)%3,g=(c+2)%3;h[c]=u[d]*f[g]-u[g]*f[d],p+=h[c]*h[c]}p=p>a?1/Math.sqrt(p):0;for(c=0;c<3;++c)h[c]*=p;i[o]=h}return i}},{}],262:[function(t,e,r){"use strict";e.exports=function(t,e,r,n,i,a,o,s,l,c){var u=e+a+c;if(f>0){var f=Math.sqrt(u+1);t[0]=.5*(o-l)/f,t[1]=.5*(s-n)/f,t[2]=.5*(r-a)/f,t[3]=.5*f}else{var h=Math.max(e,a,c);f=Math.sqrt(2*h-u+1);e>=h?(t[0]=.5*f,t[1]=.5*(i+r)/f,t[2]=.5*(s+n)/f,t[3]=.5*(o-l)/f):a>=h?(t[0]=.5*(r+i)/f,t[1]=.5*f,t[2]=.5*(l+o)/f,t[3]=.5*(s-n)/f):(t[0]=.5*(n+s)/f,t[1]=.5*(o+l)/f,t[2]=.5*f,t[3]=.5*(r-i)/f)}return t}},{}],263:[function(t,e,r){"use strict";e.exports=function(t){var e=(t=t||{}).center||[0,0,0],r=t.rotation||[0,0,0,1],n=t.radius||1;e=[].slice.call(e,0,3),u(r=[].slice.call(r,0,4),r);var i=new f(r,e,Math.log(n));i.setDistanceLimits(t.zoomMin,t.zoomMax),("eye"in t||"up"in t)&&i.lookAt(0,t.eye,t.center,t.up);return i};var n=t("filtered-vector"),i=t("gl-mat4/lookAt"),a=t("gl-mat4/fromQuat"),o=t("gl-mat4/invert"),s=t("./lib/quatFromFrame");function l(t,e,r){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(r,2))}function c(t,e,r,n){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(r,2)+Math.pow(n,2))}function u(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=c(r,n,i,a);o>1e-6?(t[0]=r/o,t[1]=n/o,t[2]=i/o,t[3]=a/o):(t[0]=t[1]=t[2]=0,t[3]=1)}function f(t,e,r){this.radius=n([r]),this.center=n(e),this.rotation=n(t),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var h=f.prototype;h.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},h.recalcMatrix=function(t){this.radius.curve(t),this.center.curve(t),this.rotation.curve(t);var e=this.computedRotation;u(e,e);var r=this.computedMatrix;a(r,e);var n=this.computedCenter,i=this.computedEye,o=this.computedUp,s=Math.exp(this.computedRadius[0]);i[0]=n[0]+s*r[2],i[1]=n[1]+s*r[6],i[2]=n[2]+s*r[10],o[0]=r[1],o[1]=r[5],o[2]=r[9];for(var l=0;l<3;++l){for(var c=0,f=0;f<3;++f)c+=r[l+4*f]*i[f];r[12+l]=-c}},h.getMatrix=function(t,e){this.recalcMatrix(t);var r=this.computedMatrix;if(e){for(var n=0;n<16;++n)e[n]=r[n];return e}return r},h.idle=function(t){this.center.idle(t),this.radius.idle(t),this.rotation.idle(t)},h.flush=function(t){this.center.flush(t),this.radius.flush(t),this.rotation.flush(t)},h.pan=function(t,e,r,n){e=e||0,r=r||0,n=n||0,this.recalcMatrix(t);var i=this.computedMatrix,a=i[1],o=i[5],s=i[9],c=l(a,o,s);a/=c,o/=c,s/=c;var u=i[0],f=i[4],h=i[8],p=u*a+f*o+h*s,d=l(u-=a*p,f-=o*p,h-=s*p);u/=d,f/=d,h/=d;var g=i[2],m=i[6],v=i[10],y=g*a+m*o+v*s,x=g*u+m*f+v*h,b=l(g-=y*a+x*u,m-=y*o+x*f,v-=y*s+x*h);g/=b,m/=b,v/=b;var _=u*e+a*r,w=f*e+o*r,T=h*e+s*r;this.center.move(t,_,w,T);var k=Math.exp(this.computedRadius[0]);k=Math.max(1e-4,k+n),this.radius.set(t,Math.log(k))},h.rotate=function(t,e,r,n){this.recalcMatrix(t),e=e||0,r=r||0;var i=this.computedMatrix,a=i[0],o=i[4],s=i[8],u=i[1],f=i[5],h=i[9],p=i[2],d=i[6],g=i[10],m=e*a+r*u,v=e*o+r*f,y=e*s+r*h,x=-(d*y-g*v),b=-(g*m-p*y),_=-(p*v-d*m),w=Math.sqrt(Math.max(0,1-Math.pow(x,2)-Math.pow(b,2)-Math.pow(_,2))),T=c(x,b,_,w);T>1e-6?(x/=T,b/=T,_/=T,w/=T):(x=b=_=0,w=1);var k=this.computedRotation,A=k[0],M=k[1],S=k[2],E=k[3],L=A*w+E*x+M*_-S*b,C=M*w+E*b+S*x-A*_,P=S*w+E*_+A*b-M*x,I=E*w-A*x-M*b-S*_;if(n){x=p,b=d,_=g;var O=Math.sin(n)/l(x,b,_);x*=O,b*=O,_*=O,I=I*(w=Math.cos(e))-(L=L*w+I*x+C*_-P*b)*x-(C=C*w+I*b+P*x-L*_)*b-(P=P*w+I*_+L*b-C*x)*_}var z=c(L,C,P,I);z>1e-6?(L/=z,C/=z,P/=z,I/=z):(L=C=P=0,I=1),this.rotation.set(t,L,C,P,I)},h.lookAt=function(t,e,r,n){this.recalcMatrix(t),r=r||this.computedCenter,e=e||this.computedEye,n=n||this.computedUp;var a=this.computedMatrix;i(a,e,r,n);var o=this.computedRotation;s(o,a[0],a[1],a[2],a[4],a[5],a[6],a[8],a[9],a[10]),u(o,o),this.rotation.set(t,o[0],o[1],o[2],o[3]);for(var l=0,c=0;c<3;++c)l+=Math.pow(r[c]-e[c],2);this.radius.set(t,.5*Math.log(Math.max(l,1e-6))),this.center.set(t,r[0],r[1],r[2])},h.translate=function(t,e,r,n){this.center.move(t,e||0,r||0,n||0)},h.setMatrix=function(t,e){var r=this.computedRotation;s(r,e[0],e[1],e[2],e[4],e[5],e[6],e[8],e[9],e[10]),u(r,r),this.rotation.set(t,r[0],r[1],r[2],r[3]);var n=this.computedMatrix;o(n,e);var i=n[15];if(Math.abs(i)>1e-6){var a=n[12]/i,l=n[13]/i,c=n[14]/i;this.recalcMatrix(t);var f=Math.exp(this.computedRadius[0]);this.center.set(t,a-n[2]*f,l-n[6]*f,c-n[10]*f),this.radius.idle(t)}else this.center.idle(t),this.radius.idle(t)},h.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},h.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},h.getDistanceLimits=function(t){var e=this.radius.bounds;return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},h.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},h.fromJSON=function(t){var e=this.lastT(),r=t.center;r&&this.center.set(e,r[0],r[1],r[2]);var n=t.rotation;n&&this.rotation.set(e,n[0],n[1],n[2],n[3]);var i=t.distance;i&&i>0&&this.radius.set(e,Math.log(i)),this.setDistanceLimits(t.zoomMin,t.zoomMax)}},{"./lib/quatFromFrame":262,"filtered-vector":68,"gl-mat4/fromQuat":95,"gl-mat4/invert":98,"gl-mat4/lookAt":99}],264:[function(t,e,r){
/*!
 * pad-left <https://github.com/jonschlinkert/pad-left>
 *
 * Copyright (c) 2014-2015, Jon Schlinkert.
 * Licensed under the MIT license.
 */
"use strict";var n=t("repeat-string");e.exports=function(t,e,r){return n(r=void 0!==r?r+"":" ",e)+t}},{"repeat-string":277}],265:[function(t,e,r){e.exports=function(t,e){e||(e=[0,""]),t=String(t);var r=parseFloat(t,10);return e[0]=r,e[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",e}},{}],266:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=0|e.length,i=t.length,a=[new Array(r),new Array(r)],o=0;o<r;++o)a[0][o]=[],a[1][o]=[];for(o=0;o<i;++o){var s=t[o];a[0][s[0]].push(s),a[1][s[1]].push(s)}var l=[];for(o=0;o<r;++o)a[0][o].length+a[1][o].length===0&&l.push([o]);function c(t,e){var r=a[e][t[e]];r.splice(r.indexOf(t),1)}function u(t,r,i){for(var o,s,l,u=0;u<2;++u)if(a[u][r].length>0){o=a[u][r][0],l=u;break}s=o[1^l];for(var f=0;f<2;++f)for(var h=a[f][r],p=0;p<h.length;++p){var d=h[p],g=d[1^f];n(e[t],e[r],e[s],e[g])>0&&(o=d,s=g,l=f)}return i||o&&c(o,l),s}function f(t,r){var i=a[r][t][0],o=[t];c(i,r);for(var s=i[1^r];;){for(;s!==t;)o.push(s),s=u(o[o.length-2],s,!1);if(a[0][t].length+a[1][t].length===0)break;var l=o[o.length-1],f=t,h=o[1],p=u(l,f,!0);if(n(e[l],e[f],e[h],e[p])<0)break;o.push(t),s=u(l,f)}return o}function h(t,e){return e[1]===e[e.length-1]}for(o=0;o<r;++o)for(var p=0;p<2;++p){for(var d=[];a[p][o].length>0;){a[0][o].length;var g=f(o,p);h(0,g)?d.push.apply(d,g):(d.length>0&&l.push(d),d=g)}d.length>0&&l.push(d)}return l};var n=t("compare-angle")},{"compare-angle":54}],267:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=n(t,e.length),i=new Array(e.length),a=new Array(e.length),o=[],s=0;s<e.length;++s){var l=r[s].length;a[s]=l,i[s]=!0,l<=1&&o.push(s)}for(;o.length>0;){var c=o.pop();i[c]=!1;var u=r[c];for(s=0;s<u.length;++s){var f=u[s];0==--a[f]&&o.push(f)}}var h=new Array(e.length),p=[];for(s=0;s<e.length;++s)if(i[s]){c=p.length;h[s]=c,p.push(e[s])}else h[s]=-1;var d=[];for(s=0;s<t.length;++s){var g=t[s];i[g[0]]&&i[g[1]]&&d.push([h[g[0]],h[g[1]]])}return[d,p]};var n=t("edges-to-adjacency-list")},{"edges-to-adjacency-list":66}],268:[function(t,e,r){"use strict";e.exports=function(t,e){var r=c(t,e);t=r[0];for(var f=(e=r[1]).length,h=(t.length,n(t,e.length)),p=0;p<f;++p)if(h[p].length%2==1)throw new Error("planar-graph-to-polyline: graph must be manifold");var d=i(t,e);var g=(d=d.filter((function(t){for(var r=t.length,n=[0],i=0;i<r;++i){var a=e[t[i]],l=e[t[(i+1)%r]],c=o(-a[0],a[1]),u=o(-a[0],l[1]),f=o(l[0],a[1]),h=o(l[0],l[1]);n=s(n,s(s(c,u),s(f,h)))}return n[n.length-1]>0}))).length,m=new Array(g),v=new Array(g);for(p=0;p<g;++p){m[p]=p;var y=new Array(g),x=d[p].map((function(t){return e[t]})),b=a([x]),_=0;t:for(var w=0;w<g;++w)if(y[w]=0,p!==w){for(var T=(H=d[w]).length,k=0;k<T;++k){var A=b(e[H[k]]);if(0!==A){A<0&&(y[w]=1,_+=1);continue t}}y[w]=1,_+=1}v[p]=[_,p,y]}v.sort((function(t,e){return e[0]-t[0]}));for(p=0;p<g;++p){var M=(y=v[p])[1],S=y[2];for(w=0;w<g;++w)S[w]&&(m[w]=M)}var E=function(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=[];return e}(g);for(p=0;p<g;++p)E[p].push(m[p]),E[m[p]].push(p);var L={},C=u(f,!1);for(p=0;p<g;++p)for(T=(H=d[p]).length,w=0;w<T;++w){var P=H[w],I=H[(w+1)%T],O=Math.min(P,I)+":"+Math.max(P,I);if(O in L){var z=L[O];E[z].push(p),E[p].push(z),C[P]=C[I]=!0}else L[O]=p}function D(t){for(var e=t.length,r=0;r<e;++r)if(!C[t[r]])return!1;return!0}var R=[],F=u(g,-1);for(p=0;p<g;++p)m[p]!==p||D(d[p])?F[p]=-1:(R.push(p),F[p]=0);r=[];for(;R.length>0;){var B=R.pop(),N=E[B];l(N,(function(t,e){return t-e}));var j,U=N.length,V=F[B];if(0===V){var H=d[B];j=[H]}for(p=0;p<U;++p){var q=N[p];if(!(F[q]>=0))if(F[q]=1^V,R.push(q),0===V)D(H=d[q])||(H.reverse(),j.push(H))}0===V&&r.push(j)}return r};var n=t("edges-to-adjacency-list"),i=t("planar-dual"),a=t("point-in-big-polygon"),o=t("two-product"),s=t("robust-sum"),l=t("uniq"),c=t("./lib/trim-leaves");function u(t,e){for(var r=new Array(t),n=0;n<t;++n)r[n]=e;return r}},{"./lib/trim-leaves":267,"edges-to-adjacency-list":66,"planar-dual":266,"point-in-big-polygon":269,"robust-sum":289,"two-product":306,uniq:310}],269:[function(t,e,r){e.exports=function(t){for(var e=t.length,r=[],a=[],s=0;s<e;++s)for(var u=t[s],f=u.length,h=f-1,p=0;p<f;h=p++){var d=u[h],g=u[p];d[0]===g[0]?a.push([d,g]):r.push([d,g])}if(0===r.length)return 0===a.length?c:(m=l(a),function(t){return m(t[0],t[1])?0:1});var m;var v=i(r),y=function(t,e){return function(r){var i=o.le(e,r[0]);if(i<0)return 1;var a=t[i];if(!a){if(!(i>0&&e[i]===r[0]))return 1;a=t[i-1]}for(var s=1;a;){var l=a.key,c=n(r,l[0],l[1]);if(l[0][0]<l[1][0])if(c<0)a=a.left;else{if(!(c>0))return 0;s=-1,a=a.right}else if(c>0)a=a.left;else{if(!(c<0))return 0;s=1,a=a.right}}return s}}(v.slabs,v.coordinates);return 0===a.length?y:function(t,e){return function(r){return t(r[0],r[1])?0:e(r)}}(l(a),y)};var n=t("robust-orientation")[3],i=t("slab-decomposition"),a=t("interval-tree-1d"),o=t("binary-search-bounds");function s(){return!0}function l(t){for(var e={},r=0;r<t.length;++r){var n=t[r],i=n[0][0],o=n[0][1],l=n[1][1],c=[Math.min(o,l),Math.max(o,l)];i in e?e[i].push(c):e[i]=[c]}var u={},f=Object.keys(e);for(r=0;r<f.length;++r){var h=e[f[r]];u[f[r]]=a(h)}return function(t){return function(e,r){var n=t[e];return!!n&&!!n.queryPoint(r,s)}}(u)}function c(t){return 1}},{"binary-search-bounds":31,"interval-tree-1d":234,"robust-orientation":284,"slab-decomposition":299}],270:[function(t,e,r){"use strict";var n=new Float64Array(4),i=new Float64Array(4),a=new Float64Array(4);e.exports=function(t,e,r,o,s){n.length<o.length&&(n=new Float64Array(o.length),i=new Float64Array(o.length),a=new Float64Array(o.length));for(var l=0;l<o.length;++l)n[l]=t[l]-o[l],i[l]=e[l]-t[l],a[l]=r[l]-t[l];var c=0,u=0,f=0,h=0,p=0,d=0;for(l=0;l<o.length;++l){var g=i[l],m=a[l],v=n[l];c+=g*g,u+=g*m,f+=m*m,h+=v*g,p+=v*m,d+=v*v}var y,x,b,_,w,T=Math.abs(c*f-u*u),k=u*p-f*h,A=u*h-c*p;if(k+A<=T)if(k<0)A<0&&h<0?(A=0,-h>=c?(k=1,y=c+2*h+d):y=h*(k=-h/c)+d):(k=0,p>=0?(A=0,y=d):-p>=f?(A=1,y=f+2*p+d):y=p*(A=-p/f)+d);else if(A<0)A=0,h>=0?(k=0,y=d):-h>=c?(k=1,y=c+2*h+d):y=h*(k=-h/c)+d;else{var M=1/T;y=(k*=M)*(c*k+u*(A*=M)+2*h)+A*(u*k+f*A+2*p)+d}else k<0?(b=f+p)>(x=u+h)?(_=b-x)>=(w=c-2*u+f)?(k=1,A=0,y=c+2*h+d):y=(k=_/w)*(c*k+u*(A=1-k)+2*h)+A*(u*k+f*A+2*p)+d:(k=0,b<=0?(A=1,y=f+2*p+d):p>=0?(A=0,y=d):y=p*(A=-p/f)+d):A<0?(b=c+h)>(x=u+p)?(_=b-x)>=(w=c-2*u+f)?(A=1,k=0,y=f+2*p+d):y=(k=1-(A=_/w))*(c*k+u*A+2*h)+A*(u*k+f*A+2*p)+d:(A=0,b<=0?(k=1,y=c+2*h+d):h>=0?(k=0,y=d):y=h*(k=-h/c)+d):(_=f+p-u-h)<=0?(k=0,A=1,y=f+2*p+d):_>=(w=c-2*u+f)?(k=1,A=0,y=c+2*h+d):y=(k=_/w)*(c*k+u*(A=1-k)+2*h)+A*(u*k+f*A+2*p)+d;var S=1-k-A;for(l=0;l<o.length;++l)s[l]=S*t[l]+k*e[l]+A*r[l];return y<0?0:y}},{}],271:[function(t,e,r){e.exports=t("gl-quat/slerp")},{"gl-quat/slerp":124}],272:[function(t,e,r){"use strict";var n=t("big-rat/add");e.exports=function(t,e){for(var r=t.length,i=new Array(r),a=0;a<r;++a)i[a]=n(t[a],e[a]);return i}},{"big-rat/add":15}],273:[function(t,e,r){"use strict";e.exports=function(t){for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=n(t[r]);return e};var n=t("big-rat")},{"big-rat":18}],274:[function(t,e,r){"use strict";var n=t("big-rat"),i=t("big-rat/mul");e.exports=function(t,e){for(var r=n(e),a=t.length,o=new Array(a),s=0;s<a;++s)o[s]=i(t[s],r);return o}},{"big-rat":18,"big-rat/mul":27}],275:[function(t,e,r){"use strict";var n=t("big-rat/sub");e.exports=function(t,e){for(var r=t.length,i=new Array(r),a=0;a<r;++a)i[a]=n(t[a],e[a]);return i}},{"big-rat/sub":29}],276:[function(t,e,r){"use strict";var n=t("compare-cell"),i=t("compare-oriented-cell"),a=t("cell-orientation");e.exports=function(t){t.sort(i);for(var e=t.length,r=0,o=0;o<e;++o){var s=t[o],l=a(s);if(0!==l){if(r>0){var c=t[r-1];if(0===n(s,c)&&a(c)!==l){r-=1;continue}}t[r++]=s}}return t.length=r,t}},{"cell-orientation":47,"compare-cell":56,"compare-oriented-cell":57}],277:[function(t,e,r){
/*!
 * repeat-string <https://github.com/jonschlinkert/repeat-string>
 *
 * Copyright (c) 2014-2015, Jon Schlinkert.
 * Licensed under the MIT License.
 */
"use strict";var n,i="";e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");if(1===e)return t;if(2===e)return t+t;var r=t.length*e;if(n!==t||void 0===n)n=t,i="";else if(i.length>=r)return i.substr(0,r);for(;r>i.length&&e>1;)1&e&&(i+=t),e>>=1,t+=t;return i=(i+=t).substr(0,r)}},{}],278:[function(t,e,r){(function(t){(function(){e.exports=t.performance&&t.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}}).call(this)}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],279:[function(t,e,r){"use strict";e.exports=function(t){for(var e=t.length,r=t[t.length-1],n=e,i=e-2;i>=0;--i){var a=r,o=t[i];(l=o-((r=a+o)-a))&&(t[--n]=r,r=l)}var s=0;for(i=n;i<e;++i){var l;a=t[i];(l=(o=r)-((r=a+o)-a))&&(t[s++]=l)}return t[s++]=r,t.length=s,t}},{}],280:[function(t,e,r){"use strict";var n=t("two-product"),i=t("robust-sum"),a=t("robust-scale"),o=t("robust-compress");function s(t,e,r,n){return function(e){return n(t(r(e[0][0],e[1][1]),r(-e[0][1],e[1][0])))}}function l(t,e,r,n){return function(i){return n(t(e(t(r(i[1][1],i[2][2]),r(-i[1][2],i[2][1])),i[0][0]),t(e(t(r(i[1][0],i[2][2]),r(-i[1][2],i[2][0])),-i[0][1]),e(t(r(i[1][0],i[2][1]),r(-i[1][1],i[2][0])),i[0][2]))))}}function c(t){return(2===t?s:3===t?l:void 0)(i,a,n,o)}var u=[function(){return[0]},function(t){return[t[0][0]]}];function f(t,e,r,n,i,a){return function(o){switch(o.length){case 0:return t(o);case 1:return e(o);case 2:return r(o);case 3:return n(o)}var s=i[o.length];return s||(s=i[o.length]=a(o.length)),s(o)}}!function(){for(;u.length<4;)u.push(c(u.length));e.exports=f.apply(void 0,u.concat([u,c]));for(var t=0;t<u.length;++t)e.exports[t]=u[t]}()},{"robust-compress":279,"robust-scale":286,"robust-sum":289,"two-product":306}],281:[function(t,e,r){"use strict";var n=t("two-product"),i=t("robust-sum");e.exports=function(t,e){for(var r=n(t[0],e[0]),a=1;a<t.length;++a)r=i(r,n(t[a],e[a]));return r}},{"robust-sum":289,"two-product":306}],282:[function(t,e,r){"use strict";var n=t("two-product"),i=t("robust-sum"),a=t("robust-subtract"),o=t("robust-scale");function s(t){return(3===t?l:4===t?c:5===t?u:f)(i,a,n,o)}function l(t,e,r,n){return function(i,a,o){var s=r(i[0],i[0]),l=n(s,a[0]),c=n(s,o[0]),u=r(a[0],a[0]),f=n(u,i[0]),h=n(u,o[0]),p=r(o[0],o[0]),d=n(p,i[0]),g=n(p,a[0]),m=t(e(g,h),e(f,l)),v=e(d,c),y=e(m,v);return y[y.length-1]}}function c(t,e,r,n){return function(i,a,o,s){var l=t(r(i[0],i[0]),r(i[1],i[1])),c=n(l,a[0]),u=n(l,o[0]),f=n(l,s[0]),h=t(r(a[0],a[0]),r(a[1],a[1])),p=n(h,i[0]),d=n(h,o[0]),g=n(h,s[0]),m=t(r(o[0],o[0]),r(o[1],o[1])),v=n(m,i[0]),y=n(m,a[0]),x=n(m,s[0]),b=t(r(s[0],s[0]),r(s[1],s[1])),_=n(b,i[0]),w=n(b,a[0]),T=n(b,o[0]),k=t(t(n(e(T,x),a[1]),t(n(e(w,g),-o[1]),n(e(y,d),s[1]))),t(n(e(w,g),i[1]),t(n(e(_,f),-a[1]),n(e(p,c),s[1])))),A=t(t(n(e(T,x),i[1]),t(n(e(_,f),-o[1]),n(e(v,u),s[1]))),t(n(e(y,d),i[1]),t(n(e(v,u),-a[1]),n(e(p,c),o[1])))),M=e(k,A);return M[M.length-1]}}function u(t,e,r,n){return function(i,a,o,s,l){var c=t(r(i[0],i[0]),t(r(i[1],i[1]),r(i[2],i[2]))),u=n(c,a[0]),f=n(c,o[0]),h=n(c,s[0]),p=n(c,l[0]),d=t(r(a[0],a[0]),t(r(a[1],a[1]),r(a[2],a[2]))),g=n(d,i[0]),m=n(d,o[0]),v=n(d,s[0]),y=n(d,l[0]),x=t(r(o[0],o[0]),t(r(o[1],o[1]),r(o[2],o[2]))),b=n(x,i[0]),_=n(x,a[0]),w=n(x,s[0]),T=n(x,l[0]),k=t(r(s[0],s[0]),t(r(s[1],s[1]),r(s[2],s[2]))),A=n(k,i[0]),M=n(k,a[0]),S=n(k,o[0]),E=n(k,l[0]),L=t(r(l[0],l[0]),t(r(l[1],l[1]),r(l[2],l[2]))),C=n(L,i[0]),P=n(L,a[0]),I=n(L,o[0]),O=n(L,s[0]),z=t(t(t(n(t(n(e(O,E),o[1]),t(n(e(I,T),-s[1]),n(e(S,w),l[1]))),a[2]),t(n(t(n(e(O,E),a[1]),t(n(e(P,y),-s[1]),n(e(M,v),l[1]))),-o[2]),n(t(n(e(I,T),a[1]),t(n(e(P,y),-o[1]),n(e(_,m),l[1]))),s[2]))),t(n(t(n(e(S,w),a[1]),t(n(e(M,v),-o[1]),n(e(_,m),s[1]))),-l[2]),t(n(t(n(e(O,E),a[1]),t(n(e(P,y),-s[1]),n(e(M,v),l[1]))),i[2]),n(t(n(e(O,E),i[1]),t(n(e(C,p),-s[1]),n(e(A,h),l[1]))),-a[2])))),t(t(n(t(n(e(P,y),i[1]),t(n(e(C,p),-a[1]),n(e(g,u),l[1]))),s[2]),t(n(t(n(e(M,v),i[1]),t(n(e(A,h),-a[1]),n(e(g,u),s[1]))),-l[2]),n(t(n(e(S,w),a[1]),t(n(e(M,v),-o[1]),n(e(_,m),s[1]))),i[2]))),t(n(t(n(e(S,w),i[1]),t(n(e(A,h),-o[1]),n(e(b,f),s[1]))),-a[2]),t(n(t(n(e(M,v),i[1]),t(n(e(A,h),-a[1]),n(e(g,u),s[1]))),o[2]),n(t(n(e(_,m),i[1]),t(n(e(b,f),-a[1]),n(e(g,u),o[1]))),-s[2]))))),D=t(t(t(n(t(n(e(O,E),o[1]),t(n(e(I,T),-s[1]),n(e(S,w),l[1]))),i[2]),n(t(n(e(O,E),i[1]),t(n(e(C,p),-s[1]),n(e(A,h),l[1]))),-o[2])),t(n(t(n(e(I,T),i[1]),t(n(e(C,p),-o[1]),n(e(b,f),l[1]))),s[2]),n(t(n(e(S,w),i[1]),t(n(e(A,h),-o[1]),n(e(b,f),s[1]))),-l[2]))),t(t(n(t(n(e(I,T),a[1]),t(n(e(P,y),-o[1]),n(e(_,m),l[1]))),i[2]),n(t(n(e(I,T),i[1]),t(n(e(C,p),-o[1]),n(e(b,f),l[1]))),-a[2])),t(n(t(n(e(P,y),i[1]),t(n(e(C,p),-a[1]),n(e(g,u),l[1]))),o[2]),n(t(n(e(_,m),i[1]),t(n(e(b,f),-a[1]),n(e(g,u),o[1]))),-l[2])))),R=e(z,D);return R[R.length-1]}}function f(t,e,r,n){return function(i,a,o,s,l,c){var u=t(t(r(i[0],i[0]),r(i[1],i[1])),t(r(i[2],i[2]),r(i[3],i[3]))),f=n(u,a[0]),h=n(u,o[0]),p=n(u,s[0]),d=n(u,l[0]),g=n(u,c[0]),m=t(t(r(a[0],a[0]),r(a[1],a[1])),t(r(a[2],a[2]),r(a[3],a[3]))),v=n(m,i[0]),y=n(m,o[0]),x=n(m,s[0]),b=n(m,l[0]),_=n(m,c[0]),w=t(t(r(o[0],o[0]),r(o[1],o[1])),t(r(o[2],o[2]),r(o[3],o[3]))),T=n(w,i[0]),k=n(w,a[0]),A=n(w,s[0]),M=n(w,l[0]),S=n(w,c[0]),E=t(t(r(s[0],s[0]),r(s[1],s[1])),t(r(s[2],s[2]),r(s[3],s[3]))),L=n(E,i[0]),C=n(E,a[0]),P=n(E,o[0]),I=n(E,l[0]),O=n(E,c[0]),z=t(t(r(l[0],l[0]),r(l[1],l[1])),t(r(l[2],l[2]),r(l[3],l[3]))),D=n(z,i[0]),R=n(z,a[0]),F=n(z,o[0]),B=n(z,s[0]),N=n(z,c[0]),j=t(t(r(c[0],c[0]),r(c[1],c[1])),t(r(c[2],c[2]),r(c[3],c[3]))),U=n(j,i[0]),V=n(j,a[0]),H=n(j,o[0]),q=n(j,s[0]),G=n(j,l[0]),Y=t(t(t(n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),o[2]),n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),-s[2])),t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),l[2]),n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),-c[2]))),a[3]),t(n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),a[2]),n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),-s[2])),t(n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),l[2]),n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),-c[2]))),-o[3]),n(t(t(n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),a[2]),n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),-o[2])),t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),l[2]),n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),-c[2]))),s[3]))),t(t(n(t(t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),a[2]),n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),-o[2])),t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),s[2]),n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),-c[2]))),-l[3]),n(t(t(n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),a[2]),n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),-o[2])),t(n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),s[2]),n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),-l[2]))),c[3])),t(n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),a[2]),n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),-s[2])),t(n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),l[2]),n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),-c[2]))),i[3]),n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-s[2])),t(n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),l[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-c[2]))),-a[3])))),t(t(t(n(t(t(n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),l[2]),n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),-c[2]))),s[3]),n(t(t(n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),i[2]),n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),s[2]),n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),-c[2]))),-l[3])),t(n(t(t(n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),i[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-a[2])),t(n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),s[2]),n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),-l[2]))),c[3]),n(t(t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),a[2]),n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),-o[2])),t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),s[2]),n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),-c[2]))),i[3]))),t(t(n(t(t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),i[2]),n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),-o[2])),t(n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),s[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-c[2]))),-a[3]),n(t(t(n(t(n(e(q,O),a[1]),t(n(e(V,_),-s[1]),n(e(C,x),c[1]))),i[2]),n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),s[2]),n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),-c[2]))),o[3])),t(n(t(t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),i[2]),n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-c[2]))),-s[3]),n(t(t(n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),i[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-a[2])),t(n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-s[2]))),c[3]))))),W=t(t(t(n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),o[2]),n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),-s[2])),t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),l[2]),n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),-c[2]))),i[3]),t(n(t(t(n(t(n(e(G,N),s[1]),t(n(e(q,O),-l[1]),n(e(B,I),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-s[2])),t(n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),l[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-c[2]))),-o[3]),n(t(t(n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-o[2])),t(n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),l[2]),n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),-c[2]))),s[3]))),t(t(n(t(t(n(t(n(e(q,O),o[1]),t(n(e(H,S),-s[1]),n(e(P,A),c[1]))),i[2]),n(t(n(e(q,O),i[1]),t(n(e(U,g),-s[1]),n(e(L,p),c[1]))),-o[2])),t(n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),s[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-c[2]))),-l[3]),n(t(t(n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),i[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-o[2])),t(n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),s[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-l[2]))),c[3])),t(n(t(t(n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),a[2]),n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),-o[2])),t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),l[2]),n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),-c[2]))),i[3]),n(t(t(n(t(n(e(G,N),o[1]),t(n(e(H,S),-l[1]),n(e(F,M),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-o[2])),t(n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),l[2]),n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),-c[2]))),-a[3])))),t(t(t(n(t(t(n(t(n(e(G,N),a[1]),t(n(e(V,_),-l[1]),n(e(R,b),c[1]))),i[2]),n(t(n(e(G,N),i[1]),t(n(e(U,g),-l[1]),n(e(D,d),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),l[2]),n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),-c[2]))),o[3]),n(t(t(n(t(n(e(H,S),a[1]),t(n(e(V,_),-o[1]),n(e(k,y),c[1]))),i[2]),n(t(n(e(H,S),i[1]),t(n(e(U,g),-o[1]),n(e(T,h),c[1]))),-a[2])),t(n(t(n(e(V,_),i[1]),t(n(e(U,g),-a[1]),n(e(v,f),c[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-c[2]))),-l[3])),t(n(t(t(n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),i[2]),n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),-a[2])),t(n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-l[2]))),c[3]),n(t(t(n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),a[2]),n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),-o[2])),t(n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),s[2]),n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),-l[2]))),i[3]))),t(t(n(t(t(n(t(n(e(B,I),o[1]),t(n(e(F,M),-s[1]),n(e(P,A),l[1]))),i[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-o[2])),t(n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),s[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-l[2]))),-a[3]),n(t(t(n(t(n(e(B,I),a[1]),t(n(e(R,b),-s[1]),n(e(C,x),l[1]))),i[2]),n(t(n(e(B,I),i[1]),t(n(e(D,d),-s[1]),n(e(L,p),l[1]))),-a[2])),t(n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),s[2]),n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),-l[2]))),o[3])),t(n(t(t(n(t(n(e(F,M),a[1]),t(n(e(R,b),-o[1]),n(e(k,y),l[1]))),i[2]),n(t(n(e(F,M),i[1]),t(n(e(D,d),-o[1]),n(e(T,h),l[1]))),-a[2])),t(n(t(n(e(R,b),i[1]),t(n(e(D,d),-a[1]),n(e(v,f),l[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-l[2]))),-s[3]),n(t(t(n(t(n(e(P,A),a[1]),t(n(e(C,x),-o[1]),n(e(k,y),s[1]))),i[2]),n(t(n(e(P,A),i[1]),t(n(e(L,p),-o[1]),n(e(T,h),s[1]))),-a[2])),t(n(t(n(e(C,x),i[1]),t(n(e(L,p),-a[1]),n(e(v,f),s[1]))),o[2]),n(t(n(e(k,y),i[1]),t(n(e(T,h),-a[1]),n(e(v,f),o[1]))),-s[2]))),l[3]))))),X=e(Y,W);return X[X.length-1]}}var h=[function(){return 0},function(){return 0},function(){return 0}];function p(t){var e=h[t.length];return e||(e=h[t.length]=s(t.length)),e.apply(void 0,t)}function d(t,e,r,n,i,a,o,s){return function(e,r,l,c,u,f){switch(arguments.length){case 0:case 1:return 0;case 2:return n(e,r);case 3:return i(e,r,l);case 4:return a(e,r,l,c);case 5:return o(e,r,l,c,u);case 6:return s(e,r,l,c,u,f)}for(var h=new Array(arguments.length),p=0;p<arguments.length;++p)h[p]=arguments[p];return t(h)}}!function(){for(;h.length<=6;)h.push(s(h.length));e.exports=d.apply(void 0,[p].concat(h));for(var t=0;t<=6;++t)e.exports[t]=h[t]}()},{"robust-scale":286,"robust-subtract":288,"robust-sum":289,"two-product":306}],283:[function(t,e,r){"use strict";var n=t("robust-determinant");function i(t){var e=2===t?a:o;return e(t<3?n[t]:n)}function a(t){return function(e,r){return[t([[+r[0],+e[0][1]],[+r[1],+e[1][1]]]),t([[+e[0][0],+r[0]],[+e[1][0],+r[1]]]),t(e)]}}function o(t){return function(e,r){return[t([[+r[0],+e[0][1],+e[0][2]],[+r[1],+e[1][1],+e[1][2]],[+r[2],+e[2][1],+e[2][2]]]),t([[+e[0][0],+r[0],+e[0][2]],[+e[1][0],+r[1],+e[1][2]],[+e[2][0],+r[2],+e[2][2]]]),t([[+e[0][0],+e[0][1],+r[0]],[+e[1][0],+e[1][1],+r[1]],[+e[2][0],+e[2][1],+r[2]]]),t(e)]}}var s=[function(){return[[0]]},function(t,e){return[[e[0]],[t[0][0]]]}];function l(t,e,r,n,i,a){return function(o,s){switch(o.length){case 0:return t(o,s);case 1:return e(o,s);case 2:return r(o,s);case 3:return n(o,s)}var l=i[o.length];return l||(l=i[o.length]=a(o.length)),l(o,s)}}!function(){for(;s.length<=3;)s.push(i(s.length));e.exports=l.apply(void 0,s.concat([s,i]));for(var t=0;t<3;++t)e.exports[t]=s[t]}()},{"robust-determinant":280}],284:[function(t,e,r){"use strict";var n=t("two-product"),i=t("robust-sum"),a=t("robust-scale"),o=t("robust-subtract");function s(t,e,r,n){return function(r,i,a){var o=t(t(e(i[1],a[0]),e(-a[1],i[0])),t(e(r[1],i[0]),e(-i[1],r[0]))),s=t(e(r[1],a[0]),e(-a[1],r[0])),l=n(o,s);return l[l.length-1]}}function l(t,e,r,n){return function(i,a,o,s){var l=t(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),a[2]),t(r(t(e(a[1],s[0]),e(-s[1],a[0])),-o[2]),r(t(e(a[1],o[0]),e(-o[1],a[0])),s[2]))),t(r(t(e(a[1],s[0]),e(-s[1],a[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),s[2])))),c=t(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-o[2]),r(t(e(i[1],o[0]),e(-o[1],i[0])),s[2]))),t(r(t(e(a[1],o[0]),e(-o[1],a[0])),i[2]),t(r(t(e(i[1],o[0]),e(-o[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),o[2])))),u=n(l,c);return u[u.length-1]}}function c(t,e,r,n){return function(i,a,o,s,l){var c=t(t(t(r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),o[2]),t(r(t(e(o[1],l[0]),e(-l[1],o[0])),-s[2]),r(t(e(o[1],s[0]),e(-s[1],o[0])),l[2]))),a[3]),t(r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),a[2]),t(r(t(e(a[1],l[0]),e(-l[1],a[0])),-s[2]),r(t(e(a[1],s[0]),e(-s[1],a[0])),l[2]))),-o[3]),r(t(r(t(e(o[1],l[0]),e(-l[1],o[0])),a[2]),t(r(t(e(a[1],l[0]),e(-l[1],a[0])),-o[2]),r(t(e(a[1],o[0]),e(-o[1],a[0])),l[2]))),s[3]))),t(r(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),a[2]),t(r(t(e(a[1],s[0]),e(-s[1],a[0])),-o[2]),r(t(e(a[1],o[0]),e(-o[1],a[0])),s[2]))),-l[3]),t(r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),a[2]),t(r(t(e(a[1],l[0]),e(-l[1],a[0])),-s[2]),r(t(e(a[1],s[0]),e(-s[1],a[0])),l[2]))),i[3]),r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-s[2]),r(t(e(i[1],s[0]),e(-s[1],i[0])),l[2]))),-a[3])))),t(t(r(t(r(t(e(a[1],l[0]),e(-l[1],a[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),l[2]))),s[3]),t(r(t(r(t(e(a[1],s[0]),e(-s[1],a[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),s[2]))),-l[3]),r(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),a[2]),t(r(t(e(a[1],s[0]),e(-s[1],a[0])),-o[2]),r(t(e(a[1],o[0]),e(-o[1],a[0])),s[2]))),i[3]))),t(r(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-o[2]),r(t(e(i[1],o[0]),e(-o[1],i[0])),s[2]))),-a[3]),t(r(t(r(t(e(a[1],s[0]),e(-s[1],a[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),s[2]))),o[3]),r(t(r(t(e(a[1],o[0]),e(-o[1],a[0])),i[2]),t(r(t(e(i[1],o[0]),e(-o[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),o[2]))),-s[3]))))),u=t(t(t(r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),o[2]),t(r(t(e(o[1],l[0]),e(-l[1],o[0])),-s[2]),r(t(e(o[1],s[0]),e(-s[1],o[0])),l[2]))),i[3]),r(t(r(t(e(s[1],l[0]),e(-l[1],s[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-s[2]),r(t(e(i[1],s[0]),e(-s[1],i[0])),l[2]))),-o[3])),t(r(t(r(t(e(o[1],l[0]),e(-l[1],o[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-o[2]),r(t(e(i[1],o[0]),e(-o[1],i[0])),l[2]))),s[3]),r(t(r(t(e(o[1],s[0]),e(-s[1],o[0])),i[2]),t(r(t(e(i[1],s[0]),e(-s[1],i[0])),-o[2]),r(t(e(i[1],o[0]),e(-o[1],i[0])),s[2]))),-l[3]))),t(t(r(t(r(t(e(o[1],l[0]),e(-l[1],o[0])),a[2]),t(r(t(e(a[1],l[0]),e(-l[1],a[0])),-o[2]),r(t(e(a[1],o[0]),e(-o[1],a[0])),l[2]))),i[3]),r(t(r(t(e(o[1],l[0]),e(-l[1],o[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-o[2]),r(t(e(i[1],o[0]),e(-o[1],i[0])),l[2]))),-a[3])),t(r(t(r(t(e(a[1],l[0]),e(-l[1],a[0])),i[2]),t(r(t(e(i[1],l[0]),e(-l[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),l[2]))),o[3]),r(t(r(t(e(a[1],o[0]),e(-o[1],a[0])),i[2]),t(r(t(e(i[1],o[0]),e(-o[1],i[0])),-a[2]),r(t(e(i[1],a[0]),e(-a[1],i[0])),o[2]))),-l[3])))),f=n(c,u);return f[f.length-1]}}function u(t){return(3===t?s:4===t?l:c)(i,n,a,o)}var f=u(3),h=u(4),p=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,r){var n,i=(t[1]-r[1])*(e[0]-r[0]),a=(t[0]-r[0])*(e[1]-r[1]),o=i-a;if(i>0){if(a<=0)return o;n=i+a}else{if(!(i<0))return o;if(a>=0)return o;n=-(i+a)}var s=33306690738754716e-32*n;return o>=s||o<=-s?o:f(t,e,r)},function(t,e,r,n){var i=t[0]-n[0],a=e[0]-n[0],o=r[0]-n[0],s=t[1]-n[1],l=e[1]-n[1],c=r[1]-n[1],u=t[2]-n[2],f=e[2]-n[2],p=r[2]-n[2],d=a*c,g=o*l,m=o*s,v=i*c,y=i*l,x=a*s,b=u*(d-g)+f*(m-v)+p*(y-x),_=7771561172376103e-31*((Math.abs(d)+Math.abs(g))*Math.abs(u)+(Math.abs(m)+Math.abs(v))*Math.abs(f)+(Math.abs(y)+Math.abs(x))*Math.abs(p));return b>_||-b>_?b:h(t,e,r,n)}];function d(t){var e=p[t.length];return e||(e=p[t.length]=u(t.length)),e.apply(void 0,t)}function g(t,e,r,n,i,a,o){return function(e,r,s,l,c){switch(arguments.length){case 0:case 1:return 0;case 2:return n(e,r);case 3:return i(e,r,s);case 4:return a(e,r,s,l);case 5:return o(e,r,s,l,c)}for(var u=new Array(arguments.length),f=0;f<arguments.length;++f)u[f]=arguments[f];return t(u)}}!function(){for(;p.length<=5;)p.push(u(p.length));e.exports=g.apply(void 0,[d].concat(p));for(var t=0;t<=5;++t)e.exports[t]=p[t]}()},{"robust-scale":286,"robust-subtract":288,"robust-sum":289,"two-product":306}],285:[function(t,e,r){"use strict";var n=t("robust-sum"),i=t("robust-scale");e.exports=function(t,e){if(1===t.length)return i(e,t[0]);if(1===e.length)return i(t,e[0]);if(0===t.length||0===e.length)return[0];var r=[0];if(t.length<e.length)for(var a=0;a<t.length;++a)r=n(r,i(e,t[a]));else for(a=0;a<e.length;++a)r=n(r,i(t,e[a]));return r}},{"robust-scale":286,"robust-sum":289}],286:[function(t,e,r){"use strict";var n=t("two-product"),i=t("two-sum");e.exports=function(t,e){var r=t.length;if(1===r){var a=n(t[0],e);return a[0]?a:[a[1]]}var o=new Array(2*r),s=[.1,.1],l=[.1,.1],c=0;n(t[0],e,s),s[0]&&(o[c++]=s[0]);for(var u=1;u<r;++u){n(t[u],e,l);var f=s[1];i(f,l[0],s),s[0]&&(o[c++]=s[0]);var h=l[1],p=s[1],d=h+p,g=p-(d-h);s[1]=d,g&&(o[c++]=g)}s[1]&&(o[c++]=s[1]);0===c&&(o[c++]=0);return o.length=c,o}},{"two-product":306,"two-sum":307}],287:[function(t,e,r){"use strict";e.exports=function(t,e,r,i){var a=n(t,r,i),o=n(e,r,i);if(a>0&&o>0||a<0&&o<0)return!1;var s=n(r,t,e),l=n(i,t,e);if(s>0&&l>0||s<0&&l<0)return!1;if(0===a&&0===o&&0===s&&0===l)return function(t,e,r,n){for(var i=0;i<2;++i){var a=t[i],o=e[i],s=Math.min(a,o),l=Math.max(a,o),c=r[i],u=n[i],f=Math.min(c,u);if(Math.max(c,u)<s||l<f)return!1}return!0}(t,e,r,i);return!0};var n=t("robust-orientation")[3]},{"robust-orientation":284}],288:[function(t,e,r){"use strict";e.exports=function(t,e){var r=0|t.length,n=0|e.length;if(1===r&&1===n)return function(t,e){var r=t+e,n=r-t,i=t-(r-n)+(e-n);if(i)return[i,r];return[r]}(t[0],-e[0]);var i,a,o=new Array(r+n),s=0,l=0,c=0,u=Math.abs,f=t[l],h=u(f),p=-e[c],d=u(p);h<d?(a=f,(l+=1)<r&&(f=t[l],h=u(f))):(a=p,(c+=1)<n&&(p=-e[c],d=u(p)));l<r&&h<d||c>=n?(i=f,(l+=1)<r&&(f=t[l],h=u(f))):(i=p,(c+=1)<n&&(p=-e[c],d=u(p)));var g,m,v=i+a,y=v-i,x=a-y,b=x,_=v;for(;l<r&&c<n;)h<d?(i=f,(l+=1)<r&&(f=t[l],h=u(f))):(i=p,(c+=1)<n&&(p=-e[c],d=u(p))),(x=(a=b)-(y=(v=i+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g;for(;l<r;)(x=(a=b)-(y=(v=(i=f)+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g,(l+=1)<r&&(f=t[l]);for(;c<n;)(x=(a=b)-(y=(v=(i=p)+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g,(c+=1)<n&&(p=-e[c]);b&&(o[s++]=b);_&&(o[s++]=_);s||(o[s++]=0);return o.length=s,o}},{}],289:[function(t,e,r){"use strict";e.exports=function(t,e){var r=0|t.length,n=0|e.length;if(1===r&&1===n)return function(t,e){var r=t+e,n=r-t,i=t-(r-n)+(e-n);if(i)return[i,r];return[r]}(t[0],e[0]);var i,a,o=new Array(r+n),s=0,l=0,c=0,u=Math.abs,f=t[l],h=u(f),p=e[c],d=u(p);h<d?(a=f,(l+=1)<r&&(f=t[l],h=u(f))):(a=p,(c+=1)<n&&(p=e[c],d=u(p)));l<r&&h<d||c>=n?(i=f,(l+=1)<r&&(f=t[l],h=u(f))):(i=p,(c+=1)<n&&(p=e[c],d=u(p)));var g,m,v=i+a,y=v-i,x=a-y,b=x,_=v;for(;l<r&&c<n;)h<d?(i=f,(l+=1)<r&&(f=t[l],h=u(f))):(i=p,(c+=1)<n&&(p=e[c],d=u(p))),(x=(a=b)-(y=(v=i+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g;for(;l<r;)(x=(a=b)-(y=(v=(i=f)+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g,(l+=1)<r&&(f=t[l]);for(;c<n;)(x=(a=b)-(y=(v=(i=p)+a)-i))&&(o[s++]=x),b=_-((g=_+v)-(m=g-_))+(v-m),_=g,(c+=1)<n&&(p=e[c]);b&&(o[s++]=b);_&&(o[s++]=_);s||(o[s++]=0);return o.length=s,o}},{}],290:[function(t,e,r){"use strict";e.exports=function(t){return i(n(t))};var n=t("boundary-cells"),i=t("reduce-simplicial-complex")},{"boundary-cells":34,"reduce-simplicial-complex":276}],291:[function(t,e,r){"use strict";e.exports=function(t,e,r,s){r=r||0,void 0===s&&(s=function(t){for(var e=t.length,r=0,n=0;n<e;++n)r=0|Math.max(r,t[n].length);return r-1}(t));if(0===t.length||s<1)return{cells:[],vertexIds:[],vertexWeights:[]};var l=function(t,e){for(var r=t.length,n=i.mallocUint8(r),a=0;a<r;++a)n[a]=t[a]<e|0;return n}(e,+r),c=function(t,e){for(var r=t.length,o=e*(e+1)/2*r|0,s=i.mallocUint32(2*o),l=0,c=0;c<r;++c)for(var u=t[c],f=(e=u.length,0);f<e;++f)for(var h=0;h<f;++h){var p=u[h],d=u[f];s[l++]=0|Math.min(p,d),s[l++]=0|Math.max(p,d)}a(n(s,[l/2|0,2]));var g=2;for(c=2;c<l;c+=2)s[c-2]===s[c]&&s[c-1]===s[c+1]||(s[g++]=s[c],s[g++]=s[c+1]);return n(s,[g/2|0,2])}(t,s),u=function(t,e,r,a){for(var o=t.data,s=t.shape[0],l=i.mallocDouble(s),c=0,u=0;u<s;++u){var f=o[2*u],h=o[2*u+1];if(r[f]!==r[h]){var p=e[f],d=e[h];o[2*c]=f,o[2*c+1]=h,l[c++]=(d-a)/(d-p)}}return t.shape[0]=c,n(l,[c])}(c,e,l,+r),f=function(t,e){var r=i.mallocInt32(2*e),n=t.shape[0],a=t.data;r[0]=0;for(var o=0,s=0;s<n;++s){var l=a[2*s];if(l!==o){for(r[2*o+1]=s;++o<l;)r[2*o]=s,r[2*o+1]=s;r[2*o]=s}}r[2*o+1]=n;for(;++o<e;)r[2*o]=r[2*o+1]=n;return r}(c,0|e.length),h=o(s)(t,c.data,f,l),p=function(t){for(var e=0|t.shape[0],r=t.data,n=new Array(e),i=0;i<e;++i)n[i]=[r[2*i],r[2*i+1]];return n}(c),d=[].slice.call(u.data,0,u.shape[0]);return i.free(l),i.free(c.data),i.free(u.data),i.free(f),{cells:h,vertexIds:p,vertexWeights:d}};var n=t("ndarray"),i=t("typedarray-pool"),a=t("ndarray-sort"),o=t("./lib/codegen")},{"./lib/codegen":292,ndarray:259,"ndarray-sort":258,"typedarray-pool":308}],292:[function(t,e,r){"use strict";e.exports=function(t){return n[t]()};var n=[function(){return function(t,e,r,n){for(var i=t.length,a=0;a<i;++a)t[a].length;return[]}},function(){function t(t,e,r,n){for(var i=0|Math.min(r,n),a=0|Math.max(r,n),o=t[2*i],s=t[2*i+1];o<s;){var l=o+s>>1,c=e[2*l+1];if(c===a)return l;a<c?s=l:o=l+1}return o}return function(e,r,n,i){for(var a=e.length,o=[],s=0;s<a;++s){var l=e[s];if(2===l.length){var c=(i[l[0]]<<0)+(i[l[1]]<<1);if(0===c||3===c)continue;switch(c){case 0:break;case 1:o.push([t(n,r,l[0],l[1])]);break;case 2:o.push([t(n,r,l[1],l[0])])}}}return o}},function(){function t(t,e,r,n){for(var i=0|Math.min(r,n),a=0|Math.max(r,n),o=t[2*i],s=t[2*i+1];o<s;){var l=o+s>>1,c=e[2*l+1];if(c===a)return l;a<c?s=l:o=l+1}return o}return function(e,r,n,i){for(var a=e.length,o=[],s=0;s<a;++s){var l=e[s],c=l.length;if(3===c){if(0===(u=(i[l[0]]<<0)+(i[l[1]]<<1)+(i[l[2]]<<2))||7===u)continue;switch(u){case 0:break;case 1:o.push([t(n,r,l[0],l[2]),t(n,r,l[0],l[1])]);break;case 2:o.push([t(n,r,l[1],l[0]),t(n,r,l[1],l[2])]);break;case 3:o.push([t(n,r,l[0],l[2]),t(n,r,l[1],l[2])]);break;case 4:o.push([t(n,r,l[2],l[1]),t(n,r,l[2],l[0])]);break;case 5:o.push([t(n,r,l[2],l[1]),t(n,r,l[0],l[1])]);break;case 6:o.push([t(n,r,l[1],l[0]),t(n,r,l[2],l[0])])}}else if(2===c){var u;if(0===(u=(i[l[0]]<<0)+(i[l[1]]<<1))||3===u)continue;switch(u){case 0:break;case 1:o.push([t(n,r,l[0],l[1])]);break;case 2:o.push([t(n,r,l[1],l[0])])}}}return o}},function(){function t(t,e,r,n){for(var i=0|Math.min(r,n),a=0|Math.max(r,n),o=t[2*i],s=t[2*i+1];o<s;){var l=o+s>>1,c=e[2*l+1];if(c===a)return l;a<c?s=l:o=l+1}return o}return function(e,r,n,i){for(var a=e.length,o=[],s=0;s<a;++s){var l=e[s],c=l.length;if(4===c){if(0===(u=(i[l[0]]<<0)+(i[l[1]]<<1)+(i[l[2]]<<2)+(i[l[3]]<<3))||15===u)continue;switch(u){case 0:break;case 1:o.push([t(n,r,l[0],l[1]),t(n,r,l[0],l[2]),t(n,r,l[0],l[3])]);break;case 2:o.push([t(n,r,l[1],l[2]),t(n,r,l[1],l[0]),t(n,r,l[1],l[3])]);break;case 3:o.push([t(n,r,l[1],l[2]),t(n,r,l[0],l[2]),t(n,r,l[0],l[3])],[t(n,r,l[1],l[3]),t(n,r,l[1],l[2]),t(n,r,l[0],l[3])]);break;case 4:o.push([t(n,r,l[2],l[0]),t(n,r,l[2],l[1]),t(n,r,l[2],l[3])]);break;case 5:o.push([t(n,r,l[0],l[1]),t(n,r,l[2],l[1]),t(n,r,l[0],l[3])],[t(n,r,l[2],l[1]),t(n,r,l[2],l[3]),t(n,r,l[0],l[3])]);break;case 6:o.push([t(n,r,l[2],l[0]),t(n,r,l[1],l[0]),t(n,r,l[1],l[3])],[t(n,r,l[2],l[3]),t(n,r,l[2],l[0]),t(n,r,l[1],l[3])]);break;case 7:o.push([t(n,r,l[0],l[3]),t(n,r,l[1],l[3]),t(n,r,l[2],l[3])]);break;case 8:o.push([t(n,r,l[3],l[1]),t(n,r,l[3],l[0]),t(n,r,l[3],l[2])]);break;case 9:o.push([t(n,r,l[3],l[1]),t(n,r,l[0],l[1]),t(n,r,l[0],l[2])],[t(n,r,l[3],l[2]),t(n,r,l[3],l[1]),t(n,r,l[0],l[2])]);break;case 10:o.push([t(n,r,l[1],l[0]),t(n,r,l[3],l[0]),t(n,r,l[1],l[2])],[t(n,r,l[3],l[0]),t(n,r,l[3],l[2]),t(n,r,l[1],l[2])]);break;case 11:o.push([t(n,r,l[1],l[2]),t(n,r,l[0],l[2]),t(n,r,l[3],l[2])]);break;case 12:o.push([t(n,r,l[3],l[0]),t(n,r,l[2],l[0]),t(n,r,l[2],l[1])],[t(n,r,l[3],l[1]),t(n,r,l[3],l[0]),t(n,r,l[2],l[1])]);break;case 13:o.push([t(n,r,l[0],l[1]),t(n,r,l[2],l[1]),t(n,r,l[3],l[1])]);break;case 14:o.push([t(n,r,l[2],l[0]),t(n,r,l[1],l[0]),t(n,r,l[3],l[0])])}}else if(3===c){if(0===(u=(i[l[0]]<<0)+(i[l[1]]<<1)+(i[l[2]]<<2))||7===u)continue;switch(u){case 0:break;case 1:o.push([t(n,r,l[0],l[2]),t(n,r,l[0],l[1])]);break;case 2:o.push([t(n,r,l[1],l[0]),t(n,r,l[1],l[2])]);break;case 3:o.push([t(n,r,l[0],l[2]),t(n,r,l[1],l[2])]);break;case 4:o.push([t(n,r,l[2],l[1]),t(n,r,l[2],l[0])]);break;case 5:o.push([t(n,r,l[2],l[1]),t(n,r,l[0],l[1])]);break;case 6:o.push([t(n,r,l[1],l[0]),t(n,r,l[2],l[0])])}}else if(2===c){var u;if(0===(u=(i[l[0]]<<0)+(i[l[1]]<<1))||3===u)continue;switch(u){case 0:break;case 1:o.push([t(n,r,l[0],l[1])]);break;case 2:o.push([t(n,r,l[1],l[0])])}}}return o}}]},{}],293:[function(t,e,r){"use strict";var n=t("bit-twiddle"),i=t("union-find");function a(t,e){var r=t.length,n=t.length-e.length,i=Math.min;if(n)return n;switch(r){case 0:return 0;case 1:return t[0]-e[0];case 2:return(s=t[0]+t[1]-e[0]-e[1])||i(t[0],t[1])-i(e[0],e[1]);case 3:var a=t[0]+t[1],o=e[0]+e[1];if(s=a+t[2]-(o+e[2]))return s;var s,l=i(t[0],t[1]),c=i(e[0],e[1]);return(s=i(l,t[2])-i(c,e[2]))||i(l+t[2],a)-i(c+e[2],o);default:var u=t.slice(0);u.sort();var f=e.slice(0);f.sort();for(var h=0;h<r;++h)if(n=u[h]-f[h])return n;return 0}}function o(t,e){return a(t[0],e[0])}function s(t,e){if(e){for(var r=t.length,n=new Array(r),i=0;i<r;++i)n[i]=[t[i],e[i]];n.sort(o);for(i=0;i<r;++i)t[i]=n[i][0],e[i]=n[i][1];return t}return t.sort(a),t}function l(t){if(0===t.length)return[];for(var e=1,r=t.length,n=1;n<r;++n){var i=t[n];if(a(i,t[n-1])){if(n===e){e++;continue}t[e++]=i}}return t.length=e,t}function c(t,e){for(var r=0,n=t.length-1,i=-1;r<=n;){var o=r+n>>1,s=a(t[o],e);s<=0?(0===s&&(i=o),r=o+1):s>0&&(n=o-1)}return i}function u(t,e){for(var r=new Array(t.length),i=0,o=r.length;i<o;++i)r[i]=[];for(var s=[],l=(i=0,e.length);i<l;++i)for(var u=e[i],f=u.length,h=1,p=1<<f;h<p;++h){s.length=n.popCount(h);for(var d=0,g=0;g<f;++g)h&1<<g&&(s[d++]=u[g]);var m=c(t,s);if(!(m<0))for(;r[m++].push(i),!(m>=t.length||0!==a(t[m],s)););}return r}function f(t,e){if(e<0)return[];for(var r=[],i=(1<<e+1)-1,a=0;a<t.length;++a)for(var o=t[a],l=i;l<1<<o.length;l=n.nextCombination(l)){for(var c=new Array(e+1),u=0,f=0;f<o.length;++f)l&1<<f&&(c[u++]=o[f]);r.push(c)}return s(r)}r.dimension=function(t){for(var e=0,r=Math.max,n=0,i=t.length;n<i;++n)e=r(e,t[n].length);return e-1},r.countVertices=function(t){for(var e=-1,r=Math.max,n=0,i=t.length;n<i;++n)for(var a=t[n],o=0,s=a.length;o<s;++o)e=r(e,a[o]);return e+1},r.cloneCells=function(t){for(var e=new Array(t.length),r=0,n=t.length;r<n;++r)e[r]=t[r].slice(0);return e},r.compareCells=a,r.normalize=s,r.unique=l,r.findCell=c,r.incidence=u,r.dual=function(t,e){if(!e)return u(l(f(t,0)),t);for(var r=new Array(e),n=0;n<e;++n)r[n]=[];n=0;for(var i=t.length;n<i;++n)for(var a=t[n],o=0,s=a.length;o<s;++o)r[a[o]].push(n);return r},r.explode=function(t){for(var e=[],r=0,n=t.length;r<n;++r)for(var i=t[r],a=0|i.length,o=1,l=1<<a;o<l;++o){for(var c=[],u=0;u<a;++u)o>>>u&1&&c.push(i[u]);e.push(c)}return s(e)},r.skeleton=f,r.boundary=function(t){for(var e=[],r=0,n=t.length;r<n;++r)for(var i=t[r],a=0,o=i.length;a<o;++a){for(var l=new Array(i.length-1),c=0,u=0;c<o;++c)c!==a&&(l[u++]=i[c]);e.push(l)}return s(e)},r.connectedComponents=function(t,e){return e?function(t,e){for(var r=new i(e),n=0;n<t.length;++n)for(var a=t[n],o=0;o<a.length;++o)for(var s=o+1;s<a.length;++s)r.link(a[o],a[s]);var l=[],c=r.ranks;for(n=0;n<c.length;++n)c[n]=-1;for(n=0;n<t.length;++n){var u=r.find(t[n][0]);c[u]<0?(c[u]=l.length,l.push([t[n].slice(0)])):l[c[u]].push(t[n].slice(0))}return l}(t,e):function(t){for(var e=l(s(f(t,0))),r=new i(e.length),n=0;n<t.length;++n)for(var a=t[n],o=0;o<a.length;++o)for(var u=c(e,[a[o]]),h=o+1;h<a.length;++h)r.link(u,c(e,[a[h]]));var p=[],d=r.ranks;for(n=0;n<d.length;++n)d[n]=-1;for(n=0;n<t.length;++n){var g=r.find(c(e,[t[n][0]]));d[g]<0?(d[g]=p.length,p.push([t[n].slice(0)])):p[d[g]].push(t[n].slice(0))}return p}(t)}},{"bit-twiddle":32,"union-find":309}],294:[function(t,e,r){arguments[4][32][0].apply(r,arguments)},{dup:32}],295:[function(t,e,r){arguments[4][293][0].apply(r,arguments)},{"bit-twiddle":294,dup:293,"union-find":296}],296:[function(t,e,r){"use strict";function n(t){this.roots=new Array(t),this.ranks=new Array(t);for(var e=0;e<t;++e)this.roots[e]=e,this.ranks[e]=0}e.exports=n,n.prototype.length=function(){return this.roots.length},n.prototype.makeSet=function(){var t=this.roots.length;return this.roots.push(t),this.ranks.push(0),t},n.prototype.find=function(t){for(var e=this.roots;e[t]!==t;){var r=e[t];e[t]=e[r],t=r}return t},n.prototype.link=function(t,e){var r=this.find(t),n=this.find(e);if(r!==n){var i=this.ranks,a=this.roots,o=i[r],s=i[n];o<s?a[r]=n:s<o?a[n]=r:(a[n]=r,++i[r])}}},{}],297:[function(t,e,r){"use strict";e.exports=function(t,e,r){for(var a=e.length,o=t.length,s=new Array(a),l=new Array(a),c=new Array(a),u=new Array(a),f=0;f<a;++f)s[f]=l[f]=-1,c[f]=1/0,u[f]=!1;for(f=0;f<o;++f){var h=t[f];if(2!==h.length)throw new Error("Input must be a graph");var p=h[1],d=h[0];-1!==l[d]?l[d]=-2:l[d]=p,-1!==s[p]?s[p]=-2:s[p]=d}function g(t){if(u[t])return 1/0;var r,i,a,o,c,f=s[t],h=l[t];return f<0||h<0?1/0:(r=e[t],i=e[f],a=e[h],o=Math.abs(n(r,i,a)),c=Math.sqrt(Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)),o/c)}function m(t,e){var r=k[t],n=k[e];k[t]=n,k[e]=r,A[r]=e,A[n]=t}function v(t){return c[k[t]]}function y(t){return 1&t?t-1>>1:(t>>1)-1}function x(t){for(var e=v(t);;){var r=e,n=2*t+1,i=2*(t+1),a=t;if(n<M){var o=v(n);o<r&&(a=n,r=o)}if(i<M)v(i)<r&&(a=i);if(a===t)return t;m(t,a),t=a}}function b(t){for(var e=v(t);t>0;){var r=y(t);if(r>=0)if(e<v(r)){m(t,r),t=r;continue}return t}}function _(){if(M>0){var t=k[0];return m(0,M-1),M-=1,x(0),t}return-1}function w(t,e){var r=k[t];return c[r]===e?t:(c[r]=-1/0,b(t),_(),c[r]=e,b((M+=1)-1))}function T(t){if(!u[t]){u[t]=!0;var e=s[t],r=l[t];s[r]>=0&&(s[r]=e),l[e]>=0&&(l[e]=r),A[e]>=0&&w(A[e],g(e)),A[r]>=0&&w(A[r],g(r))}}var k=[],A=new Array(a);for(f=0;f<a;++f){(c[f]=g(f))<1/0?(A[f]=k.length,k.push(f)):A[f]=-1}var M=k.length;for(f=M>>1;f>=0;--f)x(f);for(;;){var S=_();if(S<0||c[S]>r)break;T(S)}var E=[];for(f=0;f<a;++f)u[f]||(A[f]=E.length,E.push(e[f].slice()));E.length;function L(t,e){if(t[e]<0)return e;var r=e,n=e;do{var i=t[n];if(!u[n]||i<0||i===n)break;if(i=t[n=i],!u[n]||i<0||i===n)break;n=i,r=t[r]}while(r!==n);for(var a=e;a!==n;a=t[a])t[a]=n;return n}var C=[];return t.forEach((function(t){var e=L(s,t[0]),r=L(l,t[1]);if(e>=0&&r>=0&&e!==r){var n=A[e],i=A[r];n!==i&&C.push([n,i])}})),i.unique(i.normalize(C)),{positions:E,edges:C}};var n=t("robust-orientation"),i=t("simplicial-complex")},{"robust-orientation":284,"simplicial-complex":295}],298:[function(t,e,r){"use strict";e.exports=function(t,e){var r,a,o,s;if(e[0][0]<e[1][0])r=e[0],a=e[1];else{if(!(e[0][0]>e[1][0]))return i(e,t);r=e[1],a=e[0]}if(t[0][0]<t[1][0])o=t[0],s=t[1];else{if(!(t[0][0]>t[1][0]))return-i(t,e);o=t[1],s=t[0]}var l=n(r,a,s),c=n(r,a,o);if(l<0){if(c<=0)return l}else if(l>0){if(c>=0)return l}else if(c)return c;if(l=n(s,o,a),c=n(s,o,r),l<0){if(c<=0)return l}else if(l>0){if(c>=0)return l}else if(c)return c;return a[0]-s[0]};var n=t("robust-orientation");function i(t,e){var r,i,a,o;if(e[0][0]<e[1][0])r=e[0],i=e[1];else{if(!(e[0][0]>e[1][0])){var s=Math.min(t[0][1],t[1][1]),l=Math.max(t[0][1],t[1][1]),c=Math.min(e[0][1],e[1][1]),u=Math.max(e[0][1],e[1][1]);return l<c?l-c:s>u?s-u:l-u}r=e[1],i=e[0]}t[0][1]<t[1][1]?(a=t[0],o=t[1]):(a=t[1],o=t[0]);var f=n(i,r,a);return f||((f=n(i,r,o))||o-i)}},{"robust-orientation":284}],299:[function(t,e,r){"use strict";e.exports=function(t){for(var e=t.length,r=2*e,n=new Array(r),a=0;a<e;++a){var l=t[a],c=l[0][0]<l[1][0];n[2*a]=new f(l[0][0],l,c,a),n[2*a+1]=new f(l[1][0],l,!c,a)}n.sort((function(t,e){var r=t.x-e.x;return r||((r=t.create-e.create)||Math.min(t.segment[0][1],t.segment[1][1])-Math.min(e.segment[0][1],e.segment[1][1]))}));var h=i(o),p=[],d=[],g=[];for(a=0;a<r;){for(var m=n[a].x,v=[];a<r;){var y=n[a];if(y.x!==m)break;a+=1,y.segment[0][0]===y.x&&y.segment[1][0]===y.x?y.create&&(y.segment[0][1]<y.segment[1][1]?(v.push(new u(y.segment[0][1],y.index,!0,!0)),v.push(new u(y.segment[1][1],y.index,!1,!1))):(v.push(new u(y.segment[1][1],y.index,!0,!1)),v.push(new u(y.segment[0][1],y.index,!1,!0)))):h=y.create?h.insert(y.segment,y.index):h.remove(y.segment)}p.push(h.root),d.push(m),g.push(v)}return new s(p,d,g)};var n=t("binary-search-bounds"),i=t("functional-red-black-tree"),a=t("robust-orientation"),o=t("./lib/order-segments");function s(t,e,r){this.slabs=t,this.coordinates=e,this.horizontal=r}function l(t,e){return t.y-e}function c(t,e){for(var r=null;t;){var n,i,o=t.key;o[0][0]<o[1][0]?(n=o[0],i=o[1]):(n=o[1],i=o[0]);var s=a(n,i,e);if(s<0)t=t.left;else if(s>0)if(e[0]!==o[1][0])r=t,t=t.right;else{if(l=c(t.right,e))return l;t=t.left}else{if(e[0]!==o[1][0])return t;var l;if(l=c(t.right,e))return l;t=t.left}}return r}function u(t,e,r,n){this.y=t,this.index=e,this.start=r,this.closed=n}function f(t,e,r,n){this.x=t,this.segment=e,this.create=r,this.index=n}s.prototype.castUp=function(t){var e=n.le(this.coordinates,t[0]);if(e<0)return-1;this.slabs[e];var r=c(this.slabs[e],t),i=-1;if(r&&(i=r.value),this.coordinates[e]===t[0]){var s=null;if(r&&(s=r.key),e>0){var u=c(this.slabs[e-1],t);u&&(s?o(u.key,s)>0&&(s=u.key,i=u.value):(i=u.value,s=u.key))}var f=this.horizontal[e];if(f.length>0){var h=n.ge(f,t[1],l);if(h<f.length){var p=f[h];if(t[1]===p.y){if(p.closed)return p.index;for(;h<f.length-1&&f[h+1].y===t[1];)if((p=f[h+=1]).closed)return p.index;if(p.y===t[1]&&!p.start){if((h+=1)>=f.length)return i;p=f[h]}}if(p.start)if(s){var d=a(s[0],s[1],[t[0],p.y]);s[0][0]>s[1][0]&&(d=-d),d>0&&(i=p.index)}else i=p.index;else p.y!==t[1]&&(i=p.index)}}}return i}},{"./lib/order-segments":298,"binary-search-bounds":31,"functional-red-black-tree":69,"robust-orientation":284}],300:[function(t,e,r){"use strict";var n=t("robust-dot-product"),i=t("robust-sum");function a(t,e){var r=i(n(t,e),[e[e.length-1]]);return r[r.length-1]}function o(t,e,r,n){var i=-e/(n-e);i<0?i=0:i>1&&(i=1);for(var a=1-i,o=t.length,s=new Array(o),l=0;l<o;++l)s[l]=i*t[l]+a*r[l];return s}e.exports=function(t,e){for(var r=[],n=[],i=a(t[t.length-1],e),s=t[t.length-1],l=t[0],c=0;c<t.length;++c,s=l){var u=a(l=t[c],e);if(i<0&&u>0||i>0&&u<0){var f=o(s,u,l,i);r.push(f),n.push(f.slice())}u<0?n.push(l.slice()):u>0?r.push(l.slice()):(r.push(l.slice()),n.push(l.slice())),i=u}return{positive:r,negative:n}},e.exports.positive=function(t,e){for(var r=[],n=a(t[t.length-1],e),i=t[t.length-1],s=t[0],l=0;l<t.length;++l,i=s){var c=a(s=t[l],e);(n<0&&c>0||n>0&&c<0)&&r.push(o(i,c,s,n)),c>=0&&r.push(s.slice()),n=c}return r},e.exports.negative=function(t,e){for(var r=[],n=a(t[t.length-1],e),i=t[t.length-1],s=t[0],l=0;l<t.length;++l,i=s){var c=a(s=t[l],e);(n<0&&c>0||n>0&&c<0)&&r.push(o(i,c,s,n)),c<=0&&r.push(s.slice()),n=c}return r}},{"robust-dot-product":281,"robust-sum":289}],301:[function(t,e,r){!function(){"use strict";var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function e(t){return i(o(t),arguments)}function n(t,r){return e.apply(null,[t].concat(r||[]))}function i(r,n){var i,a,o,s,l,c,u,f,h,p=1,d=r.length,g="";for(a=0;a<d;a++)if("string"==typeof r[a])g+=r[a];else if("object"==typeof r[a]){if((s=r[a]).keys)for(i=n[p],o=0;o<s.keys.length;o++){if(null==i)throw new Error(e('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[o],s.keys[o-1]));i=i[s.keys[o]]}else i=s.param_no?n[s.param_no]:n[p++];if(t.not_type.test(s.type)&&t.not_primitive.test(s.type)&&i instanceof Function&&(i=i()),t.numeric_arg.test(s.type)&&"number"!=typeof i&&isNaN(i))throw new TypeError(e("[sprintf] expecting number but found %T",i));switch(t.number.test(s.type)&&(f=i>=0),s.type){case"b":i=parseInt(i,10).toString(2);break;case"c":i=String.fromCharCode(parseInt(i,10));break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,s.width?parseInt(s.width):0);break;case"e":i=s.precision?parseFloat(i).toExponential(s.precision):parseFloat(i).toExponential();break;case"f":i=s.precision?parseFloat(i).toFixed(s.precision):parseFloat(i);break;case"g":i=s.precision?String(Number(i.toPrecision(s.precision))):parseFloat(i);break;case"o":i=(parseInt(i,10)>>>0).toString(8);break;case"s":i=String(i),i=s.precision?i.substring(0,s.precision):i;break;case"t":i=String(!!i),i=s.precision?i.substring(0,s.precision):i;break;case"T":i=Object.prototype.toString.call(i).slice(8,-1).toLowerCase(),i=s.precision?i.substring(0,s.precision):i;break;case"u":i=parseInt(i,10)>>>0;break;case"v":i=i.valueOf(),i=s.precision?i.substring(0,s.precision):i;break;case"x":i=(parseInt(i,10)>>>0).toString(16);break;case"X":i=(parseInt(i,10)>>>0).toString(16).toUpperCase()}t.json.test(s.type)?g+=i:(!t.number.test(s.type)||f&&!s.sign?h="":(h=f?"+":"-",i=i.toString().replace(t.sign,"")),c=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",u=s.width-(h+i).length,l=s.width&&u>0?c.repeat(u):"",g+=s.align?h+i+l:"0"===c?h+l+i:l+h+i)}return g}var a=Object.create(null);function o(e){if(a[e])return a[e];for(var r,n=e,i=[],o=0;n;){if(null!==(r=t.text.exec(n)))i.push(r[0]);else if(null!==(r=t.modulo.exec(n)))i.push("%");else{if(null===(r=t.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(r[2]){o|=1;var s=[],l=r[2],c=[];if(null===(c=t.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=t.key_access.exec(l)))s.push(c[1]);else{if(null===(c=t.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}r[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i.push({placeholder:r[0],param_no:r[1],keys:r[2],sign:r[3],pad_char:r[4],align:r[5],width:r[6],precision:r[7],type:r[8]})}n=n.substring(r[0].length)}return a[e]=i}void 0!==r&&(r.sprintf=e,r.vsprintf=n),"undefined"!=typeof window&&(window.sprintf=e,window.vsprintf=n)}()},{}],302:[function(t,e,r){"use strict";e.exports=function(t,e){if(t.dimension<=0)return{positions:[],cells:[]};if(1===t.dimension)return function(t,e){for(var r=i(t,e),n=r.length,a=new Array(n),o=new Array(n),s=0;s<n;++s)a[s]=[r[s]],o[s]=[s];return{positions:a,cells:o}}(t,e);var r=t.order.join()+"-"+t.dtype,s=o[r];e=+e||0;s||(s=o[r]=function(t,e){var r=t.length+"d",i=a[r];if(i)return i(n,t,e)}(t.order,t.dtype));return s(t,e)};var n=t("ndarray-extract-contour"),i=t("zero-crossings"),a={"2d":function(t,e,r){var n=t({order:e,scalarArguments:3,getters:"generic"===r?[0]:void 0,phase:function(t,e,r,n){return t>n|0},vertex:function(t,e,r,n,i,a,o,s,l,c,u,f,h){var p=(o<<0)+(s<<1)+(l<<2)+(c<<3)|0;if(0!==p&&15!==p)switch(p){case 0:u.push([t-.5,e-.5]);break;case 1:u.push([t-.25-.25*(n+r-2*h)/(r-n),e-.25-.25*(i+r-2*h)/(r-i)]);break;case 2:u.push([t-.75-.25*(-n-r+2*h)/(n-r),e-.25-.25*(a+n-2*h)/(n-a)]);break;case 3:u.push([t-.5,e-.5-.5*(i+r+a+n-4*h)/(r-i+n-a)]);break;case 4:u.push([t-.25-.25*(a+i-2*h)/(i-a),e-.75-.25*(-i-r+2*h)/(i-r)]);break;case 5:u.push([t-.5-.5*(n+r+a+i-4*h)/(r-n+i-a),e-.5]);break;case 6:u.push([t-.5-.25*(-n-r+a+i)/(n-r+i-a),e-.5-.25*(-i-r+a+n)/(i-r+n-a)]);break;case 7:u.push([t-.75-.25*(a+i-2*h)/(i-a),e-.75-.25*(a+n-2*h)/(n-a)]);break;case 8:u.push([t-.75-.25*(-a-i+2*h)/(a-i),e-.75-.25*(-a-n+2*h)/(a-n)]);break;case 9:u.push([t-.5-.25*(n+r+-a-i)/(r-n+a-i),e-.5-.25*(i+r+-a-n)/(r-i+a-n)]);break;case 10:u.push([t-.5-.5*(-n-r-a-i+4*h)/(n-r+a-i),e-.5]);break;case 11:u.push([t-.25-.25*(-a-i+2*h)/(a-i),e-.75-.25*(i+r-2*h)/(r-i)]);break;case 12:u.push([t-.5,e-.5-.5*(-i-r-a-n+4*h)/(i-r+a-n)]);break;case 13:u.push([t-.75-.25*(n+r-2*h)/(r-n),e-.25-.25*(-a-n+2*h)/(a-n)]);break;case 14:u.push([t-.25-.25*(-n-r+2*h)/(n-r),e-.25-.25*(-i-r+2*h)/(i-r)]);break;case 15:u.push([t-.5,e-.5])}},cell:function(t,e,r,n,i,a,o,s,l){i?s.push([t,e]):s.push([e,t])}});return function(t,e){var r=[],i=[];return n(t,r,i,e),{positions:r,cells:i}}}};var o={}},{"ndarray-extract-contour":251,"zero-crossings":318}],303:[function(t,e,r){(function(r){(function(){"use strict";e.exports=function t(e,r,i){i=i||{};var o=a[e];o||(o=a[e]={" ":{data:new Float32Array(0),shape:.2}});var s=o[r];if(!s)if(r.length<=1||!/\d/.test(r))s=o[r]=function(t){for(var e=t.cells,r=t.positions,n=new Float32Array(6*e.length),i=0,a=0,o=0;o<e.length;++o)for(var s=e[o],l=0;l<3;++l){var c=r[s[l]];n[i++]=c[0],n[i++]=c[1]+1.4,a=Math.max(c[0],a)}return{data:n,shape:a}}(n(r,{triangles:!0,font:e,textAlign:i.textAlign||"left",textBaseline:"alphabetic",styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}}));else{for(var l=r.split(/(\d|\s)/),c=new Array(l.length),u=0,f=0,h=0;h<l.length;++h)c[h]=t(e,l[h]),u+=c[h].data.length,f+=c[h].shape,h>0&&(f+=.02);var p=new Float32Array(u),d=0,g=-.5*f;for(h=0;h<c.length;++h){for(var m=c[h].data,v=0;v<m.length;v+=2)p[d++]=m[v]+g,p[d++]=m[v+1];g+=c[h].shape+.02}s=o[r]={data:p,shape:f}}return s};var n=t("vectorize-text"),i=window||r.global||{},a=i.__TEXT_CACHE||{};i.__TEXT_CACHE={}}).call(this)}).call(this,t("_process"))},{_process:5,"vectorize-text":311}],304:[function(t,e,r){"use strict";var n=t("parse-unit");e.exports=a;function i(t,e){var r=n(getComputedStyle(t).getPropertyValue(e));return r[0]*a(r[1],t)}function a(t,e){switch(e=e||document.body,t=(t||"px").trim().toLowerCase(),e!==window&&e!==document||(e=document.body),t){case"%":return e.clientHeight/100;case"ch":case"ex":return function(t,e){var r=document.createElement("div");r.style["font-size"]="128"+t,e.appendChild(r);var n=i(r,"font-size")/128;return e.removeChild(r),n}(t,e);case"em":return i(e,"font-size");case"rem":return i(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return 96;case"cm":return 96/2.54;case"mm":return 96/25.4;case"pt":return 96/72;case"pc":return 16}return 1}},{"parse-unit":265}],305:[function(t,e,r){"use strict";e.exports=function(t){var e=(t=t||{}).center||[0,0,0],r=t.up||[0,1,0],n=t.right||f(r),i=t.radius||1,a=t.theta||0,u=t.phi||0;if(e=[].slice.call(e,0,3),r=[].slice.call(r,0,3),s(r,r),n=[].slice.call(n,0,3),s(n,n),"eye"in t){var p=t.eye,d=[p[0]-e[0],p[1]-e[1],p[2]-e[2]];o(n,d,r),c(n[0],n[1],n[2])<1e-6?n=f(r):s(n,n),i=c(d[0],d[1],d[2]);var g=l(r,d)/i,m=l(n,d)/i;u=Math.acos(g),a=Math.acos(m)}return i=Math.log(i),new h(t.zoomMin,t.zoomMax,e,r,n,i,a,u)};var n=t("filtered-vector"),i=t("gl-mat4/invert"),a=t("gl-mat4/rotate"),o=t("gl-vec3/cross"),s=t("gl-vec3/normalize"),l=t("gl-vec3/dot");function c(t,e,r){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(r,2))}function u(t){return Math.min(1,Math.max(-1,t))}function f(t){var e=Math.abs(t[0]),r=Math.abs(t[1]),n=Math.abs(t[2]),i=[0,0,0];e>Math.max(r,n)?i[2]=1:r>Math.max(e,n)?i[0]=1:i[1]=1;for(var a=0,o=0,l=0;l<3;++l)a+=t[l]*t[l],o+=i[l]*t[l];for(l=0;l<3;++l)i[l]-=o/a*t[l];return s(i,i),i}function h(t,e,r,i,a,o,s,l){this.center=n(r),this.up=n(i),this.right=n(a),this.radius=n([o]),this.angle=n([s,l]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(t,e),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var c=0;c<16;++c)this.computedMatrix[c]=.5;this.recalcMatrix(0)}var p=h.prototype;p.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},p.getDistanceLimits=function(t){var e=this.radius.bounds[0];return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},p.recalcMatrix=function(t){this.center.curve(t),this.up.curve(t),this.right.curve(t),this.radius.curve(t),this.angle.curve(t);for(var e=this.computedUp,r=this.computedRight,n=0,i=0,a=0;a<3;++a)i+=e[a]*r[a],n+=e[a]*e[a];var l=Math.sqrt(n),u=0;for(a=0;a<3;++a)r[a]-=e[a]*i/n,u+=r[a]*r[a],e[a]/=l;var f=Math.sqrt(u);for(a=0;a<3;++a)r[a]/=f;var h=this.computedToward;o(h,e,r),s(h,h);var p=Math.exp(this.computedRadius[0]),d=this.computedAngle[0],g=this.computedAngle[1],m=Math.cos(d),v=Math.sin(d),y=Math.cos(g),x=Math.sin(g),b=this.computedCenter,_=m*y,w=v*y,T=x,k=-m*x,A=-v*x,M=y,S=this.computedEye,E=this.computedMatrix;for(a=0;a<3;++a){var L=_*r[a]+w*h[a]+T*e[a];E[4*a+1]=k*r[a]+A*h[a]+M*e[a],E[4*a+2]=L,E[4*a+3]=0}var C=E[1],P=E[5],I=E[9],O=E[2],z=E[6],D=E[10],R=P*D-I*z,F=I*O-C*D,B=C*z-P*O,N=c(R,F,B);R/=N,F/=N,B/=N,E[0]=R,E[4]=F,E[8]=B;for(a=0;a<3;++a)S[a]=b[a]+E[2+4*a]*p;for(a=0;a<3;++a){u=0;for(var j=0;j<3;++j)u+=E[a+4*j]*S[j];E[12+a]=-u}E[15]=1},p.getMatrix=function(t,e){this.recalcMatrix(t);var r=this.computedMatrix;if(e){for(var n=0;n<16;++n)e[n]=r[n];return e}return r};var d=[0,0,0];p.rotate=function(t,e,r,n){if(this.angle.move(t,e,r),n){this.recalcMatrix(t);var i=this.computedMatrix;d[0]=i[2],d[1]=i[6],d[2]=i[10];for(var o=this.computedUp,s=this.computedRight,l=this.computedToward,c=0;c<3;++c)i[4*c]=o[c],i[4*c+1]=s[c],i[4*c+2]=l[c];a(i,i,n,d);for(c=0;c<3;++c)o[c]=i[4*c],s[c]=i[4*c+1];this.up.set(t,o[0],o[1],o[2]),this.right.set(t,s[0],s[1],s[2])}},p.pan=function(t,e,r,n){e=e||0,r=r||0,n=n||0,this.recalcMatrix(t);var i=this.computedMatrix,a=(Math.exp(this.computedRadius[0]),i[1]),o=i[5],s=i[9],l=c(a,o,s);a/=l,o/=l,s/=l;var u=i[0],f=i[4],h=i[8],p=u*a+f*o+h*s,d=c(u-=a*p,f-=o*p,h-=s*p),g=(u/=d)*e+a*r,m=(f/=d)*e+o*r,v=(h/=d)*e+s*r;this.center.move(t,g,m,v);var y=Math.exp(this.computedRadius[0]);y=Math.max(1e-4,y+n),this.radius.set(t,Math.log(y))},p.translate=function(t,e,r,n){this.center.move(t,e||0,r||0,n||0)},p.setMatrix=function(t,e,r,n){var a=1;"number"==typeof r&&(a=0|r),(a<0||a>3)&&(a=1);var o=(a+2)%3;e||(this.recalcMatrix(t),e=this.computedMatrix);var s=e[a],l=e[a+4],f=e[a+8];if(n){var h=Math.abs(s),p=Math.abs(l),d=Math.abs(f),g=Math.max(h,p,d);h===g?(s=s<0?-1:1,l=f=0):d===g?(f=f<0?-1:1,s=l=0):(l=l<0?-1:1,s=f=0)}else{var m=c(s,l,f);s/=m,l/=m,f/=m}var v,y,x=e[o],b=e[o+4],_=e[o+8],w=x*s+b*l+_*f,T=c(x-=s*w,b-=l*w,_-=f*w),k=l*(_/=T)-f*(b/=T),A=f*(x/=T)-s*_,M=s*b-l*x,S=c(k,A,M);if(k/=S,A/=S,M/=S,this.center.jump(t,q,G,Y),this.radius.idle(t),this.up.jump(t,s,l,f),this.right.jump(t,x,b,_),2===a){var E=e[1],L=e[5],C=e[9],P=E*x+L*b+C*_,I=E*k+L*A+C*M;v=R<0?-Math.PI/2:Math.PI/2,y=Math.atan2(I,P)}else{var O=e[2],z=e[6],D=e[10],R=O*s+z*l+D*f,F=O*x+z*b+D*_,B=O*k+z*A+D*M;v=Math.asin(u(R)),y=Math.atan2(B,F)}this.angle.jump(t,y,v),this.recalcMatrix(t);var N=e[2],j=e[6],U=e[10],V=this.computedMatrix;i(V,e);var H=V[15],q=V[12]/H,G=V[13]/H,Y=V[14]/H,W=Math.exp(this.computedRadius[0]);this.center.jump(t,q-N*W,G-j*W,Y-U*W)},p.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},p.idle=function(t){this.center.idle(t),this.up.idle(t),this.right.idle(t),this.radius.idle(t),this.angle.idle(t)},p.flush=function(t){this.center.flush(t),this.up.flush(t),this.right.flush(t),this.radius.flush(t),this.angle.flush(t)},p.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},p.lookAt=function(t,e,r,n){this.recalcMatrix(t),e=e||this.computedEye,r=r||this.computedCenter;var i=(n=n||this.computedUp)[0],a=n[1],o=n[2],s=c(i,a,o);if(!(s<1e-6)){i/=s,a/=s,o/=s;var l=e[0]-r[0],f=e[1]-r[1],h=e[2]-r[2],p=c(l,f,h);if(!(p<1e-6)){l/=p,f/=p,h/=p;var d=this.computedRight,g=d[0],m=d[1],v=d[2],y=i*g+a*m+o*v,x=c(g-=y*i,m-=y*a,v-=y*o);if(!(x<.01&&(x=c(g=a*h-o*f,m=o*l-i*h,v=i*f-a*l))<1e-6)){g/=x,m/=x,v/=x,this.up.set(t,i,a,o),this.right.set(t,g,m,v),this.center.set(t,r[0],r[1],r[2]),this.radius.set(t,Math.log(p));var b=a*v-o*m,_=o*g-i*v,w=i*m-a*g,T=c(b,_,w),k=i*l+a*f+o*h,A=g*l+m*f+v*h,M=(b/=T)*l+(_/=T)*f+(w/=T)*h,S=Math.asin(u(k)),E=Math.atan2(M,A),L=this.angle._state,C=L[L.length-1],P=L[L.length-2];C%=2*Math.PI;var I=Math.abs(C+2*Math.PI-E),O=Math.abs(C-E),z=Math.abs(C-2*Math.PI-E);I<O&&(C+=2*Math.PI),z<O&&(C-=2*Math.PI),this.angle.jump(this.angle.lastT(),C,P),this.angle.set(t,E,S)}}}}},{"filtered-vector":68,"gl-mat4/invert":98,"gl-mat4/rotate":103,"gl-vec3/cross":157,"gl-vec3/dot":162,"gl-vec3/normalize":179}],306:[function(t,e,r){"use strict";e.exports=function(t,e,r){var i=t*e,a=n*t,o=a-(a-t),s=t-o,l=n*e,c=l-(l-e),u=e-c,f=s*u-(i-o*c-s*c-o*u);if(r)return r[0]=f,r[1]=i,r;return[f,i]};var n=+(Math.pow(2,27)+1)},{}],307:[function(t,e,r){"use strict";e.exports=function(t,e,r){var n=t+e,i=n-t,a=e-i,o=t-(n-i);if(r)return r[0]=o+a,r[1]=n,r;return[o+a,n]}},{}],308:[function(t,e,r){(function(e){(function(){"use strict";var n=t("bit-twiddle"),i=t("dup"),a=t("buffer").Buffer;e.__TYPEDARRAY_POOL||(e.__TYPEDARRAY_POOL={UINT8:i([32,0]),UINT16:i([32,0]),UINT32:i([32,0]),BIGUINT64:i([32,0]),INT8:i([32,0]),INT16:i([32,0]),INT32:i([32,0]),BIGINT64:i([32,0]),FLOAT:i([32,0]),DOUBLE:i([32,0]),DATA:i([32,0]),UINT8C:i([32,0]),BUFFER:i([32,0])});var o="undefined"!=typeof Uint8ClampedArray,s="undefined"!=typeof BigUint64Array,l="undefined"!=typeof BigInt64Array,c=e.__TYPEDARRAY_POOL;c.UINT8C||(c.UINT8C=i([32,0])),c.BIGUINT64||(c.BIGUINT64=i([32,0])),c.BIGINT64||(c.BIGINT64=i([32,0])),c.BUFFER||(c.BUFFER=i([32,0]));var u=c.DATA,f=c.BUFFER;function h(t){if(t){var e=t.length||t.byteLength,r=n.log2(e);u[r].push(t)}}function p(t){t=n.nextPow2(t);var e=n.log2(t),r=u[e];return r.length>0?r.pop():new ArrayBuffer(t)}function d(t){return new Uint8Array(p(t),0,t)}function g(t){return new Uint16Array(p(2*t),0,t)}function m(t){return new Uint32Array(p(4*t),0,t)}function v(t){return new Int8Array(p(t),0,t)}function y(t){return new Int16Array(p(2*t),0,t)}function x(t){return new Int32Array(p(4*t),0,t)}function b(t){return new Float32Array(p(4*t),0,t)}function _(t){return new Float64Array(p(8*t),0,t)}function w(t){return o?new Uint8ClampedArray(p(t),0,t):d(t)}function T(t){return s?new BigUint64Array(p(8*t),0,t):null}function k(t){return l?new BigInt64Array(p(8*t),0,t):null}function A(t){return new DataView(p(t),0,t)}function M(t){t=n.nextPow2(t);var e=n.log2(t),r=f[e];return r.length>0?r.pop():new a(t)}r.free=function(t){if(a.isBuffer(t))f[n.log2(t.length)].push(t);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(t)&&(t=t.buffer),!t)return;var e=t.length||t.byteLength,r=0|n.log2(e);u[r].push(t)}},r.freeUint8=r.freeUint16=r.freeUint32=r.freeBigUint64=r.freeInt8=r.freeInt16=r.freeInt32=r.freeBigInt64=r.freeFloat32=r.freeFloat=r.freeFloat64=r.freeDouble=r.freeUint8Clamped=r.freeDataView=function(t){h(t.buffer)},r.freeArrayBuffer=h,r.freeBuffer=function(t){f[n.log2(t.length)].push(t)},r.malloc=function(t,e){if(void 0===e||"arraybuffer"===e)return p(t);switch(e){case"uint8":return d(t);case"uint16":return g(t);case"uint32":return m(t);case"int8":return v(t);case"int16":return y(t);case"int32":return x(t);case"float":case"float32":return b(t);case"double":case"float64":return _(t);case"uint8_clamped":return w(t);case"bigint64":return k(t);case"biguint64":return T(t);case"buffer":return M(t);case"data":case"dataview":return A(t);default:return null}return null},r.mallocArrayBuffer=p,r.mallocUint8=d,r.mallocUint16=g,r.mallocUint32=m,r.mallocInt8=v,r.mallocInt16=y,r.mallocInt32=x,r.mallocFloat32=r.mallocFloat=b,r.mallocFloat64=r.mallocDouble=_,r.mallocUint8Clamped=w,r.mallocBigUint64=T,r.mallocBigInt64=k,r.mallocDataView=A,r.mallocBuffer=M,r.clearCache=function(){for(var t=0;t<32;++t)c.UINT8[t].length=0,c.UINT16[t].length=0,c.UINT32[t].length=0,c.INT8[t].length=0,c.INT16[t].length=0,c.INT32[t].length=0,c.FLOAT[t].length=0,c.DOUBLE[t].length=0,c.BIGUINT64[t].length=0,c.BIGINT64[t].length=0,c.UINT8C[t].length=0,u[t].length=0,f[t].length=0}}).call(this)}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"bit-twiddle":32,buffer:3,dup:65}],309:[function(t,e,r){"use strict";function n(t){this.roots=new Array(t),this.ranks=new Array(t);for(var e=0;e<t;++e)this.roots[e]=e,this.ranks[e]=0}e.exports=n;var i=n.prototype;Object.defineProperty(i,"length",{get:function(){return this.roots.length}}),i.makeSet=function(){var t=this.roots.length;return this.roots.push(t),this.ranks.push(0),t},i.find=function(t){for(var e=t,r=this.roots;r[t]!==t;)t=r[t];for(;r[e]!==t;){var n=r[e];r[e]=t,e=n}return t},i.link=function(t,e){var r=this.find(t),n=this.find(e);if(r!==n){var i=this.ranks,a=this.roots,o=i[r],s=i[n];o<s?a[r]=n:s<o?a[n]=r:(a[n]=r,++i[r])}}},{}],310:[function(t,e,r){"use strict";e.exports=function(t,e,r){return 0===t.length?t:e?(r||t.sort(e),function(t,e){for(var r=1,n=t.length,i=t[0],a=t[0],o=1;o<n;++o)if(a=i,e(i=t[o],a)){if(o===r){r++;continue}t[r++]=i}return t.length=r,t}(t,e)):(r||t.sort(),function(t){for(var e=1,r=t.length,n=t[0],i=t[0],a=1;a<r;++a,i=n)if(i=n,(n=t[a])!==i){if(a===e){e++;continue}t[e++]=n}return t.length=e,t}(t))}},{}],311:[function(t,e,r){"use strict";e.exports=function(t,e){"object"==typeof e&&null!==e||(e={});return n(t,e.canvas||i,e.context||a,e)};var n=t("./lib/vtext"),i=null,a=null;"undefined"!=typeof document&&((i=document.createElement("canvas")).width=8192,i.height=1024,a=i.getContext("2d"))},{"./lib/vtext":312}],312:[function(t,e,r){e.exports=function(t,e,r,n){var a=64,o=1.25,s={breaklines:!1,bolds:!1,italics:!1,subscripts:!1,superscripts:!1};n&&(n.size&&n.size>0&&(a=n.size),n.lineSpacing&&n.lineSpacing>0&&(o=n.lineSpacing),n.styletags&&n.styletags.breaklines&&(s.breaklines=!!n.styletags.breaklines),n.styletags&&n.styletags.bolds&&(s.bolds=!!n.styletags.bolds),n.styletags&&n.styletags.italics&&(s.italics=!!n.styletags.italics),n.styletags&&n.styletags.subscripts&&(s.subscripts=!!n.styletags.subscripts),n.styletags&&n.styletags.superscripts&&(s.superscripts=!!n.styletags.superscripts));return r.font=[n.fontStyle,n.fontVariant,n.fontWeight,a+"px",n.font].filter((function(t){return t})).join(" "),r.textAlign="start",r.textBaseline="alphabetic",r.direction="ltr",h(function(t,e,r,n,a,o){r=r.replace(/\n/g,""),r=!0===o.breaklines?r.replace(/\<br\>/g,"\n"):r.replace(/\<br\>/g," ");var s="",l=[];for(p=0;p<r.length;++p)l[p]=s;!0===o.bolds&&(l=c("b","b|",r,l));!0===o.italics&&(l=c("i","i|",r,l));!0===o.superscripts&&(l=c("sup","+1",r,l));!0===o.subscripts&&(l=c("sub","-1",r,l));var u=[],f="";for(p=0;p<r.length;++p)null!==l[p]&&(f+=r[p],u.push(l[p]));var h,p,d,g,m,v=f.split("\n"),y=v.length,x=Math.round(a*n),b=n,_=2*n,w=0,T=y*x+_;t.height<T&&(t.height=T);e.fillStyle="#000",e.fillRect(0,0,t.width,t.height),e.fillStyle="#fff";var k=0,A="";function M(){if(""!==A){var t=e.measureText(A).width;e.fillText(A,b+d,_+g),d+=t}}function S(){return Math.round(m)+"px "}function E(t,r){var n=""+e.font;if(!0===o.subscripts){var i=t.indexOf("-"),a=r.indexOf("-"),s=i>-1?parseInt(t[1+i]):0,l=a>-1?parseInt(r[1+a]):0;s!==l&&(n=n.replace(S(),"?px "),m*=Math.pow(.75,l-s),n=n.replace("?px ",S())),g+=.25*x*(l-s)}if(!0===o.superscripts){var c=t.indexOf("+"),u=r.indexOf("+"),f=c>-1?parseInt(t[1+c]):0,h=u>-1?parseInt(r[1+u]):0;f!==h&&(n=n.replace(S(),"?px "),m*=Math.pow(.75,h-f),n=n.replace("?px ",S())),g-=.25*x*(h-f)}if(!0===o.bolds){var p=t.indexOf("b|")>-1,d=r.indexOf("b|")>-1;!p&&d&&(n=v?n.replace("italic ","italic bold "):"bold "+n),p&&!d&&(n=n.replace("bold ",""))}if(!0===o.italics){var v=t.indexOf("i|")>-1,y=r.indexOf("i|")>-1;!v&&y&&(n="italic "+n),v&&!y&&(n=n.replace("italic ",""))}e.font=n}for(h=0;h<y;++h){var L=v[h]+"\n";for(d=0,g=h*x,m=n,A="",p=0;p<L.length;++p){var C=p+k<u.length?u[p+k]:u[u.length-1];s===C?A+=L[p]:(M(),A=L[p],void 0!==C&&(E(s,C),s=C))}M(),k+=L.length;var P=0|Math.round(d+2*b);w<P&&(w=P)}var I=w,O=_+x*y;return i(e.getImageData(0,0,I,O).data,[O,I,4]).pick(-1,-1,0).transpose(1,0)}(e,r,t,a,o,s),n,a)},e.exports.processPixels=h;var n=t("surface-nets"),i=t("ndarray"),a=t("simplify-planar-graph"),o=t("clean-pslg"),s=t("cdt2d"),l=t("planar-graph-to-polyline");function c(t,e,r,n){for(var i="<"+t+">",a="</"+t+">",o=i.length,s=a.length,l="+"===e[0]||"-"===e[0],c=0,u=-s;c>-1&&-1!==(c=r.indexOf(i,c))&&-1!==(u=r.indexOf(a,c+o))&&!(u<=c);){for(var f=c;f<u+s;++f)if(f<c+o||f>=u)n[f]=null,r=r.substr(0,f)+" "+r.substr(f+1);else if(null!==n[f]){var h=n[f].indexOf(e[0]);-1===h?n[f]+=e:l&&(n[f]=n[f].substr(0,h+1)+(1+parseInt(n[f][h+1]))+n[f].substr(h+2))}var p=c+o,d=r.substr(p,u-p).indexOf(i);c=-1!==d?d:u+s}return n}function u(t,e){var r=n(t,128);return e?a(r.cells,r.positions,.25):{edges:r.cells,positions:r.positions}}function f(t,e,r,n){var i=u(t,n),a=function(t,e,r){for(var n=e.textAlign||"start",i=e.textBaseline||"alphabetic",a=[1<<30,1<<30],o=[0,0],s=t.length,l=0;l<s;++l)for(var c=t[l],u=0;u<2;++u)a[u]=0|Math.min(a[u],c[u]),o[u]=0|Math.max(o[u],c[u]);var f=0;switch(n){case"center":f=-.5*(a[0]+o[0]);break;case"right":case"end":f=-o[0];break;case"left":case"start":f=-a[0];break;default:throw new Error("vectorize-text: Unrecognized textAlign: '"+n+"'")}var h=0;switch(i){case"hanging":case"top":h=-a[1];break;case"middle":h=-.5*(a[1]+o[1]);break;case"alphabetic":case"ideographic":h=-3*r;break;case"bottom":h=-o[1];break;default:throw new Error("vectorize-text: Unrecoginized textBaseline: '"+i+"'")}var p=1/r;return"lineHeight"in e?p*=+e.lineHeight:"width"in e?p=e.width/(o[0]-a[0]):"height"in e&&(p=e.height/(o[1]-a[1])),t.map((function(t){return[p*(t[0]+f),p*(t[1]+h)]}))}(i.positions,e,r),c=i.edges,f="ccw"===e.orientation;if(o(a,c),e.polygons||e.polygon||e.polyline){for(var h=l(c,a),p=new Array(h.length),d=0;d<h.length;++d){for(var g=h[d],m=new Array(g.length),v=0;v<g.length;++v){for(var y=g[v],x=new Array(y.length),b=0;b<y.length;++b)x[b]=a[y[b]].slice();f&&x.reverse(),m[v]=x}p[d]=m}return p}return e.triangles||e.triangulate||e.triangle?{cells:s(a,c,{delaunay:!1,exterior:!1,interior:!0}),positions:a}:{edges:c,positions:a}}function h(t,e,r){try{return f(t,e,r,!0)}catch(t){}try{return f(t,e,r,!1)}catch(t){}return e.polygons||e.polyline||e.polygon?[]:e.triangles||e.triangulate||e.triangle?{cells:[],positions:[]}:{edges:[],positions:[]}}},{cdt2d:42,"clean-pslg":50,ndarray:259,"planar-graph-to-polyline":268,"simplify-planar-graph":297,"surface-nets":302}],313:[function(t,e,r){!function(){"use strict";if("undefined"==typeof ses||!ses.ok||ses.ok()){"undefined"!=typeof ses&&(ses.weakMapPermitHostObjects=g);var t=!1;if("function"==typeof WeakMap){var r=WeakMap;if("undefined"!=typeof navigator&&/Firefox/.test(navigator.userAgent));else{var n=new r,i=Object.freeze({});if(n.set(i,1),1===n.get(i))return void(e.exports=WeakMap);t=!0}}Object.prototype.hasOwnProperty;var a=Object.getOwnPropertyNames,o=Object.defineProperty,s=Object.isExtensible,l="weakmap:ident:"+Math.random()+"___";if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof ArrayBuffer&&"function"==typeof Uint8Array){var c=new ArrayBuffer(25),u=new Uint8Array(c);crypto.getRandomValues(u),l="weakmap:rand:"+Array.prototype.map.call(u,(function(t){return(t%36).toString(36)})).join("")+"___"}if(o(Object,"getOwnPropertyNames",{value:function(t){return a(t).filter(m)}}),"getPropertyNames"in Object){var f=Object.getPropertyNames;o(Object,"getPropertyNames",{value:function(t){return f(t).filter(m)}})}!function(){var t=Object.freeze;o(Object,"freeze",{value:function(e){return v(e),t(e)}});var e=Object.seal;o(Object,"seal",{value:function(t){return v(t),e(t)}});var r=Object.preventExtensions;o(Object,"preventExtensions",{value:function(t){return v(t),r(t)}})}();var h=!1,p=0,d=function(){this instanceof d||x();var t=[],e=[],r=p++;return Object.create(d.prototype,{get___:{value:y((function(n,i){var a,o=v(n);return o?r in o?o[r]:i:(a=t.indexOf(n))>=0?e[a]:i}))},has___:{value:y((function(e){var n=v(e);return n?r in n:t.indexOf(e)>=0}))},set___:{value:y((function(n,i){var a,o=v(n);return o?o[r]=i:(a=t.indexOf(n))>=0?e[a]=i:(a=t.length,e[a]=i,t[a]=n),this}))},delete___:{value:y((function(n){var i,a,o=v(n);return o?r in o&&delete o[r]:!((i=t.indexOf(n))<0)&&(a=t.length-1,t[i]=void 0,e[i]=e[a],t[i]=t[a],t.length=a,e.length=a,!0)}))}})};d.prototype=Object.create(Object.prototype,{get:{value:function(t,e){return this.get___(t,e)},writable:!0,configurable:!0},has:{value:function(t){return this.has___(t)},writable:!0,configurable:!0},set:{value:function(t,e){return this.set___(t,e)},writable:!0,configurable:!0},delete:{value:function(t){return this.delete___(t)},writable:!0,configurable:!0}}),"function"==typeof r?function(){function n(){this instanceof d||x();var e,n=new r,i=void 0,a=!1;return e=t?function(t,e){return n.set(t,e),n.has(t)||(i||(i=new d),i.set(t,e)),this}:function(t,e){if(a)try{n.set(t,e)}catch(r){i||(i=new d),i.set___(t,e)}else n.set(t,e);return this},Object.create(d.prototype,{get___:{value:y((function(t,e){return i?n.has(t)?n.get(t):i.get___(t,e):n.get(t,e)}))},has___:{value:y((function(t){return n.has(t)||!!i&&i.has___(t)}))},set___:{value:y(e)},delete___:{value:y((function(t){var e=!!n.delete(t);return i&&i.delete___(t)||e}))},permitHostObjects___:{value:y((function(t){if(t!==g)throw new Error("bogus call to permitHostObjects___");a=!0}))}})}t&&"undefined"!=typeof Proxy&&(Proxy=void 0),n.prototype=d.prototype,e.exports=n,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!=typeof Proxy&&(Proxy=void 0),e.exports=d)}function g(t){t.permitHostObjects___&&t.permitHostObjects___(g)}function m(t){return!("weakmap:"==t.substr(0,"weakmap:".length)&&"___"===t.substr(t.length-3))}function v(t){if(t!==Object(t))throw new TypeError("Not an object: "+t);var e=t[l];if(e&&e.key===t)return e;if(s(t)){e={key:t};try{return o(t,l,{value:e,writable:!1,enumerable:!1,configurable:!1}),e}catch(t){return}}}function y(t){return t.prototype=null,Object.freeze(t)}function x(){h||"undefined"==typeof console||(h=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}}()},{}],314:[function(t,e,r){var n=t("./hidden-store.js");e.exports=function(){var t={};return function(e){if(("object"!=typeof e||null===e)&&"function"!=typeof e)throw new Error("Weakmap-shim: Key must be object");var r=e.valueOf(t);return r&&r.identity===t?r:n(e,t)}}},{"./hidden-store.js":315}],315:[function(t,e,r){e.exports=function(t,e){var r={identity:e},n=t.valueOf;return Object.defineProperty(t,"valueOf",{value:function(t){return t!==e?n.apply(this,arguments):r},writable:!0}),r}},{}],316:[function(t,e,r){var n=t("./create-store.js");e.exports=function(){var t=n();return{get:function(e,r){var n=t(e);return n.hasOwnProperty("value")?n.value:r},set:function(e,r){return t(e).value=r,this},has:function(e){return"value"in t(e)},delete:function(e){return delete t(e).value}}}},{"./create-store.js":314}],317:[function(t,e,r){"use strict";var n,i=function(){return function(t,e,r,n,i,a){var o=t[0],s=r[0],l=[0],c=s;n|=0;var u=0,f=s;for(u=0;u<o;++u){var h=e[n]-a,p=e[n+c]-a;h>=0!=p>=0&&i.push(l[0]+.5+.5*(h+p)/(h-p)),n+=f,++l[0]}}};e.exports=(n={funcName:{funcName:"zeroCrossings"}.funcName},function(t){var e={};return function(r,n,i){var a=r.dtype,o=r.order,s=[a,o.join()].join(),l=e[s];return l||(e[s]=l=t([a,o])),l(r.shape.slice(0),r.data,r.stride,0|r.offset,n,i)}}(i.bind(void 0,n)))},{}],318:[function(t,e,r){"use strict";e.exports=function(t,e){var r=[];return e=+e||0,n(t.hi(t.shape[0]-1),r,e),r};var n=t("./lib/zc-core")},{"./lib/zc-core":317}]},{},[6])(6)}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[27])(27)}));
        });
        require(['plotly'], function(Plotly) {
            window._Plotly = Plotly;
        });
        }
        </script>
        
</div>

</div>

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>



<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output " data-mime-type="text/html">
<div>                            <div id="622aa11b-3fe2-4b87-9eaf-63e56cb80b9b" class="plotly-graph-div" style="height:525px; width:100%;"></div>            <script type="text/javascript">                require(["plotly"], function(Plotly) {                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById("622aa11b-3fe2-4b87-9eaf-63e56cb80b9b")) {                    Plotly.newPlot(                        "622aa11b-3fe2-4b87-9eaf-63e56cb80b9b",                        [{"customdata":[["Providing for the consideration of the resolution (H. Res. 6) adopting the Rules of the<br>House of Representatives for the One Hundred Tenth Congress.","HRES5","Sets forth a rule for adopting the Rules of the House of Representatives for the 110th<br>Congress."],["Adopting the Rules of the House of Representatives for the One Hundred Tenth Congress.","HRES6","Title I: Adoption of Rules of One Hundred Ninth Congress - (Sec. 101) Adopts the Rules of<br>the House of Representatives for the 109th Congress as the Rules for the 110th Congress,<br>with amendments. Title II: Ethics - (Sec. 202) Amends Rule XXIII (Code of Official<br>Conduct) to prohibit Members, with the intent to influence on the basis of partisan<br>political affiliation an employment decision or practice of private entities, from: (1)<br>taking or withholding, or offering or threatening to to take or..."],["To enhance intelligence oversight authority.","HRES35","Amends Rule X (Organization of Committees) of the Rules of the House of Representatives to<br>establish a Select Intelligence Oversight Panel of the Committee on Appropriations to: (1)<br>review and study on a continuing basis budget requests for and execution of intelligence<br>activities; (2) make recommendations to relevant subcommittees of the Committee; and (3)<br>annually report to its Defense Subcommittee on budgetary and oversight observations and<br>recommendations for use in preparation of the cla..."],["To provide for the implementation of the recommendations of the National Commission on<br>Terrorist Attacks Upon the United States.","HR1","Implementing Recommendations of the 9/11 Commission Act of 2007 - Provides for<br>implementation of recommendations of the National Commission on Terrorist Attacks Upon the<br>United States (9/11 Commission).Title I: Homeland Security Grants - (Sec. 101) Amends the<br>Homeland Security Act of 2002 (HSA) to establish Homeland Security Grant Programs<br>(consisting of an Urban Area Security Initiative and a State Homeland Security Grant<br>Program). Authorizes the Secretary of Homeland Security (the Secretary..."],["To amend the Fair Labor Standards Act of 1938 to provide for an increase in the Federal<br>minimum wage.","HR2","Title I: Fair Minimum Wage - Fair Minimum Wage Act of 2007 - (Sec. 101) Amends the Fair<br>Labor Standards Act of 1938 to increase the federal minimum wage to: (1) $5.85 an hour,<br>beginning on the 60th day after enactment of this Act; (2) $6.55 an hour, beginning 12<br>months after that 60th day; and (3) $7.25 an hour, beginning 24 months after that 60th<br>day. (Sec. 102) Applies federal minimum wage requirements to the Commonwealth of the<br>Northern Mariana Islands. Increases the minimum wage in the Co..."],["To amend the Public Health Service Act to provide for human embryonic stem cell research.","HR3","Stem Cell Research Enhancement Act of 2007 - Amends the Public Health Service Act to<br>require the Secretary of Health and Human Services to conduct and support research that<br>utilizes human embryonic stem cells, regardless of the date on which the stem cells were<br>derived from a human embryo, provided such embryos: (1) have been donated from in vitro<br>fertilization clinics; (2) were created for the purposes of fertility treatment; (3) were<br>in excess of the needs of the individuals seeking such tr..."],["To amend part D of title XVIII of the Social Security Act to require the Secretary of<br>Health and Human Services to negotiate lower covered part D drug prices on behalf of<br>Medicare beneficiaries.","HR4","Medicare Prescription Drug Price Negotiation Act of 2007 - Amends title XVIII (Medicare)<br>of the Social Security Act to require the Secretary of Health and Human Services to<br>negotiate with pharmaceutical manufacturers the prices that may be charged to prescription<br>drug plan sponsors and Medicare Advantage organizations for covered part D drugs for part<br>D eligible individuals enrolled under a prescription drug plan or under a Medicare<br>Advantage prescription drug (MA-PD) plan."],["Observing the Birthday of Martin Luther King, Jr., and encouraging the people of the<br>United States to observe the Birthday of Martin Luther King, Jr., and the life and legacy<br>of Dr. Martin Luther King, Jr., and for other purposes.","HRES61","Observes the birthday of Martin Luther King, Jr., and pledges to advance his legacy.<br>Encourages the U.S. people to observe his birthday, commemorate his legacy, remember his<br>message, and rededicate themselves to his goal of a free and just United States."],["Commending the University of Florida Gators for their victory in the 2006 Bowl<br>Championship Series (BCS) and for winning the national college football championship.","HRES39","Commends the University of Florida Gators for their victory in the 2006 Bowl Championship<br>Series and for winning the national college football championship."],["Honoring the Mare Island Original 21ers for their efforts to remedy racial discrimination<br>in employment at Mare Island Naval Shipyard.","HCONRES31","Recognizes: (1) the historic accomplishments of the Mare Island Original 21ers in<br>combating employment discrimination against African-American shipyard workers; (2) the<br>importance of the Committee on Equal Employment Opportunity as a forerunner to the Equal<br>Employment Opportunity Commission (EEOC); and (3) the importance of title VII of the Civil<br>Rights Act of 1964."],["Providing for consideration of the bill (H.R. 5) to amend the Higher Education Act of 1965<br>to reduce interest rates for student borrowers.","HRES65","Sets forth the rule for consideration of H.R. 5 (College Student Relief Act of 2007)."],["To amend the Higher Education Act of 1965 to reduce interest rates for student borrowers.","HR5","College Student Relief Act of 2007 - Amends the Higher Education Act of 1965 to phase-in<br>cuts in the interest rate charged undergraduate student borrowers under the Federal Family<br>Education Loan (FFEL) and Direct Loan (DL) programs, thereby reducing such rate from 6.8%<br>in July 2006 to 3.4% in July 2011. Limits FFEL lender insurance to 95% of the unpaid<br>balance of such loans. (Currently, 97% of a FFEL issued after June 2006 is federally-<br>insured.) Provides for graduated reductions in the percen..."],["To honor Muhammad Ali, global humanitarian, on the occasion of his 65th birthday and to<br>extend best wishes to him and his family.","HRES58","Honors Muhammad Ali as a global humanitarian on the occasion of his 65th birthday."],["Providing for consideration of the bill (H.R. 6) to reduce our Nation's dependency on<br>foreign oil by investing in clean, renewable and alternative energy resources, promoting<br>new emerging energy alternatives, developing greater efficiency, and creating a Strategic<br>Energy Efficiency and Renewables Reserve to invest in alternative energy, and for other<br>purposes.","HRES66","Sets forth the rule for consideration of H.R. 6 (CLEAN Energy Act of 2007)."],["To reduce our Nation's dependency on foreign oil by investing in clean, renewable, and<br>alternative energy resources, promoting new emerging energy technologies, developing<br>greater efficiency, and creating a Strategic Energy Efficiency and Renewables Reserve to<br>invest in alternative energy, and for other purposes.","HR6","Energy Independence and Security Act of 2007 \u0096 Title I: Energy Security Through Improved<br>Vehicle Fuel Economy - Subtitle A: Increased Corporate Average Fuel Economy Standards -<br>Ten-in-Ten Fuel Economy Act - (Sec. 102) Amends federal transportation law to instruct the<br>Secretary of Transportation (Secretary in this title) to prescribe separate average fuel<br>economy standards for passenger and for non-passenger automobiles for model years<br>2011-2030. Repeals the current requirement that the averag..."],["To revise the composition of the House of Representatives Page Board to equalize the<br>number of members representing the majority and minority parties and to include a member<br>representing the parents of pages and a member representing former pages, and for other<br>purposes.","HR475","House Page Board Revision Act of 2007 - Amends House Resolution 611, 97th Congress, agreed<br>to November 30, 1982, as enacted into permanent law, to increase from one to two the<br>number of Members of the House appointed to the House Page Board by the House minority<br>leader. Requires the one-year (renewable) appointment to the Page Board, jointly by the<br>Speaker and the minority leader, of: (1) one individual who, at any time during the five-<br>year period ending on the date of his or her appointment,..."],["To amend title 5, United States Code, to make noncreditable for Federal retirement<br>purposes any Member service performed by an individual who is convicted of any of certain<br>offenses committed by that individual while serving as a Member of Congress, and for other<br>purposes.","HR476","Amends federal civil service law regarding the Civil Service Retirement System (CSRS) and<br>the Federal Employees' Retirement System (FERS) to exclude from retirement accounting any<br>service as a Member of Congress of an individual finally convicted of a felony involving:<br>(1) bribery of public officials and witnesses; (2) acting as an agent of a foreign<br>principal while a federal public official; (3) conspiracy to commit an offense or to<br>defraud the United States; (4) perjury; or (5) subornation ..."],["Paying tribute to Reverend Waitstill Sharp and Martha Sharp for their recognition by the<br>Yad Vashem Holocaust Martyrs' and Heroes' Remembrance Authority as Righteous Among the<br>Nations for their heroic efforts to save Jews during the Holocaust.","HRES52","Recognizes the Reverend Waitstill Sharp and Martha Sharp as genuine American heroes, and<br>pays tribute to them for having their names added to the Wall of Rescuers in the permanent<br>exhibition of the U.S. Holocaust Memorial Museum on September 14, 2006. Commends the<br>organization founded to support the Sharps' work, the Unitarian Universalist Service<br>Committee, for its efforts to rescue Jews and opponents of the Nazi regime in Europe and<br>for carrying on the Sharps' legacy by working to save the ..."],["To require the establishment of a national database in the National Archives to preserve<br>records of servitude, emancipation, and post-Civil War reconstruction and to provide<br>grants to State and local entities to establish similar local databases.","HR390","Preservation of Records of Servitude, Emancipation, and Post-Civil War Reconstruction Act<br>- Requires the Archivist of the United States to: (1) establish, as part of the National<br>Archives, and maintain an electronically searchable database of historic records of<br>servitude, emancipation, and post-Civil War reconstruction (including Refugees, Freedmen<br>and Abandoned Lands Records, the Southern Claims Commission Records, Records of the<br>Freedmen's Bank, Slave Impressments Records, Slave Payroll Re..."],["Supporting the goals and ideals of National Mentoring Month 2007.","HRES29","Expresses support for the goals and ideals of National Mentoring Month (January 2007)."],["To direct the Secretary of Homeland Security to streamline the SAFETY Act and anti-<br>terrorism technology procurement processes.","HR599","Directs the Secretary of Homeland Security to ensure that a sufficient number of full-time<br>equivalent personnel, who are properly trained and qualified to apply legal, economic, and<br>risk analyses, are involved in the review and prioritization of anti-terrorism<br>technologies to determine whether such technologies may be designated or certified anti-<br>terrorism technologies under the SAFETY Act. Requires the Secretary to: (1) establish a<br>formal coordination process that includes the official of th..."],["Honoring the contributions of Catholic schools.","HRES51","Expresses support for the goals of Catholic Schools Week, an event cosponsored by the<br>National Catholic Educational Association and the United States Conference of Catholic<br>Bishops and established to recognize the vital contributions of America's thousands of<br>Catholic elementary and secondary schools."],["Providing for consideration of the resolution (H. Res. 78) amending the Rules of the House<br>of Representatives to permit Delegates and the Resident Commissioner to the Congress to<br>cast votes in the Committee of the Whole House on the state of the Union.","HRES86","Sets forth the rule for consideration of H.Res.78 (permitting Delegates and the Resident<br>Commissioner to Congress to cast votes in the Committee of the Whole House on the State of<br>the Union)."],["Amending the Rules of the House of Representatives to permit Delegates and the Resident<br>Commissioner to the Congress to cast votes in the Committee of the Whole House on the<br>state of the Union.","HRES78","Amends Rule III (The Members, Delegates, and Resident Commissioner of Puerto Rico) of the<br>Rules of the House of Representatives to provide that, in a Committee of the Whole House<br>on the state of the Union, each Delegate and the Resident Commissioner shall possess the<br>same powers and privileges (including voting) as Members of the House. Amends Rule XVIII<br>(The Committee of the Whole House on the State of the Union) to allow a Delegate or the<br>Resident Commissioner to preside as Chairman of such..."],["To designate the facility of the United States Postal Service located at 2633 11th Street<br>in Rock Island, Illinois, as the \"Lane Evans Post Office Building\".","HR521","Designates the facility of the United States Postal Service located at 2633 11th Street in<br>Rock Island, Illinois, as the \"Lane Evans Post Office Building.\""],["To designate the facility of the United States Postal Service located at 1300 North<br>Frontage Road West in Vail, Colorado, as the \"Gerald R. Ford, Jr. Post Office Building\".","HR49","Designates the facility of the United States Postal Service located at 1300 North Frontage<br>Road West in Vail, Colorado, as the \"Gerald R. Ford, Jr. Post Office Building.\""],["Commending the University of Louisville Cardinals football team for their victory in the<br>2007 Orange Bowl.","HRES82","Commends the University of Louisville Cardinals football team for their victory in the<br>2007 Orange Bowl."],["Congratulating Lovie Smith of the Chicago Bears and Tony Dungy of the Indianapolis Colts<br>on becoming the first African-American head coaches of National Football League teams to<br>qualify for the Super Bowl.","HRES90","Congratulates Lovie Smith of the Chicago Bears and Tony Dungy of the Indianapolis Colts<br>for their accomplishments and for being the first African-American head coaches of<br>National Football League teams to qualify for the Super Bowl."],["Establishing the House Democracy Assistance Commission for the One Hundred Tenth Congress.","HRES24","Establishes in the House of Representatives a House Democracy Assistance Commission to<br>work with the parliaments of selected countries that have established or are developing<br>democratic parliaments in order to: (1) enable House members, officers, staff, and<br>congressional support agencies to provide advice and consultation to members and staff of<br>the legislatures of partner countries; (2) enable members and staff of legislatures of<br>partner countries to study the operations of the House and its..."],["Supporting the goals and ideals of National Engineeers Week, and for other purposes.","HRES59","Supports the goals and ideals of National Engineers Week and its aims to increase<br>understanding of and interest in engineering and technology careers and to promote<br>literacy in math and science. Declares that the House of Representatives will work with<br>the engineering community to make sure that the creativity and contribution of that<br>community can be expressed through research, development, standardization, and innovation."],["Honoring the life of Percy Lavon Julian, a pioneer in the field of organic chemistry<br>research and development and the first and only African American chemist to be inducted<br>into the National Academy of Sciences.","HCONRES34","Honors the life of Percy Lavon Julian, a pioneer in the field of organic chemistry<br>research and development, and the first and only African American chemist to be inducted<br>into the National Academy of Sciences."],["Providing for consideration of the joint resolution (H.J. Res. 20) making further<br>continuing appropriations for the fiscal year 2007, and for other purposes.","HRES116","Sets forth the rule for consideration of H.J. Res. 20 (FY2007 continuing appropriations)."],["Making further continuing appropriations for the fiscal year 2007, and for other purposes.","HJRES20","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Revised Continuing Appropriations Resolution,<br>2007 - (Sec. 2) Amends the Continuing Appropriations Resolution, 2007 (Public Law 109-289,<br>division B), as amended by Public Laws 109-369 and 109-383, to extend specified continuing<br>appropriations through FY2007. Division B: Continuing Appropriations Resolution, 2007 -<br>Title I: Full-Year Continuing Appropriations - (Se..."],["Expressing support for the designation and goals of \"Hire a Veteran Week\" and encouraging<br>the President to issue a proclamation supporting those goals.","HCONRES5","Recognizes the importance of the men and women who have served or who currently serve in<br>the Armed Forces of the United States. Supports the designation of an appropriate week as<br>Hire a Veteran Week. Encourages the President to issue a proclamation calling upon<br>employers, labor organizations, veterans service organizations, and federal, state, and<br>local governmental agencies to lend their support to increase employment of the men and<br>women who have served in the Armed Forces."],["Supporting the goals and ideals of National Consumer Protection Week.","HRES94","Supports the goals and ideals of the Ninth Annual National Consumer Protection Week.<br>Requests that the President issue a proclamation calling upon various individuals and<br>organizations to provide citizens with the information necessary to effectively protect<br>themselves against consumer fraud. Encourages all citizens to take an active role in<br>protecting their personal information and to take advantage of consumer protection<br>information."],["Supporting the goals and ideals of National Black HIV/AIDS Awareness Day.","HCONRES35","Expresses support for: (1) the goals and ideals of National Black HIV/AIDS Awareness Day;<br>(2) full and equitable funding for the Ryan White HIV/AIDS Treatment Modernization Act of<br>2006; (3) appropriate funding for HIV/AIDS prevention and treatment; (4) the strengthening<br>of stable African-American communities; (5) reducing the impact of incarceration as a<br>driver of new HIV infections within the African-American community; (6) effective and<br>comprehensive HIV prevention education programs to pro..."],["To adjust the boundary of the Minidoka Internment National Monument to include the Nidoto<br>Nai Yoni Memorial in Bainbridge Island, Washington, and for other purposes.","HR161","Minidoka National Historic Site Act - Title I: Bainbridge Island Japanese American<br>Memorial - (Sec. 101) Adjusts the boundary of the Minidoka Internment National Monument<br>located in Idaho to include the Nidoto Nai Yoni (\"Let it not happen again\") memorial that<br>commemorates the Japanese Americans of Bainbridge Island, Washington, who were the first<br>to be forcibly removed from their homes and relocated to internment camps during World War<br>II. (Sec. 102) Requires the memorial to be administered ..."],["To provide for a research program for remediation of closed methamphetamine production<br>laboratories, and for other purposes.","HR365","Methamphetamine Remediation Research Act of 2007 - Directs the Administrator of the<br>Environmental Protection Agency (EPA), not later than one year after the enactment of this<br>Act, to: (1) establish voluntary guidelines, based on the best currently available<br>scientific knowledge, for the remediation of former methampehtamine laboratories,<br>including guidelines regarding preliminary site assessment and the remediation of residual<br>contaminants; (2) consider relevant federal, state, and local requ..."],["Recognizing the African American spiritual as a national treasure.","HRES120","Declares that the House of Representatives: (1) recognizes that African American<br>spirituals are a poignant and powerful genre of music that have become one of the most<br>significant segments of American music in existence; (2) expresses the deepest gratitude,<br>recognition, and honor to the former enslaved Africans in the United States for their<br>gifts to our nation, including their original music and oral history; and (3) requests<br>that the President issue a proclamation that reflects on the impor..."],["To facilitate the development of markets for alternative fuels and Ultra Low Sulfur Diesel<br>fuel through research, development, and demonstration and data collection.","HR547","Advanced Fuels Infrastructure Research and Development Act - Instructs the Assistant<br>Administrator of the Office of Research and Development of the Environmental Protection<br>Agency (EPA) to implement a program of research and development of materials to be added<br>to biofuels to make them more compatible with existing infrastructure used to store and<br>deliver petroleum-based fuels to the point of final sale. Cites problem areas to be<br>addressed, including microbial contamination. Directs the Assis..."],["Recognizing and honoring the employees of the Department of Homeland Security for their<br>efforts and contributions to protect and secure the Nation.","HRES134","Recognizes the employees of the Department of Homeland Security (DHS) for their efforts<br>and contributions to protect the nation."],["Honoring and praising the National Association for the Advancement of Colored People on<br>the occasion of its 98th anniversary.","HCONRES44","Recognizes the 98th anniversary of the historic founding of the National Association for<br>the Advancement of Colored People (NAACP). Honors and praises the NAACP for its work to<br>ensure the political, educational, social, and economic equality of all persons."],["Recognizing the significance of the 65th anniversary of the signing of Executive Order<br>9066 by President Franklin D. Roosevelt and supporting the goals of the Japanese American,<br>German American, and Italian American communities in recognizing a National Day of<br>Remembrance to increase public awareness of the events surrounding the restriction,<br>exclusion, and internment of individuals and families during World War II.","HRES122","Recognizes the historical significance of February 19, 1942, the date Executive Order 9066<br>was signed by President Roosevelt, restricting the freedom of Japanese Americans, German<br>Americans, and Italian Americans, and legal resident aliens through required<br>identification cards, travel restrictions, seizure of personal property, and internment.<br>Supports the goals of the Japanese American, German American, and Italian American<br>communities in recognizing a National Day of Remembrance to increase..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 63) disapproving of<br>the decision of the President announced on January 10, 2007, to deploy more than 20,000<br>additional United States combat troops to Iraq.","HRES157","Sets forth the rule for consideration of H.Con.Res. 63 (disapproving the presidential<br>decision to deploy additional U.S. combat troops to Iraq)."],["To designate the facility of the United States Postal Service located at 500 West<br>Eisenhower Street in Rio Grande City, Texas, as the \"Lino Perez, Jr. Post Office\".","HR437","Designates the facility of the United States Postal Service located at 500 West Eisenhower<br>Street in Rio Grande City, Texas, as the \"Lino Perez, Jr. Post Office.\""],["Disapproving of the decision of the President announced on January 10, 2007, to deploy<br>more than 20,000 additional United States combat troops to Iraq.","HCONRES63","States that: (1) Congress and the American people will continue to support and protect the<br>members of the U.S. Armed Forces who are serving or who have served honorably in Iraq; and<br>(2) Congress disapproves of President George W. Bush's decision announced on January 10,<br>2007, to deploy more than 20,000 additional U.S. combat troops to Iraq."],["Providing for consideration of motions to suspend the rules.","HRES161","Makes it in order at any time on February 16, 2007, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules relating to H.R. 976<br>(Small Business Tax Relief Act of 2007)."],["To amend the Internal Revenue Code of 1986 to provide tax relief for small businesses, and<br>for other purposes.","HR976","Children's Health Insurance Program Reauthorization Act of 2007 - Makes the amendments<br>made by this Act effective on October 1, 2007, regardless of whether final regulations<br>have been promulgated to carry them out. Allows certain state plans under titles XIX<br>(Medicaid) or XXI (State Children's Health Insurance Program) (CHIP) (also known as SCHIP)<br>of the Social Security Act (SSA) that require state legislation to meet additional<br>requirements imposed by this Act additional time to make require..."],["Supporting the goals and ideals of a National Medal of Honor Day to celebrate and honor<br>the recipients of the Medal of Honor.","HCONRES47","Recognizes the: (1) heroism and sacrifice of Medal of Honor recipients; and (2)<br>educational opportunity that a National Medal of Honor Day would present to the American<br>public. Supports the goals and ideals of such a Day to celebrate and honor the<br>contributions of such recipients."],["To ensure national security while promoting foreign investment and the creation and<br>maintenance of jobs, to reform the process by which such investments are examined for any<br>effect they may have on national security, to establish the Committee on Foreign<br>Investment in the United States, and for other purposes.","HR556","Foreign Investment and National Security Act of 2007 - (Sec. 2) Amends the Defense<br>Production Act of 1950 to revise provisions concerning presidential authority to review<br>certain mergers, acquisitions, and takeovers to direct the President, acting through the<br>Committee on Foreign Investment in the United States (CFIUS), and upon receiving written<br>notification from any parties to a possible merger, acquisition or takeover proposed or<br>pending after August 23, 1988, which could result in foreign..."],["Supporting the goals and ideals of American Heart Month.","HCONRES52","Expresses support for the goals and ideals of American Heart Month. Reaffirms our nation's<br>commitment to fighting heart disease by promoting awareness about its causes, risks, and<br>prevention and by promoting new education programs, supporting research, and expanding<br>access to medical treatment. Encourages every American to exercise regularly and maintain<br>a healthy weight, develop good eating habits, avoid tobacco, drugs, and excessive alcohol,<br>and have regular checkups to take advantage of sc..."],["Providing for consideration of the bill (H.R. 800) to amend the National Labor Relations<br>Act to establish an efficient system to enable employees to form, join, or assist labor<br>organizations, to provide for mandatory injunctions for unfair labor practices during<br>organizing efforts, and for other purposes.","HRES203","Sets forth the rule for consideration of H.R. 800 (Employee Free Choice Act)."],["To amend the National Labor Relations Act to establish an efficient system to enable<br>employees to form, join, or assist labor organizations, to provide for mandatory<br>injunctions for unfair labor practices during organizing efforts, and for other purposes.","HR800","Employee Free Choice Act of 2007 - Amends the National Labor Relations Act to require the<br>National Labor Relations Board to certify a bargaining representative without directing an<br>election if a majority of the bargaining unit employees have authorized designation of the<br>representative (card-check) and there is no other individual or labor organization<br>currently certified or recognized as the exclusive representative of any of the employees<br>in the unit. Sets forth special procedural requireme..."],["To amend Public Law 106-348 to extend the authorization for establishing a memorial in the<br>District of Columbia or its environs to honor veterans who became disabled while serving<br>in the Armed Forces of the United States.","HR995","Amends the Act of October 24, 2000, which authorized the establishment in the District of<br>Columbia of a service-disabled veterans' memorial, to extend the authority for<br>establishing such memorial until October 24, 2015."],["Honoring the life and achievements of the late Dr. John Garang de Mabior and reaffirming<br>the continued commitment of the House of Representatives to a just and lasting peace in<br>the Republic of the Sudan.","HRES98","Honors the life and achievements of Dr. John Garang de Mabior. Reaffirms the House of<br>Representatives' commitment to a lasting peace in the Republic of the Sudan, and calls for<br>full implementation of the Comprehensive Peace Agreement. Urges: (1) the people of<br>Southern Sudan and its leaders to continue to support Dr. Garang's vision for a new Sudan;<br>and (2) the full commitment of the United States, the United Nations, the European Union,<br>the African Union, and the League of Arab States to supp..."],["Supporting the goals of International Women's Day.","HRES149","Supports the goals of International Women's Day. Recognizes and honors the women who have<br>fought and continue to struggle for equality. Reaffirms the commitment of the House of<br>Representatives to ending discrimination and violence against women and girls, to ensuring<br>their safety and welfare, and to pursuing policies that guarantee their basic rights.<br>Encourages the President to: (1) affirm his commitment to pursue policies to protect human<br>rights and civil liberties, particularly of women an..."],["To amend the Federal Water Pollution Control Act to authorize appropriations for sewer<br>overflow control grants.","HR569","Water Quality Investment Act of 2007 - Amends the Federal Water Pollution Control Act to<br>require projects receiving sewer overflow control grant assistance to be carried out<br>subject to the requirements applicable to projects receiving assistance from state water<br>pollution control revolving funds, except to the extent that the governor of the state in<br>which the project is located determines that a revolving fund requirement is inconsistent<br>with the purposes of the sewer overflow control grant ..."],["Providing for consideration of the resolution (H. Res. 202) providing for the expenses of<br>certain committees of the House of Representatives in the One Hundred Tenth Congress.","HRES219","Sets forth the rule for consideration of H.Res. 202 (House committee funding)."],["To amend the Federal Water Pollution Control Act to extend the pilot program for<br>alternative water source projects.","HR700","Healthy Communities Water Supply Act of 2007 - Amends the Federal Water Pollution Control<br>Act to authorize appropriations for the pilot program for alternative water source<br>projects. Requires the Administrator of the Environmental Protection Agency (EPA), in<br>making grants under the program, to consider whether a project is located in an area which<br>is served by a public water system serving 10,000 individuals or fewer. Prohibits the<br>funds authorized by this Act from being used to lobby governm..."],["Providing for the expenses of certain committees of the House of Representatives in the<br>One Hundred Tenth Congress.","HRES202","Sets forth the levels of payment for 110th Congress expenses (including staff salaries)<br>for the Committees on Agriculture, Armed Services, the Budget, Education and Labor, Energy<br>and Commerce, Financial Services, Foreign Affairs, Homeland Security, House<br>Administration, the Judiciary, Natural Resources, Oversight and Government Reform, Rules,<br>Science and Technology, Small Business, Standards of Official Conduct, Transportation and<br>Infrastructure, Veterans' Affairs, Ways and Means, as well as ..."],["Providing for consideration of the bill (H.R. 720) to amend the Federal Water Pollution<br>Control Act to authorize appropriations for State water pollution control revolving funds,<br>and for other purposes.","HRES229","Sets forth the rule for consideration of H.R. 720 (Water Quality Financing Act of 2007)."],["To amend the Federal Water Pollution Control Act to authorize appropriations for State<br>water pollution control revolving funds, and for other purposes.","HR720","Water Quality Financing Act of 2007 - Title I: Technical and Management Assistance - (Sec.<br>101) Amends the Federal Water Pollution Control Act (popularly known as the Clean Water<br>Act [CWA]) to authorize the Administrator of the Environmental Protection Agency (EPA) to<br>make grants to nonprofit organizations to provide: (1) technical assistance to rural and<br>small municipalities for grants from the Water Pollution Control Revolving Loan Funds; (2)<br>technical assistance and training for rural and ..."],["Commending the Girl Scouts of the United States of America on the occasion of their 95th<br>anniversary, for providing quality age-appropriate experiences that prepare girls to<br>become the leaders of tomorrow and for raising issues important to girls.","HRES136","Commends the Girl Scouts of the United States of America for: (1) its efforts to launch a<br>national dialogue on the issue of obesity among young girls; (2) its leadership and<br>expertise in knowing the needs of girls through the work of the Girl Scout Research<br>Institute; and (3) actively promoting issues important to girls."],["Expressing the support of the House of Representatives for the Good Friday Agreement,<br>signed on April 10, 1998, as a blueprint for a lasting peace in Northern Ireland, and for<br>other purposes.","HRES222","Reiterates support for the April 1998 Good Friday Agreement as a blueprint for a lasting<br>peace in Northern Ireland. Declares support for the October 2006 St. Andrews Agreement.<br>Commends: (1) British Prime Minister Tony Blair and Irish Taoiseach Bertie Ahern for their<br>leadership in seeking a peaceful resolution in Northern Ireland; and (2) all parties for<br>abiding by the St. Andrews Agreement. Expresses the sense of the House of Representatives<br>that all political parties in Northern Ireland sho..."],["To amend title 44, United States Code, to require information on contributors to<br>Presidential library fundraising organizations.","HR1254","Presidential Library Donation Reform Act of 2007 - Amends federal law regarding<br>presidential archival depositories to require any presidential library fundraising<br>organization to submit quarterly reports to the National Archives and Records<br>Administration and specified congressional committees on every contributor who: (1)<br>respecting a Presidential archival depository (including a depository of a President who<br>currently holds the Office of President) for which the Archivist of the United Stat..."],["To amend chapter 22 of title 44, United States Code, popularly known as the Presidential<br>Records Act, to establish procedures for the consideration of claims of constitutionally<br>based privilege against disclosure of Presidential records.","HR1255","Presidential Records Act Amendments of 2007 - (Sec. 2) Amends the Presidential Records Act<br>to require the Archivist of the United States, when making available any presidential<br>record not previously made available publicly, to: (1) promptly provide written notice of<br>such determination to the former President during whose term of office the record was<br>created and the incumbent President; and (2) make the notice available to the public.<br>Requires such a record to be made available upon the expir..."],["To promote openness in Government by strengthening section 552 of title 5, United States<br>Code (commonly referred to as the Freedom of Information Act), and for other purposes.","HR1309","Freedom of Information Act Amendments of 2007 - Amends the Freedom of Information Act<br>(FOIA) to revise requirements for federal agency disclosures of information requested<br>under that Act. (Sec. 3) Prohibits a federal agency, in setting document duplication fees,<br>from denying news media status to a news media representative solely on the absence of<br>institutional associations of the requester and requires consideration of the requester's<br>prior publication history. Requires such agency, if a req..."],["Providing for consideration of the bill (H.R. 985) to amend title 5, United States Code,<br>to clarify which disclosures of information are protected from prohibited personnel<br>practices; to require a statement in nondisclosure policies, forms, and agreements to the<br>effect that such policies, forms, and agreements are consistent with certain disclosure<br>protections, and for other purposes.","HRES239","Sets forth the rule for consideration of H.R. 985 (Whistleblower Protection Enhancement<br>Act of 2007)."],["To amend title 5, United States Code, to clarify which disclosures of information are<br>protected from prohibited personnel practices; to require a statement in nondisclosure<br>policies, forms, and agreements to the effect that such policies, forms, and agreements<br>are consistent with certain disclosure protections, and for other purposes.","HR985","Whistleblower Protection Enhancement Act of 2007 - (Sec. 2) Expands the types of<br>whistleblower disclosures protected from personnel reprisals to include disclosures<br>without restriction as to time, place, form, motive, context, forum, or prior disclosures<br>made to any person by an employee or applicant for employment, including a disclosure made<br>in the ordinary course of an employee's duties, that the employee or applicant reasonably<br>believes is a violation of any law. (Sec. 3) Defines \"disclos..."],["Providing for consideration of the bill (H.R. 1362) to reform acquisition practices of the<br>Federal Government.","HRES242","Sets forth the rule for consideration of H.R. 1362 (Accountability in Contracting Act)."],["To reform acquisition practices of the Federal Government.","HR1362","Accountability in Contracting Act - Title I: Improving the Quality of Contracts - (Sec.<br>101) Requires the revision of the Federal Acquisition Regulation (FAR) within one year<br>after the enactment of this Act to restrict the contract period of certain noncompetitive<br>federal contracts in excess of $1 million to the minimum contract period necessary to: (1)<br>meet the urgent and compelling requirements of the work to be performed under such<br>contract; and (2) enter into another contract through the ..."],["Recognizing the importance of Hot Springs National Park on its 175th anniversary.","HRES138","Recognizes the important contributions of Hot Springs National Park to the history of<br>conservation in the United States on its 175th anniversary."],["Providing for consideration of the bill (H.R. 1227) to assist in the provision of<br>affordable housing to low-income families affected by Hurricane Katrina.","HRES254","Sets forth the rule for consideration of H.R. 1227 (Gulf Coast Hurricane Housing Recovery<br>Act of 2007)."],["Honoring the heroic service and sacrifice of the 6,500 glider pilots of the United States<br>Army Air Forces during World War II.","HCONRES42","Honors the heroic service and sacrifice of the 6,500 glider pilots of the U.S. Army Air<br>Forces during World War II."],["To redesignate the Ellis Island Library on the third floor of the Ellis Island Immigration<br>Museum, located on Ellis Island in New York Harbor, as the \"Bob Hope Memorial Library\".","HR759","Redesignates the Ellis Island Library, on the third floor of the Ellis Island Immigration<br>Museum on Ellis Island in New York Harbor, as the \"Bob Hope Memorial Library.\""],["To assist in the provision of affordable housing to low-income families affected by<br>Hurricane Katrina.","HR1227","Gulf Coast Hurricane Housing Recovery Act of 2007 - Prohibits the use of any funds<br>authorized by this Act to lobby or retain a lobbyist for the purpose of influencing a<br>federal, state, or local governmental entity or officer. Title I: Community Development<br>Block Grants - (Sec. 101) Prohibits the Director of the Federal Emergency Management<br>Agency (FEMA) from prohibiting or restricting the use by the state of Louisiana of<br>specified amounts targeted under its Road Home Program for Hurricanes Ka..."],["To reauthorize the programs of the Department of Housing and Urban Development for housing<br>assistance for Native Hawaiians.","HR835","Hawaiian Homeownership Opportunity Act of 2007 - Amends the Native American Housing<br>Assistance and Self-Determination Act of 1996 and the Housing and Community Development<br>Act of 1992 to extend through FY2012 the authorization of appropriations for housing<br>assistance for Native Americans and loan guarantees for Native Hawaiian housing.Amends the<br>Native American Housing Assistance and Self-Determination Act of 1996 to: (1) make the<br>Department of Hawaiian Home Lands of the state of Hawaii eligi..."],["To direct the Secretary of Veterans Affairs to develop and implement a comprehensive<br>program designed to reduce the incidence of suicide among veterans.","HR327","Joshua Omvig Veterans Suicide Prevention Act - Expresses the sense of Congress that: (1)<br>suicide among veterans suffering from post-traumatic stress disorder (PTSD) is a serious<br>problem; and (2) the Secretary of Veterans Affairs, in developing and implementing the<br>comprehensive program outlined in this Act, should take into consideration the special<br>needs of such veterans and of elderly veterans who are at high risk for depression and<br>experience high rates of suicide. Directs the Secretary to..."],["To amend title 38, United States Code, to improve compensation benefits for veterans in<br>certain cases of impairment of vision involving both eyes, and for other purposes.","HR797","Dr. James Allen Veteran Vision Equity Act of 2007 - Title I: Low-Vision Benefits Matters -<br>(Sec. 101) Modifies the standard for awarding disability compensation to veterans for loss<br>of vision to require payment of compensation for impairment of vision due to a service-<br>connected disability resulting in 20/200 (currently, 5/200) visual acuity or less. (Sec.<br>102) Modifies the above standard in the case of impairment of vision (currently,<br>blindness) involving both eyes due to a service-connected ..."],["To increase, effective as of December 1, 2007, the rates of compensation for veterans with<br>service-connected disabilities and the rates of dependency and indemnity compensation for<br>the survivors of certain disabled veterans.","HR1284","Veterans' Compensation Cost-of-Living Adjustment Act of 2007 - Directs the Secretary of<br>Veterans Affairs to increase, as of December 1, 2007, the rates of veterans' wartime<br>disability compensation, additional compensation for dependents, the clothing allowance<br>for certain disabled adult children, and dependency and indemnity compensation for<br>surviving spouses and children. Requires each such increase to be the same percentage as<br>the increase in benefits provided under title II (Old Age, Survi..."],["To amend the Ethics in Government Act of 1978 to extend the authority to withhold from<br>public availability a financial disclosure report filed by an individual who is a judicial<br>officer or judicial employee, to the extent necessary to protect the safety of that<br>individual or a family member of that individual, and for other purposes.","HR1130","Judicial Disclosure Responsibility Act - Amends the Ethics in Government Act of 1978 to:<br>(1) restrict disclosure of personal information about family members of judges whose<br>revelation might endanger them; and (2) extend through 2009 the authority of the Judicial<br>Conference to redact certain personal information of judges from financial disclosure<br>reports.Specifies addition types of information the Administrative Council of the U.S.<br>Courts must include in its annual report to certain congress..."],["To amend title 18, United States Code, to prevent caller ID spoofing, and for other<br>purposes.","HR740","Preventing Harassment through Outbound Number Enforcement Act of 2007 or the PHONE Act of<br>2007- Amends the federal criminal code to prohibit: (1) using or providing false caller ID<br>information with the intent to wrongfully obtain anything of value (imposes a fine and/or<br>prison term of up to five years) or using or providing such information without<br>authorization and with intent to deceive any person or other entity about the identity of<br>the caller (imposes a fine and/or prison term of up to o..."],["Providing for consideration of the bill (H.R. 1433) to provide for the treatment of the<br>District of Columbia as a Congressional district for purposes of representation in the<br>House of Representatives, and for other purposes.","HRES260","Sets forth the rule for consideration of H.R. 1433 (District of Columbia House Voting<br>Rights Act of 2007)."],["Permitting the use of the rotunda of the Capitol for a ceremony as part of the<br>commemoration of the days of remembrance of victims of the Holocaust.","HCONRES66","Authorizes the use of the Capitol rotunda on April 19, 2007, for a ceremony as part of the<br>commemoration of the days of remembrance of victims of the Holocaust."],["Providing for consideration of the bill (H.R. 1591) making emergency supplemental<br>appropriations for the fiscal year ending September 30, 2007, and for other purposes.","HRES261","Sets forth the rule for consideration of H.R. 1591 (U.S. Troop Readiness, Veterans'<br>Health, and Iraq Accountability Act, 2007)."],["To amend the Omnibus Crime Control and Safe Streets Act of 1968 to clarify that<br>territories and Indian tribes are eligible to receive grants for confronting the use of<br>methamphetamine.","HR545","Native American Methamphetamine Enforcement and Treatment Act of 2007 - Amends the Omnibus<br>Crime Control and Safe Streets Act of 1968 to include territories and Indian tribes as<br>eligible grant recipients (or reaffirm that eligibility) under the programs to: (1)<br>address the manufacture, sale, and use of methamphetamine; (2) aid children in homes in<br>which methamphetamine or other drugs are unlawfully manufactured, distributed, dispensed,<br>or used; and (3) address methamphetamine use by pregnant ..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2007, and for other purposes.","HR1591","U.S. Troop Readiness, Veterans' Care, Katrina Recovery, and Iraq Accountability<br>Appropriations Act, 2007 - Title I: Global War on Terror Supplemental Appropriations -<br>Chapter 1 - Makes FY2007 emergency supplemental appropriations to the Department of<br>Agriculture, Foreign Agricultural Service, for commodities supplied in connection with<br>dispositions abroad under Public Law 480 Title II Grants. (Sec. 1101) Makes specified<br>appropriations to reimburse the Commodity Credit Corporation for the rele..."],["To amend the Act to Prevent Pollution from ships to implement MARPOL Annex VI.","HR802","Maritime Pollution Prevention Act of 2008 - (Sec. 3) Amends the Act to Prevent Pollution<br>from Ships (Act) to provide for the adoption of Annex VI (Prevention of Air Pollution From<br>Ships Enforcement) of the International Convention for the Prevention of Pollution from<br>Ships, 1973 (MARPOL Convention, which includes any Protocols or Annexes entered into force<br>for the United States). Makes the Act, with respect to Annex VI, applicable to: (1) ships<br>in a port, shipyard, offshore terminal, or U.S. ..."],["To amend chapter 35 of title 28, United States Code, to provide for a 120-day limit to the<br>term of a United States attorney appointed on an interim basis by the Attorney General,<br>and for other purposes.","HR580","Amends the federal judicial code to provide for a person appointed as U.S. attorney to<br>serve until the earlier of: (1) the qualification of a U.S. attorney for such district<br>appointed by the President (as under current law); or (2) the expiration of 120 days after<br>appointment by the Attorney General. Authorizes the U.S. district court for the particular<br>district, if such a 120-day temporary appointment expires, to appoint a U.S. attorney to<br>serve until the vacancy is filled. States that this ..."],["Providing for consideration of the bill (H.R. 1401) to improve the security of railroads,<br>public transportation, and over-the-road buses in the United States, and for other<br>purposes.","HRES270","Sets forth the rule for consideration of H.R. 1401 (Rail and Public Transportation<br>Security Act of 2007)."],["Providing for consideration of the bill (H.R. 835) to reauthorize the programs of the<br>Department of Housing and Urban Development for housing assistance for Native Hawaiians.","HRES269","Sets forth the rule for consideration of H.R. 835 (Hawaiian Homeownership Opportunity Act<br>of 2007)."],["Supporting the goals and ideals of Professional Social Work Month and World Social Work<br>Day.","HRES266","Supports the goals and ideals of Professional Social Work Month and World Social Work Day.<br>Acknowledges the diligent efforts of the individuals and groups who promote the importance<br>of social work and who are observing Professional Social Work Month and World Social Work<br>Day. Encourages the American people to engage in appropriate ceremonies and activities to<br>further promote awareness of the life-changing role of social workers. Recognizes with<br>gratitude the contributions of the millions of c..."],["To improve the security of railroads, public transportation, and over-the-road buses in<br>the United States, and for other purposes.","HR1401","Rail and Public Transportation Security Act of 2007 - Title I: Rail and Public<br>Transportation Security - (Sec. 101) Directs the Secretary of Homeland Security<br>(Secretary) for the Department of Homeland Security (DHS) to develop and implement a plan<br>entitled the National Strategy for Rail and Public Transportation Security.(Sec. 102)<br>Requires the Secretary to assign each railroad carrier, public transportation operator, or<br>over-the-road bus private operator (covered transportation) to a certai..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 99) revising the<br>congressional budget for the United States Government for fiscal year 2007, establishing<br>the congressional budget for the United States Government for fiscal year 2008, and<br>setting forth appropriate budgetary levels for fiscal years 2009 through 2012.","HRES275","Sets forth the rule for consideration of H.Con. Res. 99 (congressional budget)."],["Providing for consideration of the bill (H.R. 1538) to amend title 10, United States Code,<br>to improve the management of medical care, personnel actions, and quality of life issues<br>for members of the Armed Forces who are receiving medical care in an outpatient status,<br>and for other purposes.","HRES274","Sets forth the rule for consideration of H.R 1538 (Wounded Warrior Assistance Act of<br>2007)."],["To amend title 10, United States Code, to improve the management of medical care,<br>personnel actions, and quality of life issues for members of the Armed Forces who are<br>receiving medical care in an outpatient status, and for other purposes.","HR1538","Dignified Treatment of Wounded Warriors Act - Title I: Wounded Warrior Matters - Subtitle<br>A: Policy on Care, Management, and Transition of Servicemembers With Serious Injuries or<br>Illnesses - (Sec. 111) Directs the Secretaries of Defense and Veterans Affairs<br>(Secretaries) to: (1) jointly develop and implement a comprehensive policy on the care and<br>management of members of the Armed Forces (members) who are undergoing medical treatment,<br>recuperation, or therapy, are in medical hold or holdover ..."],["Revising the congressional budget for the United States Government for fiscal year 2007,<br>establishing the congressional budget for the United States Government for fiscal year<br>2008, and setting forth appropriate budgetary levels for fiscal years 2009 through 2012.","HCONRES99","Revises and replaces the congressional budget for the federal government for FY2007. Sets<br>forth the congressional budget for the federal government for FY2008, including the<br>appropriate budgetary levels for FY2009-FY2012. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Recommends budgetary levels and amounts for FY2007-FY2012 for: (1) federal<br>revenues; (2) new budget authority; (3) budget outlays; (4) deficits (on-budget); (5) debt<br>subject to limit; and (6) debt held by the public. (Sec...."],["Providing for an adjournment or recess of the two Houses.","HCONRES103","Provides for an adjournment of the House of Representatives from March 29 or 30, 2007,<br>until April 16, 2007 (or until another time of reassembly under this concurrent<br>resolution), and a recess or an adjournment of the Senate from March 29, 2007, until April<br>10, 2007 (or until another time of reassembly). Authorizes the Speaker of the House and<br>the Majority Leader of the Senate, or their respective designees, acting jointly after<br>consultation with the Minority Leaders of the House and of the S..."],["To amend the Internal Revenue Code of 1986 to enhance taxpayer protections and outreach.","HR1677","Taxpayer Protection Act of 2007 - Amends Internal Revenue Code provisions relating to tax<br>administration and taxpayer protections. (Sec. 2) Allows married couples who file a joint<br>tax return to elect to conduct their business activities as a qualified joint venture<br>without being treated as a partnership. Defines \"qualified joint venture\" as a trade or<br>business entity in which the only members are a husband and wife who materially<br>participate in such venture. Allows participating spouses to co..."],["Supporting the goals and ideals of World Water Day.","HRES196","Supports World Water Day. Recognizes the importance of increasing access to safe drinking<br>water and sanitation as well as the conservation and sustainable management of water<br>resources. Urges an increased effort and the investment of greater resources by the<br>Department of State, the United States Agency for International Development (USAID), and<br>all relevant federal agencies towards providing sustainable and equitable access to safe<br>drinking water and sanitation for the poor and very poor."],["Condemning the recent violent actions of the Government of Zimbabwe against peaceful<br>opposition party activists and members of civil society.","HCONRES100","Expresses the sense of Congress that: (1) the state-sponsored violence taking place in<br>Zimbabwe represents a serious violation of fundamental human rights and the rule of law<br>and should be condemned by all responsible governments, civic organizations, religious<br>leaders, and international bodies; and (2) the government of Zimbabwe has not lived up to<br>its commitments as a signatory to the Constitutive Act of the African Union and African<br>Charter of Human and Peoples Rights. Condemns: (1) the go..."],["Supporting the goals and ideals of Financial Literacy Month, and for other purposes.","HRES273","Supports the goals and ideals of Financial Literacy Month, including raising public<br>awareness about the importance of financial education in the United States and the serious<br>consequences that may result from a lack of understanding about personal finances."],["Honoring the 50th Anniversary of the International Geophysical Year (IGY) and its past<br>contributions to space research, and looking forward to future accomplishments.","HCONRES76","Honors the 50th anniversary of the International Geophysical Year (IGY) and its<br>contributions to the scientific investigations of the Earth and outer space."],["Providing for consideration of the bill (H.R. 1257) to amend the Securities Exchange Act<br>of 1934 to provide shareholders with an advisory vote on executive compensation.","HRES301","Sets forth the rule for consideration of H. R. 1257 (Shareholder Vote on Executive<br>Compensation Act)."],["Offering heartfelt condolences to the victims and their families regarding the horrific<br>violence at Virginia Tech in Blacksburg, Virginia, and to the students, faculty,<br>administration and staff and their families who have been deeply affected by the tragic<br>events that occurred there.","HRES306","Offers heartfelt condolences to the victims and their families regarding the horrific<br>violence at Virginia Tech in Blacksburg, Virginia, and to the students, faculty,<br>administration and staff and their families who have been deeply affected by these tragic<br>events. Expresses hope that losses from the mass shooting will lead to a national<br>commitment to take steps to help our communities prevent such tragedies from occurring in<br>the future. Recognizes that Virginia Tech has served as an exemplary..."],["To improve the disaster relief programs of the Small Business Administration, and for<br>other purposes.","HR1361","Relief for Entrepreneurs: Coordination of Objectives and Values for Effective Recovery Act<br>of 2007 or RECOVER Act - Title I: Planning - (Sec. 101) Amends the Small Business Act to<br>direct the Administrator of the Small Business Administration (SBA) to develop, implement,<br>and maintain a comprehensive written disaster plan, which shall include, among other<br>things, a description of disasters most likely to occur in each SBA region as well as an<br>assessment of the needs to respond to each disaster...."],["Commending the achievements of the Rutgers University women's basketball team and<br>applauding the character and integrity of their student-athletes.","HRES300","Commends the performance of the Rutgers University women's basketball team in the National<br>Collegiate Athletic Association (NCAA) tournament."],["Supporting the goals and ideals highlighted through National Volunteer Week.","HRES293","Supports the goals and ideals highlighted through National Volunteer Week.Acknowledges the<br>diligent efforts of our major federally funded community service and volunteer programs.<br>Recognizes with gratitude the contributions of the millions of dedicated and caring<br>individuals who have chosen to serve others through volunteerism.Encourages all American<br>people, of any age and background, to seek out opportunities to serve through<br>volunteerism."],["Providing for consideration of the bill (H.R. 1905) to provide for the treatment of the<br>District of Columbia as a Congressional district for purposes of representation in the<br>House of Representatives, and for other purposes and providing for consideration of the<br>bill (H.R. 1906) to amend the Internal Revenue Code of 1986 to adjust the estimated tax<br>payment safe harbor based on income for the preceeding year in the case of individuals<br>with adjusted gross income greater that $5 million.","HRES317","Sets forth the rule for consideration of: (1) H.R. 1905 (District of Columbia House Voting<br>Rights Act of 2007); and (2) H.R. 1906 (amending the Internal Revenue Code to adjust the<br>estimated tax payment safe harbor based on certain individual's income)."],["To provide for the treatment of the District of Columbia as a Congressional district for<br>purposes of representation in the House of Representatives, and for other purposes.","HR1905","District of Columbia House Voting Rights Act of 2007 - Considers the District of Columbia<br>a congressional district for purposes of representation in the House of Representatives.<br>Applies to the District in the same manner as it applies to a state the federal law<br>providing for the fifteenth and subsequent decennial censuses and for apportionment of<br>Representatives in Congress. Limits the District to one Member under any reapportionment<br>of Members. Modifies the formula regarding the number of p..."],["To amend the Internal Revenue Code of 1986 to adjust the estimated tax payment safe harbor<br>based on income for the preceding year in the case of individuals with adjusted gross<br>income greater than $5 million.","HR1906","Amends the Internal Revenue Code to increase (from 110% to 110.1%) the estimated tax<br>payment safe harbor percentage for determining the amount of estimated tax payable by<br>individual taxpayers whose adjusted gross income for the preceding taxable year exceeds $5<br>million."],["To provide for the conservation and development of water and related resources, to<br>authorize the Secretary of the Army to construct various projects for improvements to<br>rivers and harbors of the United States, and for other purposes.","HR1495","Water Resources Development Act of 2007 - Reauthorizes the Water Resources Development Act<br>(WRDA). Authorizes flood control, navigation, and environmental projects and studies by<br>the Army Corps of Engineers.Title I: Water Resources Projects - (Sec. 1001) Authorizes<br>projects for navigation, ecosystem or environmental restoration, and hurricane, flood, or<br>storm damage reduction in Alaska, Arizona, Arkansas, California, Colorado, Florida,<br>Illinois, Iowa, Kentucky, Louisiana, Maryland, Minnesota,..."],["To amend the Securities Exchange Act of 1934 to provide shareholders with an advisory vote<br>on executive compensation.","HR1257","Shareholder Vote on Executive Compensation Act - Amends the Securities Exchange Act of<br>1934 to require a proxy, consent, or authorization for a shareholder meeting occurring on<br>or after January 1, 2009, to permit a separate shareholder vote to approve executive<br>compensation. States that such shareholder vote shall not be binding on the corporation or<br>board of directors, nor construed: (1) as overruling a board decision; (2) to create or<br>imply additional fiduciary duty by such board; (3) to re..."],["Expressing support for a National Foster Parents Day.","HRES179","Declares the sense of the House of Representatives that a National Foster Parents Day<br>should be established."],["To designate the facility of the United States Postal Service located at 896 Pittsburgh<br>Street in Springdale, Pennsylvania, as the \"Rachel Carson Post Office Building\".","HR1434","Designates the facility of the United States Postal Service located at 896 Pittsburgh<br>Street in Springdale, Pennsylvania, as the \"Rachel Carson Post Office Building.\""],["Providing for consideration of the bill (H.R. 362) to authorize science scholarships for<br>educating mathematics and science teachers, and for other purposes.","HRES327","Sets forth the rule for consideration of H.R. 362 (10,000 Teachers, 10 Million Minds<br>Science and Math Scholarship Act )."],["Providing for consideration of the bill (H.R. 363) to authorize appropriations for basic<br>research and research infrastructure in science and engineering, and for support of<br>graduate fellowships, and for other purposes.","HRES318","Sets forth the rule for consideration of H.R. 363 (Sowing the Seeds Through Science and<br>Engineering Research Act)."],["Expressing the sense of the House of Representatives that Congress should increase public<br>awareness of child abuse and neglect and should continue to work with the States to reduce<br>the incidence of child abuse and neglect through such programs as the Child Welfare<br>Services and Promoting Safe and Stable Families programs.","HRES299","Expresses the sense of the House of Representatives that Congress should increase public<br>awareness of child abuse and neglect and should continue to work with the states to reduct<br>the incidence of child abuse and neglect through such programs as the Child Welfare<br>Services and Promoting Safe and Stable Families programs."],["Expressing the sense of the House of Representatives with respect to raising awareness and<br>encouraging prevention of sexual assault in the United States and supporting the goals and<br>ideals of National Sexual Assault Awareness and Prevention Month.","HRES289","Expresses the sense of the House of Representatives with respect to National Sexual<br>Assault Awareness and Prevention Month and supports the goals and ideals of such Month.<br>Urges national and community organizations, private businesses, colleges and universities,<br>and the media to promote, through such Month, awareness of sexual violence and strategies<br>to decrease the incidence of sexual assault."],["Supporting the mission and goals of National Crime Victims' Rights Week in order to<br>increase public awareness of the rights, needs, and concerns of victims and survivors of<br>crime in the United States during such week and throughout the year.","HRES119","Expresses support for the mission and goals of the 2007 National Crime Victims' Rights<br>Week."],["To authorize science scholarships for educating mathematics and science teachers, and for<br>other purposes.","HR362","Title I: Science Scholarships - 10,000 Teachers, 10 Million Minds Science and Math<br>Scholarship Act - (Sec. 103) Requires the National Science Foundation (NSF), in carrying<br>out the Robert Noyce Teacher Scholarship program (formerly, the Robert Noyce Scholarship<br>program), to increase the number of elementary and secondary mathematics and science<br>teachers having both exemplary subject knowledge and pedagogical skills by up to 10,000<br>per year. (Sec. 104) Amends the National Science Foundation Aut..."],["To authorize appropriations for basic research and research infrastructure in science and<br>engineering, and for support of graduate fellowships, and for other purposes.","HR363","Sowing the Seeds Through Science and Engineering Research Act - (Sec. 2) Requires the<br>Director of the National Science Foundation (NSF) to carry out a program of awarding<br>grants to scientists and engineers at the early stage of their careers at institutions of<br>higher education in the United States and at certain research organizations to conduct<br>research in fields relevant to the mission of the National Science Foundation (NSF).<br>Permits the existing Faculty Early Career Development (CAREER) P..."],["Providing for consideration of the bill (H.R. 1332) to improve the access to capital<br>programs of the Small Business Administration, and for other purposes.","HRES330","Sets forth the rule for consideration of H.R. 1332 (Small Business Lending Improvements<br>Act of 2007)."],["Calling on the League of Arab States to acknowledge the genocide in the Darfur region of<br>Sudan and to step up their efforts to stop the genocide in Darfur.","HCONRES7","Urges the League of Arab States and each member State to: (1) declare the systematic<br>torture, rape, and displacement of Darfurians a genocide; and (2) pass a resolution to<br>support and accept a United Nations-African Union peacekeeping force, as agreed to by all<br>parties to the Abuja Communique on November 30, 2006, enforce the ceasefire, protect<br>civilians, and ensure access to humanitarian assistance in Darfur. Urges the League of<br>Arab States work with the United Nations, the African Union, an..."],["To prohibit discrimination on the basis of genetic information with respect to health<br>insurance and employment.","HR493","Genetic Information Nondiscrimination Act of 2008 - Title I: Genetic Nondiscrimination in<br>Health Insurance - (Sec. 101) Amends the Employee Retirement Income Security Act of 1974<br>(ERISA), the Public Health Service Act (PHSA), and the Internal Revenue Code to prohibit a<br>group health plan from adjusting premium or contribution amounts for a group on the basis<br>of genetic information.Prohibits a group health plan from requesting or requiring an<br>individual or family member of an individual from un..."],["To improve the access to capital programs of the Small Business Administration, and for<br>other purposes.","HR1332","Small Business Lending Improvements Act of 2007 - Title I: 7(A) Program - (Sec. 101)<br>Amends the Small Business Act relating to the 7(a) (business start-up loan) program to<br>authorize the Administrator of the Small Business Administration (SBA) to offset<br>(contribute to) borrower and lender fees associated with 7(a) loans when funds are made<br>available to the SBA for such contributions. Requires the quarterly adjustment of any<br>contributions made. (Sec. 102) Directs the Administrator to carry out ..."],["Providing for consideration of the conference report to accompany the bill (H.R. 1591)<br>making emergency supplemental appropriations for the fiscal year ending September 30,<br>2007, and for other purposes.","HRES332","Sets forth the rule for consideration of the conference report on H.R. 1591 (U.S. Troop<br>Readiness, Veterans' Care, Katrina Recovery, and Iraq Accountability Appropriations Act,<br>2007)."],["To restore the prohibition on the commercial sale and slaughter of wild free-roaming<br>horses and burros.","HR249","Amends the Wild Free-Roaming Horses and Burros Act to: (1) prohibit the sale or transfer<br>of any free-roaming horse or burro or its remains on U.S. public lands for consideration<br>for processing into commercial products; and (2) repeal provisions permitting the sale of<br>certain excess animals or their remains and excluding from criminal fine or imprisonment a<br>person who processes or permits the processing of such animals' remains."],["Supporting the goals and ideals of National Community College Month.","HRES334","Supports the goals and ideals of National Community College Month. Congratulates the<br>Nation's community colleges, and their students, governing boards, faculty, and staff, for<br>their contributions to education and workforce development, and for their vital role in<br>ensuring a brighter, stronger future for the Nation."],["Supporting the goals and ideas of a National Child Care Worthy Wage Day.","HCONRES112","States that the Congress supports the goals and ideas of National Child Care Worthy Wage<br>Day, and urges public officials and the general public to honor early childhood care and<br>education staff and programs in their communities and to work together to resolve the<br>early childhood care and education staff compensation crisis."],["Providing for consideration of the bill (H.R. 1429) to reauthorize the Head Start Act, to<br>improve program quality, to expand access, and for other purposes.","HRES348","Sets forth the rule for consideration of H.R. 1429 (Improving Head Start Act of 2007)."],["Providing for consideration of the bill (H.R. 1868) to authorize appropriations for the<br>National Institute of Standards and Technology for fiscal years 2008, 2009, and 2010, and<br>for other purposes.","HRES350","Sets forth the rule for consideration of H.R. 1868 (Technology Innovation and<br>Manufacturing Stimulation Act of 2007)."],["To reauthorize the Head Start Act, to improve program quality, to expand access, and for<br>other purposes.","HR1429","Improving Head Start for School Readiness Act of 2007 - Amends the Head Start Act (the<br>Act) to revise and reauthorize Head Start programs. (Sec. 2) Includes among the aims of<br>Head Start programs children's growth in language, literacy, mathematics, science, social<br>and emotional functioning, creative arts, physical skills, and approaches to learning.<br>(Sec. 3) Includes community-based organizations and financial literacy training within the<br>definitions of Head Start delegate agencies and family..."],["To authorize appropriations for fiscal years 2008, 2009, and 2010 for the National Science<br>Foundation, and for other purposes.","HR1867","National Science Foundation Authorization Act of 2007 - (Sec. 3) Authorizes appropriations<br>to the National Science Foundation (NSF) for FY2008-FY2010, with specific allocations for:<br>(1) research and related activities; (2) education and human resources; (3) major research<br>equipment and facilities construction; (4) agency operations and award management; (5) the<br>Office of the National Science Board; and (6) the Office of Inspector General. Sets<br>minimum and maximum amounts of awards under the M..."],["Providing for consideration of the bill (H.R. 1592) to provide Federal assistance to<br>States, local jurisdictions, and Indian tribes to prosecute hate crimes, and for other<br>purposes.","HRES364","Sets forth the rule for consideration of H.R. 1592 (Local Law Enforcement Hate Crimes<br>Prevention Act of 2007)."],["To provide Federal assistance to States, local jurisdictions, and Indian tribes to<br>prosecute hate crimes, and for other purposes.","HR1592","Local Law Enforcement Hate Crimes Prevention Act of 2007 - (Sec. 3) Defines \"hate crime\"<br>as a violent act causing death or bodily injury because of the actual or perceived race,<br>color, religion, national origin, sexual orientation, gender, gender identity or<br>disability of the victim. (Sec. 4) Authorizes the Attorney General, at the request of a<br>state, local, or Tribal law enforcement agency, to provide technical, forensic,<br>prosecutorial, or other assistance in the criminal investigation or pr..."],["To authorize appropriations for the National Institute of Standards and Technology for<br>fiscal years 2008, 2009, and 2010, and for other purposes.","HR1868","Technology Innovation and Manufacturing Stimulation Act of 2007 - Title I: Authorization<br>of Appropriations - (Sec. 101) Authorizes appropriations to the Secretary of Commerce for<br>FY2008-FY2010 for: (1) scientific and technical research and services laboratory<br>activities of the National Institute of Standards and Technology (NIST); (2) the Malcolm<br>Baldrige National Quality Award program; (3) construction and maintenance of NIST<br>facilities; and (4) NIST Industrial Technology Services activities..."],["To direct the Secretary of the Interior to conduct a study to determine the feasibility of<br>establishing the Columbia-Pacific National Heritage Area in the States of Washington and<br>Oregon, and for other purposes.","HR407","Columbia-Pacific National Heritage Area Study Act - Directs the Secretary of the Interior<br>to conduct a study to determine the feasibility of designating the coastal areas of<br>Clatsop County, Oregon, and Pacific County, Washington (also known as the North Beach<br>Peninsula) and areas relating to Native American history, local history, Euro-American<br>settlement culture, and related economic activities of the Columbia River eastward in<br>Clatsop County and Pacific, Columbia, and Wahkiakum Counties, Wa..."],["In observance of National Physical Education and Sports Week.","HRES371","Recognizes National Physical Education and Sports Week and the central role of physical<br>activity and sports in creating a healthy lifestyle for all children and youth. Urges<br>communities to work with schools and key stakeholders of the community to craft and<br>implement a local wellness plan, as required by the Child Nutrition and WIC<br>Reauthorization Act of 2004, that includes goals for physical activity, nutrition<br>education, and other school-based activities to promote physical education, as we..."],["Providing for consideration of the bill (H.R. 1294) to extend Federal recognition to the<br>Chickahominy Indian Tribe, the Chickahominy Indian Tribe-Eastern Division, the Upper<br>Mattaponi Tribe, the Rappahannock Tribe, Inc., the Monacan Indian Nation, and the<br>Nansemond Indian Tribe.","HRES377","Sets forth the rule for consideration of H.R. 1294 (Thomasina E. Jordan Indian Tribes of<br>Virginia Federal Recognition Act of 2007)."],["Providing for consideration of the concurrent resolution (S. Con. Res. 21) setting forth<br>the congressional budget for the United States Government for fiscal year 2008 and<br>including the appropriate budgetary levels for fiscal years 2007 and 2009 through 2012.","HRES370","Sets forth the rule for consideration of S.Con.Res. 21 (congressional budget)."],["An original concurrent resolution setting forth the congressional budget for the United<br>States Government for fiscal year 2008 and including the appropriate budgetary levels for<br>fiscal years 2007 and 2009 through 2012.","SCONRES21","Sets forth the congressional budget for the federal government for FY2008, including the<br>appropriate budgetary levels for FY2007 and FY2009-FY2012. Title I: Recommended Levels and<br>Amounts - (Sec. 101) Lists recommended budgetary levels and amounts, for FY2007-FY2012,<br>with respect to: (1) federal revenues; (2) new budget authority; (3) budget outlays; (4)<br>deficits; (5) debt subject to limit; and (6) debt held by the public. (Sec. 102) Lists the<br>appropriate levels of new budget authority, outla..."],["To implement the recommendations of the Guam War Claims Review Commission.","HR1595","Guam World War II Loyalty Recognition Act - (Sec. 2) Recognizes the great suffering and<br>steadfast loyalty and courage of the people of Guam during the Japanese occupation of Guam<br>in World War II. (Sec. 3) Directs the Secretary of the Treasury to make the following<br>payments for Guam World War II claims: (1) spouses, children or parents of compensable<br>Guam decedents would be eligible for $25,000; (2) compensable Guam victims who were raped<br>or suffered severe personal injury would be eligible fo..."],["Providing for consideration of the bill (H.R. 1684) to authorize appropriations for the<br>Department of Homeland Security for fiscal year 2008, and for other purposes.","HRES382","Sets forth the rule for consideration of H.R. 1684 (Department of Homeland Security<br>Authorization Act for Fiscal Year 2008)."],["Providing for consideration of the bill (H.R. 1873) to reauthorize the programs and<br>activities of the Small Business Administration relating to procurement, and for other<br>purposes.","HRES383","Sets forth the rule for consideration of H.R. 1873 (Small Business Fairness in Contracting<br>Act)."],["To establish requirements for lenders and institutions of higher education in order to<br>protect students and other borrowers receiving educational loans.","HR890","Student Loan Sunshine Act - (Sec. 2) Amends title I of the Higher Education Act of 1965 to<br>create a new part E (Lender and Institution Requirements Relating to Educational Loans).<br>Requires each lender entering into a preferred lender arrangement with a covered<br>institution (schools that provide postsecondary studies and receive federal funds) to: (1)<br>certify annually to the Secretary of Education that all of the preferred lender<br>arrangements in which it participates are in compliance with the ..."],["To authorize appropriations for the Department of Homeland Security for fiscal year 2008,<br>and for other purposes.","HR1684","Department of Homeland Security Authorization Act for Fiscal Year 2008 - Title I:<br>Authorization of Appropriations - (Sec. 101) Authorizes appropriations for the Department<br>of Homeland Security (DHS) for FY2008.Title II: Policy and Management Improvements - (Sec.<br>201) Amends the Homeland Security Act of 2002 (HSA) to replace provisions establishing<br>within DHS a Directorate of Border and Transportation Security with provisions<br>establishing a Directorate for Policy, headed by an Under Secretary ..."],["To reauthorize the programs and activities of the Small Business Administration relating<br>to procurement, and for other purposes.","HR1873","Small Business Fairness in Contracting Act - Title I: Contract Bundling - (Sec. 101)<br>Amends the Small Business Act to redefine the term \"bundled contract\" as a contract or<br>order entered into to meet procurement requirements that are consolidated in a bundling of<br>contract requirements, without regard to its designation by the procuring agency or<br>whether a study of the effects of the solicitation on civilian or military personnel has<br>been made. Expands the definition of \"bundling of contract re..."],["Providing for the consideration of the bill (H.R. 2082) to authorize appropriations for<br>fiscal year 2008 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes.","HRES388","Sets forth the rule for consideration of H.R. 2082 (Intelligence Authorization Act for<br>Fiscal Year 2008)."],["Providing for consideration of the bill (H.R. 2237) to provide for the redeployment of<br>United States Armed Forces and defense contractors from Iraq, providing for consideration<br>of the bill (H.R. 2206) making emergency supplemental appropriations for the fiscal year<br>ending September 30, 2007, and for other purposes, and providing for consideration of the<br>bill (H.R. 2207) making supplemental appropriations for agricultural and other emergency<br>assistance for the fiscal year ending September 30, 2007, and for other purposes.","HRES387","Sets forth the rule for consideration of: (1) H.R. 2237 (redeployment of U.S. Armed Forces<br>and defense contractors from Iraq); (2) H.R. 2206 (U.S. Troop Readiness, Veterans' Care,<br>Katrina Recovery, and Iraq Accountability Appropriations Act, 2007); and (3) H.R. 2207<br>(Agricultural Disaster Assistance and Western States Emergency Unfinished Business<br>Appropriations Act, 2007)."],["To provide for the redeployment of United States Armed Forces and defense contractors from<br>Iraq.","HR2237","Requires the Secretary of Defense: (1) within 90 days after the enactment of this Act, to<br>commence the redeployment of units and members of the Armed Forces (U.S. forces) deployed<br>in Iraq as part of Operation Iraqi Freedom and defense contractors operating in Iraq and<br>funded using amounts appropriated to the Department of Defense (DOD); and (2) to complete<br>such redeployment within 180 days after its commencement. Prohibits the use of DOD funds<br>to increase the number of U.S. forces serving in ..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2007, and for other purposes.","HR2206","U.S. Troop Readiness, Veterans' Care, Katrina Recovery, and Iraq Accountability<br>Appropriations Act, 2007 - Title I: Supplemental Appropriations for Defense, International<br>Affairs, and Other Security-Related Needs - Chapter 1 - Makes additional FY2007<br>appropriations to the Department of Agriculture, Foreign Agricultural Service, for<br>commodities supplied in connection with dispositions abroad under Public Law 480 Title II<br>Grants. Chapter 2 - Makes additional FY2007 appropriations to the Departm..."],["Making supplemental appropriations for agricultural and other emergency assistance for the<br>fiscal year ending September 30, 2007, and for other purposes.","HR2207","Agricultural Disaster Assistance and Western States Emergency Unfinished Business<br>Appropriations Act, 2007 - Title I: Agricultural Assistance - (Sec. 1001) Appropriates<br>FY2007 amounts for emergency financial assistance to producers on a farm that incurred<br>qualifying quantity or quality losses for the 2005 or 2006 crop, or that part of the 2007<br>crop year before February 28, 2007, due to damaging weather or any related condition<br>(including crop diseases, insects, and delayed planting). Requires..."],["To authorize appropriations for fiscal year 2008 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR2082","Intelligence Authorization Act for Fiscal Year 2008 - Title I: Budget and Personnel<br>Authorizations - (Sec. 101) Authorizes appropriations for FY2008 for the conduct of<br>intelligence and intelligence-related activities of the: (1) Office of the Director of<br>National Intelligence (DNI); (2) Central Intelligence Agency (CIA); (3) Department of<br>Defense (DOD); (4) Defense Intelligence Agency (DIA); (5) National Security Agency (NSA);<br>(6) Departments of the Army, Navy, and Air Force; (7) Coast Guard;..."],["Recognizing National AmeriCorps Week.","HRES385","Encourages all citizens to join in a national effort to salute AmeriCorps members and<br>alumni. Acknowledges the significant accomplishments of AmeriCorps members, alumni, and<br>community partners. Encourages citizens of all ages to participate in service<br>opportunities in their communities, including in AmeriCorps programs."],["To require the Secretary of the Treasury to mint coins in commemoration of veterans who<br>became disabled for life while serving in the Armed Forces of the United States.","HR634","American Veterans Disabled for Life Commemorative Coin Act - Directs the Secretary of the<br>Treasury to mint and issue $1 silver coins emblematic of the service of our disabled<br>veterans who, having survived the ordeal of war, made enormous personal sacrifices<br>defending the principles of our democracy. Expresses the sense of Congress that, to the<br>greatest extent possible, the coins should be struck at the U.S. Mint at West Point, New<br>York. Limits the period for coin issuance to the calendar year..."],["To amend title 4, United States Code, to authorize the Governor of a State, territory, or<br>possession of the United States to order that the National flag be flown at half-staff in<br>that State, territory, or possession in the event of the death of a member of the Armed<br>Forces from that State, territory, or possession who dies while serving on active duty.","HR692","Army Specialist Joseph P. Micks Federal Flag Code Amendment Act of 2007 - Amends federal<br>law with regard to the flying of the national flag at half-staff to: (1) allow a governor<br>of a state, territory, or possession of the United States (governor) to proclaim that the<br>national flag be flown at half-staff upon the death of a member of the Armed Forces from<br>the governor's state, territory, or possession who dies while serving on active duty; (2)<br>provide the same authority to the Mayor of the Di..."],["To provide for loan repayment for prosecutors and public defenders.","HR916","John R. Justice Prosecutors and Defenders Incentive Act of 2007 - Amends the Omnibus Crime<br>Control and Safe Streets Act of 1968 to add a program for student loan repayment for<br>prosecutors and public defenders. Defines \"prosecutor\" as a full-time state or local<br>agency employee who: (1) is continually licensed to practice law; and (2) prosecutes<br>criminal or juvenile delinquency cases, including an employee who supervises, educates, or<br>trains other attorneys prosecuting such cases.Defines \"publi..."],["To amend the Omnibus Crime Control and Safe Streets Act of 1968 to enhance the COPS ON THE<br>BEAT grant program, and for other purposes.","HR1700","COPS Improvements Act of 2007 - (Sec. 2) Amends the Omnibus Crime Control and Safe Streets<br>Act of 1968 to expand the authority of the Attorney General to make grants for public<br>safety and community policing programs (COPS ON THE BEAT or COPS program). Revises grant<br>purposes to provide for: (1) the hiring or training of law enforcement officers for<br>intelligence, anti-terror, and homeland security duties; (2) the hiring of school resource<br>officers; (3) school-based partnerships between local la..."],["To limit the authority of the Secretary of Transportation to grant authority to motor<br>carriers domiciled in Mexico to operate beyond United States municipalities and commercial<br>zones on the United States-Mexico border.","HR1773","Safe American Roads Act of 2007 - (Sec. 2) Prohibits the Secretary of Transportation from<br>granting a motor carrier domiciled in Mexico authority to operate beyond U.S.<br>municipalities and commercial zones on the U.S.-Mexico border, except that the Secretary<br>may carry out, in accordance with certain federal motor carrier safety and inspection laws<br>and regulations and this Act, a pilot program that allows not more than 100 of such<br>carriers, and not more than 1,000 of their vehicles, to operate b..."],["Providing for consideration of the bill (H.R. 1585) to authorize appropriations for fiscal<br>year 2008 for military activities of the Department of Defense, to prescribe military<br>personnel strengths for fiscal year 2008, and for other purposes.","HRES403","Sets forth the rule for consideration of H.R. 1585 (National Defense Authorization Act for<br>Fiscal Year 2008)."],["To authorize appropriations for fiscal year 2008 for military activities of the Department<br>of Defense, to prescribe military personnel strengths for fiscal year 2008, and for other<br>purposes.","HR1585","National Defense Authorization Act for Fiscal Year 2008 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2008 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, the Joint Improvised Explosive Device Defeat<br>Fund, and other procurement. (Sec. 104) Authorizes appropriations for FY2..."],["Providing for consideration of the bill (H.R. 1427) to reform the regulation of certain<br>housing-related Government-sponsored enterprises, and for other purposes.","HRES404","Sets forth the rule for consideration of H.R. 1427 (Federal Housing Finance Reform Act of<br>2007)."],["Providing for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 21) setting forth the congressional budget for the United States<br>Government for fiscal year 2008 and including the appropriate budgetary levels for fiscal<br>years 2007 and 2009 through 2012.","HRES409","Sets forth the rule for consideration of the conference report on S.Con.Res. 21<br>(congressional budget)."],["To reform the regulation of certain housing-related Government-sponsored enterprises, and<br>for other purposes.","HR1427","Federal Housing Finance Reform Act of 2007 - Title I: Reform of Regulation of Enterprises<br>and Federal Home Loan Banks - Subtitle A: Improvement of Safety and Soundness - (Sec. 101)<br>Amends the Housing and Community Development Act of 1992 (Act) to establish, in place of<br>the present Office of Federal Housing Enterprise Oversight, a Federal Housing Finance<br>Agency (FHFA), headed by a Director (Director) possessing general supervisory and<br>regulatory authority over the Federal National Mortgage Ass..."],["A bill to amend chapter 35 of title 28, United States Code, to preserve the independence<br>of United States attorneys.","S214","Preserving United States Attorney Independence Act of 2007 - Amends the federal judicial<br>code to: (1) allow a person appointed as U.S. attorney to serve until the qualification of<br>a U.S. attorney for such district appointed by the President, or the expiration of 120<br>days after appointment by the Attorney General, whichever is earlier; and (2) provide<br>that, if an appointment so expires, the district court for such district may appoint a<br>U.S. attorney to serve until the vacancy is filled.Applie..."],["To amend the Sherman Act to make oil-producing and exporting cartels illegal.","HR2264","No Oil Producing and Exporting Cartels Act of 2007 or NOPEC - Amends the Sherman Act to<br>declare it to be illegal and a violation of the Act for any foreign state or<br>instrumentality thereof to act collectively or in combination with any other foreign state<br>or any other person, whether by cartel or any other association or form of cooperation or<br>joint action, to limit the production or distribution of oil, natural gas, or any other<br>petroleum product (petroleum), to set or maintain the price of ..."],["To amend the Immigration and Nationality Act and title 18, United States Code, to combat<br>the crime of alien smuggling and related activities, and for other purposes.","HR2399","Alien Smuggling and Terrorism Prevention Act of 2007 - (Sec. 3) Directs the Department of<br>Homeland Security (DHS) to check against all available terrorist watchlists those alien<br>smugglers and smuggled individuals who are interdicted at U.S. land, air, and sea borders.<br>(Sec. 4) Amends the Immigration and Nationality Act to specify the following criminal<br>penalties for individuals convicted of smuggling unlawful aliens into the United States<br>(applicable to each alien for whom the offense applies..."],["To designate the facility of the United States Postal Service located at 601 Banyan Trail<br>in Boca Raton, Florida, as the \"Leonard W. Herman Post Office\".","HR1722","Designates the facility of the United States Postal Service located at 601 Banyan Trail in<br>Boca Raton, Florida, as the \"Leonard W. Herman Post Office.\""],["Providing for consideration of the bill (H.R. 1100) to revise the boundary of the Carl<br>Sandburg Home National Historic Site in the State of North Carolina, and for other<br>purposes.","HRES429","Sets forth the rule for consideration of H.R. 1100 (Carl Sandburg Home National Historic<br>Site Boundary Revision Act of 2007)."],["To protect consumers from price-gouging of gasoline and other fuels, and for other<br>purposes.","HR1252","Federal Price Gouging Prevention Act - (Sec. 2) Makes it unlawful during a period<br>proclaimed by the President as an energy emergency to sell gasoline or any other petroleum<br>distillate at a price that: (1) is unconscionably excessive; or (2) indicates the seller<br>is taking unfair advantage of the circumstances of an emergency to increase prices<br>unreasonably. Authorizes the President to issue an energy emergency proclamation and to<br>cite the geographic area covered, the gasoline or other petroleu..."],["To amend title XVIII of the Social Security Act to provide an exception to the 60-day<br>limit on Medicare reciprocal billing arrangements between two physicians during the period<br>in which one of the physicians is ordered to active duty as a member of a reserve<br>component of the Armed Forces.","HR2429","Amends title XVIII (Medicare) of the Social Security Act to create an exception to the<br>60-day limit on Medicare reciprocal billing arrangements in the case of arrangements<br>between two physicians over a longer continuous period during all of which one of them is<br>ordered to active duty as a member of a reserve component of the armed forces.Applies this<br>exception to medical services provided before January 1, 2008."],["To revise the boundary of the Carl Sandburg Home National Historic Site in the State of<br>North Carolina, and for other purposes.","HR1100","Carl Sandburg Home National Historic Site Boundary Revision Act of 2007 - Authorizes the<br>Secretary of the Interior to acquire from willing sellers by donation, purchase with<br>donated or appropriated funds, or exchange not more than 110 acres of certain land, water,<br>or interests in land and water to be added to the Carl Sandburg Home National Historic<br>Site. Permits the Secretary, in order to preserve the historic character and landscape of<br>the Site, to also acquire up to five acres of land for ..."],["To amend title 38, United States Code, to improve the outreach activities of the<br>Department of Veterans Affairs, and for other purposes.","HR67","Veterans Outreach Improvement Act of 2007 - Directs the Secretary of Veterans Affairs to<br>establish, maintain, and modify as necessary procedures for ensuring the effective<br>coordination of outreach activities of the Department of Veterans Affairs between and<br>among the Office of the Secretary, the Office of Public Affairs, the Veterans Health<br>Administration, the Veterans Benefits Administration, and the National Cemetery<br>Administration. Directs the Secretary to give priority to state and county..."],["To amend title 38, United States Code, to extend the period of eligibility for health care<br>for combat service in the Persian Gulf War or future hostilities from two years to five<br>years after discharge or release.","HR612","Returning Servicemember VA Healthcare Insurance Act of 2007 - Extends, for veterans who<br>served in a theater of combat operations during a period of war after the Persian Gulf War<br>or during a period of hostilities after November 11, 1998, from two to five years the<br>period of elgibility for hospital care, medical services, or nursing home care provided by<br>the Secretary of Veterans Affairs following discharge or release for such veterans, or,<br>for veterans who were discharged or released more tha..."],["To amend the Department of Veterans Affairs Health Care Programs Enhancement Act of 2001<br>to require the provision of chiropractic care and services to veterans at all Department<br>of Veterans Affairs medical centers.","HR1470","Chiropractic Care Available to All Veterans Act - Amends the Department of Veterans<br>Affairs Health Care Programs Enhancement Act of 2001 to require a program under which the<br>Secretary of Veterans Affairs provides chiropractic care and services to veterans through<br>Department of Veterans Affairs medical centers and clinics to be carried out at: (1) no<br>fewer than 75 medical centers by December 31, 2009; and (2) all medical centers by<br>December 31, 2011."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>provide certain improvements in the treatment of individuals with traumatic brain<br>injuries, and for other purposes.","HR2199","Traumatic Brain Injury Health Enhancement and Long-Term Support Act of 2007 - (Sec. 2)<br>Directs the Secretary of Veterans Affairs to establish a program to screen veterans<br>eligible for Department of Veterans Affairs (VA) hospital, medical, and nursing home care<br>for symptoms of traumatic brain injury (TBI). Requires the Secretary to develop and carry<br>out a program of long-term care for post-acute TBI rehabilitation in four geographically<br>dispersed polytrauma network sites designated by the Secr..."],["Providing for consideration of the bill (H.R. 2317) to amend the Lobbying Disclosure Act<br>of 1995 to require registered lobbyists to file quarterly reports on contributions bundled<br>for certain recipients, and for other purposes and providing for the consideration of the<br>bill (H.R. 2316) to provide more rigorous requirements with respect to disclosure and<br>enforcement of lobbying laws and regulations, and for other purposes.","HRES437","Sets forth the rule for consideration of: (1) H.R. 2317 (Lobbying Transparency Act of<br>2007); and (2) H.R. 2316 (Honest Leadership and Open Government Act of 2007). Amends Rule<br>XXV (Limitations on Outside Earned Income and Acceptance of Gifts) of the Rules of the<br>House of Representatives to exclude from its gift ban exception free attendance at an<br>event (currently, widely attended event) permitted under the Rule."],["Providing for consideration of the Senate amendment to the bill (H.R. 2206) making<br>emergency supplemental appropriations and additional supplemental appropriations for<br>agricultural and other emergency assistance for the fiscal year ending September 30, 2007,<br>and for other purposes.","HRES438","Sets forth the rule for consideration of the Senate amendment to H.R. 2206 (U.S. Troop<br>Readiness, Veterans' Care, Katrina Recovery, and Iraq Accountability Appropriations Act,<br>2007)."],["To amend the Lobbying Disclosure Act of 1995 to require registered lobbyists to file<br>quarterly reports on contributions bundled for certain recipients, and for other purposes.","HR2317","Lobbying Transparency Act of 2007 - Amends the Lobbying Disclosure Act of 1995 to require<br>a registered lobbyist who bundles two or more contributions made (in an aggregate amount<br>exceeding $5,000) to a covered recipient during a quarterly period to: (1) file a<br>quarterly report with the Secretary of the Senate and the Clerk of the House of<br>Representatives; and (2) notify the covered recipient by certified mail before filing such<br>report. Requires the notification to express the covered recipien..."],["To provide more rigorous requirements with respect to disclosure and enforcement of<br>lobbying laws and regulations, and for other purposes.","HR2316","Honest Leadership and Open Government Act of 2007 - Title I: Closing the Revolving Door -<br>(Sec. 101) Amends the Rules of the House of Representatives to add Rule XXVII (Disclosure<br>by Members and Staff of Employment Negotiations). Prohibits a Member, Delegate, or<br>Resident Commissioner (Member) from directly negotiating or having any agreement of future<br>employment or compensation until after the election for his or her successor, unless such<br>Member files a statement about such negotiations or a..."],["Calling on the Government of the People's Republic of China to use its unique influence<br>and economic leverage to stop genocide and violence in Darfur, Sudan.","HRES422","Calls upon the government of the People's Republic of China (PRC) to condemn the<br>atrocities taking place in Darfur, Sudan, and end military and economic assistance to the<br>government of Sudan until Sudan stops civilian attacks and engages in peace negotiations.<br>Recognizes the close relationship between the PRC and Sudan and urges the PRC to use its<br>political, international, and economic influence to stop the violence in Darfur, Sudan.<br>Recognizes that the spirit of the Olympics, which is to bri..."],["Calling on the Government of the Islamic Republic of Iran to immediately release Dr. Haleh<br>Esfandiari.","HRES430","States that Iran should immediately and unconditionally release dual Iranian-American<br>citizens Dr. Haleh Esfandiari, Ms. Parnaz Azima, Mr. Kian Tajbakhsh, Mr. Ali Shakeri, and<br>a fifth unnamed individual being detained against his will, replace their lost travel<br>documents, cease its tactics of harassment, and permit them to leave Iran."],["Directing the Committee on Standards of Official Conduct to respond to the indictment of,<br>or the filing of charges of criminal conduct in a court of the United States or any State<br>against, any Member of the House of Representatives by empaneling an investigative<br>subcommittee to review the allegations not later than 30 days after the date the Member is<br>indicted or the charges are filed.","HRES451","Provides that if a Member of the House of Representatives, including a Delegate or<br>Resident Commissioner, is indicted or otherwise formally charged with criminal conduct in<br>a federal or state court, the Committee on Standards of Official Conduct shall within 30<br>days: (1) empanel an investigative subcommittee to review the allegations; or (2) if the<br>Committee does not take such action, report to the House on its reasons for not doing so,<br>together with the actions, if any, the Committee has tak..."],["Providing for consideration of the bill (H.R. 2446) to reauthorize the Afghanistan Freedom<br>Support Act of 2002, and for other purposes.","HRES453","Sets forth the rule for consideration of H.R. 2446 (Afghanistan Freedom and Security<br>Support Act of 2007)."],["To authorize the Secretary of Energy to establish monetary prizes for achievements in<br>overcoming scientific and technical barriers associated with hydrogen energy.","HR632","H-Prize Act of 2007 - (Sec. 3) Directs the Secretary of Energy to: (1) award competitive<br>cash prizes biennially to advance the research, development, demonstration, and commercial<br>application of hydrogen energy technologies; and (2) enter into an agreement with a<br>private, nonprofit entity to administer the prize competitions.Authorizes the Secretary to<br>use appropriated funds for the cash prize program, including certain funds from other<br>federal agencies.(Sec. 4) Designates prize-eligible cate..."],["To protect users of the Internet from unknowing transmission of their personally<br>identifiable information through spyware programs, and for other purposes.","HR964","Securely Protect Yourself Against Cyber Trespass Act or Spy Act - (Sec. 2) Makes it<br>unlawful for any person who is not the owner or authorized user (user) of a protected<br>computer (a computer exclusively for the use of a financial institution or the U.S.<br>government, or a computer used in interstate or foreign commerce or communication) to<br>engage in unfair or deceptive acts or practices in connection with specified conduct,<br>including: (1) taking unsolicited control of the computer; (2) modifyin..."],["To reauthorize the Afghanistan Freedom Support Act of 2002, and for other purposes.","HR2446","Afghanistan Freedom and Security Support Act of 2007 - Title I: Economic and Democratic<br>Development Assistance for Afghanistan - (Sec. 103) Amends the Afghanistan Freedom Support<br>Act of 2002 to provide for assistance with respect to: (1) continuing humanitarian needs;<br>(2) a pilot program of crop substitution for poppy production; (3) agriculture, health,<br>and infrastructure reconstruction; (4) education and anti-corruption, including<br>implementation of the Afghan action plan on transitional jus..."],["To amend the Federal Food, Drug, and Cosmetic Act to prohibit human cloning, and for other<br>purposes.","HR2560","Human Cloning Prohibition Act of 2007 - Amends the Federal Food, Drug, and Cosmetic Act to<br>make it unlawful for any person, including a governmental entity, to: (1) perform or<br>attempt to perform human cloning; or (2) ship, mail, transport, or receive the product of<br>human somatic cell nuclear transfer technology knowing that such product is for the<br>purpose of human cloning. Sets forth criminal and civil penalties for violations of this<br>Act."],["Providing for consideration of the bill (S. 5) to amend the Public Health Service Act to<br>provide for human embryonic stem cell research.","HRES464","Sets forth the rule for consideration of S. 5 (Stem Cell Research Enhancement Act of<br>2007)."],["A bill to amend the Public Health Service Act to provide for human embryonic stem cell<br>research.","S5","Stem Cell Research Enhancement Act of 2007 - (Sec. 2) Amends the Public Health Service Act<br>to require the Secretary of Health and Human Services to conduct and support research that<br>utilizes human embryonic stem cells, regardless of the date on which the stem cells were<br>derived from a human embryo. Limits such research to stem cells that meet the following<br>ethical requirements: (1) the stem cells were derived from human embryos donated from in<br>vitro fertilization clinics for the purpose of fe..."],["Providing for consideration of the bill (H.R. 65) to provide for the recognition of the<br>Lumbee Tribe of North Carolina, and for other purposes.","HRES465","Sets forth the rule for consideration of H.R. 65 (Lumbee Recognition Act)."],["To provide for the recognition of the Lumbee Tribe of North Carolina, and for other<br>purposes.","HR65","Lumbee Recognition Act - Extends federal recognition to the Lumbee Tribe of North<br>Carolina, as designated as petitioner number 65 by the Office of Federal<br>Acknowledgment.Permits any group of Indians in Robeson and adjoining counties, North<br>Carolina, whose members are not enrolled in the Tribe to petition for acknowledgment of<br>tribal existence. Makes the Tribe and its members eligible for all services and benefits<br>provided to Indians because of their status as members of a federally recognized..."],["To amend title 4, United States Code, to encourage the display of the flag of the United<br>States on Father's Day.","HR2356","Adds Father's Day, the third Sunday in June, to the official occasions for the display of<br>the U.S. flag."],["A bill to provide that the Executive Director of the Inter-American Development Bank or<br>the Alternate Executive Director of the Inter-American Development Bank may serve on the<br>Board of Directors of the Inter-American Foundation.","S676","Amends the Foreign Assistance Act of 1969 to permit the appointment of the United States<br>Executive Director of the Inter-American Development Bank or the Alternate Executive<br>Director of the Inter-American Development Bank to the Board of Directors of the Inter-<br>American Foundation."],["Recognizing and welcoming the delegation of Presidents, Prime Ministers, and Foreign<br>Ministers from the Caribbean to Washington, D.C., and commending the Caribbean Community<br>(CARICOM) for holding the Conference on the Caribbean.","HRES418","Recognizes the historic ties between the peoples of the United States and the Caribbean.<br>Commends the Caribbean Community (CARICOM) for holding the Conference of the Caribbean,<br>and welcomes the delegation of Presidents, Prime Ministers, and Foreign Ministers to<br>Washington, DC."],["Providing for consideration of the bill (H.R. 2638) making appropriations for the<br>Department of Homeland Security for the fiscal year ending September 30, 2008, and for<br>other purposes.","HRES473","Sets forth the rule for consideration of H.R. 2638 (Department of Homeland Security<br>Appropriations Act, 2008)."],["Recognizing the immeasurable contributions of fathers in the healthy development of<br>children, supporting responsible fatherhood, and encouraging greater involvement of<br>fathers in the lives of their children, especially on Father's Day.","HRES474","Commends the millions of fathers who serve as wonderful, caring parents for their<br>children.Calls on fathers across the United States to use Father's Day to: (1) reconnect<br>and rededicate themselves to their children's lives; (2) spend Father's Day with their<br>children; and (3) express their love and support for their children.Urges men to<br>understand the level of responsibility fathering a child requires, especially in the<br>encouragement of children's moral, academic, and spiritual development.En..."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2008, and for other purposes.","HR2638","Consolidated Security, Disaster Assistance, and Continuing Appropriations Act, 2009 -<br>Division A: Continuing Appropriations Resolution, 2009 - Continuing Appropriations<br>Resolution, 2009 - (Sec. 101) Makes continuing appropriations for FY2009 for continuing<br>projects or activities that were conducted in FY2008, and for which appropriations, funds,<br>or other authority were made available in the following appropriations Acts of the<br>Consolidated Appropriations Act, 2008: (the Consolidated Appropria..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2008, and for other purposes.","HR2642","Supplemental Appropriations Act, 2008 - Title I: Military Construction, Veterans Affairs,<br>International Affairs, and Other Security-Related Matters - Chapter 1: Agriculture - Makes<br>supplemental appropriations for FY2008 to the Department of Agriculture for the Foreign<br>Agricultural Service for grants under the Agricultural Trade Development and Assistance<br>Act of 1954 (P.L. 480) for emergency and nonemergency food assistance to foreign<br>countries. Chapter 2: Justice- Makes supplemental appropria..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2008, and for other purposes.","HR2641","Energy and Water Development and Related Agencies Appropriations Act, 2008 - Title I:<br>Corps of Engineers-Civil - Makes FY 2008 appropriations for: (1) the U.S. Army Corps of<br>Engineers for civil functions pertaining to rivers and harbors, flood and storm damage<br>reduction, and aquatic ecosystem restoration; (2) general investigations and construction<br>(including rescissions of funds); (3) flood damage reduction for the Mississippi River<br>alluvial valley below Cape Girardeau, Missouri; (4) operati..."],["To establish an Unsolved Crimes Section in the Civil Rights Division of the Department of<br>Justice, and an Unsolved Civil Rights Crime Investigative Office in the Civil Rights Unit<br>of the Federal Bureau of Investigation, and for other purposes.","HR923","Emmett Till Unsolved Civil Rights Crime Act of 2007 - Directs the Attorney General to<br>designate a Deputy Chief in the Criminal Section of the Civil Rights Division of the<br>Department of Justice (DOJ). Makes the Deputy Chief responsible for investigating and<br>prosecuting violations of criminal civil rights statutes in which the alleged violation<br>occurred before January 1, 1970 and resulted in death. (Sec. 4) Directs the Attorney<br>General to designate a Supervisory Special Agent in the Civil Right..."],["Calling on the United Nations Security Council to charge Iranian President Mahmoud<br>Ahmadinejad with violating the 1948 Convention on the Prevention and Punishment of the<br>Crime of Genocide and the United Nations Charter because of his calls for the destruction<br>of the State of Israel.","HCONRES21","Condemns Iranian President Mahmoud Ahmadinejad's statements and policies aimed at Israel's<br>destruction. Calls on the U.N. Security Council to charge President Ahmadinejad with<br>violating the 1948 Convention on the Prevention and Punishment of the Crime of Genocide<br>and Article 2, Section 4, of the U.N. Charter. Calls on the Security Council and all U.N.<br>member states to consider stronger measures to prevent Iran from obtaining nuclear<br>weapons, which would be a dangerous violation of the Nuclear..."],["To reauthorize programs to assist small business concerns, and for other purposes.","HR2359","SBA Entrepreneurial Development Programs Act of 2007 - Title I: Revisions to Small<br>Business Development Centers - (Sec. 101) Amends the Small Business Act to make<br>operational changes to the Small Business Administration (SBA)'s small business<br>development centers (SBDCs) program, including: (1) requiring new SBDC award grantees that<br>are universities to be accredited; (2) requiring award grantees to be equal partners in<br>grant program and contract negotiations; (3) prohibiting SBA interference i..."],["To amend the Small Business Act to expand and improve the assistance provided by Small<br>Business Development Centers to Indian tribe members, Alaska Natives, and Native<br>Hawaiians.","HR2284","Amends the Small Business Act to authorize a Small Business Development Center in an<br>eligible state to apply for an additional grant to be used solely to provide services to<br>assist with outreach, development, and enhancement on Indian lands of small business<br>startups and expansions owned by Indian tribe members, Alaskan Natives, and Native<br>Hawaiians. Defines an \"eligible state\" as a state that has a combined population of Indian<br>tribe members, Alaska Natives, and Native Hawaiians that compris..."],["Making appropriations for the Department of State, foreign operations, and related<br>programs for the fiscal year ending September 30, 2008, and for other purposes.","HR2764","Consolidated Appropriations Act, 2008 - Division A: Agriculture, Rural Development, Food<br>and Drug Administration, and Related Agencies Appropriations Act, 2008 - Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies Appropriations Act,<br>2008 - Title I: Agricultural Programs - Appropriates FY2008 funds for the following<br>Department of Agriculture (Department) programs and services: (1) Office of the Secretary<br>of Agriculture (Secretary); (2) Office of the Chief Econom..."],["Providing for consideration of the bill (H.R. 2771) making appropriations for the<br>Legislative Branch for the fiscal year ending September 30, 2008, and for other purposes.","HRES502","Sets forth the rule for consideration of H.R. 2771 (Legislative Branch Appropriations Act,<br>2008)."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2008, and for other purposes.","HR2771","Legislative Branch Appropriations Act, 2008 - Makes appropriations to the House of<br>Representatives for FY2008 for: (1) salaries and/or expenses of the House leadership<br>offices, committees (including the Committee on Appropriations), officers and employees,<br>and the Child Care Center; (2) Members' representational allowances; and (3) the<br>preparation of statements of appropriations. (Sec. 101) Requires deposit in the Treasury<br>of any amounts of a Member's representational allowance for FY2008 rem..."],["Expressing the sense of the House of Representatives that a \"Welcome Home Vietnam Veterans<br>Day\" should be established.","HRES189","Expresses the sense of the House of Representatives that there should be established a<br>\"Welcome Home Vietnam Veterans Day\" to honor those members of the U.S. Armed Forces who<br>served in Vietnam."],["To designate the Department of Veterans Affairs Medical Center in Asheville, North<br>Carolina, as the \"Charles George Department of Veterans Affairs Medical Center\".","HR2546","Designates the Department of Veterans Affairs Medical Center located at 1100 Tunnel Road,<br>Asheville, North Carolina, as the \"Charles George Department of Veterans Affairs Medical<br>Center.\""],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2008, and for other purposes.","HR2643","Department of the Interior, Environment, and Related Agencies Appropriations Act, 2008 -<br>Makes appropriations for the Department of the Interior, the Environmental Protection<br>Agency (EPA), and related agencies for FY2008. Title I: Department of the Interior - Makes<br>appropriations for FY2008 to the Bureau of Land Management (BLM) for: (1) land and<br>resource management; (2) construction; (3) land acquisition; (3) Oregon and California<br>grant lands; (4) range improvements; (5) service charges, dep..."],["Providing for consideration of the bill (H.R. 2829) making appropriations for financial<br>services and general government for the fiscal year ending September 30, 2008, and for<br>other purposes.","HRES517","Sets forth the rule for consideration of H.R. 2829 (Financial Services and General<br>Government Appropriations Act, 2008). Makes it in order to consider concurrent resolutions<br>providing for the adjournment of the House and Senate during the month of July."],["To extend the authorities of the Andean Trade Preference Act until September 30, 2009.","HR1830","Amends the Andean Trade Preference Act to extend through February 29, 2008, the duty-free<br>treatment or other preferential treatment for beneficiary countries (Bolivia, Ecuador,<br>Colombia, and Peru) under the Act. Repeals certain provisions subjecting the extension of<br>such treatment to such countries to certain conditions. Extends preferential treatment<br>through FY2008 to apparel articles assembled in one or more beneficiary countries from<br>regional fabrics or regional components, and other type ..."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2008, and for other purposes.","HR2829","Financial Services and General Government Appropriations Act, 2008 - Title I: Department<br>of the Treasury - Department of the Treasury Appropriations Act, 2008 - Makes<br>appropriations for FY2008 to the Department of the Treasury for: (1) departmental offices;<br>(2) department-wide systems and capital investments programs; (3) the Office of Inspector<br>General; (4) the Treasury Inspector General for Tax Administration; (5) the Air<br>Transportation Stabilization Program Account; (6) the Financial Crime..."],["Providing for consideration of the bill (H.R. 2669) to provide for reconciliation pursuant<br>to section 601 of the concurrent resolution on the budget for fiscal year 2008.","HRES531","Sets forth the rule for consideration of H.R. 2669 (College Cost Reduction Act of 2007)."],["Supporting home ownership and responsible lending.","HRES526","Declares the sense of the House that specified government action should be taken that<br>protects buyers from unscrupulous mortgage brokers and lenders. Declares that such action<br>should: (1) enforce rules to eliminate unfair and deceptive practices in sub-prime<br>mortgage lending; (2) encourage lenders to evaluate a borrower's ability to reasonably<br>repay any mortgage loan; (3) establish clear minimum standards for mortgage originators;<br>(4) require that disclosures clearly and effectively communica..."],["A bill to provide for the extension of transitional medical assistance (TMA) and the<br>abstinence education program through the end of fiscal year 2007, and for other purposes.","S1701","Amends the Tax Relief and Health Care Act of 2006 to extend transitional medical<br>assistance (TMA) and the abstinence education program through FY2007.Amends title XVIII<br>(Medicare) of the Social Security Act with respect to limited continuous open enrollment<br>of original fee-for-service enrollees in Medicare Advantage non-prescription drug plans.<br>Accelerates from the end of 2008 to July 31, 2007, the sunset of the period during which a<br>Medicare Advantage-eligible but unenrolled fee-for-service ..."],["To provide for reconciliation pursuant to section 601 of the concurrent resolution on the<br>budget for fiscal year 2008.","HR2669","College Cost Reduction and Access Act - Title I: Grants to Students in Attendance at<br>Institutions of Higher Education - (Sec. 101) Amends the Higher Education Act of 1965<br>(HEA) to repeal the formula for calculating an individual Pell grant which includes, in<br>part, the sum of the student's tuition. (Thus eliminates the \"tuition sensitivity<br>provision\" which currently prohibits maximum Pell grant awards to students attending low-<br>tuition institutions of higher education (IHEs) even if their incom..."],["To amend the Wild and Scenic Rivers Act to designate certain segments of the Eightmile<br>River in the State of Connecticut as components of the National Wild and Scenic Rivers<br>System, and for other purposes.","HR986","Eightmile Wild and Scenic River Act - Amends the Wild and Scenic Rivers Act to designate<br>as a component of the national wild and scenic rivers system (the system) certain segments<br>of the main stem and specified tributaries of the Eightmile River, Connecticut. Declares<br>that such segments shall be managed in accordance with the Eightmile River Watershed<br>Management Plan and such amendments as the Secretary of the Interior determines are<br>consistent with this Act. Deems the Plan to satisfy the req..."],["To amend the Federal Food, Drug, and Cosmetic Act to revise and extend the user-fee<br>programs for prescription drugs and for medical devices, to enhance the postmarket<br>authorities of the Food and Drug Administration with respect to the safety of drugs, and<br>for other purposes.","HR2900","Food and Drug Administration Amendments Act of 2007 - Title I: Prescription Drug User Fee<br>Amendments of 2007 - (Sec. 101) Prescription Drug User Fee Amendments of 2007 - (Sec. 102)<br>Amends the Federal Food, Drug, and Cosmetic Act (FFDCA) to include postmarket safety<br>activities within the process for the review of human drug applications or supplements,<br>including: (1) developing and using improved adverse event data collection systems and<br>improved analytical tools to assess potential safety pro..."],["Condemning the decision by the University and College Union of the United Kingdom to<br>support a boycott of Israeli academia.","HRES467","Condemns the vote by the leadership of the University and College Union (UCU) of May 30,<br>2007, to consider at the branch level a boycott Israeli academics and academic<br>institutions. Urges the international scholarly community, the European Union (EU), and<br>individual governments to reject, or continue to oppose, calls for an academic boycott of<br>Israel. Urges governments and educators throughout the world to reaffirm the importance of<br>academic freedom. Urges other unions and organizations to re..."],["Providing for consideration of the bill (H.R. 2956) to require the Secretary of Defense to<br>commence the reduction of the number of United States Armed Forces in Iraq to a limited<br>presence by April 1, 2008, and for other purposes.","HRES533","Sets forth the rule for consideration of H.R. 2956 (Responsible Redeployment from Iraq<br>Act)."],["To require the Secretary of Defense to commence the reduction of the number of United<br>States Armed Forces in Iraq to a limited presence by April 1, 2008, and for other<br>purposes.","HR2956","Responsible Redeployment from Iraq Act - Expresses the sense of Congress that: (1) the<br>Authorization for Use of Military Force Against Iraq Resolution of 2002 authorized the<br>President to use the Armed Forces as appropriate to defend U.S. national security against<br>the continuing threat posed by the government of Iraq at the time; (2) the government of<br>Iraq which was in power at that time has been removed; (3) the current Iraqi government<br>does not pose a threat to the United States; and (4) aft..."],["To reform the housing choice voucher program under section 8 of the United States Housing<br>Act of 1937.","HR1851","Section 8 Voucher Reform Act of 2007 - (Sec. 2) Amends the United States Housing Act of<br>1937 to revise requirements for public housing agency (PHA) inspections of each dwelling<br>unit for which a housing assistance payment contract is established. Requires an initial<br>inspection before any assistance payment is made. Allows such payments if failure to meet<br>standards is a result only of non-life threatening conditions. Requires suspension of<br>payments until each deficiency has been corrected.Permi..."],["To authorize appropriations for the Housing Assistance Council.","HR1980","Housing Assistance Council Authorization Act of 2007 - Authorizes the Secretary of Housing<br>and Urban Development to provide financial assistance to the Housing Assistance Council to<br>develop the capacity of community-based housing development organizations to undertake<br>community development and affordable housing projects and programs in rural areas.<br>Authorizes the Council to use such assistance for rural community-based housing<br>development organizations to acquire: (1) technical assistance, t..."],["To authorize appropriations for the rural housing and economic development program of the<br>Department of Housing and Urban Development.","HR1982","Rural Housing and Economic Development Improvement Act of 2007 - Authorizes the Secretary<br>of Housing and Urban Development, through the Office of Rural Housing and Economic<br>Development, to implement an assistance program to support innovative housing and economic<br>development activities in rural areas by: (1) Indian tribes; (2) state housing finance<br>agencies; (3) state community or economic development agencies; (4) local nonprofit<br>organizations; and (5) community development corporations. Dir..."],["To reauthorize and improve the program authorized by the Appalachian Regional Development<br>Act of 1965.","HR799","Appalachian Regional Development Act Amendments of 2007 - (Sec. 2) Limits the maximum<br>Appalachian Regional Commission contribution through non-highway grants and loans for<br>designated at-risk counties to 70% of costs. (Sec. 3) Authorizes the Commission to provide<br>technical assistance, make grants, or otherwise provide amounts to and contract with<br>persons or entities in the Appalachian region for projects to: (1) promote energy<br>efficiency to enhance economic competitiveness; (2) increase the us..."],["To provide collective bargaining rights for public safety officers employed by States or<br>their political subdivisions.","HR980","Public Safety Employer-Employee Cooperation Act of 2007 - Provides collective bargaining<br>rights for public safety officers employed by states or local governments. Directs the<br>Federal Labor Relations Authority (Authority) to determine whether state law provides<br>specified rights and responsibilities for public safety officers, including: (1) granting<br>public safety employees the right to form and join a labor organization which excludes<br>management and supervisory employees, and which is, or see..."],["Providing for consideration of the bill (H.R. 3043) making appropriations for the<br>Departments of Labor, Health and Human Services, and Education, and related agencies for<br>the fiscal year ending September 30, 2008, and for other purposes.","HRES547","Sets forth the rule for consideration of H.R. 3043 (FY2008 Departments of Labor, Health<br>and Human Services, and Education, and related agencies appropriations)."],["Making appropriations for the Departments of Labor, Health and Human Services, and<br>Education, and related agencies for the fiscal year ending September 30, 2008, and for<br>other purposes.","HR3043","Departments of Labor, Health and Human Services, and Education, and Related Agencies<br>Appropriations Act, 2008 - Makes appropriations for the Departments of Labor, Health and<br>Human Services, and Education, and related agencies for FY2008. Title I: Department of<br>Labor - Department of Labor Appropriations Act, 2008 - Makes appropriations for FY2008 to<br>the Department of Labor for: (1) the Employment and Training Administration, including<br>training and employment services; (2) community service emp..."],["To require the establishment of customer service standards for Federal agencies.","HR404","Federal Customer Service Enhancement Act of 2008 - Requires the Director of the Office of<br>Management and Budget (OMB) to prescribe guidance that establishes best practices to: (1)<br>ensure that federal agencies are providing high quality customer service; and (2) monitor<br>customer service quality at federal agencies. Requires customer service standards to take<br>into account: (1) existing agency standards; (2) information collected from agency<br>customers; and (3) approaches for government-wide citi..."],["Mourning the passing of former First Lady, Lady Bird Johnson, and celebrating her life and<br>contributions to the people of the United States.","HRES553","Honors the life of former First Lady, Lady Bird Johnson."],["Honoring the life and accomplishments of renowned artist Tom Lea on the 100th anniversary<br>of his birth.","HRES519","Honors the life and accomplishments of Tom Lea (a renowned artist and war artist<br>correspondent for Life magazine during World War II) on the 100th anniversary of his<br>birth."],["Providing for consideration of the bill (H.R. 3074) making appropriations for the<br>Departments of Transportation, and Housing and Urban Development, and related agencies for<br>the fiscal year ending September 30, 2008, and for other purposes.","HRES558","Sets forth the rule for consideration of H.R. 3074 (Transportation, Housing and Urban<br>Development, and Related Agencies Appropriations Act, 2008)."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2008, and for<br>other purposes.","HR3074","Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2008 - Title I: Department of Transportation - Department of Transportation Appropriations<br>Act, 2008 - Makes appropriations for FY2008 to the Department of Transportation,<br>including: (1) the Office of the Secretary; (2) the Federal Aviation Administration (FAA);<br>(3) the Federal Highway Administration; (4) the Federal Motor Carrier Safety<br>Administration; (5) the National Highway Traffic Safety Administratio..."],["Providing for consideration of the bill (H.R. 3093) making appropriations for the<br>Departments of Commerce and Justice, and Science, and Related Agencies for the fiscal year<br>ending September 30, 2008, and for other purposes.","HRES562","Sets forth the rule for consideration of H.R. 3093 (Commerce, Justice, Science, and<br>Related Agencies Appropriations Act, 2008)."],["To limit the use of funds to establish any military installation or base for the purpose<br>of providing for the permanent stationing of United States Armed Forces in Iraq or to<br>exercise United States economic control of the oil resources of Iraq.","HR2929","Declares that it is the policy of the United States not to: (1) establish any military<br>installation or base for providing for the permanent stationing of U.S. Armed Forces in<br>Iraq; and (2) exercise U.S. control over Iraqi oil resources. Prohibits any funds made<br>available by any Act of Congress from being obligated or expended to: (1) establish any<br>military installation or base for providing for the permanent stationing of U.S. Armed<br>Forces in Iraq; or (2) exercise U.S. economic control of the..."],["Expressing the sense of Congress regarding the dumping of industrial waste into the Great<br>Lakes.","HCONRES187","Expresses disapproval of the Indiana Department of Environmental Management's issuance of<br>a permit allowing BP to increase their daily dumping of ammonia and total suspended solids<br>into Lake Michigan. Urges Indiana to reconsider issuance of such permit.Calls for Congress<br>to take action to protect and restore the Great Lakes.Expresses the sense of Congress<br>that: (1) the Environmental Protection Agency's (EPA) actions in the Great Lakes basin<br>should be consistent with the goal of preserving and..."],["Making appropriations for the Departments of Commerce and Justice, and Science, and<br>Related Agencies for the fiscal year ending September 30, 2008, and for other purposes.","HR3093","Departments of Commerce and Justice, Science, and Related Agencies Appropriations Act,<br>2008 - Makes appropriations for FY2008 for the Departments of Commerce and Justice, for<br>science-related programs, and related agencies.Title I: Department of Commerce -<br>Department of Commerce Appropriations Act, 2008 - Makes appropriations for the Department<br>of Commerce for FY2008 for: (1) the International Trade Administration; (2) the Bureau of<br>Industry and Security; (3) the Economic Development Administr..."],["Providing for consideration of the bill (H.R. 2419) to provide for the continuation of<br>agricultural programs through fiscal year 2012, and for other purposes.","HRES574","Sets forth the rule for consideration of H.R. 2419 (Farm, Nutrition, and Bioenergy Act of<br>2007)."],["To provide for the continuation of agricultural programs through fiscal year 2012, and for<br>other purposes.","HR2419","Food, Conservation, and Energy Act of 2008 - Title I: Commodity Programs - (Sec. 1001)<br>Defines specified terms. Subtitle A: Direct Payments and Counter-Cyclical Payments - (Sec.<br>1101) Directs the Secretary of Agriculture (Secretary) to adjust base acres for covered<br>commodities for a farm whenever: (1) a conservation reserve contract expires or is<br>voluntarily terminated; (2) cropland is released from coverage under a conservation<br>reserve contract; or (3) the producer has eligible pulse crop or..."],["To require the Secretary of the Treasury to mint coins in commemoration of the 50th<br>anniversary of the establishment of the National Aeronautics and Space Administration and<br>the Jet Propulsion Laboratory.","HR2750","NASA 50th Anniversary Commemorative Coin Act - Directs the Secretary of the Treasury, in<br>commemoration of the 50th anniversary of the establishment of the National Aeronautics and<br>Space Administration (NASA), to mint and issue $50 gold and $1 silver coins emblematic of<br>the 50 years of exemplary and unparalleled achievements of NASA. Requires all such coin<br>sales to include a surcharge of $50 per $50 coin, and of $10 per $1 coin.Requires<br>distribution of the first $4 million to the NASA Family A..."],["Providing for consideration of the bill (H.R. 986) to amend the Wild and Scenic Rivers Act<br>to designate certain segments of the Eightmile River in the State of Connecticut as<br>components of the National Wild and Scenic Rivers System, and for other purposes.","HRES580","Sets forth the rule for consideration of H.R. 986 (Eightmile Wild and Scenic River Act)."],["Providing for consideration of the bill (H.R. 2831) to amend title VII of the Civil Rights<br>Acts of 1964, the Age Discrimination in Employment Act of 1967, the Americans With<br>Disabilities Act of 1990, and the Rehabilitation Act of 1973 to clarify that a<br>discriminatory compensation decision or other practice that is unlawful under such Act<br>occurs each time compensation is paid pursuant to the disciminatory compensation decision<br>or other practice, and for other purposes.","HRES579","Sets forth the rule for consideration of H.R. 2831 (Ledbetter Fair Pay Act of 2007)."],["A bill to provide greater transparency in the legislative process.","S1","nan"],["To require the identification of companies that conduct business operations in Sudan, to<br>prohibit United States Government contracts with such companies, and for other purposes.","HR180","Darfur Accountability and Divestment Act of 2007 - (Sec. 3) Directs the Secretary of the<br>Treasury to ensure the publication every six months in the Federal Register of a list of<br>all persons (as defined by this Act) who have a direct investment in or are conducting<br>business operations in Sudan's power production, mineral extraction, oil-related, or<br>military equipment industries. Sets forth excluded business operations, including<br>operations with: (1) the regional government of southern Sudan; (..."],["To authorize State and local governments to direct divestiture from, and prevent<br>investment in, companies with investments of $20,000,000 or more in Iran's energy sector,<br>and for other purposes.","HR2347","Iran Sanctions Enabling Act of 2007 - (Sec. 3) Directs the President to ensure biannual<br>publication in the Federal Register of a list of each person that: (1) has an investment<br>of more than $20 million in the energy sector in Iran; (2) sells arms to the government of<br>Iran; or (3) is a financial institution that extends $20 million or more in credit for 45<br>days or more to the government of Iran.Instructs the President to use only publicly<br>available (including proprietary) information when comp..."],["To amend title VII of the Civil Rights Act of 1964, the Age Discrimination in Employment<br>Act of 1967, the Americans With Disabilities Act of 1990, and the Rehabilitation Act of<br>1973 to clarify that a discriminatory compensation decision or other practice that is<br>unlawful under such Acts occurs each time compensation is paid pursuant to the<br>discriminatory compensation decision or other practice, and for other purposes.","HR2831","Lilly Ledbetter Fair Pay Act of 2007 - Amends the Civil Rights Act of 1964 to declare that<br>an unlawful employment practice occurs when: (1) a discriminatory compensation decision or<br>other practice is adopted; (2) an individual becomes subject to the decision or practice;<br>or (3) an individual is affected by application of the decision or practice, including<br>each time compensation is paid. Accrues liability, and an aggrieved person may obtain<br>relief including recovery of back pay for up to two ..."],["Providing for consideration of the bill (H.R. 3161) making appropriations for Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies programs for the<br>fiscal year ending September 30, 2008, and for other purposes.","HRES581","Sets forth the rule for consideration of H.R. 3161 (Agriculture, Rural Development, Food<br>and Drug Administration, and Related Agencies Appropriations Act, 2008)."],["To invest in innovation through research and development, and to improve the<br>competitiveness of the United States.","HR2272","America COMPETES Act or America Creating Opportunities to Meaningfully Promote Excellence<br>in Technology, Education, and Science Act - Title I: Office of Science and Technology<br>Policy; Government-Wide Science - (Sec. 1001) Directs the President to: (1) convene a<br>National Science and Technology Summit to examine the health and direction of the United<br>States' science, technology, engineering, and mathematics enterprises; and (2) issue a<br>report on Summit results. Requires, beginning with the Pres..."],["To authorize assistance to the countries of the Caribbean to fund educational development<br>and exchange programs.","HR176","Shirley A. Chisholm United States-Caribbean Educational Exchange Act of 2008 - (Sec. 4)<br>Authorizes the Secretary of State to establish the Shirley A. Chisholm United States-<br>Caribbean Educational Exchange Program under which scholars and secondary, undergraduate,<br>graduate, and postgraduate students from Caribbean Community (CARICOM) countries<br>(excluding countries with observer status or that support international terrorism) would<br>attend U.S. schools or universities, participate in activities d..."],["To restructure the Coast Guard Integrated Deepwater Program, and for other purposes.","HR2722","Integrated Deepwater Program Reform Act - Prohibits the Secretary of the department in<br>which the Coast Guard is operating from using a private sector entity as a lead systems<br>integrator for future Integrated Deepwater Systems Program (Program) procurements. Allows<br>completion of existing delivery and task orders. Allows the Secretary to obtain assistance<br>from federal agencies and, by grant, contract, or cooperative agreement, from private<br>sector entities. Directs the Secretary, subject to exce..."],["Making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2008, and for other<br>purposes.","HR3161","Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>Appropriations Act, 2008 - Title I: Agricultural Programs - Appropriates FY2008 funds for<br>the following Department of Agriculture (Department) programs and services: (1) Office of<br>the Secretary of Agriculture (Secretary); (2) executive operations; (3) National Appeals<br>Division; (4) Office of Budget and Program Analysis; (5) Homeland Security Staff; (6)<br>Office of the Chief Information Officer; (7) Office of the ..."],["Providing for consideration of the bill (H.R. 3162) to amend titles XVIII, XIX, and XXI of<br>the Social Security Act to extend and improve the children's health insurance program, to<br>improve beneficiary protections under the Medicare, Medicaid, and CHIP program, and for<br>other purposes.","HRES594","Sets forth the rule for consideration of H.R. 3162 (Children's Health and Medicare<br>Protection Act of 2007)"],["To amend titles XVIII, XIX, and XXI of the Social Security Act to extend and improve the<br>children's health insurance program, to improve beneficiary protections under the<br>Medicare, Medicaid, and the CHIP program, and for other purposes.","HR3162","Children's Health and Medicare Protection (CHAMP) Act of 2007 - Title I: Children's Health<br>Insurance Program - (Sec. 100) States that it is the purpose of this title to provide<br>dependable and stable funding for children's health insurance under titles XXI (Children's<br>Health Insurance Program) (CHIP) (also known as SCHIP) and XIX (Medicaid) of the Social<br>Security Act (SSA) in order to enroll all six million uninsured children who are eligible,<br>but not enrolled, for coverage today. Subtitle A: ..."],["To amend the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy<br>for Users to make technical corrections, and for other purposes.","HR3248","Amends the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy for<br>Users (SAFETEA-LU) to revise the item descriptions of specified high priority project<br>authorizations. Increases, decreases, or terminates certain project authorizations.<br>Authorizes funds for a transportation improvement project for reconstructing the I-95/S.R.<br>1 interchange in the state of Delaware, and adding a fifth lane. Revises the item<br>description of the Cuming Street transportation improvement proj..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2272) to<br>invest in innovation through research and development, and to improve the competitiveness<br>of the United States.","HRES602","Waives points of order against consideration of the conference report on H.R. 2272<br>(America COMPETES Act)."],["Providing for consideration of the bill (H.R. 3159) to mandate minimum periods of rest and<br>recuperation for units and members of the regular and reserve components of the Armed<br>Forces between deployments for Operation Iraqi Freedom or Operation Enduring Freedom.","HRES601","Sets forth the rule for consideration of H.R. 3159 (Ensuring Military Readiness Through<br>Stability and Predictability Deployment Policy Act of 2007)."],["To mandate minimum periods of rest and recuperation for units and members of the regular<br>and reserve components of the Armed Forces between deployments for Operation Iraqi Freedom<br>or Operation Enduring Freedom.","HR3159","Ensuring Military Readiness Through Stability and Predictability Deployment Policy Act of<br>2007 - Prohibits any unit of the regular Armed Forces from being deployed for Operation<br>Iraqi Freedom unless the period between the most recent previous deployment and a<br>subsequent deployment is equal to or longer than the period of the most recent previous<br>deployment. Expresses the sense of Congress that the optimal minimum period between such<br>deployments should be equal to or longer than twice the peri..."],["Providing for further consideration of the bill (H.R. 3161) making appropriations for<br>Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2008, and for other purposes.","HRES599","Sets forth the rule for consideration of the bill (H.R. 3161) making FY2008 appropriations<br>for agriculture, rural development, the Food and Drug Administration, and related agencies<br>programs."],["Providing for consideration of motions to suspend the rules.","HRES600","Makes it in order at any time through August 3, 2007, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules relating to the<br>following measures: (1) H.R. 3087 (redeployment of U.S. Armed Forces in Iraq); (2) a bill<br>to amend the Foreign Intelligence Surveillance Act of 1978 to establish a procedure for<br>authorizing certain electronic surveillance; and (3) a bill to authorize additional funds<br>for emergency repairs and reconstruction of the Interstat..."],["To authorize additional funds for emergency repairs and reconstruction of the Interstate<br>I-35 bridge located in Minneapolis, Minnesota, that collapsed on August 1, 2007, to waive<br>the $100,000,000 limitation on emergency relief funds for those emergency repairs and<br>reconstruction, and for other purposes.","HR3311","Authorizes the Secretary of Transportation to carry out a project for the repair and<br>reconstruction of the Interstate I-35 bridge located in Minneapolis, Minnesota, that<br>collapsed on August 1, 2007. Makes the federal share of the project cost 100%. Authorizes<br>appropriations. Waives, for such project, the $100 million per state single-failure (or,<br>single-disaster) highway-related total obligation limitation. Amends the Safe,<br>Accountable, Flexible, Efficient Transportation Equity Act: A Legacy ..."],["To amend the Foreign Intelligence Surveillance Act of 1978 to establish a procedure for<br>authorizing certain electronic surveillance.","HR3356","Improving Foreign Intelligence Surveillance to Defend the Nation and the Constitution Act<br>of 2007 - Amends the Foreign Intelligence Surveillance Act of 1978 (FISA) to provide that<br>a court order is not required for the acquisition of communication between non-U.S.<br>persons who are not located within the United States for collecting foreign intelligence<br>information, whether or not the communication passes through the United States or the<br>surveillance device is located within the United States. A..."],["Providing for consideration of the bill (H.R. 3221) moving the United States toward<br>greater energy independence and security, developing innovative new technologies, reducing<br>carbon emissions, creating green jobs, protecting consumers, increasing clean renewable<br>energy production, and modernizing our energy infrastructure, and for consideration of the<br>bill (H.R. 2776) to amend the Internal Revenue Code of 1986 to provide tax incentives for<br>the production of renewable energy and energy conservation.","HRES615","Sets forth the rule for consideration of: (1) H.R. 3221 (New Direction for Energy<br>Independence, National Security, and Consumer Protection Act); and (2) H.R. 2776<br>(Renewable Energy and Energy Conservation Tax Act of 2007)."],["Moving the United States toward greater energy independence and security, developing<br>innovative new technologies, reducing carbon emissions, creating green jobs, protecting<br>consumers, increasing clean renewable energy production, and modernizing our energy<br>infrastructure.","HR3221","Housing and Economic Recovery Act of 2008 - Division A: Housing Finance Reform - Federal<br>Housing Finance Regulatory Reform Act of 2008 - Title I: Reform of Regulation of<br>Enterprises - Subtitle A: Improvement of Safety and Soundness Supervision - (Sec. 1101)<br>Amends the Federal Housing Enterprises Financial Safety and Soundness Act of 1992 to<br>replace the Office of Federal Housing Enterprise Oversight of the Department of Housing<br>and Urban Development (HUD) with the Federal Housing Finance Agenc..."],["To amend the Internal Revenue Code of 1986 to provide tax incentives for the production of<br>renewable energy and energy conservation.","HR2776","Renewable Energy and Energy Conservation Tax Act of 2007 - Amends Internal Revenue Code<br>provisions relating to renewable energy sources and energy conservation. Title I:<br>Production Incentives - (Sec. 101) Extends through 2012 the tax credit for the production<br>of electricity from renewable resources (e.g., wind, closed and open-loop biomass,<br>geothermal energy, small irrigation power, municipal solid waste, and qualified<br>hydropower). Imposes a limit on such tax credit based upon investment in r..."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2008, and for other purposes.","HR3222","Division A: Department of Defense Appropriations Act, 2008 - Department of Defense - Title<br>I: Military Personnel - Appropriates funds for FY2008 for active-duty and reserve<br>personnel in the Army, Navy, Marine Corps, and Air Force, and for National Guard personnel<br>in the Army and Air Force. Title II: Operation and Maintenance - Appropriates funds for<br>FY2008 for operation and maintenance (O&amp;M) for the Army, Navy, Marine Corps, and Air<br>Force, the defense agencies, the reserve components, and..."],["To establish a digital and wireless network technology program, and for other purposes.","HR694","Minority Serving Institution Digital and Wireless Technology Opportunity Act of 2007 -<br>(Sec. 2) Amends the Stevenson-Wydler Technology Innovation Act of 1980 to direct the<br>Secretary of Commerce to establish a Minority Serving Institution Digital and Wireless<br>Technology Opportunity Program to assist eligible educational institutions in acquiring,<br>and augmenting use of, digital and wireless networking technologies to improve the quality<br>and delivery of educational services at such institutions...."],["Calling on the Government of the People's Republic of China to remove barriers to United<br>States financial services firms doing business in China.","HRES552","Declares the sense of the House of Representatives that: (1) the government of the<br>People's Republic of China should immediately implement all of its World Trade<br>Organization (WTO) commitments to date in financial services; and (2) it should<br>immediately implement all of its commitments to date made under the auspices of the<br>Strategic Economic Dialogue (SED) initiated by the Secretary of the Treasury. States that<br>U.S. goals for the next SED meeting should be to achieve Chinese commitments towa..."],["Extending the condolences and sympathy of the House of Representatives to the Government<br>and the people of Greece for the grave loss of life and vast destruction caused by the<br>devastating fires raging through Greece since June 2007.","HRES629","Extends condolences and sympathy to the government and the people of Greece for the grave<br>loss of life and vast destruction caused by the devastating fires raging through Greece.<br>Supports the Administration's initiatives to provide assistance and relief to the people<br>of Greece, including its pledge of $1.5 million in aid as well as expert and technical<br>assistance. Encourages public institutions, specialized agencies, as well as private<br>citizens, to offer their resources. Expresses confidence ..."],["Providing for consideration of the bill (H.R. 2786) to reauthorize the programs for<br>housing assistance for Native Americans.","HRES633","Sets forth the rule for consideration of H.R. 2786 (Native American Housing Assistance and<br>Self-Determination Reauthorization Act of 2007)."],["To reauthorize the programs for housing assistance for Native Americans.","HR2786","Native American Housing Assistance and Self-Determination Reauthorization Act of 2008 -<br>(Sec. 2) Amends the Native American Housing Assistance and Self-Determination Act of 1996<br>(NAHASDA) with respect to congressional findings to make mandatory the role of the federal<br>government in providing housing assistance to Native Americans and in promoting the<br>economic self-sufficiency and self-determination of Native Americans. (Sec. 3) Defines<br>\"housing related community development\" to mean any facil..."],["Providing for consideration of the bill (H.R. 1908) to amend title 35, United States Code,<br>to provide for patent reform.","HRES636","Sets forth the rule for consideration of H.R. 1908 (Patent Reform Act of 2007)."],["Providing for consideration of the conference report to accompany the bill (H.R. 2669) to<br>provide for reconciliation pursuant to section 601 of the concurrent resolution on the<br>budget for fiscal year 2008.","HRES637","Waives points of order against consideration of the conference report on H.R. 2669 (Higher<br>Education Access Act of 2007)."],["To amend title 35, United States Code, to provide for patent reform.","HR1908","Patent Reform Act of 2007 - Amends federal patent law to establish a first-inventor-to<br>file system and to add or revise provisions governing patent review proceedings and patent<br>infringement litigation.(Sec. 3) Adds and expands definitions relating to patents. Defines<br>\"inventor\" as the individual or individuals collectively who invented or discovered the<br>subject matter of the invention and \"joint inventor\" as any one of the individuals who<br>invented or discovered the subject matter of an inven..."],["Recognizing September 11 as a day of rememberance, extending sympathies to those who lost<br>their lives on September 11, 2001, and their families, honoring the heroic actions of our<br>nation's first responders and Armed Forces, and reaffirming the commitment to defending<br>the people of the United States against any and all future challenges.","HRES643","Recognizes September 11 as a day to remember those who died in the September 11, 2001,<br>terrorist attacks. Extends deepest sympathies to the innocent victims of those attacks and<br>honors the first responders and others who aided the victims.Expresses gratitude to the<br>foreign leaders and citizens who have assisted and who continue to stand in solidarity<br>with the United States against terrorism. Rejects any effort to confuse the war on<br>terrorism with a war on any people or any faith.Honors the U...."],["To amend title 40, United States Code, to provide a comprehensive regional approach to<br>economic and infrastructure development in the most severely economically distressed<br>regions in the Nation.","HR3246","Regional Economic and Infrastructure Development Act of 2007 - (Sec. 3) Establishes the<br>Delta Regional Commission, the Northern Great Plains Regional Commission, the Southeast<br>Crescent Regional Commission, the Southwest Border Regional Commission, and the Northern<br>Border Regional Commission.Directs each Commission, for its region, to: (1) assess needs<br>and assets; (2) develop comprehensive and coordinated economic infrastructure development<br>strategies to establish and approve grants for econom..."],["To extend for two months the authorities of the Overseas Private Investment Corporation.","HR3527","Amends the Foreign Assistance Act of 1961 to extend for two months, from September 30 to<br>November 30, 2007, the authorities of the Overseas Private Investment Corporation (OPIC)."],["Providing for consideration of the bill (H.R. 1852) to modernize and update the National<br>Housing Act and enable the Federal Housing Administration to use risk-based pricing to<br>more effectively reach underserved borrowers, and for other purposes.","HRES650","Sets forth the rule for consideration of H.R. 1852 (Expanding American Homeownership Act<br>of 2007)."],["To modernize and update the National Housing Act and enable the Federal Housing<br>Administration to use risk-based pricing to more effectively reach underserved borrowers,<br>and for other purposes.","HR1852","Expanding American Homeownership Act of 2007 - (Sec. 3) Amends the National Housing Act<br>(Act) to: (1) modify requirements governing the maximum principal loan obligation,<br>changing it to 125% of the median one-family house price in the area; and (2) extend the<br>mortgage term from 35 to 40 years. (Sec. 5) Revises eligibility criteria for cash down<br>payment for mortgage insurance. Alters the formula for determining the principal<br>obligation to set the loan-to-value (LTV) for a Federal Housing Admin..."],["Providing for consideration of the bill (H.R. 2761) to extend the Terrorism Insurance<br>Program of the Department of the Treasury, and for other purposes.","HRES660","Sets forth the rule for consideration of H.R. 2761 (Terrorism Risk Insurance Revision and<br>Extension Act of 2007)."],["To extend the Terrorism Insurance Program of the Department of the Treasury, and for other<br>purposes.","HR2761","Terrorism Risk Insurance Program Reauthorization Act of 2007 - (Sec. 2) Amends the<br>Terrorism Risk Insurance Act to redefine an act of terrorism to eliminate the requirement<br>that the individual or individuals committing a terrorist act be acting on behalf of any<br>foreign person or foreign interest. (Sec. 3) Extends the Terrorism Risk Insurance Program<br>through calendar 2014. (Sec. 4) States that no insurer may be required to make payment for<br>insured losses in excess of its statutory deductible c..."],["To amend the Federal Food, Drug, and Cosmetic Act to revise and extend the user-fee<br>programs for prescription drugs and for medical devices, to enhance the postmarket<br>authorities of the Food and Drug Administration with respect to the safety of drugs, and<br>for other purposes.","HR3580","Food and Drug Administration Amendments Act of 2007 - Title I: Prescription Drug User Fee<br>Amendments of 2007 - (Sec. 101) Prescription Drug User Fee Amendments of 2007 - (Sec. 102)<br>Amends the Federal Food, Drug, and Cosmetic Act (FFDCA) to include postmarket safety<br>activities within the process for the review of human drug applications or supplements,<br>including: (1) developing and using improved adverse event data collection systems and<br>improved analytical tools to assess potential safety pro..."],["Providing for consideration of the bill (H.R. 2881) to amend title 49, United States Code,<br>to authorize appropriations for the Federal Aviation Administration for fiscal years 2008<br>through 2011, to improve aviation safety and capacity, to provide stable funding for the<br>national aviation system, and for other purposes.","HRES664","Sets forth the rule for consideration of H.R. 2881 (FAA Reauthorization Act of 2007)."],["To amend title 49, United States Code, to authorize appropriations for the Federal<br>Aviation Administration for fiscal years 2008 through 2011, to improve aviation safety and<br>capacity, to provide stable funding for the national aviation system, and for other<br>purposes.","HR2881","FAA Reauthorization Act of 2007 - Title I: Authorizations - Subtitle A: Funding of FAA<br>Programs - (Sec. 101) Reauthorizes appropriations for FY2008-FY2011 for: (1) airport<br>planning and development and noise compatibility planning programs; (2) air navigation<br>facilities and equipment; (3) Federal Aviation Administration (FAA) operations; and (4)<br>FAA research, engineering, and development. Authorizes additional authorizations of<br>appropriations from the general fund of the Treasury for aviation ..."],["Recognizing all hunters across the United States for their continued commitment to safety.","HCONRES193","Recognizes all hunters for their continued commitment to safety."],["Recognizing the 50th anniversary of the September 25, 1957, desegregation of Little Rock<br>Central High School by the Little Rock Nine.","HRES668","Acknowledges and commemorates the 50th anniversary of the desegregation of Little Rock<br>Central High School by the Little Rock Nine. Encourages all Americans, upon this 50th<br>anniversary, to recognize the historic contributions of the Little Rock Nine, who not only<br>secured integration for Little Rock Central High School, but hundreds of thousands of<br>schools across the country. Commits the House of Representatives, in the wake of recent<br>challenges, to continuing the legacy of Brown v. Board of E..."],["To extend the grant program for drug-endangered children.","HR1199","Drug Endangered Children Act of 2007- Amends the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 to extend the grant program for drug-endangered children<br>through FY2009. Authorizes appropriations for FY2008-FY2009."],["To enhance United States diplomatic efforts with respect to Iran by imposing additional<br>economic sanctions against Iran, and for other purposes.","HR1400","Iran Counter-Proliferation Act of 2007 - Title I: Support for Diplomatic Efforts Relating<br>to Preventing Iran from Acquiring Nuclear Weapons - (Sec. 101) Expresses the sense of<br>Congress that: (1) the United States should use diplomatic and economic means to resolve<br>the Iranian nuclear problem; (2) the United States should continue to support efforts in<br>the International Atomic Energy Agency (IAEA) and the U.N. Security Council to end Iran's<br>uranium enrichment and nuclear weapons programs; (3) ..."],["Supporting the goals and ideals of Sickle Cell Disease Awareness Month.","HCONRES210","Expresses support for the goals and ideals of Sickle Cell Disease Awareness Month."],["Expressing the ongoing concern of the House of Representatives for Lebanon's democratic<br>institutions and unwavering support for the administration of justice upon those<br>responsible for the assassination of Lebanese public figures opposing Syrian control of<br>Lebanon.","HRES548","Condemns: (1) the attempts by Hezbollah and other pro-Syrian groups to undermine the<br>democratically-elected and legitimate government of Lebanon by extra-legal means; and (2)<br>the campaign of assassinations targeting members of parliament and public figures opposed<br>to Syrian interference in Lebanon, and bombings in civilian areas intended to intimidate<br>the Lebanese people. Calls on the Lebanese parliament to elect a new President in<br>accordance with Lebanon's constitution. Declares that the ass..."],["Expressing sympathy to and support for the people and governments of the countries of<br>Central America, the Caribbean, and Mexico which have suffered from Hurricanes Felix,<br>Dean, and Henriette and whose complete economic and fatality toll are still unknown.","HRES642","Expresses sympathy to and support for the people and governments of the countries of<br>Central America, the Caribbean, and Mexico in this time of devastation caused by<br>Hurricanes Felix, Dean, and Henriette. Vows continued friendship and support for our<br>neighbors in Central America, the Caribbean, and Mexico. Recognizes the assistance efforts<br>of the U.S. government, relief organizations, and the international community. Encourages<br>public institutions, specialized agencies, as well as private cit..."],["Providing for the consideration of the Senate amendments to the bill (H.R. 976) to amend<br>the Internal Revenue Code of 1986 to provide tax relief for small businesses, and for<br>other purposes.","HRES675","Sets forth a rule for the consideration of H.R. 976 (Children's Health Insurance Program<br>Reauthorization Act of 2007)."],["Expressing the sense of the House of Representatives supporting the goals and ideals of<br>Campus Fire Safety Month, and for other purposes.","HRES95","Supports the goals and ideals of Campus Fire Safety Month. Encourages administrators and<br>municipalities across the country to: (1) provide educational programs to all students<br>during September and throughout the school year; (2) evaluate the level of fire safety<br>being provided in both on- and off-campus student housing; and (3) take the necessary<br>steps to ensure fire-safe living environments through fire safety education, installation<br>of fire suppression and detection systems, and the develop..."],["Providing for consideration of the joint resolution (H.J. Res. 52) making continuing<br>appropriations for the fiscal year 2008, and for other purposes.","HRES677","Sets forth the rule for consideration of H.J.Res. 52 (FY2008 Continuing Resolution)."],["Providing for consideration of the bill (H.R. 2693) to direct the Occupational Safety and<br>Health Administration to issue a standard regulating worker exposure to diacetyl.","HRES678","Sets forth the rule for consideration of H.R. 2693 (Popcorn Workers Lung Disease<br>Prevention Act)."],["Making continuing appropriations for the fiscal year 2008, and for other purposes.","HJRES52","Makes continuing appropriations for FY2008. (Sec. 101) Appropriates amounts for continuing<br>operations, projects, or activities which were conducted in FY2007 and for which<br>appropriations, funds, or other authority were made available in: (1) the Department of<br>Defense Appropriations Act, 2007 (division A of Public Law 109-289); (2) the Department of<br>Homeland Security Appropriations Act, 2007 (Public Law 109-295); and (3) the Continuing<br>Appropriations Resolution, 2007 (division B of Public Law ..."],["To direct the Occupational Safety and Health Administration to issue a standard regulating<br>worker exposure to diacetyl.","HR2693","Popcorn Workers Lung Disease Prevention Act - Directs the Secretary of Labor to<br>promulgate: (1) within 90 days, an interim final standard regulating worker exposure to<br>diacetyl that applies to all locations in the flavoring manufacturing industry that<br>manufacture, use, handle, or process diacetyl and all microwave popcorn production and<br>packaging establishments that use diacetyl-containing flavors; and (2) within two years,<br>if diacetyl is still being processed or utilized in facilities, a fin..."],["Providing for consideration of the bill (H.R. 3567) to amend the Small Business Investment<br>Act of 1958 to expand opportunities for investments in small businesses, and for other<br>purposes.","HRES682","Sets forth the rule for consideration of H.R. 3567 (Small Business Investment Expansion<br>Act of 2007)."],["Providing for consideration of the bill (H.R. 3121) to restore the financial solvency of<br>the national flood insurance program and to provide for such program to make available<br>multiperil coverage for damage resulting from windstorms and floods, and for other<br>purposes.","HRES683","Sets forth the rule for consideration of H.R. 3121 (Flood Insurance Reform and<br>Modernization Act of 2007)."],["To restore the financial solvency of the national flood insurance program and to provide<br>for such program to make available multiperil coverage for damage resulting from<br>windstorms and floods, and for other purposes.","HR3121","Title I: Flood Insurance Reform and Modernization - Flood Insurance Reform and<br>Modernization Act of 2008 - (Sec. 104) Amends the National Flood Insurance Act of 1968<br>(Act) to extend the national flood insurance program (Program) though FY2013. (Sec. 105)<br>Requires the Director of the Federal Emergency Management Agency (FEMA) to make national<br>flood insurance available for multifamily properties of more than four units to a maximum<br>coverage equal to the coverage amount made available to commerc..."],["To amend the Small Business Investment Act of 1958 to expand opportunities for investments<br>in small businesses, and for other purposes.","HR3567","Small Business Investment Expansion Act of 2007 - Title I: Small Business Investment<br>Company Program - (Sec. 101) Amends the Small Business Investment Act of 1958 to increase<br>the maximum amounts of outstanding leverage made available by the Small Business<br>Administration (SBA) to: (1) any one small business investment company (SBIC) which<br>provides loans to small businesses; and (2) two or more SBICs that are commonly<br>controlled. (Sec. 102) Increases the total amount of debentures and participa..."],["Commending the 1st Brigade Combat Team/34th Infantry Division of the Minnesota National<br>Guard upon its completion of the longest continuous deployment of any United States<br>military unit during Operation Iraqi Freedom.","HCONRES185","Commends the 1st Brigade Combat Team/34th Infantry Division of the Minnesota National<br>Guard upon its completion of the longest continuous deployment of any ground combat U.S.<br>military unit during Operation Iraqi Freedom. Recognizes the achievements of its members<br>and their exemplary service to the United States."],["To designate the facility of the United States Postal Service located at 203 North Main<br>Street in Vassar, Michigan, as the \"Corporal Christopher E. Esckelson Post Office<br>Building\".","HR2276","Designates the facility of the United States Postal Service located at 203 North Main<br>Street in Vassar, Michigan, as the \"Corporal Christopher E. Esckelson Post Office<br>Building.\""],["To designate the facility of the United States Postal Service located at 235 Mountain Road<br>in Suffield, Connecticut, as the \"Corporal Stephen R. Bixler Post Office\".","HR3325","Designates the facility of the United States Postal Service located at 235 Mountain Road<br>in Suffield, Connecticut, as the \"Corporal Stephen R. Bixler Post Office.\""],["To require the President, in coordination with the Secretary of State, the Secretary of<br>Defense, the Joint Chiefs of Staff, and other senior military leaders, to develop and<br>transmit to Congress a comprehensive strategy for the redeployment of United States Armed<br>Forces in Iraq.","HR3087","Expresses the sense of Congress that: (1) nothing in this Act shall be construed as a<br>recommendation by Congress that any particular contingency plan be exercised; (2) it is<br>necessary and prudent for the Department of Defense (DOD) to undertake robust and<br>comprehensive contingency planning; (3) contingency planning for a redeployment of Armed<br>Forces from Iraq should address appropriate protection for U.S. Armed Forces, civilians,<br>contractors, and third party and Iraqi nationals who have aided..."],["Recognizing the commencement of Ramadan, the Islamic holy month of fasting and spiritual<br>renewal, and commending Muslims in the United States and throughout the world for their<br>faith.","HRES635","Recognizes the Islamic faith as one of the great world religions. Acknowledges the onset<br>of Ramadan and expresses deepest respect to Muslims in the United States and throughout<br>the world on this significant occasion. Expresses friendship and support for Muslims in<br>the United States and worldwide. Rejects hatred, bigotry, and violence directed against<br>Muslims both in the United States and worldwide. Commends Muslims in the United States and<br>across the globe who have privately and publicly reje..."],["To provide compensation to relatives of United States citizens who were killed as a result<br>of the bombings of United States Embassies in East Africa on August 7, 1998.","HR2828","Foreign Service Victims of Terrorism Act of 2007 - Amends the Foreign Service Act of 1980<br>to provide a death gratuity for foreign national employees, foreign nationals appointees,<br>and locally employed staff who die as a result of injuries suffered abroad in an amount<br>equal to one year's basic salary at the highest step of the highest grade on the local<br>compensation plan of the country in which the foreign staffer was being paid. Authorizes<br>the Secretary of State or the head of a relevant agen..."],["Providing for consideration of the bill (H.R. 928) to amend the Inspector General Act of<br>1978 to enhance the independence of the Inspectors General, to create a Council of the<br>Inspectors General on Integrity and Efficiency, and for other purposes.","HRES701","Sets forth the rule for consideration of H.R. 928 (Improving Government Accountability<br>Act)."],["Providing for consideration of the bill (H.R. 2740) to require accountability for<br>contractors and contract personnel under Federal contracts, and for other purposes.","HRES702","Sets forth the rule for consideration of H.R. 2740 (MEJA Expansion and Enforcement Act of<br>2007)."],["To amend the Inspector General Act of 1978 to enhance the independence of the Inspectors<br>General, to create a Council of the Inspectors General on Integrity and Efficiency, and<br>for other purposes.","HR928","Inspector General Reform Act of 2008 - (Sec. 2) Amends the Inspector General Act of 1978<br>to require Inspectors General (IGs) for designated federal entities to be appointed<br>without regard to political affiliation and solely on the basis of integrity and<br>demonstrated ability in accounting, auditing, financial analysis, law, management<br>analysis, public administration, or investigations.(Sec. 3) Requires the President and the<br>heads of designated federal entities to communicate to Congress in wri..."],["To require accountability for contractors and contract personnel under Federal contracts,<br>and for other purposes.","HR2740","MEJA Expansion and Enforcement Act of 2007 - Provides that persons who, while employed<br>under a federal agency contract in, or in close proximity to, an area where the Armed<br>Forces are conducting a contingency operation, engage in conduct that would constitute an<br>offense punishable by imprisonment for more than one year if engaged in within U.S.<br>jurisdiction, shall be punished as provided for that offense.Requires the Inspector<br>General of the Department of Justice (DOJ) to report to Congress o..."],["Providing for consideration of the bill (H.R. 3246) to amend title 40, United States Code,<br>to provide a comprehensive regional approach to economic and infrastructure development in<br>the most severely economically distressed regions in the Nation.","HRES704","Sets forth the rule for consideration of H.R. 3246 (Regional Economic and Infrastructure<br>Development Act of 2007)."],["Providing for consideration of the bill (H.R. 3648) to amend the Internal Revenue Code of<br>1986 to exclude discharges of indebtedness on principal residences from gross income, and<br>for other purposes.","HRES703","Sets forth the rule for consideration of H.R. 3648 (Mortgage Forgiveness Debt Relief Act<br>of 2007)."],["To amend the Internal Revenue Code of 1986 to exclude discharges of indebtedness on<br>principal residences from gross income, and for other purposes.","HR3648","Mortgage Forgiveness Debt Relief Act of 2007 - Amends the Internal Revenue Code to exclude<br>from gross income amounts attributable to a discharge, prior to January 1, 2010, of<br>indebtedness incurred to acquire a principal residence. Limits to $2 million the<br>excludable amount of such indebtedness. Reduces the basis of a principal residence by the<br>amount of discharged indebtedness excluded from gross income. Disallows an exclusion for a<br>discharge of indebtedness on account of services performed f..."],["Denouncing the practices of female genital mutilation, domestic violence, \"honor\"<br>killings, acid burning, dowry deaths, and other gender-based persecutions and expressing<br>the sense of the House of Representatives that participation, protection, recognition, and<br>independence of women is crucial to achieving a just, moral, and honorable society.","HRES32","Denounces and demands the cessation of the practices of female genital mutilation,<br>domestic violence, honor killings, acid burning, dowry deaths, and other gender-based<br>persecutions and crimes. Asserts that women are not chattel, should not be trafficked,<br>exploited, or sold for services, and should not be denied the right to education, to<br>ownership of property, or to participate in full, economic, social and political life.<br>Demands the cessation of these barbaric practices and the dismantling..."],["To prohibit profiteering and fraud relating to military action, relief, and reconstruction<br>efforts, and for other purposes.","HR400","War Profiteering Prevention Act of 2007 - Amends the federal criminal code to prohibit<br>profiteering and fraud involving a contract or the provision of goods or services in<br>connection with a mission of the U.S. Government overseas. Imposes: (1) a fine of not more<br>than $1 million and/or a prison term of up to 20 years for knowingly defrauding the United<br>States or a provisional authority in connection with such a mission or for materially<br>overvaluing any goods or services with the intent to defr..."],["Providing for consideration of the bill (H.R. 2895) to establish the National Affordable<br>Housing Trust Fund in the Treasury of the United States to provide for the construction,<br>rehabilitation, and preservation of decent, safe, and affordable housing for low-income<br>families.","HRES720","Sets forth the rule for consideration of H.R. 2895 (National Affordable Housing Trust Fund<br>Act of 2007)."],["Providing for consideration of the bill (H.R. 3056) to amend the Internal Revenue Code of<br>1986 to repeal the authority of the Internal Revenue Service to use private debt<br>collection companies, to delay implementation of withholding taxes on government<br>contractors, to revise the tax rules on expatriation, and for other purposes.","HRES719","Sets forth the rule for consideration of H.R. 3056 (Tax Collection Responsibility Act of<br>2007)."],["To establish the National Affordable Housing Trust Fund in the Treasury of the United<br>States to provide for the construction, rehabilitation, and preservation of decent, safe,<br>and affordable housing for low-income families.","HR2895","National Affordable Housing Trust Fund Act of 2007 - Amends the Cranston-Gonzalez National<br>Affordable Housing Act to establish in the Treasury the National Affordable Housing Trust<br>Fund (Fund). Declares that: (1) the Fund shall consist of certain amounts of the Federal<br>National Mortgage Association and the Federal Home Loan Mortgage Corporation transferred<br>to the Fund under specified law, including Federal Housing Administration (FHA) savings;<br>and (2) all assistance provided from the Fund sha..."],["To amend the Internal Revenue Code of 1986 to repeal the authority of the Internal Revenue<br>Service to use private debt collection companies, to delay implementation of withholding<br>taxes on government contractors, to revise the tax rules on expatriation, and for other<br>purposes.","HR3056","Tax Collection Responsibility Act of 2007 - (Sec. 2) Repeals the authority of the Internal<br>Revenue Service (IRS) to enter into private debt collection contracts. Exempts contracts<br>entered into before July 18, 2007, if such contracts are not renewed or extended after<br>such date. Nullifies any contract entered into, extended, or renewed on or after July 18,<br>2007.(Sec. 3) Delays until 2012 the requirement for federal, state, and local agencies to<br>withhold 3% of payments for goods and services pro..."],["Expressing the sense of the House of Representatives regarding the Government of Syria's<br>continued interference in the internal affairs of Lebanon.","HRES738","Condemns the campaign of murder, terror, and intimidation aimed at overthrowing Lebanon's<br>democratically-elected government and establishing a new Lebanese government subservient<br>to Syria and Iran. Condemns Syria and Iran for their gross interference in Lebanon's<br>internal political affairs and gross violations of U.N. Security Council resolutions<br>protective of Lebanon's sovereignty and independence. Condemns Lebanese political parties<br>and actors who have allied themselves with Syria and Iran ..."],["To designate the facility of the United States Postal Service located at 701 Loyola Avenue<br>in New Orleans, Louisiana, as the \"Louisiana Armed Services Veterans Post Office\".","HR2089","Designates the facility of the United States Postal Service located at 701 Loyola Avenue<br>in New Orleans, Louisiana, as the \"Louisiana Armed Services Veterans Post Office.\""],["To provide for research on, and services for individuals with, postpartum depression and<br>psychosis.","HR20","Melanie Blocker-Stokes Postpartum Depression Research and Care Act - Title I: Research on<br>Postpartum Depression and Psychosis - (Sec. 101) Encourages the Secretary of Health and<br>Human Services, acting through the Director of the National Institutes of Health (NIH) and<br>the Director of the National Institute of Mental Health (NIMH), to continue aggressive<br>work on postpartum depression and other postpartum psychosis. Encourages the Director of<br>NIMH to continue research to expand the understandin..."],["Providing for consideration of the resolution (H. Res. 734) expressing the sense of the<br>House of Representatives regarding the withholding of information relating to corruption<br>in Iraq.","HRES741","Sets forth the rule for consideration of H.Res. 734 (expressing the sense of the House<br>regarding the withholding of information relating to corruption in Iraq)."],["Providing for consideration of the bill (H.R. 2102) to maintain the free flow of<br>information to the public by providing conditions for the federally compelled disclosure<br>of information by certain persons connected with the news media.","HRES742","Sets forth the rule for consideration of H.R. 2102 (Free Flow of Information Act of 2007)."],["To amend the Internet Tax Freedom Act to extend the moratorium on certain taxes relating<br>to the Internet and to electronic commerce.","HR3678","Internet Tax Freedom Act Amendments Act of 2007 - Amends the Internet Tax Freedom Act to<br>extend until November 1, 2014, the moratorium on state and local taxation of Internet<br>access and electronic commerce (moratorium) and the exemption from such moratorium for<br>states with previously enacted Internet tax laws (grandfathering provisions). Redefines,<br>effective November 1, 2003, \"Internet access\" to prevent certain states from claiming an<br>expanded exemption under the Internet Tax Nondiscriminati..."],["Expressing the sense of the House of Representatives regarding the withholding of<br>information relating to corruption in Iraq.","HRES734","Expresses the sense of the House of Representatives that: (1) as Congress considers the<br>President's request for over $150 billion more for the war in Iraq it is essential that<br>Congress and the people of the United States know the extent of corruption in the Iraqi<br>government and whether corruption is fueling the insurgency; (2) it was wrong to<br>retroactively classify portions of the report titled \"Stabilizing and Rebuilding Iraq:<br>U.S. Ministry Capacity Development Efforts Need an Overall Integr..."],["To amend the Public Health Service Act to provide for the establishment of an Amyotrophic<br>Lateral Sclerosis Registry.","HR2295","ALS Registry Act - Amends the Public Health Service Act to require the Secretary of Health<br>and Human Services, acting through the Director of the Centers for Disease Control and<br>Prevention (CDC), to: (1) develop a system to collect data on amyotrophic lateral<br>sclerosis (ALS) and other motor neuron disorders that can be confused with ALS,<br>misdiagnosed as ALS, or progress to ALS; and (2) establish a national registry for the<br>collection and storage of such data. Requires the Secretary, acting th..."],["To maintain the free flow of information to the public by providing conditions for the<br>federally compelled disclosure of information by certain persons connected with the news<br>media.","HR2102","Free Flow of Information Act of 2007 - (Sec. 2) Prohibits a federal entity (an entity or<br>employee of the judicial or executive branch or an administrative agency of the federal<br>government), in any matter arising under federal law, from compelling a covered person to<br>testify or produce any document unless a court makes specified determinations by a<br>preponderance of the evidence, including determinations: (1) relating to exhaustion of<br>alternative sources, (2) that the testimony or document soug..."],["Providing for consideration of the bill (H.R. 3773) to amend the Foreign Intelligence<br>Surveillance Act of 1978 to establish a procedure for authorizing certain acquisitions of<br>foreign intelligence, and for other purposes.","HRES746","Sets forth the rule for consideration of H.R. 3773 (Responsible Electronic Surveillance<br>That is Overseen, Reviewed, and Effective Act of 2007, or RESTORE Act of 2007)."],["Providing for consideration of the bill (H.R. 2095) to amend title 49, United States Code,<br>to prevent railroad fatalities, injuries, and hazardous materials releases, to authorize<br>the Federal Railroad Safety Administration, and for other purposes.","HRES724","Sets forth the rule for consideration of H.R. 2095 (Federal Railroad Safety Improvement<br>Act of 2007)."],["To amend title 49, United States Code, to prevent railroad fatalities, injuries, and<br>hazardous materials releases, to authorize the Federal Railroad Safety Administration, and<br>for other purposes.","HR2095","Division A: Rail Safety - Rail Safety Improvement Act of 2008 - (Sec. 3) Authorizes<br>appropriations for FY2009-FY2013 for: (1) railroad safety; (2) the purchase of Gage<br>Restraint Measurement System vehicles and track geometry vehicles or other comparable<br>technology to assess track safety; and (3) construction of the Facility for Underground<br>Rail Station and Tunnel at the Transportation Technology Center, Inc., in Pueblo,<br>Colorado. Title I: Railroad Safety Improvements - (Sec. 101) Requires the..."],["To establish the Paterson Great Falls National Park in the State of New Jersey.","HR189","Paterson Great Falls National Historical Park Act of 2008 - Establishes the Paterson Great<br>Falls National Historical Park in New Jersey as a unit of the National Park System. Sets<br>forth conditions concerning the establishment of the Park.Specifies the boundaries of the<br>Park. Sets forth provisions regarding the administration of the Park. Requires the<br>Secretary of the Interior to complete a management plan for the Park. Establishes the<br>Paterson Great Falls National Historical Park Advisory Com..."],["Supporting the goals of National Bullying Prevention Awareness Week.","HRES762","Recognizes that bullying of school-aged children is a national concern and unhealthy for<br>our families and communities. Commends national and community organizations, schools,<br>parents, recreation programs, and religious institutions for promoting greater public<br>awareness about bullying and bullying prevention activities. Supports the goals of<br>National Bullying Prevention Awareness Week."],["Providing for consideration of the bill (H.R. 1011) to designate additional National<br>Forest System lands in the State of Virginia as wilderness or a wilderness study area, to<br>designate the Kimberling Creek Potential Wilderness Area for eventual incorporation in the<br>Kimberling Creek Wilderness, to establish the Seng Mountain and Bear Creek Scenic Areas,<br>to provide for the development of trail plans for the wilderness areas and scenic areas,<br>and for other purposes.","HRES763","Sets forth the rule for consideration of H.R. 1011 (Virginia Ridge and Valley Act of<br>2007)."],["Providing for consideration of the bill (H.R. 1483) to amend the Omnibus Parks and Public<br>Lands Management Act of 1996 to extend the authorization for certain national heritage<br>areas, and for other purposes.","HRES765","Sets forth the rule for consideration of H.R. 1483 (extending the authorization for<br>certain national heritage areas)."],["To prevent homegrown terrorism, and for other purposes.","HR1955","Violent Radicalization and Homegrown Terrorism Prevention Act of 2007 - Amends the<br>Homeland Security Act of 2002 to add a new section concerning the prevention of violent<br>radicalization (an extremist belief system for facilitating ideologically based violence<br>to advance political, religious, or social change) and homegrown terrorism (violence by a<br>group or individual within the United States to coerce the U.S. government, the civilian<br>population, or a segment thereof in furtherance of politic..."],["To designate additional National Forest System lands in the State of Virginia as<br>wilderness or a wilderness study area, to designate the Kimberling Creek Potential<br>Wilderness Area for eventual incorporation in the Kimberling Creek Wilderness, to<br>establish the Seng Mountain and Bear Creek Scenic Areas, to provide for the development of<br>trail plans for the wilderness areas and scenic areas, and for other purposes.","HR1011","Virginia Ridge and Valley Act of 2007 - Designates certain lands in the Jefferson National<br>Forest, Virginia (Brush Mountain and Brush Mountain East, Seng Mountain and Raccoon<br>Branch, Stone Mountain, Hunting Camp Creek and Garden Mountain, Mountain Lake Additions,<br>Lewis Fork Addition and Little Wilson Creek Additions, Shawvers Run Additions, Peters<br>Mountain Addition, and Kimberling Creek Additions) as wilderness. Designates certain lands<br>in the Jefferson National Forest as: (1) the \"Lynn Camp ..."],["Providing for consideration of the bill (H.R. 505) to express the policy of the United<br>States regarding the United States relationship with Native Hawaiians and to provide a<br>process for the recognition by the United States of the Native Hawaiian governing entity.","HRES764","Sets forth the rule for consideration of H.R. 505 (Native Hawaiian Government<br>Reorganization Act of 2007)."],["To express the policy of the United States regarding the United States relationship with<br>Native Hawaiians and to provide a process for the recognition by the United States of the<br>Native Hawaiian governing entity.","HR505","Native Hawaiian Government Reorganization Act of 2007 - (Sec. 4) Reaffirms that: (1) the<br>United States has a special political and legal relationship with Native Hawaiians; and<br>(2) Native Hawaiians have the right to autonomy in their internal affairs, to self-<br>determination and self-governance, to reorganize a Native Hawaiian governing entity, and<br>to become economically self-sufficient.(Sec. 5) Establishes the U.S. Office for Native<br>Hawaiian Relations within the Office of the Secretary of the ..."],["Providing for consideration of the bill (H.R. 3963) to amend title XXI of the Social<br>Security Act to extend and improve the Children's Health Insurance Program, and for other<br>purposes.","HRES774","Sets forth the rule for consideration of H.R. 3963 (Children's Health Insurance Program<br>Reauthorization Act of 2007)."],["To amend title XXI of the Social Security Act to extend and improve the Children's Health<br>Insurance Program, and for other purposes.","HR3963","Children's Health Insurance Program Reauthorization Act of 2007 - Makes the amendments<br>made by this Act effective on October 1, 2007, regardless of whether final regulations<br>have been promulgated to carry them out. Allows certain state plans under titles XIX<br>(Medicaid) or XXI (State Children's Health Insurance Program) (CHIP) (also known as SCHIP)<br>of the Social Security Act (SSA) that require state legislation to meet additional<br>requirements imposed by this Act additional time to make require..."],["To amend the National Dam Safety Program Act to establish a program to provide grant<br>assistance to States for the rehabilitation and repair of deficient dams.","HR3224","Dam Rehabilitation and Repair Act of 2007 - Amends the National Dam Safety Program Act to<br>require the Federal Emergency Management Agency (FEMA) to establish a program to provide<br>grant assistance to states for use in rehabilitating publicly-owned dams that fail to meet<br>minimum safety standards and pose an unacceptable risk to the public (deficient dams).Sets<br>forth provisions regarding procedures for grant awards and fund allocation. Requires: (1)<br>states receiving grants under this Act to comp..."],["Recognizing and commending the efforts of the United States public and advocacy groups to<br>raise awareness about and help end the worsening humanitarian crisis and genocide in<br>Darfur, Sudan, and for other purposes.","HRES573","Commends the efforts of the U.S. public and advocacy groups to raise awareness about and<br>help end the worsening humanitarian crisis and genocide in Darfur, Sudan. Supports the<br>efforts of the various local schools, communities, and faith-based, human rights,<br>humanitarian, and youth-led advocacy organizations that have dedicated their time and<br>energy to help end the Darfur genocide and to promote peace, defend human rights, and<br>improve the lives of those affected in Sudan and Chad. Urges the Un..."],["Providing for consideration of the bill (H.R. 3867) to update and expand the procurement<br>programs of the Small Business Administration, and for other purposes.","HRES773","Sets forth the rule for consideration of H.R. 3867 (Small Business Contracting Program<br>Improvements Act)."],["To update and expand the procurement programs of the Small Business Administration, and<br>for other purposes.","HR3867","Small Business Contracting Program Improvements Act - Title I: Ensuring Government<br>Contract Opportunities for Small Business Concerns Owned and Controlled by Service-<br>Disabled Veterans - (Sec. 101) Amends the Small Business Act to: (1) permit agencies to<br>enter into contracts with a small business owned and controlled by a service-disabled<br>veteran without first ensuring that there is only one company can perform a contract; and<br>(2) allow contracting officers to decide whether or not to set asid..."],["To designate the facility of the United States Postal Service located at 570 Broadway in<br>Bayonne, New Jersey, as the \"Dennis P. Collins Post Office Building\".","HR3307","Designates the facility of the United States Postal Service located at 570 Broadway in<br>Bayonne, New Jersey, as the \"Dennis P. Collins Post Office Building.\""],["Honoring the first responders and supporting the victims of the Southern California<br>wildfires.","HRES778","Honors the heroic service, actions, and sacrifices of those who responded to the October<br>21, 2007, outbreak of wildfires in southern California.Expresses support to the state of<br>California and a commitment to the residents as they rebuild."],["Providing for consideration of the bill (H.R. 3920) to amend the Trade Act of 1974 to<br>reauthorize trade adjustment assistance, to extend trade adjustment assistance to service<br>workers and firms, and for other purposes.","HRES781","Sets forth the rule for consideration of H.R. 3920 (Trade and Globalization Act of 2007)."],["To amend the Trade Act of 1974 to reauthorize trade adjustment assistance, to extend trade<br>adjustment assistance to service workers and firms, and for other purposes.","HR3920","Trade and Globalization Assistance Act of 2007 - Title I: Trade Adjustment Assistance for<br>Workers - Subtitle A: Trade Adjustment Assistance for Service Sector Workers; Expansion of<br>Covered Shifts in Production; Expansion of Downstream Secondary Worker Eligibility - (Sec.<br>101) Amends the Trade Act of 1974 (the Act) to allow the filing of a petition with the<br>Secretary of Labor for certification of eligibility to apply for trade adjustment<br>assistance (TAA) by adversely affected workers in a serv..."],["Providing for the consideration of the bill (H.R. 2262) to modify the requirements<br>applicable to locatable minerals on public domain lands, consistent with the principles of<br>self-initiation of mining claims, and for other purposes.","HRES780","Sets forth the rule for consideration of H.R. 2262 (Hardrock Mining and Reclamation Act of<br>2007)."],["To modify the requirements applicable to locatable minerals on public domain lands,<br>consistent with the principles of self-initiation of mining claims, and for other<br>purposes.","HR2262","Hardrock Mining and Reclamation Act of 2007 - (Sec. 3) States this Act applies to any<br>mining claim, millsite claim, or tunnel site claim: (1) located under the general mining<br>laws before, on, or after the date of enactment of this Act; or (2) used for beneficiation<br>or mineral processing activities, regardless of whether legal and beneficial title to the<br>mineral is held by the United States. Title I: Mineral Exploration and Development - (Sec.<br>101) Conditions federal issuance of a patent for a..."],["To amend the Servicemembers Civil Relief Act to enhance the protection of credit ratings<br>of active duty military personnel who are activated for military service.","HR513","National Heroes Credit Protection Act - Amends the Soldiers' and Sailors' Civil Relief Act<br>of 1940 to authorize a member of the reserves who is deployed outside the United States<br>for 180 days or more in support of a contingency operation (servicemember) to request that<br>a consumer reporting agency (CRA) include in that servicemember's file a military service<br>deployment explanation (explanation) with respect to an account that was opened by the<br>servicemember before such deployment. Requires: (1..."],["Impeaching Richard B. Cheney, Vice President of the United States, of high crimes and<br>misdemeanors.","HRES799","Impeaches Richard B. Cheney, Vice President of the United States, for high crimes and<br>misdemeanors.Sets forth articles of impeachment stating that Vice President Cheney: (1)<br>has purposely manipulated the intelligence process to deceive the citizens and Congress of<br>the United States about a threat of Iraqi weapons of mass destruction, and about an<br>alleged relationship between Iraq and al Qaeda, to justify the use of the U.S. Armed<br>Forces against Iraq in a manner damaging to U.S. national secur..."],["Expressing the sense of Congress that Congress and the President should increase basic pay<br>for members of the Armed Forces.","HCONRES162","Expresses the sense of Congress that Congress and the President should: (1) increase basic<br>pay for members of all military components and the Coast Guard by 3.5%, effective January<br>1, 2008; and (2) increase basic pay for all such components during FY2009-FY2012 by at<br>least one-half of 1% more than the raise calculated under the Employment Cost Index."],["To amend the Internal Revenue Code of 1986 to provide earnings assistance and tax relief<br>to members of the uniformed services, volunteer firefighters, and Peace Corps volunteers,<br>and for other purposes.","HR3997","Defenders of Freedom Tax Relief Act of 2007 - Amends the Internal Revenue Code to provide<br>tax relief and earnings assistance to members of the uniformed services, increase<br>penalties for noncompliance with tax requirements, and make technical amendments and<br>clerical corrections.Title I: Benefits for Military - (Sec. 101) Makes permanent the<br>taxpayer election to include combat zone compensation as earned income for purposes of<br>computing the earned income tax credit. (Sec. 102) Makes permanent t..."],["To establish a National Commission on Children and Disasters, a National Resource Center<br>on Children and Disasters, and for other purposes.","HR3495","Kids in Disasters Well-being, Safety, and Health Act of 2007 - Establishes the National<br>Commission on Children and Disasters, which shall: (1) conduct a comprehensive study that<br>assesses childrens' needs as they relate to preparation for, response to, and recovery<br>from all hazards, including major disasters and emergencies; (2) identify, review, and<br>evaluate existing law relevant to such needs; (3) identify, review, and evaluate the<br>lessons learned from past disasters relative to addressing s..."],["Providing for consideration of the conference report to accompany the bill (H.R. 3043)<br>making appropriations for the Departments of Labor, Health and Human Services, and<br>Education, and related agencies for the fiscal year ending September 30, 2008, and for<br>other purposes.","HRES794","Waives points of order against consideration of the conference report on H.R. 3043<br>(Departments of Labor, Health and Human Services, and Education, and Related Agencies<br>Appropriations Act, 2008). Makes a motion to proceed to consideration of H.R. 3688 (United<br>States-Peru Trade Promotion Agreement Implementation Act) in order only if offered by the<br>Majority Leader or his designee."],["Providing for consideration of the bill (H.R. 3685) to prohibit employment discrimination<br>on the basis of sexual orientation.","HRES793","Sets forth the rule for the consideration of H.R. 3685 (Employment Non-Discrimination Act<br>of 2007)."],["To prohibit employment discrimination on the basis of sexual orientation.","HR3685","Employment Non-Discrimination Act of 2007 - (Sec. 4) Makes it an unlawful employment<br>practice for covered entities (employers, employment agencies, labor organizations, or<br>joint labor-management committees) to discriminate against an individual on the basis of<br>actual or perceived sexual orientation, including actions based on the actual or perceived<br>sexual orientation of a person with whom the individual associates or has associated.<br>Prohibits preferential treatment or quotas. Allows only dis..."],["Providing for consideration of the bill (H.R. 3688) to implement the United States-Peru<br>Trade Promotion Agreement.","HRES801","Sets forth the rule for consideration of H.R. 3688 (United States-Peru Trade Promotion<br>Agreement Implementation Act)."],["To implement the United States-Peru Trade Promotion Agreement.","HR3688","United States-Peru Trade Promotion Agreement Implementation Act - Title I: Approval of,<br>and General Provisions Relating to, the Agreement - (Sec. 101) Approves the United States-<br>Peru Trade Promotion Agreement entered into on April 12, 2006 (and amended on June 24 and<br>June 25, 2007) with the government of Peru and the statement of administrative action<br>proposed to implement the Agreement, both submitted to Congress on September 27, 2007.<br>Provides for the Agreement's entry into force upon certa..."],["Providing for consideration of the conference report to accompany the bill (H.R. 3222)<br>making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2008, and for other purposes.","HRES806","Waives points of order against consideration of the conference report on H.R. 3222<br>(Department of Defense Appropriations Act, 2008)."],["Providing for consideration of the bill (H.R. 3355) to ensure the availability and<br>affordability of homeowners' insurance coverage for catastrophic events.","HRES802","Sets forth the rule for consideration of H.R. 3355 (Homeowners' Defense Act of 2007)."],["To ensure the availability and affordability of homeowners' insurance coverage for<br>catastrophic events.","HR3355","Homeowners' Defense Act of 2007 - Declares that the purpose of this Act is to provide<br>federal support for state-sponsored insurance programs to: (1) help homeowners prepare for<br>and recover from damages caused by natural catastrophes; and (2) promote the use of<br>private market capital as a means to insure against such catastrophes.Title I: National<br>Catastrophe Risk Consortium - (Sec. 101) Establishes the National Catastrophe Risk<br>Consortium as a nonprofit, nonfederal entity to: (1) inventory ca..."],["Providing for consideration of the bill (H.R. 3996) to amend the Internal Revenue Code of<br>1986 to extend certain expiring provisions, and for other purposes.","HRES809","Sets forth the rule for consideration of the bill (H.R. 3996) to amend the Internal<br>Revenue Code of 1986 to extend certain expiring provisions."],["To amend the Internal Revenue Code of 1986 to extend certain expiring provisions, and for<br>other purposes.","HR3996","Tax Increase Prevention Act of 2007 - Amends the Internal Revenue Code to extend through<br>2007 for individual taxpayers: (1) the increased alternative minimum tax (AMT) exemption<br>amounts; and (2) the offset of nonrefundable personal tax credits against regular and AMT<br>liability."],["To reauthorize the grant program for reentry of offenders into the community in the<br>Omnibus Crime Control and Safe Streets Act of 1968, to improve reentry planning and<br>implementation, and for other purposes.","HR1593","Second Chance Act of 2007: Community Safety Through Recidivism Prevention or the Second<br>Chance Act of 2007 - (Sec. 5) Requires the Attorney General, not later than January 31 of<br>each year, to submit all reports required by this Act during the preceding year to the<br>Judiciary Committees of Congress.Title I: Amendments Related To The Omnibus Crime Control<br>And Safe Streets Act of 1968 - Subtitle A: Improvements to Existing Programs - (Sec. 101)<br>Amends the Omnibus Crime Control and Safe Streets Ac..."],["To promote and enhance public safety by facilitating the rapid deployment of IP-enabled<br>911 and E-911 services, encouraging the nation's transition to a national IP-enabled<br>emergency network and improve 911 and E-911 access to those with disabilities.","HR3403","New and Emerging Technologies 911 Improvement Act of 2008 or the NET 911 Improvement Act<br>of 2008 - Title I: Services and IP-Enabled Voice Service Providers - (Sec. 101) Amends the<br>IP-Enabled Voice Communications and Public Safety Act of 1999 to require IP-enabled voice<br>service providers to provide 9-1-1 service, including enhanced 9-1-1 service, to their<br>subscribers. Grants such providers, in meeting that requirement, the same rights,<br>including rights of interconnection, on the same rates, te..."],["To establish a public awareness campaign regarding Internet safety.","HR3461","Safeguarding America's Families by Enhancing and Reorganizing New and Efficient<br>Technologies Act of 2007 - Requires the Federal Trade Commission (FTC) to carry out a<br>nationwide program to increase public awareness and education regarding Internet safety,<br>including including threats to online commercial transactions, financial information and<br>privacy, and juveniles, using existing resources and efforts of all levels of government<br>and other appropriate entities. Includes in the program activiti..."],["Providing for consideration of the conference report to accompany the bill (H.R. 1429) to<br>reauthorize the Head Start Act, to improve program quality, to expand access, and for<br>other purposes.","HRES813","Waives points of order against consideration of the conference report on H.R. 1429 (Head<br>Start for School Readiness Act)."],["Expressing the sympathy and pledging the urgent support of the House of Representatives<br>and the people of the United States for the victims of the devastating flooding in<br>southern Mexico.","HRES812","Expresses sympathy for the victims of the devastating flooding affecting southern Mexico<br>and conveys support to the people and government of Mexico. Urges the U.S. government to<br>make available all appropriate assistance requested by the Mexican authorities. Reaffirms<br>the House of Representatives' commitment to provide relief aid to the flooding victims."],["Condemning the November 6, 2007, terrorist bombing in Afghanistan and expressing<br>condolences to the people of Afghanistan and the members of the Wolesi Jirga.","HRES811","Condemns the November 6, 2007, attack in the Baghlan province of Afghanistan and all other<br>attacks against the Afghan people. Expresses condolences to the people of Afghanistan and<br>to the members of the Wolesi Jirga. Supports the government of Afghanistan's efforts to<br>investigate the attack and bring the perpetrators to justice. Reaffirms the U.S.<br>commitment to the establishment of security, the strengthening of democratic institutions,<br>and the promotion of economic opportunity as the basis f..."],["To establish a Special Counsel for Child Exploitation Prevention and Interdiction within<br>the Office of the Deputy Attorney General, to improve the Internet Crimes Against Children<br>Task Force, to increase resources for regional computer forensic labs, and to make other<br>improvements to increase the ability of law enforcement agencies to investigate and<br>prosecute child predators.","HR3845","Providing Resources, Officers, and Technology to Eradicate Cyber Threats to Our Children<br>Act of 2007 or the PROTECT Our Children Act of 2007 - Title I: Special Counsel For Child<br>Exploitation Prevention And Interdiction - (Sec. 101) Directs the Attorney General to<br>appoint a Special Counsel for Child Exploitation Prevention and Interdiction within the<br>Office of the Deputy Attorney General. Sets forth the duties of the Special Counsel,<br>including: (1) coordination of the policies and strategies o..."],["To require convicted sex offenders to register online identifiers, and for other purposes.","HR719","Keeping the Internet Devoid of Sexual Predators Act of 2007 or the KIDS Act of 2007 -<br>Authorizes additional appropriations for FY2008-FY2013 to: (1) evaluate and purchase<br>Internet filtering and monitoring programs and devices; (2) train probation officers in<br>the use of such programs and devices and in the supervision of sex offenders; and (3) hire<br>probation officers and other personnel as required to supervise convicted sex offenders<br>effectively.Amends the federal criminal code to: (1) includ..."],["Providing for consideration of the conference report to accompany the bill (H.R. 3074)<br>making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2008, and for<br>other purposes.","HRES817","Waives points of order against consideration of the conference report on H.R. 3074<br>(Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2008)."],["Providing for consideration of the bill (H.R. 4156) making emergency supplemental<br>appropriations for the Department of Defense for the fiscal year ending September 30,<br>2008, and for other purposes.","HRES818","Sets forth the rule for consideration of H.R. 4156 (Orderly and Responsible Iraq<br>Redeployment Appropriations Act, 2008)."],["To amend title 18, United States Code, to provide for more effective prosecution of cases<br>involving child pornography, and for other purposes.","HR4120","Title I: Effective Child Pornography Prosecution Act of 2007 - Effective Child Pornography<br>Prosecution Act of 2007 - Amends the federal criminal code to expand the jurisdictional<br>basis for prosecutions of sexual exploitation of children, selling or buying of children,<br>or child pornography crimes to include activities that use any means or facility of<br>interstate or foreign commerce to complete such crimes. Title II: Enhancing the Effective<br>Prosecution of Child Pornography Act of 2007 - Enhanci..."],["Making emergency supplemental appropriations for the Department of Defense for the fiscal<br>year ending September 30, 2008, and for other purposes.","HR4156","Orderly and Responsible Iraq Redeployment Appropriations Act, 2008 - Title I: Policy on<br>Redeployment and Conduct of Operations in Iraq - (Sec. 101) Expresses the sense of<br>Congress that: (1) the war in Iraq should end as safely and quickly as possible, and our<br>troops should be brought home; (2) the performance of U.S. military personnel in Iraq and<br>Afghanistan should be commended, and their service should be appropriately recognized; and<br>(3) the primary purpose of funds from this Act should be..."],["Providing for consideration of the bill (H.R. 3915) to amend the Truth in Lending Act to<br>reform consumer mortgage practices and provide accountability for such practices, to<br>establish licensing and registration requirements for residential mortgage originators, to<br>provide certain minimum standards for consumer mortgage loans, and for other purposes.","HRES825","Sets forth the rule for consideration of H.R. 3915 (Mortgage Reform and Anti-Predatory<br>Lending Act of 2007)."],["To amend the Truth in Lending Act to reform consumer mortgage practices and provide<br>accountability for such practices, to establish licensing and registration requirements<br>for residential mortgage originators, to provide certain minimum standards for consumer<br>mortgage loans, and for other purposes.","HR3915","Mortgage Reform and Anti-Predatory Lending Act of 2007 - Title I: Residential Mortgage<br>Loan Origination - Subtitle A: Licensing System for Residential Mortgage Loan Originators<br>- Encourages the states, through the Conference of State Bank Supervisors and the American<br>Association of Residential Mortgage Regulators, to establish a Nationwide Mortgage<br>Licensing System and Registry (NMLSR) for the residential mortgage industry. (Sec. 103)<br>Includes among licensing and registration requirements tha..."],["Providing for an adjournment or recess of the two Houses.","HCONRES259","Provides for an adjournment of the House of Representatives from November 15 or 16, 2007,<br>until December 4, 2007 (or until another time of reassembly under this concurrent<br>resolution), and a recess or adjournment of the Senate on any day between November 15,<br>2007-November 29, 2007, until December 3, 2007 (or until another time of reassembly).<br>Authorizes the Speaker of the House and the Majority Leader of the Senate, or their<br>respective designees, acting jointly after consultation with the Hou..."],["To amend the Foreign Intelligence Surveillance Act of 1978 to establish a procedure for<br>authorizing certain acquisitions of foreign intelligence, and for other purposes.","HR3773","Foreign Intelligence Surveillance Act of 1978 Amendments Act of 2008 or FISA Amendments<br>Act of 2008 - Title I: Foreign Intelligence Surveillance - (Sec. 101) Amends the Foreign<br>Intelligence Surveillance Act of 1978 (FISA) to add a new title concerning additional<br>procedures for acquiring the communications of certain persons outside the United States.<br>Authorizes the Attorney General (AG) and Director of National Intelligence (DNI) to<br>jointly authorize, for periods up to one year, the targeting..."],["To amend title 18 of the United States Code to clarify the scope of the child pornography<br>laws, and for other purposes.","HR4136","Enhancing the Effective Prosecution of Child Pornography Act of 2007 - Amends the federal<br>criminal code to: (1) include child pornography activities and the production of such<br>pornography for importation into the United States as predicate crimes for money<br>laundering prosecutions; and (2) define \"possess\" with respect to crimes of child sexual<br>exploitation and child pornography to include accessing by computer visual depictions of<br>child pornography with the intent to view."],["To authorize the Secretary of the Interior to conduct special resources studies of certain<br>lands and structures to determine the appropriate means for preservation, use, and<br>management of the resources associated with such lands and structures.","HR3998","America's Historical and Natural Legacy Study Act - (Sec. 3) Directs the Secretary of the<br>Interior to conduct a special resource study of the Harry S Truman Birthplace State<br>Historic Site in Lamar, Missouri, to determine: (1) the suitability and feasibility of<br>adding the birthplace site to the Harry S Truman National Historic Site or designating the<br>site as a separate unit of the National Park System; and (2) the methods and means for the<br>protection and interpretation of the Harry S Truman Bi..."],["To authorize appropriations for fiscal years 2008 through 2011 for the Trafficking Victims<br>Protection Act of 2000, to enhance measures to combat forced labor, and for other<br>purposes.","HR3887","William Wilberforce Trafficking Victims Protection Reauthorization Act of 2007 - Title I:<br>Combatting International Trafficking in Persons - (Sec. 101) Amends the Trafficking<br>Victims Protection Act of 2000 (TVPA) to include the Secretary of Education on the<br>Interagency Task Force to Monitor and Combat Trafficking. (Sec. 102) Directs the Secretary<br>of State to establish within the Department of State an Office to Monitor and Combat<br>Trafficking. (Current law authorizes such Office's establishment..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 710, with<br>amendments.","HRES837","Sets forth the rule for consideration of the Senate amendment to H.R. 710 (Charlie W.<br>Norwood Living Organ Donation Act)."],["To authorize the Secretary of the Interior to create a Bureau of Reclamation partnership<br>with the North Bay Water Reuse Authority and other regional partners to achieve objectives<br>relating to water supply, water quality, and environmental restoration.","HR236","North Bay Water Reuse Program Act of 2007 - Amends the Reclamation Wastewater and<br>Groundwater Study and Facilities Act to authorize the Secretary of the Interior,<br>contingent upon a finding of feasibility and acting through a cooperative agreement with<br>the state of California or a subdivision thereof, to enter into cooperative agreements<br>with eligible entities in the North San Pablo Bay watershed located in Marin, Napa,<br>Solano, and Sonoma Counties for the planning, design, and construction of ..."],["To modernize and expand the reporting requirements relating to child pornography, to<br>expand cooperation in combating child pornography, and for other purposes.","HR3791","Securing Adolescents From Exploitation-Online Act of 2007 or the SAFE Act of 2007 - Amends<br>the federal criminal code to expand the reporting requirements of electronic communication<br>and remote computing service providers with respect to violations of laws prohibiting<br>sexual exploitation of children and child pornography.Requires such service providers who<br>obtain knowledge of violations of child exploitation and pornography laws to: (1) complete<br>and maintain with current information a registra..."],["To amend the Missing Children's Assistance Act to authorize appropriations, and for other<br>purposes.","HR2517","Protecting Our Children Comes First Act of 2007 - Amends the Missing Children's Assistance<br>Act to: (1) revise, and expand the required uses for, the annual grant made to the<br>National Center for Missing and Exploited Children (NCMEC) by the Office of Juvenile<br>Justice and Delinquency Prevention; (2) reauthorize the missing children's assistance and<br>the NCMEC grant programs through FY2013; and (3) repeal criteria for grants. Specifies<br>additional mandatory uses of grants to NCMEC, including provi..."],["Recognizing the 100th anniversary year of the founding of the Port of Los Angeles.","HRES822","Recognizes the 100th anniversary year of the founding of the Port of Los Angeles, the<br>Nation's largest containerport. Congratulates the Port of Los Angeles for its achievements<br>as a leader throughout its history in implementing modern and innovative transportation<br>and goods movements systems that are compatible with responsible environmental<br>stewardship. Wishes the Port of Los Angeles continued success during its next 100 years."],["Providing for the consideration of the Senate amendments to the bill (H.R. 6) to reduce<br>our Nation's dependency on foreign oil by investing in clean, renewable, and alternative<br>energy resources, promoting new emerging energy technologies, developing greater<br>efficiency, and creating a Strategic Energy Efficiency and Renewables Reserve to invest in<br>alternative energy, and for other purposes.","HRES846","Makes it in order to consider the Senate amendments to H.R. 6 (Renewable Fuels, Consumer<br>Protection, and Energy Efficiency Act of 2007)."],["To improve and expand small business assistance programs for veterans of the armed forces<br>and military reservists, and for other purposes.","HR4253","Military Reservist and Veteran Small Business Reauthorization and Opportunity Act of 2008<br>- Title I: Veterans Business Development - (Sec. 101) Increases funding (with an offset),<br>for FY2008-FY2009, for the Office of Veterans Business Development of the Small Business<br>Administration (SBA). Expresses the sense of Congress that excess amounts for such Office<br>should be used to support veterans business outreach centers. (Sec. 102) Amends the Small<br>Business Act to direct the President to establis..."],["Expressing sympathy to and pledging the support of the House of Representatives and the<br>people of the United States for the victims of Cyclone Sidr in southern Bangladesh.","HRES842","Expresses sympathy for the victims of Cyclone Sidr which has affected southern Bangladesh.<br>Urges the U.S. government to make available all appropriate assistance requested by the<br>Bangladeshi authorities. Reaffirms the House of Representatives' commitment to provide<br>relief aid as the cyclone's effects continue to unfold."],["To amend title 49, United States Code, to modify age standards for pilots engaged in<br>commercial aviation operations.","HR4343","Fair Treatment for Experienced Pilots Act - Amends federal transportation law to allow a<br>pilot who has attained 60 years of age to serve as a passenger airline pilot until the age<br>of 65, provided that a pilot who has attained age 60 may serve as pilot-in-command on<br>international flights only if there is another pilot in the flight crew who has not yet<br>attained 60 years of age. Prohibits subjecting pilots to different medical examinations<br>and standards on account of age unless to ensure an ade..."],["Providing for consideration of the bill (H.R. 4299) to extend the Terrorism Insurance<br>Program of the Department of the Treasury, and for other purposes.","HRES862","Sets forth the rule for consideration of H.R. 4299 (Terrorism Risk Insurance Program<br>Reauthorization Act of 2007)."],["Providing for consideration of the conference report to accompany the bill (H.R. 1585) to<br>authorize appropriations for fiscal year 2008 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HRES860","Waives points of order against consideration of the conference report on H.R. 1585<br>(National Defense Authorization Act for Fiscal Year 2008)."],["Providing for consideration of the bill (H.R. 4351) to amend the Internal Revenue Code to<br>provide individuals temporary relief from the alternative minimum tax, and for other<br>purposes.","HRES861","Sets forth the rule for consideration of H.R. 4351 (AMT Relief Act of 2007)."],["To extend the Terrorism Insurance Program of the Department of the Treasury, and for other<br>purposes.","HR4299","Terrorism Risk Insurance Program Reauthorization Act of 2007 - (Sec. 2) Amends the<br>Terrorism Risk Insurance Act to redefine an act of terrorism to eliminate the requirement<br>that the individual or individuals committing a terrorist act be acting on behalf of any<br>foreign person or foreign interest.(Sec. 3) Extends the Terrorism Risk Insurance Program<br>through calendar 2014.(Sec. 4) States that no insurer may be required to make payment for<br>insured losses in excess of its statutory deductible com..."],["To amend the Internal Revenue Code of 1986 to provide individuals temporary relief from<br>the alternative minimum tax, and for other purposes.","HR4351","AMT Relief Act of 2007 - Title I: Individual Tax Relief - (Sec. 101) Amends the Internal<br>Revenue Code to extend through 2007 for individual taxpayers: (1) the offset of<br>nonrefundable personal tax credits against regular and alternative minimum tax (AMT)<br>liability; and (2) the increased AMT exemption amounts.(Sec. 103) Increases the AMT<br>refundable credit amount for individual taxpayers with long-term unused tax credits in<br>prior taxable years. Abates any underpayment of tax and related interest..."],["To amend title 49, United States Code, to direct the Secretary of Transportation to<br>register a person providing transportation by an over-the-road bus as a motor carrier of<br>passengers only if the person is willing and able to comply with certain accessibility<br>requirements in addition to other existing requirements, and for other purposes.","HR3985","Over-the-Road Bus Transportation Accessibility Act of 2007 - Amends federal transportation<br>law to add as a registration condition for motor carriers of passengers that a carrier be<br>willing and able to comply with specified accessibility requirements for transportation<br>provided by an over-the-road bus (characterized by an elevated passenger deck located over<br>a baggage compartment). Directs the Secretary of Transportation and the Attorney General<br>to enter into a memorandum of understanding to d..."],["Providing for consideration of the joint resolution (H.J. Res. 69) making further<br>continuing appropriations for the fiscal year 2008, and for other purposes.","HRES869","Sets forth the rule for consideration of H.J.Res. 69 (FY2008 Continuing Resolution)."],["Providing for consideration of the conference report to accompany the bill (H.R. 2082) to<br>authorize appropriations for fiscal year 2008 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HRES859","Waives points of order against consideration of the conference report on H.R. 2082<br>(Intelligence Authorization Act for Fiscal Year 2008)."],["Making further continuing appropriations for the fiscal year 2008, and for other purposes.","HJRES69","Amends Public Law 110-92 to extend through December 21, 2007, specified continuing<br>appropriations for FY2008."],["Honoring local and state first responders, and the citizens of the Pacific Northwest in<br>facing the severe winter storm of December 2 and 3, 2007.","HRES851","Honors the citizens of the Pacific Northwest for their courage in facing the storm and<br>efforts in helping their neighbors in a time of great need.Honors the National Weather<br>Service, state and local police officers, fire fighters, local rescue personnel, other<br>first responders, and amateur radio operators for their efforts in the face of the severe<br>storm.Extends the thoughts and prayers of the U.S. House of Representatives to those whose<br>lives have been devastated, and who have lost their hou..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES873","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of the following Senate amendments on the same day they are presented to the<br>House: (1) the Senate amendment to H.R. 2764 (Department of State, Foreign Operations, and<br>Related Programs Appropriations Act, 2008); and (2) the Senate amendments to H.R. 6<br>(Renewable Fuels, Consumer Protection, and Energy Efficiency Act of 2007)."],["Providing for the sine die adjournment of the first session of the One Hundred Tenth<br>Congress.","HCONRES271","Declares that, when the House adjourns on any legislative day from Tuesday, December 18,<br>2007, through Saturday, December 22, 2007, it stand adjourned sine die. Declares that,<br>when the House adjourns and the Senate recesses or adjourns on the legislative day of<br>Thursday, January 3, 2008, they shall stand adjourned until noon on Tuesday, January 15,<br>2008."],["Providing for the consideration of the Senate amendment to the bill (H.R. 2764) making<br>appropriations for the Department of State, foreign operations, and related programs for<br>the fiscal year ending September 30, 2008, and for other purposes.","HRES878","Sets forth the rule for the consideration of the Senate amendment to H.R. 2764 (making<br>appropriations for the Department of State, foreign operations, and related programs for<br>FY2008)."],["To award a congressional gold medal to Daw Aung San Suu Kyi in recognition of her<br>courageous and unwavering commitment to peace, nonviolence, human rights, and democracy in<br>Burma.","HR4286","Directs the Speaker of the House of Representatives and the President Pro Tempore of the<br>Senate to arrange for the presentation of a congressional gold medal to to Daw Aung San<br>Suu Kyi in recognition of her courageous and unwavering commitment to peace, nonviolence,<br>human rights, and democracy in Burma."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 6) to move the United States toward greater energy<br>independence and security, to increase the production of clean renewable fuels, to protect<br>consumers, to increase the efficiency of products, buildings, and vehicles, to promote<br>research on and deploy greenhouse gas capture and storage options, and to improve the<br>energy performance of the Federal Government, and for other purposes.","HRES877","Sets forth the rule for consideration of the Senate amendment to H.R. 6 (Renewable Fuels,<br>Consumer Protection, and Energy Efficiency Act of 2007)."],["To amend title 37, United States Code, to require the Secretary of Defense to continue to<br>pay to a member of the Armed Forces who is retired or separated from the Armed Forces due<br>to a combat-related injury certain bonuses that the member was entitled to before the<br>retirement or separation and would continue to be entitled to if the member was not<br>retired or separated.","HR3793","Veterans Guaranteed Bonus Act of 2007 - Veterans Guaranteed Bonus Act of 2007 - Requires a<br>member of the Armed Forces who receives a bonus or similar benefit subject to the<br>condition that the member continue to satisfy certain eligibility requirements to repay<br>the unearned portion of the bonus or similar benefit if the member fails to satisfy the<br>eligibility requirements and prohibits receiving any unpaid amounts, unless the Secretary<br>concerned determines that the imposition of the repayment ..."],["An original bill to authorize State and local governments to divest assets in companies<br>that conduct business operations in Sudan, to prohibit United States Government contracts<br>with such companies, and for other purposes.","S2271","Sudan Accountability and Divestment Act of 2007 - (Sec. 2) Defines specified terms. (Sec.<br>3) Expresses the sense of Congress that the U.S. government should support a state or<br>local government decision to divest from or prohibit the investment of state or local<br>assets in a person determined to pose a financial or reputational risk. Authorizes a state<br>or local government to divest state or local assets or prohibit investment of state or<br>local assets in persons that are conducting or have direc..."],["Providing for the concurrence by the House in the Senate amendments to H.R. 3997, with an<br>amendment.","HRES884","Provides for the concurrence by the House of Representatives in the Senate amendments to<br>H.R. 3997 (Heroes Earnings Assistance and Relief Tax Act of 2007) with an amendment in the<br>form of substitute text."],["To provide for the transfer of the Library of Congress police to the United States Capitol<br>Police, and for other purposes.","HR3690","U.S. Capitol Police and Library of Congress Police Merger Implementation Act of 2007 -<br>(Sec. 2) Transfers each Library of Congress (LOC) police employee and each LOC civilian<br>employee to the U.S. Capitol Police. States that: (1) a LOC Police employee shall become a<br>member of the Capitol Police on the employee's transfer date if the Chief of the Capitol<br>Police determines and issues a written certification that the employee meets specified<br>eligibility requirements; and (2) if the Chief determin..."],["A bill to amend titles XVIII, XIX, and XXI of the Social Security Act to extend provisions<br>under the Medicare, Medicaid, and SCHIP programs, and for other purposes.","S2499","Medicare, Medicaid, and SCHIP Extension Act of 2007 - (Sec. 101) Title I: Increase in<br>Physician Payment Update; Extension of the Physician Quality Reporting System - (Sec. 101)<br>Amends title XVIII (Medicare) of the Social Security Act (SSA) to: (1) increase the<br>physician payment update; (2) revise the Physician Assistance and Quality Initiative Fund,<br>adding limitations on expenditures; and (3) extend through 2009 the physician quality<br>reporting system Amends the Tax Relief and Health Care Act ..."],["To establish consumer product safety standards and other safety requirements for<br>children's products and to reauthorize and modernize the Consumer Product Safety<br>Commission.","HR4040","Consumer Product Safety Improvement Act of 2008 - Title I: Children's Product Safety -<br>(Sec. 101) Treats as a banned hazardous substance under the Federal Hazardous Substances<br>Act (FHSA) any children's product (a consumer product designed or intended primarily for<br>children 12 years of age or younger) containing more than specified amounts of lead.<br>Allows alternate limits if the specified limits are not technologically feasible. Requires<br>periodic review and, when technologically feasible, more..."],["Providing for consideration of the bill (H.R. 2768) to establish improved mandatory<br>standards to protect miners during emergencies, and for other purposes.","HRES918","Sets forth the rule for consideration of H.R. 2768 (Supplemental Mine Improvement and New<br>Emergency Response Act of 2007, or the S-MINER Act)."],["Condemning the assassination of former Pakistani Prime Minister Benazir Bhutto and<br>reaffirming the commitment of the United States to assist the people of Pakistan in<br>combating terrorist activity and promoting a free and democratic Pakistan.","HRES912","Condemns the assassination of former Pakistani Prime Minister Benazir Bhutto and expresses<br>condolences to her family and the families of all those who were killed or injured in the<br>attack. Welcomes the United Kingdom's assistance in the investigation of the attack and<br>commends Pakistan for accepting such assistance. Reaffirms the U.S. commitment to assist<br>the people of Pakistan in combating terrorist activity and promoting a free and democratic<br>Pakistan."],["Providing for the concurrence by the House in the Senate amendment to H.R. 4253, with an<br>amendment.","HRES921","Provides for the concurrence by the House in the Senate amendment to H.R. 4253 (Military<br>Reservist and Veteran Small Business Reauthorization and Opportunity Act of 2008), with a<br>specified amendment."],["To establish improved mandatory standards to protect miners during emergencies, and for<br>other purposes.","HR2768","Supplemental Mine Improvement and New Emergency Response Act of 2007 or the S-MINER Act -<br>(Sec. 4) Amends the Federal Mine Safety and Health Act of 1977 (Mine Act) to require<br>emergency response plans, to be in approved status, to: (1) provide for, within 120 days<br>after enactment of this Act, a post communication system between underground and surface<br>personnel and an electronic tracking system permitting surface personnel to locate persons<br>trapped underground that utilizes a system at least a..."],["To provide for the enactment of the National Defense Authorization Act for Fiscal Year<br>2008, as previously enrolled, with certain modifications to address the foreign sovereign<br>immunities provisions of title 28, United States Code, with respect to the attachment of<br>property in certain judgements against Iraq, the lapse of statutory authorities for the<br>payment of bonuses, special pays, and similar benefits for members of the uniformed<br>services, and for other purposes.","HR4986","National Defense Authorization Act for Fiscal Year 2008 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2008 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, the Joint Improvised Explosive Device Defeat<br>Fund, and other procurement. (Sec. 104) Authorizes appropriations for FY2..."],["To reauthorize the HOPE VI program for revitalization of severely distressed public<br>housing, and for other purposes.","HR3524","HOPE VI Improvement and Reauthorization Act of 2008 - (Sec. 2) Amends the United States<br>Housing Act of 1937 to make promoting housing choice among low- and very low-income<br>families one of the purposes of the HOPE VI grant program for revitalization of severely<br>distressed public housing. (Sec. 3) Authorizes the Secretary of Housing and Urban<br>Development (HUD) to waive the matching contribution requirement in cases of extreme<br>distress or emergency. (Sec. 4) Prohibits the award of demolition-onl..."],["To designate the facility of the United States Postal Service located at 725 Roanoke<br>Avenue in Roanoke Rapids, North Carolina, as the \"Judge Richard B. Allsbrook Post Office\".","HR4211","Designates the facility of the United States Postal Service located at 725 Roanoke Avenue<br>in Roanoke Rapids, North Carolina, as the \"Judge Richard B. Allsbrook Post Office.\""],["A bill to designate the facility of the United States Postal Service located at 427 North<br>Street in Taft, California, as the \"Larry S. Pierce Post Office\".","S2110","Designates the facility of the United States Postal Service located at 427 North Street in<br>Taft, California, as the \"Larry S. Pierce Post Office.\""],["To designate the Port Angeles Federal Building in Port Angeles, Washington, as the<br>\"Richard B. Anderson Federal Building\".","HR4140","Designates the federal building located at 138 West First Street, Port Angeles,<br>Washington, as the \"Richard B. Anderson Federal Building.\""],["To provide economic stimulus through recovery rebates to individuals, incentives for<br>business investment, and an increase in conforming and FHA loan limits.","HR5140","Economic Stimulus Act of 2008 - Title I: Recovery Rebates and Incentives for Business<br>Investment - (Sec. 101) Amends the Internal Revenue Code to grant tax rebates of the<br>lesser of net income tax liability or $600 to individual taxpayers ($1,200 for married<br>taxpayers filing joint returns). Allows additional rebates of $300 for each child of an<br>eligible taxpayer.Provides for a minimum tax rebate of $300 ($600 for married taxpayers<br>filing joint returns) for taxpayers with earned income of at le..."],["To amend the National Trails System Act to designate the New England National Scenic<br>Trail, and for other purposes.","HR1528","New England National Scenic Trail Designation Act - Amends the National Trails System Act<br>to designate the New England National Scenic Trail as a National Scenic Trail. Requires<br>the Secretary of the Interior, in consultation with federal, state, tribal, regional, and<br>local agencies, and other organizations, to administer the Trail after considering the<br>recommendations of the Metacomet Monadnock Mattabesett Trail System National Scenic Trail<br>Feasibility Study and Environmental Assessment prepa..."],["Commending the Houston Dynamo soccer team for winning the 2007 Major League Soccer Cup.","HRES867","Commends the Houston Dynamo soccer team for winning the 2007 Major League Soccer Cup.<br>Congratulates the team for back-to-back wins in its first two seasons in Houston."],["Recognizing the significance of Black History Month.","HRES942","Recognizes the significance of Black History Month as an important time to recognize the<br>contributions of African-Americans in the nation's history. Encourages the continued<br>celebration of this month to provide an opportunity for all peoples of the United States<br>to learn more about the past and to better understand the experiences that have shaped the<br>nation. Recognizes that the ethnic and racial diversity of the United States enriches and<br>strengthens the nation."],["Remembering the space shuttle Challenger disaster and honoring its crew members, who lost<br>their lives on January 28, 1986.","HRES943","Honors the 22nd anniversary of the space shuttle Challenger disaster. Celebrates the<br>courage and bravery of the crew of the Challenger, and Christa McAuliffe and her passion<br>for encouraging America's children to pursue careers in science and mathematics.Commits<br>the House of Representatives and the Nation to using the lessons learned in inquiries into<br>the space shuttle Challenger accident to ensure that the space agency always operates on a<br>strong and stable foundation.Recognizes the continued..."],["Providing for consideration of the bill (H.R. 4137) to amend and extend the Higher<br>Education Act of 1965, and for other purposes.","HRES956","Sets forth the rule for consideration of the bill (H.R. 4137) to amend and extend the<br>Higher Education Act of 1965."],["Calling for a peaceful resolution to the current electoral crisis in Kenya.","HCONRES283","Commends the Kenyan people for their commitment to democracy and respect for the<br>democratic process as evidenced by the high voter turnout and peaceful voting on election<br>day. Condemns the ongoing violence in Kenya and urges all parties concerned to immediately<br>end use of violence as a means to achieve their political objectives. Calls on the two<br>leading presidential candidates to accept offers of external and internal assistance to<br>help find a solution to the current crisis which has the sup..."],["To extend for one year parity in the application of certain limits to mental health<br>benefits, and for other purposes.","HR4848","Amends the Internal Revenue Code, the Employee Retirement Income Security Act of 1974<br>(ERISA), and the Public Health Service Act to extend until December 31, 2008, mental<br>health parity provisions, which require group health plans to treat equally mental health<br>benefits and medical and surgical benefits for purposes of lifetime limits or annual<br>limits on benefits covered by the plan.Amends title XVIII (Medicare) of the Social<br>Security Act to direct the Centers for Medicare &amp; Medicaid Servi..."],["To amend and extend the Higher Education Act of 1965, and for other purposes.","HR4137","Higher Education Opportunity Act - Amends the Higher Education Act of 1965 (HEA) to revise<br>and reauthorize HEA programs. Title I: General Provisions - (Sec. 101) Revises the general<br>definition of an institution of higher education (IHE) to include schools that: (1) admit<br>students whose secondary education was conducted in a home school setting; (2) award<br>degrees (not necessarily bachelor's degrees) that are acceptable for admission to a<br>graduate or professional degree program; and (3) enroll ..."],["Honoring the life of senior Border Patrol agent Luis A. Aguilar, who lost his life in the<br>line of duty near Yuma, Arizona, on January 19, 2008.","HRES954","Recognizes the dedication and sacrifice made by the men and women who have lost their<br>lives while serving as U.S. Border Patrol agents. Honors Luis Aguilar for his service as a<br>Border Patrol agent and for his sacrifice to the United States, and extends deepest<br>condolences to his family."],["Commemorating the courage of the Haitian soldiers that fought for American independence in<br>the \"Siege of Savannah\" and for Haiti's independence and renunciation of slavery.","HRES909","Commemorates the courage of the Haitian soldiers who fought for American independence in<br>the Siege of Savannah and for Haiti's independence and renunciation of slavery."],["Providing for consideration of the bill (H.R. 5349) to extend the Protect America Act of<br>2007 for 21 days.","HRES976","Sets forth the rule for consideration of the bill (H.R. 5349) to extend the Protect<br>America Act of 2007 for 21 days."],["To extend the Protect America Act of 2007 for 21 days.","HR5349","Amends the Protect America Act of 2007 (currently set to expire on February 16, 2008) to<br>extend its authority for 21days."],["Congratulating the National Football League champion New York Giants for winning Super<br>Bowl XLII and completing one of the most remarkable postseason runs in professional sports<br>history.","HRES960","Congratulates the National Football League champion New York Giants for winning Super Bowl<br>XLII and completing one of the most impressive seasons in professional sports history."],["Providing for an adjournment or recess of the two Houses.","HCONRES293","Declares that, when the House adjourns: (1) on Thursday, February 14, 2008, it stand<br>adjourned until 2 p.m. on Friday, February 15, 2008; (2) on Friday, February 15, 2008, it<br>stand adjourned until 10 a.m. on Tuesday, February 19, 2008; (3) on Tuesday, February 19,<br>2008, it stand adjourned until noon on Thursday, February 21, 2008; and (4) on Thursday,<br>February 21, 2008, it stand adjourned until 2 p.m. on Monday, February 25, 2008. Declares<br>that, when the Senate recesses or adjourns on any day..."],["Supporting the goals and ideals of National Engineers Week, and for other purposes.","HRES917","Supports the goals and ideals of National Engineers Week and its aim to increase<br>understanding of and interest in engineering and technology careers and promote literacy<br>in science, technology, engineering, and mathematics. Declares that the House of<br>Representatives will work with the engineering community to make sure that its creativity<br>and contribution can be expressed through research, development, standardization, and<br>innovation."],["Providing for the adoption of the resolution (H. Res. 979) recommending that the House of<br>Representatives find Harriet Miers and Joshua Bolten, Chief of Staff, White House, in<br>contempt of Congress for refusal to comply with subpoenas duly issued by the Committee on<br>the Judiciary and for the adoption of the resolution (H. Res. 980) authorizing the<br>Committee on the Judiciary to initiate or intervene in judicial proceedings to enforce<br>certain subpoenas.","HRES982","Adopts H.Res. 979 (contempt citations against Harriet Miers and Joshua Bolten for refusing<br>to comply with subpoenas related to the firing of certain U.S. Attorneys) and H.Res. 980<br>(enforcement of such subpoenas)."],["Honoring African American inventors, past and present, for their leadership, courage, and<br>significant contributions to our national competitiveness.","HRES966","Recognizes and appreciates the significant achievements to our national research<br>enterprise made by African-American and other minority scientists, technologists,<br>engineers, and mathematicians.Honors and extends the appreciation and gratitude of the<br>House of Representatives toward all African-American inventors, for the significant and<br>honorable research and educational contributions that improve the lives of all citizens<br>and that have gone unacknowledged too long.Declares that the House look..."],["A bill to make technical corrections to the Federal Insecticide, Fungicide, and<br>Rodenticide Act.","S2571","Amends the Federal Insecticide, Fungicide, and Rodenticide Act to authorize the<br>Administrator of the Environmental Protection Agency (EPA) to exempt from, or waive a<br>portion of, the registration service fee (currently, the Administrator may waive or reduce<br>the fee) for an application for minor uses for a pesticide.Authorizes the Administrator to<br>exempt an application from the registration service fee (currently, the Administrator may<br>waive the fee) if the application is solely associated with..."],["Honoring and praising the National Association for the Advancement of Colored People on<br>the occasion of its 99th anniversary.","HCONRES289","Recognizes the 99th anniversary of the historic founding of the National Association for<br>the Advancement of Colored People (NAACP). Honors and praises the NAACP for its work to<br>ensure the political, educational, social, and economic equality of all persons."],["Commending the people of the State of Washington for showing their support for the needs<br>of the State of Washington's veterans and encouraging residents of other States to pursue<br>creative ways to show their own support for veterans.","HRES790","Commends the people of the state of Washington for showing their support for the needs of<br>the state's veterans. Encourages residents of other states to pursue creative ways to show<br>their own support for veterans."],["Supporting the goals and ideals of National Salute to Hospitalized Veterans Week, and for<br>other purposes.","HRES963","Expresses support for the National Salute to Hospitalized Veterans Program and its efforts<br>to: (1) pay tribute to and express appreciation for hospitalized veterans; (2) increase<br>community awareness of the role of the medical centers of the Department of Veterans<br>Affairs (VA); and (3) encourage citizens to visit hospitalized veterans and become<br>involved as volunteers.Declares that the House of Representatives will continue to work<br>with veterans service organizations to support our veterans."],["Supporting the goals and ideals of American Heart Month and National Wear Red Day.","HRES972","Expresses support for the goals and ideals of American Heart Month and National Wear Red<br>Day. Recognizes and reaffirms the commitment to fighting heart disease and stroke by<br>promoting awareness about the causes, risks, and prevention, supporting research, and<br>expanding access to medical treatment.Encourages all Americans to learn about their risk<br>for heart disease."],["Expressing support for the designation of the week of March 3-7, 2008, as \"School Social<br>Work Week\" to promote awareness of the vital role of school social workers in schools, and<br>in the community as a whole, in helping students prepare for their future as productive<br>citizens.","HRES978","Honors the contributions of school social workers to the success of students in schools.<br>Encourages the observation of School Social Work Week."],["Supporting the goals and ideals of \"Career and Technical Education Month\".","HRES930","Supports the goals and ideals of Career and Technical Education Month. Encourages<br>educators, counselors, and administrators to promote career and technical education as an<br>option to students."],["Honoring the service and accomplishments of Lieutenant General Russel L. Honore, United<br>States Army, for his 37 years of service on behalf of the United States.","HRES944","Honors Lieutenant General Russel L. Honore, United States Army, for his 37 years of<br>service and commends him for his dedication and commitment to the Army and his leadership<br>in the post-Katrina recovery effort."],["Providing for consideration of the bill (H.R. 3521) to improve the Operating Fund for<br>public housing of the Department of Housing and Urban Development.","HRES974","Sets forth the rule for consideration of H.R. 3521 (Public Housing Asset Management<br>Improvement Act of 2007)."],["To improve the Operating Fund for public housing of the Department of Housing and Urban<br>Development.","HR3521","Public Housing Asset Management Improvement Act of 2007 - Prohibits the Secretary of<br>Housing and Urban Development from imposing restrictions or limitations on the amount of<br>management and related fees for a public housing project which the public housing agency<br>(PHA) determines reasonable, unless such restriction or limitation: (1) is determined<br>pursuant to a negotiated rulemaking convened by the Secretary no earlier than April 1,<br>2009, with representatives from interested parties; and (2) i..."],["Providing for consideration of the bill (H.R. 5351) to amend the Internal Revenue Code of<br>1986 to provide tax incentives for the production of renewable energy and energy<br>conservation.","HRES1001","Sets forth the rule for consideration of H.R. 5351 (Renewable Energy and Energy<br>Conservation Tax Act of 2008)."],["To amend the Internal Revenue Code of 1986 to provide tax incentives for the production of<br>renewable energy and energy conservation.","HR5351","Renewable Energy and Energy Conservation Tax Act of 2008 - Amends Internal Revenue Code<br>provisions relating to renewable energy sources and energy conservation. Title I:<br>Production Incentives - (Sec. 101) Extends through 2011 the tax credit for the production<br>of electricity from renewable resources (e.g., wind, closed and open-loop biomass,<br>geothermal energy, small irrigation power, municipal solid waste, and qualified<br>hydropower). Imposes a limit on such tax credit based upon investment in r..."],["To designate the facility of the United States Postal Service located at 3050 Hunsinger<br>Lane in Louisville, Kentucky, as the \"Iraq and Afghanistan Fallen Military Heroes of<br>Louisville Memorial Post Office Building\", in honor of the servicemen and women from<br>Louisville, Kentucky, who died in service during Operation Enduring Freedom and Operation<br>Iraqi Freedom.","HR4454","Designates the facility of the United States Postal Service located at 3050 Hunsinger Lane<br>in Louisville, Kentucky, as the \"Iraq and Afghanistan Fallen Military Heroes of Louisville<br>Memorial Post Office Building.\""],["To authorize the Secretary of the Interior to lease certain lands in Virgin Islands<br>National Park, and for other purposes.","HR1143","Authorizes the Secretary of the Interior to enter into a lease with CBI Acquisitions, LLC,<br>governing the use of property for the continued management and operation of the Caneel Bay<br>Resort on the island of St. John in Virgin Islands National Park. Requires any lease<br>entered into pursuant to this Act to include the property covered by the retained use<br>estate entered into by the Jackson Hole Preserve and the United States on September 30,<br>1983, (the RUE) and any associated property owned by CBI..."],["To direct the Secretary of the Interior to convey the Alta-Hualapai Site to the city of<br>Las Vegas, Nevada, for the development of a cancer treatment facility.","HR1311","Nevada Cancer Institute Expansion Act - Authorizes the Secretary of the Interior, acting<br>through the Director of the Bureau of Land Management (BLM), to accept the relinquishment<br>of all or part of the Alta-Hualapai Site by the city of Las Vegas, Nevada. Directs the<br>Secretary, after relinquishment of all or part of the Alta-Hualapai Site, to convey to the<br>Nevada Cancer Institute (the Institute) in Las Vegas, the part of the Site that is<br>necessary for the development of a nonprofit cancer insti..."],["Providing for consideration of the bill (H.R. 1424) to amend section 712 of the Employee<br>Retirement Income Security Act of 1974, section 2705 of the Public Health Service Act, and<br>section 9812 of the Internal Revenue Code of 1986 to require equity in the provision of<br>mental health and substance-related disorder benefits under group health plans.","HRES1014","Sets forth the rule for consideration of H.R. 1424 (Paul Wellstone Mental Health and<br>Addiction Equity Act of 2007)."],["Expressing the sense of Congress that Earl Lloyd should be recognized and honored for<br>breaking the color barrier and becoming the first African American to play in the National<br>Basketball Association League 58 years ago.","HCONRES286","Calls for recognition of Earl Lloyd for breaking the color barrier and becoming the first<br>African-American to play in the National Basketball Association League 58 years ago."],["To amend section 712 of the Employee Retirement Income Security Act of 1974, section 2705<br>of the Public Health Service Act, and section 9812 of the Internal Revenue Code of 1986 to<br>require equity in the provision of mental health and substance-related disorder benefits<br>under group health plans.","HR1424","Division A: Emergency Economic Stabilization - Emergency Economic Stabilization Act of<br>2008 - Title I: Troubled Assets Relief Program - (Sec. 101) Authorizes the Secretary of<br>the Treasury (Secretary) to establish the Troubled Asset Relief Program (TARP) to purchase<br>troubled assets from any financial institution, in accordance with terms, conditions,<br>policies, and procedures the Secretary develops.Directs the Secretary to establish within<br>the Office of Domestic Finance of the Department of the..."],["Providing for consideration of the bill (H.R. 2857) to reauthorize and reform the national<br>service laws.","HRES1015","Sets forth the rule for consideration of H.R. 2857 (Generations Invigorating Volunteerism<br>and Education Act)."],["To reauthorize and reform the national service laws.","HR2857","Generations Invigorating Volunteerism and Education Act, or the GIVE Act - Amends the<br>National and Community Service Act of 1990 (NCSA) and the Domestic Volunteer Service Act<br>of 1973 (DVSA) to revise their programs and reauthorize appropriations for them through<br>FY2012. Title I: Amendments to National and Community Service Act of 1990 - Revises under<br>the NSCA: (1) the School-Based and Community-Based Service-Learning programs and Higher<br>Education Innovative Programs for Community Service, als..."],["Expressing support for the designation and goals of \"National 9-1-1 Education Month\", and<br>for other purposes.","HRES537","Supports the designation and goals of \"National 9-1-1 Education Month.\" Requests that the<br>President issue a proclamation designating such a month and calling for appropriate<br>ceremonies, training events, and activities."],["To designate the facility of the United States Postal Service located at 20 Sussex Street<br>in Port Jervis, New York, as the \"E. Arthur Gray Post Office Building\".","HR3196","Designates the facility of the United States Postal Service located at 20 Sussex Street in<br>Port Jervis, New York, as the \"E. Arthur Gray Post Office Building.\""],["To designate the facility of the United States Postal Service located at 701 East Copeland<br>Drive in Lebanon, Missouri, as the \"Steve W. Allee Carrier Annex\".","HR4166","Designates the facility of the United States Postal Service located at 701 East Copeland<br>Drive in Lebanon, Missouri, as the \"Steve W. Allee Carrier Annex.\""],["Congratulating Iowa State University of Science and Technology for 150 years of leadership<br>and service to the United States and the world as Iowa's land-grant university.","HRES924","Congratulates Iowa State University of Science and Technology on its 150 years of<br>outstanding service to the state of Iowa, the United States, and the world in fulfilling<br>its mission as a land-grant university. Thanks the state of Iowa for its visionary<br>leadership in the beginning of the land-grant movement in the United States of America."],["Congratulating the University of Kansas (\"KU\") football team for winning the 2008 FedEx<br>Orange Bowl and having the most successful year in program history.","HRES948","Congratulates the University of Kansas football team for winning the 2008 FedEx Orange<br>Bowl and for having the most successful year in program history."],["Providing for the adoption of the resolution (H. Res. 895) establishing within the House<br>of Representatives an Office of Congressional Ethics, and for other purposes.","HRES1031","Adopts H.Res. 895 (establishing within the House of Representatives an Office of<br>Congressional Ethics), as amended by the amendment printed in the report of the Committee<br>on Rules."],["Providing for consideration of the concurrent resolution (H. Con. Res. 312) revising the<br>congressional budget for the United States Government for fiscal year 2008, establishing<br>the congressional budget for the United States Government for fiscal year 2009, and<br>setting forth appropriate budgetary levels for fiscal years 2010 through 2013.","HRES1036","Sets forth the rule for consideration of H.Con.Res. 312 (congressional budget)."],["To reauthorize and reform the national service laws.","HR5563","Generations Invigorating Volunteerism and Education Act, or the GIVE Act - Amends the<br>National and Community Service Act of 1990 (NSCA) and the Domestic Volunteer Service Act<br>of 1973 (DVSA) to revise the programs under such Acts and reauthorize appropriations for<br>such programs through FY2012. Revises under NSCA: (1) the School-Based and Community-Based<br>Service-Learning programs and Higher Education Innovative Programs for Community Service<br>(Learn and Serve programs); (2) National Service Trus..."],["Providing for an adjournment or recess of the two Houses.","HCONRES316","Declares that, when the House adjourns on the legislative day of Thursday, March 13, 2008,<br>or Friday, March 14, 2008, it stand adjourned until 2 p.m. on Monday, March 31, 2008.<br>Declares that, when the Senate recesses or adjourns on any day from Thursday, March 13,<br>2008, through Friday, March 28, 2008, it stand recessed or adjourned until noon on Monday,<br>March 31, 2008."],["Honoring the 200th anniversary of the Gallatin Report on Roads and Canals, celebrating the<br>national unity the Gallatin Report engendered, and recognizing the vast contributions that<br>national planning efforts have provided to the United States.","HRES936","Reaffirms the goals and ideals that formed the impetus for Albert Gallatin's national plan<br>for transportation improvements 200 years ago.Calls on the federal government, states,<br>localities, schools, nonprofit organizations, businesses, and U.S. citizens to mark the<br>200th anniversary of such plan by recalling the legacy of public investment in<br>infrastructure, which connects and enhances the economies, communications, and communities<br>of the states.Expresses support for the creation of a new nat..."],["A bill to temporarily extend the programs under the Higher Education Act of 1965.","S2733","Higher Education Extension Act of 2008 - Amends the Higher Education Extension Act of 2005<br>to extend the programs under the Higher Education Act of 1965 through April 30, 2008."],["Revising the congressional budget for the United States Government for fiscal year 2008,<br>establishing the congressional budget for the United States Government for fiscal year<br>2009, and setting forth appropriate budgetary levels for fiscal years 2010 through 2013.","HCONRES312","Revises and replaces the congressional budget for the federal government for FY2008. Sets<br>forth the congressional budget for the federal government for FY2009, including the<br>appropriate budgetary levels for FY2010-FY2013. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Recommends budgetary levels and amounts for FY2008-FY2013 for: (1) federal<br>revenues; (2) new budget authority; (3) budget outlays; (4) deficits (on-budget); (5) debt<br>subject to limit; and (6) debt held by the public. (Sec...."],["Recognizing the exceptional sacrifice of the 69th Infantry Regiment, known as the Fighting<br>69th, in support of the Global War on Terror.","HRES991","Recognizes the 69th Infantry Regiment, or the Fighting 69th, as one of the great regiments<br>in American military history that has continually participated in the Global War on Terror<br>since the attack on September 11, 2001, as it deploys to Afghanistan."],["Providing for consideration of the Senate amendment to the bill (H.R. 3773) to amend the<br>Foreign Intelligence Surveillance Act of 1978 to establish a procedure for authorizing<br>certain acquisitions of foreign intelligence, and for other purposes.","HRES1041","Sets forth the rule for consideration of H.R. 3773 (Responsible Electronic Surveillance<br>That is Overseen, Reviewed, and Effective Act of 2007 or RESTORE Act of 2007)."],["To provide for the conveyance of approximately 140 acres of land in the Ouachita National<br>Forest in Oklahoma to the Indian Nations Council, Inc., of the Boy Scouts of America, and<br>for other purposes.","HR2675","Help to Access Land for the Education of Scouts or HALE Scouts Act - Requires the<br>conveyance of specified National Forest System land in the Ouachita National Forest in<br>Oklahoma to the Indian Nations Council, Inc., of the Boy Scouts of America. Excludes from<br>such conveyance the inclusion of any land within the Indian Nations National Scenic and<br>Wildlife Area designated under the Winding Stair Mountain National Recreation and<br>Wilderness Area Act. Requires the Council, as consideration for such..."],["Expressing support for a national day of remembrance for Harriet Ross Tubman.","HCONRES310","Supports the designation of a national day of remembrance for Harriet Ross Tubman."],["Supporting the goals, ideals, and history of National Women's History Month.","HRES1021","Supports the goals and ideals of National Women's History Month (March 2008). Recognizes<br>and honors the women and organizations in the United States that have fought for and<br>continue to promote the teaching of women's history."],["Providing for consideration of the bill (H.R. 5501) to authorize appropriations for fiscal<br>years 2009 through 2013 to provide assistance to foreign countries to combat HIV/AIDS,<br>tuberculosis, and malaria, and for other purposes.","HRES1065","Sets forth the rule for consideration of H.R. 5501 (Tom Lantos and Henry J. Hyde United<br>States Global Leadership Against HIV/AIDS, Tuberculosis, and Malaria Reauthorization Act<br>of 2008)."],["To authorize appropriations for fiscal years 2009 through 2013 to provide assistance to<br>foreign countries to combat HIV/AIDS, tuberculosis, and malaria, and for other purposes.","HR5501","Tom Lantos and Henry J. Hyde United States Global Leadership Against HIV/AIDS,<br>Tuberculosis, and Malaria Reauthorization Act of 2008 - Title I: Policy Planning and<br>Coordination - (Sec. 101) Amends the United States Leadership Against HIV/AIDS,<br>Tuberculosis, and Malaria Act of 2003 (Act) to revise the provisions of the President's<br>comprehensive five-year global strategy (and related report) to combat HIV/AIDS.Directs<br>the Coordinator of United States Government Activities to Combat HIV/AIDS Glo..."],["To reauthorize the United States Fire Administration, and for other purposes.","HR4847","United States Fire Administration Reauthorization Act of 2008 - (Sec. 3) Amends the<br>Federal Fire Prevention and Control Act of 1974 to authorize appropriations for the U.S.<br>Fire Administration (USFA) for FY2009-FY2012. (Sec. 4) Authorizes the Superintendent of<br>the National Academy for Fire Prevention and Control to include within fire service<br>personnel training: (1) response, tactics, and strategies for dealing with non-terrorist-<br>caused national catastrophes and incidents that involve weapons..."],["Congratulating the Army Reserve on its centennial, which will be formally celebrated on<br>April 23, 2008, and commemorating the historic contributions of its veterans and<br>continuing contributions of its soldiers to the vital national security interests and<br>homeland defense missions of the United States.","HJRES70","Congratulates the Army Reserve on the occasion of the 100th anniversary of the enactment<br>of its original authorizing law on April 23, 1908. Recognizes and commends the Army<br>Reserve for the service of its past and present citizen-soldiers whose personal courage,<br>contributions, and sacrifices have helped preserve the freedom and advance the national<br>security and homeland defense of the United States. Extends gratitude to the veterans,<br>soldiers, families, and employers who have supported the Arm..."],["To amend the Public Health Service Act to provide a means for continued improvement in<br>emergency medical services for children.","HR2464","Wakefield Act - Amends the Public Health Service Act to extend by one year the length of<br>time for which a grant may be awarded under the emergency medical services for children<br>grant program, which allows the Secretary of Health and Human Services to make grants to<br>states or schools of medicine to support projects to expand and improve emergency medical<br>services for children who need treatment for trauma or critical care. Reauthorizes<br>appropriations for such grant program for FY2009-FY2013. S..."],["Providing for consideration of the bill (H.R. 2016) to establish the National Landscape<br>Conservation System, and for other purposes.","HRES1084","Sets forth the rule for consideration of H.R. 2016 (National Landscape Conservation System<br>Act)."],["Calling on the Government of the People's Republic of China to end its crackdown in Tibet<br>and enter into a substantive dialogue with His Holiness the Dalai Lama to find a<br>negotiated solution that respects the distinctive language, culture, religious identity,<br>and fundamental freedoms of all Tibetans, and for other purposes.","HRES1077","Calls on the government of the People's Republic of China (PRC) to: (1) end its crackdown<br>on nonviolent Tibetan protesters and its continuing cultural, religious, economic, and<br>linguistic repression inside Tibet; (2) begin a dialogue with His Holiness the Dalai Lama<br>to address the legitimate grievances of the Tibetan people and provide for a long-term<br>solution in Tibet; and (3) release all Tibetans who are imprisoned for nonviolently<br>opposing Chinese government policies in Tibet. Calls on the..."],["To establish the National Landscape Conservation System, and for other purposes.","HR2016","National Landscape Conservation System Act - Establishes in the Bureau of Land Management<br>(BLM) the National Landscape Conservation System (thus, enacting into law the National<br>Landscape Conservation System [NLCS] created by BLM in 2000) in order to conserve,<br>protect, and restore nationally significant landscapes that have outstanding cultural,<br>ecological, and scientific values for the benefit of current and future generations.<br>Requires that the NLCS include each of the following areas admini..."],["To designate the facility of the United States Postal Service located at 2650 Dr. Martin<br>Luther King Jr. Street, Indianapolis, Indiana, as the \"Julia M. Carson Post Office<br>Building\".","HR5472","Designates the facility of the United States Postal Service located at 2650 Dr. Martin<br>Luther King Jr. Street, Indianapolis, Indiana, as the \"Julia M. Carson Post Office<br>Building.\""],["Providing for consideration of the bill (H.R. 2537) to amend the Federal Water Pollution<br>Control Act relating to beach monitoring, and for other purposes.","HRES1083","Sets forth the rule for consideration of H.R. 2537 (Beach Protection Act of 2007)."],["Recognizing the fifth anniversary of the Department of Homeland Security and honoring the<br>Department's employees for their extraordinary efforts and contributions to protect and<br>secure our Nation.","HRES1038","Recognizes the fifth anniversary of the Department of Homeland Security (DHS). Honors<br>DHS's dedicated public servants for their extraordinary service in helping preserve the<br>safety and security of the American people."],["Relating to the consideration of the bill (H.R. 5724) to implement the United States-<br>Colombia Trade Promotion Agreement.","HRES1092","Declares that the House committee and floor consideration requirements of the Trade Act of<br>1974 for automatic discharge from committee of an implementing bill after a specified<br>period of time, a vote on final passage after 15 days from report or discharge, and the<br>highly privileged and non-debatable character of a motion to proceed to consideration of<br>the bill shall not apply in the case of H.R. 5724, a bill to implement the United States-<br>Colombia Trade Promotion Agreement."],["To amend the Federal Water Pollution Control Act relating to beach monitoring, and for<br>other purposes.","HR2537","Beach Protection Act of 2008 - (Sec. 2) Amends the Federal Water Pollution Control Act<br>(commonly known as the Clean Water Act) to authorize states or local governments, in<br>carrying out coastal recreation water quality monitoring and notification programs, to<br>develop and implement a coastal recreation waters pollution source identification and<br>tracking program for waters adjacent to beaches or similar points of access that are used<br>by the public and that are not meeting applicable water qualit..."],["To enhance citizen access to Government information and services by establishing plain<br>language as the standard style for Government documents issued to the public, and for<br>other purposes.","HR3548","Plain Language in Government Communications Act of 2008 - (Sec. 4) Requires each executive<br>agency, within one year, to: (1) use plain language in any covered document issued or<br>substantially revised after the date of the enactment of this Act; and (2) use the English<br>language in covered documents when appropriate. Authorizes agencies to: (1) use plain<br>language in any revision of a covered document issued on or before such date; and (2)<br>follow the guidance of the Plain English Handbook publish..."],["Providing for consideration of the bill (H.R. 5719) to amend the Internal Revenue Code of<br>1986 to conform return preparer penalty standards, delay implementation of withholding<br>taxes on government contractors, enhance taxpayer protections, assist low-income<br>taxpayers, and for other purposes.","HRES1102","Sets forth the rule for consideration of H.R. 5719 (Taxpayer Assistance and Simplification<br>Act of 2008)."],["To direct the Administrator of General Services to reimburse certain jurisdictions for the<br>costs of obtaining paper ballot voting systems for the general elections for Federal<br>office to be held in November 2008, to reimburse jurisdictions for the costs incurred in<br>conducting audits or hand counting of the results of the general elections for Federal<br>office to be held in November 2008, and for other purposes.","HR5036","Emergency Assistance for Secure Elections Act of 2008 - Directs the Election Assistance<br>Commission to reimburse certain jurisdictions for the costs of: (1) converting from<br>electronic or other voting systems to paper ballot voting systems for the general<br>elections for federal office to be held in November 2008; (2) retrofitting direct<br>recording electronic voting systems to produce voter verifiable paper records; and (3)<br>providing backup paper ballots if the jurisdiction uses a direct recording..."],["To amend the Internal Revenue Code of 1986 to conform return preparer penalty standards,<br>delay implementation of withholding taxes on government contractors, enhance taxpayer<br>protections, assist low-income taxpayers, and for other purposes.","HR5719","Taxpayer Assistance and Simplification Act of 2008 - (Sec. 2) Amends the Internal Revenue<br>Code to modify the standards for imposing penalties on tax return preparers for<br>understatements of tax to require: (1) substantial authority for a position with respect<br>to an item on a tax return if such position was not disclosed with the return; and (2) a<br>reasonable basis for a position that was disclosed with the return. Requires tax return<br>preparers to have a reasonable belief that a position with re..."],["Providing for consideration of the bill (H.R. 2634) to provide for greater responsibility<br>in lending and expanded cancellation of debts owed to the United States and the<br>international financial institutions by low-income countries, and for other purposes.","HRES1103","Sets forth the rule for consideration of H.R. 2634 (Jubilee Act for Responsible Lending<br>and Expanded Debt Cancellation of 2008)."],["Providing for consideration of the bill (H.R. 5715) to ensure continued availability of<br>access to the Federal student loan program for students and families.","HRES1107","Sets forth the rule for consideration of H.R. 5715 (Ensuring Continued Access to Student<br>Loans Act of 2008)."],["To provide for greater responsibility in lending and expanded cancellation of debts owed<br>to the United States and the international financial institutions by low-income countries,<br>and for other purposes.","HR2634","Jubilee Act for Responsible Lending and Expanded Debt Cancellation of 2008 - (Sec. 3)<br>Amends the International Financial Institutions Act to direct the Secretary of the<br>Treasury, within the Paris Club of Official Creditors, the International Monetary Fund<br>(IMF), the International Bank for Reconstruction and Development (World Bank), and other<br>defined international financial institutions, to negotiate an agreement to accomplish the<br>following: (1) debt cancellation of eligible low-income countr..."],["To ensure continued availability of access to the Federal student loan program for<br>students and families.","HR5715","Ensuring Continued Access to Student Loans Act of 2008 - (Sec. 2) Amends the Higher<br>Education Act of 1965 to increase, by $2,000, the maximum annual unsubsidized Stafford<br>loan amounts that may be provided to undergraduate students under the Federal Family<br>Education Loan (FFEL) program. Sets the aggregate limit on such loans at $31,000 for<br>dependent undergraduates and $57,500 for independent undergraduates. (Sec. 3) Gives parent<br>borrowers of PLUS FFELs the option to defer loan principal repaym..."],["Expressing support for the designation of the month of April 2008, as National Child Abuse<br>Prevention Month to provide attention to the tragic circumstances that face some of our<br>Nation's children on a daily basis and to underscore our commitment to preventing child<br>abuse and neglect so that all children can live in safety and security.","HRES1097","Expresses support for the designation of April 2008 as National Child Abuse Prevention<br>Month."],["Recognizing March 6, 2008, as the first-ever World Glaucoma Day, established to increase<br>awareness of glaucoma, which is the second leading cause of preventable blindness in the<br>United States and worldwide.","HRES981","Recognizes the first-ever World Glaucoma Day. Expresses support for the efforts of the<br>National Institutes of Health's (NIH) National Eye Institute to continue research on the<br>causes of glaucoma. Congratulates the American Glaucoma Society for its efforts to expand<br>awareness of the prevalence and economic burden of glaucoma."],["To designate as wilderness additional National Forest System lands in the Monongahela<br>National Forest in the State of West Virginia, and for other purposes.","HR5151","Wild Monongahela Act: A National Legacy for West Virginia's Special Places - Designates<br>specified federal lands in the Monongahela National Forest, West Virginia, as wilderness<br>and as either a new component, or as an addition to an existing component, of the National<br>Wilderness Preservation System. Allows the Secretary of Agriculture to continue to<br>authorize the competitive running event permitted from 2003 through 2007 in the vicinity<br>of the boundaries of the Dolly Sods Wilderness addition a..."],["To extend certain moratoria and impose additional moratoria on certain Medicaid<br>regulations through April 1, 2009.","HR5613","Protecting the Medicaid Safety Net Act of 2008 - (Sec. 2) Amends the U.S. Troop Readiness,<br>Veterans' Care, Katrina Recovery, and Iraq Accountability Appropriations Appropriations<br>Act, 2007 to extend until April 1, 2009, the moratorium on implementation of a proposed<br>rule (\"Medicaid Program; Cost Limit for Providers Operated by Units of Government and<br>Provisions To Ensure the Integrity of Federal-State Financial Partnership\") relating to<br>the federal-state financial partnerships under titles XI..."],["Recognizing the 60th anniversary of the founding of the modern State of Israel and<br>reaffirming the bonds of close friendship and cooperation between the United States and<br>Israel.","HCONRES322","Recognizes the historic significance of the 60th anniversary of the reestablishment of the<br>State of Israel as a homeland for the Jewish people. Reaffirms: (1) the bonds of<br>friendship and cooperation which have existed between the United States and Israel for the<br>past 60 years and commits to strengthening those bonds; and (2) support for Israel's right<br>to defend itself against threats to its security and existence. Commends the people of<br>Israel for their achievements in building a new state an..."],["Providing for consideration of the bill (H.R. 5819) to amend the Small Business Act to<br>improve the Small Business Innovation Research (SBIR) program and the Small Business<br>Technology Transfer (STTR) program, and for other purposes.","HRES1125","Sets forth the rule for consideration of the bill (H.R. 5819) to amend the Small Business<br>Act to improve the Small Business Innovation Research (SBIR) program and the Small<br>Business Technology Transfer (STTR) program."],["To amend the Small Business Act to improve the Small Business Innovation Research (SBIR)<br>program and the Small Business Technology Transfer (STTR) program, and for other purposes.","HR5819","SBIR/STTR Reauthorization Act - Title I: Modernizing the SBIR and STTR Programs - (Sec.<br>101) Amends the Small Business Act to extend through FY2010 (currently scheduled to expire<br>at the end of FY2008) the Small Business Innovation Research (SBIR) and Small Business<br>Technology Transfer (STTR) programs of the Small Business Administration (SBA). (Sec. 102)<br>Increases, for both the SBIR and STTR programs, the individual small business award levels<br>from: (1) $100,000 to $300,000, for participation..."],["Providing for the consideration of the bill (H.R. 2830) to authorize appropriations for<br>the Coast Guard for fiscal year 2008, and for other purposes.","HRES1126","Sets forth the rule for consideration of H.R. 2830 to authorize appropriations for the<br>Coast Guard for fiscal year 2008, and for other purposes."],["To authorize appropriations for the Coast Guard for fiscal year 2008, and for other<br>purposes.","HR2830","Division A: Coast Guard Authorization Act of 2008 - Coast Guard Authorization Act of 2008<br>- Title I: Authorization - (Sec. 101) Authorizes appropriations for FY2008 for the Coast<br>Guard for: (1) Coast Guard operation and maintenance, with a portion to be derived from<br>the Oil Spill Liability Trust Fund for certain purposes under the Oil Pollution Act of<br>1990 (OPA purposes); (2) acquisition, construction, rebuilding, and improvement of aids to<br>navigation, shore and offshore facilities, vessels, ..."],["Supporting the goals and ideals of Financial Literacy Month 2008, and for other purposes.","HRES1079","Supports the goals and ideals of Financial Literacy Month (April 2008), including raising<br>public awareness about financial education.Recognizes the importance of managing personal<br>finances, increasing personal savings, and reducing indebtedness in the United States."],["To amend the Federal Financial Institutions Examination Council Act to require the Council<br>to establish a single telephone number that consumers with complaints or inquiries could<br>call and be routed to the appropriate Federal banking agency or State bank supervisor, and<br>for other purposes.","HR4332","Financial Consumer Hotline Act of 2007 - Amends the Federal Financial Institutions<br>Examination Council Act of 1978 to require federal financial institution regulatory<br>agencies, coordinating through the Federal Financial Institutions Examination Council, to<br>establish: (1) a single, toll-free telephone number for consumer complaints and inquiries<br>concerning institutions under their jurisdiction; and (2) a system for routing such calls<br>to the federal financial institution regulatory agency that ..."],["A bill to authorize certain programs and activities in the Department of the Interior, the<br>Forest Service, and the Department of Energy, to implement further the Act approving the<br>Covenant to Establish a Commonwealth of the Northern Mariana Islands in Political Union<br>with the United States of America, to amend the Compact of Free Association Amendments Act<br>of 2003, and for other purposes.","S2739","Consolidated Natural Resources Act of 2008 - Title I: Forest Service Authorizations -<br>(Sec. 101) Designates certain lands in the Skykomish River Valley, Washington, as the Wild<br>Sky Wilderness, to be managed by the Secretary of Agriculture. Directs the Secretary to<br>establish a trail plan. Authorizes the use of helicopter access to construct and maintain<br>a joint Forest Service and Snohomish County telecommunications repeater site to provide<br>improved communications for safety, health, and emerge..."],["Providing for consideration of the bill (H.R. 5522) to require the Secretary of Labor to<br>issue interim and final occupational safety and health standards regarding worker exposure<br>to combustible dust, and for other purposes.","HRES1157","Sets forth the rule for consideration of the bill (H.R. 5522) to require the Secretary of<br>Labor to issue interim and final occupational safety and health standards regarding worker<br>exposure to combustible dust."],["To amend the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy<br>for Users to make technical corrections, and for other purposes.","HR1195","SAFETEA-LU Technical Corrections Act of 2008 - Title I: Highway Provisions - (Sec. 101)<br>Amends the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy for<br>Users or SAFETEA-LU to make certain revisions and technical corrections to the surface<br>transportation program, including earmarking of public lands highway funds for forest<br>roads, defining \"transportation systems management and operations,\" replacing \"federal-aid<br>system\" with \"federal-aid highways\" in apportionment of..."],["To require the Secretary of Labor to issue interim and final occupational safety and<br>health standards regarding worker exposure to combustible dust, and for other purposes.","HR5522","Worker Protection Against Combustible Dust Explosions and Fires Act of 2008 - (Sec. 3)<br>Requires the Secretary of Labor, within 90 days, to promulgate an interim final standard<br>regulating combustible dusts, which shall apply to manufacturing, processing, blending,<br>conveying, repackaging, and handling of combustible particulate solids and their dusts<br>(including organic dusts, plastics, sulfur, wood, rubber, furniture, textiles, pesticides,<br>pharmaceuticals, fibers, dyes, coal, metals, and fossil..."],["Providing for consideration of motions to suspend the rules.","HRES1167","Makes it in order at any time on the legislative day of Thursday, May 1, 2008, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules relating to the following measures: (1) H.R. 5715 (Ensuring Continued Access to<br>Student Loans Act of 2008); (2) H.R. 493 (Genetic Information Nondiscrimination Act of<br>2008); and (3) a bill to provide for a temporary extension of programs authorized by the<br>Farm Security and Rural Investment Act of 2002."],["Authorizing the use of the Capitol Grounds for the National Peace Officers' Memorial<br>Service.","HCONRES308","Permits the Grand Lodge of the Fraternal Order of Police and its auxiliary to sponsor a<br>free public event, the 27th annual National Peace Officers' Memorial Service, on the<br>Capitol grounds on May 15, 2008, to honor the law enforcement officers who died in the<br>line of duty during 2007."],["Expressing the sense of the House of Representatives that there should be established a<br>National Teacher Day to honor and celebrate teachers in the United States.","HRES952","Expresses the sense of the House of Representatives that a National Teacher Day should be<br>established to honor and celebrate teachers."],["Condemning the Burmese regime's undemocratic constitution and scheduled referendum.","HCONRES317","Denounces the undemocratic and illegitimate actions of the State Peace and Development<br>Council (SPDC) in Burma that seek to legitimize military rule through a flawed referendum<br>process and an undemocratic constitution. Demands the release of Daw Aung San Suu Kyi,<br>detained Buddhist monks, and all other political prisoners and prisoners of conscience.<br>Denounces the SPDC for its failure to comply with U.N. recommendations and engage in tri-<br>partite dialogue with Daw Aung San Suu Kyi, the 1990 ele..."],["Honoring the memory of Dith Pran by remembering his life's work and continuing to<br>acknowledge and remember the victims of genocides that have taken place around the globe.","HRES1109","Honors the life and legacy of Dith Pran: (1) for his commitment to raising awareness about<br>the atrocities that took place under the Khmer Rouge in Cambodia; and (2) by remembering<br>his life's work and continuing to acknowledge and remember the victims of genocides that<br>have taken place around the world."],["A bill to temporarily extend the programs under the Higher Education Act of 1965.","S2929","Amends the Higher Education Extension Act of 2005 to extend the programs under the Higher<br>Education Act of 1965 through May 31, 2008. Provides that this extension shall take effect<br>as if enacted on April 30, 2008."],["Honoring the recipients of the El Dorado Promise scholarship.","HRES1155","Congratulates the recipients of the El Dorado Promise scholarship for choosing to further<br>their education. Acknowledges the importance of the El Dorado Promise scholarship program<br>in revitalizing southern Arkansas. Recognizes the organizations and corporation (Murphy<br>Oil Corporation) involved in the program for their efforts to ensure that all eligible<br>high school graduates of the El Dorado Public School District in El Dorado, Arkansas, are<br>able to attend college."],["Expressing the sense of the House of Representatives regarding provocative and dangerous<br>statements and actions taken by the Government of the Russian Federation that undermine<br>the territorial integrity of the Republic of Georgia.","HRES1166","Condemns recent decisions by the government of the Russian Federation to establish<br>official ties with the regions of Abkhazia and South Ossetia, a process that impedes<br>reconciliation between those regions and the government of the Republic of Georgia and<br>that violates Georgia's sovereignty and Russia's commitments to international<br>peacekeeping. Calls upon the government of the Russian Federation to revoke its decision<br>to establish official ties with the regions of Abkhazia and South Ossetia. ..."],["To facilitate the preservation of certain affordable housing dwelling units.","HR5937","Authorizes the Secretary of Housing and Urban Development (HUD), upon request of the owner<br>of a multifamily housing project to which specified contracts are subject, to: (1) convert<br>such contracts to a contract for project-based rental assistance under section 8 of the<br>United States Housing Act of 1937; and (2) treat the contemplated resulting contract as<br>eligible for initial renewal under the Multifamily Assisted Housing Reform and<br>Affordability Act of 1997, if certain conditions are met.Dee..."],["Providing for consideration of the Senate amendments to the bill (H.R. 3221) moving the<br>United States toward greater energy independence and security, developing innovative new<br>technologies, reducing carbon emissions, creating green jobs, protecting consumers,<br>increasing clean renewable energy production, and modernizing our energy infrastructure,<br>and to amend the Internal Revenue Code of 1986 to provide tax incentives for the<br>production of renewable energy and energy conservation.","HRES1175","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 3221)<br>moving the United States toward greater energy independence and security, developing<br>innovative new technologies, reducing carbon emissions, creating green jobs, protecting<br>consumers, increasing clean renewable energy production, and modernizing our energy<br>infrastructure, and to amend the Internal Revenue Code of 1986 to provide tax incentives<br>for the production of renewable energy and energy conservation."],["Providing for consideration of the bill (H.R. 5818) to authorize the Secretary of Housing<br>and Urban Development to make loans to States to acquire foreclosed housing and to make<br>grants to States for related costs.","HRES1174","Sets forth the rule for consideration of the bill (H.R. 5818) to authorize the Secretary<br>of Housing and Urban Development to make loans to States to acquire foreclosed housing and<br>to make grants to States for related costs."],["To authorize the Secretary of Housing and Urban Development to make loans to States to<br>acquire foreclosed housing and to make grants to States for related costs.","HR5818","Neighborhood Stabilization Act of 2008 - (Sec. 3) Directs the Secretary of Housing and<br>Urban Development (HUD) to make grants and loans to qualified states, metropolitan cities,<br>and urban counties, in accordance with HUD-approved plans, to carry out eligible housing<br>stimulus activities. Requires such program to be administered through HUD's Office of<br>Community Planning and Development (or any successor office responsible for administering<br>the community development block grant program under th..."],["To enhance remedies for violations of intellectual property laws, and for other purposes.","HR4279","Prioritizing Resources and Organization for Intellectual Property Act of 2008 - Title I:<br>Enhancements to Civil Intellectual Property Laws - (Sec. 101) Amends federal copyright law<br>to: (1) provide a safe harbor for copyright registrations that contain inaccurate<br>information, unless there was knowledge of the inaccurate information and the inaccuracy<br>of the information, if known, would have caused the Register of Copyrights to refuse<br>registration; (2) provide that copyright registration require..."],["Expressing condolences and sympathy to the people of Burma for the grave loss of life and<br>vast destruction caused by Cyclone Nargis.","HRES1181","Extends condolences to the people of Burma for the grave loss of life and vast destruction<br>caused by Cyclone Nargis, and vows full support with the people of Burma. Calls on<br>Americans to provide emergency assistance to cyclone victims in Burma through humanitarian<br>agencies. Calls for the Burmese military junta to consider the well-being of its people<br>and accept international assistance."],["To suspend the acquisition of petroleum for the Strategic Petroleum Reserve, and for other<br>purposes.","HR6022","Strategic Petroleum Reserve Fill Suspension and Consumer Protection Act of 2008 - Directs<br>the Secretary of the Interior to suspend petroleum acquisition for the Strategic Petroleum<br>Reserve (SPR) through the royalty-in-kind program during the period between enactment of<br>this Act and December 31, 2008.Instructs the Secretary of Energy to suspend petroleum<br>acquisition for the SPR through any acquisition method during such period.Authorizes both<br>Secretaries to resume acquisition during such perio..."],["To amend the Fair Credit Reporting Act to make technical corrections to the definition of<br>willful noncompliance with respect to violations involving the printing of an expiration<br>date on certain credit and debit card receipts before the date of the enactment of this<br>Act.","HR4008","Credit and Debit Card Receipt Clarification Act of 2007 - Amends the Fair Credit Reporting<br>Act (FCRA) to declare that any person who printed an expiration date on any receipt<br>provided to a consumer cardholder at a point of sale (POS) or transaction between December<br>4, 2004, and the enactment of this Act, but otherwise complied with FCRA requirements for<br>such receipt, shall not be in willful noncompliance by reason of printing such expiration<br>date on it."],["Providing for consideration of the conference report to accompany the bill (H.R. 2419) to<br>provide for the continuation of agricultural programs through fiscal year 2012, and for<br>other purposes.","HRES1189","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2419) to provide for the continuation of agricultural programs through fiscal year 2012."],["Supporting the goals and ideals of Mental Health Month.","HRES1134","Expresses support for: (1) the goals and ideals of Mental Health Month; and (2) the<br>findings of the President's Commission on Mental Health that the nation's failure to<br>prioritize mental health is a national tragedy.Recognizes that mental well-being is as<br>important as physical well-being for people, the economy, and the nation.Applauds the<br>coalescing of national and community organizations in working to promote public awareness<br>of mental health and in providing critical information and suppor..."],["Supporting the goals and ideals of National Train Day.","HRES1176","Recognizes the contribution trains make to the national transportation system. Supports<br>the goals and ideals of National Train Day. Urges the people of the United States to<br>recognize such a day as an opportunity to learn more about trains."],["Congratulating Winona State University on winning the 2008 Division II men's basketball<br>championships.","HRES1133","Congratulates the Winona State University Warriors for winning the 2008 National<br>Collegiate Athletic Association Division II men's Basketball National Championship."],["Providing for the adoption of the concurrent resolution (S. Con. Res. 70) setting forth<br>the congressional budget for the United States Government for fiscal year 2009 and<br>including the appropriate budgetary levels for fiscal years 2008 and 2010 through 2013.","HRES1190","Sets forth the rule for consideration of S.Con.Res. 70 (congressional budget)."],["Recognizing AmeriCorps Week.","HRES1173","Encourages all citizens to join in a national effort to salute AmeriCorps members and<br>alumni. Acknowledges the significant accomplishments of AmeriCorps members, alumni, and<br>community partners. Encourages citizens of all ages to consider serving in AmeriCorps."],["An original concurrent resolution setting forth the congressional budget for the United<br>States Government for fiscal year 2009 and including the appropriate budgetary levels for<br>fiscal years 2008 and 2010 through 2013.","SCONRES70","Sets forth the congressional budget for the federal government for FY2009, including the<br>appropriate budgetary levels for FY2008 and FY2010-FY2013. Title I: Recommended Levels and<br>Amounts - (Sec. 101) Lists recommended budgetary levels and amounts, for FY2008-FY2013,<br>with respect to: (1) federal revenues; (2) new budget authority; (3) budget outlays; (4)<br>deficits (on-budget); (5) debt subject to limit; and (6) debt held by the public. (Sec.<br>102) Lists the appropriate levels of new budget auth..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2642) making<br>appropriations for military construction, the Department of Veterans Affairs, and related<br>agencies for the fiscal year ending September 30, 2008, and for other purposes.","HRES1197","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2642)<br>making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2008."],["To posthumously award a Congressional Gold Medal to Alice Paul in recognition of her role<br>in the women's suffrage movement and in advancing equal rights for women.","HR406","Alice Paul Women's Suffrage Congressional Gold Medal Act - Requires the Speaker of the<br>House of Representatives and the President pro tempore of the Senate to make arrangements<br>for the presentation of a congressional gold medal in commemoration of Alice Paul, to<br>recognize her role in the women's suffrage movement and in advancing equal rights for<br>women. Requires that the medal be presented jointly to representatives of the Alice Paul<br>Institute and the Sewall-Belmont House, to be shared equall..."],["To amend the Internal Revenue Code of 1986 to provide benefits for military personnel, and<br>for other purposes.","HR6081","Heroes Earning Assistance and Relief Tax Act of 2008 -Amends the Internal Revenue Code to<br>provide tax benefits and incentives for military personnel.Title I: Benefits for Military<br>- (Sec 101) Exempts married taxpayers who file a joint tax return from the identification<br>requirement for the 2008 recovery tax rebate if at least one of the filers is a current<br>member of the Armed Forces.(Sec. 102) Makes permanent the election to treat combat zone<br>compensation as earned income for purposes of the e..."],["To amend the Sherman Act to make oil-producing and exporting cartels illegal and for other<br>purposes.","HR6074","Gas Price Relief for Consumers Act of 2008 - Title I: Amendment to Sherman Act - No Oil<br>Producing and Exporting Cartels Act of 2008 or NOPEC - (Sec. 102) Amends the Sherman Act<br>to make it illegal for any foreign state or instrumentality thereof to act collectively or<br>in combination with any other foreign state or any other person, when such action has a<br>direct, substantial, and reasonably foreseeable effect on the market, supply, price, or<br>distribution of petroleum in the United States, to: (..."],["Expressing support for designation of a \"Frank Sinatra Day\" on May 13, 2008, in honor of<br>the dedication of the Frank Sinatra commemorative stamp.","HRES1144","Expresses support for designation of a \"Frank Sinatra Day\" in honor of the dedication of<br>the Frank Sinatra commemorative stamp."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES355","Declares that, when: (1) the House adjourns on the legislative day of Thursday, May 22 or<br>23, 2008, it stand adjourned until 2 p.m. on Tuesday, June 3, 2008; and (2) the Senate<br>recesses or adjourns on any day from Thursday, May 22, 2008, through Friday, May 30, 2008,<br>it stand recessed or adjourned until noon on Monday, June 2, 2008."],["To assist in the conservation of rare felids and rare canids by supporting and providing<br>financial resources for the conservation programs of nations within the range of rare<br>felid and rare canid populations and projects of persons with demonstrated expertise in<br>the conservation of rare felid and rare canid populations.","HR1464","Great Cats and Rare Canids Act of 2008 - (Sec. 4) Directs the Secretary of the Interior to<br>provide assistance for projects for the conservation of rare felids and rare canids.<br>Authorizes the Secretary to convene an advisory group of individuals representing public<br>and private organizations actively involved in the conservation of felids and canids.<br>Restricts the use of grants for captive breeding or display purposes.(Sec. 5) Establishes<br>in the Multinational Species Conservation Fund as a sepa..."],["To amend the Family and Medical Leave Act of 1993 to clarify the eligibility requirements<br>with respect to airline flight crews.","HR2744","Airline Flight Crew Technical Corrections Act - Amends the Family and Medical Leave Act of<br>1993 with respect to hours-of-service requirement airline flight crews must meet to be<br>eligible for leave under such Act. Declares that a flight attendant or flight crewmember<br>will be considered to meet such requirement if he or she has worked or been paid for: (1)<br>60% of the applicable monthly guarantee, or the equivalent annualized over the preceding<br>12-month period; and (2) a minimum of 504 hours dur..."],["Providing for consideration of the bill (H.R. 6049) to amend the Internal Revenue Code of<br>1986 to provide incentives for energy production and conservation, to extend certain<br>expiring provisions, to provide individual income tax relief, and for other purposes.","HRES1212","Sets forth the rule for consideration of the bill (H.R. 6049) to amend the Internal<br>Revenue Code of 1986 to provide incentives for energy production and conservation, to<br>extend certain expiring provisions, to provide individual income tax relief."],["Providing for consideration of the bill (H.R. 5658) to authorize appropriations for fiscal<br>year 2009 for military activities of the Department of Defense, to prescribe military<br>personnel strengths for fiscal year 2009, and for other purposes.","HRES1213","Sets forth the rule for consideration of the bill (H.R. 5658) to authorize appropriations<br>for fiscal year 2009 for military activities of the Department of Defense, to prescribe<br>military personnel strengths for fiscal year 2009."],["Providing for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 70) setting forth the congressional budget for the United States<br>Government for fiscal year 2009 and including the appropriate budgetary levels for fiscal<br>years 2008 and 2010 through 2013.","HRES1214","Sets forth the rule for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 70) setting forth the congressional budget for the United States<br>Government for fiscal year 2009 and including the appropriate budgetary levels for fiscal<br>years 2008 and 2010 through 2013."],["To amend the Internal Revenue Code of 1986 to provide incentives for energy production and<br>conservation, to extend certain expiring provisions, to provide individual income tax<br>relief, and for other purposes.","HR6049","Energy Improvement and Extension Act of 2008 - Amends the Internal Revenue Code to extend<br>and modify expiring provisions related to energy production and conservation and to<br>provide for revenue enhancements.Title I: Energy Production Incentives - Subtitle A:<br>Renewable Energy Incentives - (Sec. 101) Extends the tax credit for the production of<br>electricity from renewable resources: (1) through 2009 for wind and refined coal<br>facilities; and (2) through 2010 for closed and open-loop biomass, geot..."],["To assist in the conservation of cranes by supporting and providing, through projects of<br>persons and organizations with expertise in crane conservation, financial resources for<br>the conservation programs of countries the activities of which directly or indirectly<br>affect cranes and the ecosystems of cranes.","HR1771","Crane Conservation Act of 2008 - Requires the Secretary of the Interior to provide<br>financial assistance for approved projects relating to the conservation of cranes, using<br>amounts in the Crane Conservation Fund established by this Act. Allows a project proposal<br>to be submitted by: (1) any wildlife management authority of a country located in the<br>African, Asian, European, or North American range of a species of crane that carries out<br>at least one activity that affects crane populations; (2) th..."],["To amend title 38, United States Code, to require the Secretary of Veterans Affairs to<br>reimburse veterans receiving emergency treatment in non-Department of Veterans Affairs<br>facilities for such treatment until such veterans are transferred to Department<br>facilities, and for other purposes.","HR3819","Veterans Emergency Care Fairness Act of 2008 - Requires (current law authorizes) the<br>Secretary of Veterans Affairs to reimburse certain veterans without a service-connected<br>disability enrolled as active participants of the Department of Veterans Affairs (VA)<br>health care plan for the cost of emergency treatment received in a non-VA facility until<br>such time as such veterans are transferred to a VA facility. Requires (current law<br>authorizes) the Secretary to reimburse certain veterans with a ser..."],["To increase, effective as of December 1, 2008, the rates of disability compensation for<br>veterans with service-connected disabilities and the rates of dependency and indemnity<br>compensation for survivors of certain service-connected disabled veterans, and for other<br>purposes.","HR5826","Veterans' Compensation Cost-of-Living Adjustment Act of 2008 - Directs the Secretary of<br>Veterans Affairs to increase, as of December 1, 2008, the rates of veterans' disability<br>compensation, additional compensation for dependents, the clothing allowance for certain<br>disabled adult children, and dependency and indemnity compensation for surviving spouses<br>and children. Requires each such increase to be the same percentage as the increase in<br>benefits provided under title II (Old Age, Survivors and..."],["To authorize major medical facility projects and major medical facility leases for the<br>Department of Veterans Affairs for fiscal year 2009, and for other purposes.","HR5856","Department of Veterans Affairs Medical Facility Authorization and Lease Act of 2008 -<br>Authorizes the Secretary of Veterans Affairs to carry out major medical facility projects<br>(projects) in FY2009 in: (1) Palo Alto, California; (2) San Antonio, Texas; and (3) San<br>Juan, Puerto Rico. Amends the Veterans Benefits, Health Care, and Information Technology<br>Act of 2006 to increase the amount authorized under such Act for: (1) all projects; and<br>(2) specified projects in Florida, Nevada, and Pennsylva..."],["To provide for the continuation of agricultural and other programs of the Department of<br>Agriculture through fiscal year 2012, and for other purposes.","HR6124","Food, Conservation, and Energy Act of 2008 - (Sec. 3) Deems the Joint Explanatory<br>Statement submitted by the Committee of Conference for the conference report to accompany<br>H.R. 2419 of the 110th Congress (House Report 110-627) to be part of the legislative<br>history of this Act and to have the same effect regarding implementation of this Act as it<br>would have had regarding implementation of H.R. 2419. (Sec. 4) Repeals P.L. 110-234 (H.R.<br>2419) and the amendments made by that Act, effective on the..."],["Reaffirming the support of the House of Representatives for the legitimate,<br>democratically-elected Government of Lebanon under Prime Minister Fouad Siniora.","HRES1194","Reaffirms support for the legitimate, democratically-elected government of Lebanon under<br>Prime Minister Fouad Siniora. Expresses sympathy to the people of Lebanon who have again<br>been thrust against their will into a Hizballah-initiated conflict. Condemns: (1)<br>Hizballah's illegitimate assault on Lebanon's sovereign government; and (2) Syria and Iran<br>for providing military support to Hizballah in violation of U.N. Security Council<br>Resolutions. Urges: (1) the U.S. government and the internationa..."],["To authorize appropriations for fiscal year 2009 for military activities of the Department<br>of Defense, to prescribe military personnel strengths for fiscal year 2009, and for other<br>purposes.","HR5658","Duncan Hunter National Defense Authorization Act for Fiscal Year 2009 - Division A:<br>Department of Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2009 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, and other procurement. (Sec. 104) Authorizes<br>appropriations for FY2009 for: (1) defense-wide procurement..."],["Supporting National Men's Health Week.","HCONRES138","Expresses support for the annual National Men's Health Week."],["Providing for consideration of the bill (H.R. 3021) to direct the Secretary of Education<br>to make grants and low-interest loans to local educational agencies for the construction,<br>modernization, or repair of public kindergarten, elementary, and secondary educational<br>facilities, and for other purposes.","HRES1234","Sets forth the rule for consideration of the bill (H.R. 3021) to direct the Secretary of<br>Education to make grants and low-interest loans to local educational agencies for the<br>construction, modernization, or repair of public kindergarten, elementary, and secondary<br>educational facilities."],["To amend the Public Health Service Act to provide additional authorizations of<br>appropriations for the health centers program under section 330 of such Act.","HR1343","Health Care Safety Net Act of 2008 - (Sec. 2) Amends the Public Health Service Act to<br>reauthorize appropriations for FY2008-FY2012 for health centers to meet the health care<br>needs of medically underserved populations. Requires the Comptroller General to study the<br>economic costs and benefits of school-based health centers and their impact on the health<br>of students, including an analysis of: (1) the impact that federal funding could have on<br>the operation of such centers; (2) any cost savings to..."],["To amend the Public Health Service Act to reauthorize the poison center national toll-free<br>number, national media campaign, and grant program to provide assistance for poison<br>prevention, sustain the funding of poison centers, and enhance the public health of people<br>of the United States.","HR5669","Poison Center Support, Enhancement, and Awareness Act of 2008 - Amends the Public Health<br>Service Act to require the Secretary of Health and Human Services to provide coordination<br>and assistance for the maintenance of the nationwide toll-free phone number to access<br>poison centers. Changes the name of poison control centers to poison centers.Requires the<br>Secretary to carry out and expand upon a national media campaign to educate the public and<br>health care providers about poison prevention and t..."],["To direct the Secretary of Education to make grants and low-interest loans to local<br>educational agencies for the construction, modernization, or repair of public<br>kindergarten, elementary, and secondary educational facilities, and for other purposes.","HR3021","21st Century Green High-Performing Public School Facilities Act - Title I: Grants for<br>Modernization, Renovation, or Repair of School Facilities - (Sec. 102) Requires the<br>Secretary of Education to make grants to states for the modernization, renovation, or<br>repair of public schools, including public charter schools, to make them safe, healthy,<br>high-performing, and technologically up-to-date. Allocates grant funds among states on the<br>basis of the relative portion of school improvement funds prov..."],["Providing for consideration of the bill (H.R. 5540) to amend the Chesapeake Bay Initiative<br>Act of 1998 to provide for the continuing authorization of the Chesapeake Bay Gateways and<br>Watertrails Network.","HRES1233","Sets forth the rule for consideration of the bill (H.R. 5540) to amend the Chesapeake Bay<br>Initiative Act of 1998 to provide for the continuing authorization of the Chesapeake Bay<br>Gateways and Watertrails Network."],["To authorize activities for support of nanotechnology research and development, and for<br>other purposes.","HR5940","National Nanotechnology Initiative Amendments Act of 2008 - (Sec. 2) Revises the 21st<br>Century Nanotechology Research and Development Act with regard to strategic plans<br>developed pursuant to the National Nanotechnology Program (the Program). Modifies annual<br>reporting requirements with regard to the Program. Requires agencies participating in the<br>Program to support the activities of committees involved in the setting of standards for<br>nanotechnology. Allows such agencies to reimburse the travel ..."],["To amend the Chesapeake Bay Initiative Act of 1998 to provide for the continuing<br>authorization of the Chesapeake Bay Gateways and Watertrails Network.","HR5540","Chesapeake Bay Gateways and Watertrails Network Continuing Authorization Act - Amends the<br>Chesapeake Bay Initiative Act of 1998 to make permanent the authorization of<br>appropriations for the Chesapeake Bay Gateways and Watertrails Network."],["To amend chapter 69 of title 31, United States Code, to provide full payments under such<br>chapter to units of general local government in which entitlement land is located, to<br>provide transitional payments during fiscal years 2008 through 2012 to those States and<br>counties previously entitled to payments under the Secure Rural Schools and Community<br>Self-Determination Act of 2000, and for other purposes.","HR3058","Public Land Communities Transition Act of 2007 - (Sec. 2) Authorizes appropriations for<br>FY2008-FY2011 for the making of payments to units of general local government in which<br>entitlement lands are located. Provides for 80% funding in FY2008, 90% funding in FY2009,<br>and the making of full payments in FY2010 and FY2011. (Sec. 3) Sets forth provisions for<br>the making of transition payments for FY2008-FY2011 to eligible states, U.S. territories,<br>and counties previously receiving payments under the ..."],["Expressing support for designation of June 2008 as \"National Safety Month\".","HRES1225","Expresses support for the designation of National Safety Month.Recognizes the<br>contributions of the National Safety Council and its ongoing commitment to raising<br>awareness about the need for the implementation of safe practices in our schools and jobs."],["Providing for consideration of the bill (H.R. 6003) to reauthorize Amtrak, and for other<br>purposes.","HRES1253","Sets forth the rule for consideration of the bill (H.R. 6003) to reauthorize Amtrak."],["To authorize law enforcement and security assistance, and assistance to enhance the rule<br>of law and strengthen civilian institutions, for Mexico and the countries of Central<br>America, and for other purposes.","HR6028","Merida Initiative to Combat Illicit Narcotics and Reduce Organized Crime Authorization Act<br>of 2008 - Title I: Assistance for Mexico - Subtitle A: Law Enforcement and Security<br>Assistance - (Sec. 112) Authorizes the President to provide assistance for Mexico for: (1)<br>counternarcotics and countertrafficking; (2) port, airport, and related security to assist<br>in controlling the Mexico-U.S. and Mexico-Central America borders; (3) intelligence<br>gathering operational technology; and (4) public securit..."],["Marking the 225th anniversary of the Treaty of Paris of 1783, which ended the<br>Revolutionary War with the Kingdom of Great Britain and recognized the independence of the<br>United States of America, and acknowledging the shared values and close friendship between<br>the peoples and governments of the United States and the United Kingdom of Great Britain<br>and Northern Ireland.","HRES1063","Marks the 225th anniversary of relations between the United States and the Kingdom of<br>Great Britain. Reaffirms the value of the deep friendship that has developed between our<br>two countries since the signing of the Treaty of Paris."],["Supporting the goals and ideals of the International Year of Sanitation.","HCONRES318","Supports the goals and ideals of the International Year of Sanitation. Recognizes the<br>importance of sanitation on public health, poverty reduction, economic and social<br>development, and the environment. Encourages the people of the United States to observe<br>the International Year of Sanitation with appropriate recognition and programs to<br>demonstrate the importance of sanitation and hygiene in achieving the Millennium<br>Development Goals, and to support developing countries in their efforts to ach..."],["Honoring the sacrifices and contributions made by disabled American veterans.","HCONRES336","Recognizes the sacrifices made by disabled veterans and their families. Calls on the<br>people of the United States and local, state, and national organizations and governmental<br>institutions to honor all disabled American veterans. Supports the goals and ideals of<br>Disabled American Veterans Week."],["To reauthorize Amtrak, and for other purposes.","HR6003","Passenger Rail Investment and Improvement Act of 2008 - Title I: Authorizations - (Sec.<br>101) Authorizes appropriations for FY2009-FY2013 for: (1) Amtrak capital and operating<br>grants, including capital grants to states, to the Amtrak Office of the Inspector General,<br>and for accessibility improvements and barrier removal for individuals with disabilities;<br>(2) Amtrak repayment of long-term debt and capital leases; and (3) the rail cooperative<br>research program. Authorizes appropriations for FY200..."],["Impeaching George W. Bush, President of the United States, of high crimes and<br>misdemeanors.","HRES1258","Impeaches President George W. Bush for high crimes and misdemeanors.Sets forth articles of<br>impeachment stating that President Bush, in violation of his oath of office: (1) illegally<br>spent public dollars on a secret propaganda program to manufacture a false cause for war<br>against Iraq; (2) misused intelligence reports to deceive Congress and the public about a<br>connection between Saddam Hussein and al Qaeda and the the terrorist attacks of September<br>11, 2001; (3) mislead Congress and the public ..."],["To provide for a program of emergency unemployment compensation.","HR5749","Emergency Extended Unemployment Compensation Act of 2008 - (Sec. 2) Authorizes a state to<br>enter into an agreement with the Secretary of Labor under which the state agency will make<br>emergency unemployment compensation payments to individuals who: (1) have exhausted all<br>rights to regular compensation under state or federal law with respect to a benefit year<br>ending on or after May 1, 2007; (2) have no rights to regular compensation or extended<br>compensation with respect to a week under such law o..."],["Expressing the sense of the House of Representatives that rebate checks would better<br>stimulate the economy if spent on American-made products and services from American-owned<br>companies.","HRES977","Encourages Americans to use their rebate checks from the stimulus package to purchase<br>American-made goods and services from American-owned companies."],["Providing for consideration of the bill (H.R. 6063) to authorize the programs of the<br>National Aeronautics and Space Administration, and for other purposes.","HRES1257","Sets forth the rule for consideration of the bill (H.R. 6063) to authorize the programs of<br>the National Aeronautics and Space Administration."],["Providing for consideration of the bill (H.R. 5749) to provide for a program of emergency<br>unemployment compensation.","HRES1265","Sets forth the rule for consideration of the bill (H.R. 5749) to provide for a program of<br>emergency unemployment compensation."],["A bill to authorize the Administrator of the Environmental Protection Agency to accept, as<br>part of a settlement, diesel emission reduction Supplemental Environmental Projects, and<br>for other purposes.","S2146","Authorizes the Administrator of the Environmental Protection Agency (EPA) to accept, as<br>part of a settlement of any alleged violations of environmental law, diesel emissions<br>reduction Supplemental Environmental Projects if the projects: (1) protect human health or<br>the environment; (2) are related to the underlying alleged violations; (3) do not<br>constitute activities that the defendant would otherwise be legally required to perform;<br>and (4) do not provide funds for EPA's staff or for contracto..."],["To amend the Lacey Act Amendments of 1981 to treat nonhuman primates as prohibited<br>wildlife species under that Act, to make corrections in the provisions relating to captive<br>wildlife offenses under that Act, and for other purposes.","HR2964","Captive Primate Safety Act - Amends the Lacey Act Amendments of 1981 to add nonhuman<br>primates (i.e., monkeys, great apes, lemurs, etc.) to the definition of \"prohibited<br>wildlife species\" for purposes of the prohibition against the sale or purchase of such<br>species in interstate or foreign commerce. Makes it unlawful for a person to sell or<br>purchase a live animal of any prohibited wildlife species in interstate or foreign<br>commerce (i.e., for pet trade purposes). Sets forth: (1) exceptions to su..."],["Honoring the life of Timothy John Russert, Jr., public servant, political analyst, and<br>author.","HRES1275","Recognizes and honors the contributions of Timothy John Russert, Jr., as an award-winning<br>political analyst.Expresses condolences upon his death to his wife, Maureen Orth, his son<br>Luke, and his surviving family members and friends."],["To authorize the programs of the National Aeronautics and Space Administration, and for<br>other purposes.","HR6063","National Aeronautics and Space Administration Authorization Act of 2008 - Title I:<br>Authorization of Appropriations for Fiscal Year 2009 - (Sec. 101) Authorizes<br>appropriations to the National Aeronautics and Space Administration (NASA) for FY2009 for:<br>(1) science; (2) aeronautics; (3) exploration; (4) education; (5) space operations; (6)<br>cross-agency support programs; and (7) the inspector general. Title II: Earth Science -<br>(Sec. 201) Declares that the goal for NASA's Earth Science program sha..."],["Expressing support for designation of April 2008 as \"Public Radio Recognition Month\".","HRES1002","Supports the designation of April 2008 as Public Radio Recognition Month and encourages<br>the celebration of America's public radio stations for their contributions to our nation's<br>communities and enduring civic spirit."],["Providing for consideration of the bill (H.R. 5781) to provide that 8 of the 12 weeks of<br>parental leave made available to a Federal employee shall be paid leave, and for other<br>purposes.","HRES1277","Sets forth the rule for consideration of the bill (H.R. 5781) to provide that 8 of the 12<br>weeks of parental leave made available to a Federal employee shall be paid leave."],["To authorize the Secretary of the Interior to provide financial assistance to the Eastern<br>New Mexico Rural Water Authority for the planning, design, and construction of the Eastern<br>New Mexico Rural Water System, and for other purposes.","HR5710","Eastern New Mexico Rural Water System Authorization Act - Authorizes the Secretary of the<br>Interior to provide financial and technical assistance to the Eastern New Mexico Rural<br>Water Authority to assist in planning, designing, conducting preconstruction activities<br>for, and constructing the Eastern New Mexico Rural Water System. Limits the federal share<br>of the cost of any activity to 75%. Provides that the total cost of the System shall<br>include any costs incurred by the Authority or the state ..."],["To provide that 8 of the 12 weeks of parental leave made available to a Federal employee<br>shall be paid leave, and for other purposes.","HR5781","Federal Employees Paid Parental Leave Act of 2008 - Allows federal employees to substitute<br>any available paid leave for any leave without pay available for either the: (1) birth of<br>a child; or (2) placement of a child with the employee for either adoption or foster care.<br>Makes available for any of the 12 weeks of leave an employee is entitled to for such<br>purposes: (1) four administrative weeks of paid parental leave in connection with the<br>birth or placement involved; and (2) any accumulated a..."],["Providing for consideration of the Senate amendments to the House amendments to the Senate<br>amendment to the bill (H.R. 2642) making appropriations for military construction, the<br>Department of Veterans Affairs, and related agencies for the fiscal year ending September<br>30, 2008, and for other purposes.","HRES1284","Sets forth the rule for consideration of the Senate amendments to the House amendments to<br>the Senate amendment to the bill (H.R. 2642) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2008."],["Condemning postelection violence in Zimbabwe and calling for a peaceful resolution to the<br>current political crisis.","HRES1230","Condemns the campaign of violence and harassment in Zimbabwe conducted by the ruling party<br>and its supporters in the police and military against members of the opposition and other<br>civilians. Calls on the government of Zimbabwe to create an environment conducive to a<br>peaceful transition of power. Encourages the political parties to commit to forming a<br>government that reflects the will of the Zimbabwean people and promotes national unity.<br>Urges the international community, under the leadership..."],["Congratulating and recognizing Mr. Juan Antonio \"Chi-Chi\" Rodriguez for his continued<br>success on and off of the golf course, for his generosity and devotion to charity, and for<br>his exemplary dedication to the intellectual and moral growth of thousands of low-income<br>and disadvantaged youth in our country.","HRES1029","Congratulates Chi-Chi Rodriguez for his successes in the sport of golf. Commends his<br>exemplary conduct as a humanitarian and advocate for underprivileged youth."],["Providing for the consideration of the bill (H.R. 5876) to require certain standards and<br>enforcement provisions to prevent child abuse and neglect in residential programs, and for<br>other purposes.","HRES1276","Sets forth the rule for consideration of H.R. 5876 (Stop Child Abuse in Residential<br>Programs for Teens Act of 2008)."],["To amend the Foreign Intelligence Surveillance Act of 1978 to establish a procedure for<br>authorizing certain acquisitions of foreign intelligence, and for other purposes.","HR6304","Foreign Intelligence Surveillance Act of 1978 Amendments Act of 2008 or FISA Amendments<br>Act of 2008 - Title I: Foreign Intelligence Surveillance - (Sec. 101) Amends the Foreign<br>Intelligence Surveillance Act of 1978 (FISA) to add a new title concerning additional<br>procedures for acquiring the communications of certain persons outside the United States.<br>Authorizes the Attorney General (AG) and Director of National Intelligence (DNI) to<br>jointly authorize, for periods up to one year, the targeting..."],["Honoring the life, musical accomplishments, and contributions of Louis Jordan on the 100th<br>anniversary of his birth.","HRES1242","Honors the life of Louis Jordan on the 100th anniversary of his birth. Recognizes his<br>important contributions to American music as a musician, composer, and entertainer."],["Supporting the goals and ideals of Black Music Month and to honor the outstanding<br>contributions that African American singers and musicians have made to the United States.","HCONRES372","Declares that Congress: (1) supports the goals and ideals of Black Music Month (June<br>2008); (2) honors the outstanding contributions that African-American singers, musicians,<br>composers, and producers have made to this country; and (3) calls on the people of the<br>United States to take the opportunity to study, reflect on, and celebrate the majesty,<br>vitality, and importance of African-American music."],["To amend titles XVIII and XIX of the Social Security Act to extend expiring provisions<br>under the Medicare Program, to improve beneficiary access to preventive and mental health<br>services, to enhance low-income benefit programs, and to maintain access to care in rural<br>areas, including pharmacy access, and for other purposes.","HR6331","Medicare Improvements for Patients and Providers Act of 2008 - Title I: Medicare -<br>Subtitle A: Beneficiary Improvements - Part 1: Prevention, Mental Health, and Marketing -<br>(Sec. 101) Amends title XVIII (Medicare) of the Social Security Act (SSA), as amended by<br>the Medicare, Medicaid, and SCHIP Extension Act of 2007, to cover additional preventive<br>services. Includes body mass index and end-of-life planning among initial preventive<br>physical examinations. (Sec. 102) Specifies stages for gradual..."],["To require certain standards and enforcement provisions to prevent child abuse and neglect<br>in residential programs, and for other purposes.","HR5876","Stop Child Abuse in Residential Programs for Teens Act of 2008 - (Sec. 3) Directs the<br>Assistant Secretary for Children and Families of the Department of Health and Human<br>Services to require each location of a covered program to meet specified minimum standards<br>if individually or together with other locations it has an effect on interstate commerce.<br>Defines \"covered program\" as one not operated by a governmental entity that for children<br>unrelated to the program owner or operator: (1) provides ..."],["Providing for an adjournment or recess of the two Houses.","HCONRES379","Declares that, when the House adjourns on the legislative day of Thursday, June 26, 2008,<br>or Friday, June 27, 2008, it stand adjourned until 2 p.m. on Tuesday, July 8, 2008.<br>Declares that, when the Senate recesses or adjourns on any day from Thursday, June 26,<br>2008, through Friday, July 4, 2008, it stand recessed or adjourned until noon on Monday,<br>July 7, 2008."],["To amend the Internal Revenue Code of 1986 to extend the funding and expenditure authority<br>of the Airport and Airway Trust Fund, and for other purposes.","HR6327","Federal Aviation Administration Extension Act of 2008 - Amends the Internal Revenue Code<br>to extend through FY2008: (1) excise taxes on aviation fuels and air transportation of<br>persons and property; and (2) the expenditure authority for the Airport and Airway Trust<br>Fund.Amends federal transportation laws to extend funding through September 30, 2008, for<br>various airport development projects, including: (1) the pilot program for passenger<br>facility fees at nonhub airports; (2) state and local air..."],["To protect consumers from price-gouging of gasoline and other fuels, and for other<br>purposes.","HR6346","Federal Price Gouging Prevention Act - Makes it unlawful, during a period proclaimed by<br>the President as an energy emergency, to sell gasoline or any other petroleum distillate<br>at a price that: (1) is unconscionably excessive; or (2) indicates the seller is taking<br>unfair advantage of the circumstances of an emergency to increase prices unreasonably.<br>Authorizes the President to issue an energy emergency proclamation of up to 30 days, with<br>renewals allowed, and to cite the geographic area, gaso..."],["Providing for consideration of the bill (H.R. 2176) to provide for and approve the<br>settlement of certain land claims of the Bay Mills Indian Community.","HRES1298","Sets forth the rule for consideration of the bill (H.R. 2176) to provide for and approve<br>the settlement of certain land claims of the Bay Mills Indian Community."],["Providing for consideration of the bill (H.R. 6275) to amend the Internal Revenue Code of<br>1986 to provide individuals temporary relief from the alternative minimum tax, and for<br>other purposes.","HRES1297","Sets forth the rule for consideration of the bill (H.R. 6275) to amend the Internal<br>Revenue Code of 1986 to provide individuals temporary relief from the alternative minimum<br>tax."],["Providing for consideration of the bill (H.R. 3195) to restore the intent and protections<br>of the Americans with Disabilities Act of 1990.","HRES1299","Sets forth the rule for consideration of the bill (H.R. 3195) to restore the intent and<br>protections of the Americans with Disabilities Act of 1990."],["To amend the Internal Revenue Code of 1986 to provide individuals temporary relief from<br>the alternative minimum tax, and for other purposes.","HR6275","Alternative Minimum Tax Relief Act of 2008 - Title I: Individual Tax Relief - Amends the<br>Internal Revenue Code to: (1) increase and extend through 2008 the alternative minimum tax<br>(AMT) exemption amounts; and (2) extend through 2008 the offset of certain nonrefundable<br>personal tax credits against regular and AMT tax liability.Title II: Revenue Provisions-<br>(Sec. 201) Defines an \"investment services partnership interest\" as any interest in a<br>partnership held by a person who provides services to..."],["To authorize the Edward Byrne Memorial Justice Assistance Grant Program at fiscal year<br>2006 levels through 2012.","HR3546","Amends the Omnibus Crime Control and Safe Streets Act of 1968 to authorize appropriations<br>for the Edward Byrne Memorial Justice Assistance Grant Program through FY2012."],["To provide for and approve the settlement of certain land claims of the Bay Mills Indian<br>Community.","HR2176","Requires the Secretary of the Interior to take lands identified as alternative lands in<br>the Settlement of Land Claim (the agreement between the Bay Mills Indian Community and the<br>Governor of Michigan executed on August 23, 2002, including the document titled Addendum<br>to Settlement of Land Claim, executed on November 13, 2007) into trust for the benefit of<br>the Community within 30 days after the Secretary has: (1) received a title insurance<br>policy for the alternative lands that shows that such ..."],["To require certain standards and enforcement provisions to prevent child abuse and neglect<br>in residential programs, and for other purposes.","HR6358","Stop Child Abuse in Residential Programs for Teens Act of 2008 - (Sec. 3) Directs the<br>Assistant Secretary for Children and Families of the Department of Health and Human<br>Services to require each location of a covered program to meet specified minimum standards<br>if individually or together with other locations it has an effect on interstate commerce.<br>Defines \"covered program\" as one operated by a public or private entity that with respect<br>to one or more children unrelated to the program owner o..."],["To restore the intent and protections of the Americans with Disabilities Act of 1990.","HR3195","ADA Amendments Act of 2008 - (Sec. 4) Amends the Americans with Disabilities Act of 1990<br>(ADA) to redefine the term \"disability,\" including by defining \"major life activities\" and<br>\"being regarded as having such an impairment.\"Sets forth rules of construction regarding<br>the definition of \"disability,\" including that: (1) such term shall be construed in favor<br>of broad coverage of individuals under the Act; (2) an impairment that substantially<br>limits one major life activity need not limit other m..."],["Providing for consideration of the bill (H.R. 6052) to promote increased public<br>transportation use, to promote increased use of alternative fuels in providing public<br>transportation, and for other purposes.","HRES1304","Sets forth the rule for consideration of the bill (H.R. 6052) to promote increased public<br>transportation use, to promote increased use of alternative fuels in providing public<br>transportation."],["Expressing gratitude for the contributions of the American GI Forum on its 60th<br>anniversary.","HRES1291","Recognizes the need for equal access to veterans' benefits for all who have honorably<br>served. Supports the goals, ideals, and deeds of the American GI Forum and its members.<br>Commends the work of the American GI Forum on its 60th anniversary. Encourages others to<br>join with the American GI Forum to ensure that veterans are never again denied the<br>benefits they rightfully deserve."],["To promote increased public transportation use, to promote increased use of alternative<br>fuels in providing public transportation, and for other purposes.","HR6052","Saving Energy Through Public Transportation Act of 2008 - (Sec. 3) Authorizes<br>appropriations for each of FY2008-FY2009 for public transportation formula grants for<br>urbanized areas and for other areas. Authorizes the Secretary of Transportation to make<br>such grants for: (1) operating costs of equipment and facilities being used to provide the<br>public transportation or intercity bus service that the grant recipient is no longer able<br>to pay as a result of reducing fares; (2) operating and capital ..."],["To direct the Commodity Futures Trading Commission to utilize all its authority, including<br>its emergency powers, to curb immediately the role of excessive speculation in any<br>contract market within the jurisdiction and control of the Commodity Futures Trading<br>Commission, on or through which energy futures or swaps are traded, and to eliminate<br>excessive speculation, price distortion, sudden or unreasonable fluctuations or<br>unwarranted changes in prices, or other unlawful activity that is causing major market<br>disturbances that prevent the market from accurately reflecting the forces of supply and<br>demand for energy commodities.","HR6377","Energy Markets Emergency Act of 2008 - Directs the Commodity Futures Trading Commission<br>(CFTC) to utilize all its authority, including its emergency powers, to: (1) curb<br>immediately the role of excessive speculation in any contract market within its<br>jurisdiction and control on or through which energy futures or swaps are traded; and (2)<br>eliminate excessive speculation, price distortion, sudden or unreasonable fluctuations or<br>unwarranted changes in prices, or other unlawful activity that is ca..."],["To prohibit the Secretary of the Interior from issuing new Federal oil and gas leases to<br>holders of existing leases who do not diligently develop the lands subject to such<br>existing leases or relinquish such leases, and for other purposes.","HR6251","Responsible Federal Oil and Gas Lease Act - Prohibits the Secretary of the Interior from<br>authorizing any new lease for exploration or production of oil or natural gas unless the<br>lessee: (1) certifies for each existing lease that the lessee has diligently developed the<br>lands in order to produce oil or natural gas, or is producing oil or natural gas from such<br>lands; or (2) has relinquished all federal oil and gas leases that are not being<br>diligently developed. Instructs the Secretary to promulg..."],["Supporting the goals and ideals of the Year of the American Veteran.","HRES1098","Encourages the American people to recognize and acknowledge the sacrifices the American<br>veteran demonstrates in the name of freedom. Encourages the education of the American<br>people on the many contributions of the American veteran to American society. Supports the<br>goals and ideals of the Year of the American Veteran."],["To authorize the Preserve America Program and Save America's Treasures Program, and for<br>other purposes.","HR3981","Preserve America and Save America's Treasures Act - Title I: Preserve America's Program -<br>(Sec. 103) Establishes the Preserve America Program, under which the Secretary of the<br>Interior, in partnership with the Advisory Council on Historic Preservation, may provide<br>competitive grants to specified entities to support preservation efforts through heritage<br>tourism, education, and historic preservation planning activities. Requires the Secretary<br>to: (1) consult the Council in the preparation of th..."],["To authorize the Secretary of the Interior to lease a portion of a visitor center to be<br>constructed outside the boundary of the Indiana Dunes National Lakeshore in Porter County,<br>Indiana, and for other purposes.","HR1423","Dorothy Buell Memorial Visitor Center Partnership Act - Authorizes the Secretary of the<br>Interior to enter into a memorandum of understanding to establish a joint partnership with<br>the Porter County Convention, Recreation and Visitor Commission with regard to the use of<br>the Dorothy Buell Memorial Visitor Center as a visitor center for the Indiana Dunes<br>National Lakeshore. Allows the Secretary to: (1) plan, design, construct, and install<br>exhibits in the Center related to the use and management o..."],["Providing for consideration of the bill (H.R. 5811) to amend title 44, United States Code,<br>to require preservation of certain electronic records by Federal agencies, to require a<br>certification and reports relating to Presidential records, and for other purposes.","HRES1318","Sets forth the rule for consideration of the bill (H.R. 5811) to amend title 44, United<br>States Code, to require preservation of certain electronic records by Federal agencies, to<br>require a certification and reports relating to Presidential records."],["To amend title 44, United States Code, to require preservation of certain electronic<br>records by Federal agencies, to require a certification and reports relating to<br>Presidential records, and for other purposes.","HR5811","Electronic Message Preservation Act - Requires the Archivist of the United States to<br>promulgate regulations governing federal agency preservation of electronic messages that<br>are federal records and to periodically review and amend, as necessary, such regulations.<br>Requires such regulations to: (1) require the electronic capture, management, and<br>preservation of such electronic records in accordance with the Federal Records Act; (2)<br>require such records to be retrievable through electronic searc..."],["To provide housing assistance for very low-income veterans.","HR3329","Homes for Heroes Act of 2008 - (Sec. 2) Amends the Department of Housing and Urban<br>Development Act to establish in the Department of Housing and Urban Development (HUD) a<br>Special Assistant for Veterans Affairs to: (1) ensure veteran access to HUD housing and<br>homeless assistance programs; (2) coordinate all HUD programs and activities relating to<br>veterans; and (3) serve as a HUD liaison with the Department of Veterans Affairs. (Sec. 3)<br>Directs the HUD Secretary to provide assistance in the for..."],["Providing for consideration of the bill (H.R. 1286) to amend the National Trails System<br>Act to designate the Washington-Rochambeau Revolutionary Route National Historic Trail.","HRES1317","Sets forth the rule for consideration of the bill (H.R. 1286) to amend the National Trails<br>System Act to designate the Washington-Rochambeau Revolutionary Route National Historic<br>Trail."],["To amend the National Trails System Act to designate the Washington-Rochambeau<br>Revolutionary Route National Historic Trail.","HR1286","Washington-Rochambeau Revolutionary Route National Historic Trail Designation Act - Amends<br>the National Trails System Act to designate a corridor of approximately 600 miles<br>following the route taken by the armies of General George Washington and Count Rochambeau<br>between Newport, Rhode Island, and Yorktown, Virginia, in 1781 and 1782, as the<br>\"Washington-Rochambeau Revolutionary Route National Historic Trail.\" Requires the Trail to<br>be administered by the Secretary of the Interior, in consultati..."],["Recognizing the 50th anniversary of the crossing of the North Pole by the USS Nautilus<br>(SSN 571) and its significance in the history of both our Nation and the world.","HRES1067","Recognizes the historic significance of the journey to, and successful crossing of, the<br>North Pole by the USS Nautilus. Commends its officers and crew on the 50th anniversary of<br>such achievement. Recognizes the Nautilus's journey as not only a military and scientific<br>accomplishment, but also in confirming America's long-standing interest in that vital<br>region. Commends the role of the Nautilus and the U.S. submarine force in protecting the<br>interests of the free world during the Cold War. Suppo..."],["Congratulating the Hamilton College Continentals on winning the NCAA Division III women's<br>lacrosse championship.","HRES1259","Congratulates the Hamilton College Continentals on winning the NCAA Division III women's<br>lacrosse championship."],["Commending the Arizona State University softball team for their victory in the 2008<br>Women's College World Series.","HRES1323","Commends the Arizona State University softball team for winning the 2008 Women's College<br>World Series."],["Impeaching George W. Bush, President of the United States, of high crimes and<br>misdemeanors.","HRES1345","Impeaches President George W. Bush for high crimes and misdemeanors.Sets forth an article<br>of impeachment stating that President Bush, in violation of his oath of office, deceived<br>Congress with fabricated threats of Iraq weapons of mass destruction to fraudulently<br>obtain support for the authorization of use of force against Iraq and to commit troops to<br>combat in Iraq."],["To direct the Election Assistance Commission to establish a program to make grants to<br>participating States and units of local government which will administer the regularly<br>scheduled general election for Federal office held in November 2008 for carrying out a<br>program to make backup paper ballots available in the case of the failure of a voting<br>system or voting equipment in the election or some other emergency situation, and for<br>other purposes.","HR5803","Directs the Election Assistance Commission to make a grant to each participating state and<br>unit of local government for carrying out a program to make backup paper ballots available<br>in the case of the failure of a voting system or voting equipment or some other emergency<br>situation in the administration of the regularly scheduled federal general election held<br>in November 2008."],["Honoring the esteemed former President Nelson Rolihlahla Mandela on the occasion of his<br>90th birthday.","HRES1090","Honors former President Nelson Rolihlahla Mandela on his 90th birthday (July 18, 2008) and<br>extends best wishes to him and his family. Honors his many accomplishments on behalf of<br>all South Africans. Congratulates him for his efforts to promote dialogue to peacefully<br>resolve conflicts between people in Africa and around the world. Celebrates his<br>contributions to South Africa, the United States, and the international community."],["Providing for consideration of the bill (H.R. 5959) to authorize appropriations for fiscal<br>year 2009 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes.","HRES1343","Sets forth the rule for consideration of the bill (H.R. 5959) to authorize appropriations<br>for fiscal year 2009 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System."],["Providing for consideration of the bill (H.R. 415) to amend the Wild and Scenic Rivers Act<br>to designate segments of the Taunton River in the Commonwealth of Massachusetts as a<br>component of the National Wild and Scenic Rivers System.","HRES1339","Sets forth the rule for consideration of the bill (H.R. 415) to amend the Wild and Scenic<br>Rivers Act to designate segments of the Taunton River in the Commonwealth of Massachusetts<br>as a component of the National Wild and Scenic Rivers System."],["To authorize appropriations for fiscal year 2009 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR5959","Intelligence Authorization Act for Fiscal Year 2009 - Title I: Budget and Personnel<br>Authorizations - (Sec. 101) Authorizes appropriations for FY2009 for the conduct of<br>intelligence and intelligence-related activities of the: (1) Office of the Director of<br>National Intelligence; (2) Central Intelligence Agency (CIA); (3) Department of Defense<br>(DOD); (4) Defense Intelligence Agency (DIA); (5) National Security Agency (NSA); (6)<br>Departments of the Army, Navy, and Air Force; (7) Coast Guard; (8) D..."],["To amend the Wild and Scenic Rivers Act to designate segments of the Taunton River in the<br>Commonwealth of Massachusetts as a component of the National Wild and Scenic Rivers<br>System.","HR415","Amends the Wild and Scenic Rivers Act (the Act) to designate specified segments of the<br>Taunton River in Massachusetts as a component of the National Wild and Scenic Rivers<br>System. Requires the river segments to be managed in accordance with the Taunton River<br>Stewardship Plan, dated July 2005, including any amendment to such Plan, that the<br>Secretary of the Interior determines to be consistent with this Act. Authorizes the<br>Secretary, in order to provide for the protection, preservation, and enh..."],["Providing for consideration of motions to suspend the rules.","HRES1350","Makes it in order at any time on July 17, 2008, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules relating to a<br>measure concerning the domestic production of oil and natural gas."],["To amend the Naval Petroleum Reserves Production Act of 1976 to require the Secretary of<br>the Interior to conduct an expeditious environmentally responsible program of competitive<br>leasing of oil and gas in the National Petroleum Reserve in Alaska, and for other<br>purposes.","HR6515","Drill Responsibly in Leased Lands Act of 2008 - Amends the Naval Petroleum Reserves<br>Production Act of 1976 to direct the Secretary of the Interior to conduct an oil and gas<br>competitive leasing program in the National Petroleum Reserve, Alaska, that includes at<br>least one lease sale each year during the period 2009 through 2013.Instructs the Secretary<br>of Transportation to: (1) facilitate pipeline construction to transport oil and gas from<br>or through the National Petroleum Reserve in Alaska to e..."],["To amend title 49, United States Code, to enhance aviation safety.","HR6493","Aviation Safety Enhancement Act of 2008 - Establishes in the Federal Aviation<br>Administration (FAA) an Aviation Safety Whistleblower Investigation Office, with a<br>Director appointed by the Secretary of Transportation, which shall receive and assess<br>complaints and information relating to possible violations of aviation safety laws and<br>regulations.Directs the FAA Administrator to modify the FAA customer service initiative,<br>mission and vision, and other policy statements to: (1) remove any referen..."],["Expressing support for the designation of National GEAR UP Day.","HRES1311","Expresses support for the designation of a National GEAR UP Day. (GEAR UP is the Gaining<br>Early Awareness and Readiness for Undergraduate Program, created to facilitate the<br>transition of low-income high school students into postsecondary education.)"],["Providing for consideration of the Senate amendment to the House amendments to the Senate<br>amendment to the bill (H.R. 3221) to provide needed housing reform and for other purposes.","HRES1363","Sets forth the rule for consideration of the Senate amendment to the House amendments to<br>the Senate amendment to the bill (H.R. 3221) to provide needed housing reform."],["To amend the Internal Revenue Code of 1986 to restore the Highway Trust Fund balance.","HR6532","Amends the Internal Revenue Code to transfer from the Treasury $8.017 billion to the<br>Highway Trust Fund."],["To require the Director of National Intelligence to conduct a national intelligence<br>assessment on national security and energy security issues.","HR6545","National Energy Security Intelligence Act of 2008 - Requires the Director of National<br>Intelligence to submit to Congress a national intelligence assessment on national security<br>and energy security issues relating to rapidly escalating energy costs, including: (1) the<br>short- and long-term outlook for prices, supply, and demand for key forms of energy such<br>as crude oil, natural gas, and alternative fuels; (2) the plans and intentions of key<br>energy-producing and exporting nations with respect to..."],["Providing for consideration of the bill (H.R. 3999) to amend title 23, United States Code,<br>to improve the safety of Federal-aid highway bridges, to strengthen bridge inspection<br>standards and processes, to increase investment in the reconstruction of structurally<br>deficient bridges on the National Highway System, and for other purposes.","HRES1344","Sets forth the rule for consideration of the bill (H.R. 3999) to amend title 23, United<br>States Code, to improve the safety of Federal-aid highway bridges, to strengthen bridge<br>inspection standards and processes, to increase investment in the reconstruction of<br>structurally deficient bridges on the National Highway System."],["Providing for consideration of motions to suspend the rules.","HRES1367","Makes it in order at any time on the legislative day of Thursday, July 24, 2008, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules relating to H.R. 6578 (Consumer Energy Supply Act of 2008)."],["Providing for the consideration of the Senate amendment to the bill (H.R. 5501) to<br>authorize appropriations for fiscal years 2009 through 2013 to provide assistance to<br>foreign countries to combat HIV/AIDS, tuberculosis, and malaria, and for other purposes.","HRES1362","Sets forth the rule for consideration of the Senate amendment to H.R. 5501(Tom Lantos and<br>Henry J. Hyde United States Global Leadership Against HIV/AIDS, Tuberculosis, and Malaria<br>Reauthorization Act of 2008)."],["To provide for the sale of light grade petroleum from the Strategic Petroleum Reserve and<br>its replacement with heavy grade petroleum.","HR6578","Consumer Energy Supply Act of 2008 - Instructs the Secretary of Energy to publish a plan<br>to: (1) sell prescribed amounts of light grade petroleum from the Strategic Petroleum<br>Reserve (SPR) and acquire an equivalent volume of heavy grade petroleum; (2) deposit cash<br>proceeds from those sales into the SPR Petroleum Account; and (3) withdraw from such<br>proceeds the administrative and operational costs of the sale and acquisition. Requires an<br>offer for sale of 70 million barrels of light grade petr..."],["To amend title 23, United States Code, to improve the safety of Federal-aid highway<br>bridges, to strengthen bridge inspection standards and processes, to increase investment<br>in the reconstruction of structurally deficient bridges on the National Highway System,<br>and for other purposes.","HR3999","National Highway Bridge Reconstruction and Inspection Act of 2008 - (Sec. 2) Amends<br>federal transportation law to revise the national highway bridge replacement and<br>rehabilitation program to direct the Secretary of Transportation to develop a risk-based<br>priority process for states to assign priority for the replacement or rehabilitation of<br>all federal-aid highways bridges, public roads bridges, and Indian reservation and park<br>bridges found to be structurally deficient or functionally obsolete..."],["Relating to the House procedures contained in section 803 of the Medicare Prescription<br>Drug, Improvement, and Modernization Act of 2003.","HRES1368","Provides that House of Representatives procedures under the Medicare Prescription Drug,<br>Improvement, and Modernization Act of 2003 for the consideration of proposed legislation<br>by the President to respond to a Medicare funding warning shall not apply during the<br>remainder of the 110th Congress."],["To amend title 44, United States Code, to require each agency to include a contact<br>telephone number in its collection of information.","HR6113","Paperwork Assistance Act - Requires a federal agency to inform any person receiving a<br>collection of information from the agency of the agency's contact information, including a<br>website and a telephone number, by which a person may obtain a specific contact person<br>responsible for answering questions about the information collection and other information<br>to assist in responding to the information collection.Requires the Director of the Office<br>of Management and Budget (OMB) to include in the Dir..."],["To amend title 38, United States Code, to establish an Ombudsman within the Department of<br>Veterans Affairs.","HR2192","Establishes in the Veterans Health Administration (VHA) of the Department of Veterans<br>Affairs (VA) an Office of the Ombudsman, headed by a Director. Outlines Office and<br>Director duties, including: (1) serving as a last resort for veterans' health care and<br>benefits complaints and issues that cannot be resolved at a local or regional level; and<br>(2) maintaining a public website with contact information for each patient advocate at<br>each VA medical center. Requires the Director to: (1) appoint thr..."],["Providing for an adjournment or recess of the two Houses.","HCONRES398","Declares that, when the House adjourns on the legislative day of Thursday, July 31, 2008,<br>Friday, August 1, 2008, or Saturday, August 2, 2008, it stand adjourned until 2 p.m. on<br>Monday, September 8, 2008. Declares that, when the Senate recesses or adjourns on any day<br>from Friday, August 1, 2008, through Friday, September 5, 2008, it stand recessed or<br>adjourned until noon on Monday, September 8, 2008."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>modernize the disability benefits claims processing system of the Department of Veterans<br>Affairs to ensure the accurate and timely delivery of compensation to veterans and their<br>families and survivors, and for other purposes.","HR5892","Veterans Disability Benefits Claims Modernization Act of 2008 - Title I: Matters Relating<br>to Modernizing the Disability Compensation System of Department of Veterans Affairs -<br>(Sec. 101) Directs the Secretary of Veterans Affairs to: (1) establish in the Veterans<br>Benefits Administration (VBA) of the Department of Veterans Affairs (VA) an Office of<br>Survivor Assistance to provide direct assistance to survivors and dependents of deceased<br>veterans and members of the Armed Forces regarding all bene..."],["Calling on the Government of the People's Republic of China to immediately end abuses of<br>the human rights of its citizens, to cease repression of Tibetan and Uighur citizens, and<br>to end its support for the Governments of Sudan and Burma to ensure that the Beijing 2008<br>Olympic Games take place in an atmosphere that honors the Olympic traditions of freedom<br>and openness.","HRES1370","Calls on the government of the People's Republic of China to: (1) end abuses of the human<br>rights of its citizens, cease repression of Tibetan and Uighur people, and end its support<br>for the governments of Sudan and Burma to ensure that the Beijing 2008 Olympic Games take<br>place in an atmosphere that honors the Olympic traditions of freedom and openness; (2)<br>release all those who have been imprisoned, detained, or harassed for nonviolently<br>exercising their political and religious rights and thei..."],["To amend the Commodity Exchange Act to bring greater transparency and accountability to<br>commodity markets, and for other purposes.","HR6604","Commodity Markets Transparency and Accountability Act of 2008 - (Sec. 3) Amends the<br>Commodity Exchange Act to define \"energy commodity\" as (1) coal; (2) crude oil, gasoline,<br>diesel fuel, jet fuel, heating oil, and propane; (3) electricity; (4) natural gas; and (5)<br>any other substance that is used as an energy source as determined by the Commodity<br>Futures Trading Commission (CFTC). (Sec. 4) Prohibits CFTC from permitting a foreign board<br>of trade (FBOT) providing its U.S-located members with ac..."],["To amend title 38, United States Code, to prohibit the Secretary of Veterans Affairs from<br>collecting certain copayments from veterans who are catastrophically disabled.","HR6445","Veterans' Health Care Policy Enhancement Act of 2008 - (Sec. 2) Prohibits the collection<br>by the Department of Veterans Affairs (VA) of copayments or other fees for hospital or<br>nursing home care in the case of catastrophically disabled veterans. (Sec. 3) Repeals a<br>current requirement that, in order for a family member of a non-service-connected disabled<br>veteran to be eligible for counseling services, the counseling must be essential to permit<br>the discharge of the veteran from the hospital. (Se..."],["To protect the public health by providing the Food and Drug Administration with certain<br>authority to regulate tobacco products.","HR1108","Family Smoking Prevention and Tobacco Control Act - Title I: Authority of the Food and<br>Drug Administration - (Sec. 101) Amends the Federal Food, Drug, and Cosmetic Act (FFDCA)<br>to provide for the regulation of tobacco products by the Secretary of Health and Human<br>Services through the Food and Drug Administration (FDA).Defines a tobacco product as any<br>product made or derived from tobacco that is intended for human consumption. Prohibits a<br>tobacco product from being marketed in combination with ..."],["Providing for consideration of the bill (H.R. 1338) to amend the Fair Labor Standards Act<br>of 1938 to provide more effective remedies to victims of discrimination in the payment of<br>wages on the basis of sex, and for other purposes.","HRES1388","Sets forth the rule for consideration of the bill (H.R. 1338) to amend the Fair Labor<br>Standards Act of 1938 to provide more effective remedies to victims of discrimination in<br>the payment of wages on the basis of sex."],["Providing for consideration of the bill (H.R. 6599) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2009, and for other purposes.","HRES1384","Sets forth the rule for consideration of the bill (H.R. 6599) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2009."],["To amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","HR1338","Paycheck Fairness Act - (Sec. 3) Amends the portion of the Fair Labor Standards Act of<br>1938 (FLSA) known as the Equal Pay Act to revise remedies for, enforcement of, and<br>exceptions to prohibitions against sex discrimination in the payment of wages. Revises the<br>exception to the prohibition for a wage rate differential based on any other factor other<br>than sex. Limits such factors to bona fide factors, such as education, training, or<br>experience. States that the bona fide factor defense shall app..."],["To evaluate and extend the basic pilot program for employment eligibility confirmation and<br>to ensure the protection of Social Security beneficiaries.","HR6633","Employee Verification Amendment Act of 2008 - Amends the Illegal Immigration Reform and<br>Immigrant Responsibility Act of 1996 to extend the employment eligibility confirmation<br>pilot programs (which includes the E-Verify basic pilot program). Directs the Commissioner<br>of Social Security and the Secretary of Homeland Security to enter into a fiscal year<br>agreement which shall: (1) provide funds to the Commissioner for such programs' full costs<br>in quarterly advances; and (2) require an annual accou..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2009, and for other purposes.","HR6599","Military Construction and Veterans Affairs Appropriations Act, 2009 - Title I: Department<br>of Defense - Appropriates funds for FY2009 for the Department of Defense (DOD) for: (1)<br>military construction for the Army, Navy and Marine Corps, and Air Force (military<br>departments), DOD, the Army and Air National Guard, and the Army, Navy, and Air Force<br>reserves; (2) the North Atlantic Treaty Organization (NATO) Security Investment Program;<br>(3) family housing construction and related operation and mai..."],["Honoring the service of the Navy and Coast Guard veterans who served on the Landing Ship<br>Tank (LST) amphibious landing craft during World War II, the Korean war, the Vietnam war,<br>Operation Desert Storm, and global operations through 2002 and recognizing the essential<br>role played by LST amphibious craft during these conflicts.","HRES1316","Recognizes the essential role played by Landing Ship Tanks (LSTs) during World War II, the<br>Korean war, the Vietnam war, Operation Desert Shield, Operation Desert Storm, and many<br>other military and humanitarian operations. Honors the service of the Navy and Coast Guard<br>sailors who served their country aboard the LSTs. Acknowledges the debt modern amphibious<br>operations owe to the LST sailors and ships. Commends the many volunteers of the USS LST<br>Ship Memorial who have preserved the LST 325 as a..."],["A bill to designate the United States courthouse located at 225 Cadman Plaza East,<br>Brooklyn, New York, as the \"Theodore Roosevelt United States Courthouse\".","S2837","Designates the U.S. courthouse located at 225 Cadman Plaza East, Brooklyn, New York, as<br>the \"Theodore Roosevelt United States Courthouse.\""],["A bill to prohibit the recruitment or use of child soldiers, to designate persons who<br>recruit or use child soldiers as inadmissible aliens, to allow the deportation of persons<br>who recruit or use child soldiers, and for other purposes.","S2135","Child Soldiers Accountability Act of 2008- Amends the federal criminal code to impose a<br>fine and/or 20-year prison term for knowingly recruiting, enlisting, or conscripting a<br>person under 15 years of age into an armed force or group (other than a group assembled<br>solely for nonviolent political association) or using such person to participate actively<br>in combat hostilities, or attempting or conspiring to do so, knowing such person is under<br>15 years of age. Imposes a life sentence if the death ..."],["Recognizing that we are facing a global food crisis.","HCONRES344","Expresses the sense of Congress that: (1) in emergency situations children have different<br>needs than those of adults, and nutritional deficiencies disproportionately affect<br>children; (2) in the current global food crisis children's nutritional needs must be a<br>humanitarian priority; and (3) the United States and the other G8 member states should<br>continue to monitor the global food crisis' impact on children and commit to increasing<br>their assistance to children's needs."],["Condemning the use of television programming by Hamas to indoctrinate hatred, violence,<br>and anti-Semitism toward Israel in young Palestinian children.","HRES1069","Condemns: (1) the broadcast of incitement to violence and hatred against Americans,<br>Israelis, and the West by Middle East-based media; and (2) Hamas' use of children's<br>television programming to incite hatred, violence, and anti-Semitism. Calls on: (1) Saudi<br>Arabia and on all other Arab states that own shares in Arabsat to cease the transmission<br>of telecasts by al-Aqsa TV and al-Manar TV; (2) Egypt to cease the transmission of<br>telecasts by al-Rafidayn TV and al-Manar TV; and (3) the owners of ..."],["Commemorating the Kingdom of Bhutan's participation in the 2008 Smithsonian Folklife<br>Festival and commending the people and the Government of the Kingdom of Bhutan for their<br>commitment to holding elections and broadening political participation.","HRES1307","Commemorates Bhutan's participation in the 2008 Smithsonian Folklife Festival. Recognizes<br>the cultural, artistic, agricultural, and environmental achievements of Bhutan and the<br>Bhutanese people. Commends the Bhutanese people, the government of the Kingdom of Bhutan,<br>and His Majesty King Jigme Khesar Namgyel Wangchuck for their commitment to conducting<br>parliamentary elections and transitioning from a monarchy to a parliamentary democracy.<br>States that the House of Representatives remains commit..."],["To prohibit the Secretary of Transportation from granting authority to a motor carrier<br>domiciled in Mexico to operate beyond United States municipalities and commercial zones on<br>the United States-Mexico border unless expressly authorized by Congress.","HR6630","Directs the Secretary of Transportation to terminate, by September 6, 2008, the one-year<br>cross-border pilot project started on September 6, 2007, as part of the Federal Motor<br>Carrier Safety Administration's implementation of the North American Free Trade Agreement<br>(NAFTA) cross-border motor carrier provisions, to demonstrate the ability of Mexico-<br>domiciled motor carriers to operate safely in the United States beyond the commercial<br>zones along the U.S.-Mexico border. Prohibits the Secretary, u..."],["Providing for consideration of the bill (H.R. 3667) to amend the Wild and Scenic Rivers<br>Act to designate a segment of the Missisquoi and Trout Rivers in the State of Vermont for<br>study for potential addition to the National Wild and Scenic Rivers System.","HRES1419","Sets forth the rule for consideration of the bill (H.R. 3667) to amend the Wild and Scenic<br>Rivers Act to designate a segment of the Missisquoi and Trout Rivers in the State of<br>Vermont for study for potential addition to the National Wild and Scenic Rivers System."],["A bill to increase, effective as of December 1, 2008, the rates of compensation for<br>veterans with service-connected disabilities and the rates of dependency and indemnity<br>compensation for the survivors of certain disabled veterans.","S2617","Veterans' Compensation Cost-of-Living Adjustment Act of 2008 - Directs the Secretary of<br>Veterans Affairs to increase, as of December 1, 2008, the rates of veterans' disability<br>compensation, additional compensation for dependents, the clothing allowance for certain<br>disabled adult children, and dependency and indemnity compensation for surviving spouses<br>and children. Requires each such increase to be the same percentage as the increase in<br>benefits provided under title II (Old Age, Survivors and..."],["To amend the Wild and Scenic Rivers Act to designate a segment of the Missisquoi and Trout<br>Rivers in the State of Vermont for study for potential addition to the National Wild and<br>Scenic Rivers System.","HR3667","Missisquoi and Trout Rivers Wild and Scenic River Study Act of 2008 - Amends the Wild and<br>Scenic Rivers Act to designate a specified segment of the Missisquoi and Trout Rivers in<br>Vermont for study for potential addition to the National Wild and Scenic Rivers System.<br>Directs the Secretary of the Interior to: (1) analyze any potential impacts on the<br>possession or use of a weapon, trap, or net, including a concealed weapon, on the<br>Missisquoi and Trout Rivers or on lands adjacent to that area; (2..."],["To prevent tobacco smuggling, to ensure the collection of all tobacco taxes, and for other<br>purposes.","HR4081","Prevent All Cigarette Trafficking Act of 2008 or the PACT Act - Amends the Jenkins Act to<br>revise provisions governing the collection of taxes on, and trafficking in, cigarettes and<br>smokeless tobacco. (Sec. 2) Revises the definition of \"cigarette\" to include roll-your-own<br>tobacco and to exclude cigars. Defines \"delivery sale\" to mean any sale of cigarettes or<br>smokeless tobacco to a consumer ordered by telephone, the mails, or the Internet or other<br>online service . Redefines \"person\" to include..."],["Expressing the sense of the House of Representatives regarding the terrorist attacks<br>launched against the United States on September 11, 2001.","HRES1420","Recognizes September 11 as a day of solemn commemoration. Extends deepest condolences to<br>friends, families, and loved ones of the innocent victims of the September 11, 2001,<br>terrorist attacks. Honors the heroic service, actions, and sacrifices of first responders,<br>law enforcement personnel, state and local officials, volunteers and others who aided the<br>victims and, in doing so, risked and often sacrificed their own lives. Expresses gratitude<br>to foreign leaders and citizens who have assisted a..."],["Honoring the dedication and outstanding work of military support groups across the country<br>for their steadfast support of the members of our Armed Forces and their families.","HRES1200","Honors military support groups for their support of members of the Armed Forces and their<br>families."],["Honoring the 28th Infantry Division for serving and protecting the United States.","HCONRES390","Honors the 28th Infantry Division of the U.S. Army for serving and protecting the United<br>States."],["To extend the authority of the Secretary of Education to purchase guaranteed student loans<br>for an additional year, and for other purposes.","HR6889","Amends the Higher Education Act of 1965 to extend by one year, from July 2009 to July<br>2010, the Secretary of Education's authority to purchase, or enter into forward<br>commitments to purchase, Federal Family Education Loans (FFELs) from lenders upon the<br>determination that there is an inadequate availability of loan capital to meet the demand<br>for such loans. Extends by one year, from June 30, 2009 to June 30, 2010, the authority of<br>institutions of higher education (IHEs), with the Secretary's ap..."],["Providing for consideration of the bill (H.R. 6899) to advance the national security<br>interests of the United States by reducing its dependency on oil through renewable and<br>clean, alternative fuel technologies while building a bridge to the future through<br>expanded access to Federal oil and natural gas resources, revising the relationship<br>between the oil and gas industry and the consumers who own those resources and deserve a<br>fair return from the development of publicly owned oil and gas, ending tax subsidies for<br>large oil and gas companies, and facilitating energy efficiencies in the building,<br>housing, and transportation sectors, and for other purposes.","HRES1433","Sets forth the rule for consideration of the bill (H.R. 6899) to advance the national<br>security interests of the United States by reducing its dependency on oil through<br>renewable and clean, alternative fuel technologies while building a bridge to the future<br>through expanded access to Federal oil and natural gas resources, revising the<br>relationship between the oil and gas industry and the consumers who own those resources<br>and deserve a fair return from the development of publicly owned oil and ..."],["Providing for consideration of the bill (H.R. 6842) to require the District of Columbia to<br>revise its laws regarding the use and possession of firearms as necessary to comply with<br>the requirements of the decision of the Supreme Court in the case of District of Columbia<br>v. Heller, in a manner that protects the security interests of the Federal government and<br>the people who work in, reside in, or visit the District of Columbia and does not<br>undermine the efforts of law enforcement, homeland security, and military officials to<br>protect the Nation's capital from crime and terrorism.","HRES1434","Sets forth the rule for consideration of H.R. 6842 (National Capital Security and Safety<br>Act)."],["To advance the national security interests of the United States by reducing its dependency<br>on oil through renewable and clean, alternative fuel technologies while building a bridge<br>to the future through expanded access to Federal oil and natural gas resources, revising<br>the relationship between the oil and gas industry and the consumers who own those<br>resources and deserve a fair return from the development of publicly owned oil and gas,<br>ending tax subsidies for large oil and gas companies, and facilitating energy efficiencies<br>in the building, housing, and transportation sectors, and for other purposes.","HR6899","Comprehensive American Energy Security and Consumer Protection Act - Title I: Federal Oil<br>and Gas Leasing - Subtitle A: Outer Continental Shelf Oil and Gas Leasing - (Sec. 101)<br>Prohibits oil and gas preleasing or leasing of any area of the Outer Continental Shelf<br>(OCS) that was not available for oil and gas leasing as of July 1, 2008, unless that<br>action is expressly authorized by this Act or a statute enacted by Congress after<br>enactment of this Act. (Sec. 102) Authorizes oil and gas leasing, ..."],["To require the District of Columbia to revise its laws regarding the use and possession of<br>firearms as necessary to comply with the requirements of the decision of the Supreme Court<br>in the case of District of Columbia v. Heller, in a manner that protects the security<br>interests of the Federal government and the people who work in, reside in, or visit the<br>District of Columbia and does not undermine the efforts of law enforcement, homeland<br>security, and military officials to protect the Nation's capital from crime and terrorism.","HR6842","Second Amendment Enforcement Act - (Sec. 3) Amends specified law prohibiting the killing<br>of wild birds and wild animals in the District of Columbia to declare that nothing in it<br>or any other provision of law shall authorize or be construed to permit the Council, the<br>Mayor, or any governmental or regulatory authority of the District to prohibit,<br>constructively prohibit, or unduly burden the ability of persons otherwise not prohibited<br>from possessing firearms under federal law from acquiring, p..."],["Celebrating the 120-year partnership between the Government and State veterans homes.","HRES1335","Commends the extraordinary contributions of those who have served in the U.S. Armed<br>Forces. Recognizes: (1) that the United States has an affirmative duty to care for the men<br>and women who have so served; and (2) the efforts of the National Association of State<br>Veterans Homes in providing veterans with high-quality care. Commends efforts made by<br>state veterans homes for the past 120 years in ensuring that veterans receive the highest<br>quality of care worthy of their sacrifices."],["A bill to designate the Department of Veterans Affairs clinic in Alpena, Michigan, as the<br>\"Lieutenant Colonel Clement C. Van Wagoner Department of Veterans Affairs Clinic\".","S2339","Designates the Department of Veterans Affairs clinic in Alpena, Michigan, as the<br>\"Lieutenant Colonel Clement C. Van Wagoner Department of Veterans Affairs Clinic.\""],["Providing for consideration of the bill (H.R. 6604) to amend the Commodity Exchange Act to<br>bring greater transparency and accountability to commodity markets, and for other<br>purposes.","HRES1449","Sets forth the rule for consideration of the bill (H.R. 6604) to amend the Commodity<br>Exchange Act to bring greater transparency and accountability to commodity markets."],["Providing for consideration of the bill (H.R. 3036) to amend the Elementary and Secondary<br>Education Act of 1965 regarding environmental education, and for other purposes.","HRES1441","Sets forth the rule for consideration of the bill (H.R. 3036) to amend the Elementary and<br>Secondary Education Act of 1965 regarding environmental education."],["To amend the Elementary and Secondary Education Act of 1965 regarding environmental<br>education, and for other purposes.","HR3036","No Child Left Inside Act of 2008 - Amends the National Environmental Education Act (the<br>Act) to add to the minimum functions and activities required of grantees under the<br>Environmental Education and Training program, which trains educational professionals in<br>the development and delivery of environmental education and training. Requires such<br>grantees to: (1) create opportunities for enhanced and ongoing professional development,<br>in addition to classroom training; (2) ensure that their environm..."],["To authorize the Secretary of the Interior to provide an annual grant to facilitate an<br>iron working training program for Native Americans.","HR6685","Directs the Secretary of the Interior, acting through the Bureau of Indian Affairs, to<br>make a grant each year to an eligible entity to provide an iron working training program<br>that: (1) provides specialized classroom and on-the-job training in iron working skills to<br>adult members of federally recognized Indian tribes; and (2) facilitates job placement<br>upon program completion."],["To establish in the Federal Bureau of Investigation the Nationwide Mortgage Fraud Task<br>Force to address mortgage fraud in the United States, and for other purposes.","HR6853","Nationwide Mortgage Fraud Coordinator Act of 2008 - Requires the Director of the Federal<br>Bureau of Investigation (FBI) to assign the Chief of its Financial Crimes Section,<br>Criminal Investigative Division, to be the Nationwide Mortgage Fraud Coordinator, who<br>shall oversee all FBI activities related to investigation of mortgage fraud. Directs the<br>Coordinator to: (1) establish regional task forces, consisting of the voluntary<br>participation of federal, state, and local law enforcement and prosecu..."],["Providing for consideration of the bill (H.R. 5244) to amend the Truth in Lending Act to<br>establish fair and transparent practices relating to the extension of credit under an open<br>end consumer credit plan, and for other purposes.","HRES1476","Sets forth the rule for consideration of the bill (H.R. 5244) to amend the Truth in<br>Lending Act to establish fair and transparent practices relating to the extension of<br>credit under an open end consumer credit plan."],["A joint resolution expressing the consent and approval of Congress to an interstate<br>compact regarding water resources in the Great Lakes - St. Lawrence River Basin.","SJRES45","Grants congressional consent to and approval of the Great Lakes - St. Lawrence River Basin<br>Water Resources Compact as set forth in this resolution's preamble. Declares that current<br>laws provide protection sufficient to prevent Great Lakes diversions until a Great Lakes<br>water compact is ratified and enforceable.Reserves the right to alter, amend, or repeal<br>this resolution."],["To amend the Truth in Lending Act to establish fair and transparent practices relating to<br>the extension of credit under an open end consumer credit plan, and for other purposes.","HR5244","Credit Cardholders' Bill of Rights Act of 2008 - (Sec. 2) Amends the Truth in Lending Act<br>to prohibit a creditor from increasing any annual percentage rate of interest (APR)<br>applicable to the existing balance on an open end consumer credit card account unless<br>specified conditions are met. Prescribes the treatment of existing balances following a<br>rate increase.Allows a creditor to increase an APR on the existing credit card balance<br>only if the increase is due solely to: (1) the operation of an..."],["To authorize the Secretary of Veterans Affairs to make certain payments to eligible<br>persons who served in the Philippines during World War II.","HR6897","Filipino Veterans Equity Act of 2008 - Establishes in the Treasury the Filipino Veterans<br>Equity Compensation Fund, whose amounts shall be available to the Secretary of Veterans<br>Affairs without fiscal year limitation to make payments to specified eligible persons who<br>served: (1) before July 1, 1946, in the organized military forces of the government of the<br>Commonwealth of the Philippines, while in the service of the Armed Forces of the United<br>States; or (2) in the Philippine Scouts. Sets the p..."],["To amend section 712 of the Employee Retirement Income Security Act of 1974, section 2705<br>of the Public Health Service Act, and section 9812 of the Internal Revenue Code of 1986 to<br>require equity in the provision of mental health and substance-related disorder benefits<br>under group health plans, and for other purposes.","HR6983","Paul Wellstone and Pete Domenici Mental Health Parity and Addiction Equity Act of 2008 -<br>(Sec. 2) Amends the Employee Retirement Income Security Act of 1974 (ERISA), the Public<br>Health Service Act, and the Internal Revenue Code to require a group health plan that<br>provides both medical and surgical benefits and mental health or substance use disorder<br>benefits to ensure that: (1) the financial requirements, such as deductibles and<br>copayments, applicable to such mental health or substance use dis..."],["To protect seniors in the United States from elder abuse by establishing specialized elder<br>abuse prosecution and research programs and activities to aid victims of elder abuse, to<br>provide training to prosecutors and other law enforcement related to elder abuse<br>prevention and protection, and for other purposes.","HR5352","Elder Abuse Victims Act of 2008 - Title I: Elder Abuse Victims - (Sec. 101) Directs the<br>Attorney General to: (1) study and report to Congress on state laws and practices relating<br>to elder abuse, neglect, and exploitation; and (2) develop objectives, priorities,<br>policies, and a long-term plan for elder justice programs and activities. Directs the<br>Comptroller General to report to Congress any recommendations with respect to any federal<br>legislation, regulations, or programs determined necessary ..."],["To establish a demonstration incentive program within the Department of Education to<br>promote installation of fire sprinkler systems, or other fire suppression or prevention<br>technologies, in qualified student housing and dormitories, and for other purposes.","HR642","Honorable Stephanie Tubbs Jones College Fire Prevention Act - Directs the Secretary of<br>Education to make competitive demonstration grants to institutions of higher education<br>(IHEs), fraternities, and sororities for up to half the cost of installing fire sprinkler<br>systems, or other fire suppression or prevention technologies, in student housing and<br>dormitories owned or controlled by such entities. Gives grant priority to applicants that<br>demonstrate the greatest financial need. Reserves the fol..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2638) making<br>appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2008, and for other purposes.","HRES1488","Sets forth the rule for consideration of the Senate amendment to H.R. 2638 (Consolidated<br>Security, Disaster Assistance, and Continuing Appropriations Act, 2009). Agrees to the<br>Senate amendment with an amendment printed in the accompanying report of the Committee on<br>Rules. Requires the chairman of the Committee on Appropriations to insert in the daily<br>issue of the Congressional Record dated September 24, 2008, such material as he may deem<br>explanatory of the motion to agree."],["An original bill to authorize appropriations for fiscal year 2009 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S3001","Duncan Hunter National Defense Authorization Act for Fiscal Year 2009 - Expresses the<br>sense of Congress that the Honorable Duncan Hunter, Representative from California, has<br>discharged his official duties with integrity and distinction, has served the House of<br>Representatives and the American people selflessly, and deserves the sincere gratitude of<br>Congress and the Nation. Division A: Department of Defense Authorizations - Title I:<br>Procurement - Subtitle A: Authorization of Appropriations - (..."],["To amend the Public Health Service Act to provide for research with respect to various<br>forms of muscular dystrophy, including Becker, congenital, distal, Duchenne, Emery-<br>Dreifuss facioscapulohumeral, limb-girdle, myotonic, and oculopharyngeal, muscular<br>dystrophies.","HR5265","Paul D. Wellstone Muscular Dystrophy Community Assistance, Research, and Education<br>Amendments of 2008 - Amends the Public Health Service Act to designate centers of<br>excellence for research on various forms of muscular dystrophy as Paul D. Wellstone<br>Muscular Dystrophy Cooperative Research Centers.Authorizes the Muscular Dystrophy<br>Interagency Coordinating Committee to evaluate the potential need to enhance the clinical<br>research infrastructure required to test emerging therapies for the various ..."],["To amend the Internal Revenue Code of 1986 to provide alternative minimum tax relief for<br>individuals for 2008.","HR7005","Alternative Minimum Tax Relief Act of 2008 - Amends the Internal Revenue Code to extend<br>through 2008 for individual taxpayers: (1) the offset of nonrefundable personal tax<br>credits against regular and alternative minimum tax (AMT) liability; and (2) the increased<br>alternative minimum tax (AMT) exemption amounts.Increases the alternative minimum tax<br>(AMT) refundable credit amount for individuals who have long-term unused minimum tax<br>credits from prior taxable years. Abates any underpayment of ta..."],["To amend the Internal Revenue Code of 1986 to provide disaster assistance relief.","HR7006","Disaster Tax Relief Act of 2008 - Amends the Internal Revenue Code to provide tax relief<br>in federally declared disaster areas.(Sec. 2) Waives the 10% adjusted gross income<br>limitation on personal casualty losses for losses sustained from a federally declared<br>disaster occurring after December 31, 2007, and before January 1, 2012. Defines \"federally<br>declared disaster\" as any disaster determined by the President to warrant federal<br>assistance under the Robert T. Stafford Relief and Emergency Assis..."],["A bill to reauthorize the United States Fire Administration, and for other purposes.","S2606","United States Fire Administration Reauthorization Act of 2008 - (Sec. 3) Amends the<br>Federal Fire Prevention and Control Act of 1974 to authorize appropriations for the U.S.<br>Fire Administration (USFA) for FY2009-FY2012. (Sec. 4) Authorizes the Superintendent of<br>the National Academy for Fire Prevention and Control to include within fire service<br>personnel training: (1) tactics and strategies for dealing with natural disasters, acts of<br>terrorism, and other man-made disasters; (2) applying new tec..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES1490","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration or disposition of a measure (providing incentives for energy production and<br>conservation, extending certain expiring provisions, and providing individual income tax<br>relief) on the same day it is presented to the House."],["To require that health plans provide coverage for a minimum hospital stay for<br>mastectomies, lumpectomies, and lymph node dissection for the treatment of breast cancer<br>and coverage for secondary consultations.","HR758","Breast Cancer Patient Protect Act of 2008 - Amends the Employee Retirement Income Security<br>Act of 1974 (ERISA), the Public Health Service Act, and the Internal Revenue Code to<br>require a group health plan or a health issuer offering group health insurance coverage<br>that provides medical and surgical benefits to ensure that inpatient (and in the case of a<br>lumpectomy, outpatient) coverage and radiation therapy are provided for breast cancer<br>treatment. Prohibits such a plan or issuer from: (1) res..."],["Providing for consideration of the bill (H.R. 7060) to amend the Internal Revenue Code of<br>1986 to provide incentives for energy production and conservation, to extend certain<br>expiring provisions, to provide individual income tax relief, and for other purposes.","HRES1501","Sets forth the rule for consideration of the bill (H.R. 7060) to amend the Internal<br>Revenue Code of 1986 to provide incentives for energy production and conservation, to<br>extend certain expiring provisions, to provide individual income tax relief."],["To amend the Federal Food, Drug, and Cosmetic Act and the Public Health Service Act to<br>improve the prevention, diagnosis, and treatment of heart disease, stroke, and other<br>cardiovascular diseases in women.","HR1014","Heart Disease Education, Analysis Research, and Treatment for Women Act or the HEART for<br>Women Act - (Sec. 2) Amends the Federal Food, Drug, and Cosmetic Act to allow the<br>Secretary of Health and Human Services to deny a new drug application if the application<br>fails to include required information on clinical investigations.Directs the Secretary to<br>require that a new drug application include any clinical data possessed by the applicant<br>that relates to the safety and effectiveness of the drug i..."],["To establish the Stephanie Tubbs Jones Gift of Life Medal for organ donors and the family<br>of organ donors.","HR6950","Stephanie Tubbs Jones Gift of Life Medal Act of 2008 - Makes any organ donor, or the<br>family of any organ donor, eligible for a Stephanie Tubbs Jones Gift of Life Medal.<br>Requires the Secretary of Health and Human Services to direct the Organ Procurement and<br>Transplantation Network to establish an application procedure, determine eligibility, and<br>arrange for the presentation of medals.Allows only one medal per family. Requires that<br>such medal be presented to the donor or, in the case of a decea..."],["To amend title I of the Omnibus Crime Control and Safe Streets Act of 1968 to extend the<br>authorization of the Bulletproof Vest Partnership Grant Program through fiscal year 2012.","HR6045","Bulletproof Vest Partnership Grant Act of 2008 - Amends the Omnibus Crime Control and Safe<br>Streets Act of 1968 to extend through FY2012 the grant program for armor vests for law<br>enforcement officers."],["To amend the Internal Revenue Code of 1986 to provide incentives for energy production and<br>conservation, to extend certain expiring provisions, to provide individual income tax<br>relief, and for other purposes.","HR7060","Renewable Energy and Job Creation Tax Act of 2008 - Amends the Internal Revenue Code to<br>provide tax incentives for energy conservation and production, to extend expiring<br>provisions, and provide for revenue enhancements.Extends the tax credit for producing<br>electricity from renewable resources: (1) through 2009 for wind facilities; and (2)<br>through FY2011 for closed and open-loop biomass, geothermal, small irrigation power,<br>landfill gas, trash combustion, and hydropower facilities. Includes mari..."],["A bill to amend the Public Health Service Act to provide for the establishment of an<br>Amyotrophic Lateral Sclerosis Registry.","S1382","ALS Registry Act - (Sec. 2) Amends the Public Health Service Act to authorize the<br>Secretary of Health and Human Services, acting through the Director of the Centers for<br>Disease Control and Prevention (CDC), if scientifically advisable, to: (1) develop a<br>system to collect data on amyotrophic lateral sclerosis (ALS) and other motor neuron<br>disorders that can be confused with ALS, misdiagnosed as ALS, or progress to ALS; and (2)<br>establish a national registry for the collection and storage of such..."],["Providing for consideration of motions to suspend the rules.","HRES1500","Makes it in order at any time through the calendar day of September 28, 2008, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules. Requires the Speaker or her designee to consult with the Minority Leader or his<br>designee on the designation of any matter for consideration pursuant to this resolution."],["A bill to amend the Public Health Service Act to reauthorize the poison center national<br>toll-free number, national media campaign, and grant program to provide assistance for<br>poison prevention, sustain the funding of poison centers, and enhance the public health of<br>people of the United States.","S2932","Poison Center Support, Enhancement, and Awareness Act of 2008 - Amends the Public Health<br>Service Act to require the Secretary of Health and Human Services to provide coordination<br>and assistance for the maintenance of the nationwide toll-free phone number to access<br>poison control centers. Requires the Secretary to carry out and expand upon a national<br>media campaign to educate the public and health care providers about poison prevention and<br>the availability of poison control center resources in..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES1503","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration or disposition of a measure (making FY2009 supplemental appropriations for<br>job creation and preservation, infrastructure investment, and economic and energy<br>assistance) on the same day it is presented to the House."],["Providing for consideration of the bill (H.R. 7110) making supplemental appropriations for<br>job creation and preservation, infrastructure investment, and economic and energy<br>assistance for the fiscal year ending September 30, 2009, and for other purposes.","HRES1507","Sets forth the rule for consideration of the bill (H.R. 7110) making supplemental<br>appropriations for job creation and preservation, infrastructure investment, and economic<br>and energy assistance for the fiscal year ending September 30, 2009."],["Making supplemental appropriations for job creation and preservation, infrastructure<br>investment, and economic and energy assistance for the fiscal year ending September 30,<br>2009, and for other purposes.","HR7110","Job Creation and Unemployment Relief Act of 2008 - Title I: Infrastructure Investments -<br>Chapter I: Transportation - Makes supplemental appropriations for FY2009 for<br>infrastructure investments to the Department of Transportation (DOT) for: (1) the Federal<br>Aviation Administration, grants-in-aid for airports; (2) Federal Highway Administration,<br>highway infrastructure investment; (3) Federal Railroad Administration, capital and debt<br>service grants to the National Railroad Passenger Corporation (..."],["To approve the United States-India Agreement for Cooperation on Peaceful Uses of Nuclear<br>Energy, and for other purposes.","HR7081","United States-India Nuclear Cooperation Approval and Nonproliferation Enhancement Act -<br>(Sec. 2) Defines specified terms. Title I: Approval of United States-India Agreement for<br>Cooperation on Peaceful Uses of Nuclear Energy - (Sec. 101) Approves the United States-<br>India Agreement for Cooperation on Peaceful Uses of Nuclear Energy (Agreement), subject to<br>the provisions of the Atomic Energy Act of 1954, the Henry J. Hyde United States-India<br>Peaceful Atomic Energy Cooperation Act of 2006, and oth..."],["To require Surface Transportation Board consideration of the impacts of certain railroad<br>transactions on local communities, and for other purposes.","HR6707","Taking Responsible Action for Community Safety Act - Revises requirements with respect to<br>the consolidation, merger, or acquisition of control (transaction) involving rail carriers<br>to require public hearings in the affected communities if public hearings on a proposed<br>transaction are held. Requires the Surface Transportation Board, in a proceeding with<br>respect to a transaction that involves at least one Class I railroad (under current law,<br>involving the merger or control of at least two Class..."],["A bill to enhance remedies for violations of intellectual property laws, and for other<br>purposes.","S3325","Prioritizing Resources and Organization for Intellectual Property Act of 2008 - Title I:<br>Enhancements to Civil Intellectual Property Laws - (Sec. 101) Amends federal copyright law<br>to provide that copyright registration requirements apply to civil (not criminal)<br>infringement actions and provide a safe harbor for copyright registrations that contain<br>inaccurate information.(Sec. 102) Allows a court, while an infringement action is pending,<br>to impound records documenting the manufacture, sale, or..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES1514","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of any resolution reported on the legislative day of September 28, 2008, or<br>September 29, 2008, on the same day it is presented to the House."],["A bill to establish a liaison with the Federal Bureau of Investigation in United States<br>Citizenship and Immigration Services to expedite naturalization applications filed by<br>members of the Armed Forces and to establish a deadline for processing such applications.","S2840","Military Personnel Citizenship Processing Act - Amends the Homeland Security Act of 2002<br>to establish an Office of the FBI Liaison in the Department of Homeland Security (DHS)<br>which shall monitor and assist with Federal Bureau of Investigation (FBI) functions<br>related to expeditiously processing naturalization applications filed by or on behalf of:<br>(1) members and former members of the Armed Forces; (2) current spouses of active Armed<br>Forces members and surviving spouses and children of U.S. c..."],["A bill to prohibit the sale, distribution, transfer, and export of elemental mercury, and<br>for other purposes.","S906","Mercury Export Ban Act of 2008- (Sec. 3) Amends the Toxic Substances Control Act to<br>prohibit any federal agency from conveying, selling, or distributing elemental mercury to<br>any other federal, state, or local agency or any private individual or entity. Exempts:<br>(1) transfers between federal agencies for the sole purpose of facilitating storage of<br>mercury to carry out this Act; and (2) conveyances, sales, distributions, or transfers of<br>coal.(Sec. 4) Prohibits the export of elemental mercury fr..."],["Providing for consideration of the Senate amendment to the bill (H.R. 3997) to amend the<br>Internal Revenue Code of 1986 to provide earnings assistance and tax relief to members of<br>the uniformed services, volunteer firefighters, and Peace Corps volunteers, and for other<br>purposes.","HRES1517","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3997) to<br>amend the Internal Revenue Code of 1986 to provide earnings assistance and tax relief to<br>members of the uniformed services, volunteer firefighters, and Peace Corps volunteers."],["Providing for an adjournment or recess of the two Houses.","HCONRES440","Declares that, when the House adjourns on any legislative day from Monday, September 29,<br>2008, through Friday, October 3, 2008, it stand adjourned until 11 a.m. on Saturday,<br>January 3, 2009. Declares that the Senate may recess or adjourn on any day from Thursday,<br>October 2, 2008, through January 3, 2009, but not beyond 12 p.m. on Saturday, January 3,<br>2009."],["To amend the Small Business Act to improve the section 7(a) lending program, and for other<br>purposes.","HR7175","Small Business Financing Improvements Act of 2008 - Title I: 7(a) Loan Program - (Sec.<br>101) Amends the Small Business Act to require trust certificates representing all or a<br>portion of one or more small business loans guaranteed by the Small Business<br>Administration (SBA) to be based on and backed by a trust or pool approved by the SBA<br>Administrator and composed solely of the guaranteed portion of such loan(s). Makes the<br>interest rate on such certificates either: (1) the lowest rate on any loa..."],["To amend the McKinney-Vento Homeless Assistance Act to reauthorize the Act, and for other<br>purposes.","HR7221","Homeless Emergency Assistance and Rapid Transition to Housing Act of 2008 - (Sec. 3)<br>Amends the McKinney-Vento Homeless Assistance Act to redefine \"homeless, homeless<br>individual, or homeless person.\" Includes in such definition not only a family lacking a<br>fixed, regular, and adequate nighttime residence, but also an individual or family who:<br>(1) will imminently lose their housing; (2) has no subsequent residence identified; and<br>(3) lacks the resources or support networks needed to obtain othe..."],["Providing for consideration of the Senate amendments to the bill (H.R. 1424) to amend<br>section 712 of the Employee Retirement Income Security Act of 1974, section 2705 of the<br>Public Health Service Act, section 9812 of the Internal Revenue Code of 1986 to require<br>equity in the provision of mental health and substance-related disorder benefits under<br>group health plans, to prohibit discrimination on the basis of genetic information with<br>respect to health insurance and employment, and for other purposes.","HRES1525","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 1424) to<br>amend section 712 of the Employee Retirement Income Security Act of 1974, section 2705 of<br>the Public Health Service Act, section 9812 of the Internal Revenue Code of 1986 to<br>require equity in the provision of mental health and substance-related disorder benefits<br>under group health plans, to prohibit discrimination on the basis of genetic information<br>with respect to health insurance and employment."],["A bill to amend title 11, United States Code, to exempt for a limited period, from the<br>application of the means-test presumption of abuse under chapter 7, qualifying members of<br>reserve components of the Armed Forces and members of the National Guard who, after<br>September 11, 2001, are called to active duty or to perform a homeland defense activity<br>for not less than 90 days.","S3197","National Guard and Reservists Debt Relief Act of 2008 - (Sec. 2) Amends federal bankruptcy<br>law to prohibit the bankruptcy court from dismissing or converting a chapter 7 liquidation<br>case based upon means testing if the debtor, after September 11, 2001, was called to<br>active duty or homeland defense activity while a member of a reserve component of the<br>Armed Forces or a member of the National Guard, and such debtor is: (1) on active duty for<br>a specified period; or (2) performing a homeland defe..."],["To provide for additional emergency unemployment compensation.","HR6867","Unemployment Compensation Extension Act of 2008 - Amends the Supplemental Appropriations<br>Act, 2008 to revise the formula for Tier-1 amounts a state credits to an applicant's<br>emergency unemployment compensation account (EUCA) for a benefit year. Increases the<br>figures in the formula (the lesser of which shall be the amount credited): (1) from 50% to<br>80% of the total amount of regular compensation (including dependents' allowances) payable<br>to the individual during the benefit year; and (2) from ..."],["Waiving a requirement of clause 6(a) of Rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES1533","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration or disposition of a measure (relating to financial assistance to eligible<br>automobile manufacturers) on the same day it is presented to the House."],["Providing for consideration of the bill (H.R. 7321) to authorize financial assistance to<br>eligible automobile manufacturers, and for other purposes.","HRES1534","Sets forth the rule for consideration of the bill (H.R. 7321) to authorize financial<br>assistance to eligible automobile manufacturers."],["To authorize financial assistance to eligible automobile manufacturers, and for other<br>purposes.","HR7321","Auto Industry Financing and Restructuring Act - (Sec. 3) Directs the President to<br>designate one or more executive branch officers (designee) to carry out the purposes of<br>this Act. Requires such designee to have appropriate expertise to facilitate the<br>restructuring necessary to achieve the long-term financial viability of domestic<br>automobile manufacturers. (Sec. 4) Requires the designee to authorize and direct the<br>disbursement of bridge loans or to enter into commitments for lines of credit to..."],["A resolution honoring President Gerald Rudolph Ford.","SRES19","Honors President Gerald Rudolph Ford and expresses appreciation for his service."],["A concurrent resolution expressing the bipartisan resolution on Iraq.","SCONRES2","Expresses the sense of Congress that: (1) it is not in the U.S. national interest to<br>deepen its military involvement in Iraq, particularly by increasing the U.S. military<br>presence in Iraq; (2) the primary objective of U.S. strategy in Iraq should be to have the<br>Iraqi political leaders make the political compromises necessary to end the violence in<br>Iraq; (3) greater regional and international support would assist the Iraqis in achieving<br>a political solution and national reconciliation; (4) mai..."],["A bill to express the sense of Congress on Iraq.","S470","Expresses the sense of Congress that: (1) the Senate disagrees with the plan to augment<br>our forces in Iraq by 21,500 and urges the President to consider all options for achieving<br>the strategic goals set forth below; (2) the Senate believes the United States should<br>continue operations in Anbar province, specifically for the purpose of combating an<br>insurgency, including Al Qaeda associated elements, and denying terrorists a safe haven;<br>(3) the Senate believes a failed state in Iraq would presen..."],["A bill to express the sense of Congress on Iraq.","S574","Expresses the sense of Congress that: (1) Congress and the American people will continue<br>to support and protect U.S. Armed Forces members who are serving or who have served<br>bravely and honorably in Iraq; and (2) Congress disapproves of President George W. Bush's<br>decision announced on January 10, 2007, to deploy more than 20,000 additional U.S. combat<br>troops to Iraq. Amends the United States Policy in Iraq Act to require reports every 30<br>days on specified aspects of U.S. policy and military op..."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES67","Provides for an adjournment of the House of Representatives from February 16 or 17, 2007,<br>until February 27, 2007 (or until another time of reassembly under this concurrent<br>resolution), and a recess or an adjournment of the Senate from February 17, 2007-February<br>24, 2007, until February 26, 2007 (or until another time of reassembly). Authorizes the<br>Speaker of the House and the Majority Leader of the Senate, or their respective designees,<br>acting jointly after consultation with the Minority Lea..."],["A bill to make the United States more secure by implementing unfinished recommendations of<br>the 9/11 Commission to fight the war on terror more effectively, to improve homeland<br>security, and for other purposes.","S4","Improving America's Security Act of 2007 - Provides for implementation of recommendations<br>of the National Commission on Terrorist Attacks Upon the United States (9/11 Commission).<br>Title I: Improving Intelligence and Information Sharing within the Federal Government and<br>with State, Local, and Tribal Governments - Subtitle A: Homeland Security Information<br>Sharing Enhancement - (Sec. 111) Amends the Homeland Security Act of 2002 (HSA) to require<br>the Secretary of Homeland Security (the Secretary)..."],["A joint resolution to revise United States policy on Iraq.","SJRES9","United States Policy in Iraq Resolution of 2007 - Directs the President to begin the<br>phased redeployment of U.S. forces from Iraq within 120 days of enactment of this joint<br>resolution with the goal of redeploying by March 31, 2008, all U.S. combat forces from<br>Iraq, except for a limited number essential for protecting U.S. and coalition personnel<br>and infrastructure, training and equipping Iraqi forces, and conducting targeted counter-<br>terrorism operations. Requires the President to transition t..."],["A resolution expressing the sense of the Senate that no action should be taken to<br>undermine the safety of the Armed Forces of the United States or impact their ability to<br>complete their assigned or future missions.","SRES107","Declares that the President and Congress: (1) should not take any action that will<br>endanger U.S. Armed Forces; and (2) will provide necessary funds for training, equipment,<br>and other support for troops in the field to ensure their safety and effectiveness in<br>preparing for and carrying out their assigned missions. States that the President and<br>Congress should: (1) continue to exercise their constitutional responsibilities to ensure<br>that the Armed Forces have everything they need to perform the..."],["An original bill to authorize appropriations for fiscal year 2007 for the intelligence and<br>intelligence-related activities of the United States Government, the Intelligence<br>Community Management Account, and the Central Intelligence Agency Retirement and<br>Disability System, and for other purposes.","S372","Intelligence Authorization Act for Fiscal Year 2007 - Title I: Intelligence Activities -<br>(Sec. 101) Authorizes appropriations for FY2007 for the conduct of intelligence and<br>intelligence-related activities of the: (1) Office of the Director of National<br>Intelligence (DNI); (2) Central Intelligence Agency (CIA); (3) Department of Defense<br>(DOD); (4) Defense Intelligence Agency (DIA); (5) National Security Agency (NSA); (6)<br>Departments of the Army, Navy, and Air Force; (7) Departments of State, th..."],["A bill to amend part D of title XVIII of the Social Security Act to provide for fair<br>prescription drug prices for Medicare beneficiaries.","S3","Medicare Prescription Drug Price Negotiation Act of 2007 - Expresses the sense of Congress<br>that Congress should enact, and the President should sign, legislation to amend part D<br>(Voluntary Prescription Drug Benefit Program) of title XVIII (Medicare) of the Social<br>Security Act to provide for fair prescription drug prices for Medicare beneficiaries."],["A bill to amend title 18, United States Code, to protect judges, prosecutors, witnesses,<br>victims, and their family members, and for other purposes.","S378","Court Security Improvement Act of 2007 - Title I: Judicial Security Improvements and<br>Funding - (Sec. 101) Amends the federal judicial code to require the Director of the U.S.<br>Marshals Service to consult with the Judicial Conference of the United States (Judicial<br>Conference) on a continuing basis regarding the security requirements of the judicial<br>branch.(Sec. 102) Amends the Ethics in Government Act of 1978 to: (1) authorize the<br>Judicial Conference to allow redactions of personal information ..."],["A bill to invest in innovation and education to improve the competitiveness of the United<br>States in the global economy.","S761","America COMPETES Act or America Creating Opportunities to Meaningfully Promote Excellence<br>in Technology, Education, and Science Act - Division A: Commerce and Science - American<br>Innovation and Competitiveness Act - Title I: Office of Science and Technology Policy;<br>Government-Wide Science - (Sec. 1101) Directs the President to: (1) convene a National<br>Science and Technology Summit to examine the health and direction of the United States'<br>science, technology, engineering, and mathematics enterpr..."],["A bill to amend the Federal Food, Drug, and Cosmetic Act to reauthorize and amend the<br>prescription drug user fee provisions, and for other purposes.","S1082","Food and Drug Administration Revitalization Act - Title I: Prescription Drug User Fees -<br>(Sec. 101) - Prescription Drug User Fee Amendments of 2007 - (Sec. 102) Amends the Federal<br>Food, Drug, and Cosmetic Act (FFDCA) to set forth as a purpose that authorized<br>prescription drug fees be dedicated toward expediting the drug development process, the<br>process for the review of human drug applications, and postmarket drug safety. Sets forth<br>reporting requirements, including requiring the Secretary of..."],["A bill to provide for comprehensive immigration reform and for other purposes.","S1348","Comprehensive Immigration Reform Act of 2007 - Sets forth border security and enforcement<br>provisions, including provisions respecting: (1) personnel and asset increases and<br>enhancements; (2) a National Strategy for Border Security; (3) border security<br>initiatives, including biometric data enhancements and a biometric entry-exit system,<br>document integrity, and mandatory detention of aliens apprehended at or between ports of<br>entry; (4) Central American gangs; (5) cooperation with Mexico; (6) Na..."],["A joint resolution expressing the sense of the Senate that Attorney General Alberto<br>Gonzales no longer holds the confidence of the Senate and of the American people.","SJRES14","Expresses the sense of the Senate that Attorney General Alberto Gonzales no longer holds<br>the confidence of the Senate and of the American people."],["A bill to provide for comprehensive immigration reform and for other purposes.","S1639","Establishes specified benchmarks which must be met before the guest worker and<br>legalization programs under this Act may be initiated respecting: (1) operational control<br>of the the border with Mexico; (2) Border Patrol increases; (3) border barriers, including<br>vehicle barriers, fencing, radar, and aerial vehicles; (4) detention capacity for illegal<br>aliens apprehended crossing the U.S.-Mexico border; (5) workplace enforcement, including<br>an electronic employment verification system; and (6) Z-vi..."],["A bill to extend the authorization of programs under the Higher Education Act of 1965, and<br>for other purposes.","S1642","Higher Education Amendments of 2007 - Amends the Higher Education Act of 1965 (HEA) to<br>revise HEA programs and to extend the authorization of appropriations for them through<br>FY2013. Title I: General Provisions - (Sec. 101) Adds definitions of a critical foreign<br>language, distance education, and poverty line. Provides that critical foreign languages<br>are those contained on the list designated by the Secretary of Education in the Federal<br>Register on August 5, 1985, but allows the Secretary to se..."],["Approving the renewal of import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003.","HJRES44","Approves the renewal of certain import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003. Amends the Consolidated Omnibus Budget Reconciliation Act of 1985<br>to extend certain customs fees for the processing of merchandise entered into the United<br>States through October 21, 2014. Amends the Tax Increase Prevention and Reconciliation Act<br>of 2005 to increase the amount of any corporate estimated tax installment otherwise due by<br>a corporation with assets of not less than $1 bi..."],["A bill entitled \"The Protect America Act of 2007\".","S2011","Protect America Act of 2007 - Amends the Foreign Intelligence Surveillance Act of 1978<br>(FISA) to provide that a court order is not required for the electronic surveillance of<br>communication between persons who are not located within the United States for collecting<br>foreign intelligence information, without respect to whether the communication passes<br>through the United States or the surveillance device is located within the United States.<br>Authorizes the Attorney General (AG) to apply to the For..."],["A bill to authorize the cancellation of removal and adjustment of status of certain alien<br>students who are long-term United States residents and who entered the United States as<br>children, and for other purposes.","S2205","Development, Relief, and Education for Alien Minors Act of 2007 or DREAM Act of 2007 -<br>Authorizes the Secretary of Homeland Security to cancel the removal of, and adjust to<br>conditional permanent resident status, an alien who: (1) entered the United States before<br>his or her sixteenth birthday, and has been present in the United States for at least five<br>years immediately preceding enactment of this Act; (2) is a person of good moral<br>character; (3) is not inadmissible or deportable under specifi..."],["A bill to reauthorize Amtrak, and for other purposes.","S294","Passenger Rail Investment and Improvement Act of 2008 - Title I: Authorizations - (Sec.<br>101) Authorizes appropriations for FY2009-FY2013 for: (1) Amtrak capital and operating<br>grants, including capital grants to states, to the Amtrak Office of the Inspector General,<br>and for accessibility improvements and barrier removal for individuals with disabilities;<br>(2) Amtrak repayment of long-term debt and capital leases; and (3) the rail cooperative<br>research program. Authorizes appropriations for FY200..."],["An original bill to modernize and update the National Housing Act and enable the Federal<br>Housing Administration to more effectively reach underserved borrowers, and for other<br>purposes.","S2338","FHA Modernization Act of 2007 - Title I: Building American Homeownership - Building<br>American Homeownership Act of 2007 - (Sec. 102) Amends the National Housing Act to: (1)<br>modify requirements for the maximum principal loan obligation, changing one element in the<br>formula from 95% to 100% of the median one-family house price in the area; and (2) limit<br>the principal loan obligation to 100% of the appraised value of the property. (Sec. 103)<br>Amends the National Housing Act to revise eligibility cr..."],["An original bill to amend the Foreign Intelligence Surveillance Act of 1978, to modernize<br>and streamline the provisions of that Act, and for other purposes.","S2248","Foreign Intelligence Surveillance Act of 1978 Amendments Act of 2008 or FISA Amendments<br>Act of 2008 - Title I: Foreign Intelligence Surveillance - (Sec. 101) Amends the Foreign<br>Intelligence Surveillance Act of 1978 (FISA) to add a new title concerning additional<br>procedures for acquiring the communications of certain persons outside the United States.<br>Authorizes the Attorney General (AG) and Director of National Intelligence (DNI) to<br>jointly authorize, for periods up to one year, the targeting..."],["A bill to amend the Indian Health Care Improvement Act to revise and extend the Act.","S1200","Indian Health Care Improvement Act Amendments of 2008 - Reauthorizes Indian Health Service<br>(IHS) programs. Title I: Amendments to Indian Laws - (Sec. 101) Amends the Indian Health<br>Care Improvement Act ( IHCIA) to declare a national Indian health policy to: (1) raise the<br>health status of Indians and Urban Indians by 2010 to at least the levels set forth in the<br>goals contained within the Healthy People 2010 or successor objectives; (2) ensure maximum<br>Indian participation in the direction of hea..."],["A bill to provide for the safe redeployment of United States troops from Iraq.","S2633","Directs the President to transition the mission of U.S. forces in Iraq to the following<br>purposes: (1) conducting limited scope and duration operations against al Qaeda and other<br>international terrorist organizations; (2) providing security for U.S. infrastructure and<br>personnel; (3) training and equipping Iraqi security services and U.S. forces; and (4)<br>redeploying U.S. forces from Iraq. Exempts such activities from the funding and<br>redeployment provisions of this Act. Directs the President to ..."],["A bill to require a report setting forth the global strategy of the United States to<br>combat and defeat al Qaeda and its affiliates.","S2634","Directs the Secretaries of Defense, State, and Homeland Security to jointly submit to<br>Congress a report setting forth U.S. global strategy to defeat al Qaeda and its<br>affiliates."],["A bill to reform the Consumer Product Safety Commission to provide greater protection for<br>children's products, to improve the screening of noncompliant consumer products, to<br>improve the effectiveness of consumer product recall programs, and for other purposes.","S2663","CPSC Reform Act - Amends the Consumer Product Safety Act to authorize appropriations to<br>carry out the Act and for other purposes. Creates or modifies provisions relating to<br>personnel and Commissioners of the Consumer Product Safety Commission (CPSC), public<br>disclosure of information, and rulemaking procedures. Requires third party certification<br>of, and provides for tracking and record keeping regarding, children's products. Modifies<br>provisions relating reporting of substantial product hazards..."],["A resolution honoring the sacrifice of the members of the United States Armed Forces who<br>have been killed in Iraq and Afghanistan.","SRES501","Honors the service and sacrifice of, and identifies, the 4,009 men and women who lost<br>their lives in support of Operation Iraqi Freedom, and 487 men and women who lost their<br>lives in support of Operation Enduring Freedom, as of April 3, 2008. Honors their families<br>and loved ones."],["A bill to amend title 38, United States Code, to enhance life insurance benefits for<br>disabled veterans, and for other purposes.","S1315","Veterans' Benefits Enhancement Act of 2008 - Title I: Insurance Matters - (Sec. 101)<br>Allows administrative costs of the Service-Disabled Veterans' Insurance program to be paid<br>through premiums. (Sec. 102) Includes all (under current law, only certain active-duty)<br>members of the Individual Ready Reserve under the Servicemembers' Group Life Insurance<br>(SGLI) program. Revises provisions relating to the termination of SGLI coverage for a<br>dependent to provide that such coverage may terminate upon t..."],["An original bill to amend the National Flood Insurance Act of 1968, to restore the<br>financial solvency of the flood insurance fund, and for other purposes.","S2284","Flood Insurance Reform and Modernization Act of 2007 - (Sec. 4) Amends the National Flood<br>Insurance Act of 1968 (Act) to extend the national flood insurance program (Program)<br>though FY2013. (Sec. 5) Requires the Director of the Federal Emergency Management Agency<br>(FEMA) to make national flood insurance available for multifamily properties of more than<br>four units. (Sec. 6) Requires the FEMA Director to estimate the exclusion of certain<br>prospective insureds from purchasing flood insurance at ri..."],["A bill to direct the Administrator of the Environmental Protection Agency to establish a<br>program to decrease emissions of greenhouse gases, and for other purposes.","S3036","Lieberman-Warner Climate Security Act of 2008 - Requires the Administrator of the<br>Environmental Protection Agency (EPA) to establish: (1) a federal greenhouse gas (GHG)<br>registry, for which certain facilities must report information regarding fossil fuels and<br>GHGs produced and consumed; and (2) specified quantities of GHG emission allowances, which<br>decline for each of 2012 to 2050. Requires the Administrator to establish a GHG emission<br>allowance transfer system for the following: (1) facilitie..."],["A bill to provide energy price relief and hold oil companies and other entities<br>accountable for their actions with regard to high energy prices, and for other purposes.","S3044","Consumer-First Energy Act of 2008 - Amends the Internal Revenue Code to: (1) deny major<br>integrated oil companies (i.e., companies producing at least 500,000 barrels of crude oil<br>daily) a tax deduction for income attributable to domestic production of oil, gas, or<br>primary products thereof; (2) conform tax treatment of foreign oil and gas extraction<br>income and foreign oil related income for purposes of the foreign tax credit; (3) impose a<br>windfall profits tax on major integrated oil companies; ..."],["A bill to amend titles XVIII and XIX of the Social Security Act to extend expiring<br>provisions under the Medicare program, to improve beneficiary access to preventive and<br>mental health services, to enhance low-income benefit programs, and to maintain access to<br>care in rural areas, including pharmacy access, and for other purposes.","S3101","Medicare Improvements for Patients and Providers Act of 2008 - Amends title XVIII<br>(Medicare) of the Social Security Act (SSA) to provide for coverage of additional<br>preventive services.Provides for gradual elimination of copayment rates for Medicare<br>psychiatric services.Places prohibitions and limitations on certain sales and marketing<br>activities under Medicare Advantage (MA) plans and prescription drug plans.Requires<br>offering of a range of Medicare supplemental policies.Extends the qualifying..."],["A bill to authorize appropriations for fiscal years 2009 through 2013 to provide<br>assistance to foreign countries to combat HIV/AIDS, tuberculosis, and malaria, and for<br>other purposes.","S2731","Tom Lantos and Henry J. Hyde United States Global Leadership Against HIV/AIDS,<br>Tuberculosis, and Malaria Reauthorization Act of 2008 - Title I: Policy Planning and<br>Coordination: (Sec. 101) Amends the United States Leadership Against HIV/AIDS,<br>Tuberculosis, and Malaria Act of 2003 (Act) to revise the provisions of the President's<br>comprehensive five-year global strategy (and related report) to combat HIV/AIDS.Directs<br>the Coordinator of United States Government Activities to Combat HIV/AIDS Glob..."],["A bill to amend the Commodity Exchange Act, to prevent excessive price speculation with<br>respect to energy commodities, and for other purposes.","S3268","Stop Excessive Energy Speculation Act of 2008 - Amends the Commodity Exchange Act to<br>extend its coverage to energy commodities such as petroleum products and natural<br>gas.Prohibits the Commodity Futures Trading Commission (CFTC) from permitting a foreign<br>board of trade to provide its members or other participants subject to CFTC jurisdiction<br>direct access to its electronic trading and order matching system unless it meets<br>specified requirements.Authorizes the CFTC to require recordkeeping by a..."],["A bill to advance America's priorities.","S3297","Advancing America's Priorities Act - Amends the Public Health Service Act to: (1)<br>establish a system to collect data on amyotrophic lateral sclerosis (ALS) and establish a<br>registry for such data; (2) provide for an education and information campaign to promote<br>stroke prevention; and (3) award grants for a pilot project to improve stroke patient<br>outcomes by coordinating health care delivery through telehealth networks.Establishes<br>programs for research, rehabilitation, and quality of life for p..."],["A bill to amend the Internal Revenue Code of 1986 to extend certain expiring provisions,<br>and for other purposes.","S3335","Jobs, Energy, Families, and Disaster Relief Act of 2008 - Amends the Internal Revenue Code<br>to extend various provisions relating to energy production and conservation and to<br>individual and business-related activities.Extends the tax credit for producing<br>electricity from wind facilities through 2009 and the tax credit for closed and open-loop<br>biomass, geothermal, small irrigation, hydropower, landfill gas, and trash combustion<br>facilities through 2011. Includes marine and hydrokinetic renewable..."],["A bill making emergency supplemental appropriations for economic recovery for the fiscal<br>year ending September 30, 2008, and for other purposes.","S3604","Economic Recovery Act, 2008 - Makes emergency supplemental appropriations for FY2008 for<br>infrastructure, energy, and economic recovery to: (1) the Department of Agriculture; (2)<br>the Department of Commerce; (3) the Department of Justice (DOJ); (4) the National<br>Aeronautics and Space Administration (NASA); (5) the Legal Services Corporation; (6) the<br>Department of Defense (DOD) - Civil Corps of Engineers; (7) the Department of the<br>Interior; (8) the Department of Energy (DOE); (9) the Department o..."],["Adopting rules for the One Hundred Eleventh Congress.","HRES5","Adopts the Rules of the House of Representatives for the 110th Congress as the Rules for<br>the 111th Congress, with amendments. (Sec. 2) Amends Rule II (Other Officers and<br>Officials) to require the House Inspector General to provide investigative and advisory<br>services to the House and joint entities in a manner consistent with government-wide<br>standards. Amends Rule X (Organization of Committee) to require the Committee on Homeland<br>Security to review and study on a primary and continuing basis a..."],["To amend chapter 22 of title 44, United States Code, popularly known as the Presidential<br>Records Act, to establish procedures for the consideration of claims of constitutionally<br>based privilege against disclosure of Presidential records.","HR35","Presidential Records Act Amendments of 2009 - (Sec. 2) Amends the Presidential Records Act<br>to require the Archivist of the United States, when making available any presidential<br>record not previously made available publicly, to: (1) promptly provide written notice of<br>such determination to the former President during whose term of office the record was<br>created and the incumbent President; and (2) make the notice available to the public.<br>Requires such a record to be made available upon the expir..."],["To amend title 44, United States Code, to require information on contributors to<br>Presidential library fundraising organizations.","HR36","Presidential Library Donation Reform Act of 2009 - Amends federal law regarding<br>presidential archival depositories to require any presidential library fundraising<br>organization to submit quarterly reports to the National Archives and Records<br>Administration and specified congressional committees on every contributor who gave the<br>organization a contribution or contributions (whether monetary or in-kind) totaling $200<br>or more for the quarterly period. Requires the Archivist of the United States t..."],["To amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","HR12","Paycheck Fairness Act - (Sec. 3) Amends the portion of the Fair Labor Standards Act of<br>1938 (FLSA) known as the Equal Pay Act to revise remedies for, enforcement of, and<br>exceptions to prohibitions against sex discrimination in the payment of wages. Revises the<br>exception to the prohibition for a wage rate differential based on any other factor other<br>than sex. Limits such factors to bona fide factors, such as education, training, or<br>experience. States that the bona fide factor defense shall app..."],["To amend title VII of the Civil Rights Act of 1964 and the Age Discrimination in<br>Employment Act of 1967, and to modify the operation of the Americans with Disabilities Act<br>of 1990 and the Rehabilitation Act of 1973, to clarify that a discriminatory compensation<br>decision or other practice that is unlawful under such Acts occurs each time compensation<br>is paid pursuant to the discriminatory compensation decision or other practice, and for<br>other purposes.","HR11","Title I: Lilly Ledbetter Fair Pay Act of 2009 - Lilly Ledbetter Fair Pay Act of 2009 -<br>(Sec. 3) Amends the Civil Rights Act of 1964 to declare that an unlawful employment<br>practice occurs when: (1) a discriminatory compensation decision or other practice is<br>adopted; (2) an individual becomes subject to the decision or practice; or (3) an<br>individual is affected by application of the decision or practice, including each time<br>wages, benefits, or other compensation is paid. Allows liability to acc..."],["Recognizing Israel's right to defend itself against attacks from Gaza, reaffirming the<br>United States' strong support for Israel, and supporting the Israeli-Palestinian peace<br>process.","HRES34","Expresses commitment to the welfare and survival of Israel as a Jewish and democratic<br>state with secure borders and recognizes its right to act in self-defense. Reiterates that<br>Hamas must end the rocket and mortar attacks against Israel, recognize Israel's right to<br>exist, renounce violence, agree to accept previous agreements between Israel and the<br>Palestinians, and dismantle its terrorist infrastructure. Encourages the Administration to<br>work to support a sustainable cease-fire in Gaza that p..."],["Supporting the goals and ideals of National Mentoring Month 2009.","HRES41","Expresses support for the goals and ideals of National Mentoring Month (January 2009)."],["Honoring the life of Claiborne Pell, distinguished former Senator from the State of Rhode<br>Island.","HRES50","Honors the life, achievements, and distinguished career of Senator Claiborne Pell, a<br>former member of the U.S. Senate. Emphasizes that, among his legislative accomplishments,<br>he changed the face of higher education by enabling millions of low- and middle-income<br>students to achieve the dream of a college education. Recognizes the federal Pell grants,<br>the educational grants that bear his name, as a significant part of Senator Pell's legacy."],["Providing for consideration of the bill (H.R. 2) to amend title XXI of the Social Security<br>Act to extend and improve the Children's Health Insurance Program, and for other purposes.","HRES52","Sets forth the rule for consideration of the bill (H.R. 2) to amend title XXI of the<br>Social Security Act to extend and improve the Children's Health Insurance Program."],["To amend title XXI of the Social Security Act to extend and improve the Children's Health<br>Insurance Program, and for other purposes.","HR2","Children's Health Insurance Program Reauthorization Act of 2009 - (Sec. 3) Makes the<br>amendments made by this Act effective on April 1, 2009, regardless of whether final<br>regulations have been promulgated to carry them out.Allows certain state plans under<br>titles XIX (Medicaid) or XXI (State Children's Health Insurance Program) (SCHIP, referred<br>to in this Act as CHIP) of the Social Security Act (SSA) that require state legislation to<br>meet additional requirements imposed by this Act additional ti..."],["Providing for the consideration of the bill (H.R. 384) to reform the Troubled Assets<br>Relief Program of the Secretary of the Treasury and ensure accountability under such<br>Program.","HRES53","Sets forth the rule for consideration of H.R. 384 (TARP Reform and Accountability Act of<br>2009)."],["Amending the Rules of the House of Representatives to require each standing committee to<br>hold periodic hearings on the topic of waste, fraud, abuse, or mismanagement in Government<br>programs which that committee may authorize, and for other purposes.","HRES40","Amends Rule XI (Procedures of Committees and Unfinished Business) of the Rules of the<br>House of Representatives to require each standing committee or subcommittee to hold: (1)<br>periodic hearings on the topic of waste, fraud, abuse, or mismanagement in government<br>programs which that committee may authorize; (2) at least one hearing in any session to<br>hear from federal agency representatives testimony on auditor disclaimers of audited<br>agency financial statements; and (3) at least one hearing on is..."],["To reform the Troubled Assets Relief Program of the Secretary of the Treasury and ensure<br>accountability under such Program.","HR384","TARP Reform and Accountability Act of 2009 - Amends the Emergency Economic Stabilization<br>Act of 2008 (EESA) to direct the Secretary of the Treasury to require specified depository<br>institutions under the Troubled Asset Relief Program (TARP) to report periodically on<br>their use of TARP assistance.Requires the Secretary to incorporate within the TARP<br>assistance agreement how the funds are to be used and the benchmarks an institution must<br>meet in using such funds.Requires federal banking regulator..."],["Expressing support for designation of the week of February 2 through February 6, 2009, as<br>\"National School Counseling Week\".","HRES56","Honors the contributions of school counselors to the success of students in our elementary<br>and secondary schools. Encourages the observation of National School Counseling Week<br>(February 2-6, 2009) with ceremonies and activities that promote awareness of the crucial<br>role school counselors play in preparing students for fulfilling lives as contributing<br>members of society."],["Expressing support for designation of January 28, 2009, as \"National Data Privacy Day\".","HRES31","Supports the designation of January 28, 2009, as National Data Privacy Day. Encourages:<br>(1) state and local governments to promote data privacy awareness; (2) privacy<br>professionals and educators to discuss data privacy and protection issues with teens in<br>high schools; and (3) individuals to be aware of data privacy concerns and to take steps<br>to protect their personal information online."],["Honoring the heroic actions of the pilot, crew, and rescuers of US Airways Flight 1549.","HRES84","Applauds the skill, quick thinking, and bravery of Captain Chesley B. Sullenberger III and<br>First Officer Jeffrey B. Skiles of U.S. Airways Flight 1549. Commends the quick response<br>by flight attendants Doreen Welsh, Donna Dent, and Sheila Dail to prepare passengers for<br>impact and rapid evacuation. Praises the quick response from the boats, first responders,<br>and private citizens that aided in the rescue of the passengers of Fight 1549."],["Providing for consideration of the bill (S. 181) to amend title VII of the Civil Rights<br>Act of 1964 and the Age Discrimination in Employment Act of 1967, and to modify the<br>operation of the Americans with Disabilities Act of 1990 and the Rehabilitation Act of<br>1973, to clarify that a discriminatory compensation decision or other practice that is<br>unlawful under such Acts occurs each time compensation is paid pursuant to the<br>discriminatory compensation decision or other practice, and for other purposes.","HRES87","Sets forth the rule for consideration of the bill (S. 181) to amend title VII of the Civil<br>Rights Act of 1964 and the Age Discrimination in Employment Act of 1967, and to modify the<br>operation of the Americans with Disabilities Act of 1990 and the Rehabilitation Act of<br>1973, to clarify that a discriminatory compensation decision or other practice that is<br>unlawful under such Acts occurs each time compensation is paid pursuant to the<br>discriminatory compensation decision or other practice."],["Providing for consideration of the bill (H.R. 1) making supplemental appropriations for<br>job preservation and creation, infrastructure investment, energy efficiency and science,<br>assistance to the unemployed, and State and local fiscal stabilization, for the fiscal<br>year ending September 30, 2009, and for other purposes.","HRES88","Sets forth the rule for consideration of the bill (H.R. 1) making supplemental<br>appropriations for job preservation and creation, infrastructure investment, energy<br>efficiency and science, assistance to the unemployed, and State and local fiscal<br>stabilization, for the fiscal year ending September 30, 2009."],["A bill to amend title VII of the Civil Rights Act of 1964 and the Age Discrimination in<br>Employment Act of 1967, and to modify the operation of the Americans with Disabilities Act<br>of 1990 and the Rehabilitation Act of 1973, to clarify that a discriminatory compensation<br>decision or other practice that is unlawful under such Acts occurs each time compensation<br>is paid pursuant to the discriminatory compensation decision or other practice, and for<br>other purposes.","S181","Lilly Ledbetter Fair Pay Act of 2009 - Amends the Civil Rights Act of 1964 to declare that<br>an unlawful employment practice occurs when: (1) a discriminatory compensation decision or<br>other practice is adopted; (2) an individual becomes subject to the decision or practice;<br>or (3) an individual is affected by application of the decision or practice, including<br>each time wages, benefits, or other compensation is paid. Allows liability to accrue, and<br>allows an aggrieved person to obtain relief, inc..."],["Providing for further consideration of the bill (H.R. 1) making supplemental<br>appropriations for job preservation and creation, infrastructure investment, energy<br>efficiency and science, assistance to the unemployed, and State and local fiscal<br>stabilization, for the fiscal year ending September 30, 2009, and for other purposes.","HRES92","Sets forth the rule for consideration of H.R. 1 (American Recovery and Reinvestment Act of<br>2009). Requires the chair of the Committee on Appropriations to insert in the<br>Congressional Record by February 4, 2009, such material as he may deem explanatory of<br>appropriations measures for FY2009. Authorizes the chair of the Committee on Ways and<br>Means to file, on behalf of the Committee, a supplemental report to accompany H.R. 598<br>(providing for a portion of the economic recovery package relating to..."],["A bill to postpone the DTV transition date.","S328","DTV Delay Act - Amends the Digital Television Transition and Public Safety Act of 2005 to<br>delay the transition of television broadcasting from analog to digital to June 13, 2009.<br>Requires the Federal Communications Commission (FCC) to extend for a 116-day period the<br>licenses for recovered spectrum, including the license period and construction<br>requirements associated with those licenses. Extends to July 31, 2009, the deadline for<br>requesting digital-to-analog converter box coupons. Authorizes ..."],["Supporting the goals and ideals of National Teen Dating Violence Awareness and Prevention<br>Week.","HRES103","Expresses support for: (1) the goals and ideals of National Teen Dating Violence Awareness<br>and Prevention Week to raise awareness of teen dating violence in the nation; and (2) a<br>reexamination of the nation's criminal and civil laws regarding teen dating violence to<br>ensure that such laws create an effective deterrent."],["To amend the Homeland Security Act of 2002 to establish an appeal and redress process for<br>individuals wrongly delayed or prohibited from boarding a flight, or denied a right,<br>benefit, or privilege, and for other purposes.","HR559","Fair, Accurate, Secure, and Timely Redress Act of 2009 or the FAST Redress Act of 2009 -<br>Amends the Homeland Security Act of 2002 to direct the Secretary of Homeland Security to<br>establish: (1) a timely and fair process for individuals who believe they were delayed or<br>prohibited from boarding a commercial aircraft because they were wrongly identified as a<br>threat when screened against any terrorist watchlist or database used by the<br>Transportation Security Administration (TSA) or any component o..."],["A bill to postpone the DTV transition date.","S352","DTV Delay Act - Amends the Digital Television Transition and Public Safety Act of 2005 to<br>delay the transition of television broadcasting from analog to digital to June 13, 2009.<br>Requires the Federal Communications Commission (FCC) to extend for a 116-day period the<br>licenses for recovered spectrum, including the license period and construction<br>requirements associated with those licenses.Extends to July 31, 2009, provided additional<br>budget authority is enacted, the deadline for requesting digi..."],["To encourage States to report to the Attorney General certain information regarding the<br>deaths of individuals in the custody of law enforcement agencies, and for other purposes.","HR738","Death in Custody Reporting Act of 2009 - Requires states that receive certain criminal<br>justice assistance grants to report to the Attorney General on a quarterly basis certain<br>information regarding the death of any person who is detained, arrested, en route to<br>incarceration, or incarcerated in state or local facilities or a boot camp prison. Grants<br>the Attorney General discretion to reduce by up to 10% the amount of the criminal justice<br>assistance grants of states that fail to comply. Require..."],["Supporting the goals and ideals of \"National Girls and Women in Sports Day\".","HRES114","Expresses support for the goals and ideals of National Girls and Women in Sports Day.<br>Encourages the continued participation of schools and communities in providing<br>opportunities for girls and women in elementary, secondary, and college sports to promote<br>awareness of: (1) the positive influence of sports participation in their lives and<br>health; and (2) the continuing struggle for equality and access for women in sports."],["Recognizing the 50th Anniversary of Dr. Martin Luther King, Jr.'s visit to India, and the<br>positive influence that the teachings of Mahatma Gandhi had on Dr. King's work during the<br>Civil Rights Movement.","HRES134","Encourages all Americans to: (1) pause and remember the 50th Anniversary of Dr. Martin<br>Luther King, Jr.'s visit to India; (2) commemorate Dr. King's legacy of nonviolence, a<br>principle that he encountered during his study of India's Mahatma Gandhi, and successfully<br>used in the struggle for civil rights and voting rights; (3) commemorate the impact that<br>Dr. King's trip to India and his study of the philosophy of Mahatma Gandhi had in shaping<br>the Civil Rights Movement and creating the political ..."],["Providing for an adjournment or recess of the two Houses.","HCONRES47","Declares that, when the House adjourns on any legislative day from Thursday, February 12,<br>2009, through Monday, February 16, 2009, it stand adjourned until 2 p.m. on Monday,<br>February 23, 2009. Declares that, when the Senate recesses or adjourns on any day from<br>Friday, February 13, 2009, through Friday, February 20, 2009, it stand recessed or<br>adjourned until 2 p.m. on Monday, February 23, 2009."],["Honoring John D. Dingell for holding the record as the longest serving member of the House<br>of Representatives.","HRES154","Recognizes the Honorable John D. Dingell for his tireless advocacy on behalf of his<br>constituents in Michigan in the past, present, and future. Honors him for his lifelong<br>commitment to public service, and celebrates him and his more than 53 years of dedication<br>to Congress. Congratulates him upon attaining the record for longest serving Member of the<br>House."],["To protect seniors in the United States from elder abuse by establishing specialized elder<br>abuse prosecution and research programs and activities to aid victims of elder abuse, to<br>provide training to prosecutors and other law enforcement related to elder abuse<br>prevention and protection, to establish programs that provide for emergency crisis<br>response teams to combat elder abuse, and for other purposes.","HR448","Elder Abuse Victims Act of 2009 - Title I: Elder Abuse Victims - (Sec. 101) Directs the<br>Attorney General to: (1) study and report to Congress on state laws and practices relating<br>to elder abuse, neglect, and exploitation; and (2) develop objectives, priorities,<br>policies, and a long-term plan for elder justice programs and activities. Directs the<br>Comptroller General to review programs and initiatives in the federal criminal justice<br>system relevant to elder justice and report to Congress on suc..."],["Providing for consideration of motions to suspend the rules, and for other purposes.","HRES157","Makes it in order at any time through February 13, 2009, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules. Amends H.Res.10,<br>111th Congress (fixing the daily hour of meeting for the House ) to revise the daily hour<br>of meeting of the First Session of the 111th Congress, until Monday, May 18, 2009, to: (1)<br>2 p.m. on Mondays; (2) 12 noon on Tuesdays; (3) 10 a.m. on Wednesday and Thursday; and (4)<br>9 a.m. on all other days of the week. Continues ..."],["Supporting the goals and ideals of National Engineers Week, and for other purposes.","HRES117","Supports the goals and ideals of National Engineers Week and its aims.Declares that the<br>House of Representatives will work with the engineering community to make sure that the<br>creativity and contribution of that community can be expressed through research,<br>development, standardization, and innovation."],["Honoring and praising the National Association for the Advancement of Colored People on<br>the occasion of its 100th anniversary.","HCONRES35","Recognizes the 100th anniversary of the historic founding of the National Association for<br>the Advancement of Colored People (NAACP). Honors and praises the NAACP on the occasion of<br>its anniversary for its work to ensure the political, educational, social, and economic<br>equality of all persons."],["Providing for consideration of the conference report to accompany the bill (H.R. 1) making<br>supplemental appropriations for job preservation and creation, infrastructure investment,<br>energy efficiency and science, assistance to the unemployed, and State and local fiscal<br>stabilization, for the fiscal year ending September 30, 2009, and for other purposes.","HRES168","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>1) making supplemental appropriations for job preservation and creation, infrastructure<br>investment, energy efficiency and science, assistance to the unemployed, and State and<br>local fiscal stabilization, for the fiscal year ending September 30, 2009."],["Commemorating the life and legacy of President Abraham Lincoln on the bicentennial of his<br>birth.","HRES139","Commemorates the bicentennial of the birth of President Abraham Lincoln. Recognizes his<br>commitment to unity and harmony in the United States. Encourages the people of the United<br>States to recommit to fulfilling his vision of equal rights for all."],["To require certain standards and enforcement provisions to prevent child abuse and neglect<br>in residential programs, and for other purposes.","HR911","Stop Child Abuse in Residential Programs for Teens Act of 2009 - (Sec. 3) Directs the<br>Assistant Secretary for Children and Families of the Department of Health and Human<br>Services to require each location of a covered program to meet specified minimum standards<br>if individually or together with other locations it has an effect on interstate commerce.<br>Defines \"covered program\" as one operated by a public or private entity that with respect<br>to one or more children unrelated to the program owner o..."],["To implement the recommendations of the Guam War Claims Review Commission.","HR44","Guam World War II Loyalty Recognition Act - (Sec. 2) Recognizes the suffering and the<br>loyalty of the people of Guam during the Japanese occupation of Guam in World War II.<br>(Sec. 3) Directs the Secretary of the Treasury to make specified payments to: (1) living<br>Guam residents who were raped, injured, interned, or subjected to forced labor or marches<br>resulting from, or incident to, such occupation and subsequent liberation; and (2)<br>survivors of compensable residents who died in war and survivor..."],["To amend the Lacey Act Amendments of 1981 to treat nonhuman primates as prohibited<br>wildlife species under that Act, to make corrections in the provisions relating to captive<br>wildlife offenses under that Act, and for other purposes.","HR80","Captive Primate Safety Act - Amends the Lacey Act Amendments of 1981 to add nonhuman<br>primates to the definition of \"prohibited wildlife species\" for purposes of the<br>prohibition against the sale or purchase of such species in interstate or foreign<br>commerce.Makes it unlawful for a person to import, export, transport, sell, receive,<br>acquire, or purchase a live animal of any prohibited wildlife species in interstate or<br>foreign commerce (i.e., for pet trade purposes). Sets forth exceptions to such..."],["A bill to designate the facility of the United States Postal Service located at 2105 East<br>Cook Street in Springfield, Illinois, as the \"Colonel John H. Wilson, Jr. Post Office<br>Building\".","S234","Designates the facility of the United States Postal Service located at 2105 East Cook<br>Street in Springfield, Illinois, as the \"Colonel John H. Wilson, Jr. Post Office<br>Building.\""],["Supporting the goals and ideals of the third annual America Saves Week.","HRES180","Recognizes the importance of savings to financial security.Supports the goals and ideals<br>of America Saves Week.Acknowledges the tireless efforts of the late Congresswoman<br>Stephanie Tubbs Jones to eliminate predatory lending, increase the nation's savings rate,<br>and improve the overall economic situation of all those residing in the United States."],["Providing for consideration of the bill (H.R. 1105) making omnibus appropriations for the<br>fiscal year ending September 30, 2009, and for other purposes.","HRES184","Sets forth the rule for consideration of the bill(H.R. 1105) making omnibus appropriations<br>for the fiscal year ending September 30, 2009."],["Making omnibus appropriations for the fiscal year ending September 30, 2009, and for other<br>purposes.","HR1105","(This measure has not been amended since it was passed by the House on February 25, 2009.<br>The summary of that version is repeated here.) Omnibus Appropriations Act, 2009 - (Sec. 4)<br>Declares that the explanatory statement regarding this Act printed in the House of<br>Representatives section of the Congressional Record on or about February 23, 2009, by the<br>Chairman of the Committee on Appropriations of the House shall have the same effect with<br>respect to the allocation of funds and implementation ..."],["Providing for consideration of the bill (H.R. 1106) to prevent mortgage foreclosures and<br>enhance mortgage credit availability.","HRES190","Sets forth the rule for consideration of the bill (H.R. 1106) to prevent mortgage<br>foreclosures and enhance mortgage credit availability."],["To amend the American Battlefield Protection Act of 1996 to establish a battlefield<br>acquisition grant program for the acquisition and protection of nationally significant<br>battlefields and associated sites of the Revolutionary War and the War of 1812, and for<br>other purposes.","HR146","Omnibus Public Land Management Act of 2009 - Title I: Additions to the National Wilderness<br>Preservation System - Subtitle A: Wild Monongahela Wilderness - (Sec. 1001) Designates<br>specified federal lands in the Monongahela National Forest, West Virginia, as wilderness<br>and as either a new component, or an addition to an existing component, of the National<br>Wilderness Preservation System. Authorizes the Secretary of Agriculture to continue the<br>competitive running event permitted from 2003 through ..."],["Recognizing Beverly Eckert's service to the Nation and particularly to the survivors and<br>families of the September 11, 2001, attacks.","HRES201","Acknowledges Beverly Eckert's service to the nation and particularly to the survivors and<br>families of the September 11, 2001, attacks. Recognizes her work to help bring about<br>implementation of the 9/11 Commission recommendations. Extends the deepest condolences of<br>the House of Representatives to the family of Beverly Eckert and the families of all those<br>who lost their lives due to the crash of Continental Connection Flight 3407."],["Providing for further consideration of the bill (H.R. 1106) to prevent mortgage<br>foreclosures and enhance mortgage credit availability.","HRES205","Sets forth the rule for further consideration of the bill (H.R. 1106) to prevent mortgage<br>foreclosures and enhance mortgage credit availability."],["Designating March 2, 2009, as \"Read Across America Day\".","HRES146","Honors Theodor Geisel (Dr. Seuss) for his success in encouraging children to discover the<br>joy of reading. Honors the 12th anniversary of Read Across America Day, which occurs on<br>March 2, 2009. Encourages parents to read with their children for at least 30 minutes on<br>Read Across America Day."],["Supporting the goals and ideals of Multiple Sclerosis Awareness Week.","HCONRES14","Expresses support for the goals and ideals of Multiple Sclerosis Awareness Week. Reaffirms<br>the nation's commitment to combating multiple sclerosis by promoting awareness about its<br>causes and risks, promoting new education programs, supporting research, and expanding<br>access to medical treatment.Recognizes people living with multiple sclerosis and salutes<br>the health care professionals and medical researchers who assist those afflicted and<br>continue to work to find cures and improve treatments."],["To prevent mortgage foreclosures and enhance mortgage credit availability.","HR1106","Helping Families Save Their Homes Act of 2009 - Title I: Prevention of Mortgage<br>Foreclosures - Subtitle A: Modification of Residential Mortgages - (Sec. 101) Amends<br>federal bankruptcy law governing a Chapter 13 debtor (adjustment of debts of an individual<br>with regular income) to exclude from the computation of debts the secured or unsecured<br>portions of: (1) debts secured by the debtor's principal residence if the value of the<br>residence is less than the applicable maximum amount of noncontinge..."],["Commending the University of Southern California Trojan football team for its victory in<br>the 2009 Rose Bowl.","HRES153","Commends the University of Southern California (USC) Trojan football team and USC<br>President Steven B. Sample for USC's victory in the 2009 Rose Bowl. Applauds Coach Pete<br>Carroll for his leadership on the football field and in the community."],["Making further continuing appropriations for fiscal year 2009, and for other purposes.","HJRES38","Amends the Continuing Appropriations Resolution, 2009 (division A of Public Law 110-329)<br>to extend until March 11, 2009, specified continuing appropriations for FY2009."],["Expressing the sense of the House of Representatives that providing breakfast in schools<br>through the National School Breakfast Program has a positive impact on classroom<br>performance.","HRES210","Recognizes the importance of the National School Breakfast Program and its overall<br>positive effect on the lives of low-income children and families, as well as its effect on<br>helping to improve a child's overall classroom performance. Expresses the support of the<br>House of Representatives for states that have successfully implemented school breakfast<br>programs in order to improve the test scores and grades of their participating students.<br>Encourages states to: (1) strengthen their school breakfa..."],["To designate the Federal building and United States courthouse located at 306 East Main<br>Street in Elizabeth City, North Carolina, as the \"J. Herbert W. Small Federal Building and<br>United States Courthouse\".","HR813","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the federal building and U.S. courthouse located at 306 East<br>Main Street in Elizabeth City, North Carolina, as the \"J. Herbert W. Small Federal<br>Building and United States Courthouse.\""],["To designate the United States Courthouse to be constructed in Jackson, Mississippi, as<br>the \"R. Jess Brown United States Courthouse\".","HR842","Designates the U.S. courthouse to be constructed at a specified site in Jackson,<br>Mississippi, as the \"R. Jess Brown United States Courthouse.\""],["A bill to designate certain land as components of the National Wilderness Preservation<br>System, to authorize certain programs and activities in the Department of the Interior and<br>the Department of Agriculture, and for other purposes.","S22","Omnibus Public Land Management Act of 2009 - Title I: Additions to the National Wilderness<br>Preservation System - Subtitle A: Wild Monongahela Wilderness - (Sec. 1001) Designates<br>specified federal lands in the Monongahela National Forest, West Virginia, as wilderness<br>and as either a new component, or an addition to an existing component, of the National<br>Wilderness Preservation System. Authorizes the Secretary of Agriculture to continue the<br>competitive running event permitted from 2003 through ..."],["Authorizing the use of the Capitol Grounds for the National Peace Officers' Memorial<br>Service.","HCONRES38","Permits the Grand Lodge of the Fraternal Order of Police and its auxiliary to sponsor a<br>free public event, the 28th annual National Peace Officers' Memorial Service, on the<br>Capitol grounds on May 15, 2009, to honor the law enforcement officers who died in the<br>line of duty during 2008."],["Urging the President to designate 2009 as the \"Year of the Military Family\".","HCONRES64","Expresses the deepest appreciation to the families of members of the Armed Forces who<br>serve or have served in defense of the United States. Recognizes the contributions that<br>military families make, and encourages the people of the United States to share in<br>appreciation for the sacrifices of military families. Urges the President to designate a<br>\"Year of the Military Family\" and encourage the people of the United States and the<br>Department of Defense (DOD) to observe it."],["Recognizing the plight of the Tibetan people on the 50th anniversary of His Holiness the<br>Dalai Lama being forced into exile and calling for a sustained multilateral effort to<br>bring about a durable and peaceful solution to the Tibet issue.","HRES226","Recognizes: (1) the Tibetan people for their perseverance in the face of adversity and for<br>creating a democratic community in exile that sustains the Tibetan identity; and (2) the<br>government and people of India for their generosity toward the Tibetan refugee population.<br>Calls upon: (1) the government of the People's Republic of China (PRC) to respond to the<br>Dalai Lama's initiatives to find a lasting solution to the Tibetan issue; and (2) the<br>Administration to recommit to a sustained effort to..."],["To amend the Federal Water Pollution Control Act to authorize appropriations for State<br>water pollution control revolving funds, and for other purposes.","HR1262","Water Quality Investment Act of 2009 - Title I: Water Quality Financing - Subtitle A:<br>Technical and Management Assistance - (Sec. 1101) Amends the Federal Water Pollution<br>Control Act (commonly known as the Clean Water Act [CWA]) to authorize the Administrator<br>of the Environmental Protection Agency (EPA) to make grants to nonprofit organizations to<br>provide: (1) technical assistance to rural and small municipalities and tribal governments<br>for planning, developing, and financing eligible state w..."],["Supporting the designation of Pi Day, and for other purposes.","HRES224","Supports the designation of a Pi Day and its celebration around the world.Recognizes the<br>continuing importance of National Science Foundation math and science education<br>programs.Encourages schools and educators to observe the day with appropriate activities<br>that teach students about Pi and engage them about the study of mathematics."],["To designate the facility of the United States Postal Service located at 601 8th Street in<br>Freedom, Pennsylvania, as the \"John Scott Challis, Jr. Post Office\".","HR987","Designates the facility of the United States Postal Service located at 601 8th Street in<br>Freedom, Pennsylvania, as the \"John Scott Challis, Jr. Post Office.\""],["To designate the facility of the United States Postal Service located at 103 West Main<br>Street in McLain, Mississippi, as the \"Major Ed W. Freeman Post Office\".","HR1284","Designates the facility of the United States Postal Service located at 103 West Main<br>Street in McLain, Mississippi, as the \"Major Ed W. Freeman Post Office.\""],["To support the goals and ideals of Professional Social Work Month and World Social Work<br>Day.","HRES240","Supports the goals and ideals of Professional Social Work Month and World Social Work Day."],["Supporting the goals and ideals of National Women's History Month.","HRES211","Supports the goals and ideals of National Women's History Month (March 2009). Recognizes<br>and honors the women and organizations in the United States that have fought for and<br>continue to promote the teaching of women's history."],["Providing for consideration of the bill (H.R. 1388) to reauthorize and reform the national<br>service laws.","HRES250","Sets forth the rule for consideration of the bill (H.R. 1388) to reauthorize and reform<br>the national service laws."],["To reauthorize and reform the national service laws.","HR1388","(This measure has not been amended since it was passed by the Senate on March 26, 2009.<br>The summary of that version is repeated here.) Serve America Act - Amends the National and<br>Community Service Act of 1990 (NCSA) and the Domestic Volunteer Service Act of 1973 (DVSA)<br>to revise their programs and reauthorize appropriations for them through FY2014. Title I:<br>Amendments to National and Community Service Act of 1990 - Revises under the NCSA: (1) the<br>School-Based and Community-Based Service-Learn..."],["Providing for consideration of motions to suspend the rules.","HRES257","Makes it in order at any time on March 19, 2009, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules relating to a<br>measure addressing excessive compensation paid to employees of corporations in which the<br>federal government has a significant interest."],["To impose an additional tax on bonuses received from certain TARP recipients.","HR1586","Title I: Education Jobs Fund - Authorizes appropriations for the necessary expenses for an<br>Education Jobs Fund and appropriates $10 billion for such purpose. Requires the allocation<br>of such funds to states by the Department of Education in accordance with provisions of<br>title XIV (State Fiscal Stabilization Fund) of Division A of the American Recovery and<br>Reinvestment Act. Requires that allocated funds be used solely: (1) to make awards to<br>local educational agencies for the support of elementa..."],["Expressing the sense of the Congress regarding executive and employee bonuses paid by AIG<br>and other companies assisted with taxpayer funds provided under the Troubled Assets Relief<br>Program of the Secretary of the Treasury.","HCONRES76","Expresses the sense of Congress that the President is appropriately exercising authorities<br>under the Emergency Economic Stabilization Act of 2008 and other federal laws by taking<br>all necessary actions to ensure that: (1) American International Group, Inc. (AIG) will<br>repay taxpayers for retention bonuses paid to its executives and employees; (2) companies<br>that receive a capital infusion under the Emergency Economic Stabilization Act of 2008 are<br>prohibited from paying unreasonable and excessive..."],["To designate the facility of the United States Postal Service located at 300 East 3rd<br>Street in Jamestown, New York, as the \"Stan Lundine Post Office Building\".","HR918","Designates the facility of the United States Postal Service located at 300 East 3rd Street<br>in Jamestown, New York, as the \"Stan Lundine Post Office Building.\""],["To amend the Homeland Security Act of 2002 to provide for a privacy official within each<br>component of the Department of Homeland Security, and for other purposes.","HR1617","Department of Homeland Security Component Privacy Officer Act of 2009 - Amends the<br>Homeland Security Act of 2002 to direct the Secretary of Homeland Security to designate a<br>full-time privacy official for each of the following Department of Homeland Security (DHS)<br>components: (1) the Transportation Security Administration (TSA); (2) the Bureau of<br>Citizenship and Immigration Services (CIS); (3) Customs and Border Protection (CBP); (4)<br>Immigration and Customs Enforcement (ICE); (5) the Federal E..."],["To strengthen efforts in the Department of Homeland Security to develop nuclear forensics<br>capabilities to permit attribution of the source of nuclear material, and for other<br>purposes.","HR730","Nuclear Forensics and Attribution Act - Expresses the sense of Congress that the President<br>should: (1) pursue bilateral and multilateral international agreements to establish an<br>international framework for determining the source of any confiscated nuclear or<br>radiological material or weapon, as well as the source of any detonated weapon and the<br>nuclear or radiological material used in such a weapon; (2) develop protocols for the data<br>exchange and dissemination of sensitive information relating..."],["Expressing support for designation of the week of March 1 through March 8, 2009, as<br>\"School Social Work Week\".","HRES182","Supports the designation of School Social Work Week. Honors the contributions of school<br>social workers to the success of students in schools."],["Providing for consideration of the Senate amendments to the bill (H.R. 146) to establish a<br>battlefield acquisition grant program for the acquisition and protection of nationally<br>significant battlefields and associated sites of the Revolutionary War and the War of<br>1812, and for other purposes.","HRES280","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 146) to<br>establish a battlefield acquisition grant program for the acquisition and protection of<br>nationally significant battlefields and associated sites of the Revolutionary War and the<br>War of 1812."],["A bill to amend the Emergency Economic Stabilization Act of 2008 (division A of Public Law<br>110-343) to provide the Special Inspector General with additional authorities and<br>responsibilities, and for other purposes.","S383","Special Inspector General for the Troubled Asset Relief Program Act of 2009 - (Sec. 2)<br>Amends the Emergency Economic Stabilization Act of 2008 to grant the Special Inspector<br>General (SIG) authority to conduct, supervise, and coordinate an audit or investigation of<br>any action taken with regard to the Troubled Asset Relief Program (TARP) that the SIG<br>deems appropriate.Prohibits any audit or investigation, however, of any action related to:<br>(1) graduated authorization to purchase troubled assets..."],["Providing for consideration of the bill (H.R. 1404) to authorize a supplemental funding<br>source for catastrophic emergency wildland fire suppression activities on Department of<br>the Interior and National Forest System lands, to require the Secretary of the Interior<br>and the Secretary of Agriculture to develop a cohesive wildland fire management strategy,<br>and for other purposes.","HRES281","Sets forth the rule for consideration of the bill (H.R. 1404) to authorize a supplemental<br>funding source for catastrophic emergency wildland fire suppression activities on<br>Department of the Interior and National Forest System lands, to require the Secretary of<br>the Interior and the Secretary of Agriculture to develop a cohesive wildland fire<br>management strategy."],["To authorize a supplemental funding source for catastrophic emergency wildland fire<br>suppression activities on Department of the Interior and National Forest System lands, to<br>require the Secretary of the Interior and the Secretary of Agriculture to develop a<br>cohesive wildland fire management strategy, and for other purposes.","HR1404","Federal Land Assistance, Management and Enhancement Act or FLAME Act - (Sec. 2)<br>Establishes in the Treasury the Federal Land Assistance, Management, and Enhancement Fund<br>(Flame Fund). Requires amounts in the Flame Fund to be made available to the Secretaries<br>of the Interior and of Agriculture (the Secretaries) to pay the costs of catastrophic<br>emergency wildland fire suppression activities that are separate from amounts annually<br>appropriated for the predicted annual workload for such activitie..."],["To provide for research on, and services for individuals with, postpartum depression and<br>psychosis.","HR20","Melanie Blocker Stokes Mom's Opportunity to Access Health, Education, Research, and<br>Support for Postpartum Depression Act or the Melanie Blocker Stokes MOTHERS Act - Title I:<br>Research on Postpartum Conditions - (Sec. 101) Encourages the Secretary of Health and<br>Human Services to continue: (1) activities on postpartum depression; and (2) research to<br>expand the understanding of the causes of, and treatments for, postpartum conditions.<br>(Sec. 102) Expresses the sense of Congress that the Director ..."],["To amend the Public Health Service Act to provide a means for continued improvement in<br>emergency medical services for children.","HR479","Wakefield Act - Amends the Public Health Service Act to extend by one year the length of<br>time for which a grant may be awarded under the emergency medical services for children<br>grant program, which allows the Secretary of Health and Human Services to make grants to<br>states or schools of medicine to support projects to expand and improve emergency medical<br>services for children who need treatment for trauma or critical care. Reauthorizes<br>appropriations for such grant program for FY2010-FY2014. S..."],["Providing for consideration of the Senate amendments to the bill (H.R. 1388) to<br>reauthorize and reform the national service laws.","HRES296","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 1388) to<br>reauthorize and reform the national service laws."],["To establish a grant program to provide vision care to children, and for other purposes.","HR577","Vision Care for Kids Act of 2009 - Amends the Public Health Service Act to authorize the<br>Secretary of Health and Human Services, acting through the Director of the Centers for<br>Disease Control and Prevention (CDC), to award matching grants to states to complement<br>existing state efforts to: (1) provide comprehensive eye examinations from a licensed<br>optometrist or ophthalmologist to eligible children who have been previously identified<br>through a vision screening or eye examination by a licensed ..."],["Providing for the expenses of certain committees of the House of Representatives in the<br>One Hundred Eleventh Congress.","HRES279","Sets forth the levels of payment for 111th Congress expenses (including staff salaries)<br>for the Committees on Agriculture, Armed Services, the Budget, Education and Labor, Energy<br>and Commerce, Financial Services, Foreign Affairs, Homeland Security, House<br>Administration, the Judiciary, Natural Resources, Oversight and Government Reform, Rules,<br>Science and Technology, Small Business, Standards of Official Conduct, Transportation and<br>Infrastructure, Veterans' Affairs, Ways and Means, as well as ..."],["To establish the Daniel Webster Congressional Clerkship Program.","HR151","Daniel Webster Congressional Clerkship Act of 2009 - Establishes the Daniel Webster<br>Congressional Clerkship Program for the appointment of individuals who are graduates of<br>accredited law schools to serve as Congressional Clerks in the Senate or House of<br>Representatives. Requires the Senate Committee on Rules and Administration and the House<br>Committee on House Administration to each select at least six individuals for a one-year<br>term to serve as employees in their respective chambers.Specifies..."],["To make technical corrections to the laws affecting certain administrative authorities of<br>the United States Capitol Police, and for other purposes.","HR1299","United States Capitol Police Administrative Technical Corrections Act of 2009 - (Sec. 2)<br>Makes technical amendments to the Legislative Branch Appropriations Act, 2001 with respect<br>to the Chief Administrative Officer (CAO) of the Capitol Police. Requires appointment of<br>the CAO without regard to political affiliation. Repeals requirements that the Comptroller<br>General be involved in the process of hiring and evaluating the CAO. Authorizes the Chief<br>of the Capitol Police to: (1) suspend with or w..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 85) setting forth<br>the congressional budget for the United States Government for fiscal year 2010 and<br>including the appropriate budgetary levels for fiscal years 2009 and 2011 through 2014.","HRES305","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 85)<br>setting forth the congressional budget for the United States Government for fiscal year<br>2010 and including the appropriate budgetary levels for fiscal years 2009 and 2011 through<br>2014."],["Providing for consideration of the bill (H.R. 1664) to amend the executive compensation<br>provisions of the Emergency Economic Stabilization Act of 2008 to prohibit unreasonable<br>and excessive compensation and compensation not based on performance standards.","HRES306","Sets forth the rule for consideration of the bill (H.R. 1664) to amend the executive<br>compensation provisions of the Emergency Economic Stabilization Act of 2008 to prohibit<br>unreasonable and excessive compensation and compensation not based on performance<br>standards."],["To authorize the Attorney General to limit or recover excessive compensation paid or<br>payable by entities that have received Federal financial assistance on or after September<br>1, 2008.","HR1575","End Government Reimbursement of Excessive Executive Disbursements (End GREED) Act - (Sec.<br>2) Declares that Congress elects to use its constitutional authority to: (1) establish a<br>uniform law on bankruptcy that applies to entities that have received extraordinary<br>financial assistance from the United States on or after September 1, 2008; and (2)<br>authorize the Attorney General, after consultation with the Secretary of the Treasury, to<br>seek recovery of previous excessive payments of compensation ..."],["Honoring the lives, and mourning the loss, of Sergeant Mark Dunakin, Sergeant Ervin<br>Romans, Sergeant Daniel Sakai, and Officer John Hege, members of the Oakland Police<br>Department in California who were brutally slain in the line of duty.","HRES290","Extends condolences to the families and loved ones of Oakland, California, Police<br>Department Sergeant Mark Dunakin, Sergeant Ervin Romans, Sergeant Daniel Sakai, and<br>Officer John Hege (killed in the line of duty)."],["To amend the executive compensation provisions of the Emergency Economic Stabilization Act<br>of 2008 to prohibit unreasonable and excessive compensation and compensation not based on<br>performance standards.","HR1664","(Sec. 1) Amends the Emergency Economic Stabilization Act of 2008 (EESA) to prohibit a<br>financial institution that receives or has received a direct capital investment under the<br>Troubled Asset Relief Program (TARP) (or with respect to the Federal National Mortgage<br>Association [Fannie Mae], the Federal Home Loan Mortgage Corporation [Freddie Mac], or a<br>federal home loan bank, under the Housing and Economic Recovery Act of 2008) from making a<br>compensation payment (other than a longevity bonus or ..."],["Providing for an adjournment or recess of the two Houses.","HCONRES93","Declares that, when the House adjourns on any legislative day from Thursday, April 2,<br>2009, through Saturday, April 4, 2009, it stand adjourned until 2 p.m. on Tuesday, April<br>21, 2009. Declares that, when the Senate recesses or adjourns on any day from Thursday,<br>April 2, 2009, through Sunday, April 5, 2009, it stand recessed or adjourned until noon on<br>Monday, April 20, 2009."],["Providing for further consideration of the concurrent resolution (H. Con. Res. 85) setting<br>forth the congressional budget for the United States Government for fiscal year 2010 and<br>including the appropriate budgetary levels for fiscal years 2009 and 2011 through 2014.","HRES316","Sets forth the rule for consideration of H.Con.Res. 85 (congressional budget)."],["To protect the public health by providing the Food and Drug Administration with certain<br>authority to regulate tobacco products.","HR1256","Division A: Family Smoking Prevention and Tobacco Control Act - Family Smoking Prevention<br>and Tobacco Control Act - Title I: Authority of the Food and Drug Administration - (Sec.<br>101) Amends the Federal Food, Drug, and Cosmetic Act (FFDCA) to provide for the regulation<br>of tobacco products by the Secretary of Health and Human Services through the Food and<br>Drug Administration (FDA). Defines a tobacco product as any product made or derived from<br>tobacco that is intended for human consumption. Pro..."],["Setting forth the congressional budget for the United States Government for fiscal year<br>2010 and including the appropriate budgetary levels for fiscal years 2009 and 2011 through<br>2014.","HCONRES85","Sets forth the congressional budget for the federal government for FY2010, including the<br>appropriate budgetary levels for FY2009, and FY2011-FY2014. Title I: Recommended Levels<br>and Amounts - (Sec. 101) Recommends budgetary levels and amounts for FY2009-FY2014 with<br>respect to: (1) federal revenues; (2) new budget authority; (3) budget outlays; (4)<br>deficits (on-budget); (5) debt subject to limit; and (6) debt held by the public. (Sec.<br>102) Lists the appropriate levels of new budget authority an..."],["To assist in the conservation of cranes by supporting and providing, through projects of<br>persons and organizations with expertise in crane conservation, financial resources for<br>the conservation programs of countries the activities of which directly or indirectly<br>affect cranes and the ecosystems of cranes.","HR388","Crane Conservation Act of 2009 - Requires the Secretary of the Interior to provide<br>financial assistance for approved projects relating to the conservation of cranes, using<br>amounts in the Crane Conservation Fund established by this Act. Allows a project proposal<br>to be submitted by: (1) any wildlife management authority of a country located in the<br>African, Asian, European, or North American range of a species of crane that carries out<br>at least one activity that affects crane populations; (2) th..."],["To assist in the conservation of rare felids and rare canids by supporting and providing<br>financial resources for the conservation programs of nations within the range of rare<br>felid and rare canid populations and projects of persons with demonstrated expertise in<br>the conservation of rare felid and rare canid populations.","HR411","Great Cats and Rare Canids Act of 2009 - (Sec. 4) Directs the Secretary of the Interior to<br>provide assistance for projects for the conservation of rare felids and rare canids.<br>Restricts the use of such assistance for captive breeding or display purposes. Authorizes<br>the Secretary to convene an advisory group consisting of individuals representing public<br>and private organizations actively involved in felid and canid conservation to assist in<br>carrying out this Act. (Sec. 5) Establishes in the Mu..."],["To provide for the replacement of lost income for employees of the House of<br>Representatives who are members of a reserve component of the Armed Forces who are on<br>active duty for a period of more than 30 days, and for other purposes.","HR1679","House Reservists Pay Adjustment Act of 2009 - Requires the Chief Administrative Officer<br>(CAO) of the House of Representatives to pay an eligible House employee, who is also a<br>member of a Reserve component of the Armed Forces, for each active duty month the amount<br>by which the employee's regular compensation from the House would have exceeded (if at<br>all) the total monthly military compensation paid to the employee for the active duty<br>month by the Secretary of Defense. Limits employee eligibili..."],["To direct the Librarian of Congress and the Secretary of the Smithsonian Institution to<br>carry out a joint project at the Library of Congress and the National Museum of African<br>American History and Culture to collect video and audio recordings of personal histories<br>and testimonials of individuals who participated in the Civil Rights movement, and for<br>other purposes.","HR586","Civil Rights History Project Act of 2009 - Requires, within the limits of available funds,<br>the Librarian of Congress and the Secretary of the Smithsonian Institution (acting through<br>the Director of the National Museum of African American History and Culture) to establish<br>an oral history project to: (1) collect video and audio recordings of, and visual and<br>written materials relevant to the personal histories of, participants in the Civil Rights<br>movement; and (2) make the collection available f..."],["An original concurrent resolution setting forth the congressional budget for the United<br>States Government for fiscal year 2010, revising the appropriate budgetary levels for<br>fiscal year 2009, and setting forth the appropriate budgetary levels for fiscal years 2011<br>through 2014.","SCONRES13","Sets forth the congressional budget for the federal government for FY2010, including the<br>appropriate budgetary levels for FY2009 and FY2011-FY2014. Title I: Recommended Levels and<br>Amounts - (Sec. 101) Lists recommended budgetary levels and amounts for FY2009-FY2014 with<br>respect to: (1) federal revenues; (2) new budget authority; (3) budget outlays; (4)<br>deficits (on-budget); (5) debt subject to limit; and (6) debt held by the public. (Sec.<br>102) Lists the appropriate levels of new budget author..."],["To implement a National Water Research and Development Initiative, and for other purposes.","HR1145","National Water Research and Development Initiative Act of 2009 - (Sec. 2) Directs the<br>President to: (1) implement a National Water Research and Development Initiative to<br>improve the federal government's role in designing and implementing federal water<br>research, development, demonstration, data collection and dissemination, education, and<br>technology transfer activities to address changes in U.S. water use, quality, supply, and<br>demand; and (2) establish or designate an interagency committee to ..."],["To amend the Omnibus Crime Control and Safe Streets Act of 1968 to enhance the COPS ON THE<br>BEAT grant program, and for other purposes.","HR1139","COPS Improvements Act of 2009 - (Sec. 2) Amends the Omnibus Crime Control and Safe Streets<br>Act of 1968 to expand the authority of the Attorney General to make competitive grants<br>under the public safety and community policing grant program (COPS grant program) to<br>states, local and Indian tribal governments, other public and private entities, multi-<br>jurisdictional or regional consortia, and individuals to: (1) train officers hired to<br>perform intelligence, anti-terror, or homeland security duties..."],["Recognizing the anniversary of the tragic accident of the steamboat ship SS Sultana.","HRES329","Recognizes the 144-year anniversary of the explosion of the steamboat ship SS Sultana on<br>the Mississippi River on April 27, 1865. Honors the memory of the Union soldiers and other<br>passengers who lost their lives in the disaster. Regrets the lack of military and civilian<br>oversight that led to the explosion and tremendous loss of life. Rededicates the honoring<br>of all of our veterans and military families with the highest level of support in quality<br>resources, equipment, and services."],["To amend the Robert T. Stafford Disaster Relief and Emergency Assistance Act to<br>reauthorize the pre-disaster mitigation program of the Federal Emergency Management<br>Agency.","HR1746","Predisaster Hazard Mitigation Act of 2010 - Amends the Robert T. Stafford Disaster Relief<br>and Emergency Assistance Act to: (1) increase the amount guaranteed to each state under<br>the predisaster hazard mitigation program to $575,000; (2) require the President to award<br>financial assistance under the program on a competitive basis; (3) eliminate the current<br>termination date for such program (September 30, 2010); and (4) authorize appropriations<br>for the program through FY2013. Prohibits the use o..."],["To provide for the award of a gold medal on behalf of Congress to Arnold Palmer in<br>recognition of his service to the Nation in promoting excellence and good sportsmanship in<br>golf.","HR1243","Directs the Speaker of the House of Representatives and the President Pro Tempore of the<br>Senate to arrange for the presentation of a congressional gold medal to Arnold Palmer<br>(golf professional) in recognition of his service to the nation in promoting excellence<br>and good sportsmanship.Authorizes the Secretary of the Treasury to strike and sell<br>duplicates in bronze of such medal. Requires proceeds from the sale of such medals to be<br>deposited into the United States Mint Public Enterprise Fund."],["Commending the University of Connecticut Huskies for their historic win in the 2009<br>National Collegiate Athletic Association Division I Women's Basketball Tournament.","HRES344","Commends the University of Connecticut Huskies for their historic win in the 2009 National<br>Collegiate Athletic Association Division I Women's Basketball Tournament."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES365","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of the conference report on S.Con.Res. 13 (congressional budget) on the same<br>day it is presented to the House."],["Providing for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 13) setting forth the congressional budget for the United States<br>Government for fiscal year 2010, revising the appropriate budgetary levels for fiscal year<br>2009, and setting forth the appropriate budgetary levels for fiscal years 2011 through<br>2014.","HRES371","Sets forth the rule for consideration of the conference report on S.Con.Res. 13<br>(congressional budget). Authorizes the Chair to postpone further consideration of the<br>conference report to such time as may be designated by the Speaker of the House."],["Supporting the goals and ideals of Financial Literacy Month 2009, and for other purposes.","HRES357","Supports the goals and ideals of Financial Literacy Month, including raising public<br>awareness about financial education. Recognizes the importance of managing personal<br>finances, increasing personal savings, and reducing personal debt in the United States."],["Supporting the mission and goals of 2009 National Crime Victims' Rights week to increase<br>public awareness of the rights, needs, and concerns of victims and survivors of crime in<br>the United States, and to commemorate the 25th anniversary of the enactment of the Victims<br>of Crime Act of 1984.","HRES109","Expresses support for the mission and goals of the 2009 National Crime Victims' Rights<br>Week. Recognizes the 25th anniversary of the enactment of the Victims of Crime Act of<br>1984."],["Providing for consideration of the bill (H.R. 1913) to provide Federal assistance to<br>States, local jurisdictions, and Indian tribes to prosecute hate crimes, and for other<br>purposes.","HRES372","Sets forth the rule for consideration of the bill (H.R. 1913) to provide Federal<br>assistance to States, local jurisdictions, and Indian tribes to prosecute hate crimes."],["To provide Federal assistance to States, local jurisdictions, and Indian tribes to<br>prosecute hate crimes, and for other purposes.","HR1913","Local Law Enforcement Hate Crimes Prevention Act of 2009 - (Sec. 2) Adopts the definition<br>of \"hate crime\" as set forth in the Violent Crime Control and Law Enforcement Act of 1994<br>(i.e., a crime in which the defendant intentionally selects a victim, or in the case of a<br>property crime, the property that is the object of the crime, because of the actual or<br>perceived race, color, religion, national origin, ethnicity, gender, disability, or sexual<br>orientation of any person). (Sec. 3) Authorizes t..."],["Providing for further consideration of the bill (H.R. 627) to amend the Truth in Lending<br>Act to establish fair and transparent practices relating to the extension of credit under<br>an open end consumer credit plan, and for other purposes.","HRES379","Sets forth the rule for consideration of H.R. 627 (Credit Cardholders' Bill of Rights Act<br>of 2009)."],["To amend the Truth in Lending Act to establish fair and transparent practices relating to<br>the extension of credit under an open end consumer credit plan, and for other purposes.","HR627","Credit Card Accountability Responsibility and Disclosure Act of 2009 or the Credit CARD<br>Act of 2009 - (Sec. 2) Authorizes the Board of Governors of the Federal Reserve System<br>(Federal Reserve Board) to issue rules and publish model forms to implement this Act.<br>(Sec. 3) Makes this Act effective nine months after its enactment. Title I: Consumer<br>Protection - (Sec. 101) Amends the Truth in Lending Act (TILA), with respect to credit<br>card accounts under an open end consumer credit plan, to require..."],["Recognizing the historical significance of the Mexican holiday of Cinco de Mayo.","HRES230","Recognizes the historical struggle for independence and freedom of the Mexican people and<br>requests the President to issue a proclamation recognizing that struggle and the<br>importance of Cinco de Mayo."],["Expressing the sense of the House of Representatives that public servants should be<br>commended for their dedication and continued service to the Nation during Public Service<br>Recognition Week, May 4 through 10, 2009, and throughout the year.","HRES299","Commends public servants for their outstanding contributions to the nation during Public<br>Service Recognition Week and throughout the year. Honors government employees who have<br>given their lives in service to their country.Encourages efforts to promote public service<br>careers."],["Supporting the goals and ideals of Global Youth Service Days.","HRES353","Recognizes and commends the significant contributions of youth of the United States and<br>encourages the cultivation of a civic bond between young people dedicated to serving their<br>neighbors, their communities, and the nation. Supports the goals and ideals of Global<br>Youth Services Days 2009. Calls on the citizens of the United States to observe the day,<br>support the volunteer efforts of young people, and engage them in meaningful community<br>service, service-learning, and decision-making opportuni..."],["A bill to improve enforcement of mortgage fraud, securities fraud, financial institution<br>fraud, and other frauds related to federal assistance and relief programs, for the<br>recovery of funds lost to these frauds, and for other purposes.","S386","Fraud Enforcement and Recovery Act of 2009 or FERA - (Sec. 2) Amends the federal criminal<br>code to include within the definition of \"financial institution\" a mortgage lending<br>business or any person or entity that makes, in whole or in part, a federally related<br>mortgage loan. Defines \"mortgage lending business\" as an organization that finances or<br>refinances any debt secured by an interest in real estate, including private mortgage<br>companies and their subsidiaries, and whose activities affect in..."],["Congratulating the University of North Carolina men's basketball team for winning the 2009<br>NCAA Division I Men's Basketball National Championship.","HRES348","Congratulates the North Carolina Tar Heels for winning the 2009 National Collegiate<br>Athletic Association Division I Men's Basketball Championship."],["Providing for further consideration of the bill (H.R. 1728) to amend the Truth in Lending<br>Act to reform consumer mortgage practices and provide accountability for such practices,<br>to provide certain minimum standards for consumer mortgage loans, and for other purposes.","HRES406","Sets forth the rule for further consideration of H.R. 1728 (Mortgage Reform and Anti-<br>Predatory Lending Act)."],["To amend the Truth in Lending Act to reform consumer mortgage practices and provide<br>accountability for such practices, to provide certain minimum standards for consumer<br>mortgage loans, and for other purposes.","HR1728","Mortgage Reform and Anti-Predatory Lending Act - Title I: Residential Mortgage Loan<br>Origination Standards - (Sec. 102) Amends the Truth in Lending Act (TILA) to prescribe<br>fiduciary standards for originators of residential mortgages, including complete and<br>timely written disclosure of: (1) the comparative costs and benefits of each residential<br>mortgage loan product presented by the originator; (2) the nature of the originator's<br>relationship to the consumer, including the cost of services provi..."],["Providing for consideration of the bill (H.R. 2187) to direct the Secretary of Education<br>to make grants to State educational agencies for the modernization, renovation, or repair<br>of public school facilities, and for other purposes.","HRES427","Sets forth the rule for consideration of the bill (H.R. 2187) to direct the Secretary of<br>Education to make grants to State educational agencies for the modernization, renovation,<br>or repair of public school facilities."],["To designate the facility of the United States Postal Service located at 123 11th Avenue<br>South in Nampa, Idaho, as the \"Herbert A Littleton Postal Station\".","HR2162","Designates the facility of the United States Postal Service located at 123 11th Avenue<br>South in Nampa, Idaho, as the \"Herbert A Littleton Postal Station.\""],["To direct the Secretary of Education to make grants to State educational agencies for the<br>modernization, renovation, or repair of public school facilities, and for other purposes.","HR2187","21st Century Green High-Performing Public School Facilities Act - Title I: Grants for<br>Modernization, Renovation, or Repair of Public School Facilities - (Sec. 102) Requires the<br>Secretary of Education to make grants to states for the modernization, renovation, or<br>repair of public schools, including early learning facilities and charter schools, to make<br>them safe, healthy, high-performing, and technologically up-to-date. Allocates grant funds<br>among states on the basis of the relative portion of..."],["Providing for passage of the bill (H.R. 2101) to promote reform and independence in the<br>oversight of weapons system acquisition by the Department of Defense, and for other<br>purposes.","HRES432","Sets forth the rule for consideration of H.R. 2101 (Weapons Acquisition System Reform<br>Through Enhancing Technical Knowledge and Oversight Act of 2009)."],["A bill to improve the organization and procedures of the Department of Defense for the<br>acquisition of major weapon systems, and for other purposes.","S454","Weapon Systems Acquisition Reform Act of 2009 - Title I: Acquisition Organization - (Sec.<br>101) Establishes within the Department of Defense (DOD) a Director of Cost Assessment and<br>Program Evaluation, to act as the principal advisor to the Secretary of Defense and other<br>senior DOD officials and provide independent analysis and advice on matters relating to<br>DOD acquisition program cost estimation and analysis, as well as related defense<br>acquisition matters as assigned by the Secretary. Establis..."],["Providing for consideration of the bill (H.R. 2346) making supplemental appropriations for<br>the fiscal year ending September 30, 2009, and for other purposes.","HRES434","Sets forth the rule for consideration of the bill (H.R. 2346) making supplemental<br>appropriations for the fiscal year ending September 30, 2009."],["Making supplemental appropriations for the fiscal year ending September 30, 2009, and for<br>other purposes.","HR2346","(This measure has not been amended since the conference report was filed in the House on<br>June 12, 2009. The summary of that version is repeated here.) Supplemental Appropriations<br>Act, 2009 - Title I: Department of Agriculture - Appropriates FY2009 funds for title II<br>grants under P.L. 480 (donation of U.S. commodities for emergency and private assistance<br>abroad). (Sec. 101) Makes unobligated amounts for the emergency conservation program<br>available to the Secretary of Agriculture for natural di..."],["To grant the congressional gold medal, collectively, to the 100th Infantry Battalion and<br>the 442nd Regimental Combat Team, United States Army, in recognition of their dedicated<br>service during World War II.","HR347","Requires the Speaker of the House of Representatives and the President pro tempore of the<br>Senate to make arrangements for the award of a congressional gold medal to the Army's<br>100th Infantry Battalion and 442nd Regimental Combat Team, collectively, in recognition of<br>their dedicated service during World War II. Requires the Medal to be displayed at the<br>Smithsonian Institution (Smithsonian) after its award. Expresses the sense of Congress<br>that the Smithsonian should make the medal available for..."],["Recognizing the importance of the Child and Adult Care Food Program and its positive<br>effect on the lives of low income children and families.","HRES442","Recognizes the importance of the Child and Adult Care Food Program and its overall<br>positive effect on the lives of low-income children and families, as well as its positive<br>effect on improving the quality of a child's child care environment. Recognizes the need<br>to provide adequate resources to improve the availability and quality of nutritious meals<br>and snacks served by Child and Adult Care Food Program facilities. Recognizes the need to<br>provide states with resources to improve the availabili..."],["To amend title 38, United States Code, to provide for the enforcement through the Office<br>of Special Counsel of the employment and unemployment rights of veterans and members of<br>the Armed Forces employed by Federal executive agencies, and for other purposes.","HR1089","Veterans Employment Rights Realignment Act of 2009 - Provides for the enforcement through<br>the Office of Special Counsel of the employment and unemployment rights of veterans and<br>members of the Armed Forces employed by federal agencies. Authorizes such an individual to<br>file a complaint with the Special Counsel. (Under current law, such individual may only<br>file a complaint with the Secretary of Veterans Affairs). Directs the Special Counsel to<br>investigate and attempt to resolve any complaint so..."],["A bill to prevent mortgage foreclosures and enhance mortgage credit availability.","S896","Division A: Preventing Mortgage Foreclosures - Helping Families Save Their Homes Act of<br>2009 - Title I: Prevention of Mortgage Foreclosures - (Sec. 101) Amends the Housing Act of<br>1949 with respect to guaranteed rural housing loans to require mortgagees, upon either<br>actual or imminent default of a guaranteed mortgage, to engage in loss mitigation actions<br>as an alternative to foreclosure (including special forbearance, loan modification, pre-<br>foreclosure sale, deed in lieu of foreclosure, suppor..."],["Providing for the consideration of the Senate amendment to the bill (H.R. 627) to amend<br>the Truth in Lending Act to establish fair and transparent practices relating to the<br>extension of credit under an open end consumer credit plan, and for other purposes.","HRES456","Sets forth the rule for consideration of the Senate amendment to H.R. 627 (Credit Card<br>Accountability Responsibility and Disclosure Act of 2009)."],["Providing for consideration of the bill (H.R. 2352) to amend the Small Business Act, and<br>for other purposes.","HRES457","Sets forth the rule for consideration of the bill (H.R. 2352) to amend the Small Business<br>Act."],["To amend the Small Business Act, and for other purposes.","HR2352","Job Creation Through Entrepreneurship Act of 2009 - Title I: Establishment of Veterans<br>Business Center Program - (Sec. 101) Amends the Small Business Act to direct the<br>Administrator of the Small Business Administration (SBA) to establish a Veterans Business<br>Center Program to provide entrepreneurial training and counseling to veterans. Requires<br>the Program to be headed by a Director, who shall establish a process to designate<br>entities as veterans business centers. Provides funding for such cen..."],["Providing for an adjournment or recess of the two Houses.","HCONRES133","Declares that, when the House adjourns on any legislative day from Thursday, May 21, 2009,<br>through Sunday, May 24, 2009, it stand adjourned until 2 p.m. on Tuesday, June 2, 2009.<br>Declares that, when the Senate recesses or adjourns on any day from Thursday, May 21,<br>2009, through Sunday, May 24, 2009, it stand recessed or adjourned until 12 p.m. on<br>Monday, June 1, 2009."],["Providing for consideration of the bill (H.R. 915) to amend title 49, United States Code,<br>to authorize appropriations for the Federal Aviation Administration for fiscal years 2009<br>through 2012, to improve aviation safety and capacity, to provide stable funding for the<br>national aviation system, and for other purposes.","HRES464","Sets forth the rule for consideration of the bill (H.R. 915) to amend title 49, United<br>States Code, to authorize appropriations for the Federal Aviation Administration for<br>fiscal years 2009 through 2012, to improve aviation safety and capacity, to provide stable<br>funding for the national aviation system."],["To prevent tobacco smuggling, to ensure the collection of all tobacco taxes, and for other<br>purposes.","HR1676","Prevent All Cigarette Trafficking Act of 2009 or PACT Act - Amends the Jenkins Act to<br>revise provisions governing the collection of taxes on, and trafficking in, cigarettes and<br>smokeless tobacco. (Sec. 2) Revises the definition of \"cigarette\" to include roll-your-own<br>tobacco and to exclude cigars. Defines \"delivery sale\" to mean any sale of cigarettes or<br>smokeless tobacco to a consumer ordered by telephone, the mails, or the Internet or other<br>online service . Redefines \"person\" to include sta..."],["To amend title 49, United States Code, to authorize appropriations for the Federal<br>Aviation Administration for fiscal years 2009 through 2012, to improve aviation safety and<br>capacity, to provide stable funding for the national aviation system, and for other<br>purposes.","HR915","FAA Reauthorization Act of 2009 - Title I: Authorizations - Subtitle A: Funding of FAA<br>Programs - (Sec. 101) Reauthorizes appropriations to the Federal Aviation Administration<br>(FAA) for FY2010-FY2012 for: (1) airport planning and development and noise compatibility<br>planning programs (with a rescission of certain unobligated amounts for FY2009 and prior<br>fiscal years); (2) air navigation facilities and equipment; (3) FAA operations; and (4)<br>FAA research, engineering, and development. Authorizes..."],["To honor the achievements and contributions of Native Americans to the United States, and<br>for other purposes.","HJRES40","Native American Heritage Day Act of 2009 - Makes specified findings, including that the<br>Friday immediately succeeding Thanksgiving Day of each year would be an appropriate day to<br>designate as Native American Heritage Day. Encourages the people of the United States, as<br>well as federal, state, and local governments and interested groups and organizations, to<br>honor Native Americans with appropriate activities to observe Native American Heritage<br>Day, including regarding: (1) the historical status..."],["Recognizing the twentieth anniversary of the suppression of protesters and citizens in and<br>around Tiananmen Square in Beijing, People's Republic of China, on June 3 and 4, 1989 and<br>expressing sympathy to the families of those killed, tortured, and imprisoned in<br>connection with the democracy protests in Tiananmen Square and other parts of China on<br>June 3 and 4, 1989 and thereafter.","HRES489","Expresses sympathy to the families of those killed, tortured, and imprisoned as a result<br>of their participation in the democracy protests in Tiananmen Square and elsewhere in<br>China on June 3 and 4, 1989, and to those persons who have suffered for their peaceful<br>efforts to keep that struggle alive during the last two decades. Calls on the People's<br>Republic of China (PRC) to: (1) invite independent investigations into the Tiananmen<br>Square crackdown; (2) end its harassment and detention against ..."],["Providing for consideration of the bill (H.R. 31) to provide for the recognition of the<br>Lumbee Tribe of North Carolina, and for other purposes, and providing for consideration of<br>the bill (H.R. 1385) to extend Federal recognition to the Chickahominy Indian Tribe, the<br>Chickahominy Indian Tribe-Eastern Division, the Upper Mattaponi Tribe, the Rappahannock<br>Tribe, Inc., the Monacan Indian Nation, and the Nansemond Indian Tribe.","HRES490","Sets forth the rule for consideration of the bill (H.R. 31) to provide for the recognition<br>of the Lumbee Tribe of North Carolina, and for other purposes, and providing for<br>consideration of the bill (H.R. 1385) to extend Federal recognition to the Chickahominy<br>Indian Tribe, the Chickahominy Indian Tribe-Eastern Division, the Upper Mattaponi Tribe,<br>the Rappahannock Tribe, Inc., the Monacan Indian Nation, and the Nansemond Indian Tribe."],["To provide for the recognition of the Lumbee Tribe of North Carolina, and for other<br>purposes.","HR31","(This measure has not been amended since it was reported to the House on May 12, 2009. The<br>summary of that version is repeated here.) Lumbee Recognition Act - Extends federal<br>recognition to the Lumbee Tribe of North Carolina. Prohibits the tribe from conducting<br>gaming activities as a matter of claimed inherent authority or under the authority of any<br>federal law. Requires North Carolina to exercise jurisdiction over all criminal offenses<br>committed, and all civil actions that arise, on North Ca..."],["Honoring the 20th anniversary of the Susan G. Komen Race for the Cure in the Nation's<br>Capital and its transition to the Susan G. Komen Global Race for the Cure on June 6, 2009,<br>and for other purposes.","HCONRES109","Remembers the lives of the women and men who have lost their fight with breast cancer and<br>expresses support and admiration for those who have survived. Congratulates participants<br>in the Global Race for the Cure to raise money for research and education. Urges Americans<br>to walk this year and support their family and friends who participate. Honors the Susan<br>G. Komen Global Race for the Cure."],["Expressing sympathy to the victims, families, and friends of the tragic act of violence at<br>the combat stress clinic at Camp Liberty, Iraq, on May 11, 2009.","HRES471","Expresses the heartfelt condolences of the House of Representatives to the families and<br>friends of the victims of the May 11, 2009, shooting at the combat stress clinic at Camp<br>Liberty, Iraq. Conveys its ongoing deep gratitude to the brave members of the Armed Forces<br>who risk their lives in service of protecting the nation. Recognizes the important work of<br>the medical professionals and staff members, who provide essential mental health services<br>to our servicemen and women, at Combat Stress Co..."],["Directing the Committee on Standards of Official Conduct to report to the House of<br>Representatives on the actions the Committee has taken concerning any misconduct of<br>Members and employees of the House in connection with activities of the PMA Group.","HRES500","Requires the House Committee on Standards of Official Conduct to report to the House on<br>the actions the Committee has taken, if any, concerning any misconduct of House Members<br>and employees in connection with activities of the PMA Group."],["Providing for consideration of the bill (H.R. 2200) to authorize the Transportation<br>Security Administration's programs relating to the provision of transportation security,<br>and for other purposes.","HRES474","Sets forth the rule for consideration of the bill (H.R. 2200) to authorize the<br>Transportation Security Administration's programs relating to the provision of<br>transportation security."],["To authorize the Transportation Security Administration's programs relating to the<br>provision of transportation security, and for other purposes.","HR2200","Transportation Security Administration Authorization Act - Title I: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations to the Secretary of Homeland<br>Security (Secretary) for the Transportation Security Administration (TSA) for FY2010-<br>FY2011. (Sec. 102) Directs the Assistant Secretary of Homeland Security (TSA) (Assistant<br>Secretary) to: (1) report to the appropriate congressional committees on TSA use of a<br>risk-based system for allocating security resources effectively; and..."],["To provide that 4 of the 12 weeks of parental leave made available to a Federal employee<br>shall be paid leave, and for other purposes.","HR626","Federal Employees Paid Parental Leave Act of 2009 - Allows federal employees to substitute<br>any available paid leave for any leave without pay available for either the: (1) birth of<br>a child; or (2) placement of a child with the employee for either adoption or foster care.<br>Makes available (subject to specified requirements) for any of the 12 weeks of leave an<br>employee is entitled to for such purposes: (1) four administrative weeks of paid parental<br>leave in connection with the birth or placement..."],["To provide for the establishment of a committee to identify and coordinate international<br>science and technology cooperation that can strengthen the domestic science and technology<br>enterprise and support United States foreign policy goals.","HR1736","International Science and Technology Cooperation Act of 2009 - Requires the Director of<br>the Office of Science and Technology Policy (OSTP) to establish a committee under the<br>National Science and Technology Council that has the responsibility of identifying and<br>coordinating international science and technology cooperation that can strengthen U.S.<br>science and technology enterprise, improve economic and national security, and support<br>U.S. foreign policy goals. Requires the committee to be co-cha..."],["To establish a committee under the National Science and Technology Council with the<br>responsibility to coordinate science, technology, engineering, and mathematics education<br>activities and programs of all Federal agencies, and for other purposes.","HR1709","(This measure has not been amended since it was reported to the House on June 2, 2009. The<br>summary of that version is repeated here.) STEM Education Coordination Act of 2009 -<br>Requires the Director of the Office of Science and Technology Policy (OSTP) to establish a<br>committee under the National Science and Technology Council that has the responsibility of<br>coordinating federal programs and activities in support of STEM (science, technology,<br>engineering, and mathematics) education, including at..."],["To accelerate motor fuel savings nationwide and provide incentives to registered owners of<br>high polluting automobiles to replace such automobiles with new fuel efficient and less<br>polluting automobiles.","HR2751","FDA Food Safety Modernization Act - Title I: Improving Capacity to Prevent Food Safety<br>Problems - Amends the Federal Food, Drug, and Cosmetic Act (FFDCA) to expand the food<br>safety activities of the Secretary of Health and Human Services (HHS), including to<br>authorize the Secretary to inspect records related to food. Exempts certain establishments<br>that sell food directly to consumers, such as roadside stands, farmers markets or<br>participants in a community supported agriculture program, from spe..."],["To require the Attorney General to make competitive grants to eligible State, tribal, and<br>local prosecutors to establish and maintain certain protection and witness assistance<br>programs.","HR1741","Witness Security and Protection Grant Program Act of 2010 - Directs the Attorney General<br>to: (1) make competitive grants to state, tribal, and local governments to establish or<br>maintain programs to protect or assist witnesses in court proceedings involving homicide,<br>a serious felony or drug offense, or gangs or organized crime; (2) evaluate grant<br>applicants based on specified criteria, including such government's level of witness<br>intimidation and level of serious crimes; (3) provide technical..."],["Condemning the murder of Dr. George Tiller, who was shot to death at his church on May 31,<br>2009.","HRES505","Offers the condolences of the House of Representatives to the family of Dr. George Tiller.<br>Declares that the House commits to the American principle that tolerance must always be<br>superior to intolerance, and that violence is never an appropriate response to a<br>difference in beliefs."],["Providing for consideration of the bill (H.R. 1886) to authorize democratic, economic, and<br>social development assistance for Pakistan, to authorize security assistance for Pakistan,<br>and for other purposes, and providing for consideration of the bill (H.R. 2410) to<br>authorize appropriations for the Department of State and the Peace Corps for fiscal years<br>2010 and 2011, to modernize the Foreign Service, and for other purposes.","HRES522","Sets forth the rule for consideration of the bill (H.R. 1886) to authorize democratic,<br>economic, and social development assistance for Pakistan, to authorize security assistance<br>for Pakistan, and for other purposes, and providing for consideration of the bill (H.R.<br>2410) to authorize appropriations for the Department of State and the Peace Corps for<br>fiscal years 2010 and 2011, to modernize the Foreign Service."],["Recognizing the significant accomplishments of the AmeriCorps and encouraging all citizens<br>to join in a national effort to salute AmeriCorps members and alumni, and raise awareness<br>about the importance of national and community service.","HRES453","Encourages all citizens to join in a national effort to salute AmeriCorps members and<br>alumni and raise awareness about the importance of national and community service.<br>Acknowledges the significant accomplishments and contributions of AmeriCorps members,<br>alumni, and community partners. Encourages citizens of all ages and backgrounds and from<br>each state to consider opportunities to serve in AmeriCorps."],["To authorize appropriations for the Department of State and the Peace Corps for fiscal<br>years 2010 and 2011, to modernize the Foreign Service, and for other purposes.","HR2410","Division A: Foreign Relations Authorization Act, Fiscal Years 2010 and 2011- Foreign<br>Relations Authorization Act, Fiscal Years 2010 and 2011- Title I: Authorization of<br>Appropriations - (Sec. 101) Authorizes FY2010-FY2011 appropriations for the Department of<br>State (Department) to carry diplomatic and consular affairs, including: (1) worldwide<br>security protection; (2) public diplomacy; (3) the Bureau of Democracy, Human Rights, and<br>Labor; (4) the Capital Investment Fund; (5) embassy security, c..."],["To designate the Federal building and United States courthouse located at McKinley Avenue<br>and Third Street, SW., Canton, Ohio, as the \"Ralph Regula Federal Building and United<br>States Courthouse\".","HR1687","(This measure has not been amended since it was reported to the House on June 8, 2009. The<br>summary of that version is repeated here.) Directs the Administrator of General Services<br>to ensure that the federally occupied building located at McKinley Avenue and Third<br>Street, S.W., Canton, Ohio, is known and designated as the \"Ralph Regula Federal Building<br>and United States Courthouse.\""],["To authorize democratic, economic, and social development assistance for Pakistan, to<br>authorize security assistance for Pakistan, and for other purposes.","HR1886","Pakistan Enduring Assistance and Cooperation Enhancement Act of 2009 or the PEACE Act of<br>2009 - Title I: Democratic, Economic, and Social Development Assistance for Pakistan -<br>(Sec. 102) Authorizes the President to provide assistance for Pakistan to support: (1)<br>democratic institutions in order to strengthen civilian rule and long-term stability; (2)<br>the judicial system, the rule of law, and law enforcement; (3) economic development; (4)<br>national, provincial, and local governmental and nongov..."],["Condemning the violent attack on the United States Holocaust Memorial Museum on June 10,<br>2009 and honoring the bravery and dedication of United States Holocaust Memorial Museum<br>employees and security personnel.","HRES529","Condemns the violent attack on the U.S. Holocaust Memorial Museum on June 10, 2009. Honors<br>the bravery and dedication of the employees and security personnel at the U.S. Holocaust<br>Memorial Museum. Offers condolences to the family of Officer Stephen Tyrone Johns who was<br>killed in the line of duty. Urges Americans to join the House of Representatives in<br>condemning this act of hateful violence and intolerance."],["Expressing condolences to the citizens of Italy and support for the Government of Italy in<br>the aftermath of the devastating earthquake that struck the Abruzzo region of central<br>Italy.","HRES430","Mourns the loss of life and expresses condolences to the families of those killed and<br>injured in the earthquake that struck the Abruzzo region of Italy. Applauds the response<br>of Italian rescue workers. Recognizes the deep ties between the United States and Italy<br>and expresses continued solidarity with the people of Italy during this time of crisis.<br>Supports President Obama's offer of U.S. assistance to Italy in response to this event.<br>Urges the people of the United States to support humanitar..."],["To designate the facility of the United States Postal Service located at 1300 Matamoros<br>Street in Laredo, Texas, as the \"Laredo Veterans Post Office\".","HR2325","Designates the facility of the United States Postal Service located at 1300 Matamoros<br>Street in Laredo, Texas, as the \"Laredo Veterans Post Office.\""],["To help keep students safe on school-run, overnight, off-premises field trips.","HR729","Phylicia's Law - Requires each local educational agency (LEA) that receives funds under<br>the Safe and Drug-Free Schools and Communities program to develop and make publicly<br>available a written school safety policy for off-premises, overnight field trips.<br>Encourages the Secretary of Education to provide guidance to such LEAs by taking the steps<br>necessary, such as hosting a conference of interested parties, to further the development<br>of a model school safety policy for such trips."],["Expressing condolences to the families, friends, and loved ones of the victims of the<br>catastrophic explosion at the ConAgra Foods plant in Garner, North Carolina, and for other<br>purposes.","HRES540","Expresses condolences to the families, friends, and loved ones of the victims of the<br>explosion at the ConAgra Foods plant in Garner, North Carolina. Honors Barbara McLean<br>Spears, Louis Junior Watson, and Rachel Mae Poston Pulley, who lost their lives in the<br>explosion, and the 40 others who were injured. Commends the heroic actions of the Garner<br>Police and Fire Departments, the quick response of the Bureau of Alcohol, Tobacco,<br>Firearms and Explosives (ATF), and all other first responders, emer..."],["To amend title 5, United States Code, to make technical amendments to certain provisions<br>of title 5, United States Code, enacted by the Congressional Review Act.","HR2247","Congressional Review Act Improvement Act - Eliminates a requirement that federal agencies<br>must submit specified information about a rule to both Houses of Congress before such rule<br>can take effect (thus requiring that the information be submitted to only the Comptroller<br>General). Requires the Comptroller General to submit to each House a weekly report<br>containing a list of the rules received, including a notation identifying each major rule.<br>Requires the Speaker of the House of Representatives..."],["To provide housing assistance for very low-income veterans.","HR403","Homes for Heroes Act of 2009 - (Sec. 2) Amends the Department of Housing and Urban<br>Development Act to establish in the Department of Housing and Urban Development (HUD) a<br>Special Assistant for Veterans Affairs to: (1) ensure veteran access to HUD housing and<br>homeless assistance programs; (2) coordinate all HUD programs and activities relating to<br>veterans; and (3) serve as a HUD liaison with the Department of Veterans Affairs (VA).<br>(Sec. 3) Directs the HUD Secretary to provide assistance in th..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2346)<br>making supplemental appropriations for the fiscal year ending September 30, 2009, and for<br>other purposes.","HRES545","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2346) making supplemental appropriations for the fiscal year ending September 30, 2009."],["Providing for consideration of the bill (H.R. 2847) making appropriations for the<br>Departments of Commerce and Justice, and Science, and Related Agencies for the fiscal year<br>ending September 30, 2010, and for other purposes.","HRES544","Sets forth the rule for consideration of the bill (H.R. 2847) making appropriations for<br>the Departments of Commerce and Justice, and Science, and Related Agencies for the fiscal<br>year ending September 30, 2010."],["Recognizing the 40th anniversary of the National Eye Institute (NEI) and expressing<br>support for designation of 2010 through 2020 as the \"Decade of Vision\".","HRES366","Recognizes the 40th anniversary of the National Eye Institute. Expresses support for the<br>designation of the Decade of Vision to maintain a sustained awareness of the public health<br>challenges associated with vision impairment and eye disease and to emphasize the need for<br>federal support for prevention and early detection, access to treatment and<br>rehabilitation, and research. Commends the National Alliance for Eye and Vision Research<br>for its efforts to expand awareness of eye disease through it..."],["Making appropriations for the Departments of Commerce and Justice, and Science, and<br>Related Agencies for the fiscal year ending September 30, 2010, and for other purposes.","HR2847","Hiring Incentives to Restore Employment Act - Title I: Incentives for Hiring and Retaining<br>Unemployed Workers - (Sec. 101) Amends the Internal Revenue Code to: (1) exempt for-profit<br>and nonprofit employers, including public institutions of higher education, from social<br>security and railroad retirement taxes in 2010 (except for the first calendar quarter of<br>such year) for new employees who are hired after February 3, 2010, and before January 1,<br>2011, and who certify that they have not worked m..."],["Providing for further consideration of the bill (H.R. 2847) making appropriations for the<br>Departments of Commerce and Justice, and Science, and Related Agencies for the fiscal year<br>ending September 30, 2010, and for other purposes.","HRES552","Sets forth the rule for consideration of H.R. 2847 (Commerce, Justice, Science, and<br>Related Agencies Appropriations Act, 2010)."],["Providing for consideration of the bill (H.R. 2918) making appropriations for the<br>Legislative Branch for the fiscal year ending September 30, 2010, and for other purposes.","HRES559","Sets forth the rule for consideration of the bill (H.R. 2918) making appropriations for<br>the Legislative Branch for the fiscal year ending September 30, 2010."],["Expressing support for all Iranian citizens who embrace the values of freedom, human<br>rights, civil liberties, and rule of law, and for other purposes.","HRES560","Expresses support for all Iranian citizens who embrace the values of freedom, human<br>rights, civil liberties, and rule of law. Condemns the ongoing violence against<br>demonstrators by the government of Iran and pro-government militias as well as the ongoing<br>government suppression of independent electronic communication through interference with<br>the Internet and cellphones. Affirms the universality of individual rights and the<br>importance of democratic and fair elections."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2010, and for other purposes.","HR2918","Division A: Legislative Branch Appropriations Act, 2010 - Legislative Branch<br>Appropriations Act, 2010 - Title I: Legislative Branch - Makes appropriations to the<br>Senate for FY2010 for: (1) a payment to Victoria Reggie Kennedy, widow of Edward M.<br>Kennedy, late a Senator from Massachusetts; (2) expense allowances; (3) representation<br>allowances for the Majority and Minority Leaders; (4) salaries of specified officers,<br>employees, and committees (including the Committee on Appropriations); (5) age..."],["Impeaching Samuel B. Kent, judge of the United States District Court for the Southern<br>District of Texas, for high crimes and misdemeanors.","HRES520","Impeaches Samuel B. Kent, judge of the U.S. District Court for the Southern District of<br>Texas, for high crimes and misdemeanors. Sets forth articles of impeachment. Declares<br>that, incident to his position as a U.S. district court judge, Samuel B. Kent engaged in<br>conduct with respect to employees associated with the court that is incompatible with the<br>trust and confidence placed in him as a judge. Declares that Judge Kent, on one or more<br>occasions, sexually assaulted Cathy McBroom and Donna Wi..."],["A bill to increase, effective as of December 1, 2009, the rates of compensation for<br>veterans with service-connected disabilities and the rates of dependency and indemnity<br>compensation for the survivors of certain disabled veterans, and for other purposes.","S407","Veterans' Compensation Cost-of-Living Adjustment Act of 2009 - Directs the Secretary of<br>Veterans Affairs (VA) to increase, as of December 1, 2009, the rates of veterans'<br>disability compensation, additional compensation for dependents, the clothing allowance<br>for certain disabled veterans, and dependency and indemnity compensation for surviving<br>spouses and children. Requires each such increase to be the same percentage as the<br>increase in benefits provided under title II (Old Age, Survivors and ..."],["To amend title 38, United States Code, to provide advance appropriations authority for<br>certain medical care accounts of the Department of Veterans Affairs, and for other<br>purposes.","HR1016","Veterans Health Care Budget Reform and Transparency Act of 2009 - Directs the President to<br>include in annual budget justification documents submitted to Congress information on<br>estimates of appropriations for the fiscal year following the fiscal year for which the<br>budget is submitted for the following accounts of the Department of Veterans Affairs (VA):<br>(1) Medical Services; (2) Medical Support and Compliance; and (3) Medical Facilities.<br>Requires annually for such accounts, beginning with FY2..."],["To amend title 38, United States Code, to expand and improve health care services<br>available to women veterans, especially those serving in Operation Enduring Freedom and<br>Operation Iraqi Freedom, from the Department of Veterans Affairs, and for other purposes.","HR1211","Women Veterans Health Care Improvement Act - Title I: Studies and Assessments of<br>Department of Veterans Affairs Health Services for Women Veterans - (Sec. 101) Requires<br>the Secretary of Veterans Affairs (VA) to: (1) conduct a study of barriers encountered by<br>women veterans to the provision by the VA of comprehensive health care; (2) ensure that<br>the Center for Women Veterans and the Advisory Committee on Women Veterans review the<br>results of the study; and (3) report to Congress on study result..."],["To make technical corrections to the Higher Education Act of 1965, and for other purposes.","HR1777","Makes miscellaneous and technical amendments to the Higher Education Act of 1965 (the<br>Act). Title I: General Provisions - Makes technical amendments to title I of the Act.<br>(Sec. 101) Amends the Higher Education Opportunity Act to make the date of such Act's<br>enactment, August 14, 2008, the effective date of its revisions to the general definition<br>of institutions of higher education (IHEs). Makes prerequisites for foreign nursing school<br>participation in the Act's Federal Family Education Loan (..."],["Providing for consideration of the bill (H.R. 2892) making appropriations for the<br>Department of Homeland Security for the fiscal year ending September 30, 2010, and for<br>other purposes.","HRES573","Sets forth the rule for consideration of the bill (H.R. 2892) making appropriations for<br>the Department of Homeland Security for the fiscal year ending September 30, 2010."],["To provide special pays and allowances to certain members of the Armed Forces, expand<br>concurrent receipt of military retirement and VA disability benefits to disabled military<br>retirees, and for other purposes.","HR2990","Disabled Military Retiree Relief Act of 2009 - Title I: Compensation and Benefits for<br>Members of the Armed Forces and Military Retirees - Subtitle A: Bonuses and Special and<br>Incentive Pays - (Sec. 101) Extends through 2010 specified authorities currently scheduled<br>to expire at the end of 2009 with respect to certain special pay and bonus programs within<br>the regular and reserve Armed Forces. Subtitle B: Retired Pay Benefits - (Sec. 111)<br>Provides for the recomputation of retired pay and adjustm..."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2010, and for other purposes.","HR2892","Department of Homeland Security Appropriations Act, 2010 - Title I: Departmental<br>Management and Operations - Makes appropriations for the Department of Homeland Security<br>(DHS) for FY2010 for the Offices of the Secretary of Homeland Security, the Under<br>Secretary for Management, the Chief Financial Officer, the Chief Information Officer, the<br>Federal Coordinator for Gulf Coast Rebuilding, and the Inspector General and for<br>intelligence analysis and operations coordination activities. Title II: Se..."],["Providing for consideration of the bill (H.R. 2647) to authorize appropriations for fiscal<br>year 2010 for military activities of the Department of Defense, to prescribe military<br>personnel strengths for fiscal year 2010, and for other purposes.","HRES572","Sets forth the rule for consideration of the bill (H.R. 2647) to authorize appropriations<br>for fiscal year 2010 for military activities of the Department of Defense, to prescribe<br>military personnel strengths for fiscal year 2010."],["To authorize appropriations for fiscal year 2010 for military activities of the Department<br>of Defense, to prescribe military personnel strengths for fiscal year 2010, and for other<br>purposes.","HR2647","National Defense Authorization Act for Fiscal Year 2010 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2010 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, and other procurement. (Sec. 104) Authorizes<br>appropriations for FY2010 for: (1) defense-wide procurement; (2) National..."],["Providing for consideration of the bill (H.R. 2996) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2010, and for other purposes.","HRES578","Sets forth the rule for consideration of the bill (H.R. 2996) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2010."],["A concurrent resolution providing for a conditional adjournment or recess of the Senate,<br>and a conditional adjournment of the House of Representatives.","SCONRES31","Declares that when the Senate recesses or adjourns on any day from Thursday, June 25, 2009<br>through Sunday, June 28, 2009, it stand recessed or adjourned until noon on Monday, July<br>6, 2009. Declares that when the House adjourns on any legislative day from Thursday, June<br>25, 2009, through Sunday, June 28, 2009, it stand adjourned until 2:00 p.m. on Tuesday,<br>July 7, 2009."],["Providing for consideration of the bill (H.R. 2454) to create clean energy jobs, achieve<br>energy independence, reduce global warming pollution and transition to a clean energy<br>economy.","HRES587","Sets forth the rule for consideration of the bill (H.R. 2454) to create clean energy jobs,<br>achieve energy independence, reduce global warming pollution and transition to a clean<br>energy economy."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2010, and for other purposes.","HR2996","Department of the Interior, Environment, and Related Agencies Appropriations Act, 2010 -<br>Division A - Makes appropriations for the Department of the Interior, the Environmental<br>Protection Agency (EPA), and related agencies for FY2010. Title I: Department of the<br>Interior - Makes appropriations for FY2010 to the Bureau of Land Management (BLM) for: (1)<br>land and resource management; (2) construction; (3) land acquisition; (4) Oregon and<br>California grant lands; (5) range improvements; (6) service..."],["To create clean energy jobs, achieve energy independence, reduce global warming pollution<br>and transition to a clean energy economy.","HR2454","American Clean Energy and Security Act of 2009 - Sets forth provisions concerning clean<br>energy, energy efficiency, reducing global warming pollution, transitioning to a clean<br>energy economy, and providing for agriculture and forestry related offsets. Includes<br>provisions: (1) creating a combined energy efficiency and renewable electricity standard<br>and requiring retail electricity suppliers to meet 20% of their demand through renewable<br>electricity and electricity savings by 2020; (2) setting a ..."],["Directing the Architect of the Capitol to place a marker in Emancipation Hall in the<br>Capitol Visitor Center which acknowledges the role that slave labor played in the<br>construction of the United States Capitol, and for other purposes.","HCONRES135","Requires the Architect of the Capitol, subject to the approval of the House Committee on<br>House Administration and the Senate Committee on Rules and Administration, to design,<br>procure, and place in a prominent location in Emancipation Hall in the Capitol Visitor<br>Center a marker which acknowledges the role that slave labor played in the construction of<br>the U.S. Capitol."],["To authorize the Secretary of the Interior to provide an annual grant to facilitate an<br>iron working training program for Native Americans.","HR1129","Directs the Secretary of the Interior, acting through the Bureau of Indian Affairs (BIA),<br>to make annual grants, to the extent funds are made available for such grants, to<br>federally recognized Indian tribes, tribal colleges and universities, and other eligible<br>entities to provide an iron working training program that: (1) provides specialized<br>classroom and on-the-job training in iron working skills to adult members of federally<br>recognized Indian tribes; and (2) facilitates job placement upon ..."],["Providing for consideration of the bill (H.R. 2965) to amend the Small Business Act with<br>respect to the Small Business Innovation Research Program and the Small Business<br>Technology Transfer Program, and for other purposes.","HRES610","Sets forth the rule for consideration of the bill (H.R. 2965) to amend the Small Business<br>Act with respect to the Small Business Innovation Research Program and the Small Business<br>Technology Transfer Program."],["To direct the exchange of certain land in Grand, San Juan, and Uintah Counties, Utah, and<br>for other purposes.","HR1275","Utah Recreational Land Exchange Act of 2009 - Directs the Secretary of the Interior to<br>convey specified federal land in Grand, San Juan, and Uintah Counties, Utah, to the state<br>of Utah in exchange for specified non-federal land in such counties. Requires the<br>conveyance to be in three phases. Requires all costs of the land exchanges under this Act,<br>including but not limited to, appraisals, surveys, and related costs, to be paid equally<br>by the Secretary and the state. Sets forth provisions rega..."],["To amend the Small Business Act with respect to the Small Business Innovation Research<br>Program and the Small Business Technology Transfer Program, and for other purposes.","HR2965","Don't Ask, Don't Tell Repeal Act of 2010 - Provides for repeal of the current Department<br>of Defense (DOD) policy concerning homosexuality in the Armed Forces, to be effective 60<br>days after the Secretary of Defense has received DOD's comprehensive review on the<br>implementation of such repeal, and the President, Secretary, and Chairman of the Joint<br>Chiefs of Staff (JCS) certify to the congressional defense committees that they have<br>considered the report and proposed plan of action, that DOD has ..."],["Providing for consideration of the bill (H.R. 2997) making appropriations for Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies programs for the<br>fiscal year ending September 30, 2010, and for other purposes.","HRES609","Sets forth the rule for consideration of the bill (H.R. 2997) making appropriations for<br>Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2010."],["Making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2010, and for other<br>purposes.","HR2997","Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>Appropriations Act, 2010 - Title I: Agricultural Programs - Appropriates FY2010 funds for<br>the following Department of Agriculture (Department) programs and services: (1) Office of<br>the Secretary of Agriculture (Secretary); (2) Office of Tribal Relations; (3) Office of<br>the Chief Economist; (4) National Appeals Division; (5) Office of Budget and Program<br>Analysis; (6) Office of Homeland Security; (7) Office of Advo..."],["Providing for consideration of the bill (H.R. 3081) making appropriations for the<br>Department of State, foreign operations, and related programs for the fiscal year ending<br>September 30, 2010, and for other purposes.","HRES617","Sets forth the rule for consideration of the bill (H.R. 3081) making appropriations for<br>the Department of State, foreign operations, and related programs for the fiscal year<br>ending September 30, 2010."],["Recognizing the significance of National Caribbean-American Heritage Month.","HCONRES127","Supports the goals and ideals of Caribbean-American Heritage Month (in the month of June).<br>Affirms that: (1) the contributions of Caribbean-Americans are a significant part of the<br>history, progress, and heritage of the United States; and (2) the ethnic and racial<br>diversity of the United States enriches and strengthens the nation."],["Making appropriations for the Department of State, foreign operations, and related<br>programs for the fiscal year ending September 30, 2010, and for other purposes.","HR3081","Continuing Appropriations Act, 2011 - Makes continuing appropriations for FY2011. (Sec.<br>101) Appropriates amounts for continuing operations, projects, or activities conducted in<br>FY2010, at the same rate as for FY2010, for which appropriations, funds, or other<br>authority were made available in: (1) the Agriculture, Rural Development, Food and Drug<br>Administration, and Related Agencies Appropriations Act, 2010 (P.L. 111-80); (2) Division<br>A of the Department of Defense Appropriations Act, 2010 (di..."],["Providing for consideration of the bill (H.R. 3082) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2010, and for other purposes.","HRES622","Sets forth the rule for consideration of the bill (H.R. 3082) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2010."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2010, and for other purposes.","HR3082","Continuing Appropriations and Surface Transportation Extensions Act, 2011 - Continuing<br>Appropriations Amendments, 2011 - Title I: Continuing Appropriations Amendments - (Sec. 1)<br>Amends the Continuing Appropriations Act, 2011 (P.L. 111-242) to extend through March 4,<br>2011, specified continuing appropriations for FY2011. Declares that no statutory pay<br>adjustment which would otherwise take effect between January 1, 2011, and December 31,<br>2012, shall be made. (Thus freezes the pay of certain fede..."],["Expressing the profound sympathies of the House of Representatives for the victims of the<br>tragic Metrorail accident on Monday, June 22, 2009, and for their families, friends, and<br>associates.","HRES612","Expresses the profound sympathies of the House of Representatives for the victims of the<br>tragic Metrorail accident on Monday, June 22, 2009, and for their families, friends, and<br>associates."],["To direct the Secretary of Veterans Affairs to conduct a five-year pilot project to test<br>the feasibility and advisability of expanding the scope of certain qualifying work-study<br>activities under title 38, United States Code.","HR1037","Veterans' Benefits Enhancement Act of 2009 - Title I: Insurance Matters - (Sec. 101)<br>Increases from $20,000 to $30,000 the maximum amount of supplemental insurance provided<br>through the Department of Veterans Affairs (VA) for totally disabled veterans. (Sec. 102)<br>Limits the duration of a dependent's coverage under Servicemembers' Group Life Insurance<br>(SGLI) to 120 days after the member's separation or release from service or assignment.<br>(Sec. 103) Amends the Veterans' Housing Opportunity and B..."],["Providing for consideration of the bill (H.R. 3183) making appropriations for energy and<br>water development and related agencies for the fiscal year ending September 30, 2010, and<br>for other purposes.","HRES645","Sets forth the rule for consideration of the bill (H.R. 3183) making appropriations for<br>energy and water development and related agencies for the fiscal year ending September 30,<br>2010."],["To provide for the administration of Port Chicago Naval Magazine National Memorial as a<br>unit of the National Park System, and for other purposes.","HR1044","Port Chicago Naval Magazine National Memorial Enhancement Act of 2009 - Amends the Port<br>Chicago National Memorial Act of 1992 to require the Secretary of the Interior to<br>administer the Port Chicago Naval Magazine National Memorial as a unit of the National<br>Park System. Directs the Secretary of Defense to transfer a specified parcel of land<br>within the proposed boundary on the map entitled \"Port Chicago Naval Magazine National<br>Memorial, Proposed Boundary,\" dated August 2005, to the administrati..."],["To convey certain submerged lands to the Commonwealth of the Northern Mariana Islands in<br>order to give that territory the same benefits in its submerged lands as Guam, the Virgin<br>Islands, and American Samoa have in their submerged lands.","HR934","Amends the Act conveying certain submerged lands to Guam, the Virgin Islands, and American<br>Samoa (P.L. 93-435) to include the Commonwealth of the Northern Mariana Islands on the<br>same basis as Guam, the Virgin Islands, and American Samoa. (Conveys to the government of<br>the Commonwealth of the Northern Mariana Islands certain submerged lands extending three<br>geographical miles from the coastline.)"],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2010, and for other purposes.","HR3183","Energy and Water Development and Related Agencies Appropriations Act, 2010 - Makes<br>appropriations for energy and water development and related agencies for FY2010. Title I:<br>Corps of Engineers-Civil - Makes appropriations for FY2010 to the Department of the Army,<br>Corps of Engineers-Civil, for: (1) civil functions pertaining to rivers and harbors, flood<br>and storm damage reduction, shore protection, and aquatic ecosystem restoration (including<br>the Mississippi River alluvial valley below Cape Gir..."],["To provide for the sale of the Federal Government's reversionary interest in approximately<br>60 acres of land in Salt Lake City, Utah, originally conveyed to the Mount Olivet Cemetery<br>Association under the Act of January 23, 1909.","HR1442","Directs the Secretary of the Interior, if within one year after the completion of the<br>appraisal required by this Act, the Mount Olivet Cemetery Association of Salt Lake City,<br>Utah, submits an offer to acquire the federal reversionary interest in all of the<br>approximately 60 acres of land in Salt Lake City conveyed to the Association under the Act<br>of January 23, 1909, to convey to the Association such reversionary interest in the lands<br>covered by the offer. Requires the completion of such conve..."],["To authorize the Secretary of the Interior, through the United States Fish and Wildlife<br>Service, to conduct a Joint Venture Program to protect, restore, enhance, and manage<br>migratory bird populations, their habitats, and the ecosystems they rely on, through<br>voluntary actions on public and private lands, and for other purposes.","HR2188","Joint Ventures for Bird Habitat Conservation Act of 2009 - (Sec. 4) Directs the Secretary<br>of the Interior to conduct, through the U.S. Fish and Wildlife Service, a Joint Ventures<br>Program to develop a framework for the approval and establishment of Joint Ventures that:<br>(1) provide financial and technical assistance to support regional migratory bird<br>conservation partnerships; (2) develop and implement plans for the protection and<br>enhancement of migratory bird populations; (3) complement and su..."],["Providing for consideration of the bill (H.R. 3170) making appropriations for financial<br>services and general government for the fiscal year ending September 30, 2010, and for<br>other purposes.","HRES644","Sets forth the rule for consideration of the bill (H.R. 3170) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2010."],["Expressing support for designation of June as \"Home Safety Month\".","HRES543","Supports the designation of Home Safety Month. Recognizes the contributions of: (1) home<br>safety related nonprofit organizations; and (2) the Home Safety Council for introducing<br>www.MySafeHome.org to help adults identify the dangers present in and around the home, and<br>for promoting the Hands on Home Safety Campaign. Encourages adults, parents, and<br>caregivers to take greater actions to reduce unintentional injuries and educate themselves<br>on the importance of home safety. Encourages: (1) manufac..."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2010, and for other purposes.","HR3170","Financial Services and General Government Appropriations Act, 2010 - Title I: Department<br>of the Treasury - Department of the Treasury Appropriations Act, 2010 - Makes<br>appropriations for FY2010 to the Department of the Treasury for: (1) departmental offices;<br>(2) department-wide systems and capital investments programs; (3) the Office of Inspector<br>General; (4) the Treasury Inspector General for Tax Administration; (5) the Financial<br>Crimes Enforcement Network; (6) the Financial Management Servic..."],["Celebrating the 30th anniversary of June as \"Black Music Month\".","HRES476","Celebrates the goals and ideals of Black Music Month."],["Providing for consideration of the bill (H.R. 1018) to amend the Wild Free-Roaming Horses<br>and Burros Act to improve the management and long-term health of wild free-roaming horses<br>and burros, and for other purposes.","HRES653","Sets forth the rule for consideration of the bill (H.R. 1018) to amend the Wild Free-<br>Roaming Horses and Burros Act to improve the management and long-term health of wild free-<br>roaming horses and burros."],["To amend the Wild Free-Roaming Horses and Burros Act to improve the management and long-<br>term health of wild free-roaming horses and burros, and for other purposes.","HR1018","Restore Our American Mustangs Act - Amends the Wild Free-Roaming Horses and Burros Act to<br>revise provisions concerning the management of such animals. (Sec. 5) Requires the<br>Secretary of the Interior (for Bureau of Land Management [BLM] administered lands) or the<br>Secretary of Agriculture (for Forest Service administered lands) to: (1) ensure that, to<br>the extent practicable, acreage available for wild and free-roaming horses and burros is<br>at least equal to the acreage where they were found in 1..."],["To authorize the President, in conjunction with the 40th anniversary of the historic and<br>first lunar landing by humans in 1969, to award gold medals on behalf of the United States<br>Congress to Neil A. Armstrong, the first human to walk on the moon; Edwin E. \"Buzz\"<br>Aldrin, Jr., the pilot of the lunar module and second person to walk on the moon; Michael<br>Collins, the pilot of their Apollo 11 mission's command module; and, the first American to<br>orbit the Earth, John Herschel Glenn, Jr.","HR2245","New Frontier Congressional Gold Medal Act - Authorizes the President to present gold<br>medals, on behalf of Congress, to: (1) the astronauts of the Apollo 11 mission to the<br>surface of the moon, Neil A. Armstrong (the first human to walk on the moon), Edwin E.<br>\"Buzz\" Aldrin Jr. (pilot of the lunar module Eagle and second person to walk on the moon),<br>and Michael Collins (pilot of their command module Columbia) in recognition of the first<br>lunar landing, on July 20, 1969; and (2) John Herschel Glen..."],["Recognizing the 40th anniversary of the Food and Nutrition Service of the Department of<br>Agriculture.","HCONRES164","Recognizes the historic and continued contribution of the Food and Nutrition Service and<br>its employees. Commends the efforts of states, territories, local governments, and<br>nonprofit charitable and faith-based organizations to end hunger and provide nutritious<br>food to U.S. citizens. Encourages continued efforts to educate U.S. citizens about the<br>importance of eating nutritiously and living a healthy lifestyle. Recognizes the<br>commitment of the United States to end hunger in the United States an..."],["To authorize the designation of National Environmental Research Parks by the Secretary of<br>Energy, and for other purposes.","HR2729","Requires the Department of Energy (DOE) to designate as protected outdoor research<br>reserves for the purpose of conducting long-term environmental research on the impacts of<br>human activities on the natural environment: (1) Savannah River National Environmental<br>Research Park; (2) Idaho National Environmental Research Park; (3) Los Alamos National<br>Environmental Research Park; (4) Fermi Lab National Environmental Research Park; (5) Oak<br>Ridge National Environmental Research Park; and (6) Nevada Na..."],["Supporting the goals of National Dairy Month.","HRES507","Supports the goals of National Dairy Month (June). Encourages states and local governments<br>to observe National Dairy Month. Recognizes the dairy industry's important role in the<br>economic and nutritional well being of Americans. Commends dairy farmers for their hard<br>work and commitment to the U.S. economy and to the preservation of open space."],["A concurrent resolution commending the Bureau of Labor Statistics on the occasion of its<br>125th anniversary.","SCONRES30","Commends the Bureau of Labor Statistics on the occasion of its 125th anniversary for the<br>exemplary service its administrators and employees provide in collecting and disseminating<br>vital information for the United States."],["To direct the Attorney General to make an annual grant to the A Child Is Missing Alert and<br>Recovery Center to assist law enforcement agencies in the rapid recovery of missing<br>children, and for other purposes.","HR1933","A Child Is Missing Alert and Recovery Center Act - Directs the Attorney General, acting<br>through the Administrator of the Office of Juvenile Justice and Delinquency Prevention, to<br>make annual grants to the A Child Is Missing Alert and Recovery Center. Requires such<br>grants to be used to: (1) operate and expand the A Child Is Missing Alert and Recovery<br>Center to provide services to law enforcement agencies to promote the quick recovery of a<br>missing child; (2) maintain and expand technologies and..."],["To amend title 4, United States Code, to encourage the display of the flag of the United<br>States on National Korean War Veterans Armistice Day.","HR2632","Korean War Veterans Recognition Act - Adds National Korean War Veterans Armistice Day,<br>July 27, to the list of days on which the flag of the United States should be displayed."],["Providing for consideration of the bill (H.R. 2920) to reinstitute and update the Pay-As-<br>You-Go requirement of budget neutrality on new tax and mandatory spending legislation,<br>enforced by the threat of annual, automatic sequestration.","HRES665","Sets forth the rule for consideration of the bill (H.R. 2920) to reinstitute and update<br>the Pay-As-You-Go requirement of budget neutrality on new tax and mandatory spending<br>legislation, enforced by the threat of annual, automatic sequestration."],["To amend section 811 of the Cranston-Gonzalez National Affordable Housing Act to improve<br>the program under such section for supportive housing for persons with disabilities.","HR1675","Frank Melville Supportive Housing Investment Act of 2009 - (Sec. 2) Amends the Cranston-<br>Gonzalez National Affordable Housing Act (the Act) to revise requirements for supportive<br>housing for persons with disabilities. (Retains authority to provide such assistance to<br>private nonprofit organizations to expand the supply of such housing.) Repeals the<br>authority of the Secretary of Housing and Urban Development (HUD) to provide tenant-based<br>rental assistance directly to eligible persons with disabil..."],["To extend the deadline for commencement of construction of a hydroelectric project.","HR2938","Authorizes the Federal Energy Regulatory Commission (FERC), at the request of the project<br>licensee, and after reasonable notice, in accordance with specified good faith, due<br>diligence, and public interest requirements and FERC procedures, to extend for up to three<br>consecutive two-year periods the time period during which the licensee must commence<br>construction of hydroelectric project numbered 12187 (in Illinois). Authorizes FERC to<br>reinstate the license, effective as of its expiration date, ..."],["Recognizing the need to continue research into the causes, treatment, education, and an<br>eventual cure for diabetes, and for other purposes.","HRES69","Recognizes the need to continue diabetes research. Commends hospitals, community clinics,<br>educational institutes, and other organizations that are: (1) working to increase diabetes<br>awareness; and (2) conducting research for methods to help patients and families in the<br>Latino community suffering from diabetes. Congratulates the work of the Latino Diabetes<br>Association. Expresses support for the designation of Latino Diabetes Awareness Month."],["To reinstitute and update the Pay-As-You-Go requirement of budget neutrality on new tax<br>and mandatory spending legislation, enforced by the threat of annual, automatic<br>sequestration.","HR2920","Statutory Pay-As-You-Go Act of 2009 - (Sec. 4) Requires a Pay-As-You-Go (PAYGO) Act to<br>include by reference an estimate of its budgetary effects as determined by the<br>Congressional Budget Act of 1974 (CBA), if timely submitted for printing in the<br>Congressional Record by the chairs of the congressional budget committees (chairs) before<br>the vote on it. Requires: (1) the Clerk of the House of Representatives or the Secretary<br>of the Senate, as applicable, also to incorporate by reference such prin..."],["To designate the facility of the United States Postal Service located at 867 Stockton<br>Street in San Francisco, California, as the \"Lim Poon Lee Post Office\".","HR3119","Designates the facility of the United States Postal Service located at 867 Stockton Street<br>in San Francisco, California, as the \"Lim Poon Lee Post Office.\""],["Supporting the goals and ideals of \"National Children and Families Day\".","HRES534","Supports the goals and ideals of National Children and Families Day."],["Providing for consideration of the bill (H.R. 3288) making appropriations for the<br>Departments of Transportation, and Housing and Urban Development, and related agencies for<br>the fiscal year ending September 30, 2010, and for other purposes.","HRES669","Sets forth the rule for consideration of the bill (H.R. 3288) making appropriations for<br>the Departments of Transportation, and Housing and Urban Development, and related agencies<br>for the fiscal year ending September 30, 2010."],["Congratulating the 2008-2009 National Basketball Association Champions, the Los Angeles<br>Lakers, on an outstanding and historic season.","HRES566","Congratulates the Los Angeles Lakes for winning their 15th National Basketball Association<br>World Championship."],["Honoring the life and accomplishments of Harry Kalas for his invaluable contributions to<br>the national past-time of baseball, the community, and the Nation.","HRES350","Honors the life and accomplishments of Harry Kalas (member of the National Sportscasters<br>and Sportswriters Association Hall of Fame) for his invaluable contributions to baseball,<br>the community, and the nation."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2010, and for<br>other purposes.","HR3288","Consolidated Appropriations Act, 2010 - (Sec. 4) Makes the following appropriations for<br>FY2010. Division A: Transportation, Housing and Urban Development, and Related Agencies<br>Appropriations Act, 2010 - Transportation, Housing and Urban Development, and Related<br>Agencies Appropriations Act, 2010 - Title I: Department of Transportation - Department of<br>Transportation Appropriations Act, 2010 - Makes appropriations for FY2010 to the<br>Department of Transportation (DOT), including: (1) the Office of..."],["Providing for consideration of the bill (H.R. 3293) making appropriations for the<br>Departments of Labor, Health and Human Services, and Education, and related agencies for<br>the fiscal year ending September 30, 2010, and for other purposes.","HRES673","Sets forth the rule for consideration of the bill (H.R. 3293) making appropriations for<br>the Departments of Labor, Health and Human Services, and Education, and related agencies<br>for the fiscal year ending September 30, 2010."],["Making appropriations for the Departments of Labor, Health and Human Services, and<br>Education, and related agencies for the fiscal year ending September 30, 2010, and for<br>other purposes.","HR3293","Departments of Labor, Health and Human Services, and Education, and Related Agencies<br>Appropriations Act, 2010 - Makes appropriations for the Departments of Labor, Health and<br>Human Services, and Education, and related agencies for FY2010. Title I: Department of<br>Labor - Department of Labor Appropriations Act, 2010 - Makes appropriations for FY2010 to<br>the Department of Labor for: (1) the Employment and Training Administration, including<br>training and employment services; (2) community service emp..."],["Recognizing and celebrating the 50th Anniversary of the entry of Hawaii into the Union as<br>the 50th State.","HRES593","Recognizes and celebrates the 50th anniversary of Hawaii's entry into the union as the<br>50th state."],["To authorize the Secretary of the Interior to establish the Waco Mammoth National Monument<br>in the State of Texas.","HR1376","Waco Mammoth National Monument Establishment Act of 2009 - Establishes in Texas, as a unit<br>of the National Park System, the Waco Mammoth National Monument. Authorizes the Secretary<br>of the Interior to enter into cooperative agreements with Baylor University and the city<br>of Waco for the management of the Monument. Authorizes the: (1) acquisition from willing<br>sellers of lands or interests within the proposed boundary of the Monument; and (2)<br>construction of essential administrative or visitor us..."],["To establish a program of research, recovery, and other activities to provide for the<br>recovery of the southern sea otter.","HR556","Southern Sea Otter Recovery and Research Act - (Sec. 2) Requires the Secretary of the<br>Interior, acting through the United States Fish and Wildlife Service (USFWS) and the<br>United States Geological Survey (USGS), to carry out a Recovery and Research Program for<br>southern sea otter populations along the coast of California that includes: (1)<br>monitoring, analysis, and assessment of population demographics, health, mortality, and<br>life history parameters; and (2) implementation of measures to reduce..."],["Providing for consideration of the bill (H.R. 3326) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2010, and for other<br>purposes.","HRES685","Sets forth the rule for consideration of the bill (H.R. 3326) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2010."],["To amend the Federal Food, Drug, and Cosmetic Act to improve the safety of food in the<br>global market, and for other purposes.","HR2749","Food Safety Enhancement Act of 2009 - (Sec. 5) Exempts food and facilities regulated by<br>the Secretary of Agriculture under specified acts from the requirements of this Act. (Sec.<br>6) Exempts specified alcohol-related facilities from the requirements of this Act. Title<br>I: Food Safety - Subtitle A: Prevention - (Sec. 101) Amends the Federal Food, Drug, and<br>Cosmetic Act (FFDCA) to deem a food to be misbranded if it was manufactured, processed,<br>packed, or held in a facility that is not registered...."],["To structure Coast Guard acquisition processes and policies, and for other purposes.","HR1665","Coast Guard Acquisition Reform Act of 2009 - Title I: Restrictions on the Use of Lead<br>Systems Integrators - (Sec. 101) Prohibits the Coast Guard's Commandant from using a<br>private sector entity as a lead systems integrator for acquisition contracts, delivery<br>orders, or task orders issued after the end of the 180 day period beginning on the date of<br>enactment, except for: (1) the National Distress and Response System Modernization Program<br>(also known as the \"Rescue 21\" program) and National Secu..."],["To restore sums to the Highway Trust Fund, and for other purposes.","HR3357","Amends the Internal Revenue Code with respect to determination of the balances of the<br>Highway Trust Fund September 30, 1998. Replaces the $8.017 billion Restoration of Fund<br>balance appropriation with a $7 billion Increase in Fund balance appropriation (without<br>fiscal year limitation). Amends the Omnibus Appropriations Act, 2009 with respect to<br>advances to the Unemployment Trust Fund and to the Black Lung Disability Trust Fund under<br>the Employment and Training Administration (ETA) of the Depar..."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2010, and for other purposes.","HR3326","Department of Defense Appropriations Act, 2010 - Division A: Department of Defense<br>Appropriations - Title I: Military Personnel - Appropriates funds for FY2010 for active-<br>duty and reserve personnel in the Army, Navy, Marine Corps, and Air Force (the military<br>departments), and for National Guard personnel in the Army and Air Force. Title II:<br>Operation and Maintenance - Appropriates funds for FY2010 for operation and maintenance<br>(O&amp;M) for the military departments, the defense agencies, the ..."],["Providing for an adjournment or recess of the two Houses.","HCONRES172","Declares that when the House adjourns on any legislative day from Friday, July 31, 2009,<br>Saturday, August 1, 2009, or Sunday, August 2, 2009, it stand adjourned until 2 p.m. on<br>Tuesday, September 8, 2009. Declares that when the Senate recesses or adjourns on any day<br>from Thursday, August 6, 2009, through Tuesday, August 11, 2009, it stand recessed or<br>adjourned until noon on Tuesday, September 8, 2009."],["Providing for consideration of the bill (H.R. 2749) to amend the Federal Food, Drug, and<br>Cosmetic Act to improve the safety of food in the global market, and for other purposes.","HRES691","Sets forth the rule for consideration of the bill (H.R. 2749) to amend the Federal Food,<br>Drug, and Cosmetic Act to improve the safety of food in the global market."],["To provide financial support for the operation of the law library of the Library of<br>Congress, and for other purposes.","HR2728","William Orton Law Library Improvement and Modernization Act - Authorizes appropriations to<br>the Library of Congress for the maintenance and administration of the operations of the<br>Law Library of the Library of Congress, including the cataloguing of the collections of<br>the Law Library. Directs the Law Library to electronically catalog and archive material in<br>its collections in a nonproprietary and nondiscriminatory format. Requires the separation<br>of the salaries and expenses of the Law Library f..."],["To provide that the usual day for paying salaries in or under the House of Representatives<br>may be established by regulations of the Committee on House Administration.","HR1752","Amends the Legislative Branch Appropriations Act, 2002 to authorize the Committee on House<br>Administration, by regulation, to provide for the payment of salaries with respect to a<br>month on a date other than the date provided under the Act as may be necessary to conform<br>to generally accepted accounting practices. (Currently, the usual day for paying salaries<br>in or under the House of Representatives is the last day of each month; except that if the<br>last day of a month falls on a Saturday, Sunday..."],["Making supplemental appropriations for fiscal year 2009 for the Consumer Assistance to<br>Recycle and Save Program.","HR3435","Makes emergency supplemental appropriations of $2 billion for FY2009 and FY2010 to the<br>National Highway Traffic Safety Administration (NHTSA) of the Department of Transportation<br>(DOT) for the Consumer Assistance to Recycle and Save Program (Cash for Clunkers Program).<br>Amends the Consumer Assistance to Recycle and Save Program to require the Government<br>Accountability Office (GAO) and the DOT Inspector General to review and report to Congress<br>on the administration of the program."],["To amend the Securities Exchange Act of 1934 to provide shareholders with an advisory vote<br>on executive compensation and to prevent perverse incentives in the compensation practices<br>of financial institutions.","HR3269","Corporate and Financial Institution Compensation Fairness Act of 2009 - (Sec. 2) Amends<br>the Securities Exchange Act of 1934 to require that any proxy or consent or authorization<br>for an annual shareholders meeting provide for a separate shareholder vote to approve<br>executive compensation for named executive officers as disclosed pursuant to rules of the<br>Securities and Exchange Commission (SEC). States that the shareholder vote shall not be:<br>(1) binding on the corporation or the board of directo..."],["To establish the Santa Cruz Valley National Heritage Area, and for other purposes.","HR324","Santa Cruz Valley National Heritage Area Act - Establishes the Santa Cruz Valley National<br>Heritage Area in Arizona. Requires the Santa Cruz Valley Heritage Alliance, Inc. as the<br>local coordinating entity for the Area, to prepare and submit a management plan for it<br>meeting specified criteria. Specifies procedures for approval or disapproval of the plan<br>by the Secretary of the Interior in consultation with the Secretary of Homeland Security.<br>Prohibits anything in this Act from impeding, prohibi..."],["Recognizing the remarkable contributions of the American Council of Engineering Companies<br>for its 100 years of service to the engineering industry and the Nation.","HRES447","Congratulates the American Council of Engineering Companies for its 100 years of service."],["To require the Secretary of the Treasury to mint coins in commemoration of the<br>bicentennial of the writing of the Star-Spangled Banner, and for other purposes.","HR2097","Star-Spangled Banner Commemorative Coin Act - (Sec. 3) Directs the Secretary of the<br>Treasury to mint and issue $5 gold coins and $1 silver coins in commemoration of the<br>bicentennial of the writing of the Star-Spangled Banner. (Sec. 4) Requires a coin design<br>emblematic of the War of 1812, and in particular of, the Battle for Baltimore that formed<br>the basis for the Star-Spangled Banner. (Sec. 5) Limits the period for coin issuance to<br>calendar year 2012. (Sec. 7) Imposes a surcharge of $35 per c..."],["To designate the Federal building located at 844 North Rush Street in Chicago, Illinois,<br>as the \"William O. Lipinski Federal Building\".","HR2498","Designates the federal building located at 844 North Rush Street in Chicago, Illinois, as<br>the \"William O. Lipinski Federal Building.\""],["Expressing the sense of the House of Representatives regarding the terrorist attacks<br>launched against the United States on September 11, 2001.","HRES722","Recognizes September 11 as both a day to mourn and remember those taken from their loved<br>ones and fellow citizens, and a day for the people of the United States to recommit to the<br>nation and to each other. Extends once again deepest sympathies to friends, families, and<br>loved ones of the innocent victims of the September 11, 2001, terrorist attacks. Honors<br>the heroic service and sacrifices of first responders, law enforcement personnel, state<br>and local officials, volunteers and others who aide..."],["Recognizing the significant contribution coaches make in the life of children who<br>participate in organized sports and supporting the goals and ideals of National Coaches<br>Appreciation Week.","HRES6","Expresses support for the goals and ideals of National Coach Appreciation Week."],["Raising a question of the privileges of the House.","HRES744","Declares that the House of Representatives disapproves of the behavior of the<br>Representative from South Carolina, Mr. Wilson, during the joint session of Congress held<br>on September 9, 2009."],["Recognizing the region from Manhattan, Kansas, to Columbia, Missouri, as the Kansas City<br>Animal Health Corridor, and for other purposes.","HRES317","Recognizes: (1) the region from Manhattan, Kansas, to Columbia, Missouri, including the<br>metropolitan Kansas City area and St. Joseph, Missouri, as the Kansas City Animal Health<br>Corridor; and (2) the Kansas City Animal Health Corridor as the national center of the<br>animal health industry."],["Providing for consideration of the bill (H.R. 3221) to amend the Higher Education Act of<br>1965, and for other purposes.","HRES746","Sets forth the rule for consideration of the bill (H.R. 3221) to amend the Higher<br>Education Act of 1965."],["Supporting efforts to reduce infant mortality in the United States.","HRES260","Expresses support for efforts to understand racial disparities and the rate of infant<br>mortality in order to lower the infant mortality rate in the United States."],["To provide for a program of research, development, demonstration and commercial<br>application in vehicle technologies at the Department of Energy.","HR3246","Advanced Vehicle Technology Act of 2009 - (Sec. 5) Authorizes appropriations to the<br>Secretary of Energy for research, development, demonstration, and commercial application<br>of vehicles and related technologies for FY2010-FY2014. Title I: Vehicle Research and<br>Development - (Sec. 101) Directs the Secretary to conduct a program of basic and applied<br>research, development, demonstration, and commercial application activities on materials,<br>technologies, and processes with the potential to substanti..."],["To amend the Higher Education Act of 1965, and for other purposes.","HR3221","Student Aid and Fiscal Responsibility Act of 2009 - (Sec. 4) Prohibits funds appropriated<br>pursuant to this Act from being used for Congressional earmarks. (Sec. 5) Requires all<br>savings in federal spending that are generated, and not otherwise allocated, by this Act<br>to be made available for federal deficit reduction. Title I: Investing in Students and<br>Families - Subtitle A: Increasing College Access and Completion - (Sec. 101) Amends the<br>Higher Education Act of 1965 (the Act) to authorize and ..."],["Honoring the historical contributions of Catholic sisters in the United States.","HRES441","Honors and commends Catholic sisters for their humble service and courageous sacrifice<br>throughout U.S. history. Supports the goals of the \"Women &amp; Spirit: Catholic Sisters<br>in America Traveling Exhibit.\""],["To designate the facility of the United States Postal Service located at 630 Northeast<br>Killingsworth Avenue in Portland, Oregon, as the \"Dr. Martin Luther King, Jr. Post<br>Office\".","HR2971","Designates the facility of the United States Postal Service located at 630 Northeast<br>Killingsworth Avenue in Portland, Oregon, as the \"Dr. Martin Luther King, Jr. Post<br>Office.\""],["To amend the Supplemental Appropriations Act, 2008 to provide for the temporary<br>availability of certain additional emergency unemployment compensation, and for other<br>purposes.","HR3548","Worker, Homeownership, and Business Assistance Act of 2009 - (Sec. 2) Amends the<br>Supplemental Appropriations Act, 2008 to repeal the requirement that a state be in an<br>extended benefit period before it augments the Tier-2 amounts in an applicant's emergency<br>unemployment compensation account (EUCA) for a benefit year. (Continues to require, as<br>under current law, that the amount established in an individual's EUCA be exhausted before<br>it can be augmented.) Revises the formula for making such Tier..."],["Providing for consideration of the bill (H.R. 324) to establish the Santa Cruz Valley<br>National Heritage Area, and for other purposes.","HRES760","Sets forth the rule for consideration of the bill (H.R. 324) to establish the Santa Cruz<br>Valley National Heritage Area."],["Expressing condolences to the families of the individuals killed during unusual storms and<br>floods in the State of Georgia between September 18 and 21, 2009, and expressing gratitude<br>to all of the emergency personnel who continue to work with unyielding determination to<br>meet the needs of Georgia's residents.","HRES765","Extends condolences to the families of those who lost their lives, and to families who<br>lost their homes and other property, in the floods in Georgia. Thanks the people of<br>Georgia and the surrounding states who continue to work to protect people from the still<br>rising floodwaters. Expresses support for Federal Emergency Management Agency (FEMA)<br>efforts to respond to needs of affected citizens and communities. Honors the emergency<br>responders for their bravery and sacrifice."],["To provide for an additional temporary extension of programs under the Small Business Act<br>and the Small Business Investment Act of 1958, and for other purposes.","HR3614","Extends through October 31, 2009, under the same terms and conditions, the authorization<br>for any program, authority, or provision, including any pilot program, that is currently<br>authorized through September 30, 2009, under the Small Business Act or the Small Business<br>Investment Act of 1958."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund pending enactment of a<br>multiyear law reauthorizing such programs.","HR3617","Surface Transportation Extension Act of 2009 - (Sec. 2) Reauthorizes programs funded out<br>of the Highway Trust Fund (HTF) (other than the Mass Transit Account) for the period<br>beginning October 1, 2009, and ending on the earlier of: (1) the enactment of a multiyear<br>law reauthorizing such program; and (2) December 31, 2009. Extends the authorization of<br>appropriations for: (1) the federal-aid highway program; and (2) administrative expenses.<br>Sets certain limits on the obligation of such funds. Di..."],["Providing for consideration of motions to suspend the rules.","HRES766","Makes it in order at any time through September 24, 2009, for the Speaker of the House of<br>Representatives to entertain motions that the House suspend the rules relating to H.R.<br>3631 (amending title XVIII [Medicare] of the Social Security Act) to provide for the<br>application of a consistent Medicare part B (Supplementary Medical Insurance Benefits for<br>Aged and Disabled) premium for all Medicare beneficiaries in a budget neutral manner for<br>2010."],["To amend title XVIII to provide for the application of a consistent Medicare part B<br>premium for all Medicare beneficiaries in a budget neutral manner for 2010.","HR3631","Medicare Premium Fairness Act - Amends title XVIII (Medicare) of the Social Security Act<br>with respect to the part B (Supplementary Medical Insurance Benefits for Aged and<br>Disabled) premium for 2010. Makes such premium, and the related monthly actuarial rate,<br>the same as those for 2009. Requires transfer from the Treasury general fund to the<br>Federal Supplementary Medical Insurance Trust Fund of an amount estimated to be equivalent<br>to the aggregate reduction in part B premiums resulting from ap..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2918)<br>making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2010, and for other purposes.","HRES772","Sets forth the rule for consideration of the conference report on H.R. 2918 (FY2010<br>legislative branch appropriations and continuing resolution)."],["To expand the boundaries of the Thunder Bay National Marine Sanctuary and Underwater<br>Preserve, and for other purposes.","HR905","Thunder Bay National Marine Sanctuary and Underwater Preserve Boundary Modification Act -<br>Expands, notwithstanding any provision of law or regulation, the boundaries of the Thunder<br>Bay National Marine Sanctuary and Underwater Preserve in Lake Huron."],["To amend the Reclamation Wastewater and Groundwater Study and Facilities Act to expand the<br>Bay Area Regional Water Recycling Program, and for other purposes.","HR2442","Bay Area Regional Water Recycling Program Expansion Act of 2009 - Amends the Reclamation<br>Wastewater and Groundwater Study and Facilities Act to authorize the Secretary of the<br>Interior to participate in the design, planning, and construction of: (1) recycled water<br>distribution systems in California in cooperation with the Central Contra Costa Sanitary<br>District and the Ironhouse Sanitary District; and (2) recycled water system facilities in<br>California in cooperation with the Dublin San Ramon Se..."],["To reauthorize the Chesapeake Bay Office of the National Oceanic and Atmospheric<br>Administration, and for other purposes.","HR1771","Chesapeake Bay Science, Education, and Ecosystem Enhancement Act of 2009 - Amends the<br>National Oceanic and Atmospheric Administration Authorization Act of 1992 to revise<br>research, management, and program provisions of the Chesapeake Bay Office of the National<br>Oceanic and Atmospheric Administration (NOAA). States that the Director of the Office<br>shall be responsible for the administration and operation of the Office and implementation<br>of such Act. Requires the Director to: (1) implement the pro..."],["Congratulating the University of Washington women's softball team for winning the 2009<br>Women's College World Series.","HRES517","Congratulates the University of Washington women's softball team for winning the 2009<br>Women's College World Series."],["Providing for consideration of the conference report to accompany the bill (H.R. 3183)<br>making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2010, and for other purposes.","HRES788","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>3183) making appropriations for energy and water development and related agencies for the<br>fiscal year ending September 30, 2010."],["Supporting the goals and ideals of Tay-Sachs Awareness Month.","HRES692","Expresses support for: (1) the goals and ideals of Tay-Sachs Awareness Month; and (2) a<br>public-private partnership for education and research efforts with respect to Tay-Sachs<br>disease."],["Expressing the sense of Congress that China release democratic activist Liu Xiaobo from<br>imprisonment.","HCONRES151","Expresses the sense of Congress that China's government immediately release Liu Xiaobo and<br>begin making strides toward true representative democracy."],["Expressing support for designation of the week of September 13, 2009, as Adult Education<br>and Family Literacy Week.","HRES707","Supports the designation of National Adult Education and Family Literacy Week. Encourages<br>people across the United States to support programs to assist those in need of adult<br>education and family literacy programs."],["Providing for consideration of the conference report to accompany the bill (H.R. 2997)<br>making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2010, and for other<br>purposes.","HRES799","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2997) making appropriations for Agriculture, Rural Development, Food and Drug<br>Administration, and Related Agencies programs for the fiscal year ending September 30,<br>2010."],["To recognize the Dyke Marsh Wildlife Preserve as a unique and precious ecosystem.","HRES701","Recognizes: (1) the Dyke Marsh Wildlife Preserve of Fairfax County, Virginia, as a unique<br>and precious ecosystem and an invaluable natural resource; and (2) the leadership of<br>Representatives John Dingell, John Saylor, and Henry Reuss in preserving it.Celebrates the<br>50th anniversary of its designation as a protected wetland habitat. Expresses the need to<br>continue to conserve, protect, and restore this fragile habitat. Commends the Friends of<br>Dyke Marsh for its longstanding commitment to promot..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 1035, with an<br>amendment.","HRES806","Sets forth the rule for consideration of the Senate amendment to H.R. 1035 (Morris K.<br>Udall Scholarship and Excellence in National Environmental Policy Amendments Act of 2009)."],["Providing for consideration of the conference report to accompany the bill (H.R. 2647) to<br>authorize appropriations for fiscal year 2010 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, to provide special<br>pays and allowances to certain members of the Armed Forces, expand concurrent receipt of<br>military retirement and VA disability benefits to disabled military retirees, and for<br>other purposes.","HRES808","Sets forth the rule for consideration of the conference report on H.R. 2647 (National<br>Defense Authorization Act for Fiscal Year 2010)."],["Proclaiming Casimir Pulaski to be an honorary citizen of the United States posthumously.","HJRES26","Proclaims Casimir Pulaski, a Polish military officer who fought on the side of the<br>American colonists against the British in the American Revolutionary War, as an honorary<br>U.S. citizen, posthumously."],["To amend the Internal Revenue Code of 1986 to modify the first-time homebuyers credit in<br>the case of members of the Armed Forces and certain other Federal employees, and for other<br>purposes.","HR3590","Patient Protection and Affordable Care Act - Title I: Quality, Affordable Health Care for<br>All Americans - Subtitle A: Immediate Improvements in Health Care Coverage for All<br>Americans - (Sec. 1001, as modified by Sec. 10101) Amends the Public Health Service Act to<br>prohibit a health plan (\"health plan\u0094 under this subtitle excludes any \u0093grandfathered<br>health plan\u0094 as defined in section 1251) from establishing lifetime limits or annual<br>limits on the dollar value of benefits for any participant or ..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 1016, with<br>amendment.","HRES804","Sets forth the rule for consideration of the amendment to H.R. 1016 (Veterans Health Care<br>Budget Reform and Transparency Act of 2009)."],["To provide for an extension of the legislative authority of the Vietnam Veterans Memorial<br>Fund, Inc. to establish a Vietnam Veterans Memorial visitor center, and for other<br>purposes.","HR3689","Extends, to November 17, 2014, the legislative authority of the Vietnam Veterans Memorial<br>Fund, Inc. to establish a Vietnam Veterans Memorial visitors center."],["Congratulating Kappa Alpha Psi Fraternity, Inc., on 98 years of serving local communities<br>and enriching the lives of collegiate men throughout the Nation.","HRES659","Congratulates Kappa Alpha Psi Fraternity, Inc., on 98 years of serving local communities<br>and enriching the lives of collegiate men throughout the nation."],["Expressing support for the designation of the month of October as \"National Work and<br>Family Month\".","HRES768","Supports the designation of October as National Work and Family Month. Recognizes the<br>importance of balancing work and family to job productivity and healthy families, and that<br>an important job characteristic is a work schedule that allows employees to spend time<br>with families."],["To authorize State and local governments to direct divestiture from, and prevent<br>investment in, companies with investments of $20,000,000 or more in Iran's energy sector,<br>and for other purposes.","HR1327","Iran Sanctions Enabling Act of 2009 - (Sec. 3) States that it is the policy of the United<br>States to support the decision of state and local governments and educational institutions<br>to divest from, and to prohibit the investment of assets they control in, persons that the<br>have investments of more than $20 million in Iran's energy sector. Authorizes a state or<br>local government to adopt and enforce measures to divest its assets from, or prohibit<br>their investment in, any person that the state or ..."],["Mourning the loss of life caused by the earthquakes and tsunamis that occurred on<br>September 29, 2009, in American Samoa and Samoa.","HRES816","Mourns the loss of life caused by the earthquakes and tsunamis that occurred on September<br>29, 2009, in American Samoa and Samoa. Offers condolences to the victims' families and to<br>Head of State His Highness Tui Atua Tupua Tamasese and Prime Minister Tuilaepa Lupesoliai<br>Sailele Malielegaoi of Samoa, as well as to His Majesty King George Tupou V and Prime<br>Minister Feleti Vaka'uta Sevele of Tonga. Pledges full support to the people of American<br>Samoa and the villages of Fagamalo, Poloa, Amanave, ..."],["To amend title 49, United States Code, to improve airline safety and pilot training, and<br>for other purposes.","HR3371","Airline Safety and Pilot Training Improvement Act of 2009 - (Sec. 3) Requires the<br>Administrator of the Federal Aviation Administration (FAA) to establish the FAA Task Force<br>on Air Carrier Safety and Pilot Training to evaluate and report to specified congressional<br>committees on best practices in the air carrier industry. (Sec. 4) Directs the FAA<br>Administrator to conduct a rulemaking proceeding to require air carriers to: (1) provide<br>flight crewmembers with ground training and flight training o..."],["Commemorating the canonization of Father Damien de Veuster, SS.CC. to sainthood.","HRES786","Honors Father Damien for his legacy, service, and his insistence on recognizing the human<br>rights and dignity of every individual, particularly those who lived alongside him at the<br>Hansen's disease settlement on the island of Molokai, Hawaii."],["Providing for consideration of the conference report to accompany the bill (H.R. 2892)<br>making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2010, and for other purposes.","HRES829","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2892) making appropriations for the Department of Homeland Security for the fiscal year<br>ending September 30, 2010."],["Expressing sympathy for the citizens of the Philippines dealing with Tropical Storm<br>Ketsana and Typhoon Parma.","HRES800","Mourns the loss of life caused by Tropical Storm Ketsana and Typhoon Parma that occurred<br>on September 26, 2009, and October 1, 2009, and expresses condolences to the families of<br>the many victims. Urges President Obama to continue to support the Philippines with<br>emergency relief."],["To designate the Federal building and United States courthouse located at 1300 Victoria<br>Street in Laredo, Texas, as the \"George P. Kazen Federal Building and United States<br>Courthouse\", and to designate the jury room in that Federal building and United States<br>courthouse as the \"Marcel C. Notzon II Jury Room\".","HR2423","Designates the federal building and U.S. courthouse located at 1300 Victoria Street in<br>Laredo, Texas, as the \"George P. Kazen Federal Building and United States Courthouse.\""],["Providing for consideration of the bill (H.R. 2442) to amend the Reclamation Wastewater<br>and Groundwater Study and Facilities Act to expand the Bay Area Regional Water Recycling<br>Program, and for other purposes.","HRES830","Sets forth the rule for consideration of the bill (H.R. 2442) to amend the Reclamation<br>Wastewater and Groundwater Study and Facilities Act to expand the Bay Area Regional Water<br>Recycling Program."],["To amend the Fair Credit Reporting Act to provide for an exclusion from Red Flag<br>Guidelines for certain businesses.","HR3763","Amends the Fair Credit Reporting Act with respect to the duties of users of consumer<br>reports who take adverse actions on the basis of information contained in such reports.<br>Excludes any health care practice, accounting practice, or legal practice with 20 or fewer<br>employees from the meaning of creditor subject to Red Flag Guidelines regarding identity<br>theft promulgated by the proper federal financial regulatory agency. Excludes any other<br>business which the Federal Trade Commission (FTC) determ..."],["An original bill to amend title XXVI of the Public Health Service Act to revise and extend<br>the program for providing life-saving care for those with HIV/AIDS.","S1793","Ryan White HIV/AIDS Treatment Extension Act of 2009 - (Sec. 2) Amends provisions of title<br>XXVI of the Public Health Service Act (popularly known as the Ryan White Care Act [RWCA])<br>to extend the RWCA (repeals the termination date) and revive any expired programs<br>retroactively to September 30, 2009. Reauthorizes appropriations for RWCA provisions,<br>including provisions concerning: (1) emergency relief grants for metropolitan areas to<br>assist in delivering and enhancing HIV-related services; (2) g..."],["Expressing support for designation of October 2009 as \"National Principals Month\".","HRES811","Recognizes school principals' contribution to the success of elementary and secondary<br>school students. Encourages the observation of National Principals Month."],["Recognizing the distinguished history of the Laurinburg Normal Industrial Institute.","HRES660","Recognizes the distinguished history of the Laurinburg Normal Industrial Institute in<br>Laurinburg, North Carolina. Acknowledges its remarkable contribution to the education of<br>African-Americans and other people in North Carolina and the nation. Commends the<br>enterprise and dedication of the McDuffie family in creating and sustaining the Laurinburg<br>Institute."],["Providing for consideration of the bill (H.R. 3585) to guide and provide for United States<br>research, development, and demonstration of solar energy technologies, and for other<br>purposes.","HRES846","Sets forth the rule for consideration of the bill (H.R. 3585) to guide and provide for<br>United States research, development, and demonstration of solar energy technologies."],["Expressing the sense of Congress with respect to raising awareness and enhancing the state<br>of cyber security in the United States, and supporting the goals and ideals of the sixth<br>annual National Cyber Security Awareness Month.","HRES797","Supports the goals and ideals of National Cyber Security Awareness Month. Declares that<br>the House of Representatives intends to work with federal agencies, national<br>organizations, businesses, and educational institutions to encourage the development and<br>implementation of existing and future security consensus standards, practices, and<br>technologies in order to enhance the state of cyber security in the United States."],["To guide and provide for United States research, development, and demonstration of solar<br>energy technologies, and for other purposes.","HR3585","Solar Technology Roadmap Act - Title I: Solar Technology Research, Development, and<br>Demonstration - (Sec. 101) Directs the Secretary of Energy to conduct a program of<br>research, development, and demonstration for solar technology, including: (1)<br>photovoltaics and related electronic components; (2) solar hot water and solar space<br>heating and cooling; (3) concentrating solar power; (4) lighting systems that integrate<br>sunlight and electrical lighting in complement to each other in common lighting..."],["Providing for consideration of the bill (H.R. 3619) to authorize appropriations for the<br>Coast Guard for fiscal year 2010, and for other purposes.","HRES853","Sets forth the rule for consideration of the bill (H.R. 3619) to authorize appropriations<br>for the Coast Guard for fiscal year 2010."],["To authorize appropriations for the Coast Guard for fiscal year 2010, and for other<br>purposes.","HR3619","Coast Guard Authorization Act of 2010- Title I: Authorization - (Sec. 101) Authorizes<br>FY2011 appropriations for the Coast Guard, including for: (1) operation and maintenance;<br>(2) acquisition, construction, rebuilding, and improvement of aids to navigation, shore<br>and offshore facilities, vessels, and aircraft; (3) research, development, test, and<br>evaluation of technologies, materials, and human factors relating to the Coast Guard's<br>mission in search and rescue, aids to navigation, marine safet..."],["Congratulating the University of Iowa Hawkeyes wrestling team on winning the 2009 NCAA<br>Division I National Wrestling Championships.","HRES368","Commends the University of Iowa Hawkeyes wrestling team for winning the 2009 NCAA Division<br>I National Wrestling Championship."],["Congratulating Syracuse University for winning the National Collegiate Athletic<br>Association Division I Men's Lacrosse Tournament.","HRES562","Congratulates Syracuse University for winning the National Collegiate Athletic Association<br>Division I Men's Lacrosse Tournament."],["To authorize a comprehensive national cooperative geospatial imagery mapping program<br>through the United States Geological Survey, to promote use of the program for education,<br>workforce training and development, and applied research, and to support Federal, State,<br>tribal, and local government programs.","HR2489","National Land Remote Sensing Outreach Act - Directs the Secretary of the Interior to<br>establish and maintain a national land remote sensing outreach program within the United<br>States Geological Survey (USGS) to advance the availability, timely distribution, and<br>widespread use of geospatial imagery for education, research, assessment, and monitoring<br>purposes in each state and on the lands of an Indian tribe. Requires the Secretary, under<br>such program, to: (1) support geospatial imagery sharing, ..."],["A bill to allow the funding for the interoperable emergency communications grant program<br>established under the Digital Television Transition and Public Safety Act of 2005 to<br>remain available until expended through fiscal year 2012, and for other purposes.","S1694","Requires, notwithstanding specified provisions of the Digital Television Transition and<br>Public Safety Act of 2005, that sums made available to administer the Public Safety<br>Interoperable Communications Grant Program remain available until expended, but not beyond<br>September 30, 2012. Extends the period for performance of any investment approved under<br>the Program as of enactment of this Act by one year, but not later than September 30,<br>2011. Allows the Assistant Secretary of Commerce for Communi..."],["Honoring the 2560th anniversary of the birth of Confucius and recognizing his invaluable<br>contributions to philosophy and social and political thought.","HRES784","Honors the 2,560th anniversary of the birth of Confucius and recognizes his invaluable<br>contributions to philosophy and social and political thought."],["Congratulating the Northwestern University Wildcats on winning the 2009 NCAA women's<br>lacrosse championship, and to commend Northwestern University for its pursuit of athletic<br>and academic excellence.","HRES824","Congratulates Northwestern University on winning the 2009 NCAA women's lacrosse<br>championship.Commends Northwestern University for its pursuit of athletic and academic<br>excellence."],["Providing for consideration of the conference report to accompany the bill (H.R. 2996)<br>making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2010, and for other purposes.","HRES876","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2996) making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2010."],["A concurrent resolution encouraging the Government of Iran to allow Joshua Fattal, Shane<br>Bauer, and Sarah Shourd to reunite with their families in the United States as soon as<br>possible.","SCONRES45","Encourages the government of Iran to allow Joshua Fattal, Shane Bauer, and Sarah Shourd<br>to: (1) communicate by telephone with their families in the United States; and (2) reunite<br>with their families in the United States as soon as possible."],["To amend the Small Business Act and the Small Business Investment Act of 1958 to improve<br>programs providing access to capital under such Acts, and for other purposes.","HR3854","Small Business Financing and Investment Act of 2009 - Title I: Small Business Lending<br>Enhancements - (Sec. 101) Amends the Small Business Act to direct the Administrator of the<br>Small Business Administration (SBA) to establish and carry out a program to provide<br>support to SBA regional, district, and branch offices in assisting small lenders who do<br>not participate in the SBA's Preferred Lenders Program to make SBA section 7(a) (general<br>small business) loans. (Sec. 102) Directs the Administrator..."],["Recognizing the crucial role of assistance dogs in helping wounded veterans live more<br>independent lives, expressing gratitude to The Tower of Hope, and supporting the goals and<br>ideals of creating a Tower of Hope Day.","HRES291","Acknowledges the importance of assistance dogs in helping combat-wounded veterans live<br>happier and more independent lives. Applauds the work of the Tower of Hope in providing<br>such dogs to such veterans. Expresses gratitude and support to volunteers and donors who<br>offer time and funds to such program. Encourages the public to support wounded veterans by<br>volunteering or donating to help train assistance dogs. Calls for the vigorous promotion<br>of the benefits of assistance animals. Supports creat..."],["A bill to authorize a major medical facility project at the Department of Veterans Affairs<br>Medical Center, Walla Walla, Washington, and for other purposes.","S509","Authorizes the Secretary of Veterans Affairs (VA) to carry out a major medical facility<br>project at the Department of Veterans Affairs Medical Center, Walla Walla, Washington.<br>Authorizes appropriations."],["To amend title 38, United States Code, and the Servicemember Civil Relief Act, to make<br>certain improvements in the laws relating to benefits administered by the Secretary of<br>Veterans Affairs, and for other purposes.","HR3949","Veterans' Small Business Assistance and Servicemembers Protection Act of 2009 - Title I:<br>Small Business and Education Matters - Veterans Small Business Verification Act - (Sec.<br>101) Prohibits the Secretary of Veterans Affairs from including a small business in a<br>Department of Veterans Affairs (VA)-maintained database of small businesses owned and<br>controlled by veterans until the Secretary has verified that: (1) the small business is<br>owned and controlled by veterans; and (2) if the small busin..."],["Expressing support for designation of a National Veterans History Project Week to<br>encourage public participation in a nationwide project that collects and preserves the<br>stories of the men and women who served our nation in times of war and conflict.","HRES866","Recognizes National Veterans Awareness Week. Supports the designation of a National<br>Veterans History Project Week. Calls on the people of the United States to interview at<br>least one veteran in their families or communities according to guidelines provided by the<br>Veterans History Project (a project of the American Folklife Center at the Library of<br>Congress). Encourages local, state, and national organizations along with federal, state,<br>city and county governmental institutions to participate i..."],["To name the Department of Veterans Affairs outpatient clinic in Alexandria, Minnesota, as<br>the \"Max J. Beilke Department of Veterans Affairs Outpatient Clinic\".","HR3157","Designates the Department of Veterans Affairs (VA) outpatient clinic in Alexandria,<br>Minnesota, that is expected to open in September 2009 as the \"Max J. Beilke Department of<br>Veterans Affairs Outpatient Clinic.\""],["Providing for consideration of the bill (H.R. 3639) to amend the Credit Card Accountablity<br>Responsibility and Disclosure Act of 2009 to establish an earlier effective date for<br>various consumer protections, and for other purposes.","HRES884","Sets forth the rule for consideration of the bill (H.R. 3639) to amend the Credit Card<br>Accountablity Responsibility and Disclosure Act of 2009 to establish an earlier effective<br>date for various consumer protections."],["Congratulating the Inter-American Foundation (IAF) on its 40th anniversary and recognizing<br>its significant accomplishments and contributions.","HRES858","Congratulates the Inter-American Foundation (IAF) on its 40th anniversary. Declares that<br>the IAF is a vital component of U.S. foreign policy in the Americas and of the U.S.<br>development agenda."],["Condemning the illegal extraction of Madagascar's natural resources.","HRES839","Condemns the March 2009 coup d'etat in Madagascar and supports the people of Madagascar in<br>undertaking a democratic, consensual process to restore constitutional governance.<br>Commends the African Union (AU) and the Southern African Development Community for taking<br>strong action against anti-democratic forces in Madagascar. Condemns the illegal<br>extraction of Madagascar's natural resources and its impact on biodiversity and rural<br>livelihoods, including illegal logging, smuggling of wild species,..."],["To amend the Credit Card Accountability Responsibility and Disclosure Act of 2009 to<br>establish an earlier effective date for various consumer protections, and for other<br>purposes.","HR3639","Expedited CARD Reform for Consumers Act of 2009 - (Sec. 2) Amends the Credit Card<br>Accountability Responsibility and Disclosure Act of 2009 (Credit CARD Act of 2009) to: (1)<br>make Title I: Consumer Protection, Title II: Enhanced Consumer Disclosures, and Title III:<br>Protection of Young Consumers effective as of the date of enactment of this Act; and (2)<br>make February 22, 2010, the effective date of such titles for a depository institution<br>with fewer than two million credit cards in circulation o..."],["Recognizing the scourge of pneumonia, urging the United States and the world to mobilize<br>cooperation and prioritize resources to fight pneumonia and save children's lives, and<br>recognizing November 2 as World Pneumonia Day.","HRES863","Affirms the commitment of the House of Representatives to child survival and development<br>programs that focus on protection, prevention, and treatment of pneumonia. Salutes the<br>health professionals and community health workers in the world's poorest countries who are<br>extending preventative care and treatment to children most at-risk of contracting<br>pneumonia. Reaffirms the U.S. commitment to reducing child mortality. Recognizes World<br>Pneumonia Day."],["Calling on the United States Government and the international community to address the<br>human rights and humanitarian needs of Sri Lanka's Tamil internally displaced persons<br>(IDPs) currently living in government-run camps by supporting the release of such IDPs,<br>implementing and facilitating an independent oversight of the process of release and<br>resettlement, and allowing foreign aid groups to provide relief and resources to such<br>IDPs.","HRES711","Urges the government of Sri Lanka to allow freedom of movement for civilian internally<br>displaced persons (IDPs) to leave their camps and return in safety to their homes or to<br>live with host families or move to open transit sites. Calls on the Sri Lankan government<br>to turn the operation of the camps over to civilian authorities and allow international<br>agencies and independent nongovernmental organizations to assist in the care of the IDPs.<br>Urges the government of Sri Lanka to promote justice a..."],["Recognizing the Commissioning of the USS New York LPD 21.","HRES856","Recognizes the commissioning of the USS New York LPD 21. Congratulates the captain and<br>commissioning crew of the USS New York LPD 21 on the occasion of their vessel entering<br>into the service of the U.S. Navy. Honors those who lost their lives at the World Trade<br>Center, the Pentagon, and Shanksville, Pennsylvania, on September 11, 2001. Recommits the<br>House of Representatives to the counter-terrorism mission of the USS New York LPD 21 and<br>all the members of the U.S. Armed Forces."],["Providing for consideration of the bill (H.R. 2868) to amend the Homeland Security Act of<br>2002 to extend, modify, and recodify the authority of the Secretary of Homeland Security<br>to enhance security and protect against acts of terrorism against chemical facilities, and<br>for other purposes.","HRES885","Sets forth the rule for consideration of the bill (H.R. 2868) to amend the Homeland<br>Security Act of 2002 to extend, modify, and recodify the authority of the Secretary of<br>Homeland Security to enhance security and protect against acts of terrorism against<br>chemical facilities."],["Honoring and recognizing the service and achievements of current and former female members<br>of the Armed Forces.","HRES868","Honors and recognizes the service and achievements of current and former female members of<br>the Armed Forces. Encourages recognition of the service and achievements of women in the<br>military and female veterans on Memorial Day. Encourages learning the history of service<br>and achievements of such women. Supports groups that raise awareness about the service and<br>achievements of such women and veterans."],["To designate the Liberty Memorial at the National World War I Museum in Kansas City,<br>Missouri, as the National World War I Memorial, to establish the World War I centennial<br>commission to ensure a suitable observance of the centennial of World War I, and for other<br>purposes.","HR1849","World War I Memorial and Centennial Act of 2009 - Designates the Liberty Memorial at the<br>National World War I Museum in Kansas City, Missouri, as the National World War I<br>Memorial. Establishes the World War I Centennial Commission to: (1) plan, develop, and<br>execute programs, projects, and activities to commemorate the centennial of World War I;<br>(2) encourage private organizations and state and local governments to organize and<br>participate in such activities; (3) facilitate and coordinate such..."],["To promote the production of molybdenum-99 in the United States for medical isotope<br>production, and to condition and phase out the export of highly enriched uranium for the<br>production of medical isotopes.","HR3276","American Medical Isotopes Production Act of 2010 - (Sec. 2) Directs the Secretary of<br>Energy to establish a technology-neutral program to evaluate and support projects for the<br>production in the United States (domestic production), without the use of highly enriched<br>uranium, of significant quantities of molybdenum-99 for medical uses, implemented in<br>cooperation with non-federal entities, the costs of which shall be shared in accordance<br>with certain cost sharing requirements of the Energy Policy..."],["Providing for an adjournment or recess of the two Houses.","HCONRES210","Declares that when the House adjourns on any legislative day from Friday, November 6,<br>2009, through Tuesday, November 10, 2009, it stand adjourned until 2 p.m. on Monday,<br>November 16, 2009. Declares that when the Senate recesses or adjourns on any day from<br>Friday, November 6, 2009, through Tuesday, November 10, 2009, it stand recessed or<br>adjourned until noon on Monday, November 16, 2009."],["Congratulating the 2009 Major League Baseball World Series Champions, the New York<br>Yankees.","HRES893","Congratulates the 2009 Major League Baseball World Series Champions, the New York Yankees,<br>for an outstanding season and a record 27th World Series Championship win."],["A bill to designate the facility of the United States Postal Service located at 60 School<br>Street, Orchard Park, New York, as the \"Jack F. Kemp Post Office Building\".","S1211","Designates the facility of the United States Postal Service located at 60 School Street,<br>Orchard Park, New York, as the \"Jack F. Kemp Post Office Building.\""],["To amend the Homeland Security Act of 2002 to extend, modify, and recodify the authority<br>of the Secretary of Homeland Security to enhance security and protect against acts of<br>terrorism against chemical facilities, and for other purposes.","HR2868","Continuing Chemical Facilities Antiterrorism Security Act of 2010 - Amends the Department<br>of Homeland Security Appropriations Act, 2007 to extend for three years (until October 4,<br>2013) the authority of the the Secretary of Homeland Security (DHS) to issue regulations<br>establishing risk-based performance standards for the security of chemical facilities that<br>require vulnerability assessments and the development and implementation of site security<br>plans (Chemical Facility Anti-Terrorism Standar..."],["To amend the Small Business Act to improve the Microloan Program, and for other purposes.","HR3737","Small Business Microlending Expansion Act of 2009 - (Sec. 2) Amends the Small Business Act<br>with respect to the Small Business Administration (SBA) Microloan program (small-scale<br>loans to start-up, newly established, or growing small businesses for working capital or<br>the acquisition of materials, supplies, or equipment) to direct the SBA Administrator to<br>establish a process under which an intermediary making a Microloan loan provides relevant<br>borrower information to the major credit reporting ..."],["Expressing support for designation of the week beginning on November 9, 2009, as National<br>School Psychology Week.","HRES700","Supports the designation of National School Psychology Week. Recognizes the contributions<br>of school psychologists to the success of students in schools across this country."],["Expressing support for Chinese human rights activists Huang Qi and Tan Zuoren for engaging<br>in peaceful expression as they seek answers and justice for the parents whose children<br>were killed in the Sichuan earthquake of May 12, 2008.","HRES877","Expresses support for Chinese human rights activists Huang Qi and Tan Zuoren for engaging<br>in peaceful expression as they seek answers and justice for the parents whose children<br>were killed as a result of the collapse of numerous school buildings in the Sichuan<br>earthquake of May 12, 2008. Calls on the government of the People's Republic of China<br>(PRC) to: (1) provide Huang Qi and Tan Zuoren with the rights that all Chinese citizens<br>have under the PRC's Constitution and the Criminal Procedure L..."],["Providing for consideration of the bill (H.R. 3962) to provide affordable, quality health<br>care for all Americans and reduce the growth in health care spending, and for other<br>purposes, and providing for consideration of the bill (H.R. 3961) to amend title XVIII of<br>the Social Security Act to reform the Medicare SGR payment system for physicians.","HRES903","Sets forth the rule for consideration of the bill (H.R. 3962) to provide affordable,<br>quality health care for all Americans and reduce the growth in health care spending, and<br>for other purposes, and providing for consideration of the bill (H.R. 3961) to amend title<br>XVIII of the Social Security Act to reform the Medicare SGR payment system for physicians."],["Recognizing the 20th anniversary of the remarkable events leading to the end of the Cold<br>War and the creation of a Europe, whole, free, and at peace.","HRES892","Recognizes the events of 1989 that helped lead to the Cold War's end. Congratulates the<br>countries of Central and Eastern Europe which have emerged as strong democracies. Welcomes<br>the commitment by the European Union (EU) and the North Atlantic Treaty Organization<br>(NATO) to keep the door to membership open for all European countries which meet the<br>conditions for accession."],["To provide affordable, quality health care for all Americans and reduce the growth in<br>health care spending, and for other purposes.","HR3962","Preservation of Access to Care for Medicare Beneficiaries and Pension Relief Act of 2010 -<br>Title I: Health Provisions - (Sec. 101) Sets 2.2% as the update to the single conversion<br>factor in the formula for determining physician payment rates for June 1, 2010, through<br>November 30, 2010. (Sec. 102) Revises requirements for calculating payments to hospitals<br>for inpatient hospital services with respect to the three-day payment window regarding<br>other services related to an admission which are perf..."],["To designate the facility of the United States Postal Service located at 427 Harrison<br>Avenue in Harrison, New Jersey, as the \"Patricia D. McGinty-Juhl Post Office Building\".","HR3539","Designates the facility of the United States Postal Service located at 427 Harrison Avenue<br>in Harrison, New Jersey, as the \"Patricia D. McGinty-Juhl Post Office Building.\""],["To amend title 46, United States Code, to establish requirements to ensure the security<br>and safety of passengers and crew on cruise vessels, and for other purposes.","HR3360","Cruise Vessel Security and Safety Act of 2010 - (Sec. 3) Delineates passenger vessel<br>security and safety requirements concerning: (1) vessel design, equipment, construction,<br>and retrofitting; (2) video surveillance to monitor crime; (3) access to security guide;<br>(4) posting of U.S. embassy locations; (5) maintenance of equipment, medications, and<br>medical personnel for sexual assaults on board; (6) confidentiality of sexual assault<br>information; (7) restrictions on crew access to passenger stat..."],["Expressing the gratitude of the House of Representatives for the service to our Nation of<br>the Coast Guard and Marine Corps aircraft pilots and crewmembers lost off the coast of<br>California on October 29, 2009, and for other purposes.","HRES891","Expresses the gratitude of the House of Representatives for the service to our nation of<br>the Coast Guard and Marine Corps aircraft pilots and crewmembers lost off the coast of<br>California on October 29, 2009. Extends its condolences to their family, friends, and<br>loved ones."],["Providing for an adjournment or recess of the two Houses.","HCONRES214","Declares that when the House adjourns on the legislative day of Thursday, November 19,<br>2009, or Friday, November 20, 2009, it stand adjourned until 2 p.m. on Tuesday, December<br>1, 2009. Declares that when the Senate recesses or adjourns on any day from Friday,<br>November 20, 2009, through Wednesday, November 25, 2009, it stand recessed or adjourned<br>until noon on Monday, November 30, 2009."],["Providing for consideration of the bill (H.R. 3791) to amend sections 33 and 34 of the<br>Federal Fire Prevention and Control Act of 1974, and for other purposes.","HRES909","Sets forth the rule for consideration of the bill (H.R. 3791) to amend sections 33 and 34<br>of the Federal Fire Prevention and Control Act of 1974."],["To amend sections 33 and 34 of the Federal Fire Prevention and Control Act of 1974, and<br>for other purposes.","HR3791","Fire Grants Reauthorization Act of 2009 - (Sec. 2) Amends the Federal Fire Prevention and<br>Control Act of 1974 to reauthorize through FY2014 the Federal Emergency Management<br>Agency's (FEMA's) Assistance to Firefighters Grants (AFG) program and the Staffing for<br>Adequate Fire and Emergency Response (SAFER) program. Modifies the scope of the AFG<br>program, including by permitting the use of grant funds for volunteer, non-fire service<br>emergency medical services organizations and for certifying fire ..."],["Providing for consideration of the bill (H.R. 2781) to amend the Wild and Scenic Rivers<br>Act to designate segments of the Molalla River in Oregon, as components of the National<br>Wild and Scenic Rivers System, and for other purposes.","HRES908","Sets forth the rule for consideration of the bill (H.R. 2781) to amend the Wild and Scenic<br>Rivers Act to designate segments of the Molalla River in Oregon, as components of the<br>National Wild and Scenic Rivers System."],["A bill to amend title 36, United States Code, to include in the Federal charter of the<br>Reserve Officers Association leadership positions newly added in its constitution and<br>bylaws.","S1599","Reserve Officers Association Modernization Act of 2009 - Revises the federal charter of<br>the Reserve Officers Association of the United States to include the president elect of<br>the Association on the national executive committee as a non-voting member. Specifies that<br>there shall be a minimum of three national executive committee members on the<br>Association's national executive committee. (Under current law, the limit for such members<br>on the committee is three.) Makes the president elect of the ..."],["To amend the Wild and Scenic Rivers Act to designate segments of the Molalla River in<br>Oregon, as components of the National Wild and Scenic Rivers System, and for other<br>purposes.","HR2781","Amends the Wild and Scenic Rivers Act to designate specified segments of the Molalla River<br>in Oregon as a recreational river and as components of the National Wild and Scenic Rivers<br>System."],["To amend title XVIII of the Social Security Act to reform the Medicare SGR payment system<br>for physicians.","HR3961","(This measure has not been amended since it was passed by the Senate on February 24, 2010.<br>The summary of that version is repeated here.) Amends the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 to extend through February 28, 2011, provisions: (1) granting<br>roving surveillance authority under the Foreign Intelligence Surveillance Act of 1978<br>(FISA) where the court finds that the actions of the target may thwart the identification<br>of a specified person or other persons (by using multi..."],["To amend the Small Business Act to expand and improve the assistance provided to Indian<br>tribe members, Alaska Natives, and Native Hawaiians, and for other purposes.","HR1834","Native American Business Development Enhancement Act of 2009 - Amends the Small Business<br>Act to establish in the Small Business Administration (SBA) the Office of Native American<br>Affairs, administered by a new SBA Associate Administrator, to increase Native American<br>entrepreneurship. Authorizes appropriations. Authorizes the SBA's Administrator (acting<br>through the Associate Administrator) to: (1) operate a Tribal Business Information Centers<br>program that provides Native American populations w..."],["To establish a research, development, and technology demonstration program to improve the<br>efficiency of gas turbines used in combined cycle power generation systems.","HR3029","Directs the Secretary of Energy to carry out a research, development, and technology<br>demonstration program to improve the efficiency of gas turbines used in power generation<br>systems and to identify the technologies that will lead to gas turbine combined cycle<br>efficiency of 65% or simple cycle efficiency of 50%. Requires the program to: (1) support<br>first-of-a-kind engineering and detailed gas turbine design for megawatt-scale and<br>utility-scale electric power generation; (2) include technology ..."],["Supporting the goals and ideals of National Ovarian Cancer Awareness Month.","HRES727","Expresses support for greater awareness of ovarian cancer."],["Recognizing the exemplary service of the soldiers of the 30th Infantry Division (Old<br>Hickory) of the United States Army during World War II.","HRES494","Recognizes the exemplary service of the soldiers of the 30th Infantry Division of the U.S.<br>Army during World War II."],["Congratulating the Sailors of the United States Submarine Force upon the completion of<br>1,000 Ohio-class ballistic missile submarine (SSBN) deterrent patrols.","HCONRES129","Congratulates the Sailors of the United States Submarine Force upon the completion of<br>1,000 Ohio-class ballistic missile submarine (SSBN) deterrent patrols. Honors and thanks<br>the crews of such submarines and their families for their continued dedication and<br>sacrifice."],["To designate the facility of the United States Postal Service located at 109 Main Street<br>in Swifton, Arkansas, as the \"George Kell Post Office\".","HR3634","Designates the facility of the United States Postal Service located at 109 Main Street in<br>Swifton, Arkansas, as the \"George Kell Post Office.\""],["To prohibit the importation of certain low-level radioactive waste into the United States.","HR515","Radioactive Import Deterrence Act - Amends the Atomic Energy Act of 1954 to prohibit the<br>Nuclear Regulatory Commission (NRC) from issuing a license authorizing the importation<br>into the United States of: (1) low-level radioactive waste; or (2) specific radioactive<br>waste streams exempted from regulation by the NRC. Exempts from such prohibition low-level<br>radioactive waste: (1) being returned to a federal or military facility which is<br>authorized to possess the material; or (2) resulting from the..."],["Encouraging banks and mortgage servicers to work with families affected by contaminated<br>drywall to allow temporary forbearance without penalty on payments on their home<br>mortgages.","HCONRES197","Encourages banks and mortgage servicers to work with families affected by contaminated<br>drywall by considering adjustments to mortgage payment schedules that take these financial<br>burdens into account."],["To amend the Emergency Economic Stabilization Act of 2008 to provide for additional<br>monitoring and accountability of the Troubled Assets Relief Program.","HR1242","Amends the Emergency Economic Stabilization Act of 2008 (EESA) to direct the Secretary of<br>the Treasury to: (1) establish an electronic database using data from specified sources to<br>monitor the use of Troubled Asset Relief Program (TARP) funds by institutions receiving<br>financial assistance or procurement contracts; and (2) make such database available to the<br>Special Inspector General of TARP, the Comptroller General, and the Congressional<br>Oversight Panel in order to provide them with access to..."],["To provide for identifying and eliminating redundant reporting requirements and developing<br>meaningful performance metrics for homeland security preparedness grants, and for other<br>purposes.","HR3980","Redundancy Elimination and Enhanced Performance for Preparedness Grants Act - Amends the<br>Homeland Security Act of 2002 to direct the Administrator of the Federal Emergency<br>Management Agency (FEMA) to submit to the appropriate congressional committees not later<br>than 90 days after this Act's enactment a report that includes: (1) an assessment of<br>redundant reporting requirements imposed by the Administrator on state, local, and tribal<br>governments in connection with the awarding of covered grants..."],["Providing for consideration of the bill (H.R. 4154) to amend the Internal Revenue Code of<br>1986 to repeal the new carryover basis rules in order to prevent tax increases and the<br>imposition of compliance burdens on many more estates than would benefit from repeal, to<br>retain the estate tax with a $3,500,000 exemption, and for other purposes.","HRES941","Sets forth the rule for consideration of the bill (H.R. 4154) to amend the Internal<br>Revenue Code of 1986 to repeal the new carryover basis rules in order to prevent tax<br>increases and the imposition of compliance burdens on many more estates than would benefit<br>from repeal, to retain the estate tax with a $3,500,000 exemption."],["Expressing the sense of the House of Representatives that the Transportation Security<br>Administration should, in accordance with the congressional mandate provided for in the<br>Implementing Recommendations of the 9/11 Commission Act of 2007, enhance security against<br>terrorist attack and other security threats to our Nation's rail and mass transit lines.","HRES28","Expresses the sense of the House of Representatives that the Transportation Security<br>Administration (TSA) should: (1) continue to enhance security against terrorist attack and<br>other security threats to our nation's rail and mass transit systems and other modes of<br>surface transportation; (2) continue development of the National Explosives Detection<br>Canine Team Program; and (3) improve upon the success of the Online Learning Center by<br>providing increased person-to-person professional developmen..."],["To amend the Internal Revenue Code of 1986 to repeal the new carryover basis rules in<br>order to prevent tax increases and the imposition of compliance burdens on many more<br>estates than would benefit from repeal, to retain the estate tax with a $3,500,000<br>exemption, and for other purposes.","HR4154","Division A: Permanent Estate Tax Relief for Families, Farmers, and Small Businesses Act of<br>2009 - Permanent Estate Tax Relief For Families, Farmers, and Small Businesses Act of 2009<br>- (Sec. 2) Repeals provisions of the Economic Growth and Tax Relief Reconciliation Act of<br>2001 (EGTRRA) eliminating the tax on estates and generation-skipping transfers and the<br>step-up in basis provisions for property acquired from a decedent for estates of decedents<br>dying after 2009 (thus retaining estate and gif..."],["To amend title 17, United States Code, to reauthorize the satellite statutory license, to<br>conform the satellite and cable statutory licenses to all-digital transmissions, and for<br>other purposes.","HR3570","Satellite Home Viewer Reauthorization Act of 2009 - Title I: Statutory Licenses - (Sec.<br>102) Requires a satellite carrier whose secondary transmissions are subject to statutory<br>licensing to deposit a filing fee semiannually with the Register of Copyrights. Declares<br>that a secondary transmission is not an infringement in certain circumstances (such as<br>being made to the American Red Cross or a federal governmental body designated by the<br>Office of Emergency Communications) related to preparing f..."],["Recognizing the 10th Anniversary of the activation of Echo Company of the 100th Battalion<br>of the 442d Infantry, and the sacrifice of the soldiers and families in support of the<br>United States.","HCONRES199","Recognizes the valuable, historic, and continued contribution of Company E, 100th<br>Battalion, 442d Infantry Regiment of the U.S. Army to the citizens of the Northern Mariana<br>Islands, Guam, and the United States. Commends the efforts and contributions of such<br>soldiers and the sacrifices of their families. Recognizes and reaffirms the commitment of<br>Congress to support the mission of Company E. Honors the lives of Company E soldiers who<br>made the ultimate sacrifice on behalf of the United States."],["Encouraging the Republic of Hungary to respect the rule of law, treat foreign investors<br>fairly, and promote a free and independent press.","HRES915","Condemns the action of the Hungarian National Radio and Television Board when it awarded<br>national community radio licenses. Encourages the Republic of Hungary to: (1) respect the<br>rule of law and treat foreign investors fairly; and (2) maintain its commitment to a free<br>press."],["Recognizing the Grand Concourse on its 100th anniversary as the preeminent thoroughfare in<br>the borough of the Bronx and an important nexus of commerce and culture for the City of<br>New York.","HRES907","Recognizes the Grand Concourse on its 100th anniversary as the preeminent thoroughfare in<br>the borough of the Bronx and an important nexus of commerce and culture for the city of<br>New York."],["Providing for consideration of the bill (H.R. 4213) to amend the Internal Revenue Code of<br>1986 to extend certain expiring provisions, and for other purposes.","HRES955","Sets forth the rule for consideration of the bill (H.R. 4213) to amend the Internal<br>Revenue Code of 1986 to extend certain expiring provisions."],["To amend the Internal Revenue Code of 1986 to extend certain expiring provisions, and for<br>other purposes.","HR4213","Unemployment Compensation Extension Act of 2010 - (Sec. 2) Amends the Supplemental<br>Appropriations Act, 2008 with respect to the state-established individual emergency<br>unemployment compensation account (EUCA). Extends the final date for entering a federal-<br>state agreement under the Emergency Unemployment Compensation (EUC) program through<br>November 30, 2010. Postpones the termination of the program until April 30, 2011. Amends<br>the Assistance for Unemployed Workers and Struggling Families Act to ..."],["To rename the Ocmulgee National Monument.","HR3603","Renames the Ocmulgee National Monument in Macon, Georgia, as the Ocmulgee Mounds National<br>Monument."],["Providing for consideration of the bill (H.R. 4173) to provide for financial regulatory<br>reform, to protect consumers and investors, to enhance Federal understanding of insurance<br>issues, to regulate the over-the-counter derivatives markets, and for other purposes.","HRES956","Sets forth the rule for consideration of the bill (H.R. 4173) to provide for financial<br>regulatory reform, to protect consumers and investors, to enhance Federal understanding of<br>insurance issues, to regulate the over-the-counter derivatives markets."],["Providing for consideration of the conference report to accompany the bill (H.R. 3288)<br>making appropriations for the Departments of Transportation and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2010, and for<br>other purposes.","HRES961","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>3288) making appropriations for the Departments of Transportation and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2010."],["To designate the facility of the United States Postal Service located at 43 Maple Avenue<br>in Shrewsbury, Massachusetts, as the \"Ann Marie Blute Post Office\".","HR4017","Designates the facility of the United States Postal Service located at 43 Maple Avenue in<br>Shrewsbury, Massachusetts, as the \"Ann Marie Blute Post Office.\""],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES962","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow for<br>consideration or disposition of H.R. 4173 (Wall Street Reform and Consumer Protection Act<br>of 2009)."],["Providing for further consideration of the bill (H.R. 4173) to provide for financial<br>regulatory reform, to protect consumers and investors, to enhance Federal understanding of<br>insurance issues, to regulate the over-the-counter derivatives markets, and for other<br>purposes.","HRES964","Sets forth the rule for consideration of H.R. 4173 (Wall Street Reform and Consumer<br>Protection Act of 2009)."],["To provide for financial regulatory reform, to protect consumers and investors, to enhance<br>Federal understanding of insurance issues, to regulate the over-the-counter derivatives<br>markets, and for other purposes.","HR4173","(This measure has not been amended since the Conference Report was filed in the House on<br>June 29, 2010. The summary of that version is repeated here.) Dodd-Frank Wall Street<br>Reform and Consumer Protection Act - Title I: Financial Stability - Financial Stability<br>Act of 2010 - Subtitle A: Financial Stability Oversight Council - (Sec. 111) Establishes<br>the Financial Stability Oversight Council (Council), consisting of the heads of specified<br>federal financial regulatory bodies and chaired by the S..."],["Commending the Real Salt Lake soccer club for winning the 2009 Major League Soccer Cup.","HRES942","Commends the Real Salt Lake soccer club for winning the 2009 Major League Soccer Cup, the<br>first in the franchise's history."],["Honoring the 50th anniversary of the recording of the album \"Kind of Blue\" and reaffirming<br>jazz as a national treasure.","HRES894","Honors the 50th anniversary of the recording of the album \"Kind of Blue\" and recognizes<br>the unique contribution the album has made to American jazz. Encourages the U.S.<br>government to preserve and advance the art form of jazz music. Reaffirms the status of<br>jazz as a national treasure."],["To allow certain U.S. Customs and Border Protection employees who serve under an overseas<br>limited appointment for at least 2 years, and whose service is rated fully successful or<br>higher throughout that time, to be converted to a permanent appointment in the competitive<br>service.","HR1517","Authorizes the Commissioner of U.S. Customs and Border Protection (CBP) to convert an<br>employee serving under an overseas limited appointment for at least two years of current<br>continuous service, whose service is rated at least fully successful throughout that time,<br>to a permanent appointment in the competitive service. Directs the United States to: (1)<br>indemnify and hold such individual whose appointment is converted harmless from any claim<br>arising from any event, act, or omission that arises..."],["Expressing the sense of the House of Representatives regarding guidelines for breast<br>cancer screening for women ages 40 to 49.","HRES971","Expresses the sense of the House of Representatives that: (1) the guidelines of the United<br>States Preventive Services Task Force would not prohibit an insurer from providing<br>coverage for mammography services in addition to those recommended by the Task Force and<br>should not be used by insurers to deny coverage for services that are not recommended on a<br>routine basis; and (2) the National Cancer Institute should continue to invest and provide<br>leadership regarding research to develop more effect..."],["To amend the Iran Sanctions Act of 1996 to enhance United States diplomatic efforts with<br>respect to Iran by expanding economic sanctions against Iran.","HR2194","Comprehensive Iran Sanctions, Accountability, and Divestment Act of 2010 - (Sec. 3)<br>Expresses the sense of Congress that: (1) international diplomatic efforts to address<br>Iran's illicit nuclear efforts and support for international terrorism are more likely to<br>be effective if strong additional sanctions are imposed on the government of Iran; (2)<br>U.S. concerns regarding Iran are strictly the result of that government\u0092s actions; (3) the<br>September 2009 revelation that Iran is developing a secret ..."],["Expressing the sense of the House of Representatives that A. Philip Randolph should be<br>recognized for his lifelong leadership and work to end discrimination and secure equal<br>employment and labor opportunities for all Americans.","HRES150","Expresses the sense of the House of Representatives that A. Phillip Randolph should be<br>recognized for his lifelong leadership and work to end discrimination and secure equal<br>employment and labor opportunities for all Americans."],["A bill to establish a section within the Criminal Division of the Department of Justice to<br>enforce human rights laws, to make technical and conforming amendments to criminal and<br>immigration laws pertaining to human rights violations, and for other purposes.","S1472","Human Rights Enforcement Act of 2009 - Eliminates the Office of Special Investigations<br>within the Criminal Division of the Department of Justice (DOJ). Directs the Attorney<br>General to: (1) establish, within 90 days after the enactment of this Act, a section<br>within the Criminal Division of DOJ with responsibility for the enforcement of laws<br>against suspected participants in serious human rights offenses; and (2) consult with the<br>Secretaries of Homeland Security and State in taking appropriate ..."],["Providing for the sine die adjournment of the first session of the One Hundred Eleventh<br>Congress.","HCONRES223","Declares that when the House adjourns on any legislative day from Wednesday, December 16,<br>2009, through Saturday, January 2, 2010, it stand adjourned sine die. Declares that when<br>the Senate adjourns on any day from Friday, December 18, 2009, through Saturday, January<br>2, 2010, it stand adjourned sine die. Declares that when the House adjourns on any<br>legislative day of the second session of the 111th Congress from Tuesday, January 5, 2010,<br>through Saturday, January 9, 2010, it shall stand adjou..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES973","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow for<br>consideration or disposition of any resolution reported on the legislative day of December<br>16, 2009."],["Honoring the American Kennel Club on its 125th anniversary.","HCONRES160","Honors the American Kennel Club for its service to dog owners and the U.S. public.<br>Congratulates the American Kennel Club on the occasion of its 125th anniversary."],["Providing for consideration of the Senate amendment to the bill (H.R. 3326) making<br>appropriations for the Department of Defense for the fiscal year ending September 30,<br>2010, and for other purposes; for consideration of the joint resolution (H.J.Res. 64)<br>making further continuing appropriations for fiscal year 2010, and for other purposes; for<br>consideration of the bill (H.R. 4314) to permit continued financing of Government<br>operations; for consideration of the Senate amendment to the bill (H.R. 2847) making<br>appropriations for the Departments of Commerce and Justice, and Science, and Related<br>Agencies for the fiscal year ending September 30, 2010, and for other purposes; and for<br>other purposes.","HRES976","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3326)<br>making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2010, and for other purposes; for consideration of the joint resolution (H.J.Res. 64)<br>making further continuing appropriations for fiscal year 2010, and for other purposes; for<br>consideration of the bill (H.R. 4314) to permit continued financing of Government<br>operations; for consideration of the Senate amendment to th..."],["Recognizing the 70th anniversary of the retirement of Justice Louis D. Brandeis from the<br>United States Supreme Court.","HRES905","Recognizes the 70th anniversary of Justice Louis D. Brandeis's retirement from the Supreme<br>Court and the significant contribution he made in Supreme Court jurisprudence."],["To amend title 18, United States Code, to prevent caller ID spoofing, and for other<br>purposes.","HR1110","Preventing Harassment through Outbound Number Enforcement Act of 2009 or the PHONE Act of<br>2009 - Amends the federal criminal code to: (1) impose a fine, a five-year prison term, or<br>both, on anyone who knowingly uses or provides to another, in interstate or foreign<br>commerce, false caller ID information with intent to wrongfully obtain anything of value;<br>and (2) impose a fine, a one-year prison term, or both, on anyone who knowingly provides<br>caller ID information with the intent to deceive the ..."],["To permit continued financing of Government operations.","HR4314","Increases the public debt limit from $12.104 trillion to $12.394 trillion."],["To amend the Foreign Assistance Act of 1961 to include in the Annual Country Reports on<br>Human Rights Practices information about freedom of the press in foreign countries,<br>establish a grant program to promote freedom of the press worldwide, and for other<br>purposes.","HR3714","Daniel Pearl Freedom of the Press Act of 2009 - Amends the Foreign Assistance Act of 1961<br>to expand the annual Country Reports on Human Rights Practices to include: (1) a<br>description of the status of freedom of the press in each country reviewed in the report;<br>(2) identification of countries in which there were violations of freedom of the press;<br>and (3) in countries where there are particularly severe violations of freedom of the<br>press, whether such governments participate in or condone such..."],["Making further continuing appropriations for fiscal year 2010, and for other purposes.","HJRES64","Amends the Continuing Appropriations Resolution, 2010 to extend from October 31, 2009,<br>through December 23, 2009, appropriations and funds made available and authority granted<br>pursuant to that joint resolution, unless either of the following occurs first: (1) the<br>enactment into law of an appropriation for any project or activity provided for in this<br>joint resolution; or (2) the enactment into law of the applicable appropriations Act for<br>FY2010 without any provision for such project or activity."],["Supporting the initiatives of Chicago Wilderness and the Children's Outdoor Bill of<br>Rights.","HRES860","Recognizes and encourages the Children's Outdoor Bill of Rights commitment to \"Leave No<br>Child Inside\" and fight obesity, physical disorders, and unawareness of natural amenities<br>by promoting quality outdoor activities for children and adults. Encourages the President<br>to issue a proclamation in support of the goals and ideals of the Children's Outdoor Bill<br>of Rights."],["To designate the facility of the United States Postal Service located at 101 West Highway<br>64 Bypass in Roper, North Carolina, as the \"E.V. Wilkins Post Office\".","HR3892","Designates the facility of the United States Postal Service located at 101 West Highway 64<br>Bypass in Roper, North Carolina, as the \"E.V. Wilkins Post Office.\""],["Congratulating the Northwestern University Feinberg School of Medicine for its 150 years<br>of commitment to advancing science and improving health.","HRES1004","Congratulates the Northwestern University Feinberg School of Medicine, in Chicago,<br>Illinois, on its 150th anniversary. Expresses the House of Representatives' best wishes<br>for its continued success. Commends the school for its dedication to educating world class<br>physicians and scientists, sponsoring cutting edge medical research, and providing highly<br>specialized clinical care."],["Commending the University of Virginia men's soccer team for winning the 2009 Division I<br>NCAA National Championship.","HRES991","Congratulates the University of Virginia men's soccer team for winning the 2009 Division I<br>NCAA National Championship."],["Providing for consideration of the bill (H.R. 3254) to approve the Taos Pueblo Indian<br>Water Rights Settlement Agreement, and for other purposes; for consideration of the bill<br>(H.R. 3342) to authorize the Secretary of the Interior, acting through the Commissioner of<br>Reclamation, to develop water infrastructure in the Rio Grande Basin, and to approve the<br>settlement of the water rights claims of the Pueblos of Nambe, Pojoaque, San Ildefonso,<br>and Tesuque; and for consideration of the bill (H.R. 1065) to resolve water rights claims<br>of the White Mountain Apache Tribe in the State of Arizona, and for other purposes.","HRES1017","Sets forth the rule for consideration of the bill (H.R. 3254) to approve the Taos Pueblo<br>Indian Water Rights Settlement Agreement, and for other purposes; for consideration of the<br>bill (H.R. 3342) to authorize the Secretary of the Interior, acting through the<br>Commissioner of Reclamation, to develop water infrastructure in the Rio Grande Basin, and<br>to approve the settlement of the water rights claims of the Pueblos of Nambe, Pojoaque,<br>San Ildefonso, and Tesuque; and for consideration of the bi..."],["To establish the Castle Nugent National Historic Site at St. Croix, United States Virgin<br>Islands, and for other purposes.","HR3726","Castle Nugent National Historic Site Establishment Act of 2010 - Establishes the Castle<br>Nugent National Historic Site on the island of St. Croix, U.S. Virgin Islands, as a unit<br>of the National Park System in order to preserve, protect, and interpret a Caribbean<br>cultural landscape spanning over 300 years of agricultural use, significant archeological<br>resources, mangrove forests, endangered sea turtle nesting beaches, an extensive barrier<br>coral reef system, and other outstanding natural feature..."],["To approve the Taos Pueblo Indian Water Rights Settlement Agreement, and for other<br>purposes.","HR3254","Taos Pueblo Indian Water Rights Settlement Act - Authorizes, ratifies, and confirms the<br>Settlement Agreement of March 31, 2006, between the United States, the Taos Pueblo, New<br>Mexico, the Taos Valley Acequia Association and its 55 member ditches, Taos, the El Prado<br>Water and Sanitation District (EPWSD), and the 12 Taos area Mutual Domestic Water<br>Consumers Associations, and any amendments executed to make the Agreement consistent with<br>this Act. Requires water rights to which the Taos Pueblo is..."],["To authorize the Secretary of the Interior, acting through the Commissioner of<br>Reclamation, to develop water infrastructure in the Rio Grande Basin, and to approve the<br>settlement of the water rights claims of the Pueblos of Nambe, Pojoaque, San Ildefonso,<br>and Tesuque.","HR3342","Aamodt Litigation Settlement Act - Title I: Pojoaque Basin Regional Water System - (Sec.<br>101) Directs the Secretary of the Interior, acting through the Commissioner of<br>Reclamation, to plan, design, and construct a regional water system, in accordance with<br>the settlement agreement dated January 19, 2006, among New Mexico, the Pueblos of Nambe,<br>Pojoaque, San Ildefonso, and Tesuque, the city of Santa Fe, and Santa Fe County: (1) to<br>divert water to the Pueblos and to the County Water Utility, in ..."],["To resolve water rights claims of the White Mountain Apache Tribe in the State of Arizona,<br>and for other purposes.","HR1065","White Mountain Apache Tribe Water Rights Quantification Act of 2010 - (Sec. 4) Authorizes,<br>ratifies, and confirms the White Mountain Apache Tribe Water Rights Quantification<br>Agreement and amendments made to such Agreement by this Act. Requires the Secretary of the<br>Interior, in implementing the Agreement, to comply with all requirements of the National<br>Environmental Policy Act of 1969, the Endangered Species Act of 1973, and all other<br>applicable environmental laws. (Sec. 5) Requires the water ..."],["Expressing condolences to and solidarity with the people of Haiti in the aftermath of the<br>devastating earthquake of January 12, 2010.","HRES1021","Expresses: (1) condolences and sympathy for the loss of life and the physical and<br>psychological damage in Haiti caused by the January 2010 earthquake; and (2) solidarity<br>with Haitians, Haitian Americans, and those who have lost loved ones or have otherwise<br>been affected by the tragedy. Commends the efforts of the governments of Haiti and the<br>United States, the United Nations and the international community, and the American<br>people. Supports: (1) Administration efforts to provide and coordinat..."],["Expressing support for designation of January 2010 as \"National Mentoring Month\".","HRES990","Supports the designation of National Mentoring Month. Praises those who are already<br>serving as mentors. Encourages others to volunteer as mentors."],["Recognizing the importance of cervical health and of detecting cervical cancer during its<br>earliest stages and supporting the goals and ideals of Cervical Health Awareness Month.","HRES1011","Expresses support for the goals and ideals of Cervical Health Awareness Month. Urges the<br>people of the United States to learn about cervical cancer and its causes, most notably<br>human papillomavirus (HPV), and the importance of early detection."],["Expressing support for the designation of January 10, 2010, through January 16, 2010, as<br>National Influenza Vaccination Week.","HRES1003","Expresses support for the designation of National Influenza Vaccination Week and<br>encourages people in the United States to get vaccinated."],["Providing for consideration of the bill (H.R. 3726) to establish the Castle Nugent<br>National Historic Site at St. Croix, United States Virgin Islands, and for other purposes;<br>and for consideration of the bill (H.R. 4474) to authorize the continued use of certain<br>water diversions located on National Forest System land in the Frank Church-River of No<br>Return Wilderness and the Selway-Bitterroot Wilderness in the State of Idaho, and for<br>other purposes.","HRES1038","Sets forth the rule for consideration of the bill (H.R. 3726) to establish the Castle<br>Nugent National Historic Site at St. Croix, United States Virgin Islands, and for other<br>purposes; and for consideration of the bill (H.R. 4474) to authorize the continued use of<br>certain water diversions located on National Forest System land in the Frank Church-River<br>of No Return Wilderness and the Selway-Bitterroot Wilderness in the State of Idaho."],["Expressing support for designation of January as Poverty in America Awareness Month.","HRES1024","Supports the designation of Poverty in America Awareness Month. Expresses the sense of the<br>House of Representatives that: (1) eradicating poverty in the United States should be the<br>goal for all people in the United States; (2) the severe economic downturn has highlighted<br>the need to ensure that the nation's most vulnerable individuals and families are able to<br>meet their most fundamental needs during a time of financial crisis; and (3) Congress<br>should recommit itself to helping individuals and..."],["To authorize the continued use of certain water diversions located on National Forest<br>System land in the Frank Church-River of No Return Wilderness and the Selway-Bitterroot<br>Wilderness in the State of Idaho, and for other purposes.","HR4474","Idaho Wilderness Water Facilities Act - Authorizes the Secretary of Agriculture to issue a<br>special use authorization to each of the 20 owners of a water storage, transport, or<br>diversion facility located on National Forest System land in the Frank Church-River of No<br>Return Wilderness and the Selway-Bitterroot Wilderness in Idaho for continued operation,<br>maintenance, and reconstruction of such facility if it is determined that: (1) the<br>facility was in existence on the date on which the land upo..."],["To provide for an additional temporary extension of programs under the Small Business Act<br>and the Small Business Investment Act of 1958, and for other purposes.","HR4508","Extends through April 30, 2010, under the same terms and conditions, the authorization for<br>any program, authority, or provision, including any pilot program, that is currently<br>authorized through January 31, 2010, under the Small Business Act or the Small Business<br>Investment Act of 1958."],["Honoring the 95th anniversary of the signing of the Rocky Mountain National Park Act.","HRES1020","Honors the 95th anniversary of the signing of the Rocky Mountain National Park Act.<br>Commends the National Park Service and Coloradans for their dedication to preserving this<br>region of the Southern Rocky Mountains for future generations to come."],["To designate the facility of the United States Postal Service located at 100 North Taylor<br>Lane in Patagonia, Arizona, as the \"Jim Kolbe Post Office\".","HR4495","Designates the facility of the United States Postal Service located at 100 North Taylor<br>Lane in Patagonia, Arizona, as the \"Jim Kolbe Post Office.\""],["Recognizing and supporting the goals and ideals of North American Inclusion Month.","HRES1014","Recognizes and expresses support for the goals and ideals of North American Inclusion<br>Month."],["Providing for consideration of the bill (H.R. 4061) to advance cybersecurity research,<br>development, and technical standards, and for other purposes.","HRES1051","Sets forth the rule for consideration of the bill (H.R. 4061) to advance cybersecurity<br>research, development, and technical standards."],["Recognizing November 14, 2009, as the 49th anniversary of the first day of integrated<br>schools in New Orleans, Louisiana.","HRES901","Recognizes the 49th anniversary of school integration in New Orleans, Louisiana. Remembers<br>Judge J. Skelly Wright for his lifelong commitment to promoting civil rights, fairness,<br>and equality. Commends Ruby Bridges for her courage in becoming the first African-American<br>student to attend William Frantz Elementary School in New Orleans, and for her lifetime<br>commitment to promoting diversity and improving educational opportunities for all<br>children. Supports policies and efforts to promote equal ..."],["To advance cybersecurity research, development, and technical standards, and for other<br>purposes.","HR4061","Cybersecurity Enhancement Act of 2010 - Title I: Research and Development - (Sec. 103)<br>Directs specified federal agencies participating in the National High-Performance<br>Computing Program to: (1) transmit to Congress a cybersecurity strategic research and<br>development plan and triennial updates; and (2) develop and annually update an<br>implementation roadmap for such plan. Specifies the plan's contents, including that it<br>shall: (1) specify near-term, mid-term, and long-term Program research objec..."],["Honoring the life and sacrifice of Medgar Evers and congratulating the United States Navy<br>for naming a supply ship after Medgar Evers.","HRES1022","Honors the life and sacrifice of Medgar Evers and recognizes the important role he played<br>in securing civil rights for all people in the United States.Congratulates the United<br>States Navy for honoring Medgar Evers by naming the United States Naval Ship Medgar Evers<br>after him."],["Providing for consideration of the Senate amendment to the joint resolution (H.J. Res. 45)<br>increasing the statutory limit on the public debt.","HRES1065","Sets forth the rule for consideration of the Senate amendment to the joint resolution<br>(H.J. Res. 45) increasing the statutory limit on the public debt."],["To provide for permanent extension of the attorney fee withholding procedures under title<br>II of the Social Security Act to title XVI of such Act, and to provide for permanent<br>extension of such procedures under titles II and XVI of such Act to qualified non-attorney<br>representatives.","HR4532","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Social Security Disability Applicants' Access to Professional<br>Representation Act of 2010 - Amends the Social Security Protection Act of 2004 to provide<br>for permanent extension of the attorney fee witholding procedures under title II (Old Age,<br>Survivors and Disability Insurance) of the Social Security Act (SSA) to SSA title XVI<br>(Supplemental Security Income) (SSI). Amends SSA titles II an..."],["To designate the facility of the United States Postal Service located at 2-116th Street in<br>North Troy, New York, as the \"Martin G. 'Marty' Mahar Post Office\".","HR4425","Designates the facility of the United States Postal Service located at 2-116th Street in<br>North Troy, New York, as the \"Martin G. 'Marty' Mahar Post Office.\""],["To designate the facility of the United States Postal Service located at 930 39th Avenue<br>in Greeley, Colorado, as the \"W.D. Farr Post Office Building\".","HR4238","Designates the facility of the United States Postal Service located at 930 39th Avenue in<br>Greeley, Colorado, as the \"W.D. Farr Post Office Building.\""],["Providing for consideration of the bill (H.R. 2314) to express the policy of the United<br>States regarding the United States relationship with Native Hawaiians and to provide a<br>process for the recognition by the United States of the Native Hawaiian governing entity.","HRES1083","Sets forth the rule for consideration of the bill (H.R. 2314) to express the policy of the<br>United States regarding the United States relationship with Native Hawaiians and to<br>provide a process for the recognition by the United States of the Native Hawaiian<br>governing entity."],["Recognizing the bravery and efforts of the United States Armed Forces, local first<br>responders, and other members of Operation Unified Response for their swift and<br>coordinated action in light of the devastation wrought upon the nation of Haiti after a<br>horrific 7.0 magnitude earthquake struck Port-Au-Prince and surrounding cities on January<br>12, 2010.","HRES1066","Recognizes the efforts of the U.S. Armed Forces, local first responders, U.S. public<br>servants, and other members of Operation Unified Response for their actions to meet the<br>needs of Haiti's citizens and government and facilitate the evacuation and medical<br>attention of U.S. citizens impacted by the earthquake in Haiti."],["Honoring the heroism of the seven United States Agency for International Development and<br>Office of U.S. Foreign Disaster Assistance supported urban search and rescue teams<br>deployed to Haiti from New York City, New York, Fairfax County, Virginia, Los Angeles<br>County, California, Miami, Florida, Miami-Dade County, Florida, and Virginia Beach,<br>Virginia, and commending their dedication and assistance in the aftermath of the January<br>12, 2010 Haitian earthquake.","HRES1059","Honors the bravery and dedication of the United States Agency for International<br>Development (USAID), Office of U.S. Foreign Disaster Assistance, and Federal Emergency<br>Management Agency (FEMA) supported urban search and rescue teams. Congratulates U.S. urban<br>search and rescue workers for the lives they helped save in Haiti. Recognizes the<br>contribution of these teams in the lives they directly saved, to the international teams<br>they trained, and to the people of Haiti. Expresses gratitude to the..."],["Recognizing the significance of Black History Month.","HRES1046","Recognizes the significance of Black History Month as an important time to recognize the<br>contributions of African-Americans in the nation's history.Encourages the continued<br>celebration of this month to provide an opportunity for all peoples of the United States<br>to learn more about the past and to better understand the experiences that have shaped the<br>nation.Recognizes that the ethnic and racial diversity of the United States enriches and<br>strengthens the nation."],["To express the policy of the United States regarding the United States relationship with<br>Native Hawaiians and to provide a process for the recognition by the United States of the<br>Native Hawaiian governing entity.","HR2314","Native Hawaiian Government Reorganization Act of 2010 - (Sec. 3) Defines terms, including<br>\"qualified Native Hawaiian constituent.\" Includes among the requirements to be such a<br>constituent that the individual be an individual who: (1) is one of the indigenous, native<br>people of Hawaii and who is a direct lineal descendant of the aboriginal, indigenous,<br>native people who resided in the islands that now comprise the state of Hawaii on or<br>before January 1, 1893, or is an individual who is one of t..."],["Providing for consideration of the bill (H.R. 4626) to restore the application of the<br>Federal antitrust laws to the business of health insurance to protect competition and<br>consumers.","HRES1098","Sets forth the rule for consideration of the bill (H.R. 4626) to restore the application<br>of the Federal antitrust laws to the business of health insurance to protect competition<br>and consumers."],["Honoring the life of Miep Gies, who aided Anne Frank's family while they were in hiding<br>and preserved her diary for future generations.","HRES1074","Honors Miep Gies for her bravery during the Nazi occupation of the Netherlands and her<br>dedication to preserving the memory of Anne Frank and the Holocaust."],["Expressing the sense of the House of Representatives on religious minorities in Iraq.","HRES944","Expresses the sense of the Senate that: (1) the United States remains deeply concerned<br>about the plight of members of vulnerable religious and ethnic minority communities of<br>Iraq; (2) the Secretary of State should develop and report to Congress on a comprehensive<br>strategy to encourage the protection of the rights of such members; and (3) the U.S.<br>government should urge the Iraqi government to enhance security at places of worship in<br>Iraq, particularly where members of religious minority commu..."],["To restore the application of the Federal antitrust laws to the business of health<br>insurance to protect competition and consumers.","HR4626","Health Insurance Industry Fair Competition Act - Amends the McCarran-Ferguson Act to<br>provide that nothing in that Act shall modify, impair, or supersede the operation of any<br>of the antitrust laws with respect to the business of health insurance. Applies<br>prohibitions against using unfair methods of competition to the business of health<br>insurance without regard to whether such business is carried on for profit."],["Honoring and celebrating the contributions of African-Americans to the transportation and<br>infrastructure of the United States.","HRES1085","Supports the goals and ideals of National African American History Month. Honors and<br>celebrates the important contributions that African-Americans have made throughout history<br>to the U.S. transportation and infrastructure systems."],["Providing for consideration of the bill (H.R. 2701) to authorize appropriations for fiscal<br>year 2010 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes, waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules, and providing for consideration of motions to suspend the rules.","HRES1105","Sets forth the rule for consideration of the bill (H.R. 2701) to authorize appropriations<br>for fiscal year 2010 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes, waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules, and providing for consideration..."],["Supporting the goals and ideals of National Urban Crimes Awareness Week.","HCONRES227","Expresses the sense of Congress that: (1) National Urban Crimes Awareness Week provides a<br>special opportunity to educate Americans about urban violence; and (2) it is appropriate<br>to acknowledge victims of urban violence and to commend efforts to prevent such violence.<br>Calls for recognition of: (1) national and community organizations and private sector<br>supporters for their work in promoting awareness about urban violent crimes and in<br>assisting victims, families, and survivors of such crimes; ..."],["To authorize appropriations for fiscal year 2010 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR2701","Intelligence Authorization Act for Fiscal Year 2010 - Title I: Budget and Personnel<br>Authorizations - (Sec. 101) Permits, for purposes of provisions of the National Security<br>Act of 1947 concerning the funding of intelligence activities, appropriated funds<br>available to an intelligence agency to be obligated or expended for an intelligence or<br>intelligence-related activity as appropriated for FY2010, as modified by such<br>reprogramming and transfers of funds authorized by and reported to the approp..."],["Recognizing the difficult challenges Black veterans faced when returning home after<br>serving in the Armed Forces, their heroic military sacrifices, and their patriotism in<br>fighting for equal rights and for the dignity of a people and a Nation.","HCONRES238","Recognizes the difficult challenges Black veterans faced when returning home after serving<br>in the Armed Forces, their heroic military sacrifices, and their patriotism in fighting<br>for equal rights and for the dignity of a people and a nation.Recognizes the need for the<br>Department of Veterans Affairs (VA) to continue to work to eliminate any health and<br>benefit disparities for our nation's minority veterans."],["To reauthorize Federal natural hazards reduction programs, and for other purposes.","HR3820","Natural Hazards Risk Reduction Act of 2010 - Title I: Earthquakes - (Sec. 101) National<br>Earthquake Hazards Reduction Program Reauthorization Act of 2010 - Amends the Earthquake<br>Hazards Reduction Act of 1977 to revise and reauthorize the National Earthquake Hazards<br>Reduction Program through FY2014. Repeals provisions establishing the Interagency<br>Coordinating Committee on Earthquake Hazards Reduction and an associated advisory<br>committee. Revises responsibilities of Program agencies, including b..."],["Supporting the goals and ideals of National Engineers Week, and for other purposes.","HRES1097","Supports the goals and ideals of National Engineers Week. Declares that the House of<br>Representatives continues to work with the engineering community to ensure that the<br>creativity and contributions made by engineers can be expressed through research,<br>development, standardization, and innovation."],["Providing for consideration of the bill (H.R. 4247) to prevent and reduce the use of<br>physical restraint and seclusion in schools, and for other purposes.","HRES1126","Sets forth the rule for consideration of the bill (H.R. 4247) to prevent and reduce the<br>use of physical restraint and seclusion in schools."],["Congratulating the United States Military Academy at West Point on being named by Forbes<br>magazine as America's Best College for 2009.","HRES747","Congratulates the United States Military Academy on being named by Forbes magazine as<br>America's Best College for 2009. Supports the Academy's mission \"to educate, train, and<br>inspire the Corps of Cadets so that each graduate is a commissioned leader of character<br>committed to the values of Duty, Honor, Country and prepared for a career of professional<br>excellence and service to the nation as an officer in the U.S. Army.\""],["Encouraging individuals across the United States to participate in the 2010 Census to<br>ensure an accurate and complete count beginning April 1, 2010, and expressing support for<br>designation of March 2010 as Census Awareness Month.","HRES1096","Expresses support for the designation of Census Awareness Month. Encourages individuals to<br>participate in the 2010 Census beginning April 1, 2010, and urges state, local, county,<br>and tribal governments and other organizations to emphasize its importance."],["To prevent and reduce the use of physical restraint and seclusion in schools, and for<br>other purposes.","HR4247","Keeping All Students Safe Act - (Sec. 5) Directs the Secretary of Education (Secretary) to<br>establish minimum standards that: (1) prohibit elementary and secondary school personnel<br>from managing any student by using any mechanical or chemical restraint, physical<br>restraint or escort that restricts breathing, or aversive behavioral intervention that<br>compromises student health and safety; (2) prohibit such personnel from using physical<br>restraint or seclusion, unless such measures are required to ..."],["Expressing concern regarding the suicide plane attack on Internal Revenue Service<br>employees in Austin, Texas.","HRES1127","Condemns the suicide plane attack against the Internal Revenue Service (IRS) in Austin,<br>Texas, on February 18, 2010, and commends IRS employees for their dedication and public<br>service. Honors Vernon Hunter, a victim of the attack, Shane Hill, who suffered severe<br>injuries, and all those who were injured while serving their country. Recognizes the<br>heroic actions of the first responders, emergency services personnel, IRS employees, and<br>citizens on the ground, such as Robert De Haven, whose actio..."],["Recognizing the importance and significance of the 2010 Census and encouraging each<br>community within the Indian Country to name an elder to be the first member of that<br>community to answer the 2010 Census.","HRES1086","Recognizes the importance of the 2010 Census and encourages full participation. Encourages<br>each community within Indian Country to name an elder to be the first member of that<br>community to answer the Census."],["Designating March 2, 2010, as \"Read Across America Day\".","HRES1111","Honors Theodor Geisel (Dr. Seuss) for his success in encouraging children to discover the<br>joy of reading. Honors the 13th anniversary of Read Across America Day, which occurs on<br>March 2, 2010. Encourages parents to read with their children for at least 30 minutes on<br>Read Across America Day."],["Providing for consideration of the Senate amendment to the bill (H.R. 2847) making<br>appropriations for the Departments of Commerce and Justice, and Science, and Related<br>Agencies for the fiscal year ending September 30, 2010, and for other purposes.","HRES1137","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2847)<br>making appropriations for the Departments of Commerce and Justice, and Science, and<br>Related Agencies for the fiscal year ending September 30, 2010."],["Expressing the support of the House of Representatives for the goals and ideals of the<br>National School Lunch Program.","HRES362","Supports the National School Lunch Program, and recognizes that our pupils deserve access<br>to high-quality, safe, and nutritious meals in school."],["To establish a National Harmful Algal Bloom and Hypoxia Program, to develop and coordinate<br>a comprehensive and integrated strategy to address harmful algal blooms and hypoxia, and<br>to provide for the development and implementation of comprehensive regional action plans<br>to reduce harmful algal blooms and hypoxia.","HR3650","Harmful Algal Blooms and Hypoxia Research and Control Amendments Act of 2010 - (Sec. 4)<br>Amends the Harmful Algal Bloom and Hypoxia Research and Control Act of 1998 to require the<br>Under Secretary of Commerce for Oceans and Atmosphere, through the Inter-Agency Task Force<br>on Harmful Algal Blooms and Hypoxia, to establish and maintain a National Harmful Algal<br>Bloom and Hypoxia Program. Directs the Under Secretary, through the Program, to coordinate<br>the efforts of the Task Force to: (1) develop an..."],["Honoring John E. Warnock, Charles M. Geschke, Forrest M. Bird, Esther Sans Takeuchi, and<br>IBM Corporation for receiving the 2008 National Medal of Technology and Innovation.","HRES935","Recognizes and honors the innovative technological achievements of John E. Warnock,<br>Charles M. Geschke, Forrest M. Bird, Esther Sans Takeuchi, and the IBM Corporation and<br>congratulates them for receiving the 2008 National Medal of Technology and Innovation."],["Providing for consideration of the concurrent resolution (H. Con. Res. 248) directing the<br>President, pursuant to section 5(c) of the War Powers Resolution, to remove the United<br>States Armed Forces from Afghanistan.","HRES1146","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 248)<br>directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Afghanistan."],["Recognizing the plight of people with albinism in East Africa and condemning their murder<br>and mutilation.","HRES1088","Condemns the murder and mutilation of adults and children with albinism for their body<br>parts. Supports people with albinism in East Africa who have been the victims of such<br>attacks. Recognizes that such murder and mutilation is a gross violation of human rights.<br>Urges governments in East Africa, particularly the governments of Tanzania and Burundi, to<br>prevent further violence against such persons and to bring to justice those who have<br>engaged in such reprehensible practices. Calls upon govern..."],["To protect the integrity of the constitutionally-mandated United States census and<br>prohibit deceptive mail practices that attempt to exploit the decennial census.","HR4621","Prevent Deceptive Census Look Alike Mailings Act - Declares matter that bears the term<br>\"census\" on its envelope, outside cover, or wrapper, but that constitutes a solicitation<br>by a nongovernmental entity, to be nonmailable by the United States Postal Service,<br>unless: (1) it satisfies one of the exceptions specified for otherwise nonmailable matter<br>under existing law (such as displaying an appropriate disclaimer); and (2) its envelope,<br>outside cover, or wrapper bears on its face an accurate re..."],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Afghanistan.","HCONRES248","Directs the President, pursuant to the War Powers Resolution, to remove the U.S. Armed<br>Forces from Afghanistan: (1) by no later than 30 days after this resolution is adopted; or<br>(2) if the President determines that it is not safe to remove them by such date, by no<br>later than December 31, 2010, or such earlier date that the President determines that they<br>can be safely removed."],["Commemorating the 45th anniversary of Bloody Sunday and the role that it played in<br>ensuring the passage of the Voting Rights Act of 1965.","HCONRES249","Commemorates the 45th anniversary of Bloody Sunday, and observes and celebrates the 45th<br>anniversary of the enactment of the Voting Rights Act of 1965. Pledges the House of<br>Representatives to advance the legacy of the Voting Rights Act of 1965 to ensure its<br>continued effectiveness in protecting the voting rights of all people in the United<br>States. Encourages all people in the United States to reflect upon the sacrifices of the<br>Bloody Sunday marchers and acknowledge that their sacrifice made p..."],["Expressing condolences to the families of the victims of the February 27, 2010, earthquake<br>in Chile, as well as solidarity with and support for the people of Chile as they plan for<br>recovery and reconstruction.","HRES1144","Declares that the House of Representatives mourns the significant loss of life, as well as<br>the physical damage, caused by the February 27, 2010, earthquake and resulting tsunami in<br>Chile. Expresses the deepest condolences of the House and sympathy to the families of the<br>victims. Recognizes that Chile is a close ally and friend of the United States, and that<br>its embrace of democratic ideals and the Chilean government's ability to implement strict<br>building standards greatly mitigated the impact..."],["Impeaching G. Thomas Porteous, Jr., judge of the United States District Court for the<br>Eastern District of Louisiana, for high crimes and misdemeanors.","HRES1031","Impeaches G. Thomas Porteous, Jr., judge of the U.S. District Court for the Eastern<br>District of Louisiana, for high crimes and misdemeanors. Sets forth articles of<br>impeachment. Declares that, while a U.S. district court judge, G. Thomas Porteous, engaged<br>in a pattern of conduct incompatible with the trust and confidence placed in him as a<br>judge. Declares that Judge Porteous denied a motion to recuse himself from a case where<br>one of the parties was represented by a corrupt law firm with which ..."],["To authorize the appointment of additional bankruptcy judges, and for other purposes.","HR4506","Bankruptcy Judgeship Act of 2010 - Amends the federal judicial code to authorize the<br>appointment of additional permanent bankruptcy judges in various states. Converts certain<br>temporary offices of bankruptcy judges to permanent offices in specified states. Extends<br>certain temporary offices of bankruptcy judges previously authorized for Pennsylvania and<br>North Carolina. Increases bankruptcy filing fees. Reduces the amount of bankruptcy fees to<br>be deposited as offsetting collections to the United..."],["Recognizing the University of Arizona's 125 years of dedication to excellence in higher<br>education.","HRES1145","Recognizes the University of Arizona for 125 years of dedication to excellence in higher<br>education. Thanks the school for its contribution to the betterment of this country."],["Recognizing the cultural and historical significance of Nowruz, expressing appreciation to<br>Iranian-Americans for their contributions to society, and wishing Iranian-Americans and<br>the people of Iran a prosperous new year.","HRES267","Recognizes the cultural and historical significance of Nowruz and wishes Iranian-<br>Americans, the people of Iran, and all those who observe this holiday a prosperous new<br>year. Expresses appreciation for Iranian-Americans' contributions to U.S. society."],["Expressing the support of the House of Representatives for the goals and ideals of Red<br>Cross Month.","HRES311","Supports the goals of Red Cross Month. Recognizes the contributions of American National<br>Red Cross volunteers in times of natural and human-caused disasters and in times of armed<br>conflict. Encourages the people of the United States to \"Get a Kit, Make a Plan, and Be<br>Informed.\""],["Thanking Vancouver for hosting the world during the 2010 Winter Olympics and honoring the<br>athletes from Team USA.","HRES1128","Congratulates Vancouver, Team USA, and the athletes of the world for an outstanding and<br>inspiring 2010 Winter Olympics.Wishes participants in the 2010 Paralympic Winter Games<br>success."],["Recognizing the 150th anniversary of Augustana College.","HRES1089","Congratulates Augustana College, in Rock Island, Illinois, on its 150th anniversary.<br>Commends its excellence in academics, athletics, and student quality of life. Expresses<br>the House of Representatives' best wishes for the school's continued success."],["Congratulating the 2009-2010 University of Maryland Men's Basketball Team, Greivis<br>Vasquez, and Coach Gary Williams on an outstanding season.","HRES1184","Congratulates: (1) the University of Maryland Men's Basketball Team on an outstanding<br>season; (2) Greivis Vasquez on being named the 2009-2010 Atlantic Coast Conference Player<br>of the Year; and (3) Gary Williams on being named the 2009-2010 Atlantic Coast Conference<br>Coach of the Year."],["Honoring the accomplishments of Supreme Court Justice Sandra Day O'Connor, the first woman<br>to serve on the United States Supreme Court.","HRES1141","Honors the achievements and distinguished career of Justice Sandra Day O'Connor and<br>recognizes her impact as an American symbol of hard work and rugged individualism."],["A bill to prevent tobacco smuggling, to ensure the collection of all tobacco taxes, and<br>for other purposes.","S1147","Prevent All Cigarette Trafficking Act of 2009 or PACT Act - Amends the Jenkins Act to<br>revise provisions governing the collection of taxes on, and trafficking in, cigarettes and<br>smokeless tobacco. (Sec. 2) Revises the definition of \"cigarette\" to include roll-your-own<br>tobacco and to exclude cigars. Defines \"delivery sale\" to mean any sale of cigarettes or<br>smokeless tobacco to a consumer ordered by telephone, the mails, or the Internet or other<br>online service . Redefines \"person\" to include sta..."],["To release Federal reversionary interests retained on certain lands acquired in the State<br>of Florida under the Bankhead-Jones Farm Tenant Act, to authorize the interchange of<br>National Forest System land and State land in Florida, to authorize an additional<br>conveyance under the Florida National Forest Land Management Act of 2003, and for other<br>purposes.","HR3954","Florida National Forest Land Adjustment Act of 2010 - (Sec. 2) Directs the Secretary of<br>Agriculture (USDA) to release, convey, and quitclaim to the state of Florida, without<br>monetary consideration, all interest of the United States in and to those lands within or<br>adjacent to the Blackwater River and Withlacoochee State Forests that were conveyed to the<br>state under the authority of the Bankhead-Jones Farm Tenant Act or under any other law<br>authorizing conveyance subject to restrictions or rever..."],["To enhance citizen access to Government information and services by establishing that<br>Government documents issued to the public must be written clearly, and for other purposes.","HR946","Plain Writing Act of 2010 - Requires the head of each executive agency to: (1) designate<br>one or more senior officials within the agency to oversee the agency's implementation of<br>this Act; (2) communicate this Act's requirements to the agency's employees; (3) train<br>agency employees in \"plain writing\" (defined as writing that is clear, concise, well-<br>organized, and follows other best practices appropriate to the subject or field and<br>intended audience); (4) establish a process for overseeing the ..."],["To require any amounts remaining in a Member's Representational Allowance at the end of a<br>fiscal year to be deposited in the Treasury and used for deficit reduction or to reduce<br>the Federal debt.","HR4825","Requires any amounts remaining of House Members' Representational Allowances after all<br>payments are made for the year to be deposited in the Treasury and used for deficit<br>reduction or, in fiscal years for which there is no federal budget deficit, to reduce the<br>federal debt."],["Providing for consideration of motions to suspend the rules.","HRES1190","Makes it in order at any time through the calendar day of March 21, 2010, for the Speaker<br>of the House of Representatives to entertain motions that the House suspend the rules."],["To reauthorize State agricultural mediation programs under title V of the Agricultural<br>Credit Act of 1987.","HR3509","Agricultural Credit Act of 2010 - Amends the Agricultural Credit Act of 1987 to authorize<br>appropriations through FY2015 for state agricultural loan mediation programs."],["Recognizing the 100th anniversary of the Vermont Long Trail, the oldest long-distance<br>hiking trail in the United States, and congratulating the Green Mountain Club for its<br>century of dedication in developing and maintaining the trail.","HRES1173","Recognizes the 100th anniversary of the Long Trail in Vermont, the oldest long-distance<br>hiking trail in the United States, and congratulates the Green Mountain Club for its<br>century of dedication in developing and maintaining the Trail."],["Providing for consideration of the bill (H.R. 3644) to direct the National Oceanic and<br>Atmospheric Administration to establish education and watershed programs which advance<br>environmental literacy, including preparedness and adaptability for the likely impacts of<br>climate change in coastal watershed regions, and providing for consideration of the bill<br>(H.R. 1612) to amend the Public Lands Corps Act of 1993 to expand the authorization of the<br>Secretaries of Agriculture, Commerce, and the Interior to provide service-learning<br>opportunities on public lands, help restore the Nation's natural, cultural, historic,<br>archaeological, recreational, and scenic resources, train a new generation of public land<br>managers and enthusiasts, and promote the value of public service.","HRES1192","Sets forth the rule for consideration of the bill (H.R. 3644) to direct the National<br>Oceanic and Atmospheric Administration to establish education and watershed programs which<br>advance environmental literacy, including preparedness and adaptability for the likely<br>impacts of climate change in coastal watershed regions, and providing for consideration of<br>the bill (H.R. 1612) to amend the Public Lands Corps Act of 1993 to expand the<br>authorization of the Secretaries of Agriculture, Commerce, and t..."],["To promote Department of the Interior efforts to provide a scientific basis for the<br>management of sediment and nutrient loss in the Upper Mississippi River Basin, and for<br>other purposes.","HR3671","Upper Mississippi River Basin Protection Act - (Sec. 3) Declares that it is the policy of<br>Congress that federal investments in the Upper Mississippi River Basin must be guided by<br>sound science. Title I: Sediment and Nutrient Monitoring Network - (Sec. 101) Directs the<br>Secretary of the Interior, acting through the United States Geological Survey (USGS), to<br>establish a nutrient and sediment monitoring network for the Upper Mississippi River Basin<br>as part of the Upper Mississippi River Stewardsh..."],["To direct the National Oceanic and Atmospheric Administration to establish education and<br>watershed programs which advance environmental literacy, including preparedness and<br>adaptability for the likely impacts of climate change in coastal watershed regions.","HR3644","Ocean, Coastal, and Watershed Education Act - (Sec. 4) Directs the Administrator of the<br>National Oceanic and Atmospheric Administration (NOAA) to establish the Environmental<br>Literacy Grant Program, a competitive grant program that provides financial assistance to:<br>(1) expand the adoption of coastal, ocean, Great Lakes, and climate on all time scales<br>education; (2) build administrative and technical capacity with coastal, ocean, and<br>watershed communities and stakeholder groups to enhance their..."],["To direct the Secretary of the Interior to conduct a special resource study to evaluate<br>resources in the Hudson River Valley in the State of New York to determine the suitability<br>and feasibility of establishing the site as a unit of the National Park System, and for<br>other purposes.","HR4003","Hudson River Valley Special Resource Study Act - Directs the Secretary of the Interior to<br>complete a special resource study of the Hudson River Valley in the state of New York to<br>evaluate: (1) the national significance of the part of the Hudson River that flows from<br>Rodgers Island at Fort Edward to the southern-most boundary of Westchester County, New<br>York, including any relevant sites and landscapes within counties in New York that abut<br>that part of the River (the study area); and (2) the su..."],["Recognizing the extraordinary number of African-Americans who have overcome significant<br>obstacles to enhance innovation and competitiveness in the field of science in the United<br>States.","HRES1133","Recognizes the extraordinary number of African-Americans who have overcome significant<br>obstacles to enhance innovation and competitiveness in the field of science in the United<br>States. Honors and recognizes African-American innovators who have contributed to<br>scientific education and research and whose contributions have increased economic<br>empowerment in the United States. Encourages the Obama administration to invest in<br>programs proven effective to lessen the achievement gap of African-Americ..."],["Recognizing the 50th anniversary of the historic dive to the Challenger Deep in the<br>Mariana Trench, the deepest point in the world's oceans, on January 23, 1960, and its<br>importance to marine research, ocean science, a better understanding of the planet, and<br>the future of human exploration.","HRES1027","Recognizes: (1) the 50th anniversary of the dive to the Challenger Deep in the Mariana<br>Trench and its historic scientific contributions; (2) the lifetime achievements of Captain<br>Don Walsh and Jacques Piccard and their contributions to the furtherance of exploration<br>and ocean science; (3) the Mariana Trench as one of the world's great ocean classrooms;<br>and (4) the U.S. commitment to educate future leaders in ocean science and human<br>exploration."],["To amend the Public Lands Corps Act of 1993 to expand the authorization of the Secretaries<br>of Agriculture, Commerce, and the Interior to provide service-learning opportunities on<br>public lands, help restore the nation's natural, cultural, historic, archaeological,<br>recreational, and scenic resources, train a new generation of public land managers and<br>enthusiasts, and promote the value of public service.","HR1612","Public Lands Service Corps Act of 2010 - Amends the Public Lands Corps Act of 1993 to<br>rename: (1) the Public Lands Corps Act of 1993 as the Public Lands Service Corps Act of<br>1993; and (2) the Public Lands Corps as the Public Lands Service Corps (the Corps).<br>Creates a grant program for the establishment of Indian Youth Service Corps so that Indian<br>youth can carry out projects on Indian lands determined to be priorities by their tribes<br>and communities. Defines \"appropriate natural and cultural ..."],["To amend the Internal Revenue Code of 1986 to ensure that health coverage provided by the<br>Department of Defense is treated as minimal essential coverage.","HR4887","TRICARE Affirmation Act - Amends the Internal Revenue Code to provide that health care<br>coverage provided by the TRICARE program and the Nonappropriated Fund Health Benefits<br>Program of the Department of Defense (DOD) shall constitute minimal essential health care<br>coverage as required by the Patient Protection and Affordable Care Act."],["Honoring the life and accomplishments of Donald Harington for his contributions to<br>literature in the United States.","HRES1040","Honors the life and accomplishments of Donald Harington for his contributions to<br>literature in the United States."],["Supporting the goals and ideals of National Women's History Month.","HRES1174","Expresses support for the goals and ideals of National Women's History Month.Recognizes<br>and honors the women and organizations in the United States that have fought for and<br>continue to promote the teaching of women's history."],["Providing for consideration of the Senate amendments to the bill (H.R. 3590) to amend the<br>Internal Revenue Code of 1986 to modify the first-time homebuyers credit in the case of<br>members of the Armed Forces and certain other Federal employees, and for other purposes,<br>and providing for consideration of the bill (H.R. 4872) to provide for reconciliation<br>pursuant to section 202 of the concurrent resolution on the budget for fiscal year 2010.","HRES1203","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 3590) to<br>amend the Internal Revenue Code to modify the first-time homebuyers credit in the case of<br>members of the Armed Forces and certain other federal employees, and for other purposes,<br>and providing for consideration of the bill (H.R. 4872) to provide for reconciliation<br>pursuant to section 202 of the concurrent resolution on the budget for FY2010. Makes it in<br>order to consider a single motion offered by the Ma..."],["Supporting the goals and ideals of a Cold War Veterans Recognition Day to honor the<br>sacrifices and contributions made by members of the Armed Forces during the Cold War and<br>encouraging the people of the United States to participate in local and national<br>activities honoring the sacrifices and contributions of those individuals.","HRES900","Honors the sacrifices and contributions made by members of the Armed Forces during the<br>Cold War. Encourages the people of the United States to participate in local and national<br>activities honoring such sacrifices and contributions."],["Expressing the sense of the House of Representatives regarding the meritorious service<br>performed by aviators in the United States Armed Forces who were shot down over, or<br>otherwise forced to land in, hostile territory yet evaded enemy capture or were captured<br>but subsequently escaped.","HRES925","Expresses the sense of the House of Representatives that: (1) aviators who were forced to<br>evade or escape enemy capture, were captured but subsequently escaped to return to their<br>units and resume their service, or were compelled to endure arduous confinement,<br>retaliation, and even death as of a result of their efforts to evade or escape capture<br>should be publicly recognized for their extraordinary service; and (2) the Secretaries of<br>the military departments should consider these aviators for ..."],["To provide for reconciliation pursuant to section 202 of the concurrent resolution on the<br>budget for fiscal year 2010.","HR4872","(This measure has not been amended since it was passed by the Senate on March 25, 2010.<br>The summary of that version is repeated here.) Health Care and Education Reconciliation<br>Act of 2010 - Title I: Coverage, Medicare, Medicaid, and Revenues - Subtitle A: Coverage -<br>(Sec. 1001) Amends Internal Revenue Code provisions added by the Patient Protection and<br>Affordable Care Act (PPACA) to revise the formula for calculating the refundable tax<br>credit for premium assistance for coverage under a qualif..."],["Recognizing the 65th anniversary of the Battle of Iwo Jima.","HRES1099","Recognizes the 65th anniversary of the Battle of Iwo Jima (World War II). Recognizes and<br>commends all members of the U.S. Armed Forces who participated in such Battle for their<br>service and sacrifice, with particular honor and gratitude to those gallant Americans who<br>gave their lives during such Battle in defense of the United States and freedom."],["Expressing the sense of the House of Representatives that all people in the United States<br>should participate in a moment of silence to reflect upon the service and sacrifice of<br>members of the United States Armed Forces both at home and abroad.","HRES1119","Expresses the sense of the House of Representatives that all Americans should participate<br>in a moment of silence (on March 26, 2010, National Support Our Troops Day) to reflect<br>upon the service and sacrifice of members of the U.S. Armed Forces both at home and<br>abroad, and their families."],["To amend title 38, United States Code, to make certain improvements in the services<br>provided for homeless veterans under the laws administered by the Secretary of Veterans<br>Affairs.","HR4810","End Veteran Homelessness Act of 2010 - Extends through FY2010, and increases the amount<br>of, the authorization of appropriations for Department of Veterans Affairs (VA)<br>comprehensive service programs for homeless veterans. Revises provisions concerning<br>payments for providing services for homeless veterans to direct the Secretary of Veterans<br>Affairs to annually adjust the rate of such payment to reflect anticipated changes in the<br>cost of furnishing services and to take into account the cost of ..."],["To increase, effective as of December 1, 2010, the rates of compensation for veterans with<br>service-connected disabilities and the rates of dependency and indemnity compensation for<br>the survivors of certain disabled veterans, and for other purposes.","HR4667","Veterans' Compensation Cost-of-Living Adjustment Act of 2010 - Directs the Secretary of<br>Veterans Affairs (VA) to increase, as of December 1, 2010, the rates of veterans'<br>disability compensation, additional compensation for dependents, the clothing allowance<br>for certain disabled veterans, and dependency and indemnity compensation for surviving<br>spouses and children. Requires each such increase to be the same percentage as the<br>increase in benefits provided under title II (Old Age, Survivors and ..."],["Providing for consideration of the bill (H.R. 4849) to amend the Internal Revenue Code of<br>1986 to provide tax incentives for small business job creation, extend the Build America<br>Bonds program, provide other infrastructure job creation tax incentives, and for other<br>purposes.","HRES1205","Sets forth the rule for consideration of the bill (H.R. 4849) to amend the Internal<br>Revenue Code of 1986 to provide tax incentives for small business job creation, extend the<br>Build America Bonds program, provide other infrastructure job creation tax incentives."],["Recognizing and honoring the Blinded Veterans Association on its 65th anniversary of<br>representing blinded veterans and their families.","HJRES80","Expresses appreciation for the efforts of the Blinded Veterans Association in improving<br>rehabilitation services, education, and benefits for blinded veterans. Supports the goals<br>and ideals of Blinded Veterans Day, and calls upon the people of the United States to<br>observe such Day."],["Expressing support for designation of April as National Distracted Driving Awareness<br>Month.","HRES1186","Supports the designation of Distracted Driving Awareness Month. Encourages all people in<br>the United States to consider the lives of others on the road and avoid distracted<br>driving."],["To extend certain expiring provisions providing enhanced protections for servicemembers<br>relating to mortgages and mortgage foreclosure.","HR3976","Helping Heroes Keep Their Homes Act of 2010 - Amends the Housing and Economic Recovery Act<br>of 2008 to extend through December 31, 2015, specified protections for servicemembers<br>relating to mortgages and mortgage foreclosures. Delays until January 1, 1916, revival of<br>provisions of the Servicemembers Civil Relief Act: (1) allowing, or upon servicemember<br>application requiring, a stay of court proceedings to enforce and adjust a mortgage<br>obligation when the servicemember's ability to comply with ..."],["To provide for the establishment of a pilot program to encourage the employment of<br>veterans in energy-related positions.","HR4592","Energy Jobs for Veterans Act - Directs the Secretary of Labor to establish a five-year<br>pilot program (to be known as the Veterans Energy-Related Employment Program) to award<br>competitive grants to three states to establish and administer a program of grants to<br>energy industry employers and labor management organizations that provide training,<br>apprenticeships, and certification classes to veterans employed by an energy employer.<br>Requires annual reports from the Secretary to Congress for the dur..."],["Providing for an adjournment or recess of the two Houses.","HCONRES257","Declares that when the House adjourns on any legislative day from Wednesday, March 24,<br>2010, through Monday, March 29, 2010, it stand adjourned until 2 p.m. on Tuesday, April<br>13, 2010. Declares that when the Senate recesses or adjourns on any day from Thursday,<br>March 25, 2010, through Wednesday, March 31, 2010, it stand recessed or adjourned until<br>noon on Monday, April 12, 2010."],["Providing for consideration of the bill (H.R. 4899) making emergency supplemental<br>appropriations for disaster relief and summer jobs for the fiscal year ending September<br>30, 2010, and for other purposes.","HRES1204","Sets forth the rule for consideration of the bill (H.R. 4899) making emergency<br>supplemental appropriations for disaster relief and summer jobs for the fiscal year ending<br>September 30, 2010."],["To amend the Internal Revenue Code of 1986 to provide tax incentives for small business<br>job creation, extend the Build America Bonds program, provide other infrastructure job<br>creation tax incentives, and for other purposes.","HR4849","Small Business and Infrastructure Jobs Tax Act of 2010 - Title I: Small Business Tax<br>Incentives - Subtitle A: General Provisions - (Sec. 101) Amends the Internal Revenue Code<br>to allow a 100% exclusion from gross income of the gain from the sale of qualified small<br>business stock acquired after March 15, 2010, and before January 1, 2012. Exempts such<br>gain from the alternative minimum tax (AMT). Subtitle B: Limitations and Reporting on<br>Certain Penalties - (Sec. 111) Limits the penalty for failur..."],["To require the Director of the Office of Management and Budget to issue guidance on the<br>use of peer-to-peer file sharing software to prohibit the personal use of such software by<br>Government employees, and for other purposes.","HR4098","Secure Federal File Sharing Act - Requires the Director of the Office of Management and<br>Budget (OMB) to issue guidance to: (1) prohibit the download, installation, or use by<br>government employees and contractors of open-network peer-to-peer file sharing software on<br>all federal computers, computer systems, and networks, unless approved in accordance with<br>procedures under this Act; and (2) address the download, installation, or use by<br>government employees and contractors of such software on home..."],["Making emergency supplemental appropriations for disaster relief and summer jobs for the<br>fiscal year ending September 30, 2010, and for other purposes.","HR4899","Supplemental Appropriations Act, 2010 - Makes emergency supplemental appropriations for<br>FY2010. Title I - Chapter 1: Department of Agriculture - Appropriates supplemental FY2010<br>funds to the Department of Agriculture for the Farm Service Agency's Agricultural Credit<br>Insurance Fund Program Account, the Emergency Forest Restoration Program, and the Foreign<br>Agricultural Service's Food for Peace Title II Grants for emergency relief and<br>rehabilitation for Haiti. Chapter 2: Department of Commerce -..."],["Providing for consideration of the Senate amendments to the bill (H.R. 1586) to impose an<br>additional tax on bonuses received from certain TARP recipients, and for other purposes.","HRES1212","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 1586) to<br>impose an additional tax on bonuses received from certain TARP recipients."],["Supporting the goals and ideals of National Public Works Week, and for other purposes.","HRES1125","Expresses support for the goals and ideals of National Public Works Week. Recognizes and<br>celebrates the 50th anniversary of such Week."],["Providing for consideration of the Senate amendments to the bill (H.R. 4872) to provide<br>for reconciliation pursuant to Title II of the concurrent resolution on the budget for<br>fiscal year 2010 (S.Con.Res. 13).","HRES1225","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 4872) to<br>provide for reconciliation pursuant to Title II of the concurrent resolution on the budget<br>for fiscal year 2010 (S.Con.Res. 13)."],["Expressing support for Bangladesh's return to democracy.","HRES1215","Supports the people of Bangladesh and encourages the strengthening of democracy in<br>Bangladesh. Urges the government of Bangladesh to: (1) work with all political leaders to<br>continue reconciliation; and (2) protect the rights of religious and ethnic minorities.<br>Urges: (1) the President to coordinate with Bangladesh on matters of security, economic<br>progress, and human rights in South Asia; and (2) the Anti-Corruption Commission in<br>Bangladesh to continue efforts to eradicate corruption. Encourag..."],["Congratulating and commending the University of Idaho's football team for winning the 2009<br>Humanitarian Bowl in Boise, Idaho.","HRES1041","Congratulates the University of Idaho's football team for winning the 2009 Humanitarian<br>Bowl in Boise, Idaho."],["Commending the Boise State University Broncos football team for winning the 2010 Fiesta<br>Bowl.","HRES1042","Commends the Boise State University Broncos football team for winning the 2010 Fiesta Bowl<br>and for completing an undefeated, 14-0 season."],["Honoring the coal miners who perished in the Upper Big Branch Mine-South in Raleigh<br>County, West Virginia, extending condolences to their families and recognizing the valiant<br>efforts of emergency response workers at the mine disaster.","HRES1236","Recognizes the ultimate sacrifice made by the 29 coal miners lost at the Upper Big Branch<br>Mine-South, Raleigh County, West Virginia. Extends the deepest condolences of the nation<br>to the families of these men. Recognizes all coal miners for enduring the loss of their<br>coworkers and maintaining courage throughout this ordeal. Commends the rescue crews for<br>their valiant efforts to find these miners. Honors the many volunteers who provided<br>support and comfort for the miners' families during the re..."],["To amend the Internal Revenue Code of 1986 to reduce taxpayer burdens and enhance taxpayer<br>protections, and for other purposes.","HR4994","(This measure has not been amended since it was passed by the Senate on December 8, 2010.<br>The summary of that version is repeated here.) Medicare and Medicaid Extenders Act of 2010<br>- Title I: Extensions - (Sec. 101) Amends title XVIII (Medicare) of the Social Security<br>Act (SSA) to set the 2011 update to the single conversion factor in the formula for the<br>physicians' fee schedule at zero (thus freezing the physician payment update for 2011).<br>Requires the conversion factor for 2012 and subseque..."],["To require an inventory of radio spectrum bands managed by the National Telecommunications<br>and Information Administration and the Federal Communications Commission.","HR3125","Radio Spectrum Inventory Act - Amends the National Telecommunications and Information<br>Administration Organization Act to require the National Telecommunications and Information<br>Administration (NTIA) and the Federal Communications Commission (FCC) to: (1) create and<br>maintain an inventory of each radio spectrum band of frequencies listed in the United<br>States Table of Frequency Allocations from 225 megahertz to, at a minimum, 3.7 gigahertz,<br>and to 10 gigahertz unless the NTIA and the FCC determi..."],["Expressing sympathy to the people of Poland in the aftermath of the tragic plane crash<br>that killed the country's President, First Lady, and 94 others on April 10, 2010.","HRES1246","Mourns the death of Polish President Kaczynski and the terrible loss of life that resulted<br>from the plane crash of April 10, 2010. Expresses: (1) deepest sympathies to the people of<br>Poland and to the families of those who perished; (2) solidarity with the people of Poland<br>and all persons of Polish descent; and (3) support for the Polish government as it works<br>to overcome the loss of many key public officials."],["Providing for consideration of the bill (H.R. 4715) to amend the Federal Water Pollution<br>Control Act to reauthorize the National Estuary Program, and for other purposes, waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES1248","Sets forth the rule for consideration of the bill (H.R. 4715) to amend the Federal Water<br>Pollution Control Act to reauthorize the National Estuary Program, and for other purposes,<br>waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules."],["Recognizing the Coast Guard Group Astoria's more than 60 years of service to the Pacific<br>Northwest, and for other purposes.","HRES1062","Recognizes the Coast Guard Group Astoria's more than 60 years of service to the Pacific<br>Northwest."],["To amend the Federal Water Pollution Control Act to reauthorize the National Estuary<br>Program, and for other purposes.","HR4715","Clean Estuaries Act of 2010 - Amends the Federal Water Pollution Control Act (commonly<br>known as the Clean Water Act) to reauthorize the National Estuary Program. Revises the<br>purpose of management conferences convened with respect to estuaries to expand<br>requirements governing a comprehensive conservation and management plan by requiring such<br>a plan to: (1) identify the estuary and the associated upstream waters to be addressed by<br>the plan; (2) identify healthy watershed components for protecti..."],["Congratulating the Duke University men's basketball team for winning the 2010 NCAA<br>Division I Men's Basketball National Championship.","HRES1242","Congratulates the Duke University Blue Devils for winning the 2010 National Collegiate<br>Athletic Association Division I Men's Basketball Tournament."],["To provide a temporary extension of certain programs, and for other purposes.","HR4851","Continuing Extension Act of 2010 - (Sec. 2) Amends the Supplemental Appropriations Act,<br>2008 with respect to the state-established individual emergency unemployment compensation<br>account (EUCA). Extends the final date for entering a federal-state agreement under the<br>Emergency Unemployment Compensation (EUC) program through June 2, 2010. Postpones the<br>termination of the program until November 6, 2010. Amends the Assistance for Unemployed<br>Workers and Struggling Families Act to extend until June ..."],["Supporting the goals and ideals of National Financial Literacy Month, 2010, and for other<br>purposes.","HRES1257","Supports the goals and ideals of Financial Literacy Month, including raising public<br>awareness about financial education. Recognizes the importance of managing personal<br>finances, increasing personal savings, and reducing indebtedness in the United States."],["Honoring the life and achievements of Rev. Benjamin Lawson Hooks.","HRES1271","Honors the life and achievements of Dr. Benjamin Lawson Hooks, for his commitment to<br>justice on the bench in Memphis, Tennessee, for his strong work with the National<br>Association for the Advancement of Colored People (NAACP) to formulate strategies for<br>eliminating barriers to civil rights, and for his leadership in promoting equal<br>opportunity for all."],["A bill to amend title 38, United States Code, to provide assistance to caregivers of<br>veterans, to improve the provision of health care to veterans, and for other purposes.","S1963","Caregivers and Veterans Omnibus Health Services Act of 2010 - Title I: Caregiver Support -<br>(Sec. 101) Directs the Secretary of Veterans Affairs (VA) to establish a program of<br>comprehensive assistance for family caregivers of any veteran who: (1) is undergoing<br>medical discharge from the Armed Forces; (2) has a serious injury incurred or aggravated<br>in the line of duty on or after September 11, 2001; and (3) is in need of personal care<br>services. Includes among such assistance personal care servi..."],["Supporting the mission and goals of 2010 National Crime Victims' Rights Week to increase<br>public awareness of the rights, needs, and concerns of victims and survivors of crime in<br>the United States, no matter their country of origin or their creed, and to commemorate<br>the National Crime Victims' Rights Week theme of \"Crime Victims' Rights: Fairness.<br>Dignity. Respect.\".","HRES1104","Expresses support for the mission and goals of the 2010 National Crime Victims' Rights<br>Week to increase public awareness of the impact on victims and survivors of crime and the<br>constitutional and statutory rights and needs of such victims and survivors. Recognizes<br>that fairness, dignity, and respect comprise the very foundation of how victims and<br>survivors of crime should be treated."],["Congratulating Reverend Daniel P. Coughlin on his tenth year of service as Chaplain of the<br>House of Representatives.","HRES1216","Congratulates Reverend Daniel P. Coughlin on his 10th year of faithful service as Chaplain<br>of the House."],["To designate the facility of the United States Postal Service located at 4285 Payne Avenue<br>in San Jose, California, as the \"Anthony J. Cortese Post Office Building\".","HR4543","Designates the facility of the United States Postal Service located at 4285 Payne Avenue<br>in San Jose, California, as the \"Anthony J. Cortese Post Office Building.\""],["To designate the facility of the United States Postal Service located at 1343 West Irving<br>Park Road in Chicago, Illinois, as the \"Steve Goodman Post Office Building\".","HR4861","Designates the facility of the United States Postal Service located at 1343 West Irving<br>Park Road in Chicago, Illinois, as the \"Steve Goodman Post Office Building.\""],["Expressing support for designation of the week of April 18, 2010, through April 23, 2010,<br>as National Assistant Principals Week.","HRES1131","Supports the designation of National Assistant Principals Week. Honors the contributions<br>of assistant principals to the success of students in schools."],["To ensure the availability of loan guarantees for rural homeowners.","HR5017","Rural Housing Preservation and Stabilization Act of 2010 - Amends the Housing Act of 1949<br>and the Doug Bereuter Section 502 Single Family Housing Loan Guarantee Act to increase<br>from up to 1% to up to 4% the guarantee fee on loans for housing and buildings on adequate<br>farms. Amends the Agriculture, Rural Development, Food and Drug Administration and Related<br>Agencies Appropriation Act, 2001 to repeal the maximum limit on the loan guarantee fee of<br>2%. Amends the Housing Act of 1949 to authorize ..."],["To provide that Members of Congress shall not receive a cost of living adjustment in pay<br>during fiscal year 2011.","HR5146","Eliminates automatic cost of living adjustments for Members of Congress during FY2011."],["To amend title 10, United States Code, to provide for performance management of the<br>defense acquisition system, and for other purposes.","HR5013","Implementing Management for Performance and Related Reforms to Obtain Value in Every<br>Acquisition Act of 2010 - Title I: Defense Acquisition System - (Sec. 101) Directs the<br>Secretary of Defense (DOD) to ensure that: (1) all elements of the defense acquisition<br>system (DAS) are subject to regular performance assessments to ensure maximum acquisition<br>value; (2) the performance of each element is assessed at least annually; (3) such<br>assessments are tailored to reflect the diverse nature of defense..."],["Providing for consideration of the bill (H.R. 2499) to provide for a federally sanctioned<br>self-determination process for the people of Puerto Rico.","HRES1305","Sets forth the rule for consideration of the bill (H.R. 2499) to provide for a federally<br>sanctioned self-determination process for the people of Puerto Rico."],["To provide for a federally sanctioned self-determination process for the people of Puerto<br>Rico.","HR2499","Puerto Rico Democracy Act of 2010 - Authorizes the government of Puerto Rico: (1) to<br>conduct a plebiscite giving voters the option to vote to continue Puerto Rico's present<br>political status or to have a different political status; (2) if a majority of ballots<br>favor continuing the present status, to conduct additional such plebiscites every eight<br>years; and (3) if a majority of ballots favor having a different status, to conduct a<br>plebiscite on the options of becoming fully independent from th..."],["Honoring the National Science Foundation for 60 years of service to the Nation.","HRES1307","Recognizes the significance of the anniversary of the founding of the National Science<br>Foundation (NSF). Acknowledges that 60 years of NSF achievements and service to the United<br>States have advanced our nation's leadership in discovery, innovation, and learning in<br>science, engineering, and mathematics. Reaffirms the commitment of the House of<br>Representatives to support investments in basic research, education, and technological<br>advancement through the NSF, one of the premier scientific organi..."],["Recognizing the need to improve the participation and performance of America's students in<br>Science, Technology, Engineering, and Mathematics (STEM) fields, supporting the ideals of<br>National Lab Day, and for other purposes.","HRES1213","Supports the ideals of National Lab Day (during the first week of May). Calls upon the<br>Office of Science and Technology Policy (OSTP) and the National Science Foundation (NSF)<br>to continue fostering partnerships such as those involved in National Lab Day."],["Honoring the USS New Mexico as the sixth Virginia-class submarine commissioned by the U.S.<br>Navy to protect and defend the United States.","HRES1132","Honors the USS New Mexico (SSN 779) as one of the most advanced submarines in U.S. Navy<br>history. Commends the diligence of the New Mexico Council, Navy League of the United<br>States, and USS New Mexico Commissioning Committee, who contributed to the support of the<br>USS New Mexico. Commends the dedicated craftsmen, designers, engineers, and support staff<br>of the Navy-industry team who contributed vitally to the construction, testing, and trials<br>of the USS New Mexico. Honors Commander Mark Prokopiu..."],["Expressing support for the vigilance and prompt response of the citizens of New York City,<br>the New York Police Department, the New York Police Department Bomb Squad, the Fire<br>Department of New York, other first responders, the Federal Bureau of Investigation,<br>United States Customs and Border Protection, the United States Attorney's Office for the<br>Southern District of New York, the Department of Homeland Security, the Department of<br>Justice, the New York Joint Terrorism Task Force, the Bridgeport Police Department,<br>Detective Bureau, Patrol Division, and other law enforcement agencies in Connecticut to<br>the attempted terrorist attack in Times Square on May 1, 2010, their exceptional<br>professionalism and investigative work following the attempted attack, and their<br>consistent commitment to preparedness for and collective response to terrorism.","HRES1320","Commends Lance Orton and Duane Jackson for promptly alerting authorities about the<br>suspicious vehicle involved in the attempted terrorist attack at Times Square on May 1,<br>2010. Urges: (1) all Americans to remain vigilant about potential terrorist or suspicious<br>activity within their communities and to report such activity to the appropriate<br>authorities; and (2) all federal agencies to continue to work with state, local, and<br>tribal partners to bolster preparedness for and prevention of terroris..."],["Commemorating the 40th anniversary of the May 4, 1970, Kent State University shootings.","HRES1272","Commemorates the 40th anniversary of the Kent State University shootings that occurred on<br>May 4, 1970, by: (1) recognizing the tragedy of the shootings and the implications that<br>the shootings have had not only on Kent State and the local community, but also on the<br>nation and the world; and (2) applauding the development of the May 4 visitors' center as<br>an additional primary resource to preserve and communicate the history of the shootings,<br>its larger ethical and societal context and impact, a..."],["Supporting the goals and ideals of National Train Day.","HRES1301","Recognizes the important contributions trains and Amtrak make to the national<br>transportation system. Supports the goals and ideals of National Train Day as designated<br>by Amtrak. Urges the people of the United States to recognize such a day as an opportunity<br>to celebrate passenger rail and to learn more about trains."],["Providing for consideration of the bill (H.R. 5019) to provide for the establishment of<br>the Home Star Retrofit Rebate Program, and for other purposes.","HRES1329","Sets forth the rule for consideration of the bill (H.R. 5019) to provide for the<br>establishment of the Home Star Retrofit Rebate Program."],["To improve teleworking in executive agencies by developing a telework program that allows<br>employees to telework at least 20 percent of the hours worked in every 2 administrative<br>workweeks, and for other purposes.","HR1722","Telework Enhancement Act of 2010 - (Sec. 2) Requires the head of each executive agency to:<br>(1) establish a policy under which eligible agency employees may be authorized to<br>telework; (2) determine employee eligibility to participate in telework; and (3) notify<br>all employees of their eligibility to telework.Requires the telework policy to: (1) ensure<br>that telework does not diminish employee performance or agency operations; (2) require a<br>written agreement between an agency manager and an emplo..."],["To provide for the establishment of the Home Star Retrofit Rebate Program, and for other<br>purposes.","HR5019","Home Star Energy Retrofit Act of 2010 - Title I: Home Star Retrofit Rebate Program - (Sec.<br>101) Requires the Secretary of Energy (DOE) to: (1) establish the Home Star Retrofit<br>Rebate Program to provide rebates to contractors to be passed through as discounts to<br>homeowners who retrofit their homes to achieve energy savings; (2) establish a Federal<br>Rebate Processing System to allow rebate aggregators to submit claims for reimbursement,<br>quality assurance reports to be identified with the work fo..."],["Providing for consideration of the bill (H.R. 5116) to invest in innovation through<br>research and development, to improve the competitiveness of the United States, and for<br>other purposes.","HRES1344","Sets forth the rule for consideration of the bill (H.R. 5116) to invest in innovation<br>through research and development, to improve the competitiveness of the United States."],["To clarify the health care provided by the Secretary of Veterans Affairs that constitutes<br>minimum essential coverage.","HR5014","Amends the Internal Revenue Code to include children of Vietnam War and certain Korean War<br>veterans receiving care and services through the Department of Veterans Affairs (VA) for<br>spina bifida-related medical conditions and children of women Vietnam veterans born with<br>certain birth defects as meeting the definition of minimum essential coverage under<br>requirements of the Patient Protection and Affordable Care Act (PPACA)."],["Supporting the goals and ideals of National Women's Health Week, and for other purposes.","HCONRES268","Expresses support for the goals and ideals of National Women's Health Week."],["To invest in innovation through research and development, to improve the competitiveness<br>of the United States, and for other purposes.","HR5116","America COMPETES Reauthorization Act of 2010 or America Creating Opportunities to<br>Meaningfully Promote Excellence in Technology, Education, and Science Reauthorization Act<br>of 2010 - Title I: Office of Science and Technology Policy - (Sec. 101) Requires the<br>Director of the Office of Science and Technology Policy (OSTP) to establish a committee<br>under the National Science and Technology Council, including the Office of Management and<br>Budget (OMB), that has the responsibility of coordinating fede..."],["Recognizing the significant accomplishments of AmeriCorps and encouraging all citizens to<br>join in a national effort to raise awareness about the importance of national and<br>community service.","HRES1338","Encourages all citizens to join in a national effort to salute AmeriCorps members and<br>alumni and raise awareness about the importance of national and community service.<br>Acknowledges the significant accomplishments and contributions of AmeriCorps members,<br>alumni, and community partners."],["Expressing the sympathy and condolences of the House of Representatives to those people<br>affected by the flooding in Tennessee, Kentucky, and Mississippi in May, 2010.","HRES1337","Expresses condolences to the families of those who lost their lives or property as the<br>result of flooding beginning on May 2, 2010, in Tennessee, Kentucky, and<br>Mississippi.Expresses: (1) appreciation to the people of Tennessee and the surrounding<br>states who continue to work to protect people from the floodwaters and aid in recovery<br>efforts; and (2) support as the Federal Emergency Management Agency (FEMA) continues to<br>respond to needs of the affected communities.Honors the emergency responder..."],["To amend Public Law 106-392 to maintain annual base funding for the Upper Colorado and San<br>Juan fish recovery programs through fiscal year 2023.","HR2288","Endangered Fish Recovery Programs Improvement Act of 2010 - Authorizes appropriations for<br>FY2012-FY2023 to provide for the annual base funding for the intergovernmental recovery<br>implementation program for the endangered fish species in the Upper Colorado River and the<br>San Juan River, above and beyond the continued use of power revenues collected under the<br>Colorado River Storage Project Act to fund the operation and maintenance of capital<br>projects and monitoring."],["To amend part E of title I of the Omnibus Crime Control and Safe Streets Act of 1968 to<br>provide for incentive payments under the Edward Byrne Memorial Justice Assistance Grant<br>program for States to implement minimum and enhanced DNA collection processes.","HR4614","Katie Sepich Enhanced DNA Collection Act of 2010 - Amends the Omnibus Crime Control and<br>Safe Streets Act of 1968 to increase payments to states under the Edward Byrne Memorial<br>Justice Assistance Grant program for implementing a minimum or an enhanced DNA collection<br>process. Increases such payments by 5% for states that implement a minimum DNA collection<br>process and by 10% for states that implement an enhanced DNA process. Defines \"minimum DNA<br>collection process\" as a process under which the C..."],["To amend the Omnibus Crime Control and Safe Streets Act of 1968 to reauthorize the<br>juvenile accountability block grants program through fiscal year 2014.","HR1514","Juvenile Accountability Block Grants Program Reauthorization Act of 2010 - Amends the<br>Omnibus Crime Control and Safe Streets Act of 1968 to extend through FY2014 the<br>authorization of appropriations for the juvenile accountability block grant program."],["To invest in innovation through research and development, to improve the competitiveness<br>of the United States, and for other purposes.","HR5325","America COMPETES Reauthorization Act of 2010 - Establishes, revises, and extends specified<br>science, technology, education, and mathematics (STEM) programs (including in green energy<br>education), as well as engineering, research, and training programs, and establishes a<br>green chemistry basic research program and a green manufacturing and construction<br>initiative. Authorizes appropriations for FY2011-FY2013 for: (1) the National Science<br>Foundation (NSF); (2) the National Institute of Standards an..."],["Celebrating the life and achievements of Lena Mary Calhoun Horne and honoring her for her<br>triumphs against racial discrimination and her steadfast commitment to the civil rights of<br>all people.","HRES1362","Celebrates the life and achievements of Lena Mary Calhoun Horne and honors her for her<br>triumphs against racial discrimination and her steadfast commitment to the civil rights of<br>all people."],["To designate the facility of the United States Postal Service located at 15 South Main<br>Street in Sharon, Massachusetts, as the \"Michael C. Rothberg Post Office\".","HR5099","Designates the facility of the United States Postal Service located at 15 South Main<br>Street in Sharon, Massachusetts, as the \"Michael C. Rothberg Post Office.\""],["Expressing the sense of the House of Representatives that there should be established a<br>National Teacher Day to honor and celebrate teachers in the United States.","HRES403","Supports the goals and ideals of National Teacher Day."],["Honoring the historic and community significance of the Chatham County Courthouse and<br>expressing condolences to Chatham County and the town of Pittsboro for the fire damage<br>sustained by the courthouse on March 25, 2010.","HRES1364","Expresses condolences to the North Carolina court system, Chatham County, and the town of<br>Pittsboro for the tragic loss of the Chatham County Courthouse. Commends the heroic<br>actions of the Chatham County firefighters and first responders who worked tirelessly to<br>combat the Courthouse fire, minimize the damage to the Courthouse and the historic<br>materials contained therein, and protect the public. Recognizes the community significance<br>of the Courthouse as both the most significant historic land..."],["To authorize assistance to Israel for the Iron Dome anti-missile defense system.","HR5327","United States-Israel Rocket and Missile Defense Cooperation and Support Act - Authorizes<br>the President to provide assistance to the government of Israel for the procurement,<br>maintenance, and sustainment of the Iron Dome Short Range Artillery Rocket Defense System<br>for purposes of intercepting short-range rockets, missiles, and mortars launched against<br>Israel."],["Recognizing North Carolina Central University on its 100th anniversary.","HRES1361","Honors the memory of Dr. James E. Shepard for his role in founding North Carolina Central<br>University in Durham, North Carolina. Celebrates the school's 100th anniversary and<br>recognizes its accomplishments over the past century. Encourages North Carolina's citizens<br>to participate in activities marking this historic occasion."],["Granting the authority provided under clause 4(c)(3) of rule X of the Rules of the House<br>of Representatives to the Committee on Education and Labor for purposes of its<br>investigation into underground coal mining safety.","HRES1363","Grants the House Committee on Education and Labor authority to take depositions under Rule<br>X (Organization of Committees) of the Rules of the House of Representatives in furtherance<br>of its investigation into underground coal mine operator compliance with the Federal Mine<br>Safety and Health Act of 1977, as amended, and into other related matters. Requires the<br>chair of the Committee to report to the Committee on Rules, after the end of the second<br>session of the 111th Congress (or January 2, 2011..."],["To designate the Department of the Interior Building in Washington, District of Columbia,<br>as the \"Stewart Lee Udall Department of the Interior Building\".","HR5128","Designates the United States Department of the Interior Building located at 1849 C Street,<br>NW, in Washington, DC, as the \"Stewart Lee Udall Department of the Interior Building.\""],["Expressing the sense of Congress that a grateful Nation supports and salutes Sons and<br>Daughters in Touch on its 20th Anniversary that is being held on Father's Day, 2010, at<br>the Vietnam Veterans Memorial in Washington, the District of Columbia.","HCONRES278","Declares the sense of Congress that a grateful nation supports and salutes Sons and<br>Daughters in Touch on its 20th Anniversary, being held at the Vietnam Veterans Memorial in<br>Washington, DC."],["To amend the Department of Veterans Affairs Health Care Programs Enhancement Act of 2001<br>and title 38, United States Code, to require the provision of chiropractic care and<br>services to veterans at all Department of Veterans Affairs medical centers and to expand<br>access to such care and services.","HR1017","Chiropractic Care Available to All Veterans Act - Amends the Department of Veterans<br>Affairs Health Care Programs Enhancement Act of 2001 to require a program under which the<br>Secretary of Veterans Affairs provides chiropractic care and services to veterans through<br>Department of Veterans Affairs (VA) medical centers and clinics to be carried out at: (1)<br>no fewer than 75 medical centers by December 31, 2011; and (2) all medical centers by<br>December 31, 2013. Includes chiropractic examinations and..."],["To amend the Antitrust Criminal Penalty Enhancement and Reform Act of 2004 to extend the<br>operation of such Act for a 5-year period ending June 22, 2015, and for other purposes.","HR5330","Amends the Antitrust Criminal Penalty Enhancement and Reform Act of 2004 to: (1) extend<br>until June 22, 2020, provisions of that Act limiting civil damages in antitrust<br>enforcement actions involving conduct covered by antitrust leniency agreements; and (2)<br>revise the timeliness requirements applicable to an antitrust leniency applicant for<br>cooperating in an antitrust enforcement proceeding, including the timeliness of<br>cooperation after a stay or protective order has expired or terminated. Dire..."],["To amend title 38, United States Code, to improve the continuing professional education<br>reimbursement provided to health professionals employed by the Department of Veterans<br>Affairs.","HR5145","Assuring Quality Care for Veterans Act - Authorizes (current law requires) the Secretary<br>of Veterans Affairs (VA) to reimburse any full-time board-certified health professional<br>(under current law, physician or dentist) appointed to the VA for continuing professional<br>education expenses incurred, up to $1,600 per year (under current law, $1,000). Directs<br>that the expenses incurred be required to maintain licensure. Prohibits reimbursement for<br>the same expenses incurred for continuing profession..."],["Expressing support for designation of May 2010 as Mental Health Month.","HRES1258","Expresses support for: (1) the designation of Mental Health Month; and (2) the finding of<br>the President's Commission on Mental Health that recovery from mental illness is a real<br>possibility and steps can be taken to improve the lives of those living with mental<br>illnesses, which will benefit American families, communities, schools, and<br>workplaces.Recognizes that mental well-being is as important as physical well-being for<br>citizens, communities, businesses, and the economy.Applauds the coalesci..."],["Expressing sympathy to the families of those killed by North Korea in the sinking of the<br>Republic of Korea Ship Cheonan, and solidarity with the Republic of Korea in the aftermath<br>of this tragic incident.","HRES1382","Expresses condolences to the families and loved ones of the sailors of the Republic of<br>Korea Ship Cheonan who were killed in action on March 26, 2010. Stands in solidarity with<br>the people and the government of the Republic of Korea in the aftermath of this incident.<br>Reaffirms the commitment of the House of Representatives to the alliance between the<br>Republic of Korea and the United States and to the Republic of Korea's security. Supports<br>the findings and conclusions of the Republic of Korea's..."],["Recognizing the importance of manufactured and modular housing in the United States.","HRES584","Recognizes the importance of manufactured and modular housing to homeownership in the<br>United States. Supports the goals and ideals of National Homeownership Month (June) and<br>Manufactured and Modular Housing Week (the third week of June)."],["Recognizing the life and achievements of Will Keith Kellogg.","HRES1172","Recognizes the 150th anniversary of the birth of Will Keith Kellogg and his contributions<br>to the citizens of the United States and the people of the world."],["Honoring the workers who perished on the Deepwater Horizon offshore oil platform in the<br>Gulf of Mexico off the coast of Louisiana, extending condolences to their families, and<br>recognizing the valiant efforts of emergency response workers at the disaster site.","HRES1347","Recognizes the untimely and tragic loss of the 11 workers from the states of Louisiana,<br>Mississippi, and Texas who died on the Deepwater Horizon offshore oil platform in the Gulf<br>of Mexico off the coast of Louisiana. Extends the deepest condolences of the nation to the<br>families of these men. Recognizes all employees on the Deepwater Horizon for their hard<br>work and sacrifice. Commends the rescue crews for their valiant efforts to rescue these<br>workers and others on the platform. Honors the many..."],["Recognizing and honoring the courage and sacrifice of the members of the Armed Forces and<br>veterans, and for other purposes.","HRES1385","Recognizes and honors the courage and sacrifice of the members of the Armed Forces and<br>veterans and thanks such members and veterans for their service. Urges all Americans to do<br>the same."],["Celebrating Asian/Pacific American Heritage Month.","HRES1316","Recognizes that Asian American and Pacific Islander communities enhance the rich diversity<br>of the United States. Celebrates the contributions of Asian Americans and Pacific<br>Islanders to the United States."],["Honoring the 125th anniversary of Rollins College.","HRES1169","Honors Rollins College in Winter Park, Florida, on its 125th anniversary. Recognizes its<br>unwavering commitment to liberal arts education. Expresses the House of Representatives'<br>best wishes for its continued success."],["Providing for an adjournment or recess of the two Houses.","HCONRES282","Declares that when the House adjourns on any legislative day from Thursday, May 27, 2010,<br>through Tuesday, June 1, 2010, it stand adjourned until 2 p.m. on Tuesday, June 8, 2010.<br>Declares that when the Senate recesses or adjourns on any day from Thursday, May 27, 2010,<br>through Tuesday, June 1, 2010, it stand recessed or adjourned until noon on Monday, June<br>7, 2010."],["Providing for consideration of the bill (H.R. 5136) to authorize appropriations for fiscal<br>year 2011 for military activities of the Department of Defense, to prescribe military<br>personnel strengths for such fiscal year, and for other purposes; waiving a requirement of<br>clause 6(a) of rule XIII with respect to consideration of certain resolutions reported<br>from the Committee on Rules; and for other purposes.","HRES1404","Sets forth the rule for consideration of the bill (H.R. 5136) to authorize appropriations<br>for fiscal year 2011 for military activities of the Department of Defense, to prescribe<br>military personnel strengths for such fiscal year, and for other purposes; waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules."],["Honoring the Centennial Celebration of Women at Marquette University, the first Catholic<br>university in the world to offer co-education as part of its regular undergraduate<br>program.","HRES1161","Honors the Centennial Celebration of Women at Marquette University. Commends the school,<br>located in Milwaukee, Wisconsin, for continuing to fulfill its Catholic, Jesuit mission of<br>offering premier higher educational opportunities to all students who have a desire to<br>learn."],["To authorize appropriations for fiscal year 2011 for military activities of the Department<br>of Defense, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HR5136","National Defense Authorization Act for Fiscal Year 2011 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2011 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, and other procurement. (Sec. 104) Authorizes<br>appropriations for FY2011 for defense-wide procurement. Subtitle B: Army ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 4213) to amend the<br>Internal Revenue Code of 1986 to extend certain expiring provisions, and for other<br>purposes.","HRES1403","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 4213) to<br>amend the Internal Revenue Code of 1986 to extend certain expiring provisions."],["To transfer certain land to the United States to be held in trust for the Hoh Indian<br>Tribe, to place land into trust for the Hoh Indian Tribe, and for other purposes.","HR1061","Hoh Indian Tribe Safe Homelands Act - Declares that certain federal land in the state of<br>Washington shall be: (1) held in trust by the United States for the benefit of the Hoh<br>Indian Tribe: and (2) part of the Tribe's reservation. Excludes such land from the Olympic<br>National Park. Directs the Tribe to: (1) conduct a federal land survey; and (2) submit the<br>survey to the Director of the National Park Service for review and concurrence. Directs<br>the Secretary, upon conveyance of specified nonfede..."],["Providing for consideration of the bill (H.R. 5072) to improve the financial safety and<br>soundness of the FHA mortgage insurance program, and providing for consideration of<br>motions to suspend the rules.","HRES1424","Sets forth the rule for consideration of the bill (H.R. 5072) to improve the financial<br>safety and soundness of the FHA mortgage insurance program, and providing for<br>consideration of motions to suspend the rules."],["Expressing the sense of the House of Representatives that the United States should adopt<br>national policies and pursue international agreements to prevent ocean acidification, to<br>study the impacts of ocean acidification, and to address the effects of ocean<br>acidification on marine ecosystems and coastal economies.","HRES989","Calls for the United States to adopt national policies and pursue international agreements<br>to prevent ocean acidification, to study the impacts of ocean acidification, and to<br>address the effects of ocean acidification on marine ecosystems and coastal economies."],["Directing the Clerk of the House of Representatives to compile the cost estimates prepared<br>by the Congressional Budget Office which are included in reports filed by committees of<br>the House on approved legislation and post such estimates on the official public Internet<br>site of the Office of the Clerk.","HRES1178","Requires the Clerk of the House of Representatives to ensure that cost estimates prepared<br>by the Congressional Budget Office (CBO) are available to the public by including a link<br>to the CBO's official website on the official public Internet site of the Office of the<br>Clerk."],["Recognizing June 8, 2010, as World Ocean Day.","HRES1330","Recognizes June 8, 2010, as World Ocean Day."],["To designate the facility of the United States Postal Service located at 405 West Second<br>Street in Dixon, Illinois, as the \"President Ronald W. Reagan Post Office Building\".","HR5278","Designates the facility of the United States Postal Service located at 405 West Second<br>Street in Dixon, Illinois, as the \"President Ronald W. Reagan Post Office Building.\""],["To designate the facility of the United States Postal Service located at 331 1st Street in<br>Carlstadt, New Jersey, as the \"Staff Sergeant Frank T. Carvill and Lance Corporal Michael<br>A. Schwarz Post Office Building\".","HR5133","Designates the facility of the United States Postal Service located at 331 1st Street in<br>Carlstadt, New Jersey, as the \"Staff Sergeant Frank T. Carvill and Lance Corporal Michael<br>A. Schwarz Post Office Building.\""],["To improve the financial safety and soundness of the FHA mortgage insurance program.","HR5072","FHA Reform Act of 2010 - (Sec. 2) Amends the National Housing Act to authorize the<br>Secretary of Housing and Urban Development (HUD) to increase the maximum annual premium<br>payments for mortgage insurance, and make the charging of them discretionary instead of<br>mandatory. (Sec. 3) Authorizes the Secretary to require specified mortgagees to indemnify<br>HUD for payment of a mortgage insurance claim if the mortgage was not originated or<br>underwritten in accordance with HUD requirements. Authorizes the..."],["A bill to amend the Oil Pollution Act of 1990 to authorize advances from Oil Spill<br>Liability Trust Fund for the Deepwater Horizon oil spill.","S3473","Amends the Oil Pollution Act of 1990 to exempt advances to the Coast Guard in connection<br>with the explosion on, and sinking of, the mobile offshore drilling unit Deepwater Horizon<br>from the requirement that amounts in the Oil Spill Liability Trust Fund shall be available<br>only as provided in annual appropriations. Limits such advances to a maximum of $100<br>million each, with the total amount for all advances subject to limits under existing law<br>(i.e., not to exceed $1 billion for any single inci..."],["Supporting the goals of National Dairy Month.","HRES1368","Supports the goals of National Dairy Month (June). Recognizes the dairy industry's<br>important role in the economic and nutritional well being of Americans. Commends dairy<br>farmers for their hard work and commitment to the U.S. economy and to the preservation of<br>open space."],["To amend the effective date of the gift card provisions of the Credit Card Accountability<br>Responsibility and Disclosure Act of 2009.","HR5502","Amends the Credit Card Accountability Responsibility and Disclosure Act of 2009 to state<br>that, in the case of a gift certificate, store gift card, or general-use prepaid card<br>produced before April 1, 2010, the effective date of certain disclosure requirements under<br>the Electronic Funds Transfer Act pertaining to fees shall be delayed until January 31,<br>2011. Requires the issuer of such a certificate or card, as a condition of such delayed<br>effective date, to: (1) comply with a specified prohibi..."],["Providing for consideration of the bill (H.R. 5486) to amend the Internal Revenue Code of<br>1986 to provide tax incentives for small business job creation, and for other purposes;<br>and providing for consideration of the bill (H.R. 5297) to create the Small Business<br>Lending Fund Program to direct the Secretary of the Treasury to make capital investments<br>in eligible institutions in order to increase the availability of credit for small<br>businesses, and for other purposes.","HRES1436","Sets forth the rule for consideration of the bill (H.R. 5486) to amend the Internal<br>Revenue Code of 1986 to provide tax incentives for small business job creation, and for<br>other purposes; and providing for consideration of the bill (H.R. 5297) to create the<br>Small Business Lending Fund Program to direct the Secretary of the Treasury to make<br>capital investments in eligible institutions in order to increase the availability of<br>credit for small businesses."],["To establish the Work-Life Balance Award for employers that have developed and implemented<br>work-life balance policies.","HR4855","Work-Life Balance Award Act - Establishes in the Department of Labor an annual Work-Life<br>Balance Award for employers that have developed and implemented work-life balance<br>policies. Establishes a Work-Life Balance Advisory Board to develop criteria to determine<br>recipients of the Award."],["Recognizing the immeasurable contributions of fathers in the healthy development of<br>children, supporting responsible fatherhood, and encouraging greater involvement of<br>fathers in the lives of their children, especially on Father's Day.","HRES1389","Commends the millions of fathers who serve as wonderful, caring parents for their<br>children. Calls on fathers across the United States to use Father's Day to: (1) reconnect<br>and rededicate themselves to their children's lives; (2) spend Father's Day with their<br>children; and (3) express their love and support for their children. Urges men to<br>understand the level of responsibility fathering a child requires, especially in the<br>encouragement of children's moral, mental, social, academic, emotional,..."],["To amend the Internal Revenue Code of 1986 to provide tax incentives for small business<br>job creation, and for other purposes.","HR5486","Title V: Tax Provisions - Small Business Jobs Tax Relief Act of 2010 - Subtitle A: Small<br>Business Tax Incentives - Part 1: General Provisions - (Sec. 501) Amends the Internal<br>Revenue Code to increase from 50% to 100% the exclusion from gross income of the gain from<br>the sale or exchange of qualified small business stock acquired after March 15, 2010, and<br>before January 1, 2012. Part 2: Limitations and Reporting on Certain Penalties - (Sec.<br>511) Limits the penalty for failure to disclose a repo..."],["Celebrating the 20th anniversary of the Albert Einstein Distinguished Educator Fellowship<br>Program and recognizing the significant contributions of Albert Einstein Fellows.","HRES1322","Recognizes the significance of the 20th anniversary of the Albert Einstein Distinguished<br>Educator Fellowship Program, which engages current science, technology, engineering, and<br>mathematics teachers directly in the policymaking process. Recognizes the sacrifices made<br>by such teachers. Supports the program's continuation. Encourages federal agencies and<br>congressional offices to host Einstein Fellows and leverage the expertise of former<br>Fellows. Recognizes the contributions of Einstein Fellows,..."],["Honoring and praising the National Association for the Advancement of Colored People on<br>the occasion of its 101st anniversary.","HCONRES242","Recognizes the 101st anniversary of the historic founding of the National Association for<br>the Advancement of Colored People (NAACP).Honors and praises the NAACP on the occasion of<br>its anniversary for its work to ensure the political, educational, social, and economic<br>equality of all persons."],["Congratulating Urban Prep Charter Academy for Young Men-Englewood Campus, the Nation's<br>first all-male charter high school, for achieving a 100 percent college acceptance rate<br>for all 107 members of its first graduating class of 2010.","HRES1414","Congratulates Principal Tim King and all of the students, teachers, administrators, and<br>support personnel at Urban Prep Charter Academy for Young Men--Englewood Campus (Chicago,<br>Illinois) for achieving a 100% college acceptance rate for its first graduating class of<br>2010."],["Providing for further consideration of the bill (H.R. 5297) to create the Small Business<br>Lending Fund Program to direct the Secretary of the Treasury to make capital investments<br>in eligible institutions in order to increase the availability of credit for small<br>businesses, and for other purposes.","HRES1448","Sets forth the rule for the consideration of H.R. 5297 (Small Business Lending Fund Act of<br>2010)."],["To create the Small Business Lending Fund Program to direct the Secretary of the Treasury<br>to make capital investments in eligible institutions in order to increase the availability<br>of credit for small businesses, and for other purposes.","HR5297","Small Business Jobs Act of 2010 - Title I: Small Businesses - Subtitle A: Small Business<br>Access to Credit - Small Business Job Creation and Access to Capital Act of 2010 - Part I:<br>Next Steps for Main Street Credit Availability - (Sec. 1111) Amends the Small Business Act<br>to increase temporarily (until January 1, 2011) to 90% the maximum Small Business<br>Administration (SBA) participation in a loan on a deferred basis under the section 7(a)<br>(general small business loans) guaranteed loan program. ..."],["Recognizing the historical significance of Juneteenth Independence Day, and expressing the<br>sense of the House of Representatives that history should be regarded as a means for<br>understanding the past and more effectively facing the challenges of the future.","HRES546","Recognizes the historical significance to the nation, and supports the continued<br>celebration, of Juneteenth Independence Day (June 19, 1865, the day Union soldiers arrived<br>in Galveston, Texas, with news that the Civil War had ended and that the enslaved African-<br>Americans were free).Expresses the sense of the House of Representatives that: (1) history<br>should be regarded as a means for understanding the past and more effectively facing the<br>challenges of the future; and (2) the celebration of th..."],["To require the Secretary of the Treasury to make a certification when making purchases<br>under the Small Business Lending Fund Program.","HR5551","Requires the Secretary of the Treasury, before making a first purchase (including a<br>commitment to purchase) under the Small Business Lending Fund Program under the Small<br>Business Jobs and Credit Act of 2010, to certify under oath to the Inspector General of<br>the Department of the Treasury that the purchase-decision process has been designed so<br>that each purchase decision is made solely on the basis of economic fundamentals and not<br>because of any political considerations."],["To give subpoena power to the National Commission on the BP Deepwater Horizon Oil Spill<br>and Offshore Drilling.","HR5481","Authorizes the National Commission on the BP Deepwater Horizon Oil Spill and Offshore<br>Drilling to issue subpoenas to compel the attendance and testimony of witnesses and the<br>production of books, records, correspondence, memoranda, and other documents. Requires the<br>Commission, before issuing such a subpoena, to notify the Attorney General (or a designee)<br>of the Commission's intent to issue a subpoena, the identity of the witness, and the<br>nature of the testimony sought. Prohibits the Commission..."],["To require accurate and reasonable disclosure of the terms and conditions of prepaid<br>telephone calling cards and services.","HR3993","Calling Card Consumer Protection Act - (Sec. 3) Requires providers or distributors of<br>prepaid calling cards, including cards that use interconnected Voice over Internet<br>Protocol (VoIP) or a successor protocol, to accurately disclose in a clear and conspicuous<br>manner information about: (1) the provider's name, customer service number, and hours of<br>service; (2) the card's number of minutes or dollar value; (3) per minute rates or a toll-<br>free number to obtain rates; (4) fees and charges; (5) tim..."],["Providing for consideration of the bill (H.R. 5175) to amend the Federal Election Campaign<br>Act of 1971 to prohibit foreign influence in Federal elections, to prohibit government<br>contractors from making expenditures with respect to such elections, and to establish<br>additional disclosure requirements with respect to spending in such elections, and for<br>other purposes.","HRES1468","Sets forth the rule for consideration of the bill (H.R. 5175) to amend the Federal<br>Election Campaign Act of 1971 to prohibit foreign influence in Federal elections, to<br>prohibit government contractors from making expenditures with respect to such elections,<br>and to establish additional disclosure requirements with respect to spending in such<br>elections."],["To amend the Federal Election Campaign Act of 1971 to prohibit foreign influence in<br>Federal elections, to prohibit government contractors from making expenditures with<br>respect to such elections, and to establish additional disclosure requirements with<br>respect to spending in such elections, and for other purposes.","HR5175","Democracy is Strengthened by Casting Light on Spending in Elections Act or DISCLOSE Act -<br>Title I: Regulation of Certain Political Spending - (Sec. 101) Amends the Federal Election<br>Campaign Act of 1971 (FECA) to prohibit: (1) independent expenditures and payments for<br>electioneering communications by government contractors if the value of the contract is at<br>least $10 million; (2) recipients of assistance under the Troubled Asset Relief Program<br>(TARP) of the Emergency Economic Stabilization Act..."],["Congratulating the Chicago Blackhawks on winning the 2010 Stanley Cup Championship.","HRES1439","Congratulates the Chicago Blackhawks for winning the 2010 Stanley Cup Championship."],["To continue Federal unemployment programs.","HR5618","Restoration of Emergency Unemployment Compensation Act of 2010 - (Sec. 2) Amends the<br>Supplemental Appropriations Act, 2008 with respect to the state-established individual<br>emergency unemployment compensation account (EUCA). Extends the final date for entering a<br>federal-state agreement under the Emergency Unemployment Compensation (EUC) program<br>through November 30, 2010. Postpones the termination of the program until April 30, 2011.<br>Amends the Assistance for Unemployed Workers and Struggling F..."],["Recognizing the National Collegiate Cyber Defense Competition for its now five-year effort<br>to promote cyber security curriculum in institutions of higher learning.","HRES1244","Recognizes the National Collegiate Cyber Defense Competition for its five-year effort to<br>promote cyber security curriculum in institutions of higher learning."],["To amend the Internal Revenue Code of 1986 to require that the payment of the<br>manufacturers' excise tax on recreational equipment be paid quarterly and to provide for<br>the assessment by the Secretary of the Treasury of certain criminal restitution.","HR5552","Firearms Excise Tax Improvement Act of 2010 - Amends the Internal Revenue Code to require:<br>(1) excise taxes on recreational equipment to be due and payable on the date for filing<br>the return for such taxes (i.e., quarterly); and (2) the Secretary of the Treasury to<br>assess and collect, in the same manner as delinquent taxes are assessed and collected,<br>mandatory orders of restitution for victims of crime. Increases by 0.25% in the third<br>quarter of 2015 the estimated tax payments of corporations ..."],["To amend the Internal Revenue Code of 1986 to extend the homebuyer tax credit for the<br>purchase of a principal residence before October 1, 2010, in the case of a written binding<br>contract entered into with respect to such principal residence before May 1, 2010, and for<br>other purposes.","HR5623","Homebuyer Assistance and Improvement Act of 2010 - Amends the Internal Revenue Code to:<br>(1) extend eligibility for the first-time homebuyer tax credit until September 30, 2010,<br>for taxpayers who entered into a binding contract to purchase a principal residence before<br>May 1, 2010; (2) extend the penalty for tendering a bad check to the Internal Revenue<br>Service to tendering any instrument in payment, by any commercially acceptable means; and<br>(3) authorize the Secretary of the Treasury to disclo..."],["Recognizing the residents of the City of Tracy, California, on the occasion of the 100th<br>anniversary of the city's incorporation, for their century of dedicated service to the<br>United States.","HRES1446","Expresses the gratitude of the House of Representatives to: (1) the veterans of the city<br>of Tracy, California, who have committed their lives to serving the United States; and (2)<br>all of the residents of Tracy for their century-long commitment to serving the United<br>States."],["To name the Department of Veterans Affairs community-based outpatient clinic in Artesia,<br>New Mexico, as the \"Alejandro Renteria Ruiz Department of Veterans Affairs Clinic\".","HR4307","Designates the Department of Veterans Affairs community-based outpatient clinic in<br>Artesia, New Mexico, as the \"Alejandro Renteria Ruiz Department of Veterans Affairs<br>Clinic.\""],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and for other purposes.","HRES1487","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration or disposition of the following legislation on the same day it is presented<br>to the House: (1) a conference report to accompany H.R. 4173 (Restoring American Financial<br>Stability Act of 2010); and (2) a measure that includes a subject matter addressed by H.R.<br>4213 (American Jobs and Closing Tax Loopholes Act of 2010) or any amendment pertaining to<br>it. Makes it in order: (1) at any time through th..."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES293","Declares that when the House adjourns on any legislative day from Thursday, July 1, 2010,<br>through Saturday, July 3, 2010, it stand adjourned until 2 p.m. on Tuesday, July 13, 2010.<br>Declares that when the Senate recesses or adjourns on any day from Wednesday, June 30,<br>2010, through Sunday, July 4, 2010, it shall stand recessed or adjourned until noon on<br>Monday, July 12, 2010."],["Providing for consideration of the conference report to accompany the bill (H.R. 4173) to<br>provide for financial regulatory reform, to protect consumers and investors, to enhance<br>Federal understanding of insurance issues, to regulate the over-the-counter derivatives<br>markets, and for other purposes.","HRES1490","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>4173) to provide for financial regulatory reform, to protect consumers and investors, to<br>enhance Federal understanding of insurance issues, to regulate the over-the-counter<br>derivatives markets."],["To take certain property in McIntosh County, Oklahoma, into trust for the benefit of the<br>Muscogee (Creek) Nation, and for other purposes.","HR1554","Fountainhead Property Land Transfer Act - Requires, immediately after completion of a<br>survey required by this Act, receipt of consideration and costs, and satisfaction of all<br>terms specified by the Secretary of the Interior and the Secretary of the Army, the<br>transfer of administrative jurisdiction over specified federal property in McIntosh<br>County, Oklahoma, within the boundary of the Muscogee (Creek) Nation (the Tribe), from the<br>Secretary of the Army to the Secretary of the Interior, who sha..."],["To amend Public Law 95-232 to repeal a restriction on treating as Indian country certain<br>lands held in trust for Indian pueblos in New Mexico.","HR4445","Indian Pueblo Cultural Center Clarification Act - Repeals a restriction on treating as<br>Indian country certain lands held in trust for Indian pueblos within Albuquerque,<br>Bernalillo County, New Mexico. Prohibits gaming on such land."],["Recognizing the important role pollinators play in supporting the ecosystem and supporting<br>the goals and ideals of National Pollinator Week.","HRES1460","Recognizes the importance of pollinators in agriculture and in maintaining our diverse<br>ecosystem. Supports the goals of National Pollinator Week."],["Providing for consideration of the bill (H.R. 5618) to continue Federal unemployment<br>programs, and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules.","HRES1495","Sets forth the rule for consideration of the bill (H.R. 5618) to continue Federal<br>unemployment programs, and waiving a requirement of clause 6(a) of rule XIII with respect<br>to consideration of certain resolutions reported from the Committee on Rules."],["Expressing the sense of the House of Representatives that the political situation in<br>Thailand be solved peacefully and through democratic means.","HRES1321","Affirms the support of the people and the government of the United States for a strong<br>alliance with Thailand. Calls for the restoration of peace and stability in Thailand.<br>Urges all parties involved in the political crisis in Thailand to renounce the use of<br>violence and to resolve their differences peacefully. Supports the goals of the government<br>of Thailand's five-point roadmap for national reconciliation. Promotes the timely<br>implementation of a national reconciliation plan in Thailand so t..."],["Congratulating the people of the 17 African nations that in 2010 are marking the 50th year<br>of their national independence.","HRES1405","Congratulates the people of the 17 African nations that in 2010 are marking the 50th year<br>of their national independence. Honors the lives of the thousands of patriots, including<br>innocent civilians, who died, were imprisoned, or otherwise dedicated their lives to<br>achieving African independence. Commends the socioeconomic and political progress being<br>made by these nations while acknowledging the associated challenges that many still face.<br>Recognizes Africa's strategic, political, economic, and..."],["To amend the Federal Election Campaign Act of 1971 to prohibit any registered lobbyist<br>whose clients include foreign governments which are found to be sponsors of international<br>terrorism or include other foreign nationals from making contributions and other campaign-<br>related disbursements in elections for public office.","HR5609","Amends the Lobbying Disclosure Act of 1995 to prohibit anyone from performing lobbying<br>activities on behalf of a client which is a country whose government the Secretary of<br>State has determined has repeatedly provided support for acts of international terrorism."],["Expressing support for designation of June 30 as \"National ESIGN Day\".","HCONRES290","Supports the designation of a National ESIGN Day. Recognizes the previous contribution<br>made by Congress to the adoption of modern solutions that keep the United States on the<br>leading technological edge. Reaffirms the commitment of Congress to facilitating<br>interstate and foreign commerce in an increasingly digital world."],["Providing for consideration of the Senate amendments to the bill (H.R. 4899) making<br>emergency supplemental appropriations for disaster relief and summer jobs for the fiscal<br>year ending September 30, 2010, and for other purposes.","HRES1500","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 4899)<br>making emergency supplemental appropriations for disaster relief and summer jobs for the<br>fiscal year ending September 30, 2010."],["To authorize the Secretary of the Interior to conduct a special resource study to<br>determine the suitability and feasibility of designating the Colonel Charles Young Home in<br>Xenia, Ohio as a unit of the National Park System, and for other purposes.","HR4514","Colonel Charles Young Home Study Act - Directs the Secretary of the Interior to conduct a<br>special resource study of the Colonel Charles Young Home, a National Historic Landmark in<br>Xenia, Ohio, to determine the suitability and feasibility of designating the Home as a<br>unit of the National Park System. (Colonel Charles Young was a distinguished African-<br>American officer in the U.S. Army, a pioneer of techniques in military intelligence, as<br>well as a commander of troops in combat in the Spanish-Am..."],["To authorize the Secretary of the Interior to enter into an agreement to lease space from<br>a nonprofit group or other government entity for a park headquarters at San Antonio<br>Missions National Historical Park, to expand the boundary of the Park, to conduct a study<br>of potential land acquisitions, and for other purposes.","HR4438","San Antonio Missions National Historical Park Boundary Expansion Act of 2010 - Directs the<br>Secretary of the Interior to study lands within Bexar and Wilson Counties, Texas, to<br>identify lands that would be suitable for inclusion in the San Antonio Missions National<br>Historical Park. Requires the study to examine the natural, cultural, recreational, and<br>scenic values and characteristics of lands within such counties. Permits the assignment of<br>Park employees to provide interpretive services, incl..."],["Providing for consideration of the bill (H.R. 1722) to improve teleworking in executive<br>agencies by developing a telework program that allows employees to telework at least 20<br>percent of the hours worked in every 2 administrative workweeks, and for other purposes.","HRES1509","Sets forth the rule for consideration of the bill (H.R. 1722) to improve teleworking in<br>executive agencies by developing a telework program that allows employees to telework at<br>least 20 percent of the hours worked in every 2 administrative workweeks."],["A bill to amend the Improper Payments Information Act of 2002 (31 U.S.C. 3321 note) in<br>order to prevent the loss of billions in taxpayer dollars.","S1508","Improper Payments Elimination and Recovery Act of 2010 - (Sec. 2) Amends the Improper<br>Payments Information Act of 2002 to expand requirements for identifying programs and<br>activities susceptible to improper payments by requiring the head of each federal agency,<br>during the year after the enactment of this Act and at least once every three fiscal years<br>thereafter, to review and identify agency programs and activities that may be susceptible<br>to significant improper payments. Defines \"significant\"..."],["Providing for consideration of the bill (H.R. 5114) to extend the authorization for the<br>national flood insurance program, to identify priorities essential to reform and ongoing<br>stable functioning of the program, and for other purposes.","HRES1517","Sets forth the rule for consideration of the bill (H.R. 5114) to extend the authorization<br>for the national flood insurance program, to identify priorities essential to reform and<br>ongoing stable functioning of the program."],["To extend the authorization for the national flood insurance program, to identify<br>priorities essential to reform and ongoing stable functioning of the program, and for<br>other purposes.","HR5114","Flood Insurance Reform Priorities Act of 2010 - (Sec. 3) Amends the National Flood<br>Insurance Act of 1968 (NFIA) to extend through FY2015 the National Flood Insurance Program<br>and the Pilot Program for Mitigation of Severe Repetitive Loss Properties. Repeals the<br>termination date for (thus making permanent) the Pilot Program for Mitigation of Severe<br>Repetitive Loss Properties. (Sec. 4) Increases the maximum aggregate amount of insurance<br>coverage: (1) from $250,000 to $335,000 for certain single-..."],["Recognizing the 50th anniversary of Title VI international education programs within the<br>Department of Education.","HCONRES126","Supports the goals and ideals of Title VI (International Education Programs) of the Higher<br>Education Act of 1965. Recognizes the need to continue to develop and promote<br>international educational programs."],["To rescind amounts authorized for certain surface transportation programs.","HR5604","Surface Transportation Savings Act of 2010 - Rescinds specified amounts authorized under<br>the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy for Users<br>(SAFETEA-LU) for: (1) safety belt performance grants; (2) administrative expenses of the<br>National Highway Traffic Safety Administration (NHTSA); (3) the National Driver Register;<br>(4) NHTSA operations and research; and (5) transit formula and bus grants."],["Recognizing the 65th anniversary of the end of World War II, honoring the service members<br>who fought in World War II and their families, and honoring the service members who are<br>currently serving in combat operations.","HRES1516","Recognizes the service and sacrifices of all of the brave men and women who fought and<br>contributed to American victory in World War II on the 65th anniversary of the end of that<br>war. Honors the families and decedents of those men and women, and the men and women<br>themselves, whose lives were taken in defense of liberty and freedom. Remembers and honors<br>the servicemembers today who are actively fighting for freedom and to protect the American<br>way of life in ongoing combat operations, including ..."],["To protect Indian arts and crafts through the improvement of applicable criminal<br>proceedings, and for other purposes.","HR725","Title I: Indian Arts and Crafts Amendments - Indian Arts and Crafts Amendments Act of 2010<br>- (Sec. 102) Amends the Indian Arts and Crafts Act of 1990 to expand the authority of the<br>Indian Arts and Crafts Board to bring criminal and civil actions for offenses under such<br>Act involving the sale of misrepresented Indian-produced goods or products. Authorizes:<br>(1) any federal law enforcement officer to conduct an investigation of an alleged<br>violation of such Act occurring within the jurisdiction o..."],["To amend the Harmonized Tariff Schedule of the United States to modify temporarily certain<br>rates of duty, and for other purposes.","HR4380","United States Manufacturing Enhancement Act of 2010 - Title I: New Duty Suspensions and<br>Reductions - (Sec. 1004) Amends the Harmonized Tariff Schedule of the United States to<br>provide for duty suspensions and reductions through December 31, 2012, for specified<br>chemicals and other products. Title II: Existing Duty Suspensions and Reductions - (Sec.<br>2001) Extends existing suspensions and reductions of duties through December 31, 2012, for<br>other specified chemicals and products. Imposes, suspends..."],["Congratulating the Saratoga Race Course as it celebrates its 142nd season.","HRES1513","Congratulates the Saratoga Race Course as it celebrates its 142nd season. Recognizes its<br>important place in horse racing history."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules and providing for consideration of<br>motions to suspend the rules.","HRES1537","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of any resolution reported from the Committee on Rules through the<br>legislative day of July 23, 2010, providing for consideration or disposition of a measure<br>addressing unemployment compensation, on the same day it is presented to the House."],["Honoring the service and commitment of the 111th Fighter Wing, Pennsylvania Air National<br>Guard.","HRES1411","Recognizes the exemplary service of members of the 111th Fighter Wing of the Pennsylvania<br>Air National Guard (111th). Honors and thanks all members of the 111th, past and present,<br>for their tremendous contributions to the defense and security of the United States."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 4213) to amend the Internal Revenue Code of 1986 to extend<br>certain expiring provisions, and for other purposes.","HRES1550","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 4213) to amend the Internal Revenue Code of 1986 to<br>extend certain expiring provisions."],["To amend the National Child Protection Act of 1993 to establish a permanent background<br>check system.","HR1469","Child Protection Improvements Act of 2010 - Amends the National Child Protection Act of<br>1993 to direct the Attorney General to: (1) establish policies and procedures for<br>streamlining the process of obtaining nationwide criminal history background checks and<br>for facilitating widespread access to such background checks by public or private child-<br>serving organizations; (2) establish a criminal history review program to provide reliable<br>and accurate information on the criminal history of an indiv..."],["To designate the facility of the United States Postal Service located at 100 Orndorf Drive<br>in Brighton, Michigan, as the \"Joyce Rogers Post Office Building\".","HR5341","Designates the facility of the United States Postal Service located at 100 Orndorf Drive<br>in Brighton, Michigan, as the \"Joyce Rogers Post Office Building.\""],["Providing for consideration of the bill (H.R. 1264) to amend the National Flood Insurance<br>Act of 1968 to provide for the national flood insurance program to make available<br>multiperil coverage for damage resulting from windstorms or floods, and for other<br>purposes.","HRES1549","Sets forth the rule for consideration of the bill (H.R. 1264) to amend the National Flood<br>Insurance Act of 1968 to provide for the national flood insurance program to make<br>available multiperil coverage for damage resulting from windstorms or floods."],["To amend the Federal Advisory Committee Act to increase the transparency and<br>accountability of Federal advisory committees, and for other purposes.","HR1320","Federal Advisory Committee Act Amendments of 2010 - (Sec. 2) Amends the Federal Advisory<br>Committee Act (FACA) to require appointments to advisory committees to be made without<br>regard to political affiliation or activity, unless otherwise required by federal statute.<br>Directs the head of an agency, prior to appointing members to an advisory committee, to<br>give interested persons an opportunity to suggest potential committee members. Directs the<br>agency to: (1) include a request for comments in th..."],["Recognizing and honoring the 20th anniversary of the enactment of the Americans with<br>Disabilities Act of 1990.","HRES1504","Recognizes the 20th anniversary of the enactment of the Americans with Disabilities Act of<br>1990. Pledges to continue to work on a bipartisan basis to identify and address the<br>remaining barriers that undermine the nation's goals of equality of opportunity,<br>independent living, economic self-sufficiency, and full participation for Americans with<br>disabilities."],["To ensure that individuals with disabilities have access to emerging Internet Protocol-<br>based communication and video programming technologies in the 21st Century.","HR3101","Twenty-First Century Communications and Video Accessibility Act of 2010 - (Sec. 2) States<br>that no person shall be liable for a violation of this Act with respect to video<br>programming, online content, applications, services, advanced communications services, or<br>equipment used to provide or access advanced communications services to the extent such<br>person: (1) transmits, routes, or stores in intermediate or transient storage the<br>communications made available through the provision of advanced co..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 301) directing the<br>President, pursuant to section 5(c) of the War Powers Resolution, to remove the United<br>States Armed Forces from Pakistan.","HRES1556","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 301)<br>directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Pakistan."],["To rescind earmarks for certain surface transportation projects.","HR5730","Surface Transportation Earmark Rescission, Savings, and Accountability Act - Rescinds<br>certain unobligated amounts allocated under the Intermodal Surface Transportation<br>Efficiency Act of 1991 (ISTEA) for: (1) high cost bridge projects; (2) congestion relief<br>projects; (3) high priority corridor segments on the National Highway System; (4) rural<br>and urban access projects and urban mobility projects; (5) innovative projects; and (6)<br>priority intermodal transportation projects. Rescinds certain un..."],["Recognizing and honoring the freight rail industry.","HRES1366","Recognizes the contributions the freight rail industry and its employees have made to the<br>national transportation system. Supports the industry's and employees' efforts to continue<br>improving safety as our nation moves forward to develop its infrastructure."],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Pakistan.","HCONRES301","Directs the President, pursuant to section 5(c) of the War Powers Resolution (such section<br>requires the President to remove U.S. Armed Forces engaged in hostilities outside the<br>United States without a declaration of war or specific statutory authorization if Congress<br>directs such removal by concurrent resolution), to remove the U.S. Armed Forces from<br>Pakistan: (1) by no later than the end of the period of 30 days beginning on the day on<br>which this concurrent resolution is adopted; or (2) if t..."],["To amend the Office of National Drug Control Policy Reauthorization Act of 2006 to require<br>a northern border counternarcotics strategy, and for other purposes.","HR4748","Northern Border Counternarcotics Strategy Act of 2010 - Amends the Office of National Drug<br>Control Policy Reauthorization Act of 2006 to require the Director of National Drug<br>Control Policy, not later than 180 days after the enactment of this Act and every two<br>years thereafter, to develop and submit to specified congressional committees a Northern<br>Border Counternarcotics Strategy.\u00a0 Requires such Strategy to: (1) set forth the strategy<br>of the federal government for preventing the illegal traff..."],["Providing for consideration of the bill (H.R. 5822) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2011, and for other purposes and providing for consideration of<br>motions to suspend the rules.","HRES1559","Sets forth the rule for consideration of the bill (H.R. 5822) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2011, and for other purposes and providing for<br>consideration of motions to suspend the rules."],["To require the President to prepare a quadrennial National Manufacturing Strategy, and for<br>other purposes.","HR4692","National Manufacturing Strategy Act of 2010 - Expresses the sense of Congress that: (1)<br>the U.S. government should promote policies related to the nation's manufacturing sector<br>intended to promote growth, sustainability, and competitiveness, create well-paying jobs,<br>enable innovation and investment, and support national security; and (2) the President and<br>Congress should act promptly to pursue policies consistent with a National Manufacturing<br>Strategy (Strategy). Directs the President, every ..."],["Honoring the educational significance of Dr. Jane Goodall's work on this the 50th<br>anniversary of the beginning of her work in Tanzania, Africa.","HRES1543","Recognizes the groundbreaking environmental education advancements by the Jane Goodall<br>Institute's Roots and Shoots initiative on the 50th anniversary of the beginning of Dr.<br>Jane Goodall's research. Recognizes the significant role that the research done by Dr.<br>Goodall has had on the knowledge and understanding of both the natural and human worlds,<br>and its benefit to children and classrooms as they learn about the natural world.<br>Recognizes the valuable role that nature and science education p..."],["To amend title 11 of the United States Code to include firearms in the types of property<br>allowable under the alternative provision for exempting property from the estate.","HR5827","Protecting Gun Owners in Bankruptcy Act of 2010 - Amends federal bankruptcy law to permit<br>an individual debtor to exempt from the property of the estate in bankruptcy the debtor's<br>aggregate interest not to exceed $3,000 in value, in a single rifle, shotgun, or pistol or<br>any combination of them. Declares the date of enactment as the effective date of this Act."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2011, and for other purposes.","HR5822","Military Construction and Veterans Affairs and Related Agencies Appropriations Act, 2011 -<br>Title I: Department of Defense - Appropriates funds for FY2011 for the Department of<br>Defense (DOD) for: (1) military construction for the Army, Navy and Marine Corps, and Air<br>Force (military departments), DOD, the Army and Air National Guard, and the Army, Navy,<br>and Air Force reserves; (2) the North Atlantic Treaty Organization (NATO) Security<br>Investment Program; (3) family housing construction and rela..."],["Providing for a conditional adjournment of the House of Representatives.","HCONRES308","Declares that when the House adjourns on any legislative day from Thursday, July 29, 2010,<br>through Tuesday, August 3, 2010, it stand adjourned until 2 p.m. on Tuesday, September 14,<br>2010."],["Providing for consideration of the bill (H.R. 5850) making appropriations for the<br>Departments of Transportation, and Housing and Urban Development, and related agencies for<br>the fiscal year ending September 30, 2011, and for other purposes.","HRES1569","Sets forth the rule for consideration of the bill (H.R. 5850) making appropriations for<br>the Departments of Transportation, and Housing and Urban Development, and related agencies<br>for the fiscal year ending September 30, 2011."],["Providing for consideration of the bill (H.R. 5893) to amend the Internal Revenue Code of<br>1986 to create jobs through increased investment in infrastructure, to eliminate loopholes<br>which encourage companies to move operations offshore, and for other purposes.","HRES1568","Sets forth the rule for consideration of the bill (H.R. 5893) to amend the Internal<br>Revenue Code of 1986 to create jobs through increased investment in infrastructure, to<br>eliminate loopholes which encourage companies to move operations offshore."],["To prevent mail, telemarketing, and Internet fraud targeting seniors in the United States,<br>to promote efforts to increase public awareness of the enormous impact that mail,<br>telemarketing, and Internet fraud have on seniors, to educate the public, seniors, their<br>families, and their caregivers about how to identify and combat fraudulent activity, and<br>for other purposes.","HR3040","Senior Financial Empowerment Act of 2010 - Requires the Federal Trade Commission (FTC):<br>(1) to disseminate to seniors and their caregivers information on mail, telemarketing, and<br>Internet fraud targeting seniors; (2) in response to a request about fraud committed by a<br>particular entity or individual, to provide to the requester publicly available<br>information on any record of civil or criminal law enforcement action against such<br>individual or entity for fraud; and (3) to maintain a website as ..."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2011, and for<br>other purposes.","HR5850","Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2011 - Title I: Department of Transportation - Department of Transportation Appropriations<br>Act, 2011 - Makes appropriations for FY2011 to the Department of Transportation (DOT),<br>including: (1) the Office of the Secretary; (2) the Federal Aviation Administration (FAA);<br>(3) the Federal Highway Administration (FHWA); (4) the Federal Motor Carrier Safety<br>Administration; (5) the National Highway Traffic Safety ..."],["To amend the Public Health Service Act to extend and improve protections and services to<br>individuals directly impacted by the terrorist attack in New York City on September 11,<br>2001, and for other purposes.","HR847","James Zadroga 9/11 Health and Compensation Act of 2010 - Title I: World Trade Center<br>Health Program - (Sec. 101) Amends the Public Health Service Act to establish the World<br>Trade Center Health Program (WTC Program) within the Department of Health and Human<br>Services (HHS) to provide: (1) medical monitoring and treatment benefits to eligible<br>emergency responders and recovery and cleanup workers (including those who are federal<br>employees) who responded to the September 11, 2001, terrorist attack..."],["Providing for consideration of the bill (H.R. 3534) to provide greater efficiencies,<br>transparency, returns, and accountability in the administration of Federal mineral and<br>energy resources by consolidating administration of various Federal energy minerals<br>management and leasing programs into one entity to be known as the Office of Federal<br>Energy and Minerals Leasing of the Department of the Interior, and for other purposes; and<br>providing for consideration of the bill (H.R. 5851) to provide whistleblower protections<br>to certain workers in the offshore oil and gas industry.","HRES1574","Sets forth the rule for consideration of the bill (H.R. 3534) to provide greater<br>efficiencies, transparency, returns, and accountability in the administration of Federal<br>mineral and energy resources by consolidating administration of various Federal energy<br>minerals management and leasing programs into one entity to be known as the Office of<br>Federal Energy and Minerals Leasing of the Department of the Interior, and for other<br>purposes; and providing for consideration of the bill (H.R. 5851) to ..."],["Expressing the sense of the House of Representatives that fruit and vegetable and<br>commodity producers are encouraged to display the American flag on labels of products<br>grown in the United States, reminding us all to take pride in the healthy bounty produced<br>by American farmers and workers.","HRES1558","Expresses the sense of the House of Representatives that fruit and vegetable and commodity<br>producers are encouraged to display the American flag on labels of U.S.-grown products<br>reminding us to take pride in the healthy bounty produced by American farmers and workers."],["To amend the Internal Revenue Code of 1986 to exempt certain stock of real estate<br>investment trusts from the tax on foreign investment in United States real property<br>interests, and for other purposes.","HR5901","Amends the Internal Revenue Code to authorize the U.S. Tax Court to: (1)\u00a0appoint a clerk<br>of court and other necessary employees without regard to civil service provisions<br>governing appointments in the competitive service and\u00a0to fix and adjust the compensation<br>for such employees; (2) establish programs for employee evaluations, incentive awards,<br>flexible work schedules, premium pay, and resolution of employee grievances; and\u00a0(3) hire<br>experts and consultants.\u00a0Requires the Court's personnel mana..."],["Recognizing the 50th anniversary of the Student Nonviolent Coordinating Committee (SNCC)<br>and the pioneering of college students whose determination and nonviolent resistance led<br>to the desegregation of lunch counters and places of public accommodation over a 5-year<br>period.","HRES1566","Recognizes the 50th anniversary of the founding of the Student Nonviolent Coordinating<br>Committee (SNCC). Commemorates the significance and importance of SNCC and its role in<br>organizing the national sit-in movement and the role that they played in the desegregation<br>of U.S. society and for creating the political climate necessary to pass legislation to<br>expand civil rights and voting rights. Encourages the people of the United States to<br>recognize and celebrate the legal victories of the national..."],["To provide whistleblower protections to certain workers in the offshore oil and gas<br>industry.","HR5851","Offshore Oil and Gas Worker Whistleblower Protection Act of 2010 - (Sec. 2) Prohibits an<br>employer from discharging, discriminating, against, or engaging in retaliatory actions<br>against specified employees who: (1) report to a government official any violation or<br>unsafe condition under the Outer Continental Shelf Lands Act; (2) testify or participate<br>in a proceeding concerning such violation; (3) reported an illness, injury, or unsafe<br>condition related to the employer's activities to the employ..."],["To provide greater efficiencies, transparency, returns, and accountability in the<br>administration of Federal mineral and energy resources by consolidating administration of<br>various Federal energy minerals management and leasing programs into one entity to be<br>known as the Office of Federal Energy and Minerals Leasing of the Department of the<br>Interior, and for other purposes.","HR3534","Consolidated Land, Energy, and Aquatic Resources Act of 2010 - Title I: Creation of New<br>Department of the Interior Agencies - (Sec. 101) Establishes within the Department of the<br>Interior a Bureau of Energy and Resource Management (BERM) to administer a comprehensive<br>program of nonrenewable and renewable energy and mineral resources management on the Outer<br>Continental Shelf (OCS) and designated public lands. Directs the Secretary of the Interior<br>(Secretary) to create within the Bureau an indep..."],["To amend the Internal Revenue Code of 1986 to repeal the expansion of certain information<br>reporting requirements to corporations and to payments for property, to eliminate<br>loopholes which encourage companies to move operations offshore, and for other purposes.","HR5982","Small Business Tax Relief Act of 2010 - Repeals the provision of the Patient Protection<br>and Affordable Care Act that amends the Internal Revenue Code to apply to corporations<br>reporting requirements for payments of $600 or more to persons engaged in a trade or<br>business. Amends the Internal Revenue Code, with respect to the taxation of foreign income<br>and the foreign tax credit, to: (1) suspend the recognition of foreign tax credits until<br>the related foreign income is taken into account for U.S...."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 1586) to modernize the air traffic control system, improve the<br>safety, reliability, and availability of transportation by air in the United States,<br>provide for modernization of the air traffic control system, reauthorize the Federal<br>Aviation Administration, and for other purposes.","HRES1606","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 1586) to modernize the air traffic control system,<br>improve the safety, reliability, and availability of transportation by air in the United<br>States, provide for modernization of the air traffic control system, reauthorize the<br>Federal Aviation Administration."],["Honoring the members of the Army National Guard and Air National Guard of the State of<br>Oklahoma for their service and sacrifice on behalf of the United States since September<br>11, 2001.","HRES1052","Expresses gratitude to the members of the Oklahoma Army and Air National Guard and their<br>families for their service and sacrifice on behalf of the United States since September<br>11, 2001.Recognizes the citizen-soldiers of the Oklahoma National Guard as invaluable to<br>U.S. national security, vital to defending threats both foreign and domestic, and<br>essential for responding to state and national emergencies."],["To clarify the applicability of the Buy American Act to products purchased for the use of<br>the legislative branch, to prohibit the application of any of the exceptions to the<br>requirements of such Act to products bearing a Congressional seal, and for other purposes.","HR2039","Congressional Made in America Promise Act of 2010 - Amends the Buy American Act to apply<br>Buy American requirements to articles, materials, and supplies acquired for the use of any<br>legislative branch office, including the House of Representatives and the Senate, in the<br>same manner as the Act applies with respect to articles, materials, and supplies acquired<br>for the use of a department or independent establishment. Prescribes a special rule in the<br>case of any product which bears a congressional..."],["Expressing support for designation of the last week of September as National Hereditary<br>Breast and Ovarian Cancer Week and the last Wednesday of September as National Previvor<br>Day.","HRES1522","Expresses support for designation of: (1) National Hereditary Breast and Ovarian Cancer<br>Week; and (2) National Previvor Day."],["To require the proposal for debarment from contracting with the Federal Government of<br>persons violating the Foreign Corrupt Practices Act of 1977.","HR5366","Overseas Contractor Reform Act - Requires any person found to be in violation of the<br>Foreign Corrupt Practices Act of 1977 to be proposed for debarment from any federal<br>contract or grant within 30 days after final judgment of such violation. Authorizes the<br>head of a federal agency to waive this provision for a federal contract or grant and to<br>report such waiver to Congress within 30 days with a justification. Declares that it is<br>U.S. government policy that no government contracts or grants sh..."],["Expressing the sense of the House of Representatives regarding the terrorist attacks<br>launched against the United States on September 11, 2001.","HRES1610","Recognizes September 11 as a day to remember those taken from their loved ones and fellow<br>citizens and as a day for the people of the United States to recommit to the nation and to<br>each other. Extends deepest sympathies to friends, families, and loved ones of the victims<br>of the September 11, 2001, terrorist attacks. Honors the heroic service and sacrifices of<br>first responders, law enforcement personnel, state and local officials, volunteers and<br>others who aided the victims. Expresses gratitud..."],["Providing for consideration of the bill (H.R. 4785) to amend the miscellaneous rural<br>development provisions of the Farm Security and Rural Investment Act of 2002 to authorize<br>the Secretary of Agriculture to make loans to certain entities that will use the funds to<br>make loans to consumers to implement energy efficiency measures involving structural<br>improvements and investments in cost-effective, commercial off-the-shelf technologies to<br>reduce home energy use.","HRES1620","Sets forth the rule for consideration of the bill (H.R. 4785) to amend the miscellaneous<br>rural development provisions of the Farm Security and Rural Investment Act of 2002 to<br>authorize the Secretary of Agriculture to make loans to certain entities that will use the<br>funds to make loans to consumers to implement energy efficiency measures involving<br>structural improvements and investments in cost-effective, commercial off-the-shelf<br>technologies to reduce home energy use."],["To designate the Federal building under construction at 1220 Echelon Parkway in Jackson,<br>Mississippi, as the \"Chaney, Goodman, Schwerner Federal Building\".","HR3562","Directs the Administrator of General Services (GSA) to ensure that the federally occupied<br>building located at 1220 Echelon Parkway in Jackson, Mississippi, is designated as the<br>\"James Chaney, Andrew Goodman, Michael Schwerner, and Roy K. Moore Federal Building.\""],["To amend the miscellaneous rural development provisions of the Farm Security and Rural<br>Investment Act of 2002 to authorize the Secretary of Agriculture to make loans to certain<br>entities that will use the funds to make loans to consumers to implement energy efficiency<br>measures involving structural improvements and investments in cost-effective, commercial<br>off-the-shelf technologies to reduce home energy use.","HR4785","(Sec. 1) Directs the Secretary of Energy to establish a Home Star Energy Efficiency Loan<br>Program of interest free loans to states to support financial assistance provided by<br>qualified financing entities for the installation of qualifying energy savings measures.<br>Defines \"eligible participant\" as a homeowner with a gross annual household income of less<br>than $250,000 who receives financial assistance from a qualified financing entity to carry<br>out qualifying energy savings measures and who is no..."],["Expressing condolences to and solidarity with the people of Pakistan in the aftermath of<br>the devastating floods that began on July 22, 2010.","HRES1613","Mourns the loss of life, as well as the physical damage, caused by the flooding in<br>Pakistan and expresses condolences to the flood victims' families. Recognizes that: (1)<br>Pakistan is a close U.S. ally and friend; and (2) an effective and accountable government<br>in Pakistan is essential for the country's long-term recovery and stability. Supports the<br>use of funds authorized by the Enhanced Partnership with Pakistan Act of 2009 to provide<br>long-term recovery and rehabilitation for flood-affected ..."],["To establish Coltsville National Historical Park in the State of Connecticut, and for<br>other purposes.","HR5131","Coltsville National Historical Park Act - (Sec. 3) Establishes the Coltsville National<br>Historical Park as a unit of the National Park System in Connecticut. Bars the<br>establishment of the Park until it is determined that specified conditions have been met,<br>including that: (1) Connecticut, the city of Hartford, or private property owner, as<br>appropriate, has entered into a written agreement with the Secretary of the Interior to<br>donate at least 10,000 square feet of space in the East Armory; and ..."],["To authorize funding for the creation and implementation of infant mortality pilot<br>programs in standard metropolitan statistical areas with high rates of infant mortality,<br>and for other purposes.","HR3470","Nationally Enhancing the Wellbeing of Babies through Outreach and Research Now Act or the<br>NEWBORN Act - Requires the Secretary of Health and Human Services (HHS), acting through<br>the Administrator of the Health Resources and Services Administration, to award five-year<br>grants to eligible entities to create, implement, and oversee infant mortality pilot<br>programs. Defines \"eligible entity\" to mean a state, county, city, territorial, or tribal<br>health department that has submitted a proposal to the..."],["Providing for consideration of the Senate amendment to the bill (H.R. 5297) to create the<br>Small Business Lending Fund Program to direct the Secretary of the Treasury to make<br>capital investments in eligible institutions in order to increase the availability of<br>credit for small businesses, to amend the Internal Revenue Code of 1986 to provide tax<br>incentives for small business job creation, and for other purposes.","HRES1640","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 5297) to<br>create the Small Business Lending Fund Program to direct the Secretary of the Treasury to<br>make capital investments in eligible institutions in order to increase the availability of<br>credit for small businesses, to amend the Internal Revenue Code of 1986 to provide tax<br>incentives for small business job creation."],["To modify the boundary of the Casa Grande Ruins National Monument, and for other purposes.","HR5110","Casa Grande Ruins National Monument Boundary Modification Act of 2010 - Authorizes the<br>Secretary of the Interior to acquire only from willing sellers the private or state lands<br>or interests identified on the map entitled \"Proposed Casa Grande Ruins Boundary<br>Modification\" and dated January 2010. Transfers administrative jurisdiction of specified<br>withdrawn federal lands administered by the Bureau of Land Management (BLM) or the Bureau<br>of Indian Affairs (BIA) to the National Park Service (NPS). ..."],["To establish the Sedona-Red Rock National Scenic Area in the Coconino National Forest,<br>Arizona, and for other purposes.","HR4823","Sedona-Red Rock National Scenic Area Act of 2010 - Establishes the Sedona-Red Rock<br>National Scenic Area in the Coconino National Forest in Arizona to limit exchanges of land<br>involving National Forest System land included in the Scenic Area and to manage the System<br>land included in the Scenic Area as provided in the land resource management plan for the<br>Forest. Bars the inclusion of any land located outside the boundaries of Coconino National<br>Forest in the Scenic Area. Requires the Scenic Area..."],["To amend the Tariff Act of 1930 to include ultralight aircraft under the definition of<br>aircraft for purposes of the aviation smuggling provisions under that Act.","HR5307","Ultralight Smuggling Prevention Act of 2010 - Amends the Tariff Act of 1930 with respect<br>to aviation smuggling to extend its coverage of aircraft to ultralight vehicles, as<br>defined by the Administrator of the Federal Aviation Administration (FAA)."],["To amend title I of the Developmental Disabilities Assistance and Bill of Rights Act of<br>2000 to provide for grants and technical assistance to improve services rendered to<br>children and adults with autism, and their families, and to expand the number of<br>University Centers for Excellence in Developmental Disablities Education, Research, and<br>Service.","HR5756","Training and Research for Autism Improvements Nationwide Act or the TRAIN Act of 2010 -<br>(Sec. 2) Amends the Developmental Disabilities Assistance and Bill of Rights Act of 2000<br>to require the Secretary of Health and Human Services (HHS) to award grants to University<br>Centers for Excellence in Developmental Disabilities Education, Research, and Service to<br>provide individuals (including children and adults on the autism spectrum, families of<br>such children and adults, health professionals, and vo..."],["To amend the Public Health Service Act to provide grants to State emergency medical<br>service departments to provide for the expedited training and licensing of veterans with<br>prior medical training, and for other purposes.","HR3199","Emergency Medic Transition Act of 2010 or the EMT Act of 2010 - Amends the Public Health<br>Service Act to require the Secretary of Health and Human Services (HHS) to establish a<br>program of awarding grants to states to assist veterans who received and completed<br>military emergency medical training while serving in the U.S. Armed Forces to become, upon<br>their discharge or release from active duty service, state-licensed or certified emergency<br>medical technicians. Allows such funds to be used to: (1..."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES321","Declares that when the House adjourns on any legislative day from Wednesday, September 29,<br>2010, through Friday, October 8, 2010, it stand adjourned until 2 p.m. on Monday, November<br>15, 2010. Declares that when the Senate recesses or adjourns on any day from Wednesday,<br>September 29, 2010, through Friday, November 12, 2010, it stand recessed or adjourned<br>until noon on Monday, November 15, 2010."],["Providing for consideration of the bill (H.R. 847) to amend the Public Health Service Act<br>to extend and improve protections and services to individuals directly impacted by the<br>terrorist attack in New York City on September 11, 2001, and for other purposes; providing<br>for consideration of the bill (H.R. 2378) to amend title VII of the Tariff Act of 1930 to<br>clarify that fundamental exchange-rate misalignment by any foreign nation is actionable<br>under United States countervailing and antidumping duty laws, and for other purposes; and<br>providing for consideration of the Senate amendment to the bill (H.R. 2701) to authorize<br>appropriations for fiscal year 2010 for intelligence and intelligence-related activities<br>of the United States Government, the Community Management Account, and the Central<br>Intelligence Agency Retirement and Disability System, and for other purposes.","HRES1674","Sets forth the rule for consideration of the bill (H.R. 847) to amend the Public Health<br>Service Act to extend and improve protections and services to individuals directly<br>impacted by the terrorist attack in New York City on September 11, 2001, and for other<br>purposes; providing for consideration of the bill (H.R. 2378) to amend title VII of the<br>Tariff Act of 1930 to clarify that fundamental exchange-rate misalignment by any foreign<br>nation is actionable under United States countervailing and an..."],["To amend title 38, United States Code, to ensure that beneficiaries of Servicemembers'<br>Group Life Insurance receive financial counseling and disclosure information regarding<br>life insurance payments, and for other purposes.","HR5993","Securing America's Veterans Insurance Needs and Goals Act of 2010 or SAVINGS Act of 2010 -<br>Requires a life insurance company, in order to provide life insurance for veterans under<br>the Servicemembers' Group Life Insurance program, to: (1) provide financial counseling to<br>the beneficiary or other person entitled to payment upon the establishment of a valid<br>claim; and (2) include full disclosure with respect to such payment, including specified<br>information with respect to interest payable and the..."],["Calling on the Government of Japan to immediately address the growing problem of abduction<br>to and retention of United States citizen minor children in Japan, to work closely with<br>the Government of the United States to return these children to their custodial parent or<br>to the original jurisdiction for a custody determination in the United States, to provide<br>left-behind parents immediate access to their children, and to adopt without delay the<br>1980 Hague Convention on the Civil Aspects of International Child Abduction.","HRES1326","Condemns the abduction and wrongful retention of all minor children being held in Japan<br>away from their U.S. parents. Calls on the government of Japan to: (1) facilitate the<br>resolution of all abduction cases and to recognize related U.S. court orders; (2) include<br>Japan's Ministry of Justice in work with the U.S. government to identify and locate U.S.<br>citizen children alleged to have been wrongfully removed to or retained in Japan; and (3)<br>review and amend its consular procedures to ensure tha..."],["To amend title VII of the Tariff Act of 1930 to clarify that fundamental exchange-rate<br>misalignment by any foreign nation is actionable under United States countervailing and<br>antidumping duty laws, and for other purposes.","HR2378","Currency Reform for Fair Trade Act - (Sec. 2) Amends the Tariff Act of 1930 to include as<br>a \"countervailable subsidy\" requiring action under a countervailing duty or antidumping<br>duty proceeding the benefit conferred on merchandise imported into the United States from<br>foreign countries with fundamentally undervalued currency. Defines \"benefit conferred,\" in<br>cases where the currency of a foreign country is exchanged for foreign currency (i.e.,<br>U.S. dollars) obtained from export transactions, as..."],["To develop a rare earth materials program, to amend the National Materials and Minerals<br>Policy, Research and Development Act of 1980, and for other purposes.","HR6160","Rare Earths and Critical Materials Revitalization Act of 2010 - Title I: Rare Earth<br>Materials - (Sec. 101) Establishes in the Department of Energy (DOE) a research,<br>development, and commercial application program to assure the long-term, secure, and<br>sustainable supply of specified rare earth materials to satisfy the national security,<br>economic well-being, and industrial production needs of the United States. Directs the<br>Secretary of Energy (Secretary) to: (1) support new or significantly impr..."],["To require that certain Federal job training and career education programs give priority<br>to programs that provide a national industry-recognized and portable credential.","HR4072","American Manufacturing Efficiency and Retraining Investment Collaboration Achievement<br>Works Act or AMERICA Works Act - Amends the Workforce Investment Act of 1998, with respect<br>to statewide and local adult and youth workforce investment employment and training<br>programs, to require a one-stop delivery system, in selecting and approving training<br>services, or programs of training services, to give priority consideration to state- and<br>local board-approved services and programs that lead to an ind..."],["To exclude from consumer credit reports medical debt that has been in collection and has<br>been fully paid or settled, and for other purposes.","HR3421","Medical Debt Relief Act of 2010 - Amends the Fair Credit Reporting Act to prohibit a<br>consumer reporting agency from making any report containing information related to a fully<br>paid or settled medical debt that had been characterized as delinquent, charged off, or in<br>collection for credit reporting purposes which, from the date of payment or settlement,<br>antedates the report by more than 45 calendar days."],["Providing for consideration of the Senate Amendments to the bill (H.R. 3081) making<br>appropriations for the Department of State, foreign operations, and related programs for<br>the fiscal year ending September 30, 2010, and for other purposes.","HRES1682","Sets forth the rule for consideration of the Senate Amendments to the bill (H.R. 3081)<br>making appropriations for the Department of State, foreign operations, and related<br>programs for the fiscal year ending September 30, 2010."],["An original bill to authorize the programs of the National Aeronautics and Space<br>Administration for fiscal years 2011 through 2013, and for other purposes.","S3729","National Aeronautics and Space Administration Authorization Act of 2010 - Title I:<br>Authorization of Appropriations - (Sec. 101) Authorizes appropriations to the National<br>Aeronautics and Space Administration (NASA) for FY2011-FY2013 for: (1) exploration; (2)<br>space operations; (3) science; (4) aeronautics; (5) education; (6) cross-agency support<br>programs; (7) construction and environmental compliance and restoration; and (8) the<br>Inspector General. Title II: Policy, Goals, and Objectives for Hum..."],["To amend the Federal Election Campaign Act of 1971 to prohibit certain State election<br>administration officials from actively participating in electoral campaigns.","HR512","Federal Election Integrity Act of 2010 - Amends the Federal Election Campaign Act of 1971<br>to make it unlawful for a chief state election administration official to take active part<br>in political management or in a political campaign with respect to any election for<br>federal office over which the official has supervisory authority. Waives application of<br>this Act if the chief state election administration official himself or herself, or an<br>immediate family member, is a candidate. States that the ..."],["To authorize the Secretary of the Interior to extend grants and other assistance to<br>facilitate a political status public education program for the people of Guam.","HR3940","Expresses the sense of Congress that the Secretary of the Interior may provide technical<br>assistance to the government of Guam for public education regarding political status<br>options only if those options are consistent with the U.S. Constitution. Amends the Fair<br>Minimum Wage Act of 2007 to deny: (1) the Northern Mariana Islands the 2011 increase in<br>its minimum wage; and (2) American Samoa the 2010 and 2011 increase in its minimum wage.<br>Directs the Government Accountability Office (GAO) to ass..."],["A bill to clarify, improve, and correct the laws relating to copyrights.","S3689","Copyright Cleanup, Clarification, and Corrections Act of 2010 - Eliminates the requirement<br>that the Register of Copyrights maintain a directory of agents available to the public for<br>inspection in both electronic and hard copy formats. (Maintains only the requirement that<br>the directory be available through the Internet.) Authorizes a sworn or official<br>certification to be electronically submitted to the Copyright Office. Repeals provisions<br>providing that, prior to July 1, 1986, the importation ..."],["Recognizing the 50th anniversary of Ruby Bridges desegregating a previously all-White<br>public elementary school.","HRES1713","Recognizes the 50th anniversary of Ruby Bridges desegregating William Frantz Elementary<br>School, a previously all-White public elementary school in New Orleans, Louisiana.<br>Encourages people to recognize the historical importance of elementary school<br>desegregation and Ruby Bridges. Expresses the House of Representatives' commitment to<br>continuing the legacy of Brown v. Board of Education by protecting and advancing equal<br>educational opportunity for all."],["Expressing the sense of the Congress regarding the successful and substantial<br>contributions of the amendments to the patent and trademark laws that were initially<br>enacted in 1980 by Public Law 96-517 (commonly referred to as the \"Bayh-Dole Act\") on the<br>occasion of the 30th anniversary of its enactment.","HCONRES328","Expresses the sense of Congress that the Bayh-Dole Act (amending federal patent and<br>trademark law) and its subsequent amendments have: (1) made substantial contributions to<br>the advancement of scientific and technological knowledge; (2) fostered dramatic<br>improvements in public health and safety; (3) strengthened higher education; (4) led to<br>the development of new domestic industries and private sector jobs; and (5) benefitted<br>economic and trade policies of the United States. Reaffirms the supp..."],["Recognizing Gail Abarbanel and the Rape Treatment Center, and for other purposes.","HRES716","Applauds Gail Abarbanel for founding the Rape Treatment Center and creating the Fast Track<br>Forensics Program. Commends the Rape Treatment Center for providing necessary services to<br>sexual assault victims. Calls upon local law enforcement agencies and state legislatures<br>to work towards eliminating delays in processing rape kits. Urges Congress to support<br>programs for timely processing of DNA evidence."],["Congratulates the town of Tarboro, North Carolina, on the occasion of its 250th<br>anniversary.","HRES1475","Congratulates Tarboro, North Carolina, on its 250th anniversary."],["Recognizing Brooklyn Botanic Garden on its 100th anniversary as the preeminent<br>horticultural attraction in the borough of Brooklyn and its longstanding commitment to<br>environmental stewardship and education for the City of New York.","HRES1428","Recognizes the Brooklyn Botanic Gardens on its 100th anniversary as the preeminent<br>horticultural attraction in the borough of Brooklyn and for its long-standing commitment<br>to environmental stewardship and education for New York City."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES332","Declares that when the House adjourns on any legislative day from Thursday, November 18,<br>2010, or Friday, November 19, 2010, it stand adjourned until 2 p.m. on Monday, November<br>29, 2010. Declares that when the Senate recesses or adjourns on any day from Thursday,<br>November 18, 2010, through Sunday, November 21, 2010, it stand recessed or adjourned until<br>noon on Monday, November 29, 2010."],["To designate the facility of the United States Postal Service located at 2 Government<br>Center in Fall River, Massachusetts, as the \"Sergeant Robert Barrett Post Office<br>Building\".","HR5758","Designates the facility of the United States Postal Service located at 2 Government Center<br>in Fall River, Massachusetts, as the \"Sergeant Robert Barrett Post Office Building.\""],["Providing for the consideration of the Senate amendment to the bill (H.R. 1722) to require<br>the head of each executive agency to establish and implement a policy under which<br>employees shall be authorized to telework, and for other purposes, and providing for<br>consideration of motions to suspend the rules.","HRES1721","Sets forth the rule for consideration of H.R. 1722 (Telework Enhancement Act of 2010).<br>Makes it in order at any time through the legislative day of November 19, 2010, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules."],["To amend the Supplemental Appropriations Act, 2008 to provide for the further extension of<br>emergency unemployment benefits, and for other purposes.","HR6419","Emergency Unemployment Compensation Continuation Act - Amends the Supplemental<br>Appropriations Act, 2008 with respect to the state-established individual emergency<br>unemployment compensation account (EUCA). Extends the final date for entering a federal-<br>state agreement under the Emergency Unemployment Compensation (EUC) program through<br>February 28, 2011. Postpones the termination of the program until July 31, 2011. Amends<br>the Assistance for Unemployed Workers and Struggling Families Act to exten..."],["To designate the facility of the United States Postal Service located at 655 Centre Street<br>in Jamaica Plain, Massachusetts, as the \"Lance Corporal Alexander Scott Arredondo, United<br>States Marine Corps Post Office Building\".","HR5877","Designates the facility of the United States Postal Service located at 655 Centre Street<br>in Jamaica Plain, Massachusetts, as the \"Lance Corporal Alexander Scott Arredondo, United<br>States Marine Corps Post Office Building.\""],["Supporting the goals and ideals of a National Mesothelioma Awareness Day.","HRES771","Expresses support for the goals and ideals of a National Mesothelioma Awareness Day."],["Providing for consideration of the Senate amendments to the bill (H.R. 4783) to accelerate<br>the income tax benefits for charitable cash contributions for the relief of victims of the<br>earthquake in Chile, and to extend the period from which such contributions for the relief<br>of victims of the earthquake in Haiti may be accelerated.","HRES1736","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 4783) to<br>accelerate the income tax benefits for charitable cash contributions for the relief of<br>victims of the earthquake in Chile, and to extend the period from which such contributions<br>for the relief of victims of the earthquake in Haiti may be accelerated."],["To accelerate the income tax benefits for charitable cash contributions for the relief of<br>victims of the earthquake in Chile, and to extend the period from which such contributions<br>for the relief of victims of the earthquake in Haiti may be accelerated.","HR4783","Claims Resolution Act of 2010 - Title I: Individual Indian Money Account Litigation<br>Settlement - (Sec. 101) Authorizes, ratifies, and confirms the class action settlement<br>agreement dated December 7, 2009, in Cobell v. Salazar, U.S. District Court, District of<br>Columbia, as modified by the parties. Authorizes the court to certify the Trust<br>Administration Class, notwithstanding federal rules of procedure. Establishes the Trust<br>Land Consolidation Fund (TLCF) upon final approval of the settlement ..."],["Honoring and recognizing the exemplary service and sacrifice of the 60th Air Mobility<br>Wing, the 349th Air Mobility Wing, the 15th Expeditionary Mobility Task Force, and the<br>615th Contingency Response Wing civilians and families serving at Travis Air Force Base,<br>California.","HRES1585","Recognizes the service and sacrifice of the 60th Air Mobility Wing, the 349th Air Mobility<br>Wing, the 15th Expeditionary Mobility Task Force, and the 615th Contingency Response Wing<br>civilians and families serving at Travis Air Force Base, California. Offers condolences to<br>the families of the servicemembers of Team Travis who lost their lives defending the<br>United States. Commends the actions of private citizens and organizations in the Travis<br>Air Force Base community for their steadfast support..."],["Providing for consideration of the bill (S. 3307) to reauthorize child nutrition programs,<br>and for other purposes.","HRES1742","Sets forth the rule for consideration of the bill (S. 3307) to reauthorize child nutrition<br>programs."],["Providing for consideration of the joint resolution (H.J. Res. 101) making further<br>continuing appropriations for fiscal year 2011, and for other purposes.","HRES1741","Sets forth the rule for consideration of the joint resolution (H.J. Res. 101) making<br>further continuing appropriations for fiscal year 2011."],["Supporting the goal of ensuring that all Holocaust survivors in the United States are able<br>to live with dignity, comfort, and security in their remaining years.","HCONRES323","Supports the goal of ensuring that all Holocaust survivors in the United States are able<br>to live with dignity, comfort, and security in their remaining years. Applauds the<br>nonprofit organizations and agencies that work tirelessly to honor and assist Holocaust<br>survivors in their communities. Urges the Administration and the Department of Health and<br>Human Services (HHS), in conjunction with the Administration on Aging (AoA), to provide<br>Holocaust survivors with needed social services through exi..."],["Condemning North Korea in the strongest terms for its unprovoked military attack against<br>South Korea on November 23, 2010.","HRES1735","Condemns North Korea for its unprovoked November 2010 military attack against South Korea<br>in violation of the Korean War Armistice Agreement and for causing civilian casualties.<br>Expresses condolences to the South Korean victims and their families. Stands in solidarity<br>with the people and government of the Republic of Korea at this time of national crisis.<br>Calls for North Korea to renounce further acts of aggression. Reaffirms the commitment of<br>the House of Representatives to the alliance betw..."],["Honoring and saluting golf legend Juan Antonio \"Chi Chi\" Rodriguez for his commitment to<br>Latino youth programs of the Congressional Hispanic Caucus Institute.","HRES1430","Honors Juan Antonio \"Chi Chi\" Rodriguez for his contributions to the successful programs<br>of the Congressional Hispanic Caucus Institute for Latino youth and his lifelong<br>leadership in shaping the lives of at-risk youth."],["Making further continuing appropriations for fiscal year 2011, and for other purposes.","HJRES101","Amends the Continuing Appropriations Act, 2011 (P.L. 111-242) to extend through December<br>18, 2010, specified continuing appropriations for FY2011."],["Honoring Fort Drum's soldiers of the 10th Mountain Division for their past and continuing<br>contributions to the security of the United States.","HRES1217","Recognizes the achievements of the soldiers serving in the 10th Mountain Division, as well<br>as citizen-soldiers of the Army Reserve and National Guard who have fought with the 10th<br>Mountain Division during its 60-year history. Expresses gratitude to the family members of<br>the 10th Mountain Division for their service and sacrifice. Commends the North Country<br>(New York) community for their unwavering support of Fort Drum and the men and women<br>serving in uniform. Offers heartfelt condolences to th..."],["Commending the City of Jacksonville, Arkansas, for its outstanding support in creating a<br>unique and lasting partnership with Little Rock Air Force Base, members of the Armed<br>Forces stationed there and their families, and the Air Force.","HRES1724","Commends the city of Jacksonville, Arkansas, for its outstanding support in creating a<br>unique and lasting partnership with Little Rock Air Force Base, members of the Armed<br>Forces stationed there, and their families."],["Providing for consideration of the Senate amendment to the bill (H.R. 4853) to amend the<br>Internal Revenue Code of 1986 to extend the funding and expenditure authority of the<br>Airport and Airway Trust Fund, to amend title 49, United States Code, to extend<br>authorizations for the airport improvement program, and for other purposes, and providing<br>for consideration of motions to suspend the rules.","HRES1745","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 4853) to<br>amend the Internal Revenue Code of 1986 to extend the funding and expenditure authority of<br>the Airport and Airway Trust Fund, to amend title 49, United States Code, to extend<br>authorizations for the airport improvement program, and for other purposes, and providing<br>for consideration of motions to suspend the rules."],["Supporting the goals and ideals of National GEAR UP Day.","HRES1638","Expresses support for the goals and ideals of a National GEAR UP Day. (GEAR UP is the<br>Gaining Early Awareness and Readiness for Undergraduate Programs, created to facilitate<br>the transition of low-income high school students into postsecondary education.)<br>Recognizes the contributions of teachers, counselors, and program staff who encourage and<br>prepare students for success in college. Encourages all students to set ambitious goals<br>and work hard to achieve their dreams."],["Expressing support for the designation of the month of October as National Work and Family<br>Month.","HRES1598","Supports the designation of National Work and Family Month. Recognizes the importance of<br>balancing work and family to job productivity and healthy families, and that an important<br>job characteristic is a work schedule that allows employees to spend time with families."],["To amend section 17 of the Richard B. Russell National School Lunch Act to include a<br>condition of receipt of funds under the child and adult care food program.","HR6469","Amends the Richard B. Russell National School Lunch Act to make child care institutions<br>ineligible for funding under the child and adult care food program if they employ a child<br>care staff member who: (1) refuses to consent to a criminal background check that includes<br>a search of specified databases; (2) makes a false statement in connection with such<br>background check; (3) is or is required to be registered on a state sex offender registry<br>or the National Sex Offender Registry; or (4) has bee..."],["An original bill to reauthorize child nutrition programs, and for other purposes.","S3307","Healthy, Hunger-Free Kids Act of 2010 - Title I: A Path to End Childhood Hunger - Subtitle<br>A: National School Lunch Program - (Sec. 101) Amends the Richard B. Russell National<br>School Lunch Act to: (1) require the Secretary of Agriculture to provide performance<br>awards to states with outstanding performance or substantial improvement in directly<br>certifying children who receive other public assistance as eligible for free meals under<br>the school lunch and breakfast programs; (2) establish perform..."],["To amend the Internal Revenue Code of 1986 to extend the funding and expenditure authority<br>of the Airport and Airway Trust Fund, to amend title 49, United States Code, to extend<br>authorizations for the airport improvement program, and for other purposes.","HR4853","Tax Relief, Unemployment Insurance Reauthorization, and Job Creation Act of 2010 - Title<br>I: Temporary Extension of Tax Relief - Extends through December 31, 2012: (1) the Economic<br>Growth and Tax Relief Reconciliation Act of 2001 (EGTRRA), Public Law 107-16; (2)<br>provisions of the Jobs and Growth Tax Relief Reconciliation Act of 2003, Public Law<br>108-27, reducing income tax rates on dividend and capital gain income; (3) increases in<br>the Hope Scholarship tax credit, the child tax credit, and the ..."],["In the matter of Representative Charles B. Rangel.","HRES1737","Requires Representative Charles B. Rangel of New York: (1) to be censured; (2) to be in<br>the well of the House of Representatives for the pronouncement of such censure and the<br>public reading of this resolution by the Speaker of the House; and (3) to pay restitution<br>to the appropriate taxing authorities or the U.S. Treasury for any unpaid estimated taxes<br>outlined in Exhibit 066 on income received from his property in the Dominican Republic,<br>and provide proof of payment to the Committee on Stand..."],["To designate the facility of the United States Postal Service located at 111 North 6th<br>Street in St. Louis, Missouri, as the \"Earl Wilson, Jr. Post Office\".","HR6400","Designates the facility of the United States Postal Service located at 111 North 6th<br>Street in St. Louis, Missouri, as the \"Earl Wilson, Jr. Post Office.\""],["Recognizing the centennial of the City of Lilburn, Georgia and supporting the goals and<br>ideals of a City of Lilburn Day.","HRES1642","Recognizes the centennial of the City of Lilburn, Georgia.Expresses support for the goals<br>and ideals of a City of Lilburn Day."],["Expressing support for the designation of March as National Essential Tremor Awareness<br>Month.","HRES1264","Expresses support for the designation of National Essential Tremor Awareness Month."],["To ensure that seniors, veterans, and people with disabilities who receive Social Security<br>and certain other Federal benefits receive a one-time $250 payment in the event that no<br>cost-of-living adjustment is payable in 2011.","HR5987","Seniors Protection Act of 2010 - Directs the Secretary of the Treasury to disburse a $250<br>payment to recipients of Social Security, SSI (Supplemental Security Income under title<br>XVI of the Social Security Act), railroad retirement benefits, and veterans disability<br>compensation or pension benefits if no cost-of-living adjustment is payable in 2011."],["Expressing support for designation of 2011 as \"World Veterinary Year\" to bring attention<br>to and show appreciation for the veterinary profession on its 250th anniversary.","HRES1531","Expresses support for the designation of, and the goals and ideals of, World Veterinary<br>Year."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES1752","Waives specified requirements of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of resolutions reported from the Committee on Rules through the legislative<br>day of December 18, 2010, on the same day they are presented to the House. Makes it in<br>order at any time through such date for the Speaker of the House to entertain motions that<br>the House suspend the rules."],["To improve compliance with mine safety and health laws, empower miners to raise safety<br>concerns, prevent future mine tragedies, and for other purposes.","HR6495","Robert C. Byrd Mine Safety Protection Act of 2010 - Amends the Federal Mine Safety and<br>Health Act of 1977 (this Act) to require the Secretary of Labor (Secretary), in conducting<br>health and safety related accident investigations in coal or other mines, to: (1)<br>determine why an accident occurred and whether there were violations of law, mandatory<br>health and safety standards, or other requirements; (2) in cases involving violations of<br>federal criminal law, refer them to the Attorney General; and..."],["Recognizing the 50th anniversary of the National Council for International Visitors, and<br>expressing support for designation of February 16, 2011, as \"Citizen Diplomacy Day\".","HRES1402","Recognizes the 50th anniversary of the National Council for International Visitors and its<br>efforts to promote excellence in citizen diplomacy. Commends the achievements of the<br>thousands of citizen diplomats who have worked for generations to share the best of the<br>United States with foreign leaders, specialists, and scholars. Thanks the National Council<br>for International Visitors citizen diplomats for their service to their communities, the<br>United States, and the world. Supports the designatio..."],["Honoring the 2500th anniversary of the Battle of Marathon.","HRES1704","Joins with the Greek Embassy in Washington, DC, the people of Hopkinton, Massachusetts,<br>the people of Marathon, Greece, and the hundreds of thousands of runners participating in<br>marathons throughout the United States, in celebrating the 2500th anniversary of the<br>Battle of Marathon, Greece, one of the most significant battles in human history."],["Providing for consideration of the Senate amendment to the bill (H.R. 3082) making<br>appropriations for military construction, the Department of Veterans Affairs, and related<br>agencies for the fiscal year ending September 30, 2010, and for other purposes.","HRES1755","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3082)<br>making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2010."],["To require certain return policies from businesses that purchase precious metals from<br>consumers and solicit such transactions through an Internet website.","HR4501","Guarantee of a Legitimate Deal Act of 2010 - Prohibits any purchaser of precious metals<br>from: (1) selling, transfering to a third party, or refining through melting or otherwise<br>permanently destroying an item of jewelry or precious metal before the purchaser has<br>received an affirmative acceptance of an offer to purchase the item from the consumer at a<br>specific price; (2) failing to promptly return any jewelry or other precious metal if the<br>consumer declines the offer; or (3) failing to adequa..."],["Recognizing and supporting the efforts of Welcome Back Veterans to augment the services<br>provided by the Departments of Defense and Veterans' Affairs in providing timely and<br>world-class care for veterans and members of the Armed Forces suffering from PTSD and<br>related psychiatric disorders.","HRES1746","Recognizes and supports the efforts of Welcome Back Veterans to augment the services<br>provided by the Departments of Defense (DOD) and Veterans Affairs (VA) in providing timely<br>and world-class care for veterans and members of the Armed Forces suffering from post-<br>traumatic stress disorder (PTSD) and related psychiatric disorders. Encourages the<br>Secretary of Veterans Affairs to establish innovative public-private partnerships for the<br>treatment and research of PTSD in teaching hospitals across th..."],["Providing for consideration of the Senate amendments to the bill (H.R. 5281) to amend<br>title 28, United States Code, to clarify and improve certain provisions relating to the<br>removal of litigation against Federal officers or agencies to Federal courts, and for<br>other purposes.","HRES1756","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 5281) to<br>amend title 28, United States Code, to clarify and improve certain provisions relating to<br>the removal of litigation against Federal officers or agencies to Federal courts."],["A bill to extend the Child Safety Pilot Program.","S3998","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Criminal History Background Checks Pilot Extension Act of 2010 - Amends<br>the PROTECT Act to extend from a 92-month program to the 104-month program the Child<br>Safety Pilot Program (allowing certain volunteer organizations to obtain national and<br>state criminal history background checks on their volunteers)."],["To amend title 28, United States Code, to clarify and improve certain provisions relating<br>to the removal of litigation against Federal officers or agencies to Federal courts, and<br>for other purposes.","HR5281","Removal Clarification Act of 2010 - Revises the federal judicial code to provide that a<br>civil action or criminal prosecution that is commenced in a state court and that is<br>against or directed to the United States or a federal agency or officer, or specified<br>others, may be removed to an appropriate U.S. district court. Declares that civil actions<br>and criminal prosecutions include any proceeding (whether or not ancillary to another<br>proceeding) to the extent that in such proceeding a judicial or..."],["To amend title 28, United States Code, to require the Attorney General to share criminal<br>records with State sentencing commissions, and for other purposes.","HR6412","Access to Criminal History Records for State Sentencing Commissions Act of 2010 - Requires<br>the Attorney General to share criminal records with state sentencing commissions."],["A bill to redesignate the Longfellow National Historic Site, Massachusetts, as the<br>\"Longfellow House-Washington's Headquarters National Historic Site\".","S1405","Longfellow House-Washington's Headquarters National Historic Site Designation Act -<br>Designates the Longfellow National Historic Site in Cambridge, Massachusetts, as the<br>Longfellow House-Washington's Headquarters National Historic Site."],["A bill to amend title 13 of the United States Code to provide for a 5-year term of office<br>for the Director of the Census and to provide for the authority and duties of the Director<br>and Deputy Director of the Census, and for other purposes.","S3167","Census Oversight Efficiency and Management Reform Act of 2010 - Requires the individual<br>appointed as Director of the Census to have a demonstrated ability in managing large<br>organizations and experience in the collection, analysis, and use of statistical data.<br>Provides that: (1) the Director shall report directly to the Secretary of Commerce; and<br>(2) no U.S. officer or agency shall have authority to require the Director to submit<br>legislative recommendations, testimony, or comments for review p..."],["To direct the Administrator of General Services to convey a parcel of real property in<br>Houston, Texas, to the Military Museum of Texas, and for other purposes.","HR6510","Directs the Administrator of General Services (GSA) to convey, at a specified market<br>value, to the Military Museum of Texas all U.S. right, title, and interest in and to a<br>certain parcel of real property located at 8611 Wallisville Road in Houston, Texas.<br>Requires an independent appraisal of the market value of the real property, to be paid for<br>by the Military Museum. Requires the conveyance to include improvements, structures, and<br>fixtures located on the conveyed real property and related pe..."],["Expressing support for designation of January 23rd as \"Ed Roberts Day\".","HRES1759","Expresses support for the designation of an \"Ed Roberts Day\" and acknowledges the<br>accomplishments of Ed Roberts, a disability rights leader who helped reduce barriers,<br>increase access, and improve lives for persons with disabilities."],["To designate the facility of the United States Postal Service located at 1449 West Avenue<br>in Bronx, New York, as the \"Private Isaac T. Cortes Post Office\".","HR6205","Designates the facility of the United States Postal Service located at 1449 West Avenue in<br>Bronx, New York, as the \"Private Isaac T. Cortes Post Office.\""],["Providing for consideration of the Senate amendment to the bill (H.R. 2965) to amend the<br>Small Business Act with respect to the Small Business Innovation Research Program and the<br>Small Business Technology Transfer Program, and for other purposes.","HRES1764","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2965) to<br>amend the Small Business Act with respect to the Small Business Innovation Research<br>Program and the Small Business Technology Transfer Program."],["Congratulating Gerda Weissmann Klein on being selected to receive the Presidential Medal<br>of Freedom.","HRES1743","Congratulates Gerda Weissmann Klein on being selected to receive the Presidential Medal of<br>Freedom."],["A bill to direct the Secretary of Transportation to study and establish a motor vehicle<br>safety standard that provides for a means of alerting blind and other pedestrians of motor<br>vehicle operation.","S841","Pedestrian Safety Enhancement Act of 2010 - Directs the Secretary of Transportation to<br>initiate a rulemaking to promulgate a phased-in motor vehicle safety standard: (1)<br>establishing performance requirements for an alert sound that allows blind and other<br>pedestrians to detect a nearby electric or hybrid vehicle operating below the cross-over<br>speed, if any; and (2) requiring such vehicles to provide an alert sound conforming to<br>established standard requirements. Prescribes requirements for suc..."],["A bill to require reports on the management of Arlington National Cemetery.","S3860","Directs the Secretary of the Army to submit to the congressional defense, homeland<br>security, and veterans committees an accounting of the gravesites at Arlington National<br>Cemetery, including, among other things, whether such gravesites are correctly identified,<br>labeled, and occupied. Requires the Comptroller General to report to such committees on<br>the management and oversight of burial operations contracts at such Cemetery. Directs the<br>Secretary of the Army to submit to the appropriate congre..."],["A bill to amend title 38, United States Code, to improve educational assistance for<br>veterans who served in the Armed Forces after September 11, 2001, and for other purposes.","S3447","Post-9/11 Veterans Educational Assistance Improvements Act of 2010 - Requires the<br>budgetary effects of this Act to be determined by reference to the latest statement titled<br>\"Budgetary Effects of PAYGO Legislation\" for this Act, provided that such statement has<br>been submitted prior to the vote on passage. Title I: Post-9/11 Veterans Educational<br>Assistance - (Sec. 101) Includes within the definition of \"active duty\" for purposes for<br>eligibility under the post-9/11 veterans educational assistanc..."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R.4853) to amend the Internal Revenue Code of 1986 to extend the<br>funding and expenditure authority of the airport and Airway Trust Fund, to amend title 49,<br>United States Code, to extend authorizations for the airport improvement program, and for<br>other purposes.","HRES1766","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 4853) to amend the Internal Revenue Code of 1986 to<br>extend the funding and expenditure authority of the airport and Airway Trust Fund, to<br>amend title 49, United States Code, to extend authorizations for the airport improvement<br>program."],["A bill to protect girls in developing countries through the prevention of child marriage,<br>and for other purposes.","S987","International Protecting Girls by Preventing Child Marriage Act of 2010 - (Sec. 3) Defines<br>\"child marriage\" as the marriage of a girl or boy not yet the minimum age for marriage<br>stipulated in law in the country in which the girl or boy is a resident, or where there is<br>no such law, under the age of 18. (Sec. 4) Expresses the sense of Congress that: (1) child<br>marriage is a violation of human rights and its prevention and elimination should be a<br>U.S. foreign policy goal; and (2) expanding educat..."],["Honoring the accomplishments of Norman Yoshio Mineta, and for other purposes.","HRES1377","Honors the accomplishments and legacy of Norman Yoshio Mineta for his groundbreaking<br>contributions to the Asian American and Pacific Islander community and for his dedication<br>and service to the United States.Memorializes the sacrifices and suffering that many Asian<br>Americans and Pacific Islanders endured in the pursuit of truth, liberty, justice, and<br>equality for all."],["To enact certain laws relating to public contracts as title 41, United States Code,<br>\"Public Contracts\".","HR1107","Enacts title 41 of the United States Code into positive law to be entitled \"Public<br>Contracts.\" Makes technical and conforming amendments. Increases the micro-purchase<br>threshold for executive agency procurement purposes to $3,000 (currently, $2,500)."],["To authorize appropriations for fiscal year 2011 for military activities of the Department<br>of Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HR6523","Ike Skelton National Defense Authorization Act for Fiscal Year 2011 - Division A:<br>Department of Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2011 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, and other procurement. (Sec. 104) Authorizes<br>appropriations for FY2011 for defense-wide procurement. Subti..."],["Providing for the sine die adjournment of the second session of the One Hundred Eleventh<br>Congress.","HCONRES336","Declares that when the House adjourns on any legislative day from Friday, December 17,<br>2010, through Friday, December 24, 2010, it stand adjourned sine die. Declares that when<br>the Senate adjourns on any day from Sunday, December 19, 2010, through 11:59 a.m. on<br>Monday, January 3, 2011, it stand adjourned sine die."],["Providing for consideration of the joint resolution (H.J. Res. 105) making further<br>continuing appropriations for fiscal year 2011, and for other purposes.","HRES1776","Sets forth the rule for consideration of the joint resolution (H.J. Res. 105) making<br>further continuing appropriations for fiscal year 2011."],["To require the review of Government programs at least once every 5 years for purposes of<br>assessing their performance and improving their operations, and to establish the<br>Performance Improvement Council.","HR2142","GPRA Modernization Act of 2010 - (Sec. 2) Amends the Government Performance and Results<br>Act of 1993 to require each executive agency to make its strategic plan available on its<br>public website and to the Office of Management and Budget (OMB) on the first Monday in<br>February of any year following that in which the term of the President commences and to<br>notify the President and Congress. Requires such plan to cover at least a four-year period<br>and to include a description of: (1) how the agency is..."],["To amend the Emergency Economic Stabilization Act of 2008 to allow amounts under the<br>Troubled Assets Relief Program to be used to provide legal assistance to homeowners to<br>avoid foreclosure.","HR5510","Aiding Those Facing Foreclosure Act of 2010 - Amends the Emergency Economic Stabilization<br>Act of 2008 (EESA) to authorize the Secretary of the Treasury to use otherwise unobligated<br>amounts under the Troubled Asset Relief Program (TARP) to enable nonprofit counseling<br>intermediaries and nonprofit legal organizations to provide legal assistance to homeowners<br>of owner-occupied homes consisting of from one to four dwelling units whose mortgages are<br>in default or delinquency, in danger of default o..."],["A bill to amend the Safe Drinking Water Act to reduce lead in drinking water.","S3874","Reduction of Lead in Drinking Water Act - Amends the Safe Drinking Water Act to exempt<br>from prohibitions on the use or sale of lead pipes, solder, and flux: (1) pipes or pipe or<br>plumbing fittings or fixtures, including backflow preventers, that are used exclusively<br>for nonpotable services such as manufacturing, industrial processing, irrigation, outdoor<br>watering or any other uses where the water is not anticipated to be used for human<br>consumption; or (2) toilets, bidets, urinals, fill valves,..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES1771","Waives specified requirements of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of resolutions reported from the Committee on Rules through the legislative<br>day of December 24, 2010, on the same day they are presented to the House. Makes it in<br>order at any time through such date for the Speaker of the House to entertain motions that<br>the House suspend the rules."],["To require the Secretary of Defense, in awarding a contract for the KC-X Aerial Refueling<br>Aircraft Program, to consider any unfair competitive advantage that an offeror may<br>possess.","HR6540","Defense Level Playing Field Act - Requires the Secretary of Defense (DOD), in evaluating<br>offers to award a contract for the KC-X aerial refueling aircraft program, to consider any<br>unfair advantage that an offeror may possess. Directs the Secretary to: (1) report to the<br>congressional defense committees on any such advantage; and (2) take into account the<br>findings of such report in awarding a contract."],["To amend the Elementary and Secondary Education Act of 1965 to require criminal background<br>checks for school employees.","HR6547","Protecting Students from Sexual and Violent Predators Act - Amends the Elementary and<br>Secondary Education Act of 1965 to require each state receiving funds under that Act to<br>have in effect policies and procedures that: (1) require criminal background checks for<br>school employees, including searches of state criminal registries or repositories, state-<br>based child abuse and neglect registries and databases, the National Crime Information<br>Center of the Department of Justice, the National Sex Offen..."],["A bill to establish a non-profit corporation to communicate United States entry policies<br>and otherwise promote leisure, business, and scholarly travel to the United States.","S1023","Travel Promotion Act of 2009 - Establishes the Corporation for Travel Promotion as an<br>independent nonprofit corporation. Makes the Corporation subject to the provisions of the<br>District of Columbia Nonprofit Corporation Act. Expresses the sense of Congress that the<br>Corporation should not engage in lobbying activities. Requires the Corporation, among<br>other things, to provide useful information to people interested in traveling to the<br>United States, counter and correct misperceptions regarding U..."],["An original bill to authorize appropriations for fiscal year 2010 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S1390","National Defense Authorization Act for Fiscal Year 2010 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2010 for the Army, Navy and<br>Marine Corps, and Air Force for aircraft, missiles, weapons and tracked combat vehicles,<br>ammunition, shipbuilding and conversion, and other procurement. (Sec. 104) Authorizes<br>appropriations for FY2010 for defense-wide procurement. (Sec. 105) Provid..."],["A bill to amend title XVIII of the Social Security Act to provide for the update under the<br>Medicare physician fee schedule for years beginning with 2010 and to sunset the<br>application of the sustainable growth rate formula, and for other purposes.","S1776","Medicare Physician Fairness Act of 2009 - Amends title XVIII (Medicare) of the Social<br>Security Act to require an update of 0% to the single conversion factor under the Medicare<br>physician fee schedule for 2010 and following years. Sunsets as of the end of 2008 the<br>mandatory annual publication in the Federal Register of the sustainable growth rate for<br>all physicians' services for a fiscal year (which is an element in the formula for<br>calculating the update adjustment factor as well as other fact..."],["To provide a temporary extension of certain programs, and for other purposes.","HR4691","Temporary Extension Act of 2010 - (Sec. 2) Amends the Supplemental Appropriations Act,<br>2008 with respect to the state-established individual emergency unemployment compensation<br>account (EUCA). Extends the final date for entering a federal-state agreement under the<br>Emergency Unemployment Compensation (EUC) program through April 5, 2010. Postpones the<br>termination of the program until September 4, 2010. Amends the Assistance for Unemployed<br>Workers and Struggling Families Act to extend until Apri..."],["An original bill to promote the financial stability of the United States by improving<br>accountability and transparency in the financial system, to end \"too big to fail\", to<br>protect the American taxpayer by ending bailouts, to protect consumers from abusive<br>financial services practices, and for other purposes.","S3217","Restoring American Financial Stability Act of 2010 - Financial Stability Act of 2010 -<br>Establishes the Financial Stability Oversight Council to: (1) identify risks to the<br>financial stability of the United States; (2) promote market discipline; and (3) respond<br>to emerging threats to the stability of the United States financial markets. Establishes<br>within the Department of the Treasury: (1) the Office of Financial Research (Office) to<br>support the Financial Stability Oversight Council; and (2) t..."],["Approving the renewal of import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003.","HJRES83","(This measure has not been amended since it was passed by the House on July 14, 2010. The<br>summary of that version is repeated here.) Approves the renewal of certain import<br>restrictions contained in the Burmese Freedom and Democracy Act of 2003, and deems this<br>resolution a renewal resolution under such Act. Amends the Consolidated Omnibus Budget<br>Reconciliation Act of 1985 to extend from August 17, 2018, through August 24, 2018,<br>certain customs user fees, including those for certain commercial ..."],["A bill to amend the Federal Election Campaign Act of 1971 to prohibit foreign influence in<br>Federal elections, to prohibit government contractors from making expenditures with<br>respect to such elections, and to establish additional disclosure requirements with<br>respect to spending in such elections, and for other purposes.","S3628","Democracy is Strengthened by Casting Light on Spending in Elections Act or the DISCLOSE<br>Act - Amends the Federal Election Campaign Act of 1971 (FECA) to prohibit: (1) independent<br>expenditures and payments for electioneering communications by government contractors if<br>the value of the contract is at least $10 million; and (2) recipients of assistance under<br>the Troubled Asset Relief Program (TARP) of the Emergency Economic Stabilization Act of<br>2008 (EESA) from making any contribution to any pol..."],["An original bill to authorize appropriations for fiscal year 2011 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S3454","National Defense Authorization Act for Fiscal Year 2011 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2011 for procurement for the<br>Army, Navy and Marine Corps, Air Force, and Department of Defense (DOD) for aircraft,<br>missiles, weapons and combat vehicles, ammunition, shipbuilding and conversion,<br>communications systems, equipment, and other procurement. Subtitle B: Army Progra..."],["A bill to amend the Internal Revenue Code of 1986 to create American jobs and to prevent<br>the offshoring of such jobs overseas.","S3816","Creating American Jobs and Ending Offshoring Act - Amends the Internal Revenue Code to:<br>(1) exempt from employment taxes for a 24-month period employers who hire a employee who<br>replaces another employee who is not a citizen or permanent resident of the United States<br>and who performs similar duties overseas; (2) deny any tax deduction, deduction for loss,<br>or tax credit for the cost of an American jobs offshoring transaction (defined as any<br>transaction in which a taxpayer reduces or eliminates ..."],["A bill to amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","S3772","Paycheck Fairness Act - Amends the portion of the Fair Labor Standards Act of 1938 (FLSA)<br>known as the Equal Pay Act to revise remedies for, enforcement of, and exceptions to<br>prohibitions against sex discrimination in the payment of wages. Revises the exception to<br>the prohibition for a wage rate differential based on any other factor other than sex.<br>Limits such factors to bona fide factors, such as education, training, or experience.<br>States that the bona fide factor defense shall apply only i..."],["A bill to amend the Federal Food, Drug, and Cosmetic Act with respect to the safety of the<br>food supply.","S510","(This summary will be expanded.) FDA Food Safety Modernization Act - Title I: Improving<br>Capacity to Prevent Food Safety Problems - Amends the Federal Food, Drug, and Cosmetic Act<br>(FFDCA) to expand the food safety activities of the Secretary of Health and Human Services<br>(HHS), including to authorize the Secretary to inspect records related to food. Exempts<br>certain establishments that sell food directly to consumers, such as roadside stands,<br>farmers markets or participants in a community suppor..."],["A bill to provide collective bargaining rights for public safety officers employed by<br>States or their political subdivisions.","S3991","Public Safety Employer-Employee Cooperation Act of 2010 - Declares that it is the purpose<br>of this Act to provide collective bargaining rights for public safety officers employed by<br>states or local governments. Directs the Federal Labor Relations Authority (FLRA) to<br>determine whether a state substantially provides for specified rights and responsibilities<br>for public safety officers, including: (1) granting public safety employees the right to<br>form and join a labor organization which excludes m..."],["A bill to authorize the cancellation of removal and adjustment of status of certain alien<br>students who are long-term United States residents and who entered the United States as<br>children and for other purposes.","S3992","Development, Relief, and Education for Alien Minors Act of 2010 or DREAM Act of 2010 -<br>Authorizes the Secretary of Homeland Security (DHS) to cancel the removal of, and adjust<br>to conditional nonimmigrant status, an alien who: (1) entered the United States before his<br>or her 16th birthday and has been present in the United States for at least five years<br>immediately preceding this Act's enactment; (2) is a person of good moral character; (3)<br>is not inadmissible or deportable under specified grou..."],["To amend title 28, United States Code, to clarify and improve certain provisions relating<br>to the removal of litigation against Federal officers or agencies to Federal courts, and<br>for other purposes.","HR368","(This measure has not been amended since it was passed by the House on February 28, 2011.<br>The summary of that version is repeated here.) Removal Clarification Act of 2011 - (Sec.<br>2) Revises the federal judicial code to provide that a civil action or criminal<br>prosecution that is commenced in a state court and that is against or directed to the<br>United States or a federal agency or officer, or specified others, may be removed to an<br>appropriate U.S. district court. Declares that civil actions and..."],["To amend the Public Health Service Act to enhance and increase the number of veterinarians<br>trained in veterinary public health.","HR525","Veterinary Public Health Amendments Act of 2011 - Amends the Public Health Service Act to<br>revise a public health workforce grant program designed to increase the number of<br>individuals in the public health workforce to include a health professions school or<br>program of veterinary public health. Defines \"veterinary public health\" to include<br>veterinarians engaged in one or more of the following areas to the extent such areas have<br>an impact on human health: biodefense and emergency preparedness; e..."],["To designate the facility of the United States Postal Service located at 12781 Sir Francis<br>Drake Boulevard in Inverness, California, as the \"Specialist Jake Robert Velloza Post<br>Office\".","HR793","Designates the facility of the United States Postal Service located at 12781 Sir Francis<br>Drake Boulevard in Inverness, California, as the \"Specialist Jake Robert Velloza Post<br>Office.\""],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Afghanistan.","HCONRES28","Directs the President, pursuant to the War Powers Resolution, to remove the U.S. Armed<br>Forces from Afghanistan: (1) by no later than 30 days after this resolution is adopted; or<br>(2) if the President determines that it is not safe to remove them by such date, by no<br>later than December 31, 2011, or such earlier date that the President determines that they<br>can be safely removed."],["A bill to designate the Federal building and United States courthouse located at 217 West<br>King Street, Martinsburg, West Virginia, as the \"W. Craig Broadwater Federal Building and<br>United States Courthouse\".","S307","Designates the federal building and U.S. courthouse located at 217 West King Street,<br>Martinsburg, West Virginia, as the \"W. Craig Broadwater Federal Building and United States<br>Courthouse.\""],["A bill to provide for an additional temporary extension of programs under the Small<br>Business Act and the Small Business Investment Act of 1958, and for other purposes.","S990","PATRIOT Sunsets Extension Act of 2011 - Amends the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 to extend until June 1, 2015, provisions concerning roving<br>electronic surveillance orders and requests for the production of business records and<br>other tangible things. Amends the Intelligence Reform and Terrorism Prevention Act of 2004<br>to extend until June 1, 2015, a provision revising the definition of an \"agent of a<br>foreign power\" to include any non-U.S. person who engages in internat..."],["To amend title 38, United States Code, to improve the appeals process of the Department of<br>Veterans Affairs and to establish a commission to study judicial review of the<br>determination of veterans' benefits.","HR1484","Veterans Appeals Improvement Act of 2011 - Provides that if a veteran claimant or<br>representative submits new evidence in support of a case for which a substantive appeal<br>has been filed to the Board of Veterans' Appeals, such evidence shall be submitted<br>directly to the Board and not to the agency of jurisdiction, unless the claimant or<br>representative requests that the evidence first be reviewed by the agency of jurisdiction."],["A bill to provide for an additional temporary extension of programs under the Small<br>Business Act and the Small Business Investment Act of 1958, and for other purposes.","S1082","Small Business Additional Temporary Extension Act of 2011 - Extends through July 31, 2011,<br>under the same terms and conditions, the authorization for any program, authority, or<br>provision, including any pilot program, that is currently authorized through May 31, 2011,<br>under the Small Business Act or the Small Business Investment Act of 1958. Amends the<br>Small Business Act (the Act) to reauthorize through FY2011 the Small Business Innovation<br>Research (SBIR) and Small Business Technology Transfer..."],["To direct the Secretary of Veterans Affairs to establish a VetStar Award Program.","HR802","Directs the Secretary of Veterans Affairs (VA) to establish the VetStar Award Program, to<br>annually recognize businesses for their contributions to veterans' employment."],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>the United States Armed Forces from Libya.","HCONRES51","Directs the President, pursuant to the War Powers Resolution, to remove U.S. Armed Forces<br>from Libya within 15 days after the adoption of this resolution."],["To designate the facility of the United States Postal Service located at 1081 Elbel Road<br>in Schertz, Texas, as the \"Schertz Veterans Post Office\".","HR771","Designates the facility of the United States Postal Service located at 1081 Elbel Road in<br>Schertz, Texas, as the \"Schertz Veterans Post Office.\""],["A bill to designate the facility of the United States Postal Service located at 4865<br>Tallmadge Road in Rootstown, Ohio, as the \"Marine Sgt. Jeremy E. Murray Post Office\".","S349","Designates the facility of the United States Postal Service located at 4865 Tallmadge Road<br>in Rootstown, Ohio, as the \"Marine Sgt. Jeremy E. Murray Post Office.\""],["Authorizing the limited use of the United States Armed Forces in support of the NATO<br>mission in Libya.","HJRES68","Authorizes the President to continue the limited use of U.S. Armed Forces in Libya in<br>support of U.S. security policy interests as part of the North Atlantic Treaty<br>Organization (NATO) mission to enforce U.N. Security Council Resolution 1973, as requested<br>by the Transitional National Council, the Gulf Cooperation Council (GCC), and the Arab<br>League. Terminates such authorization one year after the date of enactment of this joint<br>resolution. States that Congress does not support deploying, esta..."],["A bill to establish the Commission on Freedom of Information Act Processing Delays.","S627","Budget Control Act of 2011 - Title I: Ten-Year Discretionary Caps with Sequester - (Sec.<br>101) Amends the Balanced Budget and Emergency Deficit Control Act of 1985 (Gramm-Rudman-<br>Hollings Act) to revise sequestration requirements for enforcement of discretionary<br>spending limits (spending caps). Requires the Office of Management and Budget (OMB) to<br>conduct such a sequestration to eliminate a budget year breach, if any. Eliminates<br>specific formula requirements for adjustments to discretionary spe..."],["To designate the facility of the United States Postal Service located at 281 East Colorado<br>Boulevard in Pasadena, California, as the \"First Lieutenant Oliver Goodall Post Office<br>Building\".","HR1975","Designates the facility of the United States Postal Service located at 281 East Colorado<br>Boulevard in Pasadena, California, as the \"First Lieutenant Oliver Goodall Post Office<br>Building.\""],["To designate the facility of the United States Postal Service located at 489 Army Drive in<br>Barrigada, Guam, as the \"John Pangelinan Gerber Post Office Building\".","HR1843","Designates the facility of the United States Postal Service located at 489 Army Drive in<br>Barrigada, Guam, as the \"John Pangelinan Gerber Post Office Building.\""],["To amend the Immigration and Nationality Act to toll, during active-duty service abroad in<br>the Armed Forces, the periods of time to file a petition and appear for an interview to<br>remove the conditional basis for permanent resident status, and for other purposes.","HR398","Amends the Immigration and Nationality Act to toll, during active-duty service abroad in<br>the Armed Forces, the 90-day periods of time for an alien spouse or petitioning spouse to<br>file a petition and appear for an interview to remove the conditional basis for permanent<br>resident status. States that: (1) at the petitioner's option the petition may be filed<br>during such active-duty service at any time after commencement of the 90-day petition<br>period, and (2) the tolling of the 90-day interview per..."],["An original bill to make a technical amendment to the Education Sciences Reform Act of<br>2002.","S365","Budget Control Act of 2011 - Title I: Ten-Year Discretionary Caps with Sequester - (Sec.<br>101) Amends the Balanced Budget and Emergency Deficit Control Act of 1985 (Gramm-Rudman-<br>Hollings Act) to revise sequestration requirements for enforcement of discretionary<br>spending limits (spending caps). Requires the Office of Management and Budget (OMB) to<br>conduct such a sequestration to eliminate a budget year breach, if any. Eliminates<br>specific formula requirements for adjustments to discretionary spe..."],["Authorizing the use of the Capitol Grounds for the District of Columbia Special Olympics<br>Law Enforcement Torch Run.","HCONRES67","Authorizes the use of the Capitol grounds for the 26th Annual District of Columbia Special<br>Olympics Law Enforcement Torch Run on September 30, 2011."],["To protect the safety of judges by extending the authority of the Judicial Conference to<br>redact sensitive information contained in their financial disclosure reports, and for<br>other purposes.","HR1059","(This measure has not been amended since it was reported to the Senate on November 15,<br>2011. The summary of that version is repeated here.) Revises the Ethics in Government Act<br>of 1978 to extend until December 31, 2017, the Judicial Conference's authority to redact<br>financial disclosure reports filed by a judicial officer or employee if it finds that<br>revealing personal and sensitive information could endanger that individual or a family<br>member of that individual."],["To encourage States to report to the Attorney General certain information regarding the<br>deaths of individuals in the custody of law enforcement agencies, and for other purposes.","HR2189","Death in Custody Reporting Act of 2011 - Requires states that receive certain criminal<br>justice assistance grants to report to the Attorney General on a quarterly basis certain<br>information regarding the death of any person who is detained, under arrest, in the<br>process of being arrested, en route to incarceration, or incarcerated at a municipal or<br>county jail, state prison, state-run or contracted boot camp prison, state or local<br>contract facility, or other local or state correctional facility...."],["A concurrent resolution authorizing the use of Emancipation Hall in the Capitol Visitor<br>Center for an event to award the Congressional Gold Medal, collectively, to the 100th<br>Infantry Battalion, 442nd Regimental Combat Team, and the Military Intelligence Service,<br>United States Army, in recognition of their dedicated service during World War II.","SCONRES28","Authorizes the use of Emancipation Hall in the Capitol Visitor Center for an event on<br>November 2, 2011, to award the Congressional Gold Medal, collectively, to the 100th<br>Infantry Battalion, 442nd Regimental Combat Team, and the Military Intelligence Service,<br>U.S. Army, in recognition of their dedicated service during World War II."],["To convey certain submerged lands to the Commonwealth of the Northern Mariana Islands in<br>order to give that territory the same benefits in its submerged lands as Guam, the Virgin<br>Islands, and American Samoa have in their submerged lands.","HR670","Conveys to the government of the Commonwealth of the Northern Mariana Islands submerged<br>lands surrounding such Islands and extending three geographical miles outward from their<br>coastlines."],["To require the Secretary of the Interior to convey the McKinney Lake National Fish<br>Hatchery to the State of North Carolina, and for other purposes.","HR1160","McKinney Lake National Fish Hatchery Conveyance Act - Directs the Secretary of the<br>Interior to convey the McKinney Lake National Fish Hatchery in Richmond County, North<br>Carolina, to the state of North Carolina to be used by the North Carolina Wildlife<br>Resources Commission as a component of the fish and wildlife management program of the<br>state. Requires the state to allow the United States Fish and Wildlife Service (USFWS) to<br>use such property for the propagation of any critically important aq..."],["To grant the congressional gold medal to the Montford Point Marines.","HR2447","Authorizes the award of a single Congressional Gold Medal to collectively honor the<br>Montford Point Marines, U.S. Marine Corps, in recognition of their dedicated service<br>during World War II. (Camp Montford Point, North Carolina, was the site for the training<br>of the first African-American Marines.) Permits the Secretary of the Treasury to strike<br>and sell duplicates in bronze of the gold medal, at a price sufficient to cover the costs<br>of the medals. Authorizes appropriations."],["To amend the securities laws to establish certain thresholds for shareholder registration,<br>and for other purposes.","HR1965","Amends the Securities Exchange Act of 1934\u00a0to increase from $1 million to $10 million the<br>shareholder registration threshold for an issuer of securities. Requires an issuer that is<br>either a bank or a bank holding company to register a security with the Securities and<br>Exchange Commission (SEC) if its assets exceed $10 million and include a certain class of<br>equity security held of record by 2,000 or more persons. Requires termination of a<br>security registration in the case of a bank or a bank ho..."],["A bill to designate the facility of the United States Postal Service located at 462<br>Washington Street, Woburn, Massachusetts, as the \"Officer John Maguire Post Office\".","S1412","Designates the facility of the United States Postal Service located at 462 Washington<br>Street, Woburn, Massachusetts, as the \"Officer John Maguire Post Office.\""],["To exempt for an additional 4-year period, from the application of the means-test<br>presumption of abuse under chapter 7, qualifying members of reserve components of the<br>Armed Forces and members of the National Guard who, after September 11, 2001, are called<br>to active duty or to perform a homeland defense activity for not less than 90 days.","HR2192","National Guard and Reservist Debt Relief Extension Act of 2011 - Amends the National Guard<br>and Reservists Debt Relief Act of 2008 to exempt for an additional four-year period<br>qualifying Armed Forces reserve component and National Guard members (who, after September<br>11, 2001, are called to active duty or to perform a homeland defense activity for at least<br>90 days, and remain eligible for an exemption during the 540-day period following such<br>active duty or homeland defense activity service) fro..."],["Designating room HVC 215 of the Capitol Visitor Center as the \"Gabriel Zimmerman Meeting<br>Room\".","HRES364","Designates room HVC 215 of the Capitol Visitor Center as the \"Gabriel Zimmerman Meeting<br>Room.\""],["To designate the facility of the United States Postal Service located at 14901 Adelfa<br>Drive in La Mirada, California, as the \"Wayne Grisham Post Office\".","HR2158","Designates the facility of the United States Postal Service located at 14901 Adelfa Drive<br>in La Mirada, California, as the \"Wayne Grisham Post Office.\""],["A bill to amend title 39, United States Code, to extend the authority of the United States<br>Postal Service to issue a semipostal to raise funds for breast cancer research.","S384","Extends, for four years, the authority of the U.S. Postal Service (USPS) to issue a<br>semipostal to contribute to funding for breast cancer research."],["To designate the facility of the United States Postal Service located at 8 West Silver<br>Street in Westfield, Massachusetts, as the \"William T. Trant Post Office Building\".","HR2767","Designates the facility of the United States Postal Service located at 8 West Silver<br>Street in Westfield, Massachusetts, as the \"William T. Trant Post Office Building.\""],["A bill to provide for the exchange of certain land located in the Arapaho-Roosevelt<br>National Forests in the State of Colorado, and for other purposes.","S278","Sugar Loaf Fire Protection District Land Exchange Act of 2011 - Requires the Secretary of<br>Agriculture (USDA), if the Sugar Loaf Fire Protection District of Boulder, Colorado,<br>offers to convey non-federal land in unincorporated Boulder County and the offer is<br>acceptable to the Secretary, to accept the offer and to convey federal land in the<br>Arapaho-Roosevelt National Forests in Colorado. Applies provisions of the Federal Land<br>Policy and Management Act of 1976 relating to the exchange of public..."],["Raising a question of the privileges of the House.","HRES504","Disapproves of the behavior of the Representative from Florida, Mr. West, for bringing<br>discredit to the House by offending the memory of those who died during the Holocaust."],["To authorize the Secretary of the Interior to study the suitability and feasibility of<br>designating prehistoric, historic, and limestone forest sites on Rota, Commonwealth of the<br>Northern Mariana Islands, as a unit of the National Park System.","HR1141","Rota Cultural and Natural Resources Study Act - Directs the Secretary of the Interior to:<br>(1) study and report to Congress on the suitability and feasibility of designating<br>prehistoric, historic, and limestone forest sites on the island of Rota, Commonwealth of<br>the Northern Mariana Islands, as a unit of the National Park System; and (2) consider<br>management alternatives for Rota."],["To authorize the Secretary of the Interior to conduct a study of alternatives for<br>commemorating and interpreting the role of the Buffalo Soldiers in the early years of the<br>National Parks, and for other purposes.","HR1022","Buffalo Soldiers in the National Parks Study Act - Directs the Secretary of the Interior<br>to study alternatives for the commemoration and interpretation of the role of the Buffalo<br>Soldiers (African-American troops who, in the late 19th century and early 20th century,<br>came to be known as the Buffalo Soldiers) in the early years of the National Parks, which<br>shall include: (1) a historical assessment of the Buffalo Soldiers who served in National<br>Parks in the years before the establishment of the..."],["To amend the Tariff Act of 1930 to clarify the definition of aircraft and the offenses<br>penalized under the aviation smuggling provisions under that Act, and for other purposes.","HR3801","Ultralight Aircraft Smuggling Prevention Act of 2012 - Amends the Tariff Act of 1930 with<br>respect to aviation smuggling to extend its coverage of aircraft to: (1) any contrivance<br>invented, used, or designed to navigate, or fly in, the air; and (2) ultralight vehicles.<br>Subjects attempts or conspiracies to commit aviation smuggling to specified criminal<br>penalties. Expresses the sense of Congress that the Secretary of Defense (DOD) should<br>continue the broad program of cooperation with the Secret..."],["To provide the Quileute Indian Tribe Tsunami and Flood Protection, and for other purposes.","HR1162","Removes certain federal land within Olympic National Park, Washington, that is designated<br>as part of the Olympic Wilderness from inclusion in the National Wilderness Preservation<br>System. Takes specified federal land within the Park into trust for the Quileute Indian<br>Tribe. Requires the Secretary of the Interior to take specified nonfederal land owned by<br>the Tribe into trust for the Tribe, upon completion and acceptance of an environmental<br>hazard assessment. Includes those lands taken into tru..."],["To designate the facility of the United States Postal Service located at 10 Main Street in<br>East Rockaway, New York, as the \"John J. Cook Post Office\".","HR2079","Designates the facility of the United States Postal Service located at 10 Main Street in<br>East Rockaway, New York, as the \"John J. Cook Post Office.\""],["Directing the Office of the Historian to compile oral histories from current and former<br>Members of the House of Representatives involved in the historic and annual Selma to<br>Montgomery, Alabama, marches, as well as the civil rights movement in general, for the<br>purposes of expanding or augmenting the historic record and for public dissemination and<br>education.","HRES562","Directs the Office of the Historian to compile oral histories from current and former<br>Members of the House of Representatives involved in the Selma to Montgomery, Alabama,<br>marches, as well as the civil rights movement in general, for the purposes of expanding or<br>augmenting the historic record and for public dissemination and education."],["A bill to authorize the St. Croix River Crossing Project with appropriate mitigation<br>measures to promote river values.","S1134","St. Croix River Crossing Project Authorization Act - Permits the head of any federal<br>agency to authorize and assist in the construction of a new bridge crossing the St. Croix<br>River approximately six miles north of the I-94 crossing if specified mitigation items<br>described in the 2006 St. Croix River Crossing Project Memorandum of Understanding for<br>Implementation of Riverway Mitigation Items are included as enforceable conditions.<br>Subjects specified amounts available under the Safe, Accountable..."],["To allow otherwise eligible Israeli nationals to receive E-2 nonimmigrant visas if<br>similarly situated United States nationals are eligible for similar nonimmigrant status in<br>Israel.","HR3992","Makes Israeli nationals eligible to enter the United States as E-2 visa nonimmigrant<br>investors as provided for under the Immigration and Nationality Act if Israel provides<br>reciprocal nonimmigrant treatment to U.S. nationals."],["To establish the position of Special Assistant for Veterans Affairs in the Department of<br>Housing and Urban Development, and for other purposes.","HR3298","Homes for Heroes Act of 2011 - Amends the Department of Housing and Urban Development Act<br>to establish in the Department of Housing and Urban Development (HUD) a Special Assistant<br>for Veterans Affairs to: (1) ensure veterans fair access to HUD housing and homeless<br>assistance programs, (2) coordinate all HUD programs and activities relating to veterans,<br>and (3) serve as a HUD liaison with the Department of Veterans Affairs (VA). Directs the<br>Secretaries of HUD and VA to report annually to Congr..."],["To amend title 32, United States Code, the body of laws of the United States dealing with<br>the National Guard, to recognize the City of Salem, Massachusetts, as the Birthplace of<br>the National Guard of the United States.","HR1339","Designates Salem, Massachusetts, as the Birthplace of the National Guard of the United<br>States. Directs the Chief of the National Guard Bureau to provide military ceremonial<br>support at the dedication of any monument, plaque, or other official recognition<br>celebrating such designation. Prohibits federal funds from being used in connection with<br>such recognition."],["To award a Congressional Gold Medal to Raoul Wallenberg, in recognition of his<br>achievements and heroic actions during the Holocaust.","HR3001","Raoul Wallenberg Centennial Celebration Act - Directs the Speaker of the House of<br>Representatives and the President pro tempore of the Senate to arrange for the<br>presentation on behalf of Congress of a gold medal of appropriate design to the next of<br>kin or personal representative of Raoul Wallenberg in recognition of his achievements and<br>heroic actions during the Holocaust."],["To provide for the award of a gold medal on behalf of Congress to Jack Nicklaus in<br>recognition of his service to the Nation in promoting excellence and good sportsmanship in<br>golf.","HR4040","Directs the Speaker of the House of Representatives and the President Pro Tempore of the<br>Senate to make arrangements for the presentation of a congressional gold medal to Jack<br>Nicklaus in recognition of his service to the nation in promoting excellence and good<br>sportsmanship. Directs the Secretary of the Treasury to strike such gold medal and to<br>strike and sell duplicate bronze medals at a price sufficient to cover the costs of the<br>gold and bronze medals."],["To posthumously award a Congressional Gold Medal to Lena Horne in recognition of her<br>achievements and contributions to American culture and the civil rights movement.","HR1815","Lena Horne Recognition Act - Directs the Speaker of the House of Representatives and the<br>President pro tempore of the Senate to make appropriate arrangements for the posthumous<br>presentation, on behalf of Congress, of a gold medal of appropriate design in<br>commemoration of Lena Horne in recognition of her achievements and contributions to<br>American culture and the civil rights movement."],["Authorizing the use of Emancipation Hall in the Capitol Visitor Center for an event to<br>celebrate the birthday of King Kamehameha.","HCONRES105","Authorizes the use of Emancipation Hall in the Capitol Visitor Center for an event on June<br>24, 2012, to celebrate the birthday of King Kamehameha (Hawaii)."],["Authorizing the use of the Capitol Grounds for the District of Columbia Special Olympics<br>Law Enforcement Torch Run.","HCONRES118","Authorizes the use of the Capitol grounds for the 26th Annual District of Columbia Special<br>Olympics Law Enforcement Torch Run on June 1, 2012."],["To amend the Act titled \"An Act to authorize the leasing of restricted Indian lands for<br>public, religious, educational, recreational, residential, business, and other purposes<br>requiring the grant of long-term leases\", approved August 9, 1955, to provide for Indian<br>tribes to enter into certain leases without prior express approval from the Secretary of<br>the Interior.","HR205","Helping Expedite and Advance Responsible Tribal Home Ownership Act of 2012 or HEARTH Act<br>of 2012 - Extends to any Indian tribe the discretion granted under current law only to the<br>Navajo Nation to lease restricted lands for business, agricultural, public, religious,<br>educational, recreational, or residential purposes without the approval of the Secretary<br>of the Interior. (The Secretary must still approve the tribal regulations under which<br>those leases are executed and mining leases still requi..."],["To reduce the trafficking of drugs and to prevent human smuggling across the Southwest<br>Border by deterring the construction and use of border tunnels.","HR4119","Border Tunnel Prevention Act of 2012 - Amends the federal criminal code to: (1) subject<br>anyone who attempts or conspires to construct or finance construction of an unauthorized<br>tunnel or subterranean passage that crosses the international border between the United<br>States and another country, or to use such a tunnel for smuggling, to the penalties<br>prescribed for someone who commits such an offense; (2) make such a border tunnel offense<br>a predicate offense for a money laundering violation and f..."],["To establish a Border Enforcement Security Task Force program to enhance border security<br>by fostering coordinated efforts among Federal, State, and local border and law<br>enforcement officials to protect United States border cities and communities from trans-<br>national crime, including violence associated with drug trafficking, arms smuggling,<br>illegal alien trafficking and smuggling, violence, and kidnapping along and across the<br>international borders of the United States, and for other purposes.","HR915","Jaime Zapata Border Enforcement Security Task Force Act - Amends the Homeland Security Act<br>of 2002 to establish within the Department of Homeland Security (DHS) the Border<br>Enforcement Security Task Force (BEST), which shall establish units to enhance border<br>security by addressing and reducing border security threats and violence by: (1)<br>facilitating collaboration among federal, state, local, tribal, and foreign law<br>enforcement agencies to execute coordinated activities in furtherance of borde..."],["A bill to modify a land grant patent issued by the Secretary of the Interior.","S404","Instructs the Secretary of the Interior to modify a land grant patent issued to the Great<br>Lakes Shipwreck Historical Society, Chippewa County, Michigan. Makes the modification made<br>to the patent effective upon being recorded in the Office of the Register of Deeds of<br>Chippewa County."],["To direct the Secretary of Homeland Security to conduct a study and report to Congress on<br>gaps in port security in the United States and a plan to address them.","HR4005","Gauging American Port Security Act or the GAPS Act - Directs the Secretary of Homeland<br>Security (DHS) to: (1) conduct a study of gaps in U.S. port security and submit to<br>Congress a report (in classified form but with an unclassified annex) that includes a<br>prioritization of such gaps and a plan for addressing them; (2) share relevant information<br>with designated points of contact from federal agencies, state, local, or tribal<br>governments, and port system owners and operators in accordance with ..."],["Raising a question of the privileges of the House.","HRES718","Disapproves of the behavior of the chair of the House Committee on Oversight and<br>Government Reform for: (1) interfering with ongoing criminal investigations; (2) insisting<br>on a personal attack against the Attorney General; and (3) calling him a liar on national<br>television without corroborating evidence, thereby bringing discredit to the integrity of<br>the House."],["A bill to improve the administration of programs in the insular areas, and for other<br>purposes.","S2009","Insular Areas Act of 2011 - Amends the Compact of Free Association Amendments Act of 2003<br>to direct the Secretary of Energy (DOE), beginning on January 1, 2012, to periodically<br>conduct (not less frequently than every four years): (1) a visual study of the concrete<br>exterior of the Cactus Crater containment structure on Runit Island, and (2) a<br>radiochemical analysis of the groundwater surrounding and in such structure. Requires the<br>Secretary to submit to the House Committee on Natural Resources..."],["A bill to reduce the number of executive positions subject to Senate confirmation.","S679","Presidential Appointment Efficiency and Streamlining Act of 2011 - (Sec. 2) Eliminates the<br>requirement of Senate approval (advice and consent) of specified presidentially-appointed<br>positions in federal agencies and departments, as follows: Department of Agriculture: (1)<br>Assistant Secretary for Administration, (2) Administrator of the Rural Utilities Services,<br>and (3) all members of the Board of Directors of the Commodity Credit Corporation;<br>Department of Commerce: Chief Scientist, the Nationa..."],["A concurrent resolution providing for a conditional adjournment or recess of the Senate<br>and an adjournment of the House of Representatives.","SCONRES56","Declares that when the Senate recesses or adjourns on any day from Thursday, August 2,<br>2012, through Monday, August 6, 2012, it stand recessed or adjourned until 12:00 noon on<br>Monday, September 10, 2012. Declares that when the House adjourns on any legislative day<br>from Thursday, August 2, 2012, through Monday, August 6, 2012, it stand adjourned until<br>2:00 p.m. on Monday, September 10, 2012."],["To require a study of voluntary community-based flood insurance options and how such<br>options could be incorporated into the national flood insurance program, and for other<br>purposes.","HR6186","Directs the Administrator of the Federal Emergency Management Agency (FEMA) to assess<br>options, methods, and strategies for making voluntary community-based flood insurance<br>policies available through the National Flood Insurance Program. Requires the report on<br>the study to specified congressional committees to make recommendations for a strategy to<br>implement voluntary community-based flood insurance policies that would encourage<br>communities to undertake flood mitigation activities, including c..."],["To promote the growth and competitiveness of American manufacturing.","HR5865","(This measure has not been amended since it was reported to the House on September 10,<br>2012. The summary of that version is repeated here.) American Manufacturing<br>Competitiveness Act of 2012 - Directs the President, in each of 2014 and 2018, to submit<br>to Congress and publish on a public website a strategy to promote growth, sustainability,<br>and competitiveness in the nation's manufacturing sector, create well-paid, stable jobs,<br>enable innovation and investment, and support national security. E..."],["A bill to permanently reauthorize the EB-5 Regional Center Program, the E-Verify Program,<br>the Special Immigrant Nonminister Religious Worker Program, and the Conrad State 30 J-1<br>Visa Waiver Program.","S3245","Amends the Departments of Commerce, Justice, and State, the Judiciary, and Related<br>Agencies Appropriations Act, 1993 to extend the EB-5 Regional Center program through<br>September 30, 2015. (Eliminates pilot program references to such program.) Amends the<br>Illegal Immigration Reform and Immigrant Responsibility Act of 1996 to extend the E-Verify<br>program through September 30, 2015. Amends the Immigration and Nationality Act to extend<br>the Special Immigrant Nonminister Religious Worker program thro..."],["A bill to strike the word \"lunatic\" from Federal law, and for other purposes.","S2367","21st Century Language Act of 2012 - Removes references to the word \"lunatic\" from rules of<br>construction of the U.S. Code and banking law provisions concerning: (1) trust powers of<br>banks, and (2) bank consolidations and mergers."],["To intensify efforts to identify, prevent, and recover payment error, waste, fraud, and<br>abuse within Federal spending.","HR4053","Improper Payments Elimination and Recovery Improvement Act of 2012 - (Sec. 3) Requires the<br>Director of the Office of Management and Budget (OMB) to: (1) identify, annually, a list<br>of high-priority federal programs for greater levels of oversight and review in which the<br>highest dollar value or highest rate of improper payments occur or for which there is a<br>higher risk of improper payments; (2) coordinate with agencies responsible for<br>administering high-priority programs to establish annual tar..."],["A bill to make technical corrections to the legal description of certain land to be held<br>in trust for the Barona Band of Mission Indians, and for other purposes.","S3193","Barona Band of Mission Indians Land Transfer Clarification Act of 2012 - Amends the Native<br>American Technical Corrections Act of 2004 to revise the description of the land to be<br>held in trust for the Barona Band of Mission Indians of California. States that the parcel<br>of private, non-Indian land that is excluded from the revised description was not intended<br>to be held in trust for the Band or considered to be part of its reservation."],["A bill to clarify the scope of the Economic Espionage Act of 1996.","S3642","Theft of Trade Secrets Clarification Act of 2012 - Amends the Economic Espionage Act of<br>1996 to apply the prohibition against the theft of trade secrets to a trade secret that is<br>related to a product or service used in or intended for use in interstate or foreign<br>commerce (currently, a trade secret that is related to or included in a product that is<br>produced for or placed in interstate or foreign commerce)."],["To establish a commission to develop a national strategy and recommendations for reducing<br>fatalities resulting from child abuse and neglect.","HR6655","Protect Our Kids Act of 2012 - Establishes the Commission to Eliminate Child Abuse and<br>Neglect Fatalities to: (1) study the use of child protective services and child welfare<br>services under titles IV and XX (Block Grants to States for Social Services) of the Social<br>Security Act (SSA) to reduce fatalities from child abuse and neglect; (2) develop<br>recommendations to reduce such fatalities for federal, state, and local agencies, and<br>private sector and nonprofit organizations, including recommend..."],["To designate the facility of the Department of Veterans Affairs located at 9800 West<br>Commercial Boulevard in Sunrise, Florida, as the \"William 'Bill' Kling VA Clinic\".","HR6443","Designates the facility of the Department of Veterans Affairs (VA) at 9800 West Commercial<br>Boulevard in Sunrise, Florida, as the \"William 'Bill' Kling VA Clinic.\""],["A bill to designate Mt. Andrea Lawrence.","S925","Mt. Andrea Lawrence Designation Act of 2011 - Designates peak 12,240, which is located 0.6<br>miles northeast of Donahue Peak on the northern border of the Ansel Adams Wilderness and<br>Yosemite National Park in California, as Mt. Andrea Lawrence."],["A bill to amend title 38, United States Code, to ensure that deceased veterans with no<br>known next of kin can receive a dignified burial, and for other purposes.","S3202","Dignified Burial of Veterans Act of 2012 - Authorizes the Secretary of Veterans Affairs<br>(VA) to furnish a casket or urn of sufficient quality for a dignified burial for the<br>burial in a national cemetery of a deceased veteran in any case where the Secretary is<br>unable to identify the veteran's next-of-kin and determines that sufficient resources for<br>such casket or urn are not otherwise available. Directs the Secretary to report to the<br>congressional veterans committees on VA compliance with indu..."],["A bill to authorize appropriations for fiscal year 2013 for intelligence and intelligence-<br>related activities of the United States Government and the Office of the Director of<br>National Intelligence, the Central Intelligence Agency Retirement and Disability System,<br>and for other purposes.","S3454","Intelligence Authorization Act for Fiscal Year 2013 - Title I: Budget and Personnel<br>Authorizations - (Sec. 101) Authorizes appropriations for FY2013 for the conduct of<br>intelligence and intelligence-related activities of the: (1) Office of the Director of<br>National Intelligence (DNI); (2) Central Intelligence Agency (CIA); (3) Department of<br>Defense (DOD); (4) Defense Intelligence Agency (DIA); (5) National Security Agency (NSA);<br>(6) Departments of the Army, Navy, and Air Force; (7) Coast Guard;..."],["A resolution to establish as a standing order of the Senate that a Senator publicly<br>disclose a notice of intent to objecting to any measure or matter.","SRES28","Establishes a standing order applicable to a notice of intent to object to a unanimous<br>consent request (covered request) to: (1) proceed to a bill, resolution, joint resolution,<br>concurrent resolution, conference report, or amendment (measure) between the chambers; (2)<br>pass a measure or dispose of an amendment between the chambers; or (3) dispose of a<br>nomination. Requires the majority and minority leaders of the Senate (or their designees)<br>to recognize a notice of intent to object to a covered..."],["A resolution to permit the waiving of the reading of an amendment if the text and adequate<br>notice are provided.","SRES29","Establishes a standing order to allow the reading of an amendment to be waived by a non-<br>debatable motion if the amendment: (1) has been submitted at least 72 hours before the<br>motion, and (2) is available in printed or electronic form in the Congressional Record."],["A resolution amending the Standing Rules of the Senate to provide for cloture to be<br>invoked with less than a three-fifths majority after additional debate.","SRES8","Amends rule XXII (Precedence of Motions) of the Standing Rules of the Senate with respect<br>to cloture votes to close debate (end a filibuster) on any measure, motion, or other<br>matter pending before the Senate. Declares that, if the Senate fails to invoke cloture<br>with respect to a measure, motion, or other pending matter, or the unfinished business,<br>subsequent motions to end debate on the same measure, motion, matter, or unfinished<br>business, may be filed, but only by unanimous consent, until th..."],["A resolution to improve the debate and consideration of legislative matters and<br>nominations in the Senate.","SRES10","Amends Rule VIII (Order of Business) of the Standing Rules of the Senate to repeal the<br>rule that motions: (1) made during the first two hours of a new legislative day to proceed<br>to consideration of any matter be determined without debate, except motions or measures to<br>amend the Standing Rules; or (2) made after the two-hour period be subject to debate.<br>Limits debate on a motion to proceed to consideration of any matter, and any related<br>debatable motion or appeal, to two hours, equally divided..."],["A resolution to amend the Standing Rules of the Senate to provide procedures for extended<br>debate.","SRES21","Amends Rule XXII (Precedence of Motions) of the Standing Rules of the Senate to state<br>that, if the Senate has voted against closing debate (cloture) on a measure, motion, or<br>other matter (measure), but a majority of the Senators present have voted to invoke<br>cloture, then the debate procedures under the Rule shall be in order at any time, so long<br>as that measure, motion or other matter has continued as the only pending business<br>subsequent to the vote against cloture. Makes it in order for the ..."],["A bill to modernize the air traffic control system, improve the safety, reliability, and<br>availability of transportation by air in the United States, provide modernization of the<br>air traffic control system, reauthorize the Federal Aviation Administration, and for other<br>purposes.","S223","FAA Air Transportation Modernization and Safety Improvement Act - Title I: Authorizations<br>- (Sec. 101) Authorizes appropriations to the Federal Aviation Administration (FAA) for<br>FY2010 and FY2011 for operations. (Sec. 102) Authorizes appropriations to the Secretary of<br>Transportation (Secretary) out of the Airport and Airway Trust Fund for FY2010-FY2011 for:<br>(1) air navigation facilities and equipment, (2) civil aviation research and development<br>(R&amp;D), (3) grants for airport planning and d..."],["A bill to amend title 35, United States Code, to provide for patent reform.","S23","America Invents Act - (Sec. 2) Amends federal patent law to define the \"effective filing<br>date\" of a claimed invention as the actual filing date of the patent or the application<br>for patent containing a claim to the invention (thus replacing the current first-to-invent<br>system), except as specified. Requires the effective filing date for a claimed invention<br>in an application for reissue or reissued patent to be determined by deeming the claim to<br>the invention to have been contained in the patent..."],["A bill to reauthorize and improve the SBIR and STTR programs, and for other purposes.","S493","SBIR/STTR Reauthorization Act of 2011 - Title I: Reauthorization of the SBIR and STTR<br>Programs - (Sec. 101) Amends the Small Business Act (the Act) to reauthorize through<br>FY2019 the Small Business Innovation Research (SBIR) and Small Business Technology<br>Transfer (STTR) programs of the Small Business Administration (SBA). (Sec. 102) Directs<br>the SBA to maintain an Office of Technology to carry out oversight, reporting, and public<br>database responsibilities as assigned by the SBA Administrator. (..."],["A resolution honoring the members of the military and intelligence community who carried<br>out the mission that killed Osama bin Laden, and for other purposes.","SRES159","Declares that the death of Osama bin Laden represents a measure of justice and relief for<br>the families and friends of the nearly 3,000 men and women who lost their lives on<br>September 11, 2001, the men and women in the United States and around the world who have<br>been killed by other al Qaeda-sponsored attacks, and the men and women of the U.S. Armed<br>Forces and the intelligence community who have sacrificed their lives pursuing Osama bin<br>Laden and al Qaeda. Commends the men and women of the U.S..."],["A bill to reduce the Federal budget deficit by closing big oil tax loopholes, and for<br>other purposes.","S940","Close Big Oil Tax Loopholes Act - Expresses the sense of the Senate that: (1) the<br>President and Administration should be commended for recognizing the severity of high gas<br>prices and for taking appropriate actions to help reduce gas prices; (2) Congress should<br>take additional actions to complement the efforts of the President; (3) the Organization<br>of Petroleum Exporting Countries (OPEC) should contribute to the stabilization of world<br>oil markets and prices and reduce the burden of high gasoli..."],["A bill to extend the expiring provisions of the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 and the Intelligence Reform and Terrorism Prevention Act of<br>2004 until June 1, 2015, and for other purposes.","S1038","PATRIOT Sunsets Extension Act of 2011 - Amends the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 to extend through June 1, 2015, a provision granting roving<br>electronic surveillance authority. Amends the Intelligence Reform and Terrorism Prevention<br>Act of 2004 to extend until June 1, 2015, a provision revising the definition of an \"agent<br>of a foreign power\" to include any non-U.S. person who engages in international terrorism<br>or preparatory activities (\"lone wolf\" provision)."],["A bill to amend the Public Works and Economic Development Act of 1965 to reauthorize that<br>Act, and for other purposes.","S782","Economic Development Revitalization Act of 2011 - Amends the Public Works and Economic<br>Development Act of 1965 to authorize appropriations for economic development assistance<br>programs under such Act for FY2011-FY2015. (Sec. 3) Includes: (1) within the definition of<br>\"Regional Commissions\" the Southeast Crescent Regional Commission, the Northern Border<br>Regional Commission, and the Southwest Border Regional Commission; and (2) among the<br>purposes for which assistance may be provided encouraging a..."],["A resolution to provide for expedited Senate consideration of certain nominations subject<br>to advice and consent.","SRES116","Prescribes expedited procedures for Senate consideration of nominations (subject to advice<br>and consent) for specified positions. Requires the Secretary of the Senate to create the<br>appropriate sections on the Executive Calendar to reflect and effectuate the requirements<br>of this resolution. Requires the report accompanying each public bill or joint resolution<br>reported by any committee to contain an evaluation and justification for the establishment<br>in the measure of any new position appointed b..."],["A bill to express the sense of the Senate on shared sacrifice in resolving the budget<br>deficit.","S1323","Expresses the sense of the Senate that any agreement to reduce the budget deficit should<br>require that those earning $1 million or more per year make a more meaningful contribution<br>to the deficit reduction effort."],["Approving the renewal of import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003.","HJRES66","Division A: Renewal of Import Restrictions Under Burmese Freedom and Democracy Act of 2003<br>- Approves the renewal of certain import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003, and deems this resolution a renewal resolution under such Act.<br>Division B: Supplemental Appropriations - Emergency Supplemental Disaster Relief<br>Appropriations Resolution, 2011 - Title I: Department of Agriculture - Makes supplemental<br>appropriations for FY2011 for the following Department of ..."],["A bill to provide for identification of misaligned currency, require action to correct the<br>misalignment, and for other purposes.","S1619","Currency Exchange Rate Oversight Reform Act of 2011 - (Sec. 3) Directs the Secretary of<br>the Treasury to: (1) make public and report biannually to Congress on international<br>monetary policy and currency exchange rates; and (2) appear, if requested, before certain<br>congressional committees to testify regarding such reports. Prescribes report contents,<br>including: (1) an analysis of currency market developments and the relationship between<br>the U.S. dollar and the currencies of major economies and t..."],["A bill to provide tax relief for American workers and businesses, to put workers back on<br>the job while rebuilding and modernizing America, and to provide pathways back to work for<br>Americans looking for jobs.","S1660","American Jobs Act of 2011 - Prohibits the use of funds made available by this Act for a<br>project for the construction, alteration, maintenance, or repair of a public building or<br>public work unless all of the iron, steel, and manufactured goods used in such project are<br>produced in the United States (Buy American). Waives such prohibition in cases where: (1)<br>the prohibition would be inconsistent with the public interest; (2) iron, steel, and the<br>relevant manufactured goods are not produced in th..."],["A bill to provide for teacher and first responder stabilization.","S1723","Teachers and First Responders Back to Work Act of 2011 - Directs the Secretary of<br>Education to allocate grants to states and, through them, subgrants to local educational<br>agencies (LEAs) for the costs of retaining, recalling, rehiring, or hiring employees to<br>provide early childhood, elementary, or secondary education and related services. Allows<br>states to reserve up to 10% of their grant for awards, for the same purposes, to state-<br>funded early learning programs. Requires LEAs and state-funded..."],["A bill to put workers back on the job while rebuilding and modernizing America.","S1769","Rebuild America Jobs Act - Prohibits the use of funds made available by this Act for a<br>project for the construction, alteration, maintenance, or repair of a public building or<br>public work unless all of the iron, steel, and manufactured goods used in such project are<br>produced in the United States (Buy American). Waives such prohibition in cases where: (1)<br>the prohibition would be inconsistent with the public interest; (2) iron, steel, and the<br>relevant manufactured goods are not produced in the..."],["An original bill to authorize appropriations for fiscal year 2012 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S1867","National Defense Authorization Act for Fiscal Year 2012 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2012 for the Department of<br>Defense (DOD) for procurement for the Army, Navy and Marine Corps, Air Force, and defense-<br>wide activities, in amounts specified in the funding table in Division D of this Act.<br>Subtitle B: Navy Programs - (Sec. 121) Authorizes the Secretary of the Na..."],["A bill to create jobs by providing payroll tax relief for middle class families and<br>businesses, and for other purposes.","S1917","Middle Class Tax Cut Act of 2011 - Reduces employment tax rates in calendar year 2012<br>(payroll tax holiday period) for both employers and employees to 3.1%.\u00a0 Limits the<br>reduction for employers to\u00a0the first $5 million of wages paid by the employer in 2012.<br>Reduces the tax rate on the first $5 million of\u00a0net earning of a self-employed taxpayer.<br>Allows nongovernmental employers a tax credit for payroll increases in the last quarter of<br>2011 and in 2012. Appropriates funds to the social security t..."],["A bill to create jobs by providing payroll tax relief for middle class families and<br>businesses, and for other purposes.","S1944","Middle Class Tax Cut Act of 2011 - Amends the Tax Relief, Unemployment Insurance<br>Reauthorization, and Job Creation Act of 2010 to extend through 2012 the reduction in<br>employment taxes for employees and the self-employed. Increases such reduction from 2% to<br>3.1% Amends the Internal Revenue Code to impose on individual taxpayers between 2012 and<br>2022 an additional tax equal to 1.9% of so much of their modified adjusted gross income in<br>excess of $1 million. Provides for an inflation adjustment t..."],["A joint resolution proposing an amendment to the Constitution relative to requiring a<br>balanced budget.","SJRES24","Constitutional Amendment - Prohibits outlays for a fiscal year (except those for repayment<br>of debt principal) from exceeding total receipts for that fiscal year (except those<br>derived from borrowing) unless Congress, by a three-fifths roll call vote of each chamber,<br>authorizes a specific excess of outlays over receipts. Excludes receipts (including<br>attributable interest) and outlays of the Federal Old-Age and Survivors Insurance Trust<br>Fund and the Federal Disability Insurance Trust Fund, or ei..."],["A bill to reauthorize Federal-aid highway and highway safety construction programs, and<br>for other purposes.","S1813","Moving Ahead for Progress in the 21st Century Act or MAP-21 - Division A: Federal-Aid<br>Highways and Highway Safety Construction Programs - Title I: Federal-Aid Highways -<br>Subtitle A: Authorizations and Programs - (Sec. 1101) Authorizes appropriations out of the<br>Highway Trust Fund (HTF) (other than the Mass Transit Account) equal to current federal<br>highway spending levels plus inflation for FY2012 and FY2013 for: (1) certain new and<br>existing core federal-aid highway programs; (2) the transporta..."],["A bill to eliminate unnecessary tax subsidies and promote renewable energy and energy<br>conservation.","S2204","Repeal Big Oil Tax Subsidies Act - Amends the Internal Revenue Code to extend through<br>2012: (1) the tax credit for residential energy efficiency improvement expenditures, (2)<br>the tax credit for the purchase of plug-in electric vehicles, (3) the tax credit for<br>alternative fuel vehicle refueling property expenditures, (4) the income and excise tax<br>credits for biodiesel and renewable diesel used as fuel and fuel mixtures, (5) the tax<br>credit for production of electricity from refined coal product..."],["A bill to reduce the deficit by imposing a minimum effective tax rate for high-income<br>taxpayers.","S2230","Paying a Fair Share Act of 2012 - Amends the Internal Revenue Code to require an<br>individual taxpayer whose adjusted gross income exceeds $1 million to pay a minimum tax<br>rate of 30% of the excess of the taxpayer's adjusted gross income over the taxpayer's<br>modified charitable contribution deduction for the taxable year (tentative fair share<br>tax). Establishes the amount of such tax as the excess (if any) of the tentative fair<br>share tax over the excess of: (1) the sum of the taxpayer's regular ta..."],["A bill to reauthorize the Violence Against Women Act of 1994.","S1925","Violence Against Women Reauthorization Act of 2012 - (Sec. 3) Amends the Violence Against<br>Women Act of 1994 (VAWA) to add or expand definitions of several terms for purposes of<br>such Act, including : (1) \"culturally specific services\" to mean community-based services<br>that offer culturally relevant and linguistically specific services and resources to<br>culturally specific communities; (2) \"personally identifying information or personal<br>information\" with respect to a victim of domestic violence, ..."],["A bill to amend the Higher Education Act of 1965 to extend the reduced interest rate for<br>Federal Direct Stafford Loans, and for other purposes.","S2343","Stop the Student Loan Interest Rate Hike Act of 2012 - Amends title IV (Student<br>Assistance) of the Higher Education Act of 1965 to make the 3.4% interest rate on Direct<br>Stafford loans first disbursed to undergraduate students between July 1, 2011, and July 1,<br>2012, applicable to Direct Stafford loans first disbursed to undergraduate students<br>between July 1, 2011, and July 1, 2013. Amends the Internal Revenue Code and title II (Old<br>Age, Survivors and Disability Insurance) of the Social Securit..."],["A bill to amend the Federal Food, Drug, and Cosmetic Act to revise and extend the user-fee<br>programs for prescription drugs and medical devices, to establish user-fee programs for<br>generic drugs and biosimilars, and for other purposes.","S3187","Food and Drug Administration Safety and Innovation Act - Amends the Federal Food, Drug,<br>and Cosmetic Act (FFDCA) to reauthorize and establish new Food and Drug Administration<br>(FDA) prescription drug user-fee programs and revise and impose new requirements relating<br>to: (1) prescription, pediatric, and generic drugs; (2) medical devices; (3) biosimilar<br>biological products; (4) new infectious disease drugs; and (5) drug manufacturer<br>reporting. Title I: Fees Relating to Drugs - Prescription Drug ..."],["A bill to amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","S3220","Paycheck Fairness Act - Amends the portion of the Fair Labor Standards Act of 1938 (FLSA)<br>known as the Equal Pay Act to revise remedies for, enforcement of, and exceptions to<br>prohibitions against sex discrimination in the payment of wages. Revises the exception to<br>the prohibition for a wage rate differential based on any other factor other than sex.<br>Limits such factors to bona fide factors, such as education, training, or experience.<br>States that the bona fide factor defense shall apply only i..."],["An original bill to reauthorize agricultural programs through 2017, and for other<br>purposes.","S3240","Agriculture Reform, Food, and Jobs Act of 2012 - Repeals, but continues for crop year<br>2012: (1) direct payments, (2) countercyclical payments, and (3) the average crop revenue<br>election program (ACRE). Establishes the agriculture risk coverage program through crop<br>year 2017 for covered crops to make payments to producers for each planted crop when<br>actual farm or county-wide crop revenue is below the agriculture risk coverage guarantee<br>(89% of historical revenue). Requires producers to choose i..."],["An original bill to amend the National Flood Insurance Act of 1968, to restore the<br>financial solvency of the flood insurance fund, and for other purposes.","S1940","Title I: Flood Insurance Reform and Modernization - Flood Insurance Reform and<br>Modernization Act of 2011 - (Sec. 104) Amends the National Flood Insurance Act of 1968<br>(NFIA) to extend: (1) through FY2016 the authority of the Administrator of the Federal<br>Emergency Management Agency (FEMA) to issue up to $ 20.725 billion in debt obligations,<br>with the President's approval, for the National Flood Insurance Program (Program); and (2)<br>through FY2013 the authorization for the Program itself. (Sec. 10..."],["A bill to provide a temporary income tax credit for increased payroll and extend bonus<br>depreciation for an additional year, and for other purposes.","S2237","Small\u00a0Business Jobs and Tax Relief Act - Amends the Internal Revenue Code to allow certain<br>employers a tax credit for 10% of the excess (if any) of: (1) the\u00a0wages and compensation<br>paid to their employees in 2012; over (2) the amount of such wages paid in 2011, up to a<br>maximum amount of $5 million. Extends for one year the 100% bonus depreciation allowance<br>for business assets. Increases the amount of alternative minimum tax (AMT)\u00a0credits that<br>corporate taxpayers may elect to accelerate in a ta..."],["A bill to amend the Federal Election Campaign Act of 1971 to provide for additional<br>disclosure requirements for corporations, labor organizations, Super PACs and other<br>entities, and for other purposes.","S3369","Democracy Is Strengthened by Casting Light On Spending in Elections Act of 2012 or<br>DISCLOSE Act of 2012 - Amends the Federal Election Campaign Act of 1971 (FECA) to redefine<br>the term \"independent expenditure\" as an expenditure by a person that, when taken as a<br>whole, expressly advocates the election or defeat of a clearly identified candidate, or is<br>the functional equivalent of express advocacy because it can be interpreted by a<br>reasonable person only as advocating the election or defeat of a..."],["A bill to provide an incentive for businesses to bring jobs back to America.","S3364","Bring Jobs Home Act - Amends the Internal Revenue Code to: (1) grant business taxpayers<br>a\u00a0tax credit for up to 20% of insourcing expenses incurred for eliminating a\u00a0business<br>located outside the United States and\u00a0 relocating it within the United States, and (2)<br>deny a tax deduction for outsourcing expenses incurred in relocating a U.S. business<br>outside the United States. Requires an increase in the taxpayer's employment of full-time<br>employees\u00a0in the United States in order to claim the tax cred..."],["A bill to amend the Internal Revenue Code of 1986 to provide tax relief to middle-class<br>families.","S3412","Middle Class Tax Cut Act - Title I: Temporary Extension of Tax Relief - (Sec. 101) Extends<br>through 2013 for an individual taxpayer whose adjusted gross income is less than the<br>applicable threshold amount (i.e., $200,000 for individual taxpayers, $225,000 for heads<br>of household, and $250,000 for married couples filing a joint tax return) the tax rate<br>reductions and other tax benefits of the Economic Growth and Tax Relief Reconciliation Act<br>of 2001. Modifies individual income tax brackets for 2..."],["A bill to amend the African Growth and Opportunity Act to extend the third-country fabric<br>program and to add South Sudan to the list of countries eligible for designation under<br>that Act, to make technical corrections to the Harmonized Tariff Schedule of the United<br>States relating to the textile and apparel rules of origin for the Dominican Republic-<br>Central America-United States Free Trade Agreement, to approve the renewal of import<br>restrictions contained in the Burmese Freedom and Democracy Act of 2003, and for other<br>purposes.","S3326","(Sec. 1) Amends the African Growth and Opportunity Act to extend through FY2015 the third-<br>country fabric rule granting duty-free treatment of apparel articles wholly assembled, or<br>knit-to-shape and wholly assembled, or both, in one or more lesser developed beneficiary<br>sub-Saharan African countries, regardless of the country of origin of the fabric or the<br>yarn used to make such articles. Revises the term \"sub-Saharan African country\" to include<br>the Republic of South Sudan (South Sudan) under s..."],["A bill to require the Secretary of Veterans Affairs to establish a veterans jobs corps,<br>and for other purposes.","S3457","Veterans Jobs Corps Act of 2012 - Directs the Secretary of Veterans Affairs (VA)<br>(Secretary) to establish a veteran jobs corps to employ veterans: (1) in conservation,<br>resource management, and historic preservation projects on public lands and maintenance<br>and improvement projects for cemeteries under the jurisdiction of the National Cemetery<br>Administration; and (2) as firefighters and law enforcement officers. Requires priority<br>employment for veterans who served on active duty on or after Sep..."],["A bill to protect and enhance opportunities for recreational hunting, fishing, and<br>shooting, and for other purposes.","S3525","Sportsmen's Act of 2012 - Amends the Land and Water Conservation Fund Act of 1965 to<br>direct the Secretary of the Interior and the Secretary of Agriculture (USDA) to ensure<br>that not less than 1.5% of the amounts made available for the Land and Water Conservation<br>Fund for each fiscal year shall be made available for certain projects identified on an<br>annual priority list to be developed pursuant to this Act. Requires such projects to<br>secure, through rights-of-way or the acquisition of lands or i..."],["An original bill to authorize appropriations for fiscal year 2013 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S3254","National Defense Authorization Act for Fiscal Year 2013 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2013 for the Department of<br>Defense (DOD) for procurement for the Army, Navy and Marine Corps, Air Force, and defense-<br>wide activities, in amounts specified in the funding table in Division D of this Act.<br>Subtitle B: Army Programs - (Sec. 111) Authorizes the Secretary of the Ar..."],["A bill to temporarily extend the transaction account guarantee program, and for other<br>purposes.","S3637","Amends the Federal Deposit Insurance Act and the Federal Credit Union Act to extend<br>through December 31, 2014, the transaction account guarantee program (TAG) established by<br>the Dodd-Frank Wall Street Reform and Consumer Protection Act to provide unlimited deposit<br>insurance for noninterest-bearing transaction accounts (NIBTAs). Cites January 1, 2015, as<br>the effective date upon which the net amount of insured deposit due to a depositor at an<br>insured depository institution reverts to the standa..."],["To amend title IV of the Public Health Service Act to provide for a National Pediatric<br>Research Network, including with respect to pediatric rare diseases or conditions.","HR225","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) National Pediatric Research Network Act of 2013 - Amends the Public Health<br>Service Act to authorize the Director of the National Institutes of Health (NIH), in<br>carrying out the Pediatric Research Initiative, to act through the Director of the Eunice<br>Kennedy Shriver National Institute of Child Health and Human Development to provide for<br>the establishment of a National Pediatric Research N..."],["A bill to reauthorize the Violence Against Women Act of 1994.","S47","(This measure has not been amended since it was passed by the Senate on February 12, 2013.<br>The summary of that version is repeated here.) Violence Against Women Reauthorization Act<br>of 2013 - (Sec. 3) Amends the Violence Against Women Act of 1994 (VAWA) to add or expand<br>definitions of several terms used in such Act, including : (1) \"culturally specific<br>services\" to mean community-based services that offer culturally relevant and<br>linguistically specific services and resources to culturally spec..."],["To amend title 18, United States Code, to include certain territories and possessions of<br>the United States in the definition of State for the purposes of chapter 114, relating to<br>trafficking in contraband cigarettes and smokeless tobacco.","HR338","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Stop Tobacco Smuggling in the Territories Act of 2013 - Amends the federal<br>criminal code to include American Samoa, the Commonwealth of the Northern Mariana Islands,<br>and Guam in the definition of \"state\" for purposes of provisions prohibiting trafficking<br>in contraband cigarettes and smokeless tobacco."],["To require a study of voluntary community-based flood insurance options and how such<br>options could be incorporated into the national flood insurance program, and for other<br>purposes.","HR1035","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  Directs the Administrator of the Federal<br>Emergency Management Agency (FEMA) to study and report to Congress on options, methods,<br>and strategies for making voluntary community-based flood insurance policies available<br>through the National Flood Insurance Program, including a strategy to implement options<br>that would encourage communities to undertake flood mitigatio..."],["Authorizing the use of the Capitol Grounds for the Greater Washington Soap Box Derby.","HCONRES19","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Permits the Greater Washington Soap Box Derby Association to sponsor soap<br>box derby races as a free public event on the Capitol grounds on June 15, 2013."],["To authorize the acquisition and protection of nationally significant battlefields and<br>associated sites of the Revolutionary War and the War of 1812 under the American<br>Battlefield Protection Program.","HR1033","American Battlefield Protection Program Amendments Act of 2013 - Amends the Omnibus Public<br>Land Management Act of 2009 to reauthorize through FY2018 and expand the Battlefield<br>Acquisition Grant Program to: (1) include the preservation of Revolutionary War and War of<br>1812 sites in the United States; and (2) permit the acquisition not only of an interest in<br>an eligible site, but also an eligible site. Requires acquisitions of lands or interests<br>under the Act to be from willing sellers only.  Re..."],["To award posthumously a Congressional Gold Medal to Addie Mae Collins, Denise McNair,<br>Carole Robertson, and Cynthia Wesley, in recognition of the 50th commemoration of the<br>bombing of the Sixteenth Street Baptist Church where the 4 little Black girls lost their<br>lives, which served as a catalyst for the Civil Rights Movement.","HR360","(This measure has not been amended since it was passed by the House on April 24, 2013. The<br>summary of that version is repeated here.)  Directs the Speaker of the House of<br>Representatives and the President pro tempore of the Senate to arrange for the<br>presentation of a congressional gold medal to commemorate the lives of Addie Mae Collins,<br>Denise McNair, Carole Robertson, and Cynthia Wesley (children who lost their lives in the<br>September 1963 bombing of the Sixteenth Street Baptist Church in Bi..."],["To provide for the conveyance of certain land inholdings owned by the United States to the<br>Pascua Yaqui Tribe of Arizona, and for other purposes.","HR507","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Pascua Yaqui Tribe Trust Land Act - Holds in trust for the Pascua Yaqui<br>Tribe of Arizona all right, title, and interest of the United States in and to<br>approximately 10 acres of federal land generally depicted as parcel A, and approximately<br>10 acres of federal land generally depicted as parcel B, on the map titled \"PYT Land<br>Department,\" dated January 15, 2013. Makes that conveyance effect..."],["A concurrent resolution authorizing the use of Emancipation Hall in the Capitol Visitor<br>Center for an event to celebrate the birthday of King Kamehameha.","SCONRES10","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes the use of Emancipation Hall in the Capitol Visitor Center for<br>an event on June 9, 2013, to celebrate the birthday of King Kamehameha (Hawaii)."],["To establish the position of Special Assistant for Veterans Affairs in the Department of<br>Housing and Urban Development, and for other purposes.","HR384","Homes for Heroes Act of 2013 - Amends the Department of Housing and Urban Development Act<br>to establish in the Office of the Secretary of the Department of Housing and Urban<br>Development (HUD) a Special Assistant for Veterans Affairs to: (1) ensure veterans fair<br>access to HUD housing and homeless assistance programs, (2) coordinate all HUD programs<br>and activities relating to veterans, and (3) serve as a HUD liaison with the Department of<br>Veterans Affairs (VA). Terminates, at the same time as su..."],["To amend title 49, United States Code, to direct the Assistant Secretary of Homeland<br>Security (Transportation Security Administration) to provide expedited air passenger<br>screening to severely injured or disabled members of the Armed Forces and severely injured<br>or disabled veterans, and for other purposes.","HR1344","(This measure has not been amended since it was passed by the Senate on August 1, 2013.<br>The summary of that version is repeated here.) Helping Heroes Fly Act - Directs the<br>Assistant Secretary of Homeland Security (Transportation Security Administration [TSA]) to<br>develop and implement a process to ease travel and to the extent possible provide<br>expedited passenger screening services for severely injured or disabled Armed Forces<br>members and veterans, and their accompanying family members or nonm..."],["An original bill to amend the Federal Food, Drug, and Cosmetic Act to reauthorize user fee<br>programs relating to new animal drugs and generic new animal drugs.","S622","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.)  Animal Drug and Animal Generic Drug User Fee<br>Reauthorization Act of 2013 - Title I: Fees Relating to Animal Drugs - Animal Drug User<br>Fee Amendments of 2013 - (Sec. 103) Amends the Federal Food, Drug, and Cosmetic Act to<br>extend for FY2014-FY2018 the authority of the Food and Drug Administration (FDA) to<br>collect animal drug user fees, specifically new animal drug a..."],["To authorize the conveyance of two small parcels of land within the boundaries of the<br>Coconino National Forest containing private improvements that were developed based upon<br>the reliance of the landowners in an erroneous survey conducted in May 1960.","HR862","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Authorizes the Secretary of Agriculture (USDA)<br>to convey all interest of the United States in two parcels of land within the boundaries<br>of the Coconino National Forest, Arizona, that contain private improvements that<br>landowners developed based upon an erroneous survey conducted in May 1960, to the person<br>or legal entity representing the majority of those landowners..."],["To designate the air route traffic control center located in Nashua, New Hampshire, as the<br>\"Patricia Clark Boston Air Route Traffic Control Center\".","HR1092","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the air route traffic control center located in Nashua, New<br>Hampshire, as the \"Patricia Clark Boston Air Route Traffic Control Center.\""],["To designate the headquarters building of the Coast Guard on the campus located at 2701<br>Martin Luther King, Jr., Avenue Southeast in the District of Columbia as the \"Douglas A.<br>Munro Coast Guard Headquarters Building\", and for other purposes.","HR2611","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the Coast Guard headquarters building on the campus located at<br>2701 Martin Luther King, Jr., Avenue, S.E., in the District of Columbia as the \"Douglas A.<br>Munro Coast Guard Headquarters Building.\""],["Authorizing the use of the Capitol Grounds for the District of Columbia Special Olympics<br>Law Enforcement Torch Run.","HCONRES44","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes the use of the Capitol grounds for the 28th Annual District of<br>Columbia Special Olympics Law Enforcement Torch Run on September 27, 2013."],["A bill to amend Public Law 93-435 with respect to the Northern Mariana Islands, providing<br>parity with Guam, the Virgin Islands, and American Samoa.","S256","(This measure has not been amended since it was reported to the Senate on June 27, 2013.<br>The summary of that version is repeated here.) Conveys to the government of the<br>Commonwealth of the Northern Mariana Islands (CNMI) submerged lands surrounding such<br>Islands and extending three geographical miles outward from their coastlines.  Includes<br>the CNMI among the islands where the President may establish naval defensive sea areas and<br>airspace reservations when necessary for national defense.  Amen..."],["A bill to modify the boundary of the Minuteman Missile National Historic Site in the State<br>of South Dakota, and for other purposes.","S459","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Minuteman Missile National Historic Site Boundary Modification Act -<br>Amends the Minuteman Missile National Historic Site Establishment Act of 1999 to modify<br>the boundary of the Minuteman Missile National Historic Site in South Dakota by including<br>in the Historic Site a visitor facility and administrative site located on a specified<br>parcel of land that consists of: (1) approximately 25 ac..."],["A bill to support revitalization and reform of the Organization of American States, and<br>for other purposes.","S793","(This measure has not been amended since it was passed by the House on September 17, 2013.<br>The summary of that version is repeated here.) Organization of American States<br>Revitalization and Reform Act of 2013 - States that it is U.S. policy to: (1) promote<br>democracy, the rule of law, and human rights in the Western Hemisphere; and (2) support<br>the practices and principles expressed in the Charter of the Organization of American<br>States, the American Declaration on the Rights and Duties of Man, t..."],["To amend the Interstate Land Sales Full Disclosure Act to clarify how the Act applies to<br>condominiums.","HR2600","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Interstate Land Sales Full Disclosure Act to exempt from<br>certain registration and disclosure requirements the sale or lease of a condominium unit<br>not already exempt from coverage under such Act."],["To designate the building occupied by the Federal Bureau of Investigation located at 801<br>Follin Lane, Vienna, Virginia, as the \"Michael D. Resnick Terrorist Screening Center\".","HR3096","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the building occupied by the Federal Bureau of Investigation<br>(FBI) located at 801 Follin Lane, Vienna, Virginia, as the \"Michael D. Resnick Terrorist<br>Screening Center.\""],["To designate the United States courthouse located at 118 South Mill Street, in Fergus<br>Falls, Minnesota, as the \"Edward J. Devitt United States Courthouse\".","HR2251","(This measure has not been amended since it was reported to the House on September 27,<br>2013. The summary of that version is repeated here.)  Designates the U.S. courthouse and<br>federal building located at 118 South Mill Street, Fergus Falls, Minnesota, as the \"Edward<br>J. Devitt United States Courthouse and Federal Building.\""],["A bill to reauthorize the Congressional Award Act.","S1348","(This measure has not been amended since it was passed by the Senate on September 26,<br>2013. The summary of that version is repeated here.) Congressional Award Program<br>Reauthorization Act of 2013 - Amends the Congressional Award Act to extend the date for<br>termination of the Congressional Award Board from October 1, 2013, to October 1, 2018."],["To provide for the compensation of furloughed Federal employees.","HR3223","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Employee Retroactive Pay Fairness Act - Provides for compensation<br>of federal employees furloughed due to any lapse in appropriations that begins on or about<br>October 1, 2013, for the period of such lapse in appropriations."],["To amend title 38, United States Code, to provide for a two-year extension of the<br>Veterans' Advisory Committee on Education.","HR2011","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Veterans' Advisory Committee on Education Improvement Act of 2013 -<br>Extends through the end of 2015 the Veterans' Advisory Committee on Education. Requires<br>the Committee to include veterans representative of the post-9/11 operations in Iraq and<br>Afghanistan."],["To designate the Department of Veterans Affairs and Department of Defense joint outpatient<br>clinic to be constructed in Marina, California, as the \"General William H. Gourley Federal<br>Outpatient Clinic: A Joint VA-DOD Health Care Facility\".","HR272","(This measure has not been amended since it was passed by the House on November 18, 2013.<br>The summary of that version is repeated here.)  Designates the Department of Veterans<br>Affairs (VA) and Department of Defense (DOD) joint outpatient clinic to be constructed in<br>Marina, California, as the \"Major General William H. Gourley VA-DOD Outpatient Clinic.\""],["To amend title 49, United States Code, to direct the Assistant Secretary of Homeland<br>Security (Transportation Security Administration) to establish an Aviation Security<br>Advisory Committee, and for other purposes.","HR1204","(This measure has not been amended since it was passed by the Senate on December 9, 2014.<br>The summary of that version is repeated here.) Aviation Security Stakeholder Participation<br>Act of 2014 - Directs the Assistant Secretary of Homeland Security (Transportation<br>Security Administration [TSA]) to establish in the TSA an aviation security advisory<br>committee. Requires the Assistant Secretary to consult with the Advisory Committee on<br>aviation security matters.  Requires the Advisory Committee to..."],["To amend chapter 22 of title 44, United States Code, popularly known as the Presidential<br>Records Act, to establish procedures for the consideration of claims of constitutionally<br>based privilege against disclosure of Presidential records, and for other purposes.","HR1233","(This measure has not been amended since it was reported to the Senate on July 23, 2014.<br>The summary of that version is repeated here.) Presidential and Federal Records Act<br>Amendments of 2014 - (Sec. 2) Amends the Presidential Records Act to require the Archivist<br>of the United States, upon determining to make publicly available any presidential record<br>not previously made available, to: (1) promptly provide written notice of such<br>determination to the former President during whose term of offic..."],["To provide for the conveyance of a small parcel of National Forest System land in Los<br>Padres National Forest in California, and for other purposes.","HR3008","(This measure has not been amended since it was reported to the House on December 16,<br>2013. The summary of that version is repeated here.) Authorizes the Secretary of<br>Agriculture (USDA), if the White Lotus Foundation in Santa Barbara, California, offers to<br>convey to the Secretary a parcel of non-federal land that is acceptable to the Secretary<br>and the Secretary accepts the offer, to convey approximately five acres of certain<br>identified National Forest System land in Santa Barbara County to th..."],["Supporting the democratic and European aspirations of the people of Ukraine, and their<br>right to choose their own future free of intimidation and fear.","HRES447","Values the close relationship the United States has established with Ukraine.   Supports<br>the democratic and European aspirations of the people of Ukraine.   Calls on the United<br>States and the European Union (EU) to work together to support a peaceful resolution to<br>the political crisis in Ukraine. Condemns all acts of violence, and calls on the<br>government of Ukraine to bring to justice those responsible for violence against peaceful<br>protesters and to release and drop criminal charges against t..."],["A bill to designate the air route traffic control center located in Nashua, New Hampshire,<br>as the \"Patricia Clark Boston Air Route Traffic Control Center\".","S540","(This measure has not been amended since it was passed by the House on February 11, 2014.<br>The summary of that version is repeated here.) Temporary Debt Limit Extension Act -<br>Suspends the public debt limit for the period beginning on the date of enactment of this<br>Act and ending on March 15, 2015. Increases the debt limit, effective March 16, 2015, to<br>the extent that:  the face amount of such obligations outstanding on the date of enactment<br>of this Act is exceeded by the total of the face amoun..."],["Raising a question of the privileges of the House.","HRES504","Condemns the offensive and disrespectful manner in which Chairman Darrell E. Issa<br>conducted the hearing of the House Committee on Oversight and Government Reform on March<br>5, 2014, during which he turned off the microphones of the Ranking Member while he was<br>speaking and adjourned the hearing without a vote or a unanimous consent agreement."],["Raising a question of the privileges of the House.","HRES517","Condemns the offensive and disrespectful manner in which Chairman Darrell E. Issa<br>conducted the hearing of the House Committee on Oversight and Government Reform on March<br>5, 2014.  Requires that he come to the well of the House of Representatives to issue a<br>public apology to Members of the House."],["To redesignate the facility of the United States Postal Service located at 162 Northeast<br>Avenue in Tallmadge, Ohio, as the \"Lance Corporal Daniel Nathan Deyarmin Post Office<br>Building\".","HR1813","Designates the United States Postal Service (USPS) facility located at 162 Northeast<br>Avenue in Tallmadge, Ohio, as the \"Lance Corporal Daniel Nathan Deyarmin, Jr., Post Office<br>Building.\""],["To clarify the treatment under the Patient Protection and Affordable Care Act of health<br>plans in which expatriates are the primary enrollees, and for other purposes.","HR4414","Expatriate Health Coverage Clarification Act of 2014 - Exempts expatriate health plans,<br>employers acting as sponsors of such plans, and health insurance issuers providing<br>coverage under such plans from the health care coverage requirements of the Patient<br>Protection and Affordable Care Act and the Health Care and Education Reconciliation Act of<br>2010. Deems expatriate health coverage to be minimum essential coverage for purposes of<br>meeting the individual responsibility requirements of the Inter..."],["To amend the National Law Enforcement Museum Act to extend the termination date.","HR4120","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the National Law Enforcement Museum Act to extend by three years<br>the authority to construct the National Law Enforcement Museum."],["To establish the Commission to Study the Potential Creation of a National Women's History<br>Museum, and for other purposes.","HR863","Commission to Study the Potential Creation of a National Women's History Museum Act -<br>Establishes the Commission to Study the Potential Creation of a National Women's History<br>Museum.  Requires the Commission to: (1) report recommendations for a plan of action for<br>the establishment and maintenance of a National Women's History Museum in Washington,<br>D.C.; (2) develop a fundraising plan to support the establishment, operation, and<br>maintenance of the Museum through public contributions; (3) obtai..."],["Condemning the abduction of female students by armed militants from the terrorist group<br>known as Boko Haram in northeastern provinces of the Federal Republic of Nigeria.","HRES617","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Supports the people of Nigeria, especially the parents and families of the<br>girls abducted by Boko Haram in Borno state, and calls for their immediate and safe<br>return.  Condemns Boko Haram for its attacks on civilian targets, including schools,<br>mosques, churches, villages, and agricultural centers.  Encourages the government of<br>Nigeria to strengthen efforts to protect children seeking an ..."],["To designate the facility of the United States Postal Service located at 6937 Village<br>Parkway in Dublin, California, as the \"James 'Jim' Kohnen Post Office\".","HR1671","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)Designates the facility of the United States Postal Service located at 6937<br>Village Parkway in Dublin, California, as the \"James 'Jim' Kohnen Post Office.\""],["To reinstate and transfer certain hydroelectric licenses and extend the deadline for<br>commencement of construction of certain hydroelectric projects.","HR316","(This measure has not been amended since it was reported to the Senate on June 27, 2013.<br>The summary of that version is repeated here.) Collinsville Renewable Energy Production<br>Act - Authorizes the Federal Energy Regulatory Commission (FERC), upon request of the town<br>of Canton, Connecticut (Town), to: (1) reinstate the expired license for either or each of<br>the projects numbered 10822 and 10823; (2) extend for two years after the date on which<br>either or each such project is reinstated the time..."],["To amend the Homeland Security Act of 2002 to require the Under Secretary for Management<br>of the Department of Homeland Security to take administrative action to achieve and<br>maintain interoperable communications capabilities among the components of the Department<br>of Homeland Security, and for other purposes.","HR4289","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Department of Homeland Security Interoperable Communications Act or the<br>DHS Interoperable Communications Act - Amends the Homeland Security Act of 2002 to include<br>among the responsibilities of the Under Secretary for Management responsibilities with<br>respect to policies and directives to achieve and maintain interoperable communications<br>among the components of the Department of Homeland S..."],["To provide for the establishment of a body to identify and coordinate international<br>science and technology cooperation that can strengthen the domestic science and technology<br>enterprise and support United States foreign policy goals.","HR5029","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  International Science and Technology Cooperation<br>Act of 2014 - Requires the Director of the Office of Science and Technology Policy (OSTP)<br>to establish a body under the National Science and Technology Council that has the<br>responsibility of identifying and coordinating international science and technology<br>cooperation that can strengthen U.S. science and technology..."],["To develop an energy critical elements program, to amend the National Materials and<br>Minerals Policy, Research and Development Act of 1980, and for other purposes.","HR1022","  Securing Energy Critical Elements and American Jobs Act of 2013 - Establishes in the<br>Department of Energy (DOE) a research, development, and commercial application program to<br>assure the long-term, secure, and sustainable supply of energy critical elements to<br>satisfy the national security, economic well-being, and industrial production needs of the<br>United States. Directs the Secretary of Energy to: (1) support new or significantly<br>improved processes and technologies (as compared to those cur..."],["To improve the response to victims of child sex trafficking.","HR5111","Amends the Missing Children's Assistance Act to include among the required uses of the<br>Office of Juvenile Justice and Delinquency Prevention's annual grant to the National<br>Center for Missing and Exploited Children operation of a cyber tipline to provide online<br>users and electronic service providers an effective means of reporting Internet-related<br>child sexual exploitation in the area of child sex trafficking, including child<br>prostitution (currently, in the area of child prostitution)."],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>United States Armed Forces, other than Armed Forces required to protect United States<br>diplomatic facilities and personnel, from Iraq.","HCONRES105","Prohibits the President from deploying or maintaining U.S. Armed Forces in a sustained<br>combat role in Iraq without specific statutory authorization enacted after the adoption of<br>this concurrent resolution.  States that nothing in this concurrent resolution supersedes<br>the requirements of the War Powers Resolution."],["To amend the Child Abuse Prevention and Treatment Act to enable State child protective<br>services systems to improve the identification and assessment of child victims of sex<br>trafficking, and for other purposes.","HR5081","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Strengthening Child Welfare Response to Trafficking Act of 2014 - Amends<br>the Child Abuse Prevention and Treatment Act to condition eligibility to receive a state<br>grant for child abuse or neglect prevention and treatment programs on inclusion in the<br>state plan of a certification by the governor that the state has in effect and is<br>enforcing a state law, or is operating a statewide program,..."],["To require the Secretary of Homeland Security to prepare a comprehensive security<br>assessment of the transportation security card program, and for other purposes.","HR3202","Essential Transportation Worker Identification Credential Assessment Act - Directs the<br>Secretary of Homeland Security (DHS) to submit to Congress and the Comptroller General<br>(GAO) a comprehensive assessment of the effectiveness of the transportation security card<br>program at enhancing security and reducing security risks for maritime facilities and<br>vessels. Requires the assessment to be conducted, to the extent practicable, by a national<br>laboratory within the DHS laboratory network or a mariti..."],["To require the Secretary of Homeland Security to establish cybersecurity occupation<br>classifications, assess the cybersecurity workforce, develop a strategy to address<br>identified gaps in the cybersecurity workforce, and for other purposes.","HR3107","(Sec. 1) Amends the Homeland Security Act of 2002 to add provisions entitled the Homeland<br>Security Cybersecurity Boots-on-the-Ground Act, which require the Secretary of Homeland<br>Security (DHS) to: (1) develop occupation categories for individuals performing activities<br>in furtherance of DHS's cybersecurity mission, (2) ensure that such categories may be used<br>throughout DHS and are made available to other federal agencies, and (3) conduct an annual<br>assessment of the readiness and capacity of th..."],["To designate the facility of the United States Postal Service located at 1335 Jefferson<br>Road in Rochester, New York, as the \"Specialist Theodore Matthew Glende Post Office\".","HR5019","Designates the facility of the United States Postal Service located at 1335 Jefferson Road<br>in Rochester, New York, as the \"Specialist Theodore Matthew Glende Post Office.\""],["To designate the facility of the United States Postal Service located at 10360 Southwest<br>186th Street in Miami, Florida, as the \"Larcenia J. Bullard Post Office Building\".","HR2678","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the facility of the United States Postal Service located at<br>10360 Southwest 186th Street in Miami, Florida, as the \"Larcenia J. Bullard Post Office<br>Building.\""],["To make technical corrections to Public Law 110-229 to reflect the renaming of the<br>Bainbridge Island Japanese American Exclusion Memorial, and for other purposes.","HR4751","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Renames the Bainbridge Island Japanese American Memorial as the Bainbridge<br>Island Japanese American Exclusion Memorial."],["To establish the Law School Clinic Certification Program of the United States Patent and<br>Trademark Office, and for other purposes.","HR5108","(This measure has not been amended since it was reported to the House on September 15,<br>2014. The summary of the House passed\u00a0version is repeated here.) Establishes the Law<br>School Clinic Certification Program of the United States Patent and Trademark Office<br>(USPTO) to allow students enrolled in a participating law school's clinic to practice<br>patent and trademark law before the USPTO on a pro-bono basis for clients that qualify for<br>assistance from the law school's clinic.  Requires the USPTO Di..."],["A bill to amend the Public Health Service Act to reauthorize the Emergency Medical<br>Services for Children Program.","S2154","(This measure has not been amended since it was reported to the Senate on July 23, 2014.<br>The summary of that version is repeated here.)  Emergency Medical Services for Children<br>Reauthorization Act of 2014 - Amends the Public Health Service Act to reauthorize the<br>Emergency Medical Services for Children Program through FY2019."],["A bill to reaffirm that certain land has been taken into trust for the benefit of the<br>Match-E-Be-Nash-She-Wish Band of Pottawatami Indians, and for other purposes.","S1603","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Gun Lake Trust Land Reaffirmation Act - Ratifies and confirms the actions<br>of the Secretary of the Interior in taking specified land into trust for the benefit of<br>the Match-E-Be-Nash-She-Wish Band of Pottawatami Indians.  Reaffirms that land as trust<br>land. Prohibits an action relating to that land from being filed or maintained in a<br>federal court."],["A bill to amend the Chesapeake and Ohio Canal Development Act to extend to the Chesapeake<br>and Ohio Canal National Historical Park Commission.","S476","(This measure has not been amended since it was reported to the Senate on June 27, 2013.<br>The summary of that version is repeated here.) Reauthorizes the Chesapeake and Ohio Canal<br>National Historical Park Commission for a term of ten years after enactment of this Act."],["To amend the Homeland Security Act of 2002 to authorize use of grants under the Urban Area<br>Security Initiative and the State Homeland Security Grant Program to work in conjunction<br>with a Department of Energy national laboratory.","HR3438","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) National Laboratories Mean National Security Act - Amends the Homeland<br>Security Act of 2002 to authorize recipients of grants under the Urban Area Security<br>Initiative and the State Homeland Security Grant Program to work in conjunction with a<br>National Laboratory to achieve target capabilities related to preventing, preparing for,<br>protecting against, and responding to acts of terrorism."],["To revise the boundaries of certain John H. Chafee Coastal Barrier Resources System units<br>in North Carolina.","HR3572","(This measure has not been amended since it was passed by the House on December 2, 2014.<br>The summary of that version is repeated here.) Revises the boundaries of the following<br>units within the John H. Chafee Coastal Barrier Resources System:    Lea Island Complex<br>L07, Wrightsville Beach Unit L08, and Masonboro Island Unit L09 in North Carolina;<br>Sachuest Point Unit RI-04P, Easton Beach Unit RI-05P, Almy Pond Unit RI-06, and Hazards<br>Beach Unit RI-07 in Rhode Island; Gasparilla Island Unit FL-70..."],["A bill to require the Director of the Office of Management and Budget to prepare a<br>crosscut budget for restoration activities in the Chesapeake Bay watershed, and for other<br>purposes.","S1000","(This measure has not been amended since it was passed by the Senate on December 2, 2014.<br>The summary of that version is repeated here.) Chesapeake Bay Accountability and Recovery<br>Act of 2014 - (Sec. 3) Requires the Office of Management and Budget (OMB) to submit to<br>Congress a financial report on restoration activities in the Chesapeake Bay watershed by<br>September 30 of each year. Requires the report to contain:   an interagency crosscut<br>budget for federal and state restoration activities that..."],["A bill to extend the termination date of the Terrorism Insurance Program established under<br>the Terrorism Risk Insurance Act of 2002, and for other purposes.","S2244","Terrorism Risk Insurance Program Reauthorization Act of 2014 - Title I: Extension of<br>Terrorism Insurance Program - (Sec. 101) Amends the Terrorism Risk Insurance Act of 2002<br>(TRIA) to extend the Terrorism Insurance Program through December 31, 2020, and to revise<br>requirements for the Program. (Sec. 102) Requires the federal share of payments beginning<br>on January 1, 2016, for acts of terrorism, in general, to be reduced annually to 80% of<br>insured losses. (Sec. 103) Specifies the aggregate indu..."],["To require the Secretary of the Interior to assemble a team of technical, policy, and<br>financial experts to address the energy needs of the insular areas of the United States<br>and the Freely Associated States through the development of action plans aimed at reducing<br>reliance on imported fossil fuels and increasing use of indigenous clean-energy resources,<br>and for other purposes.","HR83","(This measure has not been amended since the House agreed with an amendment to the Senate<br>amendment on December 11, 2014. The summary of that version is repeated here.) Highlights:<br>The Consolidated and Further Continuing Appropriations Act, 2015 provides appropriations<br>for most of the federal government through the end of FY2015 and continuing appropriations<br>for the Department of Homeland Security through February 27, 2015.  The Act includes<br>eleven of the twelve regular appropriations bills. ..."],["To authorize the Secretary of the Interior to acquire approximately 44 acres of land in<br>Martinez, California, and for other purposes.","HR5699","(This measure has not been amended since it was reported to the House on December 9, 2014.<br>The summary of that version is repeated here.)  John Muir National Historic Site Expansion<br>Act - Authorizes the Department of the Interior to acquire by donation approximately 44<br>acres of land to include in the John Muir National Historic Site in Martinez, California."],["A resolution to improve procedures for the consideration of legislation and nominations in<br>the Senate.","SRES15","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Limits to four hours any debate on a motion to<br>proceed to the consideration of a measure or matter. Applies the following conditions on<br>the proposal of amendments if the motion to proceed is agreed to:  the first amendments in<br>order shall be one first-degree amendment each offered by the minority, the majority, the<br>minority, and the majority (with forfeiture of th..."],["A resolution amending the Standing Rules of the Senate.","SRES16","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Amends Rule XXII (Precedence of Motions) of the<br>Standing Rules of the Senate to prescribe a procedure for a bipartisan cloture motion on a<br>motion to proceed to a measure or matter. Requires the motion to be signed by 16 Senators,<br>including the Majority Leader, the Minority Leader, 7 additional Senators not affiliated<br>with the majority, and 7 additional Senators no..."],["A bill to appropriately limit sequestration, to eliminate tax loopholes, and for other<br>purposes.","S388","American Family Economic Protection Act of 2013 - Title I: Budget Provisions - Amends the<br>Balanced Budget and Emergency Deficit Control Act of 1985 (Gramm-Rudman-Hollings Act) to<br>revise discretionary spending limits (spending caps) for security and nonsecurity<br>categories in new budget authority for FY2013. Establishes discretionary spending limits<br>for revised security and nonsecurity categories for FY2014-FY2021. Defines \"revised<br>security category\" as discretionary appropriations in budget fu..."],["An original resolution authorizing expenditures by committees of the Senate for the period<br>March 1, 2013, through September 30, 2013.","SRES64","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) (Sec. 1) Authorizes expenditures by the<br>following Senate committees from March 1, 2013, through September 30, 2013: (1)<br>Agriculture, Nutrition, and Forestry; (2) Armed Services; (3) Banking, Housing, and Urban<br>Affairs; (4) Budget; (5) Commerce, Science, and Transportation; (6) Energy and Natural<br>Resources; (7) Environment and Public Works; (8) Finance; (9) Foreign..."],["An original concurrent resolution setting forth the congressional budget for the United<br>States Government for fiscal year 2014, revising the appropriate budgetary levels for<br>fiscal year 2013, and setting forth the appropriate budgetary levels for fiscal years 2015<br>through 2023.","SCONRES8","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2015-FY2023. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Lists recommended budgetary levels and amounts for FY2013-FY2023 with respect<br>to: (1) federal revenues, (2) new budget authority, (3) budget outlays, (4) deficits, (5)<br>public debt, and (6) debt held by the public. (Sec. 102) Lists the appropriate levels of<br>new budget authority, outlays, and administrative ..."],["A bill to ensure that all individuals who should be prohibited from buying a firearm are<br>listed in the national instant criminal background check system and require a background<br>check for every firearm sale, and for other purposes.","S649","Safe Communities, Safe Schools Act of 2013 - Amends the NICS Improvement Amendments Act of<br>2007 (NICS Act), the Brady Handgun Violence Prevention Act (Brady Act), the Omnibus Crime<br>Control and Safe Streets Act of 1968, and the federal criminal code to require background<br>checks for all firearm sales, prohibit straw purchases of firearms, and expand the school<br>safety grant program.  Fix Gun Checks Act of 2013 - Amends the NICS Act to eliminate from<br>the records concerning persons who are prohibi..."],["A bill to provide for the conservation and development of water and related resources, to<br>authorize the Secretary of the Army to construct various projects for improvements to<br>rivers and harbors of the United States, and for other purposes.","S601","Water Resources Development Act of 2013 - Title I: Water Resource Projects - (Sec. 1001)<br>Sets forth the purposes of this title, including to: (1) authorize projects that are the<br>subject of a completed report of the Chief of Engineers of the Army Corps of Engineers<br>(Corps) containing a determination that the relevant project is in the federal interest,<br>results in benefits that exceed the costs, is environmentally acceptable, is technically<br>feasible, and has been recommended to Congress for aut..."],["An original bill to reauthorize agricultural programs through 2018.","S954","Agriculture Reform, Food, and Jobs Act of 2013 - Title I: Commodity Programs - Subtitle A:<br>Repeals and Reforms - (Sec. 1101) Amends the Food, Conservation, and Energy Act of 2008 to<br>repeal, but continue for crop year 2013: (1) direct payments, (2) countercyclical<br>payments, and (3) the average crop revenue election program (ACRE). (Sec. 1105) Directs<br>the Secretary of Agriculture (USDA) to provide for a farm's base acreage adjustment for<br>covered commodities if: (1) a conservation reserve contra..."],["A bill to amend the Higher Education Act of 1965 to extend the reduced interest rate for<br>undergraduate Federal Direct Stafford Loans, to modify required distribution rules for<br>pension plans, to limit earnings stripping by expatriated entities, to provide for<br>modifications related to the Oil Spill Liability Trust Fund, and for other purposes.","S953","Student Loan Affordability Act - Amends the Higher Education Act of 1965 to extend until<br>June 30, 2015, existing interest rates for loans made to undergraduate students under the<br>Federal Direct Stafford Loan program. Amends the Internal Revenue Code to modify rules for<br>required distributions from tax-exempt pension plans to an employee who dies before such<br>employee's entire interest is distributed to require such interest to be distributed<br>within five years after the death of such employee, s..."],["A bill to provide for comprehensive immigration reform and for other purposes.","S744","Border Security, Economic Opportunity, and Immigration Modernization Act - (Sec. 2) States<br>that passage of this Act recognizes that the primary tenets of its success depend on<br>securing U.S. sovereignty and establishing a coherent and just system for integrating<br>those who seek to join American society.  (Sec. 3) Prohibits the Secretary of Homeland<br>Security (DHS) (Secretary) from processing applications for registered provisional<br>immigrant status (RPI), as established by this Act, until the Sec..."],["A bill to amend the Higher Education Act of 1965 to extend the current reduced interest<br>rate for undergraduate Federal Direct Stafford Loans for 1 year, to modify required<br>distribution rules for pension plans, and for other purposes.","S1238","Keep Student Loans Affordable Act of 2013 - Amends title IV (Student Assistance) of the<br>Higher Education Act of 1965 to extend the 3.4% interest rate on Direct Stafford loans<br>first disbursed to undergraduate students between July 1, 2011, and July 1, 2013, to<br>Direct Stafford loans first disbursed to undergraduate students between July 1, 2011, and<br>July 1, 2014.  Amends the Internal Revenue Code to modify rules for required distributions<br>from tax-exempt pension plans to an employee who dies be..."],["An original bill making appropriations for the Departments of Transportation, and Housing<br>and Urban Development, and related agencies for the fiscal year ending September 30, 2014,<br>and for other purposes.","S1243","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Transportation, Housing and Urban Development,<br>and Related Agencies Appropriations Act, 2014 - Title I: Department of Transportation -<br>Department of Transportation Appropriations Act, 2014 - Makes appropriations for FY2014 to<br>the Department of Transportation (DOT), including: (1) the Office of the Secretary, (2)<br>the Federal Aviation Administration (FAA), (3) the F..."],["A bill to ensure the complete and timely payment of the obligations of the United States<br>Government until December 31, 2014.","S1569","Default Prevention Act of 2013 - Amends the No Budget, No Pay Act of 2013 (P.L. 113-3) to<br>suspend the public debt limit through December 31, 2014.  Revises the special rule<br>relating to obligations issued during the suspension period to provide for an increase in<br>the debt limit, effective January 1, 2015, to the extent that: (1) the face amount of<br>obligations issued and the face amount of obligations whose principal and interest are<br>guaranteed by the federal government (except guaranteed oblig..."],["A bill to prohibit employment discrimination on the basis of sexual orientation or gender<br>identity.","S815","Employment Non-Discrimination Act of 2013 - (Sec. 4) Prohibits covered entities<br>(employers, employment agencies, labor organizations, or joint labor-management<br>committees) from engaging in employment discrimination on the basis of an individual's<br>actual or perceived sexual orientation or gender identity.  Declares that it shall be<br>unlawful for an employer, because of an individual's actual or perceived sexual<br>orientation or gender identity, to: (1) fail or refuse to hire, to discharge, or to ..."],["An original bill to authorize appropriations for fiscal year 2014 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S1197","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) National Defense Authorization Act for Fiscal<br>Year 2014 - Division A: Department of Defense Authorizations - Title I: Procurement -<br>Subtitle A: Authorization of Appropriations - (Sec. 101) Authorizes appropriations for<br>FY2014 for the Department of Defense (DOD) for procurement for the Army, Navy and Marine<br>Corps, Air Force, and defense-wide activities in amounts s..."],["A concurrent resolution providing for a conditional adjournment or recess of the Senate<br>and an adjournment of the House of Representatives.","SCONRES28","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Declares that when the Senate recesses or adjourns on any day from<br>Thursday, November 21, 2013, through Friday, December 6, 2013, it stand recessed or<br>adjourned until 12:00 noon on Monday, December 9, 2013. Declares that when the House<br>adjourns on any legislative day from Thursday, November 21, 2013, through Tuesday,<br>November 26, 2013, it stand adjourned until 2:00 p.m. on Monday, Decemb..."],["To authorize and request the President to award the Medal of Honor to Bennie G. Adkins and<br>Donald P. Sloat of the United States Army for acts of valor during the Vietnam Conflict<br>and to authorize the award of the Medal of Honor to certain other veterans who were<br>previously recommended for award of the Medal of Honor.","HR3304","(This measure has not been amended since the House agreed to Senate amendments with an<br>amendment on December 12, 2013. The summary of that version is repeated here.) National<br>Defense Authorization Act for Fiscal Year 2014 - Division A: Department of Defense<br>Authorizations - Title I: Procurement - Subtitle A: Authorization of Appropriations -<br>(Sec. 101) Authorizes appropriations for FY2014 for the Department of Defense (DOD) for<br>procurement for the Army, Navy and Marine Corps, Air Force, and d..."],["A bill to provide for the extension of certain unemployment benefits, and for other<br>purposes.","S1845","Emergency Unemployment Compensation Extension Act - Amends the Supplemental Appropriations<br>Act, 2008 to extend emergency unemployment compensation (EUC) payments for eligible<br>individuals to weeks of employment ending on or before April 1, 2014.  Amends the<br>Assistance for Unemployed Workers and Struggling Families Act to extend until March 31,<br>2014, requirements that federal payments to states cover 100% of EUC.  Amends the<br>Unemployment Compensation Extension Act of 2008 to exempt weeks of une..."],["A bill to delay the implementation of certain provisions of the Biggert-Waters Flood<br>Insurance Reform Act of 2012 and to reform the National Association of Registered Agents<br>and Brokers, and for other purposes.","S1926","Title I: Homeowner Flood Insurance Affordability Act - Homeowner Flood Insurance<br>Affordability Act of 2014 - (Sec. 103) Prohibits the Administrator of the Federal<br>Emergency Management Agency (FEMA) from implementing during a specified six-month period a<br>requirement of the National Flood Insurance Act of 1968 (NFIA) that would: (1) increase<br>flood insurance risk premium rates to reflect the current risk of flood for property<br>located in specified areas subject to a certain mandatory premium adju..."],["A bill to repeal section 403 of the Bipartisan Budget Act of 2013.","S1963","Repeals a provision of the Bipartisan Budget Act of 2013 that reduces the cost-of-living<br>adjustment to the retirement pay of members of the Armed Forces under age 62."],["A bill to reform procedures for determinations to proceed to trial by court-martial for<br>certain offenses under the Uniform Code of Military Justice, and for other purposes.","S1752","Military Justice Improvement Act of 2013 - Amends the Uniform Code of Military Justice<br>(UCMJ) to direct the Secretaries of Defense (DOD) and Homeland Security (DHS) to require<br>the Secretaries of the military departments to modify the process for determining whether<br>to try by court-martial a member accused of: (1) certain UCMJ offenses for which the<br>maximum punishment includes confinement for more than one year; or (2) a conspiracy,<br>solicitation, or attempt to commit such offenses. Requires co..."],["A bill to provide for additional enhancements of the sexual assault prevention and<br>response activities of the Armed Forces.","S1917","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Victims Protection Act of 2014 - Amends the<br>National Defense Authorization Act for Fiscal Year 2014 (NDAA 2014) to revise the sexual<br>assault prevention and response program activities of the Armed Forces.  (Sec. 2) Amends<br>NDAA 2014 to include the senior trial counsel detailed to a case involving sex-related<br>charges in the process for determining whether such charg..."],["A bill to reauthorize and improve the Child Care and Development Block Grant Act of 1990,<br>and for other purposes.","S1086","(This measure has not been amended since it was passed by the House on September 15, 2014.<br>The summary of that version is repeated here.) Child Care and Development Block Grant Act<br>of 2014 - (Sec. 3) Reauthorizes the child care and development block grant (CCDBG) program<br>under the Child Care and Development Block Grant Act of 1990 (CCDBG Act) through FY2020 at<br>specified levels. (Sec. 4) Allows governors to designate a collaborative agency or<br>establish a joint interagency office to serve as th..."],["An original bill to support sovereignty and democracy in Ukraine, and for other purposes.","S2124","Support for the Sovereignty, Integrity, Democracy, and Economic Stability of Ukraine Act<br>of 2014 - Makes available to Ukraine for loan guarantees specified funds under the<br>Consolidated Appropriations Act, 2014 and funds under prior Acts for the Department of<br>State, foreign operations, and related programs. States that such amounts shall not be<br>considered \"assistance\" for the purposes of law limiting assistance to Ukraine. Directs<br>the Secretary of State to assist: (1) the government of Ukraine..."],["A bill to amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","S2199","Paycheck Fairness Act - Amends the portion of the Fair Labor Standards Act of 1938 (FLSA)<br>known as the Equal Pay Act to revise remedies for, enforcement of, and exceptions to<br>prohibitions against sex discrimination in the payment of wages. Revises the exception to<br>the prohibition for a wage rate differential based on any other factor other than sex.<br>Limits such factors to bona fide factors, such as education, training, or experience.<br>States that the bona fide factor defense shall apply only i..."],["A bill to provide for an increase in the Federal minimum wage and to amend the Internal<br>Revenue Code of 1986 to extend increased expensing limitations and the treatment of<br>certain real property as section 179 property.","S2223","Minimum Wage Fairness Act - Amends the Fair Labor Standards Act of 1938 (FLSA) to increase<br>the federal minimum wage for employees to: (1) $8.20 an hour beginning on the first day of<br>the sixth month after the enactment of this Act, (2) $9.15 an hour beginning one year<br>after the date of such initial increase, (3) $10.10 an hour beginning two years after such<br>date, and (4) the amount determined by the Secretary of Labor (based on increases in the<br>Consumer Price Index) beginning three years after..."],["A bill to promote energy savings in residential buildings and industry, and for other<br>purposes.","S2262","Energy Savings and Industrial Competitiveness Act of 2014 - Title I: Buildings - Subtitle<br>A: Building Energy Codes - Amends the Energy Conservation and Production Act (ECPA) to<br>direct the Secretary of Energy (DOE) to: (1) support the development and updating of<br>national model building energy codes for residential and commercial buildings to enable<br>the achievement of aggregate energy savings targets established by this Act, (2) encourage<br>and support the adoption by states and local governments..."],["A bill to amend the Higher Education Act of 1965 to provide for the refinancing of certain<br>Federal student loans, and for other purposes.","S2432","Bank on Students Emergency Loan Refinancing Act - Amends title IV (Student Assistance) of<br>the Higher Education Act of 1965 to direct the Secretary of Education to establish a<br>program to refinance the unpaid principal, accrued unpaid interest, and late charges on:<br>(1) the William D. Ford Federal Direct Loans (DLs) of qualified borrowers if the DLs were<br>first disbursed or, in the case of Direct Consolidation Loans, applied for, before July 1,<br>2013; and (2) the Federal Family Education Loans (FF..."],["A bill to protect and enhance opportunities for recreational hunting, fishing, and<br>shooting, and for other purposes.","S2363","Bipartisan Sportsmen's Act of 2014 - Revises a variety of existing programs to expand<br>access to, and opportunities for, hunting, fishing, and recreational shooting.<br>Reauthorizes the Federal Land Transaction Facilitation Act, the North American Wetlands<br>Conservation Act, and the National Fish and Wildlife Foundation Establishment Act.  Gives<br>the Secretary of the Interior permanent authority to permit states to issue temporary<br>electronic duck stamps (federal licenses required for hunting migra..."],["A bill to ensure that employers cannot interfere in their employees' birth control and<br>other health care decisions.","S2578","Protect Women's Health From Corporate Interference Act of 2014 - Affirms requirements,<br>notwithstanding the Religious Freedom Restoration Act of 1993, that: (1) an employer that<br>establishes or maintains a group health plan for its employees must provide coverage of a<br>specific item or service for the employees or their dependents where the coverage is<br>required under federal provisions or regulations pursuant to those provisions; and (2)<br>group health plans sponsored by an employer or employee or..."],["A bill making emergency supplemental appropriations for the fiscal year ending September<br>30, 2014, and for other purposes.","S2648","Emergency Supplemental Appropriations Act, 2014 - Appropriates supplemental funds for<br>FY2014 to specified federal agencies and programs to respond to the increased<br>apprehensions of unaccompanied children and minors along the southwestern border, fight<br>wildfires, and support Israel's Iron Dome anti-missile defense system.  Provides<br>appropriations for the Department of Justice (DOJ); the Department of Homeland Security<br>(DHS), including U.S. Customs and Border Protection (CBP) and U.S. Immigrati..."],["A joint resolution proposing an amendment to the Constitution of the United States<br>relating to contributions and expenditures intended to affect elections.","SJRES19","Constitutional Amendment - Authorizes Congress and the states to regulate and set<br>reasonable limits on the raising and spending of money by candidates and others to<br>influence elections. Grants Congress and the states the power to implement and enforce<br>this amendment by appropriate legislation, and to distinguish between natural persons and<br>corporations or other artificial entities created by law, including by prohibiting such<br>entities from spending money to influence elections. Declares that ..."],["A bill to reform the authorities of the Federal Government to require the production of<br>certain business records, conduct electronic surveillance, use pen registers and trap and<br>trace devices, and use other forms of information gathering for foreign intelligence,<br>counterterrorism, and criminal purposes, and for other purposes.","S2685","Uniting and Strengthening America by Fulfilling Rights and Ensuring Effective Discipline<br>Over Monitoring Act of 2014 or the USA FREEDOM Act of 2014 - Title I: FISA Business<br>Records Reforms - Amends the Foreign Intelligence Surveillance Act of 1978 (FISA) to<br>establish a new process to be followed when the Federal Bureau of Investigation (FBI)<br>submits an application to a FISA court for an order requiring the production of tangible<br>things (commonly referred to as business records) for an investi..."],["To direct the Secretary of Veterans Affairs to provide for the conduct of annual<br>evaluations of mental health care and suicide prevention programs of the Department of<br>Veterans Affairs, to require a pilot program on loan repayment for psychiatrists who agree<br>to serve in the Veterans Health Administration of the Department of Veterans Affairs, and<br>for other purposes.","HR203","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Clay Hunt Suicide Prevention for American Veterans<br>Act or the Clay Hunt SAV Act  (Sec. 2) Requires the Secretary of Veterans Affairs (VA) to:<br>(1) arrange for an independent third party evaluation, to be conducted by September 30,<br>2018, and each fiscal year thereafter, of the VA's mental health care and suicide<br>prevention programs; and (2) submit a report to Congress,..."],["To amend the Child Abuse Prevention and Treatment Act to enable State child protective<br>services systems to improve the identification and assessment of child victims of sex<br>trafficking, and for other purposes.","HR469","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Strengthening Child Welfare Response to<br>Trafficking Act of 2015 (Sec. 2) Amends the Child Abuse Prevention and Treatment Act to<br>condition eligibility to receive a state grant for child abuse or neglect prevention and<br>treatment programs on inclusion in the state plan of a certification by the governor that<br>the state has in effect and is enforcing a state law, or is..."],["To improve the response to victims of child sex trafficking.","HR246","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Missing Children's Assistance Act to include among the required<br>uses of the Office of Juvenile Justice and Delinquency Prevention's annual grant to the<br>National Center for Missing and Exploited Children operation of a cyber tipline to provide<br>online users and electronic service providers an effective means of reporting Internet-<br>related child sexual exploitation in the area of ..."],["To amend the Homeland Security Act of 2002 to require the Under Secretary for Management<br>of the Department of Homeland Security to take administrative action to achieve and<br>maintain interoperable communications capabilities among the components of the Department<br>of Homeland Security, and for other purposes.","HR615","(This measure has not been amended since it was reported to the Senate on May 21, 2015.<br>The summary of that version is repeated here.) Department of Homeland Security<br>Interoperable Communications Act or the DHS Interoperable Communications Act (Sec. 3)<br>Amends the Homeland Security Act of 2002 to make the Under Secretary for Management of the<br>Department of Homeland Security (DHS) responsible for policies and directives to achieve<br>and maintain interoperable communications among DHS components. ..."],["To award a Congressional Gold Medal to the Foot Soldiers who participated in Bloody<br>Sunday, Turnaround Tuesday, or the final Selma to Montgomery Voting Rights March in March<br>of 1965, which served as a catalyst for the Voting Rights Act of 1965.","HR431","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) (Sec. 2) This bill directs the Speaker of the<br>House and the President Pro Tempore of the Senate to arrange for the presentation, on<br>behalf of Congress, of a gold medal to the Foot Soldiers who participated in Bloody<br>Sunday, Turnaround Tuesday, or the final Selma to Montgomery Voting Rights March during<br>March of 1965, which served as a catalyst for the Voting Rights A..."],["To amend title XVIII of the Social Security Act to require hospitals to provide certain<br>notifications to individuals classified by such hospitals under observation status rather<br>than admitted as inpatients of such hospitals.","HR876","(This measure has not been amended since it was passed by the House on March 16, 2015. The<br>summary of that version is repeated here.) Notice of Observation Treatment and Implication<br>for Care Eligibility Act or the NOTICE Act  (Sec. 2) This bill amends title XVIII<br>(Medicare) of the Social Security Act to require a hospital or critical access hospital<br>with an agreement with the Secretary of Health and Human Services to give each individual<br>who receives observation services as an outpatient for ..."],["Calling on the President to provide Ukraine with military assistance to defend its<br>sovereignty and territorial integrity.","HRES162","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Urges the President to exercise the authorities provided by Congress to<br>provide Ukraine with lethal defensive weapon systems to enhance the ability of the people<br>of Ukraine to defend their sovereign territory from the unprovoked and continuing<br>aggression of the Russian Federation."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>submit to Congress a Future-Years Veterans Program and a quadrennial veterans review, to<br>establish in the Department of Veterans Affairs a Chief Strategy Officer, and for other<br>purposes.","HR216","Department of Veterans Affairs Budget Planning Reform Act of 2015  (Sec. 2) Directs the<br>Secretary of Veterans Affairs (VA) to submit annually to Congress a Future-Years Veterans<br>Program (Program) reflecting estimated expenditures and proposed appropriations included<br>in the budget for that fiscal year.  Requires the Program to: (1) set forth a five-year VA<br>plan to address the U.S. commitment to veterans and the resources necessary to meet that<br>commitment; (2) be included in VA's annual budget ..."],["To adjust the boundary of the Arapaho National Forest, Colorado, and for other purposes.","HR1324","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Arapaho National Forest Boundary Adjustment Act<br>of 2015 (Sec. 2) This bill adjusts the boundary of the Arapaho National Forest in Colorado<br>to incorporate approximately 92.95 acres of specified land. The Department of Agriculture<br>shall include all federal land within such boundary in the Bowen Gulch Protection Area<br>established under the Colorado Wilderness Act of 19..."],["To designate the facility of the United States Postal Service located at 820 Elmwood<br>Avenue in Providence, Rhode Island, as the \"Sister Ann Keefe Post Office\".","HR651","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)Designates the facility of the United States Postal Service located at 820<br>Elmwood Avenue in Providence, Rhode Island, as the \"Sister Ann Keefe Post Office.\""],["To amend title 38, United States Code, to enhance the treatment of certain small business<br>concerns for purposes of Department of Veterans Affairs contracting goals and preferences.","HR1313","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Service Disabled Veteran Owned Small Business<br>Relief Act  (Sec. 2) Treats the surviving spouse of a service-disabled veteran who<br>acquires the ownership interest in a small business of the deceased veteran as such<br>veteran for purposes of eligibility for VA service-disabled small business contracting<br>goals and preferences for: (1) 10 years after the veteran's death ..."],["To amend title 38, United States Code, to authorize the Secretary of Veterans Affairs, in<br>awarding a contract for the procurement of goods or services, to give a preference to<br>offerors that employ veterans.","HR1382","Boosting Rates of American Veteran Employment Act or the BRAVE Act (Sec. 2) Authorizes the<br>Department of Veterans Affairs (VA), in awarding a contract or task order for the<br>procurement of goods or services, to give preference to offerors based on the percentage<br>of the offeror's full-time employees who are veterans. Requires the debarment from<br>contracting with the VA for not less than five years of any offeror determined to have<br>willfully and intentionally misrepresented the veteran status of ..."],["Supporting local law enforcement agencies in their continued work to serve our<br>communities, and supporting their use of body worn cameras to promote transparency to<br>protect both citizens and officers alike.","HRES295","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Recognizes: (1) law enforcement agencies and officers for protecting us<br>and making our communities safer; and (2) the potential for the use of body-worn cameras<br>by on-duty law enforcement officers to improve community relations, increase transparency,<br>and protect citizens and police. Encourages law enforcement agencies to consider the use<br>of body-worn cameras."],["Expressing the sense of the House of Representatives that Iran should immediately release<br>the three United States citizens that it holds, as well as provide all known information<br>on any United States citizens that have disappeared within its borders.","HRES233","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of the House of Representatives that Iran should<br>release all detained U.S. citizens and provide any information it possesses regarding any<br>U.S. citizens who have disappeared within its borders."],["Directing the President, pursuant to section 5(c) of the War Powers Resolution, to remove<br>United States Armed Forces deployed to Iraq or Syria on or after August 7, 2014, other<br>than Armed Forces required to protect United States diplomatic facilities and personnel,<br>from Iraq and Syria.","HCONRES55","Directs the President to remove U.S. Armed Forces deployed to Iraq or Syria on or after<br>August 7, 2014, other than Armed Forces required to protect U.S. diplomatic facilities and<br>personnel, from Iraq and Syria: (1) no later than 30 days after this concurrent resolution<br>is adopted; or (2) if the President determines that it is not safe to remove the Armed<br>Forces before that date, then no later than December 31, 2015, or such earlier date as the<br>President determines that the Armed Forces can sa..."],["Raising a question of the privileges of the House.","HRES341","Requires the Speaker of the House of Representatives to: (1) remove any state flag<br>containing any portion of the Confederate battle flag, other than a flag displayed by the<br>office of a Member of the House, from any area within the House wing of the Capitol or any<br>House office building; and (2) donate any such flag to the Library of Congress."],["To transfer the position of Special Assistant for Veterans Affairs in the Department of<br>Housing and Urban Development to the Office of the Secretary, and for other purposes.","HR251","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Homes for Heroes Act of 2015  (Sec. 2) Amends the<br>Department of Housing and Urban Development Act to establish in the Office of the<br>Secretary of the Department of Housing and Urban Development (HUD) a Special Assistant for<br>Veterans Affairs to: (1) ensure veterans fair access to HUD housing and homeless<br>assistance programs, (2) coordinate all HUD programs and activ..."],["To require the Secretary of the Treasury to mint coins in recognition of the fight against<br>breast cancer.","HR2722","(This measure has not been amended since it was passed by the House on July 15, 2015. The<br>summary of that version is repeated here.) Breast Cancer Awareness Commemorative Coin Act<br>(Sec. 3) This bill directs the Department of the Treasury to mint and issue up to 50,000<br>$5 gold coins (to be made of \"pink gold\" containing at least 75% gold), 400,000 $1 silver<br>coins, and 750,000 half-dollar clad coins emblematic of the fight against breast cancer.<br>(Sec. 4) The Treasury shall:  select the design..."],["To amend the Notification and Federal Employee Antidiscrimination and Retaliation Act of<br>2002 to strengthen Federal antidiscrimination laws enforced by the Equal Employment<br>Opportunity Commission and expand accountability within the Federal government, and for<br>other purposes.","HR1557","Federal Employee Antidiscrimination Act of 2015 (Sec. 2) This bill amends the Notification<br>and Federal Employee Antidiscrimination and Retaliation Act of 2002 to: (1) expand<br>disclosure and enforcement requirements relating to findings of acts of discrimination and<br>retaliation in the federal workplace, and (2) amend the sense of Congress provisions of<br>such Act to declare that accountability in the enforcement of federal employee rights is<br>furthered when federal agencies take appropriate discip..."],["To amend the Homeland Security Act of 2002 to require certain maintenance of security-<br>related technology at airports, and for other purposes.","HR2770","(This measure has not been amended since it was reported to the House on July 22, 2015.<br>The summary of that version is repeated here.) Keeping our Travelers Safe and Secure Act<br>(Sec. 3) This bill amends the Homeland Security Act of 2002 to direct the Transportation<br>Security Administration (TSA) of the Department of Homeland Security (DHS) to develop and<br>implement a preventive maintenance validation process for security-related technology<br>deployed to airports. The maintenance contracts for sec..."],["To provide for the consideration and submission of site and design proposals for the<br>National Liberty Memorial approved for establishment in the District of Columbia.","HR1949","National Liberty Memorial Clarification Act of 2015 (Sec. 2) This bill amends the Military<br>Construction Authorization Act for Fiscal Year 2013 with respect to submission of site and<br>design proposals by the National Mall Liberty Fund D.C. (sponsor) for the National Liberty<br>Memorial to honor the slaves and free black persons who served as soldiers and sailors or<br>provided civilian assistance during the American Revolution. The site and design approval<br>process is revised to make the Department of..."],["To require the Commissioner of U.S. Customs and Border Protection to submit a report on<br>cross-border rail security, and for other purposes.","HR2786","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Cross-Border Rail Security Act of 2015 (Sec. 2)<br>This bill directs the U.S. Customs and Border Protection (CBP) to report to Congress on:<br>the number of high-risk rail shipments annually entering the United States; the status of<br>radiation detection units at each rail crossing on the northern and southern land borders<br>of the United States; an assessment of whether ad..."],["To require a terrorism threat assessment regarding the transportation of chemical,<br>biological, nuclear, and radiological materials through United States land borders and<br>within the United States, and for other purposes.","HR3350","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Know the CBRN Terrorism Threats to Transportation<br>Act (Sec. 2) This bill directs the Department of Homeland Security, acting through the<br>Under Secretary of Intelligence and Analysis, to conduct a terrorism threat assessment of<br>the transportation of chemical, biological, nuclear, and radiological materials through<br>U.S. land borders and within the United States. The..."],["Supporting the right of the people of Ukraine to freely elect their government and<br>determine their future.","HRES348","Supports the right of the people of Ukraine to freely elect their government and determine<br>their future.  Urges the Administration to expedite assistance to Ukraine to facilitate<br>the political, economic, and social reforms necessary for elections that meet<br>international standards.  Condemns outside attempts, specifically by the government of<br>Russia, its agents or supporters, to interfere in Ukraine's elections."],["To amend title 38, United States Code, to recognize the service in the reserve components<br>of certain persons by honoring them with status as veterans under law.","HR1384","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Honor America's Guard-Reserve Retirees Act (Sec.<br>2) Any person who is entitled to retired pay for nonregular (reserve) service or who, but<br>for age, would be so entitled shall be honored as a veteran. A person shall not be<br>entitled to any benefit by reason of such recognition."],["To provide funds to the Army Corps of Engineers to hire veterans and members of the Armed<br>Forces to assist the Corps with curation and historic preservation activities, and for<br>other purposes.","HR3114","(This measure has not been amended since it was reported to the House on September 8,<br>2015. The summary of that version is repeated here.) (Sec. 2) Directs the U.S. Army Corps<br>of Engineers, using available funds, to develop a Veterans' Curation Program to hire<br>veterans and members of the Armed Forces to assist in carrying out curation and historic<br>preservation activities."],["To redesignate the Nisqually National Wildlife Refuge, located in the State of Washington,<br>as the Billy Frank Jr. Nisqually National Wildlife Refuge, to establish the Medicine Creek<br>Treaty National Historic Site within the wildlife refuge, and for other purposes.","HR2270","(This measure has not been amended since it was reported to the House on November 16,<br>2015. The summary of that version is repeated here.) Billy Frank Jr. Tell Your Story Act<br>(Sec. 2) This bill redesignates the Nisqually National Wildlife Refuge in Washington state<br>as the Billy Frank Jr. Nisqually National Wildlife Refuge.  (Sec. 3) The bill establishes,<br>as a unit of the National Park System, the Medicine Creek Treaty National Memorial within<br>the Billy Frank Jr. Nisqually National Wildlife Re..."],["A bill to amend title 39, United States Code, to extend the authority of the United States<br>Postal Service to issue a semipostal to raise funds for breast cancer research, and for<br>other purposes.","S1170","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Breast Cancer Research Stamp Reauthorization<br>Act of 2015 (Sec. 2) This bill reauthorizes through December 31, 2019, provisions<br>requiring the U.S. Postal Service to issue a special postage stamp for first-class mail<br>that costs more than the regular first-class stamp to raise funds for breast cancer<br>research. (Sec. 3) Agencies receiving these funds from the Postal S..."],["To require the Secretary of Homeland Security to submit a study on the circumstances which<br>may impact the effectiveness and availability of first responders before, during, or after<br>a terrorist threat or event.","HR2795","(This measure has not been amended since it was reported to the House on December 7, 2015.<br>The summary of that version is repeated here.) First Responder Identification of Emergency<br>Needs in Disaster Situations or the FRIENDS Act (Sec. 2) This bill directs the Government<br>Accountability Office (GAO) to submit a report that describes select state and local<br>programs and policies related to the preparedness and protection of first responders,<br>which may include information on:  the degree to which..."],["Supporting freedom of the press in Latin America and the Caribbean and condemning<br>violations of press freedom and violence against journalists, bloggers, and individuals<br>exercising their right to freedom of speech.","HRES536","Supports a free press in Latin America and the Caribbean and condemns violations of press<br>freedom and violence against journalists.  Urges countries in the region to implement<br>recommendations to its Member States from the Organization of American States Office of<br>the Special Rapporteur for Freedom of Expression.   Urges countries in Latin America and<br>the Caribbean to be vocal in condemning violations of press freedom, violence against<br>journalists, and the culture of impunity that leads to sel..."],["To exempt for an additional 4-year period, from the application of the means-test<br>presumption of abuse under chapter 7, qualifying members of reserve components of the<br>Armed Forces and members of the National Guard who, after September 11, 2001, are called<br>to active duty or to perform a homeland defense activity for not less than 90 days.","HR4246","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.)National Guard and Reservist Debt Relief Extension<br>Act of 2015  (Sec. 2) This bill amends the National Guard and Reservists Debt Relief Act<br>of 2008 to exempt for an additional four-year period qualifying Armed Forces reserve<br>component and National Guard members (who, after September 11, 2001, are called to active<br>duty or to perform a homeland defense activity for at l..."],["A bill to amend the Robert T. Stafford Disaster Relief and Emergency Assistance Act to<br>provide eligibility for broadcasting facilities to receive certain disaster assistance,<br>and for other purposes.","S1090","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Emergency Information Improvement Act of 2015<br>(Sec. 2) Amends the Robert T. Stafford Disaster Relief and Emergency Assistance Act to<br>include broadcasting facilities within the definition of a \"private nonprofit facility\"<br>that provides essential services of a governmental nature to the general public, and to<br>include broadcast and telecommunications within the defi..."],["To amend title 5, United States Code, to protect unpaid interns in the Federal government<br>from workplace harassment and discrimination, and for other purposes.","HR3231","Federal Intern Protection Act of 2016 (Sec. 2) This bill extends protections against<br>discrimination in a federal workplace based on race, color, religion, sex, national<br>origin, age, or disability to interns (individuals who perform uncompensated voluntary<br>service in a federal agency to earn credit awarded by an educational institution or to<br>learn a trade or occupation) and applicants for internships."],["To amend the Safe Drinking Water Act with respect to the requirements related to lead in<br>drinking water, and for other purposes.","HR4470","Safe Drinking Water Act Improved Compliance Awareness Act (Sec. 2) This bill amends the<br>Safe Drinking Water Act to require public water systems to notify their customers when a<br>lead action level under national drinking water regulations is exceeded in more than 10%<br>of customer taps sampled. (An action level is a level of contaminates which triggers a<br>requirement for the public water system to take additional actions to control corrosion.)<br>The Environmental Protection Agency (EPA) must notify ..."],["To amend the Department of Energy Organization Act and the Local Public Works Capital<br>Development and Investment Act of 1976 to modernize terms relating to minorities.","HR4238","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This bill amends: (1) the Department of Energy Organization Act to revise<br>the definition of \"minority\" to mean any U.S. citizen who is an Asian American, Native<br>Hawaiian, Pacific Islander, African American, Hispanic, Puerto Rican, Native American, or<br>Alaska Native; and (2) the Local Public Works Capital Development and Investment Act of<br>1976 to revise the definition of \"minority group me..."],["To designate the facility of the United States Postal Service located at 200 Town Run Lane<br>in Winston Salem, North Carolina, as the \"Maya Angelou Memorial Post Office\".","HR3735","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the facility of the United States Postal Service located at 200<br>Town Run Lane in Winston Salem, North Carolina, as the \"Maya Angelou Memorial Post<br>Office.\""],["To authorize the National Science Foundation to support entrepreneurial programs for<br>women.","HR4742","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Promoting Women in Entrepreneurship Act  (Sec. 3)<br>This bill amends the Science and Engineering Equal Opportunities Act to authorize the<br>National Science Foundation to encourage its entrepreneurial programs to recruit and<br>support women to extend their focus beyond the laboratory and into the commercial world."],["To amend the Department of Agriculture program for research and extension grants to<br>increase participation by women and underrepresented minorities in the fields of science,<br>technology, engineering, and mathematics to redesignate the program as the \"Jeannette<br>Rankin Women and Minorities in STEM Fields Program\".","HR4570","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) 100 Years of Women in Congress Act (Sec. 3) This<br>bill amends the Food, Agriculture, Conservation, and Trade Act of 1990 to designate as<br>Jeannette Rankin Women and Minorities in STEM Fields Program Grants the current research<br>and extension grants to increase participation by women and underrepresented minorities<br>from rural areas in the fields of science, technology..."],["A bill to rename the Armed Forces Reserve Center in Great Falls, Montana, the Captain John<br>E. Moran and Captain William Wylie Galt Armed Forces Reserve Center.","S719","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the Armed Forces Reserve Center in Great Falls, Montana, as the<br>\"Captain John E. Moran and Captain William Wylie Galt Armed Forces Reserve Center.\""],["To amend the Volcker Rule to permit certain investment advisers to share a similar name<br>with a private equity fund, subject to certain restrictions, and for other purposes.","HR4096","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Investor Clarity and Bank Parity Act (Sec. 2)<br>This bill amends the Bank Holding Company Act of 1956 to permit a hedge fund or private<br>equity fund to share the same name, or a variation of the same name, as a banking entity<br>that is an investment advisor to the hedge fund or private equity fund, if:   the<br>investment advisor is not an insured depository institution, ..."],["To designate the Federal building located at 99 New York Avenue, N.E., in the District of<br>Columbia as the \"Ariel Rios Federal Building\".","HR4957","(Sec. 1) This bill designates the federal building located at 99 New York Avenue, N.E., in<br>the District of Columbia as the \"Ariel Rios Federal Building.\""],["A bill to authorize the Attorney General to award grants to address the national epidemics<br>of prescription opioid abuse and heroin use.","S524","(This measure has not been amended since the Conference Report was filed in the House on<br>July 6, 2016. The summary of that version is repeated here.) Comprehensive Addiction and<br>Recovery Act of 2016 TITLE I--PREVENTION AND EDUCATION (Sec. 101) This bill requires the<br>Department of Health and Human Services (HHS) to convene a Pain Management Best Practices<br>Inter-Agency Task Force to review best practices for pain management developed or adopted<br>by federal agencies. The task force must propose u..."],["To authorize the Secretary of Homeland Security to establish a National Cybersecurity<br>Preparedness Consortium, and for other purposes.","HR4743","National Cybersecurity Preparedness Consortium Act of 2016 (Sec. 2) This bill authorizes<br>the Department of Homeland Security (DHS) to work with a consortium, including the<br>National Cybersecurity Preparedness Consortium, to support efforts to address<br>cybersecurity risks and incidents, including threats or acts of terrorism.  Such a<br>consortium must be composed primarily of nonprofit entities, including academic<br>institutions, that develop, update, and deliver cybersecurity training in support of..."],["To direct the Federal Communications Commission to commence proceedings related to the<br>resiliency of critical telecommunications networks during times of emergency, and for<br>other purposes.","HR3998","Securing Access to Networks in Disasters Act (Sec. 2) This bill requires the Federal<br>Communications Commission (FCC) to submit to Congress and publish on the FCC website a<br>study on the public safety benefits, technical feasibility, and cost of providing the<br>public with access to 9-1-1 services during times of emergency when mobile service is<br>unavailable, through:  telecommunications service provider-owned WiFi access points and<br>other communications technologies operating on unlicensed spectru..."],["To amend title 5, United States Code, to clarify the eligibility of employees of a land<br>management agency in a time-limited appointment to compete for a permanent appointment at<br>any Federal agency, and for other purposes.","HR4906","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This bill allows otherwise eligible employees of a land management agency<br>serving under a time-limited appointment in the competitive service to compete for a<br>permanent appointment in the competitive service: (1) at such agency when the agency is<br>accepting applications from individuals within the agency's workforce under merit<br>promotion procedures, or (2) at any agency when the agency is..."],["To require the Director of the Office of Management and Budget to issue a directive on the<br>management of software licenses, and for other purposes.","HR4904","(This measure has not been amended since it was introduced. The expanded House reported<br>version is repeated here.) Making Electronic Government Accountable By Yielding Tangible<br>Efficiencies Act of 2016 or the MEGABYTE Act of 2016 (Sec. 2) This bill requires the<br>Office of Management and Budget (OMB) to issue a directive to require the Chief<br>Information Officer (CIO) of each executive agency to develop a comprehensive software<br>licensing policy, which shall: (1) require the CIO of each agency to..."],["To increase engagement with the governments of the Caribbean region, the Caribbean<br>diaspora community in the United States, and the private sector and civil society in both<br>the United States and the Caribbean, and for other purposes.","HR4939","(This measure has not been amended since it was passed by the Senate. The summary of that<br>version is repeated here.) United States-Caribbean Strategic Engagement Act of 2016 (Sec.<br>2) This bill declares that it is U.S. policy to increase engagement with the governments<br>of the Caribbean region, including the private sector, and with civil society in both the<br>United States and the Caribbean.  (Sec. 3) The Department of State shall submit to<br>Congress a multi-year strategy for U.S. engagement to s..."],["A bill to authorize a comprehensive strategic approach for United States foreign<br>assistance to developing countries to reduce global poverty and hunger, achieve food and<br>nutrition security, promote inclusive, sustainable, agricultural-led economic growth,<br>improve nutritional outcomes, especially for women and children, build resilience among<br>vulnerable populations, and for other purposes.","S1252","(This measure has not been amended since it was passed by the Senate on April 20, 2016.<br>The summary of that version is repeated here.) Global Food Security Act of 2016  This bill<br>requires the President to develop and implement a Global Food Security Strategy to promote<br>global food security, resilience, and nutrition.  (Sec. 3) This section specifies that it<br>is in the U.S. national interest to promote global food security, resilience, and<br>nutrition, consistent with national food security inves..."],["To amend title 31, United States Code, to authorize the Secretary of the Treasury to<br>include all funds when issuing certain geographic targeting orders, and for other<br>purposes.","HR5602","TITLE I--ENHANCING ANTITERRORISM TOOLS OF THE DEPARTMENT OF THE TREASURY (Sec. 101) This<br>bill revises the authority of the Department of the Treasury to issue an order imposing<br>recordkeeping and reporting requirements upon financial institutions and nonfinancial<br>trade or business groups in certain geographic areas regarding transactions for the<br>payment, receipt, or transfer of U.S. coins or currency (or other monetary instruments as<br>Treasury may describe in an order). A Treasury order for rec..."],["To direct the Federal Aviation Administration to allow certain construction or alteration<br>of structures by State departments of transportation without requiring an aeronautical<br>study, and for other purposes.","HR6014","(This measure has not been amended since it was passed by the House on September 21, 2016.<br>The summary of that version is repeated here.) (Sec. 1) This bill authorizes the Federal<br>Aviation Administration (FAA) to enter into a reimbursable agreement with a state or local<br>government agency for airport construction or alteration projects requiring notice to the<br>FAA, if the agreement:  includes cost-effective completion measures for such projects, and<br>would not negatively affect the safety or eff..."],["To amend title 40, United States Code, to require that male and female restrooms in public<br>buildings be equipped with baby changing facilities.","HR5147","(This measure has not been amended since it passed the House on September 21, 2016. The<br>summary of that version is repeated here.) Bathrooms Accessible in Every Situation or<br>BABIES Act (Sec. 2) This bill requires restrooms in a public building to be equipped with<br>baby changing facilities that the General Services Administration (GSA) determines are<br>physically safe, sanitary, and appropriate. \"Public building\" means a public building<br>controlled by the GSA's Public Building Service. Such requir..."],["To improve enforcement against trafficking in cultural property and prevent stolen or<br>illicit cultural property from financing terrorist and criminal networks, and for other<br>purposes.","HR2285","Prevent Trafficking in Cultural Property Act (Sec. 3) This bill declares that it is U.S.<br>policy to: (1) ensure that Department of Homeland Security (DHS) components enhance and<br>unify their efforts to interdict, detain, seize, and investigate cultural property<br>illegally imported into the United States, disrupt and dismantle smuggling and trafficking<br>networks engaged in or facilitating illegal trade in cultural property, and support<br>prosecutions of persons engaged in such illegal trade; and (2)..."],["To provide for reimbursement for the use of modern travel services by Federal employees<br>traveling on official Government business, and for other purposes.","HR5625","(This measure has not been amended since it was reported to the House on September 20,<br>2016. The summary of that version is repeated here.) Modernizing Government Travel Act<br>(Sec. 2) This bill requires the General Services Administration (GSA) to prescribe<br>regulations to provide for the reimbursement of federal employees traveling on official<br>business for the use of a transportation network company or innovative mobility<br>technology. The Administrative Office of the United States Courts shall ..."],["To update the financial disclosure requirements for judges of the District of Columbia<br>courts.","HR4419","(This measure has not been amended since it passed the House on September 22, 2016. The<br>summary of that version is repeated here.) District of Columbia Judicial Financial<br>Transparency Act  (Sec. 2) This bill amends the District of Columbia Code to revise the<br>financial disclosure requirements for District of Columbia judges. The revisions establish<br>new dollar thresholds and requirements for reporting to the District of Columbia<br>Commission on Judicial Disabilities and Tenure the financial inter..."],["To authorize the establishment of a program of voluntary separation incentive payments for<br>nonjudicial employees of the District of Columbia courts and employees of the District of<br>Columbia Public Defender Service.","HR5037","(This measure has not been amended since it was reported to the House on September 20,<br>2016. The summary of that version is repeated here.) District of Columbia Courts and<br>Public Defender Service Voluntary Separation Incentive Payments Act (Sec. 2) This bill<br>amends the District of Columbia Code to authorize the Joint Committee on Judicial<br>Administration to establish a voluntary separation incentive payments program for<br>nonjudicial employees of the District courts substantially similar to that..."],["To designate the facility of the United States Postal Service located at 1101 Davis Street<br>in Evanston, Illinois, as the \"Abner J. Mikva Post Office Building\".","HR5798","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the facility of the United States Postal Service located at<br>1101 Davis Street in Evanston, Illinois, as the \"Abner J. Mikva Post Office Building.\""],["To amend the Communications Act of 1934 to expand and clarify the prohibition on provision<br>of inaccurate caller identification information, and for other purposes.","HR2669","Anti-Spoofing Act of 2016 (Sec. 2) This bill amends the Communications Act of 1934 to<br>expand the prohibition against knowingly transmitting misleading or inaccurate caller<br>identification information to apply to: (1) persons outside the United States if the<br>recipient is within the United States, and (2) text messages.  Existing caller<br>identification requirements that apply to calls made using a telecommunications service or<br>IP-enabled voice service are revised to apply to: (1) services interco..."],["To authorize and strengthen the tsunami detection, forecast, warning, research, and<br>mitigation program of the National Oceanic and Atmospheric Administration, and for other<br>purposes.","HR34","(This measure has not been amended since the House agreed to the Senate amendment with<br>amendment on November 30, 2016. The summary of that version is repeated here.) 21st<br>Century Cures Act DIVISION A--21ST CENTURY CURES 21st Century Cures Act TITLE I--<br>INNOVATION PROJECTS AND STATE RESPONSES TO OPIOID ABUSE (Sec. 1001) This bill provides<br>funding for National Institutes of Health (NIH) Innovation Projects, which include the<br>Precision Medicine Initiative and the BRAIN Initiative. The NIH must su..."],["To require the Federal Communications Commission to submit to Congress a report on<br>promoting broadband Internet access service for veterans.","HR6394","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Improving Broadband Access for Veterans Act of<br>2016 (Sec. 2) This bill requires the Federal Communications Commission (FCC) to submit to<br>Congress a report on promoting broadband Internet access service for veterans, in<br>particular low-income veterans and veterans residing in rural areas.   In preparing the<br>report, the FCC shall provide the public with notice and an..."],["Expressing the sense of the House of Representatives that access to digital communications<br>tools and connectivity is necessary to prepare youth in the United States to compete in<br>the 21st century economy.","HRES939","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of the House of Representatives that access to digital<br>communications tools and connectivity is necessary to prepare youth to compete in the<br>economy."],["A bill to redesignate the Olympic Wilderness as the Daniel J. Evans Wilderness.","S3028","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) Daniel J. Evans Olympic National Park Wilderness<br>Act (Sec. 2) This bill amends the Washington Park Wilderness Act of 1988 to redesignate<br>the Olympic Wilderness as the \"Daniel J. Evans Wilderness.\""],["To amend the Communications Act of 1934 to expand and clarify the prohibition on provision<br>of misleading or inaccurate caller identification information, and for other purposes.","HR423","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Anti-Spoofing Act of 2017 (Sec. 2) This bill<br>amends the Communications Act of 1934 to expand the prohibition against knowingly<br>transmitting misleading or inaccurate caller identification information to apply to: (1)<br>persons outside the United States if the recipient is within the United States, and (2)<br>text messages.  Existing caller identification requirements th..."],["To redesignate Ocmulgee National Monument in the State of Georgia and revise its boundary,<br>and for other purposes.","HR538","Ocmulgee Mounds National Historical Park Boundary Revision Act (Sec. 3) This bill<br>redesignates the Ocmulgee National Monument in Georgia as the Ocmulgee Mounds National<br>Historical Park.  The boundary of the park is adjusted to include approximately 2,100<br>acres.  The Department of the Interior may acquire lands and interests within the<br>boundaries of the park by donation, purchase from a willing seller, or exchange, but not<br>by condemnation.   Interior shall administer any acquired land as part ..."],["To insure adequate use and access to the existing Bolts Ditch headgate and ditch segment<br>within the Holy Cross Wilderness in Eagle County, Colorado, and for other purposes.","HR689","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Bolts Ditch Access and Use Act (Sec. 2) This bill<br>directs the Department of Agriculture to permit by special use authorization nonmotorized<br>access and use of the Bolts Ditch headgate and the Bolts Ditch within the Holy Cross<br>Wilderness in Colorado for the diversion of water and use, maintenance, and repair of the<br>ditch and headgate by the town of Minturn, Colorado."],["To amend title 38, United States Code, to authorize the Secretary of Veterans Affairs, in<br>awarding a contract for the procurement of goods or services, to give a preference to<br>offerors that employ veterans.","HR974","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Boosting Rates of American Veteran Employment Act<br>or the BRAVE Act  (Sec. 2) This bill authorizes the Department of Veterans Affairs (VA),<br>in awarding a contract for the procurement of goods or services, to give preference to<br>offerors based on the percentage of the offeror's full-time employees who are veterans.<br>The VA is authorized to debar from VA contracting fo..."],["To facilitate the addition of park administration at the Coltsville National Historical<br>Park, and for other purposes.","HR863","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) (Sec. 1) This bill revises a condition for<br>establishment of the Coltsville National Historical Park in Connecticut to require the<br>state, the city, or the private property owner, as appropriate, to enter into a written<br>agreement with the Department of the Interior to donate at least 10,000 square feet of<br>space in the Colt Armory Complex (currently, the East Armory)."],["To amend the Homeland Security Act of 2002 to require certain additional information to be<br>submitted to Congress regarding the strategic 5-year technology investment plan of the<br>Transportation Security Administration.","HR1353","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.)Transparency in Technological Acquisitions Act of<br>2017 (Sec. 2) This bill amends the Homeland Security Act of 2002 to require the<br>Transportation Security Administration (TSA) to submit annually (currently, biennially):<br>an update to its strategic five-year technology investment plan, and a report on the<br>extent to which security-related technology acquired since the ..."],["To amend the Homeland Security Act of 2002 to make technical corrections to the<br>requirement that the Secretary of Homeland Security submit quadrennial homeland security<br>reviews, and for other purposes.","HR1297","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Quadrennial Homeland Security Review Technical<br>Corrections Act of 2017 (Sec. 2) This bill amends the Homeland Security Act of 2002 to<br>make technical corrections regarding quadrennial homeland security reviews. The bill<br>includes among the entities with whom the Department of Homeland Security (DHS) is<br>required to consult in conducting each review appropriate advisor..."],["To amend the Homeland Security Act of 2002 to require certain acquisition innovation, and<br>for other purposes.","HR1365","(This measure has not been amended since it was reported to the House on March 20, 2017.<br>The summary of that version is repeated here.) Department of Homeland Security Acquisition<br>Innovation Act (Sec. 2) This bill amends the Homeland Security Act of 2002 to authorize<br>the Department of Homeland Security's (DHS's) Under Secretary for Management to:<br>designate an individual within DHS to manage DHS acquisition innovation efforts,  test<br>emerging acquisition best practicess,  develop and distribu..."],["To direct the Administrator of the Federal Emergency Management Agency to carry out a plan<br>for the purchase and installation of an earthquake early warning system for the Cascadia<br>Subduction Zone, and for other purposes.","HR654","(This measure has not been amended since it was reported to the House on March 9, 2017.<br>The summary of that version is repeated here.) Pacific Northwest Earthquake Preparedness<br>Act of 2017 (Sec. 2) This bill requires the Federal Emergency Management Agency (FEMA) to:<br>(1) develop a plan for the purchase and installation of an earthquake early warning system<br>for the Cascadia Subduction Zone, and (2) identify the funds necessary for its<br>implementation. Such zone is the landward-dipping fault tha..."],["Relating to efforts to respond to the famine in South Sudan.","HRES187","Expresses the sense of the House of Representatives that the U.S. Agency for International<br>Development should: (1) continue to provide immediate and robust assistance to respond to<br>the famine in South Sudan by providing food and other essential resources and to<br>collaborate with international relief organizations to reach vulnerable populations, and<br>(2) be encouraged to continue to provide needed and locally appropriate food aid through<br>the Food for Peace and Emergency Food Security Programs. ..."],["A bill to repeal the rule issued by the Federal Highway Administration and the Federal<br>Transit Administration entitled \"Metropolitan Planning Organization Coordination and<br>Planning Area Reform\".","S496","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.)(Sec. 1) This bill nullifies the Federal Highway<br>Administration's and the Federal Transit Administration's rule published on December 20,<br>2016, that revises transportation planning regulations with regard to the alignment of<br>planning regulations with statutory provisions relating to the establishment of<br>metropolitan planning area boundaries and the designation of met..."],["To amend the Robert T. Stafford Disaster Relief and Emergency Assistance Act concerning<br>the statute of limitations for actions to recover disaster or emergency assistance<br>payments, and for other purposes.","HR1678","(Sec. 1) This bill amends the Robert T. Stafford Disaster Relief and Emergency Assistance<br>Act to prohibit any administrative action to recover any payment made to a state or local<br>government for disaster or emergency assistance initiated in any forum (with exceptions<br>for fraud) after three years following the transmission of the final expenditure report<br>for project completion, as certified by the grantee (currently, after three years<br>following the transmission of the final expenditure report ..."],["To amend title 4, United States Code, to provide for the flying of the flag at half-staff<br>in the event of the death of a first responder in the line of duty.","HR1892","Bipartisan Budget Act of 2018  DIVISION A--HONORING HOMETOWN HEROES ACT  Honoring Hometown<br>Heroes Act  (Sec. 10102) This division authorizes the governor of a state, territory, or<br>possession of the United States or the Mayor of the District of Columbia to proclaim that<br>the U.S. flag shall be flown at half-staff in the event of the death of a first responder<br>(public safety officer) working in such jurisdiction who dies while serving in the line of<br>duty.  DIVISION B--SUPPLEMENTAL APPROPRIATIONS..."],["Condemning in the strongest terms the terrorist attacks in Manchester, United Kingdom, on<br>May 22, 2017, expressing heartfelt condolences, and reaffirming unwavering support for the<br>special relationship between our peoples and nations in the wake of these attacks.","HRES355","Condemns the terrorist attacks in the United Kingdom in Manchester on May 22, 2017, and in<br>London on June 3, 2017. Supports the British government's efforts to bring those involved<br>in those attacks to justice.  Reaffirms a commitment to the special relationship with the<br>United Kingdom and to the defense of universal democratic values.  Expresses appreciation<br>for the United Kingdom's significant efforts to combat terrorism.  Recognizes the growing<br>threat posed by Islamist terrorist groups worl..."],["To require that certain standards for commercial driver's licenses applicable to former<br>members of the armed services or reserves also apply to current members of the armed<br>services or reserves.","HR2258","(This measure has not been amended since it was reported to the House on June 23, 2017.<br>The summary of that version is repeated here.) Active Duty Voluntary Acquisition of<br>Necessary Credentials for Employment Act or the ADVANCE Act (Sec. 2) This bill applies<br>commercial driver's license standards for former members of the Armed Forces or reserves<br>to current members of the Armed Forces or reserves. The bill allows such covered<br>individuals who have experience in driving vehicles similar to a com..."],["To redesignate the small triangular property located in Washington, DC, and designated by<br>the National Park Service as reservation 302 as \"Robert Emmet Park\", and for other<br>purposes.","HR1500","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Robert Emmet Park Act of 2017 (Sec. 3) This bill<br>redesignates as \"Robert Emmet Park\" the small triangular property located at the corner of<br>24th Street and Massachusetts Avenue NW in Washington, DC, and designated by the National<br>Park Service as reservation 302.  The Department of the Interior may post signs on or near<br>the park, including one or more on: (1) inform..."],["To authorize the Secretary of the Interior to acquire approximately 44 acres of land in<br>Martinez, California, and for other purposes.","HR1719","John Muir National Historic Site Expansion Act   (Sec. 3) The Department of the Interior<br>may acquire by donation approximately 44 acres of land to include in the John Muir<br>National Historic Site in Martinez, California.   The acquired land shall be administered<br>as part of such site."],["Granting the consent and approval of Congress for the Commonwealth of Virginia, the State<br>of Maryland, and the District of Columbia to a enter into a compact relating to the<br>establishment of the Washington Metrorail Safety Commission.","HJRES76","(This measure has not been amended since it was reported to the House on July 17, 2017.<br>The summary of that version is repeated here.) Interstate Compact (Sec. 1) This joint<br>resolution grants congressional consent and approval for the Commonwealth of Virginia, the<br>state of Maryland, and the District of Columbia to enter into a Metrorail Safety<br>Commission (MSC) Interstate Compact. The MSC Compact establishes a Washington Metrorail<br>Safety Commission for the safety oversight of the Washington Me..."],["To direct the Securities and Exchange Commission to allow certain issuers to be exempt<br>from registration requirements, and for other purposes.","HR2864","(Sec. 1) This bill exempts, under Regulation A+, certain fully reporting issuers of<br>securities\u00a0from specified disclosure requirements.\u00a0Under current law,\u00a0Regulation A+<br>exempts\u00a0certain smaller offerings from securities registration requirements but applies<br>only to non-reporting issuers."],["To enhance the transparency and accelerate the impact of assistance provided under the<br>Foreign Assistance Act of 1961 to promote quality basic education in developing countries,<br>to better enable such countries to achieve universal access to quality basic education and<br>improved learning outcomes, to eliminate duplication and waste, and for other purposes.","HR601","(This measure has not been amended since the Senate agreed to a House amendment with an<br>amendment on September 7, 2017. The summary of that version is repeated here.) Continuing<br>Appropriations Act, 2018 and Supplemental Appropriations for Disaster Relief Requirements<br>Act, 2017 DIVISION A--REINFORCING EDUCATION ACCOUNTABILITY IN DEVELOPMENT ACT  Reinforcing<br>Education Accountability in Development Act or the READ Act (Sec. 3) Amends the Foreign<br>Assistance Act of 1961 to state that it shall be U..."],["Recognizing that for 50 years the Association of South East Asian Nations (ASEAN) has<br>worked toward stability, prosperity, and peace in Southeast Asia.","HRES311","Supports: (1) the elevation of the U.S.-Association of South East Asian Nations (ASEAN)<br>relationship to a strategic partnership; (2) cooperation with ASEAN to implement practical<br>counter-terrorism and countering violent extremism measures; and (3) efforts by ASEAN<br>member states and other regional states to address maritime and territorial disputes in a<br>constructive manner and to pursue claims through diplomacy and the use of legitimate<br>regional and international arbitration mechanisms. Recogn..."],["To redesignate the Saint-Gaudens National Historic Site as the \"Saint-Gaudens National<br>Historical Park\", and for other purposes.","HR965","(This measure has not been amended since it was reported to the House on August 25, 2017.<br>The summary of that version is repeated here.) Saint-Gaudens National Historical Park<br>Redesignation Act (Sec. 2) This bill redesignates the Saint-Gaudens National Historic<br>Site, in New Hampshire, as the \"Saint-Gaudens National Historical Park.\""],["To designate the facility of the United States Postal Service located at 25 New Chardon<br>Street Lobby in Boston, Massachusetts, as the \"John Fitzgerald Kennedy Post Office\".","HR2464","Designates the facility of the United States Postal Service located at 25 New Chardon<br>Street Lobby in Boston, Massachusetts, as the \"John Fitzgerald Kennedy Post Office.\""],["To amend title 40, United States Code, to eliminate the sunset of certain provisions<br>relating to information technology, to amend the National Defense Authorization Act for<br>Fiscal Year 2015 to extend the sunset relating to the Federal Data Center Consolidation<br>Initiative, and for other purposes.","HR3243","FITARA Enhancement Act of 2017 (Sec. 2) This bill repeals the expiration date of (thus<br>making permanent) provisions of the Carl Levin and Howard P. \"Buck\" McKeon National<br>Defense Authorization Act for Fiscal Year 2015 that require: (1) the Office of Management<br>and Budget (OMB) to make available to the public a list of each major information<br>technology investment made by a covered agency for information technology, including data<br>on cost, schedule, and performance; (2) the Chief Information Of..."],["A bill to permanently authorize the Asia-Pacific Economic Cooperation Business Travel Card<br>Program.","S504","(This measure has not been amended since it was passed by the House on October 23, 2017.<br>The summary of that version is repeated here.) Asia-Pacific Economic Cooperation Business<br>Travel Cards Act of 2017  (Sec. 2) This bill amends the Homeland Security Act of 2002 to<br>authorize U.S. Customs and Border Protection (CBP) to issue an Asia-Pacific Economic<br>Cooperation Business Travel Card (ABT Card) to an individual who: (1) is a U.S. citizen,<br>(2) has been approved and is in good standing in an exi..."],["To improve the ability of U.S. Customs and Border Protection to interdict fentanyl, other<br>synthetic opioids, and other narcotics and psychoactive substances that are illegally<br>imported into the United States, and for other purposes.","HR2142","(This measure has not been amended since it was reported to the House on September 21,<br>2017. The summary of that version is repeated here.) International Narcotics Trafficking<br>Emergency Response by Detecting Incoming Contraband with Technology Act or the INTERDICT<br>Act (Sec. 3) This bill requires the U.S. Customs and Border Protection (CBP) to: (1)<br>increase the number of chemical screening devices available to CBP officers to interdict<br>fentanyl, other synthetic opioids, and other narcotics and..."],["To direct the Secretary of Veterans Affairs to submit to the Committees on Veterans'<br>Affairs of the Senate and the House of Representatives a report regarding the<br>organizational structure of the Department of Veterans Affairs, and for other purposes.","HR1066","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) VA Management Alignment Act of 2017  (Sec. 2)<br>This bill requires the Department of Veterans Affairs (VA) to submit to the Committees on<br>Veterans' Affairs of the Senate and the House of Representatives a report (including<br>recommendations for appropriate legislation) regarding the roles, responsibility, and<br>accountability of elements and individuals of the VA. In cr..."],["To direct the Secretary of Veterans Affairs to require the use of certified mail and plain<br>language in certain debt collection activities.","HR3705","(This measure has not been amended since it was reported to the House on November 7, 2017.<br>The summary of that version is repeated here.) Veterans Fair Debt Notice Act of 2017 (Sec.<br>2) This bill directs the Department of Veterans Affairs (VA) to collaborate with veterans<br>service organizations to write a standard letter to be provided to individuals who owe<br>debts to the VA. Such letter shall be written in plain language and shall include a notice<br>of the debt and a clear explanation of: (1) why..."],["Expressing the sense of the House of Representatives with respect to United States policy<br>towards Yemen, and for other purposes.","HRES599","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the urgent need for a political solution in Yemen consistent<br>with United Nations Security Council Resolution 2216 or as otherwise agreed to by the<br>parties.  Denounces the conduct of activities in Yemen and areas affected by the conflict<br>that are inconsistent with the laws of armed conflict, including the deliberate targeting<br>of civilian populations or the use of civilian human ..."],["To require a new or updated Federal website that is intended for use by the public to be<br>mobile friendly, and for other purposes.","HR2331","(This measure has not been amended since it was passed by the House on November 15, 2017.<br>The summary of that version is repeated here.) Connected Government Act (Sec. 2) This bill<br>requires: (1) a federal agency that creates or redesigns a website intended for use by the<br>public to ensure that the website is mobile friendly, and (2) the Office of Management and<br>Budget to report on agency compliance.  \"Mobile friendly\" means that the website is<br>configured in such a way that it may be navigated,..."],["To designate the facility of the United States Postal Service located at 520 Carter Street<br>in Fairview, Illinois, as the \"Sgt. Douglas J. Riney Post Office\".","HR2672","Designates the facility of the United States Postal Service located at 520 Carter Street<br>in Fairview, Illinois, as the \"Sgt. Douglas J. Riney Post Office.\""],["To provide for a land exchange involving Federal land in the Superior National Forest in<br>Minnesota acquired by the Secretary of Agriculture through the Weeks Law, and for other<br>purposes.","HR3115","Superior National Forest Land Exchange Act of 2017 (Sec. 4) This bill directs the<br>Department of Agriculture (USDA) to convey specified National Forest System land within<br>the Superior National Forest in St. Louis County, Minnesota, to Poly Met Mining<br>Corporation, Inc., in exchange for specified nonfederal lands within the forest in St.<br>Louis and Lake Counties, Minnesota.  Poly Met shall pay or reimburse all land survey,<br>appraisal, land title, deed preparation, and other costs incurred by USDA ..."],["Impeaching Donald John Trump, President of the United States, of high misdemeanors.","HRES646","Impeaches President Donald John Trump for high misdemeanors. Sets forth two articles of<br>impeachment based on President Trump's statements as President that constituted harm to<br>American society and manifest injury of the people of the United States."],["Condemning ethnic cleansing of the Rohingya and calling for an end to the attacks in and<br>an immediate restoration of humanitarian access to the state of Rakhine in Burma.","HCONRES90","Condemns the attacks against civilians by Burma's (Myanmar's) military and security forces<br>and calls on Burma's Commander-in-Chief, Min Aung Hlaing, to end such attacks in the state<br>of Rakhine.  Expresses appreciation to the government of Bangladesh for providing refuge<br>to those fleeing violence.  Condemns the Arakan Rohingya Salvation Army attacks and the<br>violence in Rakhine and Rohingya communities, but warns that these attacks do not justify<br>the response by Burmese military and security fo..."],["To provide humanitarian assistance for the Venezuelan people, to defend democratic<br>governance and combat widespread public corruption in Venezuela, and for other purposes.","HR2658","Venezuela Humanitarian Assistance and Defense of Democratic Governance Act of 2017 This<br>bill directs the Department of State to work through nongovernmental organizations to<br>provide public health commodities, basic food commodities, and related technical<br>assistance to Venezuela.  The State Department shall submit a multi-year strategy to<br>Congress that: (1) describes how the United States will secure international support for<br>the provision of humanitarian assistance to Venezuela, and (2) ident..."],["To amend the Fish and Wildlife Act of 1956 to reauthorize the volunteer services,<br>community partnership, and refuge education programs of the National Wildlife Refuge<br>System, and for other purposes.","HR3979","Keep America's Refuges Operational Act (Sec. 2) This bill amends the Fish and Wildlife Act<br>of 1956 to reauthorize through FY2022: (1) the volunteer services, community partnerships,<br>and refuge education programs of the National Wildlife Refuge System; and (2) provisions<br>authorizing the Department of the Interior to accept and use gifts, devises, or bequests<br>of real and personal property for the benefit of the U.S. Fish and Wildlife Service in the<br>performance of its activities and services."],["A bill to designate a human trafficking prevention coordinator and to expand the scope of<br>activities authorized under the Federal Motor Carrier Safety Administration's outreach and<br>education program to include human trafficking prevention activities, and for other<br>purposes.","S1536","Combating Human Trafficking in Commercial Vehicles Act (Sec. 2) This bill directs the<br>Department of Transportation (DOT) to designate an official to: (1) coordinate human<br>trafficking prevention efforts across DOT modal administrations and with other federal<br>agencies, and (2) take into account the unique challenges of combating human trafficking<br>within different transportation modes. (Sec. 3) The bill expands the Federal Motor Carrier<br>Safety Administration's outreach and education program and ..."],["To provide for continuing cooperation between the National Aeronautics and Space<br>Administration and the Israel Space Agency, and for other purposes.","HR1159","United States and Israel Space Cooperation Act (Sec. 3) This bill directs the National<br>Aeronautics and Space Administration (NASA) to continue to work with the Israel Space<br>Agency in identifying and cooperatively pursuing peaceful space exploration and science<br>initiatives in areas of mutual interest, taking all appropriate measures to protect<br>sensitive information, intellectual property, trade secrets, and economic interests of the<br>United States."],["To authorize certain counter terrorist networks activities of U.S. Customs and Border<br>Protection, and for other purposes.","HR4578","Counter Terrorist Network Act (Sec. 2) This bill amends the Homeland Security Act of 2002<br>to expand the duties of the National Targeting Center of the U.S. Customs and Border<br>Protection (CBP). Specifically, the center must collaborate with appropriate agencies to<br>enhance border security through such operations as those that seek to disrupt and<br>dismantle networks that pose terrorist or other threats. In addition, the bill authorizes<br>the CBP to assign its personnel to other appropriate agencies..."],["To direct the Administrator of the United States Agency for International Development to<br>submit to Congress a report on the development and use of global health innovations in the<br>programs, projects, and activities of the Agency.","HR1660","Global Health Innovation Act of 2017  (Sec. 2) This bill directs the Administrator of the<br>U.S. Agency for International Development (USAID) to report to Congress, annually for four<br>years, on the development and use of global health innovations in USAID programs,<br>projects, and activities.  Such reports shall include descriptions of: (1) goals and<br>progress towards their achievement; (2) how innovation has advanced USAID's commitments to<br>achieving an HIV/AIDS-free generation, ending preventable ..."],["Impeaching Donald John Trump, President of the United States, of high misdemeanors.","HRES705","Impeaches President Donald John Trump for high misdemeanors. Sets forth an article of<br>impeachment based on President Trump's statements as President that constituted harm to<br>American society and manifest injury of the people of the United States."],["A bill to prevent the sexual abuse of minors and amateur athletes by requiring the prompt<br>reporting of sexual abuse to law enforcement authorities, and for other purposes.","S534","Protecting Young Victims from Sexual Abuse Act of 2017 This bill amends the Victims of<br>Child Abuse Act of 1990 to extend the duty to report suspected child abuse, including<br>sexual abuse, to certain adults who are authorized to interact with minor or amateur<br>athletes at a facility under the jurisdiction of a national governing body. A national<br>governing body is an amateur sports organization that is recognized by the International<br>Olympic Committee.  An individual who is required, but fails, t..."],["To amend the National Child Protection Act of 1993 to establish a national criminal<br>history background check system and criminal history review program for certain<br>individuals who, related to their employment, have access to children, the elderly, or<br>individuals with disabilities, and for other purposes.","HR695","DIVISION A--FURTHER ADDITIONAL CONTINUING APPROPRIATIONS ACT, 2019  Further Additional<br>Continuing Appropriations Act, 2019  (Sec. 101) This division amends the Continuing<br>Appropriations Act, 2019 to provide continuing FY2019 appropriations to several federal<br>agencies through the earlier of February 8, 2019 (December 21, 2018, under current law),<br>or the enactment of the applicable appropriations legislation.  It is known as a<br>continuing resolution (CR) and prevents a partial government shutdow..."],["Raising a question of the privileges of the House.","HRES726","Declares that the House of Representatives condemns Representative Paul Gosar for certain<br>actions regarding attendance at the State of the Union address."],["To encourage United States-Ukraine cybersecurity cooperation and require a report<br>regarding such cooperation, and for other purposes.","HR1997","Ukraine Cybersecurity Cooperation Act of 2017 (Sec. 3) This bill states that is U.S.<br>policy to: (1) reaffirm the United States-Ukraine Charter on Strategic Partnership, which<br>highlights the bilateral relationship's importance and outlines enhanced cooperation in<br>defense, security, economics and trade, energy security, and democracy; (2) support<br>continued cooperation between the North Atlantic Treaty Organization (NATO) and Ukraine;<br>(3) support Ukraine's political and economic reforms; (4) rea..."],["To amend the Public Health Service Act to improve essential oral health care for low-<br>income and other underserved individuals by breaking down barriers to care, and for other<br>purposes.","HR2422","(This measure has not been amended since it was reported to the House on September 25,<br>2017. The summary of that version is repeated here.) Action for Dental Health Act 2017<br>(Sec. 2) This bill amends the Public Health Service Act to reauthorize oral health<br>promotion and disease prevention programs through FY2022.  The Department of Health and<br>Human Services\u00a0may award grants or enter into contracts to collaborate with state, county,<br>or local public officials and other stakeholders to develop a..."],["To designate the facility of the United States Postal Service located at 99 Macombs Place<br>in New York, New York, as the \"Tuskegee Airman Post Office Building\".","HR4406","(Sec. 1) Designates the facility of the United States Postal Service located at 99 Macombs<br>Place in New York, New York, as the \"Tuskegee Airmen Post Office Building.\""],["To establish the Kennedy-King National Historic Site in the State of Indiana, and for<br>other purposes.","HR4851","Kennedy-King Establishment Act of 2018 (Sec. 3) This bill redesignates the Landmark for<br>Peace Memorial in Martin Luther King, Jr. Park in Indianapolis, Indiana, as the \"Kennedy-<br>King National Commemorative Site.\" The commemorative site shall become a part of the<br>African-American Civil Rights Network.  The Department of the Interior may enter into<br>cooperative agreements with public or private entities for interpretive and educational<br>purposes related to the commemorative site."],["To improve the effectiveness of Federal efforts to identify and address homeland security<br>risks to surface transportation, secure against vehicle-based attacks, and conduct a<br>feasibility assessment of introducing new security technologies and measures, and for<br>other purposes.","HR5131","Surface Transportation Security Improvement Act of 2018  (Sec. 3) The Government<br>Accountability Office (GAO) must evaluate the extent to which the 2016 Biennial National<br>Strategy for Transportation Security is reflected in federal transportation security<br>programs.  (Sec. 4) This bill establishes programs and reporting requirements to identify<br>risks to facilities, equipment, or systems used to provide public transportation (surface<br>transportation assets). It requires the Department of Homeland..."],["To improve threat information sharing, integrated operations, and law enforcement training<br>for transportation security, and for other purposes.","HR5089","Strengthening Local Transportation Security Capabilities Act of 2018 (Sec. 3) This bill<br>directs the Department of Homeland Security (DHS) to prioritize the assignment of officers<br>and intelligence analysts from the Transportation Security Administration (TSA) and DHS's<br>Office of Intelligence and Analysis, to locations with participating state, local, and<br>regional fusion centers in jurisdictions with a high-risk surface transportation asset in<br>order to enhance the security of such asset. A \"sur..."],["To require the Director of the National Science Foundation to develop an I-Corps course to<br>support commercialization-ready innovation companies, and for other purposes.","HR5086","Innovators to Entrepreneurs Act of 2018 (Sec. 3) This bill amends the American Innovation<br>and Competitiveness Act to require the National Science Foundation (NSF) to provide as an<br>option under the Innovation Corps (I-Corps) Program participation in an I-Corps Teams<br>course by grantees of the Small Business Innovation Research (SBIR) Program and other<br>entities.  The cost of participation by such a grantee in a course may be furnished:<br>through I-Corps Teams grants,  through funds awarded to gr..."],["Raising a question of the privileges of the House.","HRES856","Establishes a select committee to investigate the actions and motivations behind the<br>resignation of Father Patrick Conroy, Chaplain of the House of Representatives."],["To amend title 38, United States Code, to provide for headstones and markers for, and<br>interment in national cemeteries of, deceased spouses and dependent children of members of<br>the Armed Forces serving on active duty, and for other purposes.","HR4335","Servicemember Family Burial Act This bill revises eligibility for Department of Veterans<br>Affairs (VA)-provided memorial headstones and markers that commemorate individuals whose<br>remains are unavailable. The bill makes eligible the spouse or eligible dependent child of<br>a member of the U.S. Armed Forces serving on active duty under other than dishonorable<br>conditions at the time of the spouse's or child's death. The spouse, minor child, and, in<br>the VA's discretion, unmarried adult child of such ..."],["Raising a question of the privileges of the House.","HRES878","Establishes a select committee to investigate the circumstances around the resignation of<br>Father Patrick Conroy, Chaplain of the House of Representatives."],["To direct the Secretary of the Interior to conduct a special resource study to determine<br>the suitability and feasibility of establishing the birthplace of James Weldon Johnson in<br>Jacksonville, Florida, as a unit of the National Park System.","HR5005","This bill directs the Department of the Interior to conduct a special resource study to<br>determine the suitability and feasibility of establishing the birthplace of James Weldon<br>Johnson located at Adams and Lee Streets in Jacksonville, Florida, as a unit of the<br>National Park System. James Weldon Johnson was a renowned statesmen, educator, songwriter,<br>author, lawyer, and civil rights activist."],["To designate the facility of the United States Postal Service located at 1075 North Tustin<br>Street in Orange, California, as the \"Specialist Trevor A. Win'E Post Office\".","HR4946","Designates the facility of the United States Postal Service located at 1075 North Tustin<br>Street in Orange, California, as the \"Specialist Trevor A. Win'E Post Office.\""],["To require the Department of State to establish a policy regarding the use of location-<br>tracking consumer devices by employees at diplomatic and consular facilities, and for<br>other purposes.","HR4989","Protecting Diplomats from Surveillance Through Consumer Devices Act This bill directs the<br>Department of State to: (1) establish a policy on the use of location-tracking consumer<br>devices, including GPS-enabled devices, at U.S. diplomatic and consular facilities by U.S.<br>government employees, contractors, locally employed staff, and members of other agencies<br>deployed to or stationed at such facilities; and (2) submit a related report to Congress.<br>Existing and new employees at such facilities sha..."],["To authorize the National Emergency Medical Services Memorial Foundation to establish a<br>commemorative work in the District of Columbia and its environs, and for other purposes.","HR1037","(Sec. 1) This bill authorizes the National Emergency Medical Services Memorial Foundation<br>to establish a commemorative work on federal land in the District of Columbia and its<br>environs to commemorate the commitment and service represented by emergency medical<br>services. The bill: (1) prohibits the use of federal funds to pay any expense of the<br>establishment of such work; (2) makes the foundation solely responsible for acceptance of<br>contributions for, and payment of the expenses of, the establi..."],["To establish an Every Kid Outdoors program, and for other purposes.","HR3186","Every Kid Outdoors Act This bill directs the Departments of the Interior, Agriculture,<br>Commerce, and the Army to establish the Every Kids Outdoors program to provide fourth<br>graders free access to federal lands and waters to which the public has access.  Such<br>Departments shall issue such students annual passes, upon request, which shall allow free<br>access to:   a per-vehicle fee area for the student and any passengers accompanying the<br>student in a private, noncommercial vehicle or for up to thr..."],["A bill to reauthorize the Museum and Library Services Act.","S3530","Museum and Library Services Act of 2018 This bill amends and reauthorizes through FY2023<br>the Museum and Library Services Act and provides funding for library services and<br>technology through FY2023. The bill expands the definition of \"library\" and \"museum\" to<br>include a tribal library or museum and expands the services museums are authorized to<br>provide.  The Institute of Museum and Library Services, under the 21st Century Museum<br>Professional Program established by this bill, may enter into arra..."],["To establish the Stop, Observe, Ask, and Respond to Health and Wellness Training pilot<br>program to address human trafficking in the health care system.","HR767","Stop, Observe, Ask, and Respond to Health and Wellness Act of 2017 or the SOAR to Health<br>and Wellness Act of 2017 (Sec. 3) This bill directs the Department of Health and Human<br>Services (HHS) to establish a program, to be known as the Stop, Observe, Ask, and Respond<br>to Health and Wellness Training Program\u00a0or the SOAR to Health and Wellness Training<br>Program, to train health care providers and other related providers to:  identify<br>potential human trafficking victims,  work with law enforcement t..."],["To direct the Secretary of Veterans Affairs to conduct a study regarding the accessibility<br>of websites of the Department of Veterans Affairs to individuals with disabilities.","HR6418","VA Website Accessibility Act of 2018 This bill directs the Department of Veterans Affairs<br>(VA) to report to Congress regarding the accessibility of VA websites (including attached<br>files and web-based applications) to individuals with disabilities. The report shall<br>identify all websites, files, and applications that are not accessible to such individuals<br>and the VA's plan to make each of them accessible."],["To designate the facility of the United States Postal Service located at 770 Ayrault Road<br>in Fairport, New York, as the \"Louise and Bob Slaughter Post Office\".","HR7293","Designates the facility of the United States Postal Service located at 770 Ayrault Road in<br>Fairport, New York, as the \"Louise and Bob Slaughter Post Office.\""],["A bill to amend chapter 5 of title 40, United States Code, to improve the management of<br>Federal personal property.","S3031","Federal Personal Property Management Act of 2018 This bill requires the executive agencies<br>and the General Services Administration (GSA) to carry out the following activities with<br>respect to federal personal property management.  Each executive agency, in accordance<br>with guidance from the GSA, must annually inventory and assess capitalized personal<br>property in identifying excess property under the agency's control. Capitalized personal<br>property items include those recorded on an agency's gene..."],["A bill to provide for the expeditious disclosure of records related to civil rights cold<br>cases, and for other purposes.","S3191","Civil Rights Cold Case Records Collection Act of 2018 This bill requires the National<br>Archives and Records Administration (NARA) to: (1) commence establishing a collection of<br>civil rights cold case records, (2) commence preparing and publishing the subject<br>guidebook and index to the collection, and (3) establish criteria for transmitting copies<br>of civil rights cold case records to NARA, to include required metadata. All civil rights<br>cold case records transmitted to NARA for disclosure to the ..."],["A bill to help prevent acts of genocide and other atrocity crimes, which threaten national<br>and international security, by enhancing United States Government capacities to prevent,<br>mitigate, and respond to such crises.","S1158","Elie Wiesel Genocide and Atrocities Prevention Act of 2017  This bill states that it is<br>U.S. policy to regard the prevention of genocide and other atrocity crimes as a core<br>national security interest and a core moral responsibility.   The President shall instruct<br>the Department of State to establish a Mass Atrocities Task Force to strengthen State<br>Department efforts and assist other agency efforts at atrocity prevention and response.<br>The Foreign Service Act of 1980 is amended to provide for ..."],["A bill to amend title 46, United States Code, to exempt old vessels that only operate<br>within inland waterways from the fire-retardant materials requirement if the owners of<br>such vessels make annual structural alterations to at least 10 percent of the areas of the<br>vessels that are not constructed of fire-retardant materials and for other purposes.","S89","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) (Sec.1)This bill revises the requirements for<br>passenger vessels that are exempt from fire-retardant materials standards. Vessels in<br>operation before January 1, 1968, that operate within inland waterways are exempted from<br>the new requirements until December 1, 2028. Exempt vessel operators must follow certain<br>requirements including notifying prospective passengers ..."],["To amend title 28 of the United States Code to authorize the appointment of additional<br>bankruptcy judges; and for other purposes.","HR2266","(This measure has not been amended since it was passed by the House on October 12, 2017.<br>The summary of that version is repeated here.) Additional Supplemental Appropriations for<br>Disaster Relief Requirements Act, 2017  This bill provides supplemental appropriations for<br>disaster relief, reauthorizes temporary bankruptcy judgeships, and revises requirements<br>regarding the U.S. Trustee System Fund and bankruptcy. DIVISION A--ADDITIONAL SUPPLEMENTAL<br>APPROPRIATIONS FOR DISASTER RELIEF REQUIREMENTS ..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Federal Communications Commission<br>relating to \"Restoring Internet Freedom\".","SJRES52","This joint resolution nullifies the rule submitted by the Federal Communications<br>Commission entitled \"Restoring Internet Freedom.\" The rule published on February 22, 2018:<br>(1) restores the classification of broadband Internet access service as a lightly-<br>regulated \"information service\"; (2) reinstates private mobile service classification of<br>mobile broadband Internet access service; (3) requires Internet service providers to<br>disclose information about their network management practices, perfor..."],["A resolution expressing the sense of the Senate against the making available of current<br>and former diplomats, officials, and members of the Armed Forces of the United States for<br>questioning by the government of Vladimir Putin.","SRES584","Expresses the sense of the Senate that the United States should refuse to make available<br>any current or former diplomat, civil servant, political appointee, law enforcement<br>official, or member of the U.S. Armed Forces for questioning by the government of Vladimir<br>Putin."],["A bill to designate the United States courthouse located at 300 South Fourth Street in<br>Minneapolis, Minnesota, as the \"Diana E. Murphy United States Courthouse\".","S3021","This bill designates the U.S. courthouse at 300 South Fourth Street in Minneapolis,<br>Minnesota, as the \"Diana E. Murphy United States Courthouse.\""],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Department of the Treasury relating to<br>\"Returns by Exempt Organizations and Returns by Certain Non-Exempt Organizations\".","SJRES64","This joint resolution nullifies a Department of the Treasury rule (Rev. Proc. 2018-38)<br>that modifies the requirements for information returns filed by certain tax-exempt<br>organizations.  The Treasury rule exempts certain tax-exempt organizations that are not<br>501(c)(3) organizations from the requirement to report the names and addresses of their<br>contributors on returns filed with the Internal Revenue Service (IRS). The organizations<br>must continue to collect and keep the information to make it a..."],["Providing for consideration of the resolution (H. Res. 6) adopting the Rules of the House<br>of Representatives for the One Hundred Sixteenth Congress; providing for consideration of<br>the bill (H.R. 21) making appropriations for the fiscal year ending September 30, 2019,<br>and for other purposes; and providing for consideration of the joint resolution (H.J. Res.<br>1) making further continuing appropriations for the Department of Homeland Security for<br>fiscal year 2019, and for other purposes.","HRES5","This resolution sets forth the rule for consideration of H.Res. 6 (adopting the Rules of<br>the House of Representatives for the 116th Congress), H.R. 21 (Consolidated Appropriations<br>Act, 2019), and H.J.Res. 1 (FY2019 Department of Homeland Security appropriations)."],["Adopting the Rules of the House of Representatives for the One Hundred Sixteenth Congress,<br>and for other purposes.","HRES6","This resolution adopts the Rules of the House of Representatives for the 116th Congress.<br>The resolution adopts the rules of the 115th Congress with amendments that include<br>allowing Delegates and the Resident Commissioner to vote in the Committee of the Whole;<br>revising annual ethics training requirements; providing mandatory anti-harassment and<br>anti-discrimination policies for House offices; prohibiting Members, officers, and<br>employees of the House from serving as an officer or director of a ..."],["Making further continuing appropriations for the Department of Homeland Security for<br>fiscal year 2019, and for other purposes.","HJRES1","This joint resolution provides continuing FY2019 appropriations for the Department of<br>Homeland Security (DHS) through the earlier of February 8, 2019, or the enactment of the<br>applicable appropriations legislation.  It is known as a continuing resolution (CR) and<br>ends the partial DHS shutdown that began on December 22, 2018, because the existing CR<br>expired and the FY2019 DHS appropriations bill has not been enacted.  The CR also<br>compensates DHS employees furloughed as a result of any lapse in..."],["Making appropriations for the fiscal year ending September 30, 2019, and for other<br>purposes.","HR21","Consolidated Appropriations Act, 2019  This bill provides FY2019 appropriations for<br>several federal departments and agencies. It includes 6 of the 12 regular FY2019<br>appropriations bills:    the Department of the Interior, Environment, and Related Agencies<br>Appropriations Act, 2019;   the Financial Services and General Government Appropriations<br>Act, 2019;  the Agriculture, Rural Development, Food and Drug Administration, and Related<br>Agencies Appropriations Act, 2019;   the Transportation, Housi..."],["To reauthorize certain programs under the Public Health Service Act and the Federal Food,<br>Drug, and Cosmetic Act with respect to public health security and all-hazards preparedness<br>and response, to clarify the regulatory framework with respect to certain nonprescription<br>drugs that are marketed without an approved drug application, and for other purposes.","HR269","Pandemic and All-Hazards Preparedness and Advancing Innovation Act of 2019 This bill (1)<br>reauthorizes, revises, and establishes several programs and entities relating to public-<br>health emergency preparedness and response; and (2) addresses the approval process for<br>over-the counter (OTC) drugs. Among other programs, the bill reauthorizes through FY2023<br>and revises  the Public Health Emergency Preparedness cooperative-agreement program<br>administered by the Centers for Disease Control and Preventi..."],["To extend by two years the Chemical Facility Anti-Terrorism Standards Program of the<br>Department of Homeland Security, and for other purposes.","HR251","Chemical Facility Anti-Terrorism Standards Program Extension Act This bill extends by 15<br>months the Department of Homeland Security's Chemical Facility Anti-Terrorism Standards<br>Program."],["Providing for consideration of the bill (H.R. 264) making appropriations for financial<br>services and general government for the fiscal year ending September 30, 2019, and for<br>other purposes; providing for consideration of the bill (H.R. 265) making appropriations<br>for Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2019, and for other purposes; providing<br>for consideration of the bill (H.R. 266) making appropriations for the Department of the<br>Interior, environment, and related agencies for the fiscal year ending September 30, 2019,<br>and for other purposes; providing for consideration of the bill (H.R. 267) making<br>appropriations for the Department of Transportation, and Housing and Urban Development,<br>and related agencies for the fiscal year ending September 30, 2019, and for other<br>purposes; and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules.","HRES28","Sets forth the rule for consideration of the bill (H.R. 264) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2019,<br>and for other purposes; providing for consideration of the bill (H.R. 265) making<br>appropriations for Agriculture, Rural Development, Food and Drug Administration, and<br>Related Agencies programs for the fiscal year ending September 30, 2019, and for other<br>purposes; providing for consideration of the bill (H.R. 266) making..."],["To amend the Small Business Act to include best in class designations in the annual report<br>on small business goals prepared by the Administrator of the Small Business<br>Administration, and for other purposes.","HR226","Clarity on Small Business Participation in Category Management Act of 2019 This bill<br>revises the Small Business Administration's reporting requirements to the President and to<br>Congress on procurement contracts to include spending data\u00a0in each best in class<br>designation (highest current\u00a0industry performance level)\u00a0and the number of and total<br>contract amounts\u00a0awarded to\u00a0(1) qualified Historically Underutilized Business Zone<br>(HUBZone) small businesses, (2) small businesses owned and controlled by..."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2019, and for other purposes.","HR264","Highlights  This bill provides FY2019 appropriations to agencies responsible for<br>regulating the financial, telecommunications, and consumer products industries;<br>collecting taxes and assisting taxpayers;   managing federal buildings and the federal<br>workforce; and   operating the Executive Office of the President, the judiciary, and the<br>District of Columbia.   Full Summary  Financial Services and General Government<br>Appropriations Act, 2019  TITLE I--DEPARTMENT OF THE TREASURY  Department of..."],["Making appropriations for the Department of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2019, and for<br>other purposes.","HR267","Highlights This bill provides FY2019 appropriations for the Department of Transportation<br>(DOT), the Department of Housing and Urban Development (HUD), and several related<br>agencies.  The bill includes both discretionary and mandatory funding. The HUD budget is<br>primarily discretionary spending, and most of the DOT budget is mandatory spending, in the<br>form of contract authority from the Highway Trust Fund.  Full Summary Transportation,<br>Housing and Urban Development, and Related Agencies Appropri..."],["Making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2019, and for other<br>purposes.","HR265","Highlights:  This bill provides FY2019 appropriations for the Department of Agriculture<br>(USDA), except for the Forest Service, which is included in the Department of the<br>Interior, Environment, and Related Agencies appropriations bill. The bill also provides<br>appropriations for the Food and Drug Administration (FDA) and the Farm Credit<br>Administration.  The bill includes both discretionary and mandatory funding. The mandatory<br>funding levels are generally set by authorizing legislation such as th..."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2019, and for other purposes.","HR266","Paycheck Protection Program and Health Care Enhancement Act This bill responds to the<br>COVID-19 (i.e., coronavirus disease 2019) outbreak by providing additional funding for<br>small business loans, health care providers, and COVID-19 testing.   DIVISION A--SMALL<br>BUSINESS PROGRAMS (Sec. 101) This division provides additional lending authority for<br>certain Small Business Administration (SBA) programs in response to COVID-19.<br>Specifically, the division increases the authority for (1) the Paycheck Pr..."],["A bill to provide for the compensation of Federal and other government employees affected<br>by lapses in appropriations.","S24","Government Employee Fair Treatment Act of 2019 This bill requires employees of the federal<br>government or a District of Columbia public employer who are furloughed or required to<br>work during a lapse in appropriations beginning on or after December 22, 2018, to be<br>compensated for the period of the lapse. The employees must be compensated on the earliest<br>date possible after the lapse ends, regardless of scheduled pay dates. Employees required<br>to work during the lapse in appropriations may use le..."],["To amend the Small Business Investment Act of 1958 to increase the amount that certain<br>banks and savings associations may invest in small business investment companies, subject<br>to the approval of the appropriate Federal banking agency, and for other purposes.","HR116","Investing in Main Street Act of 2019 This bill amends the Small Business Investment Act of<br>1958 to permit certain banking entities, subject to the approval of the appropriate<br>federal banking agency, to invest up to 15% of their capital and surplus in one or more<br>small business investment companies (SBICs), or in any entity established to invest solely<br>in SBICs."],["Making further continuing appropriations for fiscal year 2019, and for other purposes.","HJRES27","Further Additional Continuing Appropriations Act, 2019 This joint resolution provides<br>continuing FY2019 appropriations to several federal agencies through the earlier of<br>February 1, 2019, or the enactment of the applicable appropriations legislation.  It is<br>known as a continuing resolution (CR) and ends the partial government shutdown that began<br>after the existing CR expired on December 21, 2018, because seven of the remaining FY2019<br>appropriations bills have not been enacted.  (Five of the F..."],["Rejecting White nationalism and White supremacy.","HRES41","This resolution rejects white nationalism and white supremacy as hateful expressions of<br>intolerance that are contradictory to the values that define the people of the United<br>States."],["To amend the Notification and Federal Employee Antidiscrimination and Retaliation Act of<br>2002 to strengthen Federal antidiscrimination laws enforced by the Equal Employment<br>Opportunity Commission and expand accountability within the Federal Government, and for<br>other purposes.","HR135","Elijah E. Cummings Federal Employee Antidiscrimination Act of 2019 This bill requires each<br>federal agency to establish a model Equal Employment Opportunity Program that is<br>independent of the agency's Human Capital or General Counsel office, and it establishes<br>requirements related to complaints of discrimination and retaliation in the workplace. An<br>agency must publish a notice of any final agency action or Equal Employment Opportunity<br>Commission (EEOC) appellate decision involving a finding of..."],["Providing for consideration of the bill (H.R. 268) making supplemental appropriations for<br>the fiscal year ending September 30, 2019, and for other purposes, and waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES43","Sets forth the rule for consideration of the bill (H.R. 268) making supplemental<br>appropriations for the fiscal year ending September 30, 2019, and for other purposes, and<br>waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules."],["Making supplemental appropriations for the fiscal year ending September 30, 2019, and for<br>other purposes.","HR268","Supplemental Appropriations Act, 2019  This bill provides FY2019 appropriations to federal<br>agencies, including supplemental appropriations for disaster assistance and continuing<br>appropriations for agencies that are included in the seven FY2019 appropriations bills<br>that have not been enacted.  The bill provides $14.2 billion in FY2019 supplemental<br>appropriations for expenses related to the consequences of recent wildfires, hurricanes,<br>volcanos, earthquakes, typhoons, and other natural disaster..."],["Providing for consideration of the joint resolution (H.J. Res. 28) making further<br>continuing appropriations for fiscal year 2019, and for other purposes, and providing for<br>consideration of motions to suspend the rules.","HRES52","This resolution sets forth the rule for consideration of H.J.Res. 28 (Further Additional<br>Continuing Appropriations Act, 2019).  It shall be in order at any time through the<br>legislative day of January 25, 2019, for the Speaker of the House to suspend the rules."],["Disapproving the President's proposal to take an action relating to the application of<br>certain sanctions with respect to the Russian Federation.","HJRES30","This joint resolution expresses disapproval of the Office of Foreign Assets Control's<br>report to Congress that it intends to terminate sanctions imposed on En+ Group plc, UC<br>Rusal plc, and JSC EuroSibEnergo, companies connected to sanctioned Russian oligarch Oleg<br>Deripaska."],["Making further continuing appropriations for fiscal year 2019, and for other purposes.","HJRES28","Further Additional Continuing Appropriations Act, 2019  (Sec. 101) This joint resolution<br>provides continuing FY2019 appropriations to several federal agencies through the earlier<br>of February 15, 2019, or the enactment of the applicable appropriations legislation. It is<br>known as a continuing resolution (CR) and ends the partial government shutdown that began<br>after the existing CR expired on December 21, 2018, because seven of the remaining FY2019<br>appropriations bills have not been enacted.  (F..."],["To reiterate the support of the Congress of the United States for the North Atlantic<br>Treaty Organization, and for other purposes.","HR676","NATO Support Act  This bill prohibits the appropriation or use of funds to withdraw the<br>United States from the North Atlantic Treaty Organization."],["To require the Secretary of State to design and establish a Vulnerability Disclosure<br>Process (VDP) to improve Department of State cybersecurity and a bug bounty program to<br>identify and report vulnerabilities of internet-facing information technology of the<br>Department of State, and for other purposes.","HR328","Hack Your State Department Act This bill requires the Department of State to design,<br>establish, and make publicly known a Vulnerability Disclosure Process to improve<br>cybersecurity. In establishing the process, the State Department must identify which<br>information technology should be included, determine whether the process should<br>differentiate among and specify the types of security vulnerabilities that may be<br>targeted, and provide a readily available form and means of reporting, amongst other..."],["Providing for consideration of the bill (H.R. 648) making appropriations for the fiscal<br>year ending September 30, 2019, and for other purposes; providing for consideration of the<br>joint resolution (H.J. Res. 31) making further continuing appropriations for the<br>Department of Homeland Security for fiscal year 2019, and for other purposes; providing<br>for consideration of motions to suspend the rules; and waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules.","HRES61","This resolution sets forth the rule for consideration of H.R. 648 (Consolidated<br>Appropriations Act, 2019) and H.J.Res. 31 (FY2019 Department of Homeland Security<br>appropriations). The resolution makes it in order at any time through the legislative day<br>of February 1, 2019, for the Speaker of the House to suspend the rules. In addition, the<br>resolution waives a specified requirement of Rule XIII (Calendar and Committee Reports) to<br>allow consideration of any resolution reported from the Committee..."],["Making appropriations for the fiscal year ending September 30, 2019, and for other<br>purposes.","HR648","Consolidated Appropriations Act, 2019  This bill provides FY2019 appropriations for<br>several federal departments and agencies. It includes 6 of the 12 regular FY2019<br>appropriations bills:  the Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies Appropriations Act, 2019;   the Commerce, Justice, Science, and<br>Related Agencies Appropriations Act, 2019;  the Financial Services and General Government<br>Appropriations Act, 2019;   the Department of the Interior, Environm..."],["Making further continuing appropriations for the Department of Homeland Security for<br>fiscal year 2019, and for other purposes.","HJRES31","Highlights  This bill provides FY2019 appropriations for several federal departments and<br>agencies.  It includes 7 of the 12 regular FY2019 appropriations bills:    the Department<br>of Homeland Security Appropriations Act, 2019;   the Agriculture, Rural Development, Food<br>and Drug Administration, and Related Agencies Appropriations Act, 2019;   the Commerce,<br>Justice, Science, and Related Agencies Appropriations Act, 2019;   the Financial Services<br>and General Government Appropriations Act, 2019;  ..."],["To require the Securities and Exchange Commission to carry out a study of Rule 10b5-1<br>trading plans, and for other purposes.","HR624","Promoting Transparent Standards for Corporate Insiders Act  This bill directs the<br>Securities and Exchange Commission (SEC) to study and report on possible revisions to<br>regulations regarding Rule 10b5-1 trading plans. (Such plans allow certain employees of<br>publicly traded corporations to sell their shares without violating insider trading<br>prohibitions.) The SEC must revise regulations consistent with the results of the study."],["To require the Comptroller General of the United States to carry out a study on how<br>virtual currencies and online marketplaces are used to buy, sell, or facilitate the<br>financing of goods or services associated with sex trafficking or drug trafficking, and<br>for other purposes.","HR502","Fight Illicit Networks and Detect Trafficking Act or the FIND Trafficking Act  This bill<br>directs the Government Accountability Office (GAO) to report on the use of virtual<br>currencies and online marketplaces in sex and drug trafficking. The GAO must study topics<br>including   how illicit proceeds are transferred into the U.S. banking system,  state and<br>non-state actors that participate in such activity,  preventative efforts from federal and<br>state agencies, and the extent to which the unique cha..."],["To direct the Under Secretary of Homeland Security for Intelligence and Analysis to<br>develop and disseminate a threat assessment regarding terrorist use of virtual currency.","HR428","Homeland Security Assessment of Terrorists' Use of Virtual Currencies Act This bill<br>directs the Department of Homeland Security's Office of Intelligence and Analysis to<br>assess the threat posed by individuals using virtual currencies to support terrorism. The<br>assessment shall be shared with state, local, and tribal law enforcement officials."],["To amend the Homeland Security Act of 2002, to direct the Assistant Secretary for State<br>and Local Law Enforcement to produce and disseminate an annual catalog on Department of<br>Homeland Security training, publications, programs, and services for State, local, and<br>tribal law enforcement agencies, and for other purposes.","HR449","Pathways to Improving Homeland Security at the Local Level Act This bill requires the<br>Department of Homeland Security's Office for State and Local Law Enforcement to produce<br>and disseminate an annual catalog of training opportunities, programs, and services that<br>are available to state, local, and tribal law enforcement agencies."],["Expressing the sense of Congress that financial institutions and other companies should<br>work proactively with their customers affected by the shutdown of the Federal Government<br>who may be facing short-term financial hardship and long-term damage to their<br>creditworthiness through no fault of their own.","HRES77","This resolution expresses the sense of Congress that financial institutions and other<br>entities should take steps to mitigate the financial hardships faced by customers and<br>tenants as a result of any federal government shutdown, including the shutdown that began<br>on December 22, 2018."],["Providing for consideration of the bill (H.R. 790) to provide for a pay increase in 2019<br>for certain civilian employees of the Federal Government, and for other purposes, and<br>providing for consideration of motions to suspend the rules.","HRES87","This resolution sets forth the rule for consideration of H.R. 790 (Federal Civilian<br>Workforce Pay Raise Fairness Act of 2019).  It shall be in order at any time through the<br>legislative day of February 8, 2019, for the Speaker of the House to suspend the rules."],["To provide for a pay increase in 2019 for certain civilian employees of the Federal<br>Government, and for other purposes.","HR790","Federal Civilian Workforce Pay Raise Fairness Act of 2019 This bill increases by 2.6% the<br>rates of basic pay for federal civilian employees for 2019."],["Expressing the sense of the House of Representatives that Government shutdowns are<br>detrimental to the Nation and should not occur.","HRES79","This resolution expresses the sense of the House of Representatives that (1) government<br>shutdowns cause substantial damage; (2) shutting down the government is not an acceptable<br>tactic or strategy for resolving differences; and (3) Congress must ensure the continued,<br>uninterrupted operations of the government and its duty to protect and promote the<br>security of the American people."],["To direct the Secretary of Transportation to request nominations for and make<br>determinations regarding roads to be designated under the national scenic byways program,<br>and for other purposes.","HR831","Reviving America's Scenic Byways Act of 2019 This bill requires the Department of<br>Transportation to issue a request for nominations with respect to roads to be designated<br>under the national scenic byways program and make publicly available a list specifying the<br>roads designated."],["Providing for consideration of the bill (H.R. 840) to amend title 38, United States Code,<br>to direct the Secretary of Veterans Affairs to provide child care assistance to veterans<br>receiving certain medical services provided by the Department of Veterans Affairs;<br>providing for the adoption of the resolution (H. Res. 86) providing amounts for the<br>expenses of the Select Committee on the Climate Crisis and the Select Committee on the<br>Modernization of Congress; and providing for consideration of motions to suspend the<br>rules.","HRES105","This resolution sets forth the rule for consideration of H.R. 840 (Veterans' Access to<br>Child Care Act) and provides for adoption of H.Res. 86 (providing amounts for the expenses<br>of the Select Committee on the Climate Crisis and the Select Committee on the<br>Modernization of Congress). The resolution makes it in order for the Speaker of the House<br>to suspend the rules at any time through the legislative day of February 15, 2019."],["To amend title 18, United States Code, to provide an additional tool to prevent certain<br>frauds against veterans, and for other purposes.","HR450","Preventing Crimes Against Veterans Act of 2019 This bill establishes a new criminal<br>offense for knowingly executing, or attempting to execute, a scheme to defraud an<br>individual of veterans' benefits. A violator is subject to criminal penalties\u2014a fine, a<br>prison term of up to five years, or both."],["To direct the Attorney General to study issues relating to human trafficking, and for<br>other purposes.","HR507","Put Trafficking Victims First Act of 2019 This bill sets forth provisions intended to help<br>assess the prevalence of human trafficking in the United States and improve support for<br>victims of trafficking and service providers. The Department of Justice (DOJ) must work<br>with federal entities and other stakeholders to do the following:  establish a working<br>group to improve the collection and analysis of data on the incidence of trafficking,<br>report on efforts to develop methodologies to determine t..."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>provide child care assistance to veterans receiving certain medical services provided by<br>the Department of Veterans Affairs.","HR840","Veterans' Access to Child Care Act  This bill directs the Department of Veterans Affairs<br>(VA) to provide child care assistance to an eligible veteran who is actively participating<br>in treatment by attending appointments for any period that the veteran (1) receives<br>covered health care services at a VA facility, and (2) is required to travel to and return<br>from such facility for the receipt of such services. The bill defines covered health care<br>services to mean regular mental health care services..."],["To provide for a study on the use of social media in security clearance investigations.","HR1065","Social Media Use in Clearance Investigations Act of 2019 This bill directs the Office of<br>Management and Budget to report on the examination of social media activity during<br>security clearance investigations."],["Providing for consideration of the joint resolution (H.J. Res. 37) directing the removal<br>of United States Armed Forces from hostilities in the Republic of Yemen that have not been<br>authorized by Congress; waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules; and providing<br>for consideration of motions to suspend the rules.","HRES122","This resolution sets forth the rule for consideration of H.J.Res. 37 (directing the<br>removal of certain U.S. Armed Forces from hostilities in the Republic of Yemen). The<br>resolution waives a specified requirement of Rule XIII (Calendar and Committee Reports) to<br>allow consideration of resolutions reported from the Committee on Rules through the<br>legislative day of February 17, 2019, on the same day it is presented to the House,<br>relating to measures making or continuing appropriations for FY2019. ..."],["Directing the removal of United States Armed Forces from hostilities in the Republic of<br>Yemen that have not been authorized by Congress.","HJRES37","This joint resolution directs the President to remove U.S. Armed Forces from hostilities<br>in or affecting Yemen within 30 days unless Congress authorizes a later withdrawal date,<br>issues a declaration of war, or specifically authorizes the use of the Armed Forces.<br>Prohibited activities include providing in-flight fueling for non-U.S. aircraft conducting<br>missions as part of the conflict in Yemen. This joint resolution shall not affect any<br>military operations\u00a0directed at Al Qaeda. The President m..."],["Providing for consideration of the conference report to accompany the joint resolution<br>(H.J. Res. 31) making further continuing appropriations for the Department of Homeland<br>Security for fiscal year 2019, and for other purposes, and providing for proceedings<br>during the period from February 15, 2019, through February 22, 2019.","HRES131","This resolution sets forth the rule for consideration of the conference report on H.J.Res.<br>31 (FY2019 Department of Homeland Security appropriations)."],["To require the Director of the National Science Foundation to develop an I-Corps course to<br>support commercialization-ready innovation companies, and for other purposes.","HR539","Innovators to Entrepreneurs Act of 2019  This bill expands eligibility for the Innovation<br>Corps (I-Corps) program and requires development of an I-Corps course to support<br>commercialization-ready participants.  (Sec. 3) The bill requires the National Science<br>Foundation (NSF) to allow grantees of the Small Business Innovation Research (SBIR)<br>Program and other entities to participate in I-Corps courses. The cost of participation by<br>such a grantee in a course may be furnished  through I-Corps Tea..."],["To direct the Secretary of Education to establish the Recognizing Inspiring School<br>Employees (RISE) Award Program recognizing excellence exhibited by classified school<br>employees providing services to students in prekindergarten through high school.","HR276","Recognizing Achievement in Classified School Employees Act This bill directs the<br>Department of Education (ED) to grant Recognizing Inspiring School Employees awards to<br>classified school employees, within certain occupational specialties, who provide<br>exemplary service to students in prekindergarten through high school. ED must annually<br>select an awardee, out of nominations received from states, from any of the following<br>occupational specialties: (1) paraprofessional services, (2) clerical and ..."],["Providing for consideration of the bill (H.R. 8) to require a background check for every<br>firearm sale, and providing for consideration of the bill (H.R. 1112) to amend chapter 44<br>of title 18, United States Code, to strengthen the background check procedures to be<br>followed before a Federal firearms licensee may transfer a firearm to a person who is not<br>such a licensee.","HRES145","Sets forth the rule for consideration of the bill (H.R. 8) to require a background check<br>for every firearm sale, and providing for consideration of the bill (H.R. 1112) to amend<br>chapter 44 of title 18, United States Code, to strengthen the background check procedures<br>to be followed before a Federal firearms licensee may transfer a firearm to a person who<br>is not such a licensee."],["Providing for consideration of the joint resolution (H.J. Res. 46) relating to a national<br>emergency declared by the President on February 15, 2019.","HRES144","Sets forth the rule for consideration of the joint resolution (H.J. Res. 46) relating to a<br>national emergency declared by the President on February 15, 2019."],["Relating to a national emergency declared by the President on February 15, 2019.","HJRES46","This joint resolution terminates the national emergency related to the U.S.-Mexico border,<br>declared by the President on February 15, 2019."],["To require a background check for every firearm sale.","HR8","Bipartisan Background Checks Act of 2019 This bill establishes new background check<br>requirements for firearm transfers between private parties (i.e., unlicensed individuals).<br>Specifically, it prohibits a firearm transfer between private parties unless a licensed<br>gun dealer, manufacturer, or importer first takes possession of the firearm to conduct a<br>background check. The prohibition does not apply to certain firearm transfers, such as a<br>gift between spouses in good faith."],["To amend chapter 44 of title 18, United States Code, to strengthen the background check<br>procedures to be followed before a Federal firearms licensee may transfer a firearm to a<br>person who is not such a licensee.","HR1112","Enhanced Background Checks Act of 2019 This bill revises background check requirements<br>applicable to proposed firearm transfers from a federal firearms licensee (e.g., a<br>licensed gun dealer) to an unlicensed person. Additionally, the bill modifies statutory<br>references with respect to a particular category of prohibited persons (i.e., persons<br>barred from receiving or possessing a firearm). Specifically, it replaces references to<br>persons \"adjudicated as a mental defective\" with persons \"adjudic..."],["To direct the Secretary of Veterans Affairs to take actions necessary to ensure that<br>certain individuals may update the burn pit registry with a registered individual's cause<br>of death, and for other purposes.","HR1381","Burn Pit Registry Enhancement Act This bill authorizes specified individuals to update the<br>burn pit registry with the cause of death of a registered individual. The Department of<br>Veterans Affairs established the burn pit registry to allow certain veterans and<br>servicemembers to document their exposures and report health concerns. The registry is for<br>individuals who may have been exposed to toxic airborne chemicals and fumes caused by open<br>burn pits (areas used for burning solid waste in open a..."],["Providing for consideration of the bill (H.R. 1) to expand Americans' access to the ballot<br>box, reduce the influence of big money in politics, and strengthen ethics rules for public<br>servants, and for other purposes, and providing for consideration of motions to suspend<br>the rules.","HRES172","This resolution sets forth the rule for consideration of H.R. 1 (For the People Act of<br>2019). The resolution makes it in order at any time on the legislative day of March 7,<br>2019, or March 8, 2019, for the Speaker of the House to suspend the rules."],["Condemning anti-Semitism as hateful expressions of intolerance that are contradictory to<br>the values and aspirations that define the people of the United States and condemning<br>anti-Muslim discrimination and bigotry against minorities as hateful expressions of<br>intolerance that are contrary to the values and aspirations of the United States.","HRES183","This resolution rejects the perpetuation of anti-Semitic stereotypes in the United States<br>and around the world, and condemns anti-Semitic acts and statements. The resolution<br>reaffirms support for the mandate of the United States Special Envoy to Monitor and Combat<br>Anti-Semitism. Additionally, the resolution rejects attempts to justify hatred or violent<br>attacks over political frustrations. Law enforcement is encouraged to avoid conduct that<br>raises the specter of unconstitutional profiling agai..."],["To expand Americans' access to the ballot box, reduce the influence of big money in<br>politics, and strengthen ethics rules for public servants, and for other purposes.","HR1","For the People Act of 2019 This bill addresses voter access, election integrity, election<br>security, political spending, and ethics for the three branches of government.<br>Specifically, the bill expands voter registration and voting access and limits removing<br>voters from voter rolls. The bill provides for states to establish independent,<br>nonpartisan redistricting commissions. The bill also sets forth provisions related to<br>election security, including sharing intelligence information with state ..."],["To authorize the Secretary of Housing and Urban Development to carry out a housing choice<br>voucher mobility demonstration to encourage families receiving such voucher assistance to<br>move to lower-poverty areas and expand access to opportunity areas.","HR1122","Housing Choice Voucher Mobility Demonstration Act of 2019 This bill authorizes the<br>Department of Housing and Urban Development (HUD) to implement a mobility demonstration<br>program to enable public housing agencies (PHAs) to administer housing-choice rental-<br>assistance vouchers in a manner designed to (1)\u00a0encourage low-income families receiving<br>such assistance to move to lower-poverty areas, and (2) expand access to opportunity<br>areas. HUD shall require PHAs applying to participate in the program..."],["Calling for accountability and justice for the assassination of Boris Nemtsov.","HRES156","This resolution condemns Russian President Vladimir Putin and his regime for targeting<br>political opponents and attempting to cover up the assassination of Russian opposition<br>leader and democracy advocate Boris Nemtsov. It also calls on the Department of State to<br>impose sanctions on those involved and to report to Congress on the assassination."],["To prohibit United States Government recognition of Russia's annexation of Crimea.","HR596","Crimea Annexation Non-recognition Act  The bill prohibits any federal agency from taking<br>any action or extending any assistance that recognizes or implies recognition of Russia's<br>sovereignty over Crimea, its airspace, or its territorial waters.  The President may waive<br>such prohibitions on a case-by-case basis if such a waiver is vital to U.S. national<br>security interests."],["Providing for consideration of the concurrent resolution (H. Con. Res. 24) expressing the<br>sense of Congress that the report of Special Counsel Mueller should be made available to<br>the public and to Congress, and providing for proceedings during the period from March 15,<br>2019, through March 22, 2019.","HRES208","This resolution sets forth the rule for consideration of H.Con.Res. 24 (expressing the<br>sense of Congress that the report of Special Counsel Mueller should be made available to<br>the public and to Congress).  On any legislative day from March 15, 2019, through March<br>22, 2019, the Journal of the proceedings of the previous day shall be considered as<br>approved, and the chair may at any time declare the House adjourned to meet at a date and<br>time.  The Speaker of the House may appoint Members to perf..."],["Expressing the sense of Congress that the report of Special Counsel Mueller should be made<br>available to the public and to Congress.","HCONRES24","This concurrent resolution calls for the full release to Congress and the public release,<br>as allowed by law, of any report (including findings) Special Counsel Mueller provides to<br>the Department of Justice."],["To take lands in Sonoma County, California, into trust as part of the reservation of the<br>Lytton Rancheria of California, and for other purposes.","HR1388","Lytton Rancheria Homelands Act of 2019 This bill takes into trust for the benefit of the<br>Lytton Rancheria of California certain land owned by the tribe in Sonoma County,<br>California. Land taken into trust shall be part of the tribe's reservation. Gaming is<br>prohibited on land taken into trust by this bill, and on lands taken into trust for the<br>benefit of the tribe in the future.  The memorandum of agreement entered into by the tribe<br>and the county is not subject to review or approval by the Dep..."],["Providing for consideration of the bill (H.R. 7) to amend the Fair Labor Standards Act of<br>1938 to provide more effective remedies to victims of discrimination in the payment of<br>wages on the basis of sex, and for other purposes, and providing for consideration of the<br>resolution (H. Res. 124) expressing opposition to banning service in the Armed Forces by<br>openly transgender individuals.","HRES252","Sets forth the rule for consideration of the bill (H.R. 7) to amend the Fair Labor<br>Standards Act of 1938 to provide more effective remedies to victims of discrimination in<br>the payment of wages on the basis of sex, and for other purposes, and providing for<br>consideration of the resolution (H. Res. 124) expressing opposition to banning service in<br>the Armed Forces by openly transgender individuals."],["To amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","HR7","Paycheck Fairness Act This bill addresses wage discrimination on the basis of sex. It<br>amends equal pay provisions of the Fair Labor Standards Act of 1938 to (1) restrict the<br>use of the bona fide factor defense to wage discrimination claims, (2) enhance<br>nonretaliation prohibitions, (3) make it unlawful to require an employee to sign a<br>contract or waiver prohibiting the employee from disclosing information about the<br>employee's wages, and (4) increase civil penalties for violations of equal pay ..."],["Expressing opposition to banning service in the Armed Forces by openly transgender<br>individuals.","HRES124","This resolution (1) strongly opposes President Trump's ban on transgender members of the<br>Armed Forces, (2) rejects the scientific and medical claims upon which it is based, and<br>(3) strongly urges the Department of Defense to not reinstate the ban and to maintain an<br>inclusive policy allowing qualified transgender Americans to enlist and serve in the Armed<br>Forces."],["To amend the Homeland Security Act of 2002 to establish a school security coordinating<br>council, and for other purposes.","HR1593","Coordinating and Leveraging Activities for School Security Act or the CLASS Act of 2019<br>This bill establishes in the Department of Homeland Security a council to ensure the<br>coordination of activities, plans, and policies to enhance the security of schools and<br>preschools against acts of terrorism."],["Providing for consideration of the joint resolution (S.J. Res. 7) to direct the removal of<br>United States Armed Forces from hostilities in the Republic of Yemen that have not been<br>authorized by Congress; providing for consideration of the resolution (H. Res. 271)<br>Condemning the Trump Administration's Legal Campaign to Take Away Americans' Health Care;<br>and providing for consideration of motions to suspend the rules.","HRES274","This resolution sets forth the rule for consideration of S.J.Res. 7 (demanding the removal<br>of unauthorized U.S. Armed Forces from hostilities in the Republic of Yemen) and H.Res.<br>271(condemning the Trump Administration's Legal Campaign to Take Away Americans' Health<br>Care).  It shall be in order at any time on the legislative day of April 4, 2019, for the<br>Speaker of the House to suspend the rules."],["Providing for consideration of the bill (H.R. 1585) to reauthorize the Violence Against<br>Women Act of 1994, and for other purposes.","HRES281","Sets forth the rule for consideration of the bill (H.R. 1585) to reauthorize the Violence<br>Against Women Act of 1994."],["Condemning the Trump Administration's Legal Campaign to Take Away Americans' Health Care.","HRES271","This resolution urges the Department of Justice (DOJ) to cease its efforts against the<br>Patient Protection and Affordable Care Act (PPACA) and reverse its position in Texas v.<br>United States. (On March 25, 2019, DOJ submitted a letter to the appellate court agreeing<br>with the lower court's decision that PPACA should be struck in its entirety)."],["To reauthorize the Violence Against Women Act of 1994, and for other purposes.","HR1585","Violence Against Women Reauthorization Act of 2019 This bill modifies and reauthorizes<br>through FY2024 programs and activities under the Violence Against Women Act that seek to<br>prevent and respond to domestic violence, sexual assault, dating violence, and stalking.<br>Among other things, the bill also authorizes new programs, makes changes to federal<br>firearms laws, and establishes new protections to promote housing stability and economic<br>security for victims of domestic violence, sexual assault, ..."],["Authorizing the use of the Capitol Grounds for the Greater Washington Soap Box Derby.","HCONRES19","This concurrent resolution permits the Greater Washington Soap Box Derby Association to<br>sponsor soap box derby races as a free public event on the Capitol grounds on June 15,<br>2019."],["To amend the Federal Water Pollution Control Act to reauthorize certain programs relating<br>to nonpoint source management, and for other purposes.","HR1331","Local Water Protection Act This bill reauthorizes through FY2024 grants to states for (1)<br>programs that manage and control pollution added from nonpoint sources to navigable<br>waters, and (2) groundwater quality protection activities to advance state implementation<br>of such programs. Water pollution from nonpoint sources is caused by precipitation picking<br>up pollution as it moves over or through the ground."],["Providing for consideration of the bill (H.R. 1644) to restore the open internet order of<br>the Federal Communications Commission; providing for consideration of the bill (H.R. 2021)<br>to amend the Balanced Budget and Emergency Deficit Control Act of 1985 and to establish a<br>congressional budget for fiscal year 2020; and for other purposes.","HRES294","This resolution (1) sets forth the rule for consideration of H.R. 1644 (Save the Internet<br>Act of 2019) and for H.R. 2021 (Investing for the People Act of 2019), (2) adopts H.Res.<br>293 (enforcing the Congressional Budget Act of 1974 for FY2020), and (3) provides for<br>specified congressional procedures on any legislative day from April 11, 2019, through<br>April 26, 2019."],["To amend title III of the Social Security Act to extend reemployment services and<br>eligibility assessments to all claimants for unemployment compensation, and for other<br>purposes.","HR1759","Building on Reemployment Improvements to Deliver Good Employment for Workers Act or the<br>BRIDGE for Workers Act This bill extends eligibility for\u00a0reemployment services to all<br>individuals claiming unemployment compensation. Currently, only unemployment claimants<br>that are identified as\u00a0likely to exhaust their regular unemployment compensation are<br>eligible for such reemployment services."],["To authorize the Secretary of the Interior to assess sanitation and safety conditions at<br>Bureau of Indian Affairs facilities that were constructed to provide affected Columbia<br>River Treaty tribes access to traditional fishing grounds and expend funds on construction<br>of facilities and structures to improve those conditions, and for other purposes.","HR91","Columbia River In-Lieu and Treaty Fishing Access Sites Improvement Act This bill<br>authorizes the Bureau of Indian Affairs (BIA) to assess sanitation and safety conditions<br>on land set aside to provide Columbia River Treaty tribes access to traditional fishing<br>grounds. The bill applies to land held by the United States for the benefit of the Nez<br>Perce Tribe, the Confederated Tribes of Umatilla Indian Reservation, the Confederated<br>Tribes of the Warm Springs Reservation of Oregon, and the Confeder..."],["To create an interdivisional taskforce at the Securities and Exchange Commission for<br>senior investors.","HR1876","National Senior Investor Initiative Act of 2019 or the Senior Security Act of 2019 This<br>bill establishes the Senior Investor Taskforce within the Securities and Exchange<br>Commission. The taskforce must report on topics relating to investors over the age of 65,<br>including industry trends and serious issues impacting such investors, and make<br>recommendations for legislative or regulatory actions to address problems encountered by<br>senior investors.  The Government Accountability Office must report ..."],["Supporting the protection of elders through financial literacy.","HRES328","This resolution supports the goals of Financial Literacy Month. Specifically, the<br>resolution expresses the understanding that continued education and cooperation among law<br>enforcement, financial institutions, regulatory agencies, and private sector organizations<br>are necessary to combat elder financial exploitation. Additionally, the resolution<br>expresses support for work performed by the Financial Crimes Enforcement Network and its<br>partners to educate those that protect the elder community."],["Providing for consideration of the bill (H.R. 9) to direct the President to develop a plan<br>for the United States to meet its nationally determined contribution under the Paris<br>Agreement, and for other purposes.","HRES329","Sets forth the rule for consideration of the bill (H.R. 9) to direct the President to<br>develop a plan for the United States to meet its nationally determined contribution under<br>the Paris Agreement."],["To direct the President to develop a plan for the United States to meet its nationally<br>determined contribution under the Paris Agreement, and for other purposes.","HR9","Climate Action Now Act This bill requires the President to develop and update annually a<br>plan for the United States to meet its nationally determined contribution under the Paris<br>Agreement on climate change. (Sec. 3) In addition, the bill prohibits federal funds from<br>being used to withdraw from the agreement. (Sec. 4) The bill outlines what must be<br>included in the plan, including descriptions of steps to (1) cut greenhouse gas emissions<br>by 26%-28% below 2005 levels by 2025, and (2) confirm th..."],["Reaffirming the United States commitment to Taiwan and to the implementation of the Taiwan<br>Relations Act.","HRES273","This resolution affirms that the Taiwan Relations Act and the Six Assurances will remain<br>cornerstones of the U.S.-Taiwan relationship. It encourages increasing engagement between<br>the United States and Taiwan and states that\u00a0the President should conduct regular<br>transfers of defense articles to Taiwan. (The United States made the Six Assurances to<br>Taiwan in 1982, stating that it will not pressure Taiwan to negotiate with China and that<br>it has not agreed to consult with China prior to any arms s..."],["To amend the Public Health Service Act to provide for the publication of a list of<br>licensed biological products, and for other purposes.","HR1520","Further Extension of Continuing Appropriations Act, 2021 This bill provides continuing<br>FY2021 appropriations to federal agencies through December 28, 2020. It is known as a<br>continuing resolution (CR) and prevents a government shutdown that would otherwise occur<br>if the FY2021 appropriations bills have not been enacted when the existing CR expires on<br>December 21, 2020."],["Providing for consideration of the bill (H.R. 986) to provide that certain guidance<br>related to waivers for State innovation under the Patient Protection and Affordable Care<br>Act shall have no force or effect, and providing for consideration of the bill (H.R. 2157)<br>making supplemental appropriations for the fiscal year ending September 30, 2019, and for<br>other purposes.","HRES357","This resolution sets forth the rule for consideration of H.R. 986 (Protecting Americans<br>with Preexisting Conditions Act of 2019) and H.R. 2157 (Supplemental Appropriations Act,<br>2019)."],["To provide that certain guidance related to waivers for State innovation under the Patient<br>Protection and Affordable Care Act shall have no force or effect.","HR986","Protecting Americans with Preexisting Conditions Act of 2019 (Sec. 3) This bill nullifies<br>guidance from the Department of the Treasury and the Department of Health and Human<br>Services titled State Relief and Empowerment Waivers, published on October 24, 2018. The<br>guidance pertains to Section 1332 waivers (also known as State Innovation Waivers or State<br>Relief and Empowerment Waivers), which allow states to forego certain requirements of the<br>Patient Protection and Affordable Care Act in order t..."],["Making supplemental appropriations for the fiscal year ending September 30, 2019, and for<br>other purposes.","HR2157","Supplemental Appropriations Act, 2019  This bill provides $17.2 billion in FY2019<br>supplemental appropriations to several federal departments and agencies for expenses<br>related to the consequences of recent wildfires, hurricanes, volcanos, earthquakes,<br>typhoons, and other natural disasters. The funding provided by this bill is designated as<br>emergency spending, which is exempt from discretionary spending limits and other budget<br>enforcement rules.  The bill includes appropriations for    the Depa..."],["To amend title 38, United States Code, to clarify presumptions relating to the exposure of<br>certain veterans who served in the vicinity of the Republic of Vietnam, and for other<br>purposes.","HR299","Blue Water Navy Vietnam Veterans Act of 2019 This bill addresses certain health benefit<br>and home loan programs for veterans.  Specifically, the bill extends the presumption of<br>service-connection for certain diseases associated with herbicide (e.g., Agent Orange)<br>exposure to veterans who served (1) offshore of Vietnam between January 9, 1962, and May<br>7, 1975, or (2) in or near the Korean Demilitarized Zone between September 1, 1967, and<br>August 31, 1971. Under a presumption of service-connectio..."],["To reauthorize the Bulletproof Vest Partnership Grant Program.","HR2379","This bill makes permanent the authority for the Bulletproof Vest Partnership (BVP)<br>Program. The BVP Program provides grants to states and localities to purchase body armor<br>vests for law enforcement officers. Additionally, the bill renames the BVP Program as the<br>Patrick Leahy Bulletproof Vest Partnership Grant Program."],["Providing for consideration of the bill (H.R. 5) to prohibit discrimination on the basis<br>of sex, gender identity, and sexual orientation, and for other purposes; providing for<br>consideration of the bill (H.R. 312) to reaffirm the Mashpee Wampanoag Tribe reservation,<br>and for other purposes; and providing for consideration of the bill (H.R. 987) to amend<br>the Patient Protection and Affordable Care Act to provide for Federal Exchange outreach<br>and educational activities.","HRES377","Sets forth the rule for consideration of the bill (H.R. 5) to prohibit discrimination on<br>the basis of sex, gender identity, and sexual orientation, and for other purposes;<br>providing for consideration of the bill (H.R. 312) to reaffirm the Mashpee Wampanoag Tribe<br>reservation, and for other purposes; and providing for consideration of the bill (H.R.<br>987) to amend the Patient Protection and Affordable Care Act to provide for Federal<br>Exchange outreach and educational activities."],["To reaffirm the Mashpee Wampanoag Tribe reservation, and for other purposes.","HR312","Mashpee Wampanoag Tribe Reservation Reaffirmation Act This bill reaffirms the Mashpee<br>Wampanoag Tribe reservation as trust land in Massachusetts. In addition, the bill requires<br>actions, including actions pending in federal court, relating to the land to be dismissed."],["To amend the Homeland Security Act of 2002 to make technical corrections to the<br>requirement that the Secretary of Homeland Security submit quadrennial homeland security<br>reviews, and for other purposes.","HR1892","Quadrennial Homeland Security Review Technical Corrections Act of 2019 This bill makes<br>numerous changes to the quadrennial homeland security reviews. The quadrennial homeland<br>security review is the Department of Homeland Security's capstone strategy document, which<br>offers recommendations on long-term strategy and priorities for homeland security.<br>Specifically, the changes are related to consultation, prioritization, resources required,<br>deadlines, and documentation."],["To amend the Patient Protection and Affordable Care Act to provide for Federal Exchange<br>outreach and educational activities.","HR987","Marketing and Outreach Restoration to Empower Health Education Act of 2019 or the MORE<br>Health Education Act This bill requires the Department of Health and Human Services (HHS)<br>to conduct outreach and educational activities regarding federally-facilitated exchanges<br>(i.e., health insurance exchanges that are established and operated within states by HHS).<br>The activities must inform potential enrollees of the availability of coverage and related<br>financial assistance under the exchanges and must..."],["To prohibit discrimination on the basis of sex, gender identity, and sexual orientation,<br>and for other purposes.","HR5","Equality Act This bill prohibits discrimination based on sex, sexual orientation, and<br>gender identity in a wide variety of areas including public accommodations and facilities,<br>education, federal funding, employment, housing, credit, and the jury system.<br>Specifically, the bill defines and includes sex, sexual orientation, and gender identity<br>among the prohibited categories of discrimination or segregation.  The bill expands the<br>definition of public accommodations to include places or establis..."],["Denouncing female genital mutilation/cutting as a violation of the human rights of women<br>and girls and urging the international community and the Federal Government to increase<br>efforts to eliminate the harmful practice.","HRES106","This resolution denounces female genital mutilation and cutting as human rights<br>violations. It also urges the Department of State and the U.S. Agency for International<br>Development to incorporate efforts to eliminate female genital mutilation and cutting and<br>calls on the international community to increase efforts to eliminate such practices."],["Providing for consideration of the bill (H.R. 1500) to require the Consumer Financial<br>Protection Bureau to meet its statutory purpose, and for other purposes; providing for<br>consideration of the bill (H.R. 1994) to amend the Internal Revenue Code of 1986 to<br>encourage retirement savings, and for other purposes; providing for proceedings during the<br>period from May 24, 2019, through May 31, 2019; and for other purposes.","HRES389","This resolution sets forth the rule for consideration of H.R. 1500 ( Consumers First Act)<br>and H.R. 1994 (Setting Every Community Up for Retirement Enhancement Act of 2019). Certain<br>proceedings may take place on any legislative day from May 24, 2019, through May 31, 2019.<br>It shall be in order at any time on the legislative day of May 23, 2019, for the Speaker<br>of the House to suspend the rules, relating to a measure making supplemental<br>appropriations for FY2019. The resolution waives a specifie..."],["To require the Consumer Financial Protection Bureau to meet its statutory purpose, and for<br>other purposes.","HR1500","Consumers First Act  This bill revises provisions related to the administration of the<br>Consumer Financial Protection Bureau (CFPB).  (Sec. 3) The bill amends all statutory<br>references to the \"Bureau of Consumer Financial Protection\" to refer instead to the<br>\"Consumer Financial Protection Bureau.\"  (Sec. 5) Specified units, offices, and boards of<br>the CFPB must perform their assigned duties and may not be renamed or reorganized. The<br>bill establishes requirements for staffing levels, political app..."],["To amend the Internal Revenue Code of 1986 to encourage retirement savings, and for other<br>purposes.","HR1994","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) (This measure has not been amended since it was introduced. The summary<br>has been expanded because action occurred on the measure.) (This measure has not been<br>amended since [it was reported to the House/Senate] [it was passed by the House/Senate]<br>[the Conference Report was filed in the House/Senate] on ____. The summary of that version<br>is repeated here.) (This measure has not been amended..."],["To extend the program of block grants to States for temporary assistance for needy<br>families and related programs through September 30, 2019.","HR2940","This bill extends appropriations through September 30, 2019, for Temporary Assistance for<br>Needy Families (TANF) program grants to states and related assistance grants to U.S.<br>territories such as Puerto Rico and the Virgin Islands."],["Providing for consideration of the bill (H.R. 6) to authorize the cancellation of removal<br>and adjustment of status of certain aliens, and for other purposes.","HRES415","Sets forth the rule for consideration of the bill (H.R. 6) to authorize the cancellation<br>of removal and adjustment of status of certain aliens."],["Remembering the victims of the violent suppression of democracy protests in Tiananmen<br>Square and elsewhere in China on June 3 and 4, 1989, and calling on the Government of the<br>People's Republic of China to respect the universally recognized human rights of all<br>people living in China and around the world.","HRES393","This resolution expresses support for the leaders of the peaceful Tiananmen pro-democracy<br>demonstrations in the spring of 1989 in Beijing, and expresses sympathy and solidarity<br>with the families of those killed, tortured, and imprisoned for their participation. It<br>also calls on the Chinese government to (1) support a full and transparent accounting of<br>its violent suppression of the protests, (2) cease censoring information about the<br>massacre, and (3) allow the protesters to return to China wi..."],["To authorize the cancellation of removal and adjustment of status of certain aliens, and<br>for other purposes.","HR6","American Dream and Promise Act of 2019 This bill cancels and prohibits removal proceedings<br>against certain aliens and provides such aliens with a path toward permanent resident<br>status. The Department of Homeland Security (DHS) or the Department of Justice (DOJ) shall<br>cancel removal proceedings against certain aliens who entered the United States as minors<br>and grant such aliens conditional permanent residence status for 10 years. The bill<br>imposes various qualification requirements, such as the..."],["To authorize Federal agencies to establish prize competitions for innovation or adaptation<br>management development relating to ocean acidification.","HR1921","Ocean Acidification Innovation Act of 2019 This bill authorizes a federal agency with a<br>representative serving on the Interagency Working Group on Ocean Acidification to carry<br>out a program that awards prizes competitively for innovative efforts to research or<br>respond to ocean acidification. Priority must be given to establishing programs that<br>address communities, environments, or industries that are in distress due to the impacts<br>of ocean acidification."],["To amend the Homeland Security Act of 2002 to establish the National Urban Security<br>Technology Laboratory, and for other purposes.","HR542","Supporting Research and Development for First Responders Act This bill directs the<br>Department of Homeland Security to designate the National Urban Security Technology<br>Laboratory as a science and technology laboratory responsible for testing and evaluating<br>emerging technologies and conducting research and development to assist emergency response<br>providers in preparing for, and protecting against, threats of terrorism. The laboratory<br>shall (1) conduct tests, evaluations, and assessments of curr..."],["To require the Secretary of Homeland Security to prioritize the assignment of certain<br>officers and intelligence analysts from the Transportation Security Administration and the<br>Office of Intelligence and Analysis of the Department of Homeland Security to locations<br>with participating State, local, and regional fusion centers in jurisdictions with a high-<br>risk surface transportation asset in order to enhance the security of such assets,<br>including by improving timely sharing of classified information regarding terrorist and<br>other threats, and for other purposes.","HR2539","Strengthening Local Transportation Security Capabilities Act of 2019 This bill addresses<br>threat information sharing and law enforcement training regarding the enhancement of<br>security for surface transportation assets. (A surface transportation asset includes<br>facilities, equipment, or systems used to provide transportation services by a public<br>transportation carrier, railroad carrier, or an entity offering scheduled, fixed-route<br>transportation services by bus.) Specifically, the bill  directs ..."],["Providing for consideration of the bill (H.R. 2740) making appropriations for the<br>Departments of Labor, Health and Human Services, and Education, and related agencies for<br>the fiscal year ending September 30, 2020, and for other purposes, and providing for<br>consideration of the resolution (H. Res. 430) authorizing the Committee on the Judiciary<br>to initiate or intervene in judicial proceedings to enforce certain subpoenas and for<br>other purposes.","HRES431","Sets forth the rule for consideration of the bill (H.R. 2740) making appropriations for<br>the Departments of Labor, Health and Human Services, and Education, and related agencies<br>for the fiscal year ending September 30, 2020, and for other purposes, and providing for<br>consideration of the resolution (H. Res. 430) authorizing the Committee on the Judiciary<br>to initiate or intervene in judicial proceedings to enforce certain subpoenas."],["Authorizing the Committee on the Judiciary to initiate or intervene in judicial<br>proceedings to enforce certain subpoenas and for other purposes.","HRES430","This resolution authorizes the House Committee on the Judiciary to initiate or intervene<br>in federal judicial proceedings to enforce compliance with certain subpoenas issued to<br>Attorney General William Barr and former White House Counsel Donald McGahn. Additionally,<br>the resolution provides explicit authority for each congressional committee, if authorized<br>by the Bipartisan Legal Advisory Group, to initiate or intervene in federal judicial<br>proceedings to enforce compliance with congressional su..."],["Making appropriations for the Departments of Labor, Health and Human Services, and<br>Education, and related agencies for the fiscal year ending September 30, 2020, and for<br>other purposes.","HR2740","Labor, Health and Human Services, Education, Defense, State, Foreign Operations, and<br>Energy and Water Development Appropriations Act, 2020 This bill provides FY2020<br>appropriations for several federal departments and agencies. It includes 4 of the 12<br>regular FY2020 appropriations bills:    the Departments of Labor, Health and Human<br>Services, and Education, and Related Agencies Appropriations Act, 2020; the Department of<br>Defense Appropriations Act, 2020; the Department of State, Foreign Operati..."],["Providing for further consideration of the bill (H.R. 2740) making appropriations for the<br>Departments of Labor, Heath and Human Services, and Education, and related agencies for<br>the fiscal year ending September 30, 2020, and for other purposes.","HRES436","This resolution sets forth the rule for consideration of \u00a0H.R. 2740 (Departments of Labor,<br>Health and Human Services, and Education, and Related Agencies Appropriations Act, 2020)."],["To provide for certain extensions with respect to the Medicaid program under title XIX of<br>the Social Security Act, and for other purposes.","HR3253","Sustaining Excellence in Medicaid Act of 2019 This bill extends several health care<br>programs and requirements and revises certain Medicare drug payment methodologies.  (Sec.<br>2) The bill temporarily extends the Medicaid demonstration program for certified community<br>behavioral health clinics. (Sec. 3) The bill also temporarily extends the applicability of<br>Medicaid eligibility criteria that protect against spousal impoverishment for recipients<br>of home- and community-based services. (Sec. 4) The ..."],["Providing for consideration of the bill (H.R. 3055) making appropriations for the<br>Departments of Commerce and Justice, Science, and Related Agencies for the fiscal year<br>ending September 30, 2020, and for other purposes; relating to consideration of the bill<br>(H.R. 2740) making appropriations for the Departments of Labor, Health and Human Services,<br>and Education, and related agencies for the fiscal year ending September 30, 2020, and for<br>other purposes; and providing for proceedings during the period from June 28, 2019,<br>through July 8, 2019.","HRES445","This resolution sets forth the rule for consideration of H.R. 3055 (Commerce, Justice,<br>Science, Agriculture, Rural Development, Food and Drug Administration, Interior,<br>Environment, Military Construction, Veterans Affairs, Transportation, and Housing and<br>Urban Development Appropriations Act, 2020) and H.R. 2740 (Departments of Labor, Health<br>and Human Services, and Education, and Related Agencies Appropriations Act, 2020). Certain<br>proceedings may take place on any legislative day from June 28, ..."],["Making appropriations for the Departments of Commerce and Justice, Science, and Related<br>Agencies for the fiscal year ending September 30, 2020, and for other purposes.","HR3055","Further Continuing Appropriations Act, 2020, and Further Health Extenders Act of 2019<br>This bill provides continuing FY2020 appropriations to federal agencies through December<br>20, 2019, and extends several expiring health programs.   It is known as a continuing<br>resolution (CR) and prevents a government shutdown that would otherwise occur if the<br>FY2020 appropriations bills have not been enacted when the existing CR expires after<br>November 21, 2019. The CR funds most programs and activities at t..."],["Providing for consideration of the bill (H.R. 2722) to protect elections for public office<br>by providing financial support and enhanced security for the infrastructure used to carry<br>out such elections, and for other purposes; waiving a requirement of clause 6(a) of rule<br>XIII with respect to consideration of certain resolutions reported from the Committee on<br>Rules; and providing for consideration of the bill (H.R. 3351) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2020,<br>and for other purposes.","HRES460","Sets forth the rule for consideration of the bill (H.R. 2722) to protect elections for<br>public office by providing financial support and enhanced security for the infrastructure<br>used to carry out such elections, and for other purposes; waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules; and providing for consideration of the bill (H.R. 3351) making<br>appropriations for financial services and general governme..."],["Providing for consideration of the bill (H.R. 3401) making emergency supplemental<br>appropriations for the fiscal year ending September 30, 2019, and for other purposes.","HRES462","Sets forth the rule for consideration of the bill (H.R. 3401) making emergency<br>supplemental appropriations for the fiscal year ending September 30, 2019."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2020, and for other purposes.","HR3351","Financial Services and General Government Appropriations Act, 2020 This bill provides<br>FY2020 appropriations for several federal departments and agencies, including  the<br>Department of the Treasury, the Executive Office of the President, the judiciary, the<br>District of Columbia, and several independent agencies.  The independent agencies funded<br>in the bill include  the Administrative Conference of the United States,   the Consumer<br>Product Safety Commission,   the Election Assistance Commission, ..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2019, and for other purposes.","HR3401","Emergency Supplemental Appropriations for Humanitarian Assistance and Security at the<br>Southern Border Act, 2019  This bill provides FY2019 emergency supplemental appropriations<br>to federal departments and agencies for humanitarian assistance and security to respond to<br>migrants attempting to enter the United States at the southern border.  The funding<br>provided by this bill is designated as emergency spending, which is exempt from<br>discretionary spending limits.  The bill provides appropriations ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 3401) making<br>emergency supplemental appropriations for the fiscal year ending September 30, 2019, and<br>for other purposes.","HRES466","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3401)<br>making emergency supplemental appropriations for the fiscal year ending September 30,<br>2019."],["To protect elections for public office by providing financial support and enhanced<br>security for the infrastructure used to carry out such elections, and for other purposes.","HR2722","Securing America's Federal Elections Act or the SAFE Act This bill addresses election<br>security through grant programs and requirements for voting systems and paper ballots. The<br>bill establishes requirements for voting systems, including that systems (1) use<br>individual, durable, voter-verified paper ballots; (2) make a voter's marked ballot<br>available for inspection and verification by the voter before the vote is cast; (3) ensure<br>that individuals with disabilities are given an equivalent oppor..."],["To amend the Securities and Exchange Act of 1934 to amend the definition of whistleblower.","HR2515","Whistleblower Protection Reform Act of 2019 This bill expands\u00a0the definition of a<br>whistleblower with regard to securities law violations. Specifically, the bill extends<br>protections from retaliation to individuals who (1) make disclosures to certain<br>individuals at their place of employment regarding conduct in violation of any law under<br>Securities and Exchange Commission (SEC) jurisdiction, (2) assist in an SEC investigation<br>of these violations, or (3) make disclosures that are required or pro..."],["To amend the Securities Exchange Act of 1934 to expand access to capital for rural-area<br>small businesses, and for other purposes.","HR2409","Expanding Access to Capital for Rural Job Creators Act This bill requires the Advocate for<br>Small Business Capital Formation within the Securities and Exchange Commission to report<br>on issues encountered by rural-area small businesses."],["Providing for consideration of the bill (H.R. 2500) to authorize appropriations for fiscal<br>year 2020 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes, and providing for consideration of motions to suspend the rules.","HRES476","This resolution sets forth the rule for consideration of\u00a0 H.R. 2500 (National Defense<br>Authorization Act for Fiscal Year 2020). Census Calendar requirements under Rule XV<br>(Business in Order on Special Days) are inapplicable with respect to consideration of H.R.<br>553 (Military Surviving Spouses Equity Act). It shall be in order at any time on the<br>legislative day of July 11, 2019, or July 12, 2019, for the Speaker of the House to<br>entertain motions to suspend the rules relating to H.R. 1327 (Never..."],["To amend the Immigration and Nationality Act to eliminate the per-country numerical<br>limitation for employment-based immigrants, to increase the per-country numerical<br>limitation for family-sponsored immigrants, and for other purposes.","HR1044","Fairness for High-Skilled Immigrants Act of 2019 This bill increases the per-country cap<br>on family-based immigrant visas from 7% of the total number of such visas available that<br>year to 15%, and eliminates the 7% cap for employment-based immigrant visas. It also<br>removes an offset that reduced the number of visas for individuals from China. The bill<br>also establishes transition rules for employment-based visas from FY2020-FY2022, by<br>reserving a percentage of EB-2 (workers with advanced degrees ..."],["To authorize appropriations for fiscal year 2020 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR2500","National Defense Authorization Act for Fiscal Year 2020 This bill authorizes FY2020<br>appropriations and sets forth policies for Department of Defense (DOD) programs and<br>activities, including military personnel strengths. It does not provide budget authority,<br>which is provided in subsequent appropriations legislation. The bill authorizes<br>appropriations to DOD for  Procurement, including aircraft, weapons and tracked combat<br>vehicles, shipbuilding and conversion, missiles, and space procurement; ..."],["To extend authorization for the September 11th Victim Compensation Fund of 2001 through<br>fiscal year 2090, and for other purposes.","HR1327","Never Forget the Heroes: James Zadroga, Ray Pfeifer, and Luis Alvarez Permanent<br>Authorization of the September 11th Victim Compensation Fund Act (Sec. 2) This bill funds<br>through FY2092 the September 11th Victim Compensation Fund of 2001. Additionally, the bill<br>modifies the Victim Compensation Fund (VCF):  to allow claims to be filed until October<br>2090,  to require VCF policies and procedures to be reassessed at least once every five<br>years (currently, at least once annually),  to require claim..."],["Condemning the attacks on peaceful protesters and supporting an immediate peaceful<br>transition to a civilian-led democratic government in Sudan.","HRES432","This resolution expresses support for the people of Sudan and their right to peacefully<br>assemble and express their demands for political change. It condemns the government of<br>Sudan's use of violence and arbitrary detention against peaceful protesters, and calls for<br>an immediate transfer of power by the military to an inclusive, civilian-led government."],["To encourage accountability for the murder of Washington Post columnist Jamal Khashoggi.","HR2037","Saudi Arabia Human Rights and Accountability Act of 2019 This bill requires the Office of<br>the Director of National Intelligence (ODNI) to report to Congress about the killing of<br>Washington Post columnist Jamal Khashoggi and imposes related sanctions. The report shall<br>present evidence about whether any current or former government official of Saudi Arabia<br>had advanced knowledge of the killing, ordered the killing, or was involved in tampering<br>with related evidence.  It shall also list foreign ..."],["Providing for consideration of the bill (H.R. 3494) to authorize appropriations for fiscal<br>year 2020 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; relating to the consideration of<br>House Report 116-125 and an accompanying resolution; relating to the consideration of<br>measures disapproving of sales, exports, or approvals pursuant to the Arms Export Control<br>Act; and providing for consideration of the resolution (H. Res. 489) condemning President<br>Trump's racist comments directed at Members of Congress.","HRES491","Sets forth the rule for consideration of the bill (H.R. 3494) to authorize appropriations<br>for fiscal year 2020 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; relating to the consideration of<br>House Report 116-125 and an accompanying resolution; relating to the consideration of<br>measures disapproving of sales, exports, or approvals..."],["Condemning President Trump's racist comments directed at Members of Congress.","HRES489","This resolution states that immigrants and their descendants have made America stronger<br>and naturalized citizens are just as American as those whose families have been in the<br>United States for generations. It also expresses a commitment to keep America open to<br>those who lawfully seek refuge from violence and oppression and those willing to work hard<br>to achieve the American Dream, regardless of race, ethnicity, faith, or country of origin.<br>The resolution strongly condemns as racist the Presid..."],["Impeaching Donald John Trump, President of the United States, of high misdemeanors.","HRES498","This resolution impeaches President Trump of high misdemeanors based on racist comments<br>that have legitimized and increased fear and hatred of new Americans and people of color."],["Providing for consideration of the bill (H.R. 582) to provide for increases in the Federal<br>minimum wage, and for other purposes.","HRES492","Sets forth the rule for consideration of the bill (H.R. 582) to provide for increases in<br>the Federal minimum wage."],["A joint resolution providing for congressional disapproval of the proposed transfer to the<br>Kingdom of Saudi Arabia, the United Kingdom of Great Britain and Northern Ireland, the<br>Kingdom of Spain, and the Italian Republic of certain defense articles and services.","SJRES36","This joint resolution prohibits the proposed sale of various defense articles and related<br>support services to Saudi Arabia, the United Kingdom, Spain, and Italy, as described in<br>Executive Communication 1427 published in the Congressional Record on June 3, 2019."],["A joint resolution providing for congressional disapproval of the proposed export to the<br>United Arab Emirates, the United Kingdom of Great Britain and Northern Ireland, and the<br>Republic of France of certain defense articles and services.","SJRES37","This joint resolution prohibits the proposed sale of various defense articles and related<br>support services to the United Arab Emirates, the United Kingdom, and France, as described<br>in Executive Communication 1425 and published in the Congressional Record on June 3, 2019."],["A joint resolution providing for congressional disapproval of the proposed export to the<br>Kingdom of Saudi Arabia and the United Kingdom of Great Britain and Northern Ireland of<br>certain defense articles and services.","SJRES38","This joint resolution prohibits the proposed sale of various defense articles and related<br>support services to Saudi Arabia and the United Kingdom, as described in Executive<br>Communication 1422 and published in the Congressional Record on June 3, 2019."],["Recommending that the House of Representatives find William P. Barr, Attorney General of<br>the United States, and Wilbur L. Ross, Jr., Secretary of Commerce, in contempt of Congress<br>for refusal to comply with subpoenas duly issued by the Committee on Oversight and Reform.","HRES497","This resolution finds Attorney General William P. Barr and Secretary of Commerce Wilbur L.<br>Ross, Jr. in contempt of Congress for failing to comply with certain subpoenas authorized<br>and issued by the House Committee on Oversight and Reform relating to the 2020 census. The<br>resolution states that Mr. Barr and Mr. Ross failed to produce documents in compliance<br>with subpoenas issued on April 2, 2019. The resolution also states that Mr. Barr ordered a<br>Department of Justice employee, John Gore, not ..."],["To authorize appropriations for fiscal year 2020 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR3494","Damon Paul Nelson and Matthew Young Pollard Intelligence Authorization Act for Fiscal<br>Years 2018, 2019, and 2020  This bill reauthorizes for FY2018-FY2020 intelligence<br>activities in various U.S. government departments and agencies. It also establishes<br>several intelligence-related programs and calls for reports on various topics. The bill<br>establishes a paid parental leave program for intelligence community employees. The<br>program provides 12 weeks of leave in the 12-month period following the b..."],["To amend the Internal Revenue Code of 1986 to repeal the excise tax on high cost employer-<br>sponsored health coverage.","HR748","Coronavirus Aid, Relief, and Economic Security Act or the CARES Act  This bill responds to<br>the COVID-19 (i.e., coronavirus disease 2019) outbreak and its impact on the economy,<br>public health, state and local governments, individuals, and businesses.  DIVISION A--<br>KEEPING WORKERS PAID AND EMPLOYED, HEALTH CARE SYSTEM ENHANCEMENTS, AND ECONOMIC<br>STABILIZATION This division establishes the Paycheck Protection Program to provide eight<br>weeks of cash flow assistance to small businesses through federa..."],["To provide for increases in the Federal minimum wage, and for other purposes.","HR582","Raise the Wage Act (Sec. 3) This bill amends the Fair Labor Standards Act of 1938 to<br>increase the federal minimum wage for regular employees over a 7-year period, for tipped<br>employees, and for newly hired employees who are less than 20 years old.  The bill<br>eliminates the separate minimum wage requirements for tipped and newly hired employees.<br>After a specified period, these employees shall be paid the same minimum wage as regular<br>employees. (Sec. 6) The bill sets forth a schedule of annual in..."],["Opposing efforts to delegitimize the State of Israel and the Global Boycott, Divestment,<br>and Sanctions Movement targeting Israel.","HRES246","This resolution opposes the Global Boycott, Divestment, and Sanctions Movement and other<br>efforts targeting Israel. The resolution urges both sides to return to direct negotiations<br>and expresses support for a solution resulting in the state of Israel existing alongside a<br>democratic Palestinian state. It also affirms the right of U.S. citizens to free speech,<br>including the right to protest or criticize U.S. or foreign government policies."],["To designate Venezuela under section 244 of the Immigration and Nationality Act to permit<br>nationals of Venezuela to be eligible for temporary protected status under such section,<br>and for other purposes.","HR549","Venezuela TPS Act of 2019  This bill addresses the migration of Venezuelan nationals by<br>permitting them to qualify for temporary protected status, which prevents their removal<br>from the United States and allows them to obtain employment and travel authorization."],["To exempt for an additional 4-year period, from the application of the means-test<br>presumption of abuse under chapter 7, qualifying members of reserve components of the<br>Armed Forces and members of the National Guard who, after September 11, 2001, are called<br>to active duty or to perform a homeland defense activity for not less than 90 days.","HR3304","National Guard and Reservists Debt Relief Extension Act of 2019 This bill extends for an<br>additional four years the exemption from the means test under Chapter 7 bankruptcy for<br>qualifying members of an Armed Forces reserve component or the National Guard.<br>Specifically, members who, after September 11, 2001, are called to active duty or to<br>perform a homeland defense activity for not less than 90 days qualify for this exemption.<br>Currently, the exemption expires on December 19, 2019."],["Providing for consideration of the bill (H.R. 397) to amend the Internal Revenue Code of<br>1986 to create a Pension Rehabilitation Trust Fund, to establish a Pension Rehabilitation<br>Administration within the Department of the Treasury to make loans to multiemployer<br>defined benefit plans, and for other purposes; providing for consideration of the bill<br>(H.R. 3239) to require U.S. Customs and Border Protection to perform an initial health<br>screening on detainees, and for other purposes; providing for proceedings during the<br>period from July 29, 2019, through September 6, 2019; and for other purposes.","HRES509","This resolution sets forth the rule for consideration of H.R. 397 (Rehabilitation for<br>Multiemployer Pensions Act), H.R. 3239 (Humanitarian Standards for Individuals in Customs<br>and Border Protection Custody Act), and adopts H.Res. 507 (ratifies and affirms current<br>and future House investigations and subpoenas related to the President). It shall be in<br>order at any time on the legislative day of July 25, 2019, or July 26, 2019, for the<br>Speaker of the House to suspend the rules. Certain proceedin..."],["To amend the Internal Revenue Code of 1986 to create a Pension Rehabilitation Trust Fund,<br>to establish a Pension Rehabilitation Administration within the Department of the Treasury<br>to make loans to multiemployer defined benefit plans, and for other purposes.","HR397","Rehabilitation for Multiemployer Pensions Act of 2019 This bill establishes the Pension<br>Rehabilitation Administration within the Department of the Treasury and a related trust<br>fund to make loans to certain multiemployer defined benefit pension plans.  To receive a<br>loan, a plan must be (1) in critical and declining status, including any plan with respect<br>to which a suspension of benefits has been approved; (2) in critical status, have a<br>modified funded percentage of less than 40%, and have a r..."],["To require U.S. Customs and Border Protection to perform an initial health screening on<br>detainees, and for other purposes.","HR3239","Humanitarian Standards for Individuals in Customs and Border Protection Custody Act This<br>bill imposes requirements and standards related to the care of aliens in U.S. Customs and<br>Border Protection (CBP) custody. CBP shall conduct an initial health screening of each<br>alien in custody to identify those with acute conditions and high-risk vulnerabilities and<br>to provide appropriate healthcare. CBP shall conduct the screening within 12 hours of each<br>alien's arrival at a CBP facility, and within 6 h..."],["Providing for consideration of the bill (H.R. 3877) to amend the Balanced Budget and<br>Emergency Deficit Control Act of 1985, to establish a congressional budget for fiscal<br>years 2020 and 2021, to temporarily suspend the debt limit, and for other purposes;<br>providing for consideration of the bill (H.R. 549) to designate Venezuela under section<br>244 of the Immigration and Nationality Act to permit nationals of Venezuela to be eligible<br>for temporary protected status under such section, and for other purposes; and waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES519","Sets forth the rule for consideration of the bill (H.R. 3877) to amend the Balanced Budget<br>and Emergency Deficit Control Act of 1985, to establish a congressional budget for fiscal<br>years 2020 and 2021, to temporarily suspend the debt limit, and for other purposes;<br>providing for consideration of the bill (H.R. 549) to designate Venezuela under section<br>244 of the Immigration and Nationality Act to permit nationals of Venezuela to be eligible<br>for temporary protected status under such section, an..."],["To amend the Horse Protection Act to designate additional unlawful acts under the Act,<br>strengthen penalties for violations of the Act, improve Department of Agriculture<br>enforcement of the Act, and for other purposes.","HR693","U.S. Senator Joseph D. Tydings Memorial Prevent All Soring Tactics Act of 2019 or the PAST<br>Act  This bill addresses the practice of soring horses. The soring of horses includes<br>various actions taken on horses' limbs to produce higher gaits that may cause pain,<br>distress, inflammation, or lameness. Specifically, the bill expands soring regulation and<br>enforcement at horse shows, exhibitions, sales, and auctions, including by establishing a<br>new system for inspecting horses for soring.  The Depart..."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985, to establish a<br>congressional budget for fiscal years 2020 and 2021, to temporarily suspend the debt<br>limit, and for other purposes.","HR3877","Bipartisan Budget Act of 2019  This bill increases discretionary spending limits, suspends<br>the debt limit, and modifies budget enforcement procedures.  The bill increases the FY2020<br>and FY2021 discretionary spending limits for defense and nondefense spending. The bill<br>also (1) specifies limits for Overseas Contingency Operations funding, which is exempt<br>from discretionary spending limits; and (2) requires the FY2020 discretionary spending<br>limits to be adjusted to accommodate specified funding..."],["To amend the Energy Independence and Security Act of 2007 to promote energy efficiency via<br>information and computing technologies, and for other purposes.","HR1420","Energy Efficient Government Technology Act  This bill sets forth requirements with respect<br>to increasing the energy efficiency of information technologies and data centers within<br>the federal government.  Specifically, this bill requires each federal agency to<br>coordinate with the Office of Management and Budget, the Department of Energy (DOE), and<br>the Environmental Protection Agency to develop an implementation strategy for the<br>maintenance, purchase, and use of energy-efficient and energy-savi..."],["To reauthorize subtitle G of title VII of the Energy Policy Act of 2005, relating to<br>diesel emissions reduction, and for other purposes.","HR1768","Diesel Emissions Reduction Act of 2019  This bill reauthorizes through FY2024 a diesel<br>emissions reduction program under which the Environmental Protection Agency provides<br>grants, rebates, or loans for replacing diesel engines or retrofitting the engines with<br>pollution control technologies."],["Providing for consideration of the bill (H.R. 205) to amend the Gulf of Mexico Energy<br>Security Act of 2006 to permanently extend the moratorium on leasing in certain areas of<br>the Gulf of Mexico; providing for consideration of the bill (H.R. 1146) to amend Public<br>Law 115-97 (commonly known as the Tax Cuts and Jobs Act) to repeal the Arctic National<br>Wildlife Refuge oil and gas program, and for other purposes; and providing for<br>consideration of the bill (H.R. 1941) to amend the Outer Continental Shelf Lands Act to<br>prohibit the Secretary of the Interior including in any leasing program certain planning<br>areas, and for other purposes.","HRES548","Sets forth the rule for consideration of the bill (H.R. 205) to amend the Gulf of Mexico<br>Energy Security Act of 2006 to permanently extend the moratorium on leasing in certain<br>areas of the Gulf of Mexico; providing for consideration of the bill (H.R. 1146) to amend<br>Public Law 115-97 (commonly known as the Tax Cuts and Jobs Act) to repeal the Arctic<br>National Wildlife Refuge oil and gas program, and for other purposes; and providing for<br>consideration of the bill (H.R. 1941) to amend the Outer C..."],["To amend the National Housing Act to authorize State-licensed appraisers to conduct<br>appraisals in connection with mortgages insured by the FHA and to require compliance with<br>the existing appraiser education requirement, and for other purposes.","HR2852","Homebuyer Assistance Act of 2019  This bill modifies requirements for appraisers of<br>Federal Housing Administration-insured mortgages. Currently, an appraiser must be<br>certified by certain state or national entities. The bill removes the national<br>entities\u00a0from the list of approved certification entities and allows an appraiser for a<br>mortgage for single-family housing to be state-licensed rather than state-certified to<br>meet requirements. The bill also provides specified educational requirements ..."],["To amend the Outer Continental Shelf Lands Act to prohibit the Secretary of the Interior<br>including in any leasing program certain planning areas, and for other purposes.","HR1941","Coastal and Marine Economies Protection Act  This bill prohibits the Department of the<br>Interior from offering any tract for oil and gas leasing or preleasing in the Atlantic<br>Outer Continental Shelf planning area (North Atlantic, Mid-Atlantic, South Atlantic, and<br>the Straits of Florida) or the Pacific Outer Continental Shelf planning area<br>(Washington/Oregon, Northern California, Central California, and Southern California)."],["To amend Public Law 115-97 (commonly known as the Tax Cuts and Jobs Act) to repeal the<br>Arctic National Wildlife Refuge oil and gas program, and for other purposes.","HR1146","Arctic Cultural and Coastal Plain Protection Act (Sec. 2) This bill prohibits the Bureau<br>of Land Management from administering an oil and gas leasing, development, production, and<br>transportation program in and from the Coastal Plain of the Arctic National Wildlife<br>Refuge in Alaska. (Sec. 3) The bill establishes permanent fees that the Department of the<br>Interior must collect from the operators of offshore oil and gas facilities subject to<br>inspection under current law, including inspection fees..."],["Providing for consideration of the bill (H.R. 1423) to amend title 9 of the United States<br>Code with respect to arbitration; waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules; and<br>providing for consideration of motions to suspend the rules.","HRES558","This resolution sets forth the rule for consideration of H.R. 1423 (Forced Arbitration<br>Injustice Repeal Act). The resolution waives a specified requirement of Rule XIII<br>(Calendar and Committee Reports) to allow consideration of any resolution reported from<br>the Committee on Rules through the legislative day of September 20, 2019, relating to a<br>measure making or continuing appropriations for FY2020.  It shall be in order at any time<br>on the legislative day of September 19, 2019, or September 20,..."],["Providing for consideration of the bill (H.R. 4378) making continuing appropriations for<br>fiscal year 2020, and for other purposes.","HRES564","Sets forth the rule for consideration of the bill (H.R. 4378) making continuing<br>appropriations for fiscal year 2020."],["Making continuing appropriations for fiscal year 2020, and for other purposes.","HR4378","Continuing Appropriations Act, 2020, and Health Extenders Act of 2019  This bill provides<br>FY2020 continuing appropriations to federal agencies through November 21, 2019.  It is<br>known as a continuing resolution (CR) and prevents a government shutdown that would<br>otherwise occur when FY2020 begins on October 1, 2019, if the 12 regular appropriations<br>bills that fund the federal government for FY2020 have not been enacted.  The CR funds<br>most projects and activities at the FY2019 levels with severa..."],["To amend title 9 of the United States Code with respect to arbitration.","HR1423","Forced Arbitration Injustice Repeal Act or the FAIR Act This bill prohibits a predispute<br>arbitration agreement from being valid or enforceable if it requires arbitration of an<br>employment, consumer, antitrust, or civil rights dispute."],["To authorize humanitarian assistance and impose sanctions with respect to human rights<br>abuses in Burma, and for other purposes.","HR3190","Burma Unified through Rigorous Military Accountability Act of 2019 or the BURMA Act of<br>2019 This act imposes sanctions, authorizes assistance, and requires the establishment of<br>various programs and strategies related to Burma (Myanmar). The President shall impose<br>sanctions against current or former officials who are responsible for or who\u00a0supported<br>serious human rights abuses in Burma, as well as against entities controlled by such<br>officials and military-linked entities that provide such offi..."],["Providing for consideration of the bill (H.R. 2203) to increase transparency,<br>accountability, and community engagement within the Department of Homeland Security,<br>provide independent oversight of border security activities, improve training for agents<br>and officers of U.S. Customs and Border Protection and U.S. Immigration and Customs<br>Enforcement, and for other purposes; providing for consideration of the bill (H.R. 3525)<br>to amend the Homeland Security Act of 2002 to direct the Commissioner of U.S. Customs and<br>Border Protection to establish uniform processes for medical screening of individuals<br>interdicted between ports of entry, and for other purposes; providing for consideration of<br>the resolution (H. Res. 576) expressing the sense of the House of Representatives with<br>respect to the whistleblower complaint of August 12, 2019, made to the Inspector General<br>of the Intelligence Community; and for other purposes.","HRES577","This resolution provides for consideration of H.R. 2203 (Homeland Security Improvement<br>Act), H.R. 3525 (U.S. Border Patrol Medical Screening Standards Act), and H.Res. 576<br>(demanding certain action to be taken with respect to the whistle-blower complaint<br>received by the Office of the Inspector General of the Intelligence Community on August<br>12, 2019). It shall be in order for the Speaker of the House to suspend the rules at any<br>time on the legislative day of September 26, 2019.  Certain proce..."],["To create protections for depository institutions that provide financial services to<br>cannabis-related legitimate businesses and service providers for such businesses, and for<br>other purposes.","HR1595","Secure and Fair Enforcement Banking Act of 2019 or the SAFE Banking Act of 2019 This bill<br>generally prohibits a federal banking regulator from penalizing a depository institution<br>for providing banking services to a legitimate marijuana- or hemp-related business.<br>Specifically, the bill prohibits a federal banking regulator from (1) terminating or<br>limiting the deposit insurance or share insurance of a depository institution solely<br>because the institution\u00a0provides financial services to a legitim..."],["To increase transparency, accountability, and community engagement within the Department<br>of Homeland Security, provide independent oversight of border security activities, improve<br>training for agents and officers of U.S. Customs and Border Protection and U.S.<br>Immigration and Customs Enforcement, and for other purposes.","HR2203","This bill establishes the position of Ombudsman for Border and Immigration Related<br>Concerns within the Department of Homeland Security (DHS). The ombudsman shall   establish<br>an independent, neutral, and standardized process to assist individuals in resolving<br>complaints related to U.S. Customs and Border Protection (CBP), U.S. Immigration and<br>Customs Enforcement (ICE), and related entities;  make recommendations to DHS to address<br>chronic issues identified in the complaints process;  establish ..."],["Expressing the sense of the House of Representatives with respect to the whistleblower<br>complaint of August 12, 2019, made to the Inspector General of the Intelligence Community.","HRES576","This resolution demands immediate transmittal to the congressional intelligence committees<br>of the whistle-blower complaint received by the Office of the Inspector General of the<br>Intelligence Community on August 12, 2019."],["Providing for consideration of the joint resolution (S.J. Res. 54) relating to a national<br>emergency declared by the President on February 15, 2019.","HRES591","Sets forth the rule for consideration of the joint resolution (S.J. Res. 54) relating to a<br>national emergency declared by the President on February 15, 2019."],["To amend the Homeland Security Act of 2002 to direct the Commissioner of U.S. Customs and<br>Border Protection to establish uniform processes for medical screening of individuals<br>interdicted between ports of entry, and for other purposes.","HR3525","U.S. Border Patrol Medical Screening Standards Act The bill directs the Department of<br>Homeland Security (DHS) to (1) research and report to Congress new approaches to improve<br>procedures for providing medical screening of individuals interdicted by U.S. Customs and<br>Border Protection between ports of entry and recommend any necessary corrective actions,<br>and (2) establish an electronic health record system containing the records of individuals<br>in DHS custody that can be accessed by all relevant ..."],["To amend the Homeland Security Act of 2002 to authorize a Joint Task Force to enhance<br>integration of the Department of Homeland Security's border security operations to detect,<br>interdict, disrupt, and prevent narcotics, such as fentanyl and other synthetic opioids,<br>from entering the United States, and for other purposes.","HR3722","Joint Task Force to Combat Opioid Trafficking Act of 2019 This bill authorizes the<br>Department of Homeland Security (DHS) to establish a joint task force to enhance border<br>security operations to detect, interdict, disrupt, and prevent narcotics such as fentanyl<br>and other synthetic opioids from entering the United States. DHS shall report to Congress<br>as to whether it will establish such a task force. If such a task force is established,<br>DHS shall periodically report to Congress on issues such a..."],["To permit the Secretary of Veterans Affairs to establish a grant program to conduct<br>cemetery research and produce educational materials for the Veterans Legacy Program.","HR2385","This bill authorizes the Department of Veterans Affairs (VA) to establish a grant program<br>to conduct cemetery research and produce educational materials for the Veterans Legacy<br>Program. The program provides the public with engagement and educational opportunities<br>regarding veterans interred in national, state, or tribal veterans' cemeteries.<br>Additionally, the bill requires the VA to report on the efficacy of the grant program."],["To amend title 38, United States Code, to ensure that children of homeless veterans are<br>included in the calculation of the amounts of certain per diem grants.","HR95","Homeless Veteran Families Act This bill updates the Department of Veterans Affairs per<br>diem payment calculation for entities furnishing services to homeless veterans to include<br>funding for a minor dependent. The rate for per diem payments is the daily cost of care as<br>estimated by the grant recipient or eligible entity. This bill would expand the per diem<br>payment amount for a homeless veteran who has care of a minor dependent to the daily cost<br>of care plus, for each minor dependent, an amount ..."],["Providing for consideration of the bill (H.R. 1815) to require the Securities and Exchange<br>Commission, when developing rules and regulations about disclosures to retail investors,<br>to conduct investor testing, including a survey and interviews of retail investors, and<br>for other purposes, and providing for consideration of the bill (H.R. 3624) to amend the<br>Securities Exchange Act of 1934 to require the disclosure of the total number of domestic<br>and foreign employees of certain public companies, and for other purposes.","HRES629","This resolution sets forth the rule for consideration of H.R. 1815 (SEC Disclosure<br>Effectiveness Testing Act) and H.R. 3624 (Outsourcing Accountability Act of 2019)."],["Opposing the decision to end certain United States efforts to prevent Turkish military<br>operations against Syrian Kurdish forces in Northeast Syria.","HJRES77","This resolution expresses Congress's opposition to the decision to end U.S. efforts to<br>prevent Turkey's military operations against Kurdish forces in northeast Syria. It also<br>calls on (1) Turkey to immediately cease unilateral military action in northeast Syria and<br>respect existing agreements, (2) the United States to continue supporting Syrian Kurdish<br>communities through military and humanitarian support and ensure that the Turkish military<br>acts with restraint, and (3) the White House to pre..."],["To require the Securities and Exchange Commission, when developing rules and regulations<br>about disclosures to retail investors, to conduct investor testing, including a survey and<br>interviews of retail investors, and for other purposes.","HR1815","SEC Disclosure Effectiveness Testing Act  This bill requires the Securities and Exchange<br>Commission (SEC) to assess the usefulness of certain disclosure rules to\u00a0retail investors.<br>Specifically, the SEC must make these assessments\u00a0regarding both current and new<br>securities rules and regulations that require the disclosure of documents or information<br>to retail investors."],["To amend the Securities Exchange Act of 1934 to require the disclosure of the total number<br>of domestic and foreign employees of certain public companies, and for other purposes.","HR3624","Outsourcing Accountability Act of 2019 This bill requires an issuer that is registered<br>with the Securities and Exchange Commission to disclose specified information related to<br>the number of domestic and foreign employees of the issuer and its subsidiaries. An issuer<br>that is an emerging growth company (in general, a newly public company with revenues\u00a0below<br>a\u00a0specified threshold) shall be exempt from the bill's\u00a0disclosure requirement."],["To amend the Small Business Act to improve the small business development centers program,<br>and for other purposes.","HR4406","Small Business Development Centers Improvement Act of 2019 This bill reauthorizes the<br>Small Business Development Center Program through FY2023 and otherwise revises the<br>program. Specifically, the bill (1) generally prohibits\u00a0entities other than institutions<br>of higher education from receiving grants under the program; (2)\u00a0allows centers to collect<br>fees related to partnerships\u00a0or sponsorships;\u00a0(3) authorizes centers to market their<br>services directly to small businesses; and (4)\u00a0modifies or esta..."],["Providing for consideration of the bill (H.R. 2513) to ensure that persons who form<br>corporations or limited liability companies in the United States disclose the beneficial<br>owners of those corporations or limited liability companies, in order to prevent<br>wrongdoers from exploiting United States corporations and limited liability companies for<br>criminal gain, to assist law enforcement in detecting, preventing, and punishing<br>terrorism, money laundering, and other misconduct involving United States corporations and<br>limited liability companies, and for other purposes.","HRES646","This resolution sets forth the rule for consideration of H.R. 2513 (Corporate Transparency<br>Act of 2019)."],["To ensure that persons who form corporations or limited liability companies in the United<br>States disclose the beneficial owners of those corporations or limited liability<br>companies, in order to prevent wrongdoers from exploiting United States corporations and<br>limited liability companies for criminal gain, to assist law enforcement in detecting,<br>preventing, and punishing terrorism, money laundering, and other misconduct involving<br>United States corporations and limited liability companies, and for other purposes.","HR2513","This bill generally addresses the disclosure of corporate ownership and the prevention of<br>money laundering and the financing of terrorism. DIVISION A--CORPORATE TRANSPARENCY ACT OF<br>2019  Corporate Transparency Act of 2019  This division requires certain new and existing<br>small corporations and limited liability companies to disclose information about their<br>beneficial owners. A beneficial owner is an individual who (1) exercises substantial<br>control over a corporation or limited liability compan..."],["To amend title 17, United States Code, to establish an alternative dispute resolution<br>program for copyright small claims, and for other purposes.","HR2426","Copyright Alternative in Small-Claims Enforcement Act of 2019 or the CASE Act of 2019 This<br>bill creates the Copyright Claims Board, a body within the U.S. Copyright Office, to<br>decide copyright disputes. Damages awarded by the board are capped at $30,000.<br>Participation in board proceedings is voluntary with an opt-out procedure for defendants,<br>and parties may choose instead to have a dispute heard in court. If the parties agree to<br>have their dispute heard by the board, they shall forego the r..."],["Providing for consideration of the bill (H.R. 4617) to amend the Federal Election Campaign<br>Act of 1971 to clarify the obligation to report acts of foreign election influence and<br>require implementation of compliance and reporting systems by Federal campaigns to detect<br>and report such acts, and for other purposes.","HRES650","This resolution sets forth the rule for consideration of H.R. 4617 (Stopping Harmful<br>Interference in Elections for a Lasting Democracy Act or the SHIELD Act)."],["To amend the Federal Election Campaign Act of 1971 to clarify the obligation to report<br>acts of foreign election influence and require implementation of compliance and reporting<br>systems by Federal campaigns to detect and report such acts, and for other purposes.","HR4617","Stopping Harmful Interference in Elections for a Lasting Democracy Act or the SHIELD Act<br>This bill establishes a duty to report election interference from foreign entities,<br>applies existing campaign advertising requirements to online advertisements, and generally<br>limits political spending and election interference by foreign entities.  Specifically, a<br>political committee must report certain foreign contacts involving an offer of unlawful<br>election assistance to the Federal Bureau of Investiga..."],["To reauthorize programs authorized under the Debbie Smith Act of 2004.","HR777","Debbie Smith Reauthorization Act of 2019 This bill reauthorizes grants that support state<br>and local efforts to process DNA evidence in rape kits. Specifically, it reauthorizes<br>through FY2024 the following:  grants under the Debbie Smith DNA Backlog Grant Program;<br>grants to provide DNA training and education for law enforcement personnel, corrections<br>personnel, and court officers; and grants under the Sexual Assault Forensic Exam Program."],["To provide for the use of funds in the Harbor Maintenance Trust Fund for the purposes for<br>which the funds were collected and to ensure that funds credited to the Harbor Maintenance<br>Trust Fund are used to support navigation, and for other purposes.","HR2440","Full Utilization of the Harbor Maintenance Trust Fund Act This bill provides a<br>discretionary spending limit adjustment for full utilization of the Harbor Maintenance<br>Trust Fund to ensure that funds are used to support navigation and maintain federally<br>authorized harbors. The bill makes certain amounts in the trust fund available, without<br>appropriation, to pay  100% of the eligible operations and maintenance costs of specified<br>portions of the Saint Lawrence Seaway (a system of locks, canals, a..."],["To amend title XI of the Social Security Act to provide greater transparency of discounts<br>provided by drug manufacturers.","HR2115","Public Disclosure of Drug Discounts and Real-Time Beneficiary Drug Cost Act This bill<br>requires the Centers for Medicare &amp; Medicaid Services (CMS) to publish certain payment<br>information regarding pharmacy benefit managers (PBMs) and prescription drugs.<br>Specifically, the CMS must publish certain information, as reported by PBMs, relating to<br>generic dispensing rates, drug discounts and rebates, and payments between PBMs, health<br>plans, and pharmacies, in accordance with specified confidential..."],["Providing for consideration of the resolution (H. Res. 296) affirming the United States<br>record on the Armenian Genocide.","HRES655","This resolution sets forth the rule for consideration of H.Res. 296 (affirming the United<br>States record on the Armenian Genocide)."],["Providing for consideration of the bill (H.R. 823) to provide for the designation of<br>certain wilderness areas, recreation management areas, and conservation areas in the State<br>of Colorado, and for other purposes; providing for consideration of the bill (H.R. 1373)<br>to protect, for current and future generations, the watershed, ecosystem, and cultural<br>heritage of the Grand Canyon region in the State of Arizona, and for other purposes;<br>providing for consideration of the bill (H.R. 2181) to provide for the withdrawal and<br>protection of certain Federal land in the State of New Mexico; and providing for<br>proceedings during the period from November 1, 2019, through November 11, 2019.","HRES656","This resolution sets forth the rule for consideration of H.R. 823 (Colorado Outdoor<br>Recreation and Economy Act), H.R. 1373 (Grand Canyon Centennial Protection Act), and H.R.<br>2181 (Chaco Cultural Heritage Area Protection Act of 2019). Certain proceedings may take<br>place on any legislative day from November 1, 2019, through November 11, 2019."],["Affirming the United States record on the Armenian Genocide.","HRES296","This resolution states that it is U.S. policy to (1) commemorate the Armenian Genocide,<br>the killing of 1.5 million Armenians by the Ottoman Empire from 1915 to 1923; (2) reject<br>efforts to associate the U.S. government with efforts to deny the existence of the<br>Armenian Genocide or any genocide; and (3) encourage education and public understanding<br>about the Armenian Genocide."],["To impose sanctions with respect to Turkey, and for other purposes.","HR4695","Protect Against Conflict by Turkey Act or the PACT Act This bill addresses Turkey's<br>military invasion of northern Syria.  The President shall impose visa- and asset-blocking<br>sanctions on specific Turkish officials connected to the invasion. The Department of State<br>shall report on (1) other Turkish officials involved with the invasion; and (2) foreign<br>persons that\u00a0knowingly provided defense articles, services, or technology to Turkey that<br>could be used in the invasion. Such foreign persons\u00a0sha..."],["To provide for the withdrawal and protection of certain Federal land in the State of New<br>Mexico.","HR2181","Chaco Cultural Heritage Area Protection Act of 2019 This bill withdraws any federal lands<br>and interests that are within the boundaries of the Chaco Cultural Heritage Withdrawal<br>Area and any land or interest located in such area which is acquired by the United States<br>after enactment of this bill from   entry, appropriation, and disposal under the public<br>land laws;  location, entry, and patent under the mining laws; and  operation of the<br>mineral leasing, mineral materials, and geothermal leasin..."],["To protect, for current and future generations, the watershed, ecosystem, and cultural<br>heritage of the Grand Canyon region in the State of Arizona, and for other purposes.","HR1373","Grand Canyon Centennial Protection Act This bill withdraws 1,006,545 acres of federal<br>lands in Arizona, including any land or interest in land acquired by the United States<br>after enactment of this bill, from   entry, appropriation, and disposal under the public<br>land laws;  location, entry, and patent under the mining laws; and  operation of the<br>mineral leasing and geothermal leasing laws and mineral materials laws."],["Directing certain committees to continue their ongoing investigations as part of the<br>existing House of Representatives inquiry into whether sufficient grounds exist for the<br>House of Representatives to exercise its Constitutional power to impeach Donald John<br>Trump, President of the United States of America, and for other purposes.","HRES660","This resolution directs the Permanent Select Committee on Intelligence and the Committees<br>on Financial Services, Foreign Affairs, the Judiciary, Oversight and Reform, and Ways and<br>Means to continue their ongoing investigations as part of the existing House of<br>Representatives inquiry into whether sufficient grounds exist for the House to impeach<br>President Trump. The resolution authorizes (1) the Permanent Select Committee on<br>Intelligence to conduct investigative proceedings, and (2) the chair ..."],["To provide for the designation of certain wilderness areas, recreation management areas,<br>and conservation areas in the State of Colorado, and for other purposes.","HR823","Colorado Outdoor Recreation and Economy Act This bill provides for the conservation of<br>specified lands in Colorado.  Specifically, the bill designates  specified federal lands<br>within the White River National Forest as components of the National Wilderness<br>Preservation System, the proposed Williams Fork Mountains Wilderness as a potential<br>wilderness area,  the Tenmile Recreation Management Area,  the Porcupine Gulch Wildlife<br>Conservation Area,  the Williams Fork Mountains Wildlife Conservation..."],["To amend title 38, United States Code, to provide for increased access to Department of<br>Veterans Affairs medical care for women veterans.","HR3224","This bill requires the Department of Veterans Affairs (VA) to ensure that gender-specific<br>services are continuously available at every VA medical center and community-based<br>outpatient clinic. Additionally, the VA must conduct a study, interviewing women veterans<br>and employees, to assess the need for and use of extended hours as a means of reducing<br>barriers to care."],["To amend the Small Business Act to codify the Boots to Business Program, and for other<br>purposes.","HR3537","Veteran Entrepreneurship Training Act of 2019 This bill\u00a0provides statutory authority<br>for\u00a0the Boots to Business Program, which provides entrepreneurship training to individuals<br>including veterans and active members of the Armed Forces,\u00a0to be administered by the Small<br>Business Administration."],["To require the Comptroller General of the United States to report on access to credit for<br>small business concerns owned and controlled by covered individuals, to require the<br>Administrator of the Small Business Administration to report on the veterans interagency<br>task force, and for other purposes.","HR3734","Successful Entrepreneurship for Reservists and Veterans Act or the SERV Act This bill<br>requires (1) the Small Business Administration to report on the veterans interagency task<br>force; and (2) the Government Accountability Office to report on access to credit for<br>small businesses owned and controlled by veterans, Reservists, or their spouses."],["Providing for consideration of the bill (H.R. 4863) to promote the competitiveness of the<br>United States, to reform and reauthorize the United States Export Finance Agency, and for<br>other purposes; and for other purposes.","HRES695","This resolution sets forth the rule for consideration of H.R. 4863 (United States Export<br>Finance Agency Act of 2019). Additionally, the resolution adopts H.Res. 661 (authorizing<br>the Office of General Counsel of the House to retain private counsel, either for pay or<br>pro bono, in support of the ongoing inquiry into whether sufficient grounds exist for the<br>House to impeach President Trump) and H.Res. 693 (authorizing the Director of the Office<br>of Diversity and Inclusion and the Director of the O..."],["To authorize the Secretary of Housing and Urban Development to provide disaster assistance<br>to States, Puerto Rico, units of general local government, and Indian tribes under a<br>community development block grant disaster recovery program, and for other purposes.","HR3702","Reforming Disaster Recovery Act of 2019 This bill provides statutory authority for certain<br>procedures related to the Community Development Block Grant - Disaster Recovery (CDBR-DR)<br>Program and adds new program requirements, including with respect to coordination of<br>benefits, precertification for grant assistance, and allocation of grant funds.<br>Additionally, the bill expands CDBG-DR assistance to Puerto Rico. Finally, the bill<br>establishes the Community Development Block Grant Disaster Recovery..."],["To reauthorize the Terrorism Risk Insurance Act of 2002, and for other purposes.","HR4634","Terrorism Risk Insurance Program Reauthorization Act of 2019  This bill reauthorizes<br>through 2027 the Terrorism Risk Insurance Program within the Department of the Treasury.<br>The Government Accountability Office must report on insurance coverage of cyberterrorism."],["To amend the Securities Exchange Act of 1934 to allow the Securities and Exchange<br>Commission to seek and Federal courts to grant disgorgement of unjust enrichment, and for<br>other purposes.","HR4344","Investor Protection and Capital Markets Fairness Act This bill provides statutory<br>authority for\u00a0the Securities and Exchange Commission (SEC) to seek disgorgement (i.e.,<br>repayment) as a remedy for unjust enrichment gained through a securities law violation. It<br>also allows the SEC to seek certain injunctive relief."],["Providing for consideration of the Senate amendment to the bill (H.R. 3055) making<br>appropriations for the Departments of Commerce and Justice, Science, and Related Agencies<br>for the fiscal year ending September 30, 2020, and for other purposes.","HRES708","This resolution sets forth the rule for consideration of the Senate amendment to H.R. 3055<br>(Further Continuing Appropriations Act, 2020, and Further Health Extenders Act of 2019)."],["To amend the Securities Exchange Act of 1934 to require the submission by issuers of data<br>relating to diversity and for other purposes.","HR5084","Improving Corporate Governance Through Diversity Act of 2019  This bill requires certain<br>issuers of securities\u00a0to disclose the racial, ethnic, and gender composition of their<br>boards of directors and executive officers, as well as the status of any of those<br>directors and officers as a veteran. It also requires the disclosure of any plan to<br>promote racial, ethnic, and gender diversity among these groups. The Securities and<br>Exchange Commission must establish a Diversity Advisory Group to report ..."],["Providing for consideration of the bill (H.R. 1309) to direct the Secretary of Labor to<br>issue an occupational safety and health standard that requires covered employers within<br>the health care and social service industries to develop and implement a comprehensive<br>workplace violence prevention plan, and for other purposes; providing for proceedings<br>during the period from November 22, 2019, through December 2, 2019; and providing for<br>consideration of motions to suspend the rules.","HRES713","This resolution sets forth the rule for consideration of H.R. 1309 (Workplace Violence<br>Prevention for Health Care and Social Service Workers Act). Certain proceedings may take<br>place on any legislative day from November 22, 2019, through December 2, 2019. It shall be<br>in order at any time on the legislative day of November 21, 2019, for the Speaker of the<br>House to suspend the rules."],["To prohibit the sale of shark fins, and for other purposes.","HR737","Shark Fin Sales Elimination Act of 2019 This bill addresses the sale of shark fins and the<br>inclusion of rays and skates in the Seafood Traceability Program. (The Seafood<br>Traceability Program has data reporting and recordkeeping requirements at the time of<br>entry for imported fish or fish products entered into U.S. commerce.) The bill makes it<br>illegal to possess, buy, or sell shark fins or any product containing shark fins, except<br>for certain dogfish fins. A person may possess a shark fin that ..."],["A bill to prohibit the commercial export of covered munitions items to the Hong Kong<br>Police Force.","S2710","This bill directs the President to prohibit the issuance of licenses to export specified<br>munitions items to the Hong Kong Police Force and the Hong Kong Auxiliary Police Force.<br>The specified items include tear gas, rubber bullets, and handcuffs. The President may<br>make an exception upon certifying to Congress as to how such exports are important to U.S.<br>national interests and foreign policy goals. This prohibition shall expire one year after<br>the bill's enactment."],["To direct the Secretary of Labor to issue an occupational safety and health standard that<br>requires covered employers within the health care and social service industries to develop<br>and implement a comprehensive workplace violence prevention plan, and for other purposes.","HR1309","Workplace Violence Prevention for Health Care and Social Service Workers Act This bill<br>requires the Department of Labor to address workplace violence in the health care and<br>social service sectors. Specifically, Labor must promulgate an occupational safety and<br>health standard that requires certain employers in the health care and social service<br>sectors, as well as employers in sectors that conduct activities similar to the activities<br>in the health care and social service sectors, to develop an..."],["Disapproving the Russian Federation's inclusion in future Group of Seven summits until it<br>respects the territorial integrity of its neighbors and adheres to the standards of<br>democratic societies.","HRES546","This resolution calls on all leaders of the Group of Seven (a group consisting of the<br>seven largest major advanced economies, as determined by the International Monetary Fund)<br>to oppose Russia's readmission into the group. The resolution also condemns Russia's<br>assaults on democratic societies worldwide and its aggressive actions in Ukraine. (Russia<br>was disinvited from the Group of Eight in 2014 after it occupied parts of Ukraine,<br>including the Crimea region.)"],["Providing for consideration of the bill (H.R. 2534) to amend the Securities Exchange Act<br>of 1934 to prohibit certain securities trading and related communications by those who<br>possess material, nonpublic information, and relating to consideration of the concurrent<br>resolution (H. Con. Res. 77) directing the President pursuant to section 5(c) of the War<br>Powers Resolution to remove United States Armed Forces from hostilities in the Syrian Arab<br>Republic that have not been authorized by Congress.","HRES739","This resolution sets forth the rule for consideration of H.R. 2534 (Insider Trading<br>Prohibition Act). At any time on the legislative day of Wednesday, December 11, 2019, it<br>shall be in order to consider in the House a motion to discharge the Committee on Foreign<br>Affairs from consideration of H.Con.Res. 77 (directing the President to remove<br>unauthorized U.S. Armed Forces from hostilities in Syria)."],["To amend the Securities Exchange Act of 1934 to prohibit certain securities trading and<br>related communications by those who possess material, nonpublic information.","HR2534","Insider Trading Prohibition Act  This bill generally\u00a0provides statutory authority for\u00a0the<br>prohibition against securities trading, as well as related communications to others, by a<br>person aware of material, nonpublic information. The bill\u00a0further provides, for purposes<br>of establishing a violation of this prohibition, that\u00a0it is not necessary for such a<br>person to know specifically how such information was obtained or whether a personal<br>benefit was paid or promised.\u00a0\u00a0\u00a0"],["Providing for consideration of the bill (H.R. 4) to amend the Voting Rights Act of 1965 to<br>revise the criteria for determining which States and political subdivisions are subject to<br>section 4 of the Act, and for other purposes, and providing for consideration of the<br>resolution (H. Res. 326) expressing the sense of the House of Representatives regarding<br>United States efforts to resolve the Israeli-Palestinian conflict through a negotiated<br>two-state solution.","HRES741","This resolution sets forth the rule for consideration of H.R. 4 (Voting Rights Advancement<br>Act of 2019) and H.Res. 326 (urging U.S. efforts to resolve the Israeli-Palestinian<br>conflict through a negotiated two-state solution)."],["Expressing the sense of the House of Representatives regarding United States efforts to<br>resolve the Israeli-Palestinian conflict through a negotiated two-state solution.","HRES326","This resolution expresses the sense of the House of Representatives that only a two-state<br>solution to the Israeli-Palestinian conflict can ensure Israel's survival as a secure<br>Jewish and democratic state and fulfill the legitimate aspirations for a Palestinian<br>state. It also expresses the sense that any U.S. proposal to achieve a just, stable, and<br>lasting solution should expressly endorse a two-state solution and discourage steps that<br>would put a peaceful resolution further out of reach."],["To amend the Voting Rights Act of 1965 to revise the criteria for determining which States<br>and political subdivisions are subject to section 4 of the Act, and for other purposes.","HR4","Voting Rights Advancement Act of 2019 This bill establishes new criteria for determining<br>which states and political subdivisions must obtain preclearance before changes to voting<br>practices in these areas may take effect. (Preclearance is the process of receiving<br>preapproval from the Department of Justice or the U.S. District Court for the District of<br>Columbia before making legal changes that would affect voting rights.) A state and all of<br>its political subdivisions shall be subject to preclea..."],["To amend the Homeland Security Act of 2002 to protect U.S. Customs and Border Protection<br>officers, agents, other personnel, and canines against potential synthetic opioid<br>exposure, and for other purposes.","HR4739","Synthetic Opioid Exposure Prevention and Training Act This bill directs the U.S. Customs<br>and Border Protection (CBP) to implement a safety framework to protect its personnel from<br>exposure to potential synthetic opioids. Among other things, the CBP must do the<br>following:  issue a policy that specifies protocols and procedures for the safe handling<br>of potential synthetic opioids;  require mandatory training on the potential risk of<br>exposure to and safe handling procedures for synthetic opioids,..."],["Providing for consideration of the bill (H.R. 729) to amend the Coastal Zone Management<br>Act of 1972 to authorize grants to Indian Tribes to further achievement of Tribal coastal<br>zone objectives, and for other purposes.","HRES748","This resolution sets forth the rule for consideration of H.R. 729 (Tribal Coastal<br>Resiliency Act)."],["To reauthorize mandatory funding programs for historically Black colleges and universities<br>and other minority-serving institutions, and for other purposes.","HR5363","Fostering Undergraduate Talent by Unlocking Resources for Education Act or the FUTURE Act<br>This bill permanently authorizes funding for minority-serving institutions of higher<br>education and increases the authorization of appropriations for Pell Grants. This bill<br>directs the Internal Revenue Service (IRS), upon the written request of the Department of<br>Education (ED), to disclose to any authorized person, tax return information to determine<br>eligibility for recertifications for income-contingen..."],["To amend the Coastal Zone Management Act of 1972 to authorize grants to Indian Tribes to<br>further achievement of Tribal coastal zone objectives, and for other purposes.","HR729","Tribal Coastal Resiliency Act This bill authorizes the Department of Commerce to award<br>grants to Indian tribes to further achievement of any of the following tribal coastal zone<br>objectives:   protecting, restoring, or preserving areas in the zone that hold important<br>ecological, cultural, or sacred significance for the tribes, or traditional, historic, and<br>esthetic values essential to the tribes; preparing and implementing a special area<br>management plan and technical planning for important coa..."],["Providing for consideration of the bill (H.R. 3) to establish a fair price negotiation<br>program, protect the Medicare program from excessive price increases, and establish an<br>out-of-pocket maximum for Medicare part D enrollees, and for other purposes; providing for<br>consideration of the bill (H.R. 5038) to amend the Immigration and Nationality Act to<br>provide for terms and conditions for nonimmigrant workers performing agricultural labor or<br>services, and for other purposes; and providing for consideration of the conference report<br>to accompany the bill (S. 1790) to authorize appropriations for fiscal year 2020 for<br>military activities of the Department of Defense, for military construction, and for<br>defense activities of the Department of Energy, to prescribe military personnel strengths<br>for such fiscal year, and for other purposes.","HRES758","This resolution sets forth the rule for consideration of H.R. 3 (Lower Drug Costs Now Act<br>of 2019), H.R. 5038 (Farm Workforce Modernization Act of 2019), and S. 1790 (National<br>Defense Authorization Act for Fiscal Year 2020). The chair of the Permanent Select<br>Committee on Intelligence may insert in the Congressional Record by December 13, 2019,<br>such material as the chair may deem explanatory of intelligence authorization measures for<br>FY2018-FY2020. It shall be in order at any time on the legis..."],["To amend the Immigration and Nationality Act to provide for terms and conditions for<br>nonimmigrant workers performing agricultural labor or services, and for other purposes.","HR5038","Farm Workforce Modernization Act of 2019 This bill contains provisions related to alien<br>farmworkers, including provisions establishing a certified agricultural worker (CAW)<br>status and changing the H-2A temporary worker program.  The Department of Homeland<br>Security (DHS) may grant CAW status to an applying alien who (1) performed at least 1,035<br>hours of agricultural labor during the two-year period prior to November 12, 2019, (2) on<br>that date was inadmissible, deportable, or under a grant of d..."],["To establish a fair price negotiation program, protect the Medicare program from excessive<br>price increases, and establish an out-of-pocket maximum for Medicare part D enrollees, and<br>for other purposes.","HR3","Elijah E. Cummings Lower Drug Costs Now Act This bill establishes several programs and<br>requirements relating to the prices of prescription drugs, health care coverage and costs,<br>and public health.  TITLE I--LOWERING PRICES THROUGH FAIR DRUG PRICE NEGOTIATION The bill<br>requires the Department of Health and Human Services (HHS) to negotiate prices for certain<br>drugs. (Under current law, HHS may not negotiate the prices of covered drugs under the<br>Medicare prescription drug benefit.) Specifically, ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1158) to authorize<br>cyber incident response teams at the Department of Homeland Security, and for other<br>purposes; providing for consideration of the Senate amendment to the bill (H.R. 1865) to<br>require the Secretary of the Treasury to mint a coin in commemoration of the opening of<br>the National Law Enforcement Museum in the District of Columbia, and for other purposes;<br>and providing for the adoption of the resolution (H. Res. 761) permitting individuals to<br>be admitted to the Hall of the House in order to obtain footage of the House in session<br>for inclusion in the orientation film to be shown to visitors at the Capitol Visitor<br>Center.","HRES765","This resolution sets forth the rule for consideration of the Senate amendment to (1) H.R.<br>1158 (DHS Cyber Hunt and Incident Response Teams Act of 2019), and (2) H.R. 1865 (National<br>Law Enforcement Museum Commemorative Coin Act). The chair of the Committee on<br>Appropriations may insert in the Congressional Record by December 17, 2019, such material<br>as the chair may deem explanatory of the Senate amendments and the motions specified in<br>this resolution. The resolution also adopts H.Res. 761 (perm..."],["To direct the Comptroller General of the United States to conduct a study on disability<br>and pension benefits provided to members of the National Guard and members of reserve<br>components of the Armed Forces by the Department of Veterans Affairs, and for other<br>purposes.","HR4183","Identifying Barriers and Best Practices Study Act This bill requires the Government<br>Accountability Office to study and report on disability and pension benefits provided by<br>the Department of Veterans Affairs to members of the National Guard and members of reserve<br>components of the Armed Forces."],["To modify eligibility requirements for certain hazard mitigation assistance programs, and<br>for other purposes.","HR2548","Hazard Eligibility and Local Projects Act This bill expands eligibility under a hazard<br>mitigation assistance program to receive such assistance for acquisition or relocation<br>projects already in progress."],["To require the Secretary of the Treasury to mint a coin in commemoration of the opening of<br>the National Law Enforcement Museum in the District of Columbia, and for other purposes.","HR1865","Further Consolidated Appropriations Act, 2020  This bill provides FY2020 appropriations<br>for several federal departments and agencies.  It includes 8 of the 12 regular FY2020<br>appropriations bills:   the Departments of Labor, Health and Human Services, and<br>Education, and Related Agencies Appropriations Act, 2020;   the Agriculture, Rural<br>Development, Food and Drug Administration, and Related Agencies Appropriations Act, 2020;<br>the Energy and Water Development and Related Agencies Appropriation..."],["Providing for consideration of the resolution (H. Res. 755) impeaching Donald John Trump,<br>President of the United States, for high crimes and misdemeanors.","HRES767","This resolution sets forth the rule for consideration of H.Res. 755 (impeaching the<br>President for high crimes and misdemeanors).  The resolution (1) designates certain<br>individuals to be admitted to the Hall of the House of Representatives, during<br>consideration of H.Res. 755; (2) after adoption of H.Res. 755, makes it in order to<br>consider in the House a resolution appointing and authorizing managers for the impeachment<br>trial, if offered by the chair of the House Committee on the Judiciary; and..."],["Impeaching Donald John Trump, President of the United States, for high crimes and<br>misdemeanors.","HRES755","This resolution impeaches President Donald J. Trump for high crimes and misdemeanors. The<br>resolution sets forth two articles of impeachment of the President: (1) abuse of power by<br>soliciting the interference of Ukraine in the 2020 U.S. presidential election, and (2)<br>obstruction of Congress by directing defiance of certain subpoenas issued by the House of<br>Representatives."],["Providing for consideration of the bill (H.R. 5377) to amend the Internal Revenue Code of<br>1986 to modify the limitation on deduction of State and local taxes, and for other<br>purposes.","HRES772","This resolution sets forth the rule for consideration of H.R. 5377 (Restoring Tax Fairness<br>for States and Localities Act)."],["To amend the Internal Revenue Code of 1986 to modify the limitation on deduction of State<br>and local taxes, and for other purposes.","HR5377","Restoring Tax Fairness for States and Localities Act  This bill increases the tax<br>deduction for state and local taxes in 2019 to $20,000 for persons filing a joint tax<br>return if the adjusted gross income of the taxpayer does not exceed $100 million. It<br>eliminates the current $10,000 cap on the deduction in 2020 and 2021 except for taxpayers<br>whose adjusted gross income exceeds $100 million. The bill increases the deduction for the<br>expenses of elementary and secondary school teachers from $250 ..."],["To implement the Agreement between the United States of America, the United Mexican<br>States, and Canada attached as an Annex to the Protocol Replacing the North American Free<br>Trade Agreement.","HR5430","United States-Mexico-Canada Agreement Implementation Act This bill provides statutory<br>authority for the trade agreement between the United States, Mexico, and Canada (USMCA),<br>which replaces the North American Free Trade Agreement. Specifically, the bill implements<br>provisions that include labor and environment monitoring and enforcement, de minimis<br>levels for U.S. exports, and cooperation among treaty members to prevent duty evasion.<br>For example, the bill (1) establishes interagency committee..."],["Providing for consideration of the bill (H.R. 535) to require the Administrator of the<br>Environmental Protection Agency to designate per- and polyfluoroalkyl substances as<br>hazardous substances under the Comprehensive Environmental Response, Compensation, and<br>Liability Act of 1980.","HRES779","This resolution sets forth the rule for consideration of H.R. 535 (PFAS Action Act of<br>2019)."],["To require the President to develop a strategy to ensure the security of next generation<br>mobile telecommunications systems and infrastructure in the United States and to assist<br>allies and strategic partners in maximizing the security of next generation mobile<br>telecommunications systems, infrastructure, and software, and for other purposes.","HR2881","Secure 5G and Beyond Act of 2020 This bill requires the President, in consultation with<br>relevant federal agencies, to develop (1) a strategy to secure and protect U.S. fifth and<br>future generations (5G) systems and infrastructure, and (2) an implementation plan for the<br>strategy. Such strategy shall (1) ensure the security of 5G wireless communications<br>systems and infrastructure within the United States; (2) assist mutual defense treaty<br>allies, strategic partners, and other countries in maximiz..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 83) directing the<br>President pursuant to section 5(c) of the War Powers Resolution to terminate the use of<br>United States Armed Forces to engage in hostilities in or against Iran.","HRES781","This resolution sets forth the rule for consideration of H.Con.Res. 83 (directing the<br>President to terminate the use of U.S. Armed Forces in hostilities in or against Iran<br>unless certain conditions are met)."],["Directing the President pursuant to section 5(c) of the War Powers Resolution to terminate<br>the use of United States Armed Forces to engage in hostilities in or against Iran.","HCONRES83","This concurrent resolution directs the President to terminate the use of U.S. Armed Forces<br>in hostilities against Iran unless (1) Congress has declared war or specifically<br>authorized such use in statute, or (2) such use is necessary and appropriate to defend<br>against an imminent armed attack upon the United States."],["To amend the Small Business Act to provide re-entry entrepreneurship counseling and<br>training services for incarcerated individuals, and for other purposes.","HR5078","Prison to Proprietorship Act This bill directs the Small Business Administration, in<br>coordination with the Bureau of Prisons, to require women's business centers and small-<br>business development centers to provide entrepreneurship counseling and training services<br>to individuals incarcerated in a minimum-, low-, or medium-security prison."],["To require the Administrator of the Environmental Protection Agency to designate per- and<br>polyfluoroalkyl substances as hazardous substances under the Comprehensive Environmental<br>Response, Compensation, and Liability Act of 1980.","HR535","PFAS Action Act of 2019 This bill revises several environmental laws and requires the<br>Environmental Protection Agency (EPA) to regulate perfluoroalkyl and polyfluoroalkyl<br>substances, commonly referred to as PFAS. These substances are man-made and may have<br>adverse human health effects. A variety of products contain the compounds, such as<br>nonstick cookware or weatherproof clothing. (Sec. 2) The bill designates certain PFAS as<br>hazardous substances, thereby requiring remediation of releases of th..."],["To amend the Securities Exchange Act of 1934 to require the Securities and Exchange<br>Commission to issue rules that prohibit officers and directors of certain companies from<br>trading securities in anticipation of a current report, and for other purposes.","HR4335","8\u2013K Trading Gap Act of 2019  This bill requires certain issuers of securities to create<br>policies reasonably designed to prevent executive officers and directors from trading<br>their securities after a significant corporate event but before disclosing that event<br>through a public filing. Certain issuers required by regulation to adopt a code of ethics<br>are exempt from this requirement."],["To amend the United States Housing Act of 1937 and title 38, United States Code, to expand<br>eligibility for the HUD-VASH program, to direct the Secretary of Veterans Affairs to<br>submit annual reports to the Committees on Veterans' Affairs of the Senate and House of<br>Representatives regarding homeless veterans, and for other purposes.","HR2398","This bill expands eligibility for the Department of Housing and Urban Development (HUD)<br>Veterans Affairs-Supported Housing (VASH) rental voucher assistance to homeless veterans<br>honorably discharged or released from active military, naval, or air service regardless of<br>length of service. According to federal regulations, HUD was granted authority in the<br>Consolidated Appropriations Act, 2008 to waive or provide an alternative for the current<br>requirement that HUD-VASH assistance be targeted to ho..."],["Providing for consideration of the bill (H.R. 1230) to amend the Age Discrimination in<br>Employment Act of 1967 and other laws to clarify appropriate standards for Federal<br>employment discrimination and retaliation claims, and for other purposes; providing for<br>consideration of the joint resolution (H.J. Res. 76) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the rule submitted by the<br>Department of Education relating to \"Borrower Defense Institutional Accountability\"; and<br>providing for proceedings during the period from January 17, 2020, through January 24,<br>2020.","HRES790","This resolution sets forth the rule for consideration of H.R. 1230 (Protecting Older<br>Workers Against Discrimination Act) and H.J.Res. 76 (nullifying a certain rule issued by<br>the Department of Education that revised, among other things, the process for a student<br>loan borrower to obtain a discharge from a student loan if an institution of education<br>misrepresented a material fact). Certain proceedings may take place on any legislative day<br>from January 17, 2020, through January 24, 2020."],["Appointing and authorizing managers for the impeachment trial of Donald John Trump,<br>President of the United States.","HRES798","This resolution (1) appoints Representatives Schiff, Nadler, Lofgren, Jeffries, Demings,<br>Crow, and Garcia of Texas as managers to conduct the impeachment trial against the<br>President; (2) requires the Senate to be informed of the appointment; and (3) authorizes<br>the managers to exhibit the articles of impeachment to the Senate and take other necessary<br>actions."],["To amend the Age Discrimination in Employment Act of 1967 and other laws to clarify<br>appropriate standards for Federal employment discrimination and retaliation claims, and<br>for other purposes.","HR1230","Protecting Older Workers Against Discrimination Act This bill amends the Age<br>Discrimination in Employment Act of 1967 to establish an unlawful employment practice when<br>the complaining party demonstrates that age or participation in investigations,<br>proceedings, or litigation under such Act was a motivating factor for any unlawful<br>employment practice, even though other factors also motivated the practice (thereby<br>allowing what are commonly known as \"mixed motive\" claims). The bill (1) permits a..."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Department of Education relating to \"Borrower Defense<br>Institutional Accountability\".","HJRES76","This joint resolution nullifies a rule issued by the Department of Education (ED) on<br>September 23, 2019. The rule revised the process for a student loan borrower to obtain a<br>discharge from a student loan if an institution of education misrepresented a material<br>fact. Among other requirements, the 2019 rule requires each borrower to apply to ED for a<br>defense to repayment. However, under the previous 2016 rule, an application could be<br>submitted on behalf of an entire group (e.g., veterans)."],["To authorize the Secretary of Education to award grants to eligible entities to carry out<br>educational programs about the Holocaust, and for other purposes.","HR943","Never Again Education Act This bill expands U.S. Holocaust Memorial Museum education<br>programming. The bill requires the museum to develop and nationally disseminate accurate,<br>relevant, and accessible resources to improve awareness and understanding of the<br>Holocaust.  It also authorizes various Holocaust education program activities to engage<br>prospective and current teachers and educational leaders."],["To direct the Director of the National Science Foundation to support multidisciplinary<br>research on the science of suicide, and to advance the knowledge and understanding of<br>issues that may be associated with several aspects of suicide including intrinsic and<br>extrinsic factors related to areas such as wellbeing, resilience, and vulnerability.","HR4704","Advancing Research to Prevent Suicide Act This bill directs the National Science<br>Foundation (NSF) to award competitive, merit-reviewed grants to institutions of higher<br>education (or their consortia) to support multidisciplinary, fundamental research with<br>potential relevance to suicide, including potential relevance to prevention and treatment.<br>In awarding such grants, the NSF shall encourage applications submitted by early career<br>researchers, including doctoral students and postdoctoral rese..."],["Providing for consideration of the bill (H.R. 3621) to amend the Fair Credit Reporting Act<br>to remove adverse information for certain defaulted or delinquent private education loan<br>borrowers who demonstrate a history of loan repayment, and for other purposes, and<br>providing for consideration of the Senate amendment to the bill (H.R. 550) to award a<br>Congressional Gold Medal, collectively, to the United States Merchant Mariners of World<br>War II, in recognition of their dedicated and vital service during World War II.","HRES811","This resolution sets forth the rule for consideration of H.R. 3621 (Student Borrower<br>Credit Improvement Act) and the Senate amendment to H.R. 550 (Merchant Mariners of World<br>War II Congressional Gold Medal Act of 2019)."],["To modify and reauthorize the Tibetan Policy Act of 2002, and for other purposes.","HR4331","Tibetan Policy and Support Act of 2019 This bill modifies and reauthorizes various<br>programs and provisions related to Tibet and China. The President shall provide funds to<br>nongovernmental organizations for projects supporting Tibetan communities in Tibet in<br>areas such as sustainable economic development, cultural preservation, and education.  The<br>Department of State may not authorize any new Chinese consulates in the United States<br>until a U.S. consulate has been established in Lhasa, Tibet. T..."],["To amend the Fair Credit Reporting Act to remove adverse information for certain defaulted<br>or delinquent private education loan borrowers who demonstrate a history of loan<br>repayment, and for other purposes.","HR3621","Comprehensive Credit Reporting Enhancement, Disclosure, Innovation, and Transparency Act<br>of 2020 or the Comprehensive CREDIT Act of 2020  This bill provides for additional<br>consumer credit protections, sets forth requirements for credit reporting agencies, and<br>prohibits the inclusion of specified information on credit reports. TITLE I\u2014IMPROVEMENTS<br>TO THE DISPUTE PROCESS The dispute process for consumers challenging information contained<br>on their credit report is revised for challenges (1) thro..."],["To award a Congressional Gold Medal, collectively, to the United States Merchant Mariners<br>of World War II, in recognition of their dedicated and vital service during World War II.","HR550","No War Against Iran Act This bill prohibits the obligation or expenditure of federal funds<br>for any use of military force in or against Iran unless Congress has either declared war<br>or enacted specific statutory authorization for such use. An exception is made for a<br>presidential exercise of power to introduce Armed Forces into hostilities (or situations<br>where imminent involvement in hostilities is clearly indicated) when there is a national<br>emergency created by an attack upon the United States...."],["To amend the Federal Water Pollution Control Act to reauthorize the National Estuary<br>Program, and for other purposes.","HR4044","Protect and Restore America's Estuaries Act This bill reauthorizes for FY2022-FY2026 and<br>revises the National Estuary Program, which provides grants to protect or restore<br>estuaries of national significance. Specifically, the bill expands the types of projects<br>that qualify for grants under the program, such as projects that address issues related to<br>coastal resiliency, stormwater runoff, or accelerated land loss."],["To amend title 5, United States Code, to repeal the requirement that the United States<br>Postal Service prepay future retirement benefits, and for other purposes.","HR2382","USPS Fairness Act This bill repeals the requirement that the U.S. Postal Service annually<br>prepay future retirement health benefits."],["Providing for consideration of the resolution (H. Res. 826) expressing disapproval of the<br>Trump administration's harmful actions towards Medicaid; providing for consideration of<br>the bill (H.R. 2474) to amend the National Labor Relations Act, the Labor Management<br>Relations Act, 1947, and the Labor-Management Reporting and Disclosure Act of 1959, and<br>for other purposes; and providing for consideration of the bill (H.R. 5687) making<br>emergency supplemental appropriations for the fiscal year ending September 30, 2020, and<br>for other purposes.","HRES833","This resolution sets forth the rule for consideration of H.Res. 826 (urging, among other<br>things, that the Centers for Medicare &amp; Medicaid Services withdraw recent guidance<br>regarding the approval of block grants under Medicaid demonstration waivers), H.R. 2474<br>(Protecting the Right to Organize Act of 2019), and H.R. 5687 (Emergency Supplemental<br>Appropriations for Disaster Relief and Puerto Rico Disaster Tax Relief Act, 2020)."],["To amend the National Labor Relations Act, the Labor Management Relations Act, 1947, and<br>the Labor-Management Reporting and Disclosure Act of 1959, and for other purposes.","HR2474","Protecting the Right to Organize Act of 2019 This bill expands various labor protections<br>related to employees' rights to organize and collectively bargain in the workplace.<br>Specifically, it   revises the definition of employee, supervisor, and employer to broaden<br>the scope of individuals covered by the fair labor standards;  permits a labor<br>organization to encourage participation of union members in strikes initiated by employees<br>represented by a different labor organization (i.e., secondary ..."],["Expressing disapproval of the Trump administration's harmful actions towards Medicaid.","HRES826","This resolution expresses the sense of the House of Representatives that the Centers for<br>Medicare &amp; Medicaid Services (CMS) should withdraw recent guidance regarding the<br>approval of block grants under Medicaid demonstration waivers.  On January 30, 2020, the<br>CMS issued guidance allowing states to apply for capped block grants through Medicaid<br>demonstration waivers, particularly in order to cover services for the Medicaid expansion<br>population (i.e., adults under the age of 65). The guidanc..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2020, and for other purposes.","HR5687","Emergency Supplemental Appropriations for Disaster Relief and Puerto Rico Disaster Tax<br>Relief Act, 2020  This bill provides FY2020 supplemental appropriations and expands tax<br>credits to respond to recent natural disasters and emergencies that affected Puerto Rico<br>and other U.S. territories.  The funding provided by this bill is designated as emergency<br>spending, which is exempt from discretionary spending limits. The bill provides $4.89<br>billion in FY2020 supplemental appropriations for program..."],["To amend the Homeland Security Act of 2002 to ensure that the needs of children are<br>considered in homeland security planning, and for other purposes.","HR2932","Homeland Security for Children Act This bill requires the Office of Strategy, Policy, and<br>Plans in the Department of Homeland Security (DHS) to review and incorporate into DHS<br>policy feedback from organizations representing the needs of children. The bill directs<br>the Federal Emergency Management Agency (FEMA) to identify and integrate the needs of<br>children into activities to prepare for, protect against, respond to, recover from, and<br>mitigate against the risk of natural disasters, acts of ter..."],["Providing for consideration of the bill (H.R. 2546) to designate certain lands in the<br>State of Colorado as components of the National Wilderness Preservation System, and for<br>other purposes; providing for consideration of the joint resolution (H.J. Res. 79)<br>removing the deadline for the ratification of the equal rights amendment; and for other<br>purposes.","HRES844","This resolution sets forth the rule for consideration of H.R. 2546 (Protecting America's<br>Wilderness Act) and H.J.Res. 79 (eliminating the deadline for the ratification of the<br>Equal Rights Amendment, which prohibits discrimination based on sex).  It adopts H.Res.<br>842 (requiring a majority vote of the Members present and voting, a quorum being present,<br>on final passage of H.J.Res. 79). Certain proceedings may take place on any legislative<br>day from February 14, 2020, through February 24, 2020."],["To establish in the Smithsonian Institution a comprehensive women's history museum, and<br>for other purposes.","HR1980","Smithsonian Women's History Museum Act (Sec. 3) This bill establishes in the Smithsonian<br>Institution a comprehensive women's history museum.  Such museum shall be named by the<br>Board of Regents of the Smithsonian Institution.  (Sec. 4) The bill establishes a council,<br>that, among other things, shall make recommendations to the board on the planning, design,<br>and construction of the museum.  (Sec. 7) The board shall designate a site for the museum,<br>with priority given to a site that is on or near..."],["To designate certain lands in the State of Colorado as components of the National<br>Wilderness Preservation System, and for other purposes.","HR2546","Protecting America's Wilderness Act This bill designates wilderness areas, potential<br>wilderness areas, recreation areas, scenic areas, trails, and wild and scenic rivers in<br>Colorado, California, and Washington, among other things. TITLE I--COLORADO WILDERNESS<br>Colorado Wilderness Act of 2020 (Sec. 102) The bill designates specified federal lands in<br>Colorado as wilderness and as components of the National Wilderness Preservation System.<br>If the Bureau of Reclamation determines that lands within..."],["Removing the deadline for the ratification of the equal rights amendment.","HJRES79","This joint resolution eliminates the deadline for the ratification of the Equal Rights<br>Amendment, which prohibits discrimination based on sex. The amendment was proposed to the<br>states in House Joint Resolution 208 of the 92nd Congress, as agreed to in the Senate on<br>March 22, 1972. The amendment shall be part of the Constitution whenever ratified by the<br>legislatures of three-fourths of the states."],["To amend section 249 of title 18, United States Code, to specify lynching as a hate crime<br>act.","HR35","Emmett Till Antilynching Act This bill establishes a new criminal civil rights violation<br>for lynching. Specifically, a person who conspires to commit certain civil rights offenses<br>(e.g., a hate crime act) is subject to criminal penalties."],["To amend title 38, United States Code, to require the Secretary of Veterans Affairs to<br>make available to veterans certain additional information about postsecondary educational<br>institutions, and for other purposes.","HR4852","G.I. and Veterans Education Empowerment Act or the GIVE Act This bill requires the<br>Department of Veterans Affairs (VA) to provide specified information to veterans and<br>members of the Armed Forces about postsecondary educational institutions. Specifically,<br>the VA must provide information on whether a postsecondary educational institution (1) is<br>listed on the College Navigator website as being affiliated with a religion, (2) has been<br>declared a minority serving institution, and (3) is gender sp..."],["Providing for consideration of the bill (H.R. 2339) to amend the Federal Food, Drug, and<br>Cosmetic Act with respect to the sale and marketing of tobacco products, and for other<br>purposes.","HRES866","Sets forth the rule for consideration of the bill (H.R. 2339) to amend the Federal Food,<br>Drug, and Cosmetic Act with respect to the sale and marketing of tobacco products."],["To extend the authority for the establishment of a commemorative work in honor of Gold<br>Star Families, and for other purposes.","HR2819","Gold Star Mothers Families National Monument Extension Act This bill extends through<br>January 2, 2024, the authority of the Gold Star Mothers National Monument Foundation to<br>establish a commemorative work in honor of Gold Star families."],["To amend the Federal Food, Drug, and Cosmetic Act with respect to the sale and marketing<br>of tobacco products, and for other purposes.","HR2339","Protecting American Lungs and Reversing the Youth Tobacco Epidemic Act of 2020 This bill<br>revises requirements related to the safety, sale, and advertisement of tobacco products,<br>including electronic nicotine delivery systems (e.g., e-cigarettes, e-hookah, e-cigars,<br>and vape pens). Among other requirements, the bill  requires the Food and Drug<br>Administration (FDA) to implement regulations to require color graphics on the labeling of<br>cigarette packages, depicting the negative health consequence..."],["To amend the Fair Debt Collection Practices Act to provide enhanced protection against<br>debt collector harassment of members of the Armed Forces, and for other purposes.","HR5003","Fair Debt Collection Practices for Servicemembers Act  This bill prohibits a debt<br>collector from representing to servicemembers that failure to cooperate with a debt<br>collector will result in a reduction of rank, a revocation of security clearance, or<br>military prosecution. The Government Accountability Office must report on the impact of<br>this prohibition on the timely delivery of information to servicemembers, military<br>readiness, and national security."],["Condemning continued violence against civilians by armed groups in the Central African<br>Republic and supporting efforts to achieve a lasting political solution to the conflict.","HRES387","This resolution condemns violence against civilians in the Central African Republic and<br>expresses support for efforts to combat the threat posed by armed groups. The resolution<br>also urges relevant federal departments and agencies to provide humanitarian assistance to<br>these civilians and take steps to prioritize a stronger partnership between the United<br>States and the Central African Republic."],["To expand the number of scholarships available to Pakistani women under the Merit and<br>Needs-Based Scholarship Program.","HR4508","Malala Yousafzai Scholarship Act This bill requires the U.S. Agency for International<br>Development to award at least 50% of the number of scholarships under the Merit and Needs-<br>Based Scholarship Program to Pakistani women for each of the calendar years 2020-2022."],["Providing for consideration of the bill (H.R. 1140) to enhance the security operations of<br>the Transportation Security Administration and stability of the transportation security<br>workforce by applying the personnel system under title 5, United States Code, to employees<br>of the Transportation Security Administration who provide screening of all passengers and<br>property, and for other purposes; providing for consideration of motions to suspend the<br>rules; and waiving a requirement of clause 6(a) of rule XIII with respect to consideration<br>of certain resolutions reported from the Committee on Rules.","HRES877","This resolution sets forth the rule for consideration of H.R. 1140 (Rights for<br>Transportation Security Officers Act of 2019). It shall be in order at any time on the<br>legislative day of March 5, 2020, for the Speaker of the House to suspend the rules<br>relating to a measure making supplemental appropriations for FY2020. The resolution waives<br>a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of resolutions reported from the Committee on Rules through suc..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2020, and for other purposes.","HR6074","Coronavirus Preparedness and Response Supplemental Appropriations Act, 2020  This bill<br>provides $8.3 billion in emergency funding for federal agencies to respond to the<br>coronavirus outbreak.  DIVISION A--CORONAVIRUS PREPAREDNESS AND RESPONSE SUPPLEMENTAL<br>APPROPRIATIONS ACT, 2020 Coronavirus Preparedness and Response Supplemental Appropriations<br>Act, 2020  This division provides FY2020 supplemental appropriations for the Department of<br>Health and Human Services (HHS), the State Department, and t..."],["To enhance the security operations of the Transportation Security Administration and<br>stability of the transportation security workforce by applying the personnel system under<br>title 5, United States Code, to employees of the Transportation Security Administration<br>who provide screening of all passengers and property, and for other purposes.","HR1140","Rights for Transportation Security Officers Act of 2020 This bill modifies the workplace<br>rights, protections, and benefits applicable to Transportation Security Administration<br>(TSA) personnel.  Specifically, the bill   within 180 days, eliminates personnel<br>authorities of the Department of Homeland Security (DHS) and the Department of<br>Transportation governing the conditions of employment for TSA employees, thus making TSA<br>employees subject to the personnel management system applicable to other..."],["Encouraging reunions of divided Korean-American families.","HRES410","This resolution calls on the United States and North Korea to reunited Korean-American<br>divided family members with their immediate relatives as a humanitarian policy of<br>immediate concern."],["To require consultations on reuniting Korean Americans with family members in North Korea.","HR1771","Divided Families Reunification Act This bill directs the Department of State to<br>periodically report to Congress on its consultations with South Korea\u00a0on potential<br>opportunities to reunite Korean Americans with family in North Korea. The State<br>Department's Special Envoy on North Korean Human Rights Issues shall periodically report<br>to Congress on its\u00a0consultations with representatives of Korean Americans with family in<br>North Korea on reunification efforts."],["Implementing the recommendations adopted by the Select Committee on the Modernization of<br>Congress.","HRES756","Moving Our Democracy and Congressional Operations Towards Modernization Resolution This<br>resolution implements recommendations made by the House Select Committee on the<br>Modernization of Congress. TITLE I--STREAMLINING AND REORGANIZING HUMAN RESOURCES (Sec.<br>101) The House Office of the Chief Administrative Officer (CAO) must establish and operate<br>a centralized human resources program to assist Member, committee, and leadership office<br>staff.(Sec. 102) The House Office of Diversity and Inclusion ..."],["Providing for consideration of the joint resolution (S.J. Res. 68) to direct the removal<br>of United States Armed Forces from hostilities against the Islamic Republic of Iran that<br>have not been authorized by Congress; providing for consideration of the Senate amendment<br>to the bill (H.R. 2486) to reauthorize mandatory funding programs for historically Black<br>colleges and universities and other minority-serving institutions; providing for<br>consideration of the bill (H.R. 6172) to amend the Foreign Intelligence Surveillance Act<br>of 1978 to prohibit the production of certain business records, and for other purposes;<br>and for other purposes.","HRES891","This resolution sets forth the rule for consideration of S.J.Res. 68 (demanding the<br>removal of unauthorized Armed Forces from hostilities in Iran), the Senate amendment to<br>H.R. 2486 (Fostering Undergraduate Talent by Unlocking Resources for Education Act), and<br>H.R. 6172 (USA FREEDOM Reauthorization Act of 2020). Certain proceedings may take place on<br>any legislative day from March 13, 2020, through March 22, 2020. It shall be in order at<br>any time through the calendar day of March 22, 2020, for..."],["A bill to enable registered apprenticeship programs to better serve veterans, and for<br>other purposes.","S760","Support for Veterans in Effective Apprenticeships Act of 2019 This bill requires the<br>Department of Labor to revise its registered apprenticeship programs to include additional<br>program requirements for increasing the access of veterans and their survivors or<br>dependents to such programs. Labor must acquire written assurance that sponsors of<br>apprenticeship programs (1) are aware of the availability of educational assistance for<br>veterans and eligible individuals for use in such programs, (2) will..."],["To amend the Foreign Intelligence Surveillance Act of 1978 to prohibit the production of<br>certain business records, and for other purposes.","HR6172","USA FREEDOM Reauthorization Act of 2020 This bill reauthorizes through December 1, 2023,<br>provisions related to intelligence gathering under the Foreign Intelligence and<br>Surveillance Act (FISA) and amends FISA-related provisions. The Federal Bureau of<br>Investigation may not seek certain FISA-authorized orders to obtain (1) call detail<br>records on an ongoing basis, (2) a tangible thing where a person has a reasonable<br>expectation of privacy and a warrant would typically be required, or (3) cellula..."],["A joint resolution to direct the removal of United States Armed Forces from hostilities<br>against the Islamic Republic of Iran that have not been authorized by Congress.","SJRES68","This joint resolution directs the President to terminate the use of U.S. Armed Forces for<br>hostilities against Iran unless explicitly authorized by a congressional declaration of<br>war or a specific authorization for use of military force against Iran."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2020, and for other purposes.","HR6201","Families First Coronavirus Response Act This bill responds to the COVID-19 (i.e.,<br>coronavirus disease 2019) outbreak by providing paid sick leave, tax credits, and free<br>COVID-19 testing; expanding food assistance and unemployment benefits; and increasing<br>Medicaid funding. DIVISION A--SECOND CORONAVIRUS PREPAREDNESS AND RESPONSE SUPPLEMENTAL<br>APPROPRIATIONS ACT, 2020 Second Coronavirus Preparedness and Response Supplemental<br>Appropriations Act, 2020 This division provides FY2020 supplemental app..."],["Providing for the adoption of the resolution (H.Res. 935) establishing a Select<br>Subcommittee on the Coronavirus Crisis as a select investigative subcommittee of the<br>Committee on Oversight and Reform.","HRES938","This resolution adopts H.Res. 935 (establishes the Select Subcommittee on the Coronavirus<br>Crisis as a select investigative subcommittee of the Committee on Oversight and Reform)."],["Providing for consideration of the resolution (H. Res. 965) authorizing remote voting by<br>proxy in the House of Representatives and providing for official remote committee<br>proceedings during a public health emergency due to a novel coronavirus, and for other<br>purposes; providing for consideration of the bill (H.R. 6800) making emergency<br>supplemental appropriations for the fiscal year ending September 30, 2020, and for other<br>purposes; providing for proceedings during the period from May 19, 2020, through July 21,<br>2020; and for other purposes.","HRES967","Sets forth the rule for consideration of the resolution (H. Res. 965) authorizing remote<br>voting by proxy in the House of Representatives and providing for official remote<br>committee proceedings during a public health emergency due to a novel coronavirus, and for<br>other purposes; providing for consideration of the bill (H.R. 6800) making emergency<br>supplemental appropriations for the fiscal year ending September 30, 2020, and for other<br>purposes; providing for proceedings during the period from Ma..."],["Authorizing remote voting by proxy in the House of Representatives and providing for<br>official remote committee proceedings during a public health emergency due to a novel<br>coronavirus, and for other purposes.","HRES965","This resolution authorizes and otherwise sets forth procedures for remote voting by proxy<br>in the House of Representatives and provides for official remote committee proceedings<br>during a public health emergency due to a novel coronavirus (e.g., the virus that causes<br>COVID-19) for a 45-day period. Based on the status of the public health emergency, the<br>45-day period may be extended for an additional 45 days or terminated earlier. The chair<br>of the Committee on House Administration shall study th..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2020, and for other purposes.","HR6800","The Heroes Act This bill responds to the COVID-19 (i.e., coronavirus disease 2019)<br>outbreak and its impact on the economy, public health, state and local governments,<br>individuals, and businesses. Among other things, the bill   provides FY2020 emergency<br>supplemental appropriations to federal agencies;  provides payments and other assistance<br>to state, local, tribal, and territorial governments;  provides additional direct payments<br>of up to $1,200 per individual;  expands paid sick days, family ..."],["Providing for consideration of the Senate amendments to the bill (H.R. 6172) to amend the<br>Foreign Intelligence Surveillance Act of 1978 to prohibit the production of certain<br>business records, and for other purposes.","HRES981","This resolution provides for consideration of the Senate amendments to H.R. 6172 (USA<br>FREEDOM Reauthorization Act of 2020). Only the majority leader may offer a privileged<br>motion to dispose of any amendment relating to H.R. 6172. Finally, the resolution<br>postpones further consideration of the veto message on H.J.Res. 76 (nullifying a rule<br>issued by the Department of Education relating to Borrower Defense Institutional<br>Accountability) until the legislative day of Wednesday, July 1, 2020, if a v..."],["To require the Administrator of the Small Business Administration to submit a report on<br>recipients of assistance under the paycheck protection program and the economic injury<br>disaster loan program, and for other purposes.","HR6782","Small Business Transparency and Reporting for the Underbanked and Taxpayers at Home Act or<br>the TRUTH Act This bill requires the Small Business Administration (SBA) to make<br>information regarding economic relief measures implemented in response to COVID-19 (i.e.,<br>coronavirus disease 2019) publicly available. Specifically, with respect to the Paycheck<br>Protection Program and economic injury disaster loans and emergency grants, the SBA must<br>publish (1) the identity of each recipient of assistance ..."],["To amend the Small Business Act and the CARES Act to modify certain provisions related to<br>the forgiveness of loans under the paycheck protection program, to allow recipients of<br>loan forgiveness under the paycheck protection program to defer payroll taxes, and for<br>other purposes.","HR7010","Paycheck Protection Program Flexibility Act of 2020 This bill modifies provisions related<br>to the forgiveness of loans made to small businesses under the Paycheck Protection Program<br>implemented in response to COVID-19 (i.e., coronavirus disease 2019). Specifically, the<br>bill establishes a minimum maturity of five years for a paycheck protection loan with a<br>remaining balance after forgiveness. The bill also extends the covered period during which<br>a loan recipient may use such funds for certain e..."],["Providing for consideration of the bill (H.R. 51) to provide for the admission of the<br>State of Washington, D.C. into the Union; providing for consideration of the bill (H.R.<br>1425) to amend the Patient Protection and Affordable Care Act to provide for a Improve<br>Health Insurance Affordability Fund to provide for certain reinsurance payments to lower<br>premiums in the individual health insurance market; providing for consideration of the<br>bill (H.R. 5332) to amend the Fair Credit Reporting Act to ensure that consumer reporting<br>agencies are providing fair and accurate information reporting in consumer reports, and<br>for other purposes; providing for consideration of the bill (H.R. 7120) to hold law<br>enforcement accountable for misconduct in court, improve transparency through data<br>collection, and reform police training and policies; providing for consideration of the<br>bill (H.R. 7301) to prevent evictions, foreclosures, and unsafe housing conditions<br>resulting from the COVID-19 pandemic, and for other purposes; providing for consideration<br>of the joint resolution (H.J. Res. 90) providing for congressional disapproval under<br>chapter 8 of title 5, United States Code, of the rule submitted by the Office of the<br>Comptroller of the Currency relating to \"Community Reinvestment Act Regulations\"; and for<br>other purposes.","HRES1017","Sets forth the rule for consideration of the bill (H.R. 51) to provide for the admission<br>of the State of Washington, D.C. into the Union; providing for consideration of the bill<br>(H.R. 1425) to amend the Patient Protection and Affordable Care Act to provide for a<br>Improve Health Insurance Affordability Fund to provide for certain reinsurance payments to<br>lower premiums in the individual health insurance market; providing for consideration of<br>the bill (H.R. 5332) to amend the Fair Credit Reportin..."],["To hold law enforcement accountable for misconduct in court, improve transparency through<br>data collection, and reform police training and policies.","HR7120","Justice in Policing Act of 2020 This bill addresses a wide range of policies and issues<br>regarding policing practices and law enforcement accountability. It includes measures to<br>increase accountability for law enforcement misconduct, to enhance transparency and data<br>collection, and to eliminate discriminatory policing practices. The bill facilitates<br>federal enforcement of constitutional violations (e.g., excessive use of force) by state<br>and local law enforcement. Among other things, it does th..."],["To provide for the admission of the State of Washington, D.C. into the Union.","HR51","Washington, D.C. Admission Act This bill admits certain portions of Washington, DC as the<br>51st state. The bill defines state as the State of Washington, Douglass Commonwealth.<br>TITLE I--STATE OF WASHINGTON, D.C. Subtitle A--Procedures for Admission (Sec. 101) This<br>subtitle provides for admission into the United States of the State of Washington,<br>Douglass Commonwealth, on an equal footing with the other states. The state's constitution<br>shall always be republican in form and shall not be repugn..."],["To amend the Patient Protection and Affordable Care Act to provide for a Improve Health<br>Insurance Affordability Fund to provide for certain reinsurance payments to lower premiums<br>in the individual health insurance market.","HR1425","State Health Care Premium Reduction Act This bill establishes and provides funding for the<br>Improve Health Insurance Affordability Fund. States must use allocated funds to (1) issue<br>reinsurance payments to health insurers (i.e., reimbursements to protect insurers against<br>exceedingly high claims) for individual health insurance coverage, or (2) provide other<br>assistance to reduce out-of-pocket costs (e.g., copayments, coinsurance, and deductibles)<br>for qualified health plans offered in the indivi..."],["To amend the Fair Credit Reporting Act to ensure that consumer reporting agencies are<br>providing fair and accurate information reporting in consumer reports, and for other<br>purposes.","HR5332","Protecting Your Credit Score Act of 2020 This bill revises provisions related to consumer<br>credit reports and credit reporting agencies.  (Sec. 2) Credit reporting agencies are<br>directed to create a central online portal that allows consumers to (1) access free credit<br>reports and credit scores, (2) dispute errors, and (3) place or lift security freezes.<br>(Sec. 3) Credit reporting agencies must verify specified identifying information when<br>adding credit information to a consumer's file. Credit re..."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Office of the Comptroller of the Currency relating to \"Community<br>Reinvestment Act Regulations\".","HJRES90","This joint resolution nullifies a rule published on June 5, 2020, by the Office of the<br>Comptroller of the Currency within the Department of the Treasury.  The rule generally<br>revises the office's\u00a0implementation of the Community Reinvestment Act (CRA), which<br>requires banks to serve the credit needs of low- and moderate-income communities. Under<br>the CRA, a bank receives credit, which influences the bank's performance rating,\u00a0for<br>conducting specified activities related to this requirement in desi..."],["Providing for consideration of the bill (H.R. 2) to authorize funds for Federal-aid<br>highways, highway safety programs, and transit programs, and for other purposes.","HRES1028","Sets forth the rule for consideration of the bill (H.R. 2) to authorize funds for Federal-<br>aid highways, highway safety programs, and transit programs."],["To authorize funds for Federal-aid highways, highway safety programs, and transit<br>programs, and for other purposes.","HR2","Investing in a New Vision for the Environment and Surface Transportation in America Act or<br>the INVEST in America Act This bill addresses provisions related to federal-aid highway,<br>transit, highway safety, motor carrier, research, hazardous materials, and rail programs<br>of the Department of Transportation (DOT). Among other provisions, the bill  extends<br>FY2020 enacted levels through FY2021 for federal-aid highway, transit, and safety<br>programs; reauthorizes for FY2022-FY2025 several surface tran..."],["Providing for consideration of the bill (H.R. 6395) to authorize appropriations for fiscal<br>year 2021 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; providing for consideration of the bill (H.R. 7027) making additional<br>supplemental appropriations for disaster relief requirements for the fiscal year ending<br>September 30, 2020, and for other purposes; providing for consideration of the bill (H.R.<br>7327) making additional supplemental appropriations for disaster relief requirements for<br>the fiscal year ending September 30, 2020, and for other purposes; and providing for<br>consideration of the Senate amendments to the bill (H.R. 1957) to amend the Internal<br>Revenue Code of 1986 to modernize and improve the Internal Revenue Service, and for other<br>purposes.","HRES1053","This resolution sets forth the rule for consideration of H.R. 6395 (William M. [Mac]<br>Thornberry National Defense Authorization Act for Fiscal Year 2021), H.R. 7027 (Child Care<br>Is Essential Act), H.R. 7327 (Child Care for Economic Recovery Act), and the Senate<br>amendments to H.R. 1957 (Great American Outdoors Act). In addition, this resolution<br>further extends the following dates in H.Res. 967, as amended by H.Res. 1017, through:<br>the legislative day of September 21, 2020, by which certain proce..."],["To authorize appropriations for fiscal year 2021 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR6395","William M. (Mac) Thornberry National Defense Authorization Act for Fiscal Year 2021 This<br>bill authorizes FY2021 appropriations and sets forth policies for Department of Defense<br>(DOD) programs and activities, including military personnel strengths. It does not provide<br>budget authority, which is provided in subsequent appropriations legislation. The bill<br>authorizes appropriations to DOD for  Procurement, including aircraft, weapons and tracked<br>combat vehicles, shipbuilding and conversion, and m..."],["To reauthorize mandatory funding programs for historically Black colleges and universities<br>and other minority-serving institutions.","HR2486","Fostering Undergraduate Talent by Unlocking Resources for Education Act or the FUTURE Act<br>This bill requires the Internal Revenue Service (IRS) to disclose certain tax return<br>information to the Department of Education (ED) for the purpose of administering financial<br>aid and loan programs.  Upon receiving a request from ED, the IRS must disclose specified<br>tax return information to ED for the purposes of   establishing enrollment, renewing<br>enrollment, administering, and conducting analyses and f..."],["To amend the Internal Revenue Code of 1986 to modernize and improve the Internal Revenue<br>Service, and for other purposes.","HR1957","Great American Outdoors Act This bill establishes the National Parks and Public Land<br>Legacy Restoration Fund to support deferred maintenance projects on federal lands.  For<br>FY2021-FY2025, there shall be deposited into the fund an amount equal to 50% of energy<br>development revenues credited, covered, or deposited as miscellaneous receipts from oil,<br>gas, coal, or alternative or renewable energy development on federal lands and waters.<br>Deposited amounts must not exceed $1.9 billion for any fiscal..."],["To direct the Architect of the Capitol to replace the bust of Roger Brooke Taney in the<br>Old Supreme Court Chamber of the United States Capitol with a bust of Thurgood Marshall to<br>be obtained by the Joint Committee on the Library and to remove certain statues from areas<br>of the United States Capitol which are accessible to the public, to remove all statues of<br>individuals who voluntarily served the Confederate States of America from display in the<br>United States Capitol, and for other purposes.","HR7573","This bill provides for the removal of certain statues and busts from display in the<br>Capitol. The bill directs the Joint Committee on the Library to remove the bust of Roger<br>Brooke Taney in the Old Supreme Court chamber of the Capitol and replace it with a bust of<br>Thurgood Marshall. The committee must remove the statues of Charles Brantley Aycock, John<br>Caldwell Calhoun, and James Paul Clarke and the bust of John Cabell Breckinridge from<br>areas of the Capitol accessible to the public. The Archit..."],["Providing for consideration of the bill (H.R. 7608) making appropriations for the<br>Department of State, foreign operations, and related programs for the fiscal year ending<br>September 30, 2021, and for other purposes.","HRES1060","Sets forth the rule for consideration of the bill (H.R. 7608) making appropriations for<br>the Department of State, foreign operations, and related programs for the fiscal year<br>ending September 30, 2021."],["Making appropriations for the Department of State, foreign operations, and related<br>programs for the fiscal year ending September 30, 2021, and for other purposes.","HR7608","State, Foreign Operations, Agriculture, Rural Development, Interior, Environment, Military<br>Construction, and Veterans Affairs Appropriations Act, 2021 This bill provides FY2021<br>appropriations for several federal departments and agencies.  It includes 4 of the 12<br>regular FY2021 appropriations bills:   the Department of State, Foreign Operations, and<br>Related Programs Appropriations Act, 2021; the Agriculture, Rural Development, Food and<br>Drug Administration, and Related Agencies Appropriations A..."],["Providing for consideration of the bill (H.R. 7617) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2021, and for other<br>purposes.","HRES1067","Sets forth the rule for consideration of the bill (H.R. 7617) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2021."],["Making additional supplemental appropriations for disaster relief requirements for the<br>fiscal year ending September 30, 2020, and for other purposes.","HR7027","Child Care Is Essential Act  This bill establishes and provides $50 billion in<br>appropriations for the Child Care Stabilization Fund to award grants to child care<br>providers during and after the COVID-19 (i.e., coronavirus disease 2019) public health<br>emergency.  The bill establishes the fund within the existing Department of Health and<br>Human Services Child Care and Development Block Grant (CCDBG) program, and the grants must<br>be administered by the existing CCDBG lead agencies of states, tribes,..."],["Making additional supplemental appropriations for disaster relief requirements for the<br>fiscal year ending September 30, 2020, and for other purposes.","HR7327","Child Care for Economic Recovery Act This bill provides additional funding in FY2020 for<br>taxpayer services, social services block grants, and infrastructure grants to improve<br>child care safety, including needs assessments.  The bill adds and modifies certain tax<br>provisions to   increase and make refundable the child and dependent care tax credit;<br>increase the exclusion from employee income for employer-provided dependent care<br>assistance;  allow employers payroll tax credits for certain fixed..."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2021, and for other purposes.","HR7617","Defense, Commerce, Justice, Science, Energy and Water Development, Financial Services and<br>General Government, Labor, Health and Human Services, Education, Transportation, Housing,<br>and Urban Development Appropriations Act, 2021 This bill provides FY2021 appropriations<br>for several federal departments and agencies.  The bill includes 6 of the 12 regular<br>FY2021 appropriations bills:   the Department of Defense Appropriations Act, 2021; the<br>Commerce, Justice, Science, and Related Agencies Appropri..."],["Providing for consideration of the bill (H.R. 8015) to maintain prompt and reliable postal<br>services during the COVID-19 health emergency, and for other purposes.","HRES1092","This resolution sets forth the rule for consideration of H.R. 8015 (Delivering for America<br>Act ) to maintain prompt and reliable postal services during the COVID-19 (i.e.,<br>coronavirus disease 2019) public health emergency."],["To maintain prompt and reliable postal services during the COVID-19 health emergency, and<br>for other purposes.","HR8015","Delivering for America Act This bill prohibits the U.S. Postal Service (USPS) from making<br>changes to operations or levels of service from those that were in effect on January 1,<br>2020, establishes requirements for the processing of election mail, and provides<br>additional funding for the Postal Service Fund. (Sec. 2) Specifically, the USPS may not,<br>during the period beginning on enactment of this bill and ending on the last day of the<br>COVID-19 (i.e., coronavirus disease 2019) public health emerg..."],["To amend the Federal Funding Accountability and Transparency Act of 2006, to require the<br>budget justifications and appropriation requests of agencies be made publicly available.","HR4894","Congressional Budget Justification Transparency Act of 2020 This bill requires federal<br>agencies to make budget justification materials available to the public. The bill also<br>requires the Office of Management and Budget to make certain details regarding the<br>materials available to the public, including a list of the agencies that submit budget<br>justification materials to Congress, the dates that the materials are submitted to<br>Congress and posted online, and links to the materials."],["A bill to require the Administrator of General Services to issue guidance to clarify that<br>Federal agencies may pay by charge card for the charging of Federal electric motor<br>vehicles, and for other purposes.","S2193","Charging Helps Agencies Realize General Efficiencies Act or the CHARGE Act This bill<br>requires the General Services Administration to issue (1) guidance to clarify that federal<br>agencies may use a charge card to pay to charge federal electric motor vehicles at<br>commercial charging stations, and (2) a charge card for such payments to each agency for<br>each of the agency's electric motor vehicles."],["Providing for consideration of the bill (H.R. 2574) to amend title VI of the Civil Rights<br>Act of 1964 to restore the right to individual civil actions in cases involving disparate<br>impact, and for other purposes; providing for consideration of the bill (H.R. 2639) to<br>establish the Strength in Diversity Program, and for other purposes; providing for<br>consideration of the bill (H.R. 2694) to eliminate discrimination and promote women's<br>health and economic security by ensuring reasonable workplace accommodations for workers<br>whose ability to perform the functions of a job are limited by pregnancy, childbirth, or a<br>related medical condition; providing for consideration of the resolution (H. Res. 908)<br>condemning all forms of anti-Asian sentiment as related to COVID-19; and for other<br>purposes.","HRES1107","Sets forth the rule for consideration of the bill (H.R. 2574) to amend title VI of the<br>Civil Rights Act of 1964 to restore the right to individual civil actions in cases<br>involving disparate impact, and for other purposes; providing for consideration of the<br>bill (H.R. 2639) to establish the Strength in Diversity Program, and for other purposes;<br>providing for consideration of the bill (H.R. 2694) to eliminate discrimination and<br>promote women's health and economic security by ensuring reasonable..."],["To establish the Strength in Diversity Program, and for other purposes.","HR2639","Strength in Diversity Act of 2020 This bill directs the Department of Education (ED) to<br>award grants to specified educational agencies (e.g., local educational agencies) to<br>develop or implement plans to improve diversity and reduce or eliminate racial or<br>socioeconomic isolation in publicly funded early childhood education programs, public<br>elementary schools, or public secondary schools. Specifically, ED may award planning and<br>implementation grants to specified educational agencies. A recipien..."],["To facilitate access to child care services safely and securely during the COVID-19<br>pandemic.","HR7909","Ensuring Children and Child Care Workers Are Safe Act of 2020  This bill provides federal<br>support to mitigate the spread of COVID-19 (i.e., coronavirus disease 2019) in child care<br>provider settings during the period of community spread of the virus. Specifically, the<br>Department of Health and Human Services (HHS) must (1) provide technical assistance to<br>states, Indian tribes, and tribal organizations regarding the acquisition and use of<br>protective equipment and training related to COVID-19 tra..."],["To amend title VI of the Civil Rights Act of 1964 to restore the right to individual civil<br>actions in cases involving disparate impact, and for other purposes.","HR2574","Equity and Inclusion Enforcement Act of 2019  This bill authorizes private civil causes of<br>action for disparate impact violations (to the same extent as intentional violations) of<br>federal regulations of general applicability that prohibit discrimination on the ground of<br>race, color, or national origin in programs or activities receiving federal financial<br>assistance. Anti-Semitism shall be considered to be discrimination on the basis of race,<br>color, or national origin. Education programs that ..."],["Condemning all forms of anti-Asian sentiment as related to COVID-19.","HRES908","This resolution calls on all public officials to condemn and denounce anti-Asian<br>sentiment, racism, discrimination, and religious intolerance related to COVID-19 (i.e.,<br>coronavirus disease 2019) and calls on federal law enforcement officials, working with<br>state and local officials, to take specified steps. It calls on federal officials to<br>expeditiously investigate and document all credible reports of hate crimes and incidents<br>and threats against the Asian-American community and prosecute perp..."],["To eliminate discrimination and promote women's health and economic security by ensuring<br>reasonable workplace accommodations for workers whose ability to perform the functions of<br>a job are limited by pregnancy, childbirth, or a related medical condition.","HR2694","Pregnant Workers Fairness Act This bill prohibits employment practices that discriminate<br>against making reasonable accommodations for qualified employees affected by pregnancy,<br>childbirth, or related medical conditions. A qualified employee is an employee or<br>applicant who, with or without reasonable accommodation, can perform the essential<br>functions of the position, with specified exceptions. Specifically, the bill declares that<br>it is an unlawful employment practice to, among other things  fa..."],["Ensuring that goods made with forced labor in the Xinjiang Uyghur Autonomous Region of the<br>People's Republic of China do not enter the United States market, and for other purposes.","HR6210","Uyghur Forced Labor Prevention Act This bill imposes various restrictions related to<br>China's Xinjiang Uyghur Autonomous region, including by prohibiting certain imports from<br>Xinjiang and imposing sanctions on those responsible for human rights violations there.<br>Goods manufactured or produced in Xinjiang shall not be entitled to entry into the United<br>States unless Customs and Border Protection (1) determines that the goods were not<br>manufactured by convict labor, forced labor, or indentured la..."],["Making continuing appropriations for fiscal year 2021, and for other purposes.","HR8337","Continuing Appropriations Act, 2021 and Other Extensions Act This bill provides continuing<br>FY2021 appropriations to federal agencies and extends expiring programs that address<br>health care, surface transportation, agriculture, veterans benefits, and other issues.<br>DIVISION A--CONTINUING APPROPRIATIONS ACT, 2021 Continuing Appropriations Act, 2021 This<br>division provides continuing FY2021 appropriations to federal agencies through December<br>11, 2020. It is known as a continuing resolution (CR) and..."],["Providing for consideration of the bill (H.R. 4447) to establish an energy storage and<br>microgrid grant and technical assistance program; providing for consideration of the bill<br>(H.R. 6270) to amend the Securities Exchange Act of 1934 to require issuers to make<br>certain disclosures relating to the Xinjiang Uyghur Autonomous Region, and for other<br>purposes; and providing for consideration of the bill (H.R. 8319) making continuing<br>appropriations for fiscal year 2021, and for other purposes.","HRES1129","Sets forth the rule for consideration of the bill (H.R. 4447) to establish an energy<br>storage and microgrid grant and technical assistance program; providing for consideration<br>of the bill (H.R. 6270) to amend the Securities Exchange Act of 1934 to require issuers to<br>make certain disclosures relating to the Xinjiang Uyghur Autonomous Region, and for other<br>purposes; and providing for consideration of the bill (H.R. 8319) making continuing<br>appropriations for fiscal year 2021."],["To repeal the section of the Middle Class Tax Relief and Job Creation Act of 2012 that<br>requires the Federal Communications Commission to reallocate and auction the T-Band<br>spectrum.","HR451","Don't Break Up the T-Band Act of 2019 This bill repeals the requirement for\u00a0the Federal<br>Communications Commission to reallocate and auction the 470-512 MHz band (referred to as<br>the \"T-Band spectrum\"). The T-Band spectrum is a frequency range currently utilized by<br>public-safety entities in\u00a0certain urban areas."],["To establish an energy storage and microgrid grant and technical assistance program.","HR4447","Expanding Access to Sustainable Energy Act of 2019 This bill requires the Department of<br>Energy to award grants to assist rural electric cooperatives with identifying, evaluating,<br>designing, and demonstrating energy storage and microgrid projects that utilize energy<br>from renewable energy sources. A microgrid is a group of interconnected loads and<br>distributed energy resources that acts as a single controllable entity and that can<br>connect and disconnect from the electric grid to operate in grid-..."],["Reaffirming the House of Representatives' commitment to the orderly and peaceful transfer<br>of power called for in the Constitution of the United States, and for other purposes.","HRES1155","This resolution reaffirms the commitment of the House of Representatives to the orderly<br>and peaceful transfer of power called for in the Constitution and expresses the intention<br>of the House that there be no disruptions by the President or any person in power to<br>overturn the will of the people."],["To amend the Securities Exchange Act of 1934 to require issuers to make certain<br>disclosures relating to the Xinjiang Uyghur Autonomous Region, and for other purposes.","HR6270","Uyghur Forced Labor Disclosure Act of 2020  This bill requires issuers of securities to<br>publicly disclose their activities related to China's Xinjiang Uyghur Autonomous Region.<br>Specifically, issuers must disclose the importation of manufactured goods and materials<br>that originated or are sourced from that region, as well as details about the commercial<br>activity, gross revenue and net profits, and future import plans regarding these goods and<br>materials. Furthermore, issuers must disclose whethe..."],["To reauthorize the Stem Cell Therapeutic and Research Act of 2005, and for other purposes.","HR4764","Timely ReAuthorization of Necessary Stem-cell Programs Lends Access to Needed Therapies<br>Act of 2020 or the TRANSPLANT Act of 2020  This bill modifies and reauthorizes through<br>FY2025 the C.W. Bill Young Cell Transplantation Program, which provides support to<br>patients who need a potentially life-saving bone marrow transplant or umbilical cord blood<br>transplant. It also requires research and other activities related to stem cell therapies.<br>Specifically, the Department of Health and Human Services..."],["Providing for consideration of the Senate amendments to the bill (H.R. 925) to extend the<br>authorization of appropriations for allocation to carry out approved wetlands conservation<br>projects under the North American Wetlands Conservation Act through fiscal year 2024.","HRES1161","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 925) to<br>extend the authorization of appropriations for allocation to carry out approved wetlands<br>conservation projects under the North American Wetlands Conservation Act through fiscal<br>year 2024."],["To extend the authorization of appropriations for allocation to carry out approved<br>wetlands conservation projects under the North American Wetlands Conservation Act through<br>fiscal year 2024.","HR925","North American Wetlands Conservation Extension Act This bill reauthorizes the North<br>American Wetlands Conservation Act through FY2024."],["Providing for consideration of the resolution (H. Res. 1153) condemning unwanted,<br>unnecessary medical procedures on individuals without their full, informed consent, and<br>providing for consideration of the resolution (H. Res. 1154) condemning QAnon and<br>rejecting the conspiracy theories it promotes.","HRES1164","This resolution sets forth the rule for consideration of H.Res. 1153 (condemning the<br>performance of unwanted, unnecessary medical procedures on individuals without their<br>informed consent) and H.Res. 1154 (condemning QAnon and rejecting the conspiracy theories<br>it promotes)."],["Condemning unwanted, unnecessary medical procedures on individuals without their full,<br>informed consent.","HRES1153","This resolution condemns the performance of unwanted, unnecessary medical procedures on<br>individuals without their informed consent and recognizes the need for additional<br>accountability, oversight, and transparency to protect individuals from such medical<br>procedures while they are in the custody of U.S. Immigration and Customs Enforcement. It<br>also calls on the Department of Homeland Security to fully cooperate with investigations<br>about, and take other actions related to, medical procedures in ..."],["Condemning QAnon and rejecting the conspiracy theories it promotes.","HRES1154","This resolution condemns QAnon and rejects the conspiracy theories it promotes. The<br>resolution condemns all other groups and ideologies that contribute to the spread of<br>unfounded conspiracy theories and that encourage Americans to destroy property and attack<br>law enforcement officers. The resolution encourages federal law enforcement and homeland<br>security agencies to continue to strengthen their focus on preventing violence, threats,<br>harassment, and other criminal activity by extremists motiva..."],["A bill to amend the Federal Lands Recreation Enhancement Act to provide for a lifetime<br>National Recreational Pass for any veteran with a service-connected disability.","S327","Wounded Veterans Recreation Act This bill instructs the Department of the Interior and the<br>Department of Agriculture to make the National Parks and Federal Recreational Lands Pass<br>available, without charge and for the lifetime of the passholder, to (1) any U.S. citizen<br>or person domiciled in the United States who has been medically determined to be<br>permanently disabled, if the citizen or person furnishes adequate proof of the disability<br>and such citizenship or residency; and (2) any veteran w..."],["A bill to require the Secretary of Veterans Affairs to submit to Congress reports on<br>patient safety and quality of care at medical centers of the Department of Veterans<br>Affairs, and for other purposes.","S3147","Improving Safety and Security for Veterans Act of 2019 This bill requires the Department<br>of Veterans Affairs (VA) to report on the policies and procedures relating to patient<br>safety and quality of care and the steps the VA has taken to improve such care at VA<br>medical centers.  After any investigation or trial concludes, the VA must also report on<br>the events involving deaths that occurred at the Louis A. Johnson VA Medical Center in<br>Clarksburg, West Virginia, and the actions the VA has taken t..."],["To modify permitting requirements with respect to the discharge of any pollutant from the<br>Point Loma Wastewater Treatment Plant in certain circumstances, and for other purposes.","HR4611","Ocean Pollution Reduction Act II This bill revises requirements under the National<br>Pollutant Discharge Elimination System (NPDES) permit program for the Point Loma<br>Wastewater Treatment Plant in San Diego, California. Currently, the plant must meet<br>standards established under the NPDES permit program for the primary and secondary<br>treatment of wastewater discharged by the plant into marine waters. The city of San Diego<br>may apply for permit modifications, which offer alternatives to certain seco..."],["Providing for consideration of the bill (H.R. 8294) to amend the National Apprenticeship<br>Act and expand the national apprenticeship system to include apprenticeships, youth<br>apprenticeships, and pre-apprenticeship registered under such Act, to promote the<br>furtherance of labor standards necessary to safeguard the welfare of apprentices, and for<br>other purposes.","HRES1224","Sets forth the rule for consideration of the bill (H.R. 8294) to amend the National<br>Apprenticeship Act and expand the national apprenticeship system to include<br>apprenticeships, youth apprenticeships, and pre-apprenticeship registered under such Act,<br>to promote the furtherance of labor standards necessary to safeguard the welfare of<br>apprentices."],["To amend the National Apprenticeship Act and expand the national apprenticeship system to<br>include apprenticeships, youth apprenticeships, and pre-apprenticeship registered under<br>such Act, to promote the furtherance of labor standards necessary to safeguard the welfare<br>of apprentices, and for other purposes.","HR8294","National Apprenticeship Act of 2020 This bill provides statutory authority for the<br>registered apprenticeship program within the Department of Labor (DOL), provides for<br>related grant programs, and contains related provisions. The bill provides statutory<br>authority for the Office of Apprenticeship (OA) within DOL. The OA's responsibilities<br>include (1) supporting the development of apprenticeship models; (2) recognizing qualified<br>state apprenticeship agencies, and operating apprenticeship offices..."],["Providing for consideration of the bill (H.R. 3884) to decriminalize and deschedule<br>cannabis, to provide for reinvestment in certain persons adversely impacted by the War on<br>Drugs, to provide for expungement of certain cannabis offenses, and for other purposes.","HRES1244","Sets forth the rule for consideration of the bill (H.R. 3884) to decriminalize and<br>deschedule cannabis, to provide for reinvestment in certain persons adversely impacted by<br>the War on Drugs, to provide for expungement of certain cannabis offenses."],["To amend the Lacey Act Amendments of 1981 to clarify provisions enacted by the Captive<br>Wildlife Safety Act, to further the conservation of certain wildlife species, and for<br>other purposes.","HR1380","Big Cat Public Safety Act This bill revises requirements governing the trade of big cats<br>(i.e., species of lion, tiger, leopard, cheetah, jaguar, or cougar or any hybrid of such<br>species). Specifically, it revises restrictions on the possession and exhibition of big<br>cats, including to restrict direct contact between the public and big cats."],["To decriminalize and deschedule cannabis, to provide for reinvestment in certain persons<br>adversely impacted by the War on Drugs, to provide for expungement of certain cannabis<br>offenses, and for other purposes.","HR3884","Marijuana Opportunity Reinvestment and Expungement Act of 2019 or the MORE Act of 2019<br>This bill decriminalizes marijuana. Specifically, it removes marijuana from the list of<br>scheduled substances under the Controlled Substances Act and eliminates criminal penalties<br>for an individual who manufactures, distributes, or possesses marijuana. The bill also<br>makes other changes, including the following:  replaces statutory references to marijuana<br>and marihuana with cannabis,  requires the Bureau of L..."],["Calling for the global repeal of blasphemy, heresy, and apostasy laws.","HRES512","This resolution calls on the President and the Department of State to (1) make the repeal<br>of blasphemy, heresy, and apostasy laws a priority in bilateral relationships between the<br>United States and countries that have such laws; (2) designate countries that enforce such<br>laws as countries of particular concern for religious freedom; and (3) oppose efforts by<br>the United Nations to implement an international anti-blasphemy norm. The resolution also<br>calls on the governments of countries that enfo..."],["To establish the Servicemembers and Veterans Initiative within the Civil Rights Division<br>of the Department of Justice, and for other purposes.","HR8354","Servicemembers and Veterans Initiative Act of 2020 This bill establishes the<br>Servicemembers and Veterans Initiative within the Civil Rights Division of the Department<br>of Justice (DOJ). The initiative shall, among other things  serve as legal and policy<br>advisor on DOJ's efforts to enforce criminal and civil laws that impact service members,<br>veterans, and their families; develop policy recommendations for improved enforcement of<br>federal law to support service members, veterans, and their famili..."],["Making further continuing appropriations for fiscal year 2021, and for other purposes.","HR8900","Further Continuing Appropriations Act, 2021, and Other Extensions Act  This bill provides<br>continuing FY2021 appropriations to federal agencies through December 18, 2020, and<br>extends several expiring health programs.  DIVISION A--FURTHER CONTINUING APPROPRIATIONS<br>ACT, 2021 Further Continuing Appropriations Act, 2021 This division provides continuing<br>FY2021 appropriations to federal agencies through December 18, 2020. It is known as a<br>continuing resolution (CR) and prevents a government shutdow..."],["A bill to improve the management of driftnet fishing.","S906","Driftnet Modernization and Bycatch Reduction Act This bill addresses certain driftnet<br>fishing. (Driftnet fishing is a method of fishing in which a gillnet composed of a panel<br>or panels of webbing, or a series of such gillnets, is placed in the water and allowed to<br>drift with the currents and winds for the purpose of entangling fish in the webbing.)<br>Currently, the use of large-scale drift gillnets with a total length of 2.5 kilometers or<br>more is prohibited in the United States.The bill expands..."],["A bill to require the Secretary of Veterans Affairs to formally recognize caregivers of<br>veterans, notify veterans and caregivers of clinical determinations relating to<br>eligibility for caregiver programs, and temporarily extend benefits for veterans who are<br>determined ineligible for the family caregiver program, and for other purposes.","S2216","Transparency and Effective Accountability Measures for Veteran Caregivers Act or the TEAM<br>Veteran Caregivers Act The bill revises the administration of Department of Veterans<br>Affairs (VA) caregiver programs. Specifically, the bill requires the VA to formally<br>recognize caregivers of veterans by identifying any caregiver in the electronic health<br>record of the veteran. Such caregivers covered by the bill include those approved as a<br>provider of personal care services under the Program of Comprehe..."],["To require the Secretary of the Interior to conduct a special resource study of the sites<br>associated with the life and legacy of the noted American philanthropist and business<br>executive Julius Rosenwald, with a special focus on the Rosenwald Schools, and for other<br>purposes.","HR3250","Julius Rosenwald and the Rosenwald Schools Act of 2020 This bill directs the Department of<br>the Interior to study the sites associated with the life and legacy of Julius Rosenwald, a<br>part owner and President of Sears, Roebuck and Company and a noted philanthropist who<br>helped finance construction of 5,357 schools in 15 southern states between 1912 and 1932.<br>The study shall include a special emphasis on specified sites, including certain Rosenwald<br>Schools.  In conducting such study, Interior sha..."],["Making further continuing appropriations for fiscal year 2021, and for other purposes.","HJRES107","Further Additional Continuing Appropriations Act, 2021 This joint resolution provides<br>continuing FY2021 appropriations to federal agencies through December 20, 2020. It is<br>known as a continuing resolution (CR) and prevents a government shutdown that would<br>otherwise occur if the FY2021 appropriations bills have not been enacted when the existing<br>CR expires on December 18, 2020."],["Making further continuing appropriations for fiscal year 2021, and for other purposes.","HJRES110","Extension of Continuing Appropriations Act, 2021 This joint resolution provides continuing<br>FY2021 appropriations to federal agencies through December 21, 2020. It is known as a<br>continuing resolution (CR) and prevents a government shutdown that would otherwise occur<br>if the FY2021 appropriations bills have not been enacted when the existing CR expires on<br>December 20, 2020."],["Providing for consideration of the Senate amendment to the bill (H.R. 133) to promote<br>economic partnership and cooperation between the United States and Mexico; providing for<br>disposition of the Senate amendment to the bill (H.R. 1520) to amend the Public Health<br>Service Act to provide for the publication of a list of licensed biological products, and<br>for other purposes; and for other purposes.","HRES1271","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 133) to<br>promote economic partnership and cooperation between the United States and Mexico;<br>providing for disposition of the Senate amendment to the bill (H.R. 1520) to amend the<br>Public Health Service Act to provide for the publication of a list of licensed biological<br>products, and for other purposes."],["To promote economic partnership and cooperation between the United States and Mexico.","HR133","United States-Mexico Economic Partnership Act This bill directs the Department of State to<br>develop a strategy to enhance economic cooperation and expand professional and educational<br>exchange programs between the United States and Mexico. The State Department shall develop<br>strategies to encourage more academic exchanges between the countries, as well as<br>exchanges to encourage strengthening business skills and entrepreneurship. The State<br>Department shall also promote energy infrastructure coord..."],["A joint resolution disapproving the President's proposal to take an action relating to the<br>application of certain sanctions with respect to the Russian Federation.","SJRES2","This joint resolution expresses disapproval of the Office of Foreign Assets Control's<br>report to Congress that it intends to terminate sanctions imposed on En+ Group plc, UC<br>Rusal plc, and JSC EuroSibEnergo, companies connected to sanctioned Russian oligarch Oleg<br>Deripaska."],["A joint resolution providing for congressional disapproval of the proposed transfer to the<br>United Arab Emirates certain defense articles and services.","SJRES48","This joint resolution prohibits the proposed transfer of various defense articles and<br>related services to the United Arab Emirates, as described in Executive Communication 1420<br>and published in the Congressional Record on June 3, 2019."],["A resolution instructing the managers on the part of the Senate on the conference on the<br>bill S. 1790 (116th Congress) to insist upon the provisions contained in section 630A of<br>the House amendment (relating to the repeal of a requirement of reduction of Survivor<br>Benefit Plan survivor annuities by amounts of dependency and indemnity compensation).","SRES332","This resolution instructs Senate conferees on the conference committee for S. 1790<br>(National Defense Authorization Act for Fiscal Year 2020) to insist upon certain<br>provisions contained in the House amendment that relate to the repeal of a requirement of<br>reduction of Survivor Benefit Plan survivor annuities by amounts of dependency and<br>indemnity compensation."],["A resolution instructing the managers on the part of the Senate on the bill S. 1790 (116th<br>Congress) to insist upon the provisions contained in subtitle B of title XI of the House<br>amendment (relating to paid family leave for Federal personnel).","SRES333","This resolution instructs Senate conferees on the conference committee for S. 1790<br>(National Defense Authorization Act for Fiscal Year 2020) to insist upon certain<br>provisions in the House amendment that relate to paid family leave for federal personnel."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Environmental Protection Agency relating<br>to \"Repeal of the Clean Power Plan; Emission Guidelines for Greenhouse Gas Emissions From<br>Existing Electric Utility Generating Units; Revisions to Emission Guidelines Implementing<br>Regulations\".","SJRES53","This joint resolution nullifies the Environmental Protection Agency's rule that  repealed<br>the Clean Power Plan, which established emission guidelines for states to follow in<br>limiting carbon dioxide emissions from existing power plants; finalized the Affordable<br>Clean Energy rule, which replaced the Clean Power Plan with emission guidelines for states<br>to use when developing plans to limit carbon dioxide; and  revised requirements that<br>govern the process under which the EPA and states develop em..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Internal Revenue Service, Department of<br>the Treasury, relating to \"Contributions in Exchange for State or Local Tax Credits\".","SJRES50","This resolution expresses congressional disapproval of the rule submitted by the Internal<br>Revenue Service relating to charitable contribution and estate tax deductions when a<br>taxpayer receives or expects to receive a corresponding state or local tax credit, and<br>such rule shall have no force or effect."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Secretary of the Treasury and the<br>Secretary of Health and Human Services relating to \"State Relief and Empowerment Waivers\".","SJRES52","This joint resolution rescinds the State Relief and Empowerment Waivers guidance issued on<br>October 24, 2018, which relaxes the criteria for states to obtain waivers from certain<br>health insurance plan coverage requirements."],["To direct the Comptroller General of the United States to conduct an assessment of the<br>responsibilities, workload, and vacancy rates of Department of Veterans Affairs suicide<br>prevention coordinators, and for other purposes.","HR2333","Support for Suicide Prevention Coordinators Act (Sec. 2) This bill requires the Government<br>Accountability Office to report on the responsibilities, workload, training, and vacancy<br>rates of suicide prevention coordinators at the Department of Veterans Affairs."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Department of Education relating to<br>\"Borrower Defense Institutional Accountability\".","SJRES56","This joint resolution nullifies a rule issued by the Department of Education (ED) on<br>September 23, 2019. The rule revised the process for a student loan borrower to obtain a<br>discharge from a student loan if an institution of higher education misrepresented a<br>material fact. Among other requirements, the 2019 rule requires each borrower to apply to<br>ED for a defense to repayment. However, under the previous 2016 rule, an application could<br>be submitted on behalf of an entire group (e.g., veterans)."],["A bill to amend title II of the Social Security Act to eliminate the five-month waiting<br>period for disability insurance benefits under such title for individuals with amyotrophic<br>lateral sclerosis.","S578","ALS Disability Insurance Access Act of 2019 This bill eliminates the five-month waiting<br>period for disability benefits under the Old Age, Survivors, and Disability Insurance<br>program for individuals with amyotrophic lateral sclerosis (a progressive<br>neurodegenerative disease, also known as Lou Gehrig's disease,\u00a0that affects nerve cells in<br>the brain and spinal cord). Under current law, individuals\u00a0must wait five months after<br>becoming disabled before their disability insurance benefit payments\u00a0ma..."],["A joint resolution providing for congressional disapproval of the proposed foreign<br>military sale to the United Arab Emirates of certain defense articles and services.","SJRES78","This joint resolution prohibits the proposed foreign military sale of specified defense<br>articles to the United Arab Emirates."],["Authorizing and directing the Speaker to administer the oath of office.","HRES1","This resolution authorizes and directs the Speaker of the House of Representatives to<br>administer the oath of office to all Representatives-elect."],["Adopting the Rules of the House of Representatives of the One Hundred Seventeenth<br>Congress, and for other purposes.","HRES8","This resolution establishes the rules of the House of Representatives for the 117th<br>Congress by adopting and modifying the House rules from the 116th Congress. Changes from<br>the rules for the previous Congress include measures to facilitate the operation of<br>Congress during the ongoing COVID-19 (i.e., coronavirus disease 2019) pandemic. The<br>resolution makes the Office of Diversity and Inclusion permanent, revises language in the<br>rules to be gender-inclusive, and continues requirements to protec..."],["To amend the Federal Funding Accountability and Transparency Act of 2006, to require the<br>budget justifications and appropriation requests of agencies be made publicly available.","HR22","Congressional Budget Justification Transparency Act of 2021 This bill requires federal<br>agencies to make budget justification materials available to the public on a website. The<br>bill also requires the Office of Management and Budget to make certain details regarding<br>the materials available to the public, including a list of the agencies that submit budget<br>justification materials to Congress, the dates that the materials are submitted to<br>Congress and posted online, and links to the materials."],["Providing for consideration of the resolution (H. Res. 21) calling on Vice President<br>Michael R. Pence to convene and mobilize the principal officers of the executive<br>departments of the Cabinet to activate section 4 of the 25th Amendment to declare<br>President Donald J. Trump incapable of executing the duties of his office and to<br>immediately exercise powers as acting President; and for other purposes.","HRES38","This resolution sets forth the rule for the consideration of H.Res. 21 (calling on Vice<br>President Michael R. Pence to take appropriate actions to declare President Donald J.<br>Trump incapable of executing the duties of his office and to immediately exercise powers<br>as Acting President). The prohibition against personality in debate shall not apply during<br>such consideration or any special order of business providing for consideration of H.Res.<br>24 (impeaching President Donald John Trump for high c..."],["Calling on Vice President Michael R. Pence to convene and mobilize the principal officers<br>of the executive departments of the Cabinet to activate section 4 of the 25th Amendment to<br>declare President Donald J. Trump incapable of executing the duties of his office and to<br>immediately exercise powers as acting President.","HRES21"," This resolution calls upon Vice President Michael R. Pence (1) to immediately use his<br>powers under section 4 of the Twenty-fifth Amendment to convene and mobilize the principal<br>officers of the executive departments to declare that the President is unable to<br>successfully discharge the duties and powers of his office, and (2) to transmit to the<br>President pro tempore of the Senate and the Speaker of the House notice that he will be<br>immediately assuming the powers and duties of the office as Act..."],["Providing for consideration of the resolution (H. Res. 24) impeaching Donald John Trump,<br>President of the United States, for high crimes and misdemeanors.","HRES41","This resolution sets forth the rule for consideration of H.Res. 24 (impeaching President<br>Donald John Trump for high crimes and misdemeanors) and adopts H.Res. 40 (appointing and<br>authorizing managers for the impeachment trial). The resolution also prohibits resolutions<br>incidental to impeachment relating to H.Res. 24 from being privileged during the remainder<br>of the 117th Congress. In addition, this resolution extends the following dates in H.Res.<br>8 (establishing the Rules of the House of Repre..."],["Impeaching Donald John Trump, President of the United States, for high crimes and<br>misdemeanors.","HRES24","This resolution impeaches President Donald John Trump for high crimes and misdemeanors.<br>Specifically, the resolution sets forth an article of impeachment stating that President<br>Trump incited an insurrection against the government of the United States. The article<br>states that  prior to the joint session of Congress held on January 6, 2021, to count the<br>votes of the electoral college, President Trump repeatedly issued false statements<br>asserting that the presidential election results were fraudu..."],["To provide for an exception to a limitation against appointment of persons as Secretary of<br>Defense within seven years of relief from active duty as a regular commissioned officer of<br>the Armed Forces.","HR335","This bill allows the first person nominated and appointed as Secretary of Defense after 12<br>p.m. (Eastern Standard Time) on January 20, 2021, to be a person who is, on the date of<br>appointment, at least four years after relief from active duty as a commissioned officer<br>of a regular component of the Armed Forces. Under current law, an individual may not be<br>appointed as Secretary of Defense within seven years after relief from such active duty."],["Providing for consideration of the bill (H.R. 447) to amend the Act of August 16, 1937<br>(commonly referred to as the \"National Apprenticeship Act\") and expand the national<br>apprenticeship system to include apprenticeships, youth apprenticeships, and pre-<br>apprenticeship registered under such Act, to promote the furtherance of labor standards<br>necessary to safeguard the welfare of apprentices, and for other purposes; providing for<br>consideration of the concurrent resolution (H. Con. Res. 11) establishing the<br>congressional budget for the United States Government for fiscal year 2021 and setting<br>forth the appropriate budgetary levels for fiscal years 2022 through 2030; and for other<br>purposes.","HRES85","This resolution sets forth the rule for consideration of H.R. 447 (National Apprenticeship<br>Act of 2021) and H.Con.Res. 11 (establishing the congressional budget for FY2021 and<br>setting forth the appropriate budgetary levels for FY2022-FY2030). The resolution also<br>adopts H.Res. 73 (authorizing the Sergeant at Arms of the House of Representatives to<br>impose a fine against a Member, Delegate, or the Resident Commissioner for failure to<br>complete security screening for entrance to the House chamber)..."],["Establishing the congressional budget for the United States Government for fiscal year<br>2021 and setting forth the appropriate budgetary levels for fiscal years 2022 through<br>2030.","HCONRES11","This concurrent resolution establishes the congressional budget for the federal government<br>for FY2021, sets forth budgetary levels for FY2022-FY2030, and provides reconciliation<br>instructions for legislation that increases the deficit.  The resolution recommends levels<br>and amounts for FY2021-FY2030 for    federal revenues,   new budget authority,   budget<br>outlays,   deficits,   public debt,   debt held by the public, and   the major functional<br>categories of spending.   It also recommends level..."],["Providing for consideration of the Resolution (H. Res. 72) removing a certain Member from<br>certain standing committees of the House of Representatives.","HRES91","This resolution sets forth the rule for consideration of H.Res. 72 (removing<br>Representative Marjorie Taylor Greene from the House Committee on the Budget and the House<br>Committee on Education and Labor)."],["Removing a certain Member from certain standing committees of the House of<br>Representatives.","HRES72","This resolution removes Representative Marjorie Taylor Greene from the House Committee on<br>the Budget and the House Committee on Education and Labor."],["Providing for the adoption of the concurrent resolution (S. Con. Res. 5) setting forth the<br>congressional budget for the United States Government for fiscal year 2021 and setting<br>forth the appropriate budgetary levels for fiscal years 2022 through 2030.","HRES101","This resolution adopts a concurrent resolution (S.Con.Res. 5) that establishes the<br>congressional budget for the federal government for FY2021, sets forth budgetary levels<br>for FY2022-FY2030, and provides reconciliation instructions for legislation that increases<br>the deficit."],["To amend the Act of August 16, 1937 (commonly referred to as the \"National Apprenticeship<br>Act\") and expand the national apprenticeship system to include apprenticeships, youth<br>apprenticeships, and pre-apprenticeship registered under such Act, to promote the<br>furtherance of labor standards necessary to safeguard the welfare of apprentices, and for<br>other purposes.","HR447","National Apprenticeship Act of 2021 This bill provides statutory authority for the<br>registered apprenticeship program within the Department of Labor and for related grant<br>programs. The bill provides statutory authority for the Office of Apprenticeship (OA)<br>within Labor. The OA's responsibilities include (1) supporting the development of<br>apprenticeship models; (2) recognizing qualified state apprenticeship agencies, and<br>operating apprenticeship offices in states without a recognized agency; (3)..."],["Providing for consideration of the bill (H.R. 803) to designate certain lands in the State<br>of Colorado as components of the National Wilderness Preservation System, and for other<br>purposes, and providing for consideration of the bill (H.R. 5) to prohibit discrimination<br>on the basis of sex, gender identity, and sexual orientation, and for other purposes.","HRES147","This resolution sets forth the rule for consideration of H.R. 803 (Colorado Wilderness Act<br>of 2021) and H.R. 5 (Equality Act)."],["To regulate monitoring of electronic communications between an incarcerated person in a<br>Bureau of Prisons facility and that person's attorney or other legal representative, and<br>for other purposes.","HR546","Effective Assistance of Counsel in the Digital Era Act This bill prohibits the Department<br>of Justice from monitoring the contents of a privileged electronic communication between<br>an incarcerated person and his or her legal representative."],["To impose requirements on the payment of compensation to professional persons employed in<br>voluntary cases commenced under title III of the Puerto Rico Oversight Management and<br>Economic Stability Act (commonly known as \"PROMESA\").","HR1192","Puerto Rico Recovery Accuracy in Disclosures Act of 2021 or PRRADA This bill requires<br>professionals employed in debt adjustment cases involving Puerto Rico to file verified<br>statements disclosing their connections with the debtor, creditors, and other interested<br>parties before seeking compensation for their services."],["To prohibit discrimination on the basis of sex, gender identity, and sexual orientation,<br>and for other purposes.","HR5","Equality Act This bill prohibits discrimination based on sex, sexual orientation, and<br>gender identity in areas including public accommodations and facilities, education,<br>federal funding, employment, housing, credit, and the jury system. Specifically, the bill<br>defines and includes sex, sexual orientation, and gender identity among the prohibited<br>categories of discrimination or segregation.  The bill expands the definition of public<br>accommodations to include places or establishments that provid..."],["To designate certain lands in the State of Colorado as components of the National<br>Wilderness Preservation System, and for other purposes.","HR803","Protecting America's Wilderness and Public Lands Act This bill provides for the<br>preservation, conservation, and recreational use of public lands, including in Arizona,<br>California, Maine, North Carolina, Oregon, Virginia, Washington, and the U.S. Virgin<br>Islands. In Colorado, the bill designates wilderness, potential wilderness, a recreation<br>management area, wildlife conservation areas, a national historic landscape, and special<br>management areas and establishes the Greater Thompson Divide Fugit..."],["Providing for consideration of the bill (H.R. 1319) to provide for reconciliation pursuant<br>to title II of S. Con. Res. 5.","HRES166","This resolution sets forth the rule for consideration of H.R. 1319 (American Rescue Plan<br>Act of 2021). (H.R. 1319 provides for reconciliation pursuant to title II of S.Con.Res. 5<br>that directs several House and Senate committees to submit changes in laws within their<br>jurisdictions that will increase the deficit over FY2021-FY2030 by no more than an amount<br>specified for each committee.)"],["To provide for reconciliation pursuant to title II of S. Con. Res. 5.","HR1319","American Rescue Plan Act of 2021 This bill provides additional relief to address the<br>continued impact of COVID-19 (i.e., coronavirus disease 2019) on the economy, public<br>health, state and local governments, individuals, and businesses.  TITLE I--COMMITTEE ON<br>AGRICULTURE, NUTRITION, AND FORESTRY Subtitle A--Agriculture (Sec. 1001) This section<br>provides funding for FY2021 to the Department of Agriculture (USDA) to (1) purchase food<br>and agricultural commodities; (2) purchase and distribute agric..."],["Providing for consideration of the bill (H.R. 1) to expand Americans' access to the ballot<br>box, reduce the influence of big money in politics, strengthen ethics rules for public<br>servants, and implement other anti-corruption measures for the purpose of fortifying our<br>democracy, and for other purposes; providing for consideration of the bill (H.R. 1280) to<br>hold law enforcement accountable for misconduct in court, improve transparency through<br>data collection, and reform police training and policies; and for other purposes.","HRES179","This resolution sets forth the rule for consideration of H.R. 1 (For the People Act of<br>2021) and H.R. 1280 (George Floyd Justice In Policing Act of 2021). In addition, the<br>resolution adopts H. Res. 176 (providing for corrections in the engrossment of H.R. 1319,<br>the American Rescue Plan Act of 2021) and H. Res. 177 (authorizing a congressional<br>candidate to file a statement with the Clerk of the House of Representatives regarding the<br>candidate's intent to participate in a proposed small donor f..."],["To expand Americans' access to the ballot box, reduce the influence of big money in<br>politics, strengthen ethics rules for public servants, and implement other anti-corruption<br>measures for the purpose of fortifying our democracy, and for other purposes.","HR1","For the People Act of 2021 This bill addresses voter access, election integrity and<br>security, campaign finance, and ethics for the three branches of government.<br>Specifically, the bill expands voter registration (e.g., automatic and same-day<br>registration) and voting access (e.g., vote-by-mail and early voting). It also limits<br>removing voters from voter rolls. The bill requires states to establish independent<br>redistricting commissions to carry out congressional redistricting. Additionally, the..."],["To hold law enforcement accountable for misconduct in court, improve transparency through<br>data collection, and reform police training and policies.","HR1280","George Floyd Justice in Policing Act of 2021 This bill addresses a wide range of policies<br>and issues regarding policing practices and law enforcement accountability. It increases<br>accountability for law enforcement misconduct, restricts the use of certain policing<br>practices, enhances transparency and data collection, and establishes best practices and<br>training requirements.  The bill enhances existing enforcement mechanisms to remedy<br>violations by law enforcement. Among other things, it does t..."],["Providing for consideration of the bill (H.R. 842) to amend the National Labor Relations<br>Act, the Labor Management Relations Act, 1947, and the Labor-Management Reporting and<br>Disclosure Act of 1959, and for other purposes; providing for consideration of the bill<br>(H.R. 8) to require a background check for every firearm sale; providing for consideration<br>of the bill (H.R. 1446) to amend chapter 44 of title 18, United States Code, to strengthen<br>the background check procedures to be followed before a Federal firearms licensee may<br>transfer a firearm to a person who is not such a licensee; and for other purposes.","HRES188","This resolution sets forth the rule for consideration of H.R. 842 (Protecting the Right to<br>Organize Act of 2021), H.R. 8 (Bipartisan Background Checks Act of 2021), and H.R. 1446<br>(Enhanced Background Checks Act of 2021). Certain proceedings regarding journal approval<br>and adjournment shall take place on any legislative day from March 13, 2021, through April<br>22, 2021. It shall be in order at any time through the calendar day of April 22, 2021, for<br>the Speaker of the House to suspend the rules. ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1319) to provide for<br>reconciliation pursuant to title II of S. Con. Res. 5.","HRES198","This resolution sets forth the rule for consideration of the Senate amendment to H.R. 1319<br>(American Rescue Plan Act of 2021)."],["To amend the National Labor Relations Act, the Labor Management Relations Act, 1947, and<br>the Labor-Management Reporting and Disclosure Act of 1959, and for other purposes.","HR842","Protecting the Right to Organize Act of 2021 This bill expands various labor protections<br>related to employees' rights to organize and collectively bargain in the workplace. Among<br>other things, it (1) revises the definitions of employee, supervisor, and employer to<br>broaden the scope of individuals covered by the fair labor standards; (2) permits labor<br>organizations to encourage participation of union members in strikes initiated by<br>employees represented by a different labor organization (i.e.,..."],["To amend chapter 44 of title 18, United States Code, to strengthen the background check<br>procedures to be followed before a Federal firearms licensee may transfer a firearm to a<br>person who is not such a licensee.","HR1446","Enhanced Background Checks Act of 2021  (Sec. 2) This bill revises background check<br>requirements applicable to proposed firearm transfers from a federal firearms licensee<br>(e.g., a licensed gun dealer) to an unlicensed person. Specifically, it increases the<br>amount of time, from 3 business days to a minimum of 10 business days, that a federal<br>firearms licensee must wait to receive a completed background check prior to transferring<br>a firearm to an unlicensed person. (This type of transaction is ..."],["To require a background check for every firearm sale.","HR8","Bipartisan Background Checks Act of 2021 This bill establishes new background check<br>requirements for firearm transfers between private parties (i.e., unlicensed individuals).<br>Specifically, it prohibits a firearm transfer between private parties unless a licensed<br>gun dealer, manufacturer, or importer first takes possession of the firearm to conduct a<br>background check. The prohibition does not apply to certain firearm transfers or<br>exchanges, such as a gift between spouses in good faith."],["Providing for consideration of the bill (H.R. 1620) to reauthorize the Violence Against<br>Women Act of 1994, and for other purposes; providing for consideration of the bill (H.R.<br>6) to authorize the cancellation of removal and adjustment of status of certain aliens,<br>and for other purposes; providing for consideration of the bill (H.R. 1603) to amend the<br>Immigration and Nationality Act to provide for terms and conditions for nonimmigrant<br>workers performing agricultural labor or services, and for other purposes; providing for<br>consideration of the bill (H.R. 1868) to prevent across-the-board direct spending cuts,<br>and for other purposes; providing for consideration of the joint resolution (H.J. Res. 17)<br>removing the deadline for the ratification of the equal rights amendment; and for other<br>purposes.","HRES233","This resolution sets forth the rule for consideration of H.R. 1620 (Violence Against Women<br>Reauthorization Act of 2021), H.R. 6 (American Dream and Promise Act of 2021), H.R. 1603<br>(Farm Workforce Modernization Act of 2021), H.R. 1868 (preventing across-the-board direct<br>spending cuts), and H.J.Res. 17 (removing the deadline for the ratification of the equal<br>rights amendment). In addition, this resolution adopts H.Res. 232 (providing for an<br>affirmative majority vote of Members and a quorum bein..."],["To amend the Small Business Act and the CARES Act to extend the covered period for the<br>paycheck protection program, and for other purposes.","HR1799","PPP Extension Act of 2021 This bill extends the Paycheck Protection Program, established<br>to support small businesses in response to COVID-19 (i.e., coronavirus disease 2019),<br>through June 30, 2021. Currently, the program is set to expire on March 31, 2021. For the<br>final 30 days of the program (i.e., from June 1 until June 30), the Small Business<br>Administration may only process applications submitted prior to June 1, and it may not<br>accept any new loan applications. The bill excludes the budget..."],["To reauthorize the Child Abuse Prevention and Treatment Act, and for other purposes.","HR485","Stronger Child Abuse Prevention and Treatment Act This bill reauthorizes through FY2027<br>and revises the Child Abuse Prevention and Treatment Act and the Child Abuse Prevention<br>and Treatment and Adoption Reform Act of 1978\u00a0to expand\u00a0services\u00a0for preventing and<br>treating child abuse.  Specifically, the bill establishes requirements concerning<br>collecting and exchanging\u00a0data about child abuse and neglect. For instance, the bill<br>requires the Department of Health and Human Services\u00a0(HHS) to (1)\u00a0esta..."],["To reauthorize the Violence Against Women Act of 1994, and for other purposes.","HR1620","Violence Against Women Reauthorization Act of 2021 This bill modifies and reauthorizes<br>through FY2026 programs and activities under the Violence Against Women Act that seek to<br>prevent and respond to domestic violence, sexual assault, dating violence, and stalking.<br>The bill also authorizes new programs, makes changes to federal firearms laws, and<br>establishes new protections to promote housing stability and economic security for victims<br>of domestic violence, sexual assault, dating violence, an..."],["To award three congressional gold medals to the United States Capitol Police and those who<br>protected the U.S. Capitol on January 6, 2021.","HR1085","This bill directs the Speaker of the House and the President pro tempore of the Senate to<br>arrange for the award of three Congressional Gold Medals to the U.S. Capitol Police (USCP)<br>and other law enforcement agencies that protected the U.S. Capitol on January 6, 2021.<br>Following the award of these medals, one medal shall be given to the USCP, one medal shall<br>be given to the Metropolitan Police Department of the District of Columbia, and one medal<br>shall be given to the Smithsonian Institution an..."],["To amend the CARES Act to extend the sunset for the definition of a small business debtor,<br>and for other purposes.","HR1651","COVID-19 Bankruptcy Relief Extension Act of 2021  This bill extends existing provisions<br>that provide relief to debtors in bankruptcy, including those related to the COVID-19<br>(i.e., coronavirus disease 2019) pandemic.  These provisions (1) exclude certain COVID-19<br>aid payments from income for the purposes of bankruptcy, and (2) increase the debt<br>eligibility threshold for businesses qualifying for certain types of Chapter 11<br>reorganization bankruptcy. Currently, these provisions expire March 27..."],["To deposit certain funds into the Crime Victims Fund, to waive matching requirements, and<br>for other purposes.","HR1652","VOCA Fix to Sustain the Crime Victims Fund Act of 2021 This bill adds a new source of<br>revenue for the Crime Victims Fund and makes changes to formula grants supported by the<br>fund.  Specifically, the bill directs revenues collected from deferred prosecution and<br>non-prosecution agreements to be deposited into the Crime Victims Fund. Currently, such<br>revenues are deposited into the general fund of the Treasury. Additionally, the bill<br>increases the percentage\u2014from 60% to 75%\u2014of state compensation ..."],["To authorize the cancellation of removal and adjustment of status of certain aliens, and<br>for other purposes.","HR6","American Dream and Promise Act of 2021  This bill provides certain aliens with a path to<br>receive permanent resident status and contains other immigration-related provisions. The<br>Department of Homeland Security (DHS) or the Department of Justice (DOJ) shall provide<br>conditional permanent resident status for 10 years to a qualifying alien who entered the<br>United States as a minor and (1) is deportable or inadmissible, (2) has deferred enforced<br>departure (DED) status or temporary protected status ..."],["To amend the Immigration and Nationality Act to provide for terms and conditions for<br>nonimmigrant workers performing agricultural labor or services, and for other purposes.","HR1603","Farm Workforce Modernization Act of 2021  This bill contains provisions related to alien<br>farmworkers, including provisions establishing a certified agricultural worker (CAW)<br>status and changing the H-2A temporary worker program.  The Department of Homeland<br>Security (DHS) may grant CAW status to an applying alien who (1) performed at least 1,035<br>hours of agricultural labor during the two-year period prior to March 8, 2021; (2) on that<br>date was inadmissible, deportable, or under a grant of defe..."],["To prevent across-the-board direct spending cuts, and for other purposes.","HR1868","This bill makes several budgetary and technical changes to provisions under Medicare and<br>Medicaid.  The bill continues to exempt Medicare from sequestration until December 31,<br>2021. (Sequestration is a process of automatic, usually across-the-board spending<br>reductions under which budgetary resources are permanently cancelled to enforce specific<br>budget policy goals.)  The bill also specifically  applies certain modified payment limits<br>to rural health clinics that temporarily enrolled in Medica..."],["Condemning the military coup that took place on February 1, 2021, in Burma and the Burmese<br>military detention of civilian leaders, calling for the release of all those detained and<br>for those elected to serve in Parliament to resume their duties, and for other purposes.","HRES134","This resolution condemns the military coup that took place in Burma (Myanmar) on February<br>1, 2021. It also calls on the Burmese military to (1) release all those detained<br>arbitrarily in the coup, (2) restore all forms of communications, and (3) return to power<br>all members of the civilian government."],["To reauthorize the United States Anti-Doping Agency, and for other purposes.","HR172","United States Anti-Doping Agency Reauthorization Act of 2021 This bill authorizes<br>appropriations for the U.S. Anti-Doping Agency (USADA) through FY2030. The bill adds<br>requirements that USADA  be responsible for certifying in advance any testing conducted by<br>international organizations under the World Anti-Doping Code for international amateur<br>athletes and athletic competitions occurring within the jurisdiction of the United States;<br>and  promote a positive youth sport experience by using a por..."],["A bill to educate health care providers and the public on biosimilar biological products,<br>and for other purposes.","S164","Advancing Education on Biosimilars Act of 2021 This bill requires the Food and Drug<br>Administration (FDA) to advance education and awareness among health care providers about<br>biological products as appropriate, including by developing or improving continuing<br>education programs that address the prescribing of biological products and biosimilars. (A<br>biosimilar is a biological product that is highly similar to an FDA-approved reference<br>biological product and has no clinically meaningful differenc..."],["Providing for consideration of the bill (H.R. 7) to amend the Fair Labor Standards Act of<br>1938 to provide more effective remedies to victims of discrimination in the payment of<br>wages on the basis of sex, and for other purposes, and providing for consideration of the<br>bill (H.R. 1195) to direct the Secretary of Labor to issue an occupational safety and<br>health standard that requires covered employers within the health care and social service<br>industries to develop and implement a comprehensive workplace violence prevention plan,<br>and for other purposes.","HRES303","This resolution sets forth the rule for consideration of H.R. 7 (Paycheck Fairness Act)<br>and H.R. 1195 (Workplace Violence Prevention for Health Care and Social Service Workers<br>Act)."],["To establish an office within the Federal Trade Commission and an outside advisory group<br>to prevent fraud targeting seniors and to direct the Commission to include additional<br>information in an annual report to Congress on fraud targeting seniors, and for other<br>purposes.","HR1215","Fraud and Scam Reduction Act This bill expands activities to address mail, telephone, and<br>internet fraud, particularly such scams targeting older adults. The bill establishes a<br>Senior Scams Prevention Advisory Group, which must create\u00a0model educational materials<br>to\u00a0educate\u00a0employees of\u00a0retailers, financial-services companies,\u00a0and wire-transfer<br>companies on how to identify and prevent scams that affect older adults.  Further, the<br>Federal Trade Commission (FTC) must establish an advisory office..."],["To encourage States to require the installation of residential carbon monoxide detectors<br>in homes, and for other purposes.","HR1460","Nicholas and Zachary Burt Memorial Carbon Monoxide Poisoning Prevention Act of 2021  This<br>bill directs the Consumer Product Safety Commission to award grants to states and tribal<br>organizations to install carbon monoxide alarms in the homes of low-income families and<br>older adults and facilities that commonly serve children or older adults. Such carbon<br>monoxide alarms must comply with specified standards."],["To amend the Fair Labor Standards Act of 1938 to provide more effective remedies to<br>victims of discrimination in the payment of wages on the basis of sex, and for other<br>purposes.","HR7","Paycheck Fairness Act This bill addresses wage discrimination on the basis of sex, which<br>is defined to include pregnancy, sexual orientation, gender identity, and sex<br>characteristics. Specifically, it limits an employer's defense that a pay differential is<br>based on a factor other than sex to only bona fide job-related factors in wage<br>discrimination claims, enhances nonretaliation prohibitions, and makes it unlawful to<br>require an employee to sign a contract or waiver prohibiting the employee f..."],["To reauthorize the Stem Cell Therapeutic and Research Act of 2005, and for other purposes.","HR941","Timely ReAuthorization of Necessary Stem-cell Programs Lends Access to Needed Therapies<br>Act of 2021 or the TRANSPLANT Act of 2021 This bill modifies and reauthorizes through<br>FY2026 the C.W. Bill Young Cell Transplantation Program, which provides support to<br>patients who need a potentially life-saving bone marrow transplant or umbilical cord blood<br>transplant. The bill also requires the Department of Health and Human Services to conduct<br>a periodic review of the science of using adult stem cells ..."],["To require the Federal Trade Commission to submit a report to Congress on scams targeting<br>seniors, and for other purposes.","HR446","Protecting Seniors from Emergency Scams ActThis bill requires the Federal Trade Commission<br>to report on, and increase awareness regarding, scams targeting older adults.<br>Specifically, the commission must  report on the number and type of scams that target<br>older adults and provide policy recommendations to prevent such scams;  revise the<br>commission's web portal with current information about such scams, including contact<br>information for law enforcement and adult protective services agencies; an..."],["To amend the Small Business Act to optimize the operations of the microloan program, lower<br>costs for small business concerns and intermediary participants in the program, and for<br>other purposes.","HR1502","Microloan Improvement Act of 2021 This bill revises the microloan program through which<br>the Small Business Administration (SBA) provides, through designated intermediaries,<br>certain financial assistance to small businesses. Specifically, the bill authorizes an<br>intermediary to offer a line of credit to a small business, and it increases the average<br>amount for loans from an intermediary to participating small businesses that makes the<br>intermediary eligible for a reduced interest rate on SBA loan..."],["To amend the Small Business Investment Act of 1958 to improve the loan guaranty program,<br>enhance the ability of small manufacturers to access affordable capital, and for other<br>purposes.","HR1490","504 Modernization and Small Manufacturer Enhancement Act of 2021 This bill modifies the<br>Small Business Administration (SBA) 504 Loan Program, which provides a small business with<br>SBA financing\u2014through a certified development company (CDC) intermediary\u2014for expansion or<br>modernization. Specifically, the bill adds policy goals, at least one of which a CDC must<br>demonstrate to be eligible for assistance. These include (1) enhancing the ability of a<br>small business to reduce costs by using energy eff..."],["To direct the Secretary of Labor to issue an occupational safety and health standard that<br>requires covered employers within the health care and social service industries to develop<br>and implement a comprehensive workplace violence prevention plan, and for other purposes.","HR1195","Workplace Violence Prevention for Health Care and Social Service Workers Act This bill<br>requires the Department of Labor to address workplace violence in health care, social<br>service, and other sectors. Specifically, Labor must issue an interim occupational safety<br>and health standard that requires certain employers to take actions to protect workers and<br>other personnel from workplace violence. The standard applies to employers in the health<br>care sector, in the social service sector, and in sect..."],["To create protections for financial institutions that provide financial services to<br>cannabis-related legitimate businesses and service providers for such businesses, and for<br>other purposes.","HR1996","Secure and Fair Enforcement Banking Act of 2021 or the SAFE Banking Act of 2021  This bill<br>generally prohibits a federal banking regulator from penalizing a depository institution<br>for providing banking services to a legitimate cannabis-related business. Prohibited<br>penalties include terminating or limiting the deposit insurance or share insurance of a<br>depository institution solely because the institution provides financial services to a<br>legitimate cannabis-related business and prohibiting or o..."],["Condemning the continued violation of rights and freedoms of the people of Hong Kong by<br>the People's Republic of China and the Government of the Hong Kong Special Administrative<br>Region.","HRES130","This resolution condemns the actions taken by the governments of China and Hong Kong to<br>put in place national security legislation that violates the freedoms and rights<br>guaranteed to the people of Hong Kong. (Hong Kong is a part of China but, by agreement,<br>has operated a legal and economic system largely separate from China's.)"],["Providing for consideration of the bill (H.R. 51) to provide for the admission of the<br>State of Washington, D.C. into the Union; providing for consideration of the bill (H.R.<br>1573) to clarify the rights of all persons who are held or detained at a port of entry or<br>at any detention facility overseen by U.S. Customs and Border Protection or U.S.<br>Immigration and Customs Enforcement; providing for consideration of the bill (H.R. 1333)<br>to transfer and limit Executive Branch authority to suspend or restrict the entry of a<br>class of aliens; and for other purposes.","HRES330","This resolution (1) sets forth the rule for consideration of H.R. 51 (Washington, D.C.<br>Admission Act), H.R. 1573 (Access to Counsel Act of 2021), and H.R. 1333 (National Origin-<br>Based Antidiscrimination for Nonimmigrants Act or the NO BAN Act); and (2) adopts H. Res.<br>316 (providing for expenses of certain House committees for the 117th Congress) and H.<br>Con. Res. 30 (providing for a joint session of Congress on April 28, 2021, to receive a<br>message from the President). The resolution also extend..."],["To transfer and limit Executive Branch authority to suspend or restrict the entry of a<br>class of aliens.","HR1333","National Origin-Based Antidiscrimination for Nonimmigrants Act or the NO BAN Act This bill<br>imposes limitations on the President's authority to suspend or restrict aliens from<br>entering the United States. It also prohibits religious discrimination in various<br>immigration-related decisions, such as whether to issue an immigrant or nonimmigrant visa,<br>unless there is a statutory basis for such discrimination. The President may temporarily<br>restrict the entry of any aliens or class of aliens after th..."],["To clarify the rights of all persons who are held or detained at a port of entry or at any<br>detention facility overseen by U.S. Customs and Border Protection or U.S. Immigration and<br>Customs Enforcement.","HR1573","Access to Counsel Act of 2021  This bill provides various protections for covered<br>individuals subject to secondary or deferred inspections when seeking admission into the<br>United States. Covered individuals include U.S. nationals, lawful permanent residents,<br>aliens in possession of a visa, returning asylees, and refugees. The Department of<br>Homeland Security shall ensure that a covered individual subject to secondary or deferred<br>inspection has a meaningful opportunity to consult with counsel an..."],["To protect Saudi dissidents in the United States, and for other purposes.","HR1392","Protection of Saudi Dissidents Act of 2021 This bill imposes temporary limits on arms<br>sales to Saudi Arabia and requires various reports and actions related to the death of<br>Saudi Arabian journalist Jamal Khashoggi. The President may not transfer or authorize for<br>export certain defense articles or services to Saudi Arabia for 120 days after this bill's<br>enactment. The prohibition shall remain in effect for up to three years unless the<br>President periodically certifies to Congress that Saudi Arab..."],["To provide for the admission of the State of Washington, D.C. into the Union.","HR51","Washington, D.C. Admission Act  This bill provides for admission into the United States of<br>the state of Washington, Douglass Commonwealth, composed of most of the territory of the<br>District of Columbia. The commonwealth shall be admitted to the Union on an equal footing<br>with the other states.  The Mayor of the District of Columbia shall issue a proclamation<br>for the first elections to Congress of two Senators and one Representative of the<br>commonwealth.  The bill applies current District laws to..."],["To amend the Federal Food, Drug, and Cosmetic Act with respect to limitations on exclusive<br>approval or licensure of orphan drugs, and for other purposes.","HR1629","Fairness in Orphan Drug Exclusivity Act This bill limits which orphan drugs may be granted<br>a market exclusivity period by the Food and Drug Administration (FDA). (Generally, an<br>orphan drug is one that is not economically viable because of the rarity of the disease<br>that it treats. The sponsor of an FDA-designated orphan drug may be granted various<br>incentives, such as a seven-year period in which the FDA may not grant market approval to<br>a different sponsor for the same drug to treat the same di..."],["Providing for consideration of the bill (H.R. 2547) to expand and enhance consumer,<br>student, servicemember, and small business protections with respect to debt collection<br>practices, and for other purposes; providing for consideration of the bill (H.R. 1065) to<br>eliminate discrimination and promote womens health and economic security by ensuring<br>reasonable workplace accommodations for workers whose ability to perform the functions of<br>a job are limited by pregnancy, childbirth, or a related medical condition; and for other<br>purposes.","HRES380","This resolution (1) sets forth the rule for consideration of H.R. 2547 (Comprehensive Debt<br>Collection Improvement Act) and H.R. 1065 (Pregnant Workers Fairness Act), and (2) adopts<br>H.Res. 379 (dismissing the election contest relating to the office of Representative from<br>the 114th Congressional District of Illinois). The resolution authorizes the Speaker of<br>the House at any time through the legislative day of Friday, May 14, 2021, to suspend the<br>rules on multiple measures that were the object ..."],["To expand and enhance consumer, student, servicemember, and small business protections<br>with respect to debt collection practices, and for other purposes.","HR2547","Comprehensive Debt Collection Improvement Act  This bill generally provides additional<br>financial protections for consumers and places restrictions on debt collection activities.<br>Regarding additional consumer protections, the bill   expands certain protections<br>currently applicable to federally backed student loans to private student loans, including<br>by requiring the discharge of a private student loan in the event of the borrower's death<br>or total and permanent disability; prohibits a consumer..."],["To eliminate discrimination and promote women's health and economic security by ensuring<br>reasonable workplace accommodations for workers whose ability to perform the functions of<br>a job are limited by pregnancy, childbirth, or a related medical condition.","HR1065","Pregnant Workers Fairness Act This bill prohibits employment practices that discriminate<br>against making reasonable accommodations for qualified employees affected by pregnancy,<br>childbirth, or related medical conditions. A qualified employee is an employee or<br>applicant who, with or without reasonable accommodation, can perform the essential<br>functions of the position, with specified exceptions. Specifically, the bill declares that<br>it is an unlawful employment practice to  fail to make reasonabl..."],["A bill to facilitate the expedited review of COVID-19 hate crimes, and for other purposes.","S937","COVID-19 Hate Crimes Act This bill requires a designated officer or employee of the<br>Department of Justice (DOJ) to facilitate the expedited review of hate crimes and reports<br>of hate crimes. DOJ must issue guidance for state, local, and tribal law enforcement<br>agencies on establishing online hate crime reporting processes, collecting data<br>disaggregated by protected characteristic (e.g., race or national origin), and expanding<br>education campaigns. Additionally, DOJ and the Department of Health a..."],["Providing for consideration of the bill (H.R. 1629) to amend the Federal Food, Drug, and<br>Cosmetic Act with respect to limitations on exclusive approval or licensure of orphan<br>drugs, and for other purposes; providing for consideration of the resolution (H. Res. 275)<br>condemning the horrific shootings in Atlanta, Georgia, on March 16, 2021, and reaffirming<br>the House of Representative's commitment to combating hate, bigotry, and violence against<br>the Asian-American and Pacific Islander community; and for other purposes.","HRES403","This resolution sets forth the rule for consideration of H.R. 1629 (Fairness in Orphan<br>Drug Exclusivity Act) and H. Res. 275 (condemning the acts of gun violence that led to the<br>tragic loss of eight lives in Georgia on March 16, 2021). In addition, the resolution<br>adopts H. Res. 398 (recognizing the forthcoming centennial of the 1921 Tulsa Race Massacre<br>and reaffirming the House of Representative's opposition to violence against Asian<br>Americans). The resolution also extends through July 1, 202..."],["Condemning the horrific shootings in Atlanta, Georgia, on March 16, 2021, and reaffirming<br>the House of Representative's commitment to combating hate, bigotry, and violence against<br>the Asian-American and Pacific Islander community.","HRES275","This resolution condemns the acts of gun violence that led to the tragic loss of eight<br>lives in Georgia on March 16, 2021."],["Providing for consideration of the bill (H.R. 3233) to establish the National Commission<br>to Investigate the January 6 Attack on the United States Capitol Complex, and for other<br>purposes; and providing for consideration of the bill (H.R. 3237) making emergency<br>supplemental appropriations for the fiscal year ending September 30, 2021, and for other<br>purposes.","HRES409","This resolution sets forth the rule for consideration of H.R. 3233 (National Commission to<br>Investigate the January 6 Attack on the United States Capitol Complex Act) and H.R. 3237<br>(Emergency Security Supplemental to Respond to January 6th Appropriations Act, 2021)."],["To establish the National Commission to Investigate the January 6 Attack on the United<br>States Capitol Complex, and for other purposes.","HR3233","National Commission to Investigate the January 6 Attack on the United States Capitol<br>Complex Act  This bill establishes in the legislative branch the National Commission to<br>Investigate the January 6 Attack on the United States Capitol Complex.  The commission<br>must (1) conduct an investigation of the relevant facts and circumstances relating to the<br>attack on the Capitol; (2) identify, review, and evaluate the causes of and the lessons<br>learned from this attack; and (3) submit specified reports ..."],["Making emergency supplemental appropriations for the fiscal year ending September 30,<br>2021, and for other purposes.","HR3237","Emergency Security Supplemental to Respond to January 6th Appropriations Act, 2021  This<br>bill provides $1.9 billion in FY2021 emergency supplemental appropriations for the<br>legislative branch and federal agencies to respond to the attack on the U.S. Capitol<br>Complex that occurred on January 6, 2021.  The funding provided by the bill is designated<br>as emergency spending, which is exempt from discretionary spending limits.  The bill<br>provides appropriations for purposes such as   security-related u..."],["Providing for consideration of the bill (H.R. 256) to repeal the Authorization for Use of<br>Military Force Against Iraq Resolution of 2002; providing for consideration of the bill<br>(H.R. 1187) to provide for disclosure of additional material information about public<br>companies and establish a Sustainable Finance Advisory Committee, and for other purposes;<br>and for other purposes.","HRES473","Sets forth the rule for consideration of the bill (H.R. 256) to repeal the Authorization<br>for Use of Military Force Against Iraq Resolution of 2002; providing for consideration of<br>the bill (H.R. 1187) to provide for disclosure of additional material information about<br>public companies and establish a Sustainable Finance Advisory Committee, and for other<br>purposes."],["To amend title 38, United States Code, to provide for limitations on copayments for<br>contraception furnished by the Department of Veterans Affairs, and for other purposes.","HR239","Equal Access to Contraception for Veterans Act This bill prohibits the Department of<br>Veterans Affairs from requiring payment from a veteran for any contraceptive item that is<br>required to be covered by health insurance plans without a cost-sharing requirement."],["To award four congressional gold medals to the United States Capitol Police and those who<br>protected the U.S. Capitol on January 6, 2021.","HR3325","This bill provides for the award of Congressional Gold Medals to the U.S. Capitol Police<br>and the Metropolitan Police Department of the District of Columbia in recognition of the<br>law enforcement agencies that protected the U.S. Capitol on January 6, 2021."],["To amend the Equal Credit Opportunity Act to require the collection of small business loan<br>data related to LGBTQ-owned businesses.","HR1443","LGBTQ Business Equal Credit Enforcement and Investment Act This bill requires financial<br>institutions to report certain credit application data to the Consumer Financial<br>Protection Bureau for the purposes of enforcing fair lending laws. Specifically, financial<br>institutions must report this data regarding lesbian-, gay-, bisexual-, transgender-, or<br>queer-owned businesses. Currently, this data is reported regarding women-owned, minority-<br>owned, and small businesses."],["Providing for consideration of the bill (S. 475) to amend title 5, United States Code, to<br>designate Juneteenth National Independence Day as a legal public holiday.","HRES479","Sets forth the rule for consideration of the bill (S. 475) to amend title 5, United States<br>Code, to designate Juneteenth National Independence Day as a legal public holiday."],["To provide for disclosure of additional material information about public companies and<br>establish a Sustainable Finance Advisory Committee, and for other purposes.","HR1187","ESG Disclosure Simplification Act of 2021 This bill requires an issuer of securities to<br>annually disclose to shareholders certain environmental, social, and governance metrics<br>and their connection to the long-term business strategy of the issuer. The bill also<br>establishes the Sustainable Finance Advisory Committee that must, among other duties,<br>recommend to the Securities and Exchange Commission policies to facilitate the flow of<br>capital towards environmentally sustainable investments."],["A bill to amend title 5, United States Code, to designate Juneteenth National Independence<br>Day as a legal public holiday.","S475","Juneteenth National Independence Day Act This bill establishes Juneteenth National<br>Independence Day, June 19, as a legal public holiday."],["To repeal the Authorization for Use of Military Force Against Iraq Resolution of 2002.","HR256","This bill repeals the Authorization for Use of Military Force Against Iraq Resolution of<br>2002."],["To amend the Energy Policy and Conservation Act to provide Federal financial assistance to<br>States to implement, review, and revise State energy security plans, and for other<br>purposes.","HR1374","Enhancing State Energy Security Planning and Emergency Preparedness Act of 2021 This bill<br>authorizes the Department of Energy (DOE) to provide financial assistance to states for<br>the implementation, review, and revision of a state energy security plan that assesses the<br>state's existing circumstances and proposes methods to strengthen the ability of the state<br>to have a reliable, secure, and resilient energy infrastructure. A state energy security<br>plan must contain specified content, including a..."],["To amend title 18, United States Code, to provide an additional tool to prevent certain<br>frauds against veterans, and for other purposes.","HR983","Preventing Crimes Against Veterans Act of 2021 This bill establishes a new criminal<br>offense for knowingly executing, or attempting to execute, a scheme to defraud an<br>individual of veterans' benefits, or in connection with obtaining veteran's benefits for<br>an individual. A violator is subject to criminal penalties\u2014a fine, a prison term of up to<br>five years, or both."],["Providing for consideration of the bill (H.R. 2062) to amend the Age Discrimination in<br>Employment Act of 1967 and other laws to clarify appropriate standards for Federal<br>employment discrimination and retaliation claims, and for other purposes; providing for<br>consideration of the bill (H.R. 239) to amend title 38, United States Code, to provide for<br>limitations on copayments for contraception furnished by the Department of Veterans<br>Affairs, and for other purposes; providing for consideration of the bill (H.R. 1443) to<br>amend the Equal Credit Opportunity Act to require the collection of small business loan<br>data related to LGBTQ- owned businesses; providing for consideration of the joint<br>resolution (S.J. Res. 13) providing for congressional disapproval under chapter 8 of title<br>5, United States Code, of the rule submitted by the Equal Employment Opportunity<br>Commission relating to \"Update of Commission's Conciliation Procedures\"; providing for<br>consideration of the joint resolution (S.J. Res. 14) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the rule submitted by the<br>Environmental Protection Agency relating to \"Oil and Natural Gas Sector: Emission<br>Standards for New, Reconstructed, and Modified Sources Review\"; providing for<br>consideration of the joint resolution (S.J. Res. 15) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the rule submitted by the<br>Office of the Comptroller of Currency relating to \"National Banks and Federal Savings<br>Associations as Lenders\"; and for other purposes.","HRES486","Sets forth the rule for consideration of the bill (H.R. 2062) to amend the Age<br>Discrimination in Employment Act of 1967 and other laws to clarify appropriate standards<br>for Federal employment discrimination and retaliation claims, and for other purposes;<br>providing for consideration of the bill (H.R. 239) to amend title 38, United States Code,<br>to provide for limitations on copayments for contraception furnished by the Department of<br>Veterans Affairs, and for other purposes; providing for conside..."],["To amend the Age Discrimination in Employment Act of 1967 and other laws to clarify<br>appropriate standards for Federal employment discrimination and retaliation claims, and<br>for other purposes.","HR2062","Protecting Older Workers Against Discrimination Act of 2021 This bill revises the<br>evidentiary standard for age discrimination by establishing an unlawful employment<br>practice when the complaining party demonstrates that age or participation in an<br>investigation, proceeding, or litigation related to an age discrimination claim was a<br>motivating factor for an adverse practice, even though other factors also motivated the<br>practice (thereby allowing what are commonly known as mixed motive claims). T..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Office of the Comptroller of Currency<br>relating to \"National Banks and Federal Savings Associations as Lenders\".","SJRES15","This joint resolution nullifies the final rule issued by the Office of the Comptroller of<br>the Currency titled National Banks and Federal Savings Associations as Lenders and<br>published on October 30, 2020. The rule requires that to be considered a lender, a<br>national bank or federal saving association must, as of the date of origination of the<br>loan (1) be named as the lender in the loan agreement, or (2) fund the loan."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Equal Employment Opportunity Commission<br>relating to \"Update of Commission's Conciliation Procedures\".","SJRES13","This resolution expresses congressional disapproval of the rule submitted by the Equal<br>Employment Opportunity Commission (EEOC) that revises the EEOC settlement process to<br>provide employers with the factual and legal basis that the EEOC relied on to make a<br>reasonable cause finding of a discriminatory practice."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Environmental Protection Agency relating<br>to \"Oil and Natural Gas Sector: Emission Standards for New, Reconstructed, and Modified<br>Sources Review\".","SJRES14","This joint resolution nullifies the Oil and Natural Gas Sector: Emission Standards for<br>New, Reconstructed, and Modified Sources Review rule published by the Environmental<br>Protection Agency on September 14, 2020. The rule finalized amendments to new source<br>performance standards under the Clean Air Act for the oil and natural gas sector, such as<br>an amendment that removed limitations on methane emissions from such sector."],["To authorize appropriations for fiscal years 2022, 2023, 2024, 2025, and 2026 for the<br>National Science Foundation, and for other purposes.","HR2225","National Science Foundation for the Future Act This bill reauthorizes the National Science<br>Foundation (NSF) through FY2026 and authorizes programs and activities at the NSF. The<br>bill establishes requirements for the NSF, including to  enter into a contract with the<br>National Academies of Science, Engineering, and Medicine to assess the status and<br>opportunities for Pre-K through 12 science, technology, engineering, and mathematics,<br>including computer science, (STEM) education research; award gr..."],["To provide guidance for and investment in the research and development activities of the<br>Department of Energy Office of Science, and for other purposes.","HR3593","Department of Energy Science for the Future Act This bill supports specified research and<br>development activities of the Department of Energy (DOE) Office of Science. The bill<br>establishes various programs, including   a basic energy sciences research and development<br>program;  a biological systems science and climate and environmental science research and<br>development program; earth and environmental systems science research; a coastal zone<br>research initiative; a Quantum User Expansion for Scien..."],["To authorize a comprehensive, strategic approach for United States foreign assistance to<br>developing countries to strengthen global health security, and for other purposes.","HR391","Global Health Security Act of 2021 This bill directs the United States to implement a<br>strategy to strengthen global health security, including by requiring the President to<br>create the Global Health Security Agenda Interagency Review Council to implement the<br>Global Health Security Agenda. The agenda is an initiative launched by nearly 30 nations<br>to address global infectious disease threats.  The council's responsibilities include (1)<br>providing policy recommendations on agenda-related goals, ob..."],["Providing for consideration of the bill (H.R. 2662) to amend the Inspector General Act of<br>1978, and for other purposes; providing for consideration of the bill (H.R. 3005) to<br>direct the Joint Committee on the Library to replace the bust of Roger Brooke Taney in the<br>Old Supreme Court Chamber of the United States Capitol with a bust of Thurgood Marshall to<br>be obtained by the Joint Committee on the Library and to remove certain statues from areas<br>of the United States Capitol which are accessible to the public, to remove all statues of<br>individuals who voluntarily served the Confederate States of America from display in the<br>United States Capitol, and for other purposes; providing for consideration of the bill<br>(H.R. 3684) to authorize funds for Federal-aid highways, highway safety programs, and<br>transit programs, and for other purposes; providing for consideration of the resolution<br>(H. Res. 503) Establishing the Select Committee to Investigate the January 6th Attack on<br>the United States Capitol; and for other purposes.","HRES504","Sets forth the rule for consideration of the bill (H.R. 2662) to amend the Inspector<br>General Act of 1978, and for other purposes; providing for consideration of the bill (H.R.<br>3005) to direct the Joint Committee on the Library to replace the bust of Roger Brooke<br>Taney in the Old Supreme Court Chamber of the United States Capitol with a bust of<br>Thurgood Marshall to be obtained by the Joint Committee on the Library and to remove<br>certain statues from areas of the United States Capitol which are ..."],["To amend the Inspector General Act of 1978, and for other purposes.","HR2662","IG Independence and Empowerment Act  This bill addresses issues regarding inspectors<br>general (IGs) and the Council of the Inspectors General on Integrity and Efficiency<br>(CIGIE) Integrity Committee. The committee is charged with investigating allegations of<br>wrongdoing against office of IG officials. The bill allows an IG to be removed only for<br>cause, such as for documented malfeasance. Congress must be notified before an IG is<br>placed on nonduty status. The bill requires the President to explai..."],["To direct the Joint Committee on the Library to replace the bust of Roger Brooke Taney in<br>the Old Supreme Court Chamber of the United States Capitol with a bust of Thurgood<br>Marshall to be obtained by the Joint Committee on the Library and to remove certain<br>statues from areas of the United States Capitol which are accessible to the public, to<br>remove all statues of individuals who voluntarily served the Confederate States of America<br>from display in the United States Capitol, and for other purposes.","HR3005","This bill provides for the removal of certain statues and busts from display in the<br>Capitol. The bill directs the Joint Committee on the Library to remove the bust of Roger<br>Brooke Taney in the Old Supreme Court chamber of the Capitol and to obtain a bust of<br>Thurgood Marshall with which to replace it.  The Joint Committee on the Library must<br>remove all Confederate statutes and busts, as well as the statues of Charles Brantley<br>Aycock, John Caldwell Calhoun, and James Paul Clarke, from areas of ..."],["Establishing the Select Committee to Investigate the January 6th Attack on the United<br>States Capitol.","HRES503","This resolution establishes in the House of Representatives the Select Committee to<br>Investigate the January 6th Attack on the United States Capitol.  The select committee<br>must (1) conduct an investigation of the relevant facts and circumstances relating to the<br>attack on the Capitol; (2) identify, review, and evaluate the causes of and the lessons<br>learned from this attack; and (3) submit a report containing findings, conclusions, and<br>recommendations to prevent future acts of violence, domestic..."],["Providing for further consideration of the bill (H.R. 3684) to authorize funds for<br>Federal-Aid Highways, Highway Safety Programs, and Transit Programs, and for other<br>purposes; and for other purposes.","HRES508","Sets forth the rule for consideration of the bill (H.R. 3684) to authorize funds for<br>federal-aid highways, highway safety programs, and transit programs, and for other<br>purposes."],["To authorize funds for Federal-aid highways, highway safety programs, and transit<br>programs, and for other purposes.","HR3684","Investing in a New Vision for the Environment and Surface Transportation in America Act or<br>the INVEST in America Act This bill addresses provisions related to federal-aid highway,<br>transit, highway safety, motor carrier, research, hazardous materials, and rail programs<br>of the Department of Transportation (DOT). Among other provisions, the bill  extends<br>FY2021 enacted levels through FY2022 for federal-aid highway, transit, and safety<br>programs; reauthorizes for FY2023-FY2026 several surface tran..."],["Providing for consideration of the bill (H.R. 2467) to require the Administrator of the<br>Environmental Protection Agency to designate per- and polyfluoroalkyl substances as<br>hazardous substances under the Comprehensive Environmental Response, Compensation, and<br>Liability Act of 1980; providing for consideration of the bill (H.R. 2668) to amend the<br>Federal Trade Commission Act to affirmatively confirm the authority of the Federal Trade<br>Commission to seek permanent injunctions and other equitable relief for violations of any<br>provision of law enforced by the Commission; and providing for consideration of the bill<br>(H.R. 3985) to amend the Afghan Allies Protection Act of 2009 to expedite the special<br>immigrant visa process for certain Afghan allies, and for other purposes.","HRES535","Sets forth the rule for consideration of the bill (H.R. 2467) to require the Administrator<br>of the Environmental Protection Agency to designate per- and polyfluoroalkyl substances as<br>hazardous substances under the Comprehensive Environmental Response, Compensation, and<br>Liability Act of 1980; providing for consideration of the bill (H.R. 2668) to amend the<br>Federal Trade Commission Act to affirmatively confirm the authority of the Federal Trade<br>Commission to seek permanent injunctions and other ..."],["To amend the Federal Trade Commission Act to affirmatively confirm the authority of the<br>Federal Trade Commission to seek permanent injunctions and other equitable relief for<br>violations of any provision of law enforced by the Commission.","HR2668","Consumer Protection and Recovery Act This bill authorizes the Federal Trade Commission<br>(FTC) to seek monetary relief in federal court from businesses that engage in unlawful<br>commercial practices such as false advertising, consumer fraud, and anticompetitive<br>conduct. Specifically, the FTC may seek restitution in these cases for losses, rescission<br>or reformation of contracts, refund of money, return of property, or disgorgement of<br>unjust enrichment. On April 22, 2021, the Supreme Court held in ..."],["To require the Administrator of the Environmental Protection Agency to designate per- and<br>polyfluoroalkyl substances as hazardous substances under the Comprehensive Environmental<br>Response, Compensation, and Liability Act of 1980.","HR2467","PFAS Action Act of 2021 This bill establishes requirements and incentives to limit the use<br>of perfluoroalkyl and polyfluoroalkyl substances, commonly referred to as PFAS, and<br>remediate PFAS in the environment. PFAS are man-made and may have adverse human health<br>effects. A variety of products contain PFAS, such as nonstick cookware or weatherproof<br>clothing. The bill directs the Environmental Protection Agency (EPA) to designate the PFAS<br>perfluorooctanoic acid (PFOA) and perfluorooctanesulfonic..."],["To amend the Afghan Allies Protection Act of 2009 to expedite the special immigrant visa<br>process for certain Afghan allies, and for other purposes.","HR3985","Averting Loss of Life and Injury by Expediting SIVs Act of 2021 or the Allies Act of 2021<br>This bill increases the number of special immigrant visas available to qualified Afghan<br>nationals who worked for the U.S. government or the North Atlantic Treaty Organization<br>(NATO) missions in Afghanistan. The bill also relaxes certain qualifications for such<br>visas. Specifically, this bill makes available an additional 8,000 visas for principal<br>aliens under this special visa program, to be available unt..."],["To authorize the National Medal of Honor Museum Foundation to establish a commemorative<br>work in the District of Columbia and its environs, and for other purposes.","HR1664","This bill authorizes the National Medal of Honor Museum Foundation to establish a<br>commemorative work on federal land in the District of Columbia in honor of the<br>extraordinary acts of valor, selfless service, and sacrifice displayed by Medal of Honor<br>recipients.  The foundation shall be solely responsible for the acceptance of<br>contributions for, and the payment of expenses of, the establishment of the commemorative<br>work.  Federal funds may not be used to pay any expenses for the establishment ..."],["To extend the authority for the establishment of a commemorative work in honor of Gold<br>Star Families, and for other purposes.","HR2365","Gold Star Mothers Family Monument Extension Act This bill extends through January 2, 2027,<br>the authority of the Gold Star Mothers National Monument Foundation to establish a<br>commemorative work in honor of Gold Star families."],["Providing for consideration of the bill (H.R. 4502) making appropriations for the<br>Departments of Labor, Health and Human Services, and Education, and related agencies for<br>the fiscal year ending September 30, 2022, and for other purposes; and for other purposes.","HRES555","Sets forth the rule for consideration of the bill (H.R. 4502) making appropriations for<br>the Departments of Labor, Health and Human Services, and Education, and related agencies<br>for the fiscal year ending September 30, 2022, and for other purposes."],["A bill to authorize major medical facility projects of the Department of Veterans Affairs<br>for fiscal year 2021.","S1910","Major Medical Facility Authorization Act of 2021 This bill authorizes the Department of<br>Veterans Affairs to carry out specified major medical facility projects during FY2021. The<br>bill also indicates the maximum amount that can be spent on each project."],["Making appropriations for the Departments of Labor, Health and Human Services, and<br>Education, and related agencies for the fiscal year ending September 30, 2022, and for<br>other purposes.","HR4502","Departments of Labor, Health and Human Services, and Education, and Related Agencies<br>Appropriations Act, 2022 This bill provides FY2022 appropriations to the Departments of<br>Labor, Health and Human Services, and Education; and related agencies.  The bill provides<br>appropriations to the Department of Labor for  the Employment and Training Administration,<br>the Employee Benefits Security Administration, the Pension Benefit Guaranty Corporation,<br>the Wage and Hour Division,  the Office of Labor-Mana..."],["Providing for consideration of the bill (H.R. 4346) making appropriations for Legislative<br>Branch for the fiscal year ending September 30, 2022, and for other purposes; providing<br>for consideration of the bill (H.R. 4373) making appropriations for the Department of<br>State, foreign operations, and related programs for the fiscal year ending September 30,<br>2022, and for other purposes; and providing for consideration of the bill (H.R. 4505)<br>making appropriations for the Departments of Commerce and Justice, Science, and Related<br>Agencies for the fiscal year ending September 30, 2022, and for other purposes.","HRES567","Sets forth the rule for consideration of the bill (H.R. 4346) making appropriations for<br>Legislative Branch for the fiscal year ending September 30, 2022, and for other purposes;<br>providing for consideration of the bill (H.R. 4373) making appropriations for the<br>Department of State, foreign operations, and related programs for the fiscal year ending<br>September 30, 2022, and for other purposes; and providing for consideration of the bill<br>(H.R. 4505) making appropriations for the Departments of Com..."],["Making appropriations for Legislative Branch for the fiscal year ending September 30,<br>2022, and for other purposes.","HR4346","Legislative Branch Appropriations Act, 2022  This bill provides FY2022 appropriations for<br>the legislative branch, including the House of Representatives and joint items such as<br>the Joint Economic Committee,  the Joint Committee on Taxation,  the Office of the<br>Attending Physician, and  the Office of Congressional Accessibility Services.   In<br>addition, the bill provides FY2022 appropriations for  the Capitol Police;  the Office of<br>Congressional Workplace Rights;  the Congressional Budget Offic..."],["Making appropriations for the Department of State, foreign operations, and related<br>programs for the fiscal year ending September 30, 2022, and for other purposes.","HR4373","Department of State, Foreign Operations, and Related Programs Appropriations Act, 2022<br>This bill provides FY2022 appropriations for the Department of State, foreign operations,<br>and related programs.  The bill provides appropriations to the State Department for<br>Administration of Foreign Affairs,  International Organizations, and  International<br>Commissions.   The bill provides appropriations for related agencies and programs,<br>including   the U.S. Agency for Global Media, the Asia Foundation,..."],["To authorize the Secretary of the Interior to designate the September 11th National<br>Memorial Trail, and for other purposes.","HR2278","This bill designates a trail route, to be known as the September 11th National Memorial<br>Trail Route, to link the National 9/11 Memorial and Museum in New York, New York, the<br>National 9/11 Pentagon Memorial in Arlington, Virginia, and the Flight 93 National<br>Memorial in Somerset County, Pennsylvania. The September 11th National Memorial Trail<br>Route shall   provide for a tribute to the family members and loved ones who were victims<br>of the attack and the heroes of September 11th, including the fi..."],["To establish the Amache National Historic Site in the State of Colorado as a unit of the<br>National Park System, and for other purposes.","HR2497","Amache National Historic Site Act This bill establishes the Amache National Historic Site<br>in Colorado as a unit of the National Park System to preserve, protect, and interpret for<br>the benefit of present and future generations resources associated with the incarceration<br>of civilians of Japanese ancestry during World War II at Amache, also known as the Granada<br>Relocation Center, and the military service of incarcerees at the Granada Relocation<br>Center. The National Historic Site shall not be est..."],["Providing for consideration of the bill (H.R. 4) to amend the Voting Rights Act of 1965 to<br>revise the criteria for determining which States and political subdivisions are subject to<br>section 4 of the Act, and for other purposes; providing for consideration of the Senate<br>amendment to the bill (H.R. 3684) to authorize funds for Federal-aid highways, highway<br>safety programs, and transit programs, and for other purposes; and providing for the<br>adoption of the concurrent resolution (S. Con. Res. 14) setting forth the congressional<br>budget for the United States Government for fiscal year 2022 and setting forth the<br>appropriate budgetary levels for fiscal years 2023 through 2031; and for other purposes.","HRES601","Sets forth the rule for consideration of the bill (H.R. 4) to amend the Voting Rights Act<br>of 1965 to revise the criteria for determining which States and political subdivisions are<br>subject to section 4 of the Act, and for other purposes; providing for consideration of<br>the Senate amendment to the bill (H.R. 3684) to authorize funds for Federal-aid highways,<br>highway safety programs, and transit programs, and for other purposes; and providing for<br>the adoption of the concurrent resolution (S. Con..."],["To amend the Voting Rights Act of 1965 to revise the criteria for determining which States<br>and political subdivisions are subject to section 4 of the Act, and for other purposes.","HR4","John R. Lewis Voting Rights Advancement Act of 2021 This bill establishes new criteria for<br>determining which states and political subdivisions must obtain preclearance before<br>changes to voting practices may take effect. Preclearance is the process of receiving<br>preapproval from the Department of Justice (DOJ) or the U.S. District Court for the<br>District of Columbia before making legal changes that would affect voting rights. A state<br>and all of its political subdivisions shall be subject to prec..."],["Providing for consideration of the bill (H.R. 3755) to protect a person\u2019s ability to<br>determine whether to continue or end a pregnancy, and to protect a health care provider\u2019s<br>ability to provide abortion services; providing for consideration of the bill (H.R. 4350)<br>to authorize appropriations for fiscal year 2022 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes; providing for consideration of the bill (H.R.<br>5305) making continuing appropriations for the fiscal year ending September 30, 2022, and<br>for providing emergency assistance, and for other purposes; and for other purposes.","HRES667","Sets forth the rule for consideration of the bill (H.R. 3755) to protect a person's<br>ability to determine whether to continue or end a pregnancy, and to protect a health care<br>provider's ability to provide abortion services; providing for consideration of the bill<br>(H.R. 4350) to authorize appropriations for fiscal year 2022 for military activities of<br>the Department of Defense and for military construction, to prescribe military personnel<br>strengths for such fiscal year, and for other purposes; p..."],["Making continuing appropriations for the fiscal year ending September 30, 2022, and for<br>providing emergency assistance, and for other purposes.","HR5305","Extending Government Funding and Delivering Emergency Assistance Act  This bill provides<br>continuing FY2022 appropriations for federal agencies, provides supplemental<br>appropriations, and extends several expiring programs and authorities.  Specifically, the<br>bill provides continuing FY2022 appropriations to federal agencies through the earlier of<br>December 3, 2021, or the enactment of the applicable appropriations act.  It is known as a<br>continuing resolution (CR) and prevents a government shutdow..."],["To authorize appropriations for fiscal year 2022 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR4350","National Defense Authorization Act for Fiscal Year 2022 This bill authorizes FY2022<br>appropriations for military activities and programs of the Department of Defense (e.g.,<br>personnel; research, development, test, and evaluation; and procurement of items such as<br>aircraft, missiles, and ammunition). It also prescribes military personnel strengths for<br>FY2022."],["Making supplemental appropriations for the fiscal year ending September 30, 2022, and for<br>other purposes.","HR5323","Iron Dome Supplemental Appropriations Act, 2022 This bill provides $1 billion in<br>supplemental appropriations for the Department of Defense to provide to the government of<br>Israel for the procurement of the Iron Dome defense system to counter short-range rocket<br>threats."],["To eliminate the disparity in sentencing for cocaine offenses, and for other purposes.","HR1693","Eliminating a Quantifiably Unjust Application of the Law Act of 2021 or the EQUAL Act of<br>2021 This bill eliminates the federal sentencing disparity between drug offenses involving<br>crack cocaine and powder cocaine. Currently, different threshold quantities of crack<br>cocaine and powder cocaine (e.g., 28 grams of crack cocaine and 500 grams of powder<br>cocaine) trigger the same statutory criminal penalties. This bill eliminates the lower<br>quantity thresholds for crack cocaine offenses. Under the bil..."],["To advance a diplomatic solution to the conflict in Libya and support the people of Libya.","HR1228","Libya Stabilization Act This bill provides for sanctions and aid related to the conflict<br>in Libya. The bill provides statutory authority for an April 19, 2016, executive order<br>imposing property- and visa-blocking sanctions on persons contributing to the violence in<br>Libya.  The President must impose property- and visa-blocking sanctions on any foreign<br>person that\u00a0(1) knowingly supports or engages in a significant transaction with a foreign<br>person knowingly operating in Libya on behalf of Russi..."],["To authorize the Secretary of the Interior to conduct a study to assess the suitability<br>and feasibility of designating certain land as the Great Dismal Swamp National Heritage<br>Area, and for other purposes.","HR1154","Great Dismal Swamp National Heritage Area Act This bill directs the Department of the<br>Interior to assess the suitability and feasibility of designating a study area comprised<br>of cities and counties in Virginia and counties in North Carolina as a National Heritage<br>Area to be known as the Great Dismal Swamp National Heritage Area. The study shall include<br>analysis, documentation, and determinations on whether the study area (1) has an<br>assemblage of natural, historic, and cultural resources that ..."],["To amend section 1115 of title 31, United States Code, to amend the description of how<br>performance goals are achieved, and for other purposes.","HR2617","Performance Enhancement Reform Act This bill revises provisions regarding agency reporting<br>of performance goals. Specifically, the description of how the performance goals are to be<br>achieved shall include (1) the human capital, training, data and evidence, information<br>technology, and skill sets required to meet such goals; and (2) the technology<br>modernization investments, system upgrades, staff technology skills and expertise,<br>stakeholder input and feedback, and other resources and strategies..."],["Providing for consideration of the bill (S. 1301) to provide for the publication by the<br>Secretary of Health and Human Services of physical activity recommendations for Americans.","HRES688","Sets forth the rule for consideration of the bill (S. 1301) to provide for the publication<br>by the Secretary of Health and Human Services of physical activity recommendations for<br>Americans."],["To establish a Federal rotational cyber workforce program for the Federal cyber workforce,<br>and for other purposes.","HR3599","Federal Rotational Cyber Workforce Program Act of 2021 This bill establishes a rotational<br>cyber workforce program under which certain federal employees may be detailed among<br>rotational cyber workforce positions at other agencies. This bill authorizes an agency to<br>determine whether a workforce position involving information technology, cybersecurity, or<br>other cyber-related functions in that agency is eligible for the program.  Additionally,<br>the bill requires the Office of Personnel Management ..."],["To amend the District of Columbia Home Rule Act to permit the District of Columbia to<br>establish the rate of pay of the Chief Financial Officer of the District of Columbia.","HR1204","District of Columbia Chief Financial Officer Salary Home Rule Act This bill revises the<br>pay of the Chief Financial Officer of the District of Columbia to establish it at the<br>greater of (1) the current rate; or (2) a rate established by the District, except that<br>any rate established by this bill shall not be reduced during the officer's tenure."],["A bill to provide for the publication by the Secretary of Health and Human Services of<br>physical activity recommendations for Americans.","S1301","This bill increases the public debt limit by $480 billion."],["To provide an extension of Federal-aid highway, highway safety, and transit programs, and<br>for other purposes.","HR5434","Surface Transportation Extension Act of 2021  This bill extends and revises provisions<br>related to federal-aid highway, transit, highway safety, rail, and other surface<br>transportation programs of the Department of Transportation (DOT). Among other provisions,<br>the bill  extends FY2021 enacted levels of funding through October 31, 2021, for federal-<br>aid highway, transit, and safety programs; increases the cap from $600 million to $700<br>million on the amount of funding for nationally significant fr..."],["Providing for consideration of the bill (H.R. 2119) to amend the Family Violence<br>Prevention and Services Act to make improvements; providing for consideration of the bill<br>(H.R. 3110) to amend the Fair Labor Standards Act of 1938 to expand access to<br>breastfeeding accommodations in the workplace, and for other purposes; providing for<br>consideration of the bill (H.R. 3992) to amend the Age Discrimination in Employment Act of<br>1967 to prohibit employers from limiting, segregating, or classifying applicants for<br>employment; relating to consideration of the Senate amendment to the House amendment to<br>the bill (S. 1301) to provide for the publication by the Secretary of Health and Human<br>Services of physical activity recommendations for Americans; and for other purposes.","HRES716","Sets forth the rule for consideration of the bill (H.R. 2119) to amend the Family Violence<br>Prevention and Services Act to make improvements; providing for consideration of the bill<br>(H.R. 3110) to amend the Fair Labor Standards Act of 1938 to expand access to<br>breastfeeding accommodations in the workplace, and for other purposes; providing for<br>consideration of the bill (H.R. 3992) to amend the Age Discrimination in Employment Act of<br>1967 to prohibit employers from limiting, segregating, or clas..."],["To direct the Secretary of Homeland Security to develop and disseminate best practices for<br>rental companies and dealers to report suspicious behavior to law enforcement agencies at<br>the point of sale of a covered rental vehicle to prevent and mitigate acts of terrorism<br>using motor vehicles, and for other purposes.","HR4089","Darren Drake Act This bill directs the Department of Homeland Security to develop and<br>disseminate best practices for vehicle rental companies and dealers to report suspicious<br>behavior to law enforcement at the point of sale of a rental vehicle. The best practices<br>must include guidance on defining and identifying suspicious behavior in a manner that<br>protects civil rights and civil liberties."],["To amend the 21st Century Cures Act to provide for designation of institutions of higher<br>education that provide research, data, and leadership on continuous manufacturing as<br>National Centers of Excellence in Continuous Pharmaceutical Manufacturing, and for other<br>purposes.","HR4369","National Centers of Excellence in Continuous Pharmaceutical Manufacturing Act of 2021<br>This bill directs the Food and Drug Administration (FDA) to designate qualified<br>institutions of higher education as National Centers of Excellence in Continuous<br>Pharmaceutical Manufacturing and to provide grants to the centers. Each designated center<br>must conduct research on continuous manufacturing technologies and must share information<br>from such research with the FDA. (Currently, most drug production inv..."],["To direct the Secretary of Homeland Security to issue guidance with respect to certain<br>information and communications technology or services contracts, and for other purposes.","HR4611","DHS Software Supply Chain Risk Management Act of 2021  This bill requires the Management<br>Directorate of the Department of Homeland Security (DHS) to issue guidance regarding new<br>and existing contracts relating to the procurement of information and communications<br>technology or services. The bill requires contractors to submit to DHS a bill of<br>materials, a certification that each item in the bill of materials is free from certain<br>security vulnerabilities or defects affecting the security of the..."],["To amend the 21st Century Cures Act to reauthorize and expand a grant program for State<br>response to the opioid use disorders crisis, and for other purposes.","HR2379","State Opioid Response Grant Authorization Act of 2021 This bill reauthorizes through<br>FY2027 and expands the scope of the State Opioid Response Grant program that is<br>administered by the Substance Abuse and Mental Health Services Administration. Current law<br>limits the use of these grants to specifically address the opioid crisis and opioid use<br>disorders, while this bill allows the grants to address substance use disorders more<br>broadly."],["To amend the Public Health Service Act with respect to the Strategic National Stockpile,<br>and for other purposes.","HR3635","Strengthening America's Strategic National Stockpile Act of 2021 This bill makes changes<br>to the administration and management of the Strategic National Stockpile. Among these<br>changes, the bill authorizes through September 30, 2024, the Department of Health and<br>Human Services (HHS) to transfer supplies from the stockpile to any federal departments or<br>agencies under certain conditions. HHS must also ensure the contents of the stockpile<br>remain in working order and may enter into maintenance serv..."],["To provide outreach and technical assistance to small providers regarding the benefits of<br>Open RAN networks, and for other purposes.","HR4032","Open RAN Outreach Act This bill requires the National Telecommunications and Information<br>Administration (NTIA) to conduct outreach and provide technical assistance to small<br>communications network providers to raise awareness of the benefits, uses, and challenges<br>of Open RAN networks and other open network architectures. Open RAN networks are wireless<br>networks that follow the Open Radio Access Network approach to standardization, promoting<br>the use of open interface standards in the portion of ..."],["To direct the Federal Communications Commission to establish a council to make<br>recommendations on ways to increase the security, reliability, and interoperability of<br>communications networks, and for other purposes.","HR4067","Communications Security, Reliability, and Interoperability Council Act This bill requires<br>the Federal Communications Commission to establish a council that advises on and<br>recommends ways to increase the security, reliability, and interoperability of<br>communications networks."],["Relating to the consideration of House Report 117-152 and an accompanying resolution.","HRES727","This resolution sets forth the rule for consideration of (1) H.Rept. 117-152 from the<br>Select Committee to Investigate the January 6th Attack on the United States Capitol, and<br>(2) the accompanying resolution that finds Stephen K. Bannon in contempt of Congress for<br>failing to comply with a congressional subpoena."],["Recommending that the House of Representatives find Stephen K. Bannon in contempt of<br>Congress for refusal to comply with a subpoena duly issued by the Select Committee to<br>Investigate the January 6th Attack on the United States Capitol.","HRES730","This resolution finds Stephen K. Bannon in contempt of Congress for failing to comply with<br>a congressional subpoena. It also directs the Speaker of the House to (1) certify the<br>related report from the Select Committee to Investigate the January 6th Attack on the<br>United States Capitol to the United States Attorney's Office for the District of Columbia<br>for criminal proceedings, and (2) take all other appropriate action to enforce the<br>subpoena."],["To amend the Fair Labor Standards Act of 1938 to expand access to breastfeeding<br>accommodations in the workplace, and for other purposes.","HR3110","Providing Urgent Maternal Protections for Nursing Mothers Act or the PUMP for Nursing<br>Mothers Act  This bill expands workplace protections for employees with a need to express<br>breast milk. Specifically, it expands the requirement that employers provide certain<br>accommodations for such an employee to cover salaried employees and other types of workers<br>not covered under existing law. Further, time spent to express breast milk must be<br>considered hours worked if the employee is also working. The b..."],["To require the Secretary of the Treasury to direct the United States Executive Director at<br>the International Monetary Fund to advocate that the Fund provide technical assistance to<br>Fund members seeking to enhance their capacity to evaluate the legal and financial terms<br>of sovereign debt contracts, and for other purposes.","HR4111","Sovereign Debt Contract Capacity Act This bill requires the Department of the Treasury to<br>instruct the U.S. Executive Director at the International Monetary Fund to advocate for<br>the fund to promote international standards and best practices with respect to sovereign<br>debt contracts and to provide technical assistance to fund members. Such assistance should<br>focus on lower middle-income countries in order to enhance their capacity to evaluate the<br>legal and financial terms of sovereign debt contr..."],["To amend securities, commodities, and banking laws to make the information reported to<br>financial regulatory agencies electronically searchable, to further enable the development<br>of RegTech and Artificial Intelligence applications, to put the United States on a path<br>towards building a comprehensive Standard Business Reporting program to ultimately<br>harmonize and reduce the private sector's regulatory compliance burden, while enhancing<br>transparency and accountability, and for other purposes.","HR2989","Financial Transparency Act of 2021 This bill requires federal financial regulatory<br>agencies to adopt specified data standards with respect to format, searchability, and<br>transparency. The bill also decreases, beginning September 30, 2031, the cap on the<br>surplus funds of the Federal Reserve banks. (Amounts exceeding this cap are deposited in<br>the general fund of the Treasury.)"],["To amend the Family Violence Prevention and Services Act to make improvements.","HR2119","Family Violence Prevention and Services Improvement Act of 2021  This bill modifies,<br>expands, and reauthorizes through FY2026 the Family Violence and Prevention Services<br>program, which funds emergency shelters and supports related assistance for victims of<br>domestic violence. Specifically, the bill requires the Department of Health and Human<br>Services (HHS) to award grants and enter cooperative agreements with state and tribal<br>domestic violence coalitions, and community-based organizations, to ..."],["A bill to make Federal law enforcement officer peer support communications confidential,<br>and for other purposes.","S1502","Confidentiality Opportunities for Peer Support Counseling Act or the COPS Counseling Act<br>This bill sets forth requirements related to peer support counseling programs. A peer<br>support counseling program is a program provided by a law enforcement agency that provides<br>counseling services from a peer support specialist to a law enforcement officer of the<br>agency. Among other things, the bill does the following:  generally prohibits the<br>disclosure of the contents of a peer support communication, an..."],["To provide an extension of Federal-aid highway, highway safety, and transit programs, and<br>for other purposes.","HR5763","Further Surface Transportation Extension Act of 2021  This bill extends and revises<br>provisions related to federal-aid highway, transit, highway safety, rail, and other<br>surface transportation programs of the Department of Transportation. Specifically, the<br>bill   extends FY2021 enacted levels of funding through December 3, 2021, for federal-aid<br>highway, transit, and safety programs; and  extends expenditure authority through December<br>4, 2021, for the Highway Trust Fund, Sport Fish Restoration a..."],["To clarify the status of gaming conducted by the Catawba Indian Nation, and for other<br>purposes.","HR1619","Catawba Indian Nation Lands Act This bill ratifies and confirms the actions of the<br>Department of the Interior to take into trust approximately 17 acres of land in Cleveland<br>County, North Carolina, for the benefit of the Catawba Indian Nation. The land is made<br>part of the Catawba Reservation. The bill allows gaming on the land taken into trust for<br>the tribe."],["To provide for the recognition of the Lumbee Tribe of North Carolina, and for other<br>purposes.","HR2758","Lumbee Recognition Act This bill extends federal recognition to the Lumbee Tribe of North<br>Carolina and makes its members eligible for the services and benefits provided to members<br>of federally recognized tribes.  Members of the tribe residing in Robeson, Cumberland,<br>Hoke, and Scotland counties in North Carolina are deemed to be within the delivery area<br>for such services. The Department of the Interior and the Department of Health and Human<br>Services must develop, in consultation with the tribe..."],["To amend the Indian Health Care Improvement Act to establish an urban Indian organization<br>confer policy for the Department of Health and Human Services.","HR5221","Urban Indian Health Confer Act This bill requires the Department of Health and Human<br>Services (HHS) to confer with urban Indian organizations regarding health care for<br>American Indians and Alaska Natives living in urban areas. Currently, only the Indian<br>Health Service (IHS) is required to confer with urban Indian organizations on matters<br>relating to the Indian Health Care Improvement Act. The bill requires HHS to ensure that<br>the IHS and other agencies and offices within HHS confer with urban ..."],["To direct the Secretary of the Interior to take into trust for the Pascua Yaqui Tribe of<br>Arizona certain land in Pima County, Arizona, and for other purposes.","HR4881","Old Pascua Community Land Acquisition Act This bill directs the Department of the Interior<br>to take tribally owned lands in Pima County, Arizona, into trust for the benefit of the<br>Pascua Yaqui Tribe of Arizona. Lands taken into trust shall be part of the Pascua Yaqui<br>Reservation. The bill allows gaming on the land taken into trust."],["To amend the Small Business Act to codify the Boots to Business Program, and for other<br>purposes.","HR3469","Veteran Entrepreneurship Training Act of 2021 This bill\u00a0provides statutory authority<br>for\u00a0the Boots to Business Program, which provides entrepreneurship training to individuals<br>including veterans and active members of the Armed Forces,\u00a0to be administered by the Small<br>Business Administration."],["To amend the Small Business Investment Act of 1958 to increase the amount that certain<br>banks and savings associations may invest in small business investment companies, subject<br>to the approval of the appropriate Federal banking agency, and for other purposes.","HR4256","Investing in Main Street Act of 2021 This bill authorizes certain banking entities,<br>subject to the approval of the appropriate federal banking agency, to invest up to 15% of<br>their capital and surplus in one or more small business investment companies (SBICs) or in<br>any entity established to invest solely in SBICs."],["To require an annual report on the cybersecurity of the Small Business Administration, and<br>for other purposes.","HR3462","SBA Cyber Awareness Act This bill requires the Small Business Administration (SBA) to<br>annually report specified information related to cybersecurity awareness. Such reports<br>must provide (1) an assessment of the SBA's information technology (IT) and cybersecurity<br>infrastructure, (2) a strategy to increase such infrastructure, (3) a detailed account of<br>the SBA's IT equipment that is manufactured by an entity that has its principal place of<br>business in China, and (4) any SBA cybersecurity risk o..."],["To amend the Small Business Act to establish requirements for 7(a) agents, and for other<br>purposes.","HR4481","Small Business 7(a) Loan Agent Transparency Act This bill provides oversight of 7(a) loan<br>agents, including by requiring the Small Business Administration (SBA) to establish a<br>registration system for such agents whereby certain data may be collected and by mandating<br>that such agents register with the system and pay an annual registration fee. These agents<br>provide referral and loan application services related to the SBA's 7(a) Program. Under<br>the 7(a) Program, the SBA guarantees up to 80% of a..."],["A bill to advance the strategic alignment of United States diplomatic tools toward the<br>realization of free, fair, and transparent elections in Nicaragua and to reaffirm the<br>commitment of the United States to protect the fundamental freedoms and human rights of<br>the people of Nicaragua, and for other purposes.","S1064","Reinforcing Nicaragua's Adherence to Conditions for Electoral Reform Act of 2021 or the<br>RENACER Act This bill establishes measures to monitor, report on, and address corruption<br>and human rights abuses in Nicaragua. Specifically, the bill directs U.S. leadership at<br>international financial institutions to advocate for increased oversight with respect to<br>any loan or financial or technical assistance for projects in Nicaragua. The Department of<br>State and the Department of the Treasury must establ..."],["Expressing solidarity with Cuban citizens demonstrating peacefully for fundamental<br>freedoms, condemning the Cuban regime's acts of repression, and calling for the immediate<br>release of arbitrarily detained Cuban citizens.","HRES760","This resolution expresses solidarity with the Cuban people, condemns Cuba's repression of<br>peaceful protestors and journalists, and calls on Cuba to not arrest or detain peaceful<br>protestors and to release all political prisoners and arbitrarily detained individuals.<br>Further, it urges specified U.S. actions to support the Cuban people and their right to<br>demonstrate peacefully in the name of democracy and human rights."],["To amend the Age Discrimination in Employment Act of 1967 to prohibit employers from<br>limiting, segregating, or classifying applicants for employment.","HR3992","Protect Older Job Applicants Act of 2021 or the POJA Act of 2021 This bill prohibits<br>employers from limiting, segregating, or classifying job applicants based on an<br>applicant's age. It also requires the Equal Employment Opportunity Commission to study and<br>report on claims received from job applicants involving age discrimination."],["To modify eligibility requirements for certain hazard mitigation assistance programs, and<br>for other purposes.","HR1917","Hazard Eligibility and Local Projects Act This bill makes an entity seeking assistance<br>under a hazard mitigation assistance program eligible to receive such assistance for<br>certain projects already in progress."],["To require the Secretary of Transportation to establish an advanced air mobility<br>interagency working group, and for other purposes.","HR1339","Advanced Air Mobility Coordination and Leadership Act  This bill directs the Department of<br>Transportation to establish an Advanced Air Mobility (AAM) interagency working group to<br>plan and coordinate efforts related to the safety, infrastructure, physical security,<br>cybersecurity, and federal investment necessary to bolster the AAM ecosystem in the United<br>States. Advanced Air Mobility  refers to an air transportation system that moves people<br>and cargo between places using new aircraft designs t..."],["To redesignate the Federal building located at 167 North Main Street in Memphis, Tennessee<br>as the \"Odell Horton Federal Building\".","HR390","This bill designates the federal building at 167 North Main Street in Memphis, Tennessee<br>(commonly known as the Clifford Davis and Odell Horton Federal Building) as the Odell<br>Horton Federal Building."],["To designate the Federal building located at 1200 New Jersey Avenue Southeast in<br>Washington, DC, as the \"Norman Yoshio Mineta Federal Building\".","HR4679","This bill designates the federal building located at 1200 New Jersey Avenue, SE, in the<br>District of Columbia as the Norman Yoshio Mineta Federal Building."],["Providing for consideration of the bill (H.R. 5376) to provide for reconciliation pursuant<br>to title II of S. Con. Res. 14; and for other purposes.","HRES774","Sets forth the rule for consideration of the bill (H.R. 5376) to provide for<br>reconciliation pursuant to title II of S. Con. Res. 14."],["A bill to codify maternity care coordination programs at the Department of Veterans<br>Affairs, and for other purposes.","S796","Protecting Moms Who Served Act of 2021 This bill requires the Department of Veterans<br>Affairs (VA) to implement the maternity care coordination program. The VA must provide<br>community maternity care providers (i.e., non-VA maternity care providers) with training<br>and support with respect to the unique needs of pregnant and postpartum veterans,<br>particularly regarding mental and behavioral health conditions in relation to the service<br>of the veterans in the Armed Forces. Additionally, the Governmen..."],["To amend titles 10 and 38, United States Code, to make certain improvements to<br>transitional services for separating members of the Armed Forces and educational<br>assistance under laws administered by the Secretary of Veterans Affairs, and for other<br>purposes.","HR147","Bringing Registered Apprenticeships to Veterans Education Act or the BRAVE Act This bill<br>requires the Department of Labor, in the implementation of the Transition Assistance<br>Program, to provide information concerning apprenticeship programs to members of the Armed<br>Forces who are separating from active duty. The bill also requires Labor, in coordination<br>with the Department of Veterans Affairs (VA), to establish a publicly accessible and user-<br>friendly website on which veterans can find specifie..."],["Providing for consideration of the resolution (H. Res. 789) censuring Representative Paul<br>Gosar.","HRES795","Sets forth the rule for consideration of the resolution (H. Res. 789) censuring<br>Representative Paul Gosar."],["Censuring Representative Paul Gosar.","HRES789","This resolution (1) censures Representative Paul Gosar for posting a certain video on his<br>social media accounts that depicts violence against Representative Alexandria Ocasio-<br>Cortez and President Joseph R. Biden, and (2) removes him from the Committee on Natural<br>Resources and the Committee on Oversight and Reform."],["To amend title 38, United States Code, to establish in the Department of Veterans Affairs<br>an Advisory Committee on United States Outlying Areas and Freely Associated States, and<br>for other purposes.","HR3730","This bill requires the Department of Veterans Affairs (VA) to establish the Advisory<br>Committee on United States Outlying Areas and Freely Associated States to provide advice<br>and guidance to the VA on matters relating to veterans residing in American Samoa, Guam,<br>Puerto Rico, the Commonwealth of the Northern Mariana Islands, the U.S. Virgin Islands,<br>the Federated States of Micronesia, the Republic of the Marshall Islands, and the Republic<br>of Palau. Among other duties, the committee must advise..."],["To require the TSA to develop a plan to ensure that TSA material disseminated in major<br>airports can be better understood by more people accessing such airports, and for other<br>purposes.","HR5574","TSA Reaching Across Nationalities, Societies, and Languages to Advance Traveler Education<br>Act or the TRANSLATE Act This bill directs the Transportation Security Administration<br>(TSA) to develop a plan to ensure that TSA material disseminated in major airports is<br>better understood by people accessing such airports, including by foreign language<br>speakers and people with vision or hearing impairments. In developing the plan, the TSA<br>must take into consideration data regarding international enplan..."],["To provide for reconciliation pursuant to title II of S. Con. Res. 14.","HR5376","This bill provides funding, establishes programs, and otherwise modifies provisions<br>relating to a broad array of areas, including education, labor, child care, health care,<br>taxes, immigration, and the environment. (The bill is commonly referred to as the Build<br>Back Better Act.) For example, the bill provides funding for  management of the National<br>Forest System; job placement and career services; safe drinking water, energy-efficiency,<br>and weatherization projects; electric vehicles and zero-e..."],["To amend the Public Health Service Act with respect to immunization system data<br>modernization and expansion, and for other purposes.","HR550","Immunization Infrastructure Modernization Act of 2021 This bill directs the Department of<br>Health and Human Services (HHS) to take actions to improve data sharing and other aspects<br>of immunization information systems. These are confidential, population-based databases<br>that maintain a record of vaccine administrations. Specifically, HHS must  develop a<br>strategy and plan to improve these systems, including systems supported by the Centers for<br>Disease Control and Prevention; designate data and te..."],["To direct the Assistant Secretary of Commerce for Communications and Information to submit<br>to Congress a report examining the cybersecurity of mobile service networks, and for other<br>purposes.","HR2685","Understanding Cybersecurity of Mobile Networks Act This bill requires the National<br>Telecommunications and Information Administration to examine and report on the<br>cybersecurity of mobile service networks and the vulnerability of these networks and<br>mobile devices to cyberattacks and surveillance conducted by adversaries. The report shall<br>include (1) an assessment of the degree to which providers of mobile service have<br>addressed certain cybersecurity vulnerabilities; (2) a discussion of the degr..."],["Providing for consideration of the bill (H.R. 6119) making further continuing<br>appropriations for the fiscal year ending September 30, 2022, and for other purposes; and<br>for other purposes.","HRES829","Sets forth the rule for consideration of the bill (H.R. 6119) making further continuing<br>appropriations for the fiscal year ending September 30, 2022, and for other purposes."],["To enhance protections of Native American tangible cultural heritage, and for other<br>purposes.","HR2930","Safeguard Tribal Objects of Patrimony Act of 2021 This bill prohibits the exportation of<br>Native American cultural items and archaeological resources that were illegally obtained;<br>provides for the return of such items, including voluntary returns; and establishes and<br>increases related criminal penalties.  The bill requires the Department of the Interior<br>and the Department of State to each designate a liaison to facilitate and hold trainings<br>and workshops on the voluntary return of human remain..."],["A resolution to provide for related procedures concerning the article of impeachment<br>against Donald John Trump, President of the United States.","SRES16","This resolution establishes procedures concerning the article of impeachment against<br>former President Donald John Trump, including specific issues to be briefed by the<br>parties, deadlines for filing trial documents, and the date for consideration of the<br>article."],["A resolution to provide for related procedures concerning the article of impeachment<br>against Donald John Trump, former President of the United States.","SRES47","This resolution establishes procedures for conducting the impeachment trial of former<br>President Donald Trump. These procedures include (1) filing requirements and deadlines,<br>(2) time allotments for arguments and presentations in support of and against the article<br>of impeachment, (3) admission of evidence, and (4) voting on the article of impeachment."],["A bill to amend the Safe Drinking Water Act and the Federal Water Pollution Control Act to<br>reauthorize programs under those Acts, and for other purposes.","S914","Drinking Water and Wastewater Infrastructure Act of 2021 This bill reauthorizes through<br>FY2026 or establishes a variety of programs for water infrastructure. Specifically, it<br>supports programs to provide safe drinking water or treat wastewater, such as sewer<br>overflows or stormwater. For example, the bill reauthorizes and revises the clean water<br>state revolving fund (SRF) and the drinking water SRF."],["A bill to establish a new Directorate for Technology and Innovation in the National<br>Science Foundation, to establish a regional technology hub program, to require a strategy<br>and report on economic security, science, research, innovation, manufacturing, and job<br>creation, to establish a critical supply chain resiliency program, and for other purposes.","S1260","Endless Frontier Act This bill establishes a Directorate for Technology and Innovation in<br>the National Science Foundation (NSF) and establishes various programs and activities. The<br>goals of the directorate shall be, among other things, the strengthening of U.S.<br>leadership in critical technologies through basic research in key technology focus areas,<br>such as artificial intelligence, high performance computing, and advanced manufacturing,<br>and the commercialization of those technologies to busin..."],["A bill to expand Americans' access to the ballot box, reduce the influence of big money in<br>politics, strengthen ethics rules for public servants, and implement other anti-corruption<br>measures for the purpose of fortifying our democracy, and for other purposes.","S2093","For the People Act of 2021 This bill addresses voter access, election integrity and<br>security, campaign finance, and ethics for the three branches of government.<br>Specifically, the bill expands voter registration (e.g., automatic and same-day<br>registration) and voting access (e.g., vote-by-mail and early voting). It also limits<br>removing voters from voter rolls. The bill requires states to establish independent<br>redistricting commissions to carry out congressional redistricting. Additionally, the..."],["A bill to expand Americans' access to the ballot box and reduce the influence of big money<br>in politics, and for other purposes.","S2747","Freedom to Vote Act This bill addresses voter registration and voting access, election<br>integrity and security, redistricting, and campaign finance.  Specifically, the bill<br>expands voter registration (e.g., automatic and same-day registration) and voting access<br>(e.g., vote-by-mail and early voting). It also limits removing voters from voter rolls.<br>Next, the bill establishes Election Day as a federal holiday.  The bill declares that the<br>right of a U.S. citizen to vote in any election for feder..."]],"hovertemplate":"sponsor_party=D<br>x=%{x}<br>y=%{y}<br>title=%{customdata[0]}<br>bill_number=%{customdata[1]}<br>summary_short=%{customdata[2]}<extra></extra>","legendgroup":"D","marker":{"color":"#636efa","symbol":"circle"},"mode":"markers","name":"D","showlegend":true,"x":[9.529415130615234,10.306737899780273,9.864635467529297,7.818249702453613,11.791874885559082,9.380887985229492,10.263533592224121,2.663440704345703,0.923623561859131,2.774050951004028,8.36742115020752,11.426679611206055,2.204399585723877,8.711522102355957,7.996932983398438,10.068733215332031,11.261582374572754,3.319314241409302,6.268256187438965,1.758163452148438,8.39556884765625,2.325953722000122,9.097049713134766,9.789074897766113,-2.911971569061279,-2.777570009231567,0.958340883255005,0.937546730041504,9.92626953125,2.631363153457642,2.283295631408691,10.239462852478027,13.412189483642578,3.020992994308472,2.175175666809082,3.01947808265686,6.215907096862793,8.268756866455078,2.623773813247681,9.143336296081543,2.948377132415771,2.5209801197052,3.012008905410767,9.834692001342773,-2.809793949127197,6.356631755828857,9.66340446472168,11.609635353088379,2.941003322601318,8.377167701721191,2.652501344680786,8.636815071105957,10.442829132080078,5.491068840026855,5.566354274749756,2.835761308670044,8.114253044128418,9.877570152282715,8.053518295288086,10.010794639587402,8.633428573608398,7.874889850616455,2.725154399871826,5.595682144165039,10.209521293640137,9.634610176086426,9.163601875305176,8.768714904785156,9.191932678222656,8.50019359588623,9.863184928894043,2.759485483169556,8.398756980895996,3.692889928817749,-2.491096973419189,10.940098762512207,10.777727127075195,10.103747367858887,10.719573974609375,11.186121940612793,9.310956001281738,9.27515983581543,8.684309005737305,4.825093746185303,9.77204704284668,8.974822044372559,12.601571083068848,7.992354869842529,9.765325546264648,8.519944190979004,8.287817001342773,2.761967182159424,11.279085159301758,10.193002700805664,9.612112045288086,10.709783554077148,13.57076644897461,8.058197975158691,11.430839538574219,2.732990980148315,6.051420211791992,2.251943826675415,2.920512676239014,8.438504219055176,4.228819847106934,8.847552299499512,0.86705493927002,2.765605211257935,8.5295991897583,11.647523880004883,11.881976127624512,7.974206924438477,10.668888092041016,2.52213716506958,-3.065138101577759,8.584226608276367,8.740402221679688,2.700480699539185,2.772485256195068,2.539682388305664,9.722981452941895,9.314042091369629,8.311944007873535,5.611292362213135,10.366405487060547,10.760007858276367,9.796220779418945,7.515742778778076,2.430190324783325,2.35991382598877,8.54826831817627,9.267732620239258,10.146666526794434,12.153572082519531,8.61426067352295,8.986856460571289,12.19310474395752,6.366134643554688,2.503222465515137,8.639074325561523,10.149319648742676,13.490804672241211,10.890108108520508,9.709834098815918,8.570197105407715,10.753660202026367,12.810602188110352,10.103776931762695,9.895597457885742,9.729886054992676,6.460057735443115,12.664416313171387,12.367103576660156,13.571742057800293,2.648435831069946,5.475691795349121,9.177071571350098,10.187076568603516,9.033916473388672,8.4288330078125,9.968104362487793,13.007484436035156,8.425614356994629,10.098933219909668,10.982963562011719,9.919564247131348,8.493456840515137,8.66718864440918,-2.679334402084351,8.65449333190918,8.465128898620605,10.360671043395996,6.261259078979492,10.423174858093262,10.694144248962402,10.543489456176758,10.708009719848633,9.614110946655273,9.692625045776367,9.791011810302734,10.097148895263672,5.582801342010498,6.110732555389404,8.724603652954102,8.868106842041016,7.977540016174316,8.898816108703613,12.275954246520996,9.07738971710205,8.524797439575195,9.314713478088379,8.660042762756348,6.399680614471436,5.091698169708252,9.494112014770508,3.247112989425659,9.854447364807129,2.941766262054443,13.520427703857422,13.280259132385254,12.968993186950684,9.421589851379395,5.729880332946777,10.600570678710938,6.59441089630127,13.760969161987305,9.908609390258789,13.660900115966797,2.953179121017456,-1.660464525222778,13.076080322265625,11.102217674255371,10.807790756225586,13.140117645263672,9.40912914276123,8.261738777160645,11.218079566955566,11.598876953125,6.744286060333252,9.591710090637207,5.450559139251709,9.815231323242188,6.462062835693359,10.705843925476074,9.909873962402344,10.314577102661133,10.656943321228027,10.335409164428711,9.755511283874512,13.228940963745117,8.131728172302246,2.350711107254028,2.284150838851929,9.802124977111816,13.417445182800293,9.77220344543457,6.477252960205078,7.758164882659912,13.194297790527344,8.836249351501465,12.361053466796875,5.458047389984131,8.707947731018066,8.704150199890137,5.126167774200439,7.460766792297363,7.293706893920898,10.694276809692383,9.819023132324219,7.810806751251221,7.352618217468262,3.936825275421143,13.760392189025879,8.553820610046387,11.465290069580078,11.853864669799805,8.542315483093262,9.589465141296387,6.629676818847656,11.180163383483887,9.758527755737305,11.832963943481445,8.733011245727539,9.114982604980469,10.992631912231445,11.93446159362793,13.273653030395508,9.459729194641113,7.066853523254395,4.625846862792969,8.51922607421875,10.859461784362793,8.50595760345459,10.024066925048828,9.27934741973877,4.406585216522217,7.884296417236328,5.318282604217529,8.257368087768555,11.178095817565918,8.488849639892578,10.69013786315918,9.561284065246582,9.313179016113281,11.862370491027832,2.152096033096313,2.436928033828735,9.282645225524902,7.010940074920654,1.75412380695343,5.640030384063721,4.619932651519775,8.471208572387695,2.570745944976807,10.18613052368164,8.569112777709961,13.452638626098633,8.215264320373535,8.456596374511719,8.438634872436523,11.190430641174316,10.86819839477539,3.719327449798584,-3.000018358230591,-2.969351530075073,6.546680927276611,4.113221645355225,10.541546821594238,8.561989784240723,8.545252799987793,10.497635841369629,8.956730842590332,8.605563163757324,8.354704856872559,11.414531707763672,5.328376293182373,9.307010650634766,8.394941329956055,8.497289657592773,11.233611106872559,11.658560752868652,5.657088756561279,-2.756055355072021,9.228399276733398,8.994181632995605,8.70218276977539,11.894486427307129,6.451597690582275,9.252470016479492,8.784010887145996,8.712793350219727,8.542885780334473,11.457090377807617,6.300689220428467,2.426875114440918,8.772818565368652,8.662074089050293,7.870901584625244,6.757606029510498,8.629599571228027,7.264692783355713,8.589560508728027,11.357826232910156,8.166071891784668,5.43005895614624,8.542679786682129,10.796743392944336,-2.98836350440979,4.452950477600098,8.358829498291016,10.951919555664062,8.663725852966309,7.081467151641846,10.682138442993164,9.0870361328125,9.848884582519531,11.894851684570312,9.135597229003906,10.284423828125,8.62634563446045,10.222128868103027,8.467211723327637,7.307309627532959,10.146539688110352,8.387760162353516,7.994175434112549,10.60526180267334,11.92989730834961,10.02736759185791,8.924838066101074,8.807930946350098,8.66886043548584,4.571608543395996,4.834404468536377,8.987780570983887,8.913599014282227,9.896659851074219,9.804339408874512,9.345792770385742,6.519532203674316,8.342572212219238,10.868898391723633,8.031140327453613,8.738137245178223,9.267078399658203,6.382956504821777,9.543298721313477,8.971256256103516,7.330314159393311,8.828479766845703,9.079059600830078,2.718851089477539,8.553802490234375,10.864157676696777,4.61642599105835,10.280684471130371,8.516681671142578,10.098371505737305,8.316298484802246,10.636637687683105,11.890274047851562,8.682150840759277,10.248730659484863,9.86342716217041,9.49914264678955,4.399923801422119,10.20041275024414,8.12937068939209,9.834604263305664,5.142285823822021,8.762782096862793,10.788033485412598,7.349331855773926,9.082409858703613,11.025107383728027,11.264847755432129,8.298709869384766,8.629312515258789,4.516753673553467,9.020031929016113,11.191802978515625,12.68117904663086,11.070491790771484,-3.118500471115112,-2.528222560882568,-2.423840522766113,12.049510955810547,6.461528778076172,0.909529209136963,2.552219152450562,3.397909164428711,9.898642539978027,5.571779251098633,11.212264060974121,10.894636154174805,3.790104627609253,3.58259129524231,9.935677528381348,9.003799438476562,0.957622468471527,8.081052780151367,2.546546697616577,9.418587684631348,2.837385654449463,8.4024019241333,2.661899089813232,3.16739296913147,2.779610633850098,2.634179830551147,2.270068883895874,2.103302240371704,3.582818269729614,8.40437126159668,10.171253204345703,8.472138404846191,11.884079933166504,3.698824644088745,6.393872261047363,6.543371677398682,8.34300708770752,2.34202241897583,11.567154884338379,8.50878620147705,11.232901573181152,2.12013578414917,-2.913041114807129,-3.160463094711304,2.774665832519531,0.89137065410614,9.433331489562988,10.16545295715332,8.864712715148926,8.09218692779541,2.651945352554321,9.277671813964844,13.518200874328613,3.790998697280884,8.633865356445312,6.690616607666016,2.234845876693726,2.199099063873291,9.20160961151123,8.55343246459961,11.601195335388184,3.480288505554199,9.465774536132812,8.647819519042969,5.753850936889648,6.655415534973145,-3.06367015838623,8.620818138122559,2.984437704086304,9.691136360168457,8.078582763671875,8.823153495788574,8.322023391723633,9.994717597961426,11.77069091796875,8.407219886779785,8.431498527526855,7.370826721191406,11.282279968261719,2.272042989730835,2.646981477737427,6.864030838012695,11.86056900024414,3.749177932739258,10.51446533203125,11.028578758239746,11.583625793457031,12.925397872924805,2.218403816223145,9.135669708251953,6.755466461181641,9.678316116333008,11.88960075378418,7.88914680480957,9.780692100524902,4.869052886962891,2.771870613098145,5.551356315612793,2.225054502487183,9.353070259094238,2.422711372375488,5.516378402709961,10.995233535766602,9.676803588867188,10.094181060791016,11.12745189666748,9.183653831481934,4.665741920471191,7.289797306060791,10.634936332702637,10.892609596252441,2.732532501220703,2.25704550743103,0.767434120178223,10.180657386779785,2.635555982589722,13.522523880004883,11.590707778930664,5.217771530151367,11.804048538208008,8.44495964050293,2.096448421478271,8.122355461120605,7.234389781951904,11.265057563781738,10.761698722839355,11.546253204345703,10.464824676513672,12.05232048034668,7.290955066680908,10.79996109008789,11.154495239257812,10.54651165008545,12.219679832458496,5.708107948303223,3.756434202194214,1.616176724433899,10.114486694335938,9.263875007629395,9.198923110961914,9.651541709899902,9.195478439331055,9.541126251220703,7.948490142822266,11.805560111999512,2.091600656509399,9.986742973327637,8.493197441101074,3.384289026260376,2.642333507537842,3.075863361358643,11.839916229248047,9.20223331451416,11.981581687927246,8.6931791305542,10.508122444152832,9.916302680969238,8.263075828552246,7.84086275100708,2.20712947845459,12.15098762512207,1.964408874511719,9.854330062866211,7.203357219696045,11.870251655578613,11.609003067016602,5.540706157684326,2.310745716094971,8.623869895935059,8.741215705871582,2.268370389938354,2.551897525787354,11.412269592285156,8.844867706298828,8.104166030883789,11.765836715698242,8.793048858642578,9.138359069824219,10.571296691894531,10.072864532470703,11.904610633850098,9.334409713745117,6.435851573944092,9.023406982421875,10.309747695922852,9.698287010192871,3.004176616668701,11.76523494720459,10.756731033325195,7.496459484100342,3.02409029006958,6.646458625793457,6.233870983123779,9.789398193359375,8.676765441894531,10.656305313110352,9.078230857849121,6.151413917541504,3.539721250534058,0.877444386482239,0.830715596675873,9.119285583496094,9.101509094238281,2.156337976455688,11.000039100646973,8.91672420501709,13.517297744750977,6.728296756744385,9.787054061889648,7.153928756713867,8.817709922790527,2.191785335540771,10.135826110839844,9.573925018310547,7.821713447570801,10.206435203552246,9.793618202209473,9.253177642822266,7.258064270019531,11.321338653564453,9.62415885925293,9.271188735961914,10.428260803222656,8.112103462219238,10.670595169067383,5.768203735351562,10.871620178222656,11.000423431396484,9.002986907958984,9.67676830291748,11.676777839660645,10.601021766662598,11.379002571105957,13.200455665588379,3.621007442474365,-2.061303853988647,9.065265655517578,3.184415578842163,6.200788974761963,3.639713287353516,8.554265975952148,8.972587585449219,11.201095581054688,6.936372756958008,8.584715843200684,4.413390636444092,3.357013702392578,3.747395515441895,11.084759712219238,9.634119987487793,8.748490333557129,7.232499122619629,8.872926712036133,3.117305278778076,-1.635287880897522,10.14503288269043,9.942748069763184,8.833614349365234,9.961138725280762,8.840011596679688,10.466808319091797,8.040777206420898,10.53442668914795,10.917086601257324,11.1054048538208,9.208367347717285,9.839588165283203,10.290895462036133,3.756284236907959,9.35297679901123,11.962506294250488,11.81181812286377,11.748759269714355,10.134882926940918,10.109749794006348,10.73636245727539,9.46812629699707,10.24673843383789,9.311094284057617,12.063933372497559,9.174683570861816,9.809025764465332,9.108022689819336,10.186912536621094,11.35075855255127,13.288043022155762,7.251962184906006,9.156806945800781,9.455857276916504,10.17480754852295,9.878482818603516,8.200155258178711,10.543479919433594,8.083593368530273,11.051435470581055,10.865335464477539,10.61674976348877,10.668946266174316,11.924919128417969,10.187056541442871,10.051002502441406,10.64417552947998,2.132612466812134,6.538633346557617,6.434043407440186,6.457225799560547,8.039894104003906,7.83149528503418,6.529143810272217,6.38839054107666,13.52864933013916,10.139339447021484,11.164704322814941,7.879888534545898,9.83885383605957,8.513276100158691,8.368721008300781,8.44141674041748,10.216851234436035,9.798771858215332,8.780560493469238,8.58511734008789,11.734413146972656,11.000329971313477,8.716955184936523,9.997371673583984,6.493419170379639,7.169894695281982,9.638128280639648,3.557313203811646,11.027024269104004,11.446175575256348,8.031351089477539,8.232000350952148,11.359264373779297,8.487586975097656,10.851972579956055,9.434106826782227,11.919410705566406,13.57348346710205,10.020573616027832,9.888128280639648,9.805370330810547,10.576606750488281,10.683463096618652,5.785354137420654,1.745114922523499,2.392333030700684,10.059735298156738,11.494660377502441,8.493896484375,10.022275924682617,10.397523880004883,2.190207004547119,2.310902118682861,4.144385814666748,10.366744995117188,11.341957092285156,10.661680221557617,10.739612579345703,10.268768310546875,2.38249945640564,8.239493370056152,10.188800811767578,8.945741653442383,2.552956581115723,2.581111431121826,8.100902557373047,2.381475210189819,9.164620399475098,9.900505065917969,2.578421592712402,2.474846124649048,11.441344261169434,2.349893093109131,8.928571701049805,10.936992645263672,7.929142951965332,-2.57371711730957,2.292606353759766,11.290715217590332,13.53799819946289,10.233869552612305,6.720301151275635,4.242949962615967,10.318485260009766,2.027447938919067,2.603419065475464,10.912951469421387,0.931951701641083,9.51448917388916,2.832641839981079,-1.971110105514526,-2.180581092834473,6.872579097747803,4.859922885894775,3.02852988243103,5.345413208007812,7.898256301879883,2.409049034118652,-3.079056024551392,-3.093947649002075,1.850494265556335,2.045977115631104,9.861486434936523,11.300154685974121,9.694819450378418,10.944819450378418,10.695566177368164,-2.932472229003906,13.16322135925293,7.882207870483398,2.141781568527222,9.247763633728027,9.357247352600098,9.420092582702637,12.038530349731445,9.410252571105957,9.402566909790039,9.975370407104492,9.114297866821289,10.062405586242676,10.11065673828125,10.520297050476074,10.419193267822266,10.473176956176758,10.868254661560059,4.114694118499756,10.88916015625,8.086713790893555,10.089859962463379,9.428147315979004,13.574169158935547,7.200160026550293,7.143234252929688,11.989517211914062,5.984652519226074,13.55996036529541,7.57436466217041,8.965076446533203,3.605043649673462,10.523250579833984,5.214933395385742,0.870756924152374,10.199542999267578,10.310988426208496,2.299197912216187,2.717708349227905,9.647428512573242,8.946418762207031,8.397272109985352,10.691841125488281,2.237733364105225,2.903457164764404,2.751025199890137,9.9237699508667,0.841856420040131,8.346696853637695,10.751631736755371,10.036127090454102,-2.956343650817871,10.016934394836426,8.651341438293457,8.737358093261719,11.319836616516113,12.228802680969238,5.018763542175293,2.804124593734741,10.569762229919434,11.124370574951172,8.274335861206055,9.97392463684082,10.787272453308105,8.094732284545898,10.336263656616211,8.714234352111816,11.776758193969727,2.863356590270996,5.46891450881958,8.905729293823242,6.836256980895996,2.630940198898315,4.20590877532959,8.173123359680176,10.102413177490234,9.629813194274902,11.919492721557617,7.517253875732422,8.584761619567871,9.752159118652344,8.930647850036621,4.304920673370361,11.036994934082031,2.810993432998657,13.595179557800293,-1.921728134155273,7.201651096343994,4.221012115478516,4.684659004211426,-2.548849821090698,9.144105911254883,4.374243259429932,9.022436141967773,10.740816116333008,11.248030662536621,11.429831504821777,2.727893114089966,11.836047172546387,9.728254318237305,11.302764892578125,5.528026103973389,13.663069725036621,8.971620559692383,11.217656135559082,10.67204475402832,10.040449142456055,10.586389541625977,11.47514533996582,11.114157676696777,13.119065284729004,11.586195945739746,13.159584999084473,11.400253295898438,8.076643943786621,9.622767448425293,13.050469398498535,7.967432498931885,5.322934150695801,9.853179931640625,10.322429656982422,6.291544914245605,10.437784194946289,11.442392349243164,13.765904426574707,11.479812622070312,2.374316692352295,13.491612434387207,11.649609565734863,12.364555358886719,4.442159175872803,10.80689525604248,11.275708198547363,6.418042182922363,7.493231296539307,12.817773818969727,6.410560607910156,7.487438678741455,11.347681999206543,2.366987466812134,13.19810962677002,1.865118026733398,8.992274284362793,7.505571842193604,3.551945447921753,2.84804630279541,7.567907810211182,2.3637535572052,2.885295629501343,9.076295852661133,5.257243633270264,10.374930381774902,11.1185302734375,7.999984264373779,2.680968523025513,12.650104522705078,-2.715744733810425,1.831331610679626,11.47367000579834,0.97120064496994,2.23599648475647,13.498491287231445,11.4662446975708,13.22079849243164,2.798053979873657,6.350668907165527,7.55670166015625,11.502617835998535,9.766148567199707,8.5892915725708,11.261187553405762,13.264890670776367,8.167708396911621,9.880765914916992,9.673914909362793,9.862515449523926,10.414286613464355,10.88469409942627,6.379813194274902,2.823322772979736,5.462886810302734,-2.431098937988281,4.446146011352539,2.371790170669556,8.346735954284668,2.083519697189331,9.878104209899902,2.097134590148926,7.892601490020752,11.33918571472168,2.236991167068481,-3.091230869293213,11.927314758300781,9.166153907775879,4.549479007720947,9.842362403869629,11.81179141998291,9.729707717895508,11.643012046813965,10.263840675354004,6.902218818664551,7.39277458190918,7.476642608642578,0.837407946586609,11.286457061767578,1.901145458221436,5.278184413909912,2.30372166633606,11.389418601989746,2.900472640991211,8.91883373260498,10.174540519714355,2.250999212265015,11.189138412475586,8.97588062286377,5.506532192230225,2.816683053970337,2.19232702255249,7.364718437194824,4.521298408508301,11.516250610351562,2.152430057525635,11.433614730834961,4.608621120452881,-2.102803707122803,9.281649589538574,9.757177352905273,9.373364448547363,2.107162475585938,2.718698501586914,9.504476547241211,2.601005077362061,7.790070533752441,11.613982200622559,12.86291217803955,0.862309396266937,0.816102981567383,7.577461719512939,9.929370880126953,2.378247261047363,0.849828004837036,11.421067237854004,6.191121101379395,10.898635864257812,3.02681827545166,-1.463246941566467,10.75125503540039,2.877180099487305,-1.634752511978149,10.350303649902344,3.071093559265137,5.449216842651367,10.672350883483887,2.75274133682251,5.546219348907471,3.654202461242676,9.75939655303955,3.06397271156311,5.68421745300293,9.577580451965332,8.034988403320312,0.914955019950867,-2.735377073287964,7.790462493896484,10.836527824401855,2.122115850448608,5.452996730804443,10.645893096923828,3.576593160629272,11.245429039001465,-2.97979211807251,8.39957046508789,3.678043365478516,8.13881778717041,10.059459686279297,10.305272102355957,9.03464126586914,11.783381462097168,8.737604141235352,8.796072959899902,6.739378452301025,7.796261310577393,1.721936106681824,3.738306045532227,3.669864892959595,-2.93682861328125,8.796995162963867,8.87909984588623,10.466381072998047,8.566773414611816,10.688620567321777,7.845758438110352,11.83664608001709,9.083332061767578,3.56562352180481,5.888150215148926,2.666059255599976,10.596153259277344,11.925058364868164,-1.481615662574768,10.61101245880127,11.412629127502441,-2.95551323890686,10.205245971679688,8.327746391296387,10.528796195983887,0.879164457321167,2.664761781692505,10.335287094116211,9.564939498901367,7.124793529510498,2.660921096801758,9.213516235351562,8.071319580078125,10.185619354248047,2.765036106109619,9.928866386413574,2.259621620178223,9.295130729675293,9.374763488769531,7.471416473388672,9.692981719970703,2.359812259674072,-3.013781309127808,2.943044900894165,0.805271923542023,9.499442100524902,6.416094779968262,6.807419300079346,7.122349262237549,6.297041416168213,4.736347675323486,2.289167404174805,2.302740097045898,2.136626005172729,8.907894134521484,2.960732221603394,6.736637115478516,9.803315162658691,2.68174934387207,-2.712886095046997,1.86733615398407,9.805841445922852,2.50566577911377,8.8093900680542,2.249041795730591,10.68777084350586,9.919983863830566,-3.016160726547241,-2.77515983581543,9.265690803527832,4.583163738250732,4.525455474853516,2.51845645904541,6.745528221130371,10.172780990600586,2.466643571853638,6.495122909545898,9.691062927246094,2.44227933883667,10.92294692993164,2.897042989730835,12.52142333984375,3.16210150718689,9.391144752502441,2.597432613372803,9.847046852111816,2.90111231803894,2.426688194274902,8.75955581665039,4.350039958953857,2.349805355072021,2.034959077835083,11.462509155273438,2.759514331817627,7.496333599090576,2.753791093826294,10.032720565795898,5.471517086029053,9.012670516967773,6.291979789733887,2.771229982376099,4.645187377929688,8.977054595947266,10.513611793518066,2.822940587997437,3.113025665283203,2.529885053634644,1.400383591651917,2.777333736419678,0.981823444366455,2.37318229675293,8.7841796875,6.366884231567383,8.723176002502441,9.711617469787598,9.72964096069336,9.254069328308105,2.866149663925171,9.269805908203125,7.446921825408936,7.563729763031006,6.563029289245605,2.84832239151001,3.357315301895142,7.420051574707031,10.193821907043457,2.148929595947266,2.095854043960571,11.029982566833496,3.014880657196045,5.201089382171631,11.80130672454834,3.629665851593018,3.246765851974487,10.849210739135742,11.156618118286133,10.715039253234863,3.056670665740967,2.161619663238525,10.90686321258545,10.475099563598633,8.110864639282227,11.269538879394531,11.627240180969238,8.833893775939941,12.63273811340332,10.4247407913208,2.200902938842773,10.000609397888184,5.372597694396973,0.932303369045258,0.987242341041565,4.341789245605469,11.685277938842773,9.246484756469727,4.526129722595215,10.803720474243164,3.08307933807373,7.467854976654053,0.916158974170685,11.92987060546875,2.334479570388794,2.225379943847656,10.774923324584961,2.601638317108154,2.123076677322388,-2.748367547988892,-2.98163366317749,2.247472524642944,10.765542984008789,9.689535140991211,8.549238204956055,9.629857063293457,9.690679550170898,2.913983345031738,2.386214017868042,3.584235906600952,4.217048168182373,3.004703044891357,2.537703990936279,9.876537322998047,8.664918899536133,7.699904441833496,9.955489158630371,10.877074241638184,1.741510152816772,8.192988395690918,2.716342210769653,4.596510410308838,7.510692596435547,9.600259780883789,9.303175926208496,8.412153244018555,2.485817193984985,-3.027412414550781,2.707616806030273,3.684771299362183,6.866945743560791,2.880928993225098,9.869775772094727,-2.419602394104004,3.024894714355469,10.542553901672363,9.60814094543457,10.69397258758545,2.661552906036377,5.087054252624512,2.341070175170898,2.398259878158569,4.425329208374023,3.394849300384521,2.476683378219604,2.873192310333252,8.082378387451172,11.343589782714844,2.736946821212769,3.741489887237549,10.553324699401855,6.491361141204834,10.37403678894043,7.787993907928467,9.97639274597168,1.975115180015564,-2.87910008430481,-2.901704549789429,11.354303359985352,7.117946624755859,2.486782789230347,10.483960151672363,10.8245849609375,3.03236722946167,3.016331434249878,11.583154678344727,2.682545185089111,2.643492937088013,2.789047479629517,8.498174667358398,11.001232147216797,2.754799604415894,10.150175094604492,8.9750394821167,8.942397117614746,9.683971405029297,10.126707077026367,0.898198783397675,11.934003829956055,2.755606412887573,10.77873420715332,11.824127197265625,3.382913589477539,-1.628639698028564,10.11556625366211,8.03807544708252,10.635886192321777,6.305180549621582,6.771281242370605,2.376108169555664,10.754432678222656,5.39088249206543,2.983861923217773,9.530954360961914,2.232670307159424,11.250995635986328,6.018434524536133,6.212455749511719,9.675786018371582,12.133155822753906,10.105899810791016,11.416804313659668,2.554281949996948,11.99014949798584,3.638971328735352,9.061612129211426,11.075963020324707,2.75426459312439,10.23249626159668,3.640522956848145,10.606064796447754,8.665157318115234,-2.912965536117554,9.807378768920898,9.834439277648926,2.743245601654053,8.621426582336426,10.081021308898926,11.767104148864746,2.672621250152588,6.287227153778076,8.456522941589355,11.593847274780273,7.779341697692871,2.8269202709198,9.740900039672852,13.210139274597168,8.058367729187012,11.45135498046875,10.5607271194458,9.432393074035645,13.448749542236328,9.194995880126953,9.913434982299805,2.914816379547119,10.565574645996094,2.661142587661743,8.600830078125,7.457879066467285,11.912012100219727,10.308521270751953,3.538641214370728,9.843729972839355,1.781302809715271,9.720274925231934,4.404379844665527,10.577849388122559,-2.300768136978149,9.617420196533203,4.687586784362793,6.432923316955566,9.57229995727539,10.734700202941895,6.237185955047607,6.718101978302002,8.458582878112793,9.338876724243164,10.59722900390625,8.126296997070312,9.79214096069336,10.795137405395508,6.590269088745117,9.742105484008789,7.874857425689697,10.435903549194336,10.449952125549316,11.545222282409668,12.282318115234375,9.706141471862793,10.417675018310547,9.224113464355469,2.602153778076172,3.199360847473145,2.565704822540283,2.680341482162476,2.716842651367188,8.074445724487305,-2.993041515350342,9.834320068359375,11.962068557739258,-2.707670211791992,1.701135396957397,10.487098693847656,6.983015060424805,3.600566148757935,9.856379508972168,10.550031661987305,2.910768032073975,5.556980609893799,2.124807834625244,9.43088436126709,3.535435914993286,3.323009014129639,10.700255393981934,2.352204322814941,2.295525074005127,9.073922157287598,10.836238861083984,11.64069938659668,8.592327117919922,-3.069036960601807,2.30171012878418,1.849584937095642,11.161651611328125,2.163222074508667,10.006206512451172,8.388254165649414,2.758445024490356,3.027977228164673,11.596781730651855,9.525358200073242,3.232454776763916,10.042203903198242,9.222487449645996,9.174755096435547,9.388008117675781,-1.967458248138428,9.957742691040039,6.295629024505615,2.028835296630859,-3.024538278579712,10.207119941711426,1.410097360610962,8.939921379089355,10.319598197937012,11.555041313171387,10.694016456604004,8.187471389770508,2.314822196960449,9.094435691833496,3.756513118743896,8.057071685791016,10.601911544799805,9.798336029052734,10.952521324157715,8.097830772399902,10.034417152404785,9.967002868652344,8.973913192749023,9.889378547668457,13.116827964782715,11.78991413116455,11.912524223327637,10.463761329650879,11.975249290466309,10.195741653442383,13.143355369567871,11.813241004943848,10.611410140991211,9.915828704833984,10.434080123901367,8.3497896194458,9.380677223205566,9.432300567626953,-2.768585443496704,6.301623344421387,-2.016833066940308,8.673558235168457,10.68623161315918,10.41769027709961,2.860716581344604,6.27991247177124,-2.619026660919189,-2.648269414901733,6.415122985839844,12.989075660705566,-2.754709243774414,-2.692466259002686,10.070218086242676,13.030774116516113,4.932478904724121,9.590570449829102,8.940450668334961,3.839650869369507,7.12220573425293,6.736771106719971,5.195967674255371,10.593968391418457,-2.640008687973022,10.706335067749023,-2.400274753570557,-2.669837236404419,9.095965385437012,-2.926017761230469,6.182260513305664,8.289667129516602,6.230897903442383,6.050723552703857,8.392587661743164,6.236687660217285,-3.035343647003174,2.860903024673462,11.885845184326172,10.075431823730469,10.617405891418457,5.479062557220459,2.317525148391724,5.202735424041748,2.319111347198486,4.889865875244141,4.917531490325928,6.530052661895752,8.55512809753418,8.430511474609375,7.58991527557373,8.29520320892334,8.138001441955566,7.040328502655029,13.491840362548828,8.077775955200195,9.314905166625977,9.673243522644043,9.976561546325684,8.782942771911621,8.82843017578125,6.774420738220215,8.7468843460083,9.349152565002441,-1.701086521148682,-1.165974259376526,10.450119972229004,13.530035972595215,9.993831634521484,10.123708724975586,9.987811088562012,9.961825370788574,9.979763984680176,11.745177268981934,9.36103343963623,10.95847225189209,4.336090564727783,7.908262252807617,8.605778694152832,11.08155632019043,9.43175220489502,9.09315013885498,12.583596229553223,8.734518051147461,11.83775806427002,10.134068489074707,11.813098907470703,3.755687713623047,10.531867027282715,11.919757843017578,12.196900367736816,12.150551795959473,12.039104461669922,11.9557523727417,9.447656631469727,11.46041202545166,11.164287567138672,10.623489379882812,12.383466720581055,11.200560569763184,10.46723747253418,9.768830299377441,10.23074722290039,11.816150665283203,10.907776832580566,10.462779998779297,6.88979959487915,3.751145124435425,10.855401992797852,9.545702934265137,9.495800018310547,8.64151668548584,8.932077407836914,5.377312660217285,6.389838218688965,5.088958263397217,6.517632007598877,5.062777996063232,10.589879989624023,10.110734939575195,10.654423713684082,6.521068572998047,-2.088719367980957,-2.003993988037109,5.149886608123779,7.851203441619873,6.552709579467773,7.244782447814941,8.72166919708252,-2.0069260597229,-1.911333799362183,9.138301849365234,9.707045555114746,9.527475357055664,-1.615134000778198,8.687166213989258,9.716102600097656,6.253823757171631,5.743958473205566,11.93713092803955,8.316655158996582,8.346803665161133,-2.925339460372925,10.71691608428955,8.585180282592773,6.11812686920166,5.469371318817139,-2.084326267242432,7.923958301544189,8.661088943481445,7.889397144317627,7.787075996398926,8.7736234664917,6.239848136901855,9.047836303710938,8.4263334274292,8.583549499511719,-2.986044406890869,-2.209866762161255,8.054482460021973,9.552221298217773,9.241084098815918,6.944668292999268,8.45153522491455,9.06618595123291,7.645445346832275,7.665551662445068,11.987517356872559,11.670544624328613,7.036092758178711,9.967626571655273,9.984236717224121,11.832566261291504,13.590593338012695,13.534668922424316,9.337394714355469,7.821505546569824,12.331539154052734,11.456498146057129,8.505908966064453,11.40498161315918,13.370314598083496,12.013052940368652,8.896319389343262,13.054680824279785,8.076322555541992,12.208269119262695,11.835309982299805,11.046146392822266,9.259109497070312,10.222118377685547,10.497587203979492,10.070841789245605,7.570035457611084,10.540807723999023,11.642172813415527,8.092973709106445,11.289278030395508,7.157609939575195,10.247502326965332,12.807199478149414,9.44184684753418,8.778267860412598,10.152505874633789,8.826780319213867,8.84208869934082,8.297541618347168,5.151232242584229,10.308806419372559,5.987383365631104,10.204306602478027,7.047068119049072,-2.158321380615234,10.524928092956543,10.312353134155273,3.303979158401489,6.712186813354492,6.328176975250244,8.190035820007324,10.606374740600586,5.610906600952148,10.281574249267578,9.195683479309082,5.750481128692627,8.34133243560791,8.246923446655273,5.702381610870361,10.053756713867188,9.644495964050293,5.969834327697754,9.47365665435791,8.691547393798828,5.545670986175537,10.481711387634277,9.52448844909668,9.666572570800781,8.579556465148926,9.525872230529785,-2.063844680786133,8.972304344177246,8.837700843811035,-1.635064721107483,10.640114784240723,-2.032092809677124,9.538264274597168,8.62877082824707,8.727950096130371,10.147830963134766,8.577559471130371,7.150260448455811,7.931853771209717,7.674754619598389,8.544498443603516,8.790352821350098,8.171104431152344,9.392183303833008,9.677206039428711,9.975339889526367,-2.13474178314209,9.05383014678955,10.861722946166992,9.589126586914062,5.830685138702393,-1.434353709220886,9.051764488220215,6.279367446899414,7.2460618019104,10.322564125061035,7.170861721038818,8.903552055358887,8.5443115234375,8.409406661987305,8.969112396240234,5.840428352355957,8.493480682373047,10.105607032775879,9.23205280303955,4.625104904174805,10.32044506072998,5.872177600860596,6.069484233856201,8.791921615600586,10.549613952636719,7.882155418395996,6.830249309539795,-1.510889768600464,-2.778918027877808,9.063644409179688,8.180562973022461,8.462169647216797,10.241337776184082,9.725245475769043,5.83662748336792,9.274679183959961,-2.950512647628784,6.689454078674316,9.081541061401367,5.569034576416016,7.19494104385376,6.771914958953857,8.528424263000488,7.198768138885498,8.567839622497559,8.038006782531738,9.086560249328613,9.850869178771973,11.608699798583984,8.339444160461426,7.70996618270874,10.227503776550293,-2.754363059997559,5.778716087341309,8.33035659790039,8.26005744934082,8.383766174316406,8.228819847106934,10.557198524475098,8.270584106445312,5.762632846832275,-2.729742765426636,8.009577751159668,5.768299102783203,6.443669319152832,8.661953926086426,8.265275001525879,10.075592041015625,-2.904297351837158,9.470132827758789,9.545271873474121,7.726839542388916,9.768375396728516,11.0630464553833,8.683079719543457,7.634650707244873,-1.983329057693481,10.051468849182129,9.952860832214355,9.883156776428223,11.413749694824219,11.974160194396973,11.174975395202637,8.904765129089355,9.95120620727539,10.377603530883789,11.769293785095215,11.701265335083008,11.930645942687988,11.166613578796387,9.808241844177246,10.680618286132812,11.429584503173828,2.864248275756836,9.885854721069336,10.962141036987305,11.46066951751709,10.431601524353027,7.260325908660889,11.402530670166016,7.196942806243896,8.550055503845215,10.062934875488281,11.9442777633667,11.930581092834473,10.229703903198242,7.761510372161865,8.111289978027344,9.055434226989746,9.330694198608398,9.952996253967285,9.607123374938965,6.667087078094482,8.223821640014648,9.867108345031738,9.571596145629883,8.049897193908691,10.556395530700684,8.814481735229492,10.005599975585938,6.23590612411499,9.972169876098633,8.52007007598877,10.035688400268555,9.817176818847656,10.274999618530273,7.764652252197266,9.861485481262207,9.941678047180176,10.562788963317871,9.736268997192383,5.237847805023193,9.222429275512695,10.704914093017578,5.391793727874756,6.912308216094971,9.802667617797852,8.892602920532227,6.727475643157959,9.799450874328613,10.426660537719727,5.701386451721191,8.890867233276367,9.988719940185547,9.737460136413574,8.729422569274902,9.257702827453613,5.01741886138916,7.919716835021973,9.754981994628906,10.331990242004395,6.900094032287598,10.166193008422852,2.159550189971924,9.907520294189453,9.647887229919434,6.399740219116211,9.507710456848145,9.394436836242676,10.269908905029297,11.494449615478516,10.647890090942383,9.739359855651855,10.477852821350098,6.840730667114258,8.724650382995605,9.996161460876465,9.857165336608887,5.358304977416992,9.840154647827148,9.77299976348877,9.74460506439209,9.5684232711792,9.852294921875,5.519559383392334,9.758452415466309,8.109164237976074,8.244964599609375,8.340710639953613,11.397675514221191,8.997228622436523,11.934555053710938,9.785897254943848,10.501620292663574,10.809269905090332,11.436594009399414,10.985788345336914,11.254690170288086,11.703557968139648,11.386619567871094,11.322908401489258,8.88794994354248,10.688613891601562,10.111433029174805,10.063288688659668,10.896814346313477,12.099421501159668,10.411730766296387,5.60526180267334,6.330620288848877,10.771571159362793,4.646936416625977,9.081296920776367,9.804415702819824,7.206224918365479,7.244091987609863,7.218646049499512,8.896478652954102,8.512864112854004,10.752450942993164,11.07699966430664,5.716309547424316,9.045097351074219,10.37175464630127,9.835206985473633,10.422344207763672,9.777022361755371,10.220991134643555,9.99135971069336,11.33974552154541,9.009170532226562,8.880025863647461,9.821372032165527,10.336984634399414,7.143499374389648,7.07905101776123,10.031791687011719,11.291646957397461,11.382699012756348,9.487574577331543,7.193714618682861,9.828739166259766,10.547547340393066,8.520313262939453,8.632747650146484,10.2803373336792,8.218586921691895,8.421977996826172,10.478997230529785,11.026714324951172,9.586135864257812,5.821423053741455,10.665160179138184,10.524328231811523,10.451528549194336,9.13210391998291,9.571788787841797,9.955252647399902,8.661985397338867,9.58594799041748,9.439976692199707,11.116145133972168,10.169794082641602,9.099437713623047,6.771456718444824,6.127496242523193,7.097640991210938,6.519734859466553,6.246745586395264,8.909539222717285,6.335996627807617,10.361164093017578,10.299639701843262,10.31335163116455,9.865059852600098,9.757688522338867,9.296998977661133,10.215174674987793,9.78995418548584,10.315632820129395,9.924832344055176,7.716902732849121,7.729012489318848,9.760255813598633,5.572036743164062,9.25300407409668,10.349681854248047,9.38848876953125,5.887653827667236,9.432901382446289,8.770164489746094,8.615842819213867,9.957764625549316,6.740633964538574,9.91195297241211,9.821187973022461,10.48292064666748,9.713052749633789,10.616323471069336,9.05708122253418,11.71471881866455,9.690801620483398,9.102447509765625,8.44511890411377,11.502581596374512,8.313619613647461,8.65707778930664,8.348686218261719,9.640652656555176,6.263058662414551,9.287952423095703,9.64650821685791,10.28686809539795,10.850741386413574,9.793091773986816,9.122093200683594,10.668210983276367,9.316910743713379,8.591972351074219,9.360066413879395,9.951593399047852,7.28395414352417,9.897624015808105,6.379582405090332,8.007784843444824,9.45348834991455,9.674936294555664,10.150069236755371,10.274968147277832,11.337857246398926,8.756138801574707,9.750266075134277,5.781949043273926,6.573469161987305,8.111099243164062,9.486669540405273,10.456639289855957,9.699867248535156,5.532979488372803,9.196520805358887,9.452142715454102,5.572659492492676,9.602150917053223,9.906715393066406,11.411121368408203,9.07765007019043,5.980794906616211,6.229867935180664,9.36443042755127,9.839308738708496,10.54733657836914,10.888787269592285,6.234001159667969,11.238337516784668,9.006814002990723,11.010920524597168,9.487373352050781,11.380090713500977,9.937467575073242,9.497406005859375,10.221095085144043,9.640497207641602,9.319597244262695,6.408092975616455,10.343223571777344,9.771551132202148,10.238546371459961,10.163786888122559,11.64563274383545,9.70512580871582,12.086872100830078,10.26839542388916,11.200788497924805,5.470800399780273,11.463581085205078,11.963444709777832,11.446388244628906,11.251630783081055,11.435104370117188,11.950651168823242,9.304546356201172,8.797863960266113,9.948637962341309,8.807476043701172,9.667866706848145,9.710234642028809,9.326303482055664,9.662732124328613,6.074963092803955,10.02225112915039,7.132195472717285,11.208253860473633,10.83896541595459,9.86737060546875,8.180034637451172,8.535116195678711,7.208957195281982,9.642704010009766,9.788289070129395,9.15542984008789,8.897066116333008,8.14616584777832,6.041902542114258,10.581574440002441,9.985211372375488,9.660691261291504,10.01992130279541,9.15872573852539,9.659457206726074,7.605740070343018,9.569355964660645,6.670978546142578,11.731634140014648,11.100406646728516,7.241785049438477,10.760502815246582,6.073663711547852,9.553705215454102,9.669127464294434,10.139704704284668,8.699875831604004,7.273392677307129,7.221537113189697,9.981466293334961,10.038399696350098,8.330338478088379,8.909760475158691,8.816102981567383,10.173952102661133,9.260917663574219,10.5072660446167,7.227733135223389,8.50660514831543,10.961593627929688,9.861997604370117,9.7970552444458,9.219462394714355,9.855183601379395,9.256620407104492,10.029451370239258,9.784412384033203,11.538115501403809,9.059765815734863,8.329365730285645,10.352068901062012,9.254977226257324,8.730958938598633,9.29352855682373,10.078474998474121,9.993987083435059,6.319987773895264,9.385955810546875,7.956131458282471,9.5643892288208,9.41140079498291,9.156913757324219,9.770177841186523,8.90202808380127,10.21561050415039,9.983203887939453,9.828779220581055,9.639226913452148,10.13594913482666,10.75718879699707,9.169279098510742,5.083515167236328,10.298689842224121,10.118636131286621,9.769013404846191,9.844925880432129,11.374059677124023,5.67616605758667,8.543707847595215,9.24801254272461,9.137125015258789,10.699545860290527,8.501043319702148,10.154877662658691,9.728106498718262,9.048996925354004,9.832090377807617,9.998896598815918,9.85986614227295,9.891252517700195,5.843773365020752,9.785834312438965,9.743409156799316,9.715200424194336,6.602135181427002,6.139620780944824,10.060978889465332,9.760042190551758,9.866397857666016,9.965896606445312,9.74161148071289,9.84733772277832,4.288518905639648,9.836406707763672,8.212098121643066,11.445304870605469,10.413549423217773,10.6572265625,4.94575834274292,9.72587776184082,9.596827507019043,10.161528587341309,5.216629028320312,8.742199897766113,8.89462947845459,9.498927116394043,9.660033226013184,10.66789722442627,9.375082969665527,8.774138450622559,8.139394760131836,8.76026439666748,8.847442626953125,7.856844425201416,9.692468643188477,9.87178897857666,5.419772148132324,7.928727149963379,10.180014610290527,11.58930492401123,9.643495559692383,9.67020320892334,9.711649894714355,9.949989318847656,5.573596477508545,5.414117813110352,11.452605247497559,9.366660118103027,11.97166633605957,11.163955688476562,11.639784812927246,11.622450828552246,5.249088287353516,6.179599285125732,9.798344612121582,9.92464542388916,10.04024600982666,11.24667739868164,12.206656455993652,9.364943504333496,10.091581344604492,7.197465896606445,6.285382270812988,9.118661880493164,9.794955253601074,8.89730167388916,10.171588897705078,9.38021183013916,11.65306568145752,9.695283889770508,8.599163055419922,9.32778263092041,8.509976387023926,9.501494407653809,9.774958610534668,8.450053215026855,8.734275817871094,8.773945808410645,8.870190620422363,10.118053436279297,7.524026870727539,10.30730152130127,9.737488746643066,9.330519676208496,11.544059753417969,6.813353061676025,6.263132572174072,9.581522941589355,6.545344352722168,10.248727798461914,10.708358764648438,8.423975944519043,9.749017715454102,7.337109088897705,5.665623188018799,9.654143333435059,8.907510757446289,8.424185752868652,-1.990763306617737,-2.039437770843506,9.727864265441895,10.248087882995605,10.62942123413086,9.266158103942871,8.692193984985352,10.502106666564941,8.63043212890625,11.208784103393555,9.391461372375488,8.286070823669434,11.344283103942871,6.533690452575684,9.125956535339355,9.109907150268555,8.1427640914917,8.376062393188477,9.415593147277832,9.563905715942383],"xaxis":"x","y":[2.232274055480957,8.817400932312012,3.507599115371704,10.235846519470215,8.921065330505371,10.348968505859375,8.207086563110352,12.197423934936523,13.700516700744629,11.937372207641602,0.7507603764534,8.602892875671387,12.603748321533203,0.461881935596466,9.495162963867188,3.617300987243652,9.250092506408691,11.965521812438965,8.317774772644043,11.25152587890625,11.055215835571289,11.361604690551758,1.323579072952271,3.102236032485962,6.757230758666992,7.109238147735596,13.726727485656738,13.684078216552734,3.518338203430176,11.103829383850098,12.606866836547852,0.956642508506775,10.972140312194824,11.641825675964355,11.133391380310059,10.637523651123047,7.996322631835938,10.161116600036621,12.03230094909668,10.726691246032715,11.82624340057373,12.210558891296387,11.919675827026367,1.307437539100647,7.021913528442383,10.619349479675293,2.458356618881226,9.328349113464355,11.612381935119629,9.300236701965332,10.990949630737305,0.702810287475586,10.87468147277832,8.570819854736328,12.301247596740723,11.093140602111816,8.317754745483398,1.021191120147705,8.082849502563477,3.458917379379272,0.735624730587006,9.54093074798584,11.110010147094727,11.8988676071167,8.927736282348633,8.835838317871094,9.009254455566406,0.863934814929962,8.977864265441895,0.813171863555908,10.342226028442383,12.465912818908691,0.608035445213318,11.681679725646973,6.603066444396973,9.769235610961914,8.661698341369629,10.00273609161377,9.355048179626465,9.975971221923828,8.743304252624512,8.811271667480469,0.832020461559296,8.735783576965332,1.186886548995972,10.763571739196777,10.688989639282227,9.038190841674805,8.850476264953613,0.759343862533569,0.714899301528931,11.37185287475586,10.689836502075195,0.935823678970337,1.119050264358521,9.554254531860352,10.174954414367676,-8.814281463623047,9.138606071472168,10.963301658630371,11.822245597839355,11.068987846374512,12.401264190673828,0.711161673069,12.219770431518555,10.119474411010742,13.756148338317871,11.513455390930176,0.841588973999023,9.72524356842041,8.08768081665039,8.58323860168457,7.392349720001221,11.102238655090332,6.679202556610107,0.836155772209167,0.927629947662354,11.031817436218262,11.1068115234375,11.07868766784668,10.607738494873047,10.786867141723633,0.655432343482971,12.138128280639648,11.230380058288574,8.79341983795166,1.174650549888611,8.599148750305176,11.63060188293457,11.153261184692383,0.709451794624329,0.922466576099396,10.030879020690918,11.735000610351562,0.740638375282288,10.011832237243652,11.488430976867676,8.01762866973877,10.705297470092773,0.445871323347092,1.009494185447693,10.12940502166748,9.962579727172852,1.08366596698761,0.828777253627777,8.855045318603516,11.994375228881836,8.9556884765625,1.160559892654419,1.160782933235168,10.68907642364502,10.732545852661133,9.15827751159668,12.741401672363281,11.587891578674316,8.989267349243164,8.66501522064209,10.47589111328125,10.834219932556152,10.417733192443848,1.281468272209167,11.463366508483887,0.738894879817963,1.001184344291687,7.933603286743164,8.78943157196045,9.033226013183594,9.67980670928955,6.852133274078369,0.335825175046921,9.039097785949707,9.516739845275879,7.80399751663208,10.201617240905762,9.7738037109375,10.088866233825684,10.058674812316895,2.060925483703613,1.169141888618469,8.820183753967285,9.044434547424316,12.184797286987305,11.746744155883789,3.935841798782349,0.968480229377747,9.972002983093262,9.382817268371582,11.378301620483398,8.990991592407227,0.870903193950653,10.189127922058105,0.436959594488144,7.470221042633057,8.452872276306152,6.892891883850098,12.269207000732422,1.144522070884705,11.28390121459961,11.383606910705566,11.773762702941895,12.059277534484863,9.758952140808105,11.914345741271973,8.998205184936523,8.187508583068848,12.055573463439941,1.057461023330688,10.471899032592773,11.432180404663086,7.114223957061768,12.31906795501709,0.914282500743866,8.8556489944458,12.389991760253906,1.132472515106201,9.904559135437012,8.551492691040039,8.717141151428223,8.254030227661133,9.920218467712402,11.970237731933594,1.316841125488281,10.70208740234375,10.571070671081543,10.21579647064209,10.3163423538208,9.139984130859375,10.674373626708984,1.094808340072632,12.42928695678711,9.813301086425781,12.561888694763184,12.521757125854492,1.125057220458984,12.261483192443848,1.186553359031677,10.57332992553711,7.783292770385742,12.42831802368164,0.803564488887787,9.183496475219727,8.964585304260254,-0.340612918138504,0.722203016281128,2.938612461090088,10.74118423461914,10.957762718200684,11.108102798461914,1.127978086471558,10.319436073303223,10.683229446411133,6.669503211975098,12.097325325012207,0.713645458221436,9.396368980407715,10.565357208251953,0.696610689163208,1.266729831695557,10.513786315917969,0.892116665840149,2.662900924682617,10.51914119720459,8.50442123413086,-0.305796146392822,8.007170677185059,8.4850435256958,11.677483558654785,10.689964294433594,11.090828895568848,12.453899383544922,0.646869361400604,8.7830228805542,0.764794111251831,1.328934907913208,8.96431827545166,12.221181869506836,9.958064079284668,3.470707654953003,0.843557894229889,9.314964294433594,0.938437581062317,9.06198787689209,9.894255638122559,0.945879757404327,10.939480781555176,11.57289981842041,12.3460111618042,7.312751293182373,11.028851509094238,11.206707000732422,12.022147178649902,12.44218635559082,0.759284138679504,10.847111701965332,0.960499703884125,0.835476934909821,10.95743179321289,9.31830883026123,0.834794938564301,0.506404042243958,8.593952178955078,8.692240715026855,11.650136947631836,6.581567287445068,6.706035614013672,10.74999713897705,12.130385398864746,9.319682121276855,0.771513342857361,0.816326797008514,8.904671669006348,10.118709564208984,0.586957812309265,0.709947168827057,8.950119972229004,12.066520690917969,8.804216384887695,0.717875361442566,0.764854848384857,9.583854675292969,8.628567695617676,12.016151428222656,6.967211723327637,10.368197441101074,1.269940495491028,0.972617924213409,8.482152938842773,10.807433128356934,10.411078453063965,8.775053024291992,1.053237199783325,0.781589448451996,10.812627792358398,7.883532524108887,10.973551750183105,0.187369138002396,0.496689975261688,10.277027130126953,7.59288501739502,0.43264451622963,9.687108039855957,0.758297622203827,9.114354133605957,8.281124114990234,12.203007698059082,0.787683427333832,9.06496810913086,6.736348152160645,12.407526969909668,0.727678954601288,8.889801979064941,0.473183810710907,8.506621360778809,9.749435424804688,3.966887235641479,7.383945941925049,8.695317268371582,10.896737098693848,1.530079007148743,0.743652701377869,10.676620483398438,0.63714861869812,12.039600372314453,1.344474673271179,0.566455662250519,9.909499168395996,-1.843876123428345,8.148366928100586,10.574958801269531,10.880599021911621,10.980819702148438,0.714796423912048,12.430657386779785,12.173026084899902,10.84775447845459,10.512300491333008,1.249906897544861,1.205274224281311,9.286996841430664,10.67678165435791,0.656322002410889,8.652379035949707,-8.843371391296387,8.388446807861328,9.290879249572754,8.11573600769043,10.50717830657959,1.590922832489014,8.078275680541992,10.839326858520508,10.767657279968262,12.334349632263184,0.450376361608505,9.157587051391602,12.46403980255127,10.630803108215332,0.789732038974762,1.383756637573242,0.709624767303467,8.857215881347656,8.35451602935791,10.0741548538208,1.044709086418152,1.314851403236389,6.977977752685547,12.341592788696289,2.857290983200073,-8.847612380981445,1.139275193214417,11.936322212219238,0.424627721309662,9.916460990905762,10.69128131866455,1.6568763256073,9.755335807800293,9.050436973571777,9.291420936584473,0.928802192211151,12.291740417480469,1.566907167434692,10.800151824951172,10.708138465881348,9.70096492767334,6.854316234588623,7.021376609802246,6.623209476470947,8.213922500610352,8.00715446472168,13.70573616027832,11.912510871887207,12.16080093383789,-1.942074298858643,12.251734733581543,9.305143356323242,9.028009414672852,11.883657455444336,11.841437339782715,-2.013665437698364,7.255721092224121,13.643549919128418,-8.802119255065918,11.088335990905762,1.951948165893555,11.538932800292969,8.431053161621094,12.148573875427246,11.500450134277344,10.974658012390137,11.00444507598877,11.37375259399414,11.187819480895996,11.967227935791016,0.76604038476944,10.355090141296387,0.75775545835495,8.470541954040527,11.602289199829102,7.35387134552002,7.306093692779541,0.554665625095367,12.419707298278809,9.037971496582031,0.811032176017761,9.121210098266602,11.300337791442871,6.795754432678223,6.982693672180176,12.828474998474121,13.707767486572266,1.858299612998962,0.968318819999695,10.355631828308105,-8.792707443237305,11.69311237335205,7.262129306793213,10.120705604553223,11.58987045288086,1.044406771659851,7.280951976776123,11.62768840789795,11.571125030517578,1.067271709442139,10.202851295471191,10.899340629577637,11.7349271774292,10.833662986755371,0.540500998497009,12.269505500793457,8.029598236083984,6.879961967468262,0.585825622081757,12.18467903137207,2.788818359375,8.981618881225586,9.348280906677246,0.743995487689972,10.002578735351562,8.562337875366211,0.746633172035217,0.700939238071442,10.809280395507812,8.882192611694336,11.192587852478027,10.995162963867188,7.58312463760376,9.087862014770508,12.393939971923828,-1.642554998397827,8.962313652038574,0.383625149726868,12.060420036315918,11.057175636291504,9.878412246704102,8.184921264648438,-1.79070520401001,10.644388198852539,9.073982238769531,2.488834619522095,8.746909141540527,11.217692375183105,12.21296215057373,12.528438568115234,7.371769905090332,11.651979446411133,12.061201095581055,9.72535514831543,-0.921450972557068,-1.592409610748291,9.647199630737305,8.948987007141113,12.447728157043457,8.91776180267334,8.26844310760498,0.645933270454407,10.879074096679688,11.471395492553711,13.858515739440918,1.04181444644928,11.575128555297852,10.146553039550781,0.520899653434753,8.933853149414062,8.543784141540527,8.958836555480957,12.020574569702148,-8.857028007507324,8.115030288696289,8.9576416015625,-1.984491229057312,0.162009328603745,0.810700595378876,8.485736846923828,8.00904655456543,10.130887031555176,9.955883979797363,10.201639175415039,9.19199275970459,11.897859573364258,6.573750019073486,11.213979721069336,-1.351416826248169,10.608502388000488,10.130134582519531,10.306647300720215,-1.193997263908386,10.73478889465332,7.609009265899658,9.247706413269043,11.278138160705566,-1.958426713943481,11.313409805297852,12.4921236038208,10.978938102722168,11.580663681030273,10.811640739440918,4.037491798400879,9.100874900817871,6.822962284088135,-1.225467562675476,-1.988985657691956,9.03061580657959,8.696372985839844,12.563538551330566,11.188506126403809,11.331314086914062,-1.689210414886475,7.744333744049072,9.021492958068848,0.517859220504761,12.219791412353516,12.508208274841309,0.681094884872437,8.51707935333252,12.615939140319824,11.98442554473877,9.541268348693848,10.268152236938477,-8.82543659210205,10.98043155670166,8.968481063842773,-1.172227144241333,-1.935174584388733,-2.184709310531616,8.56269645690918,7.496056079864502,7.441373348236084,10.50651741027832,10.878024101257324,-1.386020064353943,11.625958442687988,10.653349876403809,7.476135730743408,8.977681159973145,11.700699806213379,8.47077465057373,8.043147087097168,-1.660625219345093,10.068648338317871,10.119024276733398,-1.118926763534546,8.099408149719238,12.220145225524902,13.746408462524414,13.75156307220459,3.970267295837402,8.449766159057617,12.510903358459473,0.265506267547607,-1.169843912124634,12.764588356018066,8.268818855285645,2.736738204956055,8.973526954650879,9.921761512756348,11.38802433013916,-1.766888618469238,6.984123706817627,10.136302947998047,-1.119625210762024,2.578986644744873,1.042558908462524,8.899327278137207,10.75243091583252,2.783204793930054,9.442233085632324,10.40063190460205,-8.831230163574219,10.35445499420166,12.129339218139648,7.497086524963379,9.645503997802734,9.7205171585083,-1.808438658714294,0.396991610527039,11.166036605834961,9.019065856933594,11.732515335083008,11.871356964111328,6.475749492645264,9.014360427856445,10.707939147949219,11.697097778320312,12.345185279846191,10.686187744140625,-1.107401490211487,9.984493255615234,7.692962169647217,8.722206115722656,12.205052375793457,11.586350440979004,11.620121955871582,8.420170783996582,-0.8734992146492,0.512652814388275,8.886309623718262,8.884366035461426,11.653079986572266,6.989446640014648,-1.723844408988953,-1.927382111549377,10.952617645263672,10.27928638458252,10.531989097595215,-1.725613713264465,7.001298904418945,8.271018981933594,10.02313232421875,9.284991264343262,10.906356811523438,10.318881034851074,1.709728717803955,6.5743727684021,10.489298820495605,8.159917831420898,8.596338272094727,10.925373077392578,2.914447546005249,11.090921401977539,-1.856971740722656,10.313876152038574,10.081454277038574,7.496347427368164,8.383917808532715,10.431371688842773,2.795723915100098,10.222854614257812,2.866202116012573,0.739346385002136,11.71761703491211,11.582396507263184,9.740045547485352,8.910197257995605,2.889276504516602,9.696294784545898,9.145356178283691,-1.935290932655334,-8.806463241577148,8.702579498291016,10.292098045349121,-2.250231742858887,9.414169311523438,9.074304580688477,2.902058362960815,-1.962146759033203,8.783575057983398,12.688937187194824,10.872922897338867,10.884383201599121,10.74412727355957,-8.828587532043457,10.307129859924316,10.83167552947998,10.7978515625,12.783792495727539,7.838268280029297,8.808844566345215,10.328306198120117,10.124236106872559,11.426815032958984,3.772129535675049,11.439030647277832,10.151080131530762,7.893514633178711,8.430275917053223,9.996685981750488,10.673601150512695,8.6694917678833,8.463313102722168,10.660090446472168,10.707942008972168,5.255141735076904,10.118181228637695,11.809535026550293,9.753495216369629,9.1424560546875,9.388126373291016,9.339338302612305,9.374723434448242,10.420164108276367,7.336655616760254,10.710686683654785,8.601531982421875,12.563557624816895,3.259045600891113,9.067375183105469,8.382664680480957,11.094480514526367,11.114372253417969,11.875091552734375,11.220171928405762,12.563191413879395,-2.155826330184937,9.300922393798828,0.765072882175446,3.648250102996826,7.835504055023193,11.328661918640137,11.135790824890137,12.269999504089355,-2.016974210739136,0.836316466331482,11.13483715057373,1.367882251739502,10.94185733795166,10.891039848327637,10.129057884216309,10.985528945922852,9.928753852844238,10.926403045654297,12.23795223236084,-8.829421997070312,12.55907917022705,10.882774353027344,2.937654495239258,11.154175758361816,12.136001586914062,0.922735512256622,12.500771522521973,10.443682670593262,9.89207649230957,8.852129936218262,6.605432510375977,11.083426475524902,0.906349778175354,11.238975524902344,-1.848133087158203,7.686361789703369,12.268314361572266,-1.748633027076721,11.366291046142578,11.024106979370117,8.269498825073242,13.698705673217773,6.963598728179932,10.729107856750488,6.545383930206299,6.427459716796875,7.580159664154053,8.776322364807129,11.64968204498291,12.427957534790039,9.3782320022583,11.014299392700195,6.776802062988281,6.928105354309082,11.263821601867676,11.583555221557617,-2.005505561828613,9.174359321594238,2.775041818618774,8.925287246704102,8.300520896911621,6.681308746337891,12.09344482421875,10.313019752502441,11.248030662536621,-1.039857864379883,8.296231269836426,-0.96894645690918,10.954553604125977,10.857117652893066,10.870074272155762,-1.968589782714844,10.586271286010742,3.44752836227417,9.714824676513672,9.01480770111084,0.848103582859039,-1.962041020393372,8.585158348083496,12.174911499023438,8.289013862609863,-8.80815601348877,0.988322019577026,9.888193130493164,10.157732009887695,8.100252151489258,7.841995239257812,9.822312355041504,8.500466346740723,10.15326976776123,9.684782028198242,10.637615203857422,11.999812126159668,8.75291633605957,8.969386100769043,13.752466201782227,2.853936672210693,0.937285244464874,11.078797340393066,11.274134635925293,-1.754330635070801,9.992646217346191,0.659980118274689,7.979288101196289,12.021211624145508,11.544052124023438,11.466017723083496,8.714234352111816,13.785017013549805,0.623297393321991,8.044601440429688,-1.788391351699829,6.96511697769165,9.774346351623535,0.792375147342682,10.186683654785156,0.713677823543549,9.315053939819336,9.197820663452148,10.801383018493652,10.27850341796875,8.541337966918945,0.652592241764069,-1.872198462486267,10.6334810256958,-8.807595252990723,-1.220216274261475,8.76317024230957,10.933378219604492,11.834335327148438,12.36036205291748,-0.360096514225006,7.138319969177246,11.201159477233887,12.113398551940918,3.812349557876587,-1.170122385025024,10.396124839782715,9.043984413146973,10.254246711730957,10.56866455078125,10.901047706604004,10.412549018859863,12.405914306640625,0.11128132045269,11.697867393493652,12.005617141723633,6.502179622650146,10.776047706604004,12.218484878540039,12.365541458129883,7.138986587524414,10.114368438720703,12.350415229797363,8.121347427368164,10.143721580505371,0.804317057132721,0.664371192455292,10.948387145996094,8.921083450317383,1.115179181098938,0.834535539150238,12.141685485839844,10.683806419372559,3.839767456054688,9.971061706542969,10.697396278381348,10.01570987701416,9.069089889526367,0.624377250671387,9.50163459777832,11.931659698486328,0.147845357656479,11.555529594421387,0.721333146095276,-8.80263614654541,-1.412495017051697,12.338539123535156,9.486709594726562,8.349380493164062,10.563217163085938,-1.814777135848999,7.834435939788818,10.396041870117188,0.809816896915436,12.064932823181152,0.609257996082306,11.896034240722656,11.056830406188965,0.521368563175201,10.023358345031738,12.427642822265625,9.167580604553223,0.769874751567841,7.7393798828125,7.020772933959961,12.271928787231445,7.397566318511963,9.597291946411133,0.6961510181427,10.97772216796875,12.407711029052734,11.393343925476074,-1.209962248802185,8.888811111450195,12.194921493530273,11.28341293334961,9.601137161254883,11.141009330749512,12.67457103729248,10.686544418334961,8.462292671203613,-1.946120977401733,9.71798038482666,7.892186641693115,10.906045913696289,9.767304420471191,7.036166191101074,11.222198486328125,0.690907895565033,13.640440940856934,12.585142135620117,12.288914680480957,0.715678572654724,12.43929386138916,12.494962692260742,8.002226829528809,9.571812629699707,0.645152807235718,10.710623741149902,9.896796226501465,8.451642036437988,11.653692245483398,-8.72940444946289,-1.875784039497375,10.710325241088867,2.984540939331055,5.915027141571045,7.348832130432129,7.6246657371521,12.700838088989258,8.980572700500488,6.57651948928833,12.233920097351074,11.496174812316895,3.641371488571167,10.840906143188477,-1.963025093078613,11.024754524230957,9.816733360290527,9.216570854187012,11.659239768981934,6.865144729614258,8.954166412353516,-1.290053725242615,12.421513557434082,7.294402122497559,10.654102325439453,2.656926155090332,9.371150016784668,1.218374848365784,7.568142414093018,7.902985095977783,9.556798934936523,13.783370971679688,0.745298147201538,11.162151336669922,11.710375785827637,11.177468299865723,0.79912668466568,12.14085865020752,1.553550124168396,1.259138345718384,12.587359428405762,8.960976600646973,1.564777016639709,8.466174125671387,12.797296524047852,11.166793823242188,10.813821792602539,12.433372497558594,10.855863571166992,12.644950866699219,0.65448260307312,12.434206008911133,6.484466075897217,-1.290076494216919,8.299430847167969,10.662908554077148,11.261775016784668,12.61103343963623,-1.42283833026886,10.975428581237793,9.890510559082031,0.372972875833511,11.971510887145996,13.760984420776367,13.807868957519531,9.758158683776855,9.931845664978027,12.719880104064941,13.77590274810791,0.782252311706543,11.295604705810547,8.868192672729492,11.508819580078125,6.852326393127441,10.21313190460205,11.698819160461426,7.071311473846436,-1.804202795028687,12.50692367553711,12.28318977355957,8.157151222229004,10.892775535583496,12.241909980773926,11.882699012756348,-1.808192133903503,11.603772163391113,8.716629981994629,11.015336990356445,-8.76089859008789,13.694077491760254,6.658723831176758,10.150636672973633,8.862115859985352,11.25872802734375,12.4011869430542,-2.19954776763916,12.482098579406738,9.26360034942627,6.724372386932373,9.449880599975586,11.804643630981445,-8.753944396972656,-1.820816993713379,10.415532112121582,-1.120289206504822,9.758511543273926,-0.92786180973053,8.306564331054688,8.447093963623047,9.803685188293457,11.243220329284668,11.60438060760498,11.806154251098633,7.077144145965576,8.866697311401367,7.652793884277344,8.0962495803833,10.157917976379395,-1.954139113426208,10.5379056930542,8.523418426513672,9.221562385559082,11.699529647827148,12.060029029846191,12.553154945373535,-1.824300408363342,9.050950050354004,6.521309852600098,-1.613602042198181,0.755265474319458,6.687750816345215,2.858835458755493,0.551309108734131,7.656010627746582,13.732542991638184,12.413361549377441,9.084270477294922,10.36626148223877,11.008445739746094,11.695427894592285,10.431844711303711,-8.770242691040039,2.882972240447998,12.843734741210938,0.130294874310493,12.576539993286133,8.922910690307617,6.926157474517822,11.052265167236328,7.055900573730469,11.018708229064941,6.788583278656006,12.719895362854004,13.819845199584961,0.338898330926895,7.994003295898438,7.402676105499268,7.493462085723877,7.483484268188477,12.380131721496582,11.171917915344238,10.970848083496094,11.181550979614258,-0.709729433059692,10.68060302734375,7.437839031219482,7.230016231536865,12.481314659118652,7.073371410369873,11.441522598266602,-1.808130860328674,12.145223617553711,10.957780838012695,12.539002418518066,0.687823593616486,7.998041152954102,6.704529762268066,7.029876708984375,-1.423215389251709,12.464309692382812,12.392607688903809,12.042235374450684,8.522950172424316,-1.948392987251282,12.144943237304688,11.118919372558594,8.246438026428223,11.780678749084473,0.036372702568769,10.678648948669434,10.180885314941406,11.607069969177246,9.78063678741455,11.058085441589355,-1.843263983726501,12.64275074005127,11.32595443725586,10.452967643737793,12.244444847106934,11.509177207946777,11.390829086303711,0.640361249446869,11.105181694030762,9.621671676635742,12.55662727355957,1.59018611907959,12.274682998657227,8.762716293334961,10.542132377624512,11.948373794555664,12.361326217651367,3.868001937866211,8.038556098937988,12.77242660522461,12.200338363647461,11.039923667907715,13.32404613494873,12.770864486694336,13.66205883026123,12.496905326843262,8.705251693725586,7.441450595855713,9.910867691040039,6.89824914932251,2.762340307235718,7.288058757781982,12.668201446533203,-0.736379563808441,9.460479736328125,9.699687957763672,8.183198928833008,11.537114143371582,12.241657257080078,9.125062942504883,8.441232681274414,12.648774147033691,11.670775413513184,-0.077049307525158,11.667643547058105,9.540305137634277,9.469804763793945,11.706562995910645,11.503430366516113,10.290055274963379,9.96265697479248,-1.667893528938293,11.628718376159668,11.206491470336914,9.958335876464844,10.09561538696289,-8.838693618774414,0.807116031646729,8.557920455932617,10.068755149841309,10.663410186767578,-2.036557912826538,11.307247161865234,1.032766342163086,12.193402290344238,13.693758010864258,13.63791561126709,12.332632064819336,9.538414001464844,10.707414627075195,12.397561073303223,-0.313642919063568,11.736125946044922,9.52184772491455,13.710874557495117,8.987812995910645,11.008143424987793,12.576436042785645,10.380854606628418,11.033929824829102,12.74689769744873,6.991841793060303,6.725828170776367,11.347213745117188,8.153538703918457,7.473939895629883,10.333235740661621,-1.755780696868896,9.108970642089844,12.53144359588623,11.08906364440918,11.96764087677002,12.231857299804688,11.880532264709473,11.63284683227539,-2.012314081192017,10.136802673339844,9.672199249267578,-1.235016822814941,9.4212007522583,11.287956237792969,10.409727096557617,11.640809059143066,12.479813575744629,7.770957469940186,9.343530654907227,7.345150470733643,10.745366096496582,12.191697120666504,6.664369106292725,11.208732604980469,12.241997718811035,10.264023780822754,12.608964920043945,3.375612020492554,6.653439044952393,11.811821937561035,10.205972671508789,8.65327262878418,9.926816940307617,10.839127540588379,12.252781867980957,11.434471130371094,12.685172080993652,12.344079971313477,11.670105934143066,11.797764778137207,12.756726264953613,-8.806146621704102,0.032290980219841,12.477459907531738,6.558447360992432,-1.914139747619629,7.874795436859131,-1.631639719009399,7.813807964324951,7.841298580169678,11.582505226135254,6.930669784545898,6.68241024017334,9.046326637268066,8.557629585266113,11.141555786132812,8.094308853149414,-1.448359608650208,10.805957794189453,11.288443565368652,8.593413352966309,11.688126564025879,12.174416542053223,12.740132331848145,0.789987206459045,8.455061912536621,12.072977066040039,7.614831447601318,9.11316204071045,9.322794914245605,-1.526583433151245,9.025672912597656,13.72276496887207,8.9951171875,12.593481063842773,8.37898063659668,8.51474666595459,11.747867584228516,7.079717636108398,2.849923610687256,-8.832510948181152,-1.537246346473694,7.547122955322266,7.159390926361084,11.096917152404785,-0.457602828741074,11.988917350769043,11.952428817749023,8.630475997924805,11.446706771850586,0.869009256362915,8.21124267578125,7.798330307006836,-1.498276114463806,9.422273635864258,-1.429805755615234,8.882381439208984,11.444089889526367,10.703283309936523,11.7755765914917,9.203309059143066,8.654216766357422,12.708465576171875,2.833951473236084,11.687345504760742,-1.744808793067932,10.38306713104248,6.813043117523193,-1.538392066955566,10.04491901397705,11.370823860168457,9.302837371826172,1.655569553375244,10.735142707824707,11.723026275634766,10.478022575378418,11.05198860168457,0.404296010732651,10.223368644714355,12.0332670211792,8.164451599121094,11.67862319946289,-8.830070495605469,0.757329523563385,-1.737307190895081,9.695545196533203,12.382670402526855,10.573901176452637,-0.709350943565369,11.067909240722656,6.40821647644043,11.932981491088867,9.641729354858398,9.371614456176758,8.377206802368164,-1.321494817733765,11.68898868560791,8.821446418762207,11.211934089660645,8.787118911743164,12.220844268798828,-1.649541974067688,6.540889263153076,11.283459663391113,12.379585266113281,8.173646926879883,10.700549125671387,-1.557885885238647,7.544892311096191,7.436873912811279,8.4525728225708,10.7332124710083,9.514620780944824,-8.813493728637695,0.064984023571014,10.267577171325684,11.661211013793945,8.767119407653809,9.78106689453125,9.317787170410156,8.30160140991211,0.621008336544037,11.26230239868164,8.238390922546387,9.17462158203125,8.457261085510254,12.373504638671875,11.594857215881348,11.337590217590332,12.804666519165039,12.594107627868652,-8.803534507751465,6.795022010803223,2.579548120498657,9.085762023925781,6.947376251220703,11.195379257202148,-2.099683523178101,7.81387186050415,11.757536888122559,-1.989894390106201,0.841491520404816,11.180353164672852,12.032605171203613,12.639577865600586,6.922314167022705,11.695426940917969,12.09356689453125,-1.491584539413452,11.233826637268066,11.149077415466309,10.563736915588379,8.920951843261719,8.634757041931152,3.643566370010376,6.96090030670166,12.047135353088379,11.268182754516602,9.768953323364258,11.830639839172363,2.885897874832153,9.184215545654297,11.620292663574219,12.21004867553711,0.43704542517662,8.880823135375977,11.204133987426758,-1.757522225379944,7.414103507995605,9.10012435913086,8.303926467895508,6.47451639175415,10.487747192382812,7.470945835113525,11.462647438049316,6.659282207489014,-1.744951367378235,13.347892761230469,9.587480545043945,10.260409355163574,9.951313972473145,-1.562938690185547,11.234688758850098,12.399128913879395,7.311638832092285,6.574295997619629,-8.78283405303955,0.808597564697266,10.55748176574707,8.434220314025879,8.708075523376465,2.859640121459961,9.402181625366211,10.4218168258667,10.44550609588623,11.551002502441406,9.337363243103027,9.037395477294922,7.61453104019165,9.853718757629395,8.905411720275879,11.537827491760254,8.357933044433594,11.10430908203125,10.768380165100098,10.707146644592285,10.034533500671387,8.95972728729248,10.223405838012695,7.047964572906494,10.541199684143066,6.499110221862793,7.928136825561523,10.234334945678711,7.90794038772583,11.542771339416504,10.554572105407715,7.068584442138672,6.734096050262451,10.817164421081543,9.741759300231934,7.021888732910156,6.964822292327881,9.251446723937988,9.78178596496582,8.764104843139648,8.218378067016602,9.966569900512695,11.44104290008545,7.059361457824707,7.538156032562256,8.949798583984375,6.449003219604492,6.65776252746582,9.427647590637207,6.734377384185791,7.072873592376709,7.38307523727417,6.724764347076416,7.482050895690918,3.744612693786621,8.006505966186523,8.20181941986084,10.855158805847168,7.885146141052246,6.6806321144104,11.735947608947754,10.527633666992188,9.071709632873535,10.148685455322266,8.526073455810547,12.098731994628906,8.931961059570312,12.024670600891113,8.515236854553223,8.807613372802734,7.671654224395752,11.042317390441895,11.285282135009766,7.181250095367432,10.236334800720215,3.868333101272583,8.228500366210938,12.20162582397461,-8.802839279174805,10.253028869628906,10.905838966369629,8.0121488571167,6.903659820556641,10.226673126220703,7.12116003036499,7.104860305786133,10.835822105407715,7.119042873382568,6.460056781768799,9.98885726928711,12.777225494384766,3.321093559265137,2.892721891403198,3.08024001121521,3.122314453125,2.958988904953003,10.910504341125488,8.507376670837402,9.152478218078613,12.193585395812988,9.403031349182129,7.875142574310303,9.184592247009277,3.650213718414307,6.85401725769043,10.757545471191406,9.732916831970215,8.669456481933594,9.831722259521484,8.930371284484863,6.574654102325439,6.577546119689941,8.201131820678711,9.805108070373535,10.809396743774414,8.465282440185547,8.337491989135742,10.946330070495605,8.703922271728516,9.331303596496582,11.15015697479248,9.196578025817871,8.771697998046875,6.639545440673828,8.58198070526123,6.612383365631104,8.361349105834961,8.8342924118042,10.255755424499512,8.265971183776855,6.57006311416626,8.09366512298584,10.975074768066406,11.020813941955566,8.398407936096191,10.297183990478516,8.608922958374023,7.875674724578857,8.900898933410645,7.350807189941406,8.473776817321777,10.062928199768066,9.733027458190918,9.687165260314941,7.247617721557617,6.687738418579102,6.609211921691895,8.627099990844727,7.301884651184082,7.634795665740967,10.70827579498291,7.589466571807861,6.581146240234375,6.493297576904297,7.317176818847656,7.853805065155029,7.973121166229248,6.789298057556152,10.115877151489258,8.584470748901367,7.573667049407959,12.303260803222656,9.764312744140625,3.728613138198853,3.642906427383423,6.739969253540039,8.961712837219238,7.387311935424805,8.608400344848633,12.363584518432617,6.724172592163086,8.259435653686523,10.627506256103516,10.483588218688965,9.984341621398926,10.763166427612305,10.580190658569336,10.755328178405762,10.426076889038086,11.17896556854248,6.716021060943604,6.715216159820557,7.096188068389893,8.20514965057373,7.393843173980713,7.126609325408936,7.26860237121582,8.24571418762207,7.232596397399902,9.458765029907227,9.273279190063477,12.753389358520508,7.208827972412109,3.056957006454468,3.027888536453247,9.985227584838867,10.631558418273926,10.082311630249023,9.351399421691895,9.0087308883667,9.234762191772461,8.689887046813965,11.00486946105957,8.573307991027832,12.228567123413086,9.583486557006836,9.568628311157227,11.45029067993164,-8.798356056213379,10.00863265991211,8.961099624633789,8.730076789855957,7.246015071868896,9.905051231384277,10.789318084716797,10.19363021850586,10.988663673400879,11.166449546813965,8.795234680175781,9.621146202087402,8.451889991760254,8.326390266418457,11.362027168273926,11.729055404663086,8.121521949768066,8.611328125,10.18748950958252,10.78659439086914,10.820509910583496,10.394216537475586,8.753429412841797,8.56879997253418,11.017996788024902,10.428411483764648,7.255587100982666,6.630082607269287,9.64665412902832,9.326128005981445,10.551547050476074,11.191835403442383,10.558257102966309,3.812640905380249,10.082667350769043,9.084718704223633,11.281755447387695,9.731318473815918,8.342720985412598,10.630721092224121,10.581625938415527,12.284497261047363,8.907414436340332,8.579751968383789,7.658788204193115,7.837234973907471,10.27686882019043,12.211456298828125,9.344408988952637,8.055009841918945,8.278769493103027,9.553317070007324,8.178791046142578,6.666901588439941,8.539947509765625,10.348661422729492,6.722925662994385,7.504610538482666,6.570752143859863,9.741279602050781,11.142463684082031,9.959684371948242,9.227215766906738,9.799328804016113,10.795419692993164,10.86120891571045,11.140410423278809,8.207755088806152,8.200180053710938,11.036675453186035,9.711102485656738,9.70336627960205,9.16341495513916,6.630487442016602,9.502105712890625,11.696762084960938,9.551190376281738,10.633699417114258,6.642716884613037,9.54257869720459,7.83741569519043,7.250555038452148,9.262927055358887,7.26352596282959,9.917728424072266,10.255196571350098,10.140402793884277,10.047239303588867,12.224872589111328,6.997739791870117,8.701820373535156,8.030113220214844,12.237110137939453,9.447271347045898,8.040213584899902,7.832972526550293,10.054824829101562,6.355069160461426,10.791793823242188,11.0066556930542,6.780064582824707,6.648746013641357,9.741170883178711,10.183698654174805,10.961409568786621,10.268163681030273,9.799498558044434,12.075252532958984,9.409400939941406,6.76390266418457,7.7357177734375,3.930782318115234,12.236579895019531,11.5999755859375,8.671439170837402,10.97238826751709,10.11669635772705,11.089350700378418,10.769680976867676,3.951494455337524,11.98084545135498,13.172856330871582,3.645372629165649,11.152388572692871,6.95066499710083,6.781696319580078,8.241230010986328,10.901219367980957,10.804688453674316,10.01358699798584,3.79156756401062,9.869359970092773,3.753381252288818,8.235572814941406,7.091606616973877,10.635380744934082,8.571043014526367,8.362732887268066,10.381539344787598,10.797224998474121,10.036528587341309,6.662431716918945,11.40334415435791,9.375194549560547,11.290818214416504,11.191485404968262,11.7904691696167,6.441871166229248,4.952032566070557,6.547681331634521,8.320263862609863,0.961998343467712,2.223844528198242,13.2800931930542,13.647031784057617,13.155621528625488,7.884176731109619,0.28109672665596,6.212210655212402,13.698269844055176,13.13465690612793,13.455619812011719,12.510763168334961,7.901928901672363,7.874480724334717,13.236332893371582,11.744399070739746,11.659880638122559,0.073513247072697,13.554080963134766,1.302859544754028,5.176155090332031,13.226381301879883,5.228202819824219,11.050180435180664,2.438534498214722,13.586509704589844,13.55705451965332,7.422536849975586,11.050575256347656,10.185914993286133,9.217296600341797,7.084140300750732,2.467313766479492,7.453054428100586,10.665993690490723,8.008759498596191,2.360801219940186,8.89049243927002,10.998505592346191,9.969598770141602,9.3129243850708,2.661243915557861,10.721196174621582,1.100518703460693,9.92432975769043,9.450888633728027,-1.793204545974731,1.162270784378052,5.616149425506592,11.403794288635254,11.33930492401123,10.110793113708496,2.432938814163208,11.837976455688477,11.931581497192383,6.421891689300537,12.083406448364258,11.033124923706055,2.731755018234253,3.792569160461426,7.200571060180664,-1.734174013137817,11.234329223632812,11.594320297241211,8.980239868164062,2.179436683654785,-2.142807960510254,6.464372158050537,8.55543327331543,8.659635543823242,8.21180248260498,2.338829517364502,6.421962738037109,7.799393653869629,7.575135231018066,10.764124870300293,-1.598753929138184,11.550484657287598,11.203457832336426,7.393788814544678,0.960255682468414,11.519086837768555,13.575453758239746,10.598546981811523,10.124564170837402,-0.841433525085449,7.10871410369873,10.563618659973145,8.490530014038086,11.06267261505127,11.744303703308105,2.348579406738281,9.485817909240723,7.427782535552979,7.347438335418701,-1.846878528594971,12.430842399597168,11.937609672546387,8.313132286071777,10.602703094482422,10.948090553283691,0.481914639472961,3.731767654418945,13.599492073059082,1.148764133453369,11.513883590698242,0.999082744121552,13.296221733093262,-0.106404222548008,0.723618865013123,13.658184051513672,13.384181022644043,0.71111923456192,11.341751098632812,6.880234241485596,7.520906448364258,2.046980142593384,8.779358863830566,12.844165802001953,8.463851928710938,12.172525405883789,10.853324890136719,0.06671891361475,11.858487129211426,3.941850662231445,-1.913172364234924,5.174229621887207,5.147149562835693,5.165364265441895,3.813136577606201,10.712668418884277,11.980605125427246,9.055647850036621,11.821616172790527,9.553082466125488,9.42275333404541,2.3805992603302,11.607815742492676,11.87645149230957,-0.062721982598305,12.152152061462402,13.32781982421875,11.3615140914917,7.563191413879395,-0.088507786393166,6.66567325592041,7.534976482391357,8.421708106994629,2.683039426803589,0.769595265388489,13.31974983215332,7.950266361236572,11.539669036865234,2.207237005233765,6.288923740386963,11.152629852294922,3.8791344165802,1.151465654373169,10.693986892700195,11.07475471496582,10.305817604064941,10.050219535827637,2.000671625137329,11.654502868652344,6.56082820892334,6.351120471954346,6.381271362304688,1.722893595695496,12.190471649169922,11.991255760192871,1.025619029998779,12.07707405090332,10.02792739868164,12.853763580322266,11.480624198913574,1.290917754173279,7.943192481994629,11.642260551452637,11.500401496887207,8.023087501525879,8.007739067077637,3.693648099899292,7.971038341522217,10.287127494812012,6.44392204284668,9.529540061950684,2.369169950485229,10.733972549438477,7.867423534393311,7.114019393920898,1.186566710472107,7.141250610351562,2.488839387893677,8.238774299621582,10.842326164245605,11.556103706359863,11.97260856628418,1.323703050613403,6.29021692276001,1.545692205429077,11.683313369750977,9.343971252441406,11.212455749511719,0.450119167566299,10.411272048950195,8.228534698486328,2.262124300003052,11.939484596252441,11.513004302978516,0.646926164627075,9.627144813537598,7.901416778564453,13.328508377075195,2.892192602157593,3.900697231292725,0.814571559429169,8.294557571411133,11.42074966430664,0.908292412757874,11.018779754638672,1.39694082736969,10.563989639282227,9.818285942077637,11.585326194763184,7.348484516143799,10.13599681854248,2.375776290893555,3.771333694458008,11.077736854553223,7.080623626708984,9.92470645904541,10.971439361572266,1.724101543426514,11.50958251953125,12.083901405334473,10.384209632873535,8.221698760986328,7.564648628234863,0.909379839897156,11.304250717163086,11.430421829223633,13.41940975189209,11.046622276306152,2.42668628692627,8.361591339111328,8.097980499267578,6.794904232025146,8.528929710388184,10.10074234008789,-1.743456244468689,8.411852836608887,11.565271377563477,9.243507385253906,12.099631309509277,7.527409553527832,2.586297273635864,13.293764114379883,11.414469718933105,11.107100486755371,10.879131317138672,9.746817588806152,2.432793140411377,10.15244197845459,6.564900875091553,10.57386302947998,12.938908576965332,1.340121507644653,-0.118909060955048,3.544111728668213,13.094503402709961,2.457079648971558,10.862998962402344,11.812501907348633,0.451884716749191,11.883739471435547,8.4535551071167,11.574007034301758,11.959978103637695,6.43480920791626,-1.13515305519104,12.669496536254883,0.79216593503952,12.860884666442871,12.220622062683105,13.03197956085205,8.522140502929688,0.640587210655212,13.567124366760254,0.729794561862946,12.948822021484375,13.149279594421387,13.580154418945312,-1.619093418121338,9.610671997070312,9.033770561218262,8.150443077087402,0.321082383394241,11.90768051147461,11.210588455200195,10.36367130279541,11.675236701965332,11.515607833862305,11.470376014709473,11.777934074401855,-0.881575345993042,6.824735164642334,8.207697868347168,4.042511940002441,11.4602689743042,11.153058052062988,-0.846879541873932,7.31339693069458,1.05196487903595,10.534444808959961,11.654067993164062,9.585336685180664,10.065240859985352,11.575810432434082,-2.104710102081299,11.313255310058594,-1.727386355400085,8.428773880004883,10.589319229125977,11.478190422058105,13.349042892456055,11.72498893737793,8.562100410461426,10.409689903259277,8.231219291687012,7.195825576782227,7.350196838378906,-1.203433632850647,11.672311782836914,5.164449214935303,5.171802043914795,1.705137014389038,1.879263043403625,6.591269493103027,6.365624904632568,6.298120021820068,9.491193771362305,7.096340179443359,6.369889736175537,5.160861492156982,3.67048168182373,11.753121376037598,8.98845386505127,2.539246320724487,3.641834259033203,2.589988470077515,3.965451240539551,9.256035804748535,2.278754711151123,13.187994003295898,1.495549440383911,3.695033073425293,0.894451677799225,11.309070587158203,0.318456798791885,8.940658569335938,7.356835842132568,11.34615707397461,8.07492733001709,1.070852518081665,9.666830062866211,2.292987823486328,12.141447067260742,11.722415924072266,2.369354248046875,1.352415323257446,11.286236763000488,11.863275527954102,11.3710298538208,0.551509499549866,11.194517135620117,6.445964813232422,8.398741722106934,8.885296821594238,12.016703605651855,11.94891357421875,11.917963027954102,11.847846984863281,11.444703102111816,12.109230041503906,10.641118049621582,10.436478614807129,0.70897501707077,6.577937126159668,8.233851432800293,11.569253921508789,10.787291526794434,11.414690017700195,11.929880142211914,11.897740364074707,11.616339683532715,11.990211486816406,11.855162620544434,2.410488367080688,11.801939964294434,11.776577949523926,10.998865127563477,8.412089347839355,11.39052677154541,2.297001838684082,12.035731315612793,11.484383583068848,11.894896507263184,2.426835298538208,12.104035377502441,1.072644829750061,11.061375617980957,13.489420890808105,-1.486343145370483,9.580147743225098,8.790063858032227,11.090784072875977,-2.043652057647705,7.380565643310547,8.35420036315918,7.0025954246521,10.942594528198242,8.830785751342773,0.446456283330917,11.119173049926758,6.834647178649902,6.280210971832275,6.685224533081055,11.455179214477539,11.45995807647705,11.516861915588379,0.340090662240982,12.05058765411377,8.687159538269043,11.060616493225098,-1.129737257957458,12.656763076782227,0.342143565416336,8.474104881286621,11.793021202087402,11.563249588012695,8.608266830444336,8.41429328918457,0.646355211734772,7.362789630889893,13.671597480773926,0.091746374964714,13.313287734985352,13.668593406677246,8.780228614807129,7.958909034729004,0.225190550088882,10.719155311584473,0.033843796700239,13.23926067352295,12.78345012664795,7.098557949066162,11.982275009155273,11.466456413269043,7.948387622833252,10.06369400024414,-2.054260492324829,11.29793643951416,7.697882652282715,6.98809814453125,12.889871597290039,0.306197106838226,10.15537166595459,10.980361938476562,10.903938293457031,10.270100593566895,11.866597175598145,10.393414497375488,9.638226509094238,3.625239849090576,3.817436456680298,11.746472358703613,10.979531288146973,7.559690475463867,11.756077766418457,9.475966453552246,13.333348274230957,7.19456672668457,7.678770065307617,10.861154556274414,7.307050704956055,6.425183296203613,7.808417797088623,10.691435813903809,11.069588661193848,11.659027099609375,12.191329956054688,8.132051467895508,7.883876800537109,10.174424171447754,6.543776512145996,6.535349369049072,-1.911820888519287,10.683184623718262,9.882831573486328,1.636724591255188,3.823924779891968,9.882007598876953,10.87210750579834,13.128430366516113,11.40739631652832,10.6950101852417,0.683004200458527,8.700695991516113,3.940773010253906,3.820161819458008,8.360692024230957,11.216506958007812,12.108880996704102,12.12009334564209],"yaxis":"y","type":"scattergl"},{"customdata":[["Mourning the passing of President Gerald Rudolph Ford and celebrating his leadership and<br>service to the people of the United States.","HRES15","Expresses appreciation for the public service of President Gerald Rudolph Ford."],["Commending the Boise State University Broncos football team for winning the 2007 Fiesta<br>Bowl and completing an undefeated season.","HRES43","Commends the Boise State University Broncos football team for winning the 2007 Fiesta Bowl<br>and congratulates them for completing an undefeated, 13-0 season."],["To provide for an additional temporary extension of programs under the Small Business Act<br>and the Small Business Investment Act of 1958 through December 31, 2007, and for other<br>purposes.","HR434","Extends through July 31, 2007, under the same terms and conditions, the authorization for<br>any program, authority, or provision, including any pilot program, that is currently<br>authorized through February 2, 2007, under the Small Business Act or the Small Business<br>Investment Act of 1958."],["Congratulating the Grand Valley State University Lakers for winning the 2006 NCAA Division<br>II Football National Championship.","HRES62","Congratulates the Grand Valley State University Lakers for winning the 2006 NCAA Division<br>II Football National Championship."],["Congratulating Illinois State University as it celebrates its sesquicentennial.","HRES57","Congratulates Illinois State University as it celebrates its sesquicentennial."],["Raising a question of the privileges of the House.","HRES93","Disapproves certain actions taken by the Majority on the Committee on Rules (refusal to<br>produce for the Ranking Member a copy of a letter from another Minority Member requesting<br>withdrawal of an amendment he had submitted for the Committee's consideration regarding<br>H.Res. 78). Directs the Chairwoman of the Committee to undertake practices to prevent<br>future occurrences."],["Calling on the Government of the United Kingdom to immediately establish a full,<br>independent, and public judicial inquiry into the murder of Northern Ireland defense<br>attorney Patrick Finucane, as recommended by Judge Peter Cory as part of the Weston Park<br>Agreement, in order to move forward on the Northern Ireland peace process.","HCONRES20","Expresses deepest condolences to the family of Patrick Finucane on his death, commends<br>their steadfast pursuit of justice in his brutal murder, and thanks his wife Geraldine and<br>son Michael for their willingness to testify on this matter before committees of the House<br>of Representatives. Supports Administration efforts in seeking full implementation of the<br>Weston Park Agreement and establishment of an independent judicial inquiry into Mr.<br>Finucane's murder. Calls on the government of the Unit..."],["To authorize the Secretary of the Interior to convey certain buildings and lands of the<br>Yakima Project, Washington, to the Yakima-Tieton Irrigation District.","HR386","Yakima-Tieton Irrigation District Conveyance Act of 2007 - Directs the Secretary of the<br>Interior to convey certain buildings and lands of the Yakima Project, Washington, to the<br>Yakima-Tieton Irrigation District. Directs the Secretary, if the conveyance has not been<br>completed within 12 months, to report to Congress with an explanation and the date by<br>which it will be completed."],["To direct the Secretary of the Interior to transfer ownership of the American River Pump<br>Station Project, and for other purposes.","HR482","American River Pump Station Project Transfer Act of 2007 - Directs the Secretary of the<br>Interior to transfer ownership of the American River Pump Station Project located at<br>Auburn, California, to the Placer County Water Agency. Makes federal costs associated with<br>construction of the Project nonreimbursable. Authorizes the Secretary to grant title to<br>the Agency in full satisfaction of U.S. obligations under Land Purchase Contract<br>14-06-859-308 to provide a water supply to that Agency. Requires..."],["To require annual oral testimony before the Financial Services Committee of the<br>Chairperson or a designee of the Chairperson of the Securities and Exchange Commission,<br>the Financial Accounting Standards Board, and the Public Company Accounting Oversight<br>Board, relating to their efforts to promote transparency in financial reporting.","HR755","Promoting Transparency in Financial Reporting Act of 2007 - Requires the Securities and<br>Exchange Commission (SEC), the Financial Accounting Standards Board, and the Public<br>Company Accounting Oversight Board to provide oral testimony by their respective<br>Chairpersons (or a designee), beginning in 2007, and annually for five years, to the<br>Committee on Financial Services of the House of Representatives on their efforts to reduce<br>the complexity in financial reporting to provide more accurate and c..."],["To provide for the establishment of the Science and Technology Homeland Security<br>International Cooperative Programs Office, and for other purposes.","HR884","Promoting Antiterrorism Cooperation through Technology and Science Act, or PACTS Act -<br>Amends the Homeland Security Act of 2002 to direct the Under Secretary for Science and<br>Technology of the Department of Homeland Security (DHS) to establish the Science and<br>Technology Homeland Security International Cooperative Programs Office (the Office).<br>Provides for the Office to be headed by a Director, who: (1) shall be selected by and<br>shall report to the Under Secretary; and (2) may be an officer of D..."],["To authorize the Marion Park Project, a committee of the Palmetto Conservation Foundation,<br>to establish a commemorative work on Federal land in the District of Columbia, and its<br>environs to honor Brigadier General Francis Marion.","HR497","Brigadier General Francis Marion Memorial Act of 2007 - Authorizes the Marion Park<br>Project, a committee of the Palmetto Conservation Foundation, to establish a commemorative<br>work on federal land in the District of Columbia and its environs to honor Brigadier<br>General Francis Marion. Prohibits the use of federal funds to pay any expense of its<br>establishment. Makes the Marion Park Project solely responsible for acceptance of<br>contributions for, and payment of the expenses of, the establishment of..."],["To amend the National Organ Transplant Act to clarify that kidney paired donation does not<br>involve the transfer of a human organ for valuable consideration.","HR710","Charlie W. Norwood Living Organ Donation Act - Amends the National Organ Transplant Act to<br>provide that for the purpose of provisions that prohibit the transfer of any human organ<br>for use in human transplantation for valuable consideration, human organ paired donation<br>does not involve such a transfer. Defines \"human organ paired donation\" as the donation<br>and receipt of a human organ under the following circumstances: (1) an individual (the<br>first donor) desires to make a living donation of a h..."],["To provide for the establishment of centers to encourage demonstration and commercial<br>application of advanced energy methods and technologies.","HR85","Energy Technology Transfer Act - Amends the Energy Policy Act of 2005 to direct the<br>Secretary of Energy to award grants for a five-year period to nonprofit institutions,<br>state and local governments, cooperative extension services, or institutions of higher<br>education to establish a geographically dispersed network of Advanced Energy Technology<br>Transfer Centers, located in areas the Secretary determines have the greatest need of<br>their services.Requires the Secretary to: (1) give priority to app..."],["Expressing the sense of the House of Representatives that a day should be established as<br>Dutch-American Friendship Day to celebrate the historic ties of the United States and the<br>Netherlands.","HRES89","Expresses the sense of the House of Representatives that a day should be established as<br>Dutch-American Friendship Day to celebrate the historic ties of the United States and the<br>Netherlands."],["Expressing the sense of the House of Representatives that the Government of Bangladesh<br>should immediately drop all pending charges against Bangladeshi journalist Salah Uddin<br>Shoaib Choudhury.","HRES64","Expresses the sense of the House of Representatives that the government of Bangladesh<br>should: (1) drop all pending charges against Bangladeshi journalist Salah Uddin Shoaib<br>Choudhury; (2) return all of Mr. Choudhury's confiscated possessions; and (3) cease<br>harassment of Mr. Choudhury and take steps to protect Mr. Choudhury."],["Recognizing the 186th anniversary of the independence of Greece and celebrating Greek and<br>American democracy.","HRES228","Extends the warm congratulations and best wishes of the House of Representatives to the<br>people of Greece as they celebrate the 186th anniversary of the independence of Greece.<br>Expresses the support of the House of Representatives for the principles of democratic<br>governance to which the people of Greece are committed. Notes the important role that<br>Greece has played in the wider European region and in the community of nations since<br>gaining its independence 186 years ago."],["To authorize the Secretary of the Interior to enter into cooperative agreements to protect<br>natural resources of units of the National Park System through collaborative efforts on<br>land inside and outside of units of the National Park System, and for other purposes.","HR658","Natural Resource Protection Cooperative Agreement Act - Authorizes the Secretary of the<br>Interior to enter into cooperative agreements with state, local, or tribal governments,<br>other federal agencies, other public entities, educational institutions, private nonprofit<br>organizations, or participating private landowners for the purpose of protecting natural<br>resources of units of the National Park System through collaborative efforts on land<br>inside and outside of National Park System units. States..."],["To authorize the Secretary of the Interior to study the feasibility of enlarging the<br>Arthur V. Watkins Dam Weber Basin Project, Utah, to provide additional water for the Weber<br>Basin Project to fulfill the purposes for which that project was authorized.","HR839","Arthur V. Watkins Dam Enlargement Act - Authorizes the Secretary of the Interior, acting<br>through the Bureau of Reclamation, to conduct a feasibility study (including an<br>environmental evaluation and a cost allocation) on raising the height of the Arthur V.<br>Watkins Dam for the development of additional storage to meet water supply needs within<br>the Weber Basin Project area and the Wasatch Front, Utah.Limits the federal share to 50%<br>of the study's cost. Directs the Secretary to accept in-kind con..."],["To amend title 18, United States Code, to strengthen prohibitions against animal fighting,<br>and for other purposes.","HR137","Animal Fighting Prohibition Enforcement Act of 2007 - Amends the federal criminal code to<br>impose a fine and/or prison term of up to three years for violations of the Animal Welfare<br>Act relating to: (1) sponsoring or exhibiting an animal in an animal fighting venture; (2)<br>buying, selling, transporting, delivering, or receiving for purposes of transportation, in<br>interstate or foreign commerce, any dog or other animal for participation in an animal<br>fighting venture; and (3) using the mails or ot..."],["To designate the facility of the United States Postal Service located at 320 South Lecanto<br>Highway in Lecanto, Florida, as the \"Sergeant Dennis J. Flanagan Lecanto Post Office<br>Building\".","HR1402","Designates the facility of the United States Postal Service located at 320 South Lecanto<br>Highway in Lecanto, Florida, as the \"Sergeant Dennis J. Flanagan Lecanto Post Office<br>Building.\""],["To amend the Torture Victims Relief Act of 1998 to authorize appropriations to provide<br>assistance for domestic and foreign programs and centers for the treatment of victims of<br>torture, and for other purposes.","HR1678","Torture Victims Relief Reauthorization Act of 2007 - Amends the Torture Victims Relief Act<br>of 1998 to authorize appropriations for FY2008-FY2009 to: (1) the Department of Health and<br>Human Services (HHS) to provide grants to programs in the United States to cover the costs<br>of services provided by domestic treatment centers in the rehabilitation of victims of<br>torture (including treatment of the physical and psychological effects of torture), social<br>and legal services, and research and training ..."],["Congratulating the University of Tennessee women's basketball team for winning the 2007<br>NCAA Division I Women's Basketball Championship.","HRES320","Congratulates the University of Tennessee women's basketball team for their victory in the<br>2007 NCAA Division I Women's Basketball Championship."],["To commend the University of Florida Gators for their historic win in the 2007 National<br>Collegiate Athletic Association Division I Men's Basketball Tournament.","HRES298","Commends the University of Florida Gators for their historic win in the 2007 National<br>Collegiate Athletic Association Division I Men's Basketball Tournament. Recognizes the<br>achievements of the players, coaches, students, and support staff who were instrumental in<br>the Gators' victory."],["Calling on the Government of the Socialist Republic of Vietnam to immediately and<br>unconditionally release Father Nguyen Van Ly, Nguyen Van Dai, Le Thi Cong Nhan, and other<br>political prisoners and prisoners of conscience, and for other purposes.","HRES243","Condemns the arbitrary arrests of Father Nguyen Van Ly, Nguyen Van Dai, Le Quoc Quan, and<br>Le Thi Cong Nhan by the government of the Socialist Republic of Vietnam and calls for<br>their immediate release, as well as the immediate release of all other political and<br>religious prisoners. Condemns the violations of the freedoms of speech, religion,<br>movement, association, and the lack of due process in Vietnam. Challenges Vietnam's<br>qualifications to be a member of the U.N. Security Council unless the ..."],["To authorize the Secretary of the Interior to conduct a study to determine the feasibility<br>of implementing a water supply and conservation project to improve water supply<br>reliability, increase the capacity of water storage, and improve water management<br>efficiency in the Republican River Basin between Harlan County Lake in Nebraska and<br>Milford Lake in Kansas.","HR1025","Lower Republican River Basin Study Act - Authorizes the Secretary of the Interior to<br>conduct a study to determine the feasibility of implementing a water supply and<br>conservation project that will: (1) improve water supply reliability in the Republican<br>River Basin between Harlan County Lake in Nebraska and Milford Lake in Kansas; (2)<br>increase the capacity of water storage through projects that serve areas in the Republican<br>River Basin; and (3) improve water management efficiency in the Republi..."],["To extend the District of Columbia College Access Act of 1999.","HR1124","Amends the District of Columbia Access Act of 1999 to authorize the public school and<br>private school tuition assistance programs established under the Act through FY2012.<br>Redefines the term \"eligible student\" under such Act to include an individual from a<br>family with a taxable annual income of less than $1 million."],["Supporting the goals and ideals of a National Day of Remembrance for Murder Victims.","HRES223","Expresses support for the goals and ideals of a National Day of Remembrance for Murder<br>Victims. Recognizes the significant benefits of the organizations that provide services to<br>the loved ones of murder victims."],["To amend the Federal Deposit Insurance Act to establish industrial bank holding company<br>regulation, and for other purposes.","HR698","Industrial Bank Holding Company Act of 2007 - Amends the Federal Deposit Insurance Act<br>(FDIA) to apply the bank share or asset acquisition requirements of the Bank Holding<br>Company Act of 1956 to any company that is or would become an industrial bank holding<br>company. States that an application filed to acquire control of an industrial bank shall<br>be treated as an application for a deposit facility. Subjects an industrial bank to<br>Federal Deposit Insurance Corporation (FDIC) requirements regardin..."],["To designate the facility of the United States Postal Service located at 4551 East 52nd<br>Street in Odessa, Texas, as the \"Staff Sergeant Marvin \"Rex\" Young Post Office Building\".","HR1425","Designates the facility of the United States Postal Service located at 4551 East 52nd<br>Street in Odessa, Texas, as the \"Staff Sergeant Marvin 'Rex' Young Post Office Building.\""],["A bill to increase the number of Iraqi and Afghani translators and interpreters who may be<br>admitted to the United States as special immigrants.","S1104","Amends the National Defense Authorization Act for Fiscal Year 2006 to authorize special<br>immigrant status for certain Afghan or Iraqi translators or interpreters working with the<br>U.S. Armed Forces or federal agencies under the Chief of Mission in Afghanistan and Iraq.<br>(Currently, such status is authorized for Afghan and Iraqi translators working with U.S.<br>Armed Forces in Afghanistan and Iraq.) Authorizes: (1) additional FY2007-FY2008 entrants<br>(up to 500 annually); and (2) adjustment to permane..."],["Raising a question of the priveleges of the House.","HRES428","Declares that the Member from Pennsylvania, Mr. Murtha, has been guilty of a violation of<br>the Code of Official Conduct and merits the reprimand of the House for the same."],["To amend title 38, United States Code, to expand eligibility for vocational rehabilitation<br>benefits administered by the Secretary of Veterans Affairs.","HR2239","Early Access to Vocational Rehabilitation and Employment Benefits Act - Entitles to<br>veterans vocational rehabilitation benefits any member of the Armed Forces hospitalized or<br>receiving outpatient medical care, services, or treatment who is: (1) determined to have a<br>permanent total disability incurred or aggravated in the line of duty; and (2) likely to<br>be discharged or released from active service for such disability."],["Condemning violence in Estonia and attacks on Estonia's embassies in 2007, and expressing<br>solidarity with the Government and the people of Estonia.","HRES397","Expresses support for Estonia as a sovereign state and a member of the North Atlantic<br>Treaty Organization (NATO) and the Organization of Security and Cooperation in Europe<br>(OSCE). Condemns: (1) recent acts of violence and looting in Estonia; (2) attacks and<br>threats against Estonia's embassies and officials in Russia and other countries; and (3)<br>political efforts to exploit the memory of the victims of the Second World War. Urges all<br>activists to express their views peacefully. Honors the sacr..."],["Raising a question of the Privileges of the House.","HRES452","Requires the Committee on Standards of Official Conduct to: (1) investigate without<br>further delay alleged illegal conduct and violations of House rules by Representative<br>William J. Jefferson; and (2) report its findings and recommendations to the House,<br>including a recommendation regarding whether Representative Jefferson should be expelled<br>from the House."],["To authorize higher education curriculum development and graduate training in advanced<br>energy and green building technologies.","HR1716","Green Energy Education Act of 2007 - Authorizes the Secretary of Energy to contribute<br>energy research and development funds to the National Science Foundation (NSF) for the<br>Integrative Graduate Education and Research Traineeship program to support graduate<br>education related to such energy projects.Authorizes the Secretary to contribute funds for<br>advanced energy technology research and development for high performance buildings to the<br>NSF for curriculum development to improve undergraduate or ..."],["To designate the facility of the United States Postal Service located at 309 East Linn<br>Street in Marshalltown, Iowa, as the \"Major Scott Nisely Post Office\".","HR2563","Designates the facility of the United States Postal Service located at 309 East Linn<br>Street in Marshalltown, Iowa, as the \"Major Scott Nisely Post Office.\""],["Noting the disturbing pattern of killings of dozens of independent journalists in Russia<br>over the last decade, and calling on Russian President Vladimir Putin to authorize<br>cooperation with outside investigators in solving those murders.","HCONRES151","Recalls the essential role that transparency and the free flow of information play in<br>creating democratic institutions and civil society. Recognizes the vital contribution made<br>by independent journalists in Russia in bringing transparency and a free flow of<br>information to readers after decades of Communist censorship and repression. Notes the<br>disturbing trend of murders of independent journalists in Russia over the last decade.<br>Encourages the President of the United States to offer Russian Pr..."],["Recognizing over 200 years of sovereignty of the Principality of Liechtenstein, and<br>expressing support for efforts by the United States continue to strengthen its<br>relationship with that country.","HRES233","Recognizes over 200 years of sovereignty of the Principality of Liechtenstein. Supports<br>U.S. efforts to strengthen the U.S.-Liechtenstein relationship."],["To provide for a feasibility study of alternatives to augment the water supplies of the<br>Central Oklahoma Master Conservancy District and cities served by the District.","HR1337","Directs the Commissioner of the Bureau of Reclamation to conduct a feasibility study of<br>alternatives to augment the water supplies of the Central Oklahoma Master Conservatory<br>District and cities served by the District. Authorizes appropriations."],["Expressing support for the new power-sharing government in Northern Ireland.","HRES482","Expresses the sense of the House of Representatives that: (1) the United States strongly<br>supports the new power-sharing government in Northern Ireland; (2) political leaders of<br>Northern Ireland, former Prime Minister Tony Blair, and Taoiseach Bertie Ahern should be<br>commended for acting in the best interest of the people of Northern Ireland by forming<br>this government; (3) May 8, 2007, will be remembered as an historic day and an important<br>milestone in cementing peace and unity for Northern Ire..."],["Commemorating the 200th anniversary of the Archdiocese of New York.","HRES345","Commemorates the 200th anniversary of the Archdiocese of New York."],["To amend the Iran Sanctions Act of 1996 to expand and clarify the entities against which<br>sanctions may be imposed.","HR957","Amends the Iran Sanctions Act of 1996 to redefine: (1) \"person\" to include financial<br>institutions, insurers, underwriters, guarantors, other business organizations including<br>foreign subsidiaries, and export credit agencies; and (2) \"petroleum resources\" to include<br>petroleum refining capacity and liquified natural gas. States that such amendments shall<br>not be construed to require the imposition of sanctions against any natural person or<br>entity that is not specifically described in the definiti..."],["Raising a question of the privileges of the House.","HRES612","Declares that, by certain actions on August 3, 2007, a specified Member has brought<br>dishonor and discredit to the U.S. House of Representatives by misusing the powers of the<br>chair."],["Raising a question of the privileges of the House.","HRES623","Directs the Select Committee to Investigate the Voting Irregularities of August 2, 2007,<br>to investigate and include in its initial report findings and resulting recommendations<br>concerning the actions of a specified Member while presiding over the House of<br>Representatives on August 3, 2007, at the time the Republican Leader offered H. Res. 612<br>(raising a question of the privileges of the House) and the actions which led to the<br>differences between the statements in the Congressional Record and ..."],["A bill to amend the Foreign Intelligence Surveillance Act of 1978 to provide additional<br>procedures for authorizing certain acquisitions of foreign intelligence information and<br>for other purposes.","S1927","Protect America Act of 2007 - Amends the Foreign Intelligence Surveillance Act of 1978<br>(FISA) to state that nothing under its definition of \"electronic surveillance\" shall be<br>construed to encompass surveillance directed at a person reasonably believed to be located<br>outside the United States. Allows the Director of National Intelligence (DNI) and the<br>Attorney General (AG), for periods up to one year, to authorize the acquisition of foreign<br>intelligence information concerning persons outside th..."],["To amend the Small Business Act to improve the Microloan program, and for other purposes.","HR3020","Microloan Amendments and Modernization Act - Title I: Microloan - (Sec. 101) Amends the<br>Small Business Act with regard to the Microloan program (a program administered by the<br>Small Business Administration [SBA] to provide small-scale loans to startup, newly<br>established, or growing small businesses for working capital or the acquisition of<br>materials, supplies, or equipment) to require the SBA Administrator to establish a process<br>under which a lender provides to the major credit reporting agenc..."],["Recognizing the strong security alliance between the Government of Japan and the United<br>States and expressing appreciation to Japan for its role in enhancing stability in the<br>Asia-Pacific region and its efforts in the global war against terrorism.","HRES508","Recognizes that Japan is one of the most reliable security partners of the United States.<br>Commends the government of Japan for its role in enhancing stability in the Asia-Pacific<br>region. Expresses appreciation to the government of Japan for its contributions to<br>international efforts to combat terrorism."],["Expressing the sympathy and pledging the support of the House of Representatives and the<br>people of the United States for the victims of the devastating thunderstorms that caused<br>severe flooding in 20 counties in eastern Kansas beginning on June 26, 2007.","HRES544","Expresses sympathy for the victims of the devastating thunderstorms that caused severe<br>flooding in 20 counties in eastern Kansas beginning on June 26, 2007. Conveys gratitude to<br>the officials and emergency personnel who responded swiftly to the crisis. Recognizes the<br>support of volunteers, donors, religious groups, and charitable organizations for the<br>relief efforts. Commends the spirit and compassion of the people of Kansas."],["Supporting the goals and ideals of Pancreatic Cancer Awareness Month.","HRES257","Expresses support for the goals and ideals of Pancreatic Cancer Awareness Month."],["To establish a Science and Technology Scholarship Program to award scholarships to recruit<br>and prepare students for careers in the National Weather Service and in National Oceanic<br>and Atmospheric Administration marine research, atmospheric research, and satellite<br>programs.","HR1657","Authorizes the Administrator of the National Oceanic and Atmospheric Administration (NOAA)<br>to establish a Science and Technology Scholarship Program to award scholarships to<br>students at institutions of higher education to recruit and prepare them for careers in<br>the National Weather Service and in NOAA marine research, atmospheric research, and<br>satellite programs. Requires individuals to be selected to receive scholarships under this<br>Act through a competitive process primarily based on academi..."],["To promote freedom and democracy in Vietnam.","HR3096","Vietnam Human Rights Act of 2007 - Title I: Prohibition on Nonhumanitarian Assistance to<br>the Government of Vietnam - (Sec. 101) Prohibits U.S. nonhumanitarian assistance to the<br>government of Vietnam for FY2008 in excess of FY2007 levels unless the President certifies<br>to Congress that the government of Vietnam has made substantial progress respecting: (1)<br>the release of political and religious prisoners; (2) the right of religious freedom,<br>including the return of church properties; (3) the rig..."],["Expressing the sense of the House of Representatives of the importance of providing a<br>voice for the many victims (and families of victims) involved in missing persons cases and<br>unidentified human remains cases.","HRES340","Expresses the commitment of the House of Representatives to giving victims involved in<br>missing persons and unidentified human remains cases a voice. Calls for: (1) continuing<br>federal funding for DNA testing and the Combined DNA Index System; (2) greater cooperation<br>between law enforcement agencies; (3) more comprehensive training and education for law<br>enforcement agencies involved in missing person and unidentified human remains cases; (4)<br>providing medical examiners and coroners with greater..."],["Supporting the goals and ideals of \"National Life Insurance Awareness Month\".","HRES584","Supports the goals and ideals of National Life Insurance Awareness Month."],["Supporting the goals and ideals of Veterans of Foreign Wars Day.","HRES663","Supports the goals and ideals of Veterans of Foreign Wars Day."],["Strongly condemning the United Nations Human Rights Council for ignoring severe human<br>rights abuses in various countries, while choosing to unfairly target Israel by including<br>it as the only country permanently placed on the Council's agenda.","HRES557","Condemns the United Nations Human Rights Council for ignoring severe human rights abuses<br>in other countries while choosing to unfairly target Israel. Urges the Council to: (1)<br>remove Israel from its permanent agenda; and (2) hold special sessions to address other<br>countries where human rights abuses are being committed and adopt real reform as was<br>intended when the Council replaced the United Nations Commission on Human Rights. Urges<br>the United States to: (1) make every effort in the U.N. Gene..."],["Supporting the goals and ideals of National Domestic Violence Awareness Month and<br>expressing the sense of the House of Representatives that Congress should raise awareness<br>of domestic violence in the United States and its devastating effects on families and<br>communities.","HRES590","Supports the goals and ideals of National Domestic Violence Awareness Month.Expresses the<br>sense of the House of Representatives that Congress should continue to raise awareness of<br>domestic violence in the United States and its devastating effects on families and<br>communities."],["Condemning the persecution of labor rights advocates in Iran.","HCONRES203","Condemns the government of Iran for the arrest and imprisonment of Iranian union leaders<br>Mahmoud Salehi and Mansour Osanloo and demands their immediate release. Expresses<br>solidarity with the workers of Iran and stands with them, and with all Iranians, in their<br>effort to bring political freedom and individual liberty to Iran. Calls on the Iranian<br>regime to respect the right of Iranian workers to form independent associations and<br>unions, as required by its membership in the International Labor ..."],["Expressing the sense of Congress regarding the immediate and unconditional release of Daw<br>Aung San Suu Kyi.","HCONRES200","Condemns the Burmese junta's crackdown on peaceful protesters in the strongest possible<br>terms, and demands that the junta end its violent crackdown on dissent. Demands that the<br>People's Republic of China (PRC) and other countries that provide political and economic<br>support to Burma's military junta end such support until the Burmese regime's violent<br>campaign against peaceful protest has ceased and the Burmese government has met the<br>opposition's political demands. Insists that Burma's military..."],["Recognizing the need to pursue research into the causes, a treatment, and an eventual cure<br>for idiopathic pulmonary fibrosis, supporting the goals and ideals of National Idiopathic<br>Pulmonary Fibrosis Awareness Week, and for other purposes.","HCONRES182","Recognizes the need to pursue research into the causes of, and a treatment and an eventual<br>cure for, idiopathic pulmonary fibrosis. Expresses support for: (1) the work of advocates<br>and organizations in educating, supporting, and providing hope for individuals who suffer<br>from the disease; and (2) designation of National Idiopathic Pulmonary Fibrosis Awareness<br>Week.Congratulates advocates and organizations for their efforts to educate the public<br>about the disease."],["Recognizing the importance of America's Waterway Watch program, and for other purposes.","HRES549","Recognizes the importance of increasing maritime domain awareness. Encourages those who<br>engage in recreational waterway activities to be aware and report suspicious activities to<br>appropriate authorities. Supports the goals of the America's Waterway Watch program."],["Commending NASA Langley Research Center in Virginia on the celebration of its 90th<br>anniversary on October 26 and 27, 2007.","HCONRES222","Congratulates and commends the men and women of NASA Langley Research Center for their<br>accomplishments and role in inspiring the American people."],["To require the Secretary of the Interior to convey certain public land located wholly or<br>partially within the boundaries of the Wells Hydroelectric Project of Public Utility<br>District No. 1 of Douglas County, Washington, to the utility district.","HR523","Douglas County, Washington, PUD Conveyance Act - Directs the Secretary of the Interior, if<br>the Public Utility District No. 1 of Douglas County, Washington (PUD), submits to the<br>Secretary an offer to acquire certain public land managed by the Bureau of Land Management<br>(BLM) for the appraised value, to convey to the PUD all interest of the United States in<br>and to the public land. Requires: (1) the PUD to pay to the Secretary an amount equal to<br>the appraised value of the public land, as determin..."],["Raising a question of the privileges of the House.","HRES767","Declares that: (1) the Member from California, Mr. Stark, by his despicable conduct, has<br>dishonored himself and brought discredit to the House and merits its censure; and (2) such<br>Member is censured."],["To designate the Department of Veterans Affairs Medical Center in Augusta, Georgia, as the<br>\"Charlie Norwood Department of Veterans Affairs Medical Center\".","HR1808","Designates the Department of Veterans Affairs Medical Center at 1 Freedom Way in Augusta,<br>Georgia, as the \"Charlie Norwood Department of Veterans Affairs Medical Center.\""],["Condemning the actions of September 7, 2007, resulting in damage to the Vietnam Veterans<br>War Memorial.","HRES680","Condemns all attacks upon the memory of veterans and their service to the United States,<br>as exemplified by the incident of vandalism of September 7, 2007, (at the Vietnam Veterans<br>War Memorial, Washington, D.C.)."],["To amend the Omnibus Parks and Public Lands Management Act of 1996 to extend the<br>authorization for certain national heritage areas, and for other purposes.","HR1483","Celebrating America's Heritage Act - Title I: Designations: Subtitle A: Muscle Shoals<br>National Heritage Area - (Sec. 1103) Establishes the Muscle Shoals National Heritage Area<br>in Alabama. (Sec. 1104) Designates the Muscle Shoals Regional Center as the local<br>coordinating entity for the Area. Requires the Muscle Shoals Regional Center to prepare<br>and submit a management plan for the Area. Authorizes the Muscle Shoals Regional Center,<br>subject to the prior approval of the Secretary of the Interior..."],["Recognizing the religious and historical significance of the festival of Diwali.","HRES747","Recognizes Diwali as an important festival.Acknowledges the international religious and<br>historical importance of the festival of Diwali.Recognizes and appreciates the religious<br>diversity in both India and the United States and throughout the world. Acknowledges and<br>supports the new relationship of collaboration and dialogue in international efforts<br>between the United States and India. Acknowledges the onset of Diwali and expresses the<br>deepest respect of the House of Representatives to Indian ..."],["Expressing support for designation of the month of October 2007 as \"Country Music Month\"<br>and to honor country music for its long history of supporting America's armed forces and<br>its tremendous impact on national patriotism.","HJRES58","Supports the designation of a Country Music Month (October). Honors country music for its<br>long history of supporting America's armed forces and its tremendous impact on national<br>patriotism."],["To designate the facility of the United States Postal Service located at 202 East Michigan<br>Avenue in Marshall, Michigan, as the \"Michael W. Schragg Post Office Building\".","HR3446","Designates the facility of the United States Postal Service located at 202 East Michigan<br>Avenue in Marshall, Michigan, as the \"Michael W. Schragg Post Office Building.\""],["Recognizing the contributions of Native American veterans and calling upon the President<br>to issue a proclamation urging the people of the United States to observe a day in honor<br>of Native American veterans.","HRES744","Recognizes all Native American veterans who have served the Nation with honor, pride,<br>devotion, wisdom, and strength for serving their country and protecting their homeland.<br>Calls upon the President to issue a proclamation urging the people of the United States to<br>observe a day honoring Native American veterans with appropriate ceremonies and<br>activities."],["Congratulating Nicolas Sarkozy on his election to the presidency of France.","HRES379","Congratulates Mr. Nicolas Sarkozy on his election to the presidency of France and welcomes<br>President Sarkozy on the occasion of his appearance before a Joint Meeting of Congress."],["Recognizing the close relationship between the United States and the Republic of San<br>Marino.","HCONRES236","Recognizes the close relationship between the United States and the Republic of San<br>Marino. Expresses gratitude to the Republic of San Marino for its close collaboration and<br>support in issues of critical importance to our economic and national security interests.<br>Commemorates the first bilateral exchange of Ambassadors in the history of our long<br>relationship."],["To provide that the great hall of the Capitol Visitor Center shall be known as<br>Emancipation Hall.","HR3315","Designates the great hall of the Capitol Visitor Center as Emancipation Hall."],["To provide assistance for the Museum of the History of Polish Jews in Warsaw, Poland.","HR3320","Support for the Museum of the History of Polish Jews Act of 2007 - Authorizes the<br>Secretary of State to provide up to a specified amount to fund the establishment of, and<br>maintain the permanent collection of, the Museum of the History of Polish Jews. Terminates<br>the authority under this Act on October 1, 2010."],["Recognizing 200 years of research, service to the people of the United States, and<br>stewardship of the marine environment by the National Oceanic and Atmospheric<br>Administration and its predecessor agencies, and for other purposes.","HCONRES147","Recognizes: (1) the contributions of the National Oceanic and Atmospheric Administration<br>(NOAA) and its predecessor agencies over a 200-year period to human understanding of the<br>oceans and atmosphere and their stewardship of the marine environment; (2) the vision of<br>President Thomas Jefferson in supporting scientific advancement and coastal surveys; and<br>(3) the contributions of employees and officers of the Coast Survey, the National Geodetic<br>Survey, and the Center for Operational Oceanograph..."],["To make various technical and clerical amendments to the Federal securities laws.","HR3505","Securities Law Technical Corrections Act of 2007 - Makes technical corrections to the<br>following Acts: (1) the Securities Act of 1933; (2) the Securities Exchange Act of 1934;<br>(3) the Trust Indenture Act of 1939; (4) the Investment Company Act of 1940; and (5) the<br>Investment Advisers Act of 1940.Amends the following statutes to make conforming<br>amendments for the repeal of the Public Utility Holding Company Act of 1935: (1) the<br>Securities Exchange Act of 1934; (2) the Trust Indenture Act of 193..."],["To authorize the Secretary of the Interior to convey to the McGee Creek Authority certain<br>facilities of the McGee Creek Project, Oklahoma, and for other purposes.","HR2085","McGee Creek Project Pipeline and Associated Facilities Conveyance Act - Authorizes the<br>Secretary of the Interior to convey to the McGee Creek Authority all U.S. rights to the<br>pipeline and any associated facilities described in the Agreement Between the United<br>States and McGee Creek Authority for the Purpose of Defining Responsibilities Related to<br>and Implementing the Title Transfer of Certain Facilities at the McGee Creek Project,<br>Oklahoma. Excludes the mineral estate from the conveyance. Req..."],["Recognizing the importance of Christmas and the Christian faith.","HRES847","Recognizes the Christian faith as one of the great religions of the world. Acknowledges:<br>(1) the international religious and historical importance of Christmas and the Christian<br>faith; and (2) the role of Christians and Christianity in the founding of the United<br>States and in the formation of the western civilization. Rejects bigotry and persecution<br>directed against Christians. Expresses support for and respect to Christians in the United<br>States and throughout the world."],["Expresses heartfelt sympathy for the victims and families of the shootings in Omaha,<br>Nebraska, on Wednesday, December 5, 2007.","HRES856","Expresses the heartfelt sympathy of the U.S. House of Representatives for the victims and<br>families of the shootings in Omaha, Nebraska, on Wednesday, December 5, 2007.Conveys its<br>gratitude to the city and county officials, and all the police, fire, sheriff, and<br>emergency medical teams who responded swiftly to the scene and secured the mall and<br>surrounding area."],["Recognizing and celebrating the centennial of Oklahoma statehood.","HCONRES254","Recognizes the centennial of Oklahoma statehood and wishes its people another 100 years of<br>continued growth, prosperity, and achievement."],["Expressing the unconditional support of the House of Representatives for the members of<br>the National Guard.","HRES542","Unconditionally supports the members of the National Guard and recognizes their sacrifices<br>made on behalf of the United States. States that the House of Representatives will: (1)<br>work to ensure that the National Guard receives the resources it needs; and (2) support<br>the families of Guard members, especially those who have died while serving on active<br>duty."],["Honoring the brave men and women of the United States Coast Guard whose tireless work,<br>dedication, and commitment to protecting the United States have led to the Coast Guard<br>seizing over 350,000 pounds of cocaine at sea during 2007, far surpassing all of our<br>previous records.","HRES866","Honors the U.S. Coast Guard, with its proud 217-year legacy of maritime law enforcement<br>and border protection, along with the brave men and women whose efforts clearly<br>demonstrate the honor, respect, and devotion to duty that ensures America's parents can<br>sleep soundly knowing the Coast Guard is on patrol."],["Commending the Louisiana State University Tigers football team for winning the 2007 Bowl<br>Championship Series national championship game.","HRES933","Commends the Louisiana State University Tigers football team for winning the 2007 Bowl<br>Championship Series national championship game."],["Congratulating Lee Myung-Bak on his election to the Presidency of the Republic of Korea<br>and wishing him well during his time of transition and his inauguration on February 25,<br>2008.","HRES947","Congratulates Lee Myung-Bak on his election to the presidency of the Republic of Korea and<br>wishes him well during his transition and on his inauguration on February 25, 2008."],["Celebrating the birth of Abraham Lincoln and recognizing the prominence the Declaration of<br>Independence played in the development of Abraham Lincoln's beliefs.","HCONRES281","Requests that the President issue a proclamation each year recognizing the anniversary of<br>the birth of President Abraham Lincoln.Encourages state and local governments and local<br>educational agencies to devote sufficient time to study and appreciate the reverence and<br>respect Abraham Lincoln had for the significance and importance of the Declaration of<br>Independence in the development of American history, jurisprudence, and the spread of<br>freedom around the world."],["To authorize the national ocean exploration program and the national undersea research<br>program within the National Oceanic and Atmospheric Administration.","HR1834","Title I: National Ocean Exploration Program - National Ocean Exploration Program Act -<br>(Sec. 102) Requires the Administrator of the National Oceanic and Atmospheric<br>Administration (NOAA) to conduct a coordinated national ocean exploration program in NOAA<br>that promotes collaboration with other federal ocean and undersea research and exploration<br>programs. (Sec. 103) Sets forth program authorities, including authorizing the<br>Administrator to accept donations of property, data, and equipment to be..."],["To authorize the placement in Arlington National Cemetery of an American Braille tactile<br>flag in Arlington National Cemetery honoring blind members of the Armed Forces, veterans,<br>and other Americans.","HR4169","Authorizes the Secretary of the Army to place in Arlington National Cemetery an American<br>Braille tactile flag honoring blind members of the Armed Forces, veterans, and other<br>Americans. Grants the Secretary exclusive authority to approve an appropriate design and<br>site within Arlington National Cemetery for the memorial."],["A bill to designate the facility of the United States Postal Service known as the<br>Southpark Station in Alexandria, Louisiana, as the John \"Marty\" Thiels Southpark Station,<br>in honor and memory of Thiels, a Louisiana postal worker who was killed in the line of<br>duty on October 4, 2007.","S2272","Designates the facility of the United States Postal Service known as the Southpark Station<br>in Alexandria, Louisiana, as the \"John 'Marty' Thiels Southpark Station.\""],["To designate the facility of the United States Postal Service located at 116 Helen Highway<br>in Cleveland, Georgia, as the \"Sgt. Jason Harkins Post Office Building\".","HR3936","Designates the facility of the United States Postal Service located at 116 Helen Highway<br>in Cleveland, Georgia, as the \"Sgt. Jason Harkins Post Office Building.\""],["To provide for the release of certain land from the Sunrise Mountain Instant Study Area in<br>the State of Nevada and to grant a right-of-way across the released land for the<br>construction and maintenance of a flood control project.","HR816","Orchard Detention Basin Flood Control Act - Finds that specified land in the Sunrise<br>Mountain Instant Study Area of Clark County, Nevada, has been adequately studied for<br>wilderness suitability and releases it from further wilderness study. Provides that the<br>Secretary of the Interior is no longer required to manage it as wilderness and that it<br>shall be managed in accordance with land management plans adopted under the Federal Land<br>Policy and Management Act of 1976 and cooperative conservation ..."],["To redesignate Dayton Aviation Heritage National Historic Park in the State of Ohio as<br>\"Wright Brothers-Dunbar National Historic Park\", and for other purposes.","HR4191","Wright Brothers-Dunbar National Historic Park Designation Act - Amends the Dayton Aviation<br>Heritage Preservation Act of 1992 to: (1) rename the Dayton Aviation Heritage National<br>Historical Park as the Wright Brothers-Dunbar National Historic Park; and (2) authorize<br>the Secretary of the Interior to make grants to partners of the Park, including the<br>Aviation Trail, Inc., the Ohio Historical Society, and Dayton History, for projects not<br>requiring federal involvement other than providing financia..."],["Supporting Taiwan's fourth direct and democratic presidential elections in March 2008.","HCONRES278","Expresses the sense of Congress that: (1) the U.S. government should reaffirm its<br>commitment to Taiwan's democracy and security; and (2) international delegations should be<br>encouraged to visit Taiwan to witness the March 2008 presidential elections."],["Condemning the ongoing Palestinian rocket attacks on Israeli civilians, and for other<br>purposes.","HRES951","Condemns: (1) Hamas and other Palestinian terrorist organizations for the ongoing rocket<br>attacks on Israeli civilians and continued human rights violations; (2) state sponsors of<br>terror, such as Iran and Syria, for enabling Palestinian terrorist organizations to carry<br>out such attacks; and (3) the use of innocent Palestinian civilians as human shields by<br>those who carry out rocket and other attacks. Expresses: (1) condolences to the families<br>of the innocent victims on both sides of the confli..."],["To designate the facility of the United States Postal Service located at 10250 John<br>Saunders Road in San Antonio, Texas, as the \"Cyndi Taylor Krier Post Office Building\".","HR4774","Designates the facility of the United States Postal Service located at 10250 John Saunders<br>Road in San Antonio, Texas, as the \"Cyndi Taylor Krier Post Office Building.\""],["To designate the facility of the United States Postal Service located at 160 East<br>Washington Street in Chagrin Falls, Ohio, as the \"Sgt. Michael M. Kashkoush Post Office<br>Building\".","HR5400","Designates the facility of the United States Postal Service located at 160 East Washington<br>Street in Chagrin Falls, Ohio, as the \"Sgt. Michael M. Kashkoush Post Office Building.\""],["Congratulating the women's water polo team of the University of California, Los Angeles,<br>for winning the 2007 NCAA Division I Women's Water Polo National Championship, and<br>congratulating UCLA on its 100th NCAA sports national title, making it the most<br>accomplished athletic program in NCAA history.","HRES493","Congratulates: (1) the women's water polo team of the University of California, Los<br>Angeles (UCLA) for winning the 2007 NCAA Division I Women's Water Polo National<br>Championship; and (2) UCLA on becoming the first school to win 100 NCAA sports national<br>championship titles."],["Raising a question of the privileges of the House.","HRES1039","Declares that the House: (1) denounces any violations of House rules by Speaker Nancy<br>Pelosi and other Members of the Democratic leadership in the strongest terms possible; (2)<br>rejects the practices of holding votes open beyond a reasonable period of time for the<br>sole purpose of circumventing the will of the House; and (3) directs the Speaker to take<br>such steps as necessary to prevent any further abuse. Vacates the votes on ordering the<br>previous question and adoption of House Resolution 1031 ..."],["Raising a question of the privileges of the House.","HRES1040","Directs the Committee on Standards of Official Conduct to investigate without further<br>delay violations of House rules by Representative Dave Obey and report its findings and<br>recommendations to the House, including a recommendation regarding the appropriate action<br>for such violations."],["To reauthorize and amend the Hydrographic Services Improvement Act, and for other<br>purposes.","HR3352","Hydrographic Services Improvement Act Amendments of 2008 - Amends the Hydrographic<br>Services Improvement Act of 1998 to revise the definition of \"hydrographic data\" to<br>include information acquired through lidar, radar, remote sensing, shoreline and other<br>ocean- and coastal-related surveying, and water level observations. Revises the definition<br>of \"hydrographic services\" to include shoreline and water level information. Requires the<br>Administrator of the National Oceanic and Atmospheric Administ..."],["Supporting the observance of Colorectal Cancer Awareness Month, and for other purposes.","HCONRES302","Expresses support for the observance of Colorectal Cancer Awareness Month to provide a<br>special opportunity to offer education on the importance of early detection and screening."],["Supporting the goals and ideals of Borderline Personality Awareness Month.","HRES1005","Expresses support for the goals and ideals of Borderline Personality Disorder Awareness<br>Month."],["A bill to provide for the expansion and improvement of traumatic brain injury programs.","S793","Traumatic Brain Injury Act of 2008 - (Sec. 3) Amends the Public Health Service Act to<br>revise the national program for traumatic brain injury registries to make grants for state<br>traumatic brain injury surveillance systems or registries (currently, only for registries)<br>to: (1) determine the incidence and prevalence of traumatic brain injury and related<br>disability; (2) ensure the uniformity of reporting under each such system or registry; (3)<br>link individuals with traumatic brain injury to servi..."],["To designate the facility of the United States Postal Service located at 6892 Main Street<br>in Gloucester, Virginia, as the \"Congresswoman Jo Ann S. Davis Post Office\".","HR5489","Designates the facility of the United States Postal Service located at 6892 Main Street in<br>Gloucester, Virginia, as the \"Congresswoman Jo Ann S. Davis Post Office.\""],["Expressing sympathy to the victims and families of the tragic acts of violence in Colorado<br>Springs, Colorado and Arvada, Colorado.","HRES886","Expresses the heartfelt condolences of the House of Representatives to the victims and<br>families of the tragic acts of violence in Colorado Springs, Colorado and Arvada,<br>Colorado. Conveys its gratitude to Jeanne Assam and to the city and county officials,<br>police, fire, sheriff, federal authorities, and emergency medical teams whose quick<br>response saved lives."],["Expressing support for designation of a National Glanzmann's Thrombasthenia Awareness Day.","HRES994","Expresses support for the designation of a National Glanzmann's Thrombasthenia Awareness<br>Day."],["To designate the facility of the United States Postal Service located at 7231 FM 1960 in<br>Humble, Texas, as the \"Texas Military Veterans Post Office\".","HR5517","Designates the facility of the United States Postal Service located at 7231 FM 1960 in<br>Humble, Texas, as the \"Texas Military Veterans Post Office.\""],["To provide for the conveyance of certain Forest Service land to the city of Coffman Cove,<br>Alaska.","HR831","Coffman Cove Administrative Site Conveyance Act of 2008 - Directs the Secretary of<br>Agriculture to convey to the city of Coffman Cove, Alaska, without consideration and by<br>quitclaim deed, a specified parcel of National Forest System land within the city.<br>Excludes a certain part of such land from the conveyance. Allows the United States to<br>reserve a right-of-way to provide access to the excluded land. Provides that if any part<br>of the land conveyed to the city (other than a part of land sold pur..."],["Calling on the United States Government and the international community to promptly<br>develop, fund, and implement a comprehensive regional strategy to protect civilians,<br>facilitate humanitarian operations, contain and reduce violence, and contribute to<br>conditions for sustainable peace and good governance in Chad, as well as in the wider<br>region that includes the northern region of the Central African Republic and the Darfur<br>region of Sudan.","HRES1011","Expresses concern about the safety and well-being of innocent civilians in Chad and the<br>refugees from Darfur and the Central African Republic. Condemns Sudanese President Omar<br>al-Bashir and the National Congress Party for their support of the armed rebellion in<br>Chad. Calls on all parties to seek a negotiated settlement. Urges the government of Chad<br>to: (1) engage in a national dialogue to reach a comprehensive agreement; (2) protect its<br>civilians; and (3) end all recruitment of persons under ..."],["To amend the Foreign Service Act of 1980 to permit rest and recuperation travel to United<br>States territories for members of the Foreign Service.","HR3658","Amends the Foreign Service Act of 1980 to permit rest and recuperation travel for Foreign<br>Service members and family members to U.S. territories, including American Samoa, the<br>Commonwealth of Puerto Rico, Guam, the Commonwealth of the Northern Mariana Islands, and<br>the U.S. Virgin Islands. Specifies that required leave based upon continuous service<br>abroad may be taken in the United States or its territories, including American Samoa, the<br>Commonwealth of Puerto Rico, Guam, the Commonwealth of t..."],["Congratulating charter schools and their students, parents, teachers, and administrators<br>across the United States for their ongoing contributions to education, and for other<br>purposes.","HRES1168","Acknowledges and commends charter schools and their students, parents, teachers, and<br>administrators across the country for their ongoing contributions to education and the<br>public school system. Supports the ninth annual National Charter Schools Week."],["Celebrating the role of mothers in the United States and supporting the goals and ideals<br>of Mother's Day.","HRES1113","Celebrates the role of mothers in the United States and supports the goals and ideals of<br>Mother's Day."],["Honoring public child welfare agencies, nonprofit organizations and private entities<br>providing services for foster children.","HRES789","Honors the contributions of public child welfare agencies, nonprofit organizations, and<br>private entities dedicated to finding homes for foster children and assisting foster<br>families in securing their future success."],["To authorize the production of Saint-Gaudens Double Eagle ultra-high relief bullion coins<br>in palladium to provide affordable opportunities for investments in precious metals, and<br>for other purposes.","HR5614","Original Saint-Gaudens Double Eagle Ultra-High Relief Palladium Bullion Coin Act -<br>Authorizes the Secretary of the Treasury to mint and issue a $20 coin that bears, on the<br>obverse and reverse, the designs of the famous 27-millimeter version of the 1907 Augustus<br>Saint-Gaudens Double Eagle ultra-high relief gold piece. Authorizes the Secretary to<br>commence minting and issuing such coins for sale, beginning January 1, 2009, in: (1) an<br>appropriate number of $20 bullion investment coins meeting spe..."],["To require the Secretary of the Treasury to mint coins in commemoration of the centennial<br>of the Boy Scouts of America, and for other purposes.","HR5872","Boy Scouts of America Centennial Commemorative Coin Act - Directs the Secretary of the<br>Treasury to mint and issue up to 350,000 $1 coins in commemoration of the centennial of<br>the founding of the Boy Scouts of America. Requires the coin design to be emblematic of<br>the 100 years of the organization. Restricts issuance of such coins to February 8 through<br>December 31, 2010. Subjects coin sales to a surcharge of $10 per coin. Requires payment of<br>such surcharges to the National Boy Scouts of America..."],["To make amendments to the Reclamation Projects Authorization and Adjustment Act of 1992.","HR2649","Lake Hodges Surface Water Improvement and Reclamation Act of 2008 - Amends the Reclamation<br>Wastewater and Groundwater Study and Facilities Act to authorize the Secretary of the<br>Interior, in cooperation with the Olivenhain Municipal Water District, California, to<br>participate in the design, planning, and construction of projects to treat, reclaim, and<br>reuse impaired surface water from Lake Hodges in San Diego County, California. Limits the<br>federal share to 25% of the total project costs. Prohib..."],["Raising a question of the privileges of the House.","HRES1221","Requires the Committee on Standards of Official Conduct to begin an immediate<br>investigation into the abuse of power surrounding the inaccuracies in the process and<br>enrollment of H.R. 2419 ( Food and Energy Security Act of 2007), vetoed by the President<br>on May 21, 2008. Admonishes the Speaker of the House, Majority Leader, and other Members<br>of the Democratic Leadership for their roles in the events surrounding this enrollment<br>error."],["Recognizing the courage and sacrifice of those members of the United States Armed Forces<br>who were held as prisoners of war during the Vietnam conflict and calling for a full<br>accounting of the 1,729 members of the Armed Forces who remain unaccounted for from the<br>Vietnam conflict.","HRES986","Expresses gratitude for, and urges states, localities, and all Americans to honor the<br>courage and sacrifice of, members of the Armed Forces, including Samuel R. Johnson of<br>Texas, who were held as prisoners of war during the Vietnam conflict. Declares that the<br>House of Representatives will continue to press for a full accounting of the 1,729 members<br>of the Armed Forces and 34 U.S. citizens who remain unaccounted for from that conflict.<br>Honors all members of the Armed Forces who have fought and..."],["Recognizing the State of Minnesota's 150th anniversary.","HRES923","Congratulates Minnesota on its 150th anniversary and its contributions to America's<br>economy and heritage."],["Supporting the goals and ideals of the Arbor Day Foundation and National Arbor Day.","HRES1114","Expresses support for the goals and ideals of the Arbor Day Foundation.Requests the<br>President to issue a proclamation calling upon the people of the United States to observe<br>National Arbor Day."],["Recognizing and celebrating the 50th anniversary of the entry of Alaska in the Union as<br>the 49th State.","HRES127","Recognizes and celebrates the 50th anniversary of the entry of Alaska into the Union as<br>the 49th state."],["Expressing support for the designation of National D-Day Remembrance Day, and recognizing<br>the spirit, courage, and sacrifice of the men and women who fought and won World War II.","HRES1235","Supports the designation of National D-Day Remembrance Day (June 6, 2008). Recognizes,<br>honors, and thanks the veterans who served on D-Day for their spirit, courage, and<br>sacrifice."],["To amend the Public Health Service Act to advance medical research and treatments into<br>pediatric cancers, ensure patients and families have access to the current treatments and<br>information regarding pediatric cancers, establish a population-based national childhood<br>cancer database, and promote public awareness of pediatric cancers.","HR1553","Caroline Pryce Walker Conquer Childhood Cancer Act of 2008 - (Sec. 4) Amends the Public<br>Health Service Act to require the Secretary of Health and Human Services to continue to<br>enhance, expand, and intensify pediatric cancer research and other activities related to<br>pediatric cancer, including therapeutically applicable research to generate effective<br>treatments, pediatric preclinical testing, and pediatric clinical trials through National<br>Cancer Institute-supported pediatric cancer clinical tri..."],["To direct the Secretary of Agriculture to convey certain land in the Beaverhead-Deerlodge<br>National Forest, Montana, to Jefferson County, Montana, for use as a cemetery.","HR3702","Montana Cemetery Act of 2008 - Directs the Secretary of Agriculture, through the National<br>Forest Service (NFS), to convey by quitclaim deed for no consideration to Jefferson<br>County, Montana, the parcel of National Forest System land known as the Elkhorn Cemetery<br>to be used as a county cemetery and managed in consideration of its historical and<br>cultural values."],["Congratulating James Madison University in Harrisonburg, Virginia, for 100 years of<br>service and leadership to the United States.","HRES1051","Congratulates James Madison University for 100 years of leadership and service to the<br>Harrisonburg/Rockingham county region, Virginia, and the nation."],["To amend the Dayton Aviation Heritage Preservation Act of 1992 to add sites to the Dayton<br>Aviation Heritage National Historical Park, and for other purposes.","HR4199","Title I: Additional Areas Included In Dayton Aviation Heritage National Historical Park -<br>(Sec. 101) Amends the Dayton Aviation Heritage Preservation Act of 1992 to provide for the<br>acquisition and inclusion of the following additional sites in the Dayton Aviation<br>Heritage National Historical Park: (1) Hawthorn Hill, Oakwood, Ohio; and (2) the Wright<br>Company factory and associated land and buildings, Dayton, Ohio. (Sec. 102) Authorizes the<br>Secretary of the Interior to enter into a cooperative ..."],["To provide for a program for circulating quarter dollar coins that are emblematic of a<br>national park or other national site in each State, the District of Columbia, and each<br>territory of the United States, and for other purposes.","HR6184","America's Beautiful National Parks Quarter Dollar Coin Act of 2008 - Requires quarter<br>dollars, issued beginning in 2010, to have designs on the reverse emblematic of one<br>national site in each state, territory of the United States, and the District of Columbia.<br>Instructs the Secretary of the Treasury to select in each state a national park or other<br>national site to be honored with a coin. Requires five coin designs in each year of the<br>period of issuance. Instructs the Secretary to strike and m..."],["Honoring the extraordinary service and exceptional sacrifice of the 101st Airborne<br>Division (Air Assault), known as the Screaming Eagles.","HRES1080","Recognizes the 101st Airborne Division (Air Assault), also known as the Screaming Eagles,<br>as one of the great divisions of American military history, and acknowledges their<br>contributions. Recognizes America's debt to the 101st for the extraordinary service,<br>sacrifice, and patriotism of such soldiers and their families."],["Recognizing the 60th anniversary of the integration of the United States Armed Forces.","HCONRES297","Recognizes the 60th anniversary of President Truman's executive order declaring a policy<br>of equality of treatment and opportunity for all persons in the armed services without<br>regard to race, color, religion, or national origin, thereby beginning the process of<br>ending segregation in the U.S. Armed Forces."],["Expressing the deepest appreciation of Congress to the families of members of the United<br>States Armed Forces.","HCONRES295","Expresses appreciation to the families of members of the Armed Forces for their unwavering<br>support while such members answer the call to serve their country."],["Supporting the goals and ideals of a National Guard Youth Challenge Day.","HRES1202","Supports the goals and ideals of a National Guard Youth Challenge Day to improve the<br>education, life skills, and employment potential of America's high school dropouts though<br>public awareness, scholarships, higher education assistance, mentoring, and job<br>development programs."],["Supporting the designation of a National Child Awareness Month to promote awareness of<br>children's charities and youth-serving organizations across the United States and<br>recognizing their efforts on behalf of children and youth as a positive investment for the<br>future of our Nation.","HRES1296","Supports the designation of a National Child Awareness Month to promote the awareness of<br>children's charities and youth-servicing organizations across the United States.Recognizes<br>the efforts of such charities and organizations on behalf of children and youth as a<br>critical contribution to the future of our nation."],["To require the Secretary of Homeland Security to conduct a pilot program for the mobile<br>biometric identification in the maritime environment of aliens unlawfully attempting to<br>enter the United States.","HR2490","Directs the Secretary of Homeland Security to: (1) conduct, through the Coast Guard in the<br>maritime environment, a program for the mobile biometric identification of suspected<br>individuals, including terrorists, to enhance border security and for other purposes; (2)<br>ensure such program's coordination with other Department of Homeland Security (DHS)<br>biometric identification programs; and (3) report to the appropriate congressional<br>committees respecting the cost of expanding the Coast Guard's bi..."],["Raising a question of the privileges of the House.","HRES1396","Declares that: (1) the Member from NewYork, Mr. Rangel, by the conduct giving rise to this<br>resolution, has dishonored himself and brought discredit to the House and merits its<br>censure; and (2) such Member is censured."],["Condemning the persecution of Baha'is in Iran.","HRES1008","Condemns the government of Iran for its: (1) state-sponsored persecution of Baha'is and<br>continues to hold the government of Iran responsible for upholding all the rights of its<br>nationals, including members of the Baha'i community; and (2) continued imprisonment of<br>individuals without due process and fair trial. Calls on: (1) the government of Iran to<br>immediately release 10 Baha'is: Ms. Raha Sabet, Mr. Sasan Taqva, Ms. Haleh Roohi, Mrs.<br>Fariba Kamalabadi, Mr. Jamaloddin Khanjani, Mr. Afif Naei..."],["A bill to designate the new Federal Courthouse, located in the 700 block of East Broad<br>Street, Richmond, Virginia, as the \"Spottswood W. Robinson III and Robert R. Merhige, Jr.<br>Federal Courthouse\".","S2403","Designates the new federal courthouse located in the 700 block of East Broad Street,<br>Richmond, Virginia, as the \"Spottswood W. Robinson III and Robert R. Merhige, Jr. Federal<br>Courthouse.\""],["Expressing the sense of the House of Representatives that the emergency communications<br>services provided by the American Red Cross are vital resources for military service<br>members and their families.","HRES937","Expresses appreciation for the vital emergency communications services provided by the<br>American Red Cross between military service members and their families during emergencies<br>or other important events."],["To designate the facility of the United States Postal Service located at 112 South 5th<br>Street in Saint Charles, Missouri, as the \"Lance Corporal Drew W. Weaver Post Office<br>Building\".","HR6168","Designates the facility of the United States Postal Service located at 112 South 5th<br>Street in Saint Charles, Missouri, as the \"Lance Corporal Drew W. Weaver Post Office<br>Building.\""],["To amend title 38, United States Code, to allow highly rural veterans enrolled in the<br>health system of the Department of Veterans Affairs to receive covered health services<br>through providers other than those of the Department, and for other purposes.","HR1527","Rural Veterans Access to Care Act - Directs the Secretary of Veterans Affairs to conduct a<br>three-year pilot program under which a highly rural veteran who is enrolled in the system<br>of patient enrollment of the Department of Veterans Affairs (VA) and who resides within a<br>designated area of the Veterans Integrated Service Network may elect to receive covered<br>health services through a non-VA health care provider. Defines a \"highly rural veteran\" as<br>one who: (1) resides more than 60 miles from th..."],["To designate the Department of Veterans Affairs Outpatient Clinic in Hermitage,<br>Pennsylvania, as the Michael A. Marzano Department of Veterans Affairs Outpatient Clinic.","HR1594","Designates the Department of Veterans Affairs Outpatient Clinic in Hermitage,<br>Pennsylvania, as the \"Michael A. Marzano Department of Veterans Affairs Outpatient<br>Clinic.\""],["Raising a question of the privileges of the House.","HRES1460","Requires the Committee on Standards of Official Conduct to establish an Investigative<br>Subcommittee in the matter of Representative Charles B. Rangel or report to the House the<br>reasons for its failure to do so. Removes Representative Rangel as chairman of the<br>Committee on Ways and Means, upon adoption of this resolution and pending completion of<br>such investigation."],["To amend the Federal Water Pollution Control Act to provide for the remediation of<br>sediment contamination in areas of concern, and for other purposes.","HR6460","Great Lakes Legacy Reauthorization Act of 2008 - Amends the Federal Water Pollution<br>Control Act (commonly known as the Clean Water Act) to define: (1) \"site characterization\"<br>as a process for monitoring and evaluating sediment contamination under the Environmental<br>Protection Agency's (EPA) guidance for the assessment of contaminated sediment in an area<br>of concern in the United States; and (2) \"potentially responsible party\" to mean an<br>individual or entity that may be liable under any federal ..."],["To authorize the acquisition of land and interests in land from willing sellers to improve<br>the conservation of, and to enhance the ecological values and functions of, coastal and<br>estuarine areas to benefit both the environment and the economies of coastal communities,<br>and for other purposes.","HR1907","Coastal and Estuarine Land Conservation Program Act - Amends the Coastal Zone Management<br>Act of 1972 to authorize the Secretary of Commerce to conduct a Coastal and Estuarine Land<br>Conservation Program to protect important coastal and estuarine areas that have<br>significant conservation, recreation, ecological, historical, or aesthetic values and that<br>are threatened by conversion from their natural, undeveloped, or recreational state to<br>other uses or that could be managed or restored to effectiv..."],["Expressing the sense of Congress regarding the United States commitment to preservation of<br>religious and cultural sites and condemning instances where sites are desecrated.","HCONRES255","Expresses strong support for the work of the United States Commission for the Preservation<br>of America's Heritage Abroad and for the European countries that continue to work to<br>preserve sacred historical sites. Expresses strong sentiments to the government of<br>Lithuania that the people of the United States believe the Jewish cemetery located in the<br>Snipiskes area of Vilnius, Lithuania, must not be desecrated. Calls on Lithuania to<br>seriously consider recommendations being prepared by an internat..."],["Solemnly commemorating the 25th anniversary of the tragic October 1983 terrorist bombing<br>of the United States Marine Corps Barracks in Beirut, Lebanon and remembering those who<br>lost their lives and those who were injured.","HRES1421","Honors and remembers, on the 25th anniversary of the bombing of the U.S. Marine Corps<br>barracks in Beirut, Lebanon, the service and sacrifice of the members of the Armed Forces<br>who were bombing victims and those who died in Beirut from 1982 to 1984. Joins family and<br>friends in mourning the members who lost their lives in the tragic bombing and while<br>serving as peacekeepers in Beirut."],["A bill to modify pay provisions relating to certain senior-level positions in the Federal<br>Government, and for other purposes.","S1046","Senior Professional Performance Act of 2008 - Amends provisions relating to locality-based<br>comparability payments for federal employees to exempt senior-level (SL) and scientific<br>and professional personnel (ST) employees from limitations on total basic and<br>comparability pay established at level III of the Executive Schedule. Increases the rate<br>of basic pay for certain senior-level positions to level III. Permits a further increase<br>to level II for agencies with a performance appraisal system t..."],["A bill to authorize funding for the National Crime Victim Law Institute to provide support<br>for victims of crime under Crime Victims Legal Assistance Programs as a part of the<br>Victims of Crime Act of 1984.","S3641","Amends the Justice for All Act of 2004 to extend through FY2013 funding for the grant<br>program to provide legal assistance to victims of crime."],["A concurrent resolution expressing the sense of Congress that no funds should be cut off<br>or reduced for American Troops in the field which would result in undermining their safety<br>or their ability to complete their assigned mission.","SCONRES20","Expresses the sense of Congress that Congress should not take any action that will<br>endanger U.S. military forces in the field, including the elimination or reduction of<br>funds for troops in the field, as such action would undermine their safety or harm their<br>effectiveness in pursuing assigned missions."],["A bill to intensify research to derive human pluripotent stem cell lines.","S30","Hope Offered through Principled and Ethical Stem Cell Research Act or the HOPE Act - (Sec.<br>3) Amends the Public Health Service Act to require the Secretary of Health and Human<br>Services to develop techniques for the isolation, derivation, production, or testing of<br>stem cells, including pluripotent stem cells that have the flexibility of embryonic stem<br>cells (whether or not they have an embryonic source), that may result in improved<br>understanding of or treatments for diseases and other adverse ..."],["A bill making emergency supplemental appropriations for the Department of Defense for the<br>fiscal year ending September 30, 2008, and for other purposes.","S2340","Emergency Supplemental Appropriations Act for Defense, 2008 - Makes emergency supplemental<br>appropriations for the Department of Defense (DOD) for FY2008 for: (1) military personnel;<br>(2) operation and maintenance; (3) the Iraq Freedom Fund; (4) the Afghanistan Security<br>Forces Fund; (5) the Iraq Security Forces Fund; (6) the Joint Improvised Explosive Device<br>Defeat Fund; (7) procurement; (8) Defense Working Capital Funds; (9) the Defense Health<br>Program; and (10) defense drug interdiction and co..."],["A bill to maintain the free flow of information to the public by providing conditions for<br>the federally compelled disclosure of information by certain persons connected with the<br>news media.","S2035","Free Flow of Information Act of 2007 - (Sec. 2) Prohibits a federal entity (an entity or<br>employee of the judicial or executive branch or an administrative agency) from compelling<br>a covered person to testify or produce any document relating to protected information<br>unless a court makes specified determinations by a preponderance of the evidence,<br>including that all reasonable alternative sources have been exhausted, that the testimony<br>or document sought is essential, and that nondisclosure woul..."],["Recognizing the efforts of those who serve their communities on Martin Luther King Day and<br>promoting the holiday as a day of national service.","HRES43","Encourages all Americans to pay tribute to the life and works of Dr. Martin Luther King,<br>Jr. through participation in community service projects on Martin Luther King Day (January<br>19, 2009). Recognizes the inherent value of community service and volunteerism in the<br>creation of civil society and as a means of non-violent community progress consistent with<br>the works of Dr. Martin Luther King, Jr. Recognizes the benefits of the collaborative work<br>by the many organizations that promote, facilitat..."],["Relating to the disapproval of obligations under the Emergency Economic Stabilization Act<br>of 2008.","HJRES3","Disapproves the obligation of any amount to purchase troubled assets under the Emergency<br>Economic Stabilization Act of 2008 exceeding those already obligated (namely, $250<br>billion, or upon presidential certification, $350 billion)."],["Commending the University of Florida Gators for winning the Bowl Championship Series<br>National Championship Game.","HRES58","Commends the University of Florida Gators for winning the Bowl Championship Series<br>National Championship. Recognizes the achievements of the players, coaches, students, and<br>support staff who were instrumental in the victory."],["Raising awareness and encouraging prevention of stalking by establishing January 2009 as<br>\"National Stalking Awareness Month\".","HRES82","Expresses the sense of the House of Representatives that: (1) National Stalking Awareness<br>Month provides an opportunity to educate Americans about stalking; (2) all Americans<br>should applaud efforts to promote awareness about stalking; and (3) policymakers, criminal<br>justice officials, victim service and human service agencies, college campuses and<br>universities, nonprofits, and others should recognize the need to increase awareness of<br>stalking and the availability of services for stalking victi..."],["Recognizing and commending University of Oklahoma quarterback Sam Bradford for winning the<br>2008 Heisman Trophy and for his academic and athletic accomplishments.","HRES60","Commends Sam Bradford for winning the 2008 Heisman Trophy and for his academic and<br>athletic accomplishments."],["Raising a question of the privileges of the House.","HRES143","Provides for removal of Representative Rangel as chairman of the Committee on Ways and<br>Means, pending completion of the investigation into his affairs by the Committee on<br>Standards of Official Conduct."],["Honoring Miami University for its 200 years of commitment to extraordinary higher<br>education.","HRES128","Congratulates Miami University, in Ohio, on its 200th anniversary. Expresses the House of<br>Representatives' best wishes for its continued success. Recognizes the school's profound<br>achievements, unwavering commitment to liberal arts education, and active engagement of<br>its students in both curricular and co-curricular life."],["To provide for the conveyance of parcels of land to Mantua, Box Elder County, Utah.","HR601","Box Elder Utah Land Conveyance Act - Directs the Secretary of Agriculture to convey to the<br>town of Mantua, Utah, all interest of the United States in and to parcels of National<br>Forest System land in the Wasatch-Cache National Forest in Box Elder County, Utah, that<br>are labeled as parcels A, B, and C on the map entitled \"Box Elder Utah Land Conveyance<br>Act\" and dated July 14, 2008. Requires the town to use the land conveyed under this Act<br>for public purposes."],["To authorize the Secretary, in cooperation with the City of San Juan Capistrano,<br>California, to participate in the design, planning, and construction of an advanced water<br>treatment plant facility and recycled water system, and for other purposes.","HR637","South Orange County Recycled Water Enhancement Act - Amends the Reclamation Wastewater and<br>Groundwater Study and Facilities Act to authorize the Secretary of the Interior, in<br>cooperation with: (1) the city of San Juan Capistrano, California, to participate in the<br>design, planning, and construction of an advanced water treatment plant facility and<br>recycled water system; and (2) the city of San Clemente, California, to participate in the<br>design, planning, and construction of a project to expand..."],["Supporting the goals and ideals of Peace Officers Memorial Day.","HRES47","Expresses support for the goals of Peace Officers Memorial Day to honor federal, state,<br>and local peace officers killed or disabled in the line of duty."],["Raising a question of the privileges of the House.","HRES189","Instructs the House Committee on Standards of Official Conduct, or a designated<br>subcommittee, to investigate and report to the House on the relationship between earmark<br>requests already made by Members and the source and timing of past campaign contributions."],["Expressing condolences to the families, friends, and loved ones of the victims of the<br>crash of Continental Connection Flight 3407, and for other purposes.","HRES183","Expresses the condolences of the House of Representatives to the families, friends, and<br>loved ones of the victims of the crash of Continental Connection Flight 3407. Honors those<br>who lost their lives, and expresses sympathies to the people of Clarence Center, the<br>entire state of New York, and the nation who grieve for the victims. Commends the heroic<br>actions of the first responders, emergency services personnel, and air traffic<br>controllers. Commends the hundreds of volunteers who worked toget..."],["To assist citizens, public and private institutions, and governments at all levels in<br>planning, interpreting, and protecting sites where historic battles were fought on<br>American soil during the armed conflicts that shaped the growth and development of the<br>United States, and for other purposes.","HR548","Civil War Battlefield Preservation Act of 2009 - Directs the Secretary of the Interior,<br>acting through the American Battlefield Protection Program, to assist and work in<br>partnership with citizens, federal, state, local, and tribal governments, other public<br>entities, educational institutions, and private nonprofits in the identification,<br>research, evaluation, interpretation, and protection of historic battlefields and<br>associated sites. Establishes a battlefield acquisition grant program under ..."],["Congratulating the University of Mary Washington in Fredericksburg, Virginia, for more<br>than 100 years of service and leadership to the United States.","HRES77","Congratulates the University of Mary Washington in Fredericksburg, Virginia, for more than<br>100 years of leadership and service."],["Recognizing and honoring the employees of the Department of Homeland Security on its sixth<br>anniversary for their continuous efforts to keep the Nation safe.","HRES195","Recognizes the employees of the Department of Homeland Security (DHS) on its sixth<br>anniversary for their continuous efforts to keep the nation safe."],["Raising awareness and promoting education on the criminal justice system by establishing<br>March as \"National Criminal Justice Month\".","HRES45","Urges policymakers, criminal justice officials, educators, victim service providers,<br>nonprofits, community leaders, and others to promote awareness of how to prevent and<br>respond to crime through National Criminal Justice Month."],["Raising a question of the privileges of the House.","HRES212","Requires the House Committee on Standards of Official Conduct, or a designated<br>investigative subcommittee, to begin immediately an investigation and report to the House<br>on the relationship between: (1) earmark requests on behalf of clients of the raided top<br>defense-lobbying firm already made by Members; and (2) the source and timing of past<br>campaign contributions related to such requests."],["Congratulating the National Assessment Governing Board on its 20th Anniversary in<br>measuring student academic achievement.","HRES222","Congratulates the National Assessment Governing Board (an independent, bipartisan board<br>which sets policy for the National Assessment of Educational Progress) on its 20th<br>anniversary in measuring student academic achievement. Recognizes past and present members<br>of the Board for their service improving elementary and secondary education."],["To establish the Ronald Reagan Centennial Commission.","HR131","Ronald Reagan Centennial Commission Act - Establishes the Ronald Reagan Centennial<br>Commission to: (1) plan and carry out activities to honor Ronald Reagan on the occasion of<br>the 100th anniversary of his birth; (2) provide assistance to governmental agencies and<br>civic groups to carry out such activities; and (3) develop other federal activities to<br>honor Ronald Reagan. Prohibits the obligation of federal funds to carry out this Act."],["Raising a question of the privileges of the House.","HRES228","Requires the House Committee on Standards of Official Conduct, or a designated<br>investigative subcommittee, to begin immediately an investigation and report to the House<br>on the relationship between: (1) FY2009 earmark requests on behalf of clients of the<br>raided top defense-lobbying firm already made by Members; and (2) the source and timing of<br>past campaign contributions related to such requests."],["Recognizing and commending the National Aeronautics and Space Administration (NASA), the<br>Jet Propulsion Laboratory (JPL), and Cornell University for the success of the Mars<br>Exploration Rovers, Spirit and Opportunity, on the 5th anniversary of the Rovers'<br>successful landing.","HRES67","Commends the engineers, scientists, and technicians of the Jet Propulsion Laboratory (JPL)<br>of the National Aeronautics and Space Administration (NASA) and Cornell University for<br>their successful execution and continued operation of the Mars Exploration Rovers, Spirit<br>and Opportunity, and recognizes the significant scientific contributions of the Mars<br>Exploration Rovers."],["Calling on the central authority of Brazil to immediately discharge all its duties under<br>the Hague Convention by facilitating and supporting Federal judicial proceedings as a<br>matter of extreme urgency to obtain the return of Sean Goldman to his father, David<br>Goldman, for immediate return to the United States.","HRES125","Calls on Brazil to discharge its duties under the Hague Convention to bring about Sean<br>Goldman's return to his father David Goldman in the United States. Urges countries<br>determined by the Department of State to have issues of non-compliance with the Convention<br>to fulfill their obligations. Calls on all other nations to join the Convention and to<br>establish procedures to address the tragedy of child abductions. Expresses the sense of<br>the House of Representatives that the United States should: (..."],["To designate the facility of the United States Postal Service located at 15455 Manchester<br>Road in Ballwin, Missouri, as the \"Specialist Peter J. Navarro Post Office Building\".","HR1217","Designates the facility of the United States Postal Service located at 15455 Manchester<br>Road in Ballwin, Missouri, as the \"Specialist Peter J. Navarro Post Office Building.\""],["To establish a pilot program in certain United States district courts to encourage<br>enhancement of expertise in patent cases among district judges.","HR628","Establishes a pilot program in certain U.S. district courts under which: (1) those<br>district judges who request to hear cases involving patent or plant variety protection<br>issues are designated by the chief judge to hear them; (2) such cases are randomly<br>assigned to the district court judges, regardless of whether they are designated; (3) a<br>judge not designated to whom such a case is assigned may decline to accept the case; and<br>(4) a case so declined is randomly reassigned to one of those judge..."],["Raising a question of the privileges of the House.","HRES265","Requires the House Committee on Standards of Official Conduct, or a designated<br>investigative subcommittee, to begin immediately an investigation and report to the House<br>on the relationship between: (1) the source and timing of past campaign contributions to<br>Members of the House related to Paul Magliocchetti, founder of the raided prominent<br>defense-lobbying firm; and (2) earmark requests made by Members on behalf of the firm's<br>clients."],["Recognizing the 188th anniversary of the independence of Greece and celebrating Greek and<br>American democracy.","HRES273","Congratulates the Greek people as they celebrate the 188th anniversary of Greece's<br>independence. Supports the principles of democratic governance to which the people of<br>Greece are committed. Notes the important role that Greece has played in the wider<br>European region and in the community of nations."],["Raising a question of the privileges of the House.","HRES286","Requires the House Committee on Standards of Official Conduct, or a designated<br>investigative subcommittee, to begin immediately an investigation and report to the House<br>on the relationship between: (1) the source and timing of past contributions to Members of<br>the House related to the raided prominent defense-lobbying firm; and (2) earmark requests<br>made by Members on behalf of the firm's clients."],["Raising a question of the privileges of the House.","HRES295","Requires the House Committee on Standards of Official Conduct, or a designated<br>investigative subcommittee, to begin immediately an investigation and report to the House<br>on the relationship between: (1) the source and timing of past campaign contributions to<br>Members of the House related to the raided prominent defense-lobbying firm; and (2)<br>earmark requests made by Members on behalf of the firm's clients."],["To amend the Federal Food, Drug, and Cosmetic Act with respect to the distribution of the<br>drug dextromethorphan, and for other purposes.","HR1259","Dextromethorphan Distribution Act of 2009 - Amends the Federal Food, Drug, and Cosmetic<br>Act to deem to be adulterated any unfinished dextromethorphan that is possessed, received,<br>or distributed in violation of this Act. Prohibits a person from: (1) possessing or<br>receiving unfinished dextromethorphan unless the person is registered with the Secretary<br>of Health and Human Services as a producer of a drug or device or otherwise registered,<br>licensed, or approved pursuant to federal or state law to..."],["Recognizing the 30th anniversary of the peace treaty between Egypt and Israel.","HRES282","Recognizes the 30th anniversary of the peace treaty between Egypt and Israel and commends<br>the extraordinary diplomatic achievement that the treaty exemplifies. Urges the<br>governments of Egypt and Israel to strengthen the spirit of cooperation that emerged in<br>1979 as the Middle East faces new challenges. Encourages continued U.S. efforts to<br>mitigate threats to a lasting Middle East peace. Calls for: (1) strengthening Egypt-Israel<br>economic, diplomatic, and cultural relations; and (2) recognition..."],["To require that limitations and restrictions on coverage under group health plans be<br>timely disclosed to group health plan sponsors and timely communicated to participants and<br>beneficiaries under such plans in a form that is easily understandable.","HR1253","Health Insurance Restrictions and Limitations Clarification Act of 2009 - Amends the<br>Employee Retirement Income Security Act (ERISA), the Public Health Service Act, and the<br>Internal Revenue Code to exclude a group health plan from prohibitions against limitations<br>or restrictions on the amount, level, extent, or nature of the benefits of coverage for<br>similarly situated individuals enrolled in the plan so long as: (1) such limitations and<br>restrictions are explicit and clear; (2) such limitation..."],["Raising a question of the privileges of the House.","HRES312","Requires the House Committee on Standards of Official Conduct, or a designated<br>subcommittee, to investigate immediately, for a report to the House within two months on,<br>the relationship between: (1) the source and timing of past campaign contributions to<br>Members of the House related to a certain raided defense-lobbying firm; and (2) earmark<br>requests made by Members on behalf of the firm's clients."],["To make amendments to the Reclamation Projects Authorization and Adjustment Act of 1992.","HR1219","Lake Hodges Surface Water Improvement and Reclamation Act of 2009 - Amends the Reclamation<br>Wastewater and Groundwater Study and Facilities Act to authorize the Secretary of the<br>Interior, in cooperation with the Olivenhain Municipal Water District, California, to<br>participate in the design, planning, and construction of projects to treat, reclaim, and<br>reuse impaired surface water from Lake Hodges in San Diego County, California. Limits the<br>federal share to 25% of the total project costs. Prohib..."],["To authorize higher education curriculum development and graduate training in advanced<br>energy and green building technologies.","HR957","Green Energy Education Act of 2009 - Authorizes the Secretary of Energy to contribute<br>energy research and development funds to the National Science Foundation (NSF) for the<br>Integrative Graduate Education and Research Traineeship program to support graduate<br>education related to such energy projects. Authorizes the Secretary to contribute funds<br>for advanced energy technology research and development for high performance buildings to<br>the NSF for curriculum development to improve undergraduate or..."],["Supporting the goals and ideals of National Volunteer Week.","HRES335","Supports the goals and ideals of National Volunteer Week. Recognizes the critical role of<br>our national and community service programs. Honors the contributions of all those hard-<br>working American volunteers who make a difference in their communities every day of the<br>year. Invites all Americans to answer the call to serve through volunteerism in any form."],["To designate the facility of the United States Postal Service located at 3245 Latta Road<br>in Rochester, New York, as the \"Brian K. Schramm Post Office Building\".","HR1595","Designates the facility of the United States Postal Service located at 3245 Latta Road in<br>Rochester, New York, as the \"Brian K. Schramm Post Office Building.\""],["To provide for payment of an administrative fee to public housing agencies to cover the<br>costs of administering family self-sufficiency programs in connection with the housing<br>choice voucher program of the Department of Housing and Urban Development.","HR46","Family Self-Sufficiency Act of 2009 - Amends the United States Housing Act of 1937 to<br>revise requirements for the administrative fee payable to public housing agencies to cover<br>the costs of administering family self-sufficiency programs in connection with the housing<br>choice voucher program of the Department of Housing and Urban Development.Prescribes: (1)<br>a base fee for a public housing agency serving 25 or more program participants equal to<br>the costs of employing one full-time family self-su..."],["Recognizing the 61st anniversary of the independence of the State of Israel.","HCONRES111","Recognizes Israel's independence as a significant event in providing refuge and a national<br>homeland for the Jewish people and congratulates Israel's people as they celebrate the<br>61st anniversary of Israel's independence. Commends the bipartisan commitment of all U.S.<br>administrations and congresses since 1948 to stand by Israel and work for its security and<br>well-being. Congratulates the United States and Israel for the strengthening of bilateral<br>relations in the fields of defense, diplomacy, a..."],["Supporting the goals and ideals of \"IEEE Engineering the Future\" Day on May 13, 2009, and<br>for other purposes.","HRES413","Recognizes the importance of engineering and technology to meeting the nation's most<br>pressing challenges. Congratulates IEEE (the Institute of Electrical and Electronics<br>Engineers) on its 125th anniversary. Supports the goals and ideals of IEEE Engineering the<br>Future Day on May 13, 2009."],["Recognizing the 30th anniversary of the election of Margaret Thatcher as the first female<br>Prime Minister of Great Britain.","HRES378","Acknowledges the 30th anniversary of the election of Margaret Thatcher as the first female<br>Prime Minister of Great Britain and pays tribute to her remarkable professional<br>achievements. Recognizes Prime Minister Thatcher's work in promoting individual rights and<br>free markets. Expresses appreciation for the strong diplomatic relationship between the<br>United States and Great Britain fostered by Prime Minister Thatcher."],["Supporting the goals and objectives of a National Military Appreciation Month.","HCONRES84","Supports the goals and objectives of a National Military Appreciation Month. Urges the<br>President to issue a proclamation calling on the people of the United States, all federal<br>departments and agencies, states, localities, organizations, and media to annually observe<br>a National Military Appreciation Month with appropriate ceremonies and activities."],["Congratulating the American Dental Association for its 150th year of working to improve<br>the public's oral health and promoting dentistry, supporting initiatives to improve access<br>to oral health care services for all Americans, and emphasizing the benefits of prevention<br>of disease through support of community prevention initiatives and promotion of good oral<br>hygiene.","HRES204","Congratulates the American Dental Association for its 150th anniversary. Commends its work<br>to improve oral health and access to oral health care. Recognizes the dentists who provide<br>charitable and uncompensated oral health care."],["Recognizing Armed Forces Day and the exemplary service of the members of the United States<br>Armed Forces.","HRES377","Honors and recognizes, on the occasion of Armed Forces Day 2009, the service and sacrifice<br>of members of the Armed Forces and their families. Remains committed to supporting such<br>members and families. Encourages Americans to show their support and appreciation for such<br>members on Armed Forces Day. Commends the actions of private citizens and organizations<br>who volunteer to support America's wounded warriors. Expresses gratitude to such members<br>for their service on behalf of the United States."],["Congratulating Camp Dudley YMCA of Westport, New York, on the occasion of its 125th<br>anniversary.","HRES300","Congratulates Camp Dudley YMCA of Westport, New York, on its 125th anniversary. Recognizes<br>its current staff, campers, and alumni for their contributions to their community."],["Urging all Americans and people of all nationalities to visit the national cemeteries,<br>memorials, and markers on Memorial Day.","HRES360","Urges Americans and people of all nationalities to visit the national cemeteries,<br>memorials and markers on Memorial Day, where the spirit of American generosity, sacrifice,<br>and courage are displayed and commemorated."],["Recognizing May 25, 2009, as National Missing Children's Day.","HRES297","Recognizes: (1) National Missing Children's Day; and (2) that one of the most important<br>tools for law enforcement to use in the case of a missing child is an up-to-date, good<br>quality photograph (and urges all parents and guardians to follow this precaution).<br>Acknowledges that National Missing Children's Day should remind Americans not to forget<br>the children who are still missing and not to waver in the effort to reunite them with<br>their families."],["Recognizing and commending the Great Smoky Mountains National Park on its 75th year<br>anniversary.","HRES421","Congratulates the Great Smoky Mountains National Park on its 75th anniversary. Commends<br>the Great Smoky Mountains National Park and the National Park Service (NPS) for 75 years<br>of successful management and preservation of the Park's land. Commends the citizens of<br>east Tennessee and western North Carolina for their vision and sacrifice in bringing the<br>Great Smoky Mountains National Park into being."],["To designate the facility of the United States Postal Service located at 116 North West<br>Street in Somerville, Tennessee, as the \"John S. Wilder Post Office Building\".","HR1817","Designates the facility of the United States Postal Service located at 116 North West<br>Street in Somerville, Tennessee, as the \"John S. Wilder Post Office Building.\""],["Congratulating the University of Tennessee women's basketball team (the \"Lady Vols\") and<br>Head Coach Pat Summitt on her 1000th victory.","HRES196","Congratulates the University of Tennessee women's basketball team (the Lady Vols) and Head<br>Coach Pat Summitt on her 1000th victory."],["Celebrating the symbol of the United States flag and supporting the goals and ideals of<br>Flag Day.","HRES420","Celebrates the U.S. flag. Expresses support for the goals and ideals of Flag Day."],["Recognizing the 25th anniversary of the National Center for Missing and Exploited<br>Children.","HRES454","Recognizes the 25th anniversary of the National Center for Missing and Exploited Children."],["To designate the facility of the United States Postal Service located at 19190 Cochran<br>Boulevard FRNT in Port Charlotte, Florida, as the \"Lieutenant Commander Roy H. Boehm Post<br>Office Building\".","HR2470","Designates the facility of the United States Postal Service located at 19190 Cochran<br>Boulevard FRNT in Port Charlotte, Florida, as the \"Lieutenant Commander Roy H. Boehm Post<br>Office Building.\""],["To amend the Elementary and Secondary Education Act of 1965 to promote the safe use of the<br>Internet by students, and for other purposes.","HR780","Student Internet Safety Act of 2009 - Amends the Elementary and Secondary Education Act of<br>1965 to allow local educational agencies to use state subgrants under the Enhancing<br>Education through Technology program and the Safe and Drug-Free Schools and Communities<br>program to develop and implement programs promoting safe internet use by students.<br>Includes among such programs, those that: (1) educate students about appropriate online<br>behavior; (2) protect students against online predators, cyberb..."],["To direct the Secretary of Veterans Affairs to include on the Internet website of the<br>Department of Veterans Affairs a list of organizations that provide scholarships to<br>veterans and their survivors.","HR1172","Directs the Secretary of Veterans Affairs (VA) to include on the VA Internet website: (1)<br>a list of organizations that provide scholarships to veterans and their survivors and, for<br>each such organization, a link to their Internet website; (2) a statement that such list<br>is not all-inclusive of scholarships available to veterans and their survivors; and (3) a<br>statement that the Secretary has not verified information on the organizations' websites,<br>and that the Secretary does not endorse any off..."],["To require the Secretary of the Interior to conduct a study on the feasibility and<br>suitability of constructing a storage reservoir, outlet works, and a delivery system for<br>the Tule River Indian Tribe of the Tule River Reservation in the State of California to<br>provide a water supply for domestic, municipal, industrial, and agricultural purposes, and<br>for other purposes.","HR1945","Tule River Tribe Water Development Act - Directs the Secretary of the Interior, acting<br>through the Commissioner of Reclamation, to complete and report to specified congressional<br>committees on a feasibility study to evaluate alternatives for the provision of a<br>domestic, commercial, municipal, industrial, and irrigation water supply for the Tule<br>River Tribe of the Tule River Reservation, California. Authorizes appropriations.Prohibits<br>any project constructed relating to that study from providin..."],["Directing the Architect of the Capitol to engrave the Pledge of Allegiance to the Flag and<br>the National Motto of \"In God We Trust\" in the Capitol Visitor Center.","HCONRES131","Requires the Architect of the Capitol (AOC) to engrave the Pledge of Allegiance to the<br>Flag and the National Motto of \"In God we trust\" in the Capitol Visitor Center, in<br>accordance with an engraving plan setting forth the design and location of such engraving<br>which is prepared by the AOC and approved by the House Committee on House Administration<br>and the Senate Committee on Rules and Administration."],["Honoring the life of Wayman Lawrence Tisdale and expressing the condolences of the House<br>of Representatives on his passing.","HRES469","Expresses the condolences of the House of Representatives on the death of Wayman Lawrence<br>Tisdale."],["To designate the Department of Veterans Affairs Outpatient Clinic in Knoxville, Tennessee,<br>as the \"William C. Tallent Department of Veterans Affairs Outpatient Clinic\".","HR402","Designates the Department of Veterans Affairs Outpatient Clinic in Knoxville, Tennessee,<br>as the \"William C. Tallent Department of Veterans Affairs Outpatient Clinic.\""],["To validate final patent number 27-2005-0081, and for other purposes.","HR762","Affirms and validates a specified patent and its associated land reconfiguration issued by<br>the Bureau of Land Management (BLM) as having been issued in compliance with the Nevada-<br>Florida Land Exchange Authorization Act of 1988, the National Environmental Policy Act of<br>1969, and the Federal Land Policy Management Act of 1976 for the benefit and recovery of<br>the desert tortoise and other species and their habitat. Ratifies: (1) the process used by<br>the U.S. Fish and Wildlife Service and the BLM f..."],["To authorize the conveyance of certain National Forest System lands in the Los Padres<br>National Forest in California.","HR129","Authorizes the Secretary of Agriculture, if the White Lotus Foundation in Santa Barbara,<br>California, offers to convey to the Secretary a parcel of non-federal land that is<br>acceptable to the Secretary and the Secretary accepts the offer, to convey approximately<br>five acres of certain identified National Forest System land (the federal land) in Santa<br>Barbara County to the Foundation. Subjects the land exchange to provisions under the<br>Federal Land Policy and Management Act of 1976 related to exch..."],["To provide for the conveyance of certain Bureau of Land Management land in the State of<br>Nevada to the Las Vegas Motor Speedway, and for other purposes.","HR409","Provides for the conveyance of certain Bureau of Land Management (BLM) land in Nevada to<br>the Nevada Speedway, LLC. Requires the Secretary of the Interior to complete an appraisal<br>of the land and all costs associated with such appraisal to be paid by Nevada Speedway,<br>LLC. Requires: (1) Nevada Speedway, LLC, to pay to the Secretary of the Interior the<br>appraised value of the land; and (2) any costs of the conveyance to be paid by Nevada<br>Speedway, LLC. Reverts the conveyed land to the United Stat..."],["Celebrating the Fortieth Anniversary of the Apollo 11 Moon Landing.","HRES607","Celebrates the 40th Anniversary of the Apollo 11 lunar landing. Honors the crew of the<br>Apollo 11 mission: Neil Armstrong, \"Buzz\" Aldrin, and Michael Collins. Commends all those<br>individuals and organizations who contributed to this historic achievement."],["To provide for a program of research, development, and demonstration on natural gas<br>vehicles.","HR1622","Directs the Secretary of Energy (DOE) to: (1) conduct a five-year program of natural gas<br>vehicle research, development, and demonstration; (2) coordinate with the Administrator of<br>the Environmental Protection Agency (EPA) regarding such program; (3) coordinate with the<br>natural gas vehicle industry to ensure cooperation between the public and the private<br>sector; and (4) report to Congress on implementing such program. Includes among program<br>objectives: (1) the continued improvement and develop..."],["Recognizing the establishment of Hunters for the Hungry programs across the United States<br>and the contributions of those programs efforts to decrease hunger and help feed those in<br>need.","HRES270","Recognizes: (1) the cooperative efforts of hunters, sportsmen's associations, meat<br>processors, state meat inspectors, and hunger relief organizations to establish Hunters<br>for the Hungry programs across the United States; and (2) the contributions of Hunters for<br>the Hungry programs to decrease hunger and help feed those in need."],["Recognizing the historical and national significance of the many contributions of John<br>William Heisman to the sport of football.","HCONRES123","Recognizes the significance and contributions of John Heisman on the development of<br>football. Praises Heisman's efforts in helping to establish the most valuable player award<br>for college football. Acknowledges Heisman's innovative and influential coaching<br>techniques and strategies and his leadership."],["Raising a question of the privileges of the House.","HRES667","Requires the House Committee on Standards of Official Conduct to immediately establish an<br>investigative subcommittee and begin an investigation into the relationship between: (1)<br>the source and timing of past campaign contributions to Members of the House related to<br>the raided prominent defense-lobbying firm; and (2) earmark requests made by Members on<br>behalf of the firm's clients."],["To designate the facility of the United States Postal Service located at 115 West Edward<br>Street in Erath, Louisiana, as the \"Conrad DeRouen, Jr. Post Office\".","HR2972","Designates the facility of the United States Postal Service located at 115 West Edward<br>Street in Erath, Louisiana, as the \"Conrad DeRouen, Jr. Post Office.\""],["To authorize a land exchange to acquire lands for the Blue Ridge Parkway from the Town of<br>Blowing Rock, North Carolina, and for other purposes.","HR1121","Blue Ridge Parkway and Town of Blowing Rock Land Exchange Act of 2009 - Authorizes the<br>Secretary of the Interior to exchange approximately 20 acres of land within the boundary<br>of the Blue Ridge Parkway, identified as Blowing Rock Reservoir, for approximately 192<br>acres of land owned by the town of Blowing Rock in North Carolina. Permits the<br>equalization of the values of the lands proposed for exchange to be achieved by an<br>adjustment to their acreage if they are found to be not equal in value. ..."],["To amend title 38, United States Code, to provide for an increase in the amount payable by<br>the Secretary of Veterans Affairs to veterans for improvements and structural alterations<br>furnished as part of home health services.","HR1293","Disabled Veterans Home Improvement and Structural Alteration Grant Increase Act of 2009 -<br>Increases from: (1) $4,100 to $6,800 the amount authorized to be paid by the Department of<br>Veterans Affairs (VA) for improvements and structural alterations for homes of veterans<br>with service-connected disabilities of 50% or more; and (2) $1,200 to $2,000 the amount<br>authorized for such purpose for veterans with service-connected disabilities of less than<br>50%, and certain other veterans."],["To reauthorize the Marine Turtle Conservation Act of 2004.","HR509","Marine Turtle Conservation Reauthorization Act of 2009 - Expands marine turtle<br>conservation assistance under the Marine Turtle Conservation Act of 2004 to include the<br>United States and its territories. Authorizes appropriations to the Marine Turtle<br>Conservation Fund for FY2009-FY2014. Authorizes an increase in the amount available from<br>the Fund for administrative expenses. Limits funds made available for projects relating to<br>the conservation of marine turtles in the United States to no more t..."],["Congratulating the Louisiana State University baseball team for winning the 2009 National<br>Collegiate Athletic Association Division I College World Series.","HRES616","Commends the Louisiana State University (LSU) Tigers baseball team for winning the 2009<br>College World Series."],["Raising a question of the privileges of the House.","HRES690","Declares that the House of Representatives views with disapproval the failure of the<br>Democratic Members of the Franking Commission to ensure that the Commission's Democratic<br>staff carries out its important responsibilities in a professional, fair, and impartial<br>manner."],["Recognizing the 20th anniversary of the fall of the Berlin Wall.","HRES496","Recognizes the 20th anniversary of the fall of the Berlin Wall. Celebrates 20 years of<br>freedom from the bondage of communism with the people of the former communist countries.<br>Acknowledges the symbolic triumph of democracy over communism."],["To direct the Secretary of the Interior, acting through the Bureau of Reclamation, to<br>remedy problems caused by a collapsed drainage tunnel in Leadville, Colorado, and for<br>other purposes.","HR3123","Leadville Mine Drainage Tunnel Remediation Act of 2009 - Amends the Reclamation Projects<br>Authorization and Adjustment Act of 1992 to repeal a provision requiring construction of a<br>water treatment plant to treat effluent discharged from the Leadville Mine Drainage<br>Tunnel, Colorado.Directs the Secretary of the Interior to participate in the<br>implementation of the operable unit 6 remedy for the California Gulch Superfund Site,<br>including, but not limited to, the following actions: (1) treating wat..."],["Supporting the goals and ideals of senior caregiving and affordability.","HCONRES59","Declares that Congress: (1) recognizes caregiving as a profession; (2) supports the<br>private home car industry and the efforts of family caregivers nationwide by encouraging<br>individuals to provide care to family, friends, and neighbors; (3) encourages accessible<br>and affordable care for seniors; (4) reviews federal policies and supports current federal<br>programs which address the needs of seniors and their family caregivers; and (5)<br>encourages the Secretary of Health and Human Services to contin..."],["To amend chapter 89 of title 5, United States Code, to allow the United States Postal<br>Service to pay its share of contributions for annuitants' health benefits out of the<br>Postal Service Retiree Health Benefits Fund.","HR22","United States Postal Service Financial Relief Act of 2009 - Reduces the amount the United<br>States Postal Service must pay into the Postal Service Retiree Health Benefits Fund by<br>September 30, 2009, from $5.4 billion to $1.4 billion."],["To amend title 39, United States Code, to provide clarification relating to the authority<br>of the United States Postal Service to accept donations as an additional source of funding<br>for commemorative plaques.","HR3137","Allows the United States Postal Service (USPS) to accept monetary donations for the<br>funding of plaques in connection with the commemorative designation of postal facilities.<br>Requires the USPS to provide for a plaque after a law has been enacted for such<br>designation and sufficient amounts have been received. Allows, with the donor's consent,<br>use of amounts received in excess of those needed for funding a plaque for any other such<br>designated facility. Prohibits construing this Act to: (1) affec..."],["To designate the facility of the United States Postal Service located at 140 Merriman Road<br>in Garden City, Michigan, as the \"John J. Shivnen Post Office Building\".","HR2215","Designates the facility of the United States Postal Service located at 140 Merriman Road<br>in Garden City, Michigan, as the \"John J. Shivnen Post Office Building.\""],["Acknowledging and congratulating Western Wyoming Community College in Southwest Wyoming on<br>the occasion of its 50th anniversary of service to the students and citizens of the State<br>of Wyoming.","HRES696","Congratulates Western Wyoming Community College in Southwest Wyoming on the occasion of<br>its 50th anniversary of service to the students and citizens of Wyoming."],["Expressing support for designation of September 23, 2009, as \"National Job Corps Day\".","HCONRES163","Supports the designation of National Job Corps Day. Encourages state and local governments<br>to observe the day with appropriate activities that promote Job Corps awareness."],["To require the Office of Management and Budget to prepare a crosscut budget for<br>restoration activities in the Chesapeake Bay watershed, to require the Environmental<br>Protection Agency to develop and implement an adaptive management plan, and for other<br>purposes.","HR1053","Chesapeake Bay Accountability and Recovery Act of 2009 - Requires the Director of the<br>Office of Management and Budget (OMB), in consultation with the Chesapeake Executive<br>Council, the chief executive of each Chesapeake Bay state, and the Chesapeake Bay<br>Commission, to submit to Congress a financial report containing: (1) an interagency<br>crosscut budget for restoration activities that protect, conserve, or restore living<br>resources, habitat, water resources, or water quality in the Chesapeake Bay..."],["Recognizing the 100th anniversary of the State News at Michigan State University.","HRES487","Recognizes the 100th anniversary of the State News, Michigan State University's student<br>run newspaper."],["Raising a question of the privileges of the House.","HRES805","Removes Representative Rangel as chairman of the Committee on Ways and Means pending<br>completion of the investigation into his affairs by the Committee on Standards of Official<br>Conduct."],["Honoring the people of Shanksville, Pennsylvania, and the Flight 93 Ambassadors for their<br>efforts in creating the Flight 93 temporary memorial and encouraging the completion of the<br>National Park Service Flight 93 National Memorial by the 10th anniversary of September 11,<br>2001.","HRES795","Honors the Shanksville, Pennsylvania, community and Flight 93 Ambassadors for: (1) their<br>foresight, dedication, and leadership in protecting the Flight 93 temporary memorial; and<br>(2) their efforts to establish a permanent national memorial to Flight 93. Encourages the<br>Secretary of the Interior and the National Park Service to complete the Flight 93 National<br>Memorial, as authorized by the Flight 93 National Memorial Act, by the 10th anniversary of<br>the September 11th attacks."],["Recognizing that country music has made a tremendous contribution to American life and<br>culture and declaring country music to be a uniquely American art form.","HRES650","Declares country music to be a uniquely American art form. Recognizes that country music<br>should be honored for its contributions to American life and culture."],["To reauthorize the Delaware Water Gap National Recreation Area Citizen Advisory<br>Commission.","HR3476","Amends Public Law 100-573 (relating to the establishment of the Delaware Water Gap<br>National Recreation Area Citizens Advisory Commission) to terminate the Commission 30<br>years after the enactment of such law. Deems this Act to have taken effect on October 30,<br>2008."],["To designate the facility of the United States Postal Service located at 440 South Gulling<br>Street in Portola, California, as the \"Army Specialist Jeremiah Paul McCleery Post Office<br>Building\".","HR3319","Designates the facility of the United States Postal Service located at 440 South Gulling<br>Street in Portola, California, as the \"Army Specialist Jeremiah Paul McCleery Post Office<br>Building.\""],["Supporting the increased understanding of, and interest in, computer science and computing<br>careers among the public and in schools, and to ensure an ample and diverse future<br>technology workforce through the designation of National Computer Science Education Week.","HRES558","Supports the designation of the week of December 7 as National Computer Science Education<br>Week. Encourages: (1) identification by schools, teachers, researchers, universities, and<br>policymakers of mechanisms for teachers to receive cutting edge professional development<br>so that they can provide sustainable learning experiences in computer science; (2)<br>exposure of students to computer science concepts; and (3) opportunities for females and<br>underrepresented minorities in computer science. Support..."],["Recognizing Kentucky Wesleyan College for over 150 years of service as an institution of<br>higher education.","HRES837","Recognizes Kentucky Wesleyan College for over 150 years of service, and thanks it for the<br>valuable education it has provided to students."],["A concurrent resolution authorizing the use of the rotunda of the Capitol for the<br>presentation of the Congressional Gold Medal to former Senator Edward Brooke.","SCONRES43","Authorizes the use of the Capitol rotunda on October 28, 2009, for the presentation of the<br>Congressional Gold Medal to former Senator Edward Brooke."],["Condemning the Government of Iran for its state-sponsored persecution of its Baha'i<br>minority and its continued violation of the International Covenants on Human Rights.","HRES175","Condemns the government of Iran for its state-sponsored persecution of its Baha'i minority<br>and its continued violation of the International Covenants on Human Rights. Calls on the<br>government of Iran to release the seven leaders and all other prisoners held on account of<br>their religion, including: Mrs. Fariba Kamalabadi, Mr. Jamaloddin Khanjani, Mr. Afif<br>Naeimi, Mr. Saeid Rezaie, Mr. Behrouz Tavakkoli, Mrs. Mahvash Sabet, Mr. Vahid Tizfahm,<br>Ms. Raha Sabet, Mr. Sasan Taqva, and Ms. Haleh Roohi...."],["Expressing support for Teen Read Week.","HRES836","Supports the goals and ideals of Teen Read Week. Recognizes that it is important for teens<br>to be taught to read proficiently. Encourages teens to read for leisure and academic<br>purposes."],["Recognizing Weber State University for the 120th anniversary of its founding as an<br>institution of higher education.","HRES854","Congratulates Weber State University on the 120th anniversary of its founding as an<br>institution of higher education. Recognizes the contributions of Weber State to its<br>students and community."],["Welcoming to the United States and to Washington, DC, His All Holiness Bartholomew,<br>Archbishop of Constantinople, New Rome, Ecumenical Patriarch on his upcoming trip on<br>October 20, 2009, through November 6, 2009.","HRES838","Welcomes to the United States and to Washington, DC, His All Holiness Bartholomew,<br>Archbishop of Constantinople, New Rome, Ecumenical Patriarch, and recognizes the<br>importance to the United States and the world of the Ecumenical Patriarch's recent<br>environmental seminar conducted on the Mississippi River with some of the world's leading<br>environment experts. Recognizes the importance to the United States and to the world of<br>Ecumenical Patriarch Bartholomew's leadership on matters of environment,..."],["Recognizing Hispanic Heritage Month and celebrating the vast contributions of Hispanic<br>Americans to the strength and culture of the United States.","HRES783","Recognizes Hispanic Heritage Month and celebrates the vast contributions of Hispanic-<br>Americans to the strength and culture of the United States."],["Expressing support for designation of a \"National Firefighters Memorial Day\" to honor and<br>celebrate the firefighters of the United States.","HRES729","Urges the President to designate National Firefighters Memorial Day to commemorate<br>firefighters killed or disabled in the line of duty."],["To amend chapter 42 of title 38, United States Code, to provide certain veterans with<br>employment training assistance.","HR1168","Veterans Retraining Act of 2009 - Authorizes the Secretary of Labor to pay to each covered<br>veteran an assistance allowance for each month such veteran is enrolled in an employment<br>and training program that teaches a skill in demand, as determined the Secretary. Limits<br>such assistance to six months for each 10-year period. Includes as a covered veteran one<br>who is: (1) unemployed for at least four consecutive months before applying for such<br>assistance; (2) able to successfully complete the prog..."],["Recognizing the 60th anniversary of the Berlin Airlift's success.","HRES398","Recognizes the 60th anniversary of the Berlin Airlift (humanitarian airlift operation) and<br>commends all of the operation's U.S. veterans for their valor and determination. Honors<br>the veterans of the Airlift who lost their lives during the operation. Commends the spirit<br>of collaboration which characterized the operation, involving both military and civilian<br>aircraft and crews. Honors the men and women of the military whose dedication upholds the<br>legacy of the U.S. Armed Forces."],["Calling on the President and the Secretary of State to oppose unequivocally any<br>endorsement or further consideration of the \"Report of the United Nations Fact Finding<br>Mission on the Gaza Conflict\" in multilateral fora.","HRES867","Considers the \"Report of the United Nations Fact Finding Mission on the Gaza Conflict\"<br>(Goldstone Report) to be biased and unworthy of further consideration or legitimacy.<br>Supports the Administration's efforts to combat anti-Israel bias at the United Nations<br>(U.N.). Calls on the President and the Secretary of State to oppose any endorsement of the<br>Report in multilateral fora, including through leading opposition to any U.N. General<br>Assembly resolution and through vetoing any U.N. Security Cou..."],["Honoring President Lincoln's Gettysburg Address on \"Dedication Day\", November 19, 2009.","HRES736","Honors President Lincoln's greatest speech, the Gettysburg Address. Encourages people in<br>the United States to read it on Dedication Day (November 19)."],["Recognizing the 60th anniversary of the founding of Radio Free Europe/Radio Liberty.","HRES641","Recognizes the 60th anniversary of the founding of Radio Free Europe/Radio Liberty<br>(RFE/RL) and honors its contribution to promoting freedom and liberty around the world.<br>Commends the employees and reporters of RFE/RL for their commitment to provide fair and<br>unbiased news to people living under oppressive regimes."],["Congratulating the first graduating class of the United States Air Force Academy on their<br>50th graduation anniversary and recognizing their contributions to the Nation.","HCONRES139","Congratulates the 207 graduates of the first United States Air Force Academy class on the<br>50th anniversary of their graduation. Acknowledges the continued excellence of the Academy<br>and its critical role in the defense of the United States. Recognizes the outstanding<br>service that Academy graduates have provided."],["Recognizing the efforts of career and technical colleges to educate and train workers for<br>positions in high-demand industries.","HRES880","Recognizes the efforts of postsecondary schools offering career and technical education to<br>educate and train workers for positions in high-demand industries. Supports the connection<br>such schools provide between employers and students."],["Expressing support for the goals and ideals of National Family Literacy Day.","HRES878","Expresses the House of Representatives' support for the goals and ideals of National<br>Family Literacy Day. Recognizes the benefits of parental involvement in a child's<br>education."],["To designate the facility of the United States Postal Service located at 3900 Darrow Road<br>in Stow, Ohio, as the \"Corporal Joseph A. Tomci Post Office Building\".","HR3788","Designates the facility of the United States Postal Service located at 3900 Darrow Road in<br>Stow, Ohio, as the \"Corporal Joseph A. Tomci Post Office Building.\""],["To amend the Small Business Act to modify certain provisions relating to women's business<br>centers, and for other purposes.","HR1838","Amends the Small Business Act relating to the women's business centers program to require<br>the Administrator of the Small Business Administration (SBA) to: (1) disburse funds to a<br>women's business center (center) no later than one month after its application is<br>approved; (2) annually publish on the SBA website information on the financing of each<br>center; (3) establish a standardized process to communicate with centers regarding program<br>administration matters; and (4) notify each center of the ..."],["To amend the Small Business Act to modernize Small Business Development Centers, and for<br>other purposes.","HR1845","Small Business Development Centers Modernization Act of 2009 - Amends the Small Business<br>Act relating to small business development centers (SBDCs) (centers established through<br>the Small Business Administration [SBA] to provide advisory, operational, and technical<br>assistance to small businesses) to: (1) require institutions of higher education that are<br>provided SBDC grants to be accredited; (2) require SBDC employee hirings to be at the sole<br>discretion of an SBDC without input or approval fro..."],["Honoring the lives of the brave soldiers and civilians of the United States Army who died<br>or were wounded in the tragic attack of November 5, 2009, at Fort Hood, Texas.","HRES895","Honors the lives of the brave soldiers and civilians of the U.S. Army who died or were<br>wounded in the tragic attack of November 5, 2009, at Fort Hood, Texas."],["To designate the facility of the United States Postal Service located at 170 North Main<br>Street in Smithfield, Utah, as the \"W. Hazen Hillyard Post Office Building\".","HR3767","Designates the facility of the United States Postal Service located at 170 North Main<br>Street in Smithfield, Utah, as the \"W. Hazen Hillyard Post Office Building.\""],["Expressing support for designation of November 29, 2009, as \"Drive Safer Sunday\".","HRES841","Encourages educational institutions, national trucking firms, clergy, law enforcement, and<br>the general public to promote motor vehicle driving safety. Supports the designation of<br>Drive Safer Sunday."],["Expressing the sense of Congress on the occasion of the 20th anniversary of historic<br>events in Central and Eastern Europe, particularly the Velvet Revolution in<br>Czechoslovakia, and reaffirming the bonds of friendship and cooperation between the United<br>States and the Slovak and Czech Republics.","HCONRES212","Recognizes the 20th anniversary of the historic events in Central and Eastern Europe that<br>brought about the collapse of the communist regimes and the fall of the Iron Curtain.<br>Commemorates, with the Slovak Republic and the Czech Republic, the 20th anniversary of the<br>Velvet Revolution in Czechoslovakia. Commends the peoples of the Slovak Republic and the<br>Czech Republic for their achievements over the past 20 years in building free and<br>prosperous societies. Appreciates the contribution of the S..."],["To designate the facility of the United States Postal Service located at 16555 Springs<br>Street in White Springs, Florida, as the \"Clyde L. Hillhouse Post Office Building\".","HR3667","Designates the facility of the United States Postal Service located at 16555 Springs<br>Street in White Springs, Florida, as the \"Clyde L. Hillhouse Post Office Building.\""],["Supporting the goals and ideals of National Military Family Month.","HRES861","Supports the goals and ideals of Military Family Month. Recognizes the sacrifices and<br>dedication of military families and their contributions to the United States."],["Recognizing the importance of teaching elementary and secondary school students about the<br>sacrifices that veterans have made throughout the history of the Nation.","HRES897","Recognizes the importance of teaching elementary and secondary school students, on<br>Veterans Day and throughout the school year, about the sacrifices veterans have made<br>throughout our nation's history."],["Commending the soldiers and civilian personnel stationed at Fort Gordon and their families<br>for their service and dedication to the United States and recognizing the contributions of<br>Fort Gordon to Operation Iraqi Freedom and Operation Enduring Freedom and its role as a<br>pivotal communications training installation.","HCONRES206","Recognizes: (1) Fort Gordon as the home of the United States Army Signal Corps on the<br>occasion of the 60th anniversary of Fort Gordon serving as the home of the Signal Corps<br>Training Center; and (2) the contributions of Fort Gordon to Operation Iraqi Freedom and<br>Operation Enduring Freedom. Commends the soldiers, their families, and the civilian<br>personnel at Fort Gordon for their service and dedication to the United States."],["Recognizing and honoring the National Guard on the occasion of its 373rd anniversary.","HRES940","Thanks the members of the National Guard for their service in response to the attacks on<br>September 11, 2001, and their continuing role in homeland security and military<br>operations. Supports providing the National Guard with the necessary resources to ensure<br>its readiness. Expresses condolences and gratitude to the families of those members of the<br>National Guard who have lost their lives through their dedication and commitment to the<br>freedom and security of the United States while serving in t..."],["Recognizing the United States Air Force and Dyess Air Force Base for their success in<br>achieving energy savings and developing energy-saving innovations during Energy Awareness<br>Month.","HRES845","Recognizes the energy savings and innovations achieved by the United States Air<br>Force.Honors the leadership of the 7th Bomb Wing at Dyess Air Force Base for their energy<br>savings.Congratulates Tom Denslow, Danny Dobbs, Ron Miller, and Daniel Thatcher of the<br>Department of the Air Force at that base and Steve Dumont of the Department's Air Combat<br>Command for their efforts to reduce energy use and to make that base a model of efficient<br>energy use."],["To direct the President to transmit to Congress a report on anti-American incitement to<br>violence in the Middle East, and for other purposes.","HR2278","Directs the President to submit an annual report to Congress regarding anti-American<br>incitement to violence in the Middle East. Requires that such report include a country-by-<br>country list of media outlets and satellite companies that engage in such incitement."],["To designate the facility of the United States Postal Service located at 2000 Louisiana<br>Avenue in New Orleans, Louisiana, as the \"Roy Rondeno, Sr. Post Office Building\".","HR3951","Designates the facility of the United States Postal Service located at 2000 Louisiana<br>Avenue in New Orleans, Louisiana, as the \"Roy Rondeno, Sr. Post Office Building.\""],["To eliminate an unused lighthouse reservation, provide management consistency by bringing<br>the rocks and small islands along the coast of Orange County, California, and meet the<br>original Congressional intent of preserving Orange County's rocks and small islands, and<br>for other purposes.","HR86","Removes the temporary reservation for park, scenic, or other public purposes of certain<br>rocks, pinnacles, reefs, and islands in the Pacific Ocean within a mile of the coast of<br>Orange County, California. Makes such rocks, pinnacles, reefs, and islands part of the<br>California Coastal National Monument and requires that they be administered as part of the<br>Monument. Repeals the lighthouse reservation with respect to the San Juan and San Mateo<br>Rocks and the two rocks in the vicinity of Laguna Beach..."],["Recognizing and supporting the goals and ideals of National Runaway Prevention Month.","HRES779","Recognizes the importance of youth runaway prevention and urges support for greater public<br>awareness efforts and effective runaway youth prevention programs."],["To amend the Implementing Recommendations of the 9/11 Commission Act of 2007 to authorize<br>the Secretary of Homeland Security to accept and use gifts for otherwise authorized<br>activities of the Center for Domestic Preparedness that are related to preparedness for<br>and response to terrorism, and for other purposes.","HR3978","First Responder Anti-Terrorism Training Resources Act - Amends the Homeland Security Act<br>of 2002 to: (1) authorize the Secretary of Homeland Security (DHS) to accept gifts of<br>property and services for otherwise authorized activities of the Center for Domestic<br>Preparedness that are related to efforts to prevent, prepare for, protect against, or<br>respond to a natural disaster, act of terrorism, or other man-made disaster; (2) prohibit<br>the Secretary from accepting a gift upon determining that the..."],["Honoring the life and work of Dr. Martin Luther King, Jr. and encouraging the continued<br>commitment to the Martin Luther King, Jr. Day as a national day of service.","HRES1002","Encourages all individuals in the United States to pay tribute to the life and works of<br>Dr. Martin Luther King, Jr. through participation in community service projects on Martin<br>Luther King, Jr. Day. Recognizes: (1) the value of community service and volunteerism in<br>the creation of civil society and as a means of nonviolent community progress consistent<br>with Dr. King's works; and (2) the benefits of the collaborative work by the many<br>organizations that promote, facilitate, and carry out servi..."],["Congratulating the Penn State women's volleyball team on winning the 2009 NCAA Division I<br>National Championship.","HRES1015","Congratulates the Penn State women's volleyball team on winning the 2009 NCAA Division I<br>women's volleyball championship."],["To authorize the continued use of certain water diversions located on National Forest<br>System land in the Frank Church-River of No Return Wilderness and the Selway-Bitterroot<br>Wilderness in the State of Idaho, and for other purposes.","HR3538","Idaho Wilderness Water Facilities Act - Directs the Secretary of Agriculture to issue a<br>special use authorization to each of the 20 owners of a water storage, transport, or<br>diversion facility located on National Forest System land in the Frank Church of No Return<br>Wilderness and the Selway-Bitterroot Wilderness in Idaho for continued operation,<br>maintenance, and reconstruction of such facility if it is determined that: (1) the<br>facility was in existence on the date on which the land upon which i..."],["Honoring Jimmie Johnson, 2009 NASCAR Sprint Cup Champion.","HRES957","Honors Jimmie Kenneth Johnson and the #48 Lowe's Chevrolet team for winning the NASCAR<br>Sprint Cup Championship in 2006, 2007, 2008, and 2009."],["Recognizing Brescia University for 60 years of leadership in higher education.","HRES1043","Commends Brescia University for 60 years of leadership and service to students and the<br>community of Owensboro, Kentucky, and its environs."],["Commemorating the 65th anniversary of the liberation of Auschwitz, a Nazi concentration<br>and extermination camp, honoring the victims of the Holocaust, and expressing commitment<br>to strengthen the fight against bigotry and intolerance.","HRES1044","Commemorates the 65th anniversary of the liberation of Auschwitz.Honors the victims of<br>Auschwitz and other Nazi concentration and extermination camps, and all those who perished<br>at the hands of the Nazis.Expresses gratitude to the Allied soldiers, underground<br>fighters, and all those whose efforts helped defeat the Nazi regime and liberate Auschwitz<br>and other concentration and extermination camps during World War II.Reaffirms the<br>commitment of the House of Representatives to enhance Holocaust ..."],["Supporting the goals and ideals of American Heart Month and National Wear Red Day.","HRES1039","Expresses support for the goals and ideals of American Heart Month and National Wear Red<br>Day."],["Recognizing Louisiana State University for 150 years of service and excellence in higher<br>education.","HRES1072","Recognizes Louisiana State University for over 150 years of service and excellence in<br>higher education. Congratulates the University on its 150th anniversary."],["Expressing the appreciation of Congress for the service and sacrifice of the members of<br>the 139th Airlift Wing, Air National Guard.","HRES699","Recognizes the exemplary service and sacrifice of the members of the 139th Airlift Wing,<br>Air National Guard, and their families. Commends the members of the 139th Airlift Wing and<br>their families (and all members of the Armed Forces who have served or are serving in<br>support of U.S. military contingency operations) for their service and sacrifice."],["Congratulating the National Football League Champion New Orleans Saints for winning Super<br>Bowl XLIV and for bringing New Orleans its first Lombardi Trophy in franchise history.","HRES1079","Congratulates the New Orleans Saints for winning Super Bowl XLIV.Recognizes the<br>significant contributions made by the team in the recovery efforts of New Orleans,<br>Louisiana, and the Gulf Coast Region."],["Congratulating Willard S. Boyle and George E. Smith for being awarded the Nobel Prize in<br>physics.","HRES1069","Congratulates Willard S. Boyle and George E. Smith for being awarded the Nobel Prize in<br>physics. Recognizes Bell Laboratories in Murray Hill, New Jersey, as a contributor to<br>leadership in scientific research and innovation in the United States."],["Raising a question of the privileges of the House.","HRES1164","Directs the House Committee on Standards of Official Conduct to investigate fully which<br>House Democratic leaders and members of their respective staffs had knowledge before March<br>3, 2010, of the allegations concerning former Representative Eric Massa, and what actions<br>each leader and staffer having any such knowledge took after learning of the allegations.<br>Requires the Committee to establish an Investigative Subcommittee regarding such matter,<br>or report to the House of Representatives the rea..."],["Recognizing the 189th anniversary of the independence of Greece and celebrating Greek and<br>American democracy.","HRES1107","Congratulates the people of Greece as they celebrate the 189th anniversary of the<br>independence of Greece. Supports the principles of democratic governance to which the<br>people of Greece are committed. Notes the important role that Greece has played in the<br>wider European region and in the community of nations since gaining its independence."],["Congratulating the winners of the Voice of Democracy national scholarship program.","HRES1170","Congratulates the winners of the Voice of Democracy national scholarship program."],["Recognizing Washington State University Honors College for 50 years of excellence.","HRES1163","Recognizes Washington State University Honors College for 50 years of excellence."],["To designate the facility of the United States Postal Service located at 216 Westwood<br>Avenue in Westwood, New Jersey, as the \"Sergeant Christopher R. Hrbek Post Office<br>Building\".","HR4628","Designates the facility of the United States Postal Service located at 216 Westwood Avenue<br>in Westwood, New Jersey, as the \"Sergeant Christopher R. Hrbek Post Office Building.\""],["Recognizing the continued persecution of Falun Gong practitioners in China on the 10th<br>anniversary of the Chinese Communist Party campaign to suppress the Falun Gong spiritual<br>movement and calling for an immediate end to the campaign to persecute, intimidate,<br>imprison, and torture Falun Gong practitioners.","HRES605","Expresses sympathy to Falun Gong practitioners and their family members who have suffered<br>persecution and even death because of adherence to their personal beliefs. Calls upon the<br>government of the People's Republic of China (PRC) to: (1) cease its campaign against<br>Falun Gong practitioners; (2) abolish the 6-10 office, an extrajudicial security apparatus<br>given the mandate to \"eradicate\" Falun Gong; and (3) release Falun Gong practitioners from<br>prisons and reeducation through labor camps, incl..."],["To designate the facility of the United States Postal Service located at 45300 Portola<br>Avenue in Palm Desert, California, as the \"Roy Wilson Post Office\".","HR4214","Designates the facility of the United States Postal Service located at 45300 Portola<br>Avenue in Palm Desert, California, as the \"Roy Wilson Post Office.\""],["Raising a question of the privileges of the House.","HRES1193","Requires the Committee on Standards of Official Conduct to report to the House of<br>Representatives, with respect to the activities addressed in its report of February 26,<br>2010 (regarding possible connections between PMA Group campaign contributions and specific<br>earmarks), on: (1) how many witnesses were interviewed; (2) how many, if any, subpoenas<br>were issued in the course of their investigation; and (3) what documents were reviewed and<br>their availability for public review."],["Raising a question of the privileges of the House.","HRES1194","Declares that the House of Representatives disapproves of the malfeasant manner in which<br>the Democratic Leadership has discharged the duties of their offices."],["To direct the Architect of the Capitol to fly the flag of a State over the Capitol each<br>year on the anniversary of the date of the State's admission to the Union.","HR3542","State Admission Day Recognition Act of 2010 - Requires the Architect of the Capitol (AOC)<br>to honor a state's anniversary of admission to the Union by flying its flag over the<br>Capitol each year on that anniversary. Requires the AOC to fly the first such flag on the<br>first December 7 which occurs after the enactment of this Act, in honor of Delaware's<br>anniversary, the first state admitted to the Union. Authorizes the House Committee on<br>House Administration and the Senate Committee on Rules and A..."],["To designate a Distinguished Flying Cross National Memorial at the March Field Air Museum<br>in Riverside, California.","HR2788","Distinguished Flying Cross National Memorial Act - Designates a memorial that is under<br>construction at March Field Air Museum in Riverside, California, as the Distinguished<br>Flying Cross National Memorial, in honor of current and former members of the armed forces<br>who have been awarded the Distinguished Flying Cross. Prohibits: (1) inclusion of the<br>National Memorial designated by this Act as a unit of the National Park System; and (2)<br>the designation of the National Memorial from being constru..."],["To revise the boundaries of the Gettysburg National Military Park to include the<br>Gettysburg Train Station, and for other purposes.","HR4395","Requires the inclusion of the land and interests commonly known as Gettysburg Train<br>Station and its immediate surroundings in the Borough of Gettysburg, Pennsylvania, and the<br>land and interests located along Plum Run in Cumberland Township, Pennsylvania, in<br>Gettysburg National Military Park. Authorizes the Secretary of the Interior to acquire<br>publicly owned property within the area of the Train Station by purchase, from willing<br>sellers only, if efforts to acquire such property without cost ha..."],["Expressing support for the designation of March 20 as a National Day of Recognition for<br>Long-Term Care Physicians.","HCONRES244","Expresses support for the goals and ideals of, and the designation of, a National Day of<br>Recognition for Long-Term Care Physicians."],["To designate the facility of the United States Postal Service located at 1979 Cleveland<br>Avenue in Columbus, Ohio, as the \"Clarence D. Lumpkin Post Office\".","HR4840","Designates the facility of the United States Postal Service located at 1981 Cleveland<br>Avenue in Columbus, Ohio, as the \"Clarence D. Lumpkin Post Office.\""],["Commending the members of the Agri-business Development Teams of the National Guard for<br>their efforts, together with personnel of the Department of Agriculture and the United<br>States Agency for International Development, to modernize agriculture practices and<br>increase food production in war-torn countries.","HRES1075","Commends the members of the Agri-business Development Teams of the National Guard and the<br>National Guard Bureau for their efforts, together with Department of Agriculture (USDA)<br>and United States Agency for International Development (USAID) personnel, to modernize<br>agriculture practices and increase food production in war-torn countries."],["Recognizing the Florida Keys Scenic Highway on the occasion of its designation as an All-<br>American Road by the U.S. Department of Transportation.","HRES917","Recognizes the Florida Keys Scenic Highway on the occasion of its designation as an All-<br>American Road by the Department of Transportation. Congratulates the Florida residents who<br>participated in the efforts to support this designation."],["To amend title 38, United States Code, to provide for employment and reemployment rights<br>for certain individuals ordered to full-time National Guard duty.","HR1879","National Guard Employment Protection Act of 2010 - Provides employment and reemployment<br>rights, beyond the Uniformed Services Employment and Reemployment Rights Act of 1994<br>(USERRA) five-year limit, for individuals ordered to full-time National Guard duty when<br>the period of duty is expressly designated in writing by the Secretary of Defense (DOD)."],["Raising a question of the privileges of the House.","HRES1220","Requires the House Committee on Standards of Official Conduct to report to the House of<br>Representatives, with respect to the activities addressed in its report of February 26,<br>2010, concerning allegations related to earmarks and campaign contributions, on: (1) how<br>many witnesses were interviewed; (2) how many, if any, subpoenas were issued in the course<br>of the Committee's investigation; and (3) what documents were reviewed and their<br>availability for public review."],["To designate the Department of Veterans Affairs blind rehabilitation center in Long Beach,<br>California, as the \"Major Charles R. Soltes, Jr., O.D. Department of Veterans Affairs<br>Blind Rehabilitation Center\".","HR4360","Designates the Department of Veterans Affairs blind rehabilitation center in Long Beach,<br>California, as the \"Major Charles Robert Soltes, Jr., O.D. Department of Veterans Affairs<br>Blind Rehabilitation Center.\""],["Supporting the goals and ideals of National Library Week.","HRES1222","Supports the goals and ideals of National Library Week."],["Raising a question of the privileges of the House.","HRES1249","Directs the House Committee on Standards of Official Conduct to investigate fully which<br>House Democratic leaders and members of their respective staffs had knowledge before March<br>3, 2010, of the allegations concerning former Representative Eric Massa, and what actions<br>each leader and staffer having any such knowledge took after learning of the allegations.<br>Requires the Committee to establish an Investigative Subcommittee regarding such matter,<br>or report to the House of Representatives the rea..."],["Expressing support for Mathematics Awareness Month.","HRES1270","Supports the goals and ideals of Mathematics Awareness Month. Encourages colleges,<br>universities, and other organizations to hold events to honor Mathematics Awareness Month.<br>Supports increased public awareness and appreciation for the importance of mathematics at<br>all levels of the educational system in the United States."],["Celebrating the life of Sam Houston on the 217th anniversary of his birth.","HRES1103","Honors the life and accomplishments of Sam Houston for his contributions to the expansion<br>of the United States."],["Expressing support for designation of the first Saturday in May as National Explosive<br>Ordnance Disposal Day to honor those who are serving and have served in the noble and<br>self-sacrificing profession of Explosive Ordnance Disposal in the United States Armed<br>Forces.","HRES1294","Supports the designation of National Explosive Ordnance Disposal Day to honor those who<br>are serving and have served in the Armed Forces in the noble and self-sacrificing<br>profession of explosive ordnance disposal."],["Honoring the life and legacy of William Earnest \"Ernie\" Harwell.","HRES1328","Honors the life and legacy of William Earnest \"Ernie\" Harwell for his contributions to<br>Major League Baseball."],["Supporting the goals and ideals of Peace Officers Memorial Day.","HRES1299","Supports the goals of Peace Officers Memorial Day. Honors federal, state, and local law<br>enforcement officers who have been killed or disabled in the line of duty."],["Honoring the life, achievements, and contributions of Floyd Dominy.","HRES1327","Honors the life and accomplishments of Floyd Dominy, former Bureau of Reclamation<br>Commissioner."],["Recognizing National Missing Children's Day.","HRES1325","Recognizes: (1) National Missing Children's Day; (2) that one of the most important tools<br>for law enforcement to use in the case of a missing child is an up-to-date, good quality<br>photograph (and urges all parents and guardians to maintain such a photograph); and (3)<br>the vital role of law enforcement and the criminal justice system in preventing<br>kidnappings and the abduction of children and in locating missing children. Acknowledges<br>that National Missing Children's Day should remind Americans ..."],["Congratulating the Emporia State University Lady Hornets women's basketball team for<br>winning the 2010 NCAA Division II National Championship.","HRES1292","Congratulates the Emporia State University Lady Hornet basketball team for winning the<br>2010 NCAA Division II National Championship."],["Congratulating Phil Mickelson on winning the 2010 Masters golf tournament.","HRES1256","Congratulates Phil Mickelson on winning the 2010 Masters golf tournament."],["Congratulating the University of Texas men's swimming and diving team for winning the NCAA<br>Division I national championship.","HRES1336","Congratulates the University of Texas men's swimming and diving team for winning the 2010<br>NCAA Division I national championship."],["To direct the Secretary of Veterans Affairs to carry out a pilot program on dog training<br>therapy.","HR3885","Veterans Dog Training Therapy Act - Directs the Secretary of Veterans Affairs (VA) to<br>carry out a pilot program for assessing the effectiveness of addressing post-deployment<br>mental health and post-traumatic stress disorder (PTSD) symptoms through a therapeutic<br>medium of assistance dog training and handling for veterans with disabilities. Requires<br>the pilot program to be carried out at: (1) at least three and not more than five VA<br>medical centers over a five-year period; and (2) centers that p..."],["To amend title 5, United States Code, to provide for the transportation of the dependents,<br>remains, and effects of certain Federal employees who die while performing official duties<br>or as a result of the performance of official duties.","HR2711","Special Agent Samuel Hicks Families of Fallen Heroes Act - Authorizes the head of the<br>concerned agency to pay the transportation (including one privately owned motor vehicle)<br>and moving expenses attributable to a change of residence within the United States of the<br>immediate family of a covered employee, including any federal law enforcement officer,<br>Federal Bureau of Investigation (FBI) employee, or customs and border protection officer,<br>who dies as a result of personal injury sustained while..."],["Commending Lance Mackey on winning a record 4th straight Iditarod Trail Sled Dog Race.","HRES1189","Commends Lance Mackey on his record-breaking fourth consecutive Iditarod victory during<br>the 2010 Iditarod Trail Sled Dog Race. Applauds each musher who was courageous enough to<br>compete in the 2010 Iditarod Trail Sled Dog Race. Expresses appreciation to all volunteers<br>and staff who help make this Alaskan race possible every year."],["Honoring the University of Georgia Graduate School on the occasion of its centennial.","HRES1372","Recognizes the centennial of the founding and organization of the University of Georgia<br>Graduate School. Expresses sincere appreciation to the students and administrators who<br>contribute to its growth and success."],["Congratulating Israel for its accession to membership in the Organization for Economic Co-<br>operation and Development.","HRES1391","Congratulates Israel for its accession to membership in the Organization for Economic Co-<br>operation and Development (OECD). Commends the 31 nations of the OECD, as well as OECD<br>Secretary-General Angel Gurria, for recognizing Israel's economic success as well as its<br>commitment to the principles of democratic government and market economy by unanimously<br>electing Israel to OECD membership. Recognizes the importance of the strong role played by<br>the United States in Israel's successful bid for acce..."],["Honoring the life of Jacques-Yves Cousteau, explorer, researcher, and pioneer in the field<br>of marine conservation.","HRES518","Honors the life, achievements, and distinguished career of Jacques-Yves Cousteau,<br>explorer, researcher, and pioneer in the field of marine conservation."],["Expressing support for designation of June 20, 2010, as \"American Eagle Day\", and<br>celebrating the recovery and restoration of the bald eagle, the national symbol of the<br>United States.","HRES1409","Supports the designation of American Eagle Day. Applauds the issuance of bald eagle<br>commemorative coins by the Secretary of the Treasury as a means by which to generate<br>critical funds for the protection of bald eagles. Encourages educational entities,<br>organizations, businesses, conservation groups, and government agencies with a shared<br>interest in conserving endangered species to collaborate and develop educational tools for<br>use in the public schools of the United States."],["Honoring Dr. Larry Case on his retirement as National FFA Advisor.","HRES1383","Honors Dr. Larry Case on his retirement as National FFA Advisor. (National FFA is a youth<br>organization that is a part of agricultural programs at middle and high schools.)"],["Honoring the Department of Justice on the occasion of its 140th anniversary.","HRES1422","Honors the Department of Justice (DOJ) on its 140th anniversary and commends the work of<br>its employees in pursuing justice, combating crime, ensuring civil liberties, and<br>protecting the people of the United States."],["Supporting the goals and ideals of High-Performance Building Week.","HRES1407","Supports the goals and ideals of High-Performance Building Week. Recognizes and reaffirms<br>the nation's commitment to High-performance Buildings by promoting awareness about their<br>benefits and new education programs, supporting research, and expanding access to<br>information. Recognizes the unique role that the Department of Energy (DOE) plays through<br>the Office of Energy Efficiency and Renewable Energy's Building Technologies Program,<br>which works closely with the building industry and manufactu..."],["Recognizing National Homeownership Month and the importance of homeownership in the United<br>States.","HRES1434","Supports the goals and ideals of National Homeownership Month. Recognizes the importance<br>of homeownership in building strong communities and families. Reaffirms the importance of<br>homeownership in the nation's economy and its central role in our national economic<br>recovery."],["Supporting the goals and ideals of National Hurricane Preparedness Week.","HRES1388","Expresses support for the goals and ideals of National Hurricane Preparedness Week.<br>Encourages the staff of the National Oceanic and Atmospheric Administration (NOAA),<br>especially the National Weather Service and the National Hurricane Center, and other<br>appropriate federal agencies to continue their outstanding work of educating people about<br>hurricane preparedness.Urges the people of the United States to recognize such week as an<br>opportunity to learn more about the Center's work in forecasting..."],["Recognizing the important role that fathers play in the lives of their children and<br>families and supporting the goals and ideals of designating 2010 as the Year of the<br>Father.","HCONRES285","Recognizes the important role that fathers play in the lives of their children and<br>families. Supports the goals and ideals of the Year of the Father."],["Recognizing the 50th anniversary of the conclusion of the United States-Japan Treaty of<br>Mutual Cooperation and Security and expressing appreciation to the Government of Japan and<br>the Japanese people for enhancing peace, prosperity, and security in the Asia-Pacific<br>region.","HRES1464","Recognizes: (1) Japan as an indispensable U.S. security partner in providing peace and<br>stability to the Asia-Pacific region; and (2) that the support and understanding of the<br>Japanese people are indispensable for the stationing of U.S. Armed Forces in Japan.<br>Expresses appreciation to the people of Japan, and especially on Okinawa, for their<br>continued hosting of U.S. Armed Forces. Encourages Japan to continue its international<br>engagement in humanitarian, development, and environmental issues. ..."],["Recognizing the work and importance of special education teachers.","HCONRES284","Recognizes the amount of work it requires to be a special education teacher. Commends<br>special education teachers for their sacrifice and dedication while providing the quality<br>life skills to individuals with special needs."],["To designate the facility of the United States Postal Service located at 151 North<br>Maitland Avenue in Maitland, Florida, as the \"Paula Hawkins Post Office Building\".","HR5395","Designates the facility of the United States Postal Service located at 151 North Maitland<br>Avenue in Maitland, Florida, as the \"Paula Hawkins Post Office Building.\""],["To enable State homes to furnish nursing home care to parents any of whose children died<br>while serving in the Armed Forces.","HR4505","Authorizes the Secretary of Veterans Affairs (VA) to permit a state home to provide VA<br>nursing home care to parents who had any children who died while serving in the Armed<br>Forces."],["Honoring the veterans of Helicopter Attack Light Squadron Three and their families.","HRES1228","Honors the service, courage, and sacrifice of the veterans of HAL-3 (Helicopter Attack<br>Light Squadron Three, a Navy squadron performing helicopter gunship and rescue operations<br>during the Vietnam War). Honors the families of HAL-3 veterans for their support.<br>Expresses condolences to the families and comrades of those killed in action. Recognizes<br>HAL-3 as a unique squadron in the history of naval aviation."],["To resolve the claims of the Bering Straits Native Corporation and the State of Alaska to<br>land adjacent to Salmon Lake in the State of Alaska and to provide for the conveyance to<br>the Bering Straits Native Corporation of certain other public land in partial satisfaction<br>of the land entitlement of the Corporation under the Alaska Native Claims Settlement Act.","HR2340","Salmon Lake Land Selection Resolution Act - Ratifies the Salmon Lake Area Land Ownership<br>Consolidation Agreement, which was executed between the United States, the State of<br>Alaska, and the Bering Straits Native Corporation on July 18, 2007. Requires the land<br>conveyance to the Bering Straits Native Corporation to include the reservation of<br>specified easements that were developed by the parties to the Agreement in accordance with<br>the Alaska Native Claims Settlement Act. Authorizes the Secretary..."],["Congratulating the Government of South Africa upon its first two successful convictions<br>for human trafficking.","HRES1412","Congratulates the government of South Africa upon its first two successful convictions for<br>human trafficking. Recognizes the government of South Africa's efforts to combat<br>trafficking. Acknowledges the passage in South Africa of the Child Justice Act of 2008.<br>Calls on the government of South Africa to: (1) adopt the Prevention and Combating of<br>Trafficking in Persons Bill; (2) prioritize anti-trafficking law enforcement during the<br>2010 Federation Internationale de Football Association (FIFA) W..."],["Expressing support for the people of Guatemala, Honduras, and El Salvador as they<br>persevere through the aftermath of Tropical Storm Agatha which swept across Central<br>America causing deadly floods and mudslides.","HRES1462","Mourns the loss of life and expresses solidarity with the people affected by Tropical<br>Storm Agatha. Commends the brave efforts of the people of Guatemala, Honduras, and El<br>Salvador as they recover from Tropical Storm Agatha. Recognizes the assistance of the<br>international community during the recovery effort in providing relief to the people of<br>Guatemala, Honduras, and El Salvador. Urges the Secretary of State, in coordination with<br>the Administrator of the United States Agency for Internationa..."],["To authorize the Secretary of the Interior to lease certain lands within Fort Pulaski<br>National Monument, and for other purposes.","HR4773","This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Fort Pulaski National Monument Lease<br>Authorization Act - Authorizes the Secretary of the Interior to lease to the Savannah Bar<br>Pilots Association or a successor organization up to 30,000 square feet of land and<br>improvements in Fort Pulaski National Monument in Georgia at the location on Cockspur<br>Island that has been used continuously by the Association since 1940. ..."],["To amend the Hydrographic Services Improvement Act of 1998 to authorize funds to acquire<br>hydrographic data and provide hydrographic services specific to the Arctic for safe<br>navigation, delineating the United States extended continental shelf, and the monitoring<br>and description of coastal changes.","HR2864","Amends the Hydrographic Services Improvement Act of 1998 to authorize appropriations to<br>the Administrator of the National Oceanic and Atmospheric Administration (NOAA) for<br>FY2011-FY2012 for use to acquire (1) hydrographic data, provide hydrographic services, and<br>conduct coastal change analyses necessary to ensure safe navigation, and to improve the<br>management of coastal change in the Arctic; and (2) hydrographic data and provide<br>hydrographic services in the Arctic necessary to delineate the U..."],["Expressing support for designation of September as National Child Awareness Month.","HRES1219","Supports the designation of a National Child Awareness Month to promote awareness of<br>children's charities and youth-serving organizations across the United States."],["Congratulating the University of South Carolina Gamecocks on winning the 2010 NCAA<br>Division I College World Series.","HRES1491","Congratulates the University of South Carolina Gamecocks for winning the 2010 NCAA<br>Division I College World Series."],["Supporting the goals and ideals of National Aerospace Week, and for other purposes.","HCONRES292","Supports the goals and ideals of National Aerospace Week. Recognizes the contributions of<br>the aerospace industry to the history, economy, security, and educational system of the<br>United States."],["To amend title 18, United States Code, to prohibit interstate commerce in animal crush<br>videos, and for other purposes.","HR5566","Animal Crush Video Prohibition Act of 2010 - Amends the federal criminal code to revise<br>the prohibition against depictions of animal cruelty to prohibit anyone from knowingly<br>creating an animal crush video if: (1) such person intends or has reason to know that such<br>video will be distributed in, or using a means or facility of, interstate or foreign<br>commerce; or (2) such video is distributed in, or using a means or facility of, interstate<br>or foreign commerce. Prohibits the sale, marketing, exc..."],["To provide for the conveyance of a small parcel of National Forest System land in the<br>Francis Marion National Forest in South Carolina, and for other purposes.","HR5414","Directs the Secretary of Agriculture (USDA) to sell and quitclaim a parcel of National<br>Forest System land in the Francis Marion National Forest in South Carolina to the First<br>Baptist Church of Bonneau (the Bonneau Baptist Church) at 108 West Church Street in<br>Bonneau, South Carolina. Requires the Bonneau Baptist Church to pay to the Secretary cash<br>consideration in an amount equal to the market value of such land, to be determined by an<br>appraisal. Requires deposit of the consideration received ..."],["Acknowledging and congratulating Miami Dade College on the occasion of its 50th<br>anniversary of service to the students and residents of the State of Florida.","HRES1571","Congratulates Miami Dade College on the occasion of its 50th anniversary for its academic<br>excellence and service to Florida residents."],["To designate the facility of the United States Postal Service located at 218 North<br>Milwaukee Street in Waterford, Wisconsin, as the \"Captain Rhett W. Schiller Post Office\".","HR5873","Designates the facility of the United States Postal Service located at 218 North Milwaukee<br>Street in Waterford, Wisconsin, as the \"Captain Rhett W. Schiller Post Office.\""],["To amend the Public Health Service Act to provide liability protections for volunteer<br>practitioners at health centers under section 330 of such Act.","HR1745","Family Health Care Accessibility Act of 2010 - Amends the Public Health Service Act to<br>deem a health professional volunteer providing primary health care to an individual at a<br>community health center to be an employee of the Public Health Service for purposes of any<br>civil action that may arise from providing services to patients. Sets forth conditions for<br>such liability protection, including: (1) the service is provided to the individual at a<br>community health center or through offsite program..."],["To amend and reauthorize the controlled substance monitoring program under section 399O of<br>the Public Health Service Act.","HR5710","National All Schedules Prescription Electronic Reporting Reauthorization Act of 2010 -<br>Amends the National All Schedules Prescription Electronic Reporting Act of 2005 to include<br>as a purpose of such Act to foster the establishment of state-administered controlled<br>substance monitoring systems in order to ensure that appropriate law enforcement,<br>regulatory, and state professional licensing authorities have access to prescription<br>history information for the purposes of investigating drug diversi..."],["To require the Secretary of Veterans Affairs to include on the main page of the Internet<br>website of the Department of Veterans Affairs a hyperlink to the VetSuccess Internet<br>website and to publicize such Internet website.","HR3685","Directs the Secretary of Veterans Affairs to include on the main page of the Internet<br>website of the Department of Veterans Affairs (VA) a hyperlink with a drop-down menu<br>titled \"Veterans Employment\" that includes a direct hyperlink to the VetSuccess Internet<br>website, USA Jobs Internet website, Job Central website, and any other appropriate<br>employment Internet websites, especially those that focus on jobs for veterans. Requires<br>the purchase of advertising in national media outlets to promote ..."],["To require any Federal or State court to recognize any notarization made by a notary<br>public licensed by a State other than the State where the court is located when such<br>notarization occurs in or affects interstate commerce.","HR3808","Interstate Recognition of Notarizations Act of 2010 - Requires each federal and state<br>court to recognize any lawful notarization occurring in or affecting interstate commerce<br>which is made by a notary public licensed or commissioned under the laws of a state other<br>than the state where the court is located. Requires such a notarization to: (1) use a seal<br>of office as symbol of the notary public's authority; or (2) have the seal information, in<br>the case of an electronic record, securely attache..."],["Congratulating Joe Paterno on his 400th win as Penn State Nittany Lions football head<br>coach.","HRES1715","Congratulates Joe Paterno for his success with both the Penn State football program and<br>the University, resulting in 400 wins as head coach, and for setting an on- and off-the-<br>field example of honor, success, integrity, and respect."],["A bill to extend the deadline for Social Services Block Grant expenditures of supplemental<br>funds appropriated following disasters occurring in 2008.","S3774","(This measure has not been amended since it was passed by the Senate on September 29,<br>2010. The summary of that version is repeated here.) Extends through FY2011 the deadline<br>for state expenditure of certain emergency supplemental appropriations to the Department<br>of Health and Human Services (HHS) for the Administration for Children and Families<br>provided for recovery from Hurricanes Ike and Rita and other 2008 natural disasters."],["Expressing the sense of the House of Representatives that a National Day of Recognition<br>for Parents of Special Needs Children should be established.","HRES1576","Recognizes the importance of honoring the nation's parents of children with special needs.<br>Expresses its sense that a National Day of Recognition for Parents of Children with<br>Special Needs should be established to honor such parents."],["Expressing support for designation of May as \"Child Advocacy Center Month\" and commending<br>the National Child Advocacy Center in Huntsville, Alabama, on their 25th anniversary in<br>2010.","HRES1313","Supports the designation of Child Advocacy Center Month. Commends the National Child<br>Advocacy Center in Huntsville, Alabama on its 25th anniversary."],["Congratulating imprisoned Chinese democracy advocate Liu Xiaobo on the award of the 2010<br>Nobel Peace Prize.","HRES1717","Congratulates Liu Xiaobo on the award of the 2010 Nobel Peace Prize and honors his courage<br>and promotion of democratic reform in China. States that in honoring Liu Xiaobo the House<br>of Representatives also honors those who have promoted democratic reform in China,<br>including those who participated in the 1989 Tiananmen Square demonstration. Asserts that<br>Liu Xiaobo is a political prisoner and that Liu Xia, Liu Xiaobo's supporters, and all<br>signers of Charter 08 who have been detained or harassed ..."],["Supporting the goal of eradicating illicit marijuana cultivation on Federal lands and<br>calling on the Director of the Office of National Drug Control Policy to develop a<br>coordinated strategy to permanently dismantle Mexican drug trafficking organizations<br>operating on Federal lands.","HRES1540","Declares that drug trafficking organizations cultivating illicit marijuana on federal<br>lands in the United States pose an unacceptable threat to law enforcement and to the<br>public. Affirms that it is the federal government's responsibility to confront such<br>threat. Calls upon the Director of the Office of National Drug Control Policy to work with<br>federal and state agencies to develop a strategy to permanently dismantle Mexican drug<br>trafficking organizations operating on federal lands."],["To designate the facility of the United States Postal Service located at 600 Florida<br>Avenue in Cocoa, Florida, as the \"Harry T. and Harriette Moore Post Office\".","HR5446","Designates the facility of the United States Postal Service located at 600 Florida Avenue<br>in Cocoa, Florida, as the \"Harry T. and Harriette Moore Post Office.\""],["A concurrent resolution recognizing the 45th anniversary of the White House Fellows<br>Program.","SCONRES72","Recognizes the 45th anniversary of the White House Fellows program. Commends the White<br>House Fellows for their commitment to public service and expresses appreciation for their<br>past and continuing leadership."],["Congratulating Auburn University quarterback and College Park, Georgia, native Cameron<br>Newton on winning the 2010 Heisman Trophy for being the most outstanding college football<br>player in the United States.","HRES1761","Congratulates Auburn University quarterback and College Park, Georgia, native Cameron<br>Newton on winning the 2010 Heisman Trophy for being the most outstanding college football<br>player in the United States."],["A joint resolution relating to the disapproval of obligations under the Emergency Economic<br>Stabilization Act of 2008.","SJRES5","Declares that Congress disapproves the obligation of any funds that exceed specified<br>amounts authorized for the purchase of troubled assets by the Secretary of the Treasury<br>under the Emergency Economic Stabilization Act of 2008."],["A bill to provide a fully offset temporary extension of certain programs so as not to<br>increase the deficit, and for other purposes.","S3153","Continuing Extension Act of 2010 - Amends the Supplemental Appropriations Act, 2008 with<br>respect to the state-established individual emergency unemployment compensation account<br>(EUCA). Extends the final date for entering a federal-state agreement under the Emergency<br>Unemployment Compensation (EUC) program through May 5, 2010. Postpones the termination of<br>the program until October 2, 2010. Amends the Assistance for Unemployed Workers and<br>Struggling Families Act to extend until May 5, 2010: (1)..."],["A joint resolution disapproving a rule submitted by the Environmental Protection Agency<br>relating to the endangerment finding and the cause or contribute findings for greenhouse<br>gases under section 202(a) of the Clean Air Act.","SJRES26","Disapproves the rule submitted by the Environmental Protection Agency (EPA) on December<br>15, 2009, relating to the endangerment finding and the cause or contribute findings for<br>greenhouse gases under the Clean Air Act."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the National Mediation Board relating to<br>representation election procedures.","SJRES30","Disapproves and nullifies the rule submitted by the National Mediation Board relating to<br>representation election procedures."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule relating to status as a grandfathered health plan under<br>the Patient Protection and Affordable Care Act.","SJRES39","Disapproves the rule submitted by the Centers for Medicare &amp; Medicaid Services within<br>the Department of Health and Human Services (HHS) relating to status as a Grandfathered<br>Health Plan under the Patient Protection and Affordable Care Act."],["Adopting rules for the One Hundred Twelfth Congress.","HRES5","(Sec. 2) Adopts the Rules of the House of Representatives for the 111th Congress as the<br>Rules for the 112th Congress, with amendments. Prohibits the introduction of any bill or<br>joint resolution unless the sponsor submits for printing in the Congressional Record a<br>statement citing the constitutional power or powers granted to Congress to enact such<br>legislation. Authorizes the chair of a committee of jurisdiction, before consideration of<br>a Senate bill or joint resolution, to submit such stateme..."],["Reducing the amount authorized for salaries and expenses of Member, committee, and<br>leadership offices in 2011 and 2012.","HRES22","Prohibits the amount of Members' Representational Allowances established in the House of<br>Representatives Administrative Reform Technical Corrections Act for 2011 or 2012 from<br>exceeding 95% of the amount established for 2010. Reduces the current amount of Members'<br>Representational Allowances by 5% until such Allowances are established for 2011.<br>Prohibits the head of any House leadership office from authorizing disbursement of<br>appropriations for salaries and expenses of that office during calen..."],["Providing for consideration of the bill (H.R. 2) to repeal the job-killing health care law<br>and health care-related provisions in the Health Care and Education Reconciliation Act of<br>2010; providing for consideration of the resolution (H. Res. 9) instructing certain<br>committees to report legislation replacing the job-killing health care law; and for other<br>purposes.","HRES26","Sets forth the rule for consideration of the bill (H.R. 2) to repeal the Patient<br>Protection and Affordable Care Act and health care-related provisions in the Health Care<br>and Education Reconciliation Act of 2010. Provides for consideration of the resolution (H.<br>Res. 9) instructing certain committees to report legislation replacing the Patient<br>Protection and Affordable Care Act."],["Relating to the status of certain actions taken by Members-elect.","HRES27","Requires specified rollcall votes recorded for Representative-elect Sessions and<br>Representative-elect Fitzpatrick be deleted and the vote-totals for each of those<br>rollcalls be adjusted accordingly, both in the Journal and in the Congressional Record.<br>Ratifies the election of Representative-elect Sessions to a standing committee and his<br>participation in its proceedings. Considers the measures delivered by him to the Speaker<br>for referral as introduced. Retains the numbers assigned. Considers as..."],["To amend title 44, United States Code, to eliminate the mandatory printing of bills and<br>resolutions by the Government Printing Office for the use of the House of Representatives<br>and Senate.","HR292","Requires the Public Printer to make bills and resolutions available for the use of offices<br>of Members of Congress only in an electronic format accessible through the Internet."],["To repeal the job-killing health care law and health care-related provisions in the Health<br>Care and Education Reconciliation Act of 2010.","HR2","Repealing the Job-Killing Health Care Law Act - Repeals the Patient Protection and<br>Affordable Care Act, effective as of its enactment. Restores provisions of law amended by<br>such Act. Repeals the health care provisions of the Health Care and Education and<br>Reconciliation Act of 2010, effective as of the Act's enactment. Restores provisions of<br>law amended by the Act's health care provisions."],["Instructing certain committees to report legislation replacing the job-killing health care<br>law.","HRES9","Requires each of the following House Committees to report to the House legislation, within<br>its jurisdiction, proposing specified changes to existing law (including the Patient<br>Protection and Affordable Care Act): (1) the Committee on Education and the Workforce; (2)<br>the Committee on Energy and Commerce; (3) the Committee on the Judiciary; and (4) the<br>Committee on Ways and Means."],["Providing for consideration of the resolution (H. Res. 38) to reduce spending through a<br>transition to non-security spending at fiscal year 2008 levels.","HRES43","Sets forth the rule for consideration of the resolution (H. Res. 38) to reduce spending<br>through a transition to non-security spending at fiscal year 2008 levels."],["To reduce spending through a transition to non-security spending at fiscal year 2008<br>levels.","HRES38","Requires the Chair of the House Committee on the Budget to include in the Congressional<br>Record the contemplated allocation for the Committee on Appropriations for the remainder<br>of FY2011 that assumes non-security spending at FY2008 levels or less."],["Providing Capitol-flown flags for recipients of the Medal of Honor.","HRES49","Staff Sergeant Salvatore A. Giunta Medal of Honor Flag Resolution - Provides that, upon<br>request of a Medal of Honor (Medal) recipient or immediate family member, the<br>Representative of such recipient or family member may provide to the recipient or family<br>member a U.S. Capitol-flown flag, together with a certificate stating that such flag has<br>been flown over the Capitol in honor of the service and sacrifice of Medal recipients."],["Providing for consideration of the bill (H.R. 359) to reduce Federal spending and the<br>deficit by terminating taxpayer financing of presidential election campaigns and party<br>conventions.","HRES54","Sets forth the rule for consideration of the bill (H.R. 359) to reduce Federal spending<br>and the deficit by terminating taxpayer financing of presidential election campaigns and<br>party conventions."],["To reduce Federal spending and the deficit by terminating taxpayer financing of<br>presidential election campaigns and party conventions.","HR359","Amends the Internal Revenue Code to terminate: (1) the taxpayer election to designate $3<br>of income tax liability for financing of presidential election campaigns; (2) the<br>Presidential Election Campaign Fund; and (3) the Presidential Primary Matching Payment<br>Account. Requires the Secretary of the Treasury to transfer all amounts in the<br>Presidential Election Campaign Fund after its termination\u00a0to the general fund of the<br>Treasury, to be used only for deficit reduction."],["To extend expiring provisions of the USA PATRIOT Improvement and Reauthorization Act of<br>2005 and Intelligence Reform and Terrorism Prevention Act of 2004 relating to access to<br>business records, individual terrorists as agents of foreign powers, and roving wiretaps<br>until December 8, 2011.","HR514","FISA Sunsets Extension Act of 2011 - Amends the USA PATRIOT Improvement and<br>Reauthorization Act of 2005 to extend until May 27, 2011, provisions concerning roving<br>electronic surveillance orders and requests for the production of business records and<br>other tangible things. Amends the Intelligence Reform and Terrorism Prevention Act of 2004<br>to extend until May 27, 2011, a provision revising the definition of an \"agent of a<br>foreign power\" to include any non-U.S. person who engages in internation..."],["A bill to designate the United States courthouse under construction at 98 West First<br>Street, Yuma, Arizona, as the \"John M. Roll United States Courthouse\".","S188","Designates the U.S. courthouse under construction at 98 West First Street, Yuma, Arizona,<br>as the \"John M. Roll United States Courthouse.\""],["To secure the return to the United States the $179 million overpaid into the United<br>Nations Tax Equalization Fund as of December 31, 2009, and for other purposes.","HR519","United Nations Tax Equalization Refund Act of 2011 - States that it shall be U.S. policy<br>to: (1) direct the United Nations (U.N.) to return to the United States a specified amount<br>overpaid into the United Nations Tax Equalization Fund (TEF) as of December 31, 2009; (2)<br>use U.S. influence to press the U.N. to reform its TEF assessment procedures to reduce the<br>discrepancies between TEF income and expenditures; and (3) annually instruct the U.N. to<br>return to the United States any TEF surplus fun..."],["Providing for consideration of the bill (H.R. 514) to extend expiring provisions of the<br>USA PATRIOT Improvement and Reauthorization Act of 2005 and Intelligence Reform and<br>Terrorism Prevention Act of 2004 relating to access to business records, individual<br>terrorists as agents of foreign powers, and roving wiretaps until December 8, 2011.","HRES79","Sets forth the rule for consideration of the bill (H.R. 514) to extend expiring provisions<br>of the USA PATRIOT Improvement and Reauthorization Act of 2005 and Intelligence Reform and<br>Terrorism Prevention Act of 2004 relating to access to business records, individual<br>terrorists as agents of foreign powers, and roving wiretaps until December 8, 2011."],["Providing for consideration of the resolution (H.Res. 72) directing certain standing<br>committees to inventory and review existing, pending, and proposed regulations and orders<br>from agencies of the Federal Government, particularly with respect to their effect on jobs<br>and economic growth.","HRES73","Sets forth the rule for consideration of the resolution (H.Res. 72) directing certain<br>standing committees to inventory and review existing, pending, and proposed regulations<br>and orders from agencies of the Federal Government, particularly with respect to their<br>effect on jobs and economic growth."],["Directing certain standing committees to inventory and review existing, pending, and<br>proposed regulations and orders from agencies of the Federal Government, particularly with<br>respect to their effect on jobs and economic growth.","HRES72","Requires each of the following House Committees to inventory and review existing, pending,<br>and proposed regulations, orders, and other administrative actions or procedures by<br>federal agencies within its jurisdiction: (1) Agriculture, (2) Education and the<br>Workforce, (3) Energy and Commerce, (4) Financial Services, (5) the Judiciary, (6) Natural<br>Resources, (7) Oversight and Government Reform, (8) Small Business, (9) Transportation and<br>Infrastructure, and (10) Ways and Means. Requires each comm..."],["Providing for consideration of the bill (H.R. 1) making appropriations for the Department<br>of Defense and the other departments and agencies of the Government for the fiscal year<br>ending September 30, 2011, and for other purposes, and waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules.","HRES92","Sets forth the rule for consideration of the bill (H.R. 1) making appropriations for the<br>Department of Defense and the other departments and agencies of the Government for the<br>fiscal year ending September 30, 2011, and for other purposes, and waiving a requirement<br>of clause 6(a) of rule XIII with respect to consideration of certain resolutions reported<br>from the Committee on Rules."],["Providing for an adjournment or recess of the two Houses.","HCONRES17","Declares that when the House adjourns on the legislative day of Thursday, February 17,<br>2011, Friday, February 18, 2011, or Saturday, February 19, 2011, it stand adjourned until<br>2 p.m. on Monday, February 28, 2011. Declares that when the Senate recesses or adjourns on<br>any day from Thursday, February 17, 2011, through Friday, February 25, 2011, it stand<br>recessed or adjourned until noon on Monday, February 28, 2011."],["Providing for consideration of the Senate amendment to the bill (H.R. 514) to extend<br>expiring provisions of the USA PATRIOT Improvement and Reauthorization Act of 2005 and<br>Intelligence Reform and Terrorism Prevention Act of 2004 relating to access to business<br>records, individual terrorists as agents of foreign powers, and roving wiretaps until<br>December 8, 2011.","HRES93","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 514) to<br>extend expiring provisions of the USA PATRIOT Improvement and Reauthorization Act of 2005<br>and Intelligence Reform and Terrorism Prevention Act of 2004 relating to access to<br>business records, individual terrorists as agents of foreign powers, and roving wiretaps<br>until December 8, 2011."],["To amend title 28, United States Code, to clarify the jurisdiction of the Federal courts,<br>and for other purposes.","HR394","(This measure has not been amended since it was amended by the House on November 18, 2011.<br>The summary of that version is repeated here.) Federal Courts Jurisdiction and Venue<br>Clarification Act of 2011 - Title I: Jurisdictional Improvements - (Sec. 101) Amends the<br>federal judicial code to declare that, with respect to diversity of citizenship, the U.S.<br>district courts shall not have original jurisdiction of any civil action between citizens<br>of a state and citizens or subjects of a foreign sta..."],["To correct and simplify the drafting of section 1752 (relating to restricted buildings or<br>grounds) of title 18, United States Code.","HR347","Federal Restricted Buildings and Grounds Improvement Act of 2011 [sic] - Amends the<br>federal criminal code to revise the prohibition against entering restricted federal<br>buildings or grounds to impose criminal penalties on anyone who knowingly enters any<br>restricted building or grounds without lawful authority. Defines \"restricted buildings or<br>grounds\" as a posted, cordoned off, or otherwise restricted area of: (1) the White House<br>or its grounds or the Vice President's official residence or its ..."],["Providing for consideration of the joint resolution (H.J. Res. 44) making further<br>continuing appropriations for fiscal year 2011, and for other purposes.","HRES115","Sets forth the rule for consideration of the joint resolution (H.J. Res. 44) making<br>further continuing appropriations for fiscal year 2011."],["Making further continuing appropriations for fiscal year 2011, and for other purposes.","HJRES44","Further Continuing Appropriations Amendments, 2011 - Amends the Continuing Appropriations<br>Act, 2011 (CAA of 2011) (P.L. 111-242) to extend through March 18, 2011, specified<br>continuing appropriations for FY2011. Designates for contingency operations directly<br>related to the global war on terrorism pursuant to H.Res. 5 (112th Congress) and as<br>emergency requirements pursuant to S.Con.Res. 13 (FY2010 budget resolution) certain<br>amounts: (1) incorporated by reference in the CAA of 2011 that were pre..."],["Providing for consideration of the bill (H.R. 662) to provide an extension of Federal-aid<br>highway, highway safety, motor carrier safety, transit, and other programs funded out of<br>the Highway Trust Fund pending enactment of a multiyear law reauthorizing such programs.","HRES128","Sets forth the rule for consideration of the bill (H.R. 662) to provide an extension of<br>Federal-aid highway, highway safety, motor carrier safety, transit, and other programs<br>funded out of the Highway Trust Fund pending enactment of a multiyear law reauthorizing<br>such programs."],["Providing for consideration of the bill (H.R. 4) to repeal the expansion of information<br>reporting requirements for payments of $600 or more to corporations, and for other<br>purposes.","HRES129","Sets forth the rule for consideration of the bill (H.R. 4) to repeal the expansion of<br>information reporting requirements for payments of $600 or more to corporations."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund pending enactment of a<br>multiyear law reauthorizing such programs.","HR662","Surface Transportation Extension Act of 2011 - (Sec. 1) Directs the Secretary of<br>Transportation to reduce the amount apportioned for a surface transportation program,<br>project, or activity for FY2011 by amounts apportioned or allocated under the Surface<br>Transportation Extension Act of 2010 and the Surface Transportation Extension Act of 2010,<br>Part II for the period October 1, 2010-March 4, 2011. Title I: Federal-Aid Highways -<br>(Sec. 101) Amends the Surface Transportation Extension Act of 2010 ..."],["To repeal the expansion of information reporting requirements for payments of $600 or more<br>to corporations, and for other purposes.","HR4","Comprehensive 1099 Taxpayer Protection and Repayment of Exchange Subsidy Overpayments Act<br>of 2011 - Amends the Internal Revenue Code to: (1) repeal requirements for the reporting<br>to the Internal Revenue Service (IRS) of payments of $600 or more to corporations that are<br>not tax-exempt and of gross proceeds paid in consideration for any type of property; (2)<br>repeal requirements for reporting payments made with respect to rental property which is<br>not part of a trade or business; and (3) increase..."],["To amend the Public Health Service Act to enhance the roles of dentists and allied dental<br>personnel in the Nation's disaster response framework, and for other purposes.","HR570","Dental Emergency Responder Act of 2011 - Amends the Public Health Service Act to authorize<br>the inclusion of dental health facilities in the National Health Security Strategy for<br>purposes of preparedness during public health emergencies. Includes dental entities among<br>entities that may carry out education and training activities to improve responses to<br>public health emergencies."],["Providing for consideration of the bill (H.R. 830) to rescind the unobligated funding for<br>the FHA Refinance Program and to terminate the program.","HRES150","Sets forth the rule for consideration of the bill (H.R. 830) to rescind the unobligated<br>funding for the FHA Refinance Program and to terminate the program."],["To rescind the unobligated funding for the FHA Refinance Program and to terminate the<br>program.","HR830","FHA Refinance Program Termination Act - Rescinds and permanently cancels all unexpended<br>funding remaining available and allocated for the Federal Housing Administration (FHA)<br>Refinancing Program of the Making Home Affordable initiative of the Secretary of the<br>Treasury (under which borrowers owing more on their mortgage than the value of their home<br>are provided opportunities to refinance into a FHA loan). Terminates the program. Requires<br>all such unobligated balances so rescinded and permanent..."],["To rescind the unobligated funding for the Emergency Mortgage Relief Program and to<br>terminate the program.","HR836","Emergency Mortgage Relief Program Termination Act - Rescinds and permanently cancels all<br>unobligated funding remaining available under the Dodd-Frank Wall Street Reform and<br>Consumer Protection Act for the Emergency Mortgage Relief Program. Terminates the program.<br>Requires all such unobligated balances so rescinded and permanently canceled to be<br>retained in the general fund of the Treasury for reducing the debt of the federal<br>government. Directs the Secretary of Housing and Urban Development (..."],["Providing for the acceptance of a statue of Gerald R. Ford from the people of Michigan for<br>placement in the United States Capitol.","HCONRES27","Accepts in the name of the United States the statue of Gerald R. Ford furnished by the<br>people of Michigan for placement in the U.S. Capitol. Tenders the thanks of Congress to<br>the people of Michigan for providing this commemoration. Authorizes Michigan to use the<br>rotunda of the Capitol on May 3, 2011, for a presentation ceremony."],["Providing for consideration of the joint resolution (H.J. Res. 48) making further<br>continuing appropriations for fiscal year 2011, and for other purposes.","HRES167","Sets forth the rule for consideration of the joint resolution (H.J. Res. 48) making<br>further continuing appropriations for fiscal year 2011."],["Making further continuing appropriations for fiscal year 2011, and for other purposes.","HJRES48","Additional Continuing Appropriations Amendments, 2011 - Amends the Continuing<br>Appropriations Act, 2011 (CAA of 2011) (P.L. 111-242) to extend through April 8, 2011,<br>specified continuing appropriations for FY2011. Provides funding at a specified rate of<br>operations for certain agricultural, conservation, and rural development programs.<br>Eliminates specified funding for: (1) the Agricultural Research Service, (2) the Natural<br>Resources Conservation Service, (3) the National Telecommunications and ..."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES30","Declares that when the House adjourns on the legislative day of Thursday, March 17, 2011,<br>Friday, March 18, 2011, or Saturday, March 19, 2011, it stand adjourned until 2 p.m. on<br>Tuesday, March 29, 2011. Declares that when the Senate recesses or adjourns on any day<br>from Thursday, March 17, 2011, through Friday, March 25, 2011, it stand recessed or<br>adjourned until noon on Monday, March 28, 2011."],["Providing for consideration of the bill (H.R. 839) to amend the Emergency Economic<br>Stabilization Act of 2008 to terminate the authority of the Secretary of the Treasury to<br>provide new assistance under the Home Affordable Modification Program, while preserving<br>assistance to homeowners who were already extended an offer to participate in the Program,<br>either on a trial or permanent basis; and providing for consideration of the bill (H.R.<br>861) to rescind the third round of funding for the Neighborhood Stabilization Program and<br>to terminate the program.","HRES170","Sets forth the rule for consideration of the bill (H.R. 839) to amend the Emergency<br>Economic Stabilization act of 2008 to terminate the authority of the Secretary of the<br>Treasury to provide new assistance under the Home Affordable Modification Program, while<br>preserving assistance to homeowners who were already extended an offer to participate in<br>the Program, either on a trial or permanent basis; and providing for consideration of the<br>bill (H.R. 861) to rescind the third round of funding for t..."],["To rescind the third round of funding for the Neighborhood Stabilization Program and to<br>terminate the program.","HR861","NSP Termination Act - Rescinds and cancels permanently all unobligated balances remaining<br>available, as of the enactment of the Dodd-Frank Wall Street Reform and Consumer<br>Protection Act, to the Secretary of Housing and Urban Development (HUD) for assistance to<br>states and local governments for the redevelopment of abandoned and foreclosed homes and<br>residential properties. (Thus, rescinds the third round of funding for the Neighborhood<br>Stabilization Program [NSP].) Urges that all such rescinded..."],["Providing for consideration of the bill (H.R. 1076) to prohibit Federal funding of<br>National Public Radio and the use of Federal funds to acquire radio content.","HRES174","Sets forth the rule for consideration of the bill (H.R. 1076) to prohibit Federal funding<br>of National Public Radio and the use of Federal funds to acquire radio content."],["To prohibit Federal funding of National Public Radio and the use of Federal funds to<br>acquire radio content.","HR1076","Prohibits federal funding to organizations incorporated for specified purposes related to:<br>(1) broadcasting, transmitting, and programming over noncommercial educational radio<br>broadcast stations, networks, and systems; (2) cooperating with foreign broadcasting<br>systems and networks in international radio programming and broadcasting; (3) assisting<br>and supporting such noncommercial educational radio broadcasting pursuant to the Public<br>Broadcasting Act of 1967; (4) paying dues to such organizati..."],["To amend the Emergency Economic Stabilization Act of 2008 to terminate the authority of<br>the Secretary of the Treasury to provide new assistance under the Home Affordable<br>Modification Program, while preserving assistance to homeowners who were already extended<br>an offer to participate in the Program, either on a trial or permanent basis.","HR839","HAMP Termination Act of 2011 - Amends the Emergency Economic Stabilization Act of 2008<br>(EESA) to terminate the authority of the Secretary of the Treasury to provide new mortgage<br>modification assistance under the Home Affordable Modification Program (HAMP), except with<br>respect to existing obligations on behalf of homeowners already extended an offer to<br>participate in the program. Declares unavailable after the enactment of this Act for<br>obligation or expenditure under HAMP any amounts made avai..."],["Providing for consideration of the bill (H.R. 471) to reauthorize the DC opportunity<br>scholarship program, and for other purposes.","HRES186","Sets forth the rule for consideration of the bill (H.R. 471) to reauthorize the DC<br>opportunity scholarship program."],["To reauthorize the DC opportunity scholarship program, and for other purposes.","HR471","Scholarships for Opportunity and Results Act or SOAR Act - (Sec. 4) Authorizes the<br>Secretary of Education to award five-year grants on a competitive basis to nonprofit<br>organizations to carry out a program to provide expanded school choice opportunities to<br>students who are District of Columbia (DC) residents and who come from households: (1)<br>receiving assistance under the supplemental nutrition assistance program under the Food<br>and Nutrition Act of 2008; or (2) with incomes not exceeding 185% ..."],["Providing for consideration of the bill (H.R. 658) to amend title 49, United States Code,<br>to authorize appropriations for the Federal Aviation Administration for fiscal years 2011<br>through 2014, to streamline programs, create efficiencies, reduce waste, and improve<br>aviation safety and capacity, to provide stable funding for the national aviation system,<br>and for other purposes.","HRES189","Sets forth the rule for consideration of the bill (H.R. 658) to amend title 49, United<br>States Code, to authorize appropriations for the Federal Aviation Administration for<br>fiscal years 2011 through 2014, to streamline programs, create efficiencies, reduce waste,<br>and improve aviation safety and capacity, to provide stable funding for the national<br>aviation system."],["To amend the Federal Insecticide, Fungicide, and Rodenticide Act and the Federal Water<br>Pollution Control Act to clarify Congressional intent regarding the regulation of the use<br>of pesticides in or near navigable waters, and for other purposes.","HR872","Reducing Regulatory Burdens Act of 2011 - Amends the Federal Insecticide, Fungicide, and<br>Rodenticide Act (FIFRA) and the Federal Water Pollution Control Act (commonly known as the<br>Clean Water Act [CWA]) to prohibit the Administrator of the Environmental Protection<br>Agency (EPA) or a state from requiring a permit under the CWA for a discharge from a point<br>source into navigable waters of a pesticide authorized for sale, distribution, or use<br>under FIFRA, or the residue of such a pesticide, result..."],["To amend title 49, United States Code, to authorize appropriations for the Federal<br>Aviation Administration for fiscal years 2011 through 2014, to streamline programs, create<br>efficiencies, reduce waste, and improve aviation safety and capacity, to provide stable<br>funding for the national aviation system, and for other purposes.","HR658","FAA Modernization and Reform Act of 2012 - Title I: Authorizations - Subtitle A: Funding<br>of FAA Programs - (Sec. 101) Authorizes appropriations to the Secretary of Transportation<br>(DOT) out of the Airport and Airway Trust Fund for FY2012-FY2015 for: (1) airport planning<br>and development and noise compatibility planning programs, (2) Federal Aviation<br>Administration (FAA) air navigation facilities and equipment, and (3) FAA operations.<br>(Sec. 103) Requires the Secretary, in cases where appropriati..."],["Providing for consideration of the bill (H.R. 1255) to prevent a shutdown of the<br>government of the United States, and for other purposes.","HRES194","Sets forth the rule for consideration of the bill (H.R. 1255) enacting H.R. 1, which makes<br>continuing appropriations for FY2011, as passed by the House."],["To prevent a shutdown of the government of the United States, and for other purposes.","HR1255","Government Shutdown Prevention Act of 2011 - Enacts into law the provisions of H.R. 1<br>(Full-Year Continuing Appropriations Act, 2011), as passed by the House on February 19,<br>2011, if the House has not received a message from the Senate before April 6, 2011,<br>stating that it has passed a measure providing for the appropriations for the federal<br>departments and agencies for the remainder of FY2011. Prohibits the Secretary of the<br>Senate and the Chief Administrative Officer of the House, respective..."],["To reduce the amounts otherwise authorized to be appropriated to the Department of Defense<br>for printing and reproduction.","HR1246","Reduces by 10% the amounts authorized to be appropriated to the Department of Defense<br>(DOD) for FY2012 for printing and reproduction under Army, Navy, Marine Corps, Air Force,<br>and defense-wide operation and maintenance funds."],["Providing for consideration of the joint resolution (H.J. Res. 37) disapproving the rule<br>submitted by the Federal Communications Commission with respect to regulating the Internet<br>and broadband industry practices.","HRES200","Sets forth the rule for consideration of the joint resolution (H.J. Res. 37) disapproving<br>the rule submitted by the Federal Communications Commission with respect to regulating the<br>Internet and broadband industry practices."],["Providing for consideration of the bill (H.R. 910) to amend the Clean Air Act to prohibit<br>the Administrator of the Environmental Protection Agency from promulgating any regulation<br>concerning, taking action relating to, or taking into consideration the emission of a<br>greenhouse gas to address climate change, and for other purposes.","HRES203","Sets forth the rule for consideration of the bill (H.R. 910) to amend the Clean Air Act to<br>prohibit to Administrator of the Environmental Protection Agency from promulgating any<br>regulation concerning, taking action relating to, or taking into consideration the<br>emission of a greenhouse gas to address climate change."],["To amend the Clean Air Act to prohibit the Administrator of the Environmental Protection<br>Agency from promulgating any regulation concerning, taking action relating to, or taking<br>into consideration the emission of a greenhouse gas to address climate change, and for<br>other purposes.","HR910","Energy Tax Prevention Act of 2011 - Amends the Clean Air Act to prohibit the Administrator<br>of the Environmental Protection Agency (EPA) from promulgating any regulation concerning,<br>taking action relating to, or taking into consideration the emission of a greenhouse gas<br>(GHG) to address climate change. Excludes GHGs from the definition of \"air pollutant\" for<br>purposes of addressing climate change. Exempts from such prohibition: (1) implementation<br>and enforcement of the rule, \"Light-Duty Vehicle..."],["Providing for consideration of the bill (H.R. 1363) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2011, and for other<br>purposes; and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules.","HRES206","Sets forth the rule for consideration of the bill (H.R. 1363) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2011, and for other<br>purposes; and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2011, and for other purposes.","HR1363","Further Additional Continuing Appropriations Amendments, 2011 - Amends the Continuing<br>Appropriations Act, 2011 to extend from December 3, 2010, to April 15, 2011, the date by<br>which appropriations and funds made available and authority granted pursuant to such Act<br>shall be available. Provides reduced rates of operation for FY2011 for the following<br>accounts or activities within the Department of Transportation (DOT): (1) Office of the<br>Secretary--Transportation Planning, Research, and Developmen..."],["Disapproving the rule submitted by the Federal Communications Commission with respect to<br>regulating the Internet and broadband industry practices.","HJRES37","Expresses Congress's disapproval of the rule adopted by the Federal Communications<br>Commission (FCC) on December 21, 2010, relating to preserving the open Internet and<br>broadband industry practices. Prohibits such rule from having any force or effect."],["To amend the Ronald Reagan Centennial Commission Act to extend the termination date for<br>the Commission, and for other purposes.","HR1308","Amends the Ronald Reagan Centennial Commission Act to extend: (1) the due date of the<br>final report of the Ronald Reagan Centennial Commission from April 30, 2011, to November<br>30, 2011; and (2) the final termination date of such Commission from May 30, 2011, to<br>December 31, 2011."],["Providing for consideration of the bill (H.R. 1217) to repeal the Prevention and Public<br>Health Fund.","HRES219","Sets forth the rule for consideration of the bill (H.R. 1217) to repeal the Prevention and<br>Public Health Fund."],["Providing for consideration of the bill (H.R. 1473) making appropriations for the<br>Department of Defense and the other departments and agencies of the Government for the<br>fiscal year ending September 30, 2011, and for other purposes; providing for consideration<br>of the concurrent resolution (H. Con. Res. 35) directing the Clerk of the House of<br>Representatives to make a correction in the enrollment of H.R. 1473; and providing for<br>consideration of the concurrent resolution (H. Con. Res. 36) directing the Clerk of the<br>House of Representatives to make a correction in the enrollment of H.R. 1473.","HRES218","Sets forth the rule for consideration of the bill (H.R. 1473) making appropriations for<br>the Department of Defense and the other departments and agencies of the Government for the<br>fiscal year ending September 30, 2011, and for other purposes; providing for consideration<br>of the concurrent resolution (H. Con. Res. 35) directing the Clerk of the House of<br>Representatives to make a correction in the enrollment of H.R. 1473; and providing for<br>consideration of the concurrent resolution (H. Con. Res. ..."],["To repeal the Prevention and Public Health Fund.","HR1217","Amends the Patient Protection and Affordable Care Act to repeal provisions establishing<br>and appropriating funds to the Prevention and Public Health Fund (a Fund to provide for<br>expanded and sustained national investment in prevention and public health programs to<br>improve health and help restrain the rate of growth in private and public sector health<br>care costs). Rescinds any unobligated balances appropriated to such Fund. Directs the<br>Secretary of Health and Human Services (HHS) to\u00a0post a notic..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 34) establishing<br>the budget for the United States Government for fiscal year 2012 and setting forth<br>appropriate budgetary levels for fiscal years 2013 through 2021.","HRES223","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 34)<br>establishing the budget for the United States Government for fiscal year 2012 and setting<br>forth appropriate budgetary levels for fiscal years 2013 through 2021."],["Making appropriations for the Department of Defense and the other departments and agencies<br>of the Government for the fiscal year ending September 30, 2011, and for other purposes.","HR1473","Department of Defense and Full-Year Continuing Appropriations Act, 2011 - Division A:<br>Department of Defense Appropriations, 2011 - Department of Defense Appropriations Act,<br>2011- Title I: Military Personnel - Appropriates funds for FY2011 for active-duty and<br>reserve personnel in the Army, Navy, Marine Corps, and Air Force (the military<br>departments), and for National Guard personnel in the Army and Air Force. Title II:<br>Operation and Maintenance - Appropriates funds for FY2011 for operation and..."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES43","Declares that when the House adjourns on the legislative day of Friday, April 15, 2011, or<br>Saturday, April 16, 2011, it stand adjourned until 2 p.m. on Monday, May 2, 2011. Declares<br>that when the Senate recesses or adjourns on any day from Thursday, April 14, 2011,<br>through Friday, April 29, 2011, it stand recessed or adjourned until noon on Monday, May<br>2, 2011."],["Directing the Clerk of the House of Representatives to make a correction in the enrollment<br>of H.R. 1473.","HCONRES35","Directs the Clerk of the House of Representatives to make a correction in the enrollment<br>of H.R. 1473 (Department of Defense and Full-Year Continuing Appropriations Act, 2011) to<br>prohibit any funds under such Act or any previous Act from being used to carry out the<br>provisions of the Patient Protection and Affordable Care Act or the health care provisions<br>of the Health Care and Education Reconciliation Act of 2010 or any amendments made by<br>those Acts."],["Directing the Clerk of the House of Representatives to make a correction in the enrollment<br>of H.R. 1473.","HCONRES36","Directs the Clerk of the House of Representatives to make a correction in the enrollment<br>of H.R. 1473 (Department of Defense and Full-Year Continuing Appropriations Act, 2011) to<br>prohibit any funds under such Act from being made available to Planned Parenthood<br>Federation of America, Inc. or any affiliate of Planned Parenthood Federation of America,<br>Inc."],["Establishing the budget for the United States Government for fiscal year 2012 and setting<br>forth appropriate budgetary levels for fiscal years 2013 through 2021.","HCONRES34","Sets forth the congressional budget for the federal government for FY2012, including the<br>appropriate budgetary levels for FY2013-FY2021. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Lists recommended budgetary levels and amounts for FY2012-FY2021 with respect<br>to: (1) federal revenues, (2) new budget authority, (3) budget outlays, (4) deficits (on-<br>budget), (5) debt subject to limit, and (6) debt held by the public. (Sec. 102) Lists the<br>appropriate levels of new budget authority and out..."],["To designate the facility of the United States Postal Service located at 115 4th Avenue<br>Southwest in Ardmore, Oklahoma, as the \"Specialist Micheal E. Phillips Post Office\".","HR1423","Designates the facility of the United States Postal Service located at 115 4th Avenue<br>Southwest in Ardmore, Oklahoma, as the \"Specialist Micheal E. Phillips Post Office.\""],["Providing for consideration of the bill (H.R. 1213) to repeal mandatory funding provided<br>to States in the Patient Protection and Affordable Care Act to establish American Health<br>Benefit Exchanges, and providing for consideration of the bill (H.R. 1214) to repeal<br>mandatory funding for school-based health center construction.","HRES236","Sets forth the rule for consideration of the bill (H.R. 1213) to repeal mandatory funding<br>provided to States in the Patient Protection and Affordable Care Act to establish American<br>Health Benefit Exchanges, and providing for consideration of the bill (H.R. 1214) to<br>repeal mandatory funding for school-based health center construction."],["To repeal mandatory funding provided to States in the Patient Protection and Affordable<br>Care Act to establish American Health Benefit Exchanges.","HR1213","Amends the Patient Protection and Affordable Care Act to repeal provisions appropriating<br>funds to the Secretary of Health and Human Services (HHS) to award grants to states for<br>activities (including planning activities) related to establishing an American Health<br>Benefit Exchange (a state health insurance exchange). Rescinds any unobligated funds made<br>available under such provisions."],["Providing for consideration of the bill (H.R. 3) to prohibit taxpayer funded abortions and<br>to provide for conscience protections, and for other purposes.","HRES237","Sets forth the rule for consideration of the bill (H.R. 3) to prohibit taxpayer funded<br>abortions and to provide for conscience protections."],["To repeal mandatory funding for school-based health center construction.","HR1214","Amends the Patient Protection and Affordable Care Act to repeal the program requiring the<br>Secretary of Health and Human Services (HHS) to award grants to school-based health<br>centers or their sponsoring facilities to support the operation of such health centers.<br>Rescinds unobligated appropriations for the program."],["To prohibit taxpayer funded abortions and to provide for conscience protections, and for<br>other purposes.","HR3","No Taxpayer Funding for Abortion Act - Title I: Prohibiting Federally-Funded Abortions and<br>Providing for Conscience Protections - (Sec. 101) Prohibits the expenditure of funds<br>authorized or appropriated by federal law or funds in any trust fund to which funds are<br>authorized or appropriated by federal law (federal funds) for any abortion. Prohibits<br>federal funds from being used for any health benefits coverage that includes coverage of<br>abortion. (Currently, federal funds cannot be used for abo..."],["Providing for consideration of the bill (H.R. 1229) to amend the Outer Continental Shelf<br>Lands Act to facilitate the safe and timely production of American energy resources from<br>the Gulf of Mexico, and providing for consideration of the bill (H.R. 1230) to require the<br>Secretary of the Interior to conduct certain offshore oil and gas lease sales, and for<br>other purposes.","HRES245","Sets forth the rule for consideration of the bill (H.R. 1229) to amend the Outer<br>Continental Shelf Lands Act to facilitate the safe and timely production of American<br>energy resources from the Gulf of Mexico, and providing for consideration of the bill<br>(H.R. 1230) to require the Secretary of the Interior to conduct certain offshore oil and<br>gas lease sales."],["To require the Secretary of the Interior to conduct certain offshore oil and gas lease<br>sales, and for other purposes.","HR1230","Restarting American Offshore Leasing Now Act - (Sec. 2) Directs the Secretary of the<br>Interior to conduct specified proposed offshore oil and gas lease sales as follows: (1)<br>lease sale 216 in the Central Gulf of Mexico within four months after enactment of this<br>Act; (2) lease sale 218 in the Western Gulf of Mexico within eight months after enactment<br>of this Act; (3) lease sale 220 on the Outer Continental Shelf offshore Virginia within<br>one year after enactment of this Act; and (4) lease sale 2..."],["To amend the Outer Continental Shelf Lands Act to facilitate the safe and timely<br>production of American energy resources from the Gulf of Mexico.","HR1229","Putting the Gulf of Mexico Back to Work Act - Title I: Amendment to the Outer Continental<br>Shelf Lands Act - (Sec. 101) Amends the Outer Continental Shelf Lands Act to direct the<br>Secretary of the Interior (who currently is only authorized) to require that any lessee<br>operating under an approved exploration plan obtain: (1) a permit before drilling any well<br>in accordance with such plan, and (2) a new permit before drilling any well of a design<br>significantly different from the design for which an..."],["Providing for consideration of the bill (H.R. 1231) to amend the Outer Continental Shelf<br>Lands Act to require that each 5-year offshore oil and gas leasing program offer leasing<br>in the areas with the most prospective oil and gas resources, to establish a domestic oil<br>and natural gas production goal, and for other purposes.","HRES257","Sets forth the rule for consideration of the bill (H.R. 1231) to amend the Outer<br>Continental Shelf Lands Act to require that each 5-year offshore oil and gas leasing<br>program offer leasing in the areas with the most prospective oil and gas resources, to<br>establish a domestic oil and natural gas production goal."],["To amend the Outer Continental Shelf Lands Act to require that each 5-year offshore oil<br>and gas leasing program offer leasing in the areas with the most prospective oil and gas<br>resources, to establish a domestic oil and natural gas production goal, and for other<br>purposes.","HR1231","Reversing President Obama's Offshore Moratorium Act - Amends the Outer Continental Shelf<br>Lands Act to direct the Secretary of the Interior to make available for leasing and to<br>conduct lease sales including: (1) at least 50% of the available unleased acreage within<br>each outer Continental Shelf (OCS) planning area considered to have the largest<br>undiscovered, technically recoverable oil and gas resources (on a total btu basis) based<br>upon the most recent national geologic assessment of the OCS, w..."],["Providing for a conditional adjournment of the House of Representatives.","HCONRES50","Declares that when the House adjourns on the legislative day of Friday, May 13, 2011, or<br>Saturday, May 14, 2011, it stand adjourned until 2 p.m. on Monday, May 23, 2011."],["Providing for consideration of the bill (H.R. 754) to authorize appropriations for fiscal<br>year 2011 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes.","HRES264","Sets forth the rule for consideration of the bill (H.R. 754) to authorize appropriations<br>for fiscal year 2011 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System."],["To authorize appropriations for fiscal year 2011 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR754","Intelligence Authorization Act for Fiscal Year 2011 - Title I: Budget and Personnel<br>Authorizations - (Sec. 101) Authorizes appropriations for FY2011 for the conduct of<br>intelligence and intelligence-related activities of the: (1) Office of the Director of<br>National Intelligence (DNI); (2) Central Intelligence Agency (CIA); (3) Department of<br>Defense (DOD); (4) Defense Intelligence Agency (DIA); (5) National Security Agency (NSA);<br>(6) Departments of the Army, Navy, and Air Force; (7) Coast Guard;..."],["To amend title 38, United States Code, to provide for certain requirements for the<br>placement of monuments in Arlington National Cemetery, and for other purposes.","HR1627","(This measure has not been amended since it was passed by the Senate on July 18, 2012. The<br>summary of that version is repeated here.) Honoring America's Veterans and Caring for Camp<br>Lejeune Families Act of 2012 - Title I: Health Care Matters - Janey Ensminger Act - (Sec.<br>102) Makes any veteran who served on active duty at Camp Lejeune, North Carolina, for at<br>least 30 days between January 1, 1957, and December 31, 1987, and their family members,<br>eligible for hospital care and medical services ..."],["To temporarily preserve higher rates for tuition and fees for programs of education at<br>non-public institutions of higher learning pursued by individuals enrolled in the<br>Post-9/11 Educational Assistance Program of the Department of Veterans Affairs before the<br>enactment of the Post-9/11 Veterans Educational Assistance Improvements Act of 2010, and<br>for other purposes.","HR1383","Restoring GI Bill Fairness Act of 2011 - Makes the amount payable for programs of<br>education at nonpublic institutions of higher education pursued by individuals enrolled in<br>the Department of Veterans Affairs (VA) post-9/11 educational assistance program<br>(post-9/11 program) during the period beginning on August 1, 2011, and ending on July 31,<br>2014, the greater of $17,500, or the established charges payable under a VA maximum<br>payments table published on October 27, 2010 (thereby preserving for ..."],["To amend title 38, United States Code, to revise the enforcement penalties for<br>misrepresentation of a business concern as a small business concern owned and controlled<br>by veterans or as a small business concern owned and controlled by service-disabled<br>veterans.","HR1657","Directs that any business determined by the Secretary of Veterans Affairs (VA) to have<br>misrepresented its status as a small business owned and controlled by veterans or service-<br>disabled veterans in order to increase its contracting opportunities shall be debarred<br>from contracting with the VA for not less than five years (under current law, for a<br>reasonable period as determined by the Secretary). Requires the Secretary to commence the<br>debarment action within 30 days after the misrepresentation..."],["Providing for consideration of the bill (H.R. 1216) to amend the Public Health Service Act<br>to convert funding for graduate medical education in qualified teaching health centers<br>from direct appropriations to an authorization of appropriations; providing for<br>consideration of the bill (H.R. 1540) to authorize appropriations for fiscal year 2012 for<br>military activities of the Department of Defense and for military construction, to<br>prescribe military personnel strengths for fiscal year 2012, and for other purposes; and<br>waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES269","Sets forth the rule for consideration of the bill (H.R. 1216) to amend the Public Health<br>Service Act to convert funding for graduate medical education in qualified teaching health<br>centers from direct appropriations to an authorization of appropriations; providing for<br>consideration of the bill (H.R. 1540) to authorize appropriations for fiscal year 2012 for<br>military activities of the Department of Defense and for military construction, to<br>prescribe military personnel strengths for fiscal year ..."],["To amend the Public Health Service Act to convert funding for graduate medical education<br>in qualified teaching health centers from direct appropriations to an authorization of<br>appropriations.","HR1216","Amends the Public Health Service Act to convert funding from direct appropriations to an<br>authorization of appropriations for a program of payments to qualified teaching health<br>centers for approved graduate medical residency training programs. Rescinds any<br>unobligated balances appropriated for such program."],["Providing for further consideration of the bill (H.R. 1540) to authorize appropriations<br>for fiscal year 2012 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for fiscal year 2012, and for<br>other purposes.","HRES276","Sets forth the rule for consideration of H.R. 1540 (National Defense Authorization Act for<br>Fiscal Year 2012)."],["To authorize appropriations for fiscal year 2012 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>fiscal year 2012, and for other purposes.","HR1540","National Defense Authorization Act for Fiscal Year 2012 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2012 for the Department of<br>Defense (DOD) for procurement for the Army, Navy and Marine Corps, Air Force, and defense-<br>wide activities, in amounts specified in the funding table in Division D of this Act.<br>Subtitle B: Army Programs - (Sec. 111) Prohibits the Secretary of the Arm..."],["To implement the President's request to increase the statutory limit on the public debt.","HR1954","Increases the statutory limit on the public debt from $14.294 trillion to $16.7 trillion."],["Providing for consideration of the bill (H.R. 2017) making appropriations for the<br>Department of Homeland Security for the fiscal year ending September 30, 2012, and for<br>other purposes.","HRES287","Sets forth the rule for consideration of the bill (H.R. 2017) making appropriations for<br>the Department of Homeland Security for the fiscal year ending September 30, 2012."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2012, and for other purposes.","HR2017","Continuing Appropriations Act, 2012 - Makes continuing appropriations for FY2012. (Sec.<br>101) Makes appropriations for continuing operations, projects, or activities which were<br>conducted in FY2011 and for which appropriations, funds, or other authority were made<br>available in: (1) the Department of Defense Appropriations Act, 2011 (division A of Public<br>Law 112-10); and (2) the Full-Year Continuing Appropriations Act, 2011 (division B of<br>Public Law 112-10). Reduces the rate for operations by 1.5..."],["Providing for consideration of the resolution (H. Res. 292) declaring that the President<br>shall not deploy, establish, or maintain the presence of units and members of the United<br>States Armed Forces on the ground in Libya, and for other purposes, and providing for<br>consideration of the concurrent resolution (H. Con. Res. 51) directing the President,<br>pursuant to section 5(c) of the War Powers Resolution, to remove the United States Armed<br>Forces from Libya.","HRES294","Sets forth the rule for consideration of the resolution (H. Res. 292) declaring that the<br>President shall not deploy, establish, or maintain the presence of units and members of<br>the United States Armed Forces on the ground in Libya, and for other purposes, and<br>providing for consideration of the concurrent resolution (H. Con. Res. 51) directing the<br>President, pursuant to section 5(c) of the War Powers Resolution, to remove the United<br>States Armed Forces from Libya."],["Declaring that the President shall not deploy, establish, or maintain the presence of<br>units and members of the United States Armed Forces on the ground in Libya, and for other<br>purposes.","HRES292","States the policy of the House of Representatives that: (1) the U.S. Armed Forces shall be<br>used exclusively to defend and advance the national security interests of the United<br>States; (2) the President has failed to provide Congress with a compelling rationale based<br>upon national security interests for current U.S. military activities regarding Libya; and<br>(3) the President shall not deploy, establish, or maintain the presence of units and<br>members of the Armed Forces on the ground in Libya unl..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2012, and for other purposes.","HR2055","Consolidated Appropriations Act, 2012 - Division A: Department of Defense Appropriations<br>Act, 2012 - Department of Defense Appropriations Act, 2012 - Title I: Military Personnel -<br>Appropriates funds for FY2012 for active-duty and reserve personnel in the Army, Navy,<br>Marine Corps, and Air Force (the military departments), and for National Guard personnel<br>in the Army and Air Force. Title II: Operation and Maintenance - Appropriates funds for<br>FY2012 for operation and maintenance (O&amp;M) for th..."],["Providing for consideration of the bill (H.R. 2112) making appropriations for Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies programs for the<br>fiscal year ending September 30, 2012, and for other purposes.","HRES300","Sets forth the rule for consideration of the bill (H.R. 2112) making appropriations for<br>Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2012."],["Making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2012, and for other<br>purposes.","HR2112","(This measure has not been amended since the conference report was filed in the House on<br>November 14, 2011. The summary of that version is repeated here.) Consolidated and Further<br>Continuing Appropriations Act, 2012 - Division A: Agriculture, Rural Development, Food and<br>Drug Administration, and Related Agencies - Title I: Agricultural Programs - Appropriates<br>FY2012 funds for the following Department of Agriculture (USDA) programs and services: (1)<br>Office of the Secretary of Agriculture (Secre..."],["To designate the facility of the United States Postal Service located at 5014 Gary Avenue<br>in Lubbock, Texas, as the \"Sergeant Chris Davis Post Office\".","HR1632","Designates the facility of the United States Postal Service located at 5014 Gary Avenue in<br>Lubbock, Texas, as the \"Sergeant Chris Davis Post Office.\""],["Providing for consideration of the bill (H.R. 2021) to amend the Clean Air Act regarding<br>air pollution from Outer Continental Shelf activities, and providing for consideration of<br>the bill (H.R. 1249) to amend title 35, United States Code, to provide for patent reform.","HRES316","Sets forth the rule for consideration of the bill (H.R. 2021) to amend the Clean Air Act<br>regarding air pollution from Outer Continental Shelf activities, and providing for<br>consideration of the bill (H.R. 1249) to amend title 35, United States Code, to provide<br>for patent reform."],["To terminate the Election Assistance Commission, and for other purposes.","HR672","Election Support Consolidation and Efficiency Act - (Sec. 2) Amends the Help America Vote<br>Act of 2002 to terminate the Election Assistance Commission (EAC), the EAC Standards<br>Board, and the EAC Board of Advisors 61 days after enactment of this Act. Requires the<br>Director of the Office of Management and Budget (OMB) to perform EAC functions with<br>respect to certain existing contracts and agreements during the transition period for<br>winding up EAC affairs. Transfers specified election administrati..."],["To amend the Clean Air Act regarding air pollution from Outer Continental Shelf<br>activities.","HR2021","Jobs and Energy Permitting Act of 2011 - Amends the Clean Air Act to require any air<br>quality impact of Outer Continental Shelf (OCS) sources to be measured or modeled and<br>determined solely with respect to the impacts in the corresponding onshore area. Provides<br>that: (1) emissions from any vessel servicing or associated with an OCS source, including<br>emissions while at the OCS source or in route to or from the OCS source within 25 miles of<br>the OCS source, shall be considered direct emissions fr..."],["Providing for consideration of the bill (H.R. 2219) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2012, and for other<br>purposes.","HRES320","Sets forth the rule for consideration of the bill (H.R. 2219) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2012."],["To amend title 35, United States Code, to provide for patent reform.","HR1249","(This measure has not been amended since it was passed by the House on June 23, 2011. The<br>summary of that version is repeated here.) Leahy-Smith America Invents Act - (Sec. 3)<br>Amends federal patent law to define the \"effective filing date\" of a claimed invention as<br>the actual filing date of the patent or the application for patent containing a claim to<br>the invention (thus replacing the current \"first to invent\" system with a \"first inventor<br>to file\" system), except as specified. Requires the ..."],["Providing for consideration of the joint resolution (H.J. Res. 68) authorizing the limited<br>use of the United States Armed Forces in support of the NATO mission in Libya; and<br>providing for consideration of the bill (H.R. 2278) to limit the use of funds appropriated<br>to the Department of Defense for United States Armed Forces in support of North Atlantic<br>Treaty Organization Operation Unified Protector with respect to Libya, unless otherwise<br>specifically authorized by law.","HRES328","Sets forth the rule for consideration of the joint resolution (H.J. Res. 68) authorizing<br>the limited use of the United States Armed Forces in support of the NATO mission in Libya;<br>and providing for consideration of the bill (H.R. 2278) to limit the use of funds<br>appropriated to the Department of Defense for United States Armed Forces in support of<br>North Atlantic Treaty Organization Operation Unified Protector with respect to Libya,<br>unless otherwise specifically authorized by law."],["To limit the use of funds appropriated to the Department of Defense for United States<br>Armed Forces in support of North Atlantic Treaty Organization Operation Unified Protector<br>with respect to Libya, unless otherwise specifically authorized by law.","HR2278","Prohibits, unless otherwise specifically authorized by law, funds appropriated or<br>otherwise available to the Department of Defense (DOD) from being obligated or expended<br>for U.S. Armed Forces in support of the North Atlantic Treaty Organization Operation<br>Unified Protector with respect to Libya, except for: (1) search and rescue; (2)<br>intelligence, surveillance, and reconnaissance; (3) aerial refueling; and (4) operational<br>planning."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2012, and for other purposes.","HR2219","Department of Defense Appropriations Act, 2012 - Title I: Military Personnel -<br>Appropriates funds for FY2012 for active-duty and reserve personnel in the Army, Navy,<br>Marine Corps, and Air Force (the military departments), and for National Guard personnel<br>in the Army and Air Force. Title II: Operation and Maintenance - Appropriates funds for<br>FY2012 for operation and maintenance (O&amp;M) for the military departments, the defense<br>agencies, the reserve components, and the Army and Air National G..."],["Reaffirming the United States' commitment to a negotiated settlement of the Israeli-<br>Palestinian conflict through direct Israeli-Palestinian negotiations, and for other<br>purposes.","HRES268","Reaffirms support for a negotiated solution to the Israeli-Palestinian conflict resulting<br>in two states, a democratic Jewish state of Israel and a democratic Palestinian state<br>living in peace and mutual recognition. States that any Palestinian unity government must<br>forswear terrorism, accept Israel's right to exist, and reaffirm previous agreements made<br>with Israel. Opposes any attempt to establish or seek recognition of a Palestinian state<br>outside of an agreement negotiated between Israel an..."],["Providing for consideration of the bill (H.R. 1309) to extend the authorization of the<br>national flood insurance program, to achieve reforms to improve the financial integrity<br>and stability of the program, and to increase the role of private markets in the<br>management of flood insurance risk, and for other purposes.","HRES340","Sets forth the rule for consideration of the bill (H.R. 1309) to extend the authorization<br>of the national flood insurance program, to achieve reforms to improve the financial<br>integrity and stability of the program, and to increase the role of private markets in the<br>management of flood insurance risk."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2012, and for other purposes.","HR2354","Energy and Water Development and Related Agencies Appropriations Act, 2012 - Makes<br>appropriations for energy and water development and related agencies for FY2012. Title I:<br>Corps Of Engineers - Civil - Appropriates funds to the Department of the Army, Corps of<br>Engineers-Civil, for: (1) civil functions pertaining to rivers and harbors, flood and<br>storm damage reduction, shore protection, and aquatic ecosystem restoration (including the<br>Mississippi River alluvial valley below Cape Girardeau, Mis..."],["To extend the authorization of the national flood insurance program, to achieve reforms to<br>improve the financial integrity and stability of the program, and to increase the role of<br>private markets in the management of flood insurance risk, and for other purposes.","HR1309","Flood Insurance Reform Act of 2011 - (Sec. 2) Amends the National Flood Insurance Act of<br>1968 (NFIA) to extend through FY2016 the financing for National Flood Insurance Program<br>(Program). (Sec. 3) Amends the Flood Disaster Protection Act of 1973 (FDPA) to authorize<br>the Administrator of the Federal Emergency Management Agency (FEMA) to suspend temporarily<br>the mandatory flood insurance purchase requirement for areas designated as having special<br>flood hazards, if they meet certain eligibility re..."],["To repeal certain amendments to the Energy Policy and Conservation Act with respect to<br>lighting energy efficiency, and for other purposes.","HR2417","Better Use of Light Bulbs Act - Repeals provisions of the Energy Independence and Security<br>Act of 2007 concerning lighting energy efficiency, including provisions amending the<br>Energy Policy and Conservation Act (EPCA), that: (1) prescribe energy efficiency standards<br>for general service incandescent lamps,\u00a0rough service lamps, and other designated lamps;<br>(2) direct the Secretary of Energy (DOE) to conduct and report to the Federal Trade<br>Commission (FTC) on an annual assessment of the market fo..."],["Providing for consideration of the bill (H.R. 2018) to amend the Federal Water Pollution<br>Control Act to preserve the authority of each State to make determinations relating to the<br>State's water quality standards, and for other purposes.","HRES347","Sets forth the rule for consideration of the bill (H.R. 2018) to amend the Federal Water<br>Pollution Control Act to preserve the authority of each State to make determinations<br>relating to the State's water quality standards."],["To amend the Federal Water Pollution Control Act to preserve the authority of each State<br>to make determinations relating to the State's water quality standards, and for other<br>purposes.","HR2018","Clean Water Cooperative Federalism Act of 2011 - (Sec. 2) Amends the Federal Water<br>Pollution Control Act (commonly known as the Clean Water Act) to prohibit the<br>Administrator of the Environmental Protection Agency (EPA) from: (1)\u00a0promulgating<br>a\u00a0revised or new water quality standard for a\u00a0pollutant when\u00a0the Administrator has<br>approved\u00a0a state water quality standard for\u00a0such pollutant unless the state concurs with<br>the Administrator's determination that the revised or new standard is necessary to..."],["To amend the Securities Act of 1933 to specify when certain securities issued in<br>connection with church plans are treated as exempted securities for purposes of that Act.","HR33","Church Plan Investment Clarification Act - Amends the Securities Act of 1933 with respect<br>to when certain securities issued in connection with retirement income accounts available<br>only to certain kinds of church plans are treated as exempted from registration and<br>disclosure requirements under such Act (exempted securities). Considers as an exempted<br>security a certain kind of retirement income account (available only to church plans), to<br>the extent that the interest or participation in a singl..."],["Providing for consideration of the bill (H.R. 2560) to cut, cap, and balance the Federal<br>budget.","HRES355","Sets forth the rule for consideration of the bill (H.R. 2560) to cut, cap, and balance the<br>Federal budget."],["To cut, cap, and balance the Federal budget.","HR2560","Cut, Cap, and Balance Act of 2011 - Title I: Cut - (Sec. 101) Amends the Congressional<br>Budget Act of 1974 (CBA) to make it out of order in both chambers to consider any bill,<br>joint resolution, amendment, or conference report that would cause the discretionary<br>spending limits established in this Act to be exceeded. Establishes the discretionary<br>spending limits for FY2012 as $1,019,402,000,000 in new budget authority and<br>$1,224,568,000,000 in outlays. Authorizes the Chairman of the Senate Commi..."],["Providing for consideration of the bill (H.R. 2553) to amend the Internal Revenue Code of<br>1986 to extend the funding and expenditure authority of the Airport and Airway Trust Fund,<br>to amend title 49, United States Code, to extend the airport improvement program, and for<br>other purposes.","HRES357","Sets forth the rule for consideration of the bill (H.R. 2553) to amend the Internal<br>Revenue Code of 1986 to extend the funding and expenditure authority of the Airport and<br>Airway Trust Fund, to amend title 49, United States Code, to extend the airport<br>improvement program."],["To amend the Internal Revenue Code of 1986 to extend the funding and expenditure authority<br>of the Airport and Airway Trust Fund, to amend title 49, United States Code, to extend the<br>airport improvement program, and for other purposes.","HR2553","Airport and Airway Extension Act of 2011, Part IV - (Sec. 2) Amends the Internal Revenue<br>Code to extend through September 16, 2011, increased excise taxes on aviation fuels, the<br>excise tax on air transportation of persons and property, and the expenditure authority<br>for the Airport and Airway Trust Fund. (Sec. 4) Increases the authorization of<br>appropriations for the period beginning on October 1, 2010, and ending on September 16,<br>2011, for airport planning and development and noise compatibili..."],["Providing for consideration of the bill (H.R. 1315) to amend the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act to strengthen the review authority of the Financial<br>Stability Oversight Council of regulations issued by the Bureau of Consumer Financial<br>Protection, and for other purposes.","HRES358","Sets forth the rule for consideration of the bill (H.R. 1315) to amend the Dodd-Frank Wall<br>Street Reform and Consumer Protection Act to strengthen the review authority of the<br>Financial Stability Oversight Council of regulations issued by the Bureau of Consumer<br>Financial Protection."],["Providing for consideration of the bill (H.R. 2551) making appropriations for the<br>Legislative Branch for the fiscal year ending September 30, 2012, and for other purposes.","HRES359","Sets forth the rule for consideration of the bill (H.R. 2551) making appropriations for<br>the Legislative Branch for the fiscal year ending September 30, 2012."],["To amend the Dodd-Frank Wall Street Reform and Consumer Protection Act to strengthen the<br>review authority of the Financial Stability Oversight Council of regulations issued by the<br>Bureau of Consumer Financial Protection.","HR1315","Title I: Consumer Financial Protection Safety and Soundness Improvement Act of 2011 -<br>Consumer Financial Protection Safety and Soundness Improvement Act of 2011 - (Sec. 102)<br>Amends the Dodd-Frank Wall Street Reform and Consumer Protection Act to authorize the<br>Chairperson of the Financial Stability Oversight Council to issue a stay of, or set aside,<br>any regulation issued by the Consumer Financial Protection Bureau (CFPB) upon the<br>affirmative vote of the majority (currently, two-thirds) of Coun..."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2012, and for other purposes.","HR2551","Legislative Branch Appropriations Act, 2012 - Title I: Legislative Branch - Makes<br>appropriations to the Senate for FY2012 for: (1) expense allowances; (2) representation<br>allowances for the Majority and Minority Leaders; (3) salaries of specified officers,<br>employees, and committees (including the Committee on Appropriations); (4) agency<br>contributions for employee benefits; (5) inquiries and investigations; (6) the U.S. Senate<br>Caucus on International Narcotics Control; (7) the Offices of the Se..."],["Providing for consideration of the bill (H.R. 2584) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2012, and for other purposes.","HRES363","Sets forth the rule for consideration of the bill (H.R. 2584) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2012."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2012, and for other purposes.","HR2584","Department of the Interior, Environment, and Related Agencies Appropriations Act, 2012 -<br>Makes appropriations for the Department of the Interior, the Environmental Protection<br>Agency (EPA), and related agencies for FY2012. Title I: Department of the Interior - Makes<br>appropriations for FY2012 to the Bureau of Land Management (BLM) for: (1) land and<br>resource management; (2) construction; (3) land acquisition; (4) Oregon and California<br>grant lands; (5) range improvements; (6) service charges, dep..."],["Providing for consideration of the bill (H.R. 1938) to direct the President to expedite<br>the consideration and approval of the construction and operation of the Keystone XL oil<br>pipeline, and for other purposes.","HRES370","Sets forth the rule for consideration of the bill (H.R. 1938) to direct the President to<br>expedite the consideration and approval of the construction and operation of the Keystone<br>XL oil pipeline."],["To direct the President to expedite the consideration and approval of the construction and<br>operation of the Keystone XL oil pipeline, and for other purposes.","HR1938","North American-Made Energy Security Act - Directs the President, acting through the<br>Secretary of Energy (DOE), to coordinate with each federal agency responsible for<br>coordinating or considering an aspect of the President's National Interest Determination<br>and Presidential Permit decision regarding construction and operation of the Keystone XL<br>pipeline (from Hardisty, Alberta, to Steele City, Nebraska, and then on to the U.S. Gulf<br>Coast through Cushing, Oklahoma) to ensure that all necessary ac..."],["Providing for consideration of the bill (S. 627) to establish the Commission on Freedom of<br>Information Act Processing Delays, and for other purposes.","HRES375","Sets forth the rule for consideration of the bill (S. 627) to establish the Commission on<br>Freedom of Information Act Processing Delays."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES382","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of any resolution reported from the Committee on Rules through the<br>legislative day of August 2, 2011, on the same day it is presented to the House."],["To provide for the establishment of the Special Envoy to Promote Religious Freedom of<br>Religious Minorities in the Near East and South Central Asia.","HR440","(Sec. 2) Directs the President to appoint a Special Envoy to Promote Religious Freedom of<br>Religious Minorities in the Near East and South Central Asia within the Department of<br>State. (Sec. 3) Requires the Special Envoy to: (1) promote the right of religious freedom<br>of religious minorities in the countries of the Near East and South Central Asia, denounce<br>the violation of such right, and recommend appropriate U.S government responses to such<br>violations; (2) monitor and combat acts of religious..."],["To designate the facility of the United States Postal Service located at 67 Castle Street<br>in Geneva, New York, as the \"Corporal Steven Blaine Riccione Post Office\".","HR2244","Designates the facility of the United States Postal Service located at 67 Castle Street in<br>Geneva, New York, as the \"Corporal Steven Blaine Riccione Post Office.\""],["Providing for further consideration of the bill (S. 627) to establish the Commission on<br>Freedom of Information Act Processing Delays.","HRES383","Sets forth the rule for consideration of S. 627 (establishing the Commission on Freedom of<br>Information Act)."],["To designate the facility of the United States Postal Service located at 801 West Eastport<br>Street in Iuka, Mississippi, as the \"Sergeant Jason W. Vaughn Post Office\".","HR2213","Designates the facility of the United States Postal Service located at 801 West Eastport<br>Street in Iuka, Mississippi, as the \"Sergeant Jason W. Vaughn Post Office.\""],["To cut spending, maintain existing commitments, and for other purposes.","HR2693","Budget Control Act of 2011 - Prescribes discretionary spending limits for FY2012-FY2021,<br>and makes it out of order for either house of Congress to consider any measure that would<br>cause them to be exceeded. Amends the National Telecommunications and Information<br>Administration Organization Act to revise requirements relating to specified authorities<br>for the repurposing of spectrum frequencies from federal to exclusive non-federal use or<br>to shared federal and non-federal use. Amends the Communic..."],["To provide the Consumer Product Safety Commission with greater authority and discretion in<br>enforcing the consumer product safety laws, and for other purposes.","HR2715","(Sec. 1) Amends the Consumer Product Safety Improvement Act of 2008 to apply the limit on<br>lead content in children's products only to product's manufactured after the effective<br>date of the limit. Requires the Consumer Product Safety Commission (CPSC) to grant an<br>exception to such lead limit for a specific product, class of product, material, or<br>component part if CPSC determines that: (1) it is not practicable or technologically<br>feasible to manufacture the item in accordance with the lead limi..."],["To amend the Immigration and Nationality Act to modify the requirements for admission of<br>nonimmigrant nurses in health professional shortage areas.","HR1933","Amends the Immigration and Nationality Act with respect to the admission of nonimmigrant<br>nurses (H-1C visa) in health professional shortage areas to: (1) permit a one-time three-<br>year extension of admission, and (2) reduce the maximum number of such visas per fiscal<br>year to 300. Authorizes such nonimmigrant alien to accept new employment as a registered<br>nurse at any facility which qualifies for the H-1C program upon a prospective employer's<br>filing of a new petition. Continues employment author..."],["Providing for consideration of the bill (S. 365) to make a technical amendment to the<br>Education Sciences Reform Act of 2002.","HRES384","Sets forth the rule for consideration of the bill (S. 365) to make a technical amendment<br>to the Education Sciences Reform Act of 2002."],["To amend title 5, United States Code, to authorize appropriations for the Administrative<br>Conference of the United States for fiscal years 2012, 2013, and 2014, and for other<br>purposes.","HR2480","Administrative Conference of the United States Reauthorization Act of 2011 - Authorizes<br>appropriations for he Administrative Conference of the United States for FY2012-FY2014.\u00a0<br>Prohibits\u00a0more than $2,500 from being made available in each fiscal year for official<br>representation and entertainment expenses for foreign dignitaries.\u00a0 Requires the Chairman<br>of the Conference to: (1) submit an annual\u00a0report to the President and Congress on the<br>progress and activities of the Conference, including a de..."],["Providing for consideration of the bill (H.R. 2218) to amend the charter school program<br>under the Elementary and Secondary Education Act of 1965, and providing for consideration<br>of the bill (H.R. 1892) to authorize appropriations for fiscal year 2012 for intelligence<br>and intelligence-related activities of the United States Government, the Community<br>Management Account, and the Central Intelligence Agency Retirement and Disability System,<br>and for other purposes.","HRES392","Sets forth the rule for consideration of the bill (H.R. 2218) to amend the charter school<br>program under the Elementary and Secondary Education Act of 1965, and providing for<br>consideration of the bill (H.R. 1892) to authorize appropriations for fiscal year 2012 for<br>intelligence and intelligence-related activities of the United States Government, the<br>Community Management Account, and the Central Intelligence Agency Retirement and<br>Disability System."],["To authorize appropriations for fiscal year 2012 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR1892","(This measure has not been amended since it was passed by the Senate on December 14, 2011.<br>The summary of that version is repeated here.) Intelligence Authorization Act for Fiscal<br>Year 2012 - Title I: Intelligence Activities - (Sec. 101) Authorizes appropriations for<br>FY2012 for the conduct of intelligence and intelligence-related activities of the: (1)<br>Office of the Director of National Intelligence (DNI); (2) Central Intelligence Agency<br>(CIA); (3) Department of Defense (DOD); (4) Defense Int..."],["To amend title 28, United States Code, to clarify the statutory authority for the<br>longstanding practice of the Department of Justice of providing investigatory assistance<br>on request of State and local authorities with respect to certain serious violent crimes,<br>and for other purposes.","HR2076","Investigative Assistance for Violent Crimes Act of 2012 - Authorizes the Attorney General<br>(AG), at the request of an appropriate law enforcement official of a state or political<br>subdivision, to assist in the investigation of violent acts and shootings occurring in a<br>place of public use, and in the investigation of mass killings and attempted mass<br>killings. Defines \"mass killings\" as three or more killings in a single incident.<br>Authorizes the AG to pay rewards of up to $3 million (currently, $..."],["To amend title 28, United States Code, to clarify the time limits for appeals in civil<br>cases to which United States officers or employees are parties.","HR2633","(This measure has not been amended since it was passed by the House on September 12, 2011.<br>The summary of that version is repeated here.) Appeal Time Clarification Act of 2011 -<br>Amends federal judicial code requirements concerning the time limits for the filing of<br>appeals to any judgment, order, or decree in a civil action, suit, or proceeding. Revises<br>the requirement that an appeal in any such action, suit, or proceeding in which the United<br>States or a U.S. officer or agency is a party be fi..."],["To amend the charter school program under the Elementary and Secondary Education Act of<br>1965.","HR2218","Empowering Parents through Quality Charter Schools Act - (Sec. 4) Revises subpart 1<br>(Charter School Programs) of part B (Public Charter Schools) of title V (Promoting<br>Informed Parental Choice and Innovative Programs) of the Elementary and Secondary<br>Education Act of 1965. (Sec. 5) Replaces the current charter school grant program with a<br>program awarding grants to state entities (state educational agencies, state charter<br>school boards, or Governors) and, through them, subgrants to charter schoo..."],["Relating to the disapproval of the President's exercise of authority to increase the debt<br>limit, as submitted under section 3101A of title 31, United States Code, on August 2,<br>2011.","HJRES77","Disapproves of the President's exercise of authority to increase the debt limit."],["Providing for consideration of the bill (H.R. 2587) to prohibit the National Labor<br>Relations Board from ordering any employer to close, relocate, or transfer employment<br>under any circumstance.","HRES372","Sets forth the rule for consideration of the bill (H.R. 2587) to prohibit the National<br>Labor Relations Board from ordering any employer to close, relocate, or transfer<br>employment under any circumstance."],["To reauthorize the International Religious Freedom Act of 1998, and for other purposes.","HR2867","(This measure has not been amended since it was amended by the Senate on December 13,<br>2011. The summary of that version is repeated here.) United States Commission on<br>International Religious Freedom Reform and Reauthorization Act of 2011 - (Sec. 2) Amends<br>the International Religious Freedom Act of 1998 to prohibit any individual (including<br>members appointed prior to enactment of this Act) from serving more than two terms as a<br>member of the U.S. Commission on International Religious Freedom. R..."],["To prohibit the National Labor Relations Board from ordering any employer to close,<br>relocate, or transfer employment under any circumstance.","HR2587","Protecting Jobs From Government Interference Act - Amends the National Labor Relations Act<br>to deny the National Labor Relations Board (NLRB) any power to: (1) order an employer (or<br>seek an order against an employer) to restore or reinstate any work, product, production<br>line, or equipment; (2) rescind any relocation, transfer, subcontracting, outsourcing, or<br>other change regarding the location, entity, or employer who shall be engaged in<br>production or other business operations; or (3) require ..."],["To provide for the continued performance of the functions of the United States Parole<br>Commission, and for other purposes.","HR2944","United States Parole Commission Extension Act of 2011 - Extends the United States Parole<br>Commission for two years. Directs the Commission to report the following with regard to<br>each type of case over which it has jurisdiction for FY2006-FY2011: (1) the number of<br>offenders; (2) the number of hearings, record reviews, and National Appeals Board<br>considerations conducted by the Commission; (3) the number of hearings conducted by the<br>Commission by type of hearing; (4) the number of record reviews ..."],["To authorize certain Department of Veterans Affairs major medical facility projects and<br>leases, to extend certain expiring provisions of law, and to modify certain authorities of<br>the Secretary of Veterans Affairs, and for other purposes.","HR2646","(This measure has not been amended since it was passed by the House on September 20, 2011.<br>The summary of that version is repeated here.) Veterans Health Care Facilities Capital<br>Improvement Act of 2011 - (Sec. 2) Authorizes, within specified amounts, the Secretary of<br>Veterans Affairs to carry out certain FY2012 major medical facility construction projects<br>(projects) at Department of Veterans Affairs (VA) medical centers in Seattle, Washington<br>and West Los Angeles, California. (Sec. 3) Modifie..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2608) to provide for<br>an additional temporary extension of programs under the Small Business Act and the Small<br>Business Investment Act of 1958, and for other purposes.","HRES405","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2608) to<br>provide for an additional temporary extension of programs under the Small Business Act and<br>the Small Business Investment Act of 1958."],["A bill to designate the United States courthouse located at 80 Lafayette Street in<br>Jefferson City, Missouri, as the Christopher S. Bond United States Courthouse.","S846","Designates the U.S. courthouse located at 80 Lafayette Street in Jefferson City, Missouri,<br>as the \"Christopher S. Bond United States Courthouse.\""],["To provide for an additional temporary extension of programs under the Small Business Act<br>and the Small Business Investment Act of 1958, and for other purposes.","HR2608","Continuing Appropriations Act, 2012 - Makes continuing appropriations for FY2012. (Sec.<br>101) Makes appropriations for continuing operations, projects, or activities which were<br>conducted in FY2011 and for which appropriations, funds, or other authority were made<br>available in: (1) the Department of Defense Appropriations Act, 2011 (division A of Public<br>Law 112-10); and (2) the Full-Year Continuing Appropriations Act, 2011 (division B of<br>Public Law 112-10). Reduces the rate for operations by 1.5..."],["To amend part B of title IV of the Social Security Act to extend the child and family<br>services program through fiscal year 2016, and for other purposes.","HR2883","Child and Family Services Improvement and Innovation Act - Title I: Extension of Child and<br>Family Services Programs - (Sec. 101) Amends title IV part B (Child and Family Services)<br>of the Social Security Act (SSA) to extend through FY2016 the authorization of<br>appropriations for the Stephanie Tubbs Jones Child Welfare Services Program. Requires each<br>state plan for oversight and coordination of health care services for any child in a<br>foster care placement to include an outline of: (1) the monito..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES409","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of a measure making continuing appropriations for FY2012 on the same day it<br>is presented to the House."],["Providing for consideration of the bill (H.R. 2401) to require analyses of the cumulative<br>and incremental impacts of certain rules and actions of the Environmental Protection<br>Agency, and for other purposes.","HRES406","Sets forth the rule for consideration of the bill (H.R. 2401) to require analyses of the<br>cumulative and incremental impacts of certain rules and actions of the Environmental<br>Protection Agency."],["To require analyses of the cumulative and incremental impacts of certain rules and actions<br>of the Environmental Protection Agency, and for other purposes.","HR2401","Transparency in Regulatory Analysis of Impacts on the Nation Act of 2011 - (Sec. 2)<br>Requires the President to establish the Committee for the Cumulative Analysis of<br>Regulations that Impact Energy and Manufacturing in the United States to analyze\u00a0and<br>report on the cumulative and incremental impacts of covered rules and actions of the<br>Environmental Protection Agency (EPA) concerning air, waste, water, and climate change.<br>Defines \"covered rule\" to mean: the Clean Air Interstate Rule; National Am..."],["To require the conveyance of certain public land within the boundaries of Camp Williams,<br>Utah, to support the training and readiness of the Utah National Guard.","HR686","(This measure has not been amended since it was reported to the House on July 20, 2011.<br>The summary of that version is repeated here.) Utah National Guard Readiness Act - Directs<br>the Secretary of the Interior, through the Bureau of Land Management (BLM) to convey to<br>the state of Utah, without consideration, certain lands located within the boundaries of<br>the public lands currently withdrawn for military use by the Utah National Guard and known<br>as \"Camp Williams\" for the purpose of permitting t..."],["To amend the National Forest Ski Area Permit Act of 1986 to clarify the authority of the<br>Secretary of Agriculture regarding additional recreational uses of National Forest System<br>land that is subject to ski area permits, and for other purposes.","HR765","Ski Area Recreational Opportunity Enhancement Act of 2011 - Amends the National Forest Ski<br>Area Permit Act of 1986 to require the term and acreage of permits for the operation of<br>ski areas and associated facilities (under current law, for the operation of nordic and<br>alpine ski areas and facilities) on National Forest System lands to be governed by<br>provisions under the Act relating to such permits and other applicable law. Provides for<br>the issuance of permits for the use and occupancy of suita..."],["Providing for consideration of the bill (H.R. 2681) to provide additional time for the<br>Administrator of the Environmental Protection Agency to issue achievable standards for<br>cement manufacturing facilities, and for other purposes, and providing for consideration<br>of the bill (H.R. 2250) to provide additional time for the Administrator of the<br>Environmental Protection Agency to issue achievable standards for industrial, commercial,<br>and institutional boilers, process heaters, and incinerators, and for other purposes.","HRES419","Sets forth the rule for consideration of the bill (H.R. 2681) to provide additional time<br>for the Administrator of the Environmental Protection Agency to issue achievable standards<br>for cement manufacturing facilities, and for other purposes, and providing for<br>consideration of the bill (H.R. 2250) to provide additional time for the Administrator of<br>the Environmental Protection Agency to issue achievable standards for industrial,<br>commercial, and institutional boilers, process heaters, and incine..."],["To provide additional time for the Administrator of the Environmental Protection Agency to<br>issue achievable standards for cement manufacturing facilities, and for other purposes.","HR2681","Cement Sector Regulatory Relief Act of 2011 - Provides that the following rules shall have<br>no force or effect and shall be treated as though they had never taken effect: (1)<br>National Emission Standards for Hazardous Air Pollutants from the Portland Cement<br>Manufacturing Industry and Standards of Performance for Portland Cement Plants; and (2)<br>the Standards of Performance for New Stationary Sources and Emission Guidelines for<br>Existing Sources: Commercial and Industrial Solid Waste Incineration ..."],["To provide additional time for the Administrator of the Environmental Protection Agency to<br>issue achievable standards for industrial, commercial, and institutional boilers, process<br>heaters, and incinerators, and for other purposes.","HR2250","EPA Regulatory Relief Act of 2011 - Provides that the following rules shall have no force<br>or effect and shall be treated as though they had never taken effect: (1) the National<br>Emission Standards for Hazardous Air Pollutants for Major Sources: Industrial, Commercial,<br>and Institutional Boilers and Process Heaters; (2) the National Emission Standards for<br>Hazardous Air Pollutants for Area Sources: Industrial, Commercial, and Institutional<br>Boilers; (3) the Standards of Performance for New Station..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2832) to extend the<br>Generalized System of Preferences, and for other purposes; providing for consideration of<br>the bill (H.R. 3078) to implement the United States-Colombia Trade Promotion Agreement;<br>providing for consideration of the bill (H.R. 3079) to implement the United States-Panama<br>Trade Promotion Agreement; and providing for consideration of the bill (H.R. 3080) to<br>implement the United States-Korea Free Trade Agreement.","HRES425","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2832) to<br>extend the Generalized System of Preferences, and for other purposes; providing for<br>consideration of the bill (H.R. 3078) to implement the United States-Colombia Trade<br>Promotion Agreement; providing for consideration of the bill (H.R. 3079) to implement the<br>United States-Panama Trade Promotion Agreement; and providing for consideration of the<br>bill (H.R. 3080) to implement the United States-Korea Free Trad..."],["To implement the United States-Colombia Trade Promotion Agreement.","HR3078","United States-Colombia Trade Promotion Agreement Implementation Act - Title I: Approval<br>of, and General Provisions Relating to, the Agreement - (Sec. 101) Approves the United<br>States-Colombia Trade Promotion Agreement (the Agreement) entered into on November 22,<br>2006, with the government of Colombia, as amended by both governments on June 28, 2007,<br>and the statement of administrative action proposed to implement the Agreement, both<br>submitted to Congress on October 3, 2011. Allows for the Agree..."],["To implement the United States-Panama Trade Promotion Agreement.","HR3079","United States-Panama Trade Promotion Agreement Implementation Act - Title I: Approval of,<br>and General Provisions Relating to, the Agreement - (Sec. 101) Approves the United States-<br>Panama Trade Promotion Agreement (the Agreement) entered into on June 28, 2007, with the<br>government of Panama, and the statement of administrative action proposed to implement the<br>Agreement, both submitted to Congress on October 3, 2011. Allows for the Agreement's entry<br>into force upon certain conditions being met o..."],["To implement the United States-Korea Free Trade Agreement.","HR3080","United States-Korea Free Trade Agreement Implementation Act - Title I: Approval of, and<br>General Provisions Relating to, the Agreement - (Sec. 101) Approves the United States-<br>Korea Free Trade Agreement (the Agreement) entered into on June 30, 2007, with the<br>government of Korea, and the statement of administrative action proposed to implement the<br>Agreement, both submitted to Congress on October 3, 2011. Allows for the Agreement's entry<br>into force upon certain conditions being met on or after Ja..."],["To extend the Generalized System of Preferences, and for other purposes.","HR2832","(Sec. 1) Amends the Trade Act of 1974 to extend duty-free treatment under the Generalized<br>System of Preferences (GSP) through July 31, 2013. Requires the liquidation or<br>reliquidation (refund of duties) on duty-free articles that entered into the United States<br>after December 31, 2010, and before the 15th day after enactment of this Act. (Sec. 2)<br>Amends the Consolidated Omnibus Budget Reconciliation Act of 1985 (COBRA) to increase from<br>0.21% ad valorem to 0.3464% ad valorem, for the period betw..."],["To amend title 38, United States Code, to make certain improvements in the laws relating<br>to the employment and training of veterans, and for other purposes.","HR2433","Veterans Opportunity to Work Act of 2011 - Title I: Retraining Veterans - (Sec. 101)<br>Directs the Secretary of Labor (Secretary), from June 1, 2012, through March 31, 2014, to<br>provide for monthly payments, through the Secretary of Veterans Affairs (VA), of up to 12<br>months of retraining assistance to certain veterans from 35 to 60 years of age applying by<br>October 1, 2013, who: (1) were last discharged from active duty service with an honorable<br>discharge, (2) have been unemployed for a designate..."],["Providing for consideration of the bill (H.R. 358) to amend the Patient Protection and<br>Affordable Care Act to modify special rules relating to coverage of abortion services<br>under such Act.","HRES430","Sets forth the rule for consideration of the bill (H.R. 358) to amend the Patient<br>Protection and Affordable Care Act to modify special rules relating to coverage of<br>abortion services under such Act."],["To amend the Patient Protection and Affordable Care Act to modify special rules relating<br>to coverage of abortion services under such Act.","HR358","(This measure has not been amended since it was reported to the House on March 17, 2011.<br>The summary of that version is repeated here.) Protect Life Act - Amends the Patient<br>Protection and Affordable Care Act (PPACA) to prohibit federal funds from being to used to<br>cover any part of the costs of any health plan that includes coverage of abortion<br>services. (Currently, federal funds cannot be used for abortion services and plans<br>receiving federal funds must keep federal funds segregated from any..."],["Providing for consideration of the bill (H.R. 2273) to amend subtitle D of the Solid Waste<br>Disposal Act to facilitate recovery and beneficial use, and provide for the proper<br>management and disposal, of materials generated by the combustion of coal and other fossil<br>fuels.","HRES431","Sets forth the rule for consideration of the bill (H.R. 2273) to amend subtitle D of the<br>Solid Waste Disposal Act to facilitate recovery and beneficial use, and provide for the<br>proper management and disposal, of materials generated by the combustion of coal and other<br>fossil fuels."],["To amend subtitle D of the Solid Waste Disposal Act to facilitate recovery and beneficial<br>use, and provide for the proper management and disposal, of materials generated by the<br>combustion of coal and other fossil fuels.","HR2273","Coal Residuals Reuse and Management Act - (Sec. 2) Amends the Solid Waste Disposal Act to<br>authorize states to adopt and implement coal combustion residuals permit programs.<br>Requires each state governor to notify the Administrator of the Environmental Protection<br>Agency (EPA) within six months about whether such state will implement such a program.<br>Requires states that decide to implement such a program to: (1) submit to the<br>Administrator within 36 months a certification that such program meets..."],["To designate a Distinguished Flying Cross National Memorial at the March Field Air Museum<br>in Riverside, California.","HR320","Distinguished Flying Cross National Memorial Act - Designates a memorial located at March<br>Field Air Museum in Riverside, California, as the Distinguished Flying Cross National<br>Memorial, in honor of current and former members of the armed forces who have been awarded<br>the Distinguished Flying Cross. Prohibits the designation of such memorial from being<br>construed to require or permit federal funds to be used for any related purpose."],["Providing for consideration of the bill (H.R. 1904) to facilitate the efficient extraction<br>of mineral resources in southeast Arizona by authorizing and directing an exchange of<br>Federal and non-Federal land, and for other purposes.","HRES444","Sets forth the rule for consideration of the bill (H.R. 1904) to facilitate the efficient<br>extraction of mineral resources in southeast Arizona by authorizing and directing an<br>exchange of Federal and non-Federal land."],["To facilitate the efficient extraction of mineral resources in southeast Arizona by<br>authorizing and directing an exchange of Federal and non-Federal land, and for other<br>purposes.","HR1904","Southeast Arizona Land Exchange and Conservation Act of 2011 - (Sec. 4) Authorizes and<br>directs the Secretary of Agriculture (USDA) (the Secretary), if Resolution Copper Mining,<br>LLC offers to convey specified parcels of non-federal land in Gila, Yavapi, Maricopa,<br>Coconino, Pinal, and/or Santa Cruz Counties, Arizona, that are acceptable to the Secretary<br>or the Secretary of the Interior, to convey certain federal land in Pinal County, Arizona,<br>to Resolution Copper. Instructs the Secretary to eng..."],["Providing for consideration of the bill (H.R. 2576) to amend the Internal Revenue Code of<br>1986 to modify the calculation of modified adjusted gross income for purposes of<br>determining eligibility for certain healthcare-related programs, and providing for<br>consideration of the bill (H.R. 674) to amend the Internal Revenue Code of 1986 to repeal<br>the imposition of 3 percent withholding on certain payments made to vendors by government<br>entities.","HRES448","Sets forth the rule for consideration of the bill (H.R. 2576) to amend the Internal<br>Revenue Code of 1986 to modify the calculation of modified adjusted gross income for<br>purposes of determining eligibility for certain healthcare-related programs, and providing<br>for consideration of the bill (H.R. 674) to amend the Internal Revenue Code of 1986 to<br>repeal the imposition of 3 percent withholding on certain payments made to vendors by<br>government entities."],["To require the Secretary of the Treasury to mint coins in recognition and celebration of<br>the National Baseball Hall of Fame.","HR2527","National Baseball Hall of Fame Commemorative Coin Act - Directs the Secretary of the<br>Treasury to mint and issue not more than 50,000 $5 gold coins, 400,000 $1 silver coins,<br>and 750,000 half-dollar coins in recognition of the National Baseball Hall of Fame during<br>the one-year period beginning on January 1, 2014. Directs the Secretary to: (1) hold a<br>competition to determine the design of the common obverse of the coins, with such design<br>being emblematic of the game of baseball; and (2) determin..."],["To amend the Internal Revenue Code of 1986 to modify the calculation of modified adjusted<br>gross income for purposes of determining eligibility for certain healthcare-related<br>programs.","HR2576","Amends the Internal Revenue Code to include social security benefits that are excluded<br>from gross income in the calculation of modified adjusted gross income for purposes of<br>determining eligibility for the tax credit for coverage under a qualified health plan."],["To amend the Internal Revenue Code of 1986 to repeal the imposition of 3 percent<br>withholding on certain payments made to vendors by government entities.","HR674","(This measure has not been amended since it was passed by the Senate on November 10, 2011.<br>The summary of that version is repeated here.) Title I: Three Percent Withholding Repeal<br>and Job Creation Act - 3% Withholding Repeal and Job Creation Act - Amends the Internal<br>Revenue Code to repeal the 3% withholding requirement on payments due to vendors providing<br>goods and services to federal, state, and local governmental entities. Title II: VOW to<br>Hire Heroes - VOW to Hire Heroes Act of 2011 - Sub..."],["Reaffirming \"In God We Trust\" as the official motto of the United States and supporting<br>and encouraging the public display of the national motto in all public buildings, public<br>schools, and other government institutions.","HCONRES13","Reaffirms \"In God We Trust\" as the official motto of the United States. Encourages its<br>display in all public buildings, public schools, and other government institutions."],["A bill to amend the Peace Corps Act to require sexual assault risk-reduction and response<br>training, the development of sexual assault protocol and guidelines, the establishment of<br>victims advocates, the establishment of a Sexual Assault Advisory Council, and for other<br>purposes.","S1280","Kate Puzey Peace Corps Volunteer Protection Act of 2011 - (Sec. 2) Amends the Peace Corps<br>Act to require the President: (1) as part of the training provided to all Peace Corps<br>volunteers, to develop and implement comprehensive sexual assault risk-reduction and<br>response training that conforms to best practices in the sexual assault field; and (2)<br>once a volunteer has arrived in his or her country of service, to provide the volunteer<br>with training tailored to the country of service that include..."],["To authorize the presentation of a United States flag at the funeral of Federal civilian<br>employees who are killed while performing official duties or because of their status as a<br>Federal employee.","HR2061","(Although this measure has not been amended since it was reported to the House, the text<br>was changed by H. Con. Res. 86, which made enrollment corrections, and the summary has<br>been modified as necessary.) Civilian Service Recognition Act of 2011 - Authorizes a<br>federal executive agency head to: (1) give a U.S. flag for an individual who was an agency<br>employee and who died of employment-related injuries suffered as a result of a criminal<br>act, an act of terrorism, a natural disaster, or other ci..."],["To amend the Securities Act of 1933 to authorize the Securities and Exchange Commission to<br>exempt a certain class of securities from such Act.","HR1070","Small Company Capital Formation Act of 2011 - (Sec. 2) Amends the Securities Act of 1933<br>(Act) to direct the Securities and Exchange Commission (SEC) to exempt from its regulation<br>a class of securities for which the aggregate offering amount of all securities sold<br>within the prior 12-month period in reliance upon such exemption does not exceed $50<br>million. Restricts any such exemption to equity securities, debt securities, and debt<br>securities convertible or exchangeable to equity interests, i..."],["Providing for consideration of the bill (H.R. 2930) to amend the securities laws to<br>provide for registration exemptions for certain crowdfunded securities, and for other<br>purposes, and providing for consideration of the bill (H.R. 2940) to direct the Securities<br>and Exchange Commission to eliminate the prohibition against general solicitation as a<br>requirement for a certain exemption under Regulation D.","HRES453","Sets forth the rule for consideration of the bill (H.R. 2930) to amend the securities laws<br>to provide for registration exemptions for certain crowdfunded securities, and for other<br>purposes, and providing for consideration of the bill (H.R. 2940) to direct the Securities<br>and Exchange Commission to eliminate the prohibition against general solicitation as a<br>requirement for a certain exemption under Regulation D."],["To amend the securities laws to provide for registration exemptions for certain<br>crowdfunded securities, and for other purposes.","HR2930","Entrepreneur Access to Capital Act - (Sec. 2) Amends the Securities Act of 1933 to exempt<br>from its registration requirements and prohibitions any transactions involving the offer<br>or sale of (crowdfunded) securities by an issuer if the aggregate amount sold within the<br>previous 12-month period in reliance upon the exemption is: (1) $1 million, adjusted for<br>inflation, or less; or (2) $2 million, adjusted for inflation, or less if the issuer<br>provides potential investors with audited financial sta..."],["To direct the Securities and Exchange Commission to eliminate the prohibition against<br>general solicitation as a requirement for a certain exemption under Regulation D.","HR2940","Access to Capital for Job Creators Act - Amends the Securities Act of 1933 to exempt from<br>specified prohibitions relating to interstate commerce and the mails any transactions by<br>an issuer that do not involve a public offering (as under current law), whether or not<br>such transactions involve general solicitation or general advertising. Directs the<br>Securities and Exchange Commission (SEC) to revise rules governing an exemption from<br>public offering requirements for limited offers and sales witho..."],["Providing for consideration of the bill (H.R. 2838) to authorize appropriations for the<br>Coast Guard for fiscal years 2012 through 2015, and for other purposes.","HRES455","Sets forth the rule for consideration of the bill (H.R. 2838) to authorize appropriations<br>for the Coast Guard for fiscal years 2012 through 2015."],["To facilitate the hosting in the United States of the 34th America's Cup by authorizing<br>certain eligible vessels to participate in activities related to the competition, and for<br>other purposes.","HR3321","America's Cup Act of 2011 - Authorizes eligible competing or supporting vessels operating<br>only in preparation for, or in connection with, the 34th America's Cup commencing in 2011<br>in the United States to position competing vessels and transport individuals, equipment,<br>and supplies for such competition in and around U.S. ports. Prohibits vessels from<br>operating unless issued an Eligibility Certification from the Administrator of the<br>Maritime Administration of the Department of Transportation (D..."],["To authorize appropriations for the Coast Guard for fiscal years 2012 through 2015, and<br>for other purposes.","HR2838","(This measure has not been amended since it was amended by the House on December 5, 2012.<br>The summary of that version is repeated here.) Coast Guard and Maritime Transportation Act<br>of 2012 - Title I: Authorization - (Sec. 101) Authorizes FY2013-FY2014 appropriations for<br>the Coast Guard for: (1) operation and maintenance; (2) acquisition, construction,<br>rebuilding, and improvement of navigation aids, shore and offshore facilities, vessels,<br>aircraft, and related equipment; (3) the Coast Guard Re..."],["To designate the facility of the United States Postal Service located at 500 East<br>Whitestone Boulevard in Cedar Park, Texas, as the \"Army Specialist Matthew Troy Morris<br>Post Office Building\".","HR298","Designates the facility of the United States Postal Service located at 500 East Whitestone<br>Boulevard in Cedar Park, Texas, as the \"Army Specialist Matthew Troy Morris Post Office<br>Building.\""],["To designate the facility of the United States Postal Service located at 45 Bay Street,<br>Suite 2, in Staten Island, New York, as the \"Sergeant Angel Mendez Post Office\".","HR2422","Designates the facility of the United States Postal Service located at 45 Bay Street,<br>Suite 2, in Staten Island, New York, as the \"Sergeant Angel Mendez Post Office.\""],["Providing for consideration of the bill (H.R. 822) to amend title 18, United States Code,<br>to provide a national standard in accordance with which nonresidents of a State may carry<br>concealed firearms in the State.","HRES463","Sets forth the rule for consideration of the bill (H.R. 822) to amend title 18, United<br>States Code, to provide a national standard in accordance with which nonresidents of a<br>State may carry concealed firearms in the State."],["To amend title 18, United States Code, to provide a national standard in accordance with<br>which nonresidents of a State may carry concealed firearms in the State.","HR822","National Right-to-Carry Reciprocity Act of 2011 - Amends the federal criminal code to<br>authorize a person who is carrying a valid, government-issued identification document<br>containing that person's photograph and a valid permit to carry a concealed firearm in one<br>state, and who is not prohibited from possessing, transporting, shipping, or receiving a<br>firearm under federal law, to possess or carry a concealed handgun (other than a machine<br>gun or destructive device) in another state in accordanc..."],["Providing for consideration of motions to suspend the rules.","HRES466","Makes it in order at any time through the legislative day of November 18, 2011, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules for the consideration of H.J. Res. 2 (balanced budget amendment)."],["Providing for consideration of the conference report to accompany the bill (H.R. 2112)<br>making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2012, and for other<br>purposes.","HRES467","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2112) making appropriations for Agriculture, Rural Development, Food and Drug<br>Administration, and Related Agencies programs for the fiscal year ending September 30,<br>2012."],["Proposing a balanced budget amendment to the Constitution of the United States.","HJRES2","Constitutional Amendment - Prohibits outlays for a fiscal year (except those for repayment<br>of debt principal) from exceeding total receipts for that fiscal year (except those<br>derived from borrowing) unless Congress, by a three-fifths rollcall vote of each chamber,<br>authorizes a specific excess of outlays over receipts. Requires a three-fifths rollcall<br>vote of each chamber to increase the public debt limit. Directs the President to submit a<br>balanced budget to Congress annually. Prohibits any bi..."],["Providing for consideration of the bill (H.R. 3094) to amend the National Labor Relations<br>Act with respect to representation hearings and the timing of elections of labor<br>organizations under that Act.","HRES470","Sets forth the rule for consideration of the bill (H.R. 3094) to amend the National Labor<br>Relations Act with respect to representation hearings and the timing of elections of labor<br>organizations under that Act."],["To amend the Immigration and Nationality Act to eliminate the per-country numerical<br>limitation for employment-based immigrants, to increase the per-country numerical<br>limitation for family-sponsored immigrants, and for other purposes.","HR3012","Fairness for High-Skilled Immigrants Act of 2011 - Amends the Immigration and Nationality<br>Act to: (1) eliminate the per country numerical limitation for employment-based<br>immigrants, and (2) increase the per country numerical limitation for family based<br>immigrants from 7% to 15% of the total number of family-sponsored visas. Amends the<br>Chinese Student Protection Act of 1992 to eliminate the provision requiring the reduction<br>of annual Chinese (PRC) immigrant visas to offset status adjustments u..."],["To amend title 49, United States Code, to provide for expedited security screenings for<br>members of the Armed Forces.","HR1801","Risk-Based Security Screening for Members of the Armed Forces Act - Directs the Assistant<br>Secretary of Homeland Security (Transportation Security Administration [TSA]) to develop<br>and implement a plan for expedited security screening services for a uniformed Armed<br>Forces member, and, to the extent possible, accompanying family, if the member, while in<br>uniform, presents documentation indicating official orders for air transportation<br>departing from a primary airport. Requires the Assistant Secre..."],["To amend the National Labor Relations Act with respect to representation hearings and the<br>timing of elections of labor organizations under that Act.","HR3094","Workforce Democracy and Fairness Act - Amends the National Labor Relations Act (NLRA) to<br>revise requirements for determination by the National Labor Relation Board (NLRB) of an<br>appropriate bargaining unit before an election of collective bargaining representation.<br>(In effect reverses the NLRB's August 26, 2011, decision in Specialty Healthcare and<br>Rehabilitation of Mobile and its June 22, 2011, rulemaking regarding proposed changes to<br>procedures involving the election of collective bargaining..."],["Providing for consideration of the bill (H.R. 3463) to reduce Federal spending and the<br>deficit by terminating taxpayer financing of presidential election campaigns and party<br>conventions and by terminating the Election Assistance Commission; providing for<br>consideration of the bill (H.R. 527) to amend chapter 6 of title 5, United States Code<br>(commonly known as the Regulatory Flexibility Act), to ensure complete analysis of<br>potential impacts on small entities of rules, and for other purposes; and providing for<br>consideration of the bill (H.R. 3010) to reform the process by which Federal agencies<br>analyze and formulate new regulations and guidance documents.","HRES477","Sets forth the rule for consideration of the bill (H.R. 3463) to reduce Federal spending<br>and the deficit by terminating taxpayer financing of presidential election campaigns and<br>party conventions and by terminating the Election Assistance Commission; providing for<br>consideration of the bill (H.R. 527) to amend chapter 6 of title 5, United States Code<br>(commonly known as the Regulatory Flexibility Act), to ensure complete analysis of<br>potential impacts on small entities of rules, and for other pu..."],["To reduce Federal spending and the deficit by terminating taxpayer financing of<br>presidential election campaigns and party conventions and by terminating the Election<br>Assistance Commission.","HR3463","Amends the Internal Revenue Code to terminate as of December 31, 2010, taxpayer financing<br>of presidential election campaigns. Abolishes the Presidential Election Campaign Fund and<br>the Presidential Primary Matching Payment Account. Directs the Secretary of the Treasury<br>to transfer all amounts remaining in the Fund after enactment of this Act to the general<br>fund of the Treasury to reduce the deficit. Amends the Help America Vote Act of 2002 to<br>terminate the Election Assistance Commission (EAC),..."],["To amend chapter 6 of title 5, United States Code (commonly known as the Regulatory<br>Flexibility Act), to ensure complete analysis of potential impacts on small entities of<br>rules, and for other purposes.","HR527","Regulatory Flexibility Improvements Act of 2011 - Amends the Regulatory Flexibility Act of<br>1980 (RFA) to: (1) define the \"economic impact\" of a proposed or final rule to include<br>both direct economic effects on small entities and any indirect economic effects which are<br>reasonably foreseeable and result from such proposed or final rule, and (2) include tribal<br>organizations within the definition of \"small governmental jurisdictions\" for purposes of<br>such Act. Requires initial and final regulatory..."],["To reform the process by which Federal agencies analyze and formulate new regulations and<br>guidance documents.","HR3010","Regulatory Accountability Act of 2011 - (Sec. 2) Defines \"major rule\" and \"major guidance\"<br>for purposes of this Act as a rule or guidance that is likely to impose: (1)\u00a0an annual<br>cost on the economy of $100 million or more, adjusted annually for inflation; (2)\u00a0a major<br>increase in costs or prices; (3)\u00a0significant adverse effects on competition, employment,<br>investment, productivity, innovation, or the ability of U.S. enterprises to compete with<br>foreign-based enterprises; or (4) significant impac..."],["Providing for consideration of the bill (H.R. 10) to amend chapter 8 of title 5, United<br>States Code, to provide that major rules of the executive branch shall have no force or<br>effect unless a joint resolution of approval is enacted into law, and for other purposes.","HRES479","Sets forth the rule for consideration of the bill (H.R. 10) to amend chapter 8 of title 5,<br>United States Code, to provide that major rules of the executive branch shall have no<br>force or effect unless a joint resolution of approval is enacted into law."],["To amend section 2710 of title 18, United States Code, to clarify that a video tape<br>service provider may obtain a consumer's informed, written consent on an ongoing basis and<br>that consent may be obtained through the Internet.","HR2471","Amends the federal criminal code to permit a video tape service provider to obtain a<br>consumer's consent, which is required to disclose personally identifiable information<br>concerning the consumer: (1) through the Internet, in a form distinct and separate from<br>any form setting forth other legal or financial obligations; and (2) in advance for a set<br>period or until such consent is withdrawn."],["To amend chapter 8 of title 5, United States Code, to provide that major rules of the<br>executive branch shall have no force or effect unless a joint resolution of approval is<br>enacted into law.","HR10","Regulations From the Executive in Need of Scrutiny Act of 2011 - (Sec. 2) States that the<br>purpose of this Act is to increase accountability for and transparency in the federal<br>regulatory process by requiring Congress to approve all new major regulations. (Sec. 3)<br>Revises provisions relating to congressional review of agency rulemaking to require a<br>federal agency promulgating a rule to include in its report to Congress and to the<br>Comptroller General (GAO) a classification of the rule as a majo..."],["Providing for consideration of the bill (H.R. 1633) to establish a temporary prohibition<br>against revising any national ambient air quality standard applicable to coarse<br>particulate matter, to limit Federal regulation of nuisance dust in areas in which such<br>dust is regulated under State, tribal, or local law, and for other purposes.","HRES487","Sets forth the rule for consideration of the bill (H.R. 1633) to establish a temporary<br>prohibition against revising any national ambient air quality standard applicable to<br>coarse particulate matter, to limit Federal regulation of nuisance dust in areas in which<br>such dust is regulated under State, tribal, or local law."],["To amend the Controlled Substances Act to place synthetic drugs in Schedule I.","HR1254","Synthetic Drug Control Act of 2011 - Amends the Controlled Substances Act to add as<br>schedule I controlled substances: (1) any material, compound, mixture, or preparation<br>which contains specified cannabimimetic agents (or the salts, isomers, or salts of isomers<br>thereof); and (2) specified additional hallucinogenic substances (or the salts, isomers,<br>or salts of isomers thereof). Extends the period for which the Attorney General may<br>temporarily schedule a substance in schedule I to avoid an immi..."],["To establish a temporary prohibition against revising any national ambient air quality<br>standard applicable to coarse particulate matter, to limit Federal regulation of nuisance<br>dust in areas in which such dust is regulated under State, tribal, or local law, and for<br>other purposes.","HR1633","Farm Dust Regulation Prevention Act of 2011 -\u00a0Prohibits\u00a0the Administrator of the<br>Environmental Protection Agency (EPA) from\u00a0 proposing, finalizing, implementing, or<br>enforcing any regulation revising the national primary ambient air quality standard or the<br>national secondary ambient air quality standard applicable to particulate matter with an<br>aerodynamic diameter greater than 2.5 micrometers under the Clean Air Act (CAA) for one<br>year. Exempts nuisance dust from the CAA and excludes nuisance d..."],["To designate the facility of the United States Postal Service located at 170 Evergreen<br>Square SW in Pine City, Minnesota, as the \"Master Sergeant Daniel L. Fedder Post Office\".","HR3220","Designates the facility of the United States Postal Service located at 170 Evergreen<br>Square SW in Pine City, Minnesota, as the \"Master Sergeant Daniel L. Fedder Post Office.\""],["Providing for consideration of the bill (H.R. 3630) to provide incentives for the creation<br>of jobs, and for other purposes.","HRES491","Sets forth the rule for consideration of the bill (H.R. 3630) to provide incentives for<br>the creation of jobs."],["To provide incentives for the creation of jobs, and for other purposes.","HR3630","Middle Class Tax Relief and Job Creation Act of 2012 - Title I: Extension of Payroll Tax<br>Reduction - (Sec. 101) Amends the Tax Relief, Unemployment Insurance Reauthorization, and<br>Job Creation Act of 2010 to extend through the remainder of 2012 the 2% reduction in<br>employment tax rates for employees and self-employed individuals. Eliminates the special<br>rule for 2012 limiting the amount of wages eligible for such tax rate reduction. Title II:<br>Unemployment Benefit Continuation and Program Improve..."],["Providing for consideration of the conference report to accompany the bill (H.R. 1540) to<br>authorize appropriations for fiscal year 2012 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes; and providing for proceedings during the period from December 16, 2011, through<br>January 16, 2012.","HRES493","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>1540) to authorize appropriations for fiscal year 2012 for military activities of the<br>Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes; and providing for proceedings during the period from December 16,<br>2011, through January 16, 2012."],["To strengthen Iran sanctions laws for the purpose of compelling Iran to abandon its<br>pursuit of nuclear weapons and other threatening activities, and for other purposes.","HR1905","Iran Threat Reduction and Syria Human Rights Act of 2012 - Title I: Expansion of<br>Multilateral Sanctions Regime with Respect to Iran - (Sec. 101) Expresses the sense of<br>Congress that: (1) the goal of compelling Iran to abandon efforts to acquire a nuclear<br>weapons capability and other threatening activities can be achieved through a policy that<br>includes economic sanctions, diplomacy, and military planning; and (2) this objective is<br>consistent with the one stated by President Obama in the 2012 S..."],["To provide for the application of measures to foreign persons who transfer to Iran, North<br>Korea, and Syria certain goods, services, or technology, and for other purposes.","HR2105","Iran, North Korea, and Syria Nonproliferation Reform and Modernization Act of 2011 - (Sec.<br>2) States that it shall be U.S. policy to fully implement and enforce sanctions against<br>Iran, North Korea, and Syria for their proliferation activities and policies. (Sec. 3)<br>Directs the President to transmit to Congress a report identifying any foreign person who<br>on or after January 1, 1999, transferred to or acquired from Iran, who on or after January<br>1, 2005, transferred to or acquired from Syria, or..."],["To award Congressional Gold Medals in honor of the men and women who perished as a result<br>of the terrorist attacks on the United States on September 11, 2001.","HR3421","Fallen Heroes of 9/11 Act - Directs the Speaker of the House of Representatives and the<br>President pro tempore of the Senate to arrange for the award of congressional gold medals<br>in honor of the men and women who perished as a result of the September 11, 2001,<br>terrorist attacks on the United States to the Flight 93 National Memorial in Pennsylvania,<br>the National September 11 Memorial and Museum in New York, and the Pentagon Memorial at<br>the Pentagon. Authorizes the Secretary of the Treasury to ..."],["To designate the property between the United States Federal Courthouse and the Ed Jones<br>Building located at 109 South Highland Avenue in Jackson, Tennessee, as the \"M.D. Anderson<br>Plaza\" and to authorize the placement of a historical/identification marker on the grounds<br>recognizing the achievements and philanthropy of M.D. Anderson.","HR1264","(This measure has not been amended since it was passed by the House on December 14, 2011.<br>The summary of that version is repeated here.) Designates the property between the U.S.<br>courthouse and the Ed Jones Building located at 109 South Highland Avenue in Jackson,<br>Tennessee, as the \"M.D. Anderson Plaza.\" Permits the West Tennessee Health Care Foundation<br>to install a historical marker and statue in the Plaza recognizing M.D. Anderson.<br>Prohibits the expenditure of any federal funds in connection..."],["To require the Secretary of the Treasury to mint coins in commemoration of the 225th<br>anniversary of the establishment of the Nation's first Federal law enforcement agency, the<br>United States Marshals Service.","HR886","United States Marshals Service 225th Anniversary Commemorative Coin Act - (Sec. 3) Directs<br>the Secretary of the Treasury, in commemoration of the 225th anniversary of the<br>establishment of the United States Marshals Service, to mint and issue $5 gold and $1<br>silver coins, and half-dollar clad coins emblematic of the 225 years of exemplary and<br>unparalleled achievements of the U.S. Marshals Service. (Sec. 5) Permits: (1) only one<br>facility of the United States Mint to be used to strike any particu..."],["To ensure public access to the summit of Rattlesnake Mountain in the Hanford Reach<br>National Monument for educational, recreational, historical, scientific, cultural, and<br>other purposes.","HR2719","Rattlesnake Mountain Public Access Act of 2011 - Directs the Secretary of the Interior to<br>provide access to the summit of Rattlesnake Mountain in the Hanford Reach National<br>Monument in the state of Washington for educational, recreational, historical, scientific,<br>cultural, and other purposes. Authorizes the Secretary to enter into cooperative<br>agreements to facilitate access to the summit of Rattlesnake Mountain for guided tours,<br>including motorized tours, and to maintain the access road to th..."],["To provide for the conveyance of certain property from the United States to the Maniilaq<br>Association located in Kotzebue, Alaska.","HR443","Directs the Secretary of Health and Human Services (HHS) to convey specified property,<br>including all land appurtenances, in Kotzebue, Alaska, to the Maniilaq Association for use<br>in connection with health and social services programs. Requires such conveyance to be<br>made by a warranty deed without consideration and without imposing any obligation, term,<br>or condition, on the Maniilaq Association, or U.S. reversionary interest, other than that<br>as required by this Act or under the Indian Self-Dete..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2055)<br>making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2012, and for other purposes;<br>providing for consideration of the bill (H.R. 3672) making appropriations for disaster<br>relief requirements for the fiscal year ending September 30, 2012, and for other purposes;<br>providing for consideration of the concurrent resolution (H. Con. Res. 94) directing the<br>Clerk of the House of Representatives to make corrections in the enrollment of H.R. 3672;<br>and for other purposes.","HRES500","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2055) making appropriations for military construction, the Department of Veterans Affairs,<br>and related agencies for the fiscal year ending September 30, 2012, and for other<br>purposes; providing for consideration of the bill (H.R. 3672) making appropriations for<br>disaster relief requirements for the fiscal year ending September 30, 2012, and for other<br>purposes; providing for consideration of the concurrent..."],["Directing the Clerk of the House of Representatives to make corrections in the enrollment<br>of H.R. 3672.","HCONRES94","Directs the Clerk of the House of Representatives to make corrections in the enrollment of<br>H.R. 3672 (Disaster Relief Appropriations Act, 2012) to: (1) make an across-the-board<br>1.83% rescission in discretionary spending for FY2012, with exceptions for the Departments<br>of Defense (DOD) and Veterans Affairs (VA), disaster relief, and Overseas Contingency<br>Operations/the Global War on Terrorism; and (2) require the Director of the Office of<br>Management and Budget (OMB) to report on the account and ..."],["Making appropriations for disaster relief requirements for the fiscal year ending<br>September 30, 2012, and for other purposes.","HR3672","Disaster Relief Appropriations Act, 2012 - Title I: Disaster Relief - Makes supplemental<br>appropriations for FY2012 to the Federal Emergency Management Agency (FEMA) for the<br>Disaster Relief Fund. Makes appropriations for disaster relief to the Department of<br>Defense (DOD), Department of the Army, Corps of Engineers--Civil, for: (1) the Mississippi<br>River and Tributaries for necessary expenses for the repair of damages to federal projects<br>resulting from a major disaster; (2) Operation and Mainten..."],["Providing for consideration of the Senate amendments to the bill (H.R. 3630) to provide<br>incentives for the creation of jobs, and for other purposes; providing for consideration<br>of the resolution (H. Res. 501) expressing the sense of the House of Representatives<br>regarding any final measure to extend the payroll tax holiday, extend Federally funded<br>unemployment insurance benefits, or prevent decreases in reimbursement for physicians who<br>provide care to Medicare beneficiaries; and for other purposes.","HRES502","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 3630) to<br>provide incentives for the creation of jobs, and for other purposes; providing for<br>consideration of the resolution (H. Res. 501) expressing the sense of the House of<br>Representatives regarding any final measure to extend the payroll tax holiday, extend<br>Federally funded unemployment insurance benefits, or prevent decreases in reimbursement<br>for physicians who provide care to Medicare beneficiaries."],["Expressing the sense of the House of Representatives regarding any final measure to extend<br>the payroll tax holiday, extend Federally funded unemployment insurance benefits, or<br>prevent decreases in reimbursement for physicians who provide care to Medicare<br>beneficiaries.","HRES501","Expresses the sense of the House of Representatives that any final measure to extend the<br>payroll tax holiday, extend federally funded unemployment insurance benefits, or prevent<br>decreases in reimbursement for physicians who provide care to Medicare beneficiaries: (1)<br>extend the payroll tax holiday through December 31, 2012; (2) extend and reform federally<br>funded unemployment insurance benefits; (3) eliminate for two years the cut in<br>reimbursement for physicians who provide care to Medicare be..."],["Addressing a motion to proceed under section 3101A of title 31, United States Code.","HRES515","Provides that a motion to proceed with regard to a joint resolution of disapproval to the<br>President's exercise of authority to increase the debt limit: (1) may be offered even if<br>the joint resolution has not been reported to the House of Representatives as contemplated<br>by federal law, and (2) shall be in order only if offered by the Majority Leader or his<br>designee."],["To grant the Secretary of the Interior permanent authority to authorize States to issue<br>electronic duck stamps, and for other purposes.","HR3117","Permanent Electronic Duck Stamp Act of 2012 - Grants the Secretary of the Interior<br>permanent authority to authorize any state to issue electronic duck stamps. Sets forth<br>state electronic duck stamp application requirements. Allows the Secretary to determine<br>the number of new states permitted per year to participate in the electronic duck stamp<br>program. Instructs the Secretary to require electronic stamp revenue and customer<br>information collected by each state to be transmitted in accordance w..."],["Expressing the sense of the House of Representatives that the passage of a fiscal year<br>2013 Federal budget is of national importance.","HRES516","Expresses the sense of the House of Representatives that the passage of a FY2013 federal<br>budget is of national importance."],["To direct the Secretary of the Interior to install in the area of the World War II<br>Memorial in the District of Columbia a suitable plaque or an inscription with the words<br>that President Franklin D. Roosevelt prayed with the nation on June 6, 1944, the morning<br>of D-Day.","HR2070","World War II Memorial Prayer Act of 2012 - Directs the Secretary of the Interior to<br>install at the World War II memorial in the District of Columbia a suitable plaque or an<br>inscription with the words that President Franklin D. Roosevelt prayed with the nation on<br>June 6, 1944, the morning of D-Day."],["Providing for consideration of the bill (H.R. 1173) to repeal the CLASS program.","HRES522","Sets forth the rule for consideration of the bill (H.R. 1173) to repeal the CLASS program."],["To repeal the CLASS program.","HR1173","Fiscal Responsibility and Retirement Security Act of 2012 - Repeals provisions of the<br>Public Health Service Act enacted under the Patient Protection and Affordable Care Act<br>(entitled the Community Living Assistance Services and Supports Act or the CLASS Act)<br>which establish a national, voluntary insurance program for purchasing community living<br>assistance services and supports in order to provide individuals with functional<br>limitations with tools that will allow them to maintain their persona..."],["To extend the pay limitation for Members of Congress and Federal employees.","HR3835","Amends the Continuing Appropriations Act, 2011 (P.L. 111-242) to extend through December<br>31, 2013, the freeze on any cost-of-living adjustment (COLA) to the pay of certain federal<br>civilian employees (thus extends such freeze from two to three calendar years). Extends<br>through such date the prohibition against receipt by a senior executive or senior-level<br>employee of any increase in the rate of basic pay absent a change of position that results<br>in a substantial increase in responsibility or a p..."],["To amend title IV of the Social Security Act to require States to implement policies to<br>prevent assistance under the Temporary Assistance for Needy Families (TANF) program from<br>being used in strip clubs, casinos, and liquor stores.","HR3567","Welfare Integrity Now for Children and Families Act of 2012 or WIN for Children and<br>Families Act - Amends part A (Temporary Assistance for Needy Families) (TANF) of title IV<br>of the Social Security Act to require a state to which a state family assistance grant is<br>made to maintain policies and practices necessary to prevent the use of state TANF<br>assistance in any electronic benefit transfer transaction in a liquor store, casino or<br>gambling establishment, or strip club. Defines \"electronic bene..."],["Providing for consideration of the bill (H.R. 3578) to amend the Balanced Budget and<br>Emergency Deficit Control Act of 1985 to reform the budget baseline, and providing for<br>consideration of the bill (H.R. 3582) to amend the Congressional Budget Act of 1974 to<br>provide for macro-economic analysis of the impact of legislation.","HRES534","Sets forth the rule for consideration of the bill (H.R. 3578) to amend the Balanced Budget<br>and Emergency Deficit Control Act of 1985 to reform the budget baseline, and providing for<br>consideration of the bill (H.R. 3582) to amend the Congressional Budget Act of 1974 to<br>provide for macro-economic analysis of the impact of legislation."],["To amend the Congressional Budget Act of 1974 to provide for macroeconomic analysis of the<br>impact of legislation.","HR3582","Pro-Growth Budgeting Act of 2012 - (Sec. 2) Amends the Congressional Budget Act of 1974<br>(CBA) to require the Congressional Budget Office (CBO) to prepare for each major bill or<br>resolution reported by any congressional committee (except the congressional<br>appropriations committees), as a supplement to CBO cost estimates, a macroeconomic impact<br>analysis of the budgetary effects of such legislation for the 10-fiscal year period<br>beginning with the first fiscal year for which such estimate was prep..."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985 to reform the<br>budget baseline.","HR3578","Baseline Reform Act of 2012 - (Sec. 2) Amends the Balanced Budget and Emergency Deficit<br>Control Act of 1985 (Gramm-Rudman-Hollings Act) to revise the formula for establishing the<br>budget baseline. Revises the annual baseline, for any fiscal year, to mean a projection of<br>current-year levels of new budget authority (as under current law), outlays (as under<br>current law), or receipts (instead of revenues) and the surplus or deficit (as under<br>current law) for the current year, the budget year, and ..."],["Providing for consideration of the bill (H.R. 1734) to decrease the deficit by realigning,<br>consolidating, selling, disposing, and improving the efficiency of Federal buildings and<br>other civilian real property, and for other purposes.","HRES537","Sets forth the rule for consideration of the bill (H.R. 1734) to decrease the deficit by<br>realigning, consolidating, selling, disposing, and improving the efficiency of Federal<br>buildings and other civilian real property."],["To decrease the deficit by realigning, consolidating, selling, disposing, and improving<br>the efficiency of federal buildings and other civilian real property, and for other<br>purposes.","HR1734","Civilian Property Realignment Act or CPRA - (Sec. 2) States as the purposes of this Act<br>to: (1) consolidate the footprint of federal buildings and facilities; (2) maximize the<br>utilization rate for such buildings and facilities; (3) reduce the reliance on leased<br>space; (4) sell or redevelop high value assets that are underutilized to obtain the<br>highest and best value and to maximize the return to the taxpayer; (5) reduce the<br>operating and maintenance costs of federal civilian real properties; ..."],["Providing for consideration of the bill (H.R. 3581) to amend the Balanced Budget and<br>Emergency Deficit Control Act of 1985 to increase transparency in Federal budgeting, and<br>for other purposes.","HRES539","Sets forth the rule for consideration of the bill (H.R. 3581) to amend the Balanced Budget<br>and Emergency Deficit Control Act of 1985 to increase transparency in Federal budgeting."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985 to increase<br>transparency in Federal budgeting, and for other purposes.","HR3581","Budget and Accounting Transparency Act of 2012 - Title I: Fair Value Estimates - (Sec.<br>101) Amends the Federal Credit Reform Act of 1990 (FCRA) (title V of the Congressional<br>Budget Act of 1974 [CBA]) to revise the budgetary treatment of federal direct loans and<br>loan guarantees to account for them on a fair value basis (currently, a FCRA accrual<br>basis). Requires the President's budget from FY1992 on to reflect the Treasury discounting<br>component of direct loan and loan guarantee programs. Defin..."],["Providing for consideration of the bill (H.R. 3521) to amend the Congressional Budget and<br>Impoundment Control Act of 1974 to provide for a legislative line-item veto to expedite<br>consideration of rescissions, and for other purposes.","HRES540","Sets forth the rule for consideration of the bill (H.R. 3521) to amend the Congressional<br>Budget and Impoundment Control Act of 1974 to provide for a legislative line-item veto to<br>expedite consideration of rescissions."],["To amend the Congressional Budget and Impoundment Control Act of 1974 to provide for a<br>legislative line-item veto to expedite consideration of rescissions, and for other<br>purposes.","HR3521","Expedited Legislative Line-Item Veto and Rescissions Act of 2012 - Amends the<br>Congressional Budget and Impoundment Control Act of 1974 (CBICA) to authorize the<br>President to propose the rescission (line item veto) of all or any dollar amount of<br>funding provided by any enacted bill or joint resolution. Sets forth requirements for the<br>President's transmittal to Congress of a special message regarding the proposed<br>rescission. Authorizes the President, except for his deferral of budget authority p..."],["Providing for consideration of the bill (H.R. 3408) to set clear rules for the development<br>of United States oil shale resources, to promote shale technology research and<br>development, and for other purposes; providing for consideration of the bill (H.R. 3813)<br>to amend title 5, United States Code, to secure the annuities of Federal civilian<br>employees, and for other purposes; and providing for consideration of the bill (H.R. 7) to<br>authorize funds for Federal-aid highway, public transportation, and highway and motor<br>carrier safety programs, and for other purposes.","HRES547","Sets forth the rule for consideration of the bill (H.R. 3408) to set clear rules for the<br>development of United States oil shale resources, to promote shale technology research and<br>development, and for other purposes; providing for consideration of the bill (H.R. 3813)<br>to amend title 5, United States Code, to secure the annuities of Federal civilian<br>employees, and for other purposes; and providing for consideration of the bill (H.R. 7) to<br>authorize funds for Federal-aid highway, public transpo..."],["To designate the facility of the United States Postal Service located at 1100 Town and<br>Country Commons in Chesterfield, Missouri, as the \"Lance Corporal Matthew P. Pathenos Post<br>Office Building\".","HR3247","Designates the facility of the United States Postal Service located at 1100 Town and<br>Country Commons in Chesterfield, Missouri, as the \"Lance Corporal Matthew P. Pathenos Post<br>Office Building.\""],["To set clear rules for the development of United States oil shale resources, to promote<br>shale technology research and development, and for other purposes.","HR3408","Title XIV [sic]: Keystone XL Pipeline - North American Energy Access Act - (Sec. 14002)<br>Prohibits construction, operation, or maintenance of the oil pipeline and related<br>facilities described in the Final Environmental Impact Statement (EIS) for the Keystone XL<br>Pipeline Project issued by the Department of State on August 26, 2011 (including any<br>modified version of that pipeline and related facilities), unless it is in compliance with<br>the terms of a permit prescribed under this Act. (Sec. 14003..."],["Providing for consideration of the bill (H.R. 2117) to prohibit the Department of<br>Education from overreaching into academic affairs and program eligibility under title IV<br>of the Higher Education Act of 1965.","HRES563","Sets forth the rule for consideration of the bill (H.R. 2117) to prohibit the Department<br>of Education from overreaching into academic affairs and program eligibility under title<br>IV of the Higher Education Act of 1965."],["To prohibit the Department of Education from overreaching into academic affairs and<br>program eligibility under title IV of the Higher Education Act of 1965.","HR2117","Protecting Academic Freedom in Higher Education Act - Repeals certain Department of<br>Education regulations that for purposes of determining whether a school is eligible to<br>participate in programs under the Higher Education Act of 1965 (HEA): (1) require<br>institutions of higher education and postsecondary vocational institutions (except<br>religious schools) to be legally authorized by the state in which they are situated, (2)<br>delineate what such legal authorization requires of states and schools, ..."],["Providing for consideration of the bill (H.R. 1837) to address certain water-related<br>concerns on the San Joaquin River, and for other purposes.","HRES566","Sets forth the rule for consideration of the bill (H.R. 1837) to address certain water-<br>related concerns on the San Joaquin River."],["To address certain water-related concerns on the San Joaquin River, and for other<br>purposes.","HR1837","Sacramento-San Joaquin Valley Water Reliability Act - Title I: Central Valley Project<br>Water Reliability - (Sec. 101) Amends the Central Valley Project Improvement Act (CVPIA)<br>to: (1) include among the Act's purposes to ensure that water dedicated to fish and<br>wildlife purposes is replaced and provided to Central Valley Project (CVP) water<br>contractors by December 31, 2016, at the lowest cost reasonably achievable and to<br>facilitate and expedite water transfers in accordance with that Act; (2) re..."],["Condemning the Government of Iran for its continued persecution, imprisonment, and<br>sentencing of Youcef Nadarkhani on the charge of apostasy.","HRES556","Condemns Iran for its systemic violations of the human rights of the Iranian people,<br>including the state-sponsored persecution of religious minorities in Iran, and its<br>continued failure to uphold its international obligations, including with respect to the<br>Universal Declaration of Human Rights and the International Covenant on Civil and<br>Political Rights. Calls on Iran to exonerate and release Youcef Nadarkhani and all other<br>individuals held or charged on account of their religious or politica..."],["To designate the facility of the United States Postal Service located at 401 Old Dixie<br>Highway in Jupiter, Florida, as the \"Roy Schallern Rood Post Office Building\".","HR3637","Designates the facility of the United States Postal Service located at 401 Old Dixie<br>Highway in Jupiter, Florida, as the \"Roy Schallern Rood Post Office Building.\""],["To apply the countervailing duty provisions of the Tariff Act of 1930 to nonmarket economy<br>countries, and for other purposes.","HR4105","Amends the Tariff Act of 1930 regarding the imposition of countervailing duties on imports<br>into the United States from a country subsidizing, directly or indirectly, the<br>manufacture, production, or export of merchandise which materially injures a U.S. industry<br>or threatens to. Declares that merchandise on which countervailing duties must be imposed<br>includes merchandise from a nonmarket country, unless the administering authority cannot<br>identify and measure subsidies provided by the government..."],["Providing for consideration of the bill (H.R. 2842) to authorize all Bureau of Reclamation<br>conduit facilities for hydropower development under Federal Reclamation law, and for other<br>purposes.","HRES570","Sets forth the rule for consideration of the bill (H.R. 2842) to authorize all Bureau of<br>Reclamation conduit facilities for hydropower development under Federal Reclamation law."],["To authorize all Bureau of Reclamation conduit facilities for hydropower development under<br>Federal Reclamation law, and for other purposes.","HR2842","Bureau of Reclamation Small Conduit Hydropower Development and Rural Jobs Act of 2012 -<br>Amends the Reclamation Project Act of 1939 to authorize the Secretary of the Interior<br>(acting through the Bureau of Reclamation) to contract for the development of small<br>conduit hydropower at Bureau facilities. Defines: (1) \"small\" as 1.5 megawatts or less;<br>and (2) \"conduit\" as a tunnel, canal, pipeline, aqueduct, flume, ditch, or similar manmade<br>water conveyance. Requires that power privilege leases be of..."],["Providing for consideration of the bill (H.R. 3606) to increase American job creation and<br>economic growth by improving access to the public capital markets for emerging growth<br>companies.","HRES572","Sets forth the rule for consideration of the bill (H.R. 3606) to increase American job<br>creation and economic growth by improving access to the public capital markets for<br>emerging growth companies."],["To increase American job creation and economic growth by improving access to the public<br>capital markets for emerging growth companies.","HR3606","Jumpstart Our Business Startups Act - Title I: Reopening American Capital Markets to<br>Emerging Growth Companies - (Sec. 101) Amends the Securities Act of 1933 (SA) and the<br>Securities Exchange Act of 1934 (SEA) to define \"emerging growth company\" as an issuer<br>that had total annual gross revenues of less than $1 billion during its most recently<br>completed fiscal year. Disqualifies from treatment as an emerging growth company any<br>issuer whose first sale of its common equity securities pursuant to ..."],["Providing for consideration of the bill (H.R. 2087) to remove restrictions from a parcel<br>of land situated in the Atlantic District, Accomack County, Virginia.","HRES587","Sets forth the rule for consideration of the bill (H.R. 2087) to remove restrictions from<br>a parcel of land situated in the Atlantic District, Accomack County, Virginia."],["To establish a pilot program for the expedited disposal of Federal real property.","HR665","Excess Federal Building and Property Disposal Act of 2012 - (Sec. 2) Directs the<br>Administrator of the General Services Administration (GSA), in consultation with the<br>Director of the Office of Management and Budget (OMB), to conduct the Federal Real<br>Property Disposal Pilot Program, under which the Administrator shall: (1) identify 15<br>federal government real properties that are excess or surplus and that have the highest<br>fair market value and the greatest potential to sell, and (2) sell such pr..."],["To remove restrictions from a parcel of land situated in the Atlantic District, Accomack<br>County, Virginia.","HR2087","Instructs the Secretary of the Interior, within 90 days of enactment of this Act, to<br>remove all deed restrictions, including easements and covenants, described in a specified<br>quitclaim deed from the United States to Accomack County, Virginia, relating to a parcel<br>of land consisting of approximately 31.6 acres situated in the Atlantic District of the<br>county."],["Providing for consideration of the bill (H.R. 5) to improve patient access to health care<br>services and provide improved medical care by reducing the excessive burden the liability<br>system places on the health care delivery system.","HRES591","Sets forth the rule for consideration of the bill (H.R. 5) to improve patient access to<br>health care services and provide improved medical care by reducing the excessive burden<br>the liability system places on the health care delivery system."],["To improve patient access to health care services and provide improved medical care by<br>reducing the excessive burden the liability system places on the health care delivery<br>system.","HR5","Protecting Access to Healthcare Act - Title I: HEALTH Act - Help Efficient, Accessible,<br>Low Cost, Timely Healthcare (HEALTH) Act of 2012 - (Sec. 101) Sets forth provisions<br>regulating lawsuits for health care liability claims concerning the provision of health<br>care goods or services or any medical product affecting interstate commerce. (Sec. 103)<br>Sets a statute of limitations of three years after the date of manifestation of injury or<br>one year after the claimant discovers the injury, with cert..."],["To exempt inter-affiliate swaps from certain regulatory requirements put in place by the<br>Dodd-Frank Wall Street Reform and Consumer Protection Act.","HR2779","(Sec. 1) Amends the Commodity Exchange Act (CEA), as amended by the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act (Dodd-Frank), to exclude from the meaning of the term<br>\"swap,\" for purposes of clearing and execution requirements, capital and margin<br>requirements, and for purposes of defining a swap dealer or major swap participant, any<br>agreement, contract, or transaction that: (1) would otherwise be included as a \"swap\"; and<br>(2) is entered into by parties that report information or ..."],["To provide end user exemptions from certain provisions of the Commodity Exchange Act and<br>the Securities Exchange Act of 1934, and for other purposes.","HR2682","Business Risk Mitigation and Price Stabilization Act of 2012 - (Sec. 2) Amends the<br>Commodity Exchange Act (CEA) to exempt, from the rules of prudential regulators for swap<br>dealers and major swap participants with respect to initial and variation margin<br>requirements for swaps not cleared by a registered derivatives clearing organization,<br>those swaps in which one of the counterparties: (1) is eligible for an exception from<br>clearing requirements for certain significant price discovery agreements..."],["Providing for consideration of the bill (H.R. 3309) to amend the Communications Act of<br>1934 to provide for greater transparency and efficiency in the procedures followed by the<br>Federal Communications Commission.","HRES595","Sets forth the rule for consideration of the bill (H.R. 3309) to amend the Communications<br>Act of 1934 to provide for greater transparency and efficiency in the procedures followed<br>by the Federal Communications Commission."],["To amend the Communications Act of 1934 to provide for greater transparency and efficiency<br>in the procedures followed by the Federal Communications Commission.","HR3309","Federal Communications Commission Process Reform Act of 2012 - (Sec. 2) Amends the<br>Communications Act of 1934 to prohibit the Federal Communications Commission (FCC) from<br>issuing a notice of proposed rulemaking unless it provides at least 30 days for comments<br>and an additional period of at least 30 days for replies. Requires such notice to include:<br>(1) an identification of a notice of inquiry, a prior notice of proposed rulemaking, or a<br>notice on a petition for rulemaking issued by the FCC du..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 112) establishing<br>the budget for the United States Government for fiscal year 2013 and setting forth<br>appropriate budgetary levels for fiscal years 2014 through 2022, and providing for<br>consideration of motions to suspend the rules.","HRES597","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 112)<br>establishing the budget for the United States Government for fiscal year 2013 and setting<br>forth appropriate budgetary levels for fiscal years 2014 through 2022, and providing for<br>consideration of motions to suspend the rules."],["Establishing the budget for the United States Government for fiscal year 2013 and setting<br>forth appropriate budgetary levels for fiscal years 2014 through 2022.","HCONRES112","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2014-FY2022. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Lists recommended budgetary levels and amounts for FY2013-FY2022 with respect<br>to: (1) federal revenues, (2) new budget authority, (3) budget outlays, (4) deficits (on-<br>budget), (5) debt subject to limit, and (6) debt held by the public. (Sec. 102) Lists the<br>appropriate levels of new budget authority and out..."],["Providing for consideration of the bill (H.R. 4281) to provide an extension of Federal-aid<br>highway, highway safety, motor carrier safety, transit, and other programs funded out of<br>the Highway Trust Fund pending enactment of a multiyear law reauthorizing such programs,<br>and for other purposes.","HRES600","Sets forth the rule for consideration of the bill (H.R. 4281) to provide an extension of<br>Federal-aid highway, highway safety, motor carrier safety, transit, and other programs<br>funded out of the Highway Trust Fund pending enactment of a multiyear law reauthorizing<br>such programs."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund pending enactment of a<br>multiyear law reauthorizing such programs.","HR4281","Surface Transportation Extension Act of 2012 - (Sec. 1) Directs the Secretary of<br>Transportation (DOT) to reduce the amount apportioned or allocated for a surface<br>transportation program, project, or activity for FY2012 by amounts apportioned or<br>allocated under the Surface Transportation Extension Act of 2011, Part II for the period<br>from October 1, 2011, through March 31, 2012. Title I: Federal-Aid Highways - (Sec. 101)<br>Amends the Surface Transportation Extension Act of 2011, Part II to continu..."],["Providing for consideration of the bill (H.R. 4089) to protect and enhance opportunities<br>for recreational hunting, fishing and shooting, and for other purposes.","HRES614","Sets forth the rule for consideration of the bill (H.R. 4089) to protect and enhance<br>opportunities for recreational hunting, fishing and shooting."],["To protect and enhance opportunities for recreational hunting, fishing and shooting.","HR4089","Sportsmen's Heritage Act of 2012 - Title I: Recreational Fishing and Hunting Heritage and<br>Opportunities - Recreational Fishing and Hunting Heritage and Opportunities Act - (Sec.<br>104) Requires federal public land management officials to facilitate the use of, and<br>access to, federal public lands, including Wilderness Areas, Wilderness Study Areas, or<br>lands administratively classified as wilderness eligible or suitable and primitive or<br>semi-primitive areas, for fishing, sport hunting, and recrea..."],["Providing for consideration of the bill (H.R. 4348) to provide an extension of Federal-aid<br>highway, highway safety, motor carrier safety, transit, and other programs funded out of<br>the Highway Trust Fund pending enactment of a multiyear law reauthorizing such programs,<br>and for other purposes.","HRES619","Sets forth the rule for consideration of the bill (H.R. 4348) to provide an extension of<br>Federal-aid highway, highway safety, motor carrier safety, transit, and other programs<br>funded out of the Highway Trust Fund pending enactment of a multiyear law reauthorizing<br>such programs."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund pending enactment of a<br>multiyear law reauthorizing such programs, and for other purposes.","HR4348","Title I: Surface Transportation Extension - Surface Transportation Extension Act of 2012,<br>Part II - Subtitle A: Federal-Aid Highways - (Sec. 111) Amends the Surface Transportation<br>Extension Act of 2011, Part II to continue through FY2012, and authorizes appropriations<br>through that date for, specified federal-aid highway programs under the Safe, Accountable,<br>Flexible, Efficient Transportation Equity Act: A Legacy for Users (SAFETEA-LU), the<br>SAFETEA-LU Technical Corrections Act of 2008, the Int..."],["To require the Secretary of the Treasury to mint coins in commemoration of Mark Twain.","HR2453","Mark Twain Commemorative Coin Act - Directs the Secretary of the Treasury to mint and<br>issue $5 gold coins and $1 silver coins emblematic of the life and legacy of Mark Twain.<br>Limits issuance of such coins to calendar year 2016. Requires specified surcharges in the<br>sale of such coins, which shall be promptly paid, in specified percentages, to: (1) the<br>Mark Twain House &amp; Museum in Hartford, Connecticut, to support the continued<br>restoration of the house and grounds, and ensure continuing gro..."],["Providing for consideration of the bill (H.R. 9) to amend the Internal Revenue Code of<br>1986 to provide a deduction for domestic business income of qualified small businesses.","HRES620","Sets forth the rule for consideration of the bill (H.R. 9) to amend the Internal Revenue<br>Code of 1986 to provide a deduction for domestic business income of qualified small<br>businesses."],["To amend the Internal Revenue Code of 1986 to provide a deduction for domestic business<br>income of qualified small businesses.","HR9","Small Business Tax Cut Act - Amends the Internal Revenue Code to allow a qualified small<br>business a tax deduction equal to 20% of the lesser of qualified domestic business income<br>or taxable income. Defines: (1) \"qualified small business\" as any employer engaged in a<br>trade or business if such employer had fewer than 500 full-time employees in either 2010<br>or 2011; and (2) \"qualified domestic business income\" as an amount equal to the excess (if<br>any) of the taxpayer's domestic business gross rec..."],["To facilitate a land exchange involving certain National Forest System lands in the Inyo<br>National Forest, and for other purposes.","HR2157","Directs the Secretary of Agriculture (USDA), in any land exchange involving the conveyance<br>of certain National Forest System land within the boundaries of Inyo National Forest in<br>California, to accept for acquisition in such exchange certain non-federal lands in<br>California lying outside the boundaries of the Forest, if acquiring them is desirable for<br>National Forest System purposes. Authorizes the Secretary to accept a cash equalization<br>payment that exceeds 25%. Requires any such payment to b..."],["To ensure the exclusion of small lenders from certain regulations of the Dodd-Frank Act.","HR3336","Small Business Credit Availability Act - (Sec. 2) Amends the Commodity Exchange Act (as<br>amended by the Dodd-Frank Wall Street Reform and Consumer Protection Act [Dodd-Frank]) to<br>exclude from regulation as a swap dealer an insured depository institution, or a U.S.<br>uninsured branch or agency of a foreign bank that has a prudential regulator. Permits<br>designation of a person as a swap dealer for a single type, class, or category of swap or<br>activity, and yet considered not to be a swap dealer for ..."],["To authorize the conveyance of two small parcels of land within the boundaries of the<br>Coconino National Forest containing private improvements that were developed based upon<br>the reliance of the landowners in an erroneous survey conducted in May 1960.","HR1038","Authorizes the Secretary of Agriculture (USDA) to convey all interest of the United States<br>in and to two parcels of land within the boundaries of the Coconino National Forest,<br>Arizona, that contain private improvements that landowners developed based upon an<br>erroneous survey conducted in May 1960, to the person or legal entity representing the<br>majority of those landowners. Requires the person or legal entity that represents such<br>landowners to pay $20,000.00 to the Secretary as consideration f..."],["Providing for consideration of the bill (H.R. 3523) to provide for the sharing of certain<br>cyber threat intelligence and cyber threat information between the intelligence community<br>and cyber security entities, and for other purposes; providing for consideration of<br>motions to suspend the rules; providing for consideration of the bill (H.R. 4628) to<br>extend student loan interest rates for undergraduate Federal Direct Stafford Loans; and<br>for other purposes.","HRES631","Sets forth the rule for consideration of the bill (H.R. 3523) to provide for the sharing<br>of certain cyber threat intelligence and cyber threat information between the intelligence<br>community and cyber security entities, and for other purposes; providing for consideration<br>of motions to suspend the rules; providing for consideration of the bill (H.R. 4628) to<br>extend student loan interest rates for undergraduate Federal Direct Stafford Loans."],["To provide for the sharing of certain cyber threat intelligence and cyber threat<br>information between the intelligence community and cybersecurity entities, and for other<br>purposes.","HR3523","Cyber Intelligence Sharing and Protection Act - Amends the National Security Act of 1947<br>to add provisions concerning cyber threat intelligence and information sharing. Defines<br>\"cyber threat intelligence\" as information in the possession of an element of the<br>intelligence community directly pertaining to a vulnerability of, or threat to, a system<br>or network of a government or private entity, including information pertaining to the<br>protection of a system or network from: (1) efforts to degrade,..."],["To advance cybersecurity research, development, and technical standards, and for other<br>purposes.","HR2096","Cybersecurity Enhancement Act of 2012 - Title I: Research and Development - (Sec. 103)<br>Directs specified federal agencies participating in the National High-Performance<br>Computing Program to: (1) transmit to Congress a cybersecurity strategic research and<br>development plan and triennial updates, and (2) develop and annually update an<br>implementation roadmap for such plan. Instructs the participating agencies, in developing<br>and updating the strategic plan, to solicit recommendations and advice fr..."],["To extend student loan interest rates for undergraduate Federal Direct Stafford Loans.","HR4628","Interest Rate Reduction Act - Amends title IV (Student Assistance) of the Higher Education<br>Act of 1965 to make the 3.4% interest rate on Direct Stafford loans first disbursed to<br>undergraduate students between July 1, 2011, and July 1, 2012, applicable to Direct<br>Stafford loans first disbursed to undergraduate students between July 1, 2011, and July 1,<br>2013. Amends the Patient Protection and Affordable Care Act to repeal provisions<br>establishing and appropriating funds to the Prevention and Publ..."],["Authorizing the use of the Capitol Grounds for the National Peace Officers' Memorial<br>Service.","HCONRES117","Permits the Grand Lodge of the Fraternal Order of Police and its auxiliary to sponsor a<br>free public event, the 31st Annual National Peace Officers' Memorial Service, on the<br>Capitol grounds on May 15, 2012, to honor the law enforcement officers who died in the<br>line of duty during 2011."],["Providing for consideration of the bill (H.R. 5326) making appropriations for the<br>Departments of Commerce and Justice, Science, and Related Agencies for the fiscal year<br>ending September 30, 2013, and for other purposes; waiving a requirement of clause 6(a) of<br>rule XIII with respect to consideration of certain resolutions reported from the Committee<br>on Rules; and for other purposes.","HRES643","Sets forth the rule for consideration of the bill (H.R. 5326) making appropriations for<br>the Departments of Commerce and Justice, Science, and Related Agencies for the fiscal year<br>ending September 30, 2013, and for other purposes; waiving a requirement of clause 6(a) of<br>rule XIII with respect to consideration of certain resolutions reported from the Committee<br>on Rules."],["Making appropriations for the Departments of Commerce and Justice, Science, and Related<br>Agencies for the fiscal year ending September 30, 2013, and for other purposes.","HR5326","Commerce, Justice, Science, and Related Agencies Appropriations Act, 2013 - Makes<br>appropriations for FY2013 for the Departments of Commerce and Justice, for science-related<br>programs, and related agencies. Title I: Department of Commerce - Department of Commerce<br>Appropriations Act, 2013 - Makes appropriations for the Department of Commerce for FY2013<br>for: (1) the International Trade Administration; (2) the Bureau of Industry and Security;<br>(3) the Economic Development Administration; (4) the Mi..."],["To reauthorize the Export-Import Bank of the United States, and for other purposes.","HR2072","Export-Import Bank Reauthorization Act of 2012 - (Sec. 2) Amends the Export-Import Bank<br>Act of 1945 to extend the termination of functions date for the Export-Import Bank of the<br>United States to September 30, 2014. (Sec. 3) Caps annual outstanding limits on loans,<br>guarantees, and insurance for FY2012 and subsequent fiscal years at $120 billion.<br>Increases such amount to $130 billion for each of FY2013 and FY2014 if: (1) the Bank has<br>submitted a specified report under this Act, and (2) a specif..."],["To express the sense of Congress regarding the United States-Israel strategic<br>relationship, to direct the President to submit to Congress reports on United States<br>actions to enhance this relationship and to assist in the defense of Israel, and for other<br>purposes.","HR4133","United States-Israel Enhanced Security Cooperation Act of 2012 - Expresses the sense of<br>Congress that the United States should take specified actions to assist in Israel's<br>defense. States that is U.S. policy to: (1) help Israel preserve its qualitative military<br>edge amid regional political transformation, and (2) encourage further development of<br>advanced technology programs between the United States and Israel. Directs the President<br>to report to Congress on: (1) the status of Israel's qualita..."],["Providing for consideration of the bill (H.R. 5652) to provide for reconciliation pursuant<br>to section 201 of the concurrent resolution on the budget for fiscal year 2013.","HRES648","Sets forth the rule for consideration of the bill (H.R. 5652) to provide for<br>reconciliation pursuant to section 201 of the concurrent resolution on the budget for<br>fiscal year 2013."],["To provide for reconciliation pursuant to section 201 of the concurrent resolution on the<br>budget for fiscal year 2013.","HR5652","Sequester Replacement Reconciliation Act of 2012 - Title I: Agriculture - Agricultural<br>Reconciliation Act of 2012 - (Sec. 102) Amends the American Recovery and Reinvestment Act<br>of 2009 to terminate the increase in the value of supplemental nutrition assistance<br>program (SNAP, formerly the food stamp program) benefits for Puerto Rico and American<br>Samoa on June 30, 2012. (Sec. 103) Amends the Food and Nutrition Act of 2008 to limit<br>categorical SNAP eligibility to households receiving specified o..."],["To encourage, enhance, and integrate Blue Alert plans throughout the United States in<br>order to disseminate information when a law enforcement officer is seriously injured or<br>killed in the line of duty.","HR365","National Blue Alert Act of 2012 - Directs the Attorney General to: (1) establish a<br>national Blue Alert communications network within the Department of Justice (DOJ) to<br>disseminate information when a law enforcement officer is seriously injured or killed in<br>the line of duty, in coordination with federal, state, and local Blue Alert plans; and (2)<br>assign an existing DOJ officer to act as the national coordinator of the Blue Alert<br>communications network. Sets forth the duties of the national coo..."],["To provide for the conveyance of eight cemeteries that are located on National Forest<br>System land in Black Hills National Forest, South Dakota.","HR3874","Black Hills Cemetery Act - Directs the Secretary of Agriculture (USDA) to convey to the<br>local communities in South Dakota that are currently managing certain community cemeteries<br>all interest of the United States in: (1) the parcels of National Forest System land that<br>contain the cemeteries, and (2) up to an additional two acres adjoining each cemetery to<br>ensure that such conveyances include unmarked gravesites and allow for the expansion of<br>those cemeteries. Requires: (1)\u00a0 each such conveyan..."],["Providing for consideration of the bill (H.R. 4970) to reauthorize the Violence Against<br>Women Act of 1994, and providing for consideration of the bill (H.R. 4310) to authorize<br>appropriations for fiscal year 2013 for military activities of the Department of Defense,<br>to prescribe military personnel strengths for fiscal year 2013, and for other purposes.","HRES656","Sets forth the rule for consideration of the bill (H.R. 4970) to reauthorize the Violence<br>Against Women Act of 1994, and providing for consideration of the bill (H.R. 4310) to<br>authorize appropriations for fiscal year 2013 for military activities of the Department of<br>Defense, to prescribe military personnel strengths for fiscal year 2013."],["To reauthorize the Violence Against Women Act of 1994.","HR4970","Violence Against Women Reauthorization Act of 2012 - (Sec. 3) Amends the Violence Against<br>Women Act of 1994 (VAWA) to add or expand definitions of several terms for purposes of<br>such Act, including: (1) \"underserved populations\" to mean populations who face barriers<br>to accessing and using sexual assault victim services due to geographic location or<br>religious, racial, or ethnic identity or because of special needs; (2) \"personally<br>identifying information or personal information\" with respect to..."],["Providing for further consideration of the bill (H.R. 4310) to authorize appropriations<br>for fiscal year 2013 for military activities of the Department of Defense, to prescribe<br>military personnel strengths for fiscal year 2013, and for other purposes.","HRES661","Sets forth the rule for consideration of H.R. 4310 (National Defense Authorization Act for<br>Fiscal Year 2013)."],["Expressing the sense of the House of Representatives regarding the importance of<br>preventing the Government of Iran from acquiring a nuclear weapons capability.","HRES568","Warns that time is limited to prevent Iran from acquiring a nuclear weapons capability.<br>Urges continued and increasing economic and diplomatic pressure on Iran to secure an<br>agreement that includes: (1) Iran's suspension of all uranium enrichment-related and<br>reprocessing activities, (2) complete cooperation with the International Atomic Energy<br>Agency (IAEA) on all outstanding questions related to Iran's nuclear activities, and (3) a<br>permanent agreement that verifiably assures that Iran's nucle..."],["To extend the National Flood Insurance Program, and for other purposes.","HR5740","(This measure has not been amended since it was passed by the Senate on May 24, 2012. The<br>summary of that version is repeated here.) Amends the National Flood Insurance Act of 1968<br>(NFIA) to extend the National Flood Insurance Program, including its funding, through July<br>31, 2012. Prohibits the Administrator of the Federal Emergency Management Agency (FEMA)<br>from estimating subsidized flood insurance premium rates for any residential property<br>which is not the primary residence of an individual..."],["To authorize appropriations for fiscal year 2013 for military activities of the Department<br>of Defense, to prescribe military personnel strengths for fiscal year 2013, and for other<br>purposes.","HR4310","National Defense Authorization Act for Fiscal Year 2013 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2013 for the Department of<br>Defense (DOD) for procurement for the Army, Navy and Marine Corps, Air Force, and defense-<br>wide activities, in amounts specified in the funding table in Division D of this Act.<br>Subtitle B: Army Programs - (Sec. 111) Authorizes the Secretary of the Ar..."],["To amend the Federal Food, Drug, and Cosmetic Act to revise and extend the user-fee<br>programs for prescription drugs and for medical devices, to establish user-fee programs<br>for generic drugs and biosimilars, and for other purposes.","HR5651","Food and Drug Administration Reform Act of 2012 - Amends the Federal Food, Drug, and<br>Cosmetic Act (FFDCA) to reauthorize and establish new Food and Drug Administration (FDA)<br>prescription drug user-fee programs and to revise and impose new requirements relating to:<br>(1) prescription, pediatric, and generic drugs; (2) medical devices; (3) biosimilar<br>biological products; and (4) registration of drug manufacturers and reporting of drug<br>shortages. Title I: Fees Relating to Drugs - Prescription Drug..."],["To amend the Servicemembers Civil Relief Act to provide for the protection of child<br>custody arrangements for parents who are members of the Armed Forces.","HR4201","Servicemember Family Protection Act - Amends the Servicemembers Civil Relief Act to<br>provide that if a court renders a temporary order for custodial responsibility for a child<br>based solely on a deployment or anticipated deployment of a parent-servicemember, then the<br>court shall require that upon the return of that servicemember from deployment the custody<br>order that was in effect preceding such deployment shall be reinstated, unless the court<br>finds that reinstatement in not in the child's best..."],["Providing for consideration of the bill (H.R. 5743) to authorize appropriations for fiscal<br>year 2013 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; providing for consideration of<br>the bill (H.R. 5854) making appropriations for military construction, the Department of<br>Veterans Affairs, and related agencies for the fiscal year ending September 30, 2013, and<br>for other purposes; providing for consideration of the bill (H.R. 5855) making<br>appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2013, and for other purposes; and providing for consideration of the bill<br>(H.R. 5325) making appropriations for energy and water development and related agencies<br>for the fiscal year ending September 30, 2013, and for other purposes.","HRES667","Sets forth the rule for consideration of the bill (H.R. 5743) to authorize appropriations<br>for fiscal year 2013 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; providing for consideration of<br>the bill (H.R. 5854) making appropriations for military construction, the Department of<br>Veterans Affairs, and related agencies for the fiscal..."],["To prohibit discrimination against the unborn on the basis of sex or race, and for other<br>purposes.","HR3541","Prenatal Nondiscrimination Act (PRENDA) of 2012 - (Sec. 3) Imposes criminal penalties on<br>anyone who knowingly or knowingly attempts to: (1) perform an abortion knowing that the<br>abortion is sought based on the sex, gender, color or race of the child, or the race of a<br>parent; (2) use force or the threat of force to intentionally injure or intimidate any<br>person for the purpose of coercing a sex-selection or race-selection abortion; (3) solicit<br>or accept funds for the performance of such an abort..."],["To authorize appropriations for fiscal year 2013 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR5743","Intelligence Authorization Act for Fiscal Year 2013 - Title I: Intelligence Activities -<br>(Sec. 101) Authorizes appropriations for FY2013 for the conduct of intelligence and<br>intelligence-related activities of the: (1) Office of the Director of National<br>Intelligence; (2) Central Intelligence Agency (CIA); (3) Department of Defense (DOD); (4)<br>Defense Intelligence Agency (DIA); (5) National Security Agency (NSA); (6) Departments of<br>the Army, Navy, and Air Force; (7) Coast Guard; (8) Departments o..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2013, and for other purposes.","HR5854","Military Construction and Veterans Affairs and Related Agencies Appropriations Act, 2013 -<br>Title I: Department of Defense - Appropriates funds for FY2013 for the Department of<br>Defense (DOD) for: (1) military construction for the Army, Navy and Marine Corps, and Air<br>Force (military departments), DOD, the Army and Air National Guard, and the Army, Navy,<br>and Air Force reserves; (2) the North Atlantic Treaty Organization (NATO) Security<br>Investment Program; (3) family housing construction and rela..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2013, and for other purposes.","HR5325","Energy and Water Development and Related Agencies Appropriations Act, 2013 - Makes<br>appropriations for energy and water development and related agencies for FY2013. Title I:<br>Corps Of Engineers - Civil - Department of the Army - Appropriates funds to the Department<br>of the Army, Corps of Engineers-Civil, for: (1) civil functions pertaining to river and<br>harbor, flood and storm damage reduction, shore protection, and aquatic ecosystem<br>restoration (including the Mississippi River alluvial valley be..."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2013, and for other purposes.","HR5855","Department of Homeland Security Appropriations Act, 2013 - Makes appropriations for the<br>Department of Homeland Security (DHS) for FY2013. Title I: Departmental Management and<br>Operations - Makes appropriations for: (1) the Office of the Secretary and executive<br>management, (2) the Office of the Under Secretary for Management, (3) the Office of the<br>Chief Financial Officer, (4) the Office of the Chief Information Officer, (5) intelligence<br>analysis and operations activities, and (6) the Office of ..."],["Providing for consideration of the bill (H.R. 436) to amend the Internal Revenue Code of<br>1986 to repeal the excise tax on medical devices, and providing for consideration of the<br>bill (H.R. 5882) making appropriations for the Legislative Branch for the fiscal year<br>ending September 30, 2013, and for other purposes.","HRES679","Sets forth the rule for consideration of the bill (H.R. 436) to amend the Internal Revenue<br>Code of 1986 to repeal the excise tax on medical devices, and providing for consideration<br>of the bill (H.R. 5882) making appropriations for the Legislative Branch for the fiscal<br>year ending September 30, 2013."],["To amend the Internal Revenue Code of 1986 to repeal the excise tax on medical devices.","HR436","Health Care Cost Reduction Act of 2012 - Amends the Internal Revenue Code to: (1) repeal<br>the excise tax on medical devices; (2) repeal restrictions on payments from health savings<br>accounts, Archer medical savings accounts, and health flexible spending and reimbursement<br>arrangements to only prescription drugs or insulin (thus allowing distributions from such<br>accounts for over-the-counter drugs); (3) allow amounts in a flexible spending arrangement<br>(FSA), up to $500, that are not spent for medi..."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2013, and for other purposes.","HR5882","Legislative Branch Appropriations Act, 2013 - Title I: Legislative Branch - Makes<br>appropriations to the Senate for FY2013 for: (1) expense allowances; (2) representation<br>allowances for the Majority and Minority Leaders; (3) salaries of specified officers,<br>employees, and committees (including the Committee on Appropriations); (4) agency<br>contributions for employee benefits; (5) inquiries and investigations; (6) the U.S. Senate<br>Caucus on International Narcotics Control; (7) the Offices of the Se..."],["A bill to provide for the conveyance of certain parcels of land to the town of Alta, Utah.","S684","(This measure has not been amended since it was reported to the Senate on August 30, 2011.<br>The summary of that version is repeated here.) Directs the Secretary of Agriculture<br>(USDA), upon submission of a request by the town of Alta, Utah, within one year of<br>enactment of this Act, to convey to the town all interest of the United States in and to<br>parcels of National Forest System land in the Wasatch-Cache National Forest in Salt Lake<br>County, Utah, that are located in and adjacent to parcels of ..."],["Providing for consideration of the bill (H.R. 2578) to amend the Wild and Scenic Rivers<br>Act related to a segment of the Lower Merced River in California, and for other purposes.","HRES688","Sets forth the rule for consideration of the bill (H.R. 2578) to amend the Wild and Scenic<br>Rivers Act related to a segment of the Lower Merced River in California."],["To amend the Wild and Scenic Rivers Act related to a segment of the Lower Merced River in<br>California, and for other purposes.","HR2578","Conservation and Economic Growth Act - Title I: Lower Merced River - (Sec. 101) Amends the<br>Wild and Scenic Rivers Act to decrease the length of a segment of the Lower Merced River<br>in California designated as a wild and scenic river. Revises provisions concerning the<br>water surface level of Lake McClure. Sets a new boundary at the boundary of the Federal<br>Energy Regulatory Commission (FERC) Project No. 2179 as it existed on July 18, 2011. Title<br>II: Bonneville Unit Clean Hydropower Facilitation A..."],["To prohibit certain gaming activities on certain Indian lands in Arizona.","HR2938","Gila Bend Indian Reservation Lands Replacement Clarification Act - Amends the Gila Bend<br>Indian Reservation Lands Replacement Act to prohibit class II or III gaming activities on<br>lands located north of latitude 33 degrees, 4 minutes north that the Tohono O'odham Nation<br>was authorized to purchase in Arizona in exchange for granting the federal government all<br>right, title, and interest to the Gila Bend Indian Reservation. Prohibits this gaming<br>restriction from having any effect on any decision a..."],["Providing for consideration of the bill (H.R. 4480) to provide for the development of a<br>plan to increase oil and gas exploration, development, and production under oil and gas<br>leases of Federal lands under the jurisdiction of the Secretary of Agriculture, the<br>Secretary of Energy, the Secretary of the Interior, and the Secretary of Defense in<br>response to a drawdown of petroleum reserves from the Strategic Petroleum Reserve.","HRES691","Sets forth the rule for consideration of the bill (H.R. 4480) to provide for the<br>development of a plan to increase oil and gas exploration, development, and production<br>under oil and gas leases of Federal lands under the jurisdiction of the Secretary of<br>Agriculture, the Secretary of Energy, the Secretary of the Interior, and the Secretary of<br>Defense in response to a drawdown of petroleum reserves from the Strategic Petroleum<br>Reserve."],["To provide for the development of a plan to increase oil and gas exploration, development,<br>and production under oil and gas leases of Federal lands under the jurisdiction of the<br>Secretary of Agriculture, the Secretary of Energy, the Secretary of the Interior, and the<br>Secretary of Defense in response to a drawdown of petroleum reserves from the Strategic<br>Petroleum Reserve.","HR4480","Domestic Energy and Jobs Act - Title I: Increasing Domestic Oil and Gas Exploration,<br>Development, and Production in Response to Strategic Petroleum Reserve Drawdowns -<br>Strategic Energy Production Act of 2012 - (Sec. 102) Amends the Energy Policy and<br>Conservation Act to direct the Secretary of Energy (DOE) to develop a plan to increase the<br>percentage of federal lands leased for oil and gas exploration, development, and<br>production under the jurisdiction of the Secretaries of Agriculture (USDA),..."],["Providing for consideration of the bill (H.R. 5973) making appropriations for Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies programs for the<br>fiscal year ending September 30, 2013, and for other purposes; and providing for<br>consideration of the bill (H.R. 5972) making appropriations for the Departments of<br>Transportation, and Housing and Urban Development, and related agencies for the fiscal<br>year ending September 30, 2013, and for other purposes.","HRES697","Sets forth the rule for consideration of the bill (H.R. 5973) making appropriations for<br>Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2013, and for other purposes; and<br>providing for consideration of the bill (H.R. 5972) making appropriations for the<br>Departments of Transportation, and Housing and Urban Development, and related agencies for<br>the fiscal year ending September 30, 2013."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2013, and for<br>other purposes.","HR5972","Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2013 - Title I: Department of Transportation - Department of Transportation Appropriations<br>Act, 2013 - Makes appropriations for FY2013 to the Department of Transportation (DOT),<br>including: (1) the Office of the Secretary, (2) the Federal Aviation Administration (FAA),<br>(3) the Federal Highway Administration (FHWA), (4) the Federal Motor Carrier Safety<br>Administration (FMCSA), (5) the National Highway Traffic..."],["Relating to the consideration of House Report 112-546 and an accompanying resolution, and<br>providing for consideration of the resolution (H. Res. 706) authorizing the Committee on<br>Oversight and Government Reform to initiate or intervene in judicial proceedings to<br>enforce certain subpoenas.","HRES708","Sets forth the rule for consideration of H.Rept. 112-546, and an accompanying resolution,<br>concerning compliance by Eric H. Holder, Jr., Attorney General of the United States, with<br>subpoenas related to investigation by the Committee on Oversight and Government Reform<br>into the Department of Justice (DOJ) operation known as \"Fast and Furious.\" Sets forth the<br>rule for consideration of H.Res. 706, authorizing the Committee to initiate or intervene<br>in judicial proceedings in any federal court of co..."],["To authorize, enhance, and reform certain port security programs through increased<br>efficiency and risk-based coordination within the Department of Homeland Security, and for<br>other purposes.","HR4251","Securing Maritime Activities through Risk-based Targeting for Port Security Act or the<br>SMART Port Security Act - Title I: Department of Homeland Security Port Security Programs<br>- (Sec. 101) Directs the Secretary of Homeland Security (DHS): (1) by July 1, 2014, to<br>submit a plan for the coordination and cooperation of maritime operations undertaken by<br>DHS agencies that updates the plan released by DHS in July 2011; and (2) by July 1, 2019,<br>acting through DHS's Office of Operations Coordination ..."],["Recommending that the House of Representatives find Eric H. Holder, Jr., Attorney General,<br>U.S. Department of Justice, in contempt of Congress for refusal to comply with a subpoena<br>duly issued by the Committee on Oversight and Government Reform.","HRES711","Finds Eric H. Holder, Jr., Attorney General of the United States, to be in contempt of<br>Congress for failure to comply with a congressional subpoena. Directs the Speaker of the<br>House of Representatives to certify the report of the Committee on Oversight and<br>Government Reform, detailing the refusal of Mr. Holder to produce documents to the<br>Committee as directed by subpoena, to the U.S. Attorney for the District of Columbia, to<br>the end that Mr. Holder be proceeded against in the manner and form ..."],["Authorizing the Committee on Oversight and Government Reform to initiate or intervene in<br>judicial proceedings to enforce certain subpoenas.","HRES706","Authorizes the House Committee on Oversight and Government Reform to initiate or intervene<br>in judicial proceedings in any federal court of competent jurisdiction on behalf of the<br>Committee to seek declaratory judgments affirming the duty of Attorney General Eric H.<br>Holder, Jr., to comply with any subpoena that is a subject of the resolution accompanying<br>H.Rept. 112-546 issued to him by the Committee as part of its investigation into the<br>Department of Justice (DOJ) operation known as \"Fast and..."],["Providing for consideration of the bill (H.R. 5856) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2013, and for other<br>purposes; providing for consideration of the bill (H.R. 6020) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2013,<br>and for other purposes; and providing for consideration of the conference report to<br>accompany the bill (H.R. 4348) to provide an extension of Federal-aid highway, highway<br>safety, motor carrier safety, transit, and other programs funded out of the Highway Trust<br>Fund pending enactment of a multiyear law reauthorizing such programs, and for other<br>purposes.","HRES717","Sets forth the rule for consideration of the bill (H.R. 5856) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2013, and for other<br>purposes; providing for consideration of the bill (H.R. 6020) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2013,<br>and for other purposes; and providing for consideration of the conference report to<br>accompany the bill (H.R. 4348) to provide an extension of Fed..."],["To direct the head of each Federal department and agency to treat relevant military<br>training as sufficient to satisfy training or certification requirements for Federal<br>licenses.","HR4155","(This measure has not been amended since it was passed by the House on July 9, 2012. The<br>summary of that version is repeated here.) Veteran Skills to Jobs Act - Directs the head<br>of each federal licensing authority to consider, and authorizes such official to accept,<br>any relevant training received by an individual while serving as a member of the Armed<br>Forces for the purpose of satisfying the license requirements."],["To amend the Electronic Fund Transfer Act to limit the fee disclosure requirement for an<br>automatic teller machine to the screen of that machine.","HR4367","Amends the Electronic Fund Transfer Act with respect to mandatory fee disclosures on<br>automated teller machines (ATMs) operated by a person other than a financial institution<br>holding a consumer's account. Repeals the requirement that such a fee disclosure appear in<br>a prominent and conspicuous location on or at the ATM. Limits such requirement to<br>appearance of a fee disclosure on the ATM screen."],["To improve hydropower, and for other purposes.","HR5892","Hydropower Regulatory Efficiency Act of 2012 - (Sec. 3) Amends the Public Utility<br>Regulatory Policies Act of 1978 (PURPA) to increase from 5,000 to 10,000 kilowatts the<br>size of small hydroelectric power projects which the Federal Energy Regulatory Commission<br>(FERC) may exempt from its license requirements. (Sec. 4) Amends the Federal Power Act to<br>revise the limitation on the maximum installation capacity of qualifying conduit<br>hydropower facilities that are eligible for an exemption from licen..."],["Providing for consideration of the bill (H.R. 6079) to repeal the Patient Protection and<br>Affordable Care Act and health care-related provisions in the Health Care and Education<br>Reconciliation Act of 2010.","HRES724","Sets forth the rule for consideration of the bill (H.R. 6079) to repeal the Patient<br>Protection and Affordable Care Act and health care-related provisions in the Health Care<br>and Education Reconciliation Act of 2010."],["To repeal the Patient Protection and Affordable Care Act and health care-related<br>provisions in the Health Care and Education Reconciliation Act of 2010.","HR6079","Repeal of Obamacare Act - Repeals the Patient Protection and Affordable Care Act,<br>effective as of its enactment. Restores provisions of law amended by such Act. Repeals the<br>health care provisions of the Health Care and Education and Reconciliation Act of 2010,<br>effective as of the Act's enactment. Restores provisions of law amended by the Act's<br>health care provisions."],["Providing for consideration of the bill (H.R. 4402) to require the Secretary of the<br>Interior and the Secretary of Agriculture to more efficiently develop domestic sources of<br>the minerals and mineral materials of strategic and critical importance to United States<br>economic and national security and manufacturing competitiveness.","HRES726","Sets forth the rule for consideration of the bill (H.R. 4402) to require the Secretary of<br>the Interior and the Secretary of Agriculture to more efficiently develop domestic sources<br>of the minerals and mineral materials of strategic and critical importance to United<br>States economic and national security and manufacturing competitiveness."],["To require the Secretary of the Interior and the Secretary of Agriculture to more<br>efficiently develop domestic sources of the minerals and mineral materials of strategic<br>and critical importance to United States economic and national security and manufacturing<br>competitiveness.","HR4402","National Strategic and Critical Minerals Production Act of 2012 - Title I: Development of<br>Domestic Sources Of Strategic and Critical Minerals - (Sec. 101) Deems a domestic mine<br>that will provide strategic and critical minerals to be an \"infrastructure project\" as<br>described in Presidential Order \"Improving Performance of Federal Permitting and Review of<br>Infrastructure Projects\" dated March 22, 2012. (Sec. 102) Sets forth the responsibilities<br>of the lead agency (federal, state, local, tribal, o..."],["To authorize appropriations for the Department of State for fiscal year 2013, and for<br>other purposes.","HR6018","Foreign Relations Authorization Act, Fiscal Year 2013 - Title I: Authorization of<br>Appropriations - Authorizes FY2013 appropriations for the Department of State (Department)<br>for: (1) diplomatic and consular programs; (2) the Capital Investment Fund; (3) embassy<br>security, construction and maintenance; (4) educational and cultural exchange programs;<br>(5) conflict stabilization operations; (6) representation allowances; (7) protection of<br>foreign missions and officials; (8) diplomatic and consular ..."],["To require the President to provide a report detailing the sequester required by the<br>Budget Control Act of 2011 on January 2, 2013.","HR5872","Sequestration Transparency Act of 2012 - Requires the President, within 30 days after the<br>enactment of this Act, to submit to Congress a detailed report on the implementation of<br>certain discretionary reductions (in security and nonsecurity categories) and nonexempt<br>direct spending reductions in the sequestration ordered by the Balanced Budget and<br>Emergency Deficit Control Act of 1985 (Gramm-Rudman-Hollings Act) for FY2013 on January 2,<br>2013. (The Gramm-Rudman-Hollings Act was amended by the B..."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2013, and for other purposes.","HR5856","Department of Defense Appropriations Act, 2013 - Title I: Military Personnel -<br>Appropriates funds for FY2013 for active-duty and reserve personnel in the Army, Navy,<br>Marine Corps, and Air Force (the military departments), and for National Guard personnel<br>in the Army and Air Force. Title II: Operation and Maintenance - Appropriates funds for<br>FY2013 for operation and maintenance (O&amp;M) for the military departments, the defense<br>agencies, the reserve components, and the Army and Air National G..."],["To facilitate economic development by Indian tribes and encourage investment by Turkish<br>enterprises.","HR2362","Indian Tribal Trade and Investment Demonstration Project Act of 2011 - (Sec. 3) Authorizes<br>the Secretary of the Interior to select up to six Indian tribes or consortia of Indian<br>tribes to participate in an Indian Tribal Trade and Investment Demonstration Project that<br>facilitates trade and financial investment in Indian tribal economies by private entities<br>from Turkey. Allows participating tribes or consortia to lease land held in trust for them<br>by the federal government without the Secretary'..."],["A bill to allow a State or local government to construct levees on certain properties<br>otherwise designated as open space lands.","S2039","Directs the Administrator of the Federal Emergency Management Agency (FEMA) to approve the<br>construction of a permanent flood risk reduction levee by a state, local, or tribal<br>government under specified circumstances on land: (1) acquired and deed restricted under<br>hazard mitigation provisions of the Robert T. Stafford Disaster Relief and Emergency<br>Assistance Act; and (2) located in North Dakota in a community that is participating in<br>the National Flood Insurance Program on the date on which a ..."],["To designate the facility of the United States Postal Service located at 133 Hare Road in<br>Crosby, Texas, as the Army First Sergeant David McNerney Post Office Building.","HR3477","Designates the facility of the United States Postal Service located at 133 Hare Road in<br>Crosby, Texas, as the Army First Sergeant David McNerney Post Office Building."],["Providing for consideration of the bill (H.R. 4078) to provide that no agency may take any<br>significant regulatory action until the unemployment rate is equal to or less than 6.0<br>percent, and providing for consideration of the bill (H.R. 6082) to officially replace,<br>within the 60-day Congressional review period under the Outer Continental Shelf Lands Act,<br>President Obama's Proposed Final Outer Continental Shelf Oil & Gas Leasing Program<br>(2012-2017) with a congressional plan that will conduct additional oil and natural gas<br>lease sales to promote offshore energy development, job creation, and increased domestic<br>energy production to ensure a more secure energy future in the United States, and for<br>other purposes.","HRES738","Sets forth the rule for consideration of the bill (H.R. 4078) to provide that no agency<br>may take any significant regulatory action until the unemployment rate is equal to or less<br>than 6.0 percent, and providing for consideration of the bill (H.R. 6082) to officially<br>replace, within the 60-day Congressional review period under the Outer Continental Shelf<br>Lands Act, President Obama's Proposed Final Outer Continental Shelf Oil &amp; Gas Leasing<br>Program (2012-2017) with a congressional plan that ..."],["To officially replace, within the 60-day Congressional review period under the Outer<br>Continental Shelf Lands Act, President Obama's Proposed Final Outer Continental Shelf Oil<br>& Gas Leasing Program (2012-2017) with a congressional plan that will conduct additional<br>oil and natural gas lease sales to promote offshore energy development, job creation, and<br>increased domestic energy production to ensure a more secure energy future in the United<br>States, and for other purposes.","HR6082","Congressional Replacement of President Obama's Energy-Restricting and Job-Limiting<br>Offshore Drilling Plan - (Sec. 3) Directs the Secretary of the Interior to implement the<br>Proposed Final Outer Continental Shelf Oil &amp; Gas Leasing Program (2012-2017) in<br>accordance with the schedule for conducting oil and gas lease sales set forth in it and in<br>the Outer Continental Shelf Lands Act. Instructs the Secretary to conduct each of<br>specified oil and gas lease sales in the Outer Continental Shelf (OC..."],["To direct the Secretary of the Interior to implement the Proposed Final Outer Continental<br>Shelf Oil & Gas Leasing Program (2012-2017) in accordance with the Outer Continental Shelf<br>Lands Act and other applicable law.","HR6168","President Obama's Proposed 2012-2017 Offshore Drilling Lease Sale Plan Act - Directs the<br>Secretary of the Interior to implement the Proposed Final Outer Continental Shelf Oil<br>&amp; Gas Leasing Program (2012-2017) in accordance with the schedule for conducting oil<br>and gas lease sales set forth in it and in the Outer Continental Shelf Lands Act."],["To require a full audit of the Board of Governors of the Federal Reserve System and the<br>Federal reserve banks by the Comptroller General of the United States before the end of<br>2012, and for other purposes.","HR459","Federal Reserve Transparency Act of 2012 - Directs the Comptroller General to: (1)<br>complete, within 12 months of enactment of this Act, the required audit of the Board of<br>Governors of the Federal Reserve System (Board) and of the Federal Reserve Banks; and (2)<br>submit to Congress, within 90 days of audit completion, a detailed report of audit<br>findings and conclusions. Repeals certain limitations placed upon such audit. Instructs<br>the Comptroller General to audit and report on the review of loan..."],["To provide that no agency may take any significant regulatory action until the<br>unemployment rate is equal to or less than 6.0 percent.","HR4078","Red Tape Reduction and Small Business Job Creation Act - Title I: Regulatory Freeze for<br>Jobs - Regulatory Freeze for Jobs Act of 2012 - (Sec. 102) Prohibits a federal agency from<br>taking any significant regulatory action until the Secretary of Labor reports to the<br>Director of the Office of Management and Budget (OMB) that the Bureau of Labor Statistics<br>(BLS) average of monthly unemployment rates for any quarter is 6% or less. (Sec. 103)<br>Permits an agency to take a significant regulatory action..."],["Providing for further consideration of the bill (H.R. 4078) to provide that no agency may<br>take any significant regulatory action until the unemployment rate is equal to or less<br>than 6.0 percent.","HRES741","Sets forth the rule for consideration of H.R. 4078 (Regulatory Freeze for Jobs Act of<br>2012)."],["To amend title 5, United States Code, to provide that persons having seriously delinquent<br>tax debts shall be ineligible for Federal employment.","HR828","Federal Employee Tax Accountability Act of 2012 - Makes any person who has a seriously<br>delinquent tax debt ineligible for federal employment or to continue serving as a federal<br>employee. Defines \"seriously delinquent tax debt\" as an outstanding tax debt for which a<br>notice of lien has been filed in public records. Exempts a tax debt: (1) that is being<br>paid in a timely manner under an approved installment payment agreement or an offer-in-<br>compromise, (2) for which a collection due process hearin..."],["To amend title 18, United States Code, to protect pain-capable unborn children in the<br>District of Columbia, and for other purposes.","HR3803","District of Columbia Pain-Capable Unborn Child Protection Act - Amends the federal<br>criminal code to prohibit any person from performing or attempting to perform an abortion<br>within the District of Columbia except in conformity with this Act's requirements.<br>Requires the physician to first make a determination of the probable post-fertilization<br>age of the unborn child, or reasonably rely upon such a determination made by another<br>physician, by making inquiries of the pregnant woman and performing..."],["Providing for consideration of the bill (H.R. 6169) to provide for expedited consideration<br>of a bill providing for comprehensive tax reform; providing for consideration of the bill<br>(H.R. 8) to extend certain tax relief provisions enacted in 2001 and 2003, and for other<br>purposes; providing for proceedings during the period from August 3, 2012, through<br>September 7, 2012; providing for consideration of motions to suspend the rules; and<br>waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES747","Sets forth the rule for consideration of the bill (H.R. 6169) to provide for expedited<br>consideration of a bill providing for comprehensive tax reform; providing for<br>consideration of the bill (H.R. 8) to extend certain tax relief provisions enacted in 2001<br>and 2003, and for other purposes; providing for proceedings during the period from August<br>3, 2012, through September 7, 2012; providing for consideration of motions to suspend the<br>rules; and waiving a requirement of clause 6(a) of rule XIII ..."],["To extend certain tax relief provisions enacted in 2001 and 2003, and for other purposes.","HR8","American Taxpayer Relief Act of 2012 - Title I: General Extensions - (Sec. 101) Makes<br>permanent the Economic Growth and Tax Relief Reconciliation Act of 2001 for individual<br>taxpayers whose taxable income is at or below a $400,000 threshold amount ($450,000 for<br>married couples filing a joint return). Amends the Internal Revenue Code to: (1) revise<br>income tax rates for individual taxpayers whose taxable income is at or below the $400,000<br>threshold amount ($450,000 for married couples filing a j..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 1905, with an<br>amendment.","HRES750","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>H.R. 1905 (Iran Threat Reduction and Syria Human Rights Act of 2012)."],["To amend title 5, United States Code, to make clear that accounts in the Thrift Savings<br>Fund are subject to certain Federal tax levies.","HR4365","Amends the Internal Revenue Code to make Thrift Savings Fund accounts subject to a federal<br>tax levy. Requires any revenue gain attributable to the enacment of this Act to be<br>deposited in the general fund of the Treasury and used solely for deficit reduction."],["Providing for consideration of the bill (H.R. 6233) to make supplemental agricultural<br>disaster assistance available for fiscal year 2012 with the costs of such assistance<br>offset by changes to certain conservation programs, and for other purposes.","HRES752","Sets forth the rule for consideration of the bill (H.R. 6233) to make supplemental<br>agricultural disaster assistance available for fiscal year 2012 with the costs of such<br>assistance offset by changes to certain conservation programs."],["To provide for expedited consideration of a bill providing for comprehensive tax reform.","HR6169","Pathway to Job Creation through a Simpler, Fairer Tax Code Act of 2012 - States that the<br>purpose of this Act is to provide for the enactment of comprehensive tax reform in 2013<br>that: (1) protects taxpayers by creating a fairer, simpler, flatter tax code; (2) is<br>comprehensive; (3) results in tax revenue consistent with historical norms; (4) spurs<br>greater investment, innovation and job creation; and (5) makes American workers and<br>businesses more competitive. Defines a \"tax reform bill\" for purp..."],["To make supplemental agricultural disaster assistance available for fiscal year 2012 with<br>the costs of such assistance offset by changes to certain conservation programs, and for<br>other purposes.","HR6233","Agricultural Disaster Assistance Act of 2012 - Directs the Secretary of Agriculture (USDA)<br>to make FY2012 livestock indemnity payments from Commodity Credit Corporation (CCC) funds<br>to eligible producers on farms that have incurred livestock death losses in excess of the<br>normal mortality due to: (1) attacks by animals reintroduced into the wild by the federal<br>government or protected by federal law, including wolves and avian predators; or (2)<br>adverse weather, including losses due to hurricanes..."],["Expressing the sense of Congress regarding actions to preserve and advance the<br>multistakeholder governance model under which the Internet has thrived.","HCONRES127","Expresses the sense of Congress that the Assistant Secretary of Commerce for<br>Communications and Information should continue working to implement the position of the<br>United States on Internet governance that articulates the consistent and unequivocal<br>policy of the United States to promote a global Internet free from government control and<br>preserve and advance the multistakeholder model that governs the Internet today."],["To revise the authority of the Librarian of Congress to accept gifts and bequests on<br>behalf of the Library, and for other purposes.","HR6122","Allows the Librarian of Congress to accept in the interest of the Library of Congress, its<br>collections, or its service, personal property valued at $25,000 or less, nonpersonal<br>services, or voluntary and uncompensated personal services. Requires the Librarian, in the<br>case of a gift of securities, to sell the gift and provide the donor with a receipt from<br>the proceeds of the sale. Requires inclusion, in each Annual Report of the Library, of a<br>description of each gift or bequest accepted during..."],["To require the Secretary of the Treasury to mint coins in commemoration of the centennial<br>of the establishment of Lions Clubs International.","HR2139","Lions Clubs International Century of Service Commemorative Coin Act - Directs the<br>Secretary of the Treasury to mint and issue as legal tender up to 400,000 $1 coins in<br>commemoration of the centennial of the founding of the Lions Clubs International. Requires<br>the design of the coins to be emblematic of the centennial. Permits the Secretary to issue<br>such coins only during calendar 2017. Requires coin sales to include a surcharge of $10<br>per coin, to be paid by the Secretary to the Lions Clubs In..."],["Providing for consideration of the bill (H.R. 5544) to authorize and expedite a land<br>exchange involving National Forest System land in the Laurentian District of the Superior<br>National Forest and certain other National Forest System land in the State of Minnesota<br>that has limited recreational and conservation resources and lands owned by the State of<br>Minnesota in trust for the public school system that are largely scattered in checkerboard<br>fashion within the Boundary Waters Canoe Area Wilderness and have important recreational,<br>scenic, and conservation resources, and for other purposes, and providing for<br>consideration of the bill (H.R. 5949) to extend the FISA Amendments Act of 2008 for five<br>years.","HRES773","Sets forth the rule for consideration of the bill (H.R. 5544) to authorize and expedite a<br>land exchange involving National Forest System land in the Laurentian District of the<br>Superior National Forest and certain other National Forest System land in the State of<br>Minnesota that has limited recreational and conservation resources and lands owned by the<br>State of Minnesota in trust for the public school system that are largely scattered in<br>checkerboard fashion within the Boundary Waters Canoe Are..."],["To help ensure the fiscal solvency of the FHA mortgage insurance programs of the Secretary<br>of Housing and Urban Development, and for other purposes.","HR4264","FHA Emergency Fiscal Solvency Act of 2012 - (Sec. 2) Amends the National Housing Act (NHA)<br>to direct the Secretary of Housing and Urban Development (HUD) (who currently is<br>authorized) to establish and collect additional annual premium payments for the first 11<br>years of the term of an insured mortgage in an amount between 0.55% and 2% of the<br>remaining insured principal balance (with certain adjustments) for certain periods.<br>Increases from 1.55% to 2.05% the 30-year annual premium for an insure..."],["To authorize and expedite a land exchange involving National Forest System land in the<br>Laurentian District of the Superior National Forest and certain other National Forest<br>System land in the State of Minnesota that has limited recreational and conservation<br>resources and lands owned by the State of Minnesota in trust for the public school system<br>that are largely scattered in checkerboard fashion within the Boundary Waters Canoe Area<br>Wilderness and have important recreational, scenic, and conservation resources, and for<br>other purposes.","HR5544","Minnesota Education Investment and Employment Act - Directs the Secretary of Agriculture<br>(USDA) to complete a land exchange involving National Forest System land in Minnesota and<br>Minnesota state lands. Requires the exchange to be consummated pursuant to specified<br>Minnesota law. Makes Minnesota responsible for the costs of the survey and all other<br>administrative costs related to the land exchange. Adds the lands acquired by the<br>Secretary to the Boundary Waters Canoe Area Wilderness and modifie..."],["To extend the FISA Amendments Act of 2008 for five years.","HR5949","(This measure has not been amended since it was reported to the House on August 2, 2012.<br>The summary of that version is repeated here.) FISA Amendments Act Reauthorization Act of<br>2012 - Amends the FISA Amendments Act of 2008 to extend until December 31, 2017: (1) the<br>date for repeal of title VII of the Foreign Intelligence Surveillance Act of 1978<br>(procedures concerning the electronic surveillance of certain persons outside the United<br>States for foreign intelligence information purposes); and..."],["To amend the Implementing Recommendations of the 9/11 Commission Act of 2007 to require<br>the Secretary of Homeland Security to include as an eligible use the sustainment of<br>specialized operational teams used by local law enforcement under the Transit Security<br>Grant Program, and for other purposes.","HR3857","Public Transit Security and Local Law Enforcement Support Act - Amends the Implementing<br>Recommendations of the 9/11 Commission Act of 2007 to allow grants to eligible public<br>transportation agencies for security improvements to be used for specialized patrol teams,<br>including the sustainment of such teams without fiscal year limitation, as long as the<br>agency applying for grant funds submits a sustainment plan for maintaining in future years<br>the capability or capacity achieved with the funds. Au..."],["Providing for consideration of the joint resolution (H.J. Res. 117) making continuing<br>appropriations for fiscal year 2013, and for other purposes; and providing for<br>consideration of the bill (H.R. 6365) to amend the Balanced Budget and Emergency Deficit<br>Control Act of 1985 to replace the sequester established by the Budget Control Act of<br>2011.","HRES778","Sets forth the rule for consideration of the joint resolution (H.J. Res. 117) making<br>continuing appropriations for fiscal year 2013, and for other purposes; and providing for<br>consideration of the bill (H.R. 6365) to amend the Balanced Budget and Emergency Deficit<br>Control Act of 1985 to replace the sequester established by the Budget Control Act of<br>2011."],["Providing for consideration of the bill (H.R. 6213) to limit further taxpayer exposure<br>from the loan guarantee program established under title XVII of the Energy Policy Act of<br>2005, and providing for consideration of motions to suspend the rules.","HRES779","Sets forth the rule for consideration of the bill (H.R. 6213) to limit further taxpayer<br>exposure from the loan guarantee program established under title XVII of the Energy Policy<br>Act of 2005, and providing for consideration of motions to suspend the rules."],["To amend title 18, United States Code, to establish a criminal offense relating to<br>fraudulent claims about military service.","HR1775","(This measure has not been amended since it was reported to the House on September 10,<br>2012. The summary of that version is repeated here.) Stolen Valor Act of 2012 - Amends the<br>federal criminal code to rewrite provisions relating to fraudulent claims about military<br>service to subject to a fine, imprisonment for not more than one year, or both an<br>individual who, with intent to obtain money, property, or other tangible benefit,<br>fraudulently holds himself or herself out to be a recipient of: a ..."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985 to replace the<br>sequester established by the Budget Control Act of 2011.","HR6365","National Security and Job Protection Act - Makes the effective date of this Act contingent<br>upon enactment of: (1) the reconciliation Act with certain spending reductions for a<br>specified deficit reduction contemplated by H.Con.Res. 112, as passed by the House of<br>Representatives on March 16, 2012; or (2) similar legislation that achieves outlay<br>reductions within five years after enactment that equal or exceed specified outlay<br>reductions flowing from the budget authority reductions required by t..."],["Making continuing appropriations for fiscal year 2013, and for other purposes.","HJRES117","Continuing Appropriations Resolution, 2013 - Makes continuing appropriations for FY2013.<br>(Sec. 101) Appropriates amounts for continuing operations, projects, or activities which<br>were conducted in FY2012 and for which appropriations, funds, or other authority were made<br>available in: the Agriculture, Rural Development, Food and Drug Administration, and<br>Related Agencies Appropriations Act, 2012 (division A of P.L. 112-55), except for<br>appropriations designated by Congress for disaster relief in s..."],["To limit further taxpayer exposure from the loan guarantee program established under title<br>XVII of the Energy Policy Act of 2005.","HR6213","No More Solyndras Act - (Sec. 3) Prohibits the Secretary of Energy (DOE) from issuing any<br>new loan guarantee of an innovative energy project under title XVII (Incentives for<br>Innovative Technologies) of the Energy Policy Act of 2005 for any application submitted to<br>DOE after December 31, 2011. Prohibits a loan guarantee for any application pending before<br>that date until the Secretary of the Treasury furnishes, within 30 days after receiving<br>the guarantee proposal from DOE, a written analysis o..."],["To amend the Internal Revenue Code of 1986 to exclude from gross income any discharge of<br>indebtedness income on education loans of deceased veterans.","HR5044","Andrew P. Carpenter Tax Act - Amends the Internal Revenue Code to: (1) exclude from the<br>gross income of any cosigner of a student loan of a veteran who died as a result of a<br>service-connected disability any amount attributable to the discharge of the indebtedness<br>on such loan, and (2) subject accounts in the Thrift Savings Fund to a federal tax levy.<br>Provides that any potential revenue gain from the enactment of this Act shall be deposited<br>in the general fund of the Treasury and shall be used..."],["To amend the Internal Revenue Code of 1986 to prohibit the use of public funds for<br>political party conventions, and to provide for the return of previously distributed funds<br>for deficit reduction.","HR5912","Amends the Internal Revenue Code to repeal provisions providing for the use of funds from<br>the Presidential Election Campaign Fund for presidential nominating conventions."],["Providing for consideration of the joint resolution (H.J. Res. 118) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by the Office of Family Assistance of the Administration for Children and<br>Families of the Department of Health and Human Services relating to waiver and expenditure<br>authority under section 1115 of the Social Security Act (42 U.S.C. 1315) with respect to<br>the Temporary Assistance for Needy Families program; providing for consideration of the<br>bill (H.R. 3409) to limit the authority of the Secretary of the Interior to issue<br>regulations before December 31, 2013, under the Surface Mining Control and Reclamation Act<br>of 1977; and providing for proceedings during the period from September 22, 2012, through<br>November 12, 2012.","HRES788","Sets forth the rule for consideration of the joint resolution (H.J. Res. 118) providing<br>for congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by the Office of Family Assistance of the Administration for Children and<br>Families of the Department of Health and Human Services relating to waiver and expenditure<br>authority under section 1115 of the Social Security Act (42 U.S.C. 1315) with respect to<br>the Temporary Assistance for Needy Families program; pr..."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Office of Family Assistance of the Administration for Children<br>and Families of the Department of Health and Human Services relating to waiver and<br>expenditure authority under section 1115 of the Social Security Act (42 U.S.C. 1315) with<br>respect to the Temporary Assistance for Needy Families program.","HJRES118","Disapproves of the rule submitted by the Office of Family Assistance of the Administration<br>for Children and Families of the Department of Health and Human Services (HHS) relating to<br>waiver and expenditure authority under the Social Security Act with respect to the<br>Temporary Assistance for Needy Families (TANF) program. Declares that the rule shall have<br>no force or effect."],["To amend the Immigration and Nationality Act to promote innovation, investment, and<br>research in the United States, to eliminate the diversity immigrant program, and for other<br>purposes.","HR6429","STEM Jobs Act of 2012 - (Sec. 2) Amends the Immigration and Nationality Act to make up to<br>55,000 visas available in FY2014 and subsequent fiscal years to qualified immigrants who:<br>(1) have a doctorate degree in a field of science, technology, engineering, or mathematics<br>(STEM degree) from a U.S. doctoral institution of higher education; and (2) have taken all<br>doctoral courses in a STEM field, including all courses taken by correspondence or by<br>distance education, while physically present in t..."],["To establish the Manhattan Project National Historical Park in Oak Ridge, Tennessee, Los<br>Alamos, New Mexico, and Hanford, Washington, and for other purposes.","HR5987","Manhattan Project National Historical Park Act - (Sec. 5) Establishes the Manhattan<br>Project National Historical Park as a unit of the National Park System, which may be<br>composed of specified facilities, lands, or interests in land in one or more eligible<br>areas or parts of such areas in Oak Ridge, Tennessee; Los Alamos, New Mexico; and Hanford,<br>Washington. Requires inclusion of the B Reactor National Historic Landmark in Hanford.<br>(Sec. 6) Directs the Secretary of the Interior (the Secretary) a..."],["To limit the authority of the Secretary of the Interior to issue regulations before<br>December 31, 2013, under the Surface Mining Control and Reclamation Act of 1977.","HR3409","Stop the War on Coal Act of 2012 - Title I: Limitation on Authority to Issue Regulations<br>Under The Surface Mining Control and Reclamation Act of 1977 - (Sec. 101) Prohibits the<br>Secretary of the Interior, before December 31, 2013, from issuing or approving any<br>proposed or final regulation under the Surface Mining Control and Reclamation Act of 1977<br>that would: (1) adversely impact employment in coal mines in the United States; (2) cause<br>a reduction in revenue received by the federal government..."],["To amend title 40, United States Code, to transfer certain functions from the General<br>Accountability Office to the Department of Labor relating to the processing of claims for<br>the payment of workers who were not paid appropriate wages under certain provisions of<br>such title.","HR6371","Streamlining Claims Processing for Federal Contractor Employees Act - Transfers authority<br>from the Government Accountability Office (GAO) to the Department of Labor for processing<br>claims for wages due to laborers and mechanics hired by contractors on public works<br>projects."],["Providing for consideration of the bill (H.R. 6156) to authorize the extension of<br>nondiscriminatory treatment (normal trade relations treatment) to products of the Russian<br>Federation and Moldova and to require reports on the compliance of the Russian Federation<br>with its obligations as a member of the World Trade Organization, and for other purposes.","HRES808","Sets forth the rule for consideration of the bill (H.R. 6156) to authorize the extension<br>of nondiscriminatory treatment (normal trade relations treatment) to products of the<br>Russian Federation and Moldova and to require reports on the compliance of the Russian<br>Federation with its obligations as a member of the World Trade Organization."],["To authorize the extension of nondiscriminatory treatment (normal trade relations<br>treatment) to products of the Russian Federation and Moldova and to require reports on the<br>compliance of the Russian Federation with its obligations as a member of the World Trade<br>Organization, and for other purposes.","HR6156","Russia and Moldova Jackson-Vanik Repeal and Sergei Magnitsky Rule of Law Accountability<br>Act of 2012 - Title I: Permanent Normal Trade Relations for the Russian Federation - (Sec.<br>102) Authorizes the President to: (1) determine that title IV (Jackson-Vanik Amendment) of<br>the Trade Act of 1974 (denying nondiscriminatory treatment [normal trade relations<br>treatment] to non-market countries that restrict freedom of emigration and other human<br>rights) should no longer apply to the Russian Federation,..."],["To amend the Homeland Security Act of 2002 to codify authority under existing grant<br>guidance authorizing use of Urban Area Security Initiative and State Homeland Security<br>Grant Program funding for enhancing medical preparedness, medical surge capacity, and mass<br>prophylaxis capabilities.","HR5997","Medical Preparedness Allowable Use Act - Amends the Homeland Security Act of 2002 to<br>authorize the use of Urban Area Security Initiative and State Homeland Security Grant<br>Program funding for enhancing medical preparedness, medical surge capacity, and mass<br>prophylaxis capabilities, including the development and maintenance of an initial<br>pharmaceutical stockpile, including medical kits, and diagnostics sufficient to protect<br>first responders, their families, and immediate victims from a chemical..."],["Providing for consideration of the bill (H.R. 6429) to amend the Immigration and<br>Nationality Act to promote innovation, investment, and research in the United States, to<br>eliminate the diversity immigrant program, and for other purposes; and providing for<br>consideration of motions to suspend the rules.","HRES821","Sets forth the rule for consideration of the bill (H.R. 6429) to amend the Immigration and<br>Nationality Act to promote innovation, investment, and research in the United States, to<br>eliminate the diversity immigrant program, and for other purposes; and providing for<br>consideration of motions to suspend the rules."],["To allow for innovations and alternative technologies that meet or exceed desired energy<br>efficiency goals, and to make technical corrections to existing Federal energy efficiency<br>laws to allow American manufacturers to remain competitive.","HR6582","American Energy Manufacturing Technical Corrections Act - Amends the Energy Policy and<br>Conservation Act to exempt a walk-in cooler or walk-in freezer component manufactured on<br>or after January 1, 2009, from the requirement that it contain wall, ceiling, and door<br>insulation of at least R-25 for coolers and R-32 for freezers, if the manufacturer has<br>demonstrated to the Secretary of Energy (DOE) that such component reduces energy<br>consumption at least as much as if such requirement were to apply...."],["A concurrent resolution expressing the sense of Congress regarding actions to preserve and<br>advance the multistakeholder governance model under which the Internet has thrived.","SCONRES50","Expresses the sense of Congress that the Secretary of State should continue working to<br>implement the position of the United States on Internet governance that articulates the<br>consistent and unequivocal policy of the United States to promote a global Internet free<br>from government control and preserve and advance the multistakeholder model that governs<br>the Internet today."],["To make revisions in title 36, United States Code, as necessary to keep the title current<br>and make technical corrections and improvements.","HR6602","Amends title 36 of the United States Code (Patriotic and National Observances, Ceremonies,<br>and Organizations) to revise and expand the tables of contents for such title and its<br>subtitles, revise the formatting of the chapter headings, and make technical corrections<br>to subtitle and chapter headings."],["Providing for consideration of motions to suspend the rules.","HRES827","Makes it in order at any time through the legislative day of December 28, 2012, for the<br>Speaker of the House of Representatives to entertain motions that the House suspend the<br>rules."],["To direct the Administrator of the Environmental Protection Agency to allow for the<br>distribution, sale, and consumption in the United States of remaining inventories of over-<br>the-counter CFC epinephrine inhalers.","HR6190","Asthma Inhalers Relief Act of 2012 - Directs the Administrator of the Environmental<br>Protection Agency (EPA) to: (1) permit the distribution, sale, and consumption in the<br>United States of remaining inventories of CFC epinephrine inhalers manufactured pursuant<br>to the exception for medical devices under the Clean Air Act; (2) not take any enforcement<br>action or otherwise seek to restrict the distribution, sale, or consumption of such<br>inhalers on the basis of any federal law implementing the Montr..."],["To authorize the issuance of right-of-way permits for natural gas pipelines in Glacier<br>National Park, and for other purposes.","HR4606","Authorizes the Secretary of the Interior to issue right-of-way permits for natural gas<br>pipelines (including all appurtenances used in their operation) that, as of March 1, 2012,<br>are within the boundary of Glacier National Park in Montana. Specifies that each such<br>permit shall be: (1) issued as a right-of-way renewal, (2) for a width of not more than 25<br>feet on either side of the centerline of the pipeline, and (3) subject to any terms and<br>conditions that are determined by the Secretary to be ..."],["To amend the Small Business Investment Act of 1958 to provide for increased limitations on<br>leverage for multiple licenses under common control, and for other purposes.","HR6504","Small Business Investment Company Modernization Act of 2012 - Amends the Small Business<br>Investment Act of 1958 to increase from $225 million to $350 million the maximum amount of<br>outstanding leverage to be made available by the Small Business Administration (SBA) to<br>two or more commonly controlled small business investment companies not under capital<br>impairment."],["To provide for a comprehensive strategy to counter Iran's growing presence and hostile<br>activity in the Western Hemisphere, and for other purposes.","HR3783","(This measure has not been amended since it was passed by the Senate on December 12, 2012.<br>The summary of that version is repeated here.) Countering Iran in the Western Hemisphere<br>Act of 2012 - States that it is U.S. policy to use a comprehensive strategy to counter<br>Iran's growing hostile presence in the Western Hemisphere by working together with U.S.<br>allies and partners in the region to deter threats to U.S. interests by Iran, the Iranian<br>Islamic Revolutionary Guard Corps (IRGC), the IRGC's..."],["To correct and improve certain provisions of the Leahy-Smith America Invents Act and title<br>35, United States Code.","HR6621","Amends the Leahy-Smith America Invents Act (AIA) to make technical changes regarding the<br>transitional program for covered business method patents and joinder of parties. Applies,<br>to any civil action commenced on or after enactment of this Act, the AIA's bar on using an<br>accused infringer's failure to obtain the advice of counsel to prove that any infringement<br>was willful or induced. (Currently, the bar would not take effect until one year after the<br>AIA's enactment.) Prohibits a nine-month wait..."],["To provide for a study on issues relating to access to intravenous immune globulin (IVIG)<br>for Medicare beneficiaries in all care settings and a demonstration project to examine the<br>benefits of providing coverage and payment for items and services necessary to administer<br>IVIG in the home.","HR1845","Medicare IVIG Access and Strengthening Medicare and Repaying Taxpayers Act of 2012 - Title<br>I: Medicare IVIG Access - (Sec. 101) Directs the Secretary of Health and Human Services<br>(HHS) to establish a three-year demonstration project under part B (Supplementary Medical<br>Insurance) of title XVIII (Medicare) of the Social Security Act (SSA) to evaluate the<br>benefits of providing payment for items and services needed for the in-home administration<br>of intravenous immune globin (IVIG) for the treatme..."],["To refer H.R. 5862, a bill making congressional reference to the United States Court of<br>Federal Claims pursuant to sections 1492 and 2509 of title 28, United States Code, the<br>Indian trust-related claims of the Quapaw Tribe of Oklahoma (O-Gah-Pah) as well as its<br>individual members.","HRES668","Refers H.R. 5862, relating to members of the Quapaw Tribe of Oklahoma (O-Gah-Pah), to the<br>chief judge of the U.S. Court of Federal Claims for a determination as to whether the<br>Tribe and its members have Indian trust-related legal or equitable claims against the<br>United States other than those currently pending in the Court. Requires the chief judge to<br>report back to the House of Representatives regarding the nature, extent, and character of<br>those claims and the amount, if any, legally or equit..."],["To amend title 5, United States Code, to provide for administrative leave requirements<br>with respect to Senior Executive Service employees, and for other purposes.","HR6016","Government Employee Accountability Act - Sets forth investigative leave requirements for<br>federal employees in the competitive service and Senior Executive Service (SES) career<br>employees. Defines \"investigative leave\" as a temporary absence without duty for<br>disciplinary reasons, for up to 90 days. Authorizes a federal agency to place an employee<br>on investigative leave: (1) without loss of pay and without charge to annual or sick leave<br>only for misconduct, neglect of duty, malfeasance, or misap..."],["Providing for consideration of the Senate amendment to the joint resolution (H.J. Res. 66)<br>approving the renewal of import restrictions contained in the Burmese Freedom and<br>Democracy Act of 2003, and providing for consideration of the bill (H.R. 6684) to provide<br>for spending reduction.","HRES841","Sets forth the rule for consideration of the Senate amendment to the joint resolution<br>(H.J. Res. 66) approving the renewal of import restrictions contained in the Burmese<br>Freedom and Democracy Act of 2003, and providing for consideration of the bill (H.R. 6684)<br>to provide for spending reduction."],["Providing for consideration of the conference report to accompany the bill (H.R. 4310) to<br>authorize appropriations for fiscal year 2013 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HRES840","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>4310) to authorize appropriations for fiscal year 2013 for military activities of the<br>Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year."],["To provide for spending reduction.","HR6684","Spending Reduction Act of 2012 - Title I: Agriculture - (Sec. 101) Amends the American<br>Recovery and Reinvestment Act of 2009 to terminate the increase in the value of<br>supplemental nutrition assistance program (SNAP, formerly the food stamp program) benefits<br>for Puerto Rico and American Samoa on March 1, 2013. (Sec. 102) Amends the Food and<br>Nutrition Act of 2008 to limit categorical SNAP eligibility to households receiving<br>specified other program benefits in cash. (Sec. 103) Eliminates the req..."],["To name the Department of Veterans Affairs medical center in Spokane, Washington, as the<br>\"Mann-Grandstaff Department of Veterans Affairs Medical Center\".","HR3197","Designates the Department of Veterans Affairs (VA) medical center in Spokane, Washington,<br>as the \"Mann-Grandstaff Department of Veterans Affairs Medical Center.\""],["To direct the President, in consultation with the Department of State, United States<br>Agency for International Development, Millennium Challenge Corporation, and the Department<br>of Defense, to establish guidelines for United States foreign assistance programs, and for<br>other purposes.","HR3159","Foreign Aid Transparency and Accountability Act of 2012 - Directs the President to<br>establish guidelines regarding the establishment of measurable goals, performance metrics,<br>and monitoring and evaluation plans for U.S. foreign assistance. Requires such guidelines<br>to provide direction to federal departments and agencies that administer U.S. foreign<br>assistance relating to: (1) resource monitoring, (2) project and program evaluation, and<br>(3) analysis of findings and generalizations and their app..."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>develop a comprehensive policy to improve outreach and transparency to veterans and<br>members of the Armed Forces through the provision of information on institutions of higher<br>learning, and for other purposes.","HR4057","Directs the Secretary of Veterans Affairs (VA) to develop a comprehensive policy to<br>improve outreach and transparency to veterans and members of the Armed Forces (members)<br>through the provision of information on institutions of higher learning. Requires such<br>information to: (1) include accreditation information and a description of available<br>federal aid programs, and (2) be provided through hyperlinks on the VA website. Prohibits<br>the Secretary from approving an educational institution that pr..."],["To redesignate the Dryden Flight Research Center as the Neil A. Armstrong Flight Research<br>Center and the Western Aeronautical Test Range as the Hugh L. Dryden Aeronautical Test<br>Range.","HR6612","Redesignates: (1) the National Aeronautics and Space Administration (NASA) Hugh L. Dryden<br>Flight Research Center in Edwards, California, as the \"NASA Neil A. Armstrong Flight<br>Research Center,\" and (2) the National Aeronautics and Space Administration Western<br>Aeronautical Test Range in California as the \"NASA Hugh L. Dryden Aeronautical Test<br>Range.\""],["To establish a commission to ensure a suitable observance of the centennial of World War<br>I, to designate memorials to the service of members of the United States Armed Forces in<br>World War I, including a National World War I Memorial on the National Mall in the<br>District of Columbia, and for other purposes.","HR6364","World War I Centennial Commission Act - Establishes the World War I Centennial Commission<br>to: (1) plan, develop, and execute programs, projects, and activities to commemorate the<br>centennial of World War I; (2) encourage private organizations and state and local<br>governments to organize and participate in such activities; (3) facilitate and coordinate<br>such activities throughout the United States; (4) serve as a clearinghouse for the<br>collection and dissemination of information about centennial e..."],["To prevent the 2013 pay adjustment for Members of Congress and persons holding other<br>offices or positions in the Federal Government from being made.","HR6726","Congressional Pay Freeze and Fiscal Responsibility Act - Amends the Continuing<br>Appropriations Act, 2011, as amended by the Continuing Appropriations Resolution, 2013<br>(P.L. 112-175), to extend the freeze on adjustments to pay of federal employees and<br>officials, including Members of Congress, through December 31, 2013. Eliminates the<br>delayed statutory pay adjustment contained in the Resolution that was permitted to take<br>effect with the first applicable pay period beginning after March 27, 2013."],["To designate drywall manufactured in China a banned hazardous product, and for other<br>purposes.","HR4212","Drywall Safety Act of 2012 - (Sec. 2) Expresses the sense of Congress that the Secretary<br>of Commerce should insist that: (1) the government of China, which has ownership interests<br>in the companies that manufactured and exported problematic drywall to the United States,<br>facilitate a meeting between the companies and U.S. government representatives about<br>remedying affected homeowners; and (2) such companies comply with any related U.S. court<br>decisions. (Sec. 3) Requires certain gypsum board lab..."],["A resolution honoring the victims and heroes of the shooting on January 8, 2011 in Tucson,<br>Arizona.","SRES14","Condemns in the strongest possible terms the horrific attack that occurred at the<br>\"Congress on your Corner\" event hosted by Representative Gabrielle Giffords in Tucson,<br>Arizona, on January 8, 2011. Offers heartfelt condolences to the families, friends, and<br>loved ones of those killed in that attack. Expresses hope for the rapid and complete<br>recovery of those wounded in the shooting. Honors the memory of Christina-Taylor Green,<br>Dorothy Morris, John Roll, Phyllis Schneck, Dorwan Stoddard, and Ga..."],["A bill to authorize the conduct of certain lease sales in the Outer Continental Shelf, to<br>amend the Outer Continental Shelf Lands Act to modify the requirements for exploration,<br>and for other purposes.","S953","Offshore Production and Safety Act of 2011 - Amends the Outer Continental Shelf Lands Act<br>to direct the Secretary of the Interior (Secretary) to require an exploration plan to<br>incorporate a third-party reviewed response plan which describes the means and timeline to<br>contain and terminate an ongoing discharge of oil. Requires the Secretary to certify, as a<br>prerequisite to plan approval, the technological feasibility of methods proposed to be<br>used under a response plan, as demonstrated by the p..."],["A concurrent resolution setting forth the President's budget request for the United States<br>Government for fiscal year 2012, and setting forth the appropriate budgetary levels for<br>fiscal years 2013 through 2021.","SCONRES18","Sets forth the congressional budget for the federal government for FY2012, including the<br>appropriate budgetary levels for FY2013-FY2021. Lists recommended budgetary levels and<br>amounts for FY2012-FY2021 with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses for<br>the Social Security Administration (SSA), including..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2012 and setting forth the appropriate budgetary levels for<br>fiscal years 2013 through 2021.","SCONRES21","Sets forth the congressional budget for the federal government for FY2012, including the<br>appropriate budgetary levels for FY2013-FY2021. Lists recommended budgetary levels and<br>amounts for FY2012-FY2021 with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses for<br>the Social Security Administration (SSA), including..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2012 and setting forth the appropriate budgetary levels for<br>fiscal years 2013 through 2016.","SCONRES20","Sets forth the congressional budget for the federal government for FY2012, including the<br>appropriate budgetary levels for FY2013-FY2016. Lists recommended budgetary levels and<br>amounts for FY2012-FY2016 with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses for<br>the Social Security Administration (SSA), including..."],["To provide an extension of surface and air transportation programs, and for other<br>purposes.","HR2887","Surface and Air Transportation Programs Extension Act of 2011 - Title I: Extension of<br>Surface Transportation Programs - Surface Transportation Extension Act of 2011, Part II -<br>Subtitle A: Federal-Aid Highways - (Sec. 111) Continues through March 31, 2012, and<br>authorizes appropriations through that date for, specified federal-aid highway programs<br>under the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy for<br>Users (SAFETEA-LU), the SAFETEA-LU Technical Corrections Act..."],["A bill to repeal the imposition of withholding on certain payments made to vendors by<br>government entities.","S1726","Withholding Tax Relief Act of 2011 - Repeals the provision in the Tax Increase Prevention<br>and Reconciliation Act of 2005 requiring federal, state, and local governmental entities<br>to withhold 3% of payments due to vendors providing goods and services to such entities.<br>Rescinds permanently\u00a0$30 billion of appropriated but unobligated discretionary funds.\u00a0<br>Exempts unobligated funds of the Department of Defense (DOD) or the Department of Veterans<br>Affairs (VA).\u00a0 Requires the Director of the Office ..."],["A bill to facilitate job creation by reducing regulatory uncertainty, providing for<br>rational evaluation of regulations, providing flexibilities to States and localities,<br>providing for infrastructure spending, and for other purposes.","S1786","Long-Term Surface Transportation Extension Act of 2011 - Directs the Secretary of<br>Transportation (DOT) to reduce the amount apportioned for a surface transportation<br>program, project, or activity for FY2012 by amounts apportioned or allocated under the<br>Surface Transportation Extension Act of 2011, Part II for the period October 1, 2011-March<br>4, 2012. Amends the Surface Transportation Extension Act of 2011, Part II to continue<br>through FY2013, and authorizes appropriations for, specified federal..."],["A joint resolution disapproving a rule submitted by the Environmental Protection Agency<br>relating to the mitigation by States of cross-border air pollution under the Clean Air<br>Act.","SJRES27","Disapproves the rule submitted by the Environmental Protection Agency (EPA) on July 11,<br>2011, entitled \"Federal Implementation Plans: Interstate Transport of Fine Particulate<br>Matter and Ozone and Correction of SIP Approvals,\" relating to the mitigation by states of<br>cross-border air pollution under the Clean Air Act."],["A bill to provide civilian payroll tax relief, to reduce the Federal budget deficit, and<br>for other purposes.","S1931","Temporary Tax Holiday and Government Reduction Act - Amends the Tax Relief, Unemployment<br>Insurance Reauthorization, and Job Creation Act of 2010 to extend through 2012 the 2%<br>reduction in employment and self-employment tax rates. Amends the Internal Revenue Code to<br>impose a 100% tax on excess unemployment compensation, as defined by this Act, received by<br>certain high-income taxpayers. Amends the Food and Nutrition Act of 2008 to render<br>ineligible for the supplemental nutrition assistance prog..."],["A joint resolution proposing an amendment to the Constitution of the United States<br>relative to balancing the budget.","SJRES10","Constitutional Amendment - Prohibits outlays for a fiscal year (except those for repayment<br>of debt principal) from exceeding total receipts for that fiscal year (except those<br>derived from borrowing) unless Congress, by a two-thirds roll call vote of each chamber,<br>authorizes a specific excess of outlays over receipts. Prohibits total outlays for any<br>fiscal year from exceeding 18% of the gross domestic product (GDP) for the preceding<br>calendar year unless Congress, by a two-thirds roll call vote..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the National Labor Relations Board relating<br>to representation election procedures.","SJRES36","Disapproves and nullifies the rule submitted by the National Labor Relations Board (NLRB)<br>and published December 22, 2011, relating to representation election procedures."],["A concurrent resolution setting forth the President's budget request for the United States<br>Government for fiscal year 2013, and setting forth the appropriate budgetary levels for<br>fiscal years 2014 through 2022.","SCONRES41","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2014-FY2022. Lists recommended budgetary levels and<br>amounts for FY2013-FY2022with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses of<br>the Federal Old-Age and Survivors Insurance Trust Fun..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2013, and setting forth the appropriate budgetary levels for<br>fiscal years 2014 through 2022.","SCONRES37","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2014-FY2022. Lists recommended budgetary levels and<br>amounts for FY2013-FY2022with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits (on-budget), (5) public debt, and (6) debt held by the<br>public. Lists the appropriate levels of new budget authority, outlays, and administrative<br>expenses of the Federal Old-Age and Survivors Insuran..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2013, revising the appropriate budgetary levels for fiscal year<br>2012, and setting forth the appropriate budgetary levels for fiscal years 2013 through<br>2022.","SCONRES42","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2013-FY2022. Lists recommended budgetary levels and<br>amounts for FY2012-FY2022 with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses of<br>the Federal Old-Age and Survivors Insurance Trust Fu..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2013 and setting forth the appropriate budgetary levels for<br>fiscal years 2014 through 2022.","SCONRES44","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2014-FY2022. Lists recommended budgetary levels and<br>amounts for FY2013-FY2022 with respect to: (1) federal revenues, (2) new budget authority,<br>(3) budget outlays, (4) deficits, (5) public debt, and (6) debt held by the public. Lists<br>the appropriate levels of new budget authority, outlays, and administrative expenses of<br>the Federal Old-Age and Survivors Insurance Trust Fu..."],["A joint resolution to disapprove a rule promulgated by the Administrator of the<br>Environmental Protection Agency relating to emission standards for certain steam<br>generating units.","SJRES37","Disapproves and nullifies the rule submitted by the Administrator of the Environmental<br>Protection Agency (EPA) relating to national emission standards for hazardous air<br>pollutants from coal- and oil-fired electric utility steam generating units and standards<br>of performance for fossil-fuel-fired electric utility, industrial-commercial-<br>institutional, and small industrial-commercial-institutional steam generating units."],["A bill to provide limitations on United States assistance, and for other purposes.","S3576","Prohibits amounts from being obligated or expended for any direct U.S. assistance, loan<br>guarantee, or debt relief to Libya, Egypt, Pakistan, or a host country of a U.S.<br>diplomatic facility that was attacked, trespassed upon, breached, or attempted to be<br>attacked, trespassed upon, or breached, on or after September 1, 2012. Authorizes the<br>President to request that the prohibition be suspended with respect to a country if the<br>President certifies to Congress that: (1) such country is cooperating..."],["A joint resolution expressing the sense of Congress regarding the nuclear program of the<br>Government of the Islamic Republic of Iran.","SJRES41","Reaffirms that the U.S. government and the governments of other responsible countries have<br>a vital interest in working together to prevent Iran from acquiring a nuclear weapons<br>capability. Warns that time is limited to prevent Iran from acquiring a nuclear weapons<br>capability. Urges economic and diplomatic pressure on Iran until it implements: (1)<br>suspension of uranium enrichment-related and reprocessing activities and is in compliance<br>with U.N. Security Council resolutions, (2) cooperation wi..."],["Adopting rules for the One Hundred Thirteenth Congress.","HRES5","(Sec. 2) Adopts the Rules of the House of Representatives for the 112th Congress as the<br>Rules for the 113th Congress, with amendments. Reduces the frequency of committee activity<br>reports from four times (semiannually) per Congress to two times (annually) per Congress.<br>Reduces from five to at least two minutes the minimum time for electronic voting after a<br>quorum call in the Committee in the Whole House on the state of the Union. Authorizes the<br>Chair to reduce to at least two minutes the minim..."],["To temporarily increase the borrowing authority of the Federal Emergency Management Agency<br>for carrying out the National Flood Insurance Program.","HR41","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the National Flood Insurance Act of 1968 to increase from $20.725<br>billion to $30.425 billion the total amount of notes and obligations (federal borrowing<br>authority) which may be issued by the Administrator of the Federal Emergency Management<br>Agency (FEMA), with the President's approval, for the National Flood Insurance program.<br>Designates such increase as an emergency requirement..."],["To improve and streamline disaster assistance for Hurricane Sandy, and for other purposes.","HR219","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  Sandy Recovery Improvement Act of 2013 - (Sec.<br>2) Amends the Robert T. Stafford Disaster Relief and Emergency Assistance Act to authorize<br>the President, acting through the Administrator of the Federal Emergency Management Agency<br>(FEMA), to approve public assistance projects for major disasters or emergencies under<br>alternative procedures with the goal of: (1) redu..."],["Providing for consideration of the bill (H.R. 152) making supplemental appropriations for<br>the fiscal year ending September 30, 2013, and for other purposes.","HRES23","Sets forth the rule for consideration of the bill (H.R. 152) making supplemental<br>appropriations for the fiscal year ending September 30, 2013."],["Making supplemental appropriations for the fiscal year ending September 30, 2013, and for<br>other purposes.","HR152","(This measure has not been amended since it was passed by the House on January 15, 2013.<br>The summary of that version is repeated here.) Division A: Disaster Relief Appropriations<br>Act, 2013 - Disaster Relief Appropriations Act, 2013 - Makes supplemental appropriations<br>for FY2013 to specified federal agencies and programs for expenses related to the<br>consequences of Hurricane Sandy. Title I: Department of Agriculture - Makes supplemental<br>appropriations to the Department of Agriculture (USDA) for..."],["To reauthorize certain programs under the Public Health Service Act and the Federal Food,<br>Drug, and Cosmetic Act with respect to public health security and all-hazards preparedness<br>and response, and for other purposes.","HR307","(This measure has not been amended since it was reported to the Senate on February 14,<br>2013. The summary of that version is repeated here.)  Pandemic and All-Hazards<br>Preparedness Act Reauthorization of 2013 - Title I: Strengthening National Preparedness<br>and Response for Public Health Emergencies - (Sec. 101) Amends the Public Health Service<br>Act (PHSA) to require the Secretary of Health and Human Services (HHS) to submit the<br>National Health Security Strategy to the relevant congressional commi..."],["Providing for consideration of the bill (H.R. 325) to ensure the complete and timely<br>payment of the obligations of the United States Government until May 19, 2013, and for<br>other purposes.","HRES39","Sets forth the rule for consideration of the bill (H.R. 325) to ensure the complete and<br>timely payment of the obligations of the United States Government until May 19, 2013."],["To ensure the complete and timely payment of the obligations of the United States<br>Government until May 19, 2013, and for other purposes.","HR325","(This measure has not been amended since it was passed by the House on January 23, 2013.<br>The summary of that version is repeated here.) No Budget, No Pay Act of 2013 - Suspends<br>through May 18, 2013, the current $16.394 trillion public debt limit. Makes a special rule<br>relating to obligations issued during the suspension period. Revises the discretionary<br>increase in the public debt limit by the Secretary of the Treasury, under current law,<br>subject to a congressional resolution of disapproval, u..."],["To amend the Public Health Service Act to reauthorize support for graduate medical<br>education programs in children's hospitals.","HR297","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Children's Hospital GME Support Reauthorization Act of 2013 - Amends the<br>Public Health Service Act to extend and reauthorize appropriations for payments to<br>children's hospitals for expenses associated with operating approved graduate medical<br>residency training programs."],["Providing for consideration of the bill (H.R. 444) to require that, if the President's<br>fiscal year 2014 budget does not achieve balance in a fiscal year covered by such budget,<br>the President shall submit a supplemental unified budget by April 1, 2013, which<br>identifies a fiscal year in which balance is achieved, and for other purposes.","HRES48","Sets forth the rule for consideration of the bill (H.R. 444) to require that, if the<br>President's fiscal year 2014 budget does not achieve balance in a fiscal year covered by<br>such budget, the President shall submit a supplemental unified budget by April 1, 2013,<br>which identifies a fiscal year in which balance is achieved."],["To require that, if the President's fiscal year 2014 budget does not achieve balance in a<br>fiscal year covered by such budget, the President shall submit a supplemental unified<br>budget by April 1, 2013, which identifies a fiscal year in which balance is achieved, and<br>for other purposes.","HR444","Require Presidential Leadership and No Deficit Act or Require a PLAN Act - Directs the<br>President, if his budget for FY2014, as submitted to Congress, results in a projected<br>deficit in every fiscal year for which estimates are provided in it, to submit by April 1,<br>2013, a supplemental unified budget (the total level of outlays, total level of receipts,<br>and the resulting deficit or surplus of the U.S. government for a fiscal year). Requires a<br>supplemental unified budget to include:  the informa..."],["To amend the Robert T. Stafford Disaster Relief and Emergency Assistance Act to clarify<br>that houses of worship are eligible for certain disaster relief and emergency assistance<br>on terms equal to other eligible private nonprofit facilities, and for other purposes.","HR592","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Disaster Assistance Nonprofit Fairness Act of 2013 - Amends the<br>Robert T. Stafford Disaster Relief and Emergency Assistance Act to include community<br>centers, including tax-exempt houses of worship, as \"private nonprofit facilities\" for<br>purposes of disaster relief and emergency assistance eligibility under such Act. Makes a<br>church, synagogue, mosque, temple, or other house of wors..."],["To improve hydropower, and for other purposes.","HR267","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Hydropower Regulatory Efficiency Act of 2013 -<br>(Sec. 3) Amends the Public Utility Regulatory Policies Act of 1978 (PURPA) to increase<br>from 5,000 to 10,000 kilowatts the size of small hydroelectric power projects which the<br>Federal Energy Regulatory Commission (FERC) may exempt from its license requirements.<br>(Sec. 4) Amends the Federal Power Act to revise the limitati..."],["Providing for consideration of the bill (H.R. 273) to eliminate the 2013 statutory pay<br>adjustment for Federal employees, and for other purposes.","HRES66","Sets forth the rule for consideration of the bill (H.R. 273) to eliminate the 2013<br>statutory pay adjustment for Federal employees."],["Providing for a conditional adjournment of the House of Representatives and a conditional<br>recess or adjournment of the Senate.","HCONRES15","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Declares that when the House adjourns on any legislative day from Friday,<br>February 15, 2013, through Thursday, February 21, 2013, it stand adjourned until 2 p.m. on<br>Monday, February 25, 2013. Declares that when the Senate recesses or adjourns on Friday,<br>February 15, 2013, it stand recessed or adjourned until noon on Monday, February 25, 2013."],["To eliminate the 2013 statutory pay adjustment for Federal employees.","HR273","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Continuing Appropriations Act, 2011, as amended by the<br>Continuing Appropriations Resolution, 2013 (P.L. 112-175), to extend through December 31,<br>2013: (1) the freeze on statutory pay adjustments for federal employees and officials, and<br>(2) the prohibition against any member of the Senior Executive Service or any senior level<br>employee in the executive branch from receiving an i..."],["Condemning the Government of North Korea for its flagrant and repeated violations of<br>multiple United Nations Security Council resolutions, for its repeated provocations that<br>threaten international peace and stability, and for its February 12, 2013, test of a<br>nuclear device.","HRES65","Condemns North Korea for its: (1) violations of multiple United Nations (U.N.) Security<br>Council resolutions, (2) provocations that threaten international peace, and (3) February<br>12, 2013, test of a nuclear device.  Expresses solidarity with the people of North Korea<br>who suffer material deprivation and denial of their basic human rights and political<br>liberties.   Reaffirms the commitment of the United States to its alliances with Japan and<br>South Korea.   Calls upon China to: (1) pressure North..."],["To redesignate the Dryden Flight Research Center as the Neil A. Armstrong Flight Research<br>Center and the Western Aeronautical Test Range as the Hugh L. Dryden Aeronautical Test<br>Range.","HR667","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Redesignates: (1) the National Aeronautics and Space Administration (NASA)<br>Hugh L. Dryden Flight Research Center in Edwards, California, as the \"NASA Neil A.<br>Armstrong Flight Research Center,\" and (2) the National Aeronautics and Space<br>Administration Western Aeronautical Test Range in California as the \"NASA Hugh L. Dryden<br>Aeronautical Test Range.\""],["Establishing an academic competition in the fields of science, technology, engineering,<br>and mathematics among students in Congressional districts.","HRES77","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Academic Competition Resolution of 2013 - Establishes an annual academic<br>competition in the fields of science, technology, engineering, and mathematics (STEM) to<br>be held among students in each congressional district."],["Providing for consideration of the bill (S. 47) To reauthorize the Violence Against Women<br>Act of 1994.","HRES83","Sets forth the rule for consideration of the bill (S. 47) To reauthorize the Violence<br>Against Women Act of 1994."],["To amend section 1105(a) of title 31, United States Code, to require that annual budget<br>submissions of the President to Congress provide an estimate of the cost per taxpayer of<br>the deficit, and for other purposes.","HR668","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Requires the President's annual buget submission to Congress to provide an<br>estimate of the pro rata cost to individuals who file an income tax return of any<br>projected deficit for the fiscal year."],["Providing for consideration of the bill (H.R. 933) making appropriations for the<br>Department of Defense, the Department of Veterans Affairs, and other departments and<br>agencies for the fiscal year ending September 30, 2013, and for other purposes.","HRES99","Sets forth the rule for consideration of the bill (H.R. 933) making appropriations for the<br>Department of Defense, the Department of Veterans Affairs, and other departments and<br>agencies for the fiscal year ending September 30, 2013."],["Making appropriations for the Department of Defense, the Department of Veterans Affairs,<br>and other departments and agencies for the fiscal year ending September 30, 2013, and for<br>other purposes.","HR933","(This measure has not been amended since it was passed by the Senate on March 20, 2013.<br>The summary of that version is repeated here.) Consolidated and Further Continuing<br>Appropriations Act, 2013 - Division A: Agriculture, Rural Development, Food and Drug<br>Administration, and Related Agencies Appropriations Act, 2013 - Title I: Agricultural<br>Programs - Appropriates FY2013 funds for the following Department of Agriculture (USDA)<br>programs and services:  Office of the Secretary of Agriculture (Sec..."],["Providing for consideration of the bill (H.R. 890) to prohibit waivers relating to<br>compliance with the work requirements for the program of block grants to States for<br>temporary assistance for needy families, and for other purposes.","HRES107","Sets forth the rule for consideration of the bill (H.R. 890) to prohibit waivers relating<br>to compliance with the work requirements for the program of block grants to States for<br>temporary assistance for needy families."],["To prohibit waivers relating to compliance with the work requirements for the program of<br>block grants to States for temporary assistance for needy families, and for other<br>purposes.","HR890","Preserving the Welfare Work Requirement and TANF Extension Act of 2013 - Prohibits the<br>Secretary of Health and Human Services (HHS) from finalizing, implementing, enforcing, or<br>otherwise taking any action to give effect to the Information Memorandum dated July 12,<br>2012 (Transmittal No. TANF-ACF-IM-2012-03), or to any administrative action relating to<br>the same subject matter or that reflects the same or similar policies.  Prohibits the<br>Secretary also from authorizing, approving, modifying, or ..."],["Providing for consideration of the bill (H.R. 803) to reform and strengthen the workforce<br>investment system of the Nation to put Americans back to work and make the United States<br>more competitive in the 21st century.","HRES113","Sets forth the rule for consideration of the bill (H.R. 803) to reform and strengthen the<br>workforce investment system of the Nation to put Americans back to work and make the<br>United States more competitive in the 21st century."],["To reform and strengthen the workforce investment system of the Nation to put Americans<br>back to work and make the United States more competitive in the 21st century.","HR803","Workforce Innovation and Opportunity Act - Amends the Workforce Investment Act of 1998<br>(WIA) to revise requirements and reauthorize appropriations for: (1) WIA title I,<br>workforce development systems for job training and employment services; and (2) WIA title<br>II, adult education and family literacy education programs. (Sec. 3) Defines \"core<br>programs\" to mean: (1) youth workforce investment activities and adult and dislocated<br>worker employment and training activities, (2) adult education and li..."],["Authorizing the use of the Capitol Grounds for the National Peace Officers' Memorial<br>Service.","HCONRES18","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Permits the Grand Lodge of the Fraternal Order of Police and its auxiliary<br>to sponsor a free public event, the 32nd Annual National Peace Officers' Memorial Service,<br>on the Capitol grounds on May 15, 2013, to honor the law enforcement officers who died in<br>the line of duty during 2012."],["Providing for consideration of the concurrent resolution (H. Con. Res. 25) establishing<br>the budget for the United States Government for fiscal year 2014 and setting forth<br>appropriate budgetary levels for fiscal years 2015 through 2023; providing for<br>consideration of the resolution (H. Res. 115) providing for the expenses of certain<br>committees of the House of Representatives in the One Hundred Thirteenth Congress; and for<br>other purposes.","HRES122","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 25)<br>establishing the budget for the United States Government for fiscal year 2014 and setting<br>forth appropriate budgetary levels for fiscal years 2015 through 2023; providing for<br>consideration of the resolution (H. Res. 115) providing for the expenses of certain<br>committees of the House of Representatives in the One Hundred Thirteenth Congress."],["Providing for the expenses of certain committees of the House of Representatives in the<br>One Hundred Thirteenth Congress.","HRES115","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the levels of payment for 113th Congress expenses (including<br>staff salaries) for the Committees on: (1) Agriculture; (2) Armed Services; (3) the<br>Budget; (4) Education and the Workforce; (5) Energy and Commerce; (6) Ethics; (7)<br>Financial Services; (8) Foreign Affairs; (9) Homeland Security; (10) House Administration;<br>(11) Permanent Select Committee on Intelligence; (12) the Jud..."],["Establishing the budget for the United States Government for fiscal year 2014 and setting<br>forth appropriate budgetary levels for fiscal years 2015 through 2023.","HCONRES25","Sets forth the congressional budget for the federal government for FY2013, including the<br>appropriate budgetary levels for FY2015-FY2023. Title I: Recommended Levels and Amounts -<br>(Sec. 101) Lists recommended budgetary levels and amounts for FY2013-FY2023 with respect<br>to: (1) federal revenues, (2) new budget authority, (3) budget outlays, (4) deficits, (5)<br>public debt, and (6) debt held by the public. (Sec. 102) Lists the appropriate levels of<br>new budget authority, outlays, and administrative ..."],["To authorize the Secretary of the Interior to facilitate the development of hydroelectric<br>power on the Diamond Fork System of the Central Utah Project.","HR254","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Bonneville Unit Clean Hydropower Facilitation Act - Declares that, in<br>order to facilitate hydropower development on the Diamond Fork System (Utah), a certain<br>amount of reimbursable costs allocated to project power in the Power Appendix of the<br>October 2004 Supplement to the 1988 Bonneville Unit Definite Plan Report shall be<br>considered final costs, as well as specified costs in excess of t..."],["Providing for consideration of the bill (H.R. 678) to authorize all Bureau of Reclamation<br>conduit facilities for hydropower development under Federal Reclamation law, and for other<br>purposes.","HRES140","Sets forth the rule for consideration of the bill (H.R. 678) to authorize all Bureau of<br>Reclamation conduit facilities for hydropower development under Federal Reclamation law."],["To authorize all Bureau of Reclamation conduit facilities for hydropower development under<br>Federal Reclamation law, and for other purposes.","HR678","(This measure has not been amended since it was passed by the House on April 10, 2013. The<br>summary of that version is repeated here.) Bureau of Reclamation Small Conduit Hydropower<br>Development and Rural Jobs Act - Amends the Reclamation Project Act of 1939 to authorize<br>the Secretary of the Interior (acting through the Bureau of Reclamation) to contract for<br>the development of small conduit hydropower at Bureau facilities. Defines: (1) \"small<br>conduit hydropower\" as five megawatts or less; and (..."],["Providing for consideration of the bill (H.R. 1120) to prohibit the National Labor<br>Relations Board from taking any action that requires a quorum of the members of the Board<br>until such time as Board constituting a quorum shall have been confirmed by the Senate,<br>the Supreme Court issues a decision on the constitutionality of the appointments to the<br>Board made in January 2012, or the adjournment sine die of the first session of the 113th<br>Congress.","HRES146","Sets forth the rule for consideration of the bill (H.R. 1120) to prohibit the National<br>Labor Relations Board from taking any action that requires a quorum of the members of the<br>Board until such time as Board constituting a quorum shall have been confirmed by the<br>Senate, the Supreme Court issues a decision on the constitutionality of the appointments<br>to the Board made in January 2012, or the adjournment sine die of the first session of the<br>113th Congress."],["To prohibit the National Labor Relations Board from taking any action that requires a<br>quorum of the members of the Board until such time as Board constituting a quorum shall<br>have been confirmed by the Senate, the Supreme Court issues a decision on the<br>constitutionality of the appointments to the Board made in January 2012, or the<br>adjournment sine die of the first session of the 113th Congress.","HR1120","(This measure has not been amended since it was reported to the House on April 9, 2013.<br>The summary of that version is repeated here.) Preventing Greater Uncertainty in Labor-<br>Management Relations Act - Requires the National Labor Relations Board (NLRB) to cease all<br>activity that requires a quorum of Board members. Prohibits the Board from appointing any<br>personnel nor implementing, administering, or enforcing any decision, rule, vote, or other<br>action decided, undertaken, adopted, issued, or fi..."],["To amend title 31, United States Code, to make improvements in the Government<br>Accountability Office.","HR1162","(This measure has not been amended since it was\u00a0passed by the House on April 15, 2013. The<br>summary of that version is repeated here.) Government Accountability Office Improvement<br>Act - Authorizes the Comptroller General to: (1) obtain federal agency records required to<br>discharge his or her duties (including audit, evaluation, and investigative duties),<br>including through bringing civil actions under this Act, (2) make and retain copies of<br>agency records, and (3) administer oaths when investiga..."],["To prohibit the awarding of a contract or grant in excess of the simplified acquisition<br>threshold unless the prospective contractor or grantee certifies in writing to the agency<br>awarding the contract or grant that the contractor or grantee has no seriously delinquent<br>tax debts, and for other purposes.","HR882","Contracting and Tax Accountability Act of 2013 - (Sec. 2) States that it is the policy of<br>the U.S. government that no government contracts or grants should be awarded to<br>individuals or business entities with seriously delinquent federal tax debts.  (Sec. 3)<br>Requires the head of any executive agency that issues an invitation for bids or a request<br>for proposals for a contract in an amount greater than the simplified acquisition<br>threshold (i.e., $150,000) to require each person submitting a bid ..."],["To amend title 5, United States Code, to provide that persons having seriously delinquent<br>tax debts shall be ineligible for Federal employment.","HR249","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Employee Tax Accountability Act of 2013 - Makes any person who has<br>a seriously delinquent tax debt ineligible for federal employment or to continue serving<br>as a federal employee. Defines \"seriously delinquent tax debt\" as an outstanding tax debt<br>for which a notice of lien has been filed in public records. Exempts a tax debt: (1) that<br>is being paid in a timely manner under an appr..."],["To amend chapter 35 of title 44, United States Code, to revise requirements relating to<br>Federal information security, and for other purposes.","HR1163","Federal Information Security Amendments Act of 2013 - (Sec. 2) Amends the Federal<br>Information Security Management Act of 2002 (FISMA) to reestablish the oversight authority<br>of the Director of the Office of Management and Budget (OMB) with respect to agency<br>information and security policies and practices. Extends the security requirements of<br>federal agencies to include responsibilities for: (1) complying with computer standards<br>developed by the National Institute of Standards and Technology (N..."],["To advance cybersecurity research, development, and technical standards, and for other<br>purposes.","HR756","(This measure has not been amended since it was reported to the House on April 11, 2013.<br>The summary of that version is repeated here.)  Cybersecurity Enhancement Act of 2013 -<br>Title I: Research and Development   - (Sec. 103) Directs specified federal agencies<br>participating in the National High-Performance Computing Program to: (1) transmit to<br>Congress a cybersecurity strategic research and development plan and triennial updates,<br>and (2) develop and annually update an implementation roadmap f..."],["To amend the High-Performance Computing Act of 1991 to authorize activities for support of<br>networking and information technology research, and for other purposes.","HR967","(This measure has not been amended since it was reported to the House on April 11, 2013.<br>The summary of that version is repeated here.)  Advancing America's Networking and<br>Information Technology Research and Development Act of 2013 - Amends the High-Performance<br>Computing Act of 1991 to rename the National High-Performance Computing Program as the<br>Networking and Information Technology Research and Development Program.   (Sec. 2) Directs<br>the federal agencies participating in the Program to: (1)..."],["Providing for consideration of the bill (H.R. 624) to provide for the sharing of certain<br>cyber threat intelligence and cyber threat information between the intelligence community<br>and cybersecurity entities, and for other purposes.","HRES164","Sets forth the rule for consideration of the bill (H.R. 624) to provide for the sharing of<br>certain cyber threat intelligence and cyber threat information between the intelligence<br>community and cybersecurity entities."],["To provide for the sharing of certain cyber threat intelligence and cyber threat<br>information between the intelligence community and cybersecurity entities, and for other<br>purposes.","HR624","Cyber Intelligence Sharing and Protection Act - (Sec. 2) Directs the federal government to<br>conduct cybersecurity activities to provide shared situational awareness enabling<br>integrated operational actions to protect, prevent, mitigate, respond to, and recover from<br>cyber incidents.  Defines \"shared situational awareness\" as an environment where cyber<br>threat information is shared in real time between all designated federal cyber operations<br>centers to provide actionable information about all know..."],["To make revisions in title 36, United States Code, as necessary to keep the title current<br>and make technical corrections and improvements.","HR1067","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends title 36 of the United States Code (Patriotic and National<br>Observances, Ceremonies, and Organizations) to revise and expand the tables of contents<br>for such title and its subtitles, revise the formatting of the chapter headings, and make<br>technical corrections to subtitle and chapter headings."],["To enact title 54, United States Code, \"National Park Service and Related Programs\", as<br>positive law.","HR1068","(This measure has not been amended since it was passed by the House on April 23, 2013. The<br>summary of that version is repeated here.) Enacts title 54 of the United States Code into<br>positive law to be entitled \"National Park Service and Related Programs.\"  Makes<br>conforming changes to existing law and repeals specified provisions of specified laws."],["Providing for consideration of the bill (H.R. 1549) to amend Public Law 111-148 to<br>transfer fiscal year 2013 through fiscal year 2016 funds from the Prevention and Public<br>Health Fund to carry out the temporary high risk health insurance pool program for<br>individuals with preexisting conditions, and to extend access to such program to such<br>individuals who have had creditable coverage during the 6 months prior to application for<br>coverage through such program.","HRES175","Sets forth the rule for consideration of the bill (H.R. 1549) to amend Public Law 111-148<br>to transfer fiscal year 2013 through fiscal year 2016 funds from the Prevention and Public<br>Health Fund to carry out the temporary high risk health insurance pool program for<br>individuals with preexisting conditions, and to extend access to such program to such<br>individuals who have had creditable coverage during the 6 months prior to application for<br>coverage through such program."],["Providing for consideration of the bill (H.R. 527) to amend the Helium Act to complete the<br>privatization of the Federal helium reserve in a competitive market fashion that ensures<br>stability in the helium markets while protecting the interests of American taxpayers, and<br>for other purposes.","HRES178","Sets forth the rule for consideration of H.R. 527 (Responsible Helium Administration and<br>Stewardship Act). Makes it in order for the Speaker of the House to entertain motions to<br>suspend the rules on April 26, 2013."],["To provide the Secretary of Transportation with the flexibility to transfer certain funds<br>to prevent reduced operations and staffing of the Federal Aviation Administration, and for<br>other purposes.","HR1765","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Reducing Flight Delays Act of 2013 - Authorizes the Secretary of<br>Transportation (DOT), notwithstanding the Consolidated and Further Continuing<br>Appropriations Act, 2013 (P.L. 113-6), any other provision of law, or sequestration order,<br>to transfer for FY2013 to any Federal Aviation Administration (FAA) appropriations<br>accounts (such as the one for air traffic control operations) a certain a..."],["To amend the Helium Act to complete the privatization of the Federal helium reserve in a<br>competitive market fashion that ensures stability in the helium markets while protecting<br>the interests of American taxpayers, and for other purposes.","HR527","Helium Stewardship Act of 2013 - (Sec. 3) Amends the Helium Act to require that all<br>proceeds received by the Secretary of the Interior (Secretary) from the sale or<br>disposition of helium on federal land from sale or auction be credited to the Helium<br>Production Fund (established in this Act). (Sec. 4) Requires the Secretary to impose a fee<br>that accurately reflects the economic value of helium storage, withdrawal, or<br>transportation services. Requires that such a fee be not less than the amount r..."],["To provide for donor contribution acknowledgments to be displayed at the Vietnam Veterans<br>Memorial Visitor Center, and for other purposes.","HR588","Vietnam Veterans Donor Acknowledgment Act of 2013 - Extends, to November 17, 2018, the<br>legislative authority of the Vietnam Veterans Memorial Fund, Inc. (Fund) to establish a<br>Vietnam Veterans Memorial visitors center. Directs the Secretary of the Interior to allow<br>the Fund to acknowledge donor contributions to the Vietnam Veterans Memorial Visitor<br>Center by displaying, inside the Center, an appropriate statement or credit. Requires the<br>Fund to: (1) bear all display expenses; and (2) prior to ..."],["To provide for the conveyance of certain cemeteries that are located on National Forest<br>System land in Black Hills National Forest, South Dakota.","HR291","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Black Hills Cemetery Act - Directs the Secretary<br>of Agriculture (USDA) to convey, to the local communities in South Dakota that are<br>currently managing specified community cemeteries, all interest of the United States in:<br>(1) the parcels of National Forest System land that contain the cemeteries, and (2) up to<br>an additional two acres adjoining each cemetery to ensur..."],["Providing for consideration of the bill (H.R. 1406) to amend the Fair Labor Standards Act<br>of 1938 to provide compensatory time for employees in the private sector.","HRES198","Sets forth the rule for consideration of the bill (H.R. 1406) to amend the Fair Labor<br>Standards Act of 1938 to provide compensatory time for employees in the private sector."],["To amend the Fair Labor Standards Act of 1938 to provide compensatory time for employees<br>in the private sector.","HR1406","Working Families Flexibility Act of 2013 - Amends the Fair Labor Standards Act of 1938 to<br>authorize private employers to provide compensatory time off to private employees at a<br>rate of 1 1/2 hours per hour of employment for which overtime compensation is required.<br>Authorizes an employer to provide compensatory time only if it is in accordance with an<br>applicable collective bargaining agreement or, in the absence of such an agreement, an<br>agreement between the employer and employee. Prohibits an..."],["Providing for consideration of the bill (H.R. 807) to require that the Government<br>prioritize all obligations on the debt held by the public in the event that the debt limit<br>is reached.","HRES202","Sets forth the rule for consideration of the bill (H.R. 807) to require that the<br>Government prioritize all obligations on the debt held by the public in the event that the<br>debt limit is reached."],["To require that the Government prioritize all obligations on the debt held by the public<br>in the event that the debt limit is reached.","HR807","Full Faith and Credit Act - Requires the Secretary of the Treasury, in addition to any<br>other authority provided by law, to issue obligations to pay with legal tender, and solely<br>for the purpose of paying, the principal and interest on U.S. obligations held by the<br>public, or held by the Old-Age and Survivors Insurance Trust Fund and Disability Insurance<br>Trust Fund, in the event that the federal debt reaches the statutory limit after enactment<br>of this Act. Prohibits: (1) the use of the issued o..."],["To encourage, enhance, and integrate Blue Alert plans throughout the United States in<br>order to disseminate information when a law enforcement officer is seriously injured or<br>killed in the line of duty.","HR180","National Blue Alert Act of 2013 - Directs the Attorney General to: (1) establish a<br>national Blue Alert communications network within the Department of Justice (DOJ) to<br>disseminate information when a law enforcement officer is seriously injured or killed in<br>the line of duty, in coordination with federal, state, and local Blue Alert plans; and (2)<br>assign an existing DOJ officer to act as the national coordinator of the Blue Alert<br>communications network. Sets forth the duties of the national coo..."],["To affirm the policy of the United States regarding Internet governance.","HR1580","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Declares that it is the policy of the United States to preserve and<br>advance the successful multistakeholder model (under which the private sector, civil<br>society, academia, and individual users operate in an environment where information flows<br>free from government control over content or the freedom of expression) that governs the<br>Internet."],["To amend the Energy Policy Act of 2005 to modify the Pilot Project offices of the Federal<br>Permit Streamlining Pilot Project.","HR767","(This measure has not been amended since it was reported to the House on May 14, 2013. The<br>summary of that version is repeated here.) Amends the Energy Policy Act of 2005 to revise<br>the list of Bureau of Land Management (BLM) Federal Permit Streamlining Pilot Project<br>offices. Replaces the Miles City, Montana, field office with the Montana/Dakotas State<br>Office, Montana (Billings). Replaces the Buffalo Field Office, Wyoming, with the High<br>Plains District Office, Wyoming."],["To amend a provision of the Securities Act of 1933 directing the Securities and Exchange<br>Commission to add a particular class of securities to those exempted under such Act to<br>provide a deadline for such action.","HR701","Amends the Securities Act of 1933 to set October 31, 2013, as the deadline for the<br>Securities and Exchange Commission (SEC) to add a class of domestic securities to those<br>already exempted from regulation under that Act in accordance with specified terms and<br>conditions, including that: (1) the aggregate offering amount of all securities offered<br>and sold within the prior 12-month period in reliance on the new exemption shall not<br>exceed $50 million, (2) the securities may be offered and sold pub..."],["Providing for consideration of the bill (H.R. 45) to repeal the Patient Protection and<br>Affordable Care Act and health care-related provisions in the Health Care and Education<br>Reconciliation Act of 2010.","HRES215","Sets forth the rule for consideration of the bill (H.R. 45) to repeal the Patient<br>Protection and Affordable Care Act and health care-related provisions in the Health Care<br>and Education Reconciliation Act of 2010."],["To repeal the Patient Protection and Affordable Care Act and health care-related<br>provisions in the Health Care and Education Reconciliation Act of 2010.","HR45","Repeals the Patient Protection and Affordable Care Act, effective as of its enactment.<br>Restores provisions of law amended by such Act.  Repeals the health care provisions of the<br>Health Care and Education and Reconciliation Act of 2010, effective as of the Act's<br>enactment. Restores provisions of law amended by the Act's health care provisions."],["Providing for consideration of the bill (H.R. 1062) to improve the consideration by the<br>Securities and Exchange Commission of the costs and benefits of its regulations and<br>orders.","HRES216","Sets forth the rule for consideration of the bill (H.R. 1062) to improve the consideration<br>by the Securities and Exchange Commission of the costs and benefits of its regulations and<br>orders."],["To improve the consideration by the Securities and Exchange Commission of the costs and<br>benefits of its regulations and orders.","HR1062","SEC Regulatory Accountability Act - (Sec. 2) Amends the Securities Exchange Act of 1934<br>(Act) to direct the Securities and Exchange Commission (SEC), before issuing a regulation<br>under the securities laws, to: (1) identify the nature and source of the problem that the<br>proposed regulation is designed to address in order to assess whether any new regulation<br>is warranted; (2) use the SEC Chief Economist to assess the costs and benefits of the<br>intended regulation and adopt it only upon a reasoned ..."],["To amend title 18, United States Code, with respect to fraudulent representations about<br>having received military declarations or medals.","HR258","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Stolen Valor Act of 2013 - Amends the federal criminal code to rewrite<br>provisions relating to fraudulent claims about military service to subject to a fine,<br>imprisonment for not more than one year, or both an individual who, with intent to obtain<br>money, property, or other tangible benefit, fraudulently holds himself or herself out to<br>be a recipient of:  a Congressional Medal of Honor,  a..."],["To amend title 18, United States Code, to provide for protection of maritime navigation<br>and prevention of nuclear terrorism, and for other purposes.","HR1073","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Nuclear Terrorism Conventions Implementation and<br>Safety of Maritime Navigation Act of 2013 - Title I: Safety of Maritime Navigation - (Sec.<br>101) Amends the federal criminal code to provide that existing prohibitions against<br>conduct that endangers the safe navigation of a ship: (1) shall apply to conduct that is<br>committed against or on board a U.S. vessel or a vess..."],["To improve and increase the availability of on-job training and apprenticeship programs<br>carried out by the Secretary of Veterans Affairs, and for other purposes.","HR1412","(This measure has not been amended since it was passed by the Senate on September 23,<br>2013. The summary of that version is repeated here.) Department of Veterans Affairs<br>Expiring Authorities Act of 2013 - (Sec. 2) Authorizes specified appropriations for the<br>period October 1-December 31, 2013, to pay a monthly assistance allowance to a veteran<br>with a disability invited by the United States Olympic Committee (USOC) to compete for a<br>slot on, or selected for, the Paralympic Team for any month in ..."],["To grant the Congressional Gold Medal, collectively, to the First Special Service Force,<br>in recognition of its superior service during World War II.","HR324","(This measure has not been amended since it was passed by the House on May 21, 2013. The<br>summary of that version is repeated here.)  Requires the Speaker of the House of<br>Representatives and the President pro tempore of the Senate to make appropriate<br>arrangements for the award, on behalf of Congress, of a single gold medal to the First<br>Special Service Force (a joint American-Canadian volunteer unit), collectively, in<br>recognition of their World War II service. Directs that the gold medal be giv..."],["Providing for consideration of the bill (H.R. 3) to approve the construction, operation,<br>and maintenance of the Keystone XL pipeline, and for other purposes.","HRES228","Sets forth the rule for consideration of the bill (H.R. 3) to approve the construction,<br>operation, and maintenance of the Keystone XL pipeline."],["To approve the construction, operation, and maintenance of the Keystone XL pipeline, and<br>for other purposes.","HR3"," Northern Route Approval Act - (Sec. 1) Declares that a presidential permit shall not be<br>required for the pipeline described in the application filed on May 4, 2012, by<br>TransCanada Keystone Pipeline, L.P. to the Department of State for the Keystone XL<br>pipeline, including the Nebraska reroute evaluated in the Final Evaluation Report issued<br>by the Nebraska Department of Environmental Quality in January 2013 and approved by the<br>Nebraska governor. (Sec. 3) Deems the final environmental impact sta..."],["Providing for consideration of the bill (H.R. 1911) to amend the Higher Education Act of<br>1965 to establish interest rates for new loans made on or after July 1, 2013, and for<br>other purposes.","HRES232","Sets forth the rule for consideration of the bill (H.R. 1911) to amend the Higher<br>Education Act of 1965 to establish interest rates for new loans made on or after July 1,<br>2013."],["To amend the Higher Education Act of 1965 to establish interest rates for new loans made<br>on or after July 1, 2013.","HR1911","Bipartisan Student Loan Certainty Act of 2013 - (Sec. 2) Amends title IV (Student<br>Assistance) of the Higher Education Act of 1965 (HEA) to set the annual interest rate on<br>Direct Stafford loans and Direct Unsubsidized Stafford loans issued to undergraduate<br>students at the rate on high-yield 10-year Treasury notes plus 2.05%, but caps that rate<br>at 8.25%. Sets the annual interest rate on Direct Unsubsidized Stafford loans issued to<br>graduate or professional students at the rate on high-yield 10-y..."],["To grant the Secretary of the Interior permanent authority to authorize States to issue<br>electronic duck stamps, and for other purposes.","HR1206","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.)  Permanent Electronic Duck Stamp Act of 2013 -<br>Grants the Secretary of the Interior permanent authority to authorize any state to issue<br>electronic duck stamps.  Sets forth state electronic duck stamp application requirements.<br>Allows the Secretary to determine the number of new states permitted per year to<br>participate in the electronic duck stamp program.  Instructs..."],["Providing for consideration of the bill (H.R. 2216) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2014, and for other purposes; and providing for consideration of the<br>bill (H.R. 2217) making appropriations for the Department of Homeland Security for the<br>fiscal year ending September 30, 2014, and for other purposes.","HRES243","Sets forth the rule for consideration of the bill (H.R. 2216) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2014, and for other purposes; and providing for<br>consideration of the bill (H.R. 2217) making appropriations for the Department of Homeland<br>Security for the fiscal year ending September 30, 2014."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2014, and for other purposes.","HR2216","Military Construction and Veterans Affairs, and Related Agencies Appropriations Act, 2014<br>- Title I: Department of Defense - Appropriates funds for FY2014 for the Department of<br>Defense (DOD) for: (1) military construction for the Army, Navy and Marine Corps, and Air<br>Force (military departments), DOD, the Army and Air National Guard, and the Army, Navy,<br>and Air Force reserves; (2) the North Atlantic Treaty Organization (NATO) Security<br>Investment Program; (3) family housing construction and rel..."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2014, and for other purposes.","HR2217"," Department of Homeland Security Appropriations Act, 2014 - Makes appropriations for the<br>Department of Homeland Security (DHS) for FY2014.Title I: Departmental Management and<br>Operations - Makes appropriations for: (1) the Office of the Secretary of Homeland<br>Security and executive management, (2) the Office of the Under Secretary for Management,<br>(3) the Office of the Chief Financial Officer, (4) the Office of the Chief Information<br>Officer, (5) intelligence analysis and operations coordination ..."],["To direct the Secretary of the Interior to convey certain Federal features of the electric<br>distribution system to the South Utah Valley Electric Service District, and for other<br>purposes.","HR251","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) South Utah Valley Electric Conveyance Act -<br>Requires the Secretary of the Interior, insofar as the Strawberry Water Users Association<br>conveyed its interest in an electric distribution system to the South Utah Valley Electric<br>Service District, to convey and assign to the District: (1) all interest of the United<br>States in all fixtures owned by the United States as pa..."],["To ensure public access to the summit of Rattlesnake Mountain in the Hanford Reach<br>National Monument for educational, recreational, historical, scientific, cultural, and<br>other purposes.","HR1157","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Rattlesnake Mountain Public Access Act - Directs the Secretary of the<br>Interior to provide access to the summit of Rattlesnake Mountain in the Hanford Reach<br>National Monument in the state of Washington for educational, recreational, historical,<br>scientific, cultural, and other purposes.  Authorizes the Secretary to enter into<br>cooperative agreements to facilitate access to the summit of Ra..."],["Providing for consideration of the bill (H.R. 1960) to authorize appropriations for fiscal<br>year 2014 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; and providing for consideration of the bill (H.R. 1256) to direct the<br>Securities and Exchange Commission and the Commodity Futures Trading Commission to jointly<br>adopt rules setting forth the application to cross-border swaps transactions of certain<br>provisions relating to swaps that were enacted as part of the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act.","HRES256","Sets forth the rule for consideration of the bill (H.R. 1960) to authorize appropriations<br>for fiscal year 2014 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; and providing for consideration of the bill (H.R. 1256) to direct the<br>Securities and Exchange Commission and the Commodity Futures Trading Commission to jointly<br>adopt rules setting forth the application to cross-bo..."],["To provide end user exemptions from certain provisions of the Commodity Exchange Act and<br>the Securities Exchange Act of 1934, and for other purposes.","HR634","Business Risk Mitigation and Price Stabilization Act of 2013 - Amends the Commodity<br>Exchange Act (CEA) to exempt, from the rules of prudential regulators for swap dealers and<br>major swap participants with respect to initial and variation margin requirements for<br>swaps not cleared by a registered derivatives clearing organization, those swaps in which<br>one of the counterparties: (1) is eligible for an exception from clearing requirements<br>because it is not a financial entity, uses swaps to hedge o..."],["To amend the Securities Exchange Act of 1934 and the Commodity Exchange Act to repeal the<br>indemnification requirements for regulatory authorities to obtain access to swap data<br>required to be provided by swaps entities under such Acts.","HR742","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Swap Data Repository and Clearinghouse Indemnification Correction Act of<br>2013 - Amends the Commodity Exchange Act, with respect to derivatives clearing<br>organizations and swap data repositories, to repeal the prerequisite that, before the<br>Commodity Futures Trading Commission (CFTC) may share information with specified<br>regulatory agencies, such agencies must agree to indemnify the CFTC fo..."],["To direct the Securities and Exchange Commission and the Commodity Futures Trading<br>Commission to jointly adopt rules setting forth the application to cross-border swaps<br>transactions of certain provisions relating to swaps that were enacted as part of the<br>Dodd-Frank Wall Street Reform and Consumer Protection Act.","HR1256","(This measure has not been amended since it was reported to the House as amended, Part I,<br>on June 10, 2013. The summary of that version is repeated here.) Swap Jurisdiction<br>Certainty Act - Directs the Securities and Exchange Commission (SEC) and the Commodity<br>Futures Trading Commission (CFTC) to issue jointly rules governing the application of<br>swaps requirements of the Securities Exchange Act of 1934 and the Commodity Exchange Act,<br>relating to cross-border swaps and security-based swaps trans..."],["To provide equal treatment for utility special entities using utility operations-related<br>swaps, and for other purposes.","HR1038","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Public Power Risk Management Act of 2013 - Amends the Commodity Exchange<br>Act to direct the Commodity Futures Trading Commission (CFTC), when it determines whether<br>to provide an exemption to designation as a swap dealer, to treat a utility operations-<br>related swap entered into with a utility special entity as if such swap were entered into<br>with an entity that is not a special entity. (Thus..."],["Providing for further consideration of the bill (H.R. 1960) to authorize appropriations<br>for fiscal year 2014 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes.","HRES260","Sets forth the rule for consideration of H.R. 1960 (National Defense Authorization Act for<br>Fiscal Year 2014)."],["To authorize appropriations for fiscal year 2014 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR1960","National Defense Authorization Act for Fiscal Year 2014 - Division A: Department of<br>Defense Authorizations - Title I: Procurement - Subtitle A: Authorization of<br>Appropriations - (Sec. 101) Authorizes appropriations for FY2014 for the Department of<br>Defense (DOD) for procurement for the Army, Navy and Marine Corps, Air Force, and defense-<br>wide activities, in amounts specified in the funding table set forth in Division D of this<br>Act. Subtitle B: Army Programs - (Sec. 111) Prohibits more than 75% ..."],["To authorize the continued use of certain water diversions located on National Forest<br>System land in the Frank Church-River of No Return Wilderness and the Selway-Bitterroot<br>Wilderness in the State of Idaho, and for other purposes.","HR876","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Idaho Wilderness Water Resources Protection Act - Directs the Secretary of<br>Agriculture (USDA) to issue a special use authorization for the continued operation and<br>reconstruction of a water storage, transport, or diversion facility located on National<br>Forest System land in the Frank Church-River of No Return Wilderness and the Selway-<br>Bitterroot Wilderness in Idaho if:  the facility was in..."],["To provide for the conveyance of a small parcel of National Forest System land in the<br>Uinta-Wasatch-Cache National Forest in Utah to Brigham Young University, and for other<br>purposes.","HR253"," Y Mountain Access Enhancement Act - Directs the Secretary of Agriculture (USDA), upon<br>request by Brigham Young University, to convey an approximately 80-acre parcel of National<br>Forest System land in the Uinta-Wasatch-Cache National Forest in Utah.  Requires the<br>University to pay to the Secretary an amount equal to the fair market value of such land.<br>Requires such consideration to be deposited in the general Treasury fund to reduce the<br>federal deficit.  Directs the University, after the conve..."],["Providing for consideration of the bill (H.R. 1947) to provide for the reform and<br>continuation of agricultural and other programs of the Department of Agriculture through<br>fiscal year 2018, and for other purposes; and providing for consideration of the bill<br>(H.R. 1797) to amend title 18, United States Code, to protect pain-capable unborn children<br>in the District of Columbia, and for other purposes.","HRES266","Sets forth the rule for consideration of the bill (H.R. 1947) to provide for the reform<br>and continuation of agricultural and other programs of the Department of Agriculture<br>through fiscal year 2018, and for other purposes; and providing for consideration of the<br>bill (H.R. 1797) to amend title 18, United States Code, to protect pain-capable unborn<br>children in the District of Columbia."],["To direct the Secretary of State to develop a strategy to obtain observer status for<br>Taiwan at the triennial International Civil Aviation Organization Assembly, and for other<br>purposes.","HR1151","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Directs the Secretary of State to: (1) develop a<br>strategy to obtain observer status for Taiwan at the next triennial International Civil<br>Aviation Organization (ICAO) Assembly to be held in September 2013 in Montreal, Canada;<br>and (2) instruct the U.S. Mission to the ICAO to officially request observer status for<br>Taiwan at the Assembly and other related meetings, activ..."],["To amend title 18, United States Code, to protect pain-capable unborn children in the<br>District of Columbia, and for other purposes.","HR1797","Pain-Capable Unborn Child Protection Act - Amends the federal criminal code to prohibit<br>any person from performing or attempting to perform an abortion except in conformity with<br>this Act's requirements.  Requires the physician to first determine the probable post-<br>fertilization age of the unborn child, or reasonably rely upon such a determination made<br>by another physician, by making inquiries of the pregnant woman and performing such<br>medical examinations and tests as a reasonably prudent physi..."],["To amend part D of title IV of the Social Security Act to ensure that the United States<br>can comply fully with the obligations of the Hague Convention of 23 November 2007 on the<br>International Recovery of Child Support and Other Forms of Family Maintenance, and for<br>other purposes.","HR1896","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) International Child Support Recovery Improvement<br>Act of 2013 - (Sec. 2) Amends part D (Child Support and Establishment of Paternity) of<br>title IV of the Social Security Act (SSA) to direct the Secretary of Health and Human<br>Services (HHS) to use the authorities otherwise provided by law to ensure U.S. compliance<br>with any multilateral child support convention to whic..."],["Providing for further consideration of the bill (H.R. 1947) to provide for the reform and<br>continuation of agricultural and other programs of the Department of Agriculture through<br>fiscal year 2018, and for other purposes.","HRES271","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of H.R. 1947 (Federal Agriculture<br>Reform and Risk Management Act of 2013)."],["To provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2018, and for other purposes.","HR1947","Federal Agriculture Reform and Risk Management Act of 2013 - Title I: Commodities -<br>Subtitle A: Repeals and Reforms - (Sec. 1101) Repeals, but continues for crop year 2013:<br>(1) direct payments, (2) countercyclical payments, and (3) the average crop revenue<br>election program (ACRE).  (Sec. 1105) Directs the Secretary of Agriculture (USDA) to<br>provide for a farm's base acreage adjustment for covered commodities if: (1) a<br>conservation reserve contract expires or is voluntarily terminated, (2) crop..."],["To designate the new Interstate Route 70 bridge over the Mississippi River connecting St.<br>Louis, Missouri, and southwestern Illinois as the \"Stan Musial Veterans Memorial Bridge\".","HR2383","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the new Interstate Route 70 bridge over the Mississippi River<br>that connects St. Louis, Missouri, to southwestern Illinois as the \"Stan Musial Veterans<br>Memorial Bridge.\""],["Providing for consideration of the bill (H.R. 1613) to amend the Outer Continental Shelf<br>Lands Act to provide for the proper Federal management and oversight of transboundary<br>hydrocarbon reservoirs, and for other purposes; providing for consideration of the bill<br>(H.R. 2231) to amend the Outer Continental Shelf Lands Act to increase energy exploration<br>and production on the Outer Continental Shelf, provide for equitable revenue sharing for<br>all coastal States, implement the reorganization of the functions of the former Minerals<br>Management Service into distinct and separate agencies, and for other purposes; providing<br>for consideration of the bill (H.R. 2410) making appropriations for Agriculture, Rural<br>Development, Food and Drug Administration, and Related Agencies programs for the fiscal<br>year ending September 30, 2014, and for other purposes; providing for proceedings during<br>the period from June 29, 2013, through July 5, 2013; and for other purposes.","HRES274","Sets forth the rule for consideration of the bill (H.R. 1613) to amend the Outer<br>Continental Shelf Lands Act to provide for the proper Federal management and oversight of<br>transboundary hydrocarbon reservoirs, and for other purposes; providing for consideration<br>of the bill (H.R. 2231) to amend the Outer Continental Shelf Lands Act to increase energy<br>exploration and production on the Outer Continental Shelf, provide for equitable revenue<br>sharing for all coastal States, implement the reorganizat..."],["To amend the Outer Continental Shelf Lands Act to provide for the proper Federal<br>management and oversight of transboundary hydrocarbon reservoirs, and for other purposes.","HR1613","(This measure has not been amended since it was reported to the House on June 6, 2013. The<br>summary of that version is repeated here.) Outer Continental Shelf Transboundary<br>Hydrocarbon Agreements Authorization Act - Title I: Amendment to the Outer Continental<br>Shelf Lands Act - (Sec. 101) Amends the Outer Continental Shelf Lands Act (OCSLA) to<br>authorize the Secretary of the Interior to implement any agreement for the management of<br>transboundary hydrocarbon reservoirs entered into by the Preside..."],["To amend title 10, United States Code, to require an Inspector General investigation of<br>allegations of retaliatory personnel actions taken in response to making protected<br>communications regarding sexual assault.","HR1864","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Requires the Inspector General of the Department of Defense (DOD), the<br>Department of Homeland Security (DHS) with respect to the Coast Guard, or any of the<br>military departments to investigate allegations of retaliatory personnel actions taken in<br>response to making protected communications to such Inspector General regarding alleged<br>instances of rape, sexual assault, or other forms of sex..."],["To amend the Outer Continental Shelf Lands Act to increase energy exploration and<br>production on the Outer Continental Shelf, provide for equitable revenue sharing for all<br>coastal States, implement the reorganization of the functions of the former Minerals<br>Management Service into distinct and separate agencies, and for other purposes.","HR2231","Offshore Energy and Jobs Act - Title I: Outer Continental Shelf Leasing Program Reforms -<br>(Sec. 101) Amends the Outer Continental Shelf Lands Act (OCSLA) to direct the Secretary of<br>the Interior to implement a leasing program that includes at least 50% of the available<br>unleased acreage within each outer Continental Shelf (OCS) planning area considered to<br>have the largest undiscovered, technically recoverable oil and gas resources, with an<br>emphasis on offering the most geologically prospective ..."],["To require the Financial Stability Oversight Council to conduct a study of the likely<br>effects of the differences between the United States and other jurisdictions in<br>implementing the derivatives credit valuation adjustment capital requirement.","HR1341","(This measure has not been amended since it was reported to the House on June 28, 2013.<br>The summary of that version is repeated here.) Financial Competitive Act of 2013 - Directs<br>the Financial Stability Oversight Council (FSOC) to study and report to Congress on the<br>likely effects that differences between the United States and other jurisdictions in<br>implementing the derivatives credit valuation adjustment capital requirement would have<br>upon: (1) U.S. financial institutions that conduct deriva..."],["To amend the Sarbanes-Oxley Act of 2002 to prohibit the Public Company Accounting<br>Oversight Board from requiring public companies to use specific auditors or require the<br>use of different auditors on a rotating basis.","HR1564","Audit Integrity and Job Protection Act - Amends the Sarbanes-Oxley Act of 2002 (SOX) to<br>deny the Public Company Accounting Oversight Board any authority to require that audits<br>conducted for a particular issuer of securities in accordance with SOX standards be<br>conducted by specific registered public accounting firms, or that such audits be conducted<br>for an issuer by different registered public accounting firms on a rotating basis. Directs<br>the Comptroller General (GAO) to update the November 20..."],["To amend title 40, United States Code, to improve veterans service organizations access to<br>Federal surplus personal property.","HR1171","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Formerly Owned Resources for Veterans to Express Thanks for Service Act of<br>2013 or the FOR VETS Act of 2013 - Authorizes the transfer of federal surplus property to<br>a state agency for distribution through donation within the state for purposes of<br>education or public health for organizations whose membership comprises substantially<br>veterans and whose representatives are recognized by the ..."],["Providing for consideration of the bill (H.R. 2609) making appropriations for energy and<br>water development and related agencies for the fiscal year ending September 30, 2014, and<br>for other purposes.","HRES288","Sets forth the rule for consideration of the bill (H.R. 2609) making appropriations for<br>energy and water development and related agencies for the fiscal year ending September 30,<br>2014."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2014, and for other purposes.","HR2609"," Energy and Water Development and Related Agencies Appropriations Act, 2014 - Makes<br>appropriations for energy and water development and related agencies for FY2014. Title I:<br>Corps of Engineers-Civil - Appropriates funds to the Department of the Army, Corps of<br>Engineers-Civil, for: (1) civil functions pertaining to river and harbor, flood and storm<br>damage reduction, shore protection, and aquatic ecosystem restoration (including the<br>Mississippi River alluvial valley below Cape Girardeau, Missou..."],["Providing for consideration of the bill (H.R. 2642) to provide for the reform and<br>continuation of agricultural and other programs of the Department of Agriculture through<br>fiscal year 2018, and for other purposes.","HRES295","Sets forth the rule for consideration of the bill (H.R. 2642) to provide for the reform<br>and continuation of agricultural and other programs of the Department of Agriculture<br>through fiscal year 2018."],["To provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2018, and for other purposes.","HR2642","Agricultural Act of 2014 - Title I: Commodities - Subtitle A: Repeals and Reforms - Part<br>I: Repeals - (Sec. 1101) Repeals: (1) direct payments under the Food, Conservation, and<br>Energy Act of 2008; and (2) countercyclical payments and the average crop revenue election<br>program (ACRE) under the Food, Conservation, and Energy Act of 2008. Continues<br>countercyclical payments and ACRE, however, for crop year 2013. Part II: Commodity Policy<br>- (Sec. 1111) Includes peanuts as a covered commodity. (Sec...."],["To amend title 49, United States Code, to modify requirements relating to the availability<br>of pipeline safety regulatory documents, and for other purposes.","HR2576","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Revises certain minimum pipeline safety standards requirements to delay<br>from January 3, 2012, to January 3, 2015, the requirement that the Secretary of<br>Transportation (DOT) issue a regulation that incorporates by reference any pipeline safety<br>regulatory documents or portions only if such documents are made available to the public,<br>free of charge, on an Internet website. Eliminates the pr..."],["To ensure that the Federal Aviation Administration advances the safety of small airplanes,<br>and the continued development of the general aviation industry, and for other purposes.","HR1848","(This measure has not been amended since it was passed by the Senate on October 4, 2013.<br>The summary of that version is repeated here.) Small Airplane Revitalization Act of 2013 -<br>Directs the Administrator of the Federal Aviation Administration (FAA) to issue a final<br>rule to advance the safety and continued development of small airplanes by reorganizing<br>the certification requirements to streamline the approval of safety advancements.<br>Requires the final rule to meet certain consensus-based st..."],["Providing for consideration of the bill (H.R. 2668) to delay the application of the<br>individual health insurance mandate; and providing for consideration of the bill (H.R.<br>2667) to delay the application of the employer health insurance mandate, and for other<br>purposes.","HRES300","Sets forth the rule for consideration of the bill (H.R. 2668) to delay the application of<br>the individual health insurance mandate; and providing for consideration of the bill (H.R.<br>2667) to delay the application of the employer health insurance mandate."],["To delay the application of the employer health insurance mandate, and for other purposes.","HR2667","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authority for Mandate Delay Act - Amends the Patient Protection and<br>Affordable Care Act to delay until 2015 enforcement of requirements that large employers<br>offer their full-time employees the opportunity to enroll in minimum essential coverage.<br>Delays the effective date of related reporting requirements for such employers and for<br>providers of minimum essential coverage."],["To delay the application of the individual health insurance mandate.","HR2668","Title I: Fairness for American Families Act -  Fairness for American Families Act - Amends<br>the Internal Revenue Code, as amended by the Patient Protection and Affordable Care Act<br>(PPACA), to delay until 2015 the requirement that individuals maintain minimal essential<br>health care coverage. Title II: Authority for Mandate Delay Act - Authority for Mandate<br>Delay Act - Amends PPACA to delay until 2015 enforcement of requirements that large<br>employers offer their full-time employees the opportunity..."],["Providing for consideration of the bill (H.R. 5) to support State and local accountability<br>for public education, protect State and local authority, inform parents of the performance<br>of their children's schools, and for other purposes.","HRES303","Sets forth the rule for consideration of the bill (H.R. 5) to support State and local<br>accountability for public education, protect State and local authority, inform parents of<br>the performance of their children's schools."],["To support State and local accountability for public education, protect State and local<br>authority, inform parents of the performance of their children's schools, and for other<br>purposes.","HR5","Student Success Act - (Sec. 6) Authorizes FY2014-FY2019 appropriations for the programs<br>under titles I, II, III, and IV of the Elementary and Secondary Education Act of 1965<br>(ESEA), as amended by this Act. (Sec. 7) Expresses the sense of Congress that states and<br>local educational agencies (LEAs) should maintain the rights and responsibilities of<br>determining educational curriculum, programs of instruction, and assessments. Title I: Aid<br>to Local Educational Agencies - Subtitle A: In General - (..."],["To amend the Homeland Security Act of 2002 to establish weapons of mass destruction<br>intelligence and information sharing functions of the Office of Intelligence and Analysis<br>of the Department of Homeland Security and to require dissemination of information<br>analyzed by the Department to entities with responsibilities relating to homeland<br>security, and for other purposes.","HR1542","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) WMD Intelligence and Information Sharing Act of 2013 - Amends the Homeland<br>Security Act of 2002 to direct the Office of Intelligence and Analysis of the Department<br>of Homeland Security (DHS) to: (1) support homeland security-focused intelligence analysis<br>of terrorist actors, their claims, and their plans to conduct attacks involving chemical,<br>biological, radiological, and nuclear materia..."],["Providing for consideration of the bill (H.R. 2397) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2014, and for other<br>purposes; and providing for consideration of the bill (H.R. 2610) making appropriations<br>for the Departments of Transportation, and Housing and Urban Development, and related<br>agencies for the fiscal year ending September 30, 2014, and for other purposes.","HRES312","Sets forth the rule for consideration of the bill (H.R. 2397) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2014, and for other<br>purposes; and providing for consideration of the bill (H.R. 2610) making appropriations<br>for the Departments of Transportation, and Housing and Urban Development, and related<br>agencies for the fiscal year ending September 30, 2014."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2014, and for other purposes.","HR2397","Department of Defense Appropriations Act, 2014 - Title I: Military Personnel -<br>Appropriates funds for FY2014 for active-duty and reserve personnel in the Army, Navy,<br>Marine Corps, and Air Force (the military departments), and for National Guard personnel<br>in the Army and Air Force. Title II: Operation and Maintenance - Appropriates funds for<br>FY2014 for operation and maintenance (O&amp;M) for the military departments, other<br>agencies of the Department of Defense (DOD), the reserve components, an..."],["Providing for consideration of the bill (H.R. 2218) to amend subtitle D of the Solid Waste<br>Disposal Act to encourage recovery and beneficial use of coal combustion residuals and<br>establish requirements for the proper management and disposal of coal combustion residuals<br>that are protective of human health and the environment, and providing for consideration<br>of the bill (H.R. 1582) to protect consumers by prohibiting the Administrator of the<br>Environmental Protection Agency from promulgating as final certain energy-related rules<br>that are estimated to cost more than $1 billion and will cause significant adverse effects<br>to the economy.","HRES315","Sets forth the rule for consideration of the bill (H.R. 2218) to amend subtitle D of the<br>Solid Waste Disposal Act to encourage recovery and beneficial use of coal combustion<br>residuals and establish requirements for the proper management and disposal of coal<br>combustion residuals that are protective of human health and the environment, and<br>providing for consideration of the bill (H.R. 1582) to protect consumers by prohibiting<br>the Administrator of the Environmental Protection Agency from promulg..."],["To amend subtitle D of the Solid Waste Disposal Act to encourage recovery and beneficial<br>use of coal combustion residuals and establish requirements for the proper management and<br>disposal of coal combustion residuals that are protective of human health and the<br>environment.","HR2218","Coal Residuals Reuse and Management Act of 2013 - (Sec. 2) Amends the Solid Waste Disposal<br>Act (SWDA) to authorize states to adopt and implement coal combustion residuals (CCRs)<br>permit programs. Requires each state governor to notify the Administrator of the<br>Environmental Protection Agency (EPA) within 6 months about whether such state will<br>implement a program. Requires states that decide to implement a program to: (1) submit to<br>the Administrator, within 36 months, a certification that the pr..."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2014, and for<br>other purposes.","HR2610","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Transportation, Housing and Urban Development,<br>and Related Agencies Appropriations Act, 2014 - Title I: Department of Transportation -<br>Department of Transportation Appropriations Act, 2014 - Makes appropriations for FY2014 to<br>the Department of Transportation (DOT), including: (1) the Office of the Secretary, (2)<br>the Federal Aviation Administration (FAA), (3) the F..."],["To impose additional human rights and economic and financial sanctions with respect to<br>Iran, and for other purposes.","HR850","Nuclear Iran Prevention Act of 2013 - (Sec. 2) States that it shall be U.S. policy to<br>prevent Iran from acquiring a nuclear weapons capability.  Title I: Human Rights and<br>Terrorism Sanctions - (Sec. 101) Amends the Comprehensive Iran Sanctions, Accountability,<br>and Divestment Act of 2010 to subject to mandatory sanctions a foreign financial<br>institution that facilitates a significant transaction or provides significant financial<br>services for a person that: (1) is subject to human rights-related..."],["To protect consumers by prohibiting the Administrator of the Environmental Protection<br>Agency from promulgating as final certain energy-related rules that are estimated to cost<br>more than $1 billion and will cause significant adverse effects to the economy.","HR1582","Energy Consumers Relief Act of 2013 - Requires the Administrator of the Environmental<br>Protection Agency (EPA), before promulgating a final rule that regulates any aspect of the<br>production, supply, distribution, or use of energy (or that provides for such regulation<br>by state or local governments) and that is estimated by the Administrator or the Director<br>of the Office of Management and Budget (OMB) to impose aggregate costs of more than $1<br>billion, to submit a report that contains: (1) an esti..."],["Providing for consideration of the bill (H.R. 367) to amend chapter 8 of title 5, United<br>States Code, to provide that major rules of the executive branch shall have no force or<br>effect unless a joint resolution of approval is enacted into law; providing for<br>consideration of the bill (H.R. 2009) to prohibit the Secretary of the Treasury from<br>enforcing the Patient Protection and Affordable Care Act and the Health Care and Education<br>Reconciliation Act of 2010; providing for proceedings during the period from August 3,<br>2013, through September 6, 2013; and providing for consideration of the bill (H.R. 2879)<br>to provide limitations on bonuses for Federal employees during sequestration, to provide<br>for investigative leave requirements for members of the Senior Executive Service, to<br>establish certain procedures for conducting in-person or telephonic interactions by<br>Executive branch employees with individuals, and for other purposes.","HRES322","Sets forth the rule for consideration of the bill (H.R. 367) to amend chapter 8 of title<br>5, United States Code, to provide that major rules of the executive branch shall have no<br>force or effect unless a joint resolution of approval is enacted into law; providing for<br>consideration of the bill (H.R. 2009) to prohibit the Secretary of the Treasury from<br>enforcing the Patient Protection and Affordable Care Act and the Health Care and Education<br>Reconciliation Act of 2010; providing for proceedings ..."],["To promote freedom and democracy in Vietnam.","HR1897","Vietnam Human Rights Act of 2013 - Prohibits U.S. nonhumanitarian assistance to the<br>government of Vietnam in excess of FY2012 amounts unless the President certifies to<br>Congress that the government of Vietnam has made substantial progress respecting<br>political, media, and religious freedoms, minority rights, access to U.S. refugee<br>programs, return of confiscated religious estates and property, and actions to end<br>trafficking in persons and the release of political prisoners. Authorizes the Presi..."],["To provide limitations on bonuses for Federal employees during sequestration, to provide<br>for investigative leave requirements for members of the Senior Executive Service, to<br>establish certain procedures for conducting in-person or telephonic interactions by<br>Executive branch employees with individuals, and for other purposes.","HR2879","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Stop Government Abuse Act - Title I: Common Sense<br>In Compensation - (Sec. 102) Prohibits the payment of certain discretionary monetary<br>payments or performance awards to federal employees during any period of sequestration.<br>Allows the head of an agency to waive the prohibition: (1) relating to performance awards,<br>subject to the approval of the Director of the Offic..."],["To amend chapter 8 of title 5, United States Code, to provide that major rules of the<br>executive branch shall have no force or effect unless a joint resolution of approval is<br>enacted into law.","HR367","Regulations From the Executive in Need of Scrutiny Act of 2013 - (Sec. 2) States that the<br>purposes of this Act are to: (1) increase accountability for and transparency in the<br>federal regulatory process by requiring Congress to approve all new major regulations, and<br>(2) include in the definition of \"major rule\" any rule that implements or provides for the<br>imposition or collection of a tax on carbon emissions. Defines \"carbon tax\" as a fee,<br>levy, or price on: (1) emissions, including carbon dio..."],["To prohibit the Secretary of the Treasury from enforcing the Patient Protection and<br>Affordable Care Act and the Health Care and Education Reconciliation Act of 2010.","HR2009","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Keep the IRS Off Your Health Care Act of 2013 - Prohibits the Secretary<br>of the Treasury, or any delegate of the Secretary, from implementing or enforcing any<br>provisions of or amendments made by the Patient Protection and Affordable Care Act or the<br>Health Care and Education Reconciliation Act of 2010."],["To direct the Secretary of Commerce, in coordination with the heads of other relevant<br>Federal departments and agencies, to conduct an interagency review of and report to<br>Congress on ways to increase the global competitiveness of the United States in attracting<br>foreign direct investment.","HR2052","(This measure has not been amended since it was passed by the House on September 9, 2013.<br>The summary of that version is repeated here.) Global Investment in American Jobs Act of<br>2013 - Expresses the sense of Congress that: (1) U.S. ability to attract foreign direct<br>investment is directly linked to U.S. long-term economic prosperity, global<br>competitiveness, and security; (2) it is a top national priority to enhance U.S. global<br>competitiveness, prosperity, and security by removing unnecessary ..."],["To amend the Communications Act of 1934 to consolidate the reporting obligations of the<br>Federal Communications Commission in order to improve congressional oversight and reduce<br>reporting burdens.","HR2844","Federal Communications Commission Consolidated Reporting Act of 2013 - (Sec. 2) Amends the<br>Communications Act of 1934 to require the Federal Communications Commission (FCC) to<br>publish on its website and submit to Congress a biennial report on the state of the<br>communications marketplace assessing: (1) competition, including intermodal, facilities-<br>based, and new and emergent services competition and addressing the provision of content,<br>as well as communications using the Internet; (2) deploymen..."],["To reform the National Association of Registered Agents and Brokers, and for other<br>purposes.","HR1155","National Association of Registered Agents and Brokers Reform Act of 2013 - (Sec. 2) Amends<br>the Gramm-Leach-Bliley Act to repeal the contingent conditions under which the National<br>Association of Registered Agents and Brokers (NARAB) shall not be established. Establishes<br>the NARAB without contingent conditions as an independent nonprofit corporation to<br>prescribe, on a multi-state basis, licensing and insurance producer qualification<br>requirements and conditions.  Prohibits the NARAB from merging..."],["To amend title 40, United States Code, to transfer certain functions from the Government<br>Accountability Office to the Department of Labor relating to the processing of claims for<br>the payment of workers who were not paid appropriate wages under certain provisions of<br>such title.","HR2747","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Streamlining Claims Processing for Federal Contractor Employees Act -<br>Transfers authority from the Government Accountability Office (GAO) to the Department of<br>Labor for processing claims for wages due to laborers and mechanics hired by contractors<br>on public works projects."],["A bill to require the Secretary of the Interior to convey certain Federal land to the<br>Powell Recreation District in the State of Wyoming.","S130","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Powell Shooting Range Land Conveyance Act -<br>Directs the Secretary of the Interior to convey to the Powell Recreation District in<br>Wyoming, without consideration, the land managed by the Bureau of Land Management (BLM) in<br>the Wind River District and identified as the Powell Gun Club for use as: (1) a shooting<br>range, or (2) for any other public purpose consistent wit..."],["A bill to direct the Secretary of the Interior to convey to the State of Mississippi 2<br>parcels of surplus land within the boundary of the Natchez Trace Parkway, and for other<br>purposes.","S304","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Natchez Trace Parkway Land Conveyance Act of 2013 - Requires the<br>Secretary of the Interior to convey to Mississippi, by quitclaim deed and without<br>consideration, all interest of the United States in two parcels of identified land<br>totaling approximately 67 acres.  Requires the deed of conveyance to the parcel of land<br>located southeast of U.S. route 61/84, and which is commonly known as t..."],["Providing for consideration of the bill (H.R. 2775) to condition the provision of premium<br>and cost-sharing subsidies under the Patient Protection and Affordable Care Act upon a<br>certification that a program to verify household income and other qualifications for such<br>subsidies is operational, and for other purposes.","HRES339","Sets forth the rule for consideration of the bill (H.R. 2775) to condition the provision<br>of premium and cost-sharing subsidies under the Patient Protection and Affordable Care Act<br>upon a certification that a program to verify household income and other qualifications<br>for such subsidies is operational."],["To condition the provision of premium and cost-sharing subsidies under the Patient<br>Protection and Affordable Care Act upon a certification that a program to verify household<br>income and other qualifications for such subsidies is operational, and for other purposes.","HR2775","(This measure has not been amended since it was passed by the Senate on October 16, 2013.<br>The summary of that version is repeated here.) Continuing Appropriations Act, 2014 -<br>Division A: Continuing Appropriations Act, 2014 - Makes continuing appropriations for<br>FY2014. (Sec. 101) Appropriates amounts for continuing operations, projects, or activities<br>which were conducted in FY2013 and for which appropriations, funds, or other authority<br>were made available in:  the Agriculture, Rural Developmen..."],["To amend the Missing Children's Assistance Act, and for other purposes.","HR3092","(This measure has not been amended since it passed the House on September 17, 2013. The<br>summary of that version is repeated here.) E. Clay Shaw, Jr. Missing Children's Assistance<br>Reauthorization Act of 2013 - (Sec. 2) Amends the Missing Children's Assistance to declare<br>that many missing children are runaways. Requires the Administrator of the Office of<br>Juvenile Justice and Delinquency Prevention of the Department of Justice (DOJ) to send the<br>Office's annual report to the President and Congres..."],["To authorize the President to extend the term of the Agreement for Cooperation between the<br>Government of the United States of America and the Government of the Republic of Korea<br>Concerning Civil Uses of Nuclear Energy for a period not to exceed March 19, 2016.","HR2449","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes the President to extend the term of the Agreement for<br>Cooperation between the Government of the United States of America and the Government of<br>the Republic of Korea Concerning Civil Uses of Nuclear Energy for a period not to exceed<br>March 19, 2016."],["Providing for consideration of the bill (H.R. 761) to require the Secretary of the<br>Interior and the Secretary of Agriculture to more efficiently develop domestic sources of<br>the minerals and mineral materials of strategic and critical importance to United States<br>economic and national security and manufacturing competitiveness.","HRES347","Sets forth the rule for consideration of the bill (H.R. 761) to require the Secretary of<br>the Interior and the Secretary of Agriculture to more efficiently develop domestic sources<br>of the minerals and mineral materials of strategic and critical importance to United<br>States economic and national security and manufacturing competitiveness."],["To provide for the establishment of the Special Envoy to Promote Religious Freedom of<br>Religious Minorities in the Near East and South Central Asia.","HR301","(Sec. 2) Directs the President to appoint a Special Envoy to Promote Religious Freedom of<br>Religious Minorities in the Near East and South Central Asia within the Department of<br>State. Requires the Special Envoy to have the rank of ambassador. (Sec. 3) Requires the<br>Special Envoy to: (1) promote the right of religious freedom of religious minorities in<br>the countries of the Near East and South Central Asia, denounce the violation of such<br>right, and recommend appropriate U.S government responses t..."],["To require the Secretary of the Interior and the Secretary of Agriculture to more<br>efficiently develop domestic sources of the minerals and mineral materials of strategic<br>and critical importance to United States economic and national security and manufacturing<br>competitiveness.","HR761","National Strategic and Critical Minerals Production Act of 2013 - Title I: Development of<br>Domestic Sources of Strategic and Critical Minerals - (Sec. 101) Deems a domestic mine<br>that will provide strategic and critical minerals to be an \"infrastructure project\" as<br>described in Presidential Order \"Improving Performance of Federal Permitting and Review of<br>Infrastructure Projects\" dated March 22, 2012.  (Sec. 102) Sets forth the responsibilities<br>of the lead agency (federal, state, local, tribal, ..."],["Providing for consideration of the joint resolution (H.J.Res. 59) making continuing<br>appropriations for fiscal year 2014, and for other purposes, and providing for<br>consideration of motions to suspend the rules.","HRES352","Sets forth the rule for consideration of the joint resolution (H.J.Res. 59) making<br>continuing appropriations for fiscal year 2014, and for other purposes, and providing for<br>consideration of motions to suspend the rules."],["Providing for consideration of the bill (H.R. 687) to facilitate the efficient extraction<br>of mineral resources in southeast Arizona by authorizing and directing an exchange of<br>Federal and non-Federal land, and for other purposes; providing for consideration of the<br>bill (H.R. 1526) to restore employment and educational opportunities in, and improve the<br>economic stability of, counties containing National Forest System land, while also<br>reducing Forest Service management costs, by ensuring that such counties have a dependable<br>source of revenue from National Forest System land, to provide a temporary extension of<br>the Secure Rural Schools and Community Self-Determination Act of 2000, and for other<br>purposes; providing for consideration of the bill (H.R. 3102) to amend the Food and<br>Nutrition Act 2008; and for other purposes.","HRES351","Sets forth the rule for consideration of the bill (H.R. 687) to facilitate the efficient<br>extraction of mineral resources in southeast Arizona by authorizing and directing an<br>exchange of Federal and non-Federal land, and for other purposes; providing for<br>consideration of the bill (H.R. 1526) to restore employment and educational opportunities<br>in, and improve the economic stability of, counties containing National Forest System<br>land, while also reducing Forest Service management costs, by ensur..."],["To amend the Food and Nutrition Act of 2008; and for other purposes.","HR3102","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Nutrition Reform and Work Opportunity Act of 2013<br>- Title I: Supplemental Nutrition Assistance Program - (Sec. 101) Amends the Food and<br>Nutrition Act of 2008 to prohibit the payment of a deposit fee in excess of any state fee<br>reimbursement to recipients of supplemental nutrition assistance (SNAP, formerly known as<br>the food stamp program) for the return of empty bo..."],["Making continuing appropriations for fiscal year 2014, and for other purposes.","HJRES59","(This measure has not been amended since the House receded and concurred in the Senate<br>amendment with an amendment on December 12, 2013. The summary of that version is repeated<br>here.) Division A: Bipartisan Budget Agreement - Bipartisan Budget Act of 2013 - Division<br>A [sic]: Budget Enforcement and Deficit Reduction - Title I: Budget Enforcement - Subtitle<br>A: Amendments to the Balanced Budget and Emergency Deficit Control Act - (Sec. 101) Amends<br>the Balanced Budget Emergency Deficit Control Ac..."],["To restore employment and educational opportunities in, and improve the economic stability<br>of, counties containing National Forest System land, while also reducing Forest Service<br>management costs, by ensuring that such counties have a dependable source of revenue from<br>National Forest System land, to provide a temporary extension of the Secure Rural Schools<br>and Community Self-Determination Act of 2000, and for other purposes.","HR1526","Restoring Healthy Forests for Healthy Communities Act - Title I: Restoring the Commitment<br>to Rural Counties and Schools - (Sec. 103) Directs the Secretary of Agriculture (USDA)<br>(the Secretary in this title) to establish at least one Forest Reserve Revenue Area (Area)<br>within each unit of the National Forest System (NFS) designated for sustainable forest<br>management for the production of national forest materials (the sale of trees, portions of<br>trees, or forest products from NFS lands) and fores..."],["To amend title 46, United States Code, to extend the exemption from the fire-retardant<br>materials construction requirement for vessels operating within the Boundary Line.","HR1961","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends federal shipping law to extend through October 31, 2028, the<br>exemption of certain vessels from the requirement that U.S. passenger vessels having berth<br>or stateroom accommodations for at least 50 passengers be constructed of fire-retardant<br>materials in order to be granted a certificate of inspection. Continues to apply this<br>exemption only to vessels in operation before January 1, ..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 527, with an<br>amendment.","HRES354","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of the Senate amendment to H.R. 527<br>(Helium Stewardship Act of 2013)."],["To ensure that any new or revised requirement providing for the screening, testing, or<br>treatment of individuals operating commercial motor vehicles for sleep disorders is<br>adopted pursuant to a rulemaking proceeding, and for other purposes.","HR3095","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes the Secretary of Transportation (DOT) to implement or enforce a<br>requirement providing for the screening, testing, or treatment of individuals operating<br>commercial motor vehicles for sleep disorders (including obstructive sleep apnea) only if<br>it is adopted pursuant to a rulemaking proceeding. Applies this Act only to a requirement<br>adopted on or after September 1, 2013."],["To facilitate the efficient extraction of mineral resources in southeast Arizona by<br>authorizing and directing an exchange of Federal and non-Federal land, and for other<br>purposes.","HR687","Southeast Arizona Land Exchange and Conservation Act of 2013 - (Sec. 4) Authorizes and<br>directs the Secretary of Agriculture (USDA) (the Secretary), if Resolution Copper Mining,<br>LLC offers to convey specified parcels of non-federal land in Gila, Yavapi, Maricopa,<br>Coconino, Pinal, and/or Santa Cruz Counties, Arizona, that are acceptable to the Secretary<br>or the Secretary of the Interior, to convey certain federal land in Pinal County, Arizona,<br>to Resolution Copper.  Instructs the Secretary to en..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and relating to consideration of the<br>Senate amendment to the bill (H.R. 2642) to provide for the reform and continuation of<br>agricultural and other programs of the Department of Agriculture through fiscal year 2018,<br>and for other purposes.","HRES361","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Waives a specified requirement of Rule XIII (Calendar and Committee<br>Reports) to consider a report from the Committee on Rules on the same day it is presented<br>to the House with respect to any resolution reported through the legislative day of<br>September 30, 2013, relating to measures making continuing FY2014 appropriations or to the<br>public debt limit.  Concurs in the Senate amendment to H...."],["Providing for consideration of the Senate amendment to the joint resolution (H.J.Res. 59)<br>making continuing appropriations for fiscal year 2014, and for other purposes, and<br>providing for consideration of the bill (H.R. 3210) making continuing appropriations for<br>military pay in the event of a Government shutdown.","HRES366","Sets forth the rule for consideration of the Senate amendment to the joint resolution<br>(H.J.Res. 59) making continuing appropriations for fiscal year 2014, and for other<br>purposes, and providing for consideration of the bill (H.R. 3210) making continuing<br>appropriations for military pay in the event of a Government shutdown."],["Making continuing appropriations for military pay in the event of a Government shutdown.","HR3210","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Pay Our Military Act - Appropriates for FY2014, out of any money in the<br>Treasury not otherwise appropriated, for any period during which interim or full-year<br>appropriations for FY2014 are not in effect, such sums as are necessary to provide pay and<br>allowances to: (1) members of the Armed Forces, including reserve components, who perform<br>active service during such period; and (2) civilian..."],["To authorize appropriations for the Department of State for fiscal year 2014, and for<br>other purposes.","HR2848","Department of State Operations and Embassy Security Authorization Act, Fiscal Year 2014 -<br>Title I: Authorization of Appropriations - (Sec. 101) Authorizes FY2014 appropriations<br>for: (1) diplomatic and consular programs; (2) the Capital Investment Fund; (3)<br>educational and cultural exchange programs; (4) conflict stabilization operations; (5)<br>representation allowances; (6) protection of foreign missions and officials; (7)<br>diplomatic and consular service emergencies; (8) repatriation loans; (9)..."],["Providing for consideration of the Senate amendment to the joint resolution (H.J. Res. 59)<br>making continuing appropriations for fiscal year 2014, and for other purposes, and waiving<br>a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules.","HRES367","Sets forth the rule for consideration of the Senate amendment to the joint resolution<br>(H.J. Res. 59) making continuing appropriations for fiscal year 2014, and for other<br>purposes, and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules."],["Relating to consideration of the joint resolution (H.J. Res. 59) making continuing<br>appropriations for fiscal year 2014, and for other purposes.","HRES368","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Takes from the Speaker's table H.J. Res. 59, making continuing<br>appropriations for FY2014, and for other purposes, with the House amendment to the Senate<br>amendment thereto, insists on the House amendment, and requests a conference with the<br>Senate.  Limits to the Majority Leader or the designee of the Majority Leader the offering<br>of a motion pursuant to clause 4 of Rule XXII (House and Sen..."],["Making continuing appropriations for veterans benefits for fiscal year 2014, and for other<br>purposes.","HJRES72","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Veterans Benefits Continuing Appropriations Resolution, 2014 - Makes<br>appropriations for FY2014 for veterans' benefits, specifically for entitlements and other<br>mandatory payments whose budget authority was provided in the Military Construction and<br>Veterans Affairs, and Related Agencies Appropriations Act, 2013 (division E of P.L.<br>113-6), to continue activities at the rate to maintain prog..."],["Making continuing appropriations of local funds of the District of Columbia for fiscal<br>year 2014.","HJRES71","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) District of Columbia Continuing Appropriations Resolution, 2014 - Allows<br>the District of Columbia to expend local funds under the heading \"District of Columbia<br>Funds\" for such programs and activities under title IV of H.R. 2786 (113th Congress), as<br>reported by the Committee on Appropriations of the House of Representatives, at the rate<br>set forth under \"District of Columbia Funds--Summary..."],["Making continuing appropriations for National Park Service operations, the Smithsonian<br>Institution, the National Gallery of Art, and the United States Holocaust Memorial Museum<br>for fiscal year 2014, and for other purposes.","HJRES70","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) National Park Service Operations, Smithsonian Institution, National<br>Gallery of Art, and United States Holocaust Memorial Museum Continuing Appropriations<br>Resolution, 2014 - Makes appropriations for FY2014 for continuing projects or activities<br>that were conducted in FY2013 and for which appropriations, funds, or other authority were<br>made available by the Full-Year Continuing Appropriation..."],["Providing for consideration of the joint resolution (H.J. Res. 70) making continuing<br>appropriations for National Park Service operations, the Smithsonian Institution, the<br>National Gallery of Art, and the United States Holocaust Memorial Museum for fiscal year<br>2014, and for other purposes; providing for consideration of the joint resolution (H.J.<br>Res. 71) making continuing appropriations of local funds of the District of Columbia for<br>fiscal year 2014; providing for consideration of the joint resolution (H.J. Res. 72)<br>making continuing appropriations for veterans benefits for fiscal year 2014, and for other<br>purposes; providing for consideration of the joint resolution (H.J. Res. 73) making<br>continuing appropriations for the National Institutes of Health for fiscal year 2014, and<br>for other purposes; providing for consideration of the bill (H.R. 3230) making continuing<br>appropriations during a Government shutdown to provide pay and allowances to members of<br>the reserve components of the Armed Forces who perform inactive-duty training during such<br>period; and providing for consideration of motions to suspend the rules.","HRES370","Sets forth the rule for consideration of the joint resolution (H.J. Res. 70) making<br>continuing appropriations for National Park Service operations, the Smithsonian<br>Institution, the National Gallery of Art, and the United States Holocaust Memorial Museum<br>for fiscal year 2014, and for other purposes; providing for consideration of the joint<br>resolution (H.J. Res. 71) making continuing appropriations of local funds of the District<br>of Columbia for fiscal year 2014; providing for consideration of t..."],["Making continuing appropriations for the National Institutes of Health for fiscal year<br>2014, and for other purposes.","HJRES73","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) National Institutes of Health Continuing Appropriations Resolution, 2014 -<br>Appropriates, out of any money in the Treasury not otherwise appropriated, and out of<br>applicable corporate or other revenues, receipts, and funds, for the National Institutes<br>of Health (NIH) for FY2014, and for other purposes, such amounts as may be necessary, at a<br>rate for operations as provided in the Full-Year ..."],["Making continuing appropriations during a Government shutdown to provide pay and<br>allowances to members of the reserve components of the Armed Forces who perform inactive-<br>duty training during such period.","HR3230","(This measure has not been amended since the Conference Report was filed in the House on<br>July 28, 2014. The summary of that version is repeated here.) Veterans Access, Choice, and<br>Accountability Act of 2014 - Title I: Improvement of Access to Care from Non-Department of<br>Veterans Affairs Providers - (Sec. 101) Requires hospital care and medical services to be<br>furnished to veterans through agreements with specified non-Department of Veterans Affairs<br>(VA) facilities if the veterans:   have been ..."],["Providing for consideration of the joint resolution (H.J. Res. 75) making continuing<br>appropriations for the Special Supplemental Nutrition Program for Women, Infants, and<br>Children for fiscal year 2014, and for other purposes; providing for consideration of<br>motions to suspend the rules; waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules; and<br>for other purposes.","HRES371","Sets forth the rule for consideration of the joint resolution (H.J. Res. 75) making<br>continuing appropriations for the Special Supplemental Nutrition Program for Women,<br>Infants, and Children for fiscal year 2014, and for other purposes; providing for<br>consideration of motions to suspend the rules; waiving a requirement of clause 6(a) of<br>rule XIII with respect to consideration of certain resolutions reported from the Committee<br>on Rules."],["Making continuing appropriations for the Federal Emergency Management Agency for fiscal<br>year 2014, and for other purposes.","HJRES85","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Emergency Management Agency Continuing Appropriations Resolution,<br>2014 - Makes appropriations, out of any money in the Treasury not otherwise appropriated,<br>and out of applicable corporate or other revenues, receipts, and funds, for the Federal<br>Emergency Management Agency (FEMA) for FY2014, and for other purposes, such amounts as may<br>be necessary, at a rate for operations as provi..."],["Making continuing appropriations for the Special Supplemental Nutrition Program for Women,<br>Infants, and Children for fiscal year 2014, and for other purposes.","HJRES75","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Special Supplemental Nutrition Program for Women, Infants, and Children<br>Continuing Appropriations Resolution, 2014 - Makes appropriations, out of any money in the<br>Treasury not otherwise appropriated, and out of applicable corporate or other revenues,<br>receipts, and funds, for the Department of Agriculture (USDA) for FY2014, and for other<br>purposes, such amounts as may be necessary, at a ra..."],["Expressing the sense of Congress regarding the need for the continued availability of<br>religious services to members of the Armed Forces and their families during a lapse in<br>appropriations.","HCONRES58","Expresses the sense of Congress that the provision and availability of religious services<br>and clergy is important to the morale and wellbeing of many members of the Armed Forces<br>and their families.  Expresses hope that the Secretary of Defense (DOD) is able to<br>determine that contractor clergy provide necessary support to military personnel, and<br>would therefore be covered under the appropriations made available under the Pay Our<br>Military Act (P.L. 113-39)."],["Making continuing appropriations for the Food and Drug Administration for fiscal year<br>2014, and for other purposes.","HJRES77","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Food and Drug Administration Continuing Appropriations Resolution, 2014 -<br>Makes appropriations, out of any money in the Treasury not otherwise appropriated, and out<br>of applicable corporate or other revenues, receipts, and funds, for the Food and Drug<br>Administration (FDA) for FY2014, and for other purposes, such amounts as may be necessary,<br>at a rate for operations as provided in the Agri..."],["Making continuing appropriations for Head Start for fiscal year 2014, and for other<br>purposes.","HJRES84","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Head Start Continuing Appropriations Resolution, 2014 - Makes<br>appropriations, out of any money in the Treasury not otherwise appropriated, and out of<br>applicable corporate or other revenues, receipts, and funds, for the Head Start program<br>for FY2014, and for other purposes, such amounts as may be necessary, at a rate for<br>operations as provided in the Full-Year Continuing Appropriations Ac..."],["Providing for consideration of the joint resolution (H.J. Res. 89) making appropriations<br>for the salaries and related expenses of certain Federal employees during a lapse in<br>funding authority for fiscal year 2014, and for other purposes, providing for<br>consideration of the bill (H.R. 3273) to establish a bicameral working group on deficit<br>reduction and economic growth, and providing for consideration of the joint resolution<br>(H.J. Res. 90) making continuing appropriations for the Federal Aviation Administration<br>for fiscal year 2014, and for other purposes.","HRES373","Sets forth the rule for consideration of the joint resolution (H.J. Res. 89) making<br>appropriations for the salaries and related expenses of certain Federal employees during a<br>lapse in funding authority for fiscal year 2014, and for other purposes, providing for<br>consideration of the bill (H.R. 3273) to establish a bicameral working group on deficit<br>reduction and economic growth, and providing for consideration of the joint resolution<br>(H.J. Res. 90) making continuing appropriations for the Fede..."],["To establish a bicameral working group on deficit reduction and economic growth.","HR3273","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here; it is based upon text provided by the House Clerk.) Deficit Reduction and<br>Economic Growth Working Group Act of 2013 - Establishes the Bicameral Working Group on<br>Deficit Reduction and Economic Growth, comprised of 20 Members of Congress, to recommend<br>to the House of Representatives and Senate overall levels of discretionary spending,<br>including for FY2014, changes in the statutory limit on ..."],["Making appropriations for the salaries and related expenses of certain Federal employees<br>during a lapse in funding authority for fiscal year 2014, and for other purposes.","HJRES89","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Excepted Employees' Pay Continuing Appropriations<br>Resolution, 2014 - Makes appropriations for FY2014 to pay the salaries and related<br>expenses of federal employees excepted from provisions of the Antideficiency Act<br>(prohibiting any expenditure or obligation that exceeds an amount available in an<br>appropriation or other fund) who work during the period beginning Octo..."],["Making continuing appropriations for the Federal Aviation Administration for fiscal year<br>2014, and for other purposes.","HJRES90","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Aviation Administration Continuing Appropriations Resolution, 2014<br>- Makes appropriations, out of any money in the Treasury not otherwise appropriated, and<br>out of applicable corporate or other revenues, receipts, and funds, for the Federal<br>Aviation Administration (FAA) for FY2014, and for other purposes, such amounts as may be<br>necessary, at a rate for operations as provided in th..."],["Making continuing appropriations for death gratuities and related survivor benefits for<br>survivors of deceased military service members of the Department of Defense for fiscal<br>year 2014, and for other purposes.","HJRES91","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Department of Defense Survivor Benefits Continuing Appropriations<br>Resolution, 2014 - Makes appropriations, out of any money in the Treasury not otherwise<br>appropriated, for death gratuities and related benefits for survivors of deceased military<br>service members of the Department of Defense (DOD) for FY2014, and for other purposes,<br>such amounts as may be necessary, at a rate for operations..."],["Making continuing appropriations for certain components of the Department of Homeland<br>Security for fiscal year 2014, and for other purposes.","HJRES79","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Border Security and Enforcement Continuing Appropriations Resolution, 2014<br>- Makes appropriations for FY2014 for continuing projects or activities not otherwise<br>specifically provided for that were conducted in FY2013 and for which appropriations,<br>funds, or other authority were made available by the Department of Homeland Security<br>Appropriations Act, 2013 (division D of P.L. 113-6) under ..."],["Making continuing appropriations for the National Nuclear Security Administration for<br>fiscal year 2014, and for other purposes.","HJRES76","(This measure has not been amended since it was passed by the Senate on August 1, 2014.\u00a0<br>The summary of that version is repeated here.) Emergency Supplemental Appropriations<br>Resolution, 2014 - Appropriates FY2014 supplemental funds to the Department of Defense<br>(DOD) to assist the government of Israel with procurement of the Iron Dome defense system<br>to counter short-range rocket threats. Provides that the funds shall be transferred<br>immediately only through an exchange of letters to address eme..."],["Relating to consideration of the House amendment to the Senate amendment to the bill (H.R.<br>2642) to provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2018, and for other purposes, providing for<br>consideration of the resolution (H. Res. 378) expressing the sense of the House of<br>Representatives regarding certain provisions of the Senate amendment to H.R. 2642 relating<br>to the Secretary of Agriculture's administration of tariff-rate quotas for raw and refined<br>sugar, and providing for consideration of the resolution (H. Res. 379) expressing the<br>sense of the House of Representatives regarding certain provisions of the Senate amendment<br>to H.R. 2642 relating to crop insurance.","HRES380","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of:   H.Res. 378 (Expresses the<br>sense of the House of Representatives regarding certain provisions of the Senate amendment<br>to H.R. 2642 [Federal Agriculture Reform and Risk Management Act of 2013] relating to the<br>Secretary of Agriculture's administration of tariff-rate quotas for raw and refined<br>sugar), and  H.Res. 379 (Expresses the sense of the Hou..."],["Expressing the sense of the House of Representatives regarding certain provisions of the<br>Senate amendment to H.R. 2642 relating to the Secretary of Agriculture's administration of<br>tariff-rate quotas for raw and refined sugar.","HRES378","Expresses the sense of the House of Representatives that the House managers of the<br>conference on the disagreeing votes of the two Houses on the House amendment to the Senate<br>amendment to the bill H.R. 2642 (Federal Agriculture Reform and Risk Management Act of<br>2013) should advance provisions to repeal the Administration of Tariff Rate Quotas<br>language as added by the Food, Conservation, and Energy Act of 2008, and thus restore the<br>authority of the Secretary of Agriculture (USDA) to manage suga..."],["Making continuing appropriations for the Bureau of Indian Affairs, the Bureau of Indian<br>Education, and the Indian Health Service for fiscal year 2014, and for other purposes.","HJRES80","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Bureau of Indian Affairs, Bureau of Indian Education, and Indian Health<br>Service Continuing Appropriations Resolution, 2014 - Makes appropriations for FY2014 for<br>continuing projects or activities not otherwise specifically provided for that were<br>conducted in FY2013 and for which appropriations, funds, or other authority were made<br>available by Full Year Continuing Appropriations Act, 2013 ..."],["To designate the United States courthouse located at 101 East Pecan Street in Sherman,<br>Texas, as the \"Paul Brown United States Courthouse\".","HR185","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the U.S. courthouse located at 101 East Pecan Street in<br>Sherman, Texas, as the \"Paul Brown United States Courthouse.\""],["To reauthorize and restructure the adoption incentives grant program, and for other<br>purposes.","HR3205","(This measure has not been amended since it was introduced. The summary of that version<br>has been expanded because action occurred on the measure.) Promoting Adoption and Legal<br>Guardianship for Children in Foster Care Act - Title I: Adoption Incentives Grant Program<br>- (Sec. 101) Amends part E (Foster Care and Adoption Assistance) of title IV of the Social<br>Security Act (SSA) to revise the adoption incentives grant program (renaming it the<br>adoption and legal guardianship incentive program), crea..."],["Providing for consideration of the bill (H.R. 3080) to provide for improvements to the<br>rivers and harbors of the United States, to provide for the conservation and development<br>of water and related resources, and for other purposes.","HRES385","Sets forth the rule for consideration of the bill (H.R. 3080) to provide for improvements<br>to the rivers and harbors of the United States, to provide for the conservation and<br>development of water and related resources."],["To provide for improvements to the rivers and harbors of the United States, to provide for<br>the conservation and development of water and related resources, and for other purposes.","HR3080","(This measure has not been amended since the Conference Report was filed in the House on<br>May 15, 2014. The summary of that version is repeated here.) Water Resources Reform and<br>Development Act of 2014 - Title I: Program Reforms And Streamlining - (Sec. 1001) Revises<br>requirements for feasibility studies initiated under the Water Resources Development Act<br>of 1986 (WRDA of 1986) to: (1) require a final report on a study not later than three<br>years after its initiation; (2) limit the maximum feder..."],["To establish a commission or task force to evaluate the backlog of disability claims of<br>the Department of Veterans Affairs.","HR2189","(This measure has not been amended since it was reported to the House on September 27,<br>2013. The summary of that version is repeated here.) Title I: Improvement of Claims<br>Processing - (Sec. 101) Establishes within the Department of Veterans Affairs (VA) a<br>commission or task force to study: (1) the backlog of veterans' disability claims,<br>including the current process used by the Secretary of Veterans Affairs (Secretary) to<br>evaluate claims and appeals and the applicable laws and regulations; an..."],["Providing for consideration of the bill (H.R. 992) to amend provisions in section 716 of<br>the Dodd-Frank Wall Street Reform and Consumer Protection Act relating to Federal<br>assistance for swaps entities, and providing for consideration of the bill (H.R. 2374) to<br>amend the Securities Exchange Act of 1934 to provide protections for retail customers, and<br>for other purposes.","HRES391","Sets forth the rule for consideration of the bill (H.R. 992) to amend provisions in<br>section 716 of the Dodd-Frank Wall Street Reform and Consumer Protection Act relating to<br>Federal assistance for swaps entities, and providing for consideration of the bill (H.R.<br>2374) to amend the Securities Exchange Act of 1934 to provide protections for retail<br>customers."],["To amend the Securities Exchange Act of 1934 to provide protections for retail customers,<br>and for other purposes.","HR2374","(This measure has not been amended since it was reported to the House on September 25,<br>2013. The summary of that version is repeated here.) Retail Investor Protection Act -<br>Prohibits the Secretary of Labor from prescribing any regulation under the Employee<br>Retirement Income Security Act of 1974 (ERISA) defining the circumstances under which an<br>individual is considered a fiduciary until 60 days after the Securities and Exchange<br>Commission (SEC) issues a final rule governing standards of conduc..."],["To amend provisions in section 716 of the Dodd-Frank Wall Street Reform and Consumer<br>Protection Act relating to Federal assistance for swaps entities.","HR992","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Swaps Regulatory Improvement Act - Amends the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act with respect to the prohibition against certain federal<br>assistance to swaps entities, namely the use of any advances from specified Federal<br>Reserve credit facilities or discount windows, or Federal Deposit Insurance Corporation<br>(FDIC) insurance or guarantees, for the purpose of: (1) ma..."],["Relating to the disapproval of the President's exercise of authority to suspend the debt<br>limit, as submitted under section 1002(b) of the Continuing Appropriations Act, 2014 on<br>October 17, 2013.","HJRES99","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Disapproves of the President's exercise of authority to suspend the debt<br>limit."],["To amend title 28, United States Code, to modify the composition of the southern judicial<br>district of Mississippi to improve judicial efficiency, and for other purposes.","HR2871","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the federal judicial code to realign the southern judicial district<br>of Mississippi into four (currently, five) divisions with court to be held for:  the<br>Northern Division at Jackson,  the Southern Division at Gulfport,  the Eastern Division at<br>Hattiesburg, and  the Western Division at Natchez.  Sets forth the Mississippi counties<br>comprising each realigned division."],["To extend the authority of the Supreme Court Police to protect court officials away from<br>the Supreme Court grounds.","HR2922","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Extends through December 29, 2019, the authority of the Marshal of the<br>Supreme Court and the Supreme Court Police to protect, in any state, the Justices of the<br>Supreme Court, any official guest of the Supreme Court, and any officer or employee of the<br>Supreme Court performing official duties."],["Providing for consideration of the bill (H.R. 2655) to amend Rule 11 of the Federal Rules<br>of Civil Procedure to improve attorney accountability, and for other purposes, and<br>providing for consideration of the bill (H.R. 982) to amend title 11 of the United States<br>Code to require the public disclosure by trusts established under section 524(g) of such<br>title, of quarterly reports that contain detailed information regarding the receipt and<br>disposition of claims for injuries based on exposure to asbestos; and for other purposes.","HRES403","Sets forth the rule for consideration of the bill (H.R. 2655) to amend Rule 11 of the<br>Federal Rules of Civil Procedure to improve attorney accountability, and for other<br>purposes, and providing for consideration of the bill (H.R. 982) to amend title 11 of the<br>United States Code to require the public disclosure by trusts established under section<br>524(g) of such title, of quarterly reports that contain detailed information regarding the<br>receipt and disposition of claims for injuries based on exp..."],["To amend title 11 of the United States Code to require the public disclosure by trusts<br>established under section 524(g) of such title, of quarterly reports that contain detailed<br>information regarding the receipt and disposition of claims for injuries based on exposure<br>to asbestos; and for other purposes.","HR982"," Furthering Asbestos Claim Transparency (FACT) Act of 2013 - Amends federal bankruptcy law<br>concerning a trust formed under a reorganization plan following the discharge in<br>bankruptcy of a debtor corporation in order to assume the debtor's liability with respect<br>to claims seeking recovery for personal injury, wrongful death, or property damage<br>allegedly caused by the presence of, or exposure to, asbestos or asbestos-containing<br>products.  Requires such a trust to file with the bankruptcy court ..."],["To amend Rule 11 of the Federal Rules of Civil Procedure to improve attorney<br>accountability, and for other purposes.","HR2655","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Lawsuit Abuse Reduction Act of 2013 - Amends the sanctions provisions in<br>Rule 11 of the Federal Rules of Civil Procedure to require the court to impose an<br>appropriate sanction on any attorney, law firm, or party that has violated, or is<br>responsible for the violation of, the rule with regard to representations to the court.<br>Requires any sanction to compensate parties injured by the conduc..."],["Providing for consideration of the bill (H.R. 3350) to authorize health insurance issuers<br>to continue to offer for sale current individual health insurance coverage in satisfaction<br>of the minimum essential health insurance coverage requirement, and for other purposes.","HRES413","Sets forth the rule for consideration of the bill (H.R. 3350) to authorize health<br>insurance issuers to continue to offer for sale current individual health insurance<br>coverage in satisfaction of the minimum essential health insurance coverage requirement."],["To authorize health insurance issuers to continue to offer for sale current individual<br>health insurance coverage in satisfaction of the minimum essential health insurance<br>coverage requirement, and for other purposes.","HR3350","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Keep Your Health Plan Act of 2013 - Permits a health insurance issuer that<br>has in effect health insurance coverage in the individual market as of January 1, 2013, to<br>continue offering such coverage for sale during 2014 outside of a health care exchange<br>established under the Patient Protection and Affordable Care Act. Treats such coverage as<br>a grandfathered health plan for purposes of an ..."],["To expand the Federal Funding Accountability and Transparency Act of 2006 to increase<br>accountability and transparency in Federal spending, and for other purposes.","HR2061","Digital Accountability and Transparency Act of 2013 - (Sec. 2) States as the purposes of<br>this Act to: (1) expand the Federal Funding Accountability and Transparency Act of 2006 by<br>disclosing direct federal agency expenditures and linking federal contract, loan, and<br>grant spending information to programs of federal agencies to enable taxpayers and policy<br>makers to track federal spending more effectively; (2) provide consistent, reliable, and<br>searchable government-wide spending data that is dis..."],["Providing for consideration of the bill (H.R. 1965) to streamline and ensure onshore<br>energy permitting, provide for onshore leasing certainty, and give certainty to oil shale<br>development for American energy security, economic development, and job creation, and for<br>other purposes, and providing for consideration of the bill (H.R. 2728) to recognize<br>States' authority to regulate oil and gas operations and promote American energy security,<br>development, and job creation.","HRES419","Sets forth the rule for consideration of the bill (H.R. 1965) to streamline and ensure<br>onshore energy permitting, provide for onshore leasing certainty, and give certainty to<br>oil shale development for American energy security, economic development, and job<br>creation, and for other purposes, and providing for consideration of the bill (H.R. 2728)<br>to recognize States' authority to regulate oil and gas operations and promote American<br>energy security, development, and job creation."],["Providing for consideration of the bill (H.R. 1900) to provide for the timely<br>consideration of all licenses, permits, and approvals required under Federal law with<br>respect to the siting, construction, expansion, or operation of any natural gas pipeline<br>projects, and for other purposes.","HRES420","Sets forth the rule for consideration of the bill (H.R. 1900) to provide for the timely<br>consideration of all licenses, permits, and approvals required under Federal law with<br>respect to the siting, construction, expansion, or operation of any natural gas pipeline<br>projects."],["To streamline and ensure onshore energy permitting, provide for onshore leasing certainty,<br>and give certainty to oil shale development for American energy security, economic<br>development, and job creation, and for other purposes.","HR1965","Federal Lands Jobs and Energy Security Act of 2013 - Title I: Federal Lands Jobs and<br>Energy Security - Federal Lands Jobs and Energy Security Act - (Sec. 1002) Directs the<br>Secretary of the Interior (Secretary), when practicable, to encourage the use of U.S.<br>workers and equipment manufactured in the U.S. in all construction related to mineral<br>resource development under this Act. Subtitle A: Onshore Oil and Gas Permit Streamlining -<br>Streamlining Permitting of American Energy Act of 2013 - Chapt..."],["To recognize States' authority to regulate oil and gas operations and promote American<br>energy security, development, and job creation.","HR2728","Title I: State Authority for Hydraulic Fracturing Regulation - Protecting States' Rights<br>to Promote American Energy Security Act - (Sec. 102) Amends the Mineral Leasing Act to<br>prohibit the Department of the Interior (Department) from enforcing any federal<br>regulation, guidance, or permit requirement regarding hydraulic fracturing (including any<br>component of that process), relating to oil, gas, or geothermal production activities on<br>or under any land in any state that has regulations, guidance,..."],["To provide for the timely consideration of all licenses, permits, and approvals required<br>under Federal law with respect to the siting, construction, expansion, or operation of any<br>natural gas pipeline projects.","HR1900","(This measure has not been amended since it was reported to the House on November 18,<br>2013. The summary of that version is repeated here.) Natural Gas Pipeline Permitting<br>Reform Act - Amends the Natural Gas Act to direct the Federal Energy Regulatory Commission<br>(FERC) to approve or deny a certificate of public convenience and necessity for a prefiled<br>project within 12 months after receiving a complete application that is ready to be<br>processed.  Defines \"prefiled project\" as a project for the ..."],["To extend the application of certain space launch liability provisions through 2014.","HR3547","(This measure has not been amended since the House agreed to the Senate amendment with an<br>amendment on January 15, 2014. The summary of that version is repeated here.) Consolidated<br>Appropriations Act, 2014 - (Sec. 5) Makes appropriations for FY2014. (Sec. 6) Declares<br>that each amount designated in this Act for Overseas Contingency Operations/Global War on<br>Terrorism pursuant to the Balanced Budget and Emergency Deficit Control Act of 1985<br>(Gramm-Rudman-Hollings Act) shall be available (or resc..."],["To amend the Safe Drinking Water Act to exempt fire hydrants from the prohibition on the<br>use of lead pipes, fittings, fixtures, solder, and flux.","HR3588","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Community Fire Safety Act of 2013 - Amends the Safe Drinking Water Act to<br>exempt fire hydrants from certain prohibitions against the use of lead pipes, solder, and<br>flux. Directs the Administrator of the Environmental Protection Agency (EPA) to: (1)<br>consult with and seek the advice of the National Drinking Water Advisory Council on<br>potential changes to federal regulations pertaining to le..."],["To amend certain definitions contained in the Provo River Project Transfer Act for<br>purposes of clarifying certain property descriptions, and for other purposes.","HR255","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Provo River Project Transfer Act to modify the definition of:<br>(1) \"Pleasant Grove Property\" to mean a specified parcel of land in Utah acquired by the<br>United States for the Provo River Project, Deer Creek Division, as in existence on the<br>date on which the parcel is conveyed under such Act; and (2) \"Provo Reservoir Canal\" to<br>mean the water conveyance facility historically known..."],["To require the Transportation Security Administration to implement best practices and<br>improve transparency with regard to technology acquisition programs, and for other<br>purposes.","HR2719","(This measure has not been amended since it was passed by the Senate on December 9, 2014.<br>The summary of that version is repeated here.) Transportation Security Acquisition Reform<br>Act - (Sec. 3) Amends the Homeland Security Act of 2002 to direct the Administrator of the<br>Transportation Security Administration (TSA) to:   develop and update biennially a<br>strategic five-year technology investment plan, which may include a classified addendum to<br>report sensitive transportation security risks, tech..."],["Providing for consideration of the bill (H.R. 3309) to amend title 35, United States Code,<br>and the Leahy-Smith America Invents Act to make improvements and technical corrections,<br>and for other purposes; and providing for consideration of the bill (H.R. 1105) to amend<br>the Investment Advisers Act of 1940 to provide a registration exemption for private equity<br>fund advisers, and for other purposes.","HRES429","Sets forth the rule for consideration of the bill (H.R. 3309) to amend title 35, United<br>States Code, and the Leahy-Smith America Invents Act to make improvements and technical<br>corrections, and for other purposes; and providing for consideration of the bill (H.R.<br>1105) to amend the Investment Advisers Act of 1940 to provide a registration exemption for<br>private equity fund advisers."],["To amend the Investment Advisers Act of 1940 to provide a registration exemption for<br>private equity fund advisers, and for other purposes.","HR1105","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Small Business Capital Access and Job Preservation Act - Amends the<br>Investment Advisers Act of 1940 to exempt private equity fund investment advisers from its<br>registration and reporting requirements, provided that each private equity fund has not<br>borrowed and does not have outstanding a principal amount exceeding twice its invested<br>capital commitments. Directs the Securities and Exchange..."],["To amend title 35, United States Code, and the Leahy-Smith America Invents Act to make<br>improvements and technical corrections, and for other purposes.","HR3309","Innovation Act - (Sec. 3) Directs a party alleging infringement in a civil action<br>involving a claim for relief arising under any Act of Congress relating to patents to<br>include in the court pleadings, unless the information is not reasonably accessible,<br>specified details concerning:   each claim of each patent allegedly infringed, including<br>each accused process, machine, manufacture, or composition of matter (referred to as an<br>\"accused instrumentality\") alleged to infringe the claim;  for each..."],["To authorize Department of Veterans Affairs major medical facility leases, and for other<br>purposes.","HR3521","Department of Veterans Affairs Major Medical Facility Lease Authorization Act of 2013 -<br>Authorizes the Secretary of Veterans Affairs (VA) to carry out specified major medical<br>facility leases (leases) in New Mexico, New Jersey, South Carolina, Georgia, Hawaii,<br>Kansas, Louisiana, Florida, Puerto Rico, Texas, California, Connecticut, Massachusetts,<br>Missouri, Tennessee, Illinois, Nebraska, Arizona, and Oklahoma. Directs the Secretary, in<br>exercising the authority to enter into such leases, to reco..."],["To amend title 38, United States Code, to extend the authorization of appropriations for<br>the Secretary of Veterans Affairs to pay a monthly assistance allowance to disabled<br>veterans training or competing for the Paralympic Team and the authorization of<br>appropriations for the Secretary of Veterans Affairs to provide assistance to United<br>States Paralympics, Inc.","HR1402","(This measure has not been amended since it was passed by the House on December 10, 2013.<br>The summary of that version is repeated here.)  VA Expiring Authorities Extension Act of<br>2013 - (Sec. 4) Extends through FY2015 the authorization of appropriations to the<br>Department of Veterans Affairs (VA) for: (1) payment by the VA Secretary of a monthly<br>assistance allowance to disabled veterans (veterans) and members of the Armed Forces<br>(members) training or competing for the U.S. Paralympic Team, and..."],["To eliminate taxpayer financing of presidential campaigns and party conventions and<br>reprogram savings to provide for a 10-year pediatric research initiative through the<br>Common Fund administered by the National Institutes of Health, and for other purposes.","HR2019","(This measure has not been amended since it was passed by the House on December 11, 2013.<br>The summary of that version is repeated here.) Gabriella Miller Kids First Research Act -<br>Amends the Internal Revenue Code to terminate the entitlement of any major or minor<br>political party to a payment from the Presidential Election Campaign Fund for a<br>presidential nominating convention. Transfers amounts in each account maintained for such<br>purpose for the national committee of a party to a 10-Year Pedi..."],["To clarify certain provisions of the Native American Veterans' Memorial Establishment Act<br>of 1994.","HR2319","(This measure has not been amended since it was passed by the House on December 11, 2013.<br>The summary of that version is repeated here.) Native American Veterans' Memorial<br>Amendments Act of 2013 - Amends the Native American Veterans' Memorial Establishment Act<br>of 1994 to authorize the construction of the National Native American Veterans' Memorial<br>on the property under the jurisdiction of the National Museum of the American Indian on<br>the National Mall. (Currently, its location is restricted t..."],["A bill to authorize the Secretary of Veterans Affairs and the Secretary of the Army to<br>reconsider decisions to inter or honor the memory of a person in a national cemetery, and<br>for other purposes.","S1471","(This measure has not been amended since it was passed by the Senate on November 18, 2013.<br>The summary of that version is repeated here.) Alicia Dawn Koehl Respect for National<br>Cemeteries Act - Authorizes the appropriate federal official (either the Secretary of<br>Veterans Affairs [VA] or the Secretary of the Army) to reconsider a decision to inter or<br>honor the memory of a person in the National Cemetery Administration or in Arlington<br>National Cemetery upon receiving information that such perso..."],["To ensure compliance with the 1980 Hague Convention on the Civil Aspects of International<br>Child Abduction by countries with which the United States enjoys reciprocal obligations,<br>to establish procedures for the prompt return of children abducted to other countries, and<br>for other purposes.","HR3212","(This measure has not been amended since it was reported to the Senate on June 26, 2014.<br>The summary of that version is repeated here.) Sean and David Goldman International Child<br>Abduction Prevention and Return Act of 2014 - (Sec. 2) Expresses the sense of Congress<br>that the United States should set a strong example for other countries under the Hague<br>Convention on the Civil Aspects of International Child Abduction (Convention) in the<br>resolution of cases involving children abducted abroad and ..."],["To amend the requirements relating to assessment of Israel's qualitative military edge<br>over military threats, and for other purposes.","HR1992"," Israel QME Enhancement Act - Directs the President, on a biennial basis, to: (1) carry<br>out an assessment of the extent to which Israel possesses a qualitative military edge over<br>military threats to it, and (2) submit a related report to Congress. (Current law requires<br>an assessment on an ongoing basis and a report every four years.) Directs the Secretary of<br>State to report to Congress on: (1) the range of cyber and asymmetric threats posed to<br>Israel by state and non-state actors, and (2) joi..."],["Providing for consideration of the Senate amendment to the joint resolution (H.J. Res. 59)<br>making continuing appropriations for fiscal year 2014, and for other purposes; providing<br>for consideration of motions to suspend the rules; providing for proceedings during the<br>period from December 14, 2013, through January 6, 2014; and for other purposes.","HRES438","Sets forth the rule for consideration of the Senate amendment to the joint resolution<br>(H.J. Res. 59) making continuing appropriations for fiscal year 2014, and for other<br>purposes; providing for consideration of motions to suspend the rules; providing for<br>proceedings during the period from December 14, 2013, through January 6, 2014."],["Providing for the concurrence by the House in the Senate amendments to H.R. 3304, with an<br>amendment.","HRES441","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of the Senate amendment to H.R. 3304<br>(National Defense Authorization Act for Fiscal Year 2014)."],["To amend the Clean Air Act to remove the requirement for dealer certification of new<br>light-duty motor vehicles.","HR724","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Clean Air Act to remove the requirement that a dealer of new<br>light-duty motor vehicles furnish a certification to the purchaser that the vehicle<br>conforms to applicable regulations concerning emission standards, including notice of<br>warranty rights should the vehicle fail to conform to such regulations."],["To amend the Public Health Service Act to reauthorize the poison center national toll-free<br>number, national media campaign, and grant program, and for other purposes.","HR3527","(This measure has not been amended since it was passed by the House on January 8, 2014.<br>The summary of that version is repeated here.) Poison Center Network Act - Amends the<br>Public Health Service Act to reauthorize through FY2019: (1) a poison control nationwide-<br>toll free phone number; and (2) a national media campaign to educate the public and health<br>care providers about poison prevention and the availability of poison control center<br>resources in local communities and to conduct advertising ..."],["To eliminate certain unnecessary reporting requirements and consolidate or modify others,<br>and for other purposes.","HR3628","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Transportation Reports Elimination Act of 2014 -<br>(Sec. 2) Eliminates certain mandatory reports to specified congressional committees from<br>the Secretary of Transportation (DOT) on: (1)\u00a0 Airport Improvement Project grants, (2)<br>Pipeline Safety Information Grants to Communities, (3) the pilot program for innovative<br>financing of air traffic control equipment (under the ..."],["Providing for consideration of the bill (H.R. 2279) to amend the Solid Waste Disposal Act<br>relating to review of regulations under such Act and to amend the Comprehensive<br>Environmental Response, Compensation, and Liability Act of 1980 relating to financial<br>responsibility for classes of facilities; providing for consideration of the bill (H.R.<br>3362) to amend the Patient Protection and Affordable Care Act to require transparency in<br>the operation of American Health Benefit Exchanges; and providing for consideration of the<br>bill (H.R. 3811) to require notification of individuals of breaches of personally<br>identifiable information through Exchanges under the Patient Protection and Affordable<br>Care Act.","HRES455","Sets forth the rule for consideration of the bill (H.R. 2279) to amend the Solid Waste<br>Disposal Act relating to review of regulations under such Act and to amend the<br>Comprehensive Environmental Response, Compensation, and Liability Act of 1980 relating to<br>financial responsibility for classes of facilities; providing for consideration of the<br>bill (H.R. 3362) to amend the Patient Protection and Affordable Care Act to require<br>transparency in the operation of American Health Benefit Exchanges; an..."],["To amend the Solid Waste Disposal Act relating to review of regulations under such Act and<br>to amend the Comprehensive Environmental Response, Compensation, and Liability Act of 1980<br>relating to financial responsibility for classes of facilities.","HR2279","Title I: Reducing Excessive Deadline Obligations - Reducing Excessive Deadline Obligations<br>Act of 2014 - (Sec. 102) Amends the Solid Waste Disposal Act to remove a requirement that<br>the Administrator of the Environmental Protection Agency (EPA) review and revise<br>regulations promulgated under such Act at least every three years. (Sec. 104) Amends the<br>Comprehensive Environmental Response, Compensation, and Liability Act of 1980 (CERCLA) to<br>prohibit the President from promulgating any financial r..."],["To require notification of individuals of breaches of personally identifiable information<br>through Exchanges under the Patient Protection and Affordable Care Act.","HR3811","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Health Exchange Security and Transparency Act of 2014 - Requires the<br>Secretary of Health and Human Services (HHS) to notify an individual within two business<br>days after discovery of any breach of security of any system maintained by a health care<br>exchange established under the Patient Protection and Affordable Care Act which is known<br>to have resulted in the theft of or unlawful access to..."],["To revise the boundaries of the Gettysburg National Military Park to include the<br>Gettysburg Train Station and certain land along Plum Run in Cumberland Township, to limit<br>the means by which property within such revised boundaries may be acquired, and for other<br>purposes.","HR1513","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Requires the inclusion of the land and interests<br>commonly known as Gettysburg Train Station and its immediate surroundings in the Borough<br>of Gettysburg, Pennsylvania, and the land and interests located along Plum Run in<br>Cumberland Township, Pennsylvania, in Gettysburg National Military Park if the owner of<br>the property has provided written consent for its inclusio..."],["A bill to authorize the Peace Corps Commemorative Foundation to establish a commemorative<br>work in the District of Columbia and its environs, and for other purposes.","S230","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Authorizes the Peace Corps Commemorative Foundation to establish a<br>commemorative work on federal land in the District of Columbia to commemorate the mission<br>of the Peace Corps and the ideals on which it was founded."],["To amend the Securities Exchange Act of 1934 to provide for a notice-filing registration<br>procedure for brokers performing services in connection with the transfer of ownership of<br>smaller privately held companies and to provide for regulation appropriate to the limited<br>scope of the activities of such brokers.","HR2274","Small Business Mergers, Acquisitions, Sales, and Brokerage Simplification Act of 2014 -<br>Amends the Securities Exchange Act of 1934 to exempt from its registration requirements<br>certain merger and acquisition (M&amp;A) brokers and associated persons. Denies such<br>registration exemption, however, to brokers who: (1) receive, hold, transmit, or have<br>custody of any funds or securities to be exchanged by parties to a transfer of ownership<br>of an eligible privately held company; or (2) engage on behal..."],["To amend the Securities Exchange Act of 1934 to make the shareholder threshold for<br>registration of savings and loan holding companies the same as for bank holding companies.","HR801","Holding Company Registration Threshold Equalization Act of 2014 - Amends the Securities<br>Exchange Act of 1934 to require an issuer that is a savings and loan holding company to<br>register with the Securities and Exchange Commission (SEC) if: (1) its assets exceed $10<br>million, and (2) it has a class of equity security held of record by 2,000 or more<br>persons. Requires termination of such registration after a savings and loan holding<br>company certifies that its holders of record of that class of sec..."],["To amend title 5, United States Code, to provide that the Inspector General of the Office<br>of Personnel Management may use amounts in the revolving fund of the Office to fund<br>audits, investigations, and oversight activities, and for other purposes.","HR2860","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) OPM IG Act - Authorizes funding for the cost of audits, investigations,<br>and oversight activities conducted by the Inspector General of the Office of Personnel<br>Management (OPM) of the OPM revolving fund and activities financed by the fund. Requires<br>OPM to include in its budget submission an estimate by the Inspector General of the amount<br>required to pay the expenses to audit, investigate,..."],["Providing for consideration of the Senate amendments to the bill (H.R. 3547) to extend the<br>application of certain space launch liability provisions through 2014; providing for<br>proceedings during the period from January 17, 2014, through January 24, 2014; and for<br>other purposes.","HRES458","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 3547) to<br>extend the application of certain space launch liability provisions through 2014;<br>providing for proceedings during the period from January 17, 2014, through January 24,<br>2014."],["To amend the Patient Protection and Affordable Care Act to require transparency in the<br>operation of American Health Benefit Exchanges.","HR3362","Exchange Information Disclosure Act - Amends the Patient Protection and Affordable Care<br>Act to expand reporting requirements related to health care exchanges. Requires the<br>Secretary of Health and Human Services (HHS) to publish reports weekly through March 30,<br>2015, on: (1) consumer interactions with healthcare.gov or subsequent sites and any<br>efforts undertaken to remedy problems that impact taxpayers and consumers; (2) calls to<br>the federal customer service call center, including the number o..."],["To direct the Secretary of the Interior and Secretary of Agriculture to expedite access to<br>certain Federal lands under the administrative jurisdiction of each Secretary for good<br>Samaritan search-and-recovery missions, and for other purposes.","HR2166","Good Samaritan Search and Recovery Act - Directs the Secretary of the Interior and the<br>Secretary of Agriculture (USDA) to implement a process to provide eligible organizations<br>and individuals expedited access to federal lands to conduct good Samaritan search-and-<br>recovery missions.  Requires such process to include provisions that clarify that: (1) an<br>eligible organization or eligible individual granted access shall be acting for private<br>purposes and shall not be considered a federal volunteer..."],["Providing for consideration of the bill (H.R. 7) to prohibit taxpayer funded abortions,<br>and providing for consideration of the conference report to accompany the bill (H.R. 2642)<br>to provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2018, and for other purposes.","HRES465","Sets forth the rule for consideration of the bill (H.R. 7) to prohibit taxpayer funded<br>abortions, and providing for consideration of the conference report to accompany the bill<br>(H.R. 2642) to provide for the reform and continuation of agricultural and other programs<br>of the Department of Agriculture through fiscal year 2018."],["To prohibit taxpayer funded abortions.","HR7","No Taxpayer Funding for Abortion and Abortion Insurance Full Disclosure Act of 2014 -<br>Title I: Prohibiting Federally Funded Abortions - (Sec. 101) Prohibits the expenditure of<br>funds authorized or appropriated by federal law or funds in any trust fund to which funds<br>are authorized or appropriated by federal law (federal funds) for any abortion.<br>(Currently, federal funds cannot be used for abortion services, except in cases involving<br>rape, incest, or life endangerment.) Prohibits federal funds ..."],["To amend the Homeland Security Act of 2002 to codify authority under existing grant<br>guidance authorizing use of Urban Area Security Initiative and State Homeland Security<br>Grant Program funding for enhancing medical preparedness, medical surge capacity, and mass<br>prophylaxis capabilities.","HR1791","(This measure has not been amended since it was reported to the House on November 21,<br>2013. The summary of that version is repeated here.) Medical Preparedness Allowable Use<br>Act - Amends the Homeland Security Act of 2002 to authorize the use of Urban Area Security<br>Initiative and State Homeland Security Grant Program funding for enhancing medical<br>preparedness, medical surge capacity, and mass prophylaxis capabilities, including the<br>development and maintenance of an initial pharmaceutical stock..."],["To amend title 38, United States Code, to require courses of education provided by public<br>institutions of higher education that are approved for purposes of the educational<br>assistance programs administered by the Secretary of Veterans Affairs to charge veterans<br>tuition and fees at the in-State tuition rate.","HR357","GI Bill Tuition Fairness Act of 2014 - (Sec. 4) Directs the Secretary of Veterans Affairs<br>(VA), for purposes of the All-Volunteer Force Educational Assistance Program and the<br>program providing educational assistance to individuals who commenced service in the Armed<br>Forces on or after September 11, 2001, to disapprove courses of education provided by a<br>public institution of higher education (IHE) that charges tuition and fees for veterans<br>living in the state in which the IHE is located at a hi..."],["Providing for consideration of the bill (H.R. 3590) to protect and enhance opportunities<br>for recreational hunting, fishing, and shooting, and for other purposes.","HRES470","Sets forth the rule for consideration of the bill (H.R. 3590) to protect and enhance<br>opportunities for recreational hunting, fishing, and shooting."],["Providing for consideration of the bill (H.R. 2954) to authorize Escambia County, Florida,<br>to convey certain property that was formerly part of Santa Rosa Island National Monument<br>and that was conveyed to Escambia County subject to restrictions on use and reconveyance,<br>and providing for consideration of the bill (H.R. 3964) to address certain water-related<br>concerns in the Sacramento-San Joaquin Valley, and for other purposes.","HRES472","Sets forth the rule for consideration of the bill (H.R. 2954) to authorize Escambia<br>County, Florida, to convey certain property that was formerly part of Santa Rosa Island<br>National Monument and that was conveyed to Escambia County subject to restrictions on use<br>and reconveyance, and providing for consideration of the bill (H.R. 3964) to address<br>certain water-related concerns in the Sacramento-San Joaquin Valley."],["To protect and enhance opportunities for recreational hunting, fishing, and shooting, and<br>for other purposes.","HR3590","Sportsmen's Heritage And Recreational Enhancement Act or the SHARE Act - (Sec. 3) Requires<br>the Secretary of the Interior to report to Congress, not later than 12 months after<br>enactment of this Act, an assessment of its expected economic impacts, including a review<br>of expected increases in recreational hunting, fishing, shooting, and conservation<br>activities.  Title I: Hunting, Fishing and Recreational Shooting Protection Act - Hunting,<br>Fishing, and Recreational Shooting Protection Act - (Sec. ..."],["To address certain water-related concerns in the Sacramento-San Joaquin Valley, and for<br>other purposes.","HR3964","Sacramento-San Joaquin Valley Emergency Water Delivery Act - Title I: Central Valley<br>Project Water Reliability - (Sec. 101) Amends the Central Valley Project Improvement Act<br>(CVPIA) to include among the Act's purposes to: (1) ensure that water dedicated to fish<br>and wildlife purposes is replaced and provided to Central Valley Project (CVP) water<br>contractors by December 31, 2018, at the lowest cost reasonably achievable, and (2)<br>facilitate and expedite water transfers in accordance with that Ac..."],["To authorize Escambia County, Florida, to convey certain property that was formerly part<br>of Santa Rosa Island National Monument and that was conveyed to Escambia County subject to<br>restrictions on use and reconveyance.","HR2954","Public Access and Lands Improvement Act - Title I: Santa Rosa Island Title Fairness and<br>Land Preservation Act - Santa Rosa Island Title Fairness and Land Preservation Act - (Sec.<br>102) Authorizes Escambia County, Florida, at its discretion, to convey or dispose of all<br>of its interest in any part of the property on Santa Rosa Island that was conveyed to it<br>by the federal government pursuant to a specified Act and deed to any person or entity,<br>free from any restriction on conveyance or reconveya..."],["To reauthorize the National Integrated Drought Information System.","HR2431","(This measure has not been amended since it was passed by the House on February 10, 2014.<br>The summary of that version is repeated here.)  National Integrated Drought Information<br>System Reauthorization Act of 2014 - Amends the National Integrated Drought Information<br>System Act of 2006 to specify that the National Integrated Drought Information System<br>(NIDIS) Program's purpose shall be to better inform and provide for more timely<br>decisionmaking to reduce drought related impacts and costs.  Revi..."],["Providing for consideration of the bill (H.R. 3193) to amend the Consumer Financial<br>Protection Act of 2010 to strengthen the review authority of the Financial Stability<br>Oversight Council of regulations issued by the Bureau of Consumer Financial Protection,<br>and for other purposes; providing for proceedings during the period from February 13,<br>2014, through February 24, 2014; and for other purposes.","HRES475","Sets forth the rule for consideration of the bill (H.R. 3193) to amend the Consumer<br>Financial Protection Act of 2010 to strengthen the review authority of the Financial<br>Stability Oversight Council of regulations issued by the Bureau of Consumer Financial<br>Protection, and for other purposes; providing for proceedings during the period from<br>February 13, 2014, through February 24, 2014."],["A bill to direct the Secretary of the Interior to convey certain Federal features of the<br>electric distribution system to the South Utah Valley Electric Service District, and for<br>other purposes.","S25","(This measure has not been amended since it was passed by the House on February 11, 2014.<br>The summary of that version is repeated here.) Amends the Balanced Budget and Emergency<br>Deficit Control Act of 1985, with respect to the implementation of direct spending<br>reductions, to require the President to order a sequestration for FY2024 on the date the<br>Office of Management and Budget (OMB) issues its sequestration preview report for such<br>fiscal year. Makes the reduction in annual cost-of-living ad..."],["To amend the Securities Exchange Act of 1934 to provide for an optional pilot program<br>allowing certain emerging growth companies to increase the tick sizes of their stocks.","HR3448"," Small Cap Liquidity Reform Act of 2014 - Amends the Securities Exchange Act of 1934 to<br>establish a pilot liquidity program for equity securities of emerging growth companies<br>(EGCs) with total annual gross revenues of less than $750 million, under which those<br>securities shall be quoted using either: (1) a minimum increment of $0.05 or $0.10, or (2)<br>the increment at which the securities would be quoted without regard to such minimum<br>increments.  Repeals the requirement for an SEC study examini..."],["To amend section 552 of title 5, United States Code (commonly known as the Freedom of<br>Information Act), to provide for greater public access to information, and for other<br>purposes.","HR1211","FOIA Oversight and Implementation Act of 2014 or the FOIA ACT - (Sec. 2) Amends the<br>Freedom of Information Act (FOIA) to:  require federal agencies to make disclosable public<br>records available in an electronic, publicly accessible format;  require the Office of<br>Management and Budget (OMB) to ensure the existence and operation of a single, free<br>website for submitting requests for records, receiving automated information about the<br>status of a FOIA request, and filing appeals;  prohibit an agenc..."],["To promote consumer choice and wireless competition by permitting consumers to unlock<br>mobile wireless devices, and for other purposes.","HR1123","Unlocking Consumer Choice and Wireless Competition Act - Repeals a Library of Congress<br>(LOC) rulemaking determination, made upon the recommendation of the Register of<br>Copyrights, regarding the circumvention of technological measures controlling access to<br>copyrighted software on wireless telephone handsets (mobile telephones) for the purpose of<br>connecting to different wireless telecommunications networks (a practice commonly referred<br>to as \"unlocking\" such devices). Reestablishes, as an exempt..."],["Providing for consideration of the bill (H.R. 3865) to prohibit the Internal Revenue<br>Service from modifying the standard for determining whether an organization is operated<br>exclusively for the promotion of social welfare for purposes of section 501(c)(4) of the<br>Internal Revenue Code of 1986; providing for consideration of the bill (H.R. 2804) to<br>amend title 5, United States Code, to require the Administrator of the Office of<br>Information and Regulatory Affairs to publish information about rules on the Internet, and<br>for other purposes; and providing for consideration of motions to suspend the rules.","HRES487","Sets forth the rule for consideration of the bill (H.R. 3865) to prohibit the Internal<br>Revenue Service from modifying the standard for determining whether an organization is<br>operated exclusively for the promotion of social welfare for purposes of section 501(c)(4)<br>of the Internal Revenue Code of 1986; providing for consideration of the bill (H.R. 2804)<br>to amend title 5, United States Code, to require the Administrator of the Office of<br>Information and Regulatory Affairs to publish information ..."],["To protect private property rights.","HR1944","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here, with an updated short title.) Private Property<br>Rights Protection Act of 2014 - (Sec. 2) Prohibits a state or political subdivision from<br>exercising its power of eminent domain, or allowing the exercise of such power by<br>delegation, over property to be used for economic development or over property that is<br>used for economic development within seven years after that exe..."],["To prohibit the Internal Revenue Service from modifying the standard for determining<br>whether an organization is operated exclusively for the promotion of social welfare for<br>purposes of section 501(c)(4) of the Internal Revenue Code of 1986.","HR3865","(This measure has not been amended since it was reported to the House on February 18,<br>2014. The summary of that version is repeated here.) Stop Targeting of Political Beliefs<br>by the IRS Act of 2014 - Requires the Internal Revenue Service (IRS) standards and<br>definitions in effect on January 1, 2010, for determining whether an organization<br>qualifies for tax-exempt status as an organization operated exclusively for social welfare<br>to apply to such determinations after enactment of this Act. Prohi..."],["To amend title 5, United States Code, to require the Administrator of the Office of<br>Information and Regulatory Affairs to publish information about rules on the Internet, and<br>for other purposes.","HR2804","Achieving Less Excess in Regulation and Requiring Transparency Act of 2014 or the ALERRT<br>Act of 2014 - Title I: All Economic Regulations Are Transparent Act - All Economic<br>Regulations are Transparent Act of 2014 or the ALERT Act of 2014 - (Sec. 102) Requires the<br>head of each federal agency to submit a monthly report to the Administrator of the Office<br>of Information and Regulatory Affairs of the Office of Management and Budget (OMB) for<br>each rule such agency expects to propose or finalize duri..."],["Providing for consideration of the bill (H.R. 899) to provide for additional safeguards<br>with respect to imposing Federal mandates, and for other purposes.","HRES492","Sets forth the rule for consideration of the bill (H.R. 899) to provide for additional<br>safeguards with respect to imposing Federal mandates."],["To amend the Consumer Financial Protection Act of 2010 to strengthen the review authority<br>of the Financial Stability Oversight Council of regulations issued by the Bureau of<br>Consumer Financial Protection, and for other purposes.","HR3193"," Consumer Financial Freedom and Washington Accountability Act - (Sec. 2) Amends the<br>Consumer Financial Protection Act of 2010 to establish, in lieu of the Consumer Financial<br>Protection Bureau (CFPB), an independent Financial Product Safety Commission to regulate<br>the offering and provision of consumer financial products or services under federal<br>consumer financial laws.  Replaces the position of Director of the CFPB with a Commission<br>composed of the Vice Chairman for Supervision of the Federal..."],["To provide for additional safeguards with respect to imposing Federal mandates, and for<br>other purposes.","HR899","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here, with an updated short title.) Unfunded Mandates Information and<br>Transparency Act of 2014 - States as the purposes of this Act to: (1) improve the quality<br>of the deliberations of Congress with respect to proposed federal mandates by providing<br>Congress and the public with more complete information about the effects of such mandates<br>and by ensuring that Congress acts on such mandates only af..."],["To delay the implementation of certain provisions of the Biggert-Waters Flood Insurance<br>Reform Act of 2012, and for other purposes.","HR3370","Homeowner Flood Insurance Affordability Act of 2014 - (Sec. 3) Amends the National Flood<br>Insurance Act of 1968 (NFIA) to repeal the prohibition against any extension by the<br>Administrator of the Federal Emergency Management Agency (FEMA) of flood insurance premium<br>subsidies to prospective insureds for property: (1) not insured as of the date of<br>enactment of the Biggert-Waters Flood Insurance Reform Act of 2012, or (2) purchased after<br>such date. Directs FEMA to: (1) make available rate tables t..."],["Supporting the people of Venezuela as they protest peacefully for democratic change and<br>calling to end the violence.","HRES488","Supports the people of Venezuela in their pursuit of freedom of expression and assembly to<br>promote democratic principles in Venezuela.  Deplores the violence and political<br>intimidation perpetrated against opposition leaders and protesters in Venezuela and the<br>growing use of politically motivated criminal charges to intimidate the political<br>opposition.  Urges the international community to stand in solidarity with the people of<br>Venezuela and to encourage dialogue between the government and the..."],["Providing for consideration of the bill (H.R. 3826) to provide direction to the<br>Administrator of the Environmental Protection Agency regarding the establishment of<br>standards for emissions of any greenhouse gas from fossil fuel-fired electric utility<br>generating units, and for other purposes, and providing for consideration of the bill<br>(H.R. 4118) to amend the Internal Revenue Code of 1986 to delay the implementation of the<br>penalty for failure to comply with the individual health insurance mandate.","HRES497","Sets forth the rule for consideration of the bill (H.R. 3826) to provide direction to the<br>Administrator of the Environmental Protection Agency regarding the establishment of<br>standards for emissions of any greenhouse gas from fossil fuel-fired electric utility<br>generating units, and for other purposes, and providing for consideration of the bill<br>(H.R. 4118) to amend the Internal Revenue Code of 1986 to delay the implementation of the<br>penalty for failure to comply with the individual health insu..."],["To strengthen the strategic alliance between the United States and Israel, and for other<br>purposes.","HR938","United States-Israel Strategic Partnership Act of 2014 - (Sec. 3) Declares that Israel is<br>a major strategic partner of the United States. Title I: United States-Israel Strategic<br>Alliance - (Sec. 101) Amends the United States-Israel Enhanced Security Cooperation Act of<br>2012 to change language regarding certain actions to assist in the defense of Israel and<br>to protect U.S. interests from a \"sense of Congress\" to actions the \"President should<br>take.\" Requires the President to report to Congress r..."],["To amend the Internal Revenue Code of 1986 to delay the implementation of the penalty for<br>failure to comply with the individual health insurance mandate.","HR4118","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Suspending the Individual Mandate Penalty Law Equals Fairness Act or the<br>SIMPLE Fairness Act - Amends the Internal Revenue Code to delay until 2015 the imposition<br>of the monthly penalty amount on individual taxpayers for failure to purchase minimum<br>essential health care coverage."],["To facilitate better alignment, cooperation, and best practices between commercial real<br>estate landlords and tenants regarding energy efficiency in buildings, and for other<br>purposes.","HR2126","Energy Efficiency Improvement Act of 2014 - Better Buildings Act of 2014 - Title I: Better<br>Buildings - (Sec. 102) Requires the Administrator of General Services (GSA), in<br>consultation with the Secretary of Energy (DOE), to develop and publish model commercial<br>leasing provisions for use in leasing documents that designate a federal agency as a<br>landlord or tenant that encourage building owners and tenants to invest in cost-effective<br>energy and water efficiency measures. Requires the Administrat..."],["Providing for consideration of the bill (H.R. 2824) to amend the Surface Mining Control<br>and Reclamation Act of 1977 to stop the ongoing waste by the Department of the Interior of<br>taxpayer resources and implement the final rule on excess spoil, mining waste, and buffers<br>for perennial and intermittent streams, and for other purposes; providing for<br>consideration of the bill (H.R. 2641) to provide for improved coordination of agency<br>actions in the preparation and adoption of environmental documents for permitting<br>determinations, and for other purposes; and providing for consideration of motions to<br>suspend the rules.","HRES501","Sets forth the rule for consideration of the bill (H.R. 2824) to amend the Surface Mining<br>Control and Reclamation Act of 1977 to stop the ongoing waste by the Department of the<br>Interior of taxpayer resources and implement the final rule on excess spoil, mining waste,<br>and buffers for perennial and intermittent streams, and for other purposes; providing for<br>consideration of the bill (H.R. 2641) to provide for improved coordination of agency<br>actions in the preparation and adoption of environment..."],["To provide direction to the Administrator of the Environmental Protection Agency regarding<br>the establishment of standards for emissions of any greenhouse gas from fossil fuel-fired<br>electric utility generating units, and for other purposes.","HR3826","Electricity Security and Affordability Act - (Sec. 2) Prohibits the Administrator of the<br>Environmental Protection Agency (EPA) from issuing, implementing, or enforcing any<br>proposed or final rule under the Clean Air Act that establishes a performance standard for<br>greenhouse gas emissions from any new source that is a fossil fuel-fired electric utility<br>generating unit unless the rule meets specified requirements of this Act. Requires the<br>Administrator to separate sources fueled with coal and na..."],["To provide for improved coordination of agency actions in the preparation and adoption of<br>environmental documents for permitting determinations, and for other purposes.","HR2641","Responsibly And Professionally Invigorating Development Act of 2014 or the RAPID Act -<br>(Sec. 2) States that the purpose of this Act is to establish procedures to streamline,<br>increase the efficiency of, and enhance coordination of agency administration of the<br>regulatory review, environmental decision making, and permitting process for major actions<br>that are construction activities undertaken, reviewed, or funded by federal agencies.<br>Authorizes a project sponsor, upon the request of a lead agen..."],["To provide for the costs of loan guarantees for Ukraine.","HR4152","(This measure has not been amended since it was passed by the Senate on March 27, 2014.<br>The summary of that version is repeated here.) Support for the Sovereignty, Integrity,<br>Democracy, and Economic Stability of Ukraine Act of 2014 - (Sec. 4) Makes available to<br>Ukraine for loan guarantees specified funds under the Consolidated Appropriations Act,<br>2014 and funds under prior Acts for the Department of State, foreign operations, and<br>related programs. States that such amounts shall not be conside..."],["To amend the Internal Revenue Code of 1986 to allow employers to exempt employees with<br>health coverage under TRICARE or the Veterans Administration from being taken into account<br>for purposes of the employer mandate under the Patient Protection and Affordable Care Act.","HR3474","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here, with an updated short title.) Hire More Heroes Act of 2014 - Amends the<br>Internal Revenue Code to permit an employer, for purposes of determining whether such<br>employer is an applicable large employer and thus required to provide health care coverage<br>to its employees under the Patient Protection and Affordable Care Act, to exclude<br>employees who have coverage under a health care program admi..."],["To amend the Internal Revenue Code of 1986 to ensure that emergency services volunteers<br>are not taken into account as employees under the shared responsibility requirements<br>contained in the Patient Protection and Affordable Care Act.","HR3979","(This measure has not been amended since the House agreed with an amendment to the Senate<br>amendment on December 4, 2014. The summary of that version is repeated here.)  Carl Levin<br>and Howard P. \"Buck\" McKeon National Defense Authorization Act for Fiscal Year 2015 -<br>Division A: Department of Defense Authorizations - Title I: Procurement - Subtitle A:<br>Authorization of Appropriations - (Sec. 101) Authorizes FY2015 appropriations for<br>Procurement for the Army, Navy and Marine Corps, Air Force, and..."],["Condemning the violation of Ukrainian sovereignty, independence, and territorial integrity<br>by military forces of the Russian Federation.","HRES499","Condemns Russia's military violation of Ukrainian sovereignty, independence, and<br>territorial integrity.  States that Russia's military intervention: (1) is in breach of<br>its United Nations (U.N.) obligations, and of the 1994 Budapest Memorandum on Security<br>Assurances in which it pledged to respect Ukraine's independence and existing borders; and<br>(2) poses a threat to international peace and security.  Calls on Russia to remove its<br>military forces from Ukraine's Crimean peninsula, other than th..."],["Providing for consideration of the bill (H.R. 4138) to protect the separation of powers in<br>the Constitution of the United States by ensuring that the President takes care that the<br>laws be faithfully executed, and for other purposes, and providing for consideration of<br>the bill (H.R. 3973) to amend section 530D of title 28, United States Code.","HRES511","Sets forth the rule for consideration of the bill (H.R. 4138) to protect the separation of<br>powers in the Constitution of the United States by ensuring that the President takes care<br>that the laws be faithfully executed, and for other purposes, and providing for<br>consideration of the bill (H.R. 3973) to amend section 530D of title 28, United States<br>Code."],["To protect the separation of powers in the Constitution of the United States by ensuring<br>that the President takes care that the laws be faithfully executed, and for other<br>purposes.","HR4138","Executive Needs to Faithfully Observe and Respect Congressional Enactments of the Law Act<br>of 2014 or the ENFORCE the Law Act of 2014 - Authorizes either chamber of Congress, upon<br>adoption of a resolution declaring that the President or any officer or employee of the<br>United States has established or implemented a policy, practice, or procedure to refrain<br>from enforcing, applying, following, or administering any federal statute, rule,<br>regulation, program, policy, or other law in violation of th..."],["Providing for consideration of the bill (H.R. 3189) to prohibit the conditioning of any<br>permit, lease, or other use agreement on the transfer, relinquishment, or other impairment<br>of any water right to the United States by the Secretaries of the Interior and<br>Agriculture; providing for consideration of the bill (H.R. 4015) to amend title XVIII of<br>the Social Security Act to repeal the Medicare sustainable growth rate and improve<br>Medicare payments for physicians and other professionals, and for other purposes; and<br>providing for proceedings during the period from March 17, 2014, through March 21, 2014.","HRES515","Sets forth the rule for consideration of the bill (H.R. 3189) to prohibit the conditioning<br>of any permit, lease, or other use agreement on the transfer, relinquishment, or other<br>impairment of any water right to the United States by the Secretaries of the Interior and<br>Agriculture; providing for consideration of the bill (H.R. 4015) to amend title XVIII of<br>the Social Security Act to repeal the Medicare sustainable growth rate and improve<br>Medicare payments for physicians and other professionals,..."],["To amend section 530D of title 28, United States Code.","HR3973","Faithful Execution of the Law Act of 2014 - Expands the circumstances under which the<br>Attorney General is required to report to Congress regarding the enforcement of laws to<br>include any instance in which the Attorney General, an officer of the Department of<br>Justice (DOJ), or any other federal officer establishes or implements a policy to refrain<br>from: (1) enforcing, applying, or administering any federal statute, rule, regulation,<br>program, policy, or other law within the responsibility of the..."],["To prohibit the conditioning of any permit, lease, or other use agreement on the transfer,<br>relinquishment, or other impairment of any water right to the United States by the<br>Secretaries of the Interior and Agriculture.","HR3189","Water Rights Protection Act - Prohibits the Secretary of the Interior and the Secretary of<br>Agriculture (USDA) from: (1) conditioning the issuance, renewal, amendment, or extension<br>of any permit, approval, license, lease, allotment, easement, right-of-way, or other land<br>use or occupancy agreement on the transfer of any water right (including joint or sole<br>ownership) directly to the United States, or any impairment in title, in whole or in part,<br>granted or recognized under state law, by federal..."],["To amend title XVIII of the Social Security Act to repeal the Medicare sustainable growth<br>rate and improve Medicare payments for physicians and other professionals, and for other<br>purposes.","HR4015","SGR Repeal and Medicare Provider Payment Modernization Act of 2014 - (Sec. 2) Amends part<br>B (Supplementary Medical Insurance) of title XVIII (Medicare) of the Social Security Act<br>(SSA) to: (1) end with 2013 the current formula for an update to the single conversion<br>factor in the formula for payment for physicians' services, (2) end and remove sustainable<br>growth rate (SGR) methodology from the determination of such annual conversion factors,<br>(3) prescribe an update to the single conversion fac..."],["To designate the facility of the United States Postal Service located at 232 Southwest<br>Johnson Avenue in Burleson, Texas, as the \"Sergeant William Moody Post Office Building\".","HR3060","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)Designates the facility of the United States Postal Service located at 232<br>Southwest Johnson Avenue in Burleson, Texas, as the \"Sergeant William Moody Post Office<br>Building.\""],["To amend the Surface Mining Control and Reclamation Act of 1977 to stop the ongoing waste<br>by the Department of the Interior of taxpayer resources and implement the final rule on<br>excess spoil, mining waste, and buffers for perennial and intermittent streams, and for<br>other purposes.","HR2824","Preventing Government Waste and Protecting Coal Mining Jobs in America - Amends the<br>Surface Mining Control and Reclamation Act of 1977 to require state programs for<br>regulation of surface coal mining to incorporate the necessary rule concerning excess<br>spoil, coal mine waste, and buffers for perennial and intermittent streams published by<br>the Office of Surface Mining Reclamation and Enforcement on December 12, 2008. Requires<br>the Secretary of the Interior to: (1) publish notice of a determinatio..."],["Providing for consideration of the bill (H.R. 1459) to ensure that the National<br>Environmental Policy Act of 1969 applies to the declaration of national monuments, and for<br>other purposes, and providing for consideration of motions to suspend the rules.","HRES524","Sets forth the rule for consideration of the bill (H.R. 1459) to ensure that the National<br>Environmental Policy Act of 1969 applies to the declaration of national monuments, and for<br>other purposes, and providing for consideration of motions to suspend the rules."],["To designate the facility of the United States Postal Service located at 300 Packerland<br>Drive in Green Bay, Wisconsin, as the \"Corporal Justin D. Ross Post Office Building\".","HR1228"," Designates the facility of the United States Postal Service located at 123 South 9th<br>Street in De Pere, Wisconsin, as the \"Corporal Justin D. Ross Post Office Building.\""],["To ensure that the National Environmental Policy Act of 1969 applies to the declaration of<br>national monuments, and for other purposes.","HR1459","Ensuring Public Involvement in the Creation of National Monuments Act - Amends the<br>Antiquities Act of 1906 to subject national monument declarations by the President to the<br>National Environmental Policy Act of 1969 (NEPA).  Prohibits: (1) the President from<br>making more than one such declaration in a state during any presidential four-year term of<br>office without an express Act of Congress, or (2) such a declaration from including<br>private property without the informed written consent of the aff..."],["To support the independence, sovereignty, and territorial integrity of Ukraine, and for<br>other purposes.","HR4278","Ukraine Support Act - (Sec. 2) Sets forth U.S. policy regarding Ukraine, including: (1)<br>support for the sovereignty and territorial integrity of a democratic Ukraine, and (2)<br>condemnation of Russia's armed intervention into Ukraine and its illegal annexation of<br>Crimea. Title I: Assistance Provisions - (Sec. 101) Authorizes and encourages the<br>President to provide assistance to support democracy and civil society, including<br>community- and faith-based organizations, in Ukraine by: (1) improving ..."],["A bill entitled \"United States International Programming to Ukraine and Neighboring<br>Regions\".","S2183","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) Directs Radio Free Europe/Radio Liberty (RFE/RL),<br>Incorporated, and the Voice of America (VOA) service to Ukraine and neighboring regions<br>to: (1) provide accurate and accessible news and information; (2) emphasize investigative<br>and analytical journalism to highlight misinformation provided by Russian or pro-Russian<br>media outlets; (3) prioritize programming to target..."],["Providing for consideration of the bill (H.R. 2575) to amend the Internal Revenue Code of<br>1986 to repeal the 30-hour threshold for classification as a full-time employee for<br>purposes of the employer mandate in the Patient Protection and Affordable Care Act and<br>replace it with 40 hours.","HRES530","Sets forth the rule for consideration of the bill (H.R. 2575) to amend the Internal<br>Revenue Code of 1986 to repeal the 30-hour threshold for classification as a full-time<br>employee for purposes of the employer mandate in the Patient Protection and Affordable<br>Care Act and replace it with 40 hours."],["To amend the Internal Revenue Code of 1986 to repeal the 30-hour threshold for<br>classification as a full-time employee for purposes of the employer mandate in the Patient<br>Protection and Affordable Care Act and replace it with 40 hours.","HR2575","(This measure has not been amended since it was reported to the House on March 26, 2014.<br>The summary of that version is repeated here.) Save American Workers Act of 2014 - Amends<br>the Internal Revenue Code, as amended by the Patient Protection and Affordable Care Act,<br>to redefine \"full-time employee,\" for purposes of the mandate requiring employers to<br>provide health care coverage for their employees, as an employee who is employed on<br>average at least 40 hours of service a week (currently, at l..."],["Providing for consideration of the bill (H.R. 1874) to amend the Congressional Budget Act<br>of 1974 to provide for macroeconomic analysis of the impact of legislation, providing for<br>consideration of the bill (H.R. 1871) to amend the Balanced Budget and Emergency Deficit<br>Control Act of 1985 to reform the budget baseline, and providing for consideration of the<br>bill (H.R. 1872) to amend the Balanced Budget and Emergency Deficit Control Act of 1985 to<br>increase transparency in Federal budgeting, and for other purposes.","HRES539","Sets forth the rule for consideration of the bill (H.R. 1874) to amend the Congressional<br>Budget Act of 1974 to provide for macroeconomic analysis of the impact of legislation,<br>providing for consideration of the bill (H.R. 1871) to amend the Balanced Budget and<br>Emergency Deficit Control Act of 1985 to reform the budget baseline, and providing for<br>consideration of the bill (H.R. 1872) to amend the Balanced Budget and Emergency Deficit<br>Control Act of 1985 to increase transparency in Federal budg..."],["To amend the Congressional Budget Act of 1974 to provide for macroeconomic analysis of the<br>impact of legislation.","HR1874","Pro-Growth Budgeting Act of 2014 - Amends the Congressional Budget Act of 1974 (CBA) to<br>require the Congressional Budget Office (CBO) to prepare for each major bill or resolution<br>reported by any congressional committee (except the congressional appropriations<br>committees), as a supplement to CBO cost estimates, a macroeconomic impact analysis of the<br>budgetary effects of such legislation for the 10-fiscal year period beginning with the<br>first fiscal year for which such estimate was prepared and ..."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985 to increase<br>transparency in Federal budgeting, and for other purposes.","HR1872","(This measure has not been amended since it was reported to the House on March 18, 2014.<br>The summary of that version is repeated here.) Budget and Accounting Transparency Act of<br>2014 - Title I: Fair Value Estimates - (Sec. 101) Amends the Federal Credit Reform Act of<br>1990 (FCRA) (title V of the Congressional Budget Act of 1974 [CBA]) to:  rename the FCRA<br>the Fair Value Accounting Act of 2014 (FVAA of 2014); and revise the budgetary treatment<br>of federal direct loans and loan guarantees to acco..."],["To amend the Balanced Budget and Emergency Deficit Control Act of 1985 to reform the<br>budget baseline.","HR1871","Baseline Reform Act of 2014 - Amends the Balanced Budget and Emergency Deficit Control Act<br>of 1985 (Gramm-Rudman-Hollings Act) to revise the formula for establishing the budget<br>baseline. Revises the annual baseline, for any fiscal year, to mean a projection of<br>current-year levels of new budget authority (as under current law), outlays (as under<br>current law), or receipts (instead of revenues) and the surplus or deficit (as under<br>current law) for the current year, the budget year, and the ensui..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 96) establishing<br>the budget for the United States Government for fiscal year 2015 and setting forth<br>appropriate budgetary levels for fiscal years 2016 through 2024, and providing for<br>proceedings during the period from April 11, 2014, through April 25, 2014.","HRES544","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 96)<br>establishing the budget for the United States Government for fiscal year 2015 and setting<br>forth appropriate budgetary levels for fiscal years 2016 through 2024, and providing for<br>proceedings during the period from April 11, 2014, through April 25, 2014."],["Establishing the budget for the United States Government for fiscal year 2015 and setting<br>forth appropriate budgetary levels for fiscal years 2016 through 2024.","HCONRES96","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Sets forth the congressional budget for the<br>federal government for FY2015, including the appropriate budgetary levels for<br>FY2016-FY2024.  Title I: Recommended Levels and Amounts - (Sec. 101) Lists recommended<br>budgetary levels and amounts for FY2015-FY2024 with respect to: (1) federal revenues, (2)<br>new budget authority, (3) budget outlays, (4) deficits (on-budget), ..."],["To amend the Act entitled \"An Act to regulate the height of buildings in the District of<br>Columbia\" to clarify the rules of the District of Columbia regarding human occupancy of<br>penthouses above the top story of the building upon which the penthouse is placed.","HR4192","(This measure has not been amended since it was passed by the House on April 28, 2014. The<br>summary of that version is repeated here.) Amends the District of Columbia Code with<br>respect to building height limitations for penthouses for human occupancy. Permits the<br>construction or use for human occupancy of a penthouse which is erected to a height of one<br>story of 20 feet or less above the level of the roof of the building upon which the<br>penthouse is placed."],["Providing for consideration of the bill (H.R. 4414) to clarify the treatment under the<br>Patient Protection and Affordable Care Act of health plans in which expatriates are the<br>primary enrollees, and for other purposes.","HRES555","Sets forth the rule for consideration of the bill (H.R. 4414) to clarify the treatment<br>under the Patient Protection and Affordable Care Act of health plans in which expatriates<br>are the primary enrollees."],["To provide for the issuance of coins to commemorate the 100th anniversary of the<br>establishment of the National Park Service, and for other purposes.","HR627","National Park Service 100th Anniversary Commemorative Coin Act - Directs the Secretary of<br>the Treasury to mint and issue gold, silver, and half-dollar clad coins in commemoration<br>of the 100th anniversary of the establishment of the National Park Service (NPS).<br>Authorizes the issuance of coins under this Act only for a one-year period, beginning on<br>January 1, 2016.  Requires the Secretary to make bulk sales of the coins issued under this<br>Act at a reasonable discount.  Requires all sales of co..."],["Providing for consideration of the bill (H.R. 4486) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2015, and for other purposes; and providing for consideration of the<br>bill (H.R. 4487) making appropriations for the Legislative Branch for the fiscal year<br>ending September 30, 2015, and for other purposes.","HRES557","Sets forth the rule for consideration of the bill (H.R. 4486) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2015, and for other purposes; and providing for<br>consideration of the bill (H.R. 4487) making appropriations for the Legislative Branch for<br>the fiscal year ending September 30, 2015."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2015, and for other purposes.","HR4486","Military Construction and Veterans Affairs, and Related Agencies Appropriations Act, 2015<br>- Title I: Department of Defense - Appropriates funds for FY2015 for the Department of<br>Defense (DOD) for: (1) military construction for the Army, Navy and Marine Corps, and Air<br>Force (military departments), DOD, the Army and Air National Guard, and the Army, Navy,<br>and Air Force reserves; (2) the North Atlantic Treaty Organization (NATO) Security<br>Investment Program; (3) family housing construction and rel..."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2015, and for other purposes.","HR4487","Legislative Branch Appropriations Act, 2015 - Title I: Legislative Branch - Makes<br>appropriations to the Senate for FY2015 for: (1) expense allowances; (2) representation<br>allowances for the Majority and Minority Leaders; (3) salaries of specified officers,<br>employees, and committees (including the Committee on Appropriations); (4) agency<br>contributions for employee benefits; (5) inquiries and investigations; (6) the U.S. Senate<br>Caucus on International Narcotics Control; (7) the Offices of the Se..."],["To amend chapter 97 of title 28, United States Code, to clarify the exception to foreign<br>sovereign immunity set forth in section 1605(a)(3) of such title.","HR4292","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Foreign Cultural Exchange Jurisdictional Immunity Clarification Act -<br>Amends the federal judicial code with respect to denial of a foreign state's immunity from<br>the jurisdiction of U.S. or state courts (under the Foreign Sovereign Immunities Act) in<br>cases where rights in property taken in violation of international law are in issue and<br>that property (or any property exchanged for it) is:..."],["To amend the Federal Home Loan Bank Act to authorize privately insured credit unions to<br>become members of a Federal home loan bank, and for other purposes.","HR3584","Capital Access for Small Community Financial Institutions Act of 2014 - (Sec. 2) Amends<br>the Federal Home Loan Bank Act to treat certain privately insured credit unions as insured<br>depository institutions for purposes of determining eligibility for membership in a<br>federal home loan bank.  Permits a credit union which lacks federal deposit insurance and<br>has applied for membership in a federal home loan bank to be treated as meeting all the<br>eligibility requirements for federal deposit insurance i..."],["Relating to the consideration of House Report 113-415 and an accompanying resolution, and<br>providing for consideration of the resolution (H. Res. 565) calling on Attorney General<br>Eric H. Holder, Jr., to appoint a special counsel to investigate the targeting of<br>conservative nonprofit groups by the Internal Revenue Service.","HRES568","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Provides for consideration and debate of House Report 113-415 and the<br>accompanying resolution finding Lois G. Lerner, former Director, Exempt Organizations,<br>Internal Revenue Service (IRS), in contempt of Congress for refusal to comply with a<br>subpoena issued by the House Committee on Oversight and Government Reform. Makes it in<br>order, upon adoption of such resolution, without intervention..."],["Providing for consideration of the bill (H.R. 4438) to amend the Internal Revenue Code of<br>1986 to simplify and make permanent the research credit.","HRES569","Sets forth the rule for consideration of the bill (H.R. 4438) to amend the Internal<br>Revenue Code of 1986 to simplify and make permanent the research credit."],["Recommending that the House of Representatives find Lois G. Lerner, former Director,<br>Exempt Organizations, Internal Revenue Service, in contempt of Congress for refusal to<br>comply with a subpoena duly issued by the Committee on Oversight and Government Reform.","HRES574","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Resolves that Lois G. Lerner, former Director, Exempt Organizations,<br>Internal Revenue Service (IRS), be found in contempt of Congress for failure to testify<br>before the House Committee on Oversight and Government Reform as required by a<br>congressional subpoena. Directs the Speaker of the House of Representatives to certify the<br>Committee's report\u00a0detailing the refusal of Ms. Lerner to testi..."],["Calling on Attorney General Eric H. Holder, Jr., to appoint a special counsel to<br>investigate the targeting of conservative nonprofit groups by the Internal Revenue<br>Service.","HRES565","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Expresses the sense of the House of<br>Representatives, with respect to the targeting by the Internal Revenue Service (IRS) of<br>conservative nonprofit advocacy groups, that: (1) the statements and actions of the IRS,<br>the Department of Justice (DOJ), and the Obama Administration have served to undermine<br>DOJ's investigation of this matter; (2) the Administration's effor..."],["Providing for consideration of the bill (H.R. 10) to amend the charter school program<br>under the Elementary and Secondary Education Act of 1965; relating to consideration of the<br>bill (H.R. 4438) to amend the Internal Revenue Code of 1986 to simplify and make permanent<br>the research credit; and for other purposes.","HRES576","Sets forth the rule for consideration of the bill (H.R. 10) to amend the charter school<br>program under the Elementary and Secondary Education Act of 1965; relating to<br>consideration of the bill (H.R. 4438) to amend the Internal Revenue Code of 1986 to<br>simplify and make permanent the research credit."],["Providing for consideration of the resolution (H. Res. 567) providing for the<br>Establishment of the Select Committee on the Events Surrounding the 2012 Terrorist Attack<br>in Benghazi.","HRES575","Sets forth the rule for consideration of the resolution (H. Res. 567) providing for the<br>Establishment of the Select Committee on the Events Surrounding the 2012 Terrorist Attack<br>in Benghazi."],["To establish a comprehensive United States government policy to assist countries in sub-<br>Saharan Africa to develop an appropriate mix of power solutions for more broadly<br>distributed electricity access in order to support poverty alleviation and drive economic<br>growth, and for other purposes.","HR2548","Electrify Africa Act of 2014 - (Sec. 5) Directs the President to establish a multiyear<br>policy, partnership, and funding strategy to assist countries in sub-Saharan Africa<br>develop an appropriate mix of power solutions to provide sufficient electricity access to<br>people living in rural and urban areas in order to alleviate poverty and drive economic<br>growth.  (Sec. 6) Expresses the sense of Congress that the U.S. Agency for International<br>Development (USAID) should: (1) prioritize where loan guara..."],["Providing for the Establishment of the Select Committee on the Events Surrounding the 2012<br>Terrorist Attack in Benghazi.","HRES567","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Establishes in the House of Representatives the Select Committee on the<br>Events Surrounding the 2012 Terrorist Attack in Benghazi to conduct a full and complete<br>investigation and study and issue a final report of its findings to the House regarding:<br>all policies, decisions, and activities that contributed to the attacks on U.S. facilities<br>in Benghazi, Libya, on September 11, 2012, as wel..."],["To amend the Internal Revenue Code of 1986 to simplify and make permanent the research<br>credit.","HR4438","American Research and Competitiveness Act of 2014 - Amends the Internal Revenue Code to<br>establish a permanent research tax credit that allows for: (1) 20% of the qualified or<br>basic research expenses that exceed 50% of the average qualified or basic research<br>expenses for the 3 preceding taxable years, and (2) 20% of amounts paid to an energy<br>research consortium for energy research. Reduces such credit rate to 10% if a taxpayer has<br>no qualified research expenses in any one of the 3 preceding ta..."],["To amend the charter school program under the Elementary and Secondary Education Act of<br>1965.","HR10","Success and Opportunity through Quality Charter Schools Act - (Sec. 4) Revises subpart 1<br>(Charter School Program) of part B (Public Charter Schools) of title V (Promoting Informed<br>Parental Choice and Innovative Programs) of the Elementary and Secondary Education Act of<br>1965.  (Sec. 5) Replaces the current charter school grant program with a program awarding<br>grants to state entities (state educational agencies, state charter school boards,<br>Governors, or charter school support organizations) an..."],["To provide for the award of a gold medal on behalf of Congress to Jack Nicklaus, in<br>recognition of his service to the Nation in promoting excellence, good sportsmanship, and<br>philanthropy.","HR2203","(This measure has not been amended since it was passed by the House on May 19, 2014. The<br>summary of that version is repeated here.)  Directs the Speaker of the House of<br>Representatives and the President Pro Tempore of the Senate to make arrangements for the<br>presentation of a congressional gold medal to Jack Nicklaus in recognition of his service<br>to the nation in promoting excellence and good sportsmanship. Directs the Secretary of the<br>Treasury to strike such gold medal and to strike and sell ..."],["To award a Congressional Gold Medal to the American Fighter Aces, collectively, in<br>recognition of their heroic military service and defense of our country's freedom<br>throughout the history of aviation warfare.","HR685","American Fighter Aces Congressional Gold Medal Act - Directs the Speaker of the House of<br>Representatives and the President pro tempore of the Senate to arrange for the<br>presentation of a single congressional gold medal in honor of the American Fighter Aces,<br>collectively, in recognition of their heroic military service and defense of the nation's<br>freedom. Requires the medal to be given to the Smithsonian Institution for display and<br>research purposes. Expresses the sense of Congress that the med..."],["To provide justice for the victims of trafficking.","HR3530","Justice for Victims of Trafficking Act of 2014 - (Sec. 2) Amends the Victims of Crime Act<br>of 1984 to authorize a limitation on obligations to be provided for the Crime Victims Fund<br>for FY2016-FY2020. Specifies that except where such a limitation is made by a continuing<br>resolution, if such a limitation is less than the amount specified for each of those<br>years, all sums deposited in the fund in prior fiscal years shall become available for<br>obligation. (Sec. 3) Amends the Trafficking Victims Pro..."],["To amend title 18, United States Code, to provide a penalty for knowingly selling<br>advertising that offers certain commercial sex acts.","HR4225","(This measure has not been amended since it was reported to the House on May 15, 2014. The<br>summary of that version is repeated here.)  Stop Advertising Victims of Exploitation Act<br>of 2014 or the SAVE Act of 2014 - Amends the federal criminal code to prohibit knowingly:<br>(1) advertising commercial sex acts involving a minor or an individual engaged in such an<br>act through force, fraud, or coercion; or (2) benefitting financially or otherwise from<br>such advertising knowing that the individual invo..."],["To authorize appropriations for fiscal year 2015 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR4435","Howard P. \"Buck\" McKeon National Defense Authorization Act for Fiscal Year 2015 - Division<br>A: Department of Defense Authorizations - Title I: Procurement - Subtitle A: Authorization<br>of Appropriations - (Sec. 101) Authorizes appropriations for FY2015 for procurement for<br>the Army, Navy and Marine Corps, Air Force, and Defense-wide activities, as specified in<br>the funding tables in Division D, Title XLI, of this Act.  Subtitle B: Army Programs -<br>(Sec. 111) Prohibits any funds authorized or made a..."],["Providing for further consideration of the bill (H.R. 4435) to authorize appropriations<br>for fiscal year 2015 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; and providing for consideration of the bill (H.R. 3361) to reform the<br>authorities of the Federal Government to require the production of certain business<br>records, conduct electronic surveillance, use pen registers and trap and trace devices,<br>and use other forms of information gathering for foreign intelligence, counterterrorism,<br>and criminal purposes, and for other purposes.","HRES590","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rules for consideration of H.R. 4435 (Howard P. \"Buck\"<br>McKeon National Defense Authorization Act for Fiscal Year 2015) and H.R. 3361 (USA FREEDOM<br>Act)."],["To amend title 38, United States Code, to provide for the removal of Senior Executive<br>Service employees of the Department of Veterans Affairs for performance, and for other<br>purposes.","HR4031","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Department of Veterans Affairs Management Accountability Act of 2014 -<br>Authorizes the Secretary of Veterans Affairs (VA) to: (1) remove any individual from the<br>Senior Executive Service upon determining that such individual's performance warrants such<br>removal, and (2) remove such individual from federal service or transfer the individual to<br>a General Schedule position at any grade the Sec..."],["To reform the authorities of the Federal Government to require the production of certain<br>business records, conduct electronic surveillance, use pen registers and trap and trace<br>devices, and use other forms of information gathering for foreign intelligence,<br>counterterrorism, and criminal purposes, and for other purposes.","HR3361","USA FREEDOM Act - Title I: FISA Business Records Reforms - (Sec. 101) Amends the Foreign<br>Intelligence Surveillance Act of 1978 (FISA) to establish a new process to be followed<br>when the Federal Bureau of Investigation (FBI) submits an application to a FISA court for<br>an order requiring the production of tangible things (commonly referred to as business<br>records, including books, records, papers, documents, and other items) for an<br>investigation to obtain foreign intelligence information not conce..."],["Urging the Government of the People's Republic of China to respect the freedom of<br>assembly, expression, and religion and all fundamental human rights and the rule of law<br>for all its citizens and to stop censoring discussion of the 1989 Tiananmen Square<br>demonstrations and their violent suppression.","HRES599","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Urges the government of China to stop censoring information about the June<br>1989 Tiananmen Square massacre.  Expresses sympathy to the families of those killed,<br>tortured, and imprisoned as a result of their participation in the Tiananmen Square<br>democracy protests.  Supports all peaceful advocates for human rights and the rule of law<br>in China for their efforts to advance democratic reforms..."],["To authorize the National Desert Storm Memorial Association to establish the National<br>Desert Storm and Desert Shield Memorial as a commemorative work in the District of<br>Columbia, and for other purposes.","HR503","(This measure has not been amended since it was reported to the House on May 6, 2014. The<br>summary of that version is repeated here.) National Desert Storm and Desert Shield War<br>Memorial Act - Authorizes the National Desert Storm Memorial Association to establish a<br>commemorative work on federal land in the District of Columbia to commemorate and honor<br>those who, as members of the Armed Forces, served on active duty in support of Operation<br>Desert Storm or Operation Desert Shield. Prohibits the ..."],["Making appropriations for the Departments of Commerce and Justice, Science, and Related<br>Agencies for the fiscal year ending September 30, 2015, and for other purposes.","HR4660","Commerce, Justice, Science, and Related Agencies Appropriations Act, 2015 - Makes<br>appropriations for FY2015 for the Departments of Commerce and Justice, for science-related<br>programs, and related agencies. Title I: Department of Commerce - Department of Commerce<br>Appropriations Act, 2015 - Makes appropriations for the Department of Commerce for FY2015<br>for:    the International Trade Administration;   the Bureau of Industry and Security;<br>the Economic Development Administration;  the Minority B..."],["To authorize appropriations for fiscal years 2014 and 2015 for intelligence and<br>intelligence-related activities of the United States Government, the Community Management<br>Account, and the Central Intelligence Agency Retirement and Disability System, and for<br>other purposes.","HR4681","(This measure has not been amended since it was passed by the Senate on December 9, 2014.<br>The summary of that version is repeated here.) Intelligence Authorization Act for Fiscal<br>Year 2015 - Title I: Intelligence Activities - (Sec. 101) Authorizes FY2015 appropriations<br>for the conduct of intelligence and intelligence-related activities of the: (1) Office of<br>the Director of National Intelligence (DNI); (2) Central Intelligence Agency (CIA); (3)<br>Department of Defense (DOD); (4) Defense Intellig..."],["To authorize the programs of the National Aeronautics and Space Administration, and for<br>other purposes.","HR4412","National Aeronautics and Space Administration Authorization Act of 2014 - Title I:<br>Authorization of Appropriations - (Sec. 101) Authorizes appropriations for FY2014 for the<br>National Aeronautics and Space Administration (NASA) for: (1) space exploration, (2) space<br>operations, (3) science, (4) aeronautics, (5) space technology, (6) education, (7) cross-<br>agency support, (8) construction and environmental compliance and restoration, and (9) the<br>Inspector General. Title II: Human Space Flight - Sub..."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2015, and for<br>other purposes.","HR4745","Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2015 - Title I: Department of Transportation - Department of Transportation Appropriations<br>Act, 2015 - Makes appropriations for FY2015 to the Department of Transportation (DOT),<br>including: (1) the Office of the Secretary, (2) the Federal Aviation Administration (FAA),<br>(3) the Federal Highway Administration (FHWA), (4) the Federal Motor Carrier Safety<br>Administration (FMCSA), (5) the National Highway Traffic..."],["To direct the Secretary of Veterans Affairs to enter into contracts for the provision of<br>hospital care and medical services at non-Department of Veterans Affairs facilities for<br>Department of Veterans Affairs patients with extended waiting times for appointments at<br>Department facilities, and for other purposes.","HR4810","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Veteran Access to Care Act of 2014 - (Sec. 2)<br>Directs the Secretary of Veterans Affairs (VA) to enter into contracts with such non-VA<br>facilities as may be necessary to furnish hospital care and medical services to veterans<br>who:  have waited longer than the wait-time goals of the Veterans Health Administration<br>(VHA) (as of June 1, 2014) for an appointment for hospi..."],["Providing for consideration of the bill (H.R. 4800) making appropriations for Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies programs for the<br>fiscal year ending September 30, 2015, and for other purposes; providing for consideration<br>of the bill (H.R. 4457) to amend the Internal Revenue Code of 1986 to permanently extend<br>increased expensing limitations, and for other purposes; and providing for consideration<br>of the bill (H.R. 4453) to amend the Internal Revenue Code of 1986 to make permanent the<br>reduced recognition period for built-in gains of S corporations.","HRES616","Sets forth the rule for consideration of the bill (H.R. 4800) making appropriations for<br>Agriculture, Rural Development, Food and Drug Administration, and Related Agencies<br>programs for the fiscal year ending September 30, 2015, and for other purposes; providing<br>for consideration of the bill (H.R. 4457) to amend the Internal Revenue Code of 1986 to<br>permanently extend increased expensing limitations, and for other purposes; and providing<br>for consideration of the bill (H.R. 4453) to amend the Int..."],["Making appropriations for Agriculture, Rural Development, Food and Drug Administration,<br>and Related Agencies programs for the fiscal year ending September 30, 2015, and for other<br>purposes.","HR4800","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Agriculture, Rural Development, Food and Drug<br>Administration, and Related Agencies Appropriations Act, 2015 - Title I: Agricultural<br>Programs - Appropriates FY2015 funds for the following Department of Agriculture (USDA)<br>programs and services: (1) Office of the Secretary of Agriculture (Secretary); (2) Office<br>of the Chief Economist; (3) National Appeals Division; (..."],["To amend the Internal Revenue Code of 1986 to permanently extend increased expensing<br>limitations, and for other purposes.","HR4457","America's Small Business Tax Relief Act of 2014 - Amends the Internal Revenue Code, with<br>respect to the expensing allowance for depreciable business property, to make permanent:<br>(1) the increased $500,000 expensing allowance for such property, (2) the increased<br>$2,000,000 threshold amount for such property over which the amount of the expensing<br>allowance is reduced, (3) expensing of computer software, and (4) rules for the expensing<br>of qualified real property (i.e.,\u00a0leasehold improvement, res..."],["To amend the Internal Revenue Code of 1986 to make permanent the reduced recognition<br>period for built-in gains of S corporations.","HR4453","S Corporation Permanent Tax Relief Act of 2014 - Amends the Internal Revenue Code, with<br>respect to the taxation of S corporations, to make permanent: (1) the reduction of the<br>period (10 to 5 years) during which the built-in gains of such corporations are subject to<br>tax, and (2) the rule requiring an adjustment to the basis of an\u00a0shareholder's stock in an<br>S corporation that makes tax deductible contributions of appreciated property.\u00a0 Prohibits<br>the entry of the budgetary effects of this Act on ..."],["To designate the community-based outpatient clinic of the Department of Veterans Affairs<br>to be constructed at 3141 Centennial Boulevard, Colorado Springs, Colorado, as the \"PFC<br>Floyd K. Lindstrom Department of Veterans Affairs Clinic\".","HR3375","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the community-based outpatient clinic of the Department of<br>Veterans Affairs (VA) to be constructed at 3141 Centennial Boulevard, Colorado Springs,<br>Colorado, as the \"PFC Floyd K. Lindstrom Department of Veterans Affairs Clinic.\""],["Providing for consideration of the bill (H.R. 4870) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2015, and for other<br>purposes, and providing for consideration of the Senate amendments to the bill (H.R. 3230)<br>making continuing appropriations during a Government shutdown to provide pay and<br>allowances to members of the reserve components of the Armed Forces who perform inactive-<br>duty training during such period.","HRES628","Sets forth the rule for consideration of the bill (H.R. 4870) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2015, and for other<br>purposes, and providing for consideration of the Senate amendments to the bill (H.R. 3230)<br>making continuing appropriations during a Government shutdown to provide pay and<br>allowances to members of the reserve components of the Armed Forces who perform inactive-<br>duty training during such period."],["Providing for consideration of the bill (H.R. 4413) to reauthorize the Commodity Futures<br>Trading Commission, to better protect futures customers, to provide end users with market<br>certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end users manage risks to help keep consumer<br>costs low, and for other purposes.","HRES629","Sets forth the rule for consideration of the bill (H.R. 4413) to reauthorize the Commodity<br>Futures Trading Commission, to better protect futures customers, to provide end users with<br>market certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end users manage risks to help keep consumer<br>costs low."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2015, and for other purposes.","HR4870","Highlights: The Department of Defense Appropriations Act, 2015 provides regular annual<br>appropriations for the military functions of the Department of Defense (DOD), including<br>the pay, allowances, and support of military personnel; operation and maintenance of the<br>forces; procurement of equipment and systems; and research, development, test and<br>evaluation. The bill also includes funding for overseas contingency operations (OCO) to<br>support the Global War on Terrorism.  The bill increases fundin..."],["A bill to direct the Secretary of the Interior to install in the area of the World War II<br>Memorial in the District of Columbia a suitable plaque or an inscription with the words<br>that President Franklin D. Roosevelt prayed with the United States on D-Day, June 6, 1944.","S1044","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) World War II Memorial Prayer Act of 2013 -<br>Directs the Secretary of the Interior to install at the World War II memorial in the<br>District of Columbia a suitable plaque or an inscription with the words that President<br>Franklin D. Roosevelt prayed with the United States on June 6, 1944, the morning of D-Day.<br>Bars the use of federal funds for the preparation or install..."],["Providing for consideration of the bill (H.R. 6) to provide for expedited approval of<br>exportation of natural gas to World Trade Organization countries, and for other purposes;<br>and providing for consideration of the bill (H.R. 3301) to require approval for the<br>construction, connection, operation, or maintenance of oil or natural gas pipelines or<br>electric transmission facilities at the national boundary of the United States for the<br>import or export of oil, natural gas, or electricity to or from Canada or Mexico, and for<br>other purposes.","HRES636","Sets forth the rule for consideration of the bill (H.R. 6) to provide for expedited<br>approval of exportation of natural gas to World Trade Organization countries, and for<br>other purposes; and providing for consideration of the bill (H.R. 3301) to require<br>approval for the construction, connection, operation, or maintenance of oil or natural gas<br>pipelines or electric transmission facilities at the national boundary of the United<br>States for the import or export of oil, natural gas, or electricity ..."],["To reauthorize the Commodity Futures Trading Commission, to better protect futures<br>customers, to provide end users with market certainty, to make basic reforms to ensure<br>transparency and accountability at the Commission, to help farmers, ranchers, and end<br>users manage risks to help keep consumer costs low, and for other purposes.","HR4413","Customer Protection and End User Relief Act - Title I: Customer Protections - Futures<br>Customer Protection Act - (Sec. 102) Amends the Commodity Exchange Act (CEA) to direct<br>registered futures associations to require their futures commission merchant members to:<br>(1) maintain written policies and procedures governing maintenance of members\u2019 specified<br>residual interests in customer segregated funds accounts, including cleared swaps customer<br>collateral accounts; and (2) establish rules governing ..."],["To require approval for the construction, connection, operation, or maintenance of oil or<br>natural gas pipelines or electric transmission facilities at the national boundary of the<br>United States for the import or export of oil, natural gas, or electricity to or from<br>Canada or Mexico, and for other purposes.","HR3301","North American Energy Infrastructure Act - (Sec. 3) Prohibits any person from<br>constructing, connecting, operating, or maintaining a cross-border segment of an oil or<br>natural gas pipeline or electric transmission facility at the national boundary of the<br>United States for the import or export of oil, natural gas, or electricity to or from<br>Canada or Mexico without obtaining a certificate of crossing under this Act.  Requires the<br>Secretary of State, with respect to oil pipelines, or the Secretary..."],["Providing for consideration of the bill (H.R. 4899) to lower gasoline prices for the<br>American family by increasing domestic onshore and offshore energy exploration and<br>production, to streamline and improve onshore and offshore energy permitting and<br>administration, and for other purposes; providing for consideration of the bill (H.R.<br>4923) making appropriations for energy and water development and related agencies for the<br>fiscal year ending September 30, 2015, and for other purposes; and for other purposes.","HRES641","Sets forth the rule for consideration of the bill (H.R. 4899) to lower gasoline prices for<br>the American family by increasing domestic onshore and offshore energy exploration and<br>production, to streamline and improve onshore and offshore energy permitting and<br>administration, and for other purposes; providing for consideration of the bill (H.R.<br>4923) making appropriations for energy and water development and related agencies for the<br>fiscal year ending September 30, 2015, and for other purposes."],["To provide for expedited approval of exportation of natural gas to World Trade<br>Organization countries, and for other purposes.","HR6","Domestic Prosperity and Global Freedom Act - (Sec. 2) Directs the Department of Energy<br>(DOE), for proposals that must also obtain authorization from the Federal Energy<br>Regulatory Commission or the United States Maritime Administration to site, construct,<br>expand, or operate liquified natural gas (LNG) export facilities, to issue a decision on<br>an application for authorization to export natural gas within 30 days after the later of:<br>(1) the conclusion of the review to site, construct, expand, or..."],["To lower gasoline prices for the American family by increasing domestic onshore and<br>offshore energy exploration and production, to streamline and improve onshore and offshore<br>energy permitting and administration, and for other purposes.","HR4899","Lowering Gasoline Prices to Fuel an America That Works Act of 2014 - Title I: Offshore<br>Energy - Subtitle A: Outer Continental Shelf Leasing Program Reforms and Jobs - (Sec.<br>10101) Amends the Outer Continental Shelf Lands Act (OCSLA) to direct the Secretary of the<br>Interior (Secretary) to implement a leasing program that includes at least 50% of the<br>available unleased acreage within each outer Continental Shelf (OCS) planning area<br>considered to have the largest undiscovered, technically recover..."],["To amend the Homeland Security Act of 2002 to authorize the Department of Homeland<br>Security to establish a social media working group, and for other purposes.","HR4263","(This measure has not been amended since it was reported to the House on June 19, 2014.<br>The summary of that version is repeated here.) Social Media Working Group Act of 2014 -<br>Amends the Homeland Security Act of 2002 to direct the Secretary of Homeland Security to<br>establish within the Department of Homeland Security (DHS) a social media working group<br>(the Group) to provide guidance and best practices to the emergency preparedness and<br>response community on the use of social media technologies ..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2015, and for other purposes.","HR4923","Highlights:  The Energy and Water Development and Related Agencies Appropriations Act,<br>2015 provides FY2015 appropriations for the civil works projects of the U.S. Army Corps of<br>Engineers, the Department of the Interior's Bureau of Reclamation and Central Utah<br>Project; the Department of Energy (DOE); and a number of independent agencies, including<br>the Nuclear Regulatory Commission (NRC) and the Appalachian Regional Commission. Full<br>Summary:  Energy and Water Development and Related Agencies A..."],["Providing for consideration of the bill (H.R. 5016) making appropriations for financial<br>services and general government for the fiscal year ending September 30, 2015, and for<br>other purposes, and providing for consideration of the bill (H.R. 4718) to amend the<br>Internal Revenue Code of 1986 to modify and make permanent bonus depreciation.","HRES661","Sets forth the rule for consideration of the bill (H.R. 5016) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2015,<br>and for other purposes, and providing for consideration of the bill (H.R. 4718) to amend<br>the Internal Revenue Code of 1986 to modify and make permanent bonus depreciation."],["To amend the Internal Revenue Code of 1986 to modify and make permanent bonus<br>depreciation.","HR4718","Amends the Internal Revenue Code to make permanent the additional 50% depreciation<br>allowance (bonus depreciation) for qualified property placed in service after December 31,<br>2013. Modifies the definition of \"qualified property\" to include qualified retail<br>improvement property. Increases by $8,000 (with an annual inflation adjustment after 2014)<br>the maximum allowable depreciation deduction for a passenger automobile (i.e., any<br>4-wheeled vehicle which is manufactured primarily for use on public..."],["To amend chapter 15 of title 44, United States Code (commonly known as the Federal<br>Register Act), to modernize the Federal Register, and for other purposes.","HR4195","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Federal Register Modernization Act - Requires the Federal Register to be<br>published (e.g., by electronic means), rather than printed, and that documents in the<br>Federal Register be made available for sale or distribution to the public in published<br>form. Revises requirements for the filing of documents with the Office of the Federal<br>Register for inclusion in the Federal Register and for the..."],["Providing for consideration of the bill (H.R. 5021) to provide an extension of Federal-aid<br>highway, highway safety, motor carrier safety, transit, and other programs funded out of<br>the Highway Trust Fund, and for other purposes.","HRES669","Sets forth the rule for consideration of the bill (H.R. 5021) to provide an extension of<br>Federal-aid highway, highway safety, motor carrier safety, transit, and other programs<br>funded out of the Highway Trust Fund."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2015, and for other purposes.","HR5016","Highlights:   The Financial Services and General Government Appropriations Act, 2015<br>provides appropriations for FY2015 for agencies responsible for regulating the financial,<br>telecommunications, and consumer products industries; collecting taxes and assisting<br>taxpayers; managing federal buildings; overseeing the federal workforce; and operating the<br>Executive Office of the President, the judiciary, federal buildings, and the District of<br>Columbia.  The bill increases funding above FY2014 levels..."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund, and for other purposes.","HR5021","Highway and Transportation Funding Act of 2014 - Title I: Surface Transportation Program<br>Extension - Subtitle A: Federal-Aid Highways - (Sec. 1001) Continues from October 1, 2014,<br>through May 31, 2015, and authorizes appropriations through that period for, specified<br>federal-aid highway programs under:  the Moving Ahead for Progress in the 21st Century Act<br>(MAP-21), the Safe, Accountable, Flexible, Efficient Transportation Equity Act: A Legacy<br>for Users (SAFETEA-LU) Technical Corrections Act o..."],["Providing for consideration of the bill (H.R. 4719) to amend the Internal Revenue Code of<br>1986 to permanently extend and expand the charitable deduction for contributions for food<br>inventory.","HRES670","Sets forth the rule for consideration of the bill (H.R. 4719) to amend the Internal<br>Revenue Code of 1986 to permanently extend and expand the charitable deduction for<br>contributions for food inventory."],["To amend the Internal Revenue Code of 1986 to permanently extend and expand the charitable<br>deduction for contributions of food inventory.","HR4719","America Gives More Act of 2014 - Amends the Internal Revenue Code to: (1) make permanent<br>the enhanced tax deduction for charitable contributions of food inventory; (2) increase<br>from 10% to 15% of the aggregate net income of taxpayers other than C corporations\u00a0the<br>amount of deductible food inventory contributions which such taxpayers may make in any<br>taxable year (for a C corporation, 15% of its taxable income); (3) permit a taxpayer who<br>is not required to account for inventories or capitalize ..."],["To extend the Travel Promotion Act of 2009, and for other purposes.","HR4450","Travel Promotion, Enhancement, and Modernization Act of 2014 - (Sec. 2) Amends the Travel<br>Promotion Act of 2009 (TPA) to revise qualifications requirements for members of the Board<br>of Directors of the Corporation for Travel Promotion. (Sec. 3) Revises requirements for<br>the Corporation's annual report to the Secretary of Commerce (Secretary) to require a<br>description of and rationales for: (1) the Corporation's efforts to focus on specific<br>countries and populations; and (2) its combination of me..."],["To prevent Hezbollah and associated entities from gaining access to international<br>financial and other institutions, and for other purposes.","HR4411","Hezbollah International Financing Prevention Act of 2014 - (Sec. 2) States that it shall<br>be U.S. policy to: (1) prevent Hezbollah's global logistics and financial network from<br>operating in order to curtail funding of its domestic and international activities; and<br>(2) utilize diplomatic, legislative, and executive avenues to combat Hezbollah's criminal<br>activities in order to block that organization's ability to fund its global terrorist<br>activities. Title I: Prevention of Access by Hezbollah to..."],["Providing for consideration of the bill (H.R. 3136) to establish a demonstration program<br>for competency-based education, and providing for consideration of the bill (H.R. 4984) to<br>amend the loan counseling requirements under Higher Education Act of 1965, and for other<br>purposes.","HRES677","Sets forth the rule for consideration of the bill (H.R. 3136) to establish a demonstration<br>program for competency-based education, and providing for consideration of the bill (H.R.<br>4984) to amend the loan counseling requirements under Higher Education Act of 1965."],["To establish a demonstration program for competency-based education.","HR3136","Advancing Competency-Based Education Demonstration Project Act of 2014 - Amends title IV<br>(Student Assistance) of the Higher Education Act of 1965 (HEA) to direct the Secretary of<br>Education to select up to 30 institutions of higher education (IHEs) or systems or<br>consortia of IHEs to: (1) carry out, on a voluntary basis, competency-based education<br>demonstration projects; and (2) receive waivers of certain statutory and regulatory<br>requirements that would otherwise prevent such an entity from par..."],["Providing for consideration of the bill (H.R. 3393) to amend the Internal Revenue Code of<br>1986 to consolidate certain tax benefits for educational expenses, and for other purposes,<br>and providing for consideration of the bill (H.R. 4935) to amend the Internal Revenue Code<br>of 1986 to make improvements to the child tax credit.","HRES680","Sets forth the rule for consideration of the bill (H.R. 3393) to amend the Internal<br>Revenue Code of 1986 to consolidate certain tax benefits for educational expenses, and for<br>other purposes, and providing for consideration of the bill (H.R. 4935) to amend the<br>Internal Revenue Code of 1986 to make improvements to the child tax credit."],["To amend the loan counseling requirements under the Higher Education Act of 1965, and for<br>other purposes.","HR4984","Empowering Students Through Enhanced Financial Counseling Act - (Sec. 2) Amends title IV<br>(Student Assistance) of the Higher Education Act of 1965 to require institutions of higher<br>education (IHEs) to ensure that individuals who receive a Federal Pell Grant or a William<br>D. Ford Federal Direct Loan (other than a Federal Direct consolidation Loan) receive<br>comprehensive counseling regarding the terms and conditions of the Pell Grant or Direct<br>Loan for each year they receive it. (Currently, IHEs a..."],["To amend the Internal Revenue Code of 1986 to consolidate certain tax benefits for<br>educational expenses, and for other purposes.","HR3393","Title I: Student and Family Tax Simplification Act - Student and Family Tax Simplification<br>Act - (Sec. 102) Amends the Internal Revenue Code to provide for an American Opportunity<br>Tax Credit, in lieu of the current Hope Scholarship and Lifetime Learning tax credits and<br>the tax deduction for qualified tuition and related expenses, that provides for each<br>eligible student (i.e., a student who meets certain requirements of the Higher Education<br>Act of 1965 and who is carrying at least 1/2 the norm..."],["To amend the Internal Revenue Code of 1986 to make improvements to the child tax credit.","HR4935","Child Tax Credit Improvement Act of 2014 - Amends the Internal Revenue Code, with respect<br>to the child tax credit, to: (1) increase from $110,00 to $150,000 ($75,000 for individual<br>taxpayers and married taxpayers filing separately) the threshold amount applicable to<br>married couples filing joint tax returns above which such tax credit is reduced, and (2)<br>allow an inflation adjustment to the threshold amounts and the $1,000 credit amount<br>beginning after 2014. Requires taxpayers to include their..."],["To amend the Federal Insecticide, Fungicide, and Rodenticide Act and the Federal Water<br>Pollution Control Act to clarify Congressional intent regarding the regulation of the use<br>of pesticides in or near navigable waters, and for other purposes.","HR935","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Reducing Regulatory Burdens Act of 2013 - Amends the Federal Insecticide,<br>Fungicide, and Rodenticide Act (FIFRA) and the Federal Water Pollution Control Act<br>(commonly known as the Clean Water Act [CWA]) to prohibit the Administrator of the<br>Environmental Protection Agency (EPA) or a state from requiring a permit under the CWA for<br>a discharge from a point source into navigable waters of a..."],["Providing for consideration of the bill (H.R. 4315) to amend the Endangered Species Act of<br>1973 to require publication on the Internet of the basis for determinations that species<br>are endangered species or threatened species, and for other purposes.","HRES693","Sets forth the rule for consideration of the bill (H.R. 4315) to amend the Endangered<br>Species Act of 1973 to require publication on the Internet of the basis for determinations<br>that species are endangered species or threatened species."],["To amend the Endangered Species Act of 1973 to require publication on the Internet of the<br>basis for determinations that species are endangered species or threatened species, and<br>for other purposes.","HR4315","Endangered Species Transparency and Reasonableness Act - (Sec. 2) Amends the Endangered<br>Species Act of 1973 to require the Secretary of the Interior or the Secretary of Commerce,<br>as appropriate, to make publicly available on the Internet the best scientific and<br>commercial data available that are the basis for the determination of whether a species is<br>an endangered species or a threatened species, including each proposed regulation for the<br>listing of a species. Prohibits the appropriate Secret..."],["To reauthorize the Defense Production Act, to improve the Defense Production Act<br>Committee, and for other purposes.","HR4809","(This measure has not been amended since it was passed by the House on July 29, 2014. The<br>summary of that version is repeated here.)  (Sec. 1) Reauthorizes provisions of the<br>Defense Production Act of 1950 (provides authority for the President and federal agencies<br>to prepare for national defense, military conflicts, disasters, or acts of terrorism using<br>the domestic industrial base to supply materials and services) through September 30, 2019.<br>Reinstates authorities under which the President ma..."],["Providing for consideration of the resolution (H. Res. 676) providing for authority to<br>initiate litigation for actions by the President or other executive branch officials<br>inconsistent with their duties under the Constitution of the United States; providing for<br>consideration of the bill (H.R. 935) to amend the Federal Insecticide, Fungicide, and<br>Rodenticide Act and the Federal Water Pollution Control Act to clarify Congressional<br>intent regarding the regulation of the use of pesticides in or near navigable waters, and<br>for other purposes; and providing for proceedings during the period from August 1, 2014,<br>through September 5, 2014.","HRES694","Sets forth the rule for consideration of the resolution (H. Res. 676) providing for<br>authority to initiate litigation for actions by the President or other executive branch<br>officials inconsistent with their duties under the Constitution of the United States;<br>providing for consideration of the bill (H.R. 935) to amend the Federal Insecticide,<br>Fungicide, and Rodenticide Act and the Federal Water Pollution Control Act to clarify<br>Congressional intent regarding the regulation of the use of pesticid..."],["Providing for authority to initiate litigation for actions by the President or other<br>executive branch officials inconsistent with their duties under the Constitution of the<br>United States.","HRES676","(This measure has not been amended since it was reported to the House on July 28, 2014.<br>The summary of that version is repeated here.) Authorizes the Speaker of the House of<br>Representatives to initiate or intervene in one or more civil actions, on behalf of the<br>House, in a federal court of competent jurisdiction to seek any appropriate relief<br>regarding the failure of the President, the head of any department or agency, or any other<br>executive branch officer or employee, to act in a manner cons..."],["Providing for consideration of the bill (H.R. 5230) making supplemental appropriations for<br>the fiscal year ending September 30, 2014, and for other purposes; providing for<br>consideration of the bill (H.R. 5272) to prohibit certain actions with respect to deferred<br>action for aliens not lawfully present in the United States, and for other purposes;<br>providing for consideration of the Senate amendment to the bill (H.R. 5021) to provide an<br>extension of Federal-aid highway, highway safety, motor carrier safety, transit, and other<br>programs funded out of the Highway Trust Fund, and for other purposes; and for other<br>purposes.","HRES696","Sets forth the rule for consideration of the bill (H.R. 5230) making supplemental<br>appropriations for the fiscal year ending September 30, 2014, and for other purposes;<br>providing for consideration of the bill (H.R. 5272) to prohibit certain actions with<br>respect to deferred action for aliens not lawfully present in the United States, and for<br>other purposes; providing for consideration of the Senate amendment to the bill (H.R.<br>5021) to provide an extension of Federal-aid highway, highway safety,..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES700","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Waives a specified requirement of Rule XIII (Calendar and Committee<br>Reports) to allow consideration of any resolution reported from the Committee on Rules<br>through the legislative day of September 5, 2014, providing for consideration or<br>disposition of a measure relating to the ongoing humanitarian crisis on the U.S. southern<br>border, border security, and related immigration law, on the sam..."],["Providing for consideration of the bill (H.R. 5230) making supplemental appropriations for<br>the fiscal year ending September 30, 2014, and for other purposes; providing for<br>consideration of the bill (H.R. 5272) to prohibit certain actions with respect to deferred<br>action for aliens not lawfully present in the United States, and for other purposes; and<br>providing for consideration of motions to suspend the rules.","HRES710","Sets forth the rule for consideration of the bill (H.R. 5230) making supplemental<br>appropriations for the fiscal year ending September 30, 2014, and for other purposes;<br>providing for consideration of the bill (H.R. 5272) to prohibit certain actions with<br>respect to deferred action for aliens not lawfully present in the United States, and for<br>other purposes; and providing for consideration of motions to suspend the rules."],["Making supplemental appropriations for the fiscal year ending September 30, 2014, and for<br>other purposes.","HR5230","DIVISION A - SUPPLEMENTAL APPROPRIATIONS AND RESCISSIONS Secure the Southwest Border<br>Supplemental Appropriations Act, 2014  Provides supplemental FY2014 appropriations to<br>address the significant rise in unaccompanied alien children and alien adults accompanied<br>by an alien minor at the Southwest Border of the United States, and for other purposes.<br>TITLE I - DEPARTMENT OF HOMELAND SECURITY Makes supplemental appropriations to the<br>Department of Homeland Security (DHS), including for U.S. Custom..."],["To prohibit certain actions with respect to deferred action for aliens not lawfully<br>present in the United States, and for other purposes.","HR5272","Prohibits a federal agency or instrumentality from using federal funding or resources<br>after July 30, 2014, to:  consider or adjudicate any new or previously denied application<br>of any alien requesting consideration of deferred action for childhood arrivals, as<br>authorized by Executive memorandum dated June 15, 2012, or by any other succeeding<br>Executive memorandum or policy authorizing a similar program; newly authorize deferred<br>action for any class of aliens not lawfully present in the United S..."],["To designate the facility of the United States Postal Service located at 2000 Mulford Road<br>in Mulberry, Florida, as the \"Sergeant First Class Daniel M. Ferguson Post Office\".","HR5089","Designates the facility of the United States Postal Service located at 2000 Mulford Road<br>in Mulberry, Florida, as the \"Sergeant First Class Daniel M. Ferguson Post Office.\""],["To amend the Wild and Scenic Rivers Act to authorize the Secretary of the Interior to<br>maintain or replace certain facilities and structures for commercial recreation services<br>at Smith Gulch in Idaho, and for other purposes.","HR4283","(This measure has not been amended since it was reported to the House on July 17, 2014.<br>The summary of that version is repeated here.) Amends the Wild and Scenic Rivers Act to<br>direct the Secretary of the Interior, with respect to the Salmon River in Idaho, to<br>authorize or continue to authorize maintenance or replacement of the facilities and<br>structures listed in this Act for commercial recreation services at Smith Gulch."],["Providing for consideration of the bill (H.R. 5078) to preserve existing rights and<br>responsibilities with respect to waters of the United States, and for other purposes, and<br>providing for consideration of the resolution (H. Res. 644) condemning and disapproving of<br>the Obama administration's failure to comply with the lawful statutory requirement to<br>notify Congress before releasing individuals detained at United States Naval Station,<br>Guantanamo Bay, Cuba, and expressing national security concerns over the release of five<br>Taliban leaders and the repercussions of negotiating with terrorists.","HRES715","Sets forth the rule for consideration of the bill (H.R. 5078) to preserve existing rights<br>and responsibilities with respect to waters of the United States, and for other purposes,<br>and providing for consideration of the resolution (H. Res. 644) condemning and<br>disapproving of the Obama administration's failure to comply with the lawful statutory<br>requirement to notify Congress before releasing individuals detained at United States<br>Naval Station, Guantanamo Bay, Cuba, and expressing national secu..."],["Condemning and disapproving of the Obama administration's failure to comply with the<br>lawful statutory requirement to notify Congress before releasing individuals detained at<br>United States Naval Station, Guantanamo Bay, Cuba, and expressing national security<br>concerns over the release of five Taliban leaders and the repercussions of negotiating<br>with terrorists.","HRES644","(This measure has not been amended since it was reported to the House on July 31, 2014.<br>The summary of that version is repeated here.) Condemns and disapproves of the Obama<br>administration's failure to comply with the lawful 30-day statutory reporting requirement<br>in executing the transfer of five senior Taliban members from detention at U.S. Naval<br>Station, Guantanamo Bay, Cuba.  Expresses concern over: (1) national security implications<br>that may arise from the Taliban members' release, includi..."],["To preserve existing rights and responsibilities with respect to waters of the United<br>States, and for other purposes.","HR5078","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.)  Waters of the United States Regulatory<br>Overreach Protection Act of 2014 - Prohibits the U.S. Army Corps of Engineers and the<br>Environmental Protection Agency (EPA) from:   developing, finalizing, adopting,<br>implementing, applying, administering, or enforcing the proposed rule entitled,<br>\"Definition of 'Waters of the United States' Under the Clean Water Act,\" issued o..."],["Providing for consideration of the bill (H.R. 3522) to authorize health insurance issuers<br>to continue to offer for sale current group health insurance coverage in satisfaction of<br>the minimum essential health insurance coverage requirement, and for other purposes.","HRES717","Sets forth the rule for consideration of the bill (H.R. 3522) to authorize health<br>insurance issuers to continue to offer for sale current group health insurance coverage in<br>satisfaction of the minimum essential health insurance coverage requirement."],["To authorize health insurance issuers to continue to offer for sale current group health<br>insurance coverage in satisfaction of the minimum essential health insurance coverage<br>requirement, and for other purposes.","HR3522","Employee Health Care Protection Act of 2014 - Permits a health insurance issuer that has<br>in effect health insurance coverage in the group market on any date during 2013 to<br>continue offering such coverage for sale through 2018 outside of a health care exchange<br>established under the Patient Protection and Affordable Care Act. Treats such coverage as<br>a grandfathered health plan for purposes of an individual meeting the requirement to<br>maintain minimum essential health coverage."],["To promote the non-exclusive use of electronic labeling for devices licensed by the<br>Federal Communications Commission.","HR5161","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Enhance Labeling, Accessing, and Branding of Electronic Licenses Act of<br>2014 or the E-LABEL Act - Amends the Communications Act of 1934 to require the Federal<br>Communications Commission (FCC) to promulgate regulations or take other appropriate action<br>to allow manufacturers of radiofrequency devices with display the option to use electronic<br>labeling for the equipment in place of affixing p..."],["Providing for consideration of the joint resolution (H.J. Res. 124) making continuing<br>appropriations for fiscal year 2015, and for other purposes.","HRES722","Sets forth the rule for consideration of the joint resolution (H.J. Res. 124) making<br>continuing appropriations for fiscal year 2015."],["To make technical corrections to the Dodd-Frank Wall Street Reform and Consumer Protection<br>Act, to enhance the ability of small and emerging growth companies to access capital<br>through public and private markets, to reduce regulatory burdens, and for other purposes.","HR5405","Promoting Job Creation and Reducing Small Business Burdens Act - Title I: Business Risk<br>Mitigation and Price Stabilization Act - (Sec. 101) Amends the Commodity Exchange Act<br>(CEA) to exempt, from the rules of prudential regulators for swap dealers and major swap<br>participants with respect to initial and variation margin requirements for swaps not<br>cleared by a registered derivatives clearing organization, those swaps in which one of the<br>counterparties: (1) is eligible for an exception from clea..."],["To clarify the application of certain leverage and risk-based requirements under the Dodd-<br>Frank Wall Street Reform and Consumer Protection Act, to improve upon the definitions<br>provided for points and fees in connection with a mortgage transaction, and for other<br>purposes.","HR5461","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Title I: Insurance Capital Standards - Insurance<br>Capital Standards Clarification Act of 2014 - (Sec. 102) Amends the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act (Dodd-Frank) concerning establishment of minimum<br>leverage and minimum risk-based capital requirements on a consolidated basis for a<br>depository institution holding company or a nonbank financi..."],["To require a full audit of the Board of Governors of the Federal Reserve System and the<br>Federal reserve banks by the Comptroller General of the United States, and for other<br>purposes.","HR24","(This measure has not been amended since it was reported to the House on September 16,<br>2014. The summary of that version is repeated here.) Federal Reserve Transparency Act of<br>2014 - Directs the Comptroller General (GAO) to: (1) complete, within 12 months of<br>enactment of this Act, the required audit of the Board of Governors of the Federal Reserve<br>System (Federal Reserve Board) and of the Federal Reserve Banks; and (2) submit to<br>Congress, within 90 days of audit completion, a detailed report ..."],["To amend title 49, United States Code, to provide for limitations on the fees charged to<br>passengers of air carriers.","HR5462","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Revises aviation passenger security fee requirements to limit per round<br>trip fees to $11.20."],["Making continuing appropriations for fiscal year 2015, and for other purposes.","HJRES124","(This measure has not been amended since it was passed by the House on September 17, 2014.<br>The summary of that version is repeated here.) Highlights:  The Continuing Appropriations<br>Resolution, 2015 provides continuing FY2015 appropriations to federal agencies until<br>December 11, 2014, or enactment of specified appropriations legislation. The joint<br>resolution also authorizes the Secretary of Defense (DOD) to provide assistance in Syria.<br>It also extends the operating authority of the Export-Imp..."],["Providing for consideration of the bill (H.R. 2) to remove Federal Government obstacles to<br>the production of more domestic energy; to ensure transport of that energy reliably to<br>businesses, consumers, and other end users; to lower the cost of energy to consumers; to<br>enable manufacturers and other businesses to access domestically produced energy<br>affordably and reliably in order to create and sustain more secure and well-paying<br>American jobs; and for other purposes; providing for consideration of the bill (H.R. 4) to<br>make revisions to Federal law to improve the conditions necessary for economic growth and<br>job creation, and for other purposes; and providing for proceedings during the period from<br>September 22, 2014, through November 11, 2014.","HRES727","Sets forth the rule for consideration of the bill (H.R. 2) to remove Federal Government<br>obstacles to the production of more domestic energy; to ensure transport of that energy<br>reliably to businesses, consumers, and other end users; to lower the cost of energy to<br>consumers; to enable manufacturers and other businesses to access domestically produced<br>energy affordably and reliably in order to create and sustain more secure and well-paying<br>American jobs; and for other purposes; providing for con..."],["To make revisions to Federal law to improve the conditions necessary for economic growth<br>and job creation, and for other purposes.","HR4","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Jobs for America Act - Division I: Ways and Means<br>- Title I: Save American Workers - Save American Workers Act of 2014 - (Sec. 102) Amends<br>the Internal Revenue Code to redefine \"full-time employee,\" for purposes of the mandate<br>requiring employers to provide health care coverage for their employees, as an employee<br>who is employed on average at least 40 hours of ser..."],["To remove Federal Government obstacles to the production of more domestic energy; to<br>ensure transport of that energy reliably to businesses, consumers, and other end users; to<br>lower the cost of energy to consumers; to enable manufacturers and other businesses to<br>access domestically produced energy affordably and reliably in order to create and sustain<br>more secure and well-paying American jobs; and for other purposes.","HR2","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) American Energy Solutions for Lower Costs and<br>More American Jobs Act - Division A: Energy and Commerce - Title I: Modernizing<br>Infrastructure - Subtitle A: Northern Route Approval - Northern Route Approval Act - (Sec.<br>103) Declares that a presidential permit shall not be required for the pipeline described<br>in the application filed on May 4, 2012, by TransCanada Key..."],["To provide for the elimination or modification of Federal reporting requirements.","HR4194","(This measure has not been amended since it was passed by the Senate on September 16,<br>2014. The summary of that version is repeated here.) Government Reports Elimination Act of<br>2014 - Provides for the elimination or modification of reporting and notification<br>requirements of specified federal agencies and departments.  Title I: Department of<br>Agriculture - Eliminates:   peanut base acres data collection and publication under the<br>Food, Conservation, and Energy Act of 2008;  the report on export ..."],["Providing for consideration of the bill (H.R. 5682) to approve the Keystone XL Pipeline.","HRES748","Sets forth the rule for consideration of the bill (H.R. 5682) to approve the Keystone XL<br>Pipeline."],["To approve the Keystone XL Pipeline.","HR5682","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes TransCanada Keystone Pipeline, L.P. to construct, connect,<br>operate, and maintain the pipeline and cross-border facilities specified in an application<br>filed by TransCanada Corporation to the Department of State on May 4, 2012. Deems the<br>Final Supplemental Environmental Impact Statement regarding the pipeline issued by the<br>Secretary of State in January 2014 to fully satisfy the ..."],["To amend the Act entitled \"An Act to allow a certain parcel of land in Rockingham County,<br>Virginia, to be used for a child care center\" to remove the use restriction, and for other<br>purposes.","HR5162","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends federal law authorizing Rockingham County, Virginia, to use<br>specified land transferred by the United States for a child care center to remove that use<br>restriction."],["Providing for consideration of the bill (H.R. 1422) to amend the Environmental Research,<br>Development, and Demonstration Authorization Act of 1978 to provide for Scientific<br>Advisory Board member qualifications, public participation, and for other purposes;<br>providing for consideration of the bill (H.R. 4012) to prohibit the Environmental<br>Protection Agency from proposing, finalizing, or disseminating regulations or assessments<br>based upon science that is not transparent or reproducible; providing for consideration of<br>the bill (H.R. 4795) to promote new manufacturing in the United States by providing for<br>greater transparency and timeliness in obtaining necessary permits, and for other<br>purposes; and providing for proceedings during the period from November 21, 2014, through<br>November 28, 2014.","HRES756","Sets forth the rule for consideration of the bill (H.R. 1422) to amend the Environmental<br>Research, Development, and Demonstration Authorization Act of 1978 to provide for<br>Scientific Advisory Board member qualifications, public participation, and for other<br>purposes; providing for consideration of the bill (H.R. 4012) to prohibit the<br>Environmental Protection Agency from proposing, finalizing, or disseminating regulations<br>or assessments based upon science that is not transparent or reproducible;..."],["To amend the Environmental Research, Development, and Demonstration Authorization Act of<br>1978 to provide for Scientific Advisory Board member qualifications, public participation,<br>and for other purposes.","HR1422","EPA Science Advisory Board Reform Act of 2014 - (Sec. 2) Amends the Environmental<br>Research, Development, and Demonstration Authorization Act of 1978 to revise requirements<br>for the Science Advisory Board, which gives scientific advice to the Environmental<br>Protection Agency (EPA), and address public disclosure of scientific and technical<br>information that the EPA uses as a basis for agency actions. Emphasizes that the Board<br>provides such advice independently. Revises the process of selecting mem..."],["To prohibit the Environmental Protection Agency from proposing, finalizing, or<br>disseminating regulations or assessments based upon science that is not transparent or<br>reproducible.","HR4012","Secret Science Reform Act of 2014 - Amends the Environmental Research, Development, and<br>Demonstration Authorization Act of 1978 to prohibit the Environmental Protection Agency<br>(EPA) from proposing, finalizing, or disseminating a covered action unless all scientific<br>and technical information relied on to support such action is specifically identified and<br>publicly available online in a manner sufficient for independent analysis and substantial<br>reproduction of research results. Includes as a cov..."],["To promote new manufacturing in the United States by providing for greater transparency<br>and timeliness in obtaining necessary permits, and for other purposes.","HR4795","Promoting New Manufacturing Act - (Sec. 2) Requires the Environmental Protection Agency<br>(EPA) to publish on its website for FY2008 and each subsequent fiscal year:   the total<br>number of preconstruction permits issued annually under the Clean Air Act's New Source<br>Review Program for the construction or modification of a major emitting facility or major<br>stationary source (any stationary facility or source of air pollutants which directly<br>emits, or has the potential to emit, 100 tons per year or ..."],["To amend the Homeland Security Act of 2002 to strengthen the Domestic Nuclear Detection<br>Office, and for other purposes.","HR5629","Strengthening Domestic Nuclear Security Act of 2014 - Amends the Homeland Security Act of<br>2002 to authorize appropriations for the Domestic Nuclear Detection Office for<br>FY2015-FY2016.  Requires the Director for Domestic Nuclear Detection: (1) in developing<br>and implementing the enhanced global nuclear detection architecture, to provide support<br>for planning, organization, equipment, training, exercises, and operational assessments to<br>federal, state, local, territorial, and tribal entities to as..."],["A bill to exchange trust and fee land to resolve land disputes created by the realignment<br>of the Blackfoot River along the boundary of the Fort Hall Indian Reservation, and for<br>other purposes.","S2040","(This measure has not been amended since it was passed by the Senate on September 18,<br>2014. The summary of that version is repeated here.) Blackfoot River Land Exchange Act of<br>2014 - (Sec. 4) Extinguishes all claims and all right, title, and interest in specified<br>Indian and non-Indian land as part of the settlement of disputes within the Fort Hall<br>Indian Reservation of the Shoshone-Bannock Indian Tribes in Idaho resulting from the<br>realignment of the Blackfoot River by the Corps of Engineers i..."],["To repeal the Act of May 31, 1918, and for other purposes.","HR5050","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) May 31, 1918 Act Repeal Act - Repeals the 1918 Act (authorizing the<br>establishment of a town site on the Fort Hall Indian Reservation in Idaho). Grants the<br>Shoshone-Bannock Tribes of the Fort Hall Reservation the exclusive right of first refusal<br>to purchase at fair market value any land offered for sale within the Fort Hall Townsite.<br>Requires the United States to hold in trust for the be..."],["To amend the Social Security Act to provide for the termination of social security<br>benefits for individuals who participated in Nazi persecution, and for other purposes.","HR5739"," (This measure has not been amended since it was introduced. The summary of that version<br>is repeated here.) No Social Security for Nazis Act - Amends title II (Old Age, Survivors<br>and Disability Insurance) (OASDI) of the Social Security Act (SSA) to consider the<br>following individuals to be removed under the Immigration and Nationality Act and so to<br>have their OASDI benefits terminated:  an individual with respect to whom an order<br>admitting the individual to citizenship has been revoked and set..."],["To instruct the Comptroller General of the United States to study the impact of Regulation<br>D, and for other purposes.","HR3240","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Regulation D Study Act - Directs the Comptroller General (GAO) to study<br>the impact upon depository institutions, consumers, and monetary policy of the requirement<br>that depository institutions maintain reserves in accordance with the Federal Reserve Act<br>and Regulation D (Reserve Requirements of Depository Institutions).  Requires such study<br>to include: (1) a historic review of how the Boa..."],["To require the Secretary of the Treasury to mint coins in commemoration of the centennial<br>of World War I.","HR2366","(This measure has not been amended since it was passed by the House on December 2, 2014.<br>The summary of that version is repeated here.) World War I American Veterans Centennial<br>Commemorative Coin Act - Directs the Secretary of the Treasury to: (1) mint and issue $1<br>silver coins in commemoration of the centennial of America's involvement in World War I;<br>and (2) hold a juried competition, and compensate its winner, for design of the obverse<br>and reverse of the coins in a way emblematic of the ce..."],["Providing for consideration of the bill (H.R. 5771) to amend the Internal Revenue Code of<br>1986 to extend certain expiring provisions and make technical corrections, and for other<br>purposes, and providing for consideration of the bill (H.R. 647) to amend the Internal<br>Revenue Code of 1986 to provide for the tax treatment of ABLE accounts established under<br>State programs for the care of family members with disabilities, and for other purposes.","HRES766","Sets forth the rule for consideration of the bill (H.R. 5771) to amend the Internal<br>Revenue Code of 1986 to extend certain expiring provisions and make technical corrections,<br>and for other purposes, and providing for consideration of the bill (H.R. 647) to amend<br>the Internal Revenue Code of 1986 to provide for the tax treatment of ABLE accounts<br>established under State programs for the care of family members with disabilities."],["To authorize appropriations for the Coast Guard for fiscal year 2015, and for other<br>purposes.","HR5769","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Howard Coble Coast Guard and Maritime<br>Transportation Act of 2014 - Title I: Authorization -  (Sec. 101) Authorizes FY2015<br>appropriations for the Coast Guard for:   operation and maintenance;  the acquisition,<br>construction, rebuilding, and improvement of aids to navigation, shore and offshore<br>facilities, vessels, and aircraft;  the Coast Guard Reserve program;  env..."],["To amend the Internal Revenue Code of 1986 to extend certain expiring provisions and make<br>technical corrections, and for other purposes.","HR5771","(Although this measure has not been amended since it was passed by the House, the text was<br>changed by H. Con. Res. 124, which made enrollment corrections, and the summary has been<br>modified as necessary.) Division A: Tax Increase Prevention Act of 2014 - Tax Increase<br>Prevention Act of 2014 - Title I: Certain Expiring Provisions - Subtitle A: Individual Tax<br>Extenders - (Sec. 101) Extends through 2014:   the tax deduction of expenses of elementary<br>and secondary school teachers;  the tax exclusio..."],["To amend the Internal Revenue Code of 1986 to provide for the tax treatment of ABLE<br>accounts established under State programs for the care of family members with<br>disabilities, and for other purposes.","HR647","Achieving a Better Life Experience Act of 2014 or the ABLE Act of 2014 - Title I:<br>Qualified ABLE Programs - (Sec. 101) States as the purposes of this title to: (1)<br>encourage and assist individuals and families in saving private funds for the purpose of<br>supporting individuals with disabilities to maintain health, independence, and quality of<br>life; and (2) provide secure funding for disability-related expenses of beneficiaries with<br>disabilities that will supplement, but not supplant, benefits p..."],["Providing for consideration of the Senate amendment to the bill (H.R. 3979) to amend the<br>Internal Revenue Code of 1986 to ensure that emergency services volunteers are not taken<br>into account as employees under the shared responsibility requirements contained in the<br>Patient Protection and Affordable Care Act; providing for consideration of the bill (H.R.<br>5759) to establish a rule of construction clarifying the limitations on executive<br>authority to provide certain forms of immigration relief; and providing for consideration<br>of the bill (H.R. 5781) to provide short-term water supplies to drought-stricken<br>California.","HRES770","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3979) to<br>amend the Internal Revenue Code of 1986 to ensure that emergency services volunteers are<br>not taken into account as employees under the shared responsibility requirements contained<br>in the Patient Protection and Affordable Care Act; providing for consideration of the bill<br>(H.R. 5759) to establish a rule of construction clarifying the limitations on executive<br>authority to provide certain forms of immigration..."],["Strongly condemning the actions of the Russian Federation, under President Vladimir Putin,<br>which has carried out a policy of aggression against neighboring countries aimed at<br>political and economic domination.","HRES758","Supports the efforts by President Poroshenko and the people of Ukraine to establish a<br>lasting peace for Ukraine that includes:   full withdrawal of Russian forces from its<br>territory,  full control of its international borders,  disarming of separatist and<br>paramilitary forces in eastern Ukraine,  adoption of policies to reduce the Russian<br>Federation's ability to use energy exports and trade barriers as weapons to apply economic<br>and political pressure, and  an end to interference by the Russian..."],["To establish a rule of construction clarifying the limitations on executive authority to<br>provide certain forms of immigration relief.","HR5759"," Preventing Executive Overreach on Immigration Act of 2014 - Prohibits the executive<br>branch of the government from:   exempting or deferring from removal, by executive order,<br>regulation, or any other means, categories of aliens considered under the immigration laws<br>to be unlawfully present in the United States;  treating such aliens as if they were<br>lawfully present or had a lawful immigration status; or  treating them other than as<br>unauthorized aliens.   States that such prohibition shall not..."],["To provide short-term water supplies to drought-stricken California.","HR5781","California Emergency Drought Relief Act of 2014 - Title I: California Emergency Drought<br>Relief - (Sec. 102) Grants the Secretaries of Commerce and the Interior (Secretaries)<br>emergency authority, subject to existing priorities of individuals and entities, to direct<br>the operations of the Central Valley Project (CVP) and allow the State Water Project (SWP)<br>operated by the California Department of Water Resources to provide the maximum quantity<br>of water supplies possible to CVP agricultural, muni..."],["Providing for consideration of the bill (S. 2244) to extend the termination date of the<br>Terrorism Insurance Program established under the Terrorism Risk Insurance Act of 2002,<br>and for other purposes; providing for consideration of motions to suspend the rules; and<br>providing for proceedings during the period from December 12, 2014, through January 3,<br>2015.","HRES775","Sets forth the rule for consideration of the bill (S. 2244) to extend the termination date<br>of the Terrorism Insurance Program established under the Terrorism Risk Insurance Act of<br>2002, and for other purposes; providing for consideration of motions to suspend the rules;<br>and providing for proceedings during the period from December 12, 2014, through January 3,<br>2015."],["Providing for consideration of the Senate amendment to the bill (H.R. 83) to require the<br>Secretary of the Interior to assemble a team of technical, policy, and financial experts<br>to address the energy needs of the insular areas of the United States and the Freely<br>Associated States through the development of energy action plans aimed at promoting access<br>to affordable, reliable energy, including increasing use of indigenous clean-energy<br>resources, and for other purposes; waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules; and<br>for other purposes.","HRES776","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 83) to<br>require the Secretary of the Interior to assemble a team of technical, policy, and<br>financial experts to address the energy needs of the insular areas of the United States<br>and the Freely Associated States through the development of energy action plans aimed at<br>promoting access to affordable, reliable energy, including increasing use of indigenous<br>clean-energy resources, and for other purposes; waiving a requ..."],["To amend the Internal Revenue Code of 1986 to modify and make permanent certain expiring<br>provisions related to charitable contributions.","HR5806","Supporting America's Charities Act - Amends the Internal Revenue Code to make permanent:<br>(1) the tax deduction for charitable contributions by individuals and corporations of real<br>property interests for conservation purposes, and (2) tax-free distributions from<br>individual retirement accounts (IRAs) for charitable purposes. Allows a tax deduction for<br>charitable contributions for conservation purposes\u00a0of property conveyed under the Alaska<br>Native Claims Settlement Act by an Alaska Native Corpora..."],["A bill to provide for a sequester replacement.","S16","Requires the President, by March 15, 2013, to submit to Congress a qualifying sequester<br>replacement plan proposing to cancel permanently $85.333 billion of budgetary resources<br>available for FY2013 from any discretionary appropriations or direct spending account.<br>Requires further that:  up to $42.666.500 billion of budgetary resources be cancelled from<br>defense spending (budget function 050); any cancellation of such budgetary resources<br>comply with the policies under and consistent with amounts..."],["A bill to restore States' sovereign rights to enforce State and local sales and use tax<br>laws, and for other purposes.","S743","Marketplace Fairness Act of 2013 - (Sec. 2) Authorizes each member state under the<br>Streamlined Sales and Use Tax Agreement (the multi-state agreement for the administration<br>and collection of sales and use taxes, adopted on November 12, 2002) to require all<br>sellers not qualifying for the small-seller exception (applicable to remote sellers with<br>annual gross receipts in total U.S. remote sales not exceeding $1 million in the preceding<br>calendar year) to collect and remit sales and use taxes for ..."],["A resolution strongly supporting the full implementation of United States and<br>international sanctions on Iran and urging the President to continue to strengthen<br>enforcement of sanctions legislation.","SRES65","(This measure has not been amended since it was reported to the Senate on April 17, 2013.<br>The summary of that version is repeated here.) States that Congress:  reaffirms the long-<br>standing bonds of friendship and cooperation between the United States and Israel which<br>enjoy bipartisan support in Congress and among the people of the United States; supports<br>the close military, intelligence, and security cooperation that President Obama has<br>pursued with Israel; condemns the statements and policies..."],["A bill to amend the Higher Education Act of 1965 to reset interest rates for new student<br>loans.","S1003","Comprehensive Student Loan Protection Act - Amends title IV (Student Assistance) of the<br>Higher Education Act of 1965 to set the interest rate on Direct Loans, for any 12-month<br>period beginning on July 1 and ending on June 30, at the bond equivalent rate of 10-year<br>Treasury bills auctioned at the final auction held prior to such June 1, plus 3%. Makes:<br>(1) that formula applicable to Direct Loans first disbursed on or after July 1, 2013, and<br>(2) the rate set on such loans applicable for the lif..."],["A joint resolution relating to the disapproval of the President's exercise of authority to<br>suspend the debt limit, as submitted under section 1002(b) of the Continuing<br>Appropriations Act, 2014 on October 17, 2013.","SJRES26","Disapproves of the President's exercise of authority to suspend the debt limit."],["To amend the Federal Food, Drug, and Cosmetic Act with respect to human drug compounding<br>and drug supply chain security, and for other purposes.","HR3204","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Drug Quality and Security Act - Title I: Drug<br>Compounding - Compounding Quality Act - (Sec. 102) Amends the Federal Food, Drug, and<br>Cosmetic Act (FFDCA) with respect to the regulation of compounding drugs. Exempts<br>compounded drugs from new drug requirements, labeling requirements, and track and trace<br>requirements if the drug is compounded by or under the direct su..."],["Making further continuing appropriations for fiscal year 2014, and for other purposes.","HJRES106","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Amends the Continuing Appropriations Act, 2014 (P.L. 113-46) to extend<br>through January 18, 2014, specified continuing appropriations for FY2014."],["To amend the Social Security Act to extend Medicare payments to physicians and other<br>provisions of the Medicare and Medicaid programs, and for other purposes.","HR4302","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  Protecting Access to Medicare Act of 2014 -<br>Title I: Medicare Extenders - (Sec. 101) Amends title XVIII (Medicare) of the Social<br>Security Act (SSA) with respect to physician payment update to: (1) extend the update<br>currently scheduled for January through March of 2014 to the entire calendar year of 2014,<br>(2) freeze the update to the single conversion factor at 0...."],["A bill to approve the Keystone XL Pipeline.","S2280","Authorizes TransCanada Keystone Pipeline, L.P. to construct, connect, operate, and<br>maintain the pipeline and cross-border facilities specified in an application filed by<br>TransCanada Corporation to the Department of State on May 4, 2012. Deems the Final<br>Supplemental Environmental Impact Statement regarding the pipeline issued by the Secretary<br>of State in January 2014 to fully satisfy the National Environmental Policy Act of 1969,<br>and any law that requires federal agency consultation or review,..."],["Adopting rules for the One Hundred Fourteenth Congress.","HRES5","Adopts the Rules of the House of Representatives for the 113th Congress as the Rules for<br>the 114th Congress, with amendments. (Sec. 2) Revises requirements for committee witnesses<br>appearing in a nongovernmental capacity. Requires witnesses, before testifying, to not<br>only include a curriculum vitae in their written statement of proposed testimony, but a<br>disclosure of any federal grants or contracts, or contracts or payments originating with a<br>foreign government received by them during the curr..."],["To amend the Internal Revenue Code of 1986 to exempt employees with health coverage under<br>TRICARE or the Veterans Administration from being taken into account for purposes of<br>determining the employers to which the employer mandate applies under the Patient<br>Protection and Affordable Care Act.","HR22","Fixing America's Surface Transportation Act or the FAST Act DIVISION A--SURFACE<br>TRANSPORTATION  (Sec. 1002) Directs the Department of Transportation (DOT) to reduce the<br>amount apportioned for a surface transportation program, project, or activity for FY2016<br>by amounts apportioned or allocated under any extension of the Moving Ahead for Progress<br>in the 21st Century Act (MAP-21) for the period beginning October 1, 2015, and ending upon<br>enactment of this Act. TITLE I--FEDERAL-AID HIGHWAYS Subtit..."],["To extend the termination date of the Terrorism Insurance Program established under the<br>Terrorism Risk Insurance Act of 2002, and for other purposes.","HR26","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Terrorism Risk Insurance Program Reauthorization<br>Act of 2015 TITLE I--EXTENSION OF TERRORISM INSURANCE PROGRAM (Sec. 101) Amends the<br>Terrorism Risk Insurance Act of 2002 (TRIA) to extend the Terrorism Insurance Program<br>through December 31, 2020, and to revise requirements for the Program. (Sec. 102) Requires<br>the federal share of payments beginning on January 1, 20..."],["To make technical corrections to the Dodd-Frank Wall Street Reform and Consumer Protection<br>Act, to enhance the ability of small and emerging growth companies to access capital<br>through public and private markets, to reduce regulatory burdens, and for other purposes.","HR37","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Promoting Job Creation and Reducing Small<br>Business Burdens Act  TITLE I--BUSINESS RISK MITIGATION AND PRICE STABILIZATION ACT  (Sec.<br>101) This bill amends the Commodity Exchange Act (CEA) to exempt, from prudential rules<br>for swap dealers and major swap participants with respect to initial and variation margin<br>requirements for swaps not cleared by a registered deri..."],["To reauthorize the National Windstorm Impact Reduction Program, and for other purposes.","HR23","(This measure has not been amended since it was reported to the Senate on June 11, 2015.<br>The summary of that version is repeated here.) National Windstorm Impact Reduction Act<br>Reauthorization of 2015 (Sec. 2) Amends the National Windstorm Impact Reduction Act of<br>2004 to revise provisions governing the National Windstorm Impact Reduction Program and to<br>reauthorize the Program through FY2017. Defines the \"Director\" of the Program to mean the<br>Director of the National Institute of Standards and T..."],["Providing for consideration of the bill (H.R. 3) to approve the Keystone XL Pipeline, and<br>providing for consideration of the bill (H.R. 30) to amend the Internal Revenue Code of<br>1986 to repeal the 30-hour threshold for classification as a full-time employee for<br>purposes of the employer mandate in the Patient Protection and Affordable Care Act and<br>replace it with 40 hours.","HRES19","Sets forth the rule for consideration of H.R. 3 (Keystone XL Pipeline Act) and H.R. 30<br>(Save American Workers Act of 2015)."],["To amend the Internal Revenue Code of 1986 to repeal the 30-hour threshold for<br>classification as a full-time employee for purposes of the employer mandate in the Patient<br>Protection and Affordable Care Act and replace it with 40 hours.","HR30","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Save American Workers Act of 2015  This bill amends the Internal\u00a0Revenue<br>Code to change the definition of \"full-time employee\" for purposes of the employer mandate<br>to provide minimum essential health care coverage under the\u00a0Patient Protection and<br>Affordable Care Act from an employee who is employed on average at least 30 hours of<br>service\u00a0a week to an employee who is employed on average a..."],["To approve the Keystone XL Pipeline.","HR3","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Keystone XL Pipeline Act Authorizes TransCanada Keystone Pipeline, L.P. to<br>construct, connect, operate, and maintain the pipeline and cross-border facilities<br>specified in an application filed by TransCanada Corporation to the Department of State on<br>May 4, 2012. Deems the Final Supplemental Environmental Impact Statement regarding the<br>pipeline issued by the Secretary of State in January 2..."],["To amend the Internal Revenue Code of 1986 to ensure that emergency services volunteers<br>are not taken into account as employees under the shared responsibility requirements<br>contained in the Patient Protection and Affordable Care Act.","HR33","(This measure has not been amended since it was passed by the Senate on February 27, 2015.<br>The summary of that version is repeated here.) This bill amends the Continuing<br>Appropriations Resolution, 2015 to extend the continuing FY2015 appropriations for the<br>Department of Homeland Security (DHS) at the current annual rate until the earlier of<br>March 6, 2015, or enactment of DHS appropriations legislation for FY2015. The bill<br>prevents a shutdown of DHS when funding under current law expires on Fe..."],["Providing for consideration of the bill (H.R. 37) to make technical corrections to the<br>Dodd-Frank Wall Street Reform and Consumer Protection Act, to enhance the ability of small<br>and emerging growth companies to access capital through public and private markets, to<br>reduce regulatory burdens, and for other purposes; providing for consideration of the bill<br>(H.R. 185) to reform the process by which Federal agencies analyze and formulate new<br>regulations and guidance documents; and providing for consideration of the bill (H.R. 240)<br>making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2015, and for other purposes.","HRES27","Sets forth the rule for consideration of the bill (H.R. 37) to make technical corrections<br>to the Dodd-Frank Wall Street Reform and Consumer Protection Act, to enhance the ability<br>of small and emerging growth companies to access capital through public and private<br>markets, to reduce regulatory burdens, and for other purposes; providing for consideration<br>of the bill (H.R. 185) to reform the process by which Federal agencies analyze and<br>formulate new regulations and guidance documents; and provid..."],["To reform the process by which Federal agencies analyze and formulate new regulations and<br>guidance documents.","HR185","Regulatory Accountability Act of 2015   (Sec. 2) Defines \"major rule\" and \"major guidance\"<br>for purposes of this Act as a rule or guidance that the Administrator of the Office of<br>Information and Regulatory Affairs of the Office of Management and Budget (OMB) determines<br>is likely to impose: (1)\u00a0an annual cost on the economy of $100 million or more, adjusted<br>annually for inflation; (2)\u00a0a major increase in costs or prices; (3)\u00a0significant adverse<br>effects on competition, employment, investment, pr..."],["Making appropriations for the Department of Homeland Security for the fiscal year ending<br>September 30, 2015, and for other purposes.","HR240","(This measure has not been amended since it was passed by the Senate on February 27, 2015.<br>The summary of that version is repeated here.) Highlights:  The Department of Homeland<br>Security Appropriations Act, 2015 provides FY2015 appropriations for the Department of<br>Homeland Security (DHS), including U.S. Customs and Border Protection (CBP), the U.S.<br>Coast Guard, U.S. Immigration and Customs Enforcement (ICE), the Transportation Security<br>Administration (TSA), the Federal Emergency Management Ag..."],["Providing for consideration of the bill (H.R. 161) to provide for the timely consideration<br>of all licenses, permits, and approvals required under Federal law with respect to the<br>siting, construction, expansion, or operation of any natural gas pipeline projects, and<br>providing for consideration of the bill (H.R. 36) to amend title 18, United States Code,<br>to protect pain-capable unborn children, and for other purposes.","HRES38","Sets forth the rule for consideration of the bill (H.R. 161) to provide for the timely<br>consideration of all licenses, permits, and approvals required under Federal law with<br>respect to the siting, construction, expansion, or operation of any natural gas pipeline<br>projects, and providing for consideration of the bill (H.R. 36) to amend title 18, United<br>States Code, to protect pain-capable unborn children."],["To provide for the timely consideration of all licenses, permits, and approvals required<br>under Federal law with respect to the siting, construction, expansion, or operation of any<br>natural gas pipeline projects.","HR161","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Natural Gas Pipeline Permitting Reform Act  Amends the Natural Gas Act to<br>direct the Federal Energy Regulatory Commission (FERC) to approve or deny a certificate of<br>public convenience and necessity for a prefiled project within 12 months after receiving a<br>complete application that is ready to be processed.  Defines \"prefiled project\" as a<br>project for the siting, construction, expansion, ..."],["Providing for consideration of the bill (H.R. 7) to prohibit taxpayer funded abortions.","HRES42","Sets forth the rule for consideration of the bill (H.R. 7) to prohibit taxpayer funded<br>abortions."],["To prohibit taxpayer funded abortions.","HR7","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) No Taxpayer Funding for Abortion and Abortion<br>Insurance Full Disclosure Act of 2015 TITLE I--PROHIBITING FEDERALLY FUNDED ABORTIONS<br>(Sec. 101) This bill prohibits federal funds, including funds in the budget of the<br>District of Columbia, from being expended for abortion or health coverage that includes<br>coverage of abortion. Abortions are eligible for federal fundin..."],["Providing for consideration of the bill (H.R. 351) to provide for expedited approval of<br>exportation of natural gas, and for other purposes.","HRES48","Sets forth the rule for consideration of the bill (H.R. 351) to provide for expedited<br>approval of exportation of natural gas."],["To provide for expedited approval of exportation of natural gas, and for other purposes.","HR351","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) LNG Permitting Certainty and Transparency Act<br>(Sec. 2) Directs the Department of Energy (DOE), for proposals that must also obtain<br>authorization from the Federal Energy Regulatory Commission or the United States Maritime<br>Administration to site, construct, expand, or operate liquified natural gas (LNG) export<br>facilities, to issue a decision on an application for au..."],["To amend the Homeland Security Act of 2002 to codify authority under existing grant<br>guidance authorizing use of Urban Area Security Initiative and State Homeland Security<br>Grant Program funding for enhancing medical preparedness, medical surge capacity, and mass<br>prophylaxis capabilities.","HR361","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Medical Preparedness Allowable Use Act  Amends the Homeland Security Act<br>of 2002 to authorize the use of Urban Area Security Initiative and State Homeland Security<br>Grant Program funding for enhancing medical preparedness, medical surge capacity, and mass<br>prophylaxis capabilities, including the development and maintenance of an initial<br>pharmaceutical stockpile, including medical kits, and..."],["To amend the Homeland Security Act of 2002 to authorize the Department of Homeland<br>Security to establish a social media working group, and for other purposes.","HR623","(This measure has not been amended since it was reported to the Senate on September 21,<br>2015. The summary of that version is repeated here.) DHS Social Media Improvement Act of<br>2015 (Sec. 2) Amends the Homeland Security Act of 2002 to direct the Secretary of Homeland<br>Security to establish within the Department of Homeland Security (DHS) a social media<br>working group (the Group) to identify, and provide guidance and best practices to the<br>emergency preparedness and response community on, the use..."],["Providing for consideration of the bill (H.R. 596) to repeal the Patient Protection and<br>Affordable Care Act and health care-related provisions in the Health Care and Education<br>Reconciliation Act of 2010, and for other purposes.","HRES70","Sets forth the rule for consideration of the bill (H.R. 596) to repeal the Patient<br>Protection and Affordable Care Act and health care-related provisions in the Health Care<br>and Education Reconciliation Act of 2010."],["To repeal the Patient Protection and Affordable Care Act and health care-related<br>provisions in the Health Care and Education Reconciliation Act of 2010, and for other<br>purposes.","HR596","(Sec. 1) This bill repeals the Patient Protection and Affordable Care Act and the health<br>care provisions of the Health Care and Education Reconciliation Act of 2010. The repeal is<br>effective 180 days after enactment of this Act. Provisions of law amended by the repealed<br>provisions are restored. (Sec. 2) The budgetary effects of this bill must not be entered<br>on the PAYGO scorecards maintained by the Office of Management and Budget. (Sec. 3) The<br>Committees on Education and the Workforce, Energy ..."],["Providing for consideration of the bill (H.R. 527) to amend chapter 6 of title 5, United<br>States Code (commonly known as the Regulatory Flexibility Act), to ensure complete<br>analysis of potential impacts on small entities of rules, and for other purposes, and<br>providing for consideration of the bill (H.R. 50) to provide for additional safeguards<br>with respect to imposing Federal mandates, and for other purposes.","HRES78","Sets forth the rule for consideration of the bill (H.R. 527) to amend chapter 6 of title<br>5, United States Code (commonly known as the Regulatory Flexibility Act), to ensure<br>complete analysis of potential impacts on small entities of rules, and for other purposes,<br>and providing for consideration of the bill (H.R. 50) to provide for additional safeguards<br>with respect to imposing Federal mandates."],["To provide for additional safeguards with respect to imposing Federal mandates, and for<br>other purposes.","HR50","Unfunded Mandates Information and Transparency Act of 2015  (Sec. 2) States as the<br>purposes of this Act to: (1) improve the quality of the deliberations of Congress with<br>respect to proposed federal mandates by providing Congress and the public with more<br>complete information about the effects of such mandates and by ensuring that Congress acts<br>on such mandates only after focused deliberation on their effects; and (2) enhance the<br>ability of Congress and the public to identify federal mandates t..."],["To amend chapter 6 of title 5, United States Code (commonly known as the Regulatory<br>Flexibility Act), to ensure complete analysis of potential impacts on small entities of<br>rules, and for other purposes.","HR527","Small Business Regulatory Flexibility Improvements Act of 2015  This bill amends the<br>Regulatory Flexibility Act of 1980 (RFA) and the Small Business Regulatory Enforcement Act<br>of 1996 (SBREFA) to revise and expand the rulemaking requirements and procedures of<br>federal agencies (excluding Congress, U.S. courts, U.S. territories and possessions, and<br>the District of Columbia) that affect small entities.  (Sec. 2) RFA is amended to adopt<br>the broader definition of \"rule\" set forth in the Administra..."],["To require the Transportation Security Administration to conform to existing Federal law<br>and regulations regarding criminal investigator positions, and for other purposes.","HR719","(This measure has not been amended since the Senate agreed to the House amendment with an<br>amendment on September 30, 2015. The summary of that version is repeated here.)<br>Highlights: This bill provides continuing FY2016 appropriations to federal agencies until<br>December 11, 2015, or the enactment of specified appropriations legislation. It is known<br>as a continuing resolution (CR) and prevents a government shutdown that would otherwise<br>occur when FY2016 begins on October 1, 2015, because none of..."],["To improve intergovernmental planning for and communication during security incidents at<br>domestic airports, and for other purposes.","HR720","(This measure has not been amended since it was passed by the Senate on August 5, 2015.<br>The summary of that version is repeated here.) Gerardo Hernandez Airport Security Act of<br>2015   (Sec. 3) Directs the Transportation Security Administration (TSA) of the Department<br>of Homeland Security to: (1) conduct outreach to all U.S. airports at which the TSA<br>performs, or oversees the implementation and performance of, security measures; and (2)<br>give necessary technical assistance to verify that such a..."],["Providing for consideration of the bill (S. 1) to approve the Keystone XL Pipeline, and<br>providing for proceedings during the period from February 16, 2015, through February 23,<br>2015.","HRES100","Sets forth the rule for consideration of the bill (S. 1) to approve the Keystone XL<br>Pipeline, and providing for proceedings during the period from February 16, 2015, through<br>February 23, 2015."],["A bill to approve the Keystone XL Pipeline.","S1","(This measure has not been amended since it was passed by the Senate on January 29, 2015.<br>The summary of that version is repeated here.) Keystone XL Pipeline Approval Act (Sec. 2)<br>Authorizes TransCanada Keystone Pipeline, L.P. to construct, connect, operate, and<br>maintain the pipeline and cross-border facilities specified in an application filed by<br>TransCanada Corporation to the Department of State on May 4, 2012. Deems the Final<br>Supplemental Environmental Impact Statement regarding the pipeli..."],["Providing for consideration of the bill (H.R. 644) to amend the Internal Revenue Code of<br>1986 to permanently extend and expand the charitable deduction for contributions of food<br>inventory, and providing for consideration of the bill (H.R. 636) to amend the Internal<br>Revenue Code of 1986 to permanently extend increased expensing limitations, and for other<br>purposes.","HRES101","Sets forth the rule for consideration of the bill (H.R. 644) to amend the Internal Revenue<br>Code of 1986 to permanently extend and expand the charitable deduction for contributions<br>of food inventory, and providing for consideration of the bill (H.R. 636) to amend the<br>Internal Revenue Code of 1986 to permanently extend increased expensing limitations."],["To amend the Internal Revenue Code of 1986 to permanently extend and expand the charitable<br>deduction for contributions of food inventory.","HR644","(This measure has not been amended since the Conference Report was filed in the House on<br>December 9, 2015. The summary of that version is repeated here.) Trade Facilitation and<br>Trade Enforcement Act of 2015  TITLE I--TRADE FACILITATION AND TRADE ENFORCEMENT (Sec.<br>101) This bill directs the U.S. Customs and Border Protection (CBP) to ensure that CBP<br>partnership programs, such as the Customs-Trade Partnership Against Terrorism, provide<br>trade benefits to importers, exporters, and certain other p..."],["To amend the Internal Revenue Code of 1986 to permanently extend increased expensing<br>limitations, and for other purposes.","HR636","FAA Extension, Safety, and Security Act of 2016  TITLE I--FAA EXTENSION Subtitle A--<br>Airport and Airway Programs  (Sec. 1101) This bill reauthorizes through FY2017 the Federal<br>Aviation Administration (FAA) and specified FAA programs, including:  the airport<br>improvement program; air navigation facilities and equipment; research, engineering, and<br>development; and essential air service.  (Sec. 1102) The following expiring authorities<br>are extended through FY2017, including:  the competition disclo..."],["To amend the Safe Drinking Water Act to provide for the assessment and management of the<br>risk of cyanotoxins in drinking water, and for other purposes.","HR212","(This measure has not been amended since it was passed by the House on February 24, 2015.<br>The summary of that version is repeated here.) Drinking Water Protection Act  (Sec. 2)<br>This bill amends the Safe Drinking Water Act to direct the Environmental Protection Agency<br>(EPA) to develop and submit to Congress a strategic plan for assessing and managing risks<br>associated with algal toxins in drinking water provided by public water systems.<br>Cyanobacteria, also known as blue-green algae, have the ab..."],["To amend the Communications Act of 1934 to consolidate the reporting obligations of the<br>Federal Communications Commission in order to improve congressional oversight and reduce<br>reporting burdens.","HR734","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Federal Communications Commission Consolidated<br>Reporting Act of 2015 (Sec. 2) Amends the Communications Act of 1934 to replace various<br>reporting requirements with a communications marketplace report that the Federal<br>Communications Commission (FCC) is required to publish on its website and submit to<br>Congress every two years assessing: (1) competition in the communi..."],["Providing for consideration of the bill (H.R. 529) to amend the Internal Revenue Code of<br>1986 to improve 529 plans; providing for consideration of the bill (H.R. 5) to support<br>State and local accountability for public education, protect State and local authority,<br>inform parents of the performance of their children's schools, and for other purposes; and<br>for other purposes.","HRES121","Sets forth the rule for consideration of the bill (H.R. 529) to amend the Internal Revenue<br>Code of 1986 to improve 529 plans; providing for consideration of the bill (H.R. 5) to<br>support State and local accountability for public education, protect State and local<br>authority, inform parents of the performance of their children's schools, and for other<br>purposes."],["To define STEM education to include computer science, and to support existing STEM<br>education programs at the National Science Foundation.","HR1020","(This measure has not been amended since it was passed by the Senate on September 24,<br>2015. The summary of that version is repeated here.) STEM Education Act of 2015  (Sec. 3)<br>Requires the Director of the National Science Foundation (NSF) to continue to award<br>competitive, merit-reviewed grants to support: (1) research and development of innovative<br>out-of-school STEM (science, technology, engineering, and mathematics) learning and<br>emerging STEM learning environments; and (2) research that adva..."],["To amend the Internal Revenue Code of 1986 to improve 529 plans.","HR529","(This measure has not been amended since it was reported to the House on February 20,<br>2015. The summary of that version is repeated here.) This bill makes changes to the rules<br>for qualified tuition programs (known as 529 plans). (Sec. 2) The Internal Revenue Code is<br>amended to allow payments from 529 plans for the purchase of computer or peripheral<br>equipment, computer software, or Internet access and related services to be used primarily<br>by a 529 plan beneficiary while enrolled in an eligible..."],["Providing for further consideration of the bill (H.R. 5) to support State and local<br>accountability for public education, protect State and local authority, inform parents of<br>the performance of their children's schools, and for other purposes.","HRES125","Sets forth the rule for consideration of H.R. 5 (Student Success Act)."],["To support State and local accountability for public education, protect State and local<br>authority, inform parents of the performance of their children's schools, and for other<br>purposes.","HR5","Student Success Act  (Sec. 6) Reauthorizes through FY2019 the programs under titles I-IV<br>of the Elementary and Secondary Education Act of 1965 (ESEA), as amended by this Act.<br>(Sec. 7) Expresses the sense of Congress that states and local educational agencies (LEAs)<br>retain the rights and responsibilities of determining educational curricula, programs of<br>instruction, and assessments. TITLE I--AID TO LOCAL EDUCATIONAL AGENCIES Subtitle A--In<br>General (Sec. 101) Replaces title I (Improving the Aca..."],["Providing for consideration of the joint resolution (H.J. Res. 35) making further<br>continuing appropriations for fiscal year 2015, and for other purposes.","HRES129","Sets forth the rule for consideration of the joint resolution (H.J. Res. 35) making<br>further continuing appropriations for fiscal year 2015."],["Making further continuing appropriations for fiscal year 2015, and for other purposes.","HJRES35","This joint resolution amends the Continuing Appropriations Resolution, 2015 to extend the<br>continuing FY2015 appropriations for the Department of Homeland Security (DHS) at the<br>current annual rate until the earlier of March 19, 2015, or enactment of DHS<br>appropriations legislation for FY2015. The joint resolution prevents a shutdown of DHS<br>when funding under current law expires on February 27, 2015."],["To amend title 38, United States Code, to authorize the Secretary of Veterans Affairs to<br>enter into contracts and agreements for the transfer of veterans to non-Department medical<br>foster homes for certain veterans who are unable to live independently.","HR294","Long-Term Care Veterans Choice Act (Sec. 2) Authorizes the Department of Veterans Affairs<br>(VA), during the three-year period beginning on October 1, 2015, at the request of a<br>veteran for whom the VA is required to provide nursing home care, to place such veteran in<br>a medical foster home that meets VA standards. Requires such veteran to agree, as a<br>condition of such placement, to accept VA home health services. Limits the number of<br>veterans placed in a medical foster home that may have their c..."],["To reauthorize Federal support for passenger rail programs, and for other purposes.","HR749","Passenger Rail Reform and Investment Act of 2015 TITLE I--AUTHORIZATION OF APPROPRIATIONS<br>(Sec. 101) Authorizes appropriations for FY2016-FY2019 to the Secretary of Transportation<br>for the National Railroad Passenger Corporation (Amtrak) for:    the Northeast Corridor<br>Improvement Fund account, the National Network account, the Office of the Inspector<br>General, and national infrastructure investment capital grants.  TITLE II--AMTRAK REFORM<br>(Sec. 201) Directs Amtrak to establish internal control..."],["To amend title XII of the Public Health Service Act to reauthorize certain trauma care<br>programs, and for other purposes.","HR647","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Access to Life-Saving Trauma Care for All<br>Americans Act (Sec. 2) This bill amends the Public Health Service Act to reauthorize<br>grants for certain trauma centers and grants to states for trauma centers through FY2020.<br>The categorization of certain trauma centers is revised. (Sec. 3) The Assistant Secretary<br>for Preparedness and Response is given the authority to adm..."],["To amend title XII of the Public Health Service Act to reauthorize certain trauma care<br>programs, and for other purposes.","HR648","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Trauma Systems and Regionalization of Emergency<br>Care Reauthorization Act (Sec. 2) This bill amends the Public Health Service Act to<br>reauthorize trauma care programs through FY2020.  (Sec. 3) Grants for pilot projects of<br>innovative models of emergency care and trauma systems can be allocated up to half of the<br>remaining funds for trauma care after allocations for im..."],["Providing for consideration of the bill (H.R. 1029) to amend the Environmental Research,<br>Development, and Demonstration Authorization Act of 1978 to provide for Scientific<br>Advisory Board member qualifications, public participation, and for other purposes, and<br>providing for consideration of the bill (H.R. 1030) to prohibit the Environmental<br>Protection Agency from proposing, finalizing, or disseminating regulations or assessments<br>based upon science that is not transparent or reproducible.","HRES138","Sets forth the rule for consideration of the bill (H.R. 1029) to amend the Environmental<br>Research, Development, and Demonstration Authorization Act of 1978 to provide for<br>Scientific Advisory Board member qualifications, public participation, and for other<br>purposes, and providing for consideration of the bill (H.R. 1030) to prohibit the<br>Environmental Protection Agency from proposing, finalizing, or disseminating regulations<br>or assessments based upon science that is not transparent or reproduci..."],["To amend the Internal Revenue Code of 1986 to ensure that emergency services volunteers<br>are not taken into account as employees under the shared responsibility requirements<br>contained in the Patient Protection and Affordable Care Act.","HR1191","(This measure has not been amended since it was passed by the Senate on May 7, 2015. The<br>summary of that version is repeated here.) Iran Nuclear Agreement Review Act of 2015 (Sec.<br>2) This bill amends the Atomic Energy Act of 1954 to direct the President, within five<br>days after reaching an agreement with Iran regarding Iran's nuclear program, to transmit<br>to Congress:   the text of the agreement and all related materials and annexes;  a related<br>verification assessment report of the Secretary of..."],["To amend the Environmental Research, Development, and Demonstration Authorization Act of<br>1978 to provide for Scientific Advisory Board member qualifications, public participation,<br>and for other purposes.","HR1029","EPA Science Advisory Board Reform Act of 2015  (Sec. 2) This bill amends the Environmental<br>Research, Development, and Demonstration Authorization Act of 1978 to revise the process<br>of selecting members of the Science Advisory Board, guidelines for participation in Board<br>advisory activities, and terms of office. The Board provides scientific advice to the<br>Environmental Protection Agency (EPA). This bill requires the Board to independently<br>provide that advice. Among the revisions to requirements..."],["To prohibit the Environmental Protection Agency from proposing, finalizing, or<br>disseminating regulations or assessments based upon science that is not transparent or<br>reproducible.","HR1030","(This measure has not been amended since it was reported to the House on March 2, 2015.<br>The summary of that version is repeated here.) Secret Science Reform Act of 2015 (Sec. 2)<br>This bill amends the Environmental Research, Development, and Demonstration Authorization<br>Act of 1978 to prohibit the Environmental Protection Agency (EPA) from proposing,<br>finalizing, or disseminating a covered action unless all scientific and technical<br>information relied on to support such action is the best availabl..."],["Providing for consideration of the resolution (H. Res. 132) providing for the expenses of<br>certain committees of the House of Representatives in the One Hundred Fourteenth Congress,<br>and providing for consideration of the joint resolution (S.J. Res. 8) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by the National Labor Relations Board relating to representation case<br>procedures.","HRES152","Sets forth the rule for consideration of the resolution (H. Res. 132) providing for the<br>expenses of certain committees of the House of Representatives in the One Hundred<br>Fourteenth Congress, and providing for consideration of the joint resolution (S.J. Res. 8)<br>providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the National Labor Relations Board relating to representation case<br>procedures."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the National Labor Relations Board relating<br>to representation case procedures.","SJRES8","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Disapproves and nullifies the rule submitted by the National Labor<br>Relations Board and published December 15, 2014, relating to representation case<br>procedures."],["To reauthorize the Native American Housing Assistance and Self-Determination Act of 1996,<br>and for other purposes.","HR360","Native American Housing Assistance and Self-Determination Reauthorization Act of 2015<br>TITLE I--BLOCK GRANTS AND GRANT REQUIREMENTS   (Sec. 101) Amends the Native American<br>Housing Assistance and Self-Determination Act of 1996 (NAHASDA) to require the Department<br>of Housing and Urban Development (HUD) to act within 60 days upon a request by an Indian<br>tribe for a waiver of certain local cooperation requirements and an exemption from<br>taxation requirements under the program providing tribes with bl..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 27) establishing<br>the budget for the United States Government for fiscal year 2016 and setting forth<br>appropriate budgetary levels for fiscal years 2017 through 2025.","HRES163","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 27)<br>establishing the budget for the United States Government for fiscal year 2016 and setting<br>forth appropriate budgetary levels for fiscal years 2017 through 2025."],["Establishing the budget for the United States Government for fiscal year 2016 and setting<br>forth appropriate budgetary levels for fiscal years 2017 through 2025.","HCONRES27","Establishes the congressional budget for the federal government for FY2016 and sets forth<br>budgetary levels for FY2017-FY2025.  TITLE I--RECOMMENDED LEVELS AND AMOUNTS  (Sec. 101)<br>Recommends levels and amounts for FY2016-FY2025 for federal revenues, new budget<br>authority, budget outlays, deficits (on-budget), debt subject to limit, and debt held by<br>the public.  (Sec. 102) Recommends levels of new budget authority and outlays for<br>FY2016-FY2025 for each major functional category, including:   Nat..."],["Providing for consideration of the bill (H.R. 2) to amend title XVIII of the Social<br>Security Act to repeal the Medicare sustainable growth rate and strengthen Medicare access<br>by improving physician payments and making other improvements, to reauthorize the<br>Children's Health Insurance Program, and for other purposes, and providing for proceedings<br>during the period from March 27, 2015, through April 10, 2015.","HRES173","Sets forth the rule for consideration of the bill (H.R. 2) to amend title XVIII of the<br>Social Security Act to repeal the Medicare sustainable growth rate and strengthen Medicare<br>access by improving physician payments and making other improvements, to reauthorize the<br>Children's Health Insurance Program, and for other purposes, and providing for proceedings<br>during the period from March 27, 2015, through April 10, 2015."],["To amend title XVIII of the Social Security Act to repeal the Medicare sustainable growth<br>rate and strengthen Medicare access by improving physician payments and making other<br>improvements, to reauthorize the Children's Health Insurance Program, and for other<br>purposes.","HR2","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.)  Medicare Access and CHIP Reauthorization Act of<br>2015 TITLE I--SGR REPEAL AND MEDICARE PROVIDER PAYMENT MODERNIZATION (Sec. 101) Amends<br>title XVIII (Medicare) of the Social Security Act (SSAct) to: (1) remove sustainable<br>growth rate (SGR) methodology from the determination of annual conversion factors in the<br>formula for payment for physicians' services, and (2) revis..."],["To provide for an application process for interested parties to apply for an area to be<br>designated as a rural area, and for other purposes.","HR1259","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Helping Expand Lending Practices in Rural<br>Communities Act (Sec. 2) Directs the Consumer Financial Protection Bureau (CFPB) to<br>establish an application process under which a person who lives or does business in a<br>state may apply to have an area in the state identified as a rural area if it has not yet<br>been so designated by the CFPB for purposes of federal consumer ..."],["To apply the requirements of the Federal Advisory Committee Act to the Bureau of Consumer<br>Financial Protection.","HR1265","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Bureau Advisory Commission Transparency Act (Sec.<br>2) Amends the Consumer Financial Protection Act of 2010 to declare the Federal Advisory<br>Committee Act applicable to each advisory committee and subcommittee of the Consumer<br>Financial Protection Bureau."],["To ensure access to certain information for financial services industry regulators, and<br>for other purposes.","HR1480","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) SAFE Act Confidentiality and Privilege<br>Enhancement Act   (Sec. 2) Amends the S.A.F.E. Mortgage Licensing Act of 2008 to extend to<br>state and federal regulatory officials having financial services oversight authority<br>(currently only those having mortgage oversight authority) access to any information<br>provided to the Nationwide Mortgage Licensing System and Registry ..."],["Providing for consideration of the bill (H.R. 650) to amend the Truth in Lending Act to<br>modify the definitions of a mortgage originator and a high-cost mortgage, providing for<br>consideration of the bill (H.R. 685) to amend the Truth in Lending Act to improve upon the<br>definitions provided for points and fees in connection with a mortgage transaction, and<br>providing for the adoption of the concurrent resolution (S. Con. Res. 11) setting forth<br>the congressional budget for the United States Government for fiscal year 2016 and setting<br>forth the appropriate budgetary levels for fiscal years 2017 through 2025.","HRES189","Sets forth the rule for consideration of the bill (H.R. 650) to amend the Truth in Lending<br>Act to modify the definitions of a mortgage originator and a high-cost mortgage, providing<br>for consideration of the bill (H.R. 685) to amend the Truth in Lending Act to improve upon<br>the definitions provided for points and fees in connection with a mortgage transaction,<br>and providing for the adoption of the concurrent resolution (S. Con. Res. 11) setting<br>forth the congressional budget for the United Stat..."],["To amend the Truth in Lending Act to modify the definitions of a mortgage originator and a<br>high-cost mortgage.","HR650","(This measure has not been amended since it was introduced. The summary of has been<br>expanded because action occurred on the measure.) Preserving Access to Manufactured<br>Housing Act of 2015 (Sec. 2) Amends the Truth in Lending Act to revise the exclusion from<br>the meaning of \"mortgage originator\" of any employee of a retailer of manufactured homes<br>who does not for compensation or gain take residential mortgage loan applications, for<br>compensation or gain offer or negotiate terms of a residential ..."],["To amend the Truth in Lending Act to improve upon the definitions provided for points and<br>fees in connection with a mortgage transaction.","HR685","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Mortgage Choice Act of 2015  (Sec. 2) Amends the<br>Truth in Lending Act with respect to requirements for disclosure to a consumer of points<br>and fees information about a consumer credit transaction, secured by the consumer's<br>principal dwelling, but which is not a residential mortgage transaction, a reverse<br>mortgage transaction, or a transaction under an open end cred..."],["An original concurrent resolution setting forth the congressional budget for the United<br>States Government for fiscal year 2016 and setting forth the appropriate budgetary levels<br>for fiscal years 2017 through 2025.","SCONRES11","Establishes the congressional budget for the federal government for FY2016 and sets forth<br>budgetary levels for FY2017-FY2025.  TITLE I--RECOMMENDED LEVELS AND AMOUNTS  Subtitle A--<br>Budgetary Levels in Both Houses  (Sec. 1101) Recommends levels and amounts for<br>FY2016-FY2025 for federal revenues, new budget authority, budget outlays, deficits, public<br>debt, and debt held by the public.  (Sec. 1102) Recommends levels of new budget authority<br>and outlays for FY2016-FY2025 for each major functional c..."],["Providing for consideration of the bill (H.R. 622) to amend the Internal Revenue Code of<br>1986 to make permanent the deduction of State and local general sales taxes; providing for<br>consideration of the bill (H.R. 1105) to amend the Internal Revenue Code of 1986 to repeal<br>the estate and generation-skipping transfer taxes, and for other purposes; and providing<br>for consideration of the bill (H.R. 1195) to amend the Consumer Financial Protection Act<br>of 2010 to establish advisory boards, and for other purposes.","HRES200","Sets forth the rule for consideration of the bill (H.R. 622) to amend the Internal Revenue<br>Code of 1986 to make permanent the deduction of State and local general sales taxes;<br>providing for consideration of the bill (H.R. 1105) to amend the Internal Revenue Code of<br>1986 to repeal the estate and generation-skipping transfer taxes, and for other purposes;<br>and providing for consideration of the bill (H.R. 1195) to amend the Consumer Financial<br>Protection Act of 2010 to establish advisory boards."],["To prohibit the awarding of a contract or grant in excess of the simplified acquisition<br>threshold unless the prospective contractor or grantee certifies in writing to the agency<br>awarding the contract or grant that the contractor or grantee has no seriously delinquent<br>tax debts, and for other purposes.","HR1562","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Contracting and Tax Accountability Act of 2015<br>(Sec. 2) Declares it the policy of the U.S. government that no government contracts or<br>grants should be awarded to individuals or companies with seriously delinquent federal tax<br>debts.  (Sec. 3) Requires the head of any executive agency that issues an invitation for<br>bids or a request for proposals for a contract, or t..."],["To amend title 5, United States Code, to provide that individuals having seriously<br>delinquent tax debts shall be ineligible for Federal employment, and for other purposes.","HR1563","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Federal Employee Tax Accountability Act of 2015<br>(Sec. 2) Makes any individual who has a seriously delinquent tax debt ineligible for<br>federal employment or to continue serving as a federal employee. Defines \"seriously<br>delinquent tax debt\" as a\u00a0 federal tax liability assessed by the Internal Revenue Service<br>and collectible by levy or court proceeding, except a tax d..."],["To amend the Internal Revenue Code of 1986 to make permanent the deduction of State and<br>local general sales taxes.","HR622","(This measure has not been amended since it was reported to the House on April 6, 2015.<br>The summary of that version is repeated here.) State and Local Sales Tax Deduction<br>Fairness Act of 2015 (Sec. 2) Amends the Internal Revenue Code to make permanent the<br>taxpayer election to deduct state and local general sales taxes in lieu of state and local<br>income taxes.  (Sec. 3) Prohibits the budgetary effects of this Act from being entered on<br>either PAYGO scorecard maintained under the Statutory Pay-As..."],["To amend the Internal Revenue Code of 1986 to repeal the estate and generation-skipping<br>transfer taxes, and for other purposes.","HR1105","Death Tax Repeal Act of 2015  (Sec. 2) This bill amends the Internal Revenue Code to<br>repeal the estate and generation-skipping transfer taxes for estates of decedents dying or<br>for transfers made on or after the enactment date of this Act. In the case of assets<br>placed in a qualified domestic trust by a decedent who dies prior to the enactment of this<br>Act, the current estate tax will not apply to: (1) distributions from such trust before<br>the death of a surviving spouse made more than 10 years a..."],["Authorizing the use of the Capitol Grounds for the National Peace Officers Memorial<br>Service and the National Honor Guard and Pipe Band Exhibition.","HCONRES25","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Permits the Grand Lodge of the Fraternal Order of Police and its auxiliary<br>to sponsor a free public event on the Capitol grounds, namely:   the National Honor Guard<br>and Pipe Band Exhibition on May 14, 2015, to allow law enforcement representatives to<br>exhibit their ability to demonstrate Honor Guard programs and provide for a bag pipe<br>exhibition; and the 34th Annual National Peace Officer..."],["Providing for consideration of the bill (H.R. 1560) to improve cybersecurity in the United<br>States through enhanced sharing of information about cybersecurity threats, and for other<br>purposes, and providing for consideration of the bill (H.R. 1731) to amend the Homeland<br>Security Act of 2002 to enhance multi-directional sharing of information related to<br>cybersecurity risks and strengthen privacy and civil liberties protections, and for other<br>purposes.","HRES212","Sets forth the rule for consideration of the bill (H.R. 1560) to improve cybersecurity in<br>the United States through enhanced sharing of information about cybersecurity threats, and<br>for other purposes, and providing for consideration of the bill (H.R. 1731) to amend the<br>Homeland Security Act of 2002 to enhance multi-directional sharing of information related<br>to cybersecurity risks and strengthen privacy and civil liberties protections."],["To amend the Consumer Financial Protection Act of 2010 to establish advisory boards, and<br>for other purposes.","HR1195","Bureau of Consumer Financial Protection Advisory Boards Act   (Sec. 2) Amends the Consumer<br>Financial Protection Act of 2010 to direct the Director of the Consumer Financial<br>Protection Bureau (CFPB) to establish a Small Business Advisory Board to: (1) advise and<br>consult with the CFPB in the exercise of its functions under the federal consumer<br>financial laws regarding eligible financial products or services, and (2) provide<br>information on evolving small business practices. Requires Board member..."],["To improve cybersecurity in the United States through enhanced sharing of information<br>about cybersecurity threats, and for other purposes.","HR1560","TITLE I--PROTECTING CYBER NETWORKS ACT Protecting Cyber Networks Act (Sec. 102) Amends the<br>National Security Act of 1947 to require the Director of National Intelligence (DNI) to<br>develop and promulgate procedures to promote: (1) the timely sharing of classified and<br>declassified cyber threat indicators in possession of the federal government with private<br>entities, non-federal government agencies, or state, tribal, or local governments; and (2)<br>the sharing of imminent or ongoing cybersecurity t..."],["To amend the Homeland Security Act of 2002 to enhance multi-directional sharing of<br>information related to cybersecurity risks and strengthen privacy and civil liberties<br>protections, and for other purposes.","HR1731","National Cybersecurity Protection Advancement Act of 2015 (Sec. 2) Amends the Homeland<br>Security Act of 2002 to allow the Department of Homeland Security's (DHS's) national<br>cybersecurity and communications integration center (NCCIC) to include tribal governments,<br>information sharing and analysis centers, and private entities among its non-federal<br>representatives. Expands the composition of the NCCIC to include:   a collaborator with<br>state and local governments on cybersecurity risks and incide..."],["To direct the Secretary of the Interior and Secretary of Agriculture to expedite access to<br>certain Federal land under the administrative jurisdiction of each Secretary for good<br>Samaritan search-and-recovery missions, and for other purposes.","HR373","(This measure has not been amended since it was passed by the House on April 28, 2015. The<br>summary of that version is repeated here.) Good Samaritan Search and Recovery Act   (Sec.<br>2) This bill directs the Department of the Interior and the Department of Agriculture<br>(USDA) to implement a process to provide eligible organizations and individuals expedited<br>access to federal land to conduct good Samaritan search-and-recovery missions, which are<br>searches for one or more missing individuals believ..."],["Providing for consideration of the bill (H.R. 2028) making appropriations for energy and<br>water development and related agencies for the fiscal year ending September 30, 2016, and<br>for other purposes; providing for consideration of the bill (H.R. 2029) making<br>appropriations for military construction, the Department of Veterans Affairs, and related<br>agencies for the fiscal year ending September 30, 2016, and for other purposes; and<br>providing for proceedings during the period from May 4, 2015, through May 11, 2015.","HRES223","Sets forth the rule for consideration of the bill (H.R. 2028) making appropriations for<br>energy and water development and related agencies for the fiscal year ending September 30,<br>2016, and for other purposes; providing for consideration of the bill (H.R. 2029) making<br>appropriations for military construction, the Department of Veterans Affairs, and related<br>agencies for the fiscal year ending September 30, 2016, and for other purposes; and<br>providing for proceedings during the period from May 4,..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2016, and for other purposes.","HR2029","Highlights:  The Consolidated Appropriations Act, 2016 provides FY2016 appropriations;<br>extends expiring tax provisions; and affects policies in areas including oil exports,<br>intelligence, cybersecurity, health care, financial services, visa waivers, and<br>conservation.  The bill provides appropriations for the federal government through the end<br>of FY2016. The twelve regular appropriations bills included in the divisions of the bill<br>increase discretionary spending above FY2015 levels, which refle..."],["Providing for consideration of the bill (H.R. 1732) to preserve existing rights and<br>responsibilities with respect to waters of the United States, and for other purposes;<br>providing for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 11) setting forth the congressional budget for the United States<br>Government for fiscal year 2016 and setting forth the appropriate budgetary levels for<br>fiscal years 2017 through 2025; and providing for consideration of the joint resolution<br>(H.J. Res. 43) disapproving the action of the District of Columbia Council in approving<br>the Reproductive Health Non-Discrimination Amendment Act of 2014.","HRES231","Sets forth the rule for consideration of the bill (H.R. 1732) to preserve existing rights<br>and responsibilities with respect to waters of the United States, and for other purposes;<br>providing for consideration of the conference report to accompany the concurrent<br>resolution (S. Con. Res. 11) setting forth the congressional budget for the United States<br>Government for fiscal year 2016 and setting forth the appropriate budgetary levels for<br>fiscal years 2017 through 2025; and providing for considera..."],["Disapproving the action of the District of Columbia Council in approving the Reproductive<br>Health Non-Discrimination Amendment Act of 2014.","HJRES43","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Congress disapproves the action of the District of Columbia Council in<br>approving the Reproductive Health Non-Discrimination Amendment Act of 2014 (D.C. Act<br>20-593), signed by the Mayor of the District on January 25, 2015, and transmitted on March<br>6, 2015, to Congress pursuant to the District of Columbia Home Rule Act. D.C. Act 20-593:<br>amends the Human Rights Act of 1977 to protect indi..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2016, and for other purposes.","HR2028","(This measure has not been amended since the House agreed to the Senate amendment with an<br>amendment on December 8, 2016. The summary of that version is repeated here.) Highlights:<br>This bill provides continuing appropriations for most federal agencies through the earlier<br>of April 28, 2017, or the enactment of the applicable appropriations legislation.  It is<br>commonly referred to as a continuing resolution (CR) and prevents a partial government<br>shutdown that would otherwise occur when the exis..."],["To amend the Internal Revenue Code of 1986 to exclude certain compensation received by<br>public safety officers and their dependents from gross income.","HR606","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Don't Tax Our Fallen Public Safety Heroes Act<br>(Sec. 2) This bill amends the Internal Revenue Code to exclude from gross income, for<br>income tax purposes, amounts paid: (1) by the Bureau of Justice Assistance of the<br>Department of Justice as a public safety officer survivor's benefit or a public safety<br>officer disability benefit, or (2) under a state program that provi..."],["To preserve existing rights and responsibilities with respect to waters of the United<br>States, and for other purposes.","HR1732","Regulatory Integrity Protection Act of 2015 (Sec. 2) This bill requires the U.S. Army<br>Corps of Engineers and the Environmental Protection Agency (EPA) to withdraw, within 30<br>days, the proposed rule, \"Definition of 'Waters of the United States' Under the Clean<br>Water Act,\" dated April 21, 2014, describing the water bodies that fall under the scope of<br>the Federal Water Pollution Control Act (commonly known as the Clean Water Act), as well<br>as any final rule based on the proposed rule. (Sec. 3) Th..."],["To amend the Internal Revenue Code of 1986 to allow Federal law enforcement officers,<br>firefighters, and air traffic controllers to make penalty-free withdrawals from<br>governmental plans after age 50, and for other purposes.","HR2146","Defending Public Safety Employees' Retirement Act (Sec. 2) This bill amends the Internal<br>Revenue Code, with respect to the exemption from the 10% penalty tax on early<br>distributions from a government retirement plan for qualified public safety employees who<br>have reached age 50, to expand the exemption to include specified federal law enforcement<br>officers, customs and border protection officers, federal firefighters, and air traffic<br>controllers who similarly have reached age 50.  The bill also ..."],["Providing for consideration of the bill (H.R. 1735) to authorize appropriations for fiscal<br>year 2016 for military activities of the Department of Defense and for military<br>constructions, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; providing for consideration of the bill (H.R. 36) to amend title 18,<br>United States Code, to protect pain-capable unborn children, and for other purposes;<br>providing for consideration of the bill (H.R. 2048) to reform the authorities of the<br>Federal Government to require the production of certain business records, conduct<br>electronic surveillance, use pen registers and trap and trace devices, and use other forms<br>of information gathering for foreign intelligence, counterterrorism, and criminal<br>purposes, and for other purposes; and providing for consideration of motions to suspend<br>the rules.","HRES255","Sets forth the rule for consideration of the bill (H.R. 1735) to authorize appropriations<br>for fiscal year 2016 for military activities of the Department of Defense and for military<br>constructions, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; providing for consideration of the bill (H.R. 36) to amend title 18,<br>United States Code, to protect pain-capable unborn children, and for other purposes;<br>providing for consideration of the bill (H.R. 2048) to refo..."],["To amend title 18, United States Code, to protect pain-capable unborn children, and for<br>other purposes.","HR36","Pain-Capable Unborn Child Protection Act   Amends the federal criminal code to prohibit<br>any person from performing or attempting to perform an abortion except in conformity with<br>this Act's requirements.  Requires the physician to first determine the probable post-<br>fertilization age of the unborn child, or reasonably rely upon such a determination made<br>by another physician, by making inquiries of the pregnant woman and performing such<br>medical examinations and tests as a reasonably prudent physi..."],["To reform the authorities of the Federal Government to require the production of certain<br>business records, conduct electronic surveillance, use pen registers and trap and trace<br>devices, and use other forms of information gathering for foreign intelligence,<br>counterterrorism, and criminal purposes, and for other purposes.","HR2048","(This measure has not been amended since it was passed by the House on May 13, 2015. The<br>summary of that version is repeated here.) Uniting and Strengthening America by Fulfilling<br>Rights and Ensuring Effective Discipline Over Monitoring Act of 2015 or the USA FREEDOM<br>Act of 2015 TITLE I--FISA BUSINESS RECORDS REFORMS (Sec. 101) Amends the Foreign<br>Intelligence Surveillance Act of 1978 (FISA) to establish a new process to be followed<br>when the Federal Bureau of Investigation (FBI) submits an app..."],["Providing for further consideration of the bill (H.R. 1735) to authorize appropriations<br>for fiscal year 2016 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes.","HRES260","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of H.R. 1735 (National Defense<br>Authorization Act for Fiscal Year 2016)."],["To prevent Hezbollah and associated entities from gaining access to international<br>financial and other institutions, and for other purposes.","HR2297","(This measure has not been amended since it was passed by the Senate on December 16, 2015.<br>The summary of that version is repeated here.) Hizballah International Financing<br>Prevention Act of 2015 (Sec. 2) This bill states that it shall be U.S. policy to: (1)<br>prevent Hizballah's global logistics and financial network from operating in order to<br>curtail funding of its domestic and international activities; and (2) utilize diplomatic,<br>legislative, and executive avenues to combat Hizballah's crimin..."],["To authorize appropriations for fiscal year 2016 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR1735","Highlights:  The National Defense Authorization Act for Fiscal Year 2016 authorizes FY2016<br>appropriations and sets forth policies regarding the military activities of the Department<br>of Defense (DOD), military construction, and the national security programs of the<br>Department of Energy (DOE).  The bill authorizes appropriations, but does not provide<br>appropriations, which are considered in subsequent appropriations legislation.  The bill<br>authorizes appropriations to DOD for:   Procurement;  Res..."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>issue, upon request, veteran identification cards to certain veterans.","HR91","(This measure has not been amended since it was passed by the Senate on June 22, 2015. The<br>summary of that version is repeated here.) Veteran's Identification Card Act of 2015 (Sec.<br>2) Directs the Department of Veterans Affairs (VA) to issue a veteran's identification<br>card to a requesting veteran who is neither entitled to military retired pay nor enrolled<br>in the VA system of patient enrollment.  Requires such card, among other things, to: (1)<br>display the veteran's name and photograph, and (2..."],["Providing for consideration of the bill (H.R. 1806) to provide for technological<br>innovation through the prioritization of Federal investment in basic research, fundamental<br>scientific discovery, and development to improve the competitiveness of the United States,<br>and for other purposes; providing for consideration of the bill (H.R. 2250) making<br>appropriations for the Legislative Branch for the fiscal year ending September 30, 2016,<br>and for other purposes; and providing for consideration of the bill (H.R. 2353) to provide<br>an extension of Federal-aid highway, highway safety, motor carrier safety, transit, and<br>other programs funded out of the Highway Trust Fund, and for other purposes.","HRES271","Sets forth the rule for consideration of the bill (H.R. 1806) to provide for technological<br>innovation through the prioritization of Federal investment in basic research, fundamental<br>scientific discovery, and development to improve the competitiveness of the United States,<br>and for other purposes; providing for consideration of the bill (H.R. 2250) making<br>appropriations for the Legislative Branch for the fiscal year ending September 30, 2016,<br>and for other purposes; and providing for considerat..."],["A bill to provide justice for the victims of trafficking.","S178","(Although this measure has not been amended since it was passed by the Senate, the text<br>was changed by H. Con. Res. 47 which made enrollment corrections, and the summary has been<br>modified as necessary.) Justice for Victims of Trafficking Act of 2015  TITLE I--JUSTICE<br>FOR VICTIMS OF TRAFFICKING (Sec. 101) This section amends the federal criminal code to<br>impose an additional assessment until the end of FY2019 of $5,000 on any non-indigent<br>person or entity convicted of an offense involving: (1) ..."],["Making appropriations for the Legislative Branch for fiscal year ending September 30,<br>2016, and for other purposes.","HR2250","(This measure has not been amended since it was passed by the Senate on December 10, 2015.<br>The summary of that version is repeated here.) Further Continuing Appropriations Act, 2016<br>This bill amends the Continuing Appropriations Act, 2016 to extend the continuing FY2016<br>appropriations for federal agencies at the current annual rate until the earlier of<br>midnight on December 16, 2015, or enactment of FY2016 appropriations legislation. The bill<br>prevents a government shutdown when funding under ..."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund, and for other purposes.","HR2353","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Highway and Transportation Funding Act of 2015<br>(Sec. 1) Directs the Secretary of Transportation to reduce the amount apportioned for a<br>surface transportation program, project, or activity for FY2015 by amounts apportioned or<br>allocated under the Highway and Transportation Funding Act of 2014 for the period from<br>October 1, 2014, through May 31, 2015.  TITLE I--SURFACE..."],["Providing for consideration of the bill (H.R. 2262) to facilitate a pro-growth environment<br>for the developing commercial space industry by encouraging private sector investment and<br>creating more stable and predictable regulatory conditions, and for other purposes;<br>providing for consideration of the bill (H.R. 880) to amend the Internal Revenue Code of<br>1986 to simplify and make permanent the research credit; providing for consideration of<br>motions to suspend the rules; and providing for proceedings during the period from May 22,<br>2015, through May 29, 2015.","HRES273","Sets forth the rule for consideration of the bill (H.R. 2262) to facilitate a pro-growth<br>environment for the developing commercial space industry by encouraging private sector<br>investment and creating more stable and predictable regulatory conditions, and for other<br>purposes; providing for consideration of the bill (H.R. 880) to amend the Internal Revenue<br>Code of 1986 to simplify and make permanent the research credit; providing for<br>consideration of motions to suspend the rules; and providing f..."],["To provide for technological innovation through the prioritization of Federal investment<br>in basic research, fundamental scientific discovery, and development to improve the<br>competitiveness of the United States, and for other purposes.","HR1806","America COMPETES Reauthorization Act of 2015 TITLE I--NATIONAL SCIENCE FOUNDATION (Sec.<br>101) Authorizes appropriations for FY2016-FY2017 for the National Science Foundation<br>(NSF).  (Sec. 103) Specifies policy objectives for the NSF in allocating resources.  (Sec.<br>105) Expresses the sense of Congress that: (1) sustained, predictable federal funding is<br>essential to U.S. leadership in science and technology; (2) building understanding of and<br>confidence in investments in basic research are essent..."],["To amend the Internal Revenue Code of 1986 to simplify and make permanent the research<br>credit.","HR880","American Research and Competitiveness Act of 2015 (Sec. 2) This bill revises and makes<br>permanent after 2014 the research tax credit. The rate of such credit is modified to equal<br>the sum of 20% of so much of the qualified research expenses for the taxable year as<br>exceeds 50% of the average qualified research expenses for the three preceding taxable<br>years, 20% of so much of the basic research payments for the taxable year as exceeds 50%<br>of the average basic research payments for the three prece..."],["To facilitate a pro-growth environment for the developing commercial space industry by<br>encouraging private sector investment and creating more stable and predictable regulatory<br>conditions, and for other purposes.","HR2262","(This measure has not been amended since it was passed by the Senate on November 10, 2015.<br>The summary of that version is repeated here.) U.S. Commercial Space Launch<br>Competitiveness Act TITLE I--SPURRING PRIVATE AEROSPACE COMPETITIVENESS AND<br>ENTREPRENEURSHIP Spurring Private Aerospace Competitiveness and Entrepreneurship Act of<br>2015 or the SPACE Act of 2015  (Sec. 102) It is the sense of Congress that it is in the<br>public interest to update the methodology used to calculate the maximum probab..."],["Providing for consideration of the bill (H.R. 1335) to amend the Magnuson-Stevens Fishery<br>Conservation and Management Act to provide flexibility for fishery managers and stability<br>for fishermen, and for other purposes.","HRES274","Sets forth the rule for consideration of the bill (H.R. 1335) to amend the Magnuson-<br>Stevens Fishery Conservation and Management Act to provide flexibility for fishery<br>managers and stability for fishermen."],["To amend the Magnuson-Stevens Fishery Conservation and Management Act to provide<br>flexibility for fishery managers and stability for fishermen, and for other purposes.","HR1335","Strengthening Fishing Communities and Increasing Flexibility in Fisheries Management Act<br>This bill revises and reauthorizes through FY2019 the Magnuson-Stevens Fishery<br>Conservation and Management Act (MSA). (Sec. 4) To distinguish between fish that are<br>depleted due to fishing and those that are depleted for other reasons, the term \"depleted\"<br>replaces the term \"overfished\" throughout the MSA. A depleted stock has a biomass that has<br>declined below a level that jeopardizes the capacity of the s..."],["Providing for consideration of the bill (H.R. 2577) making appropriations for the<br>Departments of Transportation, and Housing and Urban Development, and related agencies for<br>the fiscal year ending September 30, 2016, and for other purposes, and providing for<br>consideration of the bill (H.R. 2578) making appropriations for the Departments of<br>Commerce and Justice, Science, and Related Agencies for the fiscal year ending September<br>30, 2016, and for other purposes.","HRES287","Sets forth the rule for consideration of the bill (H.R. 2577) making appropriations for<br>the Departments of Transportation, and Housing and Urban Development, and related agencies<br>for the fiscal year ending September 30, 2016, and for other purposes, and providing for<br>consideration of the bill (H.R. 2578) making appropriations for the Departments of<br>Commerce and Justice, Science, and Related Agencies for the fiscal year ending September<br>30, 2016."],["Making appropriations for the Departments of Commerce and Justice, Science, and Related<br>Agencies for the fiscal year ending September 30, 2016, and for other purposes.","HR2578","Highlights:  The Commerce, Justice, Science, and Related Agencies Appropriations Act, 2016<br>provides FY2016 appropriations to the Department of Commerce, the Department of Justice<br>(DOJ), science agencies, and several related agencies.  The bill funds agencies with a<br>wide range of responsibilities for issues such as: addressing violent crime, drug<br>trafficking, financial fraud, terrorism, espionage, and cybercrime; conducting the census;<br>forecasting the weather; managing fisheries; exploring spa..."],["Providing for consideration of the bill (H.R. 2289) to reauthorize the Commodity Futures<br>Trading Commission, to better protect futures customers, to provide end-users with market<br>certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end-users manage risks, to help keep consumer<br>costs low, and for other purposes.","HRES288","Sets forth the rule for consideration of the bill (H.R. 2289) to reauthorize the Commodity<br>Futures Trading Commission, to better protect futures customers, to provide end-users with<br>market certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end-users manage risks, to help keep consumer<br>costs low."],["Making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2016, and for<br>other purposes.","HR2577","Highlights:  This bill provides FY2017 appropriations for Military Construction, Veterans<br>Affairs, and Related Agencies and provides FY2016 supplemental appropriations to respond<br>to the Zika virus. The bill includes four divisions:    the Military Construction,<br>Veterans Affairs, and Related Agencies Appropriations Act, 2017;   the Zika Response and<br>Preparedness Appropriations Act, 2016;   the Zika Vector Control Act; and   Rescissions of<br>Funds.  Military Construction, Veterans Affairs, and Re..."],["To reauthorize the Commodity Futures Trading Commission, to better protect futures<br>customers, to provide end-users with market certainty, to make basic reforms to ensure<br>transparency and accountability at the Commission, to help farmers, ranchers, and end-<br>users manage risks, to help keep consumer costs low, and for other purposes.","HR2289","Commodity End User Relief Act  TITLE I--CUSTOMER PROTECTIONS (Sec. 101) Amends the<br>Commodity Exchange Act (CEA) to direct registered futures associations (RFAs) to require<br>their futures commission merchant (FCM) members to:  maintain written policies and<br>procedures governing maintenance of members\u2019 specified residual interests in customer<br>segregated funds accounts, including cleared swaps customer collateral accounts;<br>establish rules governing the withdrawal, transfer, or disbursement of a m..."],["Providing for consideration of the bill (H.R. 2685) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2016, and for other<br>purposes, and providing for consideration of the bill (H.R. 2393) to amend the<br>Agricultural Marketing Act of 1946 to repeal country of origin labeling requirements with<br>respect to beef, pork, and chicken, and for other purposes.","HRES303","Sets forth the rule for consideration of the bill (H.R. 2685) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2016, and for other<br>purposes, and providing for consideration of the bill (H.R. 2393) to amend the<br>Agricultural Marketing Act of 1946 to repeal country of origin labeling requirements with<br>respect to beef, pork, and chicken."],["To amend the Agricultural Marketing Act of 1946 to repeal country of origin labeling<br>requirements with respect to beef, pork, and chicken, and for other purposes.","HR2393","(This measure has not been amended since it was reported to the House on May 29. 2015. The<br>summary of that version is repeated here.) Country of Origin Labeling Amendments Act of<br>2015 (Sec. 2) This bill amends the Agricultural Marketing Act of 1946 to repeal country of<br>origin labeling requirements for beef, pork, and chicken. Country of origin labeling<br>requirements are administered by the Department of Agriculture and require a retailer to<br>inform consumers of the country of origin of a covere..."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2016, and for other purposes.","HR2685","Highlights:  The Department of Defense Appropriations Act, 2016 provides FY2016<br>appropriations to the Department of Defense (DOD) for military activities, including<br>appropriations for Overseas Contingency Operations (OCO)/ Global War on Terrorism.  The<br>bill does not include funding for military construction, military family housing, civil<br>works projects of the Army Corps of Engineers, and nuclear warheads, which are all<br>considered in other appropriations bills. The bill increases total fundin..."],["To amend the Internal Revenue Code of 1986 to improve the process for making<br>determinations with respect to whether organizations are exempt from taxation under<br>section 501(c)(4) of such Code.","HR1295","Trade Preferences Extension Act of 2015 TITLE I--EXTENSION OF AFRICAN GROWTH AND<br>OPPORTUNITY ACT AGOA Extension and Enhancement Act of 2015 (Sec. 103) This bill amends the<br>Trade Act of 1974 and the African Growth and Opportunity Act (AGOA) to extend through<br>FY2025 the duty-free treatment of the products of beneficiary sub-Saharan African<br>countries under those Acts.  The extended period also applies to:   the preferential<br>treatment of apparel articles wholly assembled, or components knit-to-sh..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1314) to amend the<br>Internal Revenue Code of 1986 to provide for a right to an administrative appeal relating<br>to adverse determinations of tax-exempt status of certain organizations, and providing for<br>consideration of the Senate amendments to the bill (H.R. 644) to amend the Internal<br>Revenue Code of 1986 to permanently extend and expand the charitable deduction for<br>contributions of food inventory.","HRES305","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 1314) to<br>amend the Internal Revenue Code of 1986 to provide for a right to an administrative appeal<br>relating to adverse determinations of tax-exempt status of certain organizations, and<br>providing for consideration of the Senate amendments to the bill (H.R. 644) to amend the<br>Internal Revenue Code of 1986 to permanently extend and expand the charitable deduction<br>for contributions of food inventory."],["To amend the Internal Revenue Code of 1986 to provide for a right to an administrative<br>appeal relating to adverse determinations of tax-exempt status of certain organizations.","HR1314","(This measure has not been amended since the Senate agreed to the House amendment to the<br>Senate amendment on October 30, 2015. The summary of that version is repeated here.)<br>Bipartisan Budget Act of 2015  TITLE I--BUDGET ENFORCEMENT  (Sec. 101) This bill amends<br>the Balanced Budget and Emergency Deficit Control Act of 1985 to increase the<br>discretionary spending limits for FY2016 and FY2017. The bill revises procedures for<br>implementing the sequester of direct spending, which is required under c..."],["To designate the \"PFC Milton A. Lee Medal of Honor Memorial Highway\" in the State of<br>Texas.","HR2559","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) (Sec. 1) The segment of Interstate Route 10<br>between milepost 535 and milepost 545 at Kendall County, Texas, shall now be the \"PFC<br>Milton A. Lee Medal of Honor Memorial Highway.\""],["Providing for consideration of the bill (H.R. 2596) to authorize appropriations for fiscal<br>year 2016 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes.","HRES315","Sets forth the rule for consideration of the bill (H.R. 2596) to authorize appropriations<br>for fiscal year 2016 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System."],["To authorize appropriations for fiscal year 2016 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR2596","Intelligence Authorization Act for Fiscal Year 2016 TITLE I--INTELLIGENCE ACTIVITIES (Sec.<br>101) Authorizes FY2016 appropriations for the conduct of intelligence and intelligence-<br>related activities of the: (1) Office of the Director of National Intelligence (DNI); (2)<br>Central Intelligence Agency (CIA); (3) Department of Defense (DOD); (4) Defense<br>Intelligence Agency (DIA); (5) National Security Agency; (6) Departments of the Army,<br>Navy, and Air Force; (7) Coast Guard; (8) Departments of State,..."],["Providing for consideration of the bill (H.R. 160) to amend the Internal Revenue Code of<br>1986 to repeal the excise tax on medical devices, and providing for consideration of the<br>bill (H.R. 1190) to repeal the provisions of the Patient Protection and Affordable Care<br>Act providing for the Independent Payment Advisory Board.","HRES319","Sets forth the rule for consideration of the bill (H.R. 160) to amend the Internal Revenue<br>Code of 1986 to repeal the excise tax on medical devices, and providing for consideration<br>of the bill (H.R. 1190) to repeal the provisions of the Patient Protection and Affordable<br>Care Act providing for the Independent Payment Advisory Board."],["Providing for consideration of the Senate amendment to the bill (H.R. 2146) to amend the<br>Internal Revenue Code of 1986 to allow Federal law enforcement officers, firefighters, and<br>air traffic controllers to make penalty-free withdrawals from governmental plans after age<br>50, and for other purposes.","HRES321","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2146) to<br>amend the Internal Revenue Code of 1986 to allow Federal law enforcement officers,<br>firefighters, and air traffic controllers to make penalty-free withdrawals from<br>governmental plans after age 50."],["To amend the Internal Revenue Code of 1986 to repeal the excise tax on medical devices.","HR160","Protect Medical Innovation Act of 2015 (Sec. 2) This bill amends the Internal Revenue Code<br>to repeal the excise tax on medical device manufacturers and importers.  This repeal<br>applies to sales in calendar quarters beginning after the enactment of this Act. (Sec. 3)<br>Prohibits the\u00a0budgetary effects of this Act from being entered on either PAYGO scorecard<br>under the Statutory Pay-As-You-Go Act of 2010."],["To repeal the provisions of the Patient Protection and Affordable Care Act providing for<br>the Independent Payment Advisory Board.","HR1190","Protecting Seniors' Access to Medicare Act of 2015 (Sec. 2) Repeals sections of the<br>Patient Protection and Affordable Care Act (and restores provisions of law amended by<br>those sections) related to the establishment of an Independent Payment Advisory Board to<br>develop proposals to reduce the per capita rate of growth in spending under title XVIII<br>(Medicare) of the Social Security Act. (Sec. 3) Rescinds specified appropriations to the<br>Prevention and Public Health Fund for FY2017-FY2026 and each ..."],["To prohibit the National Telecommunications and Information Administration from<br>relinquishing responsibility over the Internet domain name system until the Comptroller<br>General of the United States submits to Congress a report on the role of the NTIA with<br>respect to such system.","HR805","Domain Openness Through Continued Oversight Matters Act of 2015 or the DOTCOM Act of 2015<br>Prohibits the Assistant Secretary of Commerce for Communications and Information from<br>permitting the National Telecommunications and Information Administration's (NTIA's) role<br>in the performance of the Internet Assigned Numbers Authority (IANA) functions to cease<br>until 30 legislative days after the Assistant Secretary\u00a0submits to Congress a report that<br>contains: (1) the proposal relating to the transition..."],["To modernize the Toxic Substances Control Act, and for other purposes.","HR2576","Frank R. Lautenberg Chemical Safety for the 21st Century Act  This bill amends the Toxic<br>Substances Control Act (TSCA) to revise the process and requirements for evaluating and<br>determining whether regulatory control of a chemical is warranted.  (Sec. 2) The bill<br>shall be administered in a manner that: (1) protects the health of children, pregnant<br>women, the elderly, workers, consumers, the general public, and the environment from the<br>risks of harmful exposures to chemical substances and mixtu..."],["Providing for consideration of the bill (H.R. 2822) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2016, and for other purposes; providing for consideration of the bill (H.R.<br>2042) to allow for judicial review of any final rule addressing carbon dioxide emissions<br>from existing fossil fuel-fired electric utility generating units before requiring<br>compliance with such rule, and to allow States to protect households and businesses from<br>significant adverse effects on electricity ratepayers or reliability; and providing for<br>proceedings during the period from June 26, 2015, through July 6, 2015.","HRES333","Sets forth the rule for consideration of the bill (H.R. 2822) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2016, and for other purposes; providing for consideration of the bill<br>(H.R. 2042) to allow for judicial review of any final rule addressing carbon dioxide<br>emissions from existing fossil fuel-fired electric utility generating units before<br>requiring compliance with such rule, and to allow States to prot..."],["To allow for judicial review of any final rule addressing carbon dioxide emissions from<br>existing fossil fuel-fired electric utility generating units before requiring compliance<br>with such rule, and to allow States to protect households and businesses from significant<br>adverse effects on electricity ratepayers or reliability.","HR2042","Ratepayer Protection Act of 2015  (Sec. 2) This bill extends compliance deadlines for<br>rules under the Clean Air Act that address carbon dioxide emissions from existing fossil<br>fuel-fired power plants pending final judicial review. This extension applies to any final<br>rule that succeeds either:    the proposed rule entitled \"Carbon Pollution Emission<br>Guidelines for Existing Stationary Sources: Electric Utility Generating Units\"; or  the<br>supplemental proposed rule entitled \"Carbon Pollution Emiss..."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 1295) to extend the African Growth and Opportunity Act, the<br>Generalized System of Preferences, the preferential duty treatment program for Haiti, and<br>for other purposes.","HRES338","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 1295) to extend the African Growth and Opportunity<br>Act, the Generalized System of Preferences, the preferential duty treatment program for<br>Haiti."],["To direct the Chief FOIA Officer of the Department of Homeland Security to make certain<br>improvements in the implementation of section 552 of title 5, United States Code (commonly<br>known as the Freedom of Information Act), and for other purposes.","HR1615","(This measure has not been amended since it was reported to the House of Representatives<br>on June 11, 2015. The summary of that version is repeated here.) DHS FOIA Efficiency Act<br>of 2015 (Sec. 2) Directs the Chief FOIA Officer of the Department of Homeland Security<br>(DHS):  within 90 days after enactment of this Act, to issue an updated regulation<br>implementing the Freedom of Information Act (FOIA) and to identify the total annual<br>implementation costs;  to develop guidance on reporting standards..."],["To amend the Homeland Security Act of 2002 to establish chemical, biological,<br>radiological, and nuclear intelligence and information sharing functions of the Office of<br>Intelligence and Analysis of the Department of Homeland Security and to require<br>dissemination of information analyzed by the Department to entities with responsibilities<br>relating to homeland security, and for other purposes.","HR2200","(This measure has not been amended since it was reported to the House on June 17, 2015.<br>The summary of that version is repeated here.) CBRN Intelligence and Information Sharing<br>Act of 2015  (Sec. 2) Amends the Homeland Security Act of 2002 to direct the Office of<br>Intelligence and Analysis of the Department of Homeland Security (DHS) to: (1) support<br>homeland security-focused intelligence analysis of terrorist actors, their claims, and<br>their plans to conduct attacks involving chemical, biologic..."],["Providing for further consideration of the bill (H.R. 5) to support State and local<br>accountability for public education, protect State and local authority, inform parents of<br>the performance of their children's schools, and for other purposes, and providing for<br>consideration of the bill (H.R. 2647) to expedite under the National Environmental Policy<br>Act and improve forest management activities in units of the National Forest System<br>derived from the public domain, on public lands under the jurisdiction of the Bureau of<br>Land Management, and on tribal lands to return resilience to overgrown, fire-prone<br>forested lands, and for other purposes.","HRES347","Sets forth the rule for consideration of H.R. 5 (Student Success Act) and H.R. 2647<br>(Resilient Federal Forests Act of 2015)."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2016, and for other purposes.","HR2822","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  Highlights:  The Department of the Interior,<br>Environment, and Related Agencies Appropriations Act, 2016 provides appropriations for the<br>Department of the Interior, the Environmental Protection Agency (EPA), and related<br>agencies for FY2016. The bill provides regular annual appropriations for most of the<br>Department of the Interior, including the Bureau of Land Mana..."],["To expedite under the National Environmental Policy Act and improve forest management<br>activities in units of the National Forest System derived from the public domain, on<br>public lands under the jurisdiction of the Bureau of Land Management, and on tribal lands<br>to return resilience to overgrown, fire-prone forested lands, and for other purposes.","HR2647","Emergency Wildfire and Forest Management Act of 2016 TITLE I--MAJOR DISASTER FOR WILDFIRE<br>ON FEDERAL LAND   (Sec. 101) The Robert T. Stafford Disaster Relief and Emergency<br>Assistance Act is amended to define \"major disaster for wildfire on federal lands\" to mean<br>any wildfire or wildfires that warrant assistance to supplement the efforts and resources<br>of the Department of the Interior or the Department of Agriculture (USDA) on federal lands<br>or on nonfederal lands pursuant to a fire protection ..."],["Providing for consideration of the bill (H.R. 6) to accelerate the discovery, development,<br>and delivery of 21st century cures, and for other purposes.","HRES350","Sets forth the rule for consideration of the bill (H.R. 6) to accelerate the discovery,<br>development, and delivery of 21st century cures."],["To accelerate the discovery, development, and delivery of 21st century cures, and for<br>other purposes.","HR6","21st Century Cures Act (Sec. 2) The NIH and Cures Innovation Fund is established and funds<br>are appropriated: (1) for biomedical research, including high-risk, high-reward research<br>and research conducted by early stage investigators; (2) to develop and implement a<br>strategic plan for biomedical research; and (3) to carry out specified provisions of this<br>Act. TITLE I--DISCOVERY Subtitle A--National Institutes of Health Funding (Sec. 1001) This<br>bill amends the Public Health Service Act to reautho..."],["To amend the Small Business Act to increase access to capital for veteran entrepreneurs,<br>to help create jobs, and for other purposes.","HR2499","(This measure has not been amended since it was passed by the Senate on July 23, 2015. The<br>summary of that version is repeated here.) Veterans Entrepreneurship Act of 2015 (Sec. 2)<br>Amends the Small Business Act to prohibit the Small Business Administration (SBA) from<br>collecting a guarantee fee in connection with a loan made under the SBA Express Program to<br>a veteran or the spouse of a veteran on or after October 1, 2015, except during any<br>upcoming fiscal year for which the President's budget,..."],["To authorize the Secretary of Housing and Urban Development to carry out a demonstration<br>program to enter into budget-neutral, performance-based contracts for energy and water<br>conservation improvements for multifamily residential units.","HR2997","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Private Investment in Housing Act of 2015 (Sec.<br>2) Directs the Department of Housing and Urban Development (HUD) to establish a<br>demonstration program under which, in FY2016 through FY2019, HUD may execute budget-<br>neutral, performance-based agreements (for up to 12 years each) that result in a reduction<br>in energy or water costs with appropriate entities to carry out..."],["To direct the Securities and Exchange Commission to revise Form S-1 so as to permit<br>smaller reporting companies to use forward incorporation by reference for such form.","HR1723","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Small Company Simple Registration Act of 2015<br>(Sec. 2) Directs the Securities and Exchange Commission (SEC) to revise Form S-1 so that a<br>smaller reporting company may incorporate by reference in a registration statement filed<br>on that form any documents it files with the SEC after the registration statement's<br>effective date."],["Providing for consideration of the bill (H.R. 2898) to provide drought relief in the State<br>of California, and for other purposes, and providing for consideration of the bill (H.R.<br>3038) to provide an extension of Federal-aid highway, highway safety, motor carrier<br>safety, transit, and other programs funded out of the Highway Trust Fund, and for other<br>purposes.","HRES362","Sets forth the rule for consideration of the bill (H.R. 2898) to provide drought relief in<br>the State of California, and for other purposes, and providing for consideration of the<br>bill (H.R. 3038) to provide an extension of Federal-aid highway, highway safety, motor<br>carrier safety, transit, and other programs funded out of the Highway Trust Fund."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund, and for other purposes.","HR3038","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Highway and Transportation Funding Act of 2015,<br>Part II Directs the Secretary of Transportation to reduce the amount apportioned for a<br>surface transportation program, project, or activity for FY2015 by amounts apportioned or<br>allocated under the Highway and Transportation Funding Act of 2014 and the Highway and<br>Transportation Funding Act of 2015 for the period from..."],["To provide drought relief in the State of California, and for other purposes.","HR2898","Highlights: The Western Water and American Food Security Act of 2015 establishes<br>procedures for the Department of the Interior, the Department of Commerce, and the<br>Department of Agriculture to address drought conditions in California by revising<br>regulatory standards for managing conveyances of water to individual, agricultural,<br>municipal, and industrial users from the California-based Central Valley Project (CVP) and<br>State Water Project in coordination with requirements for protecting threate..."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>submit an annual report on the Veterans Health Administration and the furnishing of<br>hospital care, medical services, and nursing home care by the Department of Veterans<br>Affairs.","HR2256","Veterans Information Modernization Act (Sec. 2) This bill directs the Department of<br>Veterans Affairs (VA) to report annually to Congress during 2016 through 2020 on its<br>furnishing of hospital care, medical services, and nursing home care. Each report shall:<br>evaluate the effectiveness of the Veterans Health Administration (VHA) program in<br>improving the quality of, and increasing access to, veterans hospital care, medical<br>services, and nursing home care; and  assess physician and other VHA em..."],["Providing for consideration of the bill (H.R. 1599) to amend the Federal Food, Drug, and<br>Cosmetic Act with respect to food produced from, containing, or consisting of a<br>bioengineered organism, the labeling of natural foods, and for other purposes, and<br>providing for consideration of the bill (H.R. 1734) to amend subtitle D of the Solid Waste<br>Disposal Act to encourage recovery and beneficial use of coal combustion residuals and<br>establish requirements for the proper management and disposal of coal combustion residuals<br>that are protective of human health and the environment.","HRES369","Sets forth the rule for consideration of the bill (H.R. 1599) to amend the Federal Food,<br>Drug, and Cosmetic Act with respect to food produced from, containing, or consisting of a<br>bioengineered organism, the labeling of natural foods, and for other purposes, and<br>providing for consideration of the bill (H.R. 1734) to amend subtitle D of the Solid Waste<br>Disposal Act to encourage recovery and beneficial use of coal combustion residuals and<br>establish requirements for the proper management and disp..."],["To amend subtitle D of the Solid Waste Disposal Act to encourage recovery and beneficial<br>use of coal combustion residuals and establish requirements for the proper management and<br>disposal of coal combustion residuals that are protective of human health and the<br>environment.","HR1734","Improving Coal Combustion Residuals Regulation Act of 2015 (Sec. 2) This bill amends<br>subtitle D (Resource Conservation and Recovery Act of 1976) of the Solid Waste Disposal<br>Act to establish a permit program for coal combustion residuals (coal ash) that states may<br>elect to administer. The program outlines the criteria that a state must use if it chooses<br>to adopt and enforce a permit program regulating the management and disposal of coal ash<br>generated by electric utilities and independent power..."],["To amend the Federal Food, Drug, and Cosmetic Act with respect to food produced from,<br>containing, or consisting of a bioengineered organism, the labeling of natural foods, and<br>for other purposes.","HR1599","Safe and Accurate Food Labeling Act of 2015 TITLE I--FOOD SAFETY AFFIRMATION FOR CERTAIN<br>PLANT PRODUCTS Subtitle A--Food and Drug Administration (Sec. 101) This bill amends the<br>Federal Food, Drug, and Cosmetic Act to require the Food and Drug Administration (FDA) to<br>continue the voluntary consultation process established under the FDA\u2019s \"Statement of<br>Policy: Foods Derived from New Plant Varieties.\" In that process, the FDA evaluates a<br>scientific and regulatory assessment provided by the devel..."],["Providing for consideration of the bill (H.R. 3009) to amend section 241(i) of the<br>Immigration and Nationality Act to deny assistance under such section to a State or<br>political subdivision of a State that prohibits its officials from taking certain actions<br>with respect to immigration.","HRES370","Sets forth the rule for consideration of the bill (H.R. 3009) to amend section 241(i) of<br>the Immigration and Nationality Act to deny assistance under such section to a State or<br>political subdivision of a State that prohibits its officials from taking certain actions<br>with respect to immigration."],["To amend section 241(i) of the Immigration and Nationality Act to deny assistance under<br>such section to a State or political subdivision of a State that prohibits its officials<br>from taking certain actions with respect to immigration.","HR3009","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Enforce the Law for Sanctuary Cities Act (Sec. 2)<br>Amends the Immigration and Nationality Act to make a state or local subdivision ineligible<br>for state criminal alien assistance program funding if it: (1) has in effect any law,<br>policy, or procedure prohibiting or restricting communication with the Immigration and<br>Naturalization Service or other government entity re..."],["A bill to improve and reauthorize provisions relating to the application of the antitrust<br>laws to the award of need-based educational aid.","S1482","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Need-Based Educational Aid Act of 2015 (Sec. 2)<br>This bill amends the Improving America's Schools Act of 1994 to extend through FY2022 the<br>antitrust exemption that allows institutions of higher education that admit all students<br>on a need-blind basis to enter or attempt to enter into agreements among themselves<br>regarding the administration of need-based financial ai..."],["To provide for additional resources for the Secret Service, and to improve protections for<br>restricted areas.","HR1656","Secret Service Improvements Act of 2016 (Sec. 2) This bill amends the federal criminal<br>code to prohibit knowingly causing an autonomous or remotely operated vehicle or dangerous<br>weapon to enter any restricted building or grounds so that it impedes or disrupts the<br>orderly conduct of government business or official functions. The punishment for such<br>offense is a fine, imprisonment for not more than 10 years, or both, if during and in<br>relation to the offense a deadly or dangerous weapon or firea..."],["Providing for consideration of the bill (H.R. 427) to amend chapter 8 of title 5, United<br>States Code, to provide that major rules of the executive branch shall have no force or<br>effect unless a joint resolution of approval is enacted into law; providing for<br>proceedings during the period from July 30, 2015, through September 7, 2015; and for other<br>purposes.","HRES380","Sets forth the rule for consideration of the bill (H.R. 427) to amend chapter 8 of title<br>5, United States Code, to provide that major rules of the executive branch shall have no<br>force or effect unless a joint resolution of approval is enacted into law; providing for<br>proceedings during the period from July 30, 2015, through September 7, 2015."],["To increase, effective as of December 1, 2015, the rates of compensation for veterans with<br>service-connected disabilities and the rates of dependency and indemnity compensation for<br>the survivors of certain disabled veterans, and for other purposes.","HR675","(This measure has not been amended since it was reported to the House on July 16, 2015.<br>The summary of that version is repeated here.) Veterans' Compensation Cost-of-Living<br>Adjustment Act of 2015 TITLE I--COMPENSATION COST-OF-LIVING ADJUSTMENT (Sec. 101) This<br>bill directs the Department of Veterans Affairs (VA) to increase, as of November 30, 2015,<br>the rates of:   veterans' disability compensation,  additional compensation for<br>dependents,   wartime disability compensation,  the clothing allow..."],["To amend chapter 8 of title 5, United States Code, to provide that major rules of the<br>executive branch shall have no force or effect unless a joint resolution of approval is<br>enacted into law.","HR427","Regulations From the Executive in Need of Scrutiny Act of 2015  (Sec. 2) States that the<br>purpose of this Act is to increase accountability for and transparency in the federal<br>regulatory process by requiring Congress to approve all new major regulations.  (Sec. 3)<br>Revises provisions relating to congressional review of agency rulemaking to require a<br>federal agency promulgating a rule to publish information about the rule in the Federal<br>Register and include in its report to Congress and to the G..."],["Providing for consideration of the bill (H.R. 1994) to amend title 38, United States Code,<br>to provide for the removal or demotion of employees of the Department of Veterans Affairs<br>based on performance or misconduct, and for other purposes, and providing for<br>consideration of the bill (H.R. 3236) to provide an extension of Federal-aid highway,<br>highway safety, motor carrier safety, transit, and other programs funded out of the<br>Highway Trust Fund, to provide resource flexibility to the Department of Veterans Affairs<br>for health care services, and for other purposes.","HRES388","Sets forth the rule for consideration of the bill (H.R. 1994) to amend title 38, United<br>States Code, to provide for the removal or demotion of employees of the Department of<br>Veterans Affairs based on performance or misconduct, and for other purposes, and providing<br>for consideration of the bill (H.R. 3236) to provide an extension of Federal-aid highway,<br>highway safety, motor carrier safety, transit, and other programs funded out of the<br>Highway Trust Fund, to provide resource flexibility to the..."],["To direct the Secretary of Homeland Security to make anthrax vaccines and antimicrobials<br>available to emergency response providers, and for other purposes.","HR1300","First Responder Anthrax Preparedness Act  (Sec. 2) Amends the Homeland Security Act of<br>2002 to direct the Department of Homeland Security (DHS), in coordination with the<br>Department of Health and Human Services (HHS), for the purpose of domestic preparedness<br>for and collective response to terrorism, to: (1) establish a program to provide surplus<br>anthrax vaccines nearing the end of their labeled dates of use from the strategic national<br>stockpile for administration to emergency response provider..."],["To provide an extension of Federal-aid highway, highway safety, motor carrier safety,<br>transit, and other programs funded out of the Highway Trust Fund, to provide resource<br>flexibility to the Department of Veterans Affairs for health care services, and for other<br>purposes.","HR3236","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Surface Transportation and Veterans Health Care<br>Choice Improvement Act of 2015 Directs the Secretary of Transportation to reduce the<br>amount apportioned for a surface transportation program, project, or activity for FY2015<br>by amounts apportioned or allocated under the Highway and Transportation Funding Act of<br>2014 and the Highway and Transportation Funding Act of 2015..."],["To amend title 38, United States Code, to provide for the removal or demotion of employees<br>of the Department of Veterans Affairs based on performance or misconduct, and for other<br>purposes.","HR1994","VA Accountability Act of 2015 (Sec. 2) This bill authorizes the Department of Veterans<br>Affairs (VA) to remove or demote a VA employee based on performance or misconduct.  The VA<br>may also remove an individual from the civil service or demote the individual through a<br>reduction in grade or annual pay rate.  A demoted individual: (1) shall be paid at the<br>demoted rate as of the date of demotion, (2) may not be placed on administrative leave or<br>any other category of paid leave while an appeal is on..."],["A bill to allow manufacturers to meet warranty and labeling requirements for consumer<br>products by displaying the terms of warranties on Internet websites, and for other<br>purposes.","S1359","(This measure has not been amended since it was passed by the Senate on July 9, 2015. The<br>summary of that version is repeated here.) E-Warranty Act of 2015 (Sec. 3) Amends the<br>Magnuson-Moss Warranty--Federal Trade Commission Improvement Act to require the Federal<br>Trade Commission to revise its rules to allow manufacturers to satisfy requirements<br>concerning the availability of written warranties on consumer products by making the terms<br>accessible in a digital format on the manufacturer's Inter..."],["Providing for consideration of the resolution (H. Res. 411) finding that the President has<br>not complied with section 2 of the Iran Nuclear Agreement Review Act of 2015; providing<br>for consideration of the bill (H.R. 3461) to approve the Joint Comprehensive Plan of<br>Action, signed at Vienna on July 14, 2015, relating to the nuclear program of Iran; and<br>providing for consideration of the bill (H.R. 3460) to suspend until January 21, 2017, the<br>authority of the President to waive, suspend, reduce, provide relief from, or otherwise<br>limit the application of sanctions pursuant to an agreement related to the nuclear program<br>of Iran.","HRES412","Sets forth the rule for consideration of the resolution (H. Res. 411) finding that the<br>President has not complied with section 2 of the Iran Nuclear Agreement Review Act of<br>2015; providing for consideration of the bill (H.R. 3461) to approve the Joint<br>Comprehensive Plan of Action, signed at Vienna on July 14, 2015, relating to the nuclear<br>program of Iran; and providing for consideration of the bill (H.R. 3460) to suspend until<br>January 21, 2017, the authority of the President to waive, suspend..."],["Finding that the President has not complied with section 2 of the Iran Nuclear Agreement<br>Review Act of 2015.","HRES411","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Declares that:   the President has not complied with provisions of the<br>Iran Nuclear Agreement Review Act of 2015 requiring transmission to Congress of nuclear<br>agreements with Iran and related verification assessments because the communication from<br>the President did not constitute the agreement as defined by the Atomic Energy Act of<br>1954; and  the period for review by Congress of nuclear ..."],["To approve the Joint Comprehensive Plan of Action, signed at Vienna on July 14, 2015,<br>relating to the nuclear program of Iran.","HR3461","This bill states that Congress favors the Joint Comprehensive Plan of Action relating to<br>Iran's nuclear program, signed in Vienna, Austria, on July 14, 2015."],["To suspend until January 21, 2017, the authority of the President to waive, suspend,<br>reduce, provide relief from, or otherwise limit the application of sanctions pursuant to<br>an agreement related to the nuclear program of Iran.","HR3460","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill prohibits the President, prior<br>to January 21, 2017, from:   limiting the application of specified sanctions on Iran or<br>refraining from applying any such sanctions; or  removing a foreign person (including<br>entities) listed in Attachments 3 or 4 to Annex II of the Joint Comprehensive Plan of<br>Action (JCPA) from the list of designated nationals and ..."],["To amend the Small Tracts Act to expand the authority of the Secretary of Agriculture to<br>sell or exchange small parcels of National Forest System land to enhance the management of<br>the National Forest System, to resolve minor encroachments, and for other purposes.","HR1214","National Forest Small Tracts Act Amendments Act of 2015 (Sec. 2) Amends the Small Tracts<br>Act (the Act) to permit the sale, exchange, or interchange under such Act of National<br>Forest System (NFS) lands the sale or exchange of which is not practicable under any other<br>authority of the Department of Agriculture (USDA) which have a value determined to be not<br>more than $500,000.  Includes as those lands permitted to be sold, exchanged, or<br>interchanged under the Act:  parcels of 40 acres or less whi..."],["Providing for consideration of the bill (H.R. 348) to provide for improved coordination of<br>agency actions in the preparation and adoption of environmental documents for permitting<br>determinations, and for other purposes; providing for consideration of the bill (H.R.758)<br>to amend Rule 11 of the Federal Rules of Civil Procedure to improve attorney<br>accountability, and for other purposes; and providing for consideration of motions to<br>suspend the rules.","HRES420","Sets forth the rule for consideration of the bill (H.R. 348) to provide for improved<br>coordination of agency actions in the preparation and adoption of environmental documents<br>for permitting determinations, and for other purposes; providing for consideration of the<br>bill (H.R.758) to amend Rule 11 of the Federal Rules of Civil Procedure to improve<br>attorney accountability, and for other purposes; and providing for consideration of<br>motions to suspend the rules."],["To amend Rule 11 of the Federal Rules of Civil Procedure to improve attorney<br>accountability, and for other purposes.","HR758","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Lawsuit Abuse Reduction Act of 2015 (Sec. 2)<br>Amends the sanctions provisions in Rule 11 of the Federal Rules of Civil Procedure to<br>require the court to impose an appropriate sanction on any attorney, law firm, or party<br>that has violated, or is responsible for the violation of, the rule with regard to<br>representations to the court. Requires any sanction to compensate..."],["Providing for consideration of the bill (H.R. 3134) to provide for a moratorium on Federal<br>funding to Planned Parenthood Federation of America, Inc.; providing for consideration of<br>the bill (H.R. 3504) to amend title 18, United States Code, to prohibit a health care<br>practitioner from failing to exercise the proper degree of care in the case of a child who<br>survives an abortion or attempted abortion; and for other purposes.","HRES421","Sets forth the rule for consideration of the bill (H.R. 3134) to provide for a moratorium<br>on Federal funding to Planned Parenthood Federation of America, Inc.; providing for<br>consideration of the bill (H.R. 3504) to amend title 18, United States Code, to prohibit a<br>health care practitioner from failing to exercise the proper degree of care in the case of<br>a child who survives an abortion or attempted abortion."],["To provide for a moratorium on Federal funding to Planned Parenthood Federation of<br>America, Inc.","HR3134","Defund Planned Parenthood Act of 2015 (Sec. 3) This bill prohibits, for a one-year period,<br>the availability of federal funds for any purpose to Planned Parenthood Federation of<br>America, Inc., or any of its affiliates or clinics, unless they certify that the<br>affiliates and clinics will not perform, and will not provide any funds to any other<br>entity that performs, an abortion during such period. The restriction will not apply in<br>cases of rape or incest or where a physical condition endangers a ..."],["To amend title 18, United States Code, to prohibit a health care practitioner from failing<br>to exercise the proper degree of care in the case of a child who survives an abortion or<br>attempted abortion.","HR3504","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Born-Alive Abortion Survivors Protection Act<br>(Sec. 3) This bill amends the federal criminal code to require any health care<br>practitioner who is present when a child is born alive following an abortion or attempted<br>abortion to: (1) exercise the same degree of care as reasonably provided to any other<br>child born alive at the same gestational age, and (2) ensure that ..."],["To designate the facility of the United States Postal Service located at 16105 Swingley<br>Ridge Road in Chesterfield, Missouri, as the \"Sgt. Zachary M. Fisher Post Office\".","HR322","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the facility of the United States Postal Service located at<br>16105 Swingley Ridge Road in Chesterfield, Missouri, as the \"Sgt. Zachary M. Fisher Post<br>Office.\""],["To provide for improved coordination of agency actions in the preparation and adoption of<br>environmental documents for permitting determinations, and for other purposes.","HR348","Responsibly And Professionally Invigorating Development Act of 2015 or the RAPID Act (Sec.<br>2) This bill amends the Administrative Procedure Act to establish procedures to streamline<br>the regulatory review, environmental decision making, and permitting process required by<br>the National Environmental Policy Act of 1969 (NEPA) for construction projects that are<br>federally funded or that require federal approval by a permit or regulatory decision. Upon<br>the request of a lead agency responsible for pr..."],["To actively recruit members of the Armed Forces who are separating from military service<br>to serve as Customs and Border Protection Officers.","HR2835","(This measure has not been amended since it was passed by the House on September 28, 2015.<br>The summary of that version is repeated here.) Border Jobs for Veterans Act of 2015 (Sec.<br>3) Directs the Department of Homeland Security (DHS) to consider the expedited hiring of<br>qualified candidates who have the ability to perform the essential functions of the<br>position of a Customs and Border Protection (CBP) officer and who are eligible for a<br>veterans recruitment appointment. (Sec. 4) Requires DHS to..."],["Providing for consideration of the bill (H.R. 3495) to amend title XIX of the Social<br>Security Act to allow for greater State flexibility with respect to excluding providers<br>who are involved in abortions, and waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules.","HRES444","Sets forth the rule for consideration of the bill (H.R. 3495) to amend title XIX of the<br>Social Security Act to allow for greater State flexibility with respect to excluding<br>providers who are involved in abortions, and waiving a requirement of clause 6(a) of rule<br>XIII with respect to consideration of certain resolutions reported from the Committee on<br>Rules."],["To amend title XIX of the Social Security Act to allow for greater State flexibility with<br>respect to excluding providers who are involved in abortions.","HR3495","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Women's Public Health and Safety Act \u00a0 (Sec. 2)<br>This bill amends title XIX (Medicaid) of the Social Security Act to modify requirements<br>regarding a state plan for medical assistance.\u00a0 Under current law, a state plan for<br>medical assistance must provide that any individual eligible for medical assistance may<br>obtain required services from any institution, agency, or ..."],["Providing for consideration of the concurrent resolution (H. Con. Res. 79) directing the<br>Clerk of the House of Representatives to make corrections in the enrollment of H.R. 719,<br>and providing for consideration of the Senate amendment to the House amendment to the<br>Senate amendment to the bill (H.R. 719) to require the Transportation Security<br>Administration to conform to existing Federal law and regulations regarding criminal<br>investigator positions, and for other purposes.","HRES448","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 79)<br>directing the Clerk of the House of Representatives to make corrections in the enrollment<br>of H.R. 719, and providing for consideration of the Senate amendment to the House<br>amendment to the Senate amendment to the bill (H.R. 719) to require the Transportation<br>Security Administration to conform to existing Federal law and regulations regarding<br>criminal investigator positions."],["A bill to amend title 38, United States Code, to extend certain expiring provisions of law<br>administered by the Secretary of Veterans Affairs, and for other purposes.","S2082","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) Department of Veterans Affairs Expiring<br>Authorities Act of 2015 This bill extends specified Department of Veterans Affairs (VA)<br>programs. TITLE I--EXTENSIONS OF AUTHORITY RELATING TO HEALTH CARE (Sec. 101) Authority<br>for collection of copayments for hospital care and nursing home care is extended through<br>FY2016.  (Sec. 102) The requirement to provide nursing home car..."],["Directing the Clerk of the House of Representatives to make corrections in the enrollment<br>of H.R. 719.","HCONRES79","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Directs the Clerk of the House of Representatives to make a correction in<br>the enrollment of H.R. 719 (Continuing Appropriations Act, 2016) to add division titles<br>and restrict funding for Planned Parenthood.  Prohibits, for a one-year period, federal<br>funds from being provided to Planned Parenthood Federation of America, Inc., or any of its<br>affiliates or clinics, for any purpose unless the..."],["Providing for consideration of the bill (H.R. 3457) to prohibit the lifting of sanctions<br>on Iran until the Government of Iran pays the judgments against it for acts of terrorism,<br>and for other purposes; providing for consideration of the conference report to accompany<br>the bill (H.R. 1735) to authorize appropriations for fiscal year 2016 for military<br>activities of the Department of Defense, for military construction, and for defense<br>activities of the Department of Energy, to prescribe military personnel strengths for such<br>fiscal year, and for other purposes; and providing for consideration of motions to suspend<br>the rules.","HRES449","Sets forth the rule for consideration of the bill (H.R. 3457) to prohibit the lifting of<br>sanctions on Iran until the Government of Iran pays the judgments against it for acts of<br>terrorism, and for other purposes; providing for consideration of the conference report to<br>accompany the bill (H.R. 1735) to authorize appropriations for fiscal year 2016 for<br>military activities of the Department of Defense, for military construction, and for<br>defense activities of the Department of Energy, to prescrib..."],["To prohibit the lifting of sanctions on Iran until the Government of Iran pays the<br>judgments against it for acts of terrorism, and for other purposes.","HR3457","Justice for Victims of Iranian Terrorism Act  (Sec. 2) This bill prohibits the President,<br>until Iran has paid each judgment against it, from:  limiting the application of specified<br>sanctions on Iran or refraining from applying them; or  removing a foreign person<br>(including entities) listed in Attachments 3 or 4 to Annex II of the Joint Comprehensive<br>Plan of Action (JCPA) from the list of designated nationals and blocked persons maintained<br>by the Office of Foreign Assets Control of the Departm..."],["To amend the Federal Deposit Insurance Act to specify which smaller institutions may<br>qualify for an 18-month examination cycle.","HR1553","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Small Bank Exam Cycle Reform Act of 2015  (Sec.<br>2) This bill amends the Federal Deposit Insurance Act to increase from $500 million to $1<br>billion the asset size of small insured depository institutions eligible for 18-month on-<br>site examination cycles. Such an institution is also qualified for the 18-month cycle if<br>its total assets are at most $200 million (current..."],["To amend the Securities Act of 1933 to exempt certain transactions involving purchases by<br>accredited investors, and for other purposes.","HR1839"," Reforming Access for Investments in Startup Enterprises Act of 2015 or the RAISE Act of<br>2015  (Sec. 2) The Securities Act of 1933 is amended to exempt from security registration<br>requirements, and related prohibitions against using interstate commerce and the mails for<br>the sale or delivery of securities after sale, any transaction where:  each purchaser is<br>an accredited investor; neither the seller, nor any person acting on the seller's behalf,<br>offers or sells securities by general solicitati..."],["Providing for consideration of the bill (H.R. 3192) to provide for a temporary safe harbor<br>from the enforcement of integrated disclosure requirements for mortgage loan transactions<br>under the Real Estate Settlement Procedures Act of 1974 and the Truth in Lending Act, and<br>for other purposes, and providing for proceedings during the period from October 12, 2015,<br>through October 19, 2015.","HRES462","Sets forth the rule for consideration of the bill (H.R. 3192) to provide for a temporary<br>safe harbor from the enforcement of integrated disclosure requirements for mortgage loan<br>transactions under the Real Estate Settlement Procedures Act of 1974 and the Truth in<br>Lending Act, and for other purposes, and providing for proceedings during the period from<br>October 12, 2015, through October 19, 2015."],["Establishing a Select Investigative Panel of the Committee on Energy and Commerce.","HRES461","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Establishes a Select Investigative Panel of the<br>House Committee on Energy and Commerce.  (Sec. 3) Requires the Panel to investigate and<br>report on:   medical procedures and business practices used by entities involved in fetal<br>tissue procurement;  any other relevant matters with respect to such procurement; federal<br>funding and support for abortion providers;   the p..."],["To provide for a temporary safe harbor from the enforcement of integrated disclosure<br>requirements for mortgage loan transactions under the Real Estate Settlement Procedures<br>Act of 1974 and the Truth in Lending Act, and for other purposes.","HR3192","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Homebuyers Assistance Act (Sec. 2) This bill<br>prohibits until February 1, 2016, enforcement against any person of integrated disclosure<br>requirements for mortgage loan transactions under the Real Estate Settlement Procedures<br>Act of 1974, the Truth in Lending Act, and regulations issued under such Acts. No suit may<br>be filed against any person for a violation of such r..."],["Providing for consideration of the bill (H.R. 538) to facilitate the development of energy<br>on Indian lands by reducing Federal regulations that impede tribal development of Indian<br>lands, and for other purposes, and providing for consideration of the bill (H.R. 702) to<br>adapt to changing crude oil market conditions.","HRES466","Sets forth the rule for consideration of the bill (H.R. 538) to facilitate the development<br>of energy on Indian lands by reducing Federal regulations that impede tribal development<br>of Indian lands, and for other purposes, and providing for consideration of the bill (H.R.<br>702) to adapt to changing crude oil market conditions."],["To facilitate the development of energy on Indian lands by reducing Federal regulations<br>that impede tribal development of Indian lands, and for other purposes.","HR538","Native American Energy Act  (Sec. 2) This bill amends the Energy Policy Act of 1992 to<br>allow the Department of the Interior, an affected Indian tribe, or a certified third-party<br>appraiser under contract with the Indian tribe to appraise Indian land or trust assets<br>involved in a transaction requiring Interior approval. (Currently, Interior sets appraisal<br>requirements.) Interior must approve or disapprove an appraisal within 60 days or the<br>appraisal is deemed approved.  A tribe may waive the re..."],["To adapt to changing crude oil market conditions.","HR702","(Sec. 3) Amends the Energy Policy and Conservation Act to repeal authority to restrict the<br>export of: (1) coal, petroleum products, natural gas, or petrochemical feedstocks; and (2)<br>supplies of materials or equipment necessary to maintain or further exploration,<br>production, refining, or transportation of energy supplies, or for the construction or<br>maintenance of energy facilities within the United States. Prohibits any federal official<br>from imposing or enforcing any restriction on the export ..."],["To amend the Homeland Security Act of 2002 to establish the Securing the Cities program to<br>enhance the ability of the United States to detect and prevent terrorist attacks and other<br>high consequence events utilizing nuclear or other radiological materials that pose a high<br>risk to homeland security in high-risk urban areas, and for other purposes.","HR3493","(Securing the Cities Act of 2015 (Sec. 2) This bill amends the Homeland Security Act of<br>2002 to require the Director for Domestic Nuclear Detection to establish the Securing the<br>Cities program to enhance the ability of the United States to detect and prevent terrorist<br>attacks and other high consequence events utilizing nuclear or other radiological<br>materials that pose a high risk to homeland security in high-risk urban areas.  Under such<br>program, the Director shall:   assist state, local, tri..."],["Providing for consideration of the bill (H.R. 10) to reauthorize the Scholarships for<br>Opportunity and Results Act, and for other purposes, and providing for consideration of<br>the bill (H.R. 692) to ensure the payment of interest and principal of the debt of the<br>United States.","HRES480","Sets forth the rule for consideration of the bill (H.R. 10) to reauthorize the<br>Scholarships for Opportunity and Results Act, and for other purposes, and providing for<br>consideration of the bill (H.R. 692) to ensure the payment of interest and principal of<br>the debt of the United States."],["Providing for consideration of the bill (H.R. 1937) to require the Secretary of the<br>Interior and the Secretary of Agriculture to more efficiently develop domestic sources of<br>the minerals and mineral materials of strategic and critical importance to United States<br>economic and national security and manufacturing competitiveness.","HRES481","Sets forth the rule for consideration of the bill (H.R. 1937) to require the Secretary of<br>the Interior and the Secretary of Agriculture to more efficiently develop domestic sources<br>of the minerals and mineral materials of strategic and critical importance to United<br>States economic and national security and manufacturing competitiveness."],["To ensure the payment of interest and principal of the debt of the United States.","HR692","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Default Prevention Act  (Sec. 2) This bill<br>requires the Department of the Treasury to continue to borrow to pay the principal and<br>interest on certain obligations if the debt of the United States exceeds the statutory<br>limit.  If the debt limit is exceeded, Treasury is required to issue obligations solely<br>for the payment of the principal and interest on debt held by..."],["To reauthorize the Scholarships for Opportunity and Results Act, and for other purposes.","HR10","Scholarships for Opportunity and Results Reauthorization Act or the SOAR Reauthorization<br>Act (Sec. 3) This bill amends the District of Columbia Code to prohibit the Department of<br>Education from limiting the number of eligible students receiving District of Columbia<br>Opportunity Scholarship Program (OSP) scholarships, and from preventing otherwise eligible<br>students from participating in the OSP because of:  the type of school the student<br>previously attended; or whether or not the individual pre..."],["To require the Secretary of the Interior and the Secretary of Agriculture to more<br>efficiently develop domestic sources of the minerals and mineral materials of strategic<br>and critical importance to United States economic and national security and manufacturing<br>competitiveness.","HR1937","National Strategic and Critical Minerals Production Act of 2015 TITLE I--DEVELOPMENT OF<br>DOMESTIC SOURCES OF STRATEGIC AND CRITICAL MINERALS (Sec. 101) Deems a domestic mine that<br>will provide strategic and critical minerals to be an \"infrastructure project\" as<br>described in Presidential Order \"Improving Performance of Federal Permitting and Review of<br>Infrastructure Projects\" dated March 22, 2012. (Sec. 102) Sets forth the responsibilities<br>of the lead agency (federal, state, local, tribal, or Al..."],["Providing for consideration of the bill (H.R. 3762) to provide for reconciliation pursuant<br>to section 2002 of the concurrent resolution on the budget for fiscal year 2016; waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules; and providing for consideration of<br>motions to suspend the rules.","HRES483","Sets forth the rule for consideration of the bill (H.R. 3762) to provide for<br>reconciliation pursuant to section 2002 of the concurrent resolution on the budget for<br>fiscal year 2016; waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules; and providing<br>for consideration of motions to suspend the rules."],["To provide for reconciliation pursuant to section 2002 of the concurrent resolution on the<br>budget for fiscal year 2016.","HR3762","TITLE I--HEALTH, EDUCATION, LABOR, AND PENSIONS (Sec. 101) This bill amends the Patient<br>Protection and Affordable Care Act (PPACA) to terminate the Prevention and Public Health<br>Fund, which provides for investment in prevention and public health programs to improve<br>health and restrain the rate of growth in health care costs. Unobligated funds are<br>rescinded. (Sec. 102) Funding for community health centers is increased. (Sec. 103)<br>Certain funding for U.S. territories that establish health insura..."],["Providing for the consideration of the bill (H.R. 597) to reauthorize the Export-Import<br>Bank of the United States, and for other purposes.","HRES450","Sets forth the rule for consideration of H.R. 597 (Reform Exports and Expand the American<br>Economy Act)."],["Providing for consideration of the bill (H.R. 1090) to amend the Securities Exchange Act<br>of 1934 to provide protections for retail customers, and for other purposes.","HRES491","Sets forth the rule for consideration of the bill (H.R. 1090) to amend the Securities<br>Exchange Act of 1934 to provide protections for retail customers."],["To amend the Securities Exchange Act of 1934 to provide protections for retail customers,<br>and for other purposes.","HR1090","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Retail Investor Protection Act  (Sec. 2)<br>Prohibits the Secretary of Labor from prescribing any regulation under the Employee<br>Retirement Income Security Act of 1974 (ERISA) defining the circumstances under which an<br>individual is considered a fiduciary until 60 days after the Securities and Exchange<br>Commission (SEC) issues a final rule governing standards of conduct ..."],["To reauthorize the Export-Import Bank of the United States, and for other purposes.","HR597","Export-Import Bank Reform and Reauthorization Act of 2015 TITLE I--TAXPAYER PROTECTION<br>PROVISIONS AND INCREASED ACCOUNTABILITY  (Sec. 101) This bill amends the Export-Import<br>Bank Act of 1945 to set at $135 billion, for each of FY2015-FY2019, the authorized<br>aggregate amount of loans, guarantees, and insurance the Export-Import Bank may have<br>outstanding at any time. If the rate at which borrowing entities are in default on a<br>payment obligation (default rate) is 2% or more for a quarter, the Ban..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1314) to amend the<br>Internal Revenue Code of 1986 to provide for a right to an administrative appeal relating<br>to adverse determinations of tax-exempt status of certain organizations.","HRES495","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 1314) to<br>amend the Internal Revenue Code of 1986 to provide for a right to an administrative appeal<br>relating to adverse determinations of tax-exempt status of certain organizations."],["To direct the President to develop a strategy to obtain observer status for Taiwan in the<br>International Criminal Police Organization, and for other purposes.","HR1853","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill directs the President to: (1)<br>develop a strategy to obtain observer status for Taiwan in the International Criminal<br>Police Organization (INTERPOL) and at other related activities, and (2) instruct INTERPOL<br>Washington to request observer status for Taiwan in INTERPOL and urge INTERPOL members to<br>support Taiwan's observer status and participation...."],["Providing for consideration of the Senate amendments to the bill (H.R. 22) to amend the<br>Internal Revenue Code of 1986 to exempt employees with health coverage under TRICARE or<br>the Veterans Administration from being taken into account for purposes of determining the<br>employers to which the employer mandate applies under the Patient Protection and<br>Affordable Care Act; providing for proceedings during the period from November 6, 2015,<br>through November 13, 2015; and providing for consideration of motions to suspend the<br>rules.","HRES507","Sets forth the rule for consideration of the Senate amendment to H.R. 22 (Developing a<br>Reliable and Innovative Vision for the Economy Act [DRIVE Act])."],["Expressing the sense of the House of Representatives regarding the safety and security of<br>Jewish communities in Europe.","HRES354","Urges the U.S. government to work with European governments and European law enforcement<br>agencies encouraging them to:   partner with, share information, and train Jewish<br>community groups to strengthen preparedness and response to anti-Semitic attacks and to<br>support related research initiatives;  consider formal partnerships in the United States,<br>United Kingdom, and France between government entities and Jewish community security<br>groups as examples of such partnering;  support assessments of ..."],["A bill to clarify that certain provisions of the Border Patrol Agent Pay Reform Act of<br>2014 will not take effect until after the Director of the Office of Personnel Management<br>promulgates and makes effective regulations relating to such provisions.","S1356","(This measure has not been amended since it was passed by the House on November 5, 2015.<br>The summary of that version is repeated here.) Highlights:  The National Defense<br>Authorization Act for Fiscal Year 2016 authorizes FY2016 appropriations and sets forth<br>policies regarding the military activities of the Department of Defense (DOD), military<br>construction, and the national security programs of the Department of Energy (DOE).  The<br>bill authorizes appropriations, but does not provide appropriat..."],["To prohibit gaming activities on certain Indian lands in Arizona until the expiration of<br>certain gaming compacts.","HR308","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Keep the Promise Act of 2015  Restricts gaming on land within the Phoenix,<br>Arizona, metropolitan area acquired by the Secretary of the Interior in trust for the<br>benefit of an Indian tribe after April 9, 2013. Terminates the restriction on January 1,<br>2027."],["To require the Secretary of Veterans Affairs to conduct a study on matters relating to the<br>burial of unclaimed remains of veterans in national cemeteries, and for other purposes.","HR1338","(This measure has not been amended since it was reported to the House on October 26, 2015.<br>The summary of that version is repeated here.) Dignified Interment of Our Veterans Act of<br>2015 (Sec. 2) This bill directs the Department of Veterans Affairs (VA) to study and<br>report to Congress on matters relating to the interring of veterans' unclaimed remains in<br>national cemeteries under the control of the National Cemetery Administration, including:<br>the scope of the issues relating to veterans' unc..."],["Providing for consideration of the bill (H.R. 1737) to nullify certain guidance of the<br>Bureau of Consumer Financial Protection and to provide requirements for guidance issued by<br>the Bureau with respect to indirect auto lending; providing for consideration of the bill<br>(H.R. 511) to clarify the rights of Indians and Indian tribes on Indian lands under the<br>National Labor Relations Act; and for other purposes.","HRES526","Sets forth the rule for consideration of the bill (H.R. 1737) to nullify certain guidance<br>of the Bureau of Consumer Financial Protection and to provide requirements for guidance<br>issued by the Bureau with respect to indirect auto lending; providing for consideration of<br>the bill (H.R. 511) to clarify the rights of Indians and Indian tribes on Indian lands<br>under the National Labor Relations Act."],["To amend MAP-21 to improve contracting opportunities for veteran-owned small business<br>concerns, and for other purposes.","HR1694","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Fairness to Veterans for Infrastructure Investment Act of 2015  (Sec. 2)<br>This bill amends the Moving Ahead for Progress in the 21st Century Act (MAP-21) to revise<br>the requirement that 10% of the award of contracts for federal-aid highway, federal public<br>transportation, and highway safety research and development programs be set-aside for<br>small businesses owned and controlled by socially ..."],["To clarify the rights of Indians and Indian tribes on Indian lands under the National<br>Labor Relations Act.","HR511","(This measure has not been amended since it was reported to the House on September 10,<br>2015. The summary of that version is repeated here.) Tribal Labor Sovereignty Act of 2015<br>(Sec. 2) Amends the National Labor Relations Act to provide that any Indian tribe or any<br>enterprise or institution owned and operated by an Indian tribe and located on its lands<br>is not considered an employer (thus excluding Indian tribes and such enterprises or<br>institutions from coverage by the Act)."],["Providing for consideration of the bill (H.R. 1210) to amend the Truth in Lending Act to<br>provide a safe harbor from certain requirements related to qualified mortgages for<br>residential mortgage loans held on an originating depository institution's portfolio, and<br>for other purposes; providing for consideration of the bill (H.R 3189) to amend the<br>Federal Reserve Act to establish requirements for policy rules and blackout periods of the<br>Federal Open Market Committee, to establish requirements for certain activities of the<br>Board of Governors of the Federal Reserve System, and to amend title 31, United States<br>Code, to reform the manner in which the Board of Governors of the Federal Reserve System<br>is audited, and for other purposes; and providing for proceedings during the period from<br>November 20, 2015, through November 27, 2015.","HRES529","Sets forth the rule for consideration of the bill (H.R. 1210) to amend the Truth in<br>Lending Act to provide a safe harbor from certain requirements related to qualified<br>mortgages for residential mortgage loans held on an originating depository institution's<br>portfolio, and for other purposes; providing for consideration of the bill (H.R 3189) to<br>amend the Federal Reserve Act to establish requirements for policy rules and blackout<br>periods of the Federal Open Market Committee, to establish requir..."],["To amend the Truth in Lending Act to provide a safe harbor from certain requirements<br>related to qualified mortgages for residential mortgage loans held on an originating<br>depository institution's portfolio, and for other purposes.","HR1210","Portfolio Lending and Mortgage Access Act (Sec. 2) This bill amends the Truth in Lending<br>Act to create a safe harbor from lawsuit for creditors that are depository institutions<br>for any failure to comply with certain requirements with respect to a residential mortgage<br>loan, and the banking regulators are required to treat such a loan as a qualified<br>mortgage, if the creditor has, since the loan's origination, held it on its balance sheet<br>and all prepayment penalties with respect to the loan com..."],["To nullify certain guidance of the Bureau of Consumer Financial Protection and to provide<br>requirements for guidance issued by the Bureau with respect to indirect auto lending.","HR1737","Reforming CFPB Indirect Auto Financing Guidance Act   (Sec. 2) Declares without force or<br>effect Consumer Financial Protection Bureau (CFPB) Bulletin 2013-02 (Indirect Auto Lending<br>and Compliance with the Equal Credit Opportunity Act), published March 21, 2013. (Sec. 3)<br>Amends the Consumer Financial Protection Act of 2010 to direct the CFPB, when proposing<br>and issuing guidance primarily related to indirect auto financing, to:  provide for a<br>public notice and comment period before issuing the g..."],["Providing for consideration of the bill (H.R. 4038) to require that supplemental<br>certifications and background investigations be completed prior to the admission of<br>certain aliens as refugees, and for other purposes.","HRES531","Sets forth the rule for consideration of the bill (H.R. 4038) to require that supplemental<br>certifications and background investigations be completed prior to the admission of<br>certain aliens as refugees."],["To amend the Federal Reserve Act to establish requirements for policy rules and blackout<br>periods of the Federal Open Market Committee, to establish requirements for certain<br>activities of the Board of Governors of the Federal Reserve System, and to amend title 31,<br>United States Code, to reform the manner in which the Board of Governors of the Federal<br>Reserve System is audited, and for other purposes.","HR3189","Fed Oversight Reform and Modernization Act of 2015 or the FORM Act of 2015 (Sec. 1) This<br>bill amends the Federal Reserve Act to require the Chairman of the Federal Open Market<br>Committee (FOMC), within 48 hours after the end of a FOMC meeting, to submit to the<br>appropriate congressional committees and the Government Accountability Office (GAO) a<br>Directive Policy Rule, meeting specified criteria, accompanied by a statement identifying<br>the FOMC members voting in its favor. A Directive Policy Rule..."],["To require that supplemental certifications and background investigations be completed<br>prior to the admission of certain aliens as refugees, and for other purposes.","HR4038","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) American Security Against Foreign Enemies Act of<br>2015 or the American SAFE Act of 2015 (Sec. 2) This bill requires that, in addition to the<br>Department of Homeland Security (DHS) screening, the Federal Bureau of Investigation (FBI)<br>shall take all actions necessary to ensure that each covered alien receives a background<br>investigation before U.S. refugee admission. A..."],["To remove the use restrictions on certain land transferred to Rockingham County, Virginia,<br>and for other purposes.","HR2288","(This measure has not been amended since it was reported to the House on October 6, 2015.<br>The summary of that version is repeated here.)  (Sec. 1) This bill declares that the<br>approximately one-acre portion of specified land transferred by the United States to<br>Rockingham County, Virginia, that is used for purposes of a child care center, shall not<br>be subject to the use restriction imposed in the deed for the transferred land.<br>Eliminated is the requirement for the county to include information..."],["Providing for consideration of the bill (H.R. 8) to modernize energy infrastructure, build<br>a 21st century energy and manufacturing workforce, bolster America's energy security and<br>diplomacy, and promote energy efficiency and government accountability, and for other<br>purposes; providing for consideration of the joint resolution (S.J. Res. 23) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of a rule<br>submitted by the Environmental Protection Agency relating to \"Standards of Performance for<br>Greenhouse Gas Emissions from New, Modified, and Reconstructed Stationary Sources:<br>Electric Utility Generating Units\"; and providing for consideration of the joint<br>resolution (S.J. Res. 24) providing for congressional disapproval under chapter 8 of title<br>5, United States Code, of a rule submitted by the Environmental Protection Agency relating<br>to \"Carbon Pollution Emission Guidelines for Existing Stationary Sources: Electric Utility<br>Generating Units\".","HRES539","Sets forth the rule for consideration of the bill (H.R. 8) to modernize energy<br>infrastructure, build a 21st century energy and manufacturing workforce, bolster America's<br>energy security and diplomacy, and promote energy efficiency and government<br>accountability, and for other purposes; providing for consideration of the joint<br>resolution (S.J. Res. 23) providing for congressional disapproval under chapter 8 of title<br>5, United States Code, of a rule submitted by the Environmental Protection Agen..."],["To authorize appropriations for fiscal year 2016 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR4127","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Intelligence Authorization Act for Fiscal Year<br>2016 TITLE I--INTELLIGENCE ACTIVITIES  (Sec. 101) This bill authorizes FY2016<br>appropriations for the conduct of intelligence and intelligence-related activities of:<br>the Office of the Director of National Intelligence (DNI);  the Central Intelligence<br>Agency (CIA);  the Department of Defense (DOD);  the Defense Intell..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of a rule submitted by the Environmental Protection Agency relating to<br>\"Carbon Pollution Emission Guidelines for Existing Stationary Sources: Electric Utility<br>Generating Units\".","SJRES24","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Nullifies the Environmental Protection Agency's rule published on October<br>23, 2015, that requires states to reduce carbon dioxide emissions from existing fossil<br>fuel-fired electric generating units (EGUs). (Those EGUs convert fossil fuel energy to<br>electric energy.)"],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of a rule submitted by the Environmental Protection Agency relating to<br>\"Standards of Performance for Greenhouse Gas Emissions from New, Modified, and<br>Reconstructed Stationary Sources: Electric Utility Generating Units\".","SJRES23","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Nullifies the Environmental Protection Agency's rule published on October<br>23, 2015, that establishes new source performance standards under the Clean Air Act for<br>carbon dioxide emissions from fossil fuel-fired electric utility generating units (EGUs)<br>if the EGUs are newly constructed, modified, or reconstructed. (Those EGUs convert fossil<br>fuel energy to electric energy.)"],["Providing for further consideration of the bill (H.R. 8) to modernize energy<br>infrastructure, build a 21st century energy and manufacturing workforce, bolster America's<br>energy security and diplomacy, and promote energy efficiency and government<br>accountability, and for other purposes, and providing for consideration of the conference<br>report to accompany the bill (S. 1177) to reauthorize the Elementary and Secondary<br>Education Act of 1965 to ensure that every child achieves.","HRES542","Sets forth the rule for consideration of H.R. 8 (North American Energy Security and<br>Infrastructure Act of 2015) and S. 1177 (Every Student Succeeds Act)."],["To modernize energy infrastructure, build a 21st century energy and manufacturing<br>workforce, bolster America's energy security and diplomacy, and promote energy efficiency<br>and government accountability, and for other purposes.","HR8","North American Energy Security and Infrastructure Act of 2015  TITLE I--MODERNIZING AND<br>PROTECTING INFRASTRUCTURE Subtitle A--Energy Delivery, Reliability, and Security  (Sec.<br>1101) This bill amends the Natural Gas Act to revise procedures for consideration by the<br>Federal Energy Regulatory Commission (FERC) of applications for federal authorization of<br>the exportation or importation of natural gas, including a deadline for a final decision<br>on a federal authorization within 90 days after FERC i..."],["An original bill to reauthorize the Elementary and Secondary Education Act of 1965 to<br>ensure that every child achieves.","S1177","Every Student Succeeds Act TITLE I--IMPROVING BASIC PROGRAMS OPERATED BY STATE AND LOCAL<br>EDUCATIONAL AGENCIES Part A--Improving Basic Programs Operated by State and Local<br>Educational Agencies (Sec. 1002) This bill amends the Elementary and Secondary Education<br>Act of 1965 (ESEA) to reauthorize through FY2020 the following programs: (1) state<br>assessments; (2) education of migratory children; (3) prevention and intervention for<br>children and youth who are neglected, delinquent, or at-risk; and (4..."],["Providing for consideration of the conference report to accompany the bill (H.R. 22) to<br>authorize funds for Federal-aid highways, highway safety programs, and transit programs,<br>and for other purposes.","HRES546","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>22) to authorize funds for Federal-aid highways, highway safety programs, and transit<br>programs."],["To clarify the grounds for ineligibility for travel to the United States regarding<br>terrorism risk, to expand the criteria by which a country may be removed from the Visa<br>Waiver Program, to require the Secretary of Homeland Security to submit a report on<br>strengthening the Electronic System for Travel Authorization to better secure the<br>international borders of the United States and prevent terrorists and instruments of<br>terrorism from entering the United States, and for other purposes.","HR158","Visa Waiver Program Improvement and Terrorist Travel Prevention Act of 2015 (Sec. 2) This<br>bill amends the Immigration and Nationality Act regarding the visa waiver program to<br>require that an alien, when applying for program admission, possess a valid unexpired<br>passport that:   is machine-readable, tamper-resistant, incorporates document<br>authentication identifiers, and otherwise satisfies the internationally accepted standard<br>for machine readability; and  beginning on April 1, 2016, is an elec..."],["To improve homeland security, including domestic preparedness and response to terrorism,<br>by reforming Federal Law Enforcement Training Centers to provide training to first<br>responders, and for other purposes.","HR3842","(This measure has not been amended since it was passed by the Senate on December 10, 2016.<br>The summary of that version is repeated here.) Federal Law Enforcement Training Centers<br>Reform and Improvement Act of 2015 (Sec. 2) This bill amends the Homeland Security Act of<br>2002 to codify the establishment of the Federal Law Enforcement Training Center (FLETC)<br>within the Department of Homeland Security (DHS). The FLETC must be headed by a director<br>who reports to the DHS Secretary.  The bill sets fo..."],["Providing for consideration of the bill (H.R. 2130) to provide legal certainty to property<br>owners along the Red River in Texas, and for other purposes, and providing for<br>consideration of motions to suspend the rules.","HRES556","Sets forth the rule for consideration of the bill (H.R. 2130) to provide legal certainty<br>to property owners along the Red River in Texas, and for other purposes, and providing for<br>consideration of motions to suspend the rules."],["To provide legal certainty to property owners along the Red River in Texas, and for other<br>purposes.","HR2130","Red River Private Property Protection Act  (Sec. 2) This bill declares that the Bureau of<br>Land Management (BLM) of the Department of the Interior disclaims any right, title, and<br>interest to certain lands along a stretch of the Red River between Texas and Oklahoma (the<br>affected area) located south of the South Bank boundary line.   BLM surveys conducted<br>before enactment of this Act shall have no force or effect in determining the South Bank<br>boundary line.  (Sec. 3) The BLM, in identifying the ..."],["To amend the Homeland Security Act of 2002 to strengthen and make improvements to the<br>Directorate of Science and Technology of the Department of Homeland Security, and for<br>other purposes.","HR3578","DHS Science and Technology Reform and Improvement Act of 2015 (Sec. 2) This bill amends<br>the Homeland Security Act of 2002 to declare that the Directorate of Science and<br>Technology of the Department of Homeland Security (DHS) shall be the primary research,<br>development, testing, and evaluation arm of DHS, responsible for coordinating such<br>activities to strengthen the security and resiliency of the United States. The Directorate<br>shall be headed by the DHS Undersecretary for Science and Technolog..."],["Providing for consideration of the conference report to accompany the bill (H.R. 644) to<br>reauthorize trade facilitation and trade enforcement functions and activities, and for<br>other purposes, and providing for consideration of the Senate amendments to the bill (H.R.<br>2250) making appropriations for the Legislative Branch for the fiscal year ending<br>September 30, 2016, and for other purposes.","HRES560","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>644) to reauthorize trade facilitation and trade enforcement functions and activities, and<br>for other purposes, and providing for consideration of the Senate amendments to the bill<br>(H.R. 2250) making appropriations for the Legislative Branch for the fiscal year ending<br>September 30, 2016."],["To reauthorize the Stem Cell Therapeutic and Research Act of 2005, and for other purposes.","HR2820","(This measure has not been amended since it was reported to the Senate on December 3,<br>2015. The summary of that version is repeated here.) Stem Cell Therapeutic and Research<br>Reauthorization Act of 2015 (Sec. 2) This bill amends the Public Health Service Act and<br>the Stem Cell Therapeutic and Research Act of 2005 to revise and extend through FY2020 the<br>C.W. Bill Young Cell Transplantation Program and the National Cord Blood Inventory<br>program. (These programs help match patients in need of a tra..."],["To waive the passport fees for first responders proceeding abroad to aid a foreign country<br>suffering from a natural disaster.","HR3750","First Responders Passport Act of 2015 (Sec. 2) This bill amends the Passport Act of June<br>4, 1920 to waive passport fees for an individual who is operating under a contract, grant,<br>or cooperative agreement with the U.S. government, including a volunteer, to aid a foreign<br>country suffering from a qualifying natural disaster.  The Department of State shall<br>report to Congress on the number of fee waivers for the issuance of passports to first<br>responders."],["To require intelligence community reporting on foreign fighter flows to and from terrorist<br>safe havens abroad, and for other purposes.","HR4239","Tracking Foreign Fighters in Terrorist Safe Havens Act (Sec. 2) This bill requires the<br>Director of National Intelligence to submit reports to Congress every 180 days for two<br>years regarding foreign fighter flows to and from terrorist safe havens abroad. The<br>reports must include, with respect to each terrorist safe haven, the total number of: (1)<br>foreign fighters who have traveled or are suspected of having traveled to the terrorist<br>safe haven since 2011, including their countries of origin; (..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2029) making<br>appropriations for military construction, the Department of Veterans Affairs, and related<br>agencies for the fiscal year ending September 30, 2016, and for other purposes; providing<br>for proceedings during the period from December 19, 2015, through January 4, 2016; and for<br>other purposes.","HRES566","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2029)<br>making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2016, and for other purposes;<br>providing for proceedings during the period from December 19, 2015, through January 4,<br>2016."],["Providing for consideration of the Senate amendment to the bill (H.R. 3762) to provide for<br>reconciliation pursuant to section 2002 of the concurrent resolution on the budget for<br>fiscal year 2016.","HRES579","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3762) to<br>provide for reconciliation pursuant to section 2002 of the concurrent resolution on the<br>budget for fiscal year 2016. Amends H.Res.5 to allow the chair of the following<br>committees, for the remainder of the 114th Congress and upon consultation with the ranking<br>minority member, to order the taking of depositions by a member or counsel of such<br>committee:  Energy and Commerce; Financial Services; Science, Spac..."],["Providing for consideration of the bill (H.R. 712) to impose certain limitations on<br>consent decrees and settlement agreements by agencies that require the agencies to take<br>regulatory action in accordance with the terms thereof, and for other purposes, and<br>providing for consideration of the bill (H.R. 1155) to provide for the establishment of a<br>process for the review of rules and sets of rules, and for other purposes.","HRES580","Sets forth the rule for consideration of the bill (H.R. 712) to impose certain limitations<br>on consent decrees and settlement agreements by agencies that require the agencies to take<br>regulatory action in accordance with the terms thereof, and for other purposes, and<br>providing for consideration of the bill (H.R. 1155) to provide for the establishment of a<br>process for the review of rules and sets of rules."],["To impose certain limitations on consent decrees and settlement agreements by agencies<br>that require the agencies to take regulatory action in accordance with the terms thereof,<br>and for other purposes.","HR712","Sunshine for Regulations and Regulatory Decrees and Settlements Act of 2016 TITLE I--<br>SUNSHINE FOR REGULATORY DECREES AND SETTLEMENTS Sunshine for Regulations and Regulatory<br>Decrees and Settlements Act of 2016 (Sec. 102) This Act defines: (1) \"covered civil<br>action\" as a civil action seeking to compel agency action and alleging that an agency is<br>unlawfully withholding or unreasonably delaying an agency action relating to a regulatory<br>action that would affect the rights of private persons other ..."],["To provide for the establishment of a process for the review of rules and sets of rules,<br>and for other purposes.","HR1155","Searching for and Cutting Regulations that are Unnecessarily Burdensome Act of 2016 or the<br>SCRUB Act of 2016 TITLE I--RETROSPECTIVE REGULATORY REVIEW COMMISSION  (Sec. 101) This<br>bill establishes the Retrospective Regulatory Review Commission to conduct a review of the<br>Code of Federal Regulations to identify rules and sets of rules that collectively<br>implement a regulatory program that should be repealed to lower the cost of regulation.<br>The Commission shall give priority to the review of rules ..."],["Providing for consideration of the bill (H.R. 1927) to amend title 28, United States Code,<br>to improve fairness in class action litigation.","HRES581","Sets forth the rule for consideration of the bill (H.R. 1927) to amend title 28, United<br>States Code, to improve fairness in class action litigation."],["To amend title 28, United States Code, to improve fairness in class action litigation.","HR1927","Fairness in Class Action Litigation and Furthering Asbestos Claim Transparency Act of 2016<br>(Sec. 2) This bill amends the federal judicial code to prohibit federal courts from<br>certifying any proposed class seeking monetary relief for personal injury or economic loss<br>unless the party seeking to maintain such a class action affirmatively demonstrates that<br>each proposed class member suffered an injury of the same type and scope as the injury of<br>the named class representatives.  A court's certific..."],["To provide taxpayers with an annual report disclosing the cost and performance of<br>Government programs and areas of duplication among them, and for other purposes.","HR598","Taxpayers Right-To-Know Act (Sec. 2) This bill requires that the website of the Office of<br>Management and Budget (OMB) include a program inventory that identifies each program of<br>the federal government for which there is more than $1 million in annual budget authority.<br>Such inventory shall include: (1) any activity that is commonly referred to as a program<br>by a federal agency, and (2) any activity that is referenced in law as a program after<br>June 30, 2019.  For programs identified in such inve..."],["Providing for consideration of bill (H.R. 1644) to amend the Surface Mining Control and<br>Reclamation Act of 1977 to ensure transparency in the development of environmental<br>regulations, and for other purposes; providing for consideration of the joint resolution<br>(S.J. Res. 22) providing for congressional disapproval under chapter 8 of title 5, United<br>States Code, of the rule submitted by the Corps of Engineers and the Environmental<br>Protection Agency relating to the definition of \"waters of the United States\" under the<br>Federal Water Pollution Control Act; providing for consideration of the bill (H.R. 3662)<br>to enhance congressional oversight over the administration of sanctions against certain<br>Iranian terrorism financiers, and for other purposes; and providing for proceedings during<br>the period from January 14, 2016, through January 22, 2016.","HRES583","Sets forth the rule for consideration of the bill (H.R. 1644) to amend the Surface Mining<br>Control and Reclamation Act of 1977 to ensure transparency in the development of<br>environmental regulations; of the joint resolution (S.J. Res. 22) disapproving the Corps<br>of Engineers and the Environmental Protection Agency rule on \"waters of the United<br>States\"; of the bill (H.R. 3662) to enhance congressional oversight over the<br>administration of sanctions against certain Iranian terrorism financiers; and..."],["To amend the Surface Mining Control and Reclamation Act of 1977 to ensure transparency in<br>the development of environmental regulations, and for other purposes.","HR1644","Supporting Transparent Regulatory and Environmental Actions in Mining Act or the STREAM<br>Act (Sec. 2) This bill amends the Surface Mining Control and Reclamation Act of 1977 to<br>direct the Department of the Interior to make publicly available online and in the Federal<br>Register, 90 days before publication, any draft, proposed, supplemental, final, or<br>emergency rule, or any environmental analysis, economic assessment, policy, or guidance,<br>and each scientific product upon which Interior has relied..."],["To improve the enforcement of sanctions against the Government of North Korea, and for<br>other purposes.","HR757","North Korea Sanctions and Policy Enhancement Act of 2016  TITLE I--INVESTIGATIONS,<br>PROHIBITED CONDUCT, AND PENALTIES (Sec. 102) This bill requires the President to<br>investigate any credible information of sanctionable activities by a person (individual or<br>entity) involving North Korea. (Sec. 103) The President shall periodically brief Congress<br>on efforts to implement this Act.   The Department of State shall report on U.S. policy<br>towards North Korea that: (1) is based on a complete interagency..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Corps of Engineers and the Environmental<br>Protection Agency relating to the definition of \"waters of the United States\" under the<br>Federal Water Pollution Control Act.","SJRES22","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule submitted by the U.S. Army Corps<br>of Engineers and the Environmental Protection Agency relating to the definition of \"waters<br>of the United States\" under the Clean Water Act and published on June 29, 2015."],["To direct the Securities and Exchange Commission to revise its regulations regarding the<br>qualifications of natural persons as accredited investors.","HR2187","Fair Investment Opportunities for Professional Experts Act (Sec. 2) This bill amends the<br>Securities Act of 1933 to add to the definition of accredited investor any natural person<br>whose individual net worth, or joint net worth with his or her spouse, exceeds $1 million<br>(adjusted every five years for inflation). The person's net worth shall exclude:   the<br>person's primary residence; and  as a liability any indebtedness secured by the primary<br>residence, up to the estimated fair market value of t..."],["To amend the Small Business Investment Incentive Act of 1980 to require an annual review<br>by the Securities and Exchange Commission of the annual government-business forum on<br>capital formation that is held pursuant to such Act.","HR4168","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Small Business Capital Formation Enhancement Act<br>(Sec. 2) This bill amends the Small Business Investment Incentive Act of 1980 with respect<br>to the annual government-business forum of the Securities and Exchange Commission (SEC) to<br>review the current status of problems and programs relating to small business capital<br>formation. The SEC shall review each of the forum..."],["Providing for consideration of the bill (H.R. 3700) to provide housing opportunities in<br>the United States through modernization of various housing programs, and for other<br>purposes.","HRES594","Sets forth the rule for consideration of the bill (H.R. 3700) to provide housing<br>opportunities in the United States through modernization of various housing programs."],["To provide housing opportunities in the United States through modernization of various<br>housing programs, and for other purposes.","HR3700","(This measure has not been amended since it was passed by the House on February 2, 2016.<br>The summary of that version is repeated here.) Housing Opportunity Through Modernization<br>Act of 2016  This bill amends the United States Housing Act of 1937 and other housing laws<br>to modify the Department of Housing and Urban Development's (HUD's) rental assistance<br>(including section 8 low-income [voucher]) and public housing programs, the Federal<br>Housing Administration's (FHA's) requirements for condomin..."],["To enhance congressional oversight over the administration of sanctions against certain<br>Iranian terrorism financiers, and for other purposes.","HR3662","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Iran Terror Finance Transparency Act (Sec. 2)<br>This bill prohibits the President from removing certain foreign financial institutions,<br>including an Iranian financial institution, from the list of designated nationals and<br>blocked persons maintained by the Department of the Treasury's Office of Foreign Asset<br>Control until the President makes two certifications to Cong..."],["Providing for consideration of the bill (H.R. 1675) to direct the Securities and Exchange<br>Commission to revise its rules so as to increase the threshold amount for requiring<br>issuers to provide certain disclosures relating to compensatory benefit plans, and<br>providing for consideration of the bill (H.R. 766) to provide requirements for the<br>appropriate Federal banking agencies when requesting or ordering a depository institution<br>to terminate a specific customer account, to provide for additional requirements related<br>to subpoenas issued under the Financial Institutions Reform, Recovery, and Enforcement Act<br>of 1989, and for other purposes.","HRES595","Sets forth the rule for consideration of the bill (H.R. 1675) to direct the Securities and<br>Exchange Commission to revise its rules so as to increase the threshold amount for<br>requiring issuers to provide certain disclosures relating to compensatory benefit plans,<br>and providing for consideration of the bill (H.R. 766) to provide requirements for the<br>appropriate Federal banking agencies when requesting or ordering a depository institution<br>to terminate a specific customer account, to provide for ..."],["To direct the Securities and Exchange Commission to revise its rules so as to increase the<br>threshold amount for requiring issuers to provide certain disclosures relating to<br>compensatory benefit plans.","HR1675","Capital Markets Improvement Act of 2016 TITLE I--ENCOURAGING EMPLOYEE OWNERSHIP (Sec. 101)<br>This bill directs the Securities and Exchange Commission (SEC) to revise regulations to<br>require an issuer to furnish investors with additional specified disclosures regarding<br>compensatory benefit plans if the aggregate sales price or amount of securities sold<br>during any consecutive 12-month period exceeds $10 million (currently $5 million), indexed<br>for inflation every five years.  TITLE II--FAIR ACCESS ..."],["To provide requirements for the appropriate Federal banking agencies when requesting or<br>ordering a depository institution to terminate a specific customer account, to provide for<br>additional requirements related to subpoenas issued under the Financial Institutions<br>Reform, Recovery, and Enforcement Act of 1989, and for other purposes.","HR766","Financial Institution Customer Protection Act of 2016  (Sec. 2) This bill prohibits a<br>federal banking agency from formally or informally suggesting, requesting, or ordering a<br>depository institution to terminate either a specific customer account, or group of<br>customer accounts, or otherwise restrict or discourage it from entering into or<br>maintaining a banking relationship with a specific customer or group of customers, unless:<br>(1) the agency has a material reason to do so, and (2) the reason i..."],["To designate the National September 11 Memorial located at the World Trade Center site in<br>New York City, New York, as a national memorial, and for other purposes.","HR3036","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) National 9/11 Memorial at the World Trade Center<br>Act  (Sec. 3) This bill designates the National September 11 Memorial located at the World<br>Trade Center in New York City, New York, as a national memorial.  This memorial shall not<br>be a unit of the National Park System.  (Sec. 4) The Department of the Interior may award<br>a single grant per year through a competitive ..."],["Providing for consideration of the bill (H.R. 3442) to provide further means of<br>accountability of the United States debt and promote fiscal responsibility, and providing<br>for consideration of the bill (H.R. 3293) to provide for greater accountability in Federal<br>funding for scientific research, to promote the progress of science in the United States<br>that serves that national interest.","HRES609","Sets forth the rule for consideration of the bill (H.R. 3442) to provide further means of<br>accountability of the United States debt and promote fiscal responsibility, and providing<br>for consideration of the bill (H.R. 3293) to provide for greater accountability in Federal<br>funding for scientific research, to promote the progress of science in the United States<br>that serves that national interest."],["To provide for greater accountability in Federal funding for scientific research, to<br>promote the progress of science in the United States that serves that national interest.","HR3293","Scientific Research in the National Interest Act  (Sec. 2) This bill directs the National<br>Science Foundation (NSF) to award federal funding for basic research and education in the<br>sciences through a new research grant or cooperative agreement only if it makes an<br>affirmative determination, justified in writing, that the grant or agreement promotes the<br>progress of science in the United States, is worthy of federal funding, and meets certain<br>other criteria.  The bill declares that such a determi..."],["To provide further means of accountability of the United States debt and promote fiscal<br>responsibility.","HR3442","Debt Management and Fiscal Responsibility Act of 2015  (Sec. 2) This bill requires the<br>Secretary of the Treasury to provide a report to Congress prior to any date on which the<br>Secretary anticipates the public debt will reach the statutory limit.  The Secretary must<br>appear before the House Ways and Means Committee and the Senate Finance Committee to<br>submit a report including:   historic, current, and projected levels of debt; historic<br>levels of revenue;  the drivers and composition of future d..."],["Providing for consideration of the bill (H.R. 2017) to amend the Federal Food, Drug, and<br>Cosmetic Act to improve and clarify certain disclosure requirements for restaurants and<br>similar retail food establishments, and to amend the authority to bring proceedings under<br>section 403A, and providing for proceedings during the period from February 15, 2016,<br>through February 22, 2016.","HRES611","Sets forth the rule for consideration of the bill (H.R. 2017) to amend the Federal Food,<br>Drug, and Cosmetic Act to improve and clarify certain disclosure requirements for<br>restaurants and similar retail food establishments, and to amend the authority to bring<br>proceedings under section 403A, and providing for proceedings during the period from<br>February 15, 2016, through February 22, 2016."],["To amend the Federal Food, Drug, and Cosmetic Act to improve and clarify certain<br>disclosure requirements for restaurants and similar retail food establishments, and to<br>amend the authority to bring proceedings under section 403A.","HR2017","Common Sense Nutrition Disclosure Act of 2015 (Sec. 2) This bill amends the Federal Food,<br>Drug, and Cosmetic Act to revise the nutritional information that chain restaurants and<br>retail food establishments must disclose. The nutrient content disclosure statement on the<br>menu or menu board must include: (1) the number of calories contained in the whole menu<br>item; (2) the number of servings and number of calories per serving; or (3) the number of<br>calories per common unit of the item, such as for ..."],["To require the development of a national strategy to combat terrorist travel, and for<br>other purposes.","HR4408","National Strategy to Combat Terrorist Travel Act of 2016 (Sec. 2) This bill requires the<br>President to transmit to Congress a national strategy to combat terrorist travel. Such<br>strategy shall address efforts to intercept terrorists and foreign fighters and constrain<br>domestic and international travel by such persons.   The President shall direct: (1) the<br>Department of Homeland Security (DHS) to develop the initial national strategy, an updated<br>strategy (to be submitted within 180 after the comm..."],["To require a review of information regarding persons who have traveled or attempted to<br>travel from the United States to support terrorist organizations in Syria and Iraq, and<br>for other purposes.","HR4402","Foreign Fighter Review Act of 2016  (Sec. 2) This bill directs the President, through the<br>Department of Homeland Security (DHS), to initiate a review of known instances since 2011<br>in which a person has traveled or attempted to travel to a conflict zone in Iraq or Syria<br>from the United States to join or provide material support or resources to a terrorist<br>organization.   Such review shall:    include relevant information held by the U.S.<br>government related to each instance;   ascertain factors..."],["Providing for consideration of the bill (H.R. 3624) to amend title 28, United States Code,<br>to prevent fraudulent joinder.","HRES618","Sets forth the rule for consideration of the bill (H.R. 3624) to amend title 28, United<br>States Code, to prevent fraudulent joinder."],["To amend title 28, United States Code, to prevent fraudulent joinder.","HR3624","Fraudulent Joinder Prevention Act of 2016 (Sec. 2) This bill amends procedures under which<br>federal courts determine whether a case that was removed from a state court to a federal<br>court on the basis of a diversity of citizenship among the parties may be remanded back to<br>state court upon a motion opposed on fraudulent joinder grounds that: (1) one or more<br>defendants are citizens of the same state as one or more plaintiffs, or (2) one or more<br>defendants properly joined and served are citizens o..."],["Providing for consideration of the bill (H.R. 2406) to protect and enhance opportunities<br>for recreational hunting, fishing, and shooting, and for other purposes.","HRES619","Sets forth the rule for consideration of the bill (H.R. 2406) to protect and enhance<br>opportunities for recreational hunting, fishing, and shooting."],["To protect and enhance opportunities for recreational hunting, fishing, and shooting, and<br>for other purposes.","HR2406","Sportsmen's Heritage and Recreational Enhancement Act or the SHARE Act This bill revises a<br>variety of existing programs to expand access to, and opportunities for, hunting, fishing,<br>and recreational shooting. TITLE I--HUNTING, FISHING AND RECREATIONAL SHOOTING PROTECTION<br>ACT Hunting, Fishing, and Recreational Shooting Protection Act (Sec. 102) Components of<br>firearms and ammunition and sport fishing equipment and its components (such as lead<br>sinkers) are exempted from regulation of chemical su..."],["To designate the facility of the United States Postal Service located at 1103 USPS<br>Building 1103 in Camp Pendleton, California, as the \"Camp Pendleton Medal of Honor Post<br>Office\".","HR136","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Designates the facility of the United States Postal Service located at<br>1103 USPS Building 1103 in Camp Pendleton, California, as the \"Camp Pendleton Medal of<br>Honor Post Office.\""],["To amend title XIX of the Social Security Act to require States to provide to the<br>Secretary of Health and Human Services certain information with respect to provider<br>terminations, and for other purposes.","HR3716","Ensuring Access to Quality Medicaid Providers Act (Sec. 2) This bill amends titles XIX<br>(Medicaid) and XXI (Children's Health Insurance Program [CHIP]) of the Social Security Act<br>to prohibit federal payment under Medicaid for nonemergency services furnished by<br>providers whose participation in Medicaid, Medicare, or CHIP has been terminated. Under<br>current law, a state must exclude from Medicaid participation any provider that has been<br>terminated under any state's Medicaid program or under Medic..."],["Providing for consideration of the bill (H.R. 4557) to allow for judicial review of any<br>final rule addressing national emission standards for hazardous air pollutants for brick<br>and structural clay products or for clay ceramics manufacturing before requiring<br>compliance with such rule, and providing for proceedings during the period from March 4,<br>2016, through March 11, 2016.","HRES635","Sets forth the rule for consideration of the bill (H.R. 4557) to allow for judicial review<br>of any final rule addressing national emission standards for hazardous air pollutants for<br>brick and structural clay products or for clay ceramics manufacturing before requiring<br>compliance with such rule, and providing for proceedings during the period from March 4,<br>2016, through March 11, 2016."],["A bill to designate the facility of the United States Postal Service located at 99 West<br>2nd Street in Fond du Lac, Wisconsin, as the Lieutenant Colonel James \"Maggie\" Megellas<br>Post Office.","S1826","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.)  Designates the facility of the United States Postal Service located at 99<br>West 2nd Street in Fond du Lac, Wisconsin, as the Lieutenant Colonel James \"Maggie\"<br>Megellas Post Office."],["To allow for judicial review of any final rule addressing national emission standards for<br>hazardous air pollutants for brick and structural clay products or for clay ceramics<br>manufacturing before requiring compliance with such rule.","HR4557","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Blocking Regulatory Interference from Closing Kilns Act of 2016 (Sec. 2)<br>This bill prohibits the Environmental Protection Agency from requiring compliance with<br>Clean Air Act rules concerning national emission standards for hazardous air pollutants<br>with respect to brick and structural clay products manufacturing or clay ceramics<br>manufacturing until judicial reviews of the rules are complete."],["A bill to direct the Secretary of State to develop a strategy to obtain observer status<br>for Taiwan in the International Criminal Police Organization, and for other purposes.","S2426","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) (Sec. 1) This bill directs the Department of<br>State to: (1) develop a strategy to obtain observer status for Taiwan in the International<br>Criminal Police Organization (INTERPOL) and at other related activities, meetings, and<br>mechanisms; and (2) instruct INTERPOL Washington to request observer status for Taiwan in<br>INTERPOL and urge INTERPOL members to support Taiwan'..."],["Expressing the sense of Congress that those who commit or support atrocities against<br>Christians and other ethnic and religious minorities, including Yezidis, Turkmen, Sabea-<br>Mandeans, Kaka'e, and Kurds, and who target them specifically for ethnic or religious<br>reasons, are committing, and are hereby declared to be committing, \"war crimes\", \"crimes<br>against humanity\", and \"genocide\".","HCONRES75","Declares that:   the atrocities perpetrated by the Islamic State of Iraq and the Levant<br>(ISIL) against Christians, Yezidis, and other religious and ethnic minorities in Iraq and<br>Syria constitute war crimes, crimes against humanity, and genocide;  all governments,<br>including the United States, and international organizations, including the United Nations<br>(U.N.), should call ISIL atrocities war crimes, crimes against humanity, and genocide;<br>U.N. member states should coordinate on measures to pr..."],["Expressing the sense of the Congress condemning the gross violations of international law<br>amounting to war crimes and crimes against humanity by the Government of Syria, its<br>allies, and other parties to the conflict in Syria, and asking the President to direct his<br>Ambassador at the United Nations to promote the establishment of a war crimes tribunal<br>where these crimes could be addressed.","HCONRES121","Condemns the use of unlawful violence against civilian populations by the government of<br>Syria, its allies, and other parties to the conflict, and urges the United States and its<br>partners to work toward the cessation of such attacks.  Urges the Administration to<br>establish additional mechanisms for the protection of civilians and to ensure access to<br>humanitarian aid for vulnerable populations.  Urges the United States to support efforts<br>to collect and analyze documentation related to ongoing vi..."],["Providing for consideration of the bill (H.R. 4596) to ensure that small business<br>providers of broadband Internet access service can devote resources to broadband<br>deployment rather than compliance with cumbersome regulatory requirements, and providing<br>for consideration of the bill (H.R. 3797) to establish the bases by which the<br>Administrator of the Environmental Protection Agency shall issue, implement, and enforce<br>certain emission limitations and allocations for existing electric utility steam<br>generating units that convert coal refuse into energy.","HRES640","Sets forth the rule for consideration of the bill (H.R. 4596) to ensure that small<br>business providers of broadband Internet access service can devote resources to broadband<br>deployment rather than compliance with cumbersome regulatory requirements, and providing<br>for consideration of the bill (H.R. 3797) to establish the bases by which the<br>Administrator of the Environmental Protection Agency shall issue, implement, and enforce<br>certain emission limitations and allocations for existing electric u..."],["To extend the deadline for commencement of construction of a hydroelectric project<br>involving the Gibson Dam.","HR2081","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill authorizes the Federal Energy<br>Regulatory Commission to extend by six years the time period during which Gibson Dam<br>Hydroelectric Company is required to commence construction on the Gibson Dam Hydroelectric<br>Project located on the Sun River in Lewis, Clark, and Teton Counties, Montana. The six-<br>year time period starts upon expiration of the last ex..."],["To extend the deadline for commencement of construction of a hydroelectric project.","HR3447","(Sec. 1) This bill authorizes the Federal Energy Regulatory Commission (FERC) to extend by<br>six years the time period during which Wilkesboro Hydroelectric Company is required to<br>commence construction on the W. Kerr Scott Hydropower Project located on the Yadkin River<br>in Wilkes County, North Carolina. In addition, FERC must reinstate the construction<br>license if it is expired."],["To establish the bases by which the Administrator of the Environmental Protection Agency<br>shall issue, implement, and enforce certain emission limitations and allocations for<br>existing electric utility steam generating units that convert coal refuse into energy.","HR3797","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Satisfying Energy Needs and Saving the<br>Environment Act or the SENSE Act (Sec. 2) This bill modifies the Cross-State Air Pollution<br>Rule as it applies to certain electric utility steam generating units (electric power<br>plants) that convert coal refuse into energy. The Environmental Protection Agency (EPA)<br>must maintain the existing limits for sulfur dioxide emissions..."],["To ensure that small business providers of broadband Internet access service can devote<br>resources to broadband deployment rather than compliance with cumbersome regulatory<br>requirements.","HR4596","(This measure has not been amended since it was reported to the House on March 7, 2016.<br>The summary of that version is repeated here.) Small Business Broadband Deployment Act<br>(Sec. 2) This bill exempts for five years any small business broadband Internet access<br>service provider with no more than 250,000 subscribers from the enhancements to the<br>transparency rule of the Federal Communications Commission (FCC) under which any person<br>engaged in the provision of broadband Internet access service m..."],["To extend the deadline for commencement of construction of a hydroelectric project.","HR4416","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill authorizes the Federal Energy<br>Regulatory Commission (FERC) to extend by six years the time period during which Fairlawn<br>Hydroelectric Company is required to commence construction on the Jennings Randolph<br>Hydroelectric Project located on the North Branch of the Potomac River in Garrett County,<br>Maryland, and Mineral County, West Virginia. In addit..."],["To extend the deadline for commencement of construction of a hydroelectric project.","HR4434","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill authorizes the Federal Energy<br>Regulatory Commission (FERC), upon the request of the licensee for FERC project numbered<br>13287 (Cannonsville Hydroelectric Project, New York), to extend the time period during<br>which the licensee is required to commence the construction of the project for up to four<br>consecutive two-year periods from the date of the e..."],["Providing for consideration of the resolution (H. Res. 639) authorizing the Speaker to<br>appear as amicus curiae on behalf of the House of Representatives in the matter of United<br>States, et al. v. Texas, et al., No. 15-674.","HRES649","Sets forth the rule for consideration of the resolution (H. Res. 639) authorizing the<br>Speaker to appear as amicus curiae on behalf of the House of Representatives in the matter<br>of United States, et al. v. Texas, et al., No. 15-674."],["Authorizing the Speaker to appear as amicus curiae on behalf of the House of<br>Representatives in the matter of United States, et al. v. Texas, et al., No. 15-674.","HRES639","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Authorizes the Speaker to appear as amicus curiae on behalf of the House<br>of Representatives in the Supreme Court in the matter of United States, et al. v. Texas,<br>et al., No. 15-674, and to file a brief in support of the position that the petitioners<br>have acted in a manner that is not consistent with their duties under the Constitution and<br>laws of the United States. Requires the House Off..."],["To require a plan to combat international travel by terrorists and foreign fighters,<br>accelerate the transfer of certain border security systems to foreign partner governments,<br>establish minimum international border security standards, authorize the suspension of<br>foreign assistance to countries not making significant efforts to comply with such minimum<br>standards, and for other purposes.","HR4314","Counterterrorism Screening and Assistance Act of 2016 (Sec. 2) This bill expresses the<br>sense of Congress that: (1) the U.S. government must ensure that capacity-building<br>assistance to combat terrorist travel is coordinated among departments and agencies as<br>well as with foreign implementing partners, and (2) such assistance should be prioritized<br>for the highest-risk countries for travel by terrorists and foreign fighters.  The<br>Department of State shall submit to Congress biennially a foreign p..."],["Providing for consideration of the bill (H.R. 2745) to amend the Clayton Act and the<br>Federal Trade Commission Act to provide that the Federal Trade Commission shall exercise<br>authority with respect to mergers only under the Clayton Act and only in the same<br>procedural manner as the Attorney General exercises such authority, and providing for<br>proceedings during the period from March 24, 2016, through April 11, 2016.","HRES653","Sets forth the rule for consideration of the bill (H.R. 2745) to amend the Clayton Act and<br>the Federal Trade Commission Act to provide that the Federal Trade Commission shall<br>exercise authority with respect to mergers only under the Clayton Act and only in the same<br>procedural manner as the Attorney General exercises such authority, and providing for<br>proceedings during the period from March 24, 2016, through April 11, 2016."],["To inspire women to enter the aerospace field, including science, technology, engineering,<br>and mathematics, through mentorship and outreach.","HR4755","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Inspiring the Next Space Pioneers, Innovators,<br>Researchers, and Explorers (INSPIRE) Women Act (Sec. 3) This bill directs the National<br>Aeronautics and Space Administration (NASA) to encourage women and girls to study science,<br>technology, engineering, and mathematics (STEM), pursue careers in aerospace, and further<br>advance the nation's space science and exploration eff..."],["To amend title 38, United States Code, to provide for the burial of the cremated remains<br>of persons who served as Women's Air Forces Service Pilots in Arlington National Cemetery.","HR4336","(This measure has not been amended since it was passed by the Senate on May 10, 2016. The<br>summary of that version is repeated here.) (Sec. 1) This bill directs the Department of<br>the Army to ensure that the cremated remains of persons whose service has been determined<br>to be active duty service pursuant to the GI Bill Improvement Act of 1977 are eligible for<br>above ground inurnment in Arlington National Cemetery with full military honors.   Such<br>provision shall apply with respect to: (1) the rem..."],["To amend the Clayton Act and the Federal Trade Commission Act to provide that the Federal<br>Trade Commission shall exercise authority with respect to mergers only under the Clayton<br>Act and only in the same procedural manner as the Attorney General exercises such<br>authority.","HR2745","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Standard Merger and Acquisition Reviews Through<br>Equal Rules Act of 2015 (Sec. 2) This bill amends the Clayton Act with respect to notice<br>to a state by the Department of Justice (DOJ) about federal actions brought for violations<br>of antitrust laws. Currently DOJ must:  notify a state attorney general about an antitrust<br>action regarding which DOJ has reason to believe..."],["Condemning in the strongest terms the terrorist attacks in Brussels on March 22, 2016,<br>which murdered more than 30 innocent people, and severely wounded many more.","HRES658","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Condemns the terrorist attacks in Brussels on March 22, 2016, which<br>murdered more than 30 innocent people and severely wounded many more.  Expresses sympathy<br>and condolences for those killed and injured in the attacks and for their families and<br>friends.  Pledges support for the government of Belgium in its efforts to bring to justice<br>those involved with the planning and execution of the ..."],["To authorize a comprehensive, strategic approach for United States foreign assistance to<br>developing countries to reduce global poverty and hunger, achieve food security and<br>improved nutrition, promote inclusive, sustainable agricultural-led economic growth,<br>improve nutritional outcomes, especially for women and children, build resilience among<br>vulnerable populations, and for other purposes.","HR1567","Global Food Security Act of 2016  This bill requires the President to develop and<br>implement a Global Food Security Strategy to promote global food security, resilience, and<br>nutrition.  (Sec. 2) This section specifies that it is in the U.S. national security<br>interest to promote global food security, resilience, and nutrition, consistent with<br>national food security investment plans through programs and activities that:   accelerate<br>inclusive, agricultural-led economic growth that reduces global..."],["To amend title 18, United States Code, to provide an additional tool to prevent certain<br>frauds against veterans, and for other purposes.","HR4676","Preventing Crimes Against Veterans Act of 2016 (Sec. 2) This bill amends the federal<br>criminal code to declare that any person who knowingly engages in any scheme or artifice<br>to defraud an individual of veterans' benefits, or in connection with obtaining veteran's<br>benefits for that individual, shall be fined, imprisoned not more than five years, or<br>both.  \"Veterans' benefits\" means any benefit provided by federal law for a veteran or a<br>dependent or survivor of a veteran."],["Providing for consideration of the bill (H.R. 2666) to prohibit the Federal Communications<br>Commission from regulating the rates charged for broadband Internet access service.","HRES672","Sets forth the rule for consideration of the bill (H.R. 2666) to prohibit the Federal<br>Communications Commission from regulating the rates charged for broadband Internet access<br>service."],["Providing for consideration of the bill (H.R. 3340) to place the Financial Stability<br>Oversight Council and the Office of Financial Research under the regular appropriations<br>process, to provide for certain quarterly reporting and public notice and comment<br>requirements for the Office of Financial Research, and for other purposes, and providing<br>for consideration of the bill (H.R. 3791) to raise the consolidated assets threshold under<br>the small bank holding company policy statement, and for other purposes.","HRES671","Sets forth the rule for consideration of the bill (H.R. 3340) to place the Financial<br>Stability Oversight Council and the Office of Financial Research under the regular<br>appropriations process, to provide for certain quarterly reporting and public notice and<br>comment requirements for the Office of Financial Research, and for other purposes, and<br>providing for consideration of the bill (H.R. 3791) to raise the consolidated assets<br>threshold under the small bank holding company policy statement."],["To place the Financial Stability Oversight Council and the Office of Financial Research<br>under the regular appropriations process, to provide for certain quarterly reporting and<br>public notice and comment requirements for the Office of Financial Research, and for other<br>purposes.","HR3340","Financial Stability Oversight Council Reform Act  This bill amends the Financial Stability<br>Act of 2010 to make the budgets of the Financial Stability Oversight Council (FSOC) and<br>the Office of Financial Research (OFR) subject to the annual appropriations process and to<br>establish requirements for reports and a public notice and comment period.  (Sec. 2) The<br>budgets of the FSOC and the OFR are funded by assessments on financial institutions which<br>are deposited into the Financial Research Fund a..."],["To raise the consolidated assets threshold under the small bank holding company policy<br>statement, and for other purposes.","HR3791","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) (Sec. 1) This bill directs the Federal Reserve<br>Board to revise the Small Bank Holding Company Policy Statement on the Assessment of<br>Financial and Managerial Factors to raise its consolidated asset threshold from $1 billion<br>to $5 billion. The bill exempts from the leverage and risk-based capital requirements of<br>the Dodd-Frank Wall Street Reform and Consumer Protecti..."],["To prohibit the Federal Communications Commission from regulating the rates charged for<br>broadband Internet access service.","HR2666","(This measure has not been amended since it was reported to the House on March 30, 2016.<br>The summary of that version is repeated here.) No Rate Regulation of Broadband Internet<br>Access Act (Sec. 2) This bill prohibits the Federal Communications Commission (FCC) from<br>regulating the rates charged for broadband Internet access service. (Sec. 3) Nothing in<br>this Act shall be construed to affect the FCC's authority to: (1) condition receipt of<br>universal service support by a provider of broadband Int..."],["Providing for consideration of the bill (H.R. 4890) to impose a ban on the payment of<br>bonuses to employees of the Internal Revenue Service until the Secretary of the Treasury<br>develops and implements a comprehensive customer service strategy, and providing for<br>consideration of the bill (H.R. 3724) to amend the Internal Revenue Code of 1986 to<br>prohibit the Commissioner of the Internal Revenue Service from rehiring any employee of<br>the Internal Revenue Service who was involuntarily separated from service for misconduct.","HRES688","Sets forth the rule for consideration of the bill (H.R. 4890) to impose a ban on the<br>payment of bonuses to employees of the Internal Revenue Service until the Secretary of the<br>Treasury develops and implements a comprehensive customer service strategy, and providing<br>for consideration of the bill (H.R. 3724) to amend the Internal Revenue Code of 1986 to<br>prohibit the Commissioner of the Internal Revenue Service from rehiring any employee of<br>the Internal Revenue Service who was involuntarily sepa..."],["Providing for consideration of the bill (H.R. 1206) to prohibit the hiring of additional<br>Internal Revenue Service employees until the Secretary of the Treasury certifies that no<br>employee of the Internal Revenue Service has a seriously delinquent tax debt, and<br>providing for consideration of the bill (H.R. 4885) to require that user fees collected by<br>the Internal Revenue Service be deposited into the general fund of the Treasury.","HRES687","Sets forth the rule for consideration of the bill (H.R. 1206) to prohibit the hiring of<br>additional Internal Revenue Service employees until the Secretary of the Treasury<br>certifies that no employee of the Internal Revenue Service has a seriously delinquent tax<br>debt, and providing for consideration of the bill (H.R. 4885) to require that user fees<br>collected by the Internal Revenue Service be deposited into the general fund of the<br>Treasury."],["To prohibit the hiring of additional Internal Revenue Service employees until the<br>Secretary of the Treasury certifies that no employee of the Internal Revenue Service has a<br>seriously delinquent tax debt.","HR1206","(This measure has not been amended since it was reported to the House on April 18, 2016.<br>The summary of that version is repeated here.) No Hires for the Delinquent IRS Act  (Sec.<br>2) This bill prohibits any federal officer or employee from hiring any Internal Revenue<br>Service (IRS) employees until the IRS submits to Congress either: (1) a written<br>certification that the IRS does not employ any individual who has a seriously delinquent<br>tax debt, or (2) a report detailing why the certification can..."],["To require that user fees collected by the Internal Revenue Service be deposited into the<br>general fund of the Treasury.","HR4885","(This measure has not been amended since it was reported to the House on April 18, 2016.<br>The summary of that version is repeated here.) IRS Oversight While Eliminating Spending<br>(OWES) Act of 2016 (Sec. 2) This bill requires the Internal Revenue Service to deposit<br>fees for services in the general fund of the Treasury and prohibits the expenditure of<br>such fees unless an appropriations Act provides for such expenditure."],["To impose a ban on the payment of bonuses to employees of the Internal Revenue Service<br>until the Secretary of the Treasury develops and implements a comprehensive customer<br>service strategy.","HR4890","(Sec. 1) This bill prohibits the Department of the Treasury from paying a bonus, award, or<br>similar cash payment to any Internal Revenue Service (IRS) employee until Treasury<br>develops and submits to Congress a comprehensive customer service strategy that has been<br>reviewed and approved by the Treasury Inspector General for Tax Administration.  The<br>strategy must include: (1) appropriate telephone and correspondence levels of service; (2)<br>a thorough assessment of which services the IRS can shift ..."],["To amend the Internal Revenue Code of 1986 to prohibit the Commissioner of the Internal<br>Revenue Service from rehiring any employee of the Internal Revenue Service who was<br>involuntarily separated from service for misconduct.","HR3724","(This measure has not been amended since it was reported to the House on April 18, 2016.<br>The summary of that version is repeated here.) Ensuring Integrity in the IRS Workforce Act<br>of  2016 (Sec. 2) This bill amends the Internal Revenue Code to prohibit the Internal<br>Revenue Service (IRS)\u00a0from rehiring any individual who was previously employed by the\u00a0IRS<br>but was removed for misconduct or whose\u00a0employment was terminated for cause.  (Sec. 3) No<br>additional funds are authorized to carry out this b..."],["To require the Secretary of Homeland Security to use the testimonials of former or<br>estranged violent extremists or their associates in order to counter terrorist<br>recruitment, and for other purposes.","HR4820","Combating Terrorist Recruitment Act of 2016 (Sec. 2) This bill directs the Department of<br>Homeland Security (DHS) to incorporate the public statements of former violent extremists<br>or their associates into its efforts to combat terrorist recruitment, including efforts to<br>counter-message foreign terrorist organization communications and related community<br>engagement and public education efforts. Additionally, DHS must coordinate with federal<br>agencies and, as appropriate, engage nongovernmental an..."],["To establish a process for the submission and consideration of petitions for temporary<br>duty suspensions and reductions, and for other purposes.","HR4923","(This measure has not been amended since it was reported to the House on April 25, 2016.<br>The summary of that version is repeated here.) American Manufacturing Competitiveness Act<br>of 2016 (Sec. 2) This bill declares the sense of Congress that it should consider a<br>miscellaneous tariff bill. (Sec. 3) The U.S. International Trade Commission shall:<br>conduct a process, meeting specified requirements, for the submission and consideration of<br>petitions for duty suspensions and reductions; and  report ..."],["To amend title 18, United States Code, to update the privacy protections for electronic<br>communications information that is stored by third-party service providers in order to<br>protect consumer privacy interests while meeting law enforcement needs, and for other<br>purposes.","HR699","Email Privacy Act Amends the Electronic Communications Privacy Act of 1986 to prohibit a<br>provider of remote computing service or electronic communication service to the public<br>from knowingly divulging to a governmental entity the contents of any communication that<br>is in electronic storage or otherwise maintained by the provider, subject to exceptions.<br>Revises provisions under which the government may require a provider to disclose the<br>contents of such communications. Eliminates the different ..."],["Providing for consideration of the bill (H.R. 4498) to clarify the definition of general<br>solicitation under Federal securities law.","HRES701","Sets forth the rule for consideration of the bill (H.R. 4498) to clarify the definition of<br>general solicitation under Federal securities law."],["To clarify the definition of general solicitation under Federal securities law.","HR4498","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Helping Angels Lead Our Startups Act or the<br>HALOS Act  (Sec. 3) This bill directs the Securities and Exchange Commission (SEC) to<br>amend Regulation D (governing the limited offer and sale of securities without<br>registration under the Securities Act of 1933) to make the prohibition against general<br>solicitation or general advertising inapplicable to events with specifi..."],["A bill to amend chapter 90 of title 18, United States Code, to provide Federal<br>jurisdiction for the theft of trade secrets, and for other purposes.","S1890","(This measure has not been amended since it was reported to the Senate on January 28,<br>2016. The summary of that version is repeated here.) Defend Trade Secrets Act of 2016<br>(Sec. 2) This bill amends the federal criminal code to create a private civil cause of<br>action for trade secret misappropriation. A trade secret owner may file a civil action in<br>a U.S. district court seeking relief for trade secret misappropriation related to a<br>product or service in interstate or foreign commerce. The bill e..."],["Providing for consideration of the bill (H.R. 4901) to reauthorize the Scholarships for<br>Opportunity and Results Act, and for other purposes; providing for consideration of the<br>joint resolution (H.J. Res. 88) disapproving the rule submitted by the Department of Labor<br>relating to the definition of the term \"Fiduciary\"; and providing for proceedings during<br>the period from May 2, 2016, through May 9, 2016.","HRES706","Sets forth the rule for consideration of the bill (H.R. 4901) to reauthorize the<br>Scholarships for Opportunity and Results Act, and for other purposes; providing for<br>consideration of the joint resolution (H.J. Res. 88) disapproving the rule submitted by<br>the Department of Labor relating to the definition of the term \"Fiduciary\"; and providing<br>for proceedings during the period from May 2, 2016, through May 9, 2016."],["To direct the Securities and Exchange Commission to provide a safe harbor related to<br>certain investment fund research reports, and for other purposes.","HR5019","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Fair Access to Investment Research Act of 2016<br>(Sec. 2) This bill directs the Securities and Exchange Commission (SEC) to revise a<br>specified regulation to create a safe harbor for certain publications or distributions of<br>research reports by brokers or dealers distributing securities. The revised regulation<br>shall declare that a published or distributed investment f..."],["Disapproving the rule submitted by the Department of Labor relating to the definition of<br>the term \"Fiduciary\".","HJRES88","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution disapproves and nullifies a Department of Labor rule<br>published on April 8, 2016, relating to the definition of the term \"fiduciary\" and the<br>conflict of interest rule with respect to retirement investment advice.  (The rule defines<br>who is a fiduciary with respect to pension and retirement plans. Under current law, a<br>person who provides investment advice has a fiducia..."],["To amend the Flood Disaster Protection Act of 1973 to require that certain buildings and<br>personal property be covered by flood insurance, and for other purposes.","HR2901","(This measure has not been amended since it was reported to the House on June 25, 2015.<br>The summary of that version is repeated here.) Flood Insurance Market Parity and<br>Modernization Act (Sec. 2) This bill amends the Flood Disaster Protection Act of 1973 to<br>make technical amendments without substantive change to requirements for flood insurance<br>under either the federal program or private flood insurance. (Under current law, any<br>building, mobile home or personal property that would be financed..."],["To reauthorize the Scholarships for Opportunity and Results Act, and for other purposes.","HR4901","(This measure has not been amended since it was reported to the House on April 25, 2016.<br>The summary of that version is repeated here.) Scholarships for Opportunity and Results<br>Reauthorization Act or the SOAR Reauthorization Act (Sec. 2) This bill repeals the D.C.<br>Opportunity Scholarship Program School Certification Requirements Act, as contained in the<br>Consolidated Appropriations Act, 2016.  (Sec. 3) The Scholarships for Opportunity and<br>Results Act (SOAR) is amended to limit its focus to stu..."],["To direct the Attorney General and the Secretary of Health and Human Services to evaluate<br>the effectiveness of grant programs that provide grants for the primary purpose of<br>providing assistance in addressing problems pertaining to opioid abuse, and for other<br>purposes.","HR5052","Opioid Program Evaluation Act or the OPEN Act (Sec. 2) This bill directs the Department of<br>Justice (DOJ) to enter into an arrangement with the National Academy of Sciences (NAS) to<br>identify outcomes and develop metrics to evaluate: (1) the incidence of opioid abuse and<br>illegal opioid distribution, and (2) the effectiveness of a DOJ grant program to provide<br>opioid abuse services. DOJ must publish outcomes and metrics and require grant recipients<br>to collect and report data. The NAS must publish..."],["Providing for consideration of the bill (H.R. 4641) to provide for the establishment of an<br>inter-agency task force to review, modify, and update best practices for pain management<br>and prescribing pain medication, and for other purposes, and providing for consideration<br>of the bill (H.R. 5046) to amend the Omnibus Crime Control and Safe Streets Act of 1968 to<br>authorize the Attorney General to make grants to assist State and local governments in<br>addressing the national epidemic of opioid abuse, and for other purposes.","HRES720","Sets forth the rule for consideration of the bill (H.R. 4641) to provide for the<br>establishment of an inter-agency task force to review, modify, and update best practices<br>for pain management and prescribing pain medication, and for other purposes, and providing<br>for consideration of the bill (H.R. 5046) to amend the Omnibus Crime Control and Safe<br>Streets Act of 1968 to authorize the Attorney General to make grants to assist State and<br>local governments in addressing the national epidemic of opio..."],["To provide for the establishment of an inter-agency task force to review, modify, and<br>update best practices for pain management and prescribing pain medication, and for other<br>purposes.","HR4641","(Sec. 1) This bill requires the Department of Health and Human Services to convene a Pain<br>Management Best Practices Inter-Agency Task Force to: (1) review, modify, and update best<br>practices for pain management and prescribing pain medication; and (2) examine and<br>identify the need for, development of, and availability of medical alternatives to opioids<br>(drugs with effects similar to opium, such as certain pain medications). The task force<br>must submit a report that includes: (1) the modified an..."],["To amend the Child Abuse Prevention and Treatment Act to require certain monitoring and<br>oversight, and for other purposes.","HR4843","Infant Plan of Safe Care Improvement Act  (Sec. 2) This bill amends the Child Abuse<br>Prevention and Treatment Act to require the Department of Health and Human Services (HHS),<br>through the national clearinghouse for information relating to child abuse, to maintain<br>and disseminate information about the requirements and best practices relating to the<br>development of plans of safe care for infants born affected by illegal substance abuse,<br>withdrawal symptoms, or a Fetal Alcohol Spectrum Disorder. (..."],["To amend the Omnibus Crime Control and Safe Streets Act of 1968 to authorize the Attorney<br>General to make grants to assist State and local governments in addressing the national<br>epidemic of opioid abuse, and for other purposes.","HR5046","Comprehensive Opioid Abuse Reduction Act of 2016 (Sec. 2) This bill amends the Omnibus<br>Crime Control and Safe Streets Act of 1968 to authorize the Department of Justice (DOJ) to<br>award grants to state, local, and tribal governments to provide opioid abuse services,<br>including:   enhancing collaboration between criminal justice and substance abuse<br>agencies; developing, implementing, or expanding programs to prevent, treat, or respond to<br>opioid abuse;   training first responders to administer opi..."],["To amend the Public Health Service Act to provide grants to States to streamline State<br>requirements and procedures for veterans with military emergency medical training to<br>become civilian emergency medical technicians.","HR1818","(This measure has not been amended since it was reported to the House on May 10, 2016. The<br>summary of that version is repeated here.) Veteran Emergency Medical Technician Support<br>Act of 2016 (Sec. 2) This bill amends the Public Health Service Act to direct the<br>Department of Health and Human Services to establish a demonstration program for states<br>with a shortage of emergency medical technicians (EMTs) to streamline state requirements<br>and procedures to assist veterans who completed military EM..."],["To amend the Public Health Service Act to authorize grants to States for developing<br>standing orders and educating health care professionals regarding the dispensing of opioid<br>overdose reversal medication without person-specific prescriptions, and for other<br>purposes.","HR4586","(This measure has not been amended since it was reported to the House on May 10, 2016. The<br>summary of that version is repeated here.) Lali's Law (Sec. 2) This bill amends the Public<br>Health Service Act to permit the Department of Health and Human Services to make grants to<br>states that allow standing orders (documents that allow a person to acquire, dispense, or<br>administer a prescription medication without a person-specific prescription) for opioid<br>overdose reversal medication (e.g., naloxone)...."],["Providing for consideration of the bill (S. 524) to authorize the Attorney General to<br>award grants to address the national epidemics of prescription opioid abuse and heroin<br>use.","HRES725","Sets forth the rule for consideration of the bill (S. 524) to authorize the Attorney<br>General to award grants to address the national epidemics of prescription opioid abuse and<br>heroin use."],["To amend the Homeland Security Act of 2002 to establish in the Department of Homeland<br>Security a board to coordinate and integrate departmental intelligence, activities, and<br>policy related to counterterrorism, and for other purposes.","HR4407","Counterterrorism Advisory Board Act of 2016 (Sec. 2) This bill amends the Homeland<br>Security Act of 2002 to establish in the Department of Homeland Security (DHS) a board to<br>coordinate and integrate DHS's intelligence, activities, and policy related to its<br>counterterrorism mission and functions. The board shall: (1) advise the Secretary of DHS<br>on the issuance of terrorism alerts, and (2) meet on a regular basis to discuss<br>intelligence and coordinate ongoing threat mitigation efforts and depart..."],["Providing for consideration of the bill (H.R. 4909) to authorize appropriations for fiscal<br>year 2017 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes.","HRES732","Sets forth the rule for consideration of the bill (H.R. 4909) to authorize appropriations<br>for fiscal year 2017 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year."],["To amend the Federal Insecticide, Fungicide, and Rodenticide Act and the Federal Water<br>Pollution Control Act to clarify Congressional intent regarding the regulation of the use<br>of pesticides in or near navigable waters, and for other purposes.","HR897","Zika Vector Control Act (Sec. 2) This bill amends the Federal Insecticide, Fungicide, and<br>Rodenticide Act (FIFRA) and the Federal Water Pollution Control Act (commonly known as the<br>Clean Water Act) to prohibit the Environmental Protection Agency or a state from requiring<br>a permit until September 30, 2018, under the Clean Water Act for a discharge from a point<br>source into navigable waters of a pesticide authorized for sale, distribution, or use<br>under FIFRA, or a residue resulting from the appl..."],["Providing for further consideration of the bill (H.R. 4909) to authorize appropriations<br>for fiscal year 2017 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes.","HRES735","Sets forth the rule for consideration of H.R. 4909 (National Defense Authorization Act for<br>Fiscal Year 2017) in the House of Representatives."],["Providing for consideration of the bill (H.R. 4974) making appropriations for military<br>construction, the Department of Veterans Affairs, and related agencies for the fiscal year<br>ending September 30, 2017, and for other purposes; providing for consideration of the bill<br>(H.R. 5243) making appropriations for the fiscal year ending September 30, 2016, to<br>strengthen public health activities in response to the Zika virus, and for other purposes;<br>and for other purposes.","HRES736","Sets forth the rule for consideration of the bill (H.R. 4974) making appropriations for<br>military construction, the Department of Veterans Affairs, and related agencies for the<br>fiscal year ending September 30, 2017, and for other purposes; providing for consideration<br>of the bill (H.R. 5243) making appropriations for the fiscal year ending September 30,<br>2016, to strengthen public health activities in response to the Zika virus, and for other<br>purposes."],["To authorize appropriations for fiscal year 2017 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR4909","Highlights:  This bill authorizes FY2017 appropriations and sets forth policies regarding<br>the military activities of the Department of Defense (DOD), military construction, and the<br>national security programs of the Department of Energy (DOE).  The bill authorizes<br>appropriations, but does not provide budget authority, which is provided by appropriations<br>legislation.  The bill authorizes appropriations to DOD for:    Procurement;  Research,<br>Development, Test, and Evaluation;   Operation and Mai..."],["Making appropriations for the fiscal year ending September 30, 2016, to strengthen public<br>health activities in response to the Zika virus, and for other purposes.","HR5243","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Highlights: This bill provides FY2016<br>supplemental appropriations to the Departments of Health and Human Services (HHS) and<br>State to respond to the Zika virus. The bill also rescinds unobligated balances of prior<br>appropriations.  The bill permits the funds to be used for the duration of FY2016,<br>designates specified funds as emergency requirements, and sets forth c..."],["Making appropriations for military construction, the Department of Veterans Affairs, and<br>related agencies for the fiscal year ending September 30, 2017, and for other purposes.","HR4974","Highlights:  This bill provides FY2017 appropriations to the Department of Defense (DOD)<br>for military construction, military family housing, the U.S. share of the North Atlantic<br>Treaty Organization Security Investment Program, and base closures and realignments.  The<br>bill also provides appropriations to the Department of Veterans Affairs (VA) for veterans<br>benefit and health care programs, Departmental Administration, and the National Cemetery<br>Administration.  Related agencies and programs fun..."],["To amend the Communications Act of 1934 to require providers of a covered service to<br>provide call location information concerning the telecommunications device of a user of<br>such service to an investigative or law enforcement officer in an emergency situation<br>involving risk of death or serious physical injury or in order to respond to the user's<br>call for emergency services.","HR4889","Kelsey Smith Act (Sec. 2) This bill amends the Communications Act of 1934 to require a<br>mobile or Internet voice service provider to disclose, at the request of an investigative<br>or law enforcement officer, the call location information of a device that is: (1) used to<br>place a 911 call, or (2) reasonably believed to be in the possession of an individual who<br>is in an emergency situation that involves a risk of death or serious physical harm.<br>Additionally, the bill prohibits a civil action or adm..."],["Providing for consideration of the bill (H.R. 5055) making appropriations for energy and<br>water development and related agencies for the fiscal year ending September 30, 2017, and<br>for other purposes.","HRES743","Sets forth the rule for consideration of the bill (H.R. 5055) making appropriations for<br>energy and water development and related agencies for the fiscal year ending September 30,<br>2017."],["Providing for consideration of the Senate amendment to the bill (H.R. 2576) to modernize<br>the Toxic Substances Control Act, and for other purposes, and providing for consideration<br>of the bill (H.R. 897) to amend the Federal Insecticide, Fungicide, and Rodenticide Act<br>and the Federal Water Pollution Control Act to clarify Congressional intent regarding the<br>regulation of the use of pesticides in or near navigable waters, and for other purposes.","HRES742","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2576) to<br>modernize the Toxic Substances Control Act, and for other purposes, and providing for<br>consideration of the bill (H.R. 897) to amend the Federal Insecticide, Fungicide, and<br>Rodenticide Act and the Federal Water Pollution Control Act to clarify Congressional<br>intent regarding the regulation of the use of pesticides in or near navigable waters."],["To authorize appropriations for fiscal year 2017 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR5077","Intelligence Authorization Act for Fiscal Year 2017 TITLE I--INTELLIGENCE ACTIVITIES (Sec.<br>101) This bill authorizes FY2017 appropriations for the conduct of intelligence and<br>intelligence-related activities of:   the Office of the Director of National Intelligence<br>(ODNI);  the Central Intelligence Agency (CIA);  the Department of Defense (DOD);  the<br>Defense Intelligence Agency (DIA);  the National Security Agency (NSA);  the Departments<br>of the Army, Navy, and Air Force;  the Coast Guard;  the..."],["Providing for consideration of the bill (S. 2012) to provide for the modernization of the<br>energy policy of the United States, and for other purposes; providing for consideration of<br>the bill (H.R. 5233) to repeal the Local Budget Autonomy Amendment Act of 2012, to amend<br>the District of Columbia Home Rule Act to clarify the respective roles of the District<br>government and Congress in the local budget process of the District government, and for<br>other purposes; and providing for proceedings during the period from May 27, 2016, through<br>June 6, 2016.","HRES744","Sets forth the rule for consideration of the bill (S. 2012) to provide for the<br>modernization of the energy policy of the United States, and for other purposes; providing<br>for consideration of the bill (H.R. 5233) to repeal the Local Budget Autonomy Amendment<br>Act of 2012, to amend the District of Columbia Home Rule Act to clarify the respective<br>roles of the District government and Congress in the local budget process of the District<br>government, and for other purposes; and providing for proceedi..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2017, and for other purposes.","HR5055","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.)  Highlights:  This bill provides FY2017<br>appropriations for:    the civil works projects of the U.S. Army Corps of Engineers;  the<br>Department of the Interior's Bureau of Reclamation and Central Utah Project;   the<br>Department of Energy (DOE); and  several independent agencies, including the Nuclear<br>Regulatory Commission.   The bill increases overall FY2017 Energy an..."],["To repeal the Local Budget Autonomy Amendment Act of 2012, to amend the District of<br>Columbia Home Rule Act to clarify the respective roles of the District government and<br>Congress in the local budget process of the District government, and for other purposes.","HR5233","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Clarifying Congressional Intent in Providing for<br>DC Home Rule Act of 2016 (Sec. 2) This bill repeals the Local Budget Autonomy Amendment<br>Act of 2012 (D.C. Law 19-321) and restores previous law as though the Act had never been<br>enacted. (Sec. 3) The District of Columbia Home Rule Act is amended to declare that<br>nothing in it shall be construed as creating a continuing..."],["An original bill to provide for the modernization of the energy policy of the United<br>States, and for other purposes.","S2012","Energy Policy Modernization Act of 2015 This bill amends the Energy Conservation and<br>Production Act, the Energy Policy and Conservation Act (EPCA), and the Energy Independence<br>and Security Act of 2007 with respect to energy efficiency in buildings and appliances.<br>The Office of Energy Efficiency and Renewable Energy of the Department of Energy (DOE)<br>shall conduct activities with respect to manufacturing energy efficiency. Vehicle<br>Innovation Act of 2015 DOE shall conduct research, development, ..."],["Relating to consideration of the Senate amendment to the bill (H.R. 2577) making<br>appropriations for the Departments of Transportation, and Housing and Urban Development,<br>and related agencies for the fiscal year ending September 30, 2016, and for other<br>purposes.","HRES751","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of the Senate amendment to H.R. 2577<br>(Transportation, Housing and Urban Development, and Related Agencies Appropriations Act,<br>2017) in the House of Representatives."],["Expressing support for the goal of ensuring that all Holocaust victims live with dignity,<br>comfort, and security in their remaining years, and urging the Federal Republic of Germany<br>to reaffirm its commitment to this goal through a financial commitment to comprehensively<br>address the unique health and welfare needs of vulnerable Holocaust victims, including<br>home care and other medically prescribed needs.","HCONRES129","Urges the working group established by the Federal Republic of Germany and the Conference<br>on Jewish Material Claims Against Germany to recognize the imperative to fund immediately<br>and fully the medical, mental health, and long-term care needs of surviving Holocaust<br>victims, with full transparency and accountability, to ensure all funds for Holocaust<br>victims from the Federal Republic of Germany are administered efficiently, fairly, and<br>without delay. Urges the Federal Republic of Germany also ..."],["To facilitate certain pinyon-juniper related projects in Lincoln County, Nevada, to modify<br>the boundaries of certain wilderness areas in the State of Nevada, and to provide for the<br>implementation of a conservation plan for the Virgin River, Nevada.","HR1815","(This measure has not been amended since it was reported to the House on April 25, 2016.<br>The summary of that version is repeated here.) Eastern Nevada Land Implementation<br>Improvement Act  (Sec. 2) This bill amends the Lincoln County Land Act of 2000 (LCLA) to<br>require implementation of a multispecies habitat conservation plan in Lincoln County,<br>Nevada.  Both the LCLA and the Lincoln County Conservation, Recreation, and Development<br>Act of 2004 (LCCRDA) are amended to make certain amounts availa..."],["Providing for consideration of the bill (H.R. 4775) to facilitate efficient State<br>implementation of ground-level ozone standards, and for other purposes; providing for<br>consideration of the concurrent resolution (H. Con. Res. 89) expressing the sense of<br>Congress that a carbon tax would be detrimental to the United States economy; and<br>providing for the consideration of the concurrent resolution (H. Con. Res. 112) expressing<br>the sense of Congress opposing the President's proposed $10 tax on every barrel of oil.","HRES767","Sets forth the rule for consideration of the bill (H.R. 4775) to facilitate efficient<br>State implementation of ground-level ozone standards, and for other purposes; providing<br>for consideration of the concurrent resolution (H. Con. Res. 89) expressing the sense of<br>Congress that a carbon tax would be detrimental to the United States economy; and<br>providing for the consideration of the concurrent resolution (H. Con. Res. 112) expressing<br>the sense of Congress opposing the President's proposed $10 t..."],["To amend the Omnibus Public Land Management Act of 2009 to modify provisions relating to<br>certain land exchanges in the Mt. Hood Wilderness in the State of Oregon.","HR3826","(This measure has not been amended since it was reported to the House on April 21, 2016.<br>The summary of that version is repeated here.) Mount Hood Cooper Spur Land Exchange<br>Clarification Act (Sec. 2) This bill amends the Omnibus Public Land Management Act of 2009<br>to revise details of the Cooper Spur-Government Camp land exchange between the United<br>States and Oregon.  After the final appraised value of the federal and nonfederal lands is<br>determined and approved by Department of Agriculture (US..."],["To facilitate efficient State implementation of ground-level ozone standards, and for<br>other purposes.","HR4775","Ozone Standards Implementation Act of 2016 This bill amends the Clean Air Act by revising<br>the National Ambient Air Quality Standards (NAAQS) program. (Sec. 2) The bill delays the<br>implementation of the ozone NAAQS that were published in 2015. The bill extends until: (1)<br>October 26, 2024, the deadline for states to submit designations to implement the 2015<br>ozone NAAQS; and (2) October 26, 2025, the deadline for the Environmental Protection<br>Agency (EPA) to designate state areas as attainment, no..."],["Providing for consideration of the bill (H.R. 5325) making appropriations for the<br>Legislative Branch for the fiscal year ending September 30, 2017, and for other purposes.","HRES771","Sets forth the rule for consideration of the bill (H.R. 5325) making appropriations for<br>the Legislative Branch for the fiscal year ending September 30, 2017."],["Providing for consideration of the bill (H.R. 5278) to establish an Oversight Board to<br>assist the Government of Puerto Rico, including instrumentalities, in managing its public<br>finances, and for other purposes.","HRES770","Sets forth the rule for consideration of the bill (H.R. 5278) to establish an Oversight<br>Board to assist the Government of Puerto Rico, including instrumentalities, in managing<br>its public finances."],["To establish an Oversight Board to assist the Government of Puerto Rico, including<br>instrumentalities, in managing its public finances, and for other purposes.","HR5278","Puerto Rico Oversight, Management, and Economic Stability Act or PROMESA  This bill<br>addresses Puerto Rico's debt by establishing an oversight board, a process for<br>restructuring debt, and expedited procedures for approving critical infrastructure<br>projects.  (Sec. 2) The effective date of this bill is the date of enactment. Title III<br>(Adjustments of Debts) only applies to cases commenced under it on or after the date of<br>enactment. Titles III and VI (Creditor Collective Action) apply to all debt..."],["Making appropriations for the Legislative Branch for the fiscal year ending September 30,<br>2017, and for other purposes.","HR5325","(This measure has not been amended since it was passed by the Senate on September 28,<br>2016. The summary of that version is repeated here.) Highlights:  This bill provides<br>FY2017 appropriations for Military Construction, Veterans Affairs, and Related Agencies;<br>continuing appropriations through December 9, 2016, for other federal agencies; and FY2016<br>supplemental appropriations to respond to the Zika virus.  The bill also includes several<br>rescissions and provides additional funding for disaster..."],["Expressing the sense of Congress that a carbon tax would be detrimental to the United<br>States economy.","HCONRES89","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of Congress that a carbon tax would be detrimental to<br>American families and businesses and is not in the best interest of the United States."],["Expressing the sense of Congress opposing the President's proposed $10 tax on every barrel<br>of oil.","HCONRES112","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Opposes a new tax on oil. Urges Congress, when considering a tax policy<br>change, to review the detrimental impacts such change would place on industries facing<br>economic difficulties."],["To amend the High-Performance Computing Act of 1991 to authorize activities for support of<br>networking and information technology research, and for other purposes.","HR5312","Networking and Information Technology Research and Development Modernization Act of 2016<br>(Sec. 5) This bill amends the High-Performance Computing Act of 1991 to rename the<br>National High-Performance Computing program as the Networking and Information Technology<br>Research and Development Program.  The program, in addition to its current requirements,<br>shall:   promote increased understanding of the scientific principles of cyber-physical<br>systems and improve methods available for the design, dev..."],["Providing for consideration of the bill (H.R. 5053) to amend the Internal Revenue Code of<br>1986 to prohibit the Secretary of the Treasury from requiring that the identity of<br>contributors to 501(c) organizations be included in annual returns; and providing for<br>consideration of the bill (H.R. 5293) making appropriations for the Department of Defense<br>for the fiscal year ending September 30, 2017, and for other purposes.","HRES778","Sets forth the rule for consideration of the bill (H.R. 5053) to amend the Internal<br>Revenue Code of 1986 to prohibit the Secretary of the Treasury from requiring that the<br>identity of contributors to 501(c) organizations be included in annual returns; and<br>providing for consideration of the bill (H.R. 5293) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2017."],["To provide for improved management and oversight of major multi-user research facilities<br>funded by the National Science Foundation, to ensure transparency and accountability of<br>construction and management costs, and for other purposes.","HR5049","(This measure has not been amended since it was reported to the House on June 13, 2016.<br>The summary of that version is repeated here.) NSF Major Research Facility Reform Act of<br>2016  (Sec. 3) This bill directs the National Science Foundation (NSF) to maintain a Large<br>Facilities Office to support its research directorates in the development, implementation,<br>and assessment of major multi-user research facilities.   The NSF shall appoint a senior<br>agency official to head the Office, whose respons..."],["To amend the Internal Revenue Code of 1986 to prohibit the Secretary of the Treasury from<br>requiring that the identity of contributors to 501(c) organizations be included in annual<br>returns.","HR5053","(This measure has not been amended since it was reported to the House on June 9, 2016. The<br>summary of that version is repeated here.) Preventing IRS Abuse and Protecting Free Speech<br>Act  (Sec. 2) This bill amends the Internal Revenue Code to prohibit the Internal Revenue<br>Service from requiring a tax-exempt organization to include in annual returns the name,<br>address, or other identifying information of any contributor.  The bill includes<br>exceptions for: (1) required disclosures regarding prohi..."],["Providing for further consideration of the bill (H.R. 5293) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2017, and for other<br>purposes.","HRES783","Sets forth the rule for consideration of H.R. 5293 (Department of Defense Appropriations<br>Act, 2017) in the House of Representatives."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2017, and for other purposes.","HR5293","Highlights:  This bill provides FY2017 appropriations to the Department of Defense (DOD)<br>for military activities, including appropriations for Overseas Contingency Operations<br>(OCO)/ Global War on Terrorism.  The bill does not include funding for military<br>construction, military family housing, civil works projects of the Army Corps of<br>Engineers, and nuclear warheads, which are all considered in other appropriations bills.<br>The bill increases total funding for DOD compared to FY2016 levels and ..."],["To combat terrorist recruitment in the United States, and for other purposes.","HR5471","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Countering Terrorist Radicalization Act TITLE I--<br>AMPLIFYING LOCAL EFFORTS TO ROOT OUT TERROR (Sec. 101) This bill authorizes the Department<br>of Homeland Security (DHS) to provide training at state and major urban area fusion<br>centers for the purpose of administering community awareness briefings and related<br>activities in furtherance of its efforts to counter violent..."],["To prohibit universal service support of commercial mobile service and commercial mobile<br>data service through the Lifeline program.","HR5525","End Taxpayer Funded Cell Phones Act of 2016 This bill prohibits a provider of commercial<br>mobile service or commercial mobile data service from receiving universal service support<br>under the Communications Act of 1934 through the Federal Communications Commission's<br>(FCC's) Lifeline program, which provides subsidies for discounts on monthly telephone or<br>broadband service (e.g., Internet service on mobile phones) to qualifying low-income<br>consumers. The FCC must continue to collect universal servi..."],["To amend the Homeland Security Act of 2002 to provide for innovative research and<br>development, and for other purposes.","HR5388","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Support for Rapid Innovation Act of 2016 (Sec. 2)<br>This bill amends the Homeland Security Act of 2002 to direct the Under Secretary for<br>Science and Technology of the Department of Homeland Security (DHS) to support the<br>research, development, testing, evaluation, and transition of cybersecurity technologies.<br>Such research and development shall:  advance the developm..."],["To encourage engagement between the Department of Homeland Security and technology<br>innovators, and for other purposes.","HR5389","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Leveraging Emerging Technologies Act of 2016<br>(Sec. 2) This bill requires the Department of Homeland Security (DHS) to: (1) engage with<br>innovative and emerging technology developers and firms, including technology-based small<br>businesses and startup ventures, to address homeland security needs; and (2) develop,<br>submit to Congress, and implement a DHS-wide strategy t..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2577)<br>making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2016, and for<br>other purposes; providing for proceedings during the period from June 23, 2016, through<br>July 4, 2016; and providing for consideration of motions to suspend the rules.","HRES797","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2577) making appropriations for the Departments of Transportation, and Housing and Urban<br>Development, and related agencies for the fiscal year ending September 30, 2016, and for<br>other purposes; providing for proceedings during the period from June 23, 2016, through<br>July 4, 2016; and providing for consideration of motions to suspend the rules."],["Providing for consideration of the bill (H.R. 4768) to amend title 5, United States Code,<br>with respect to the judicial review of agency interpretations of statutory and regulatory<br>provisions; providing for proceedings during the period from June 23, 2016, through July<br>4, 2016; and providing for consideration of motions to suspend the rules.","HRES796","Sets forth the rule for consideration of the bill (H.R. 4768) to amend title 5, United<br>States Code, with respect to the judicial review of agency interpretations of statutory<br>and regulatory provisions; providing for proceedings during the period from June 23, 2016,<br>through July 4, 2016; and providing for consideration of motions to suspend the rules."],["Providing for consideration of the bill (H.R. 1270) to amend the Internal Revenue Code of<br>1986 to repeal the amendments made by the Patient Protection and Affordable Care Act which<br>disqualify expenses for over-the-counter drugs under health savings accounts and health<br>flexible spending arrangements.","HRES793","Sets forth the rule for consideration of the bill (H.R. 1270) to amend the Internal<br>Revenue Code of 1986 to repeal the amendments made by the Patient Protection and<br>Affordable Care Act which disqualify expenses for over-the-counter drugs under health<br>savings accounts and health flexible spending arrangements."],["Providing for consideration of the bill (H.R. 5485) making appropriations for financial<br>services and general government for the fiscal year ending September 30, 2017, and for<br>other purposes.","HRES794","Sets forth the rule for consideration of the bill (H.R. 5485) making appropriations for<br>financial services and general government for the fiscal year ending September 30, 2017."],["To amend the Investment Company Act of 1940 to expand the investor limitation for<br>qualifying venture capital funds under an exemption from the definition of an investment<br>company.","HR4854","Supporting America's Innovators Act of 2016 This bill amends the Investment Company Act of<br>1940 to exempt from its coverage any issuer whose outstanding securities with respect to a<br>qualifying venture capital fund (other than short-term paper) are beneficially owned by<br>not more than 250 persons. The bill defines \"qualifying venture capital fund\" as one with<br>no more than $10 million (annually adjusted for inflation) in invested capital."],["To amend provisions in the securities laws relating to regulation crowdfunding to raise<br>the dollar amount limit and to clarify certain requirements and exclusions for funding<br>portals established by such Act.","HR4855","Fix Crowdfunding Act (Sec. 2) This bill amends the Securities Act of 1933 to allow a<br>crowdfunding issuer to sell shares through a crowdfunding vehicle. (Crowdfunding is a<br>method of capital formation in which groups of people pool money, typically composed of<br>small individual contributions, and often via Internet platforms, either to invest in a<br>company or to support an effort by others to accomplish a specific goal.)  A \"crowdfunding<br>vehicle\" is a company that:   has purposes limited to acqui..."],["To amend the Internal Revenue Code of 1986 to repeal the amendments made by the Patient<br>Protection and Affordable Care Act which disqualify expenses for over-the-counter drugs<br>under health savings accounts and health flexible spending arrangements.","HR1270","Restoring Access to Medication and Improving Health Savings Act of 2016  This bill amends<br>the Internal Revenue Code to modify the rules that apply to health savings accounts (HSAs)<br>and overpayments of subsidies under the Patient Protection and Affordable Care Act.<br>Restoring Access to Medication Act of 2016  The bill repeals provisions of the Internal<br>Revenue Code, as added by the Patient Protection and Affordable Care Act, that limit<br>payments for medications from HSAs, medical savings accoun..."],["Providing for consideration of the bill (H.R. 4361) to amend section 3554 of title 44,<br>United States Code, to provide for enhanced security of Federal information systems, and<br>for other purposes, and providing for consideration of motions to suspend the rules.","HRES803","Sets forth the rule for consideration of the bill (H.R. 4361) to amend section 3554 of<br>title 44, United States Code, to provide for enhanced security of Federal information<br>systems, and for other purposes, and providing for consideration of motions to suspend the<br>rules."],["To make available needed psychiatric, psychological, and supportive services for<br>individuals with mental illness and families in mental health crisis, and for other<br>purposes.","HR2646","Helping Families in Mental Health Crisis Act of 2016 TITLE I--ASSISTANT SECRETARY FOR<br>MENTAL HEALTH AND SUBSTANCE USE (Sec. 101) This bill amends the Public Health Service Act<br>(PHSA) to rename the position of Administrator of the Substance Abuse and Mental Health<br>Services Administration (SAMHSA) to Assistant Secretary for Mental Health and Substance<br>Use. The bill revises the duties under this position, including to require the review and<br>evaluation of programs related to mental illness and su..."],["Making appropriations for financial services and general government for the fiscal year<br>ending September 30, 2017, and for other purposes.","HR5485","Highlights:  This bill provides FY2017 appropriations to agencies responsible for:<br>regulating the financial, telecommunications, and consumer products industries; collecting<br>taxes and assisting taxpayers;  managing federal buildings and the federal workforce; and<br>operating the Executive Office of the President, the judiciary, and the District of<br>Columbia.   The bill decreases overall Financial Services and General Government<br>discretionary funding below FY2016 levels.  Compared to FY2016 ..."],["To amend section 3554 of title 44, United States Code, to provide for enhanced security of<br>Federal information systems, and for other purposes.","HR4361","Highlights: This bill establishes or revises government operations and personnel laws<br>concerning the security of federal information systems, restrictions on access to<br>websites, probationary periods, the senior executive service, employee use of official<br>time, and the maintenance of Internal Revenue Service records.  It also prohibits agencies<br>from proposing or adopting certain rules during a moratorium period after a presidential<br>election before a new President is sworn in. Full Summary: Gov..."],["Providing for consideration of the conference report to accompany the bill (S. 524) to<br>authorize the Attorney General to award grants to address the national epidemics of<br>prescription opioid abuse and heroin use; and for other purposes.","HRES809","Sets forth the rule for consideration of the conference report to accompany the bill (S.<br>524) to authorize the Attorney General to award grants to address the national epidemics<br>of prescription opioid abuse and heroin use."],["An original bill to authorize appropriations for fiscal year 2017 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S2943","(This measure has not been amended since the Conference Report was filed in the House on<br>November 30, 2016. The summary of that version is repeated here.) Highlights:  This bill<br>authorizes FY2017 appropriations and sets forth policies regarding the military activities<br>of the Department of Defense (DOD), military construction, and the national security<br>programs of the Department of Energy (DOE).  The bill authorizes appropriations, but does<br>not provide budget authority, which is provided by ap..."],["To enhance the Department of the Treasury's role in protecting national security, and for<br>other purposes.","HR5607","Enhancing Treasury's Anti-Terror Tools Act  (Sec. 2) This bill instructs the Department of<br>the Treasury to report to Congress on the employment by U.S. embassies of full-time and<br>temporary Treasury attaches and their role in advancing U.S. anti-terrorism financing<br>interests, including concerning:    how Treasury's interests relating to anti-terror<br>finance, money laundering, and related illicit finance issues are handled at other<br>embassies;  issues identified by Treasury attaches concerning an..."],["To facilitate better information sharing to assist in the fight against the funding of<br>terrorist activities, and for other purposes.","HR5606","Anti-terrorism Information Sharing Is Strength Act This bill amends the USA PATRIOT Act to<br>allow two or more financial institutions and any association of financial institutions,<br>upon notice provided to the Department of the Treasury, to share information with one<br>another regarding individuals, entities, organizations, and countries suspected of the<br>unlawful activity the proceeds of which form the basis of a money laundering offense. A<br>financial institution or association that transmits, rece..."],["Providing for consideration of the bill (H.R. 5538) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2017, and for other purposes; providing for proceedings during the period<br>from July 15, 2016, through September 5, 2016; and for other purposes.","HRES820","Sets forth the rule for consideration of the bill (H.R. 5538) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2017, and for other purposes; providing for proceedings during the<br>period from July 15, 2016, through September 5, 2016."],["Providing for consideration of the bill (H.R. 4992) to codify regulations relating to<br>transfers of funds involving Iran, and for other purposes; providing for consideration of<br>the bill (H.R. 5119) to prohibit the obligation or expenditure of funds available to any<br>Federal department or agency for any fiscal year to purchase or issue a license for the<br>purchase of heavy water produced in Iran; and providing for consideration of the bill<br>(H.R. 5631) to hold Iran accountable for its state sponsorship of terrorism and other<br>threatening activities and for its human rights abuses, and for other purposes.","HRES819","Sets forth the rule for consideration of the bill (H.R. 4992) to codify regulations<br>relating to transfers of funds involving Iran, and for other purposes; providing for<br>consideration of the bill (H.R. 5119) to prohibit the obligation or expenditure of funds<br>available to any Federal department or agency for any fiscal year to purchase or issue a<br>license for the purchase of heavy water produced in Iran; and providing for consideration<br>of the bill (H.R. 5631) to hold Iran accountable for its sta..."],["To amend title 5, United States Code, to codify the Presidential Innovation Fellows<br>Program, and for other purposes.","HR5658","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Tested Ability to Leverage Exceptional National<br>Talent Act of 2016 or the TALENT Act of 2016 (Sec. 2) This bill codifies provisions<br>establishing the Presidential Innovation Fellows Program (originally established pursuant<br>to Executive Order 13704) to encourage successful entrepreneurs, executives, and<br>innovators to join the government and work in close cooperation..."],["To amend title 5, United States Code, with respect to the judicial review of agency<br>interpretations of statutory and regulatory provisions.","HR4768","(This measure has not been amended since it was reported to the House on June 14, 2016.<br>The summary of that version is repeated here.) Separation of Powers Restoration Act of<br>2016 This bill modifies the scope of judicial review of agency actions to authorize courts<br>reviewing agency actions to decide de novo (without giving deference to the agency's<br>interpretation) all relevant questions of law, including the interpretation of: (1)<br>constitutional and statutory provisions, and (2) rules made by..."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2017, and for other purposes.","HR5538","Highlights:  This bill provides FY2017 appropriations for the Department of the Interior,<br>the Environmental Protection Agency (EPA), and related agencies.  The bill provides annual<br>appropriations for most of the Department of the Interior, including:    the Bureau of<br>Land Management (BLM),  the U.S. Fish and Wildlife Service (USFWS),   the National Park<br>Service (NPS),   the U.S. Geological Survey (USGS),   the Bureau of Ocean Energy<br>Management,   the Bureau of Safety and Environmental Enforce..."],["Providing for consideration of the Senate amendment to the House amendment to the bill (S.<br>764) to reauthorize and amend the National Sea Grant College Program Act, and for other<br>purposes; providing for consideration of the bill (S. 304) to improve motor vehicle safety<br>by encouraging the sharing of certain information; and waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules.","HRES822","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the bill (S. 764) to reauthorize and amend the National Sea Grant College Program Act, and<br>for other purposes; providing for consideration of the bill (S. 304) to improve motor<br>vehicle safety by encouraging the sharing of certain information; and waiving a<br>requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules."],["To prohibit the obligation or expenditure of funds available to any Federal department or<br>agency for any fiscal year to purchase or issue a license for the purchase of heavy water<br>produced in Iran.","HR5119","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) No 2H2O from Iran Act (Sec. 2) This bill<br>prohibits funds available to any federal department or agency for any fiscal year from<br>being obligated or expended to purchase or issue a license to purchase heavy water<br>produced in Iran."],["A bill to improve motor vehicle safety by encouraging the sharing of certain information.","S304","Conscience Protection Act of 2016 (Sec. 3) This bill amends the Public Health Service Act<br>to codify the prohibition against the federal government and state and local governments<br>that receive federal financial assistance for health-related activities penalizing or<br>discriminating against a health care provider based on the provider's refusal to be<br>involved in, or provide coverage for, abortion. Health care providers include health care<br>professionals, health care facilities, social services pro..."],["A bill to reauthorize and amend the National Sea Grant College Program Act, and for other<br>purposes.","S764","(This measure has not been amended since the Senate agreed to the House amendment with an<br>amendment on July 7, 2016. The summary of that version is repeated here.) This bill amends<br>the Agricultural Marketing Act of 1946 to establish a national mandatory bioengineered<br>food disclosure standard. (Bioengineered food is commonly referred to as a genetically<br>modified organism or GMO food.)  (Sec. 1) Bioengineered food is food that that has been<br>genetically modified in a way that could not be obtain..."],["To hold Iran accountable for its state sponsorship of terrorism and other threatening<br>activities and for its human rights abuses, and for other purposes.","HR5631","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Iran Accountability Act of 2016 This bill prescribes requirements for<br>mandatory sanctions with respect to:   Iran's Revolutionary Guard Corps (IRGC), its<br>agents, and persons or entities it owns;  Mahan Air;  Iran's support of terrorism and<br>money laundering; Iran's human rights abuses;  certain Iranian individuals, including the<br>Supreme Leader of Iran and the President of Iran;  persons w..."],["To codify regulations relating to transfers of funds involving Iran, and for other<br>purposes.","HR4992","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) United States Financial System Protection Act of<br>2016 (Sec. 3) This bill applies to transfers of funds to or from Iran, or for the direct<br>or indirect benefit of an Iranian person or the government of Iran, for a specified period<br>only, the existing authorization for U.S. depository institutions and registered brokers<br>or dealers in securities to process such a funds..."],["To amend the Mineral Leasing Act to repeal provisions relating only to the Allegheny<br>National Forest.","HR3881","Cooperative Management of Mineral Rights Act of 2016 This bill repeals requirements of the<br>Mineral Leasing Act and the Energy Policy Act of 1992 regarding the development of oil and<br>gas deposits on certain lands within the Allegheny National Forest in Pennsylvania.<br>Nothing in this bill shall be construed or interpreted as:  limiting, modifying, or<br>otherwise affecting the existing requirement to provide in writing 60-day advance notice<br>of specific activities in accordance with the order dated ..."],["Providing for consideration of the bill (H.R. 5063) to limit donations made pursuant to<br>settlement agreements to which the United States is a party, and for other purposes.","HRES843","Sets forth the rule for consideration of the bill (H.R. 5063) to limit donations made<br>pursuant to settlement agreements to which the United States is a party."],["To limit donations made pursuant to settlement agreements to which the United States is a<br>party, and for other purposes.","HR5063","Stop Settlement Slush Funds Act of 2016 (Sec. 2) This bill prohibits government officials<br>from entering into or enforcing a settlement agreement resolving a civil action on behalf<br>of the United States that provides for a payment to any person or entity other than the<br>United States. The bill provides exceptions to allow payments that remedy actual harm<br>(including to the environment) caused by the party making the payment or that constitute<br>payment for services rendered in connection with the c..."],["Providing for consideration of the bill (H.R. 2357) to direct the Securities and Exchange<br>Commission to revise Form S-3 so as to add listing and registration of a class of common<br>equity securities on a national securities exchange as an additional basis for satisfying<br>the requirements of General Instruction I.B.1. of such form and to remove such listing and<br>registration as a requirement of General Instruction I.B.6. of such form, and providing<br>for consideration of the bill (H.R. 5424) to amend the Investment Advisers Act of 1940 and<br>to direct the Securities and Exchange Commission to amend its rules to modernize certain<br>requirements relating to investment advisers, and for other purposes.","HRES844","Sets forth the rule for consideration of the bill (H.R. 2357) to direct the Securities and<br>Exchange Commission to revise Form S-3 so as to add listing and registration of a class of<br>common equity securities on a national securities exchange as an additional basis for<br>satisfying the requirements of General Instruction I.B.1. of such form and to remove such<br>listing and registration as a requirement of General Instruction I.B.6. of such form, and<br>providing for consideration of the bill (H.R. 542..."],["Expressing the sense of the House of Representatives to support the territorial integrity<br>of Georgia.","HRES660","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Supports the U.S. Stimson Doctrine to not recognize territorial changes<br>effected by force, and affirms that this policy should continue to guide U.S. foreign<br>policy.  Condemns Russia's military intervention and occupation of Georgia and its<br>continuous illegal activities along the occupation line in Abkhazia and Tskhinvali<br>region/South Ossetia.  Calls upon Russia to: (1) withdraw its reco..."],["To direct the Securities and Exchange Commission to revise Form S-3 so as to add listing<br>and registration of a class of common equity securities on a national securities exchange<br>as an additional basis for satisfying the requirements of General Instruction I.B.1. of<br>such form and to remove such listing and registration as a requirement of General<br>Instruction I.B.6. of such form.","HR2357","Accelerating Access to Capital Act of 2016 TITLE I--ACCELERATING ACCESS TO CAPITAL (Sec.<br>101) This bill directs the Securities and Exchange Commission (SEC) to revise Form S-3 (a<br>simplified securities registration form for companies that have already met other<br>reporting requirements) so as to permit securities to be registered pursuant to General<br>Instruction I.B.1. of the form if: (1) the aggregate market value of voting and non-voting<br>common equity held by non-affiliates of the registrant is..."],["To amend the Investment Advisers Act of 1940 and to direct the Securities and Exchange<br>Commission to amend its rules to modernize certain requirements relating to investment<br>advisers, and for other purposes.","HR5424","Investment Advisers Modernization Act of 2016 This bill directs the Securities and<br>Exchange Commission (SEC) to amend specified regulations for investment advisers as they<br>apply to private equity firms and private investment funds. (Sec. 2) The bill revises the<br>disclaimer that, in the case of an investment adviser that is a partnership, an assignment<br>shall not be deemed to result from the death, withdrawal, sale or transfer of minority<br>interests to apply the disclaimer also to minority member..."],["Expressing the sense of the House of Representatives about a national strategy for the<br>Internet of Things to promote economic growth and consumer empowerment.","HRES847","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of the House of Representatives that the United States<br>should: (1) develop a national strategy to encourage development of the Internet of Things<br>for connected technologies to empower consumers, foster future economic growth, and<br>improve the nation's collective social well-being; (2) recognize the role of businesses in<br>the future development of the Internet of Things;..."],["Expressing the sense of the House of Representatives that the United States should adopt a<br>national policy for technology to promote consumers' access to financial tools and online<br>commerce to promote economic growth and consumer empowerment.","HRES835","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of the House of Representatives that the United States<br>should:   develop a national policy to encourage the development of tools for consumers to<br>learn and protect their assets in a way that maximizes the promise customized, connected<br>devices hold to empower consumers, foster future economic growth, and create new commerce<br>and markets;  prioritize accelerating the dev..."],["Providing for consideration of the bill (H.R. 5620) to amend title 38, United States Code,<br>to provide for the removal or demotion of employees of the Department of Veterans Affairs<br>based on performance or misconduct, and for other purposes.","HRES859","Sets forth the rule for consideration of the bill (H.R. 5620) to amend title 38, United<br>States Code, to provide for the removal or demotion of employees of the Department of<br>Veterans Affairs based on performance or misconduct."],["Providing for consideration of the bill (H.R. 3590) to amend the Internal Revenue Code of<br>1986 to repeal the increase in the income threshold used in determining the deduction for<br>medical care.","HRES858","Sets forth the rule for consideration of the bill (H.R. 3590) to amend the Internal<br>Revenue Code of 1986 to repeal the increase in the income threshold used in determining<br>the deduction for medical care."],["To amend the Internal Revenue Code of 1986 to repeal the increase in the income threshold<br>used in determining the deduction for medical care.","HR3590","(This measure has not been amended since it was reported to the House on July 5, 2016. The<br>summary of that version is repeated here.) Halt Tax Increases on the Middle Class and<br>Seniors Act (Sec. 2) This bill amends the Internal Revenue Code to roll back the increased<br>threshold for determining the amount of the tax deduction for medical expenses. Currently,<br>individual\u00a0taxpayers under age 65\u00a0may only deduct those medical expenses that exceed 10%<br>of their adjusted gross income. This bill reduces..."],["To reauthorize the Carl D. Perkins Career and Technical Education Act of 2006.","HR5587","Strengthening Career and Technical Education for the 21st Century Act This bill<br>reauthorizes through FY2022 the Carl D. Perkins Career and Technical Education Act of<br>2006, divides career and technical education (CTE) students into CTE concentrators and CTE<br>participants, and revises requirements for within-state funding allocations. The bill also<br>revises requirements for core indicators of performance, including state adjusted levels<br>of performance, to differentiate those for CTE concentrators..."],["Expressing support for the expeditious consideration and finalization of a new, robust,<br>and long-term Memorandum of Understanding on military assistance to Israel between the<br>United States Government and the Government of Israel.","HRES729","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Reaffirms:   that Israel is a major U.S. strategic partner,  that it is<br>U.S. policy and law to ensure that Israel maintains its qualitative military edge and<br>self-defense capacity, and  support of an Israeli tiered missile defense program.   Urges<br>finalization of a new Memorandum of Understanding between the United States and Israel.<br>Supports a long-term Memorandum of Understanding betw..."],["Providing for consideration of the bill (H.R. 5351) to prohibit the transfer of any<br>individual detained at United States Naval Station, Guantanamo Bay, Cuba, and providing<br>for consideration of the bill (H.R 5226) to amend chapter 3 of title 5, United States<br>Code, to require the publication of information relating to pending agency regulatory<br>actions, and for other purposes.","HRES863","Sets forth the rule for consideration of the bill (H.R. 5351) to prohibit the transfer of<br>any individual detained at United States Naval Station, Guantanamo Bay, Cuba, and<br>providing for consideration of the bill (H.R 5226) to amend chapter 3 of title 5, United<br>States Code, to require the publication of information relating to pending agency<br>regulatory actions."],["To amend chapter 3 of title 5, United States Code, to require the publication of<br>information relating to pending agency regulatory actions, and for other purposes.","HR5226","Regulatory Integrity Act of 2016 (Sec. 2) This bill directs each executive agency to make<br>publicly available on the agency website or in the rule making docket on Regulations.gov a<br>list of pending agency regulatory actions and for each such action:    the date the agency<br>began to develop or consider the action, its status, an estimate of the date it will be<br>final and in effect, and a brief description of such action; a list of any duplicative or<br>overlapping regulatory actions issued by the sa..."],["To amend title 38, United States Code, to provide for the removal or demotion of employees<br>of the Department of Veterans Affairs based on performance or misconduct, and for other<br>purposes.","HR5620","VA Accountability First and Appeals Modernization Act of 2016 This bill authorizes the<br>Department of Veterans Affairs (VA) to remove or demote a VA employee based on performance<br>or misconduct and provides that specified federal employee performance appraisal<br>provisions shall not apply to such removals or demotions. The VA may remove such<br>individual from the civil service or demote the individual through a reduction in grade or<br>annual pay rate.   A demoted individual shall not be placed on adm..."],["To prohibit the transfer of any individual detained at United States Naval Station,<br>Guantanamo Bay, Cuba.","HR5351","(Sec. 1) This bill prohibits U.S. agency funds from being used until the earlier of the<br>enactment date of an Act authorizing FY2017 appropriations for military activities of the<br>Department of Defense (DOD) or January 21, 2017, for the transfer or release to or within<br>the United States, its territories, or possessions or to any foreign country or entity of<br>an individual detained at Naval Station, Guantanamo Bay, Cuba.  \"Individual detained at<br>Guantanamo\" means an individual located at Guantana..."],["To amend title XIX of the Social Security Act to extend the Medicaid rules regarding<br>supplemental needs trusts for Medicaid beneficiaries to trusts established by those<br>beneficiaries, and for other purposes.","HR670","(This measure has not been amended since it was reported to the House on September 9,<br>2016. The summary of that version is repeated here.) Special Needs Trust Fairness and<br>Medicaid Improvement Act  (Sec. 2) This bill amends title XIX (Medicaid) of the Social<br>Security Act with respect to the treatment of revocable trusts for the benefit of an<br>individual for purposes of meeting income requirements for Medicaid coverage.  The bill<br>extends the supplemental needs trust exemption from treatment of ..."],["To amend title 5, United States Code, to provide for an annuity supplement for certain air<br>traffic controllers.","HR5785","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This bill exempts retired air traffic controllers from a reduction to<br>their Federal Employees Retirement System annuity supplement (on account of their earnings<br>for work performed while entitled to the annuity after their separation from federal<br>service) during any period in which they are employed full time as air traffic control<br>instructors under contract with the Federal Aviation Admi..."],["To ensure the Government Accountability Office has adequate access to information.","HR5690","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here GAO Access and Oversight Act of 2016 (Sec. 2) This<br>bill authorizes the Government Accountability Office (GAO) to obtain federal agency<br>records required to discharge the GAO's duties (including audit, evaluation, and<br>investigative duties), including through bringing civil actions to require an agency to<br>produce a record. No provision of the Social Security Act shall\u00a0b..."],["Providing for consideration of the bill (H.R. 3438) to amend title 5, United States Code,<br>to postpone the effective date of high-impact rules pending judicial review; providing for<br>consideration of the bill (H.R. 5719) to amend the Internal Revenue Code of 1986 to modify<br>the tax treatment of certain equity grants; and providing for consideration of motions to<br>suspend the rules.","HRES875","Sets forth the rule for consideration of H.R. 3438 (Require Evaluation before Implementing<br>Executive Wishlists Act of 2015) and H.R. 5719 (Empowering Employees through Stock<br>Ownership Act). Makes it in order at any time on the legislative day of September 22,<br>2016, or September 23, 2016, for the Speaker of the House of Representatives to entertain<br>motions that the House suspend the rules."],["Providing for consideration of the bill (H.R. 5461) to require the Secretary of the<br>Treasury to submit a report to the appropriate congressional committees on the estimated<br>total assets under direct or indirect control by certain senior Iranian leaders and other<br>figures, and for other purposes.","HRES876","Sets forth the rule for consideration of H.R. 5461 (Iranian Leadership Asset Transparency<br>Act)."],["To amend the Internal Revenue Code of 1986 to temporarily allow expensing of certain costs<br>of replanting citrus plants lost by reason of casualty.","HR3957","(This measure has not been amended since it was reported to the House on September 16,<br>2016. The summary of that version is repeated here.) Emergency Citrus Disease Response Act<br>of 2016 (Sec. 2) This bill amends the Internal Revenue Code to allow a full deduction in<br>the current taxable year of the cost of replanting lost or damaged citrus plants. The<br>taxpayer must own an equity interest of at least 50% in such replanted plants and may<br>deduct costs paid or incurred through 2025."],["To amend title XVIII of the Social Security Act with respect to expanding Medicare<br>Advantage coverage for individuals with end-stage renal disease (ESRD).","HR5659","(This measure has not been amended since it was reported to the House on September 19,<br>2016. The summary of that version is repeated here.) Expanding Seniors Receiving Dialysis<br>Choice Act of 2016 or the ESRD Choice Act of 2016 (Sec. 2) This bill amends title XVIII<br>(Medicare) of the Social Security Act to allow individuals with end-stage renal disease<br>(ESRD) to be eligible for Medicare Advantage (MA). Under current law, only individuals who<br>develop ESRD while already enrolled in an MA plan may..."],["To provide for the extension of certain long-term care hospital Medicare payment rules,<br>clarify the application of rules on the calculation of hospital length of stay to certain<br>moratorium-excepted long-term care hospitals, and for other purposes.","HR5713","Sustaining Healthcare Integrity and Fair Treatment Act of 2016 This bill amends titles<br>XVIII (Medicare) and XIX (Medicaid) of the Social Security Act, among other Acts,\u00a0to<br>modify provisions related to long-term care hospital (LTCH) payments under Medicare. (Sec.<br>101) The bill amends the Medicare, Medicaid, and SCHIP Extension Act of 2007 to revise the<br>applicability of\u00a0certain Medicare payment rules exempting LTCHs from negative payment<br>adjustments for admissions from certain co-located hospit..."],["To provide for the extension of the enforcement instruction on supervision requirements<br>for outpatient therapeutic services in critical access and small rural hospitals through<br>2016.","HR5613","Continuing Access to Hospitals Act of 2016 or the CAH Act of 2016 This bill requires the<br>Centers for Medicare\u00a0&amp; Medicaid Services\u00a0to continue to instruct Medicare contractors<br>not to enforce requirements for direct physician supervision of outpatient therapeutic<br>services in critical access and small rural hospitals through 2016. The Medicare Payment<br>Advisory Commission must report on the effect of extending this instruction on:<br>(1)\u00a0Medicare beneficiaries, and (2) hospital staffing needs."],["To amend title 5, United States Code, to postpone the effective date of high-impact rules<br>pending judicial review.","HR3438","(This measure has not been amended since it was reported to the House on September 13,<br>2016. The summary of that version is repeated here.) Require Evaluation before<br>Implementing Executive Wishlists Act of 2016 or the REVIEW Act of 2016 (Sec. 2) This bill<br>prohibits a final agency rule from being published or taking effect until the agency<br>submits the rule to the Office of Information and Regulatory Affairs (OIRA) and the OIRA<br>makes a determination as to whether the rule is a high-impact rule...."],["To require the Secretary of the Treasury to submit a report to the appropriate<br>congressional committees on the estimated total assets under direct or indirect control by<br>certain senior Iranian leaders and other figures, and for other purposes.","HR5461","Iranian Leadership Asset Transparency Act (Sec. 3) This bill requires the Department of<br>the Treasury, in furtherance of efforts to prevent the financing of terrorism, money<br>laundering, or related illicit finance and to make financial institutions' required<br>compliance with remaining sanctions more easily understood, to submit within 270 days and<br>annually thereafter for the next two years a report regarding:   the funds or assets held<br>in U.S. and foreign financial institutions that are directly..."],["To amend the Homeland Security Act of 2002 to establish the major metropolitan area<br>counterterrorism training and exercise grant program, and for other purposes.","HR5859","(This measure has not been amended since it was reported to the House on September 9,<br>2016. The summary of that version is repeated here.) Community Counterterrorism<br>Preparedness Act (Sec. 2) This bill amends the Homeland Security Act of 2002 to require<br>the Department of Homeland Security (DHS) to carry out a grant program for emergency<br>response providers to prevent, prepare for, and respond to the most likely terrorist<br>attack scenarios, including active shooters against major metropolitan ar..."],["To amend title 49, United States Code, to include consideration of certain impacts on<br>commercial space launch and reentry activities in a navigable airspace analysis, and for<br>other purposes.","HR6007","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) (Sec. 1) This bill directs the Department of<br>Transportation (DOT), if it decides that constructing or altering a structure may result<br>in interference with space navigation facilities and equipment, to study the extent of any<br>adverse impact that may result on the safe and efficient use of airspace, facilities, or<br>equipment. In conducting such a study, DOT shall consid..."],["To direct the Secretary of Transportation to provide to the appropriate committees of<br>Congress advance notice of certain announcements, and for other purposes.","HR5977","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) (Sec. 1) This bill directs the Department of<br>Transportation (DOT) to give Congress three full business days' prior notice of any<br>announcement of competitive DOT projects receiving a discretionary grant award, letter of<br>intent, loan, loan guarantee, or line of credit of $750,000 or more. DOT shall also give<br>Congress notice of emergency program fund allocations for t..."],["Providing for consideration of the bill (H.R. 5931) to provide for the prohibition on cash<br>payments to the Government of Iran, and for other purposes, and waiving a requirement of<br>clause 6(a) of rule XIII with respect to consideration of certain resolutions reported<br>from the Committee on Rules.","HRES879","Sets forth the rule for consideration of the bill (H.R. 5931) to provide for the<br>prohibition on cash payments to the Government of Iran, and for other purposes, and<br>waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules."],["To amend the Internal Revenue Code of 1986 to modify the tax treatment of certain equity<br>grants.","HR5719","(This measure has not been amended since it was reported to the House on September 16,<br>2016. The summary of that version is repeated here.) Empowering Employees through Stock<br>Ownership Act  (Sec. 2) This bill amends the Internal Revenue Code to allow an employee to<br>elect to defer, for income tax purposes, income attributable to certain stock transferred<br>to the employee by an employer.  The employee may defer the inclusion of income from the<br>stock until the year that includes the earliest of t..."],["To restrict the inclusion of social security account numbers on documents sent by mail by<br>the Social Security Administration, and for other purposes.","HR5320","(This measure has not been amended since it was reported to the House on July 25, 2016.<br>The summary of that version is repeated here.) Social Security Must Avert Identity Loss<br>(MAIL) Act of 2016 (Sec. 2) This bill amends title II (Old Age, Survivors and Disability<br>Insurance) of the Social Security Act to direct the Social Security Administration to<br>ensure that no document it sends by mail includes a complete Social Security account<br>number unless necessary."],["To amend the Internal Revenue Code of 1986 to exclude from gross income any prizes or<br>awards won in competition in the Olympic Games or the Paralympic Games.","HR5946","(This measure has not been amended since it was reported to the House on September 20,<br>2016. The summary of that version is repeated here.) United States Appreciation for<br>Olympians and Paralympians Act of 2016 (Sec. 2) This bill amends the Internal Revenue Code<br>to exclude from gross income, for income tax purposes, the value\u00a0of any medal awarded or<br>prize money received from the U.S. Olympic Committee on account of competition in the<br>Olympic Games or Paralympic Games. The exclusion does not ap..."],["To amend title 31, United States Code, to prohibit the Internal Revenue Service from<br>carrying out seizures relating to a structuring transaction unless the property to be<br>seized derived from an illegal source or the funds were structured for the purpose of<br>concealing the violation of another criminal law or regulation, to require notice and a<br>post-seizure hearing for such seizures, and for other purposes.","HR5523","(This measure has not been amended since it was reported to the House on September 9,<br>2016. The summary of that version is repeated here.) Clyde-Hirsch-Sowers RESPECT Act or<br>the Restraining Excessive Seizure of Property through the Exploitation of Civil Asset<br>Forfeiture Tools Act  This bill revises the authority and procedures that the Internal<br>Revenue Service (IRS) uses to seize property that has been structured to avoid Bank<br>Secrecy Act (BSA) reporting requirements.  (Sec. 2) The IRS may on..."],["A bill to amend title 31, United States Code, to establish entities tasked with improving<br>program and project management in certain Federal agencies, and for other purposes.","S1550","(This measure has not been amended since it was passed by the House on September 22, 2016.<br>The summary of that version is repeated here.) Program Management Improvement<br>Accountability Act (Sec. 2) This bill establishes as additional functions of the Deputy<br>Director for Management of the Office of Management and Budget (OMB) requirements to:<br>adopt and oversee implementation of government-wide standards, policies, and guidelines<br>for program and project management for executive agencies;   chai..."],["To reauthorize and improve the Juvenile Justice and Delinquency Prevention Act of 1974,<br>and for other purposes.","HR5963","Supporting Youth Opportunity and Preventing Delinquency Act of 2016 This bill amends the<br>Juvenile Justice and Delinquency Prevention Act of 1974 (JJDPA) to modify and reauthorize<br>juvenile justice programs and activities.  Specifically, it:    revises and reauthorizes<br>through FY2022 programs and activities under title II of the JJDPA, including the State<br>Formula Grant Program and the activities of the Department of Justice's Office of Juvenile<br>Justice and Delinquency Prevention (OJJDP);  revis..."],["To provide for the prohibition on cash payments to the Government of Iran, and for other<br>purposes.","HR5931","Prohibiting Future Ransom Payments to Iran Act (Sec. 3) This bill declares that it shall<br>be U.S. policy not to pay ransom or release prisoners for the purpose of securing the<br>release of U.S. citizens taken hostage abroad. (Sec. 4) The U.S. government is prohibited<br>from providing monetary instruments or precious metals to the government of Iran.  The<br>conduct of a transaction or payment in connection with an agreement to settle a claim or<br>claims brought before the Iran-United States Claims Trib..."],["To amend the Controlled Substances Act to clarify how controlled substance analogues are<br>to be regulated, and for other purposes.","HR3537","Dangerous Synthetic Drug Control Act of 2016 (Sec. 2) This bill amends the Controlled<br>Substances Act to add certain synthetic opioids, hallucinogens, and cannabinoids to<br>schedule I. (A schedule I controlled substance is a drug, substance, or chemical that: has<br>a high potential for abuse; has no currently accepted medical value; and is subject to<br>regulatory controls and administrative, civil, and criminal penalties under the Controlled<br>Substances Act.)"],["To direct the Secretary of Veterans Affairs to improve the Veterans Crisis Line.","HR5392","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) No Veterans Crisis Line Call Should Go Unanswered<br>Act (Sec. 2) This bill directs the Department of Veterans Affairs (VA) to develop a<br>quality assurance document for carrying out the toll-free Veterans Crisis Line (VCL),<br>which shall: (1) outline performance indicators and objectives to improve the VCL,<br>including at backup call centers; (2) include time frames to meet ..."],["Providing for consideration of the bill (H.R. 954) to amend the Internal Revenue Code of<br>1986 to exempt from the individual mandate certain individuals who had coverage under a<br>terminated qualified health plan funded through the Consumer Operated and Oriented Plan<br>(CO-OP) program.","HRES893","Sets forth the rule for consideration of the bill (H.R. 954) to amend the Internal Revenue<br>Code of 1986 to exempt from the individual mandate certain individuals who had coverage<br>under a terminated qualified health plan funded through the Consumer Operated and Oriented<br>Plan (CO-OP) program."],["Providing for consideration of the bill (H.R. 5303) to provide for improvements to the<br>rivers and harbors of the United States, to provide for the conservation and development<br>of water and related resources, and for other purposes; providing for consideration of<br>motions to suspend the rules; and waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules.","HRES892","Sets forth the rule for consideration of the bill (H.R. 5303) to provide for improvements<br>to the rivers and harbors of the United States, to provide for the conservation and<br>development of water and related resources, and for other purposes; providing for<br>consideration of motions to suspend the rules; and waiving a requirement of clause 6(a) of<br>rule XIII with respect to consideration of certain resolutions reported from the Committee<br>on Rules."],["To amend the Internal Revenue Code of 1986 to exempt from the individual mandate certain<br>individuals who had coverage under a terminated qualified health plan funded through the<br>Consumer Operated and Oriented Plan (CO-OP) program.","HR954","(This measure has not been amended since it was reported to the House on September 22,<br>2016. The summary of that version is repeated here.) CO-OP Consumer Protection Act of 2016<br>(Sec. 2) This bill amends the Internal Revenue Code to temporarily exempt from penalties<br>for failing to purchase and maintain minimum essential health care coverage individuals<br>whose coverage under a plan offered by a qualified nonprofit health insurance issuer<br>receiving funds through the Consumer Operated and Oriente..."],["A bill to deter terrorism, provide justice for victims, and for other purposes.","S2040","(This measure has not been amended since it was passed by the Senate on May 17, 2016. The<br>summary of that version is repeated here.) Justice Against Sponsors of Terrorism Act (Sec.<br>3) This bill amends the federal judicial code to narrow the scope of foreign sovereign<br>immunity (i.e., a foreign state's immunity from the jurisdiction of U.S. courts).<br>Specifically, it authorizes federal court jurisdiction over a civil claim against a<br>foreign state for physical injury to a person or property or de..."],["Providing for further consideration of the bill (H.R. 5303) to provide for improvements to<br>the rivers and harbors of the United States, to provide for the conservation and<br>development of water and related resources, and for other purposes; providing for<br>consideration of the bill (H.R. 6094) to provide for a 6-month delay in the effective date<br>of a rule of the Department of Labor relating to income thresholds for determining<br>overtime pay for executive, administrative, professional, outside sales, and computer<br>employees; and providing for proceedings during the period from September 29, 2016,<br>through November 11, 2016.","HRES897","Sets forth the rule for consideration of H.R. 5303 (Water Resources Development Act of<br>2016) and H.R. 6094 (Regulatory Relief for Small Businesses, Schools, and Nonprofits Act)."],["A bill to designate the community-based outpatient clinic of the Department of Veterans<br>Affairs in Pueblo, Colorado, as the \"PFC James Dunn VA Clinic\".","S3283","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) (Sec. 1) This bill designates the Department of<br>Veterans Affairs community-based outpatient clinic in Pueblo, Colorado, as the \"PFC James<br>Dunn VA Clinic.\""],["To provide for improvements to the rivers and harbors of the United States, to provide for<br>the conservation and development of water and related resources, and for other purposes.","HR5303","Highlights: This bill revises or authorizes U.S. Army Corps of Engineers water resources<br>development projects, feasibility studies, and relationships with nonfederal project<br>sponsors. It\u00a0establishes a process to deauthorize projects with an aggregate estimated<br>federal cost to complete of at least $10 billion.  It sets forth requirements concerning:\u00a0<br>harbor operations and maintenance, emerging harbors, donor ports, and energy transfer<br>ports;  navigation and flood management projects;  reservo..."],["To provide for a 6-month delay in the effective date of a rule of the Department of Labor<br>relating to income thresholds for determining overtime pay for executive, administrative,<br>professional, outside sales, and computer employees.","HR6094","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Regulatory Relief for Small Businesses, Schools,<br>and Nonprofits Act (Sec. 2) This bill postpones from December 1, 2016, until June 1, 2017,<br>the effective date of a final rule of the Department of Labor (81 Fed. Reg. 32552 [May 23,<br>2016]) revising income thresholds for determining overtime pay for executive,<br>administrative, professional, outside sales, and computer..."],["To enable concrete masonry products manufacturers to establish, finance, and carry out a<br>coordinated program of research, education, and promotion to improve, maintain, and<br>develop markets for concrete masonry products.","HR985","Concrete Masonry Products Research, Education, and Promotion Act of 2015  (Sec. 4) This<br>bill directs the Department of Commerce to issue orders applicable to manufacturers of<br>concrete masonry products.  An order regarding the generic research, education, and<br>promotion of concrete masonry products may be:  proposed by Commerce at any time, or<br>requested (and submitted to Commerce) by an existing national organization of concrete<br>masonry product manufacturers or any person that may be affected b..."],["To reauthorize the Iran Sanctions Act of 1996.","HR6297","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Iran Sanctions Extension Act (Sec. 2) This bill<br>extends the Iran Sanctions Act of 1996 through December 31, 2026."],["Urging respect for the constitution of the Democratic Republic of the Congo in the<br>democratic transition of power in 2016.","HRES780","The United States should impose sanctions on government officials of the Democratic<br>Republic of the Congo (DRC) who impede progress toward a democratic transition through<br>credible elections that respect the will of the DRC people. Sanctions should target core<br>figures in President Kabila's government for visa denials and asset freezes.  Economic and<br>security assistance should be reviewed for possible termination, while preserving<br>humanitarian assistance, until the election crisis is resolved. ..."],["Providing for consideration of the bill (H.R. 5711) to prohibit the Secretary of the<br>Treasury from authorizing certain transactions by a U.S. financial institution in<br>connection with the export or re-export of a commercial passenger aircraft to the Islamic<br>Republic of Iran; providing for consideration of the bill (H.R. 5982) to amend chapter 8<br>of title 5, United States Code, to provide for en bloc consideration in resolutions of<br>disapproval for \"midnight rules\", and for other purposes; and providing for proceedings<br>during the period from November 18, 2016, through November 28, 2016.","HRES921","Sets forth the rule for consideration of the bill (H.R. 5711) to prohibit the Secretary of<br>the Treasury from authorizing certain transactions by a U.S. financial institution in<br>connection with the export or re-export of a commercial passenger aircraft to the Islamic<br>Republic of Iran; providing for consideration of the bill (H.R. 5982) to amend chapter 8<br>of title 5, United States Code, to provide for en bloc consideration in resolutions of<br>disapproval for \"midnight rules\", and for other purpos..."],["To amend chapter 8 of title 5, United States Code, to provide for en bloc consideration in<br>resolutions of disapproval for \"midnight rules\", and for other purposes.","HR5982","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Midnight Rules Relief Act of 2016 (Sec. 2) This<br>bill amends the Congressional Review Act to allow Congress to consider a joint resolution<br>to disapprove multiple regulations that federal agencies have submitted for congressional<br>review within the last 60 legislative days of a session of Congress during the final year<br>of a President's term. Congress may disapprove a ..."],["To prohibit the Secretary of the Treasury from authorizing certain transactions by a U.S.<br>financial institution in connection with the export or re-export of a commercial passenger<br>aircraft to the Islamic Republic of Iran.","HR5711","No U.S. Financing for Iran Act TITLE I--IRAN FINANCING PROHIBITION (Sec. 101) This bill<br>prohibits the Department of the Treasury from authorizing U.S. financial institution<br>transactions in connection with the export or re-export of commercial passenger aircraft<br>to the Islamic Republic of Iran. (Sec. 102) Any transaction authorized by Treasury before<br>enactment of this bill is revoked. TITLE II--NO EX-IM ASSISTANCE FOR TERRORISM  No Ex-Im<br>Assistance for Terrorism Act (Sec. 202) This bill amends..."],["To ensure funding for the National Human Trafficking Hotline, and for other purposes.","HR5422","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill amends the Victims of<br>Trafficking and Violence Protection Act of 2000 to eliminate the provision that specifies<br>that Department of Health and Human Services national human trafficking hotline grants be<br>funded by amounts made available to the Department of Justice for trafficking victim<br>services grants."],["To amend title 38, United States Code, to expand the eligibility for headstones, markers,<br>and medallions furnished by the Secretary of Veterans Affairs for deceased individuals who<br>were awarded the Medal of Honor and are buried in private cemeteries.","HR4757","(Sec. 1) This bill directs the Department of Veterans Affairs (VA) to furnish at a private<br>cemetery, and upon request, a headstone, marker, or medallion that signifies the status of<br>an eligible veteran who served in the Armed Forces on or after April 6, 1917, as a Medal<br>of Honor recipient. If the VA furnished a headstone, marker, or medallion for a deceased<br>veteran that does not signify his or her status as a Medal of Honor recipient, the VA<br>shall upon request replace that headstone, marker, ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 34) to authorize and<br>strengthen the tsunami detection, forecast, warning, research, and mitigation program of<br>the National Oceanic and Atmospheric Administration, and for other purposes, and providing<br>for consideration of the bill (H.R. 6392) to amend the Dodd-Frank Wall Street Reform and<br>Consumer Protection Act to specify when bank holding companies may be subject to certain<br>enhanced supervision, and for other purposes.","HRES934","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 34) to<br>authorize and strengthen the tsunami detection, forecast, warning, research, and<br>mitigation program of the National Oceanic and Atmospheric Administration, and for other<br>purposes, and providing for consideration of the bill (H.R. 6392) to amend the Dodd-Frank<br>Wall Street Reform and Consumer Protection Act to specify when bank holding companies may<br>be subject to certain enhanced supervision."],["To direct the Secretary of Veterans Affairs and the Secretary of Labor to provide<br>information to veterans and members of the Armed Forces about articulation agreements<br>between institutions of higher learning, and for other purposes.","HR5047","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Protecting Veterans' Educational Choice Act of<br>2016 (Sec. 2) This bill requires Department of Veterans Affairs (VA) counselors who<br>provide specified educational or vocational counseling services to provide a requesting<br>veteran or member of the Armed Forces with information about the articulation agreements<br>(agreements governing the transferability of credits toward..."],["To authorize appropriations for fiscal year 2017 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR6393","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Intelligence Authorization Act for Fiscal Year<br>2017 TITLE I--INTELLIGENCE ACTIVITIES  (Sec. 101) This bill authorizes FY2017<br>appropriations for the conduct of intelligence and intelligence-related activities of:<br>the Office of the Director of National Intelligence (ODNI);  the Central Intelligence<br>Agency (CIA);  the Department of Defense (DOD);  the Defense Intel..."],["Providing amounts for further expenses of the Committee on Energy and Commerce in the One<br>Hundred Fourteenth Congress.","HRES933","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Provides amounts for the expenses of the House Committee on Energy and<br>Commerce for the 114th Congress."],["Providing for consideration of the conference report to accompany the bill (S. 2943) to<br>authorize appropriations for fiscal year 2017 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HRES937","Sets forth the rule for consideration of the conference report to accompany the bill (S.<br>2943) to authorize appropriations for fiscal year 2017 for military activities of the<br>Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year."],["To amend the Dodd-Frank Wall Street Reform and Consumer Protection Act to specify when<br>bank holding companies may be subject to certain enhanced supervision, and for other<br>purposes.","HR6392","Systemic Risk Designation Improvement Act of 2016   (Sec. 3) This bill amends the Dodd-<br>Frank Wall Street Reform and Consumer Protection Act to authorize the Financial Stability<br>Oversight Council (FSOC) to subject a bank holding company to enhanced supervision and<br>prudential standards by the Board of Governors of the Federal Reserve System if FSOC makes<br>a final determination that material financial distress at the bank holding company, or the<br>nature, scope, size, scale, concentration, intercon..."],["To restore amounts improperly withheld for tax purposes from severance payments to<br>individuals who retired or separated from service in the Armed Forces for combat-related<br>injuries, and for other purposes.","HR5015","Combat-Injured Veterans Tax Fairness Act of 2016 (Sec. 3) This bill directs the Department<br>of Defense (DOD), within one year after enactment of this bill, to identify:   certain<br>disability severance payments that were not considered gross income to veterans with<br>combat-related injuries paid after January 17, 1991, from which DOD withheld amounts for<br>tax purposes, and  the individuals to whom such severance payments were made.   DOD shall<br>provide each such veteran with: (1) notice of the amoun..."],["To improve the operation of United States capital markets, and for other purposes.","HR6427","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Creating Financial Prosperity for Businesses and<br>Investors Act TITLE I--SMALL BUSINESS CAPITAL FORMATION ENHANCEMENT (Sec. 101) This bill<br>amends the Small Business Investment Incentive Act of 1980 to require the Securities and<br>Exchange Commission (SEC) to issue a public statement, and disclose any actions it intends<br>to take, each time its annual government-busines..."],["An original bill to authorize the Department of State for fiscal year 2016, and for other<br>purposes.","S1635"," Department of State Authorities Act, Fiscal Year 2017 TITLE I--EMBASSY SECURITY AND<br>PERSONNEL PROTECTION  Subtitle A--Review and Planning Requirements (Sec. 101) This bill<br>amends the Omnibus Diplomatic Security and Antiterrorism Act of 1986 to direct the<br>Department of State to: (1) submit a list to Congress of diplomatic and consular posts<br>designated as high risk, high threat posts; (2) determine if a post should be so<br>designated before its opening or reopening; (3) regularly review existing..."],["To amend title 38, United States Code, to make certain improvements in the laws<br>administered by the Secretary of Veterans Affairs, and for other purposes.","HR6416","Jeff Miller and Richard Blumenthal Veterans Health Care and Benefits Improvement Act of<br>2016  TITLE I--DISABILITY COMPENSATION MATTERS (Sec. 101) This bill authorizes the<br>Department of Veterans Affairs (VA) to pay burial and funeral expenses, accrued benefits,<br>dependency and indemnity compensation, and non-service connected disability or death<br>pension amounts to a survivor of a veteran who has not filed a formal claim if the record<br>contains sufficient evidence to establish the survivor's enti..."],["Impeaching John Andrew Koskinen, Commissioner of the Internal Revenue Service, for high<br>crimes and misdemeanors.","HRES828","Resolves that John Andrew Koskinen, Commissioner of the Internal Revenue Service (IRS), is<br>impeached for high crimes and misdemeanors and that specified articles of impeachment be<br>exhibited to the Senate. Sets forth articles of impeachment specifying that John Andrew<br>Koskinen, in his conduct while Commissioner of the IRS:    engaged in a pattern of conduct<br>that is incompatible with his duties as an officer of the United States by failing to<br>respond to lawfully issued congressional subpoenas, ..."],["Providing for consideration of the bill (H.R. 5143) to provide greater transparency and<br>congressional oversight of international insurance standards setting processes, and for<br>other purposes; providing for proceedings during the period from December 9, 2016, through<br>January 3, 2017; and providing for consideration of motions to suspend the rules.","HRES944","Sets forth the rule for consideration of the bill (H.R. 5143) to provide greater<br>transparency and congressional oversight of international insurance standards setting<br>processes, and for other purposes; providing for proceedings during the period from<br>December 9, 2016, through January 3, 2017; and providing for consideration of motions to<br>suspend the rules."],["To authorize the Secretary of the Interior to convey certain land and appurtenances of the<br>Arbuckle Project, Oklahoma, to the Arbuckle Master Conservancy District, and for other<br>purposes.","HR1219","(This measure has not been amended since it was reported to the House on November 29,<br>2016. The summary of that version is repeated here.) Arbuckle Project Maintenance Complex<br>and District Office Conveyance Act of 2016 (Sec. 2) This bill requires the Department of<br>the Interior to convey to the Arbuckle Master Conservancy District in Murray County,<br>Oklahoma, all U.S. interest in the Maintenance Complex and District Office, Arbuckle<br>Project, Oklahoma, consistent with the Agreement between the U..."],["To provide greater transparency and congressional oversight of international insurance<br>standards setting processes, and for other purposes.","HR5143","Transparent Insurance Standards Act of 2016 (Sec. 3) This bill specifies U.S. objectives<br>regarding international insurance standards. (Sec. 4) The United States may not agree to,<br>accept, establish, enter into, or consent to the adoption of a final international<br>insurance standard with an international standard-setting organization or a foreign<br>government, authority, or regulatory entity unless certain public notice-and-comment<br>requirements and capital standards are met. In the case of an inte..."],["To require the Administrator of the National Aeronautics and Space Administration to<br>establish a program for the medical monitoring, diagnosis, and treatment of astronauts,<br>and for other purposes.","HR6076","To Research, Evaluate, Assess, and Treat Astronauts Act or the TREAT Astronauts Act (Sec.<br>3) This bill authorizes the National Aeronautics and Space Administration (NASA) to<br>provide for:  the medical monitoring and diagnosis of a former U.S. government astronaut<br>or former payload specialist for conditions that NASA considers potentially associated<br>with human space flight; and  the treatment of such an astronaut or payload specialist for<br>conditions that NASA considers associated with human spa..."],["A bill to authorize the National Urban Search and Rescue Response System.","S2971","(This measure has not been amended since it was passed by the House on December 7, 2016.<br>The summary of that version is repeated here.) National Urban Search and Rescue Response<br>System Act of 2016 (Sec. 2) This bill amends the Robert T. Stafford Disaster Relief and<br>Emergency Assistance Act to direct the Federal Emergency Management Agency (FEMA) to: (1)<br>continue to administer the National Urban Search and Rescue Response System; (2) provide<br>for a national network of standardized search and re..."],["To provide adequate protections for whistleblowers at the Federal Bureau of Investigation.","HR5790","Federal Bureau of Investigation Whistleblower Protection Enhancement Act of 2016 (Sec. 2)<br>This bill revises a provision with respect to whistle-blower protections for a Federal<br>Bureau of Investigation (FBI) employee or job applicant who discloses wrongdoing to an<br>appropriate official. It prohibits an FBI employee from taking or failing to take a<br>personnel action (e.g., demotion) with respect to an FBI employee or applicant because of<br>a protected disclosure. A protected disclosure is a disclos..."],["Providing for consideration of the Senate amendment to the bill (H.R. 2028) making<br>appropriations for energy and water development and related agencies for the fiscal year<br>ending September 30, 2016, and for other purposes, and providing for consideration of the<br>bill (S. 612) to designate the Federal building and United States courthouse located at<br>1300 Victoria Street in Laredo, Texas, as the \"George P. Kazen Federal Building and United<br>States Courthouse\".","HRES949","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 2028)<br>making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2016, and for other purposes, and providing for consideration of<br>the bill (S. 612) to designate the Federal building and United States courthouse located<br>at 1300 Victoria Street in Laredo, Texas, as the \"George P. Kazen Federal Building and<br>United States Courthouse\"."],["To amend the Violent Crime Control and Law Enforcement Act of 1994, to reauthorize the<br>Missing Alzheimer's Disease Patient Alert Program, and to promote initiatives that will<br>reduce the risk of injury and death relating to the wandering characteristics of some<br>children with autism.","HR4919","Kevin and Avonte's Law of 2016 TITLE I--MISSING ALZHEIMER'S DISEASE PATIENT ALERT PROGRAM<br>REAUTHORIZATION Missing Americans Alert Program Act of 2016 (Sec. 102) This bill amends<br>the Violent Crime Control and Law Enforcement Act of 1994 to revise and rename the Missing<br>Alzheimer's Disease Patient Alert Program as the Missing Americans Alert Program and to<br>reauthorize it through FY2021. It directs the Department of Justice's (DOJ's) Bureau of<br>Justice Assistance (BJA) to award competitive grants..."],["A bill to designate the Federal building and United States courthouse located at 1300<br>Victoria Street in Laredo, Texas, as the \"George P. Kazen Federal Building and United<br>States Courthouse\".","S612","Water Infrastructure Improvements for the Nation Act or the WIIN Act TITLE I--WATER<br>RESOURCES DEVELOPMENT Water Resources Development Act of 2016 Subtitle A--General<br>Provisions (Sec. 1101) This bill requires the U.S. Army Corps of Engineers to enter<br>cooperative agreements with youth service and conservation corps organizations for<br>services on Corps projects. (Sec. 1102) The Corps of Engineers must use its existing<br>channel depths and dimensions authority under the Rivers and Harbors Appropriat..."],["A bill to amend section 2259 of title 18, United States Code, and for other purposes.","S295","Amy and Vicky Child Pornography Victim Restitution Improvement Act of 2015  (Sec. 3)<br>Amends the federal criminal code to expand the definition of \"full amount of the victim's<br>losses\" for purposes of provisions governing mandatory restitution of victims of offenses<br>involving sexual exploitation and other abuse of children to include medical services,<br>physical and occupational therapy or rehabilitation, and lost income for the victim's<br>lifetime, as well as any losses suffered by the victim from..."],["A bill to prohibit funds from being used to carry out certain Executive actions related to<br>immigration and for other purposes.","S534","Immigration Rule of Law Act of 2015 This bill prohibits the use of any funds made<br>available to the Secretary of Homeland Security (DHS) or to any other federal official,<br>including deposits into the Immigration Examinations Fee Account, to carry out any of the<br>policy changes set forth in the following memoranda dated either November 20 or November<br>21, 2014 (or any substantially similar policy changes issued or taken on or after January<br>9, 2015):   Southern Border and Approaches Campaign;  Poli..."],["A concurrent resolution stating the policy of the United States regarding the release of<br>United States citizens in Iran.","SCONRES16","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) States that it is U.S. policy that: (1) the government of the Islamic<br>Republic of Iran should immediately release Saeed Abedini, Amir Hekmati, and Jason<br>Rezaian, and cooperate with the U.S. government to locate and return Robert Levinson; and<br>(2) the U.S. government should undertake every effort using every diplomatic tool at its<br>disposal to secure their release."],["A bill to extend authority relating to roving surveillance, access to business records,<br>and individual terrorists as agents of foreign powers under the Foreign Intelligence<br>Surveillance Act of 1978 until July 31, 2015, and for other purposes.","S1357","Amends the USA PATRIOT Improvement and Reauthorization Act of 2005 and the Intelligence<br>Reform and Terrorism Prevention Act of 2004 to extend until July 31, 2015, expiring<br>provisions of the Foreign Intelligence Surveillance Act of 1978 (FISA) concerning: (1)<br>FISA court orders approving roving electronic surveillance, (2) requests for FISA court<br>orders that allow the government to require the production of business records and other<br>tangible things for foreign intelligence and international te..."],["A bill to prohibit Federal funding of Planned Parenthood Federation of America.","S1881","This bill prohibits federal funding of Planned Parenthood Federation of America or its<br>affiliates, subsidiaries, successors, or clinics."],["Amending the Internal Revenue Code of 1986 to exempt employees with health coverage under<br>TRICARE or the Veterans Administration from being taken into account for purposes of<br>determining the employers to which the employer mandate applies under the Patient<br>Protection and Affordable Care Act.","HJRES61","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Hire More Heroes Act of 2015 (Sec. 2) This joint<br>resolution amends the Internal Revenue Code to exempt any employee with coverage under a<br>health care program administered by the Department of Defense, including the TRICARE<br>program, or\u00a0by\u00a0the Department of Veterans Affairs from classification as an eligible<br>employee of an applicable large employer for purposes of t..."],["A bill to hold sanctuary jurisdictions accountable for defying Federal law, to increase<br>penalties for individuals who illegally reenter the United States after being removed, and<br>to provide liability protection for State and local law enforcement who cooperate with<br>Federal law enforcement and for other purposes.","S2146","Stop Sanctuary Policies and Protect Americans Act This bill prohibits a sanctuary<br>jurisdiction from receiving grants under the State Criminal Alien Assistance Program, the<br>Community Oriented Policing Services Program, and the Community Development Block Grant<br>Program. A sanctuary jurisdiction is a state or political subdivision that has a policy or<br>practice in effect that: (1) prohibits or restricts information sharing about an<br>individual's immigration status, or (2) prohibits compliance with..."],["An original bill to improve cybersecurity in the United States through enhanced sharing of<br>information about cybersecurity threats, and for other purposes.","S754","Highlights: This bill requires the Director of National Intelligence and the Departments<br>of Homeland Security (DHS), Defense, and Justice to develop procedures to share<br>cybersecurity threat information with private entities, nonfederal government agencies,<br>state, tribal, and local governments, the public, and entities under\u00a0threats. To detect,<br>prevent, or mitigate cybersecurity threats or security vulnerabilities, private entities<br>may monitor and operate defensive measures on: (1) their own i..."],["A bill to require the Secretary of the Army and the Administrator of the Environmental<br>Protection Agency to propose a regulation revising the definition of the term \"waters of<br>the United States\", and for other purposes.","S1140","Federal Water Quality Protection Act (Sec. 2) This bill states as the policy of the<br>Federal Water Pollution Control Act (commonly known as the Clean Water Act) cooperative<br>federalism and consultation with states in the protection of water resources.  (Sec. 3)<br>The bill defines new terms used in this bill, including \"body of water,\" \"interstate<br>waters,\" \"traditional navigable water,\" and \"wetlands\". (Sec. 4) The bill nullifies a<br>revision to or guidance on a regulatory definition of the term \"na..."],["A bill to require a full audit of the Board of Governors of the Federal Reserve System and<br>the Federal reserve banks by the Comptroller General of the United States, and for other<br>purposes.","S2232","Federal Reserve Transparency Act of 2015   This bill directs the Government Accountability<br>Office to: (1) commence and complete an audit of the Board of Governors of the Federal<br>Reserve System and of the Federal Reserve Banks within 12 months of enactment of this Act,<br>and (2) report findings and conclusions to Congress within 90 days of completing the<br>audit. The bill also repeals certain limitations upon such an audit."],["A resolution relating to the death of Antonin Scalia, Associate Justice of the Supreme<br>Court of the United States.","SRES374","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Acknowledges the lifetime of service of Antonin Scalia, Associate Justice<br>of the U.S. Supreme Court. Commends his 29-year tenure on the Court and extends sympathy<br>to his family and friends on his death. ."],["A joint resolution relating to the disapproval of the proposed foreign military sale to<br>the Government of Pakistan of F-16 Block 52 aircraft.","SJRES31","This joint resolution prohibits the issuance of a letter of offer with respect to any of<br>the following proposed sales to Pakistan in Transmittal Numbered 15-80, including related<br>defense articles and defense services:   8 F-16 Block 52 aircraft (2 C and 6 D models)<br>with the Fl00-PW-229 increased performance engine, 14 Joint Helmet Mounted Cueing Systems,<br>8 AN/APG-68(V)9 radars, and  8 ALQ-211(V)9 Advanced Integrated Defensive Electronic<br>Warfare Suites."],["An original resolution directing the Senate Legal Counsel to bring a civil action to<br>enforce a subpoena of the Permanent Subcommittee on Investigations.","SRES377","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Directs the Senate Legal Counsel to:  bring a civil action in the name of<br>the Senate Permanent Subcommittee on Investigations to enforce the subpoena issued to Carl<br>Ferrer, Chief Executive Officer of Backpage.com, LLC; and conduct all related civil<br>contempt proceedings."],["A bill to reauthorize certain programs established by the Adam Walsh Child Protection and<br>Safety Act of 2006.","S2613","Adam Walsh Reauthorization Act of 2016 (Sec. 2) This bill amends the Sex Offender<br>Registration and Notification Act to reauthorize through FY2018 the Sex Offender<br>Management Assistance program and the Jessica Lunsford Address Verification Grant program.<br>(Sec. 3) Additionally, it reauthorizes appropriations through FY2018 for the U.S. Marshals<br>Service to locate and apprehend sex offenders who violate sex offender registration<br>requirements. (Sec. 4) The bill amends the federal criminal code to ..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Secretary of Agriculture relating to<br>inspection of fish of the order Siluriformes.","SJRES28","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution disapproves and nullifies a Department of<br>Agriculture rule published on December 2, 2015, to establish a mandatory inspection<br>program for fish of the order Siluriformes, including catfish and products derived from<br>the fish."],["A bill to reauthorize and amend the National Sea Grant College Program Act, and for other<br>purposes.","S2328","(This measure has not been amended since it was passed by the House on June 9, 2016. The<br>summary of that version is repeated here.) Puerto Rico Oversight, Management, and Economic<br>Stability Act or PROMESA  This bill addresses Puerto Rico's debt by establishing an<br>oversight board, a process for restructuring debt, and expedited procedures for approving<br>critical infrastructure projects.  (Sec. 2) The effective date of this bill is the date of<br>enactment. Title III (Adjustments of Debts) only app..."],["A bill to ensure that State and local law enforcement may cooperate with Federal officials<br>to protect our communities from violent criminals and suspected terrorists who are<br>illegally present in the United States.","S3100","Stop Dangerous Sanctuary Cities Act This bill prohibits a sanctuary jurisdiction from<br>receiving grants under certain Economic Development Assistance Programs and the Community<br>Development Block Grant Program. A sanctuary jurisdiction is a state or political<br>subdivision that has a statute, policy, or practice in effect that prohibits or restricts:<br>(1) information sharing about an individual's immigration status, or (2) compliance with a<br>lawfully issued detainer request or notification of relea..."],["A bill to amend the Immigration and Nationality Act to increase penalties for individuals<br>who illegally reenter the United States after being removed and for other purposes.","S2193","Stop Illegal Reentry Act or Kate's Law This bill amends the Immigration and Nationality<br>Act to increase from two years to five years the maximum prison term for an alien who<br>reenters after being denied admission, excluded, deported, or removed.  It establishes:<br>a 10-year maximum prison term for an alien who reenters after being denied admission,<br>excluded, deported, or removed on 3 or more prior occasions; and  a 5-year mandatory<br>minimum prison term for an alien who reenters after being remo..."],["A bill to provide for the conservation and development of water and related resources, to<br>authorize the Secretary of the Army to construct various projects for improvements to<br>rivers and harbors of the United States, and for other purposes.","S2848","Water Resources Development Act of 2016 TITLE I--PROGRAM REFORMS (Sec. 1001) This bill<br>amends the Water Resources Development Act of 1986 (WRDA 1986) to allow the U.S. Army<br>Corps of Engineers to provide technical assistance to nonfederal interests for feasibility<br>studies of proposed water resources development projects if the nonfederal interest<br>contracts to pay the costs of such assistance.  (Sec. 1002) The Corps of Engineers may<br>receive and repay funds from states or political subdivisions ..."],["To amend title 38, United States Code, to extend certain expiring provisions of law<br>administered by the Secretary of Veterans Affairs, and for other purposes.","HR5985","(This measure has not been amended since it was passed by the House on September 13, 2016.<br>The summary of that version is repeated here.) Department of Veterans Affairs Expiring<br>Authorities Act of 2016 This bill extends specified Department of Veterans Affairs (VA)<br>programs. TITLE I--EXTENSIONS OF AUTHORITY RELATING TO HEALTH CARE  (Sec. 101) Authority<br>for collection of copayments for hospital care and nursing home care is extended through<br>FY2017.  (Sec. 102) The requirement to provide nursin..."],["A joint resolution relating to the disapproval of the proposed foreign military sale to<br>the Government of the Kingdom of Saudi Arabia of M1A1/A2 Abrams Tank structures and other<br>major defense equipment.","SJRES39","This joint resolution prohibits the issuance of a letter of offer with respect to proposed<br>sales to the government of Saudi Arabia of 153 M1A1/A2 Abrams Tank structures and<br>specified other defense equipment and ammunition."],["To amend the Veterans' Oral History Project Act to allow the collection of video and audio<br>recordings of biographical histories by immediate family members of members of the Armed<br>Forces who died as a result of their service during a period of war.","HR4511","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Gold Star Families Voices Act (Sec. 2) This bill<br>amends the Veterans' Oral History Project Act to require the veterans oral history program<br>to include the collection of video and audio recordings of biographical histories by<br>immediate family members of members of the Armed Forces who became missing in action or<br>who died as a result of their wartime service."],["A bill to provide for reforms of the administration of the outer Continental Shelf of the<br>United States, to provide for the development of geothermal, solar, and wind energy on<br>public land, and for other purposes.","S3110","American Energy and Conservation Act of 2016  The bill amends the Gulf of Mexico Energy<br>Security Act of 2006 to increase the revenue Gulf states (Texas, Louisiana, Mississippi,<br>and Alabama) receive for energy projects by removing the $500 million cap for<br>FY2027-FY2055.Beginning in FY2027, the bill increases the percentage of federal revenues<br>that Alaska and the Atlantic states (Virginia, North Carolina, South Carolina, and<br>Georgia) receive from offshore energy projects.  The bill amends the M..."],["A bill to require studies and reports examining the use of, and opportunities to use,<br>technology-enabled collaborative learning and capacity building models to improve programs<br>of the Department of Health and Human Services, and for other purposes.","S2873","(This measure has not been amended since it was passed by the Senate on November 29, 2016.<br>The summary of that version is repeated here.) Expanding Capacity for Health Outcomes Act<br>or the ECHO Act (Sec. 3) This bill requires the Department of Health and Human Services<br>(HHS) to report on technology-enabled collaborative learning and capacity building models,<br>which connect specialists to primary care providers through videoconferencing to<br>facilitate case-based learning, dissemination of best pr..."],["Adopting rules for the One Hundred Fifteenth Congress.","HRES5","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Adopts the Rules of the House of Representatives<br>for the 114th Congress as the Rules for the 115th Congress, with amendments. (Sec. 2)<br>Directs the Sergeant-at-Arms to impose a fine against a Member, Delegate, or Resident<br>Commissioner for use of an electronic device for still photography or for audio or visual<br>recording or broadcasting in contravention of clause 5 ..."],["To amend chapter 8 of title 5, United States Code, to provide for en bloc consideration in<br>resolutions of disapproval for \"midnight rules\", and for other purposes.","HR21","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Midnight Rules Relief Act of 2017 (Sec. 2) This<br>bill amends the Congressional Review Act to allow Congress to consider a joint resolution<br>to disapprove multiple regulations that federal agencies have submitted for congressional<br>review within the last 60 legislative days of a session of Congress during the final year<br>of a President's term. Congress may disapprove a..."],["Providing for consideration of the bill (H.R. 26) to amend chapter 8 of title 5, United<br>States Code, to provide that major rules of the executive branch shall have no force or<br>effect unless a joint resolution of approval is enacted into law, and providing for<br>consideration of the resolution (H. Res. 11) objecting to United Nations Security Council<br>Resolution 2334 as an obstacle to Israeli-Palestinian peace, and for other purposes.","HRES22","Sets forth the rule for consideration of the bill (H.R. 26) to amend chapter 8 of title 5,<br>United States Code, to provide that major rules of the executive branch shall have no<br>force or effect unless a joint resolution of approval is enacted into law, and providing<br>for consideration of the resolution (H. Res. 11) objecting to United Nations Security<br>Council Resolution 2334 as an obstacle to Israeli-Palestinian peace."],["Objecting to United Nations Security Council Resolution 2334 as an obstacle to Israeli-<br>Palestinian peace, and for other purposes.","HRES11","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Expresses the sense of the House of Representatives that the passage of<br>U.N. Security Council Resolution 2334:  undermined the long-standing U.S. position to<br>oppose and veto Security Council resolutions that seek to impose solutions to final status<br>issues or that are one-sided and anti-Israel;  undermines the prospect of Israelis and<br>Palestinians resuming productive, direct negotiations;..."],["To amend chapter 8 of title 5, United States Code, to provide that major rules of the<br>executive branch shall have no force or effect unless a joint resolution of approval is<br>enacted into law.","HR26","Regulations From the Executive in Need of Scrutiny Act of 2017  (Sec. 2) This bill states<br>that its purpose is to increase accountability for and transparency in the federal<br>regulatory process by requiring Congress to approve all new major regulations.  (Sec. 3)<br>The bill revises provisions relating to congressional review of agency rulemaking to<br>require federal agencies promulgating rules to: (1) identify and repeal or amend existing<br>rules to completely offset any annual costs of new rules to ..."],["To amend the Public Health Service Act to distribute maternity care health professionals<br>to health professional shortage areas identified as in need of maternity care health<br>services.","HR315","Improving Access to Maternity Care Act (Sec. 2) This bill amends the Public Health Service<br>Act to require the Health Resources and Services Administration (HRSA) to identify<br>maternity care health professional target areas, which are areas within health<br>professional shortage areas that have a shortage of maternity care health professionals,<br>for purposes of assigning maternity care health professionals to those areas. HRSA must<br>collect and publish data comparing the availability of and need for..."],["To amend the Controlled Substances Act with regard to the provision of emergency medical<br>services.","HR304","Protecting Patient Access to Emergency Medications Act of 2017 (Sec. 2) This bill amends<br>the Controlled Substances Act to direct the Drug Enforcement Administration (DEA) to<br>register an emergency medical services (EMS) agency to administer controlled substances if<br>the agency submits an application demonstrating that it is authorized to conduct such<br>activity in the state in which the agency practices. The DEA may deny an application if it<br>determines that the registration is inconsistent with t..."],["Providing for consideration of the bill (H.R. 5) to reform the process by which Federal<br>agencies analyze and formulate new regulations and guidance documents, to clarify the<br>nature of judicial review of agency interpretations, to ensure complete analysis of<br>potential impacts on small entities of rules, and for other purposes, and providing for<br>consideration of the bill (H.R. 79) to clarify the definition of general solicitation<br>under Federal securities law.","HRES33","Sets forth the rule for consideration of the bill (H.R. 5) to reform the process by which<br>Federal agencies analyze and formulate new regulations and guidance documents, to clarify<br>the nature of judicial review of agency interpretations, to ensure complete analysis of<br>potential impacts on small entities of rules, and for other purposes, and providing for<br>consideration of the bill (H.R. 79) to clarify the definition of general solicitation<br>under Federal securities law."],["To clarify the definition of general solicitation under Federal securities law.","HR79","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Helping Angels Lead Our Startups Act or the HALOS<br>Act (Sec. 3) This bill directs the Securities and Exchange Commission (SEC) to revise<br>Regulation D, which exempts certain offerings from SEC registration requirements but<br>prohibits general solicitation or general advertising with respect to such offerings.<br>Specifically, this prohibition shall not apply to events wi..."],["Providing for consideration of the bill (H.R. 78) to improve the consideration by the<br>Securities and Exchange Commission of the costs and benefits of its regulations and<br>orders; providing for consideration of the bill (H.R. 238) to reauthorize the Commodity<br>Futures Trading Commission, to better protect futures customers, to provide end-users with<br>market certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end-users manage risks, to help keep consumer<br>costs low, and for other purposes; and for other purposes.","HRES40","Sets forth the rule for consideration of the bill (H.R. 78) to improve the consideration<br>by the Securities and Exchange Commission of the costs and benefits of its regulations and<br>orders; providing for consideration of the bill (H.R. 238) to reauthorize the Commodity<br>Futures Trading Commission, to better protect futures customers, to provide end-users with<br>market certainty, to make basic reforms to ensure transparency and accountability at the<br>Commission, to help farmers, ranchers, and end-us..."],["To amend title 5, United States Code, to codify the Presidential Innovation Fellows<br>Program, and for other purposes.","HR39","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Tested Ability to Leverage Exceptional National<br>Talent Act of 2017 or the TALENT Act of 2017  (Sec. 2) This bill codifies provisions<br>establishing the Presidential Innovation Fellows Program (originally established pursuant<br>to Executive Order 13704) to encourage successful entrepreneurs, executives, and<br>innovators to join the government and work in close cooperation w..."],["To reform the process by which Federal agencies analyze and formulate new regulations and<br>guidance documents, to clarify the nature of judicial review of agency interpretations, to<br>ensure complete analysis of potential impacts on small entities of rules, and for other<br>purposes.","HR5","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Regulatory Accountability Act of 2017 TITLE I--<br>REGULATORY ACCOUNTABILITY ACT Regulatory Accountability Act (Sec. 103) This bill revises<br>federal rulemaking procedures under the Administrative Procedure Act (APA) to require a<br>federal agency to make all preliminary and final factual determinations based on evidence<br>and to consider: (1) the legal authority under which..."],["To improve the consideration by the Securities and Exchange Commission of the costs and<br>benefits of its regulations and orders.","HR78","SEC Regulatory Accountability Act (Sec. 2) This bill amends the Securities Exchange Act of<br>1934 to direct the Securities and Exchange Commission (SEC) to:  before issuing a<br>regulation under the securities laws, identify the nature and source of the problem that<br>the proposed regulation is designed to address;  adopt a regulation\u00a0only upon a reasoned<br>determination that its benefits justify its costs;  identify and assess available<br>alternatives to any regulation; and  ensure that any regulation ..."],["To reauthorize the Commodity Futures Trading Commission, to better protect futures<br>customers, to provide end-users with market certainty, to make basic reforms to ensure<br>transparency and accountability at the Commission, to help farmers, ranchers, and end-<br>users manage risks, to help keep consumer costs low, and for other purposes.","HR238","Commodity End User Relief Act This bill reauthorizes through FY2021, and otherwise revises<br>provisions related to, operations of the Commodity Futures Trading Commission (CFTC). The<br>CFTC is authorized to require that certain property of the bankruptcy estate of a<br>commodity broker who is a debtor in Chapter 7 bankruptcy (also known as \"liquidation\"<br>bankruptcy) be included in customer property to the extent that such property is<br>insufficient to satisfy the net equity claims of the broker's publi..."],["Providing for consideration of the concurrent resolution (S. Con. Res. 3) setting forth<br>the congressional budget for the United States Government for fiscal year 2017 and setting<br>forth the appropriate budgetary levels for fiscal years 2018 through 2026, and providing<br>for consideration of the bill (S. 84) to provide for an exception to a limitation against<br>appointment of persons as Secretary of Defense within seven years of relief from active<br>duty as a regular commissioned officer of the Armed Forces.","HRES48","Sets forth the rule for consideration of the concurrent resolution (S. Con. Res. 3)<br>setting forth the congressional budget for the United States Government for fiscal year<br>2017 and setting forth the appropriate budgetary levels for fiscal years 2018 through<br>2026, and providing for consideration of the bill (S. 84) to provide for an exception to a<br>limitation against appointment of persons as Secretary of Defense within seven years of<br>relief from active duty as a regular commissioned officer of..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2017 and setting forth the appropriate budgetary levels for<br>fiscal years 2018 through 2026.","SCONRES3","(This measure has not been amended since it was passed by the Senate on January 12, 2017.<br>The summary of that version is repeated here.) Highlights:  This concurrent resolution<br>establishes the FY2017 congressional budget resolution, which provides a framework for<br>congressional consideration of revenue, spending, and other budget-related legislation.<br>The budget resolution is a nonbinding framework used by Congress and cannot be signed into<br>law or vetoed by the President.  The resolution establ..."],["A bill to provide for an exception to a limitation against appointment of persons as<br>Secretary of Defense within seven years of relief from active duty as a regular<br>commissioned officer of the Armed Forces.","S84","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate passed version is repeated here.) (Sec. 1) This bill allows the first person, and<br>only such person, appointed as Secretary of Defense after the enactment of this bill to be<br>a person who is, on the date of appointment, not within at least three years after relief<br>from active duty as a commissioned officer of a regular component of the Armed Forces.<br>(Under current law, an individual may not be appoint..."],["To amend the Communications Act of 1934 to require multi-line telephone systems to have a<br>configuration that permits users to directly initiate a call to 9-1-1 without dialing any<br>additional digit, code, prefix, or post-fix, and for other purposes.","HR582","(This measure has not been amended since it was passed by the Senate on February 5, 2018.<br>The summary of that version is repeated here.) Kari's Law Act of 2017 (Sec. 2) This bill<br>amends the Communications Act of 1934 to prohibit businesses from manufacturing or<br>importing for use in the United States, or selling or leasing in the United States, a<br>multi-line telephone system unless it is pre-configured to allow\u00a0users to directly<br>initiate a call to 9-1-1 (without dialing any additional digit, co..."],["To prohibit taxpayer funded abortions.","HR7","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) No Taxpayer Funding for Abortion and Abortion<br>Insurance Full Disclosure Act of 2017 TITLE I--PROHIBITING FEDERALLY FUNDED ABORTIONS<br>(Sec. 101) This bill makes permanent the prohibition on the use of federal funds,<br>including funds in the budget of the District of Columbia, for abortion or health coverage<br>that includes abortion. The prohibitions in this bill, and cu..."],["To remove the sunset provision of section 203 of Public Law 105-384, and for other<br>purposes.","HR374","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.)  (Sec.1)This bill makes permanent the authority of<br>Washington, Oregon, and California to adopt and enforce state laws governing fishing and<br>processing in the exclusive economic zone adjacent to their state in any Dungeness crab<br>fishery for which there is no fishery management plan in effect under the Magnuson-Stevens<br>Fishery Conservation and Management Act."],["Providing for consideration of the joint resolution (H.J. Res. 38) disapproving the rule<br>submitted by the Department of the Interior known as the Stream Protection Rule.","HRES70","Sets forth the rule for consideration of the joint resolution (H.J. Res. 38) disapproving<br>the rule submitted by the Department of the Interior known as the Stream Protection Rule."],["Providing for consideration of the joint resolution (H.J. Res. 41) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of a rule<br>submitted by the Securities and Exchange Commission relating to \"Disclosure of Payments by<br>Resource Extraction Issuers\", and providing for consideration of the joint resolution<br>(H.J. Res. 40) providing for congressional disapproval under chapter 8 of title 5, United<br>States Code, of the rule submitted by the Social Security Administration relating to<br>Implementation of the NICS Improvement Amendments Act of 2007.","HRES71","Sets forth the rule for consideration of the joint resolution (H.J. Res. 41) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of a rule<br>submitted by the Securities and Exchange Commission relating to \"Disclosure of Payments by<br>Resource Extraction Issuers\", and providing for consideration of the joint resolution<br>(H.J. Res. 40) providing for congressional disapproval under chapter 8 of title 5, United<br>States Code, of the rule submitted by the Social Securi..."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>a rule submitted by the Securities and Exchange Commission relating to \"Disclosure of<br>Payments by Resource Extraction Issuers\".","HJRES41","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the \"Disclosure of Payments by Resource<br>Extraction Issuers\" rule finalized by the Securities and Exchange Commission on July 27,<br>2016. (The rule,\u00a0mandated under the Dodd-Frank Wall Street Reform and Consumer Protection<br>Act, requires resource extraction issuers to disclose payments made to governments for the<br>commercial development of oil, natural gas, or m..."],["Disapproving the rule submitted by the Department of the Interior known as the Stream<br>Protection Rule.","HJRES38","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the Stream Protection Rule finalized by<br>the Department of the Interior's Office of Surface Mining Reclamation and Enforcement on<br>December 20, 2016. The rule addresses the impacts of surface coal mining operations on<br>surface water, groundwater, and the productivity of mining operation sites."],["Providing for consideration of the joint resolution (H.J. Res. 36) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the final<br>rule of the Bureau of Land Management relating to \"Waste Prevention, Production Subject to<br>Royalties, and Resource Conservation\", and providing for consideration of the joint<br>resolution (H.J. Res. 37) disapproving the rule submitted by the Department of Defense,<br>the General Services Administration, and the National Aeronautics and Space Administration<br>relating to the Federal Acquisition Regulation.","HRES74","Sets forth the rule for consideration of the joint resolution (H.J. Res. 36) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the final<br>rule of the Bureau of Land Management relating to \"Waste Prevention, Production Subject to<br>Royalties, and Resource Conservation\", and providing for consideration of the joint<br>resolution (H.J. Res. 37) disapproving the rule submitted by the Department of Defense,<br>the General Services Administration, and the National Ae..."],["Disapproving the rule submitted by the Department of Defense, the General Services<br>Administration, and the National Aeronautics and Space Administration relating to the<br>Federal Acquisition Regulation.","HJRES37","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule finalized by the Department of<br>Defense, the General Services Administration, and the National Aeronautics and Space<br>Administration (NASA) on August 25, 2016, relating to revising the Federal Acquisition<br>Regulation to implement Executive Order 13673 concerning contractor compliance with labor<br>laws."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Social Security Administration relating to Implementation of the<br>NICS Improvement Amendments Act of 2007.","HJRES40","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the \u201cImplementation of the NICS<br>Improvement Amendments Act of 2007\u201d rule finalized by the Social Security Administration<br>on December 19, 2016. The rule implements a plan to provide to the National Instant<br>Criminal History Background Check System the name of an individual who meets certain<br>criteria, including that benefit payments are made through a represe..."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the final rule of the Bureau of Land Management relating to \"Waste Prevention, Production<br>Subject to Royalties, and Resource Conservation\".","HJRES36","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule submitted by the Bureau of Land<br>Management titled \"Waste Prevention, Production Subject to Royalties, and Resource<br>Conservation.\"The rule published in the Federal Register on November 18, 2016, addresses<br>waste generated during oil and gas production."],["To transfer administrative jurisdiction over certain Bureau of Land Management land from<br>the Secretary of the Interior to the Secretary of Veterans Affairs for inclusion in the<br>Black Hills National Cemetery, and for other purposes.","HR337","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Black Hills National Cemetery Boundary Expansion<br>Act (Sec. 2) This bill directs the Department of Veterans Affairs (VA) to: (1) complete<br>environmental, cultural resource, and other due diligence activities on certain public<br>land to confirm its suitability for inclusion in the Black Hills National Cemetery, South<br>Dakota; and (2) notify the Department of the Interio..."],["Providing for consideration of the joint resolution (H.J. Res. 44) disapproving the rule<br>submitted by the Department of the Interior relating to Bureau of Land Management<br>regulations that establish the procedures used to prepare, revise, or amend land use plans<br>pursuant to the Federal Land Policy and Management Act of 1976; providing for<br>consideration of the joint resolution (H.J. Res. 57) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the rule submitted by the<br>Department of Education relating to accountability and State plans under the Elementary<br>and Secondary Education Act of 1965; and providing for consideration of the joint<br>resolution (H.J. Res. 58) providing for congressional disapproval under chapter 8 of title<br>5, United States Code, of the rule submitted by the Department of Education relating to<br>teacher preparation issues.","HRES91","Sets forth the rule for consideration of the joint resolution (H.J. Res. 44) disapproving<br>the rule submitted by the Department of the Interior relating to Bureau of Land Management<br>regulations that establish the procedures used to prepare, revise, or amend land use plans<br>pursuant to the Federal Land Policy and Management Act of 1976; providing for<br>consideration of the joint resolution (H.J. Res. 57) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the..."],["Disapproving the rule submitted by the Department of the Interior relating to Bureau of<br>Land Management regulations that establish the procedures used to prepare, revise, or<br>amend land use plans pursuant to the Federal Land Policy and Management Act of 1976.","HJRES44","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule finalized by the Department of<br>the Interior on December 12, 2016, relating to revising regulations that establish the<br>procedures used to prepare, revise, or amend land use plans pursuant to the Federal Land<br>Policy and Management Act of 1976."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Department of Education relating to accountability and State<br>plans under the Elementary and Secondary Education Act of 1965.","HJRES57","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule\u00a0finalized by the Department of<br>Education on November 29, 2016, relating to accountability and state plans under the<br>Elementary and Secondary Education Act of 1965."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by the Department of Education relating to teacher preparation issues.","HJRES58","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the \"Teacher Preparation Issues\"<br>rule\u00a0finalized by the Department of Education on October 31, 2016. The rule implements<br>requirements related to assessing the quality of teacher preparation programs under title<br>II (Teacher Quality Enhancement) of the Higher Education Act of 1965."],["To encourage effective, voluntary private sector investments to recruit, employ, and<br>retain men and women who have served in the United States military with annual<br>presidential awards to private sector employers recognizing such efforts, and for other<br>purposes.","HR244","Highlights:    This bill provides FY2017 appropriations for most federal agencies for the<br>remainder of FY2017.  It includes 11 of the 12 regular appropriations bills, excluding the<br>Military Construction, Veterans Affairs, and Related Agencies Appropriations Act, 2017<br>which was signed into law on September 29, 2016.  The bill also provides additional<br>emergency, disaster relief, and Overseas Contingency Operations/ Global War on Terrorism<br>funding which is exempt from discretionary spending limi..."],["Providing for consideration of the bill (H.R. 428) to survey the gradient boundary along<br>the Red River in the States of Oklahoma and Texas, and for other purposes, and providing<br>for consideration of the joint resolution (H.J. Res. 42) disapproving the rule submitted<br>by the Department of Labor relating to drug testing of unemployment compensation<br>applicants.","HRES99","Sets forth the rule for consideration of the bill (H.R. 428) to survey the gradient<br>boundary along the Red River in the States of Oklahoma and Texas, and for other purposes,<br>and providing for consideration of the joint resolution (H.J. Res. 42) disapproving the<br>rule submitted by the Department of Labor relating to drug testing of unemployment<br>compensation applicants."],["Providing for consideration of the joint resolution (H.J. Res. 66) disapproving the rule<br>submitted by the Department of Labor relating to savings arrangements established by<br>States for non-governmental employees, and providing for consideration of the joint<br>resolution (H.J. Res. 67) disapproving the rule submitted by the Department of Labor<br>relating to savings arrangements established by qualified State political subdivisions for<br>non-governmental employees.","HRES116","Sets forth the rule for consideration of the joint resolution (H.J. Res. 66) disapproving<br>the rule submitted by the Department of Labor relating to savings arrangements established<br>by States for non-governmental employees, and providing for consideration of the joint<br>resolution (H.J. Res. 67) disapproving the rule submitted by the Department of Labor<br>relating to savings arrangements established by qualified State political subdivisions for<br>non-governmental employees."],["To survey the gradient boundary along the Red River in the States of Oklahoma and Texas,<br>and for other purposes.","HR428","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Red River Gradient Boundary Survey Act (Sec. 3)<br>This bill directs the Bureau of Land Management (BLM) to commission a survey to identify<br>the South Bank boundary line with respect to land along a specified 116-mile stretch of<br>the Red River in Oklahoma and Texas (the affected area).  The survey shall:  adhere to the<br>gradient boundary survey method; span the length o..."],["Providing for consideration of the joint resolution (H.J. Res. 43) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the final<br>rule submitted by Secretary of Health and Human Services relating to compliance with title<br>X requirements by project recipients in selecting subrecipients; providing for<br>consideration of the joint resolution (H.J. Res. 69) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the final rule of the<br>Department of the Interior relating to \"Non-Subsistence Take of Wildlife, and Public<br>Participation and Closure Procedures, on National Wildlife Refuges in Alaska\"; and<br>providing for proceedings during the period from February 17, 2017, through February 24,<br>2017.","HRES123","Sets forth the rule for consideration of the joint resolution (H.J. Res. 43) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the final<br>rule submitted by Secretary of Health and Human Services relating to compliance with title<br>X requirements by project recipients in selecting subrecipients; providing for<br>consideration of the joint resolution (H.J. Res. 69) providing for congressional<br>disapproval under chapter 8 of title 5, United States Code, of the f..."],["Disapproving the rule submitted by the Department of Labor relating to savings<br>arrangements established by qualified State political subdivisions for non-governmental<br>employees.","HJRES67","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies a rule submitted by the Department of<br>Labor's Employee Benefits Security Administration regarding savings arrangements<br>established by qualified state political subdivisions for non-governmental employees.<br>(The rule amends a final regulation that describes how states may design and operate<br>payroll deduction savings programs for private-sector employees, in..."],["Disapproving the rule submitted by the Department of Labor relating to savings<br>arrangements established by States for non-governmental employees.","HJRES66","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies a rule submitted by the Department of<br>Labor's Employee Benefits Security Administration regarding savings arrangements<br>established by states for non-governmental employees.  (The rule describes circumstances<br>in which state payroll deduction savings programs with automatic enrollment would not give<br>rise to the establishment of employee pension benefit plans..."],["Disapproving the rule submitted by the Department of Labor relating to drug testing of<br>unemployment compensation applicants.","HJRES42","This joint resolution nullifies the rule finalized by the Department of Labor on August 1,<br>2016, relating to establishing, for state unemployment compensation program purposes,<br>occupations that regularly conduct drug testing."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the final rule of the Department of the Interior relating to \"Non-Subsistence Take of<br>Wildlife, and Public Participation and Closure Procedures, on National Wildlife Refuges in<br>Alaska\".","HJRES69","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule finalized by the Department of<br>the Interior on August 5, 2016, relating to non-subsistence takings of wildlife and public<br>participation and closure procedures on National Wildlife Refuges in Alaska."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the final rule submitted by Secretary of Health and Human Services relating to compliance<br>with title X requirements by project recipients in selecting subrecipients.","HJRES43","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies a Department of Health and Human Services<br>rule regarding subrecipients of family planning grants. (Under the rule, grant recipients<br>may prohibit an entity from receiving a subaward only for reasons related to the entity's<br>ability to provide family planning services.)"],["To amend the Omnibus Public Land Management Act of 2009 to modify provisions relating to<br>certain land exchanges in the Mt. Hood Wilderness in the State of Oregon.","HR699","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Mount Hood Cooper Spur Land Exchange Clarification<br>Act  (Sec. 2) This bill amends the Omnibus Public Land Management Act of 2009 to revise<br>details of the Cooper Spur-Government Camp land exchange between the United States and<br>Oregon.  After the final appraised value of the federal and nonfederal lands is determined<br>and approved by the Department of Agriculture (USDA)..."],["Providing for consideration of the bill (H.R. 998) to provide for the establishment of a<br>process for the review of rules and sets of rules, and for other purposes, and providing<br>for consideration of the joint resolution (H.J. Res. 83) disapproving the rule submitted<br>by the Department of Labor relating to \"Clarification of Employer's Continuing Obligation<br>to Make and Maintain an Accurate Record of Each Recordable Injury and Illness\".","HRES150","Sets forth the rule for consideration of the bill (H.R. 998) to provide for the<br>establishment of a process for the review of rules and sets of rules, and for other<br>purposes, and providing for consideration of the joint resolution (H.J. Res. 83)<br>disapproving the rule submitted by the Department of Labor relating to \"Clarification of<br>Employer's Continuing Obligation to Make and Maintain an Accurate Record of Each<br>Recordable Injury and Illness\"."],["To provide for the establishment of a process for the review of rules and sets of rules,<br>and for other purposes.","HR998","Searching for and Cutting Regulations that are Unnecessarily Burdensome Act or the SCRUB<br>Act TITLE I--RETROSPECTIVE REGULATORY REVIEW COMMISSION  (Sec. 101) This bill establishes<br>the Retrospective Regulatory Review Commission to conduct a review of the Code of Federal<br>Regulations to identify rules and sets of rules that collectively implement a regulatory<br>program that should be repealed to lower the cost of regulation. The commission shall give<br>priority to the review of rules or sets of rules..."],["Providing for consideration of the bill (H.R. 1004) to amend chapter 3 of title 5, United<br>States Code, to require the publication of information relating to pending agency<br>regulatory actions, and for other purposes, and providing for consideration of the bill<br>(H.R. 1009) to amend title 44, United States Code, to require the Administrator of the<br>Office of Information and Regulatory Affairs to review regulations, and for other<br>purposes.","HRES156","Sets forth the rule for consideration of the bill (H.R. 1004) to amend chapter 3 of title<br>5, United States Code, to require the publication of information relating to pending<br>agency regulatory actions, and for other purposes, and providing for consideration of the<br>bill (H.R. 1009) to amend title 44, United States Code, to require the Administrator of<br>the Office of Information and Regulatory Affairs to review regulations."],["To amend title 44, United States Code, to require the Administrator of the Office of<br>Information and Regulatory Affairs to review regulations, and for other purposes.","HR1009","OIRA Insight, Reform, and Accountability Act  (Sec. 2) This bill codifies and revises the<br>centralized regulatory review process, currently required under executive order, to<br>require the Office of Information and Regulatory Affairs (OIRA) within the Office of<br>Management and Budget to: (1) chair the Regulatory Working Group that assists agencies<br>with regulatory issues, (2) publish a unified agenda of each agency's regulations that are<br>under development or review, and (3) review each agency's si..."],["Disapproving the rule submitted by the Department of Labor relating to \"Clarification of<br>Employer's Continuing Obligation to Make and Maintain an Accurate Record of Each<br>Recordable Injury and Illness\".","HJRES83","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the Department of Labor's rule that was<br>published on December 19, 2016, about employers' ongoing obligation to make and maintain<br>records of work-related injuries and illnesses."],["To amend chapter 3 of title 5, United States Code, to require the publication of<br>information relating to pending agency regulatory actions, and for other purposes.","HR1004","Regulatory Integrity Act of 2017 (Sec. 2) This bill directs each executive agency to make<br>publicly available on the agency website or in the rulemaking docket on Regulations.gov a<br>list of pending agency regulatory actions and for each such action:    the date the agency<br>began to develop or consider the action, its status, an estimate of the date it will be<br>final and in effect, a brief description of such action, and a list of any applicable<br>agency regulatory actions issued by the agency, or a..."],["To name the Department of Veterans Affairs community-based outpatient clinic in Pago Pago,<br>American Samoa, the Faleomavaega Eni Fa'aua'a Hunkin VA Clinic.","HR1362","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) (Sec. 1) This bill designates the Department of<br>Veterans Affairs community-based outpatient clinic in Pago Pago, American Samoa, as the<br>\"Faleomavaega Eni Fa'aua'a Hunkin VA Clinic.\""],["Providing for consideration of the bill (H.R. 725) to amend title 28, United States Code,<br>to prevent fraudulent joinder.","HRES175","Sets forth the rule for consideration of the bill (H.R. 725) to amend title 28, United<br>States Code, to prevent fraudulent joinder."],["Providing for consideration of the bill (H.R. 1301) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2017, and for other<br>purposes.","HRES174","Sets forth the rule for consideration of the bill (H.R. 1301) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2017."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2017, and for other purposes.","HR1301","(This measure has not been amended since it was passed by the Senate on February 9, 2018.<br>The summary of that version is repeated here.) Continuing Appropriations Amendments Act,<br>2018  (Sec. 101) This bill amends the Continuing Appropriations Act, 2018 to: (1)<br>compensate employees furloughed as a result of any lapse in appropriations which began on<br>or about February 9, 2018; and (2) ratify and approve certain obligations incurred in<br>anticipation of the appropriations and authority provided by..."],["Providing for consideration of the bill (H.R. 720) to amend Rule 11 of the Federal Rules<br>of Civil Procedure to improve attorney accountability, and for other purposes, and<br>providing for consideration of the bill (H.R. 985) to amend the procedures used in Federal<br>court class actions and multidistrict litigation proceedings to assure fairer, more<br>efficient outcomes for claimants and defendants, and for other purposes.","HRES180","Sets forth the rule for consideration of the bill (H.R. 720) to amend Rule 11 of the<br>Federal Rules of Civil Procedure to improve attorney accountability, and for other<br>purposes, and providing for consideration of the bill (H.R. 985) to amend the procedures<br>used in Federal court class actions and multidistrict litigation proceedings to assure<br>fairer, more efficient outcomes for claimants and defendants."],["To amend the procedures used in Federal court class actions and multidistrict litigation<br>proceedings to assure fairer, more efficient outcomes for claimants and defendants, and<br>for other purposes.","HR985","Fairness in Class Action Litigation and Furthering Asbestos Claim Transparency Act of 2017<br>TITLE I--FAIRNESS IN CLASS ACTION LITIGATION Fairness in Class Action Litigation Act of<br>2017 (Sec. 103) This bill amends the federal judicial code to prohibit federal courts from<br>certifying class actions unless:   in a class action seeking monetary relief for personal<br>injury or economic loss, each proposed class member suffered the same type and scope of<br>injury as the named class representatives;  no cl..."],["To amend title 28, United States Code, to prevent fraudulent joinder.","HR725","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Innocent Party Protection Act (Sec. 2) This bill<br>amends procedures under which federal courts determine whether a case that was removed<br>from a state court to a federal court on the basis of a diversity of citizenship among the<br>parties may be remanded back to state court upon a motion opposed on fraudulent joinder<br>grounds that: (1) one or more defendants are citizen..."],["To amend Rule 11 of the Federal Rules of Civil Procedure to improve attorney<br>accountability, and for other purposes.","HR720","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Lawsuit Abuse Reduction Act of 2017 (Sec. 2)<br>This bill amends the sanctions provisions in Rule 11 of the Federal Rules of Civil<br>Procedure to require the court to impose an appropriate sanction on any attorney, law<br>firm, or party that has violated, or is responsible for the violation of, the rule with<br>regard to representations to the court. Any sanction must compens..."],["To authorize the Secretary of the Interior to convey certain land and appurtenances of the<br>Arbuckle Project, Oklahoma, to the Arbuckle Master Conservancy District, and for other<br>purposes.","HR132","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Arbuckle Project Maintenance Complex and District<br>Office Conveyance Act of 2017 (Sec. 2) This bill directs the Department of the Interior to<br>convey to the Arbuckle Master Conservancy District in Murray County, Oklahoma, all right,<br>title, and interest of the United States in and to the Maintenance Complex and District<br>Office of the Arbuckle Project.  The bill shiel..."],["To authorize the Secretary of the Interior to amend the Definite Plan Report for the<br>Seedskadee Project to enable the use of the active capacity of the Fontenelle Reservoir.","HR648","(Sec. 1) This bill authorizes the Department of the Interior, in cooperation with the<br>state of Wyoming, to amend the Definite Plan Report for the Seedskadee Project (authorized<br>under the Colorado River Storage Project Act) to provide for the study, design, planning,<br>and construction activities that will enable the use of all active storage capacity of<br>Fontenelle Dam and Reservoir, including the placement of sufficient riprap on the upstream<br>face of the dam to allow such storage capacity to be..."],["Providing for consideration of the bill (H.R. 1259) to amend title 38, United States Code,<br>to provide for the removal or demotion of employees of the Department of Veterans Affairs<br>based on performance or misconduct, and for other purposes; providing for consideration of<br>the bill (H.R. 1367) to improve the authority of the Secretary of Veterans Affairs to hire<br>and retain physicians and other employees of the Department of Veterans Affairs, and for<br>other purposes; and providing for consideration of the bill (H.R. 1181) to amend title 38,<br>United States Code, to clarify the conditions under which certain persons may be treated<br>as adjudicated mentally incompetent for certain purposes.","HRES198","Sets forth the rule for consideration of the bill (H.R. 1259) to amend title 38, United<br>States Code, to provide for the removal or demotion of employees of the Department of<br>Veterans Affairs based on performance or misconduct, and for other purposes; providing for<br>consideration of the bill (H.R. 1367) to improve the authority of the Secretary of<br>Veterans Affairs to hire and retain physicians and other employees of the Department of<br>Veterans Affairs, and for other purposes; and providing for c..."],["To amend title 38, United States Code, to provide for the removal or demotion of employees<br>of the Department of Veterans Affairs based on performance or misconduct, and for other<br>purposes.","HR1259","VA Accountability First Act of 2017 (Sec. 3) This bill revises the authority of the<br>Department of Veterans Affairs (VA) to remove, demote by a reduction in grade and pay, or<br>suspend a VA employee, including a member in a senior executive position, for reasons of<br>performance or misconduct. A demoted individual shall not be placed on administrative<br>leave during the appeals period and may receive pay only if he or she reports for duty or<br>is approved to use certain accrued unused leave.  An exped..."],["To amend title 38, United States Code, to clarify the conditions under which certain<br>persons may be treated as adjudicated mentally incompetent for certain purposes.","HR1181","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Veterans 2nd Amendment Protection Act (Sec. 2)<br>This bill prohibits, in any case arising out of the administration of laws and benefits by<br>the Department of Veterans Affairs, any person who is mentally incapacitated, deemed<br>mentally incompetent, or experiencing an extended loss of consciousness from being<br>considered adjudicated as a mental defective for purposes of ..."],["To improve the authority of the Secretary of Veterans Affairs to hire and retain<br>physicians and other employees of the Department of Veterans Affairs, and for other<br>purposes.","HR1367","(Sec. 2) This bill provides that the annual determination of the Veterans Health<br>Administration (VHA) staff shortages shall include shortages for a minimum of five<br>clinical and five non-clinical occupations for each network. (Such determination currently<br>includes the five occupations for which there are the largest Department of Veterans<br>Affairs [VA]-wide shortages.)  (Sec. 3) The bill establishes in the VA an executive<br>management fellowship program to provide eligible employees of: (1) the V..."],["To amend the Homeland Security Act of 2002 to provide for congressional notification<br>regarding major acquisition program breaches, and for other purposes.","HR1294","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Reducing DHS Acquisition Cost Growth Act (Sec. 2)<br>This bill amends the Homeland Security Act of 2002 to require the program manager of a<br>major acquisition program (a Department of Homeland Security [DHS] acquisition program<br>that is estimated by the Secretary to require an eventual total expenditure of at least<br>$300 million over its life cycle cost) to notify the p..."],["To amend the Homeland Security Act of 2002 to require a multiyear acquisition strategy of<br>the Department of Homeland Security, and for other purposes.","HR1249","DHS Multiyear Acquisition Strategy Act of 2017 (Sec. 2) This bill amends the Homeland<br>Security Act of 2002 to direct the Department of Homeland Security (DHS) to submit a<br>multiyear acquisition strategy that allows flexibility to deal with ever-changing threats<br>and risks and that helps industry align resources to meet DHS needs. Such strategy shall<br>be updated and included in each required Future Years Homeland Security Program. The<br>strategy shall include:   a prioritized list of major acquisit..."],["To amend the Homeland Security Act of 2002 to provide for certain acquisition authorities<br>for the Under Secretary of Management of the Department of Homeland Security, and for<br>other purposes.","HR1252","DHS Acquisition Authorities Act of 2017 This bill amends the Homeland Security Act of 2002<br>to revise acquisition and procurement programs and activities of the Department of<br>Homeland Security (DHS). (Sec. 2) The bill designates the DHS Under Secretary for<br>Management as\u00a0the DHS\u00a0Chief Acquisition Officer. It sets forth the duties and<br>responsibilities of the Under Secretary related to acquisition, including:    advising DHS<br>on acquisition management activities; leading DHS's acquisition oversigh..."],["Providing for consideration of the bill (H.R. 372) to restore the application of the<br>Federal antitrust laws to the business of health insurance to protect competition and<br>consumers.","HRES209","Sets forth the rule for consideration of the bill (H.R. 372) to restore the application of<br>the Federal antitrust laws to the business of health insurance to protect competition and<br>consumers."],["Providing for consideration of the bill (H.R. 1101) to amend title I of the Employee<br>Retirement Income Security Act of 1974 to improve access and choice for entrepreneurs with<br>small businesses with respect to medical care for their employees.","HRES210","Sets forth the rule for consideration of the bill (H.R. 1101) to amend title I of the<br>Employee Retirement Income Security Act of 1974 to improve access and choice for<br>entrepreneurs with small businesses with respect to medical care for their employees."],["To restore the application of the Federal antitrust laws to the business of health<br>insurance to protect competition and consumers.","HR372","(This measure has not been amended since it was reported to the House on March 15, 2017.<br>The summary of that version is repeated here.) Competitive Health Insurance Reform Act of<br>2017 (Sec. 2) This bill amends the McCarran-Ferguson Act to declare that nothing in that<br>Act modifies, impairs, or supersedes the operation of antitrust laws with respect to the<br>business of health insurance, including the business of dental insurance. This declaration<br>does not apply to a contract, combination, or con..."],["To amend title I of the Employee Retirement Income Security Act of 1974 to improve access<br>and choice for entrepreneurs with small businesses with respect to medical care for their<br>employees.","HR1101","Small Business Health Fairness Act of 2017  (Sec. 2) This bill amends the Employee<br>Retirement Income Security Act of 1974 (ERISA) to provide for the establishment and<br>governance of association health plans (AHPs), which are group health plans sponsored by<br>business associations. The bill establishes requirements for AHPs relating to<br>certification, sponsors and boards of trustees, participation and coverage,<br>nondiscrimination, contribution rates, and voluntary termination. AHPs offering benefit..."],["To amend the Homeland Security Act of 2002 to make the Assistant Secretary of Homeland<br>Security for Health Affairs responsible for coordinating the efforts of the Department of<br>Homeland Security related to food, agriculture, and veterinary defense against terrorism,<br>and for other purposes.","HR1238","(This measure has not been amended since it was passed by the Senate on May 24, 2017. The<br>summary of that version is repeated here.) Securing our Agriculture and Food Act (Sec. 2)<br>This bill amends the Homeland Security Act of 2002 to direct the Assistant Secretary for<br>Health Affairs for the Department of Homeland Security (DHS) to carry out a program to<br>coordinate DHS efforts related to defending the food, agriculture, and veterinary systems<br>of the United States against terrorism and other hi..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES221","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Waives a specified requirement of Rule XIII<br>(Calendar and Committee Reports) to allow consideration of any resolution reported from<br>the Committee on Rules through the legislative day of March 27, 2017, on the same day it<br>is presented to the House. (Sec. 2) Makes it in order at any time through the legislative<br>day of March 26, 2017, for the Speaker of the House to s..."],["Providing for consideration of the bill (H.R. 1628) to provide for reconciliation pursuant<br>to title II of the concurrent resolution on the budget for fiscal year 2017.","HRES228","Sets forth the rule for consideration of the bill (H.R. 1628) to provide for<br>reconciliation pursuant to title II of the concurrent resolution on the budget for fiscal<br>year 2017."],["To require the Administrator of the Federal Emergency Management Agency to submit a report<br>regarding certain plans regarding assistance to applicants and grantees during the<br>response to an emergency or disaster.","HR1117","(This measure has not been amended since it was reported to the House on March 9, 2017.<br>The summary of that version is repeated here.) (Sec. 1) This bill directs the Federal<br>Emergency Management Agency (FEMA) to report to Congress regarding its plans to provide:<br>(1) consistent guidance to applicants on FEMA disaster funding procedures during the<br>response to an emergency or disaster, (2) appropriate record maintenance and transfer of<br>documents to new teams during staff transitions, and (3) acc..."],["Providing for consideration of the bill (H.R. 1430) to prohibit the Environmental<br>Protection Agency from proposing, finalizing, or disseminating regulations or assessments<br>based upon science that is not transparent or reproducible.","HRES229","Sets forth the rule for consideration of the bill (H.R. 1430) to prohibit the<br>Environmental Protection Agency from proposing, finalizing, or disseminating regulations<br>or assessments based upon science that is not transparent or reproducible."],["Providing for consideration of the joint resolution (S.J. Res. 34) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by the Federal Communications Commission relating to \"Protecting the Privacy of<br>Customers of Broadband and Other Telecommunications Services\".","HRES230","Sets forth the rule for consideration of the joint resolution (S.J. Res. 34) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by the Federal Communications Commission relating to \"Protecting the Privacy of<br>Customers of Broadband and Other Telecommunications Services\"."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by the Federal Communications Commission<br>relating to \"Protecting the Privacy of Customers of Broadband and Other Telecommunications<br>Services\".","SJRES34","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies the rule submitted by the Federal<br>Communications Commission entitled \"Protecting the Privacy of Customers of Broadband and<br>Other Telecommunications Services.\" The rule published on December 2, 2016: (1) applies<br>the customer privacy requirements of the Communications Act of 1934 to broadband Internet<br>access service and other telecommunications services, (2)..."],["Providing for consideration of the bill (H.R. 1431) to amend the Environmental Research,<br>Development, and Demonstration Authorization Act of 1978 to provide for Scientific<br>Advisory Board member qualifications, public participation, and for other purposes.","HRES233","Sets forth the rule for consideration of the bill (H.R. 1431) to amend the Environmental<br>Research, Development, and Demonstration Authorization Act of 1978 to provide for<br>Scientific Advisory Board member qualifications, public participation."],["To prohibit the Environmental Protection Agency from proposing, finalizing, or<br>disseminating regulations or assessments based upon science that is not transparent or<br>reproducible.","HR1430","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Honest and Open New EPA Science Treatment Act of<br>2017 or the HONEST Act (Sec. 2) This bill amends the Environmental Research, Development,<br>and Demonstration Authorization Act of 1978 to prohibit the Environmental Protection<br>Agency from proposing, finalizing, or disseminating a covered action unless all scientific<br>and technical information relied on to support such ..."],["To amend the Environmental Research, Development, and Demonstration Authorization Act of<br>1978 to provide for Scientific Advisory Board member qualifications, public participation,<br>and for other purposes.","HR1431","(This measure has not been amended since it was reported to the House on March 27, 2017.<br>The summary of that version is repeated here.) EPA Science Advisory Board Reform Act of<br>2017  (Sec. 2) This bill amends the Environmental Research, Development, and Demonstration<br>Authorization Act of 1978 to revise the process of selecting members of the Science<br>Advisory Board, guidelines for participation in board advisory activities, and terms of<br>office. The board provides scientific advice to the Envir..."],["Condemning North Korea's development of multiple intercontinental ballistic missiles, and<br>for other purposes.","HRES92","Condemns North Korea's development of multiple intercontinental ballistic missiles.<br>Welcomes the deployment of the Terminal High Altitude Area Defense (THAAD) system in South<br>Korea to counter North Korea's missile threat. Urges the government of the People's<br>Republic of China to immediately cease its diplomatic intimidation and economic coercion<br>against South Korea in an attempt to block the THAAD deployment. Reaffirms: (1) U.S.<br>support for a layered, integrated, multi-tier missile defense s..."],["To require a report on the designation of the Democratic People's Republic of Korea as a<br>state sponsor of terrorism, and for other purposes.","HR479","North Korea State Sponsor of Terrorism Designation Act of 2017 This bill expresses the<br>sense of Congress that the government of North Korea likely meets the criteria for<br>designation as a state sponsor of terrorism and, if so, should be so designated. The<br>Department of State shall submit to Congress a determination as to whether such government<br>meets the criteria for designation as a state sponsor of terrorism."],["Providing for consideration of the bill (H.R. 1304) to amend the Employee Retirement<br>Income Security Act of 1974, the Public Health Service Act, and the Internal Revenue Code<br>of 1986 to exclude from the definition of health insurance coverage certain medical stop-<br>loss insurance obtained by certain plan sponsors of group health plans.","HRES241","Sets forth the rule for consideration of the bill (H.R. 1304) to amend the Employee<br>Retirement Income Security Act of 1974, the Public Health Service Act, and the Internal<br>Revenue Code of 1986 to exclude from the definition of health insurance coverage certain<br>medical stop-loss insurance obtained by certain plan sponsors of group health plans."],["Providing for consideration of the bill (H.R. 1343) to direct the Securities and Exchange<br>Commission to revise its rules so as to increase the threshold amount for requiring<br>issuers to provide certain disclosures relating to compensatory benefit plans.","HRES240","Sets forth the rule for consideration of the bill (H.R. 1343) to direct the Securities and<br>Exchange Commission to revise its rules so as to increase the threshold amount for<br>requiring issuers to provide certain disclosures relating to compensatory benefit plans."],["To direct the Securities and Exchange Commission to revise its rules so as to increase the<br>threshold amount for requiring issuers to provide certain disclosures relating to<br>compensatory benefit plans.","HR1343","Encouraging Employee Ownership Act of 2017 (Sec. 2) This bill\u00a0\u00a0requires the Securities and<br>Exchange Commission to increase, from $5 million to $10 million, the 12-month sales<br>threshold beyond which an issuer is required to provide investors with additional<br>disclosures related to compensatory benefit plans."],["Providing for consideration of the bill (H.R. 1219) to amend the Investment Company Act of<br>1940 to expand the investor limitation for qualifying venture capital funds under an<br>exemption from the definition of an investment company, and providing for proceedings<br>during the period from April 7, 2017, through April 24, 2017.","HRES242","Sets forth the rule for consideration of the bill (H.R. 1219) to amend the Investment<br>Company Act of 1940 to expand the investor limitation for qualifying venture capital funds<br>under an exemption from the definition of an investment company, and providing for<br>proceedings during the period from April 7, 2017, through April 24, 2017."],["To amend the Employee Retirement Income Security Act of 1974, the Public Health Service<br>Act, and the Internal Revenue Code of 1986 to exclude from the definition of health<br>insurance coverage certain medical stop-loss insurance obtained by certain plan sponsors<br>of group health plans.","HR1304","(This measure has not been amended since it was reported to the House on March 20, 2017.<br>The summary of that version is repeated here.) Self-Insurance Protection Act (Sec. 2) This<br>bill amends the Public Health Service Act, the Employee Retirement Income Security Act of<br>1974 (ERISA), and the Internal Revenue Code to exclude from the definition of \"health<br>insurance coverage\" a stop-loss policy obtained by a self-insured health plan or a sponsor<br>of a self-insured group health plan to reimburse t..."],["To amend the Investment Company Act of 1940 to expand the investor limitation for<br>qualifying venture capital funds under an exemption from the definition of an investment<br>company.","HR1219","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Supporting America's Innovators Act of 2017<br>(Sec. 2) This bill amends the Investment Company Act of 1940 to\u00a0exempt from the\u00a0definition<br>of an \"investment company,\" for purposes of\u00a0specified limitations\u00a0applicable to such\u00a0a<br>company\u00a0under the Act,\u00a0a qualifying venture capital fund that has no more than 250<br>investors. Specifically, the bill applies to a venture\u00a0capital..."],["To amend the Homeland Security Act of 2002 to reform programs of the Transportation<br>Security Administration, and for other purposes.","HR876","Aviation Employee Screening and Security Enhancement Act of 2017 (Sec. 3) This bill<br>directs the Transportation Security Administration (TSA) of the Department of Homeland<br>Security (DHS) to conduct, and submit to Congress and the Government Accountability Office<br>(GAO), a cost and feasibility study of a statistically significant number of Category I,<br>II, III, IV, and X airports assessing the impact if all airport employee access points<br>from non-secured to secured airport areas are comprised of ..."],["Providing for consideration of the bill (H.R. 1695) to amend title 17, United States Code,<br>to provide additional responsibilities for the Register of Copyrights, and for other<br>purposes.","HRES275","Sets forth the rule for consideration of the bill (H.R. 1695) to amend title 17, United<br>States Code, to provide additional responsibilities for the Register of Copyrights."],["To amend title 17, United States Code, to provide additional responsibilities for the<br>Register of Copyrights, and for other purposes.","HR1695","Register of Copyrights Selection and Accountability Act of 2017 (Sec. 2) This bill amends<br>federal copyright law to require the President, with the advice and consent of the Senate,<br>to appoint a Register of Copyrights from a list of at least three individuals recommended<br>by a panel composed of:  the Speaker of the House of Representatives;  the President pro<br>tempore of the Senate; the majority and minority leaders of the House and the Senate; and<br>the Librarian of Congress.  (Currently, the Re..."],["Providing for consideration of the bill (H.R. 1694) to require additional entities to be<br>subject to the requirements of section 552 of title 5, United States Code (commonly<br>referred to as the Freedom of Information Act), and for other purposes; providing for<br>consideration of motions to suspend the rules; and waiving a requirement of clause 6(a) of<br>rule XIII with respect to consideration of certain resolutions reported from the Committee<br>on Rules.","HRES280","Sets forth the rule for consideration of the bill (H.R. 1694) to require additional<br>entities to be subject to the requirements of section 552 of title 5, United States Code<br>(commonly referred to as the Freedom of Information Act), and for other purposes;<br>providing for consideration of motions to suspend the rules; and waiving a requirement of<br>clause 6(a) of rule XIII with respect to consideration of certain resolutions reported<br>from the Committee on Rules."],["To require additional entities to be subject to the requirements of section 552 of title<br>5, United States Code (commonly referred to as the Freedom of Information Act), and for<br>other purposes.","HR1694","Fannie and Freddie Open Records Act of 2017  (Sec. 2) This bill applies the Freedom of<br>Information Act (FOIA) to the Federal National Mortgage Association (Fannie Mae) and the<br>Federal Home Loan Mortgage Corporation (Freddie Mac) during any period either such<br>enterprise is under conservatorship or receivership of the Federal Housing Finance Agency.<br>The FOIA exemption for trade secrets and commercial or financial information shall apply<br>without regard to whether such information was obtained fr..."],["Providing for consideration of the joint resolution (H.J. Res. 99) making further<br>continuing appropriations for fiscal year 2017, and for other purposes.","HRES289","Sets forth the rule for consideration of the joint resolution (H.J. Res. 99) making<br>further continuing appropriations for fiscal year 2017."],["Making further continuing appropriations for fiscal year 2017, and for other purposes.","HJRES99","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution amends the Continuing Appropriations Act, 2017 to<br>provide continuing FY2017 appropriations for most federal agencies through the earlier of<br>May 5, 2017, or the enactment of the applicable appropriations legislation.  It is<br>commonly referred to as a continuing resolution (CR) and prevents a partial government<br>shutdown that would otherwise occur after the existing CR ..."],["To direct the Securities and Exchange Commission to provide a safe harbor related to<br>certain investment fund research reports, and for other purposes.","HR910","Fair Access to Investment Research Act of 2017 (Sec. 2) This bill directs the Securities<br>and Exchange Commission (SEC) to establish and implement a \"safe harbor\" for certain<br>investment fund research reports published by brokers and dealers. Such reports shall be<br>deemed not to be \"offers\" under specified provisions of securities law, even if the broker<br>or dealer participates in the registered offering of the investment fund's securities. In<br>implementing the safe harbor, the SEC must prohibit a..."],["To amend the Small Business Investment Incentive Act of 1980 to require an annual review<br>by the Securities and Exchange Commission of the annual government-business forum on<br>capital formation that is held pursuant to such Act.","HR1312","Small Business Capital Formation Enhancement Act (Sec. 2) This bill amends the Small<br>Business Investment Incentive Act of 1980 with respect to the annual government-business<br>forum of the Securities and Exchange Commission (SEC) to review the current status of<br>problems and programs relating to small business capital formation. The SEC shall review<br>the forum's findings and recommendations and issue a public statement promptly assessing<br>each submitted finding or recommendation and disclosing any..."],["To amend title 5, United States Code, to extend certain protections against prohibited<br>personnel practices, and for other purposes.","HR657","(This measure has not been amended since it was reported to the House on March 29, 2017.<br>The summary of that version is repeated here.) Follow the Rules Act  (Sec. 2) This bill<br>extends the prohibition against a person taking, failing to take, or threatening to take<br>or fail to take a personnel action against any employee or applicant for employment for<br>refusing to obey an order that would require the individual to violate a law to personnel<br>actions against such an individual for refusing to ob..."],["Providing for consideration of the bill (H.R. 1180) to amend the Fair Labor Standards Act<br>of 1938 to provide compensatory time for employees in the private sector; providing for<br>proceedings during the period from May 5, 2017, through May 15, 2017; and for other<br>purposes.","HRES299","Sets forth the rule for consideration of the bill (H.R. 1180) to amend the Fair Labor<br>Standards Act of 1938 to provide compensatory time for employees in the private sector;<br>providing for proceedings during the period from May 5, 2017, through May 15, 2017."],["To ensure that the Federal Emergency Management Agency's current efforts to modernize its<br>grant management system includes applicant accessibility and transparency, and for other<br>purposes.","HR1679","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) FEMA Accountability, Modernization and<br>Transparency Act of 2017 (Sec. 2) This bill directs the Federal Emergency Management<br>Agency (FEMA) to ensure that the ongoing modernization of the grant systems for the<br>administration of assistance under the Robert T. Stafford Disaster Relief and Emergency<br>Assistance Act includes:  an online interface for applicants to complete ..."],["To amend the Fair Labor Standards Act of 1938 to provide compensatory time for employees<br>in the private sector.","HR1180","(This measure has not been amended since it was reported to the House on May 2, 2017. The<br>summary of that version is repeated here.) Working Families Flexibility Act of 2017 (Sec.<br>2) This bill amends the Fair Labor Standards Act of 1938 to authorize employers to provide<br>compensatory time off to private employees at a rate of not less than 1 1/2 hours for each<br>hour of employment for which overtime compensation is required, but only if it is in<br>accordance with an applicable collective bargainin..."],["Providing for consideration of the Senate amendments to the bill (H.R. 244) to encourage<br>effective, voluntary investments to recruit, employ, and retain men and women who have<br>served in the United States military with annual Federal awards to employers recognizing<br>such efforts, and for other purposes.","HRES305","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 244) to<br>encourage effective, voluntary investments to recruit, employ, and retain men and women<br>who have served in the United States military with annual Federal awards to employers<br>recognizing such efforts."],["To ensure that Administrator of the Federal Emergency Management Agency considers severe<br>local impact in making a recommendation to the President for a major disaster declaration.","HR1665","(This measure has not been amended since it was reported to the House on April 28, 2017.<br>The summary of that version is repeated here.) Disaster Declaration Improvement Act (Sec.<br>2) This bill directs the Federal Emergency Management Agency (FEMA), in making<br>recommendations to the President regarding a major disaster declaration, to give greater<br>weight and consideration to severe local impact or recent multiple disasters."],["Providing for consideration of the bill (H.R. 2192) to amend the Public Health Service Act<br>to eliminate the non-application of certain State waiver provisions to Members of Congress<br>and congressional staff, and providing for further consideration of the bill (H.R. 1628)<br>to provide for reconciliation pursuant to title II of the concurrent resolution on the<br>budget for fiscal year 2017.","HRES308","Sets forth the rule for consideration of the bill (H.R. 2192) to amend the Public Health<br>Service Act to eliminate the non-application of certain State waiver provisions to Members<br>of Congress and congressional staff, and providing for further consideration of the bill<br>(H.R. 1628) to provide for reconciliation pursuant to title II of the concurrent<br>resolution on the budget for fiscal year 2017."],["To amend the Public Health Service Act to eliminate the non-application of certain State<br>waiver provisions to Members of Congress and congressional staff.","HR2192","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) (Sec. 1) This bill amends the Public Health<br>Service Act, if the American Health Care Act (H.R. 1628) is enacted, to make plans made<br>available by the federal government to Members of Congress and congressional staff subject<br>to state waivers of the Patient Protection and Affordable Care Act (PPACA) requirement for<br>health insurance to cover the essential health benef..."],["To provide for reconciliation pursuant to title II of the concurrent resolution on the<br>budget for fiscal year 2017.","HR1628","American Health Care Act of 2017 TITLE I--ENERGY AND COMMERCE Subtitle A--Patient Access<br>to Public Health Programs  (Sec. 101) This bill amends the Patient Protection and<br>Affordable Care Act (PPACA) to eliminate funding after FY2018 for the Prevention and<br>Public Health Fund, which provides for investment in prevention and public health programs<br>to improve health and restrain the rate of growth in health care costs. Funds that are<br>unobligated at the end of FY2018 are rescinded.  (Sec. 102) The..."],["To enhance sanctions with respect to transactions relating to North Korea, and for other<br>purposes.","HR1644","Korean Interdiction and Modernization of Sanctions Act TITLE I--SANCTIONS TO ENFORCE AND<br>IMPLEMENT UNITED NATIONS SECURITY COUNCIL SANCTIONS AGAINST NORTH KOREA  (Sec. 101) This<br>bill amends the North Korea Sanctions and Policy Enhancement Act of 2016 to direct the<br>President to designate and subject to specified sanctions under such Act any person who<br>knowingly:   purchases or acquires from North Korea any significant amounts of gold,<br>titanium ore, vanadium ore, copper, silver, nickel, zinc, o..."],["To amend the Homeland Security Act of 2002 to authorize the National Computer Forensics<br>Institute, and for other purposes.","HR1616","(This measure has not been amended since it was passed by the Senate on October 2, 2017.<br>The summary of that version is repeated here.) Strengthening State and Local Cyber Crime<br>Fighting Act of 2017 (Sec. 2) This bill amends the Homeland Security Act of 2002 to<br>authorize a National Computer Forensics Institute within the U.S. Secret Service for<br>FY2017-FY2022. The institute shall: (1) disseminate information related to the<br>investigation and prevention of cyber and electronic crime and related ..."],["Providing for consideration of the bill (H.R. 115) to amend title 18, United States Code,<br>to provide additional aggravating factors for the imposition of the death penalty based on<br>the status of the victim.","HRES323","Sets forth the rule for consideration of the bill (H.R. 115) to amend title 18, United<br>States Code, to provide additional aggravating factors for the imposition of the death<br>penalty based on the status of the victim."],["To direct the Secretary of Agriculture to release on behalf of the United States the<br>condition that certain lands conveyed to the City of Old Town, Maine, be used for a<br>municipal airport, and for other purposes.","HR1177","Removing Outdated Restrictions to Allow for Job Growth Act (Sec. 2) This bill directs the<br>Department of Agriculture, if requested in writing by the city of Old Town, Maine, to<br>release, convey, and quitclaim to the city, without monetary consideration, all rights,<br>title, and interest of the United States in and to lands that: (1) were conveyed by the<br>federal government to the city under the Bankhead-Jones Farm Tenant Act by the deed dated<br>June 5, 1941, and (2) are proposed for conveyance by th..."],["Providing for consideration of the bill (H.R. 1039) to amend section 3606 of title 18,<br>United States Code, to grant probation officers authority to arrest hostile third parties<br>who obstruct or impede a probation officer in the performance of official duties.","HRES324","Sets forth the rule for consideration of the bill (H.R. 1039) to amend section 3606 of<br>title 18, United States Code, to grant probation officers authority to arrest hostile<br>third parties who obstruct or impede a probation officer in the performance of official<br>duties."],["To amend title 18, United States Code, to provide additional aggravating factors for the<br>imposition of the death penalty based on the status of the victim.","HR115","(This measure has not been amended since it was reported to the House on May 11, 2017. The<br>summary of that version is repeated here.) Thin Blue Line Act (Sec. 2) This bill amends<br>the federal criminal code to expand the list of statutory aggravating factors in death<br>penalty determinations to also include killing or targeting a law enforcement officer,<br>firefighter, or other first responder."],["To amend section 3606 of title 18, United States Code, to grant probation officers<br>authority to arrest hostile third parties who obstruct or impede a probation officer in<br>the performance of official duties.","HR1039","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Probation Officer Protection Act of 2017 (Sec.<br>2) This bill amends the federal criminal code to authorize a probation officer to arrest a<br>person (i.e., a person other than the probationer) without a warrant if there is probable<br>cause to believe the person forcibly assaulted or obstructed a probation officer engaged<br>in the performance of official duties."],["To amend title 18, United States Code, to expand the scope of certain definitions<br>pertaining to unlawful sexual conduct, and for other purposes.","HR1862","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Global Child Protection Act of 2017 (Sec. 2) This<br>bill amends the federal criminal code to broaden the definition of \"illicit sexual<br>conduct\" to include any conduct involving a minor (currently, a sexual act with a minor)<br>that would be a sex abuse offense if it occurs inside the United States. A minor is a<br>person under 18 years of age. (Sec. 3) Additionally, the b..."],["To amend title 18, United States Code, to include State crimes of violence as grounds for<br>an enhanced penalty when sex offenders fail to register or report certain information as<br>required by Federal law, to include prior military offenses for purposes of recidivist<br>sentencing provisions, and for other purposes.","HR1842","Strengthening Children's Safety Act of 2017 (Sec. 2) This bill amends the federal criminal<br>code to add violent state crimes to the list of violent offenses that trigger an<br>additional five-year consecutive mandatory minimum prison term for a defendant who fails<br>to comply with sex offender registration requirements and commits such offense. (Sec. 3)<br>Additionally, it expands the prior military sex offense convictions that trigger an<br>enhanced mandatory minimum prison term for a defendant who subs..."],["Providing for consideration of the bill (H.R. 953) to amend the Federal Insecticide,<br>Fungicide, and Rodenticide Act and the Federal Water Pollution Control Act to clarify<br>Congressional intent regarding the regulation of the use of pesticides in or near<br>navigable waters, and for other purposes.","HRES348","Sets forth the rule for consideration of the bill (H.R. 953) to amend the Federal<br>Insecticide, Fungicide, and Rodenticide Act and the Federal Water Pollution Control Act to<br>clarify Congressional intent regarding the regulation of the use of pesticides in or near<br>navigable waters."],["To amend title 38, United States Code, to reform the rights and processes relating to<br>appeals of decisions regarding claims for benefits under the laws administered by the<br>Secretary of Veterans Affairs, and for other purposes.","HR2288","Veterans Appeals Improvement and Modernization Act of 2017 This bill revises the<br>Department of Veterans Affairs (VA) disability claims appeals system. The bill permits a<br>veteran to appeal within one year by: (1) requesting a review of the agency of original<br>jurisdiction's (AOJ) decision by a higher-level adjudicator within AOJ using the same<br>evidentiary record; (2) filing a supplemental claim with a regional office that includes<br>the opportunity to submit additional evidence and have a hearing..."],["Providing for consideration of the bill (H.R. 1973) to prevent the sexual abuse of minors<br>and amateur athletes by requiring the prompt reporting of sexual abuse to law enforcement<br>authorities, and for other purposes; providing for consideration of the bill (H.R. 1761)<br>to amend title 18, United States Code, to criminalize the knowing consent of the visual<br>depiction, or live transmission, of a minor engaged in sexually explicit conduct, and for<br>other purposes; and providing for proceedings during the period from May 26, 2017, through<br>June 5, 2017.","HRES352","Sets forth the rule for consideration of the bill (H.R. 1973) to prevent the sexual abuse<br>of minors and amateur athletes by requiring the prompt reporting of sexual abuse to law<br>enforcement authorities, and for other purposes; providing for consideration of the bill<br>(H.R. 1761) to amend title 18, United States Code, to criminalize the knowing consent of<br>the visual depiction, or live transmission, of a minor engaged in sexually explicit<br>conduct, and for other purposes; and providing for procee..."],["To amend the Uniform Code of Military Justice to prohibit the wrongful broadcast or<br>distribution of intimate visual images.","HR2052","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Protecting the Rights of IndiViduals Against<br>Technological Exploitation Act or the PRIVATE Act (Sec. 2) This bill amends the Uniform<br>Code of Military Justice to prohibit a person from knowingly and wrongfully broadcasting<br>or distributing an intimate visual image of a private area of another individual who is at<br>least 18 years old, who is identifiable from the imag..."],["To direct the Secretary of Veterans Affairs to ensure that each medical facility of the<br>Department of Veterans Affairs complies with requirements relating to scheduling veterans<br>for health care appointments, to improve the uniform application of directives of the<br>Department, and for other purposes.","HR467","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) VA Scheduling Accountability Act  (Sec. 2) This<br>bill directs the Department of Veterans Affairs (VA) to ensure that each VA medical<br>facility annually certifies that it is in full compliance with all provisions of law and<br>regulations relating to scheduling appointments for veterans hospital care and medical<br>services. The VA may not waive any applicable provision of ..."],["To amend the Federal Insecticide, Fungicide, and Rodenticide Act and the Federal Water<br>Pollution Control Act to clarify Congressional intent regarding the regulation of the use<br>of pesticides in or near navigable waters, and for other purposes.","HR953","Reducing Regulatory Burdens Act of 2017 (Sec. 2) This bill amends the Federal Insecticide,<br>Fungicide, and Rodenticide Act (FIFRA) and the Federal Water Pollution Control Act<br>(commonly known as the Clean Water Act) to prohibit the Environmental Protection Agency or<br>a state from requiring a permit under the National Pollutant Discharge Elimination System<br>(NPDES) for a discharge of a pesticide from a point source into navigable waters if the<br>discharge is approved under FIFRA. Point source pollut..."],["To amend title 18, United States Code, to criminalize the knowing consent of the visual<br>depiction, or live transmission, of a minor engaged in sexually explicit conduct, and for<br>other purposes.","HR1761","(This measure has not been amended since it was reported to the House on May 22, 2017. The<br>summary of that version is repeated here.) Protecting Against Child Exploitation Act of<br>2017 (Sec. 2) This bill makes it a federal crime, subject to certain jurisdictional<br>requirements, to: (1) knowingly produce or cause to be produced a visual depiction of a<br>minor engaged in any sexually explicit conduct; (2) knowingly transmit a live depiction of<br>a minor engaged in sexually explicit conduct; (3) have ..."],["To prevent the sexual abuse of minors and amateur athletes by requiring the prompt<br>reporting of sexual abuse to law enforcement authorities, and for other purposes.","HR1973","Protecting Young Victims from Sexual Abuse Act of 2017 (Sec. 2) This bill amends the<br>Victims of Child Abuse Act of 1990 to extend the duty to report suspected child abuse to<br>adults who are authorized to interact with minor or amateur athletes at an amateur sports<br>organization facility or at an event sanctioned by a national governing body (NGB) or<br>member of an NGB. An NGB is an amateur sports organization that is recognized by the<br>International Olympic Committee.   An authorized adult who fai..."],["Condemning the violence against peaceful protesters outside the Turkish Ambassador's<br>residence on May 16, 2017, and calling for the perpetrators to be brought to justice and<br>measures to be taken to prevent similar incidents in the future.","HRES354","Expresses the sense of the House of Representatives that: (1) the rights to peacefully<br>assemble and freely express one's views are essential to American democracy; and (2) the<br>United States should take steps to strengthen free press and civil society freedoms in<br>countries such as Turkey. Calls for: (1) any Turkish security official who directed or<br>participated in efforts by Turkish security forces to suppress peaceful protests outside<br>of the Turkish Ambassador's residence in Washington, DC on..."],["Providing for consideration of the bill (H.R. 2213) to amend the Anti-Border Corruption<br>Act of 2010 to authorize certain polygraph waiver authority, and for other purposes.","HRES374","Sets forth the rule for consideration of the bill (H.R. 2213) to amend the Anti-Border<br>Corruption Act of 2010 to authorize certain polygraph waiver authority."],["Providing for consideration of the bill (H.R. 10) to create hope and opportunity for<br>investors, consumers, and entrepreneurs by ending bailouts and Too Big to Fail, holding<br>Washington and Wall Street accountable, eliminating red tape to increase access to capital<br>and credit, and repealing the provisions of the Dodd-Frank Act that make America less<br>prosperous, less stable, and less free, and for other purposes.","HRES375","Sets forth the rule for consideration of the bill (H.R. 10) to create hope and opportunity<br>for investors, consumers, and entrepreneurs by ending bailouts and Too Big to Fail,<br>holding Washington and Wall Street accountable, eliminating red tape to increase access to<br>capital and credit, and repealing the provisions of the Dodd-Frank Act that make America<br>less prosperous, less stable, and less free."],["To amend the Anti-Border Corruption Act of 2010 to authorize certain polygraph waiver<br>authority, and for other purposes.","HR2213","Anti-Border Corruption Reauthorization Act of 2017 (Sec. 2) This bill amends the Anti-<br>Border Corruption Act of 2010 to expand the authority of the U.S. Customs and Border<br>Protection (CBP) to waive the administration of polygraph examinations to civilian and<br>military applicants for law enforcement positions in the CBP. This expanded waiver<br>authority terminates five years after the enactment of this bill.  (Sec. 3) An individual<br>who receives such a waiver is not exempt from other hiring require..."],["To create hope and opportunity for investors, consumers, and entrepreneurs by ending<br>bailouts and Too Big to Fail, holding Washington and Wall Street accountable, eliminating<br>red tape to increase access to capital and credit, and repealing the provisions of the<br>Dodd-Frank Act that make America less prosperous, less stable, and less free, and for<br>other purposes.","HR10","Financial CHOICE Act of 2017 (Sec. 2) This bill repeals provisions of the Dodd-Frank Wall<br>Street Reform and Consumer Protection Act and other laws.\u00a0Any rule that was issued or<br>revised\u00a0pursuant to a provision repealed by the bill\u00a0is nullified. TITLE I--ENDING \"TOO<br>BIG TO FAIL\" AND BANK BAILOUTS Subtitle A--Repeal of the Orderly Liquidation Authority<br>(Sec. 111) The bill repeals the orderly liquidation authority of the Federal Deposit<br>Insurance Corporation (FDIC). The FDIC's orderly liquidation ..."],["To extend a project of the Federal Energy Regulatory Commission involving the Cannonsville<br>Dam.","HR2292","(Sec.1)This bill authorizes the Federal Energy Regulatory Commission (FERC), upon request,<br>to extend for up to eight years the time period during which construction must commence on<br>the Cannonsville Hydroelectric Project located on the West Branch of the Delaware River in<br>the Catskill Mountains of upstate New York. (The City of New York was granted a<br>construction license for the Cannonsville Hydroelectric Project on May 13, 2014.)<br>Additionally, FERC may reinstate the construction license if i..."],["To extend the deadline for commencement of construction of certain hydroelectric projects.","HR2457","J. Bennett Johnston Waterway Hydropower Extension Act of 2017 (Sec. 2)This bill authorizes<br>the Federal Energy Regulatory Commission (FERC), upon request, to extend by six years the<br>time period during which construction must commence on the Red River Lock and Dam No. 3,<br>4, and 5 Hydroelectric Projects located on the Red River in Louisiana. The licensee is not<br>required to pay an annual charge for administrative expenses until construction commences.<br>FERC may reinstate the construction license i..."],["Providing for consideration of the bill (H.R. 2581) to amend the Internal Revenue Code of<br>1986 to require the provision of social security numbers as a condition of receiving the<br>health insurance premium tax credit, and providing for consideration of the bill (S. 1094)<br>to amend title 38, United States Code, to improve the accountability of employees of the<br>Department of Veterans Affairs, and for other purposes.","HRES378","Sets forth the rule for consideration of the bill (H.R. 2581) to amend the Internal<br>Revenue Code of 1986 to require the provision of social security numbers as a condition of<br>receiving the health insurance premium tax credit, and providing for consideration of the<br>bill (S. 1094) to amend title 38, United States Code, to improve the accountability of<br>employees of the Department of Veterans Affairs."],["To amend the Internal Revenue Code of 1986 to require the provision of social security<br>numbers as a condition of receiving the health insurance premium tax credit.","HR2581","(This measure has not been amended since it was reported to the House on June 2, 2017. The<br>summary of that version is repeated here.) Verify First Act  (Sec. 2) This bill amends the<br>Internal Revenue Code to prohibit advance payments of the premium assistance tax credit<br>from being made to an individual unless the Department of the Treasury has received<br>confirmation from the Department of Health and Human Services that the Social Security<br>Administration or the Department of Homeland Security ha..."],["A bill to amend title 38, United States Code, to improve the accountability of employees<br>of the Department of Veterans Affairs, and for other purposes.","S1094","Department of Veterans Affairs Accountability and Whistleblower Protection Act of 2017<br>TITLE I--OFFICE OF ACCOUNTABILITY AND WHISTLEBLOWER PROTECTION  (Sec. 101) This bill<br>establishes in the Department of Veterans Affairs (VA) the Office of Accountability and<br>Whistleblower Protection which shall advise the VA on all matters relating to<br>accountability, including VA employee accountability, whistle-blower disclosures and<br>related retaliation, and senior executive service (SES) and supervisory m..."],["To amend the Internal Revenue Code of 1986 to allow the premium tax credit with respect to<br>unsubsidized COBRA continuation coverage.","HR2579","(This measure has not been amended since it was reported to the House on June 2, 2017. The<br>summary of that version is repeated here.) Broader Options for Americans Act (Sec. 2) This<br>bill amends the Internal Revenue Code to allow the premium assistance tax credit to be<br>used for unsubsidized COBRA continuation health coverage.  (Under the Consolidated Omnibus<br>Budget Reconciliation Act of 1985 [COBRA], an individual may continue to receive coverage<br>under an employer-sponsored health plan after a..."],["To make improvements to the John H. Chafee Foster Care Independence Program and related<br>provisions.","HR2847","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Improving Services for Older Youth in Foster Care<br>Act (Sec. 2) This bill amends part E (Foster Care and Adoption Assistance) of title IV of<br>the Social Security Act to revise the John H. Chafee Foster Care Independence Program to:<br>authorize states electing to extend foster care eligibility up to age 21 to extend<br>assistance and services to youths who have aged out ..."],["To review and improve licensing standards for placement in a relative foster family home.","HR2866","Reducing Unnecessary Barriers for Relative Foster Parents Act (Sec. 2) This bill requires<br>the Department of Health and Human Services (HHS) to identify reputable model standards<br>for the licensing of foster family homes. Part E (Foster Care and Adoption Assistance) of<br>title IV of the Social Security Act is amended to require state plans for foster care and<br>adoption assistance to require submission to HHS of information addressing:  whether the<br>state licensing standards are in accord with HHS-i..."],["Providing for consideration of the bill (H.R. 1873) to amend the Federal Land Policy and<br>Management Act of 1976 to enhance the reliability of the electricity grid and reduce the<br>threat of wildfires to and from electric transmission and distribution facilities on<br>Federal lands by facilitating vegetation management on such lands, and providing for<br>consideration of the bill (H.R. 1654) to authorize the Secretary of the Interior to<br>coordinate Federal and State permitting processes related to the construction of new<br>surface water storage projects on lands under the jurisdiction of the Secretary of the<br>Interior and the Secretary of Agriculture and to designate the Bureau of Reclamation as<br>the lead agency for permit processing, and for other purposes.","HRES392","Sets forth the rule for consideration of the bill (H.R. 1873) to amend the Federal Land<br>Policy and Management Act of 1976 to enhance the reliability of the electricity grid and<br>reduce the threat of wildfires to and from electric transmission and distribution<br>facilities on Federal lands by facilitating vegetation management on such lands, and<br>providing for consideration of the bill (H.R. 1654) to authorize the Secretary of the<br>Interior to coordinate Federal and State permitting processes relat..."],["To amend the Federal Land Policy and Management Act of 1976 to enhance the reliability of<br>the electricity grid and reduce the threat of wildfires to and from electric transmission<br>and distribution facilities on Federal lands by facilitating vegetation management on such<br>lands.","HR1873","Electricity Reliability and Forest Protection Act (Sec.2)This bill requires the Department<br>of the Interior and the Department of Agriculture (USDA), with respect to lands under<br>their respective jurisdictions, to ensure that all existing and future rights-of-way for<br>electrical transmission and distribution facilities on such lands include requirements for<br>utility vegetation management, facility inspection, and operation and maintenance<br>activities that:  are developed in consultation with the h..."],["Providing for consideration of the bill (H.R. 2842) to provide for the conduct of<br>demonstration projects to test the effectiveness of subsidized employment for TANF<br>recipients, and providing for consideration of motions to suspend the rules.","HRES396","Sets forth the rule for consideration of the bill (H.R. 2842) to provide for the conduct<br>of demonstration projects to test the effectiveness of subsidized employment for TANF<br>recipients, and providing for consideration of motions to suspend the rules."],["To authorize the Secretary of the Interior to coordinate Federal and State permitting<br>processes related to the construction of new surface water storage projects on lands under<br>the jurisdiction of the Secretary of the Interior and the Secretary of Agriculture and to<br>designate the Bureau of Reclamation as the lead agency for permit processing, and for<br>other purposes.","HR1654","Water Supply Permitting Coordination Act  (Sec. 3) This bill establishes the Bureau of<br>Reclamation as the lead agency for purposes of coordinating all reviews, permits,<br>licenses, or other approvals or decisions (reviews) required under federal law to<br>construct new surface water storage projects in the states covered under the Reclamation<br>Act on lands administered by the Department of the Interior or the Department of<br>Agriculture, including state-led projects, exclusive of any easement, right-..."],["To provide for the conduct of demonstration projects to test the effectiveness of<br>subsidized employment for TANF recipients.","HR2842","Accelerating Individuals into the Workforce Act (Sec. 2) This bill amends title<br>IV\u00a0(Temporary Assistance for Needy Families) (TANF) of the Social Security Act to require<br>the Administration for Children &amp; Families (ACF) to make grants to states for<br>demonstration projects that provide wage subsidies to enable low-income individuals to<br>enter and retain employment. At least one\u00a0of these\u00a0demonstration projects shall fund<br>programs that offer apprenticeships registered under the National Apprent..."],["To expand the Department of Veterans Affairs medical professionals who may qualify to<br>perform physical examinations on eligible veterans and issue medical certificates required<br>for operation of a commercial motor vehicle, and for other purposes.","HR2547","(This measure has not been amended since it was reported to the House on June 23, 2017.<br>The summary of that version is repeated here.) Veterans Expanded Trucking Opportunities<br>Act of 2017 (Sec. 2) This bill amends the Fast Act to require the medical professional who<br>may perform a medical examination and provide a medical certificate for purposes of<br>compliance with requirements for operation of a commercial motor vehicle to be a<br>\"qualified examiner\" who:  is employed in the Department of Veter..."],["Providing for consideration of the bill (H.R. 1215) to improve patient access to health<br>care services and provide improved medical care by reducing the excessive burden the<br>liability system places on the health care delivery system.","HRES382","Sets forth the rule for consideration of the bill (H.R. 1215) to improve patient access to<br>health care services and provide improved medical care by reducing the excessive burden<br>the liability system places on the health care delivery system."],["Solemnly reaffirming the commitment of the United States to the North Atlantic Treaty<br>Organization's principle of collective defense as enumerated in Article 5 of the North<br>Atlantic Treaty.","HRES397","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Reaffirms the U.S. commitment to the North Atlantic Treaty Organization's<br>(NATO's) principle of collective defense.   Supports the decision at the NATO Wales Summit<br>in 2014 that each member would spend at least 2% of its gross domestic product on defense<br>by 2024.  Condemns any threat to the sovereignty, territorial integrity, freedom, and<br>democracy of any NATO ally.  Welcomes the Republi..."],["To direct the Secretary of the Interior to convey certain public lands in San Bernardino<br>County, California, to the San Bernardino Valley Water Conservation District, and to<br>accept in return certain exchanged non-public lands, and for other purposes.","HR497","(This measure has not been amended since it was reported to the House on June 2, 2017. The<br>summary of that version is repeated here.) Santa Ana River Wash Plan Land Exchange Act<br>(Sec. 3) This bill directs the Department of the Interior: (1) to convey to the San<br>Bernardino Valley Water Conservation District in California approximately 327 acres of<br>identified federal land administered by the Bureau of Land Management and any portion of<br>an identified federal parcel necessary to equalize the valu..."],["To authorize the expansion of an existing hydroelectric project, and for other purposes.","HR220","(Sec.1)This bill authorizes the licensee for the Terror Lake Hydroelectric Project in<br>Kodiak Island, Alaska, to occupy not more than 20 acres of federal land to construct,<br>operate, and maintain the Upper Hidden Basin Diversion Expansion without further<br>authorization under the Alaska National Interest Lands Conservation Act or from the<br>Department of the Interior."],["Providing for consideration of the bill (H.R. 3003) to amend the Immigration and<br>Nationality Act to modify provisions relating to assistance by States, and political<br>subdivision of States, in the enforcement of Federal immigration laws, and for other<br>purposes.","HRES414","Sets forth the rule for consideration of the bill (H.R. 3003) to amend the Immigration and<br>Nationality Act to modify provisions relating to assistance by States, and political<br>subdivision of States, in the enforcement of Federal immigration laws."],["To improve patient access to health care services and provide improved medical care by<br>reducing the excessive burden the liability system places on the health care delivery<br>system.","HR1215","Protecting Access to Care Act of 2017 This bill establishes provisions governing health<br>care lawsuits where coverage for the care was provided or subsidized by the federal<br>government, including through a subsidy or tax benefit. (Sec. 2) In general, the statute<br>of limitations is three years after the\u00a0occurrence of the breach or tort, three years<br>after\u00a0medical or health-care treatment for the injury\u00a0is completed, or one year after the<br>claimant discovers the injury, whichever occurs first. For a..."],["Providing for consideration of the bill (H.R. 3004) to amend section 276 of the<br>Immigration and Nationality Act relating to reentry of removed aliens, and providing for<br>proceedings during the period from July 3, 2017, through July 10, 2017.","HRES415","Sets forth the rule for consideration of the bill (H.R. 3004) to amend section 276 of the<br>Immigration and Nationality Act relating to reentry of removed aliens, and providing for<br>proceedings during the period from July 3, 2017, through July 10, 2017."],["To amend the Immigration and Nationality Act to modify provisions relating to assistance<br>by States, and political subdivision of States, in the enforcement of Federal immigration<br>laws, and for other purposes.","HR3003","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) No Sanctuary for Criminals Act  (Sec. 2) This<br>bill amends the Immigration and Nationality Act to prohibit any federal, state, or local<br>government or any individual from prohibiting any government entity, official, or employee<br>from complying with the immigration laws or cooperating with federal law enforcement of<br>such laws. The bill expands the scope of law enforce..."],["To amend section 276 of the Immigration and Nationality Act relating to reentry of removed<br>aliens.","HR3004","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Kate's Law (Sec. 2) This bill amends the<br>Immigration and Nationality Act to revise provisions relating to the reentry of removed<br>aliens.  The bill provides that an alien who has been excluded, deported, removed, or<br>denied admission, or who has departed the United States while under an outstanding order<br>of exclusion, deportation, or removal, and who subsequently cr..."],["To authorize, direct, facilitate, and expedite the transfer of administrative jurisdiction<br>of certain Federal land, and for other purposes.","HR1397","(Sec. 1) This bill transfers administrative jurisdiction over:  0.342 acres of federal<br>land within the boundary of the George Washington Memorial Parkway from the Department of<br>the Interior to the Department of Transportation (DOT), and   0.479 acres of federal land<br>within the boundary of the Turner-Fairbank Highway Research Center of the Federal Highway<br>Administration (FHA) adjacent to the parkway from DOT to Interior.   Interior shall<br>prohibit the storage, construction, or installation of a..."],["Providing for consideration of the bill (H.R. 2810) to authorize appropriations for fiscal<br>year 2018 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes, and providing for consideration of the bill (H.R. 23) to provide drought<br>relief in the State of California, and for other purposes.","HRES431","Sets forth the rule for consideration of the bill (H.R. 2810) to authorize appropriations<br>for fiscal year 2018 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes, and providing for consideration of the bill (H.R. 23) to provide drought<br>relief in the State of California."],["To amend the Controlled Substances Act to direct the Attorney General to register<br>practitioners to transport controlled substances to States in which the practitioner is<br>not registered under the Act for the purpose of administering the substances (under<br>applicable State law) at locations other than principal places of business or professional<br>practice.","HR1492","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Medical Controlled Substances Transportation Act<br>of 2017 (Sec. 2) This bill amends the Controlled Substances Act to direct the Drug<br>Enforcement Administration to register practitioners (other than pharmacies) to transport<br>controlled substances to and administer controlled substances in other states. A<br>registered practitioner must: be licensed, registered, or author..."],["To provide drought relief in the State of California, and for other purposes.","HR23","Gaining Responsibility on Water Act of 2017 TITLE I--CENTRAL VALLEY PROJECT WATER<br>RELIABILITY  (Sec. 101) This bill amends the Central Valley Project Improvement Act to<br>include among its purposes to: (1) ensure that water dedicated to fish and wildlife<br>purposes is replaced and provided to Central Valley Project (CVP) water contractors by<br>December 31, 2018, at the lowest cost reasonably achievable; and (2) facilitate and<br>expedite water transfers in accordance with such Act. (Sec. 102) The bill..."],["Providing for further consideration of the bill (H.R. 2810) to authorize appropriations<br>for fiscal year 2018 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes.","HRES440","Sets forth the rule for consideration of the bill (H.R. 2810)to authorize appropriations<br>for fiscal year 2018 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes."],["To authorize appropriations for fiscal year 2018 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR2810","National Defense Authorization Act for Fiscal Year 2018 This bill authorizes FY2018<br>appropriations and sets forth policies for Department of Defense (DOD) programs and<br>activities, including military personnel strengths. It does not provide budget authority,<br>which is provided in subsequent appropriations legislation.  The bill authorizes<br>appropriations to DOD for: (1) Procurement, including aircraft, missiles, weapons and<br>tracked combat vehicles, ammunition, shipbuilding and conversion, space ..."],["To designate the community living center of the Department of Veterans Affairs in Butler<br>Township, Butler County, Pennsylvania, as the \"Sergeant Joseph George Kusick VA Community<br>Living Center\".","HR2210","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) (Sec. 2) This bill designates the Department of<br>Veterans Affairs community living center in Butler Township, Butler County, Pennsylvania,<br>as the \"Sergeant Joseph George Kusick VA Community Living Center.\""],["Granting the consent and approval of Congress for the Commonwealth of Virginia, the State<br>of Maryland, and the District of Columbia to amend the Washington Area Transit Regulation<br>Compact.","HJRES92","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Interstate Compact (Sec. 2) This joint resolution<br>grants congressional consent to amendments of Virginia, Maryland, and Washington, DC to<br>the Washington Metropolitan Area Transit Regulation Compact relating to the appointment<br>and removal of members and alternates of the Board of Directors of the Washington<br>Metropolitan Area Transit Authority by compact signatories."],["Providing for consideration of the bill (H.R. 806) to facilitate efficient State<br>implementation of ground-level ozone standards, and for other purposes.","HRES451","Sets forth the rule for consideration of the bill (H.R. 806) to facilitate efficient State<br>implementation of ground-level ozone standards."],["To amend the Federal Power Act with respect to the criteria and process to qualify as a<br>qualifying conduit hydropower facility.","HR2786","(This measure has not been amended since it was reported to the House on July 12, 2017.<br>The summary of that version is repeated here.) (Sec.1)This bill amends the Federal Power<br>Act to revise the criteria for a facility to qualify as a qualifying conduit hydropower<br>facility. Under current law, a hydropower facility must have a capacity that does not<br>exceed five megawatts.This bill eliminates such requirement. Additionally, the bill<br>revises the time frame from 45 days to 30 days for an entity t..."],["To facilitate efficient State implementation of ground-level ozone standards, and for<br>other purposes.","HR806","(This measure has not been amended since it was reported to the House on July 14, 2017.<br>The summary of that version is repeated here.) Ozone Standards Implementation Act of  2017<br>This bill amends the Clean Air Act to revise the National Ambient Air Quality Standards<br>(NAAQS) program. (Sec. 2) The bill delays the implementation of the ozone NAAQS that were<br>published in 2015. The bill extends until: (1) October 26, 2024, the deadline for states<br>to submit designations to implement the 2015 ozone ..."],["Providing for consideration of the bill (H.R. 2910) to provide for Federal and State<br>agency coordination in the approval of certain authorizations under the Natural Gas Act,<br>and for other purposes; providing for consideration of the bill (H.R. 2883) to establish a<br>more uniform, transparent, and modern process to authorize the construction, connection,<br>operation, and maintenance of international border-crossing facilities for the import and<br>export of oil and natural gas and the transmission of electricity; providing for<br>consideration of the bill (H.R. 218) to provide for the exchange of Federal land and non-<br>Federal land in the State of Alaska for the construction of a road between King Cove and<br>Cold Bay; and for other purposes.","HRES454","Sets forth the rule for consideration of the bill (H.R. 2910) to provide for Federal and<br>State agency coordination in the approval of certain authorizations under the Natural Gas<br>Act, and for other purposes; providing for consideration of the bill (H.R. 2883) to<br>establish a more uniform, transparent, and modern process to authorize the construction,<br>connection, operation, and maintenance of international border-crossing facilities for the<br>import and export of oil and natural gas and the trans..."],["To establish a more uniform, transparent, and modern process to authorize the<br>construction, connection, operation, and maintenance of international border-crossing<br>facilities for the import and export of oil and natural gas and the transmission of<br>electricity.","HR2883","Promoting Cross-Border Energy Infrastructure Act (Sec.2)This bill prohibits any person<br>from constructing, connecting, operating, or maintaining a border-crossing facility for<br>the import or export of oil, natural gas, or electricity across an international border of<br>the United States without obtaining a certificate of crossing. The Federal Energy<br>Regulatory Commission (FERC), with respect to oil or natural gas pipelines, or the<br>Department of Energy (DOE), with respect to electric transmission ..."],["To provide for Federal and State agency coordination in the approval of certain<br>authorizations under the Natural Gas Act, and for other purposes.","HR2910","Promoting Interagency Coordination for Review of Natural Gas Pipelines Act (Sec.2)This<br>bill expands the authority of the Federal Energy Regulatory Commission (FERC)to act as the<br>lead agency for the purpose of coordinating all applicable federal authorizations and<br>environmental reviews under the National Environmental Policy Act of 1969 (NEPA) with<br>respect to authorizing a natural gas pipeline project under the Natural Gas Act. Federal,<br>state, and local agencies involved in the environmental r..."],["To amend the Homeland Security Act of 2002 to make certain improvements in the laws<br>administered by the Secretary of Homeland Security, and for other purposes.","HR2825","Department of Homeland Security Authorization Act or the DHS Authorization Act  DIVISION A<br>--HOMELAND SECURITY TITLE I--DEPARTMENT OF HOMELAND SECURITY HEADQUARTERS Department of<br>Homeland Security Authorization Act for Fiscal Years 2018 and 2019 Subtitle A--<br>Headquarters Operations (Sec. 1101) This bill amends the Homeland Security Act of 2002<br>(HSA) to define \"homeland security enterprise\" as any relevant governmental or<br>nongovernmental entity involved in homeland security, including a federal,..."],["To provide for the exchange of Federal land and non-Federal land in the State of Alaska<br>for the construction of a road between King Cove and Cold Bay.","HR218","King Cove Road Land Exchange Act (Sec. 4) This bill declares that, if the state of Alaska<br>offers to convey to the Department of the Interior 43,093 acres of state-owned land,<br>Interior shall convey to Alaska, in exchange, 206 acres of federal land within the Izembek<br>National Wildlife Refuge and 131 acres of federal land within the Izembek Wilderness, for<br>purposes of: (1) designating a road corridor through the refuge, and (2) constructing a<br>single-lane gravel road along the road corridor.  The..."],["To authorize appropriations for fiscal year 2018 for intelligence and intelligence-related<br>activities of the United States Government, the Community Management Account, and the<br>Central Intelligence Agency Retirement and Disability System, and for other purposes.","HR3180","(This measure has not been amended since it was reported to the House on July 28, 2017.<br>The summary of that version is repeated here.) Intelligence Authorization Act for Fiscal<br>Year 2018  TITLE I-- INTELLIGENCE ACTIVITIES  (Sec. 101) This bill authorizes FY2018<br>appropriations for the conduct of intelligence and intelligence-related activities in the:<br>Office of the Director of National Intelligence (ODNI);  Central Intelligence Agency<br>(CIA); Department of Defense (DOD);Defense Intelligence A..."],["A bill to amend title 38, United States Code, to require the Secretary of Veterans Affairs<br>to submit an annual report regarding performance awards and bonuses awarded to certain<br>high-level employees of the Department of Veterans Affairs.","S114","VA Choice and Quality Employment Act of 2017 TITLE I--APPROPRIATION OF AMOUNTS FOR<br>VETERANS CHOICE PROGRAM (Sec. 101) This bill provides funding for the Veterans Choice<br>Program. TITLE II--PERSONNEL MATTERS (Sec. 201) The annual determination of the Veterans<br>Health Administration (VHA) staff shortages shall include shortages for a minimum of five<br>clinical and five nonclinical occupations for each network. (Such determination currently<br>includes the five occupations for which there are the large..."],["To amend title 38, United States Code, to make certain improvements in the laws<br>administered by the Secretary of Veterans Affairs, and for other purposes.","HR3218","Harry W. Colmery Veterans Educational Assistance Act of 2017 This bill revises education<br>and related benefits provided to veterans, service members, dependents, and survivors.<br>The bill amends the Post-9/11 veterans' educational assistance program to:   remove<br>certain time restrictions on program use;  increase assistance for reservists, guardsmen,<br>dependents, and surviving spouses and dependents; provide full eligibility for Post-9/11<br>Purple Heart recipients and certain reservists and guards..."],["Providing for consideration of the joint resolution (H.J. Res. 111) providing for<br>congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by Bureau of Consumer Financial Protection relating to \"Arbitration Agreements\".","HRES468","Sets forth the rule for consideration of the joint resolution (H.J. Res. 111) providing<br>for congressional disapproval under chapter 8 of title 5, United States Code, of the rule<br>submitted by Bureau of Consumer Financial Protection relating to \"Arbitration Agreements\"."],["Providing for congressional disapproval under chapter 8 of title 5, United States Code, of<br>the rule submitted by Bureau of Consumer Financial Protection relating to \"Arbitration<br>Agreements\".","HJRES111","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) This joint resolution nullifies a rule submitted by the Consumer Financial<br>Protection Bureau (CFPB) regarding arbitration agreements.  (The rule regulates the use of<br>arbitration agreements in contracts for specific consumer financial products and services.<br>It prohibits the use of a predispute arbitration agreement to prevent a consumer from<br>filing or participating in certain class action..."],["To provide congressional review and to counter aggression by the Governments of Iran, the<br>Russian Federation, and North Korea, and for other purposes.","HR3364","Countering America's Adversaries Through Sanctions Act  Countering Iran's Destabilizing<br>Activities Act of 2017 This bill directs the President to impose sanctions against: (1)<br>Iran's ballistic missile or weapons of mass destruction programs, (2) the sale or transfer<br>to Iran of military equipment or the provision of related technical or financial<br>assistance, and (3) Iran's Islamic Revolutionary Guard Corps and affiliated foreign<br>persons.  The President may impose sanctions against persons resp..."],["Providing for consideration of the bill (H.R. 3219) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2018, and for other<br>purposes.","HRES473","Sets forth the rule for consideration of the bill (H.R. 3219) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2018."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2018, and for other purposes.","HR3219","Highlights:  This bill provides FY2018 appropriations for several federal agencies. The<br>bill includes 4 of the 12 regular FY2018 appropriations bills, including:    the<br>Department of Defense Appropriations Act, 2018;   the Legislative Branch Appropriations<br>Act, 2018;   the Military Construction, Veterans Affairs, and Related Agencies<br>Appropriations Act, 2018; and   the Energy and Water Development and Related Agencies<br>Appropriations Act, 2018.   The bill also includes the Department of Homela..."],["Providing for further consideration of the bill (H.R. 3219) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2018, and for other<br>purposes, and providing for consideration of motions to suspend the rules.","HRES478","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of H.R. 3219 (Department of Defense<br>Appropriations Act, 2018)."],["Providing for consideration of the bill (H.R. 3180) to authorize appropriations for fiscal<br>year 2018 for intelligence and intelligence-related activities of the United States<br>Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules; and providing for proceedings during the period from July 31, 2017,<br>through September 4, 2017.","HRES481","Sets forth the rule for consideration of the bill (H.R. 3180) to authorize appropriations<br>for fiscal year 2018 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes; waiving a requirement of clause<br>6(a) of rule XIII with respect to consideration of certain resolutions reported from the<br>Committee on Rules; and providing for proceedings d..."],["To amend the Financial Stability Act of 2010 to modify the term of the independent member<br>of the Financial Stability Oversight Council.","HR3110","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) Financial Stability Oversight Council Insurance<br>Member Continuity Act (Sec. 2) This bill amends the Financial Stability Act of 2010 to<br>modify the term of the independent member with insurance expertise of the Financial<br>Stability Oversight Council to allow the current member to continue to serve in the event<br>of a delay in the naming of a successor by the end of the me..."],["Providing for the concurrence by the House in the Senate amendments to H.R. 601, with an<br>amendment.","HRES502","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Sets forth the rule for consideration of the Senate amendments to H.R. 601<br>(the Reinforcing Education Accountability in Development Act [READ Act] and the Disaster<br>Relief Appropriations Act, 2017)."],["Providing for consideration of the bill (H.R. 3354) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2018, and for other purposes; providing for consideration of motions to<br>suspend the rules; and waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules.","HRES500","Sets forth the rule for consideration of the bill (H.R. 3354) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2018, and for other purposes; providing for consideration of motions<br>to suspend the rules; and waiving a requirement of clause 6(a) of rule XIII with respect<br>to consideration of certain resolutions reported from the Committee on Rules."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2018, and for other purposes.","HR3354","Highlights:  This bill provides appropriations for federal agencies for the remainder of<br>FY2018. It also provides additional Overseas Contingency Operations/ Global War on<br>Terrorism which is exempt from discretionary spending limits.  Additionally, the bill<br>includes the Department of Homeland Security Border Infrastructure Construction<br>Appropriations Act, 2018 which provides funding to U.S. Customs and Border Protection for<br>the construction of fencing and a wall along the Southern border.  Th..."],["Providing for further consideration of the bill (H.R. 3354) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2018, and for other purposes.","HRES504","Sets forth the rule for consideration of H.R. 3354 (Department of the Interior,<br>Environment, and Related Agencies Appropriations Act, 2018)."],["To modify the boundary of the Little Rock Central High School National Historic Site, and<br>for other purposes.","HR2611","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Little Rock Central High School National<br>Historic Site Boundary Modification Act (Sec. 2) This bill adjusts the boundary of the<br>Little Rock Central High School National Historic Site in Arkansas to include the 7<br>residences on South Park Street in Little Rock, which consist of 1.47 acres of specified<br>land.  The Department of the Interior may enter into separate coop..."],["Providing for consideration of the bill (H.R. 3697) to amend the Immigration and<br>Nationality Act with respect to aliens associated with criminal gangs, and for other<br>purposes, and providing for proceedings during the period from September 15, 2017, through<br>September 22, 2017.","HRES513","Sets forth the rule for consideration of the bill (H.R. 3697) to amend the Immigration and<br>Nationality Act with respect to aliens associated with criminal gangs, and for other<br>purposes, and providing for proceedings during the period from September 15, 2017, through<br>September 22, 2017."],["To amend the Immigration and Nationality Act with respect to aliens associated with<br>criminal gangs, and for other purposes.","HR3697","Criminal Alien Gang Member Removal Act  (Sec. 2) This bill amends the Immigration and<br>Nationality Act to make an alien: (1) inadmissible if a consular officer, the Department<br>of Homeland Security (DHS), or the Department of Justice (DOJ) knows or has reason to<br>believe that such person is or has been a member of a criminal gang or has participated in<br>criminal gang activities; and (2) deportable if such person is or has been a member of a<br>criminal gang, or has participated in criminal gang acti..."],["To amend the Homeland Security Act of 2002 to establish a Joint Counterterrorism Awareness<br>Workshop Series, and for other purposes.","HR3284","Joint Counterterrorism Awareness Workshop Series Act of 2017 (Sec. 2) This bill amends the<br>Homeland Security Act to direct the Federal Emergency Management Agency (FEMA) to<br>establish a Joint Counterterrorism Awareness Workshop Series to address emerging terrorist<br>threats and to enhance the ability of state and local jurisdictions to prevent, protect<br>against, respond to, and recover from terrorist attacks. The workshop series shall<br>include:  reviewing terrorism preparedness, response, and inte..."],["To amend title 49, United States Code, to extend authorizations for the airport<br>improvement program, to amend the Internal Revenue Code of 1986 to extend the funding and<br>expenditure authority of the Airport and Airway Trust Fund, to provide disaster tax<br>relief, and for other purposes.","HR3823","Disaster Tax Relief and Airport and Airway Extension Act of 2017 TITLE I--FEDERAL AVIATION<br>PROGRAMS  Sec. 101) This bill reauthorizes for the period October 1, 2017, through March<br>31, 2018, the airport improvement program.  (Sec. 102) The following expiring authorities<br>are extended through March 31, 2018:  the competition disclosure requirement under a<br>development project grant for a large hub airport or a medium hub airport; the eligibility<br>for small airport grants of sponsors of airports in..."],["To reauthorize the North Korean Human Rights Act of 2004, and for other purposes.","HR2061","North Korean Human Rights Reauthorization Act of 2017  (Sec. 4) This bill provides for<br>increased dissemination of news and information access to North Korea. The North Korean<br>Human Rights Act of 2004 is amended to include news rebroadcasting in supported<br>broadcasting to North Korea.  (Sec. 5) The President may: (1) distribute or provide grants<br>to distribute information receiving devices, electronically readable devices, and other<br>informational sources into North Korea; and (2) provide grants ..."],["Providing for consideration of the bill (H.R. 2824) to amend title V of the Social<br>Security Act to extend the Maternal, Infant, and Early Childhood Home Visiting Program;<br>providing for consideration of the bill (H.R. 2792) to amend the Social Security Act to<br>make certain revisions to provisions limiting payment of benefits to fugitive felons under<br>titles II, VIII, and XVI of the Social Security Act; and for other purposes.","HRES533","Sets forth the rule for consideration of the bill (H.R. 2824) to amend title V of the<br>Social Security Act to extend the Maternal, Infant, and Early Childhood Home Visiting<br>Program; providing for consideration of the bill (H.R. 2792) to amend the Social Security<br>Act to make certain revisions to provisions limiting payment of benefits to fugitive<br>felons under titles II, VIII, and XVI of the Social Security Act."],["To amend title V of the Social Security Act to extend the Maternal, Infant, and Early<br>Childhood Home Visiting Program.","HR2824","TITLE I--INCREASING OPPORTUNITY AND SUCCESS FOR CHILDREN AND PARENTS THROUGH EVIDENCE-<br>BASED HOME VISITING ACT  Increasing Opportunity\u00a0and Success for Children and<br>Parents\u00a0through Evidence-Based Home Visiting Act (Sec. 102) This bill amends title V<br>(Maternal and Child Health Services) of the Social Security Act (SSAct) to<br>reauthorize\u00a0through FY2022, and otherwise revise,\u00a0the Maternal, Infant, and Early<br>Childhood Home Visiting Program. (Sec. 103) Under current law,\u00a0grantees were<br>required,\u00a0after..."],["Providing for consideration of the bill (H.R. 3823) to amend title 49, United States Code,<br>to extend authorizations for the airport improvement program, to amend the Internal<br>Revenue Code of 1986 to extend the funding and expenditure authority of the Airport and<br>Airway Trust Fund, to provide disaster tax relief, and for other purposes, and providing<br>for consideration of motions to suspend the rules.","HRES538","Sets forth the rule for consideration of the bill (H.R. 3823) to amend title 49, United<br>States Code, to extend authorizations for the airport improvement program, to amend the<br>Internal Revenue Code of 1986 to extend the funding and expenditure authority of the<br>Airport and Airway Trust Fund, to provide disaster tax relief, and for other purposes, and<br>providing for consideration of motions to suspend the rules."],["To amend the Social Security Act to make certain revisions to provisions limiting payment<br>of benefits to fugitive felons under titles II, VIII, and XVI of the Social Security Act.","HR2792"," Control Unlawful Fugitive Felons Act of 2017  (Sec. 2) This bill amends title XVI<br>(Supplemental Security Income) (SSI) of the Social Security Act to prohibit the payment of<br>SSI benefits to an individual who is the subject of an outstanding arrest warrant for: (1)<br>committing, or attempting to commit, a felony; or (2) violating a condition of parole or<br>probation. Current law prohibits the payment of such benefits to an individual who: (1)\u00a0is<br>fleeing to avoid prosecution or confinement for comm..."],["To provide for the unencumbering of title to non-Federal land owned by the city of Tucson,<br>Arizona, for purposes of economic development by conveyance of the Federal reversionary<br>interest to the City.","HR1547","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Udall Park Land Exchange Completion Act (Sec. 3)<br>This bill directs the Department of the Interior to convey, without consideration, to the<br>city of Tucson, Arizona, the reversionary interest of the United States in and to an<br>approximately 172.8-acre parcel of land owned by the city for the purpose of unencumbering<br>the title to such land to enable its economic develo..."],["Providing for consideration of the bill (H.R. 36) to amend title 18, United States Code,<br>to protect pain-capable unborn children, and for other purposes.","HRES548","Sets forth the rule for consideration of the bill (H.R. 36) to amend title 18, United<br>States Code, to protect pain-capable unborn children."],["To amend title 18, United States Code, to protect pain-capable unborn children, and for<br>other purposes.","HR36","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Pain-Capable Unborn Child Protection Act  (Sec.<br>3) This bill amends the federal criminal code to make it a crime for any person to perform<br>or attempt to perform an abortion if the probable post-fertilization age of the fetus is<br>20 weeks or more. A violator is subject to criminal penalties\u2014a fine, up to five years in<br>prison, or both. The bill provides exceptions fo..."],["A bill to reauthorize the National Internet Crimes Against Children Task Force Program,<br>and for other purposes.","S782","(This measure has not been amended since it was passed by the House on October 3, 2017.<br>The summary of that version is repeated here.) Providing Resources, Officers, and<br>Technology To Eradicate Cyber Threats to Our Children Act of 2017 or the PROTECT Our<br>Children Act of 2017 (Sec. 2) This bill amends the PROTECT our Children Act of 2008 to<br>reauthorize through FY2022 the National Strategy for Child Exploitation Prevention and<br>Interdiction."],["Providing for consideration of the concurrent resolution (H. Con. Res. 71) establishing<br>the congressional budget for the United States Government for fiscal year 2018 and setting<br>forth the appropriate budgetary levels for fiscal years 2019 through 2027.","HRES553","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 71)<br>establishing the congressional budget for the United States Government for fiscal year<br>2018 and setting forth the appropriate budgetary levels for fiscal years 2019 through<br>2027."],["Establishing the congressional budget for the United States Government for fiscal year<br>2018 and setting forth the appropriate budgetary levels for fiscal years 2019 through<br>2027.","HCONRES71","(This measure has not been amended since it was passed by the Senate on October 19, 2017.<br>The summary of that version is repeated here.) Highlights:  This concurrent resolution<br>establishes the FY2018 congressional budget resolution, which provides a framework for<br>congressional consideration of legislation addressing revenues, spending, and other<br>budget-related issues. The budget resolution is a nonbinding framework used by Congress<br>and cannot be signed into law or vetoed by the President.  Th..."],["To designate the facility of the United States Postal Service located at 4514 Williamson<br>Trail in Liberty, Pennsylvania, as the \"Staff Sergeant Ryan Scott Ostrom Post Office\".","HR1858","Designates the facility of the United States Postal Service located at 4514 Williamson<br>Trail in Liberty, Pennsylvania, as the \"Staff Sergeant Ryan Scott Ostrom Post Office.\""],["Providing for consideration of the bill (S. 585) to provide greater whistleblower<br>protections for Federal employees, increased awareness of Federal whistleblower<br>protections, and increased accountability and required discipline for Federal supervisors<br>who retaliate against whistleblowers, and for other purposes; providing for proceedings<br>during the period from October 16, 2017, through October 20, 2017; and providing for<br>consideration of motions to suspend the rules.","HRES562","Sets forth the rule for consideration of the bill (S. 585) to provide greater<br>whistleblower protections for Federal employees, increased awareness of Federal<br>whistleblower protections, and increased accountability and required discipline for<br>Federal supervisors who retaliate against whistleblowers, and for other purposes;<br>providing for proceedings during the period from October 16, 2017, through October 20,<br>2017; and providing for consideration of motions to suspend the rules."],["To designate the facility of the United States Postal Service located at 324 West Saint<br>Louis Street in Pacific, Missouri, as the \"Specialist Jeffrey L. White, Jr. Post Office\".","HR452","Designates the facility of the United States Postal Service located at 324 West Saint<br>Louis Street in Pacific, Missouri, as the \"Specialist Jeffrey L. White, Jr. Post Office.\""],["Providing for the concurrence by the House in the Senate amendment to H.R. 2266, with an<br>amendment.","HRES569","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Concurs in the Senate amendment to H.R. 2266 (Bankruptcy Judgeship Act of<br>2017) with an amendment."],["A bill to provide greater whistleblower protections for Federal employees, increased<br>awareness of Federal whistleblower protections, and increased accountability and required<br>discipline for Federal supervisors who retaliate against whistleblowers, and for other<br>purposes.","S585"," (This measure has not been amended since it was reported to the Senate on May 4, 2017 .<br>The summary of that version is repeated here.) Dr. Chris Kirkpatrick Whistleblower<br>Protection Act of 2017 TITLE I--EMPLOYEES GENERALLY (Sec. 102) This bill directs federal<br>agencies (excluding any entity that is an element of the intelligence community) to give<br>priority to an employee transfer request if the Merit Systems Protections Board (MSPB)<br>grants a stay of a personnel action at the request of: (1) t..."],["To amend the Security and Accountability for Every Port Act of 2006 to reauthorize the<br>Customs-Trade Partnership Against Terrorism Program, and for other purposes.","HR3551","C-TPAT Reauthorization Act of 2017 This bill amends the Security and Accountability for<br>Every Port Act of 2006 to reauthorize within U.S. Customs and Border Protection (CBP) the<br>Customs-Trade Partnership Against Terrorism (C-TPAT) program. The CBP shall publish on its<br>website or other online publication: (1) information about benefits to program<br>participants, and (2) notice of any changes to benefits to participants by 30 days before<br>any such changes take effect. The bill specifies that: (1) ..."],["Providing for consideration of the bill (H.R. 469) to impose certain limitations on<br>consent decrees and settlement agreements by agencies that require the agencies to take<br>regulatory action in accordance with the terms thereof, and for other purposes, and<br>providing for consideration of the bill (H.R. 732) to limit donations made pursuant to<br>settlement agreements to which the United States is a party, and for other purposes.","HRES577","Sets forth the rule for consideration of the bill (H.R. 469) to impose certain limitations<br>on consent decrees and settlement agreements by agencies that require the agencies to take<br>regulatory action in accordance with the terms thereof, and for other purposes, and<br>providing for consideration of the bill (H.R. 732) to limit donations made pursuant to<br>settlement agreements to which the United States is a party."],["To limit donations made pursuant to settlement agreements to which the United States is a<br>party, and for other purposes.","HR732","Stop Settlement Slush Funds Act of 2017 (Sec. 2) This bill prohibits government officials<br>from entering into or enforcing a settlement agreement on behalf of the United States<br>(resolving a civil action, a plea agreement, a deferred prosecution agreement, or a<br>nonprosecution agreement) that provides for a payment or a loan to any person or entity<br>other than the United States. The bill provides exceptions to allow payments or loans<br>that: (1) remedy actual harm (including to the environment) cau..."],["To require the Secretary of the Treasury to place conditions on certain accounts at United<br>States financial institutions with respect to North Korea, and for other purposes.","HR3898","Otto Warmbier North Korea Nuclear Sanctions Act (Sec. 3) This bill directs the Department<br>of the Treasury to prohibit a foreign financial institution that knowingly provides<br>significant financial services to a \"covered person\" from opening or maintaining a<br>correspondent account in the United States. \"Covered person\" includes any person doing<br>business with North Korea, any North Korean person employed outside North Korea (unless<br>waived\u00a0by Treasury), and any person that knowingly employs a Nort..."],["Providing for consideration of the Senate amendment to the concurrent resolution (H. Con.<br>Res. 71) establishing the congressional budget for the United States Government for fiscal<br>year 2018 and setting forth the appropriate budgetary levels for fiscal years 2019 through<br>2027.","HRES580","Sets forth the rule for consideration of the Senate amendment to the concurrent resolution<br>(H. Con. Res. 71) establishing the congressional budget for the United States Government<br>for fiscal year 2018 and setting forth the appropriate budgetary levels for fiscal years<br>2019 through 2027."],["To impose certain limitations on consent decrees and settlement agreements by agencies<br>that require the agencies to take regulatory action in accordance with the terms thereof,<br>and for other purposes.","HR469","Sunshine for Regulations and Regulatory Decrees and Settlements Act of 2017 This bill<br>establishes public notice and comment procedures and motion to intervene standards for<br>civil actions seeking to compel agency action and alleging that an agency is unlawfully<br>withholding or unreasonably delaying an agency action, and for consent decrees or<br>settlement agreements that require agency action, relating to a regulatory action that<br>would affect the rights of: (1) private persons other than the pers..."],["To expand sanctions against Iran with respect to the ballistic missile program of Iran,<br>and for other purposes.","HR1698","Iran Ballistic Missiles and International Sanctions Enforcement Act This bill states that<br>it is U.S. policy to prevent Iran from undertaking any activity related to nuclear-capable<br>ballistic missiles.  The President shall report to Congress regarding the foreign and<br>domestic supply chain in Iran that supports Iran's ballistic missile program. The report<br>shall identify individuals and companies involved in such activities.  The President shall<br>submit to Congress a determination of whether any ..."],["To amend the Farm Security and Rural Investment Act of 2002 to include South Carolina as a<br>part of the Virginia/Carolina peanut producing region for purposes of appointment to the<br>Peanut Standards Board.","HR2521","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) South Carolina Peanut Parity Act of 2017  (Sec.<br>2) This bill amends the Farm Security and Rural Investment Act of 2002 to add South<br>Carolina to the Virginia/Carolina peanut producing region for the purpose of appointing<br>members of the Peanut Standards Board.  (Under current law, the region includes Virginia<br>and North Carolina. The board advises the Department of Ag..."],["Providing for consideration of the bill (H.R. 2936) to expedite under the National<br>Environmental Policy Act of 1969 and improve forest management activities on National<br>Forest System lands, on public lands under the jurisdiction of the Bureau of Land<br>Management, and on Tribal lands to return resilience to overgrown, fire-prone forested<br>lands, and for other purposes.","HRES595","Sets forth the rule for consideration of H.R. 2936 (the Resilient Federal Forests Act of<br>2017)."],["To expedite under the National Environmental Policy Act of 1969 and improve forest<br>management activities on National Forest System lands, on public lands under the<br>jurisdiction of the Bureau of Land Management, and on Tribal lands to return resilience to<br>overgrown, fire-prone forested lands, and for other purposes.","HR2936","Resilient Federal Forests Act of 2017 This bill shall apply whenever the Department<br>concerned, either the Department of Agriculture for National Forest System (NFS) lands or<br>the Department of the Interior for public lands, prepares an environmental assessment or<br>an environmental impact statement pursuant to the National Environmental Policy Act of<br>1969 (NEPA) for specified forest management activities, including those that:   will occur<br>on lands identified as suitable for timber production; o..."],["To amend the Securities Act of 1933 to expand the ability to use testing the waters and<br>confidential draft registration submissions, and for other purposes.","HR3903","Encouraging Public Offerings Act of 2017  (Sec. 2) This bill amends the Securities Act of<br>1933 to allow an issuer of securities to communicate with potential investors to ascertain<br>interest in a contemplated securities offering, either before or after the filing of a<br>registration statement (i.e., \"test the waters\"). Under current law, only emerging growth<br>companies may engage in such communications.  The bill also allows\u00a0an issuer to submit a<br>confidential draft registration statement to the S..."],["Providing for consideration of the bill (H.R. 849) to repeal the provisions of the Patient<br>Protection and Affordable Care Act providing for the Independent Payment Advisory Board.","HRES600","Sets forth the rule for consideration of the bill (H.R. 849) to repeal the provisions of<br>the Patient Protection and Affordable Care Act providing for the Independent Payment<br>Advisory Board."],["Providing for consideration of the bill (H.R. 3922) to extend funding for certain public<br>health programs, and for other purposes.","HRES601","Sets forth the rule for consideration of the bill (H.R. 3922) to extend funding for<br>certain public health programs."],["To repeal the provisions of the Patient Protection and Affordable Care Act providing for<br>the Independent Payment Advisory Board.","HR849","(This measure has not been amended since it was reported to the House on October 31, 2017.<br>The summary of that version is repeated here.) Protecting Seniors Access to Medicare Act<br>This bill amends\u00a0the Patient Protection and Affordable Care Act (PPACA) to terminate the<br>Independent Payment Advisory Board (IPAB). Under PPACA,\u00a0the IPAB is tasked with developing<br>proposals to reduce the per capita rate of growth in Medicare spending."],["To extend funding for certain public health programs, and for other purposes.","HR3922","Continuing Community Health And Medical Professional Programs to Improve Our Nation,<br>Increase National Gains, and Help Ensure Access for Little Ones, Toddlers, and Hopeful<br>Youth by Keeping Insurance Delivery Stable Act of 2017 or the CHAMPIONING HEALTHY KIDS Act<br>DIVISION A--CHAMPION ACT Community Health And Medical Professionals Improve Our Nation Act<br>of 2017 or the Champion Act  TITLE I--EXTENSION OF PUBLIC HEALTH PROGRAMS (Sec. 101) This<br>bill amends the Patient Protection and Affordable Car..."],["To amend title 38, United States Code, to authorize the Secretary of Veterans Affairs to<br>furnish assistance for adaptations of residences of veterans in rehabilitation programs<br>under chapter 31 of such title, and for other purposes.","HR3562","(Sec. 1) This bill authorizes the Department of Veterans Affairs (VA) to assist a veteran<br>with a service-connected disability who is in the vocational rehabilitation and employment<br>program to acquire necessary residential adaptations. Such assistance may not be provided<br>if it would result in a duplication of benefits.  The aggregate amount of assistance<br>available to a veteran may not exceed $77,307. The VA may waive this limitation if<br>necessary for a veteran's rehabilitation program. The VA s..."],["Providing for consideration of the bill (H.R. 3043) to modernize hydropower policy, and<br>for other purposes, and providing for consideration of the bill (H.R. 3441) to clarify the<br>treatment of two or more employers as joint employers under the National Labor Relations<br>Act and the Fair Labor Standards Act of 1938.","HRES607","Sets forth the rule for consideration of the bill (H.R. 3043) to modernize hydropower<br>policy, and for other purposes, and providing for consideration of the bill (H.R. 3441) to<br>clarify the treatment of two or more employers as joint employers under the National Labor<br>Relations Act and the Fair Labor Standards Act of 1938."],["To clarify the treatment of two or more employers as joint employers under the National<br>Labor Relations Act and the Fair Labor Standards Act of 1938.","HR3441","(This measure has not been amended since it was reported to the House on November 1, 2017.<br>The summary of that version is repeated here.) Save Local Business Act (Sec. 2) This bill<br>amends the National Labor Relations Act and the Fair Labor Standards Act of 1938 to<br>provide that a person may be considered a joint employer in relation to an employee only<br>if such person directly, actually, and immediately, and not in a limited and routine<br>manner, exercises significant control over the essential t..."],["To amend the Securities Exchange Act of 1934 with respect to risk-based examinations of<br>Nationally Recognized Statistical Rating Organizations.","HR3911","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Risk-Based Credit Examination Act (Sec. 2) This<br>bill amends the Securities Exchange Act of 1934 to provide the Securities and Exchange<br>Commission's Office of Credit Ratings with discretion concerning reviewable matters during<br>its annual examination of nationally recognized statistical rating organizations."],["Providing for consideration of the bill (H.R. 2201) to amend the Securities Act of 1933 to<br>exempt certain micro-offerings from the registration requirements of such Act, and for<br>other purposes.","HRES609","Sets forth the rule for consideration of the bill (H.R. 2201) to amend the Securities Act<br>of 1933 to exempt certain micro-offerings from the registration requirements of such Act."],["To direct the Secretary of Veterans Affairs to conduct a study on the Veterans Crisis<br>Line.","HR4173","Veterans Crisis Line Study Act of 2017  (Sec. 2) This bill directs the Department of<br>Veterans Affairs (VA) to: (1) conduct a study on the outcomes and the efficacy of the<br>toll-free Veterans Crisis Line during the five-year period beginning January 1, 2014,<br>based on an analysis of national suicide data and data collected from the line, and (2)<br>submit such study to Congress by May 31, 2019. Such study shall address: (1) the efficacy<br>of the line in leading veterans to sustained mental health reg..."],["To modernize hydropower policy, and for other purposes.","HR3043","Hydropower Policy Modernization Act of 2017 (Sec.2)This bill designates the Federal Energy<br>Regulatory Commission (FERC) as the lead agency for coordinating all federal<br>authorizations and reviews related to hydropower license applications, including<br>compliance with the National Environmental Policy Act of 1969.FERC must establish a<br>process to set a schedule for the review and disposition of each federal authorization<br>following the filing of an application for a license.  The bill expands the d..."],["To amend the Securities Act of 1933 to exempt certain micro-offerings from the<br>registration requirements of such Act, and for other purposes.","HR2201","Micro Offering Safe Harbor Act (Sec. 2) This bill\u00a0amends the Securities Act of 1933<br>to\u00a0exempt certain micro-offerings from: (1) state regulation of securities offerings, and<br>(2) federal prohibitions\u00a0related to\u00a0interstate solicitation.  The exempted micro-offerings<br>must meet all of the following requirements:  the purchaser has a substantive pre-existing<br>relationship with the issuer,  during the 12-month period preceding the transaction there<br>are no more than 35 purchasers relying on the exemp..."],["To require executive agencies to consider equipment rental in any cost-effectiveness<br>analysis for equipment acquisition, and for other purposes.","HR3071","Federal Acquisition Savings Act of 2017 (Sec. 2) This bill requires: (1) each executive<br>agency to consider equipment rental in any cost-effectiveness analysis for equipment<br>acquisition; and (2) the Government Accountability Office, within two years, to report on<br>decisions of the agencies with the highest levels of acquisition spending, and of a sample<br>of agencies with lower levels of such spending, to acquire high-value equipment by lease,<br>rental, or purchase."],["Providing for consideration of the bill (H.R. 2874) to achieve reforms to improve the<br>financial stability of the National Flood Insurance Program, to enhance the development of<br>more accurate estimates of flood risk through new technology and better maps, to increase<br>the role of private markets in the management of flood insurance risks, and to provide for<br>alternative methods to insure against flood peril, and for other purposes, and providing<br>for consideration of the conference report to accompany the bill (H.R. 2810) to authorize<br>appropriations for fiscal year 2018 for military activities of the Department of Defense,<br>for military construction, and for defense activities of the Department of Energy, to<br>prescribe military personnel strengths for such fiscal year, and for other purposes.","HRES616","Sets forth the rule for consideration of the bill (H.R. 2874) to achieve reforms to<br>improve the financial stability of the National Flood Insurance Program, to enhance the<br>development of more accurate estimates of flood risk through new technology and better<br>maps, to increase the role of private markets in the management of flood insurance risks,<br>and to provide for alternative methods to insure against flood peril, and for other<br>purposes, and providing for consideration of the conference repo..."],["To achieve reforms to improve the financial stability of the National Flood Insurance<br>Program, to enhance the development of more accurate estimates of flood risk through new<br>technology and better maps, to increase the role of private markets in the management of<br>flood insurance risks, and to provide for alternative methods to insure against flood<br>peril, and for other purposes.","HR2874","21st Century Flood Reform Act TITLE I--POLICYHOLDER PROTECTIONS AND INFORMATION (Sec. 101)<br>This bill amends the National Flood Insurance Act of 1968 to extend the National Flood<br>Insurance Program (NFIP) through FY2022.  (Sec. 102) The bill changes annual minimums and<br>limits on premium increases for specified policies subsidized through NFIP to: (1)<br>increase the minimum from 5% to 5.5% for the second year after enactment, (2) increase the<br>minimum from 5% to 6% for the third year, (3) increase ..."],["Providing for consideration of the bill (H.R. 1) to provide for reconciliation pursuant to<br>title II of the concurrent resolution on the budget for fiscal year 2018, and providing<br>for proceedings during the period from November 17, 2017, through November 27, 2017.","HRES619","Sets forth the rule for consideration of the bill (H.R. 1) to provide for reconciliation<br>pursuant to title II of the concurrent resolution on the budget for fiscal year 2018, and<br>providing for proceedings during the period from November 17, 2017, through November 27,<br>2017."],["To designate the facility of the United States Postal Service located at 430 Main Street<br>in Clermont, Georgia, as the \"Zachary Addington Post Office\".","HR3821","(Sec. 1) Designates the facility of the United States Postal Service located at 430 Main<br>Street in Clermont, Georgia, as the \"Zack T. Addington Post Office.\""],["To provide for reconciliation pursuant to title II of the concurrent resolution on the<br>budget for fiscal year 2018.","HR1","(This measure has not been amended since the House agreed to the Senate amendment without<br>amendment on December 20, 2017. The summary of that version is repeated here.) This bill<br>amends the Internal Revenue Code (IRC) to reduce tax rates and modify policies, credits,<br>and deductions for individuals and businesses. It also establishes an oil and gas leasing<br>program for the Coastal Plain of the Arctic National Wildlife Refuge (ANWR) in Alaska.<br>(Unless otherwise specified, provisions referred to..."],["To designate certain mountain peaks in the State of Colorado as \"Fowler Peak\" and \"Boskoff<br>Peak\".","HR2768","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Fowler and Boskoff Peaks Designation Act (Sec. 3)<br>This bill designates specified mountain peaks in the Uncompahgre National Forest in<br>Colorado as \"Fowler Peak\" and \"Boskoff Peak.\""],["Providing for consideration of the bill (H.R. 3017) to amend the Comprehensive<br>Environmental Response, Compensation, and Liability Act of 1980 to reauthorize and improve<br>the brownfields program, and for other purposes, and providing for consideration of the<br>bill (H.R. 3905) to require congressional approval of any mineral withdrawal or monument<br>designation involving the National Forest System lands in the State of Minnesota, to<br>provide for the renewal of certain mineral leases in such lands, and for other purposes.","HRES631","Sets forth the rule for consideration of the bill (H.R. 3017) to amend the Comprehensive<br>Environmental Response, Compensation, and Liability Act of 1980 to reauthorize and improve<br>the brownfields program, and for other purposes, and providing for consideration of the<br>bill (H.R. 3905) to require congressional approval of any mineral withdrawal or monument<br>designation involving the National Forest System lands in the State of Minnesota, to<br>provide for the renewal of certain mineral leases in su..."],["To require congressional approval of any mineral withdrawal or monument designation<br>involving the National Forest System lands in the State of Minnesota, to provide for the<br>renewal of certain mineral leases in such lands, and for other purposes.","HR3905","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Minnesota's Economic Rights in the Superior<br>National Forest Act (Sec. 2) This bill declares that minerals with the National Forest<br>System (NFS) lands in Minnesota shall not be subject to withdrawal from disposition under<br>U.S. mineral and geothermal leasing laws unless such withdrawal is approved by an Act of<br>Congress.  (Sec. 3) The bill prohibits any extension or ..."],["Providing for consideration of the bill (H.R. 4182) to amend title 5, United States Code,<br>to modify probationary periods with respect to positions within the competitive service<br>and the Senior Executive Service, and for other purposes, and providing for consideration<br>of the bill (H.R. 1699) to amend the Truth in Lending Act to modify the definitions of a<br>mortgage originator and a high-cost mortgage, to amend the Secure and Fair Enforcement for<br>Mortgage Licensing Act of 2008 to modify the definition of a loan originator, and for<br>other purposes.","HRES635","Sets forth the rule for consideration of the bill (H.R. 4182) to amend title 5, United<br>States Code, to modify probationary periods with respect to positions within the<br>competitive service and the Senior Executive Service, and for other purposes, and<br>providing for consideration of the bill (H.R. 1699) to amend the Truth in Lending Act to<br>modify the definitions of a mortgage originator and a high-cost mortgage, to amend the<br>Secure and Fair Enforcement for Mortgage Licensing Act of 2008 to modif..."],["To amend the Comprehensive Environmental Response, Compensation, and Liability Act of 1980<br>to reauthorize and improve the brownfields program, and for other purposes.","HR3017"," Brownfields Enhancement, Economic Redevelopment, and Reauthorization Act of 2017 (Sec. 2)<br>This bill modifies the Comprehensive Environmental Response, Compensation, and Liability<br>Act of 1980 (CERCLA) to specify if a state or local government takes title to a brownfield<br>site as a result of law enforcement activity, that government is not an owner or operator<br>for the purposes of CERCLA. (Brownfields are certain commercial properties that are<br>hindered from reuse or redevelopment due to the pres..."],["To amend the Truth in Lending Act to modify the definitions of a mortgage originator and a<br>high-cost mortgage, to amend the Secure and Fair Enforcement for Mortgage Licensing Act of<br>2008 to modify the definition of a loan originator, and for other purposes.","HR1699","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.) Preserving Access to Manufactured Housing Act of<br>2017 (Sec. 2) This bill amends the Truth in Lending Act (TILA) to specify that a retailer<br>of manufactured housing is generally not a \"mortgage originator\" subject to requirements<br>under that Act. Similarly, the bill amends the Secure and Fair Enforcement for Mortgage<br>Licensing Act of 2008 to specify that such a retail..."],["To provide overtime pay for employees of the United States Secret Service, and for other<br>purposes.","HR3731","Secret Service Recruitment and Retention Act of 2018 (Sec. 2) This bill amends the<br>Overtime Pay for Protective Services Act of 2016 to extend through 2018, subject to<br>specified limitations, the exemption of U.S. Secret Service officers, employees, and<br>agents who perform protective services from the limitation on premium pay otherwise<br>applicable to federal employees. The bill specifies that the exemption also applies to the<br>U.S. Secret Service Uniformed Division. The bill provides that such am..."],["To amend title 18, United States Code, to increase the penalty for female genital<br>mutilation, and for other purposes.","HR3317","Stopping Abusive Female Exploitation Act of 2017 or the SAFE Act of 2017 (Sec. 2) This<br>bill amends the federal criminal code to increase from 5 to 15 years the maximum prison<br>term for an individual who is convicted of female genital mutilation.  (Sec. 3) It<br>expresses the sense of Congress that states should have in place laws that require health<br>care professionals, teachers, and other school employees to report to local law<br>enforcement agencies any instance of suspected female genital mutilat..."],["Providing for consideration of the bill (H.R. 38) to amend title 18, United States Code,<br>to provide a means by which nonresidents of a State whose residents may carry concealed<br>firearms may also do so in the State.","HRES645","Sets forth the rule for consideration of the bill (H.R. 38) to amend title 18, United<br>States Code, to provide a means by which nonresidents of a State whose residents may carry<br>concealed firearms may also do so in the State."],["A bill to authorize the Secretary of Veterans Affairs to enter into contracts with<br>nonprofit organizations to investigate medical centers of the Department of Veterans<br>Affairs.","S1266","Enhancing Veteran Care Act  (Sec. 2) This bill authorizes the Department of Veterans<br>Affairs (VA) to contract with a nonprofit organization that accredits health care<br>organizations and programs in the United States to investigate a VA medical center to<br>assess and report deficiencies of the center's facilities. The VA shall delegate such<br>authority to the Veterans Integrated Service Network (VISN) in which the medical center is<br>located or to the director of such medical center.   Before enterin..."],["To amend title 18, United States Code, to provide a means by which nonresidents of a State<br>whose residents may carry concealed firearms may also do so in the State.","HR38","Concealed Carry Reciprocity Act of 2017 TITLE I--CONCEALED CARRY RECIPROCITY ACT OF 2017<br>(Sec. 101) This bill amends the federal criminal code to allow a qualified individual to<br>carry a concealed handgun into or possess a concealed handgun in another state that allows<br>individuals to carry concealed firearms. A qualified individual must: (1) be eligible to<br>possess, transport, or receive a firearm under federal law; (2) carry a valid photo<br>identification document; and (3) carry a valid conceale..."],["Providing for consideration of the bill (H.R. 477) to amend the Securities Exchange Act of<br>1934 to exempt from registration brokers performing services in connection with the<br>transfer of ownership of smaller privately held companies; providing for consideration of<br>the bill (H.R. 3971) to amend the Truth in Lending Act and the Real Estate Settlement<br>Procedures Act of 1974 to modify the requirements for community financial institutions<br>with respect to certain rules relating to mortgage loans, and for other purposes; and<br>providing for consideration of the joint resolution (H.J. Res. 123) making further<br>continuing appropriations for fiscal year 2018, and for other purposes.","HRES647","Sets forth the rule for consideration of the bill (H.R. 477) to amend the Securities<br>Exchange Act of 1934 to exempt from registration brokers performing services in connection<br>with the transfer of ownership of smaller privately held companies; providing for<br>consideration of the bill (H.R. 3971) to amend the Truth in Lending Act and the Real<br>Estate Settlement Procedures Act of 1974 to modify the requirements for community<br>financial institutions with respect to certain rules relating to mortgag..."],["Expressing concern and condemnation over the political, economic, social, and humanitarian<br>crisis in Venezuela.","HRES259","Urges the government of Venezuela to heed the calls of the international community to: (1)<br>hold free, fair, and open elections; (2) release all political prisoners, including U.S.<br>citizens; (3) respect the constitutional rights of the National Assembly; and (4) open a<br>channel for international humanitarian assistance and medicines.  Calls for Organization<br>of American States (OAS) member states to continue: (1) efforts to support the principles<br>of the Inter-American Democratic Charter, regardl..."],["To amend the Securities Exchange Act of 1934 to exempt from registration brokers<br>performing services in connection with the transfer of ownership of smaller privately held<br>companies.","HR477","Small Business Mergers, Acquisitions, Sales, and Brokerage Simplification Act of 2017<br>(Sec. 2) This bill amends the Securities Exchange Act of 1934 to exempt from\u00a0that Act's<br>registration requirements merger-and-acquisition brokers that facilitate transfer of<br>ownership in privately held companies with earnings or revenues under a specified<br>threshold. This exemption shall not apply, however, to brokers that:    receive, hold,<br>transmit, or have custody of funds or securities to be exchanged by p..."],["Making further continuing appropriations for fiscal year 2018, and for other purposes.","HJRES123","(This measure has not been amended since it was passed by the House on December 7, 2017.<br>The summary of that version is repeated here.) DIVISION A--FURTHER CONTINUING<br>APPROPRIATIONS ACT, 2018 Further Continuing Appropriations Act, 2018 (Sec. 101) This<br>division amends the Continuing Appropriations Act, 2018 to extend the expiration date of<br>the FY2018 Continuing Resolution (CR) from December 8, 2017, to December 22, 2017. The<br>division provides continuing appropriations for federal agencies thro..."],["To provide requirements for the appropriate Federal banking agencies when requesting or<br>ordering a depository institution to terminate a specific customer account, to provide for<br>additional requirements related to subpoenas issued under the Financial Institutions<br>Reform, Recovery, and Enforcement Act of 1989, and for other purposes.","HR2706","Financial Institution Customer Protection Act of 2017 (Sec. 2) This bill specifies that<br>a\u00a0federal banking agency may not request or order a depository institution to terminate a<br>customer account unless: (1) the agency has a valid reason for doing so, and (2) that<br>reason is not based solely on reputation risk. Valid reasons for terminating an account<br>include threats to national security and involvement in terrorist financing, including<br>state sponsorship of terrorism. A federal banking agency r..."],["To amend title 18, United States Code, to provide for the protection of community centers<br>with religious affiliation, and for other purposes.","HR1730","Combating Anti-Semitism Act of 2017 This bill amends the federal criminal code to modify<br>prohibitions with respect to intentionally defacing, damaging, or destroying religious<br>real property. Specifically, the bill broadens the scope of prohibited conduct to also<br>criminalize threats to deface, damage, or destroy religious real property. Additionally,<br>it establishes a criminal penalty\u2014a fine, a prison term of up to five years, or both\u2014for a<br>violation that results in damage or destruction to rel..."],["To amend the Truth in Lending Act and the Real Estate Settlement Procedures Act of 1974 to<br>modify the requirements for community financial institutions with respect to certain rules<br>relating to mortgage loans, and for other purposes.","HR3971","Community Institution Mortgage Relief Act of 2017 (Sec. 2) This bill amends the Truth in<br>Lending Act to create a safe harbor from requirements for an escrow or impound account for<br>the payment of taxes and hazard insurance in the case of mortgage loans made by a creditor<br>with consolidated assets of $10 billion or less that holds the loan on its balance sheet<br>for three years after its origination. A creditor shall be deemed to have complied with<br>the three-year balance sheet requirement if it tr..."],["Providing for consideration of the bill (H.R. 1638) to require the Secretary of the<br>Treasury to submit a report to the appropriate congressional committees on the estimated<br>total assets under direct or indirect control by certain senior Iranian leaders and other<br>figures, and for other purposes, and providing for consideration of the bill (H.R. 4324)<br>to require the Secretary of the Treasury to make certifications with respect to United<br>States and foreign financial institutions' aircraft-related transactions involving Iran,<br>and for other purposes.","HRES658","Sets forth the rule for consideration of the bill (H.R. 1638) to require the Secretary of<br>the Treasury to submit a report to the appropriate congressional committees on the<br>estimated total assets under direct or indirect control by certain senior Iranian leaders<br>and other figures, and for other purposes, and providing for consideration of the bill<br>(H.R. 4324) to require the Secretary of the Treasury to make certifications with respect<br>to United States and foreign financial institutions' aircr..."],["Providing for consideration of the bill (H.R. 2396) to amend the Gramm-Leach-Bliley Act to<br>update the exception for certain annual notices provided by financial institutions, and<br>providing for consideration of the bill (H.R. 4015) to improve the quality of proxy<br>advisory firms for the protection of investors and the U.S. economy, and in the public<br>interest, by fostering accountability, transparency, responsiveness, and competition in<br>the proxy advisory firm industry.","HRES657","Sets forth the rule for consideration of the bill (H.R. 2396) to amend the Gramm-Leach-<br>Bliley Act to update the exception for certain annual notices provided by financial<br>institutions, and providing for consideration of the bill (H.R. 4015) to improve the<br>quality of proxy advisory firms for the protection of investors and the U.S. economy, and<br>in the public interest, by fostering accountability, transparency, responsiveness, and<br>competition in the proxy advisory firm industry."],["To require the Secretary of the Treasury to submit a report to the appropriate<br>congressional committees on the estimated total assets under direct or indirect control by<br>certain senior Iranian leaders and other figures, and for other purposes.","HR1638","Iranian Leadership Asset Transparency Act  (Sec. 3) This bill requires the Department of<br>the Treasury, in furtherance of efforts to prevent terrorism financing, money laundering,<br>or illicit finance and to make financial institutions' sanctions compliance more easily<br>understood, to report to Congress within 270 days and annually thereafter for the next two<br>years regarding:   the funds or assets held in U.S. and foreign financial institutions<br>that are controlled by specified Iranian officials; ..."],["To amend the Gramm-Leach-Bliley Act to update the exception for certain annual notices<br>provided by financial institutions.","HR2396","Privacy Notification Technical Clarification Act (Sec. 2) This bill amends the Gramm-<br>Leach-Bliley Act to exempt a vehicle financial company, under specified circumstances,<br>from the requirement\u00a0to annually disclose its\u00a0privacy policies to consumers. A vehicle<br>financial company\u00a0shall be\u00a0exempt from such requirement if: (1) the company has not<br>changed its privacy policies since its last disclosure, (2) the current policy is<br>available on its website and via mail, (3) notice is provided to custome..."],["To require the Secretary of the Treasury to make certifications with respect to United<br>States and foreign financial institutions' aircraft-related transactions involving Iran,<br>and for other purposes.","HR4324","Strengthening Oversight of Iran's Access to Finance Act (Sec. 3) This bill sets forth<br>reporting requirements with respect to the export of commercial passenger aircrafts to<br>Iran. The Department of the Treasury must report on financial institutions conducting<br>transactions regarding such exports. Additionally, Treasury must determine if such<br>transactions pose a risk relating to money laundering, terrorism, or other sanctionable<br>activities. The President may waive the requirements of this bill u..."],["To provide for a study on broadening participation in certain National Science Foundation<br>research and education programs, to collect data on Federal research grants to science<br>agencies, and for other purposes.","HR4375","STEM Research and Education Effectiveness and Transparency Act (Sec. 2) This bill directs<br>the National Science Foundation (NSF) to report on the effectiveness of all NSF research<br>and education programs intended to broaden the participation of women and other<br>historically underrepresented individuals in science, technology, engineering, and<br>mathematics disciplines and careers.  (Sec. 3) Each federal agency that expended at least<br>$100 million on research and development in FY2017 shall annually..."],["Providing for consideration of the conference report to accompany the bill (H.R. 1) to<br>provide for reconciliation pursuant to titles II and V of the concurrent resolution on the<br>budget for fiscal year 2018; providing for consideration of the bill (H.R. 3312) to amend<br>the Dodd-Frank Wall Street Reform and Consumer Protection Act to specify when bank holding<br>companies may be subject to certain enhanced supervision, and for other purposes; and for<br>other purposes.","HRES667","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>1) to provide for reconciliation pursuant to titles II and V of the concurrent resolution<br>on the budget for fiscal year 2018; providing for consideration of the bill (H.R. 3312) to<br>amend the Dodd-Frank Wall Street Reform and Consumer Protection Act to specify when bank<br>holding companies may be subject to certain enhanced supervision, and for other purposes."],["To amend the National Science Foundation Authorization Act of 2002 to strengthen the<br>aerospace workforce pipeline by the promotion of Robert Noyce Teacher Scholarship Program<br>and National Aeronautics and Space Administration internship and fellowship opportunities<br>to women, and for other purposes.","HR4254","Women in Aerospace Education Act (Sec. 2) This bill amends the National Science Foundation<br>Authorization Act of 2002 to permit certain grants awarded by the National Science<br>Foundation (NSF) to be used to provide internships that include research experiences at<br>national laboratories and National Aeronautics and Space Administration (NASA) centers.<br>NSF Master Teaching Fellows and undergraduate freshman and sophomore students studying to<br>become mathematics and science teachers under the Robert ..."],["To promote veteran involvement in STEM education, computer science, and scientific<br>research, and for other purposes.","HR4323","Supporting Veterans in STEM Careers Act (Sec. 3) This bill directs the National Science<br>Foundation (NSF) to: (1) encourage veterans to pursue careers in STEM (science,<br>technology, engineering, and mathematics) and computer science, and (2) submit a plan to<br>Congress for enhancing veterans outreach.   The plan shall: (1) report on NSF's outreach<br>activities, (2) identify the best method for leveraging existing authorities and programs<br>to support veterans in STEM careers and studies, and (3) incl..."],["To amend the Dodd-Frank Wall Street Reform and Consumer Protection Act to specify when<br>bank holding companies may be subject to certain enhanced supervision, and for other<br>purposes.","HR3312","Systemic Risk Designation Improvement Act of 2017 (Sec. 2) This bill amends the Dodd-Frank<br>Wall Street Reform and Consumer Protection Act to allow the Federal Reserve Board (FRB) to<br>subject a bank holding company to enhanced supervision if: (1) the company has been<br>identified as a global systemically important company; or (2) the risk of the company's<br>financial distress, or the nature of the company's activities, could pose a threat to the<br>financial stability of the United States. Currently, ..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1) to provide for<br>reconciliation pursuant to titles II and V of the concurrent resolution on the budget for<br>fiscal year 2018.","HRES668","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 1) to<br>provide for reconciliation pursuant to titles II and V of the concurrent resolution on the<br>budget for fiscal year 2018."],["To improve the quality of proxy advisory firms for the protection of investors and the<br>U.S. economy, and in the public interest, by fostering accountability, transparency,<br>responsiveness, and competition in the proxy advisory firm industry.","HR4015","Corporate Governance Reform and Transparency Act of  2017 (Sec. 3) This bill amends the<br>Securities Exchange Act of 1934 to: (1)\u00a0require a proxy advisory firm to register with the<br>Securities and Exchange Commission (SEC); and (2) prohibit an unregistered proxy advisory<br>firm from using interstate commerce to provide proxy-voting research, analysis, or<br>recommendations to any client.   With respect to such firms, the bill: (1)\u00a0establishes<br>procedures for\u00a0both registration and termination of regist..."],["Providing for consideration of the Senate amendment to the bill (H.R.1370) to amend the<br>Homeland Security Act of 2002 to require the Secretary of Homeland Security to issue<br>Department of Homeland Security-wide guidance and develop training programs as part of the<br>Department of Homeland Security Blue Campaign, and for other purposes; providing for<br>consideration of the bill (H.R. 4667) making further supplemental appropriations for the<br>fiscal year ending September 30, 2018, for disaster assistance for Hurricanes Harvey,<br>Irma, and Maria, and calendar year 2017 wildfires, and for other purposes; and providing<br>for proceedings during the period from December 22, 2017, through January 7, 2018.","HRES670","Sets forth the rule for consideration of the Senate amendment to the bill (H.R.1370) to<br>amend the Homeland Security Act of 2002 to require the Secretary of Homeland Security to<br>issue Department of Homeland Security-wide guidance and develop training programs as part<br>of the Department of Homeland Security Blue Campaign, and for other purposes; providing<br>for consideration of the bill (H.R. 4667) making further supplemental appropriations for<br>the fiscal year ending September 30, 2018, for disast..."],["A bill to streamline the process by which active duty military, reservists, and veterans<br>receive commercial driver's licenses.","S1393","Jobs for Our Heroes Act (Sec. 2) This bill amends the FAST Act to require the medical<br>professional who may perform a medical examination and provide a medical certificate for<br>purposes of compliance with requirements for operation by a veteran of a commercial motor<br>vehicle to be a \"qualified examiner\" who:  is employed by the Department of Veterans<br>Affairs as a medical professional; and  is licensed, certified, or registered in a state<br>to perform physical examinations.  (Sec. 3) The bill appli..."],["To amend the Homeland Security Act of 2002 to require the Secretary of Homeland Security<br>to issue Department of Homeland Security-wide guidance and develop training programs as<br>part of the Department of Homeland Security Blue Campaign, and for other purposes.","HR1370","DIVISION A--FURTHER ADDITIONAL CONTINUING APPROPRIATIONS ACT, 2018  Further Additional<br>Continuing Appropriations Act, 2018  (Sec. 1001) Amends the Continuing Appropriations Act,<br>2018 to provide continuing FY2018 appropriations to federal agencies through January 19,<br>2018 (December 22, 2017, under current law).  (This provision prevents a government<br>shutdown that would otherwise occur when the existing continuing resolution expires<br>because the FY2018 appropriations bills have not been enacted...."],["Making further supplemental appropriations for the fiscal year ending September 30, 2018,<br>for disaster assistance for Hurricanes Harvey, Irma, and Maria, and calendar year 2017<br>wildfires, and for other purposes.","HR4667","DIVISION A--DISASTER ASSISTANCE  Further Additional Supplemental Appropriations for<br>Disaster Relief Requirements, 2017  This division provides $81 billion in FY2018 emergency<br>appropriations to several federal agencies for disaster assistance related to Hurricanes<br>Harvey, Irma, and Maria; and wildfires that occurred in 2017. (Emergency spending is<br>exempt from discretionary spending limits and other budget enforcement rules.) DIVISION B<br>--DISASTER RECOVERY REFORM ACT  This division amends the Ro..."],["A bill to disqualify from operating a commercial motor vehicle for life an individual who<br>uses a commercial motor vehicle in committing a felony involving human trafficking.","S1532","No Human Trafficking on Our Roads Act (Sec. 2) This bill directs the Department of<br>Transportation to disqualify from operating a commercial motor vehicle for life an<br>individual who uses such a vehicle in committing a felony involving a severe form of human<br>trafficking."],["Supporting the rights of the people of Iran to free expression, condemning the Iranian<br>regime for its crackdown on legitimate protests, and for other purposes.","HRES676","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Stands with the people of Iran who are engaged in<br>legitimate and peaceful protests against an oppressive, corrupt regime.  Condemns the<br>Iranian regime's human rights abuses, corruption, and destabilizing activities abroad.<br>Notes the statements of support for the protestors from key allies and calls on all<br>democratic governments and institutions to support the Ira..."],["To require a threat assessment on current foreign terrorist fighter activities, and for<br>other purposes.","HR4564","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Post-Caliphate Threat Assessment Act of 2017<br>(Sec. 2) This bill directs the Department of Homeland Security (DHS), in coordination with<br>the Department of State and the Office of the Director of National Intelligence, to<br>conduct a threat assessment of current foreign terrorist fighter activities. Such<br>assessment shall include: (1) a detailed summary of current for..."],["To require the Secretary of Homeland Security to develop best practices for utilizing<br>advanced passenger information and passenger name record data for counterterrorism<br>screening and vetting operations, and for other purposes.","HR4581","Screening and Vetting Passenger Exchange Act of 2017 (Sec. 2) This bill directs the<br>Department of Homeland Security (DHS) to develop best practices for utilizing advanced<br>passenger information and passenger name record data for counterterrorism screening and<br>vetting operations. DHS shall: (1) make unclassified versions of such best practices<br>available to appropriate countries, including visa waiver program countries; and (2)<br>provide assistance to such countries in implementing such practices."],["Providing for consideration of the bill (S. 139) to implement the use of Rapid DNA<br>instruments to inform decisions about pretrial release or detention and their conditions,<br>to solve and prevent violent crimes and other crimes, to exonerate the innocent, to<br>prevent DNA analysis backlogs, and for other purposes.","HRES682","Sets forth the rule for consideration of the bill (S. 139) to implement the use of Rapid<br>DNA instruments to inform decisions about pretrial release or detention and their<br>conditions, to solve and prevent violent crimes and other crimes, to exonerate the<br>innocent, to prevent DNA analysis backlogs."],["Providing for consideration of the bill (S. 140) to amend the White Mountain Apache Tribe<br>Water Rights Quantification Act of 2010 to clarify the use of amounts in the WMAT<br>Settlement Fund.","HRES681","Sets forth the rule for consideration of the bill (S. 140) to amend the White Mountain<br>Apache Tribe Water Rights Quantification Act of 2010 to clarify the use of amounts in the<br>WMAT Settlement Fund."],["A bill to amend the White Mountain Apache Tribe Water Rights Quantification Act of 2010 to<br>clarify the use of amounts in the WMAT Settlement Fund.","S140","(Sec. 1) This bill amends the White Mountain Apache Tribe Water Rights Quantification Act<br>of 2010 to specify that settlement funds may be used for the planning, design, and<br>construction of the tribe's rural water system in Arizona. (Sec. 2) The bill amends the<br>Act of August 9, 1955, commonly known as the Long-Term Leasing Act, to allow the Ohkay<br>Owingeh pueblo and the pueblo of Santa Clara in New Mexico to lease their restricted fee<br>tribal land (land that is owned by a tribe and has restricti..."],["To require a Department of Homeland Security overseas personnel enhancement plan, and for<br>other purposes.","HR4567","DHS Overseas Personnel Enhancement Act of 2017 (Sec. 2) This bill directs the Department<br>of Homeland Security (DHS), by 90 days after the submission of the 3-year strategy for DHS<br>international programs required under the National Defense Authorization Act for Fiscal<br>Year 2017 and every 180 days thereafter, to brief the congressional homeland security<br>committees on DHS personnel with primary duties that take place outside of the United<br>States. The briefing shall include:  a detailed summary o..."],["A bill to implement the use of Rapid DNA instruments to inform decisions about pretrial<br>release or detention and their conditions, to solve and prevent violent crimes and other<br>crimes, to exonerate the innocent, to prevent DNA analysis backlogs, and for other<br>purposes.","S139","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Rapid DNA Act of 2017 (Sec. 2) This bill amends<br>the DNA Identification Act of 1994 to require the Federal Bureau of Investigation (FBI) to<br>issue standards and procedures for using Rapid DNA instruments to analyze DNA samples of<br>criminal offenders. Rapid DNA instruments carry out a fully automated process to create a<br>DNA analysis from a DNA sample. DNA samples prep..."],["To amend the Harmonized Tariff Schedule of the United States to modify temporarily certain<br>rates of duty.","HR4318","Miscellaneous Tariff Bill Act of 2018 This bill amends the Harmonized Tariff Schedule of<br>the United States (HTS) to: (1) repeal expired reductions in rates of duty for specified<br>chemicals and other items; and (2) provide for duty suspensions and reductions through<br>December 31, 2020, for specified chemicals and other items. The bill amends the<br>Consolidated Omnibus Budget Reconciliation Act of 1985 to extend through April 22, 2026,<br>(currently, January 14, 2026) the authority of the Department o..."],["A bill to designate a mountain peak in the State of Montana as \"Alex Diekmann Peak\".","S117","Alex Diekmann Peak Designation Act of 2017 (Sec. 2) This bill designates as the \"Alex<br>Diekmann Peak\" the 9,765-foot peak located 2.2 miles west-northwest of Finger Mountain on<br>the western boundary of the Lee Metcalf Wilderness in Montana."],["Providing for consideration of the bill (H.R. 3326) to increase accountability, combat<br>corruption, and strengthen management effectiveness at the World Bank, and providing for<br>consideration of the bill (H.R. 2954) to amend the Home Mortgage Disclosure Act of 1975 to<br>specify which depository institutions are subject to the maintenance of records and<br>disclosure requirements of such Act, and for other purposes.","HRES693","Sets forth the rule for consideration of the bill (H.R. 3326) to increase accountability,<br>combat corruption, and strengthen management effectiveness at the World Bank, and<br>providing for consideration of the bill (H.R. 2954) to amend the Home Mortgage Disclosure<br>Act of 1975 to specify which depository institutions are subject to the maintenance of<br>records and disclosure requirements of such Act."],["To increase accountability, combat corruption, and strengthen management effectiveness at<br>the World Bank.","HR3326","World Bank Accountability Act of 2017 This bill provides that for each of FY2018-FY2023,<br>15% of appropriations for the World Bank's International Development Association shall be<br>withheld and not disbursed until the Department of the Treasury reports to Congress that<br>the International Bank for Reconstruction and Development: (1) is implementing<br>institutional incentives that prioritize poverty reduction, development outcomes, and<br>capable project management over the Bank's lending and grant mak..."],["To direct the Securities and Exchange Commission to revise any rules necessary to enable<br>closed-end companies to use the securities offering and proxy rules that are available to<br>other issuers of securities.","HR4279","Expanding Investment Opportunities Act (Sec. 2) This bill directs the Securities and<br>Exchange Commission to revise registration rules to allow a closed-end company to use<br>offering and proxy rules currently available to other issuers of securities, thereby<br>reducing filing requirements and restrictions on communications with investors in certain<br>circumstances. (A closed-end company is a publicly traded investment management company<br>that sells a limited number of shares to investors in an initia..."],["Providing for consideration of the Senate amendment to the bill (H.R. 195) to amend title<br>44, United States Code, to restrict the distribution of free printed copies of the Federal<br>Register to Members of Congress and other officers and employees of the United States, and<br>for other purposes; waiving a requirement of clause 6(a) of rule XIII with respect to<br>consideration of certain resolutions reported from the Committee on Rules; and providing<br>for consideration of motions to suspend the rules.","HRES696","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 195) to<br>amend title 44, United States Code, to restrict the distribution of free printed copies of<br>the Federal Register to Members of Congress and other officers and employees of the United<br>States, and for other purposes; waiving a requirement of clause 6(a) of rule XIII with<br>respect to consideration of certain resolutions reported from the Committee on Rules; and<br>providing for consideration of motions to suspend ..."],["Providing for consideration of the bill (H.R. 4712) to amend title 18, United States Code,<br>to prohibit a health care practitioner from failing to exercise the proper degree of care<br>in the case of a child who survives an abortion or attempted abortion, and providing for<br>proceedings during the period from January 22, 2018, through January 26, 2018.","HRES694","Sets forth the rule for consideration of the bill (H.R. 4712) to amend title 18, United<br>States Code, to prohibit a health care practitioner from failing to exercise the proper<br>degree of care in the case of a child who survives an abortion or attempted abortion, and<br>providing for proceedings during the period from January 22, 2018, through January 26,<br>2018."],["To amend the Home Mortgage Disclosure Act of 1975 to specify which depository institutions<br>are subject to the maintenance of records and disclosure requirements of such Act, and for<br>other purposes.","HR2954","Home Mortgage Disclosure Adjustment Act (Sec. 2) This\u00a0bill\u00a0amends the Home Mortgage<br>Disclosure Act\u00a0of 1975 to\u00a0exempt a depository institution\u00a0from certain records and<br>disclosure\u00a0requirements related to the itemization of loan data: (1) with respect to<br>closed-end mortgage loans, if the depository institution originated fewer than 500 such<br>loans in each of the two preceding years; and (2) with respect to open-end lines of<br>credit, if the depository institution originated fewer than 500 such line..."],["To amend title 44, United States Code, to restrict the distribution of free printed copies<br>of the Federal Register to Members of Congress and other officers and employees of the<br>United States, and for other purposes.","HR195"," DIVISION A--FEDERAL REGISTER PRINTING SAVINGS ACT OF 2017  Federal Register Printing<br>Savings Act of 2017   (Sec. 2) This division bars the Government Publishing Office from<br>furnishing a printed copy of the Federal Register without charge to any Member of Congress<br>or any other office of the United States during a year unless the Member or office<br>requests: (1) a printed copy of a specific issue of the Federal Register, or (2) a<br>subscription to printed copies of the Federal Register for that ye..."],["To amend title 18, United States Code, to prohibit a health care practitioner from failing<br>to exercise the proper degree of care in the case of a child who survives an abortion or<br>attempted abortion.","HR4712","Born-Alive Abortion Survivors Protection Act This bill amends the federal criminal code to<br>require any health care practitioner who is present when a child is born alive following<br>an abortion or attempted abortion to: (1) exercise the same degree of care as reasonably<br>provided to any other child born alive at the same gestational age, and (2) ensure that<br>such child is immediately admitted to a hospital. The term \"born alive\" means the complete<br>expulsion or extraction from his or her mother, a..."],["Waiving a requirement of clause 6(a) of rule XIII with respect to consideration of certain<br>resolutions reported from the Committee on Rules, and providing for consideration of<br>motions to suspend the rules.","HRES708","Waives a specified requirement of Rule XIII (Calendar and Committee Reports) to allow<br>consideration of any resolution reported from the Committee on Rules through the<br>legislative day of January 29, 2018, on the same day it is presented to the House. Makes<br>it in order at any time through the legislative day of January 28, 2018, for the Speaker<br>of the House to suspend the rules."],["To establish requirements for use of a driver's license or personal identification card by<br>certain financial institutions for opening an account or obtaining a financial product or<br>service, and for other purposes.","HR1457","(Sec. 1) This bill authorizes a financial institution to record personal information from<br>a scan, copy, or image of an individual's driver's license or personal identification card<br>and store the information electronically when an individual initiates an online request to<br>open an account or obtain a financial product. The financial institution may use the<br>information for the purpose of verifying the authenticity of the driver's license or<br>identification card, verifying the identity of the indi..."],["Providing for consideration of the Senate amendments to the bill (H.R. 695) to amend the<br>National Child Protection Act of 1993 to establish a national criminal history background<br>check system and criminal history review program for certain individuals who, related to<br>their employment, have access to children, the elderly, or individuals with disabilities,<br>and for other purposes.","HRES714","Sets forth the rule for consideration of the Senate amendments to the bill (H.R. 695) to<br>amend the National Child Protection Act of 1993 to establish a national criminal history<br>background check system and criminal history review program for certain individuals who,<br>related to their employment, have access to children, the elderly, or individuals with<br>disabilities."],["To reform the living will process under the Dodd-Frank Wall Street Reform and Consumer<br>Protection Act.","HR4292","Financial Institution Living Will Improvement Act of 2017 (Sec. 2) This bill amends the<br>Dodd-Frank Wall Street Reform and Consumer Protection Act to\u00a0establish the frequency with<br>which\u00a0certain nonbank financial companies and bank holding companies\u00a0shall be required\u00a0to<br>submit a \"living will\" (i.e., the company's plan for rapid and orderly resolution in the<br>event of financial distress or failure) to the Federal Reserve Board (FRB), the Financial<br>Stability Oversight Council, and the Federal Depos..."],["To amend titles II, VIII, and XVI of the Social Security Act to improve and strengthen the<br>representative payment program.","HR4547","Strengthening Protections for Social Security Beneficiaries Act of 2018 TITLE I--<br>STRENGTHENING OVERSIGHT AND BENEFICIARY PROTECTION (Sec. 101) This bill requires the<br>Social Security Administration (SSA) to make annual grants to each state's protection and<br>advocacy system for the purpose of conducting reviews of representative payees under the<br>Supplemental Security Income (SSI) program and the Old Age, Survivors, and Disability<br>Insurance (OASDI) program. The SSA must also conduct periodic onsi..."],["Providing for consideration of the bill (H.R. 772) to amend the Federal Food, Drug, and<br>Cosmetic Act to improve and clarify certain disclosure requirements for restaurants and<br>similar retail food establishments, and to amend the authority to bring proceedings under<br>section 403A; providing for consideration of the bill (H.R. 1153) to amend the Truth in<br>Lending Act to improve upon the definitions provided for points and fees in connection<br>with a mortgage transaction; providing for consideration of the bill (H.R. 4771) to raise<br>the consolidated assets threshold under the small bank holding company policy statement,<br>and for other purposes; and for other purposes.","HRES725","Sets forth the rule for consideration of the bill (H.R. 772) to amend the Federal Food,<br>Drug, and Cosmetic Act to improve and clarify certain disclosure requirements for<br>restaurants and similar retail food establishments, and to amend the authority to bring<br>proceedings under section 403A; providing for consideration of the bill (H.R. 1153) to<br>amend the Truth in Lending Act to improve upon the definitions provided for points and<br>fees in connection with a mortgage transaction; providing for con..."],["To amend the Federal Food, Drug, and Cosmetic Act to improve and clarify certain<br>disclosure requirements for restaurants and similar retail food establishments, and to<br>amend the authority to bring proceedings under section 403A.","HR772","(This measure has not been amended since it was reported to the House on January 8, 2018.<br>The summary of that version is repeated here.) Common Sense Nutrition Disclosure Act of<br>2017 (Sec. 2) This bill amends the Federal Food, Drug, and Cosmetic Act to revise the<br>nutritional information that restaurants and retail food establishments must disclose. The<br>nutrient content disclosure statement on the menu or menu board must include: (1) the<br>number of calories contained in the whole menu item; (2)..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1892) to amend title<br>4, United States Code, to provide for the flying of the flag at half-staff in the event of<br>the death of a first responder in the line of duty.","HRES727","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 1892) to<br>amend title 4, United States Code, to provide for the flying of the flag at half-staff in<br>the event of the death of a first responder in the line of duty."],["To amend the State Department Basic Authorities Act of 1956 to provide for rewards for the<br>arrest or conviction of certain foreign nationals who have committed genocide or war<br>crimes, and for other purposes.","HR3851","War Crimes Rewards Expansion Act  (Sec. 2) This bill amends the State Department Basic<br>Authorities Act of 1956 to authorize the Department of State to offer awards under its war<br>crimes rewards program for the arrest or conviction in any country of a foreign national<br>accused of a war crime, a crime against humanity, or genocide as such crime is defined<br>under: (1) U.S. law, or (2) the statutes of such country or an international criminal<br>tribunal. (Currently, the reference to such crime is as d..."],["To amend the Truth in Lending Act to improve upon the definitions provided for points and<br>fees in connection with a mortgage transaction.","HR1153","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.)  Mortgage Choice Act of 2017 (Sec. 2) This bill<br>amends the Truth in Lending Act to specify that\u00a0neither escrow charges for insurance nor<br>affiliated title charges shall\u00a0be considered \"points and fees\" for purposes of determining<br>whether a mortgage is a \"high-cost mortgage.\" (A high-cost mortgage designation restricts<br>the terms of the loan and requires a lender to ma..."],["To raise the consolidated assets threshold under the small bank holding company policy<br>statement, and for other purposes.","HR4771","Small Bank Holding Company Relief Act of 2018 (Sec. 2) This bill requires the Federal<br>Reserve Board (FRB) to\u00a0revise\u00a0its Small Bank Holding Company Policy Statement on<br>Assessment\u00a0of Financial and Managerial Factors (which allows smaller bank companies to<br>have higher debt levels than are generally allowed). Specifically, the FRB must raise the<br>consolidated asset threshold at which the statement applies from $1 billion to $3 billion."],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 1892) to amend title 4, United States Code, to provide for the<br>flying of the flag at half-staff in the event of the death of a first responder in the<br>line of duty.","HRES734","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 1892) to amend title 4, United States Code, to<br>provide for the flying of the flag at half-staff in the event of the death of a first<br>responder in the line of duty."],["To designate the health care system of the Department of Veterans Affairs in Lexington,<br>Kentucky, as the \"Lexington VA Health Care System\" and to make certain other designations.","HR4533","(Sec. 2) This bill designates the Department of Veterans Affairs: (1) health care system<br>in Lexington, Kentucky, as the \"Lexington VA Health Care System,\" (2) health care facility<br>at 1101 Veterans Drive, Lexington, Kentucky, as the \"Troy Bowling Campus,\" and (3) health<br>care facility at 2250 Leestown Road, Lexington, Kentucky, as the \"Franklin R. Sousley<br>Campus.\""],["To extend the Generalized System of Preferences and to make technical changes to the<br>competitive need limitations provision of the program.","HR4979","(Sec. 1) This bill extends the Generalized System of Preferences (a U.S. trade preference<br>program that provides duty-free access to imports on products from certain developing<br>countries) through 2020. The U.S. Trade Representative, within one year of this bill's<br>enactment and annually thereafter through December 31, 2020, must report to the House Ways<br>and Means Committee and the Senate Finance Committee on efforts to ensure that countries<br>designated as beneficiary developing countries under t..."],["Providing for consideration of the bill (H.R. 620) to amend the Americans with<br>Disabilities Act of 1990 to promote compliance through education, to clarify the<br>requirements for demand letters, to provide for a notice and cure period before the<br>commencement of a private civil action, and for other purposes; providing for<br>consideration of the bill (H.R. 3299) to amend the Revised Statutes, the Home Owners' Loan<br>Act, the Federal Credit Union Act, and the Federal Deposit Insurance Act to require the<br>rate of interest on certain loans remain unchanged after transfer of the loan, and for<br>other purposes; providing for consideration of the bill (H.R. 3978) to amend the Real<br>Estate Settlement Procedures Act of 1974 to modify requirements related to mortgage<br>disclosures, and for other purposes; and providing for proceedings during the period from<br>February 16, 2018, through February 23, 2018.","HRES736","Sets forth the rule for consideration of the bill (H.R. 620) to amend the Americans with<br>Disabilities Act of 1990 to promote compliance through education, to clarify the<br>requirements for demand letters, to provide for a notice and cure period before the<br>commencement of a private civil action, and for other purposes; providing for<br>consideration of the bill (H.R. 3299) to amend the Revised Statutes, the Home Owners' Loan<br>Act, the Federal Credit Union Act, and the Federal Deposit Insurance Act t..."],["To impose sanctions against Hamas for gross violations of internationally recognized human<br>rights by reason of the use of civilians as human shields, and for other purposes.","HR3542","Hamas Human Shields Prevention Act  (Sec. 3) This bill states that it is U.S. policy to<br>condemn Hamas's use of human shields and act against those engaging in or supporting the<br>use of human shields.   (Sec. 4) The President is urged to direct the U.S. Permanent<br>Representative to the United Nations (U.N.) to use U.S. influence at the Security Council<br>to secure support for a resolution: (1) imposing multilateral sanctions against Hamas's<br>use of human shields; and (2) specifying steps to prevent..."],["Calling on the Department of Defense, other elements of the Federal Government, and<br>foreign governments to intensify efforts to investigate, recover, and identify all missing<br>and unaccounted-for personnel of the United States.","HRES129"," Calls upon: (1) the Defense POW/MIA Accounting Agency, other elements of the federal<br>government, and foreign governments to resolutely continue efforts to investigate,<br>recover, identify, and account as fully as possible for all U.S. personnel designated as<br>unaccounted-for from past wars and conflicts; and (2) all foreign governments with<br>information on such personnel, or with such personnel within their territories, to<br>cooperate fully with the U.S. government to provide the fullest possible ..."],["To amend the Real Estate Settlement Procedures Act of 1974 to modify requirements related<br>to mortgage disclosures, and for other purposes.","HR3978"," (Sec. 2) This bill specifies that the amount deposited in the Securities and Exchange<br>Commission (SEC) Reserve Fund for FY2018 may not exceed $48 million. TITLE I--TRID<br>IMPROVEMENT (Sec. 101) The bill amends the Real Estate Settlement Procedures of 1974 to<br>modify disclosure requirements\u00a0applicable to mortgage loan transactions. Specifically, the<br>disclosed charges for any title insurance premium shall be equal to the amount charged for<br>each individual title insurance policy, subject to any di..."],["To amend the Revised Statutes, the Home Owners' Loan Act, the Federal Credit Union Act,<br>and the Federal Deposit Insurance Act to require the rate of interest on certain loans<br>remain unchanged after transfer of the loan, and for other purposes.","HR3299","(This measure has not been amended since it was introduced. The expanded summary of the<br>House reported version is repeated here.)  Protecting Consumers' Access to Credit Act of<br>2017 (Sec. 3) This bill amends the Revised Statutes, the Home Owners' Loan Act, the<br>Federal Credit Union Act, and the Federal Deposit Insurance Act to state that bank loans<br>that are valid when made as to their maximum rate of interest in accordance with federal<br>law shall remain valid with respect to that rate regardles..."],["To amend the Americans with Disabilities Act of 1990 to promote compliance through<br>education, to clarify the requirements for demand letters, to provide for a notice and<br>cure period before the commencement of a private civil action, and for other purposes.","HR620","ADA Education and Reform Act of 2017 (Sec. 2) This bill requires the Disability Rights<br>Section of the Department of Justice to develop a program to educate state and local<br>governments and property owners on strategies for promoting access to public<br>accommodations for persons with a disability. The program may include training for<br>professionals to provide a guidance of remediation for potential violations of the<br>Americans with Disabilities Act of 1990. (Sec. 3) The bill prohibits civil actions..."],["To amend the Public Health Service Act to coordinate Federal congenital heart disease<br>research efforts and to improve public education and awareness of congenital heart<br>disease, and for other purposes.","HR1222","(This measure has not been amended since it was reported to the House on September 25,<br>2017. The summary of that version is repeated here.) Congenital Heart Futures<br>Reauthorization Act of 2017 (Sec. 2) This bill amends the Public Health Service Act to<br>replace the authorization for a National Congenital Heart Disease Surveillance System with<br>a requirement for the Department of Health and Human Services (HHS), regarding congenital<br>heart disease, to enhance and expand research and surveillance i..."],["Providing for consideration of the bill (H.R. 1865) to amend the Communications Act of<br>1934 to clarify that section 230 of such Act does not prohibit the enforcement against<br>providers and users of interactive computer services of Federal and State criminal and<br>civil law relating to sexual exploitation of children or sex trafficking, and for other<br>purposes.","HRES748","Sets forth the rule for consideration of the bill (H.R. 1865) to amend the Communications<br>Act of 1934 to clarify that section 230 of such Act does not prohibit the enforcement<br>against providers and users of interactive computer services of Federal and State criminal<br>and civil law relating to sexual exploitation of children or sex trafficking."],["Providing for consideration of the bill (H.R. 4296) to place requirements on operational<br>risk capital requirements for banking organizations established by an appropriate Federal<br>banking agency, and providing for consideration of the bill (H.R. 4607) to amend the<br>Economic Growth and Regulatory Paperwork Reduction Act of 1996 to ensure that Federal<br>financial regulators perform a comprehensive review of regulations to identify outdated or<br>otherwise unnecessary regulatory requirements imposed on covered persons, and for other<br>purposes.","HRES747","Sets forth the rule for consideration of the bill (H.R. 4296) to place requirements on<br>operational risk capital requirements for banking organizations established by an<br>appropriate Federal banking agency, and providing for consideration of the bill (H.R.<br>4607) to amend the Economic Growth and Regulatory Paperwork Reduction Act of 1996 to<br>ensure that Federal financial regulators perform a comprehensive review of regulations to<br>identify outdated or otherwise unnecessary regulatory requirements ..."],["To place requirements on operational risk capital requirements for banking organizations<br>established by an appropriate Federal banking agency.","HR4296","(Sec. 1) This bill specifies that a\u00a0federal banking agency may not establish an<br>operational-risk capital requirement for banking organizations unless the requirement: (1)<br>is based on, and is appropriately sensitive to, current risks; (2) is determined under a<br>forward-looking assessment of potential losses; and (3) allows certain adjustments.  (Sec.<br>2) The bill amends the Federal Reserve Act to lower the maximum allowable amount<br>of\u00a0surplus funds of the Federal Reserve banks."],["To amend the Communications Act of 1934 to clarify that section 230 of such Act does not<br>prohibit the enforcement against providers and users of interactive computer services of<br>Federal and State criminal and civil law relating to sexual exploitation of children or<br>sex trafficking, and for other purposes.","HR1865","Allow States and Victims to Fight Online Sex Trafficking Act of 2017 (Sec. 2) This bill<br>expresses the sense of Congress that section 230 of the Communications Act of 1934 was not<br>intended to provide legal protection to websites that unlawfully promote and facilitate<br>prostitution and websites that facilitate traffickers in advertising the sale of unlawful<br>sex acts with sex trafficking victims. Section 230 limits the legal liability of<br>interactive computer service providers or users for content..."],["To designate the facility of the United States Postal Service located at 13683 James<br>Madison Highway in Palmyra, Virginia, as the \"U.S. Navy Seaman Dakota Kyle Rigsby Post<br>Office\".","HR3183","(Sec. 1) Designates the facility of the United States Postal Service located at 13683<br>James Madison Highway in Palmyra, Virginia, as the \"U.S. Navy Seaman Dakota Kyle Rigsby<br>Post Office.\""],["To amend the Economic Growth and Regulatory Paperwork Reduction Act of 1996 to ensure that<br>Federal financial regulators perform a comprehensive review of regulations to identify<br>outdated or otherwise unnecessary regulatory requirements imposed on covered persons, and<br>for other purposes.","HR4607","Comprehensive Regulatory Review Act (Sec. 2) This bill amends the Economic Growth and<br>Regulatory Paperwork Reduction Act of 1996 to expand\u00a0the required comprehensive review of<br>financial regulatory requirements. Specifically, the review must be completed by the<br>Consumer Financial Protection Bureau (CFPB) and the National Credit Union Administration,<br>in addition to (as required under current law) the Federal Financial Institutions<br>Examination Council, the Office of the Comptroller of the Curren..."],["Providing for consideration of the bill (H.R. 1119) to establish the bases by which the<br>Administrator of the Environmental Protection Agency shall issue, implement, and enforce<br>certain emission limitations and allocations for existing electric utility steam<br>generating units that convert coal refuse into energy, and providing for consideration of<br>the bill (H.R. 1917) to allow for judicial review of any final rule addressing national<br>emission standards for hazardous air pollutants for brick and structural clay products or<br>for clay ceramics manufacturing before requiring compliance with such rule.","HRES762","Sets forth the rule for consideration of the bill (H.R. 1119) to establish the bases by<br>which the Administrator of the Environmental Protection Agency shall issue, implement, and<br>enforce certain emission limitations and allocations for existing electric utility steam<br>generating units that convert coal refuse into energy, and providing for consideration of<br>the bill (H.R. 1917) to allow for judicial review of any final rule addressing national<br>emission standards for hazardous air pollutants for..."],["To allow for judicial review of any final rule addressing national emission standards for<br>hazardous air pollutants for brick and structural clay products or for clay ceramics<br>manufacturing before requiring compliance with such rule.","HR1917","Blocking Regulatory Interference from Closing Kilns Act of 2017 (Sec. 2) This bill<br>prohibits the Environmental Protection Agency from requiring compliance with Clean Air Act<br>rules concerning national emission standards for hazardous air pollutants with respect to<br>brick and structural clay products manufacturing or clay ceramics manufacturing until<br>judicial reviews of the rules are complete. (Sec. 3) This bill delays by three years the<br>date by which manufacturers, owners, and operators of new ..."],["To establish the bases by which the Administrator of the Environmental Protection Agency<br>shall issue, implement, and enforce certain emission limitations and allocations for<br>existing electric utility steam generating units that convert coal refuse into energy.","HR1119","(This measure has not been amended since it was reported to the House on January 12, 2018.<br>The summary of that version is repeated here.) Satisfying Energy Needs and Saving the<br>Environment Act or the SENSE Act (Sec. 2) This bill eases emission limits for hazardous<br>air pollutants from electric utility steam generating units (electric power plants) that<br>convert coal refuse into energy. The Environmental Protection Agency must allow utilities<br>to select a standard for either hydrogen chloride or ..."],["To maintain annual base funding for the Upper Colorado and San Juan fish recovery programs<br>through fiscal year 2023, to require a report on the implementation of those programs, and<br>for other purposes.","HR4465","Endangered Fish Recovery Programs Extension Act of 2017 (Sec.2)This bill extends through<br>FY2023 the authority of the Department of the Interior to use power revenues collected<br>pursuant to the Colorado River Storage Project Act for annual base funding of endangered<br>fish recovery implementation programs for the Upper Colorado and San Juan River Basins.<br>(Sec.3)Additionally, Interior must submit to Congress a report that describes the<br>accomplishments and costs of the recovery implementation progr..."],["Providing for consideration of the bill (H.R. 4545) to amend the Federal Financial<br>Institutions Examination Council Act of 1978 to improve the examination of depository<br>institutions, and for other purposes; providing for consideration of the bill (H.R. 1116)<br>to require the Federal financial institutions regulatory agencies to take risk profiles<br>and business models of institutions into account when taking regulatory actions, and for<br>other purposes; and providing for consideration of the bill (H.R. 4263) to amend the<br>Securities Act of 1933 with respect to small company capital formation, and for other<br>purposes.","HRES773","Sets forth the rule for consideration of the bill (H.R. 4545) to amend the Federal<br>Financial Institutions Examination Council Act of 1978 to improve the examination of<br>depository institutions, and for other purposes; providing for consideration of the bill<br>(H.R. 1116) to require the Federal financial institutions regulatory agencies to take risk<br>profiles and business models of institutions into account when taking regulatory actions,<br>and for other purposes; and providing for consideration of ..."],["To reauthorize the grant program for school security in the Omnibus Crime Control and Safe<br>Streets Act of 1968.","HR4909","Student, Teachers, and Officers Preventing School Violence Act of 2018 or the STOP School<br>Violence Act of 2018 This bill amends the Omnibus Crime Control and Safe Streets Act of<br>1968 to revise and reauthorize through FY2028 the Secure Our Schools grant program. This<br>grant program provides grants to states, local governments, and Indian tribes to improve<br>security, including the placement and use of metal detectors and other deterrent measures,<br>at schools and on school grounds."],["To require the Federal financial institutions regulatory agencies to take risk profiles<br>and business models of institutions into account when taking regulatory actions, and for<br>other purposes.","HR1116","Taking Account of Institutions with Low Operation Risk Act of 2017 or the TAILOR Act of<br>2017 (Sec. 2) This bill requires federal financial regulatory agencies to: (1) tailor any<br>regulatory actions so as to limit burdens on the institutions involved,\u00a0with consideration<br>of the risk profiles and business models of those institutions; and (2) report to Congress<br>on specific actions taken to do so, as well as on other related issues. The<br>bill's\u00a0tailoring requirement applies not only to future regul..."],["To amend the Securities Act of 1933 with respect to small company capital formation, and<br>for other purposes.","HR4263","Regulation A+ Improvement Act of 2017 (Sec. 2) This bill amends the Securities Act of 1933<br>to increase the dollar limit of certain securities offerings exempt from registration<br>requirements from $50 million annually to $75 million annually, adjusted in future years<br>for inflation."],["To amend the Federal Financial Institutions Examination Council Act of 1978 to improve the<br>examination of depository institutions, and for other purposes.","HR4545","Financial Institutions Examination Fairness and Reform Act (Sec. 2) This bill amends the<br>Federal Financial Institutions Examination Council Act of 1978 to apply\u00a0specified<br>procedures\u00a0related\u00a0to reporting and review, as established by the bill, to\u00a0a nondepository<br>covered person that is subject to Consumer Financial Protection Bureau (CFPB) supervision.<br>(Sec. 3) The bill sets deadlines for final examination reports and exit interviews of a<br>financial institution by a federal financial regulatory..."],["Providing for consideration of the bill (H.R. 4061) to amend the Financial Stability Act<br>of 2010 to improve the transparency of the Financial Stability Oversight Council, to<br>improve the SIFI designation process, and for other purposes, and providing for<br>consideration of the bill (H.R. 4293) to reform the Comprehensive Capital Analysis and<br>Review process, the Dodd-Frank Act Stress Test process, and for other purposes.","HRES780","Sets forth the rule for consideration of the bill (H.R. 4061) to amend the Financial<br>Stability Act of 2010 to improve the transparency of the Financial Stability Oversight<br>Council, to improve the SIFI designation process, and for other purposes, and providing<br>for consideration of the bill (H.R. 4293) to reform the Comprehensive Capital Analysis and<br>Review process, the Dodd-Frank Act Stress Test process."],["To update the map of, and modify the maximum acreage available for inclusion in, the<br>Florissant Fossil Beds National Monument.","HR835"," This bill revises the title, number, and date of the map depicting the Florissant Fossil<br>Beds National Monument in Colorado and increases from 6,000 to 6,300 the maximum number of<br>acres that may be made available for inclusion in the monument."],["Providing for consideration of the bill (H.R. 4566) to amend the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act to provide relief to nonbanks from certain stress test<br>requirements under such Act; providing for consideration of the bill (H.R. 5247) to<br>authorize the use of eligible investigational drugs by eligible patients who have been<br>diagnosed with a stage of a disease or condition in which there is reasonable likelihood<br>that death will occur within a matter of months, or with another eligible illness, and for<br>other purposes; and for other purposes.","HRES787","Sets forth the rule for consideration of the bill (H.R. 4566) to amend the Dodd-Frank Wall<br>Street Reform and Consumer Protection Act to provide relief to nonbanks from certain<br>stress test requirements under such Act; providing for consideration of the bill (H.R.<br>5247) to authorize the use of eligible investigational drugs by eligible patients who have<br>been diagnosed with a stage of a disease or condition in which there is reasonable<br>likelihood that death will occur within a matter of months, ..."],["To amend the Dodd-Frank Wall Street Reform and Consumer Protection Act to provide relief<br>to nonbanks from certain stress test requirements under such Act.","HR4566","Alleviating Stress Test Burdens to Help Investors Act This bill amends the Dodd-Frank Wall<br>Street Reform and Consumer Protection Act to: (1) eliminate the Federal Reserve Board's<br>authority to conduct stress tests of nonbank financial companies more than once annually,<br>and (2) exempt certain financial companies not primarily regulated by either a federal<br>banking agency or the Federal Housing Finance Agency from requirements to conduct stress<br>tests. The Securities and Exchange Commission and th..."],["Providing for consideration of the Senate amendment to the bill (H.R. 1625) to amend the<br>State Department Basic Authorities Act of 1956 to include severe forms of trafficking in<br>persons within the definition of transnational organized crime for purposes of the rewards<br>program of the Department of State, and for other purposes; and providing for proceedings<br>during the period from March 23, 2018, through April 9, 2018.","HRES796","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 1625) to<br>amend the State Department Basic Authorities Act of 1956 to include severe forms of<br>trafficking in persons within the definition of transnational organized crime for purposes<br>of the rewards program of the Department of State, and for other purposes; and providing<br>for proceedings during the period from March 23, 2018, through April 9, 2018."],["To require the Secretary of Homeland Security to examine what actions the Department of<br>Homeland Security is undertaking to combat the threat of vehicular terrorism, and for<br>other purposes.","HR4227","Vehicular Terrorism Prevention Act of 2018 (Sec. 2) This bill directs the Department of<br>Homeland Security (DHS): (1) to assess the activities that DHS is undertaking to support<br>emergency response providers and the private sector to prevent, mitigate, and respond to<br>the threat of vehicular terrorism; and (2) based on such assessment, to develop and submit<br>to the congressional homeland security committees a strategy to improve its efforts to<br>support such providers and the private sector in that..."],["To amend the State Department Basic Authorities Act of 1956 to include severe forms of<br>trafficking in persons within the definition of transnational organized crime for purposes<br>of the rewards program of the Department of State, and for other purposes.","HR1625","(This measure has not been amended since it was reported to the Senate on February 12,<br>2018. The summary of that version is repeated here.)  Targeted Rewards for the Global<br>Eradication of Human Trafficking or the TARGET Act  (Sec. 2) This bill expresses the sense<br>of Congress that the Department of State's rewards program is a powerful tool in combating<br>sophisticated international crime and that the State Department and federal law<br>enforcement should work in concert to offer rewards that targe..."],["To require the Federal Air Marshal Service to utilize risk-based strategies, and for other<br>purposes.","HR4467","Strengthening Aviation Security Act of 2018 (Sec. 2) This bill directs the Department of<br>Transportation (DOT) to require the Federal Air Marshal Service to use a risk-based<br>strategy when allocating resources between international and domestic flight coverage,<br>including when setting its annual target number of flights to cover. DOT shall ensure that<br>the seating arrangements of federal air marshals on aircraft are determined in a manner<br>that is risk-based and most capable of responding to curre..."],["To increase the role of the financial industry in combating human trafficking.","HR2219","End Banking for Human Traffickers Act of 2018 (Sec. 2) This bill amends the Victims of<br>Trafficking and Violence Protection Act of 2000 to add the Secretary of the Treasury as a<br>member of the President's Interagency Task Force to Monitor and Combat Trafficking. The<br>task force must submit to Congress recommendations\u00a0for the revision of\u00a0anti-money<br>laundering programs specifically targeting severe forms of human trafficking. The Federal<br>Financial Institutions Examination Council\u00a0must: (1) review ..."],["To amend title 18, United States Code, with regard to stalking.","HR4203"," Combat Online Predators Act This bill amends the federal criminal code increase the<br>maximum prison term for a stalking offense, if the victim is under 18 years of age."],["Providing for consideration of the bill (H.R. 4790) to amend the Volcker rule to give the<br>Board of Governors of the Federal Reserve System sole rulemaking authority, to exclude<br>community banks from the requirements of the Volcker rule, and for other purposes, and<br>providing for consideration of motions to suspend the rules.","HRES811","Sets forth the rule for consideration of the bill (H.R. 4790) to amend the Volcker rule to<br>give the Board of Governors of the Federal Reserve System sole rulemaking authority, to<br>exclude community banks from the requirements of the Volcker rule, and for other purposes,<br>and providing for consideration of motions to suspend the rules."],["To amend the Financial Stability Act of 2010 to improve the transparency of the Financial<br>Stability Oversight Council, to improve the SIFI designation process, and for other<br>purposes.","HR4061","Financial Stability Oversight Council Improvement Act of 2017 (Sec. 2) This bill amends<br>the Financial Stability Act of 2010 to require the Financial Stability Oversight Council,<br>in determining whether a nonbank financial company shall be designated as systemically<br>important and consequently be supervised by the Federal Reserve\u00a0Board\u00a0and subject to<br>prudential standards,\u00a0to consider the appropriateness of\u00a0imposing such standards\u00a0as<br>opposed to other forms of regulation to mitigate identified ris..."],["To reform the Comprehensive Capital Analysis and Review process, the Dodd-Frank Act Stress<br>Test process, and for other purposes.","HR4293","Stress Test Improvement Act of 2017 (Sec. 2) This bill amends the Dodd-Frank Wall Street<br>Reform and Consumer Protection Act to modify testing requirements applicable to bank<br>holding companies and certain nonbank financial companies, including by: (1) establishing<br>limitations on Comprehensive Capital Analysis and Review by the Federal Reserve Board, (2)<br>reducing the frequency of stress testing from semiannual to annual, and (3) otherwise<br>revising provisions related to stress testing.  (Sec. 4)..."],["Proposing a balanced budget amendment to the Constitution of the United States.","HJRES2","Constitutional Amendment  This joint resolution proposes a constitutional amendment<br>prohibiting total outlays for a fiscal year from exceeding total receipts for that fiscal<br>year unless Congress authorizes the excess by a three-fifths roll call vote of each<br>chamber. The prohibition excludes outlays for repayment of debt principal and receipts<br>derived from borrowing.  The amendment requires a three-fifths roll call vote of each<br>chamber of Congress to increase the public debt limit. It requires..."],["To amend the Volcker rule to give the Board of Governors of the Federal Reserve System<br>sole rulemaking authority, to exclude community banks from the requirements of the Volcker<br>rule, and for other purposes.","HR4790","Volcker Rule Regulatory Harmonization Act (Sec. 2) This bill amends the Bank Holding<br>Company Act of 1956 to grant exclusive rulemaking authority under the Volcker Rule to the<br>Federal Reserve Board. (Currently, the Office of the Comptroller of the Currency, the<br>Federal Deposit Insurance Corporation, the Securities and Exchange Commission, and the<br>Commodity Futures Trading Commission also have regulatory authority under the Volcker<br>Rule. The Volcker Rule prohibits banking agencies from engaging..."],["To take certain Federal lands in Tennessee into trust for the benefit of the Eastern Band<br>of Cherokee Indians, and for other purposes.","HR146","Eastern Band Cherokee Historic Lands Reacquisition Act This bill takes specified lands and<br>easements in Monroe County, Tennessee, into trust for the use and benefit of the Eastern<br>Band of Cherokee Indians. These lands include the Sequoyah Museum, the Chota Memorial, the<br>Tanasi Memorial, and land to provide support for these properties and cultural programs.<br>The Tennessee Valley Authority (TVA) maintains its right to carry out river control and<br>development on these lands, including temporarily..."],["A bill to designate a National Memorial to Fallen Educators at the National Teachers Hall<br>of Fame in Emporia, Kansas.","S167","National Memorial to Fallen Educators Act (Sec. 2) This bill designates as the \"National<br>Memorial to Fallen Educators\" an existing\u00a0memorial located at the National Teachers Hall<br>of Fame in Emporia, Kansas. The memorial is not a unit of the National Park System, and<br>its designation shall not require or allow federal funds to be expended for any purpose<br>related to it."],["To authorize the Commissioner of Social Security to provide confirmation of fraud<br>protection data to certain permitted entities, and for other purposes.","HR5192","Protecting Children from Identity Theft Act  (Sec. 2) This bill requires the Social<br>Security Administration (SSA) to develop a database to facilitate the verification of<br>consumer information upon request by a certified financial institution. Such verification<br>shall be provided only with the consumer's consent and in connection with a credit<br>transaction. Users of the database shall pay system costs as determined by the SSA."],["Providing for consideration of the bill (H.R. 5444) to amend the Internal Revenue Code of<br>1986 to modernize and improve the Internal Revenue Service, and for other purposes, and<br>providing for consideration of the bill (H.R. 5445) to amend the Internal Revenue Code of<br>1986 to improve cybersecurity and taxpayer identity protection, and modernize the<br>information technology of the Internal Revenue Service, and for other purposes.","HRES831","Sets forth the rule for consideration of the bill (H.R. 5444) to amend the Internal<br>Revenue Code of 1986 to modernize and improve the Internal Revenue Service, and for other<br>purposes, and providing for consideration of the bill (H.R. 5445) to amend the Internal<br>Revenue Code of 1986 to improve cybersecurity and taxpayer identity protection, and<br>modernize the information technology of the Internal Revenue Service."],["To amend the Internal Revenue Code of 1986 to improve cybersecurity and taxpayer identity<br>protection, and modernize the information technology of the Internal Revenue Service, and<br>for other purposes.","HR5445","21st Century IRS Act  This bill amends the Internal Revenue Code to establish requirements<br>for the Internal Revenue Service (IRS) regarding cybersecurity, the protection of taxpayer<br>identities, information technology, and electronic systems.  With respect to cybersecurity<br>and identity protection, the bill:    requires the IRS to work with the public and private<br>sectors to protect taxpayers from identity theft refund fraud,  requires the Electronic<br>Tax Administration Advisory Committee to make..."],["To amend the Internal Revenue Code of 1986 to modernize and improve the Internal Revenue<br>Service, and for other purposes.","HR5444","Taxpayer First Act  This bill amends the Internal Revenue Code to modify the<br>organizational structure, enforcement procedures, and services of the Internal Revenue<br>Service (IRS).  The bill establishes within the IRS the Independent Office of Appeals to<br>resolve tax controversies and review administrative decisions.  With respect to the<br>services provided to taxpayers, the bill requires the IRS to:   submit to Congress a<br>customer service strategy,   continue to operate the IRS Free File Program,..."],["To require the Attorney General to establish procedures for expedited review of the case<br>of any person who unlawfully solicits personal information for purposes of committing<br>identity theft, while purporting to be acting on behalf of the IRS, and for other<br>purposes.","HR2905","Justice for Victims of IRS Scams and Identity Theft Act of 2017 This bill directs the<br>Department of Justice (DOJ) to establish procedures to expedite the review of, and seek an<br>indictment in, any case involving identity theft or aggravated identity theft by an<br>individual who impersonates an employee or officer of the Internal Revenue Service. DOJ<br>must submit to Congress and publish a report that contains certain information on the<br>status of prosecutions for such offenses."],["Recognizing and supporting the efforts of the United Bid Committee to bring the 2026<br>F\u00e9d\u00e9ration Internationale de Football Association (FIFA) World Cup competition to Canada,<br>Mexico, and the United States.","HCONRES111","Supports the efforts of the United Bid Committee to bring the 2026 Federation<br>Internationale de Football Association (FIFA) World Cup competition to Canada, Mexico, and<br>the United States."],["Providing for consideration of the bill (H.R. 4) to reauthorize programs of the Federal<br>Aviation Administration, and for other purposes; providing for consideration of the bill<br>(H.R. 3144) to provide for operations of the Federal Columbia River Power System pursuant<br>to a certain operation plan for a specified period of time, and for other purposes; and<br>providing for proceedings during the period from April 30, 2018, through May 4, 2018.","HRES839","Sets forth the rule for consideration of the bill (H.R. 4) to reauthorize programs of the<br>Federal Aviation Administration, and for other purposes; providing for consideration of<br>the bill (H.R. 3144) to provide for operations of the Federal Columbia River Power System<br>pursuant to a certain operation plan for a specified period of time, and for other<br>purposes; and providing for proceedings during the period from April 30, 2018, through May<br>4, 2018."],["To provide for operations of the Federal Columbia River Power System pursuant to a certain<br>operation plan for a specified period of time, and for other purposes.","HR3144","(Sec. 2) This bill requires the Bureau of Reclamation, the Bonneville Power<br>Administration, and the U.S. Army Corps of Engineers to operate the Federal Columbia River<br>Power System (FCRPS) in a manner consistent with the document titled \"Endangered Species<br>Act Section 7(a)(2) Supplemental Biological Opinion,\" dated January 17, 2014, until the<br>later of September 30, 2022, or the date upon which a subsequent final biological opinion<br>for FCRPS operations is in effect with no pending further judic..."],["To impose additional sanctions with respect to serious human rights abuses of the<br>Government of Iran, and for other purposes.","HR4744","Iran Human Rights and Hostage-Taking Accountability Act This bill directs the President to<br>identify and impose sanctions against senior members of the government of Iran and other<br>persons who are responsible for or complicit in committing serious human rights<br>violations, or engaging in censorship, the diversion of goods intended for the people of<br>Iran, or public corruption.  The President shall identify and impose U.S. entry and<br>financial sanctions against persons who are responsible for or c..."],["To amend title 38, United States Code, to provide outer burial receptacles for remains<br>buried in National Parks, and for other purposes.","HR4910","Veterans Cemetery Benefit Correction Act  (Sec. 2) This bill requires the Department of<br>the Interior to provide outer burial receptacles for veterans' remains buried in a<br>national cemetery administered by the National Park Service. (An outer burial receptacle<br>is a container, such as a grave liner or a burial vault, that protects a casket in the<br>ground and prevents the grave from sinking.)  Interior may provide reimbursement for outer<br>burial receptacles other than grave liners but may require ..."],["Providing for consideration of the bill (H.R. 5645) to amend the Clayton Act and the<br>Federal Trade Commission Act to provide that the Federal Trade Commission shall exercise<br>authority with respect to mergers only under the Clayton Act and only in the same<br>procedural manner as the Attorney General exercises such authority; providing for<br>consideration of the bill (H.R. 2152) to require States and units of local government<br>receiving funds under grant programs operated by the Department of Justice, which use such<br>funds for pretrial services programs, to submit to the Attorney General a report relating<br>to such program, and for other purposes; and providing for consideration of the joint<br>resolution (S.J. Res. 57) providing for congressional disapproval under chapter 8 of title<br>5, United States Code, of the rule submitted by Bureau of Consumer Financial Protection<br>relating to \"Indirect Auto Lending and Compliance with the Equal Credit Opportunity Act\".","HRES872","Sets forth the rule for consideration of the bill (H.R. 5645) to amend the Clayton Act and<br>the Federal Trade Commission Act to provide that the Federal Trade Commission shall<br>exercise authority with respect to mergers only under the Clayton Act and only in the same<br>procedural manner as the Attorney General exercises such authority; providing for<br>consideration of the bill (H.R. 2152) to require States and units of local government<br>receiving funds under grant programs operated by the Department..."],["A joint resolution providing for congressional disapproval under chapter 8 of title 5,<br>United States Code, of the rule submitted by Bureau of Consumer Financial Protection<br>relating to \"Indirect Auto Lending and Compliance with the Equal Credit Opportunity Act\".","SJRES57","This joint resolution nullifies the rule submitted by the Consumer Financial Protection<br>Bureau and printed in the Congressional Record on December 6, 2017, relating to indirect<br>auto lending and compliance with the Equal Credit Opportunity Act. The rule provides<br>guidance for compliance with fair lending requirements for third-party auto lenders."],["Providing for consideration of the bill (H.R. 3053) to amend the Nuclear Waste Policy Act<br>of 1982, and for other purposes.","HRES879","Sets forth the rule for consideration of the bill (H.R. 3053) to amend the Nuclear Waste<br>Policy Act of 1982."],["To require States and units of local government receiving funds under grant programs<br>operated by the Department of Justice, which use such funds for pretrial services<br>programs, to submit to the Attorney General a report relating to such program, and for<br>other purposes.","HR2152","Citizens' Right to Know Act of 2018 (Sec. 2) This bill requires a state or local<br>government that receives funds under a Department of Justice (DOJ) grant program and uses<br>such funds for a pretrial services program to annually report to DOJ the amount of money<br>allocated for the pretrial services program and certain information about participating<br>defendants. DOJ must publish the information. Additionally, DOJ must reduce the grant<br>allocation of a state or local government that fails to comply."],["To amend the Nuclear Waste Policy Act of 1982, and for other purposes.","HR3053","Nuclear Waste Policy Amendments Act of 2017 This bill amends the Nuclear Waste Policy Act<br>of 1982 to direct the Department of Energy (DOE) to initiate a program to consolidate and<br>temporarily store commercial spent nuclear fuel during the development, construction, and<br>operation of a permanent nuclear waste repository. The bill addresses federal land<br>withdrawal and related management issues, including the permanent withdrawal of specific<br>federal land for repository use by DOE, updating the Nu..."],["To amend title 18, United States Code, to require that the Director of the Bureau of<br>Prisons ensure that each chief executive officer of a Federal penal or correctional<br>institution provides a secure storage area located outside of the secure perimeter of the<br>Federal penal or correctional institution for firearms carried by certain employees of the<br>Bureau of Prisons, and for other purposes.","HR613","Lieutenant Osvaldo Albarati Correctional Officer Self-Protection Act of 2017 (Sec. 3) This<br>bill amends the federal criminal code to require the Bureau of Prisons (BOP) to allow a<br>correctional officer at a federal prison or correctional institution to: (1) store<br>firearms on BOP premises in a secure storage area outside the security perimeter of the<br>institution or in a vehicle lockbox, and (2) carry a concealed firearm on BOP premises<br>outside the security perimeter of the institution."],["To amend the DNA Analysis Backlog Elimination Act of 2000 to provide additional resources<br>to State and local prosecutors, and for other purposes.","HR4854","Justice Served Act of 2018 (Sec. 2) This bill amends the DNA Analysis Backlog Elimination<br>Act of 2000 to add, as a purpose area under the Debbie Smith DNA Backlog Grant Program,<br>increasing the capacity of prosecutors to address the backlog of violent crime cases<br>involving suspects identified through DNA evidence. The Department of Justice (DOJ) must<br>allocate a specified percentage of grant funds for such purpose, subject to limitations.<br>Additionally, of amounts made available over FY2019-FY20..."],["Expressing the sense of the United States House of Representatives that Congress and the<br>President should empower the creation of police and community alliances designed to<br>enhance and improve communication and collaboration between members of the law enforcement<br>community and the public they serve.","HRES285","Expresses the sense of Congress that Congress and the President should create police and<br>community alliances to enhance and improve communication and collaboration between the law<br>enforcement community and the public."],["Providing for consideration of the bill (H.R. 5698) to amend title 18, United States Code,<br>to punish criminal offenses targeting law enforcement officers, and for other purposes;<br>providing for consideration of the bill (S. 2372) to amend title 38, United States Code,<br>to provide outer burial receptacles for remains buried in National Parks, and for other<br>purposes; and providing for consideration of the bill (H.R. 2) to provide for the reform<br>and continuation of agricultural and other programs of the Department of Agriculture<br>through fiscal year 2023, and for other purposes.","HRES891","Sets forth the rule for consideration of the bill (H.R. 5698) to amend title 18, United<br>States Code, to punish criminal offenses targeting law enforcement officers, and for other<br>purposes; providing for consideration of the bill (S. 2372) to amend title 38, United<br>States Code, to provide outer burial receptacles for remains buried in National Parks, and<br>for other purposes; and providing for consideration of the bill (H.R. 2) to provide for<br>the reform and continuation of agricultural and other..."],["A bill to transfer administrative jurisdiction over certain Bureau of Land Management land<br>from the Secretary of the Interior to the Secretary of Veterans Affairs for inclusion in<br>the Black Hills National Cemetery, and for other purposes.","S35","Black Hills National Cemetery Boundary Expansion Act  (Sec. 3) This bill directs the<br>Department of Veterans Affairs (VA) to: (1) complete environmental, cultural resource, and<br>other due diligence activities on certain federal land to confirm its suitability for<br>inclusion in the Black Hills National Cemetery, South Dakota; and (2) notify, and<br>coordinate with, the Department of the Interior regarding such activities.  After<br>completion of such activities and upon receipt by Interior of written c..."],["To amend title 18, United States Code, to punish criminal offenses targeting law<br>enforcement officers, and for other purposes.","HR5698","Protect and Serve Act of 2018 (Sec. 2) This bill amends the federal criminal code to make<br>it a crime to knowingly assault a law enforcement officer causing serious bodily injury<br>(or to attempt to do so) in circumstances that affect interstate commerce. It imposes<br>criminal penalties\u2014a prison term of up to 10 years, a fine, or both\u2014on a violator."],["Providing for further consideration of the bill (H.R. 2) to provide for the reform and<br>continuation of agricultural and other programs of the Department of Agriculture through<br>fiscal year 2023, and for other purposes.","HRES900","Sets forth the rule for consideration of H.R. 2 (Agriculture and Nutrition Act of 2018)."],["To provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2023, and for other purposes.","HR2","Agriculture Improvement Act of 2018  This bill (commonly known as the farm bill)<br>reauthorizes through FY2023 and modifies Department of Agriculture (USDA) programs that<br>address:    commodity support,   conservation,   trade and international food aid,<br>nutrition assistance,   farm credit,   rural development,   research and extension<br>activities,   forestry,   energy,   horticulture, and   crop insurance.   The bill<br>modifies agriculture and nutrition policies to:    require farmers to make a ..."],["To amend title 38, United States Code, to provide for the disapproval of any course of<br>education for purposes of the educational assistance programs of the Department of<br>Veterans Affairs unless the educational institution providing the course permits<br>individuals to attend or participate in courses pending payment by Department, and for<br>other purposes.","HR4830"," Servicemembers Improved Transition through Reforms for Ensuring Progress Act or the SIT-<br>REP Act This bill authorizes the Department of Veterans Affairs (VA) to require<br>educational institutions, in order to be eligible for educational payments, to adopt<br>policies that prohibit penalizing student veterans for late VA assistance payments. Such<br>policies shall: (1) permit a veteran who provides the institution with a certificate of VA<br>assistance eligibility to attend courses for a period without V..."],["To amend title 38, United States Code, to provide for a five-year extension to the<br>homeless veterans reintegration programs and to provide clarification regarding<br>eligibility for services under such programs.","HR4451","Homeless Veterans' Reintegration Programs Reauthorization Act of 2018  (Sec. 2) This bill<br>extends through FY2022 the Department of Labor's: (1) homeless veterans reintegration<br>programs, and (2) homeless women veterans and homeless veterans with children<br>reintegration grant program. Currently, the homeless veterans reintegration programs<br>provide job training, counseling, and placement services to expedite the reintegration of<br>homeless veterans into the labor force. The bill expands eligibility..."],["To direct the Secretary of Veterans Affairs to enter into a memorandum of understanding<br>with the executive director of a national network of State-based prescription monitoring<br>programs under which Department of Veterans Affairs health care providers shall query such<br>network, and for other purposes.","HR3832","Veterans Opioid Abuse Prevention Act  (Sec. 2) This bill permits any Department of<br>Veterans Affairs licensed health care provider or provider delegate accessing data on<br>behalf of such provider to query and receive data from the national network of state-based<br>prescription drug monitoring programs to support the safe and effective prescribing of<br>controlled substances to patients who: (1) receive a prescription for a controlled<br>substance, and (2) are not receiving palliative care or enrolled in..."],["Providing for consideration of the bill (H.R. 5515) to authorize appropriations for fiscal<br>year 2019 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; providing for consideration of the bill (S. 204) to authorize the use of<br>unapproved medical products by patients diagnosed with a terminal illness in accordance<br>with State law, and for other purposes; and providing for consideration of the bill (S.<br>2155) to promote economic growth, provide tailored regulatory relief, and enhance consumer<br>protections, and for other purposes.","HRES905","Sets forth the rule for consideration of the bill (H.R. 5515) to authorize appropriations<br>for fiscal year 2019 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes; providing for consideration of the bill (S. 204) to authorize the use of<br>unapproved medical products by patients diagnosed with a terminal illness in accordance<br>with State law, and for other purposes; and providing..."],["A bill to authorize the use of unapproved medical products by patients diagnosed with a<br>terminal illness in accordance with State law, and for other purposes.","S204","Trickett Wendler, Frank Mongiello, Jordan McLinn, and Matthew Bellina Right to Try Act of<br>2017 (Sec.2)This bill amends the Federal Food, Drug, and Cosmetic Act to<br>exempt,\u00a0from\u00a0specified requirements and restrictions under that Act and other laws, the<br>provision of certain unapproved, investigational drugs to a terminally ill patient who has<br>exhausted approved treatment options and\u00a0is unable to participate in a clinical trial<br>involving the drugs. The manufacturer or sponsor of an eligible inves..."],["To provide for programs to help reduce the risk that prisoners will recidivate upon<br>release from prison, and for other purposes.","HR5682","Formerly Incarcerated Reenter Society Transformed Safely Transitioning Every Person Act or<br>the FIRST STEP Act TITLE I--RECIDIVISM REDUCTION (Sec. 101) This bill amends the federal<br>criminal code to direct the Department of Justice to establish a risk and needs assessment<br>system to assess and classify the recidivism risk of prisoners; to guide housing,<br>grouping, and program assignments; and to incentivize and reward participation in and<br>completion of recidivism reduction programs and productive..."],["A bill to promote economic growth, provide tailored regulatory relief, and enhance<br>consumer protections, and for other purposes.","S2155","Economic Growth, Regulatory Relief, and Consumer Protection Act TITLE I--IMPROVING<br>CONSUMER ACCESS TO MORTGAGE CREDIT  (Sec. 101) This bill amends the Truth in Lending Act<br>(TILA) to allow a depository institution or credit union with assets below a specified<br>threshold to forgo certain ability-to-pay requirements regarding residential mortgage<br>loans. Specifically, those requirements are waived if a loan: (1) is originated by and<br>retained by the institution, (2) complies with requirements regar..."],["Providing for further consideration of the bill (H.R. 5515) to authorize appropriations<br>for fiscal year 2019 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes, and providing for proceedings during the period from May 25, 2018, through<br>June 4, 2018.","HRES908","Sets forth the rule for consideration of the bill (H.R. 5515) to authorize appropriations<br>for fiscal year 2019 for military activities of the Department of Defense and for military<br>construction, to prescribe military personnel strengths for such fiscal year, and for<br>other purposes, and providing for proceedings during the period from May 25, 2018, through<br>June 4, 2018."],["To authorize appropriations for fiscal year 2019 for military activities of the Department<br>of Defense and for military construction, to prescribe military personnel strengths for<br>such fiscal year, and for other purposes.","HR5515","National Defense Authorization Act for Fiscal Year 2019 This bill authorizes FY2019<br>appropriations and sets forth policies regarding the military activities of the Department<br>of Defense (DOD), military construction, and the national security programs of the<br>Department of Energy (DOE). It does not provide budget authority, which is provided in<br>subsequent appropriations legislation.  The bill authorizes appropriations to DOD for: (1)<br>Procurement, including helicopters, combat vehicles, weapons,..."],["To establish the Susquehanna National Heritage Area in the State of Pennsylvania, and for<br>other purposes.","HR2991","Susquehanna National Heritage Area Act This bill establishes the Susquehanna National<br>Heritage Area in Pennsylvania, which shall include Lancaster and York counties.  The<br>Susquehanna Heritage Corporation is designated as the local coordinating entity for the<br>area. The bill prohibits the corporation from using federal funds for the acquisition of<br>real property or any interest in real property.  The corporation shall prepare and submit<br>a management plan for the area that includes a description ..."],["To establish the Camp Nelson Heritage National Monument in the State of Kentucky as a unit<br>of the National Park System, and for other purposes.","HR5655","Camp Nelson Heritage National Monument Act This bill establishes, as a unit of the<br>National Park System, the Camp Nelson Heritage National Monument in Nicholasville,<br>Kentucky, in order to preserve, protect, and interpret the nationally significant historic<br>resources of Camp Nelson and its role in the Civil War, Reconstruction, and African-<br>American history and civil rights."],["Providing for consideration of the Senate amendment to the bill (H.R. 3249) to authorize<br>the Project Safe Neighborhoods Grant Program, and for other purposes; providing for<br>consideration of the bill (H.R. 8) to provide for improvements to the rivers and harbors<br>of the United States, to provide for the conservation and development of water and related<br>resources, and for other purposes; and providing for consideration of the bill (H.R. 5895)<br>making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2019, and for other purposes.","HRES918","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 3249) to<br>authorize the Project Safe Neighborhoods Grant Program, and for other purposes; providing<br>for consideration of the bill (H.R. 8) to provide for improvements to the rivers and<br>harbors of the United States, to provide for the conservation and development of water and<br>related resources, and for other purposes; and providing for consideration of the bill<br>(H.R. 5895) making appropriations for energy and water ..."],["To provide for improvements to the rivers and harbors of the United States, to provide for<br>the conservation and development of water and related resources, and for other purposes.","HR8","Water Resources Development Act of 2018 TITLE I--GENERAL PROVISIONS (Sec. 102) This bill<br>amends the Water Resources Development Act (WRDA) of 1986 to direct the U.S. Army Corps of<br>Engineers to identify potential opportunities for the beneficial use of dredged materials<br>obtained from harbors and inland harbors. (Sec. 103) The bill reauthorizes through FY2023<br>the Levee Safety Initiative under WRDA 1986 and the dam inspection program under the<br>National Dam Safety Program Act. (Sec. 105) The bill..."],["To authorize the Project Safe Neighborhoods Grant Program, and for other purposes.","HR3249","Project Safe Neighborhoods Grant Program Authorization Act of 2017 This bill establishes<br>the Project Safe Neighborhoods Block Grant Program within the Department of Justice's<br>Office of Justice Programs to foster and improve existing partnerships to create safer<br>neighborhoods through sustained reductions in crimes committed by criminal street gangs<br>and transnational organized crime groups."],["To rescind certain budget authority proposed to be rescinded in special messages<br>transmitted to the Congress by the President on May 8, 2018, in accordance with title X of<br>the Congressional Budget and Impoundment Control Act 1974.","HR3","Spending Cuts to Expired and Unnecessary Programs Act This bill rescinds approximately $15<br>billion in budget authority over 2018-2028 that was proposed to be rescinded by the<br>President under procedures included in the Impoundment Control Act of 1974. (A rescission<br>is legislation enacted by Congress that cancels the availability of previously enacted<br>budget authority before the authority would otherwise expire. Under current law, the<br>President may propose rescissions to Congress, which must be..."],["Making appropriations for energy and water development and related agencies for the fiscal<br>year ending September 30, 2019, and for other purposes.","HR5895","Highlights:  This bill provides FY2019 appropriations for several federal agencies. The<br>bill includes 3 of the 12 regular FY2019 appropriations bills:    the Energy and Water<br>Development and Related Agencies Appropriations Act, 2019;   the Legislative Branch<br>Appropriations Act, 2019; and   the Military Construction, Veterans Affairs, and Related<br>Agencies Appropriations Act, 2019.   The departments and agencies funded in the bill<br>include:    the U.S. Army Corps of Engineers,   the Bureau of Re..."],["To amend title V of the Public Health Service Act to establish a grant program to create<br>comprehensive opioid recovery centers, and for other purposes.","HR5327","Comprehensive Opioid Recovery Centers Act of 2018 This bill amends the Public Health<br>Service Act to require the Department of Health and Human Services to award grants to<br>establish or operate comprehensive opioid recovery centers. Priority for grants must be<br>given to entities located in states or Indian country with a high per capita drug overdose<br>mortality rate. Each center must carry out specified outreach activities and specified<br>treatment and recovery services."],["To amend the Controlled Substances Act to authorize the employees of a hospice program to<br>handle controlled substances in the residence of a deceased hospice patient to assist in<br>disposal.","HR5041","Safe Disposal of Unused Medication Act (Sec. 2) This bill amends the Controlled Substances<br>Act to allow a hospice employee to handle lawfully dispensed controlled substances of a<br>deceased hospice patient to assist with disposal of the controlled substances, so long as<br>such disposal occurs onsite in accordance with applicable law."],["Providing for consideration of the bill (H.R. 2851) to amend the Controlled Substances Act<br>to clarify how controlled substance analogues are to be regulated, and for other purposes;<br>providing for consideration of the bill (H.R. 5735) to amend the United States Housing Act<br>of 1937 to establish a demonstration program to set aside section 8 housing vouchers for<br>supportive and transitional housing for individuals recovering from opioid use disorders<br>or other substance use disorders, and for other purposes; and providing for consideration<br>of the bill (H.R. 5788) to provide for the processing by U.S. Customs and Border<br>Protection of certain international mail shipments and to require the provision of advance<br>electronic information on international mail shipments of mail, and for other purposes.","HRES934","Sets forth the rule for consideration of the bill (H.R. 2851) to amend the Controlled<br>Substances Act to clarify how controlled substance analogues are to be regulated, and for<br>other purposes; providing for consideration of the bill (H.R. 5735) to amend the United<br>States Housing Act of 1937 to establish a demonstration program to set aside section 8<br>housing vouchers for supportive and transitional housing for individuals recovering from<br>opioid use disorders or other substance use disorders, an..."],["To require the Secretary of Health and Human Services to provide assistance to States in<br>complying with, and implementing, certain provisions of section 106 of the Child Abuse<br>Prevention and Treatment Act in order to promote better protections for young children and<br>family-centered responses, and for other purposes.","HR5890","Assisting States' Implementation of Plans of Safe Care Act (Sec. 2) This bill requires the<br>Department of Health and Human Services to provide states with guidance and technical<br>assistance regarding their plans under the Child Abuse Prevention and Treatment Act for<br>assuring the safe care of infants affected by prenatal substance use. The guidance and<br>technical assistance must:  enhance states' understanding of the Act;  address the<br>challenges of developing, implementing, and monitoring plans o..."],["To amend the United States Housing Act of 1937 to establish a demonstration program to set<br>aside section 8 housing vouchers for supportive and transitional housing for individuals<br>recovering from opioid use disorders or other substance use disorders, and for other<br>purposes.","HR5735","Transitional Housing for Recovery in Viable Environments Demonstration Program Act or the<br>THRIVE Act (Sec. 2) This bill amends the United States Housing Act of 1937 to require the<br>Department of Housing and Urban Development (HUD) to establish a five-year demonstration<br>program for nonprofit organizations and tribally designated housing entities to<br>provide\u00a0low-income rental-assistance vouchers to\u00a0individuals recovering from an opioid or<br>other substance-use disorder. Specifically,\u00a0these vouchers..."],["To amend the Controlled Substances Act to clarify how controlled substance analogues are<br>to be regulated, and for other purposes.","HR2851","Stop the Importation and Trafficking of Synthetic Analogues Act of 2017 or the SITSA Act<br>This bill amends the Controlled Substances Act to establish a new, sixth schedule of<br>controlled substances\u2014schedule A. A drug or substance in schedule A has a chemical<br>structure that is similar to, and an effect on the body that is similar to or greater<br>than, a controlled substance in schedule I, II, III, IV, or V. The bill adds 13 synthetic<br>fentanyl-related substances to schedule A. It also authorizes, a..."],["To amend the Federal Food, Drug, and Cosmetic Act to require improved packaging and<br>disposal methods with respect to certain drugs, and for other purposes.","HR5687","Securing Opioids and Unused Narcotics with Deliberate Disposal and Packaging Act of 2018<br>or the SOUND Disposal and Packaging Act This bill amends the Federal Food, Drug, and<br>Cosmetic Act to authorize the Food and Drug Administration to require certain packaging<br>and disposal technologies, controls, or measures to mitigate the risk of abuse or misuse<br>of a drug or a class of drugs."],["To amend title XVIII of the Social Security Act to authorize the suspension of payments by<br>Medicare prescription drug plans and MA-PD plans pending investigations of credible<br>allegations of fraud by pharmacies.","HR5676","Stop Excessive Narcotics in our Retirement Communities Protection Act of 2018 or the<br>SENIOR Communities Protection Act of 2018 (Sec. 2) This bill authorizes the suspension of<br>payments to a pharmacy under the Medicare prescription drug benefit and Medicare Advantage<br>prescription drug plans pending the investigation of a credible allegation of\u00a0fraud by the<br>pharmacy. A fraud hotline tip, without other evidence, may not be considered a credible<br>allegation of fraud."],["Providing for consideration of the bill (H.R. 6) to provide for opioid use disorder<br>prevention, recovery, and treatment, and for other purposes; providing for consideration<br>of the bill (H.R. 5797) to amend title XIX of the Social Security Act to allow States to<br>provide under Medicaid services for certain individuals with opioid use disorders in<br>institutions for mental diseases; and providing for consideration of the bill (H.R. 6082)<br>to amend the Public Health Service Act to protect the confidentiality of substance use<br>disorder patient records.","HRES949","Sets forth the rule for consideration of the bill (H.R. 6) to provide for opioid use<br>disorder prevention, recovery, and treatment, and for other purposes; providing for<br>consideration of the bill (H.R. 5797) to amend title XIX of the Social Security Act to<br>allow States to provide under Medicaid services for certain individuals with opioid use<br>disorders in institutions for mental diseases; and providing for consideration of the bill<br>(H.R. 6082) to amend the Public Health Service Act to protect ..."],["To amend title XIX of the Social Security Act to allow States to provide under Medicaid<br>services for certain individuals with opioid use disorders in institutions for mental<br>diseases.","HR5797","Individuals in Medicaid Deserve Care that is Appropriate and Responsible in its<br>Execution\u00a0Act or the IMD CARE Act (Sec. 2) This bill temporarily allows states to apply to<br>receive federal Medicaid payment for services provided in institutions for mental diseases<br>(IMDs) and for other medically necessary services for enrollees (aged 21 to 64) with<br>opioid-use or cocaine-use disorders. Services may be covered for a total of up to 30 days<br>in a 12-month period for an eligible enrollee. States must i..."],["To amend the Public Health Service Act to protect the confidentiality of substance use<br>disorder patient records.","HR6082","Overdose Prevention and Patient Safety Act This bill amends the Public Health Service Act<br>to align federal privacy standards for substance use disorder (SUD) patient records more<br>closely with standards under the Health Insurance Portability and Accountability Act<br>(HIPAA). Specifically, the bill authorizes the disclosure of SUD patient records without a<br>patient's written consent to: (1) a covered entity for the purposes of treatment, payment,<br>and health care operations, as long as the disclosu..."],["Providing for consideration of the bill (H.R. 4760) to amend the immigration laws and the<br>homeland security laws, and for other purposes.","HRES954","Sets forth the rule for consideration of the bill (H.R. 4760) to amend the immigration<br>laws and the homeland security laws."],["To amend the immigration laws and the homeland security laws, and for other purposes.","HR4760","Securing America's Future Act of 2018 This bill amends the Immigration and Nationality Act<br>to revise immigrant visa allocation provisions, including family-related visas. A<br>nonimmigrant classification for parents of adult U.S. citizens is created. The diversity<br>visa program is eliminated. Annual immigration levels are revised.  The limit on the<br>worldwide level of employment-based immigrants is increased. The H-2C visa temporary<br>agricultural worker program is revised. A trust fund is establish..."],["Providing for consideration of the bill (H.R. 6136) to amend the immigration laws and<br>provide for border security, and for other purposes.","HRES953","Sets forth the rule for consideration of the bill (H.R. 6136) to amend the immigration<br>laws and provide for border security."],["To provide for opioid use disorder prevention, recovery, and treatment, and for other<br>purposes.","HR6","Substance Use-Disorder Prevention that Promotes Opioid Recovery and Treatment for Patients<br>and Communities Act or the SUPPORT for Patients and Communities Act  TITLE I--MEDICAID<br>PROVISIONS TO ADDRESS THE OPIOID CRISIS (Sec. 1001) The bill prohibits termination of<br>Medicaid eligibility for juveniles who are inmates of public institutions.  (Sec. 1003)<br>The Centers for Medicare &amp; Medicaid Services (CMS) must establish a demonstration<br>project to increase provider treatment capacity for substan..."],["To amend title 38, United States Code, to clarify presumptions relating to the exposure of<br>certain veterans who served in the vicinity of the Republic of Vietnam, and for other<br>purposes.","HR299","This bill extends the presumption of service connection for certain diseases associated<br>with herbicide exposure to veterans who served: (1) in the territorial seas of Vietnam<br>between January 9, 1962, and May 7, 1975, or (2) in or near the Korean demilitarized zone<br>between September 1, 1967, and August 31, 1971. Under a presumption of service-connection,<br>specific disabilities diagnosed in certain veterans are presumed to have been caused by<br>the circumstances of their military service. Health c..."],["To provide a safe harbor for financial institutions that maintain a customer account at<br>the request of a Federal or State law enforcement agency.","HR5783","Cooperate with Law Enforcement Agencies and Watch Act of 2018  (Sec. 2) This bill limits a<br>financial institution's liability for maintaining a customer account in compliance with a<br>written request by a federal, state, tribal, or local law enforcement agency. A federal or<br>state agency may not take an adverse supervisory action against a financial institution<br>with respect to maintaining an account consistent with such a request."],["Providing for consideration of the bill (H.R. 6157) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2019, and for other<br>purposes, and providing for consideration of the bill (H.R. 2083) to amend the Marine<br>Mammal Protection Act of 1972 to reduce predation on endangered Columbia River salmon and<br>other nonlisted species, and for other purposes.","HRES961","Sets forth the rule for consideration of the bill (H.R. 6157) making appropriations for<br>the Department of Defense for the fiscal year ending September 30, 2019, and for other<br>purposes, and providing for consideration of the bill (H.R. 2083) to amend the Marine<br>Mammal Protection Act of 1972 to reduce predation on endangered Columbia River salmon and<br>other nonlisted species."],["To amend the Financial Stability Act of 2010 to provide a criminal penalty for<br>unauthorized disclosures of certain individually identifiable information by officers or<br>employees of a Federal department or agency.","HR4294","Prevention of Private Information Dissemination Act of 2017 This bill amends the Financial<br>Stability Act of 2010 to establish criminal\u00a0monetary penalties with\u00a0respect\u00a0to: (1) an<br>officer or employee of a federal financial regulatory agency who willfully makes<br>an\u00a0unauthorized disclosure of certain individually identifiable information, and (2) a<br>person who willfully requests or obtains such information under false pretenses.\u00a0"],["To amend the Marine Mammal Protection Act of 1972 to reduce predation on endangered<br>Columbia River salmon and other nonlisted species, and for other purposes.","HR2083","Endangered Salmon and Fisheries Predation Prevention Act  This bill amends the Marine<br>Mammal Protection Act of 1972 to authorize the National Oceanic and Atmospheric<br>Administration (NOAA) to issue one-year permits allowing Washington, Oregon, Idaho, the<br>Nez Perce Tribe, the Confederated Tribes of the Umatilla Indian Reservation, the<br>Confederated Tribes of the Warm Springs Reservation of Oregon, the Confederated Tribes and<br>Bands of the Yakama Nation, the Columbia River Inter-Tribal Fish Commis..."],["To amend the immigration laws and provide for border security, and for other purposes.","HR6136","Border Security and Immigration Reform Act of 2018 This bill directs the Department of<br>Homeland Security (DHS) to achieve situational awareness and operational control of the<br>border, including by increasing enforcement personnel. The bill provides funding for<br>infrastructure, law enforcement, and border security, including funds for a border wall<br>along the southern border.  The bill provides for: (1) an Integrated Border Enforcement<br>Team Program within DHS; (2) Tunnel Task Forces; (3) a pilot ..."],["Providing for further consideration of the bill (H.R. 6157) making appropriations for the<br>Department of Defense for the fiscal year ending September 30, 2019, and for other<br>purposes, and providing for proceedings during the period from June 29, 2018, through July<br>9, 2018.","HRES964","Sets forth the rule for consideration of H.R. 6157 (Department of Defense Appropriations<br>Act, 2019). Makes it in order to consider concurrent resolutions providing for adjournment<br>during July 2018."],["Making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2019, and for other purposes.","HR6157","Highlights:  This bill provides FY2019 appropriations and continuing appropriations for<br>several federal agencies.  The bill includes 2 of the 12 FY2019 appropriations bills:<br>the Department of Defense Appropriations Act, 2019; and   the Departments of Labor, Health<br>and Human Services, and Education, and Related Agencies Appropriations Act, 2019.   The<br>bill also provides FY2019 continuing appropriations through December 7, 2018, for agencies<br>that have not been funded when FY2019 begins on Oc..."],["Providing for consideration of the resolution (H. Res. 970) insisting that the Department<br>of Justice fully comply with the requests, including subpoenas, of the Permanent Select<br>Committee on Intelligence and the subpoena issued by the Committee on the Judiciary<br>relating to potential violations of the Foreign Intelligence Surveillance Act by personnel<br>of the Department of Justice and related matters.","HRES971","Sets forth the rule for consideration of the resolution (H. Res. 970) insisting that the<br>Department of Justice fully comply with the requests, including subpoenas, of the<br>Permanent Select Committee on Intelligence and the subpoena issued by the Committee on the<br>Judiciary relating to potential violations of the Foreign Intelligence Surveillance Act by<br>personnel of the Department of Justice and related matters."],["Insisting that the Department of Justice fully comply with the requests, including<br>subpoenas, of the Permanent Select Committee on Intelligence and the subpoena issued by<br>the Committee on the Judiciary relating to potential violations of the Foreign<br>Intelligence Surveillance Act by personnel of the Department of Justice and related<br>matters.","HRES970","Insists that, by July 6, 2018, the Department of Justice (DOJ) fully comply with the<br>requests, including subpoenas, of the Permanent Select Committee on Intelligence and the<br>Committee on the Judiciary relating to potential violations of the Foreign Intelligence<br>Surveillance Act by DOJ personnel."],["To authorize the Secretary of Housing and Urban Development to carry out a housing choice<br>voucher mobility demonstration to encourage families receiving such voucher assistance to<br>move to lower-poverty areas and expand access to opportunity areas.","HR5793","Housing Choice Voucher Mobility Demonstration Act of 2018 (Sec. 2) This bill authorizes<br>the Department of Housing and Urban Development (HUD) to implement a mobility<br>demonstration program to enable public housing agencies (PHAs) to administer housing-<br>choice rental-assistance vouchers in a manner designed to: (1)\u00a0encourage low-income<br>families receiving such assistance to move to lower-poverty areas, and (2) expand access<br>to opportunity areas. HUD shall require PHAs applying to participate in t..."],["To require the appropriate Federal banking agencies to increase the risk-sensitivity of<br>the capital treatment of certain centrally cleared options, and for other purposes.","HR5749","Options Markets Stability Act This bill\u00a0revises the method of calculating the risk, for<br>purposes of\u00a0satisfying capital rules applicable to depository institutions and depository<br>institution holding companies,\u00a0of\u00a0certain options cleared through a central counterparty."],["Providing for consideration of the bill (H.R. 200) to amend the Magnuson-Stevens Fishery<br>Conservation and Management Act to provide flexibility for fishery managers and stability<br>for fishermen, and for other purposes.","HRES965","Sets forth the rule for consideration of the bill (H.R. 200) to amend the Magnuson-Stevens<br>Fishery Conservation and Management Act to provide flexibility for fishery managers and<br>stability for fishermen."],["Providing for consideration of the bill (H.R. 50) to provide for additional safeguards<br>with respect to imposing Federal mandates, and for other purposes, and providing for<br>consideration of the bill (H.R. 3281) to authorize the Secretary of the Interior to<br>facilitate the transfer to non-Federal ownership of appropriate reclamation projects or<br>facilities, and for other purposes.","HRES985","Sets forth the rule for consideration of the bill (H.R. 50) to provide for additional<br>safeguards with respect to imposing Federal mandates, and for other purposes, and<br>providing for consideration of the bill (H.R. 3281) to authorize the Secretary of the<br>Interior to facilitate the transfer to non-Federal ownership of appropriate reclamation<br>projects or facilities."],["To amend the Magnuson-Stevens Fishery Conservation and Management Act to provide<br>flexibility for fishery managers and stability for fishermen, and for other purposes.","HR200","Strengthening Fishing Communities and Increasing Flexibility in Fisheries Management Act<br>This bill revises and reauthorizes through FY2022 the Magnuson-Stevens Fishery<br>Conservation and Management Act (MSA). Revisions are made to: (1) requirements for fishery<br>management plans for overfished fisheries; and (2) catch limit requirements, including by<br>authorizing Regional Fishery Management Councils to consider changes in an ecosystem and<br>the economic needs of the fishing communities when establi..."],["Providing for consideration of the bill (H.R. 6237) to authorize appropriations for fiscal<br>years 2018 and 2019 for intelligence and intelligence-related activities of the United<br>States Government, the Community Management Account, and the Central Intelligence Agency<br>Retirement and Disability System, and for other purposes.","HRES989","Sets forth the rule for consideration of the bill (H.R. 6237) to authorize appropriations<br>for fiscal years 2018 and 2019 for intelligence and intelligence-related activities of the<br>United States Government, the Community Management Account, and the Central Intelligence<br>Agency Retirement and Disability System."],["To authorize the Secretary of the Interior to facilitate the transfer to non-Federal<br>ownership of appropriate reclamation projects or facilities, and for other purposes.","HR3281","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Reclamation Title Transfer and Non-Federal<br>Infrastructure Incentivization Act (Sec. 3) This bill authorizes the Department of the<br>Interior to convey U.S. interest in an eligible reclamation project or facility to an<br>agency of a state political subdivision, a joint action or powers agency, a water users<br>association, or an Indian tribe or tribal utility authority th..."],["To provide for additional safeguards with respect to imposing Federal mandates, and for<br>other purposes.","HR50","Unfunded Mandates Information and Transparency Act of 2017  This bill amends the<br>Congressional Budget Act of 1974 to: (1) require the Congressional Budget Office (CBO), at<br>the request of the chairman or ranking member of a congressional committee, to conduct an<br>assessment comparing the authorized level of funding in legislation to the prospective<br>costs of carrying out any changes to a condition of federal assistance being imposed on<br>state, local, or tribal governments participating in the fed..."],["To designate the facility of the United States Postal Service located at 511 East Walnut<br>Street in Columbia, Missouri, as the \"Spc. Sterling William Wyatt Post Office Building\".","HR4960","Designates the facility of the United States Postal Service located at 511 East Walnut<br>Street in Columbia, Missouri, as the \"Spc. Sterling William Wyatt Post Office Building.\""],["Providing for consideration of the bill (H.R. 6147) making appropriations for the<br>Department of the Interior, environment, and related agencies for the fiscal year ending<br>September 30, 2019, and for other purposes.","HRES996","Sets forth the rule for consideration of the bill (H.R. 6147) making appropriations for<br>the Department of the Interior, environment, and related agencies for the fiscal year<br>ending September 30, 2019."],["A bill to increase the threshold for disclosures required by the Securities and Exchange<br>Commission relating to compensatory benefit plans, and for other purposes.","S488","(This measure has not been amended since it was introduced. The expanded summary of the<br>Senate reported version is repeated here.) Encouraging Employee Ownership Act  (Sec. 2)<br>This bill\u00a0\u00a0requires the Securities and Exchange Commission to increase, from $5 million to<br>$10 million, the 12-month sales threshold beyond which an issuer is required to provide<br>investors with additional disclosures related to compensatory benefit plans."],["To help prevent acts of genocide and other atrocity crimes, which threaten national and<br>international security, by enhancing United States Government capacities to prevent,<br>mitigate, and respond to such crises.","HR3030","Elie Wiesel Genocide and Atrocities Prevention Act of 2018   (Sec. 3) This bill states<br>that it shall be U.S. policy to regard the prevention of genocide and other atrocities as<br>in its national security interests.   (Sec. 4) The Foreign Service Act of 1980 is amended<br>to provide for the training of Foreign Service officers in recognizing patterns of<br>escalation and early warning signs of potential atrocities or violence, including gender-<br>based violence, and methods of conflict assessment, peace ..."],["Supporting the officers and personnel who carry out the important mission of the United<br>States Immigration and Customs Enforcement.","HRES990","Expresses support for U.S. Immigration and Customs Enforcement (ICE) officers and<br>personnel and denounces calls for ICE's abolishment."],["Providing for consideration of the concurrent resolution (H. Con. Res. 119) expressing the<br>sense of Congress that a carbon tax would be detrimental to the United States economy.","HRES1001","Sets forth the rule for consideration of the concurrent resolution (H. Con. Res. 119)<br>expressing the sense of Congress that a carbon tax would be detrimental to the United<br>States economy."],["Making appropriations for the Department of the Interior, environment, and related<br>agencies for the fiscal year ending September 30, 2019, and for other purposes.","HR6147","Highlights:  This bill provides FY2019 appropriations for several federal departments and<br>agencies. It includes 4 of the 12 regular FY2019 appropriations bills:    the Department<br>of the Interior, Environment, and Related Agencies Appropriations Act, 2019;   the<br>Financial Services and General Government Appropriations Act, 2019;   the Agriculture,<br>Rural Development, Food and Drug Administration, and Related Agencies Appropriations Act,<br>2019; and   the Transportation, Housing and Urban Developm..."],["Expressing the sense of Congress that a carbon tax would be detrimental to the United<br>States economy.","HCONRES119","Expresses the sense of Congress that a carbon tax would be detrimental to American<br>families and businesses and is not in the best interest of the United States."],["To require the Federal Communications Commission to study the feasibility of designating a<br>simple, easy-to-remember dialing code to be used for a national suicide prevention and<br>mental health crisis hotline system.","HR2345"," National Suicide Hotline Improvement Act of 2018 (Sec. 3) This bill requires the Federal<br>Communications Commission (FCC) to coordinate with the Substance Abuse and Mental Health<br>Services Administration (SAMHSA) of the Department of Health and Human Services and the<br>Department of Veterans Affairs (VA) to conduct a study that: (1) examines the feasibility<br>of designating a three-digit dialing code (N11 dialing code) for a national suicide<br>prevention and mental health crisis hotline system; and ..."],["To require the Federal Communications Commission to establish a task force for meeting the<br>connectivity and technology needs of precision agriculture in the United States.","HR4881","Precision Agriculture Connectivity Act of 2018 (Sec. 3) This bill requires the Federal<br>Communications Commission (FCC) to establish the Task Force for Reviewing the Connectivity<br>and Technology Needs of Precision Agriculture in the United States.  The task force's<br>duties include:   identifying and measuring current gaps in the availability of broadband<br>Internet access service on agricultural land;  developing policy recommendations to<br>promote the rapid, expanded deployment of fixed and mobile ..."],["Providing for consideration of the bill (H.R. 6199) to amend the Internal Revenue Code of<br>1986 to include certain over-the-counter medical products as qualified medical expenses,<br>and providing for proceedings during the period from July 27, 2018, through September 3,<br>2018.","HRES1012","Sets forth the rule for consideration of the bill (H.R. 6199) to amend the Internal<br>Revenue Code of 1986 to include certain over-the-counter medical products as qualified<br>medical expenses, and providing for proceedings during the period from July 27, 2018,<br>through September 3, 2018."],["Providing for consideration of the bill (H.R. 184) to amend the Internal Revenue Code of<br>1986 to repeal the excise tax on medical devices, and providing for consideration of the<br>bill (H.R. 6311) to amend the Internal Revenue Code of 1986 and the Patient Protection and<br>Affordable Care Act to modify the definition of qualified health plan for purposes of the<br>health insurance premium tax credit and to allow individuals purchasing health insurance<br>in the individual market to purchase a lower premium copper plan.","HRES1011","Sets forth the rule for consideration of the bill (H.R. 184) to amend the Internal Revenue<br>Code of 1986 to repeal the excise tax on medical devices, and providing for consideration<br>of the bill (H.R. 6311) to amend the Internal Revenue Code of 1986 and the Patient<br>Protection and Affordable Care Act to modify the definition of qualified health plan for<br>purposes of the health insurance premium tax credit and to allow individuals purchasing<br>health insurance in the individual market to purchase a ..."],["To amend the Internal Revenue Code of 1986 to repeal the excise tax on medical devices.","HR184","Protect Medical Innovation Act of 2018 (Sec. 2) This bill amends the Internal Revenue Code<br>to repeal the excise tax on the sale of a medical device by the manufacturer, producer, or<br>importer."],["A bill to require the Secretary of the Treasury to mint commemorative coins in recognition<br>of the 100th anniversary of The American Legion.","S1182","National Flood Insurance Program Extension Act of 2018 (Sec. 2) This bill amends the<br>National Flood Insurance Act of 1968 to reauthorize the National Flood Insurance Program<br>through November 30, 2018."],["To direct the Secretary of Veterans Affairs to establish qualifications for the human<br>resources positions within the Veterans Health Administration of the Department of<br>Veterans Affairs, and for other purposes.","HR5864","VA Hospitals Establishing Leadership Performance Act  (Sec. 2) This bill directs: (1) the<br>Department of Veterans Affairs to establish qualifications and related performance metrics<br>for each human resources position within the Veterans Health Administration, and (2) the<br>Government Accountability Office to report to Congress regarding the implementation and<br>quality of such metrics and qualifications."],["To amend the Internal Revenue Code of 1986 to include certain over-the-counter medical<br>products as qualified medical expenses.","HR6199","Restoring Access to Medication Act of 2018 This bill repeals provisions of the Internal<br>Revenue Code, as added by the Patient Protection and Affordable Care Act, that limit<br>payments for medications from health savings accounts, medical savings accounts, health<br>flexible spending arrangements, and health reimbursement arrangements to only prescription<br>drugs or insulin (thus allowing distributions from such accounts for over-the-counter<br>drugs). The bill also allows the accounts to be used for me..."],["Providing for consideration of the conference report to accompany the bill (H.R. 5515) to<br>authorize appropriations for fiscal year 2019 for military activities of the Department of<br>Defense, for military construction, and for defense activities of the Department of<br>Energy, to prescribe military personnel strengths for such fiscal year, and for other<br>purposes.","HRES1027","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>5515) to authorize appropriations for fiscal year 2019 for military activities of the<br>Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year."],["To amend the Homeland Security Act of 2002 to establish in the Department of Homeland<br>Security the Biometric Identification Transnational Migration Alert Program, and for other<br>purposes.","HR6439","Biometric Identification Transnational Migration Alert Program Authorization Act of 2018<br>(Sec. 2) This bill amends the Homeland Security Act of 2002 to provide statutory authority<br>for the Department of Homeland Security (DHS) Biometric Identification Transnational<br>Migration Alert Program (BITMAP). That program was established to address and reduce<br>national security, border security, and terrorist threats before such threats reach the<br>international border of the United States.  In carrying out..."],["Providing for consideration of the bill (H.R. 1635) to amend the loan counseling<br>requirements under the Higher Education Act of 1965, and for other purposes, and providing<br>for consideration of the bill (H.R. 4606) to provide that applications under the Natural<br>Gas Act for the importation or exportation of small volumes of natural gas shall be<br>granted without modification or delay.","HRES1049","Sets forth the rule for consideration of the bill (H.R. 1635) to amend the loan counseling<br>requirements under the Higher Education Act of 1965, and for other purposes, and providing<br>for consideration of the bill (H.R. 4606) to provide that applications under the Natural<br>Gas Act for the importation or exportation of small volumes of natural gas shall be<br>granted without modification or delay."],["To amend the loan counseling requirements under the Higher Education Act of 1965, and for<br>other purposes.","HR1635","Empowering Students Through Enhanced Financial Counseling Act This bill amends title IV<br>(Student Assistance) of the Higher Education Act of 1965 to modify loan counseling<br>requirements for an institution of higher education (IHE) that participates in federal<br>student aid programs. Currently, an IHE must provide entrance counseling to a student who<br>is a first-time federal student loan borrower. This bill replaces required entrance<br>counseling with required annual counseling. Also, it expands the ..."],["Providing for consideration of the bill (H.R. 6691) to amend title 18, United States Code,<br>to clarify the definition of \"crime of violence\", and for other purposes, and providing<br>for consideration of motions to suspend the rules.","HRES1051","Sets forth the rule for consideration of the bill (H.R. 6691) to amend title 18, United<br>States Code, to clarify the definition of \"crime of violence\", and for other purposes, and<br>providing for consideration of motions to suspend the rules."],["To provide that applications under the Natural Gas Act for the importation or exportation<br>of small volumes of natural gas shall be granted without modification or delay.","HR4606","Ensuring Small Scale LNG Certainty and Access Act This bill amends the Natural Gas Act to<br>state that an application under the Natural Gas Act for the importation or exportation of<br>natural gas that does not exceed 0.14 billion cubic feet per day shall be granted without<br>modification or delay."],["To authorize early repayment of obligations to the Bureau of Reclamation within the<br>Northport Irrigation District in the State of Nebraska.","HR4689","(Sec. 1) This bill authorizes any landowner within the Northport Irrigation District in<br>Nebraska to repay, at any time, the construction costs of project facilities allocated to<br>the landowner's land within the district. Upon discharge in full of the obligation for<br>repayment of all such costs, the parcels of land shall not be subject to the ownership and<br>full-cost pricing limitations under federal reclamation law. The Department of the<br>Interior, upon request, must provide to the landowner who ..."],["Providing for consideration of the bill (H.R. 3798) to amend the Internal Revenue Code of<br>1986 to repeal the 30-hour threshold for classification as a full-time employee for<br>purposes of the employer mandate in the Patient Protection and Affordable Care Act and<br>replace it with 40 hours; providing for consideration of the conference report to<br>accompany the bill (H.R. 5895) making appropriations for energy and water development and<br>related agencies for the fiscal year ending September 30, 2019, and for other purposes;<br>and providing for proceedings during the period from September 17, 2018, through September<br>24, 2018.","HRES1059","Sets forth the rule for consideration of the bill (H.R. 3798) to amend the Internal<br>Revenue Code of 1986 to repeal the 30-hour threshold for classification as a full-time<br>employee for purposes of the employer mandate in the Patient Protection and Affordable Act<br>and replace it with 40 hours; providing for consideration of the conference report to<br>accompany the bill (H.R. 5895) making appropriations for energy and water development and<br>related agencies for the fiscal year ending September 30, 2..."],["To amend the State Department Basic Authorities Act of 1956 to monitor and combat anti-<br>Semitism globally, and for other purposes.","HR1911","Special Envoy to Monitor and Combat Anti-Semitism Act of 2018  (Sec. 3) This bill amends<br>the State Department Basic Authorities Act of 1956 to provide that the Special Envoy to<br>Monitor and Combat Anti-Semitism shall have the rank of ambassador and be appointed by the<br>President by and with the advice and consent of the Senate. The Special Envoy shall: (1)<br>be a person of recognized distinction in the field of combating anti-Semitism, law<br>enforcement, or religious freedom; (2) serve as the prima..."],["Providing for consideration of the conference report to accompany the bill (H.R. 6157)<br>making appropriations for the Department of Defense for the fiscal year ending September<br>30, 2019, and for other purposes; providing for consideration of the resolution (H. Res.<br>1071) recognizing that allowing illegal immigrants the right to vote devalues the<br>franchise and diminishes the voting power of United States citizens; and providing for<br>consideration of motions to suspend the rules.","HRES1077","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>6157) making appropriations for the Department of Defense for the fiscal year ending<br>September 30, 2019, and for other purposes; providing for consideration of the resolution<br>(H. Res. 1071) recognizing that allowing illegal immigrants the right to vote devalues the<br>franchise and diminishes the voting power of United States citizens; and providing for<br>consideration of motions to suspend the rules."],["Recognizing that allowing illegal immigrants the right to vote devalues the franchise and<br>diminishes the voting power of United States citizens.","HRES1071","Recognizes that allowing illegal immigrants the right to vote devalues the franchise, and<br>diminishes the voting power, of U.S. citizens."],["Providing for the concurrence by the House in the Senate amendment to H.R. 302, with an<br>amendment.","HRES1082","Concurs in the Senate amendment to H.R. 302 (Sports Medicine Licensure Clarity Act of<br>2017) with an amendment."],["To allow nonprofit organizations to register with the Secretary of the Treasury and share<br>information on activities that may involve human trafficking or money laundering with<br>financial institutions and regulatory authorities, under a safe harbor that offers<br>protections from liability, in order to better identify and report potential human<br>trafficking or money laundering activities.","HR6729","Empowering Financial Institutions to Fight Human Trafficking Act of 2018  (Sec. 2) This<br>bill allows a qualified nonprofit organization to share information with financial<br>institutions and other authorities regarding possible human trafficking or related money<br>laundering activities. The Department of the Treasury must determine which financial<br>institutions are eligible to receive this information. Nonprofit organizations, financial<br>institutions, and other authorities shall not be held liable f..."],["Providing for consideration of the bill (H.R. 6756) to amend the Internal Revenue Code of<br>1986 to promote new business innovation, and for other purposes; providing for<br>consideration of the bill (H.R. 6757) to amend the Internal Revenue Code of 1986 to<br>encourage retirement and family savings, and for other purposes; providing for<br>consideration of the bill (H.R. 6760) to amend the Internal Revenue Code of 1986 to make<br>permanent certain provisions of the Tax Cuts and Jobs Act affecting individuals, families,<br>and small businesses; and providing for proceedings during the period from October 1,<br>2018, through November 12, 2018.","HRES1084","Sets forth the rule for consideration of the bill (H.R. 6756) to amend the Internal<br>Revenue Code of 1986 to promote new business innovation, and for other purposes; providing<br>for consideration of the bill (H.R. 6757) to amend the Internal Revenue Code of 1986 to<br>encourage retirement and family savings, and for other purposes; providing for<br>consideration of the bill (H.R. 6760) to amend the Internal Revenue Code of 1986 to make<br>permanent certain provisions of the Tax Cuts and Jobs Act affectin..."],["To amend the Internal Revenue Code of 1986 to make permanent certain provisions of the Tax<br>Cuts and Jobs Act affecting individuals, families, and small businesses.","HR6760","Protecting Family and Small Business Tax Cuts Act of 2018  This bill amends the Internal<br>Revenue Code to make permanent several tax provisions that were enacted in 2017 and are<br>scheduled to expire at the end of 2025.  The bill makes permanent provisions that:<br>reduce individual tax rates,  modify the taxation of the unearned income of children,<br>allow a deduction for qualified business income of pass-through entities,   increase the<br>standard deduction,   increase and modify the child tax cr..."],["Providing for the concurrence by the House in the Senate amendment to H.R. 6, with an<br>amendment.","HRES1099","Sets forth the rule for consideration of the Senate amendment to H.R. 6 (Substance Use-<br>Disorder Prevention that Promotes Opioid Recovery and Treatment for Patients and<br>Communities Act or the SUPPORT for Patients and Communities Act)."],["To authorize the exchange of certain land located in Gulf Islands National Seashore,<br>Jackson County, Mississippi, between the National Park Service and the Veterans of Foreign<br>Wars, and for other purposes.","HR2615","(This measure has not been amended since it was introduced. The summary has been expanded<br>because action occurred on the measure.) Gulf Islands National Seashore Land Exchange Act<br>of 2017  (Sec. 2) This bill authorizes the National Park Service (NPS) to convey specified<br>federal lands located within the Gulf Islands National Seashore in Jackson County,<br>Mississippi, to the Veterans of Foreign Wars Post 5699 in exchange for certain land<br>located in such county.  The values of the parcels to be ex..."],["Providing for consideration of the bill (H.R. 6784) to provide for removal of the gray<br>wolf in the contiguous 48 States from the List of Endangered and Threatened Wildlife<br>published under the Endangered Species Act of 1973, and providing for proceedings during<br>the period from November 19, 2018, through November 26, 2018.","HRES1142","Sets forth the rule for consideration of the bill (H.R. 6784) to provide for removal of<br>the gray wolf in the contiguous 48 States from the List of Endangered and Threatened<br>Wildlife published under the Endangered Species Act of 1973, and providing for proceedings<br>during the period from November 19, 2018, through November 26, 2018."],["To provide for removal of the gray wolf in the contiguous 48 States from the List of<br>Endangered and Threatened Wildlife published under the Endangered Species Act of 1973.","HR6784","Manage our Wolves Act (Sec. 2) This bill addresses the protection of the gray wolf (Canis<br>lupus) under the Endangered Species Act of 1973. Specifically, the Department of the<br>Interior must issue a rule to remove the gray wolf in the contiguous 48 states from the<br>list of endangered or threatened species and reinstate a rule that removed the gray wolf<br>in the Western Great Lakes region from the list. The bill exempts those rules from<br>judicial review as well as a rule that removed the gray wolf i..."],["Providing for consideration of the Senate amendment to the bill (H.R. 88) to modify the<br>boundary of the Shiloh National Military Park located in Tennessee and Mississippi, to<br>establish Parker's Crossroads Battlefield as an affiliated area of the National Park<br>System, and for other purposes.","HRES1160","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 88) to<br>modify the boundary of the Shiloh National Military Park located in Tennessee and<br>Mississippi, to establish Parker's Crossroads Battlefield as an affiliated area of the<br>National Park System."],["To extend the National Flood Insurance Program until December 7, 2018.","HR7187","National Flood Insurance Program Further Extension Act of 2018 (Sec. 2) This bill amends<br>the National Flood Insurance Act of 1968 to reauthorize the National Flood Insurance<br>Program through December 7, 2018."],["To authorize the Secretary of the Interior to conduct a special resource study of the<br>George W. Bush Childhood Home, located at 1412 West Ohio Avenue, Midland, Texas, and for<br>other purposes.","HR3008","George W. Bush Childhood Home Study Act This bill directs the Department of the Interior<br>to conduct a special resource study of the childhood home of former President George W.<br>Bush, which is located at 1412 West Ohio Avenue in Midland, Texas. Interior shall: (1)<br>evaluate the national significance of the site, (2) determine the suitability and<br>feasibility of designating the site as a unit of the National Park System (NPS), and (3)<br>determine the effect of the site's designation as an NPS unit ..."],["To amend title XIX of the Social Security Act to provide States with the option of<br>providing coordinated care for children with complex medical conditions through a health<br>home, and for other purposes.","HR7217","Improving Medicaid Programs and Opportunities for Eligible Beneficiaries Act or the<br>IMPROVE Act This bill establishes a state Medicaid option to provide for medical<br>assistance with respect to coordinated care provided through a health home (i.e., a<br>designated provider or team of health-care professionals) for children with medically<br>complex conditions. States must determine payment methodologies in accordance with<br>specified requirements; payments also temporarily qualify for an enhanced feder..."],["A bill to provide for the conveyance of certain property to the Southeast Alaska Regional<br>Health Consortium located in Sitka, Alaska, and for other purposes.","S825","(This measure has not been amended since it was reported to the Senate on October 17,<br>2017. The summary of that version is repeated here.) Southeast Alaska Regional Health<br>Consortium Land Transfer Act of 2017 (Sec. 2) This bill directs the Department of Health<br>and Human Services (HHS) to convey specified property in Sitka, Alaska, to the Southeast<br>Alaska Regional Health Consortium for use in connection with health and social services<br>programs.  Such conveyance shall not require any considerat..."],["Providing for consideration of the conference report to accompany the bill (H.R. 2) to<br>provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through fiscal year 2023, and for other purposes.","HRES1176","Sets forth the rule for consideration of the conference report to accompany the bill (H.R.<br>2) to provide for the reform and continuation of agricultural and other programs of the<br>Department of Agriculture through FY2023. Prohibits provisions of the War Powers<br>Resolution concerning congressional priority procedures from applying during the remainder<br>of the 115th Congress to a concurrent resolution introduced with respect to Yemen."],["Calling on the Government of Burma to release Burmese journalists Wa Lone and Kyaw Soe Oo<br>sentenced to seven years imprisonment after investigating attacks against civilians by<br>Burma's military and security forces, and for other purposes.","HRES1091","Condemns the attacks against civilians by Burma's military and security forces. Considers<br>the actions by the Burmese military against the Rohingya in northern Rakhine State in 2017<br>to be genocide.  Calls on State Counsellor Aung San Suu Kyi and President Win Myint to<br>pardon Wa Lone and Kyaw Soe Oo and other journalists and political prisoners."],["A bill to amend the Public Health Service Act to authorize the expansion of activities<br>related to Alzheimer's disease, cognitive decline, and brain health under the Alzheimer's<br>Disease and Healthy Aging Program, and for other purposes.","S2076","Building Our Largest Dementia Infrastructure for Alzheimer's Act or the BOLD<br>Infrastructure for Alzheimer's Act This bill amends the Public Health Service Act\u00a0to award<br>cooperative agreements: (1) for the establishment or support of national or regional<br>centers of excellence in public health practice in Alzheimer's disease; (2) to state<br>public health departments, Native American tribes, and other entities to promote cognitive<br>functioning, address cognitive impairment and unique aspects of Alzh..."],["A bill to amend the Public Health Service Act to provide grants to improve health care in<br>rural areas.","S2278","State Offices of Rural Health Reauthorization Act of 2018 This bill amends the Public<br>Health Service Act to reauthorize through FY2022 and revise the grant program for state<br>offices of rural health, including to require the Department of Health and Human Services<br>(HHS) to make the grants, thus removing HHS's discretion to make them."],["To amend the Federal Water Pollution Control Act to provide for an integrated planning<br>process, to promote green infrastructure, and for other purposes.","HR7279","Water Infrastructure Improvement Act (Sec. 3) This bill amends the Federal Water Pollution<br>Control Act (commonly known as the Clean Water Act) to allow municipalities to develop a<br>plan that integrates wastewater and stormwater management. A permit for a municipal<br>discharge under the national pollutant discharge elimination system that incorporates an<br>integrated plan may integrate all requirements under the Act addressed in the plan, such<br>as requirements relating to combined sewer overflows, s..."],["To provide for a coordinated Federal program to accelerate quantum research and<br>development for the economic and national security of the United States.","HR6227","National Quantum Initiative Act This bill directs the President to implement a National<br>Quantum Initiative Program to, among other things, establish the goals and priorities for<br>a 10-year plan to accelerate the development of quantum information science and technology<br>applications. The bill defines \"quantum information science\" as the storage, transmission,<br>manipulation, or measurement of information that is encoded in systems that can only be<br>described by the laws of quantum physics.  The Na..."],["Providing for consideration of the Senate amendment to the bill (H.R. 88) to modify the<br>boundary of the Shiloh National Military Park located in Tennessee and Mississippi, to<br>establish Parker's Crossroads Battlefield as an affiliated area of the National Park<br>System, and for other purposes; providing for proceedings during the period from December<br>24, 2018, through January 3, 2019.","HRES1180","Sets forth the rule for consideration of the Senate amendment to the bill (H.R. 88) to<br>modify the boundary of the Shiloh National Military Park located in Tennessee and<br>Mississippi, to establish Parker's Crossroads Battlefield as an affiliated area of the<br>National Park System, and for other purposes; providing for proceedings during the period<br>from December 24, 2018, through January 3, 2019."],["A bill to reauthorize and amend the Marine Debris Act to promote international action to<br>reduce marine debris, and for other purposes.","S756","Save Our Seas Act of 2017 or the SOS Act of 2017 (Sec. 2) This bill amends the Marine<br>Debris Act to revise the Marine Debris Program to require the National Oceanic and<br>Atmospheric Administration (NOAA) to work with: (1) other agencies to address both land-<br>and sea-based sources of marine debris, and (2) the Department of State and other agencies<br>to promote international action to reduce the incidence of marine debris. (Sec. 3) The<br>bill also revises the program by allowing NOAA to make sums a..."],["To encourage, enhance, and integrate Ashanti Alert plans throughout the United States, and<br>for other purposes.","HR5075","Ashanti Alert Act of 2018 This bill directs the Department of Justice (DOJ) to establish a<br>national communications network\u2014the Ashanti Alert communications network\u2014to support<br>regional and local search efforts for missing adults. The Ashanti Alert communications<br>network must operate in coordination with the AMBER Alert communications network (i.e.,<br>the communications network that supports search efforts for abducted children)."],["A bill to award a Congressional Gold Medal to Stephen Michael Gleason.","S2652","Stephen Michael Gleason Congressional Gold Medal Act (Sec. 3) This bill directs the<br>Speaker of the House of Representatives and the President pro tempore of the Senate to<br>arrange for the award of a Congressional Gold Medal to Stephen Michael Gleason."],["A bill to reauthorize the National Integrated Drought Information System, and for other<br>purposes.","S2200","National Integrated Drought Information System Reauthorization Act of 2018 This bill<br>reauthorizes through FY2023 and modifies the National Integrated Drought Information<br>System (NIDIS) Program.  The bill amends the National Integrated Drought Information<br>System Act of 2006 to require, under NIDIS, that the collection and integration of<br>information on the key indicators of drought and drought impacts includes indicators of<br>precipitation, soil moisture, and evaporative demand. NIDIS shall also:..."],["A bill to designate the community-based outpatient clinic of the Department of Veterans<br>Affairs in Lake Charles, Louisiana, as the \"Douglas Fournet Department of Veterans Affairs<br>Clinic\".","S3444","This bill designates the Department of Veterans Affairs community-based outpatient clinic<br>in Lake Charles, Louisiana, as the \"Douglas Fournet Department of Veterans Affairs<br>Clinic.\""],["Providing for consideration of the Senate amendment to the House amendment to the Senate<br>amendment to the bill (H.R. 695) to amend the National Child Protection Act of 1993 to<br>establish a voluntary national criminal history background check system and criminal<br>history review program for certain individuals who, related to their employment, have<br>access to children, the elderly, or individuals with disabilities, and for other purposes.","HRES1183","Sets forth the rule for consideration of the Senate amendment to the House amendment to<br>the Senate amendment to the bill (H.R. 695) to amend the National Child Protection Act of<br>1993 to establish a voluntary national criminal history background check system and<br>criminal history review program for certain individuals who, related to their employment,<br>have access to children, the elderly, or individuals with disabilities."],["To modify the boundary of the Shiloh National Military Park located in Tennessee and<br>Mississippi, to establish Parker's Crossroads Battlefield as an affiliated area of the<br>National Park System, and for other purposes.","HR88","Shiloh National Military Park Boundary Adjustment and Parker's Crossroads Battlefield<br>Designation Act  (Sec. 3) This bill modifies the boundary of Shiloh National Military Park<br>in Tennessee and Mississippi to include the Fallen Timbers Battlefield, the Russell House<br>Battlefield, and the Davis Bridge Battlefield. The Department of the Interior may acquire<br>such lands, which shall be administered as part of the park.   (Sec. 4) The bill<br>establishes the Parker's Crossroads Battlefield in Tennesse..."],["To amend the Act of August 4, 1947 (commonly known as the Stigler Act), with respect to<br>restrictions applicable to Indians of the Five Civilized Tribes of Oklahoma, and for other<br>purposes.","HR2606","Stigler Act Amendments of 2017 This bill amends the Act of August 4, 1947 (commonly known<br>as the Stigler Act) to revise the qualifications that must be met by a person who inherits<br>land originally allotted to members of the Five Civilized Tribes of Oklahoma (the Choctaw,<br>Chickasaw, Creek, Cherokee, and Seminole tribes) for that land to remain in restricted<br>status. When land is in restricted status, it is not subject to taxation and may not be<br>sold or transferred without permission of the Depa..."],["Designating room H-226 of the United States Capitol as the \"Lincoln Room\".","HRES1063","Designates room H-226 of the U.S. Capitol as the \"Lincoln Room.\""],["To amend the Federal Assets Sale and Transfer Act of 2016 to ensure that the Public<br>Buildings Reform Board has adequate time to carry out the responsibilities of the Board,<br>and for other purposes.","HR7318","This bill amends the Federal Assets Sale and Transfer Act of 2016 to remove the deadline<br>for appointment of members to the Public Buildings Reform Board and revise the board's<br>termination date to six years after its members have been selected for appointment<br>pursuant to the Act."],["A bill to require agencies to submit reports on outstanding recommendations in the annual<br>budget justification submitted to Congress.","S2276","Good Accounting Obligation in Government Act or the GAO-IG Act This bill requires each<br>federal agency, in its\u00a0annual budget justification, to include a report on: (1) each<br>public recommendation of the Government Accountability Office (GAO) that is classified as<br>\"open\" or \"closed, unimplemented\"; (2) each public recommendation for corrective action<br>from the agency's office of the\u00a0inspector general (OIG)\u00a0for which no final action has been<br>taken; and (3) the implementation status of each such re..."],["To amend titles 5 and 44, United States Code, to require Federal evaluation activities,<br>improve Federal data management, and for other purposes.","HR4174","Foundations for Evidence-Based Policymaking Act of 2017  This bill requires departments<br>and agencies identified in the Chief Financial Officers Act to submit annually to the<br>Office of Management and Budget (OMB) and Congress a plan for identifying and addressing<br>policy questions relevant to the programs, policies, and regulations of such departments<br>and agencies.The plan must include: (1) a list of policy-relevant questions for developing<br>evidence to support policymaking, and (2) a list of da..."],["A bill to provide for a program of the Department of Defense to commemorate the 75th<br>anniversary of World War II.","S3661","75th Anniversary of World War II Commemoration Act This bill directs the Department of<br>Defense to conduct a program to commemorate the 75th anniversary of World War II."],["To reauthorize the Trafficking Victims Protection Act of 2000, and for other purposes.","HR2200","Frederick Douglass Trafficking Victims Prevention and Protection Reauthorization Act of<br>2017 This bill authorizes local educational agencies to establish programs to educate<br>children on the dangers of severe forms of trafficking in persons.  Diplomatic or consular<br>posts shall designate an employee to receive information from any person who was a victim<br>of a severe form of trafficking in persons while in the United States.  The Department of<br>Health and Human Services may carry out a Human Traf..."],["A bill to reauthorize the Tropical Forest Conservation Act of 1998 through fiscal year<br>2021, and for other purposes.","S1023","Tropical Forest Conservation Reauthorization Act of 2017 This bill renames the Tropical<br>Forest Conservation Act of 1998 as the Tropical Forest Conservation Reauthorization Act of<br>2017. Non-tropical forests and coral reef ecosystems are included within the scope of, and<br>made eligible for benefits under, the Tropical Forest Conservation Reauthorization Act of<br>2017. The Tropical Forest Facility is renamed the Conservation Facility. One or more<br>individuals appointed by the U.S. government may ser..."],["A bill to enhance the transparency, improve the coordination, and intensify the impact of<br>assistance to support access to primary and secondary education for displaced children and<br>persons, including women and girls, and for other purposes.","S1580","Protecting Girls' Access to Education in Vulnerable Settings Act This bill urges the<br>consideration of the educational needs of vulnerable women and girls in designing,<br>implementing, and evaluating U.S. foreign assistance policies and programs.  The<br>Department of State and the U.S. Agency for International Development (USAID) may advance<br>programs that:   provide safe, primary and secondary education for displaced children;<br>build the capacity of institutions in countries hosting displaced peop..."],["A bill to amend the Trafficking Victims Protection Act of 2000 to modify the criteria for<br>determining whether countries are meeting the minimum standards for the elimination of<br>human trafficking, and for other purposes.","S1862","Trafficking Victims Protection Reauthorization Act of 2017 This bill amends the<br>Trafficking Victims Protection Act of 2000 to modify: (1) the criteria for determining<br>whether countries are meeting the minimum standards for the elimination of human<br>trafficking, and (2) actions to be taken against countries that fail to meet such<br>standards. The U.S. Agency for International Development shall incorporate child<br>protection and anti-trafficking strategies into the development strategy for each coun..."],["A bill to modernize the regulation of nuclear energy.","S512","Nuclear Energy Innovation and Modernization Act This bill directs the Nuclear Regulatory<br>Commission (NRC) to modify the licensing process for commercial advanced nuclear reactor<br>facilities. In addition, the bill amends the Omnibus Budget Reconciliation Act of 1990 to<br>revise how the NRC preserves budgeted funds for conducting and accelerating license<br>reviews of commercial advanced nuclear reactor facilities.  The NRC must implement a<br>licensing process that is designed to be predictable and eff..."],["A bill to prevent catastrophic failure or shutdown of remote diesel power engines due to<br>emission control devices, and for other purposes.","S1934","Alaska Remote Generator Reliability and Protection Act This bill directs the Environmental<br>Protection Agency (EPA) to revise certain regulations regarding particulate matter<br>emissions standards for nonemergency stationary diesel engines in remote areas of Alaska.<br>The EPA must report on methods for assisting remote areas of Alaska in meeting specified<br>energy needs."],["To provide competitive grants for the operation, security, and maintenance of certain<br>memorials to victims of the terrorist attacks of September 11, 2001.","HR6287","9/11 Memorial Act This bill directs the Department of the Interior to award competitive<br>grants for the continued operation, security, and maintenance of\u00a0the on-site memorials to<br>the events and victims of the\u00a0September 11, 2001,\u00a0terrorist attacks on the World Trade<br>Center, the Pentagon, and United Airlines Flight 93."],["A bill to reauthorize the National Flood Insurance Program.","S3628","National Flood Insurance Program Extension Act This bill amends the National Flood<br>Insurance Act of 1968 to reauthorize the National Flood Insurance Program through May 31,<br>2019.  The bill shall take effect as if it had been enacted on November 30, 2018."],["To ensure the Government Accountability Office has adequate access to information.","HR72","(This measure has not been amended since it was introduced. The expanded summary of the<br>House passed version is repeated here.) GAO Access and Oversight Act of 2017 (Sec. 2) This<br>bill authorizes the Government Accountability Office (GAO) to obtain federal agency<br>records required to discharge the GAO's duties (including audit, evaluation, and<br>investigative duties), including through bringing civil actions to require an agency to<br>produce a record. No provision of the Social Security Act shall\u00a0b..."],["A resolution commemorating the 50th anniversary of the reunification of Jerusalem.","SRES176","(This measure has not been amended since it was introduced. The summary of that version is<br>repeated here.) Recognizes the 50th anniversary of Jerusalem's reunification and extends<br>the Senate's friendship and hopes for peace to Jerusalem's residents and Israel's people.<br>Reaffirms support for Israel's commitment to religious freedom and administration of holy<br>sites in Jerusalem.  Supports strengthening the mutually beneficial American-Israeli<br>relationship.  Commends Egypt and Jordan, former co..."],["A bill to impose sanctions with respect to Iran in relation to Iran's ballistic missile<br>program, support for acts of international terrorism, and violations of human rights, and<br>for other purposes.","S722","Countering Iran's Destabilizing Activities Act of 2017 This bill directs the Departments<br>of State, Defense, and Treasury and the Director of National Intelligence to submit a<br>strategy every two years for deterring conventional and asymmetric Iranian activities that<br>threaten the United States and key allies in the Middle East, North Africa, and beyond.<br>The President shall impose asset blocking and U.S. exclusion sanctions against any person<br>that materially contributes to: (1) Iran's ballistic..."],["A joint resolution relating to the disapproval of the proposed export to the Government of<br>the Kingdom of Saudi Arabia of certain defense articles.","SJRES42","This joint resolution prohibits the issuance of a letter of offer for the following<br>proposed exports to the government of Saudi Arabia:  the transfer of certain technical<br>data, hardware, and defense services to the Royal Saudi Air Force and Boeing Saudi Arabia<br>to support the deployment of the Joint Direct Attack Munition off Saudi Arabia's western<br>made aircraft platforms; the transfer of certain technical data, hardware, and defense<br>services to the Royal Saudi Air Force to support the integra..."],["To amend the Federal Food, Drug, and Cosmetic Act to revise and extend the user-fee<br>programs for prescription drugs, medical devices, generic drugs, and biosimilar biological<br>products, and for other purposes.","HR2430","(This measure has not been amended since it was passed by the House on July 12, 2017. The<br>summary of that version is repeated here.) FDA Reauthorization Act of 2017 TITLE I--FEES<br>RELATING TO DRUGS Prescription Drug User Fee Amendments of 2017 (Sec. 102) This bill<br>amends the Federal Food, Drug, and Cosmetic Act to extend through FY2022 and revise Food<br>and Drug Administration (FDA) user fees for brand name drugs. User fees are eliminated for<br>supplemental new drug applications and drug manufactu..."],["A bill to amend title 18, United States Code, to protect pain-capable unborn children, and<br>for other purposes.","S2311","Pain-Capable Unborn Child Protection Act  This bill amends the federal criminal code to<br>make it a crime for any person to perform or attempt to perform an abortion if the<br>probable post-fertilization age of the fetus is 20 weeks or more. A violator is subject to<br>criminal penalties\u2014a fine, up to five years in prison, or both. The bill provides<br>exceptions for an abortion: (1) that is necessary to save the life of the pregnant woman,<br>or (2) when the pregnancy is the result of rape or incest. A ph..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2019 and setting forth the appropriate budgetary levels for<br>fiscal years 2020 through 2028.","SCONRES36","Establishes the congressional budget for the federal government for FY2019 and sets forth<br>budgetary levels for FY2020-FY2028.  Recommends levels and amounts for FY2019-FY2028 in<br>both houses of Congress for:    federal revenues,   new budget authority,   budget<br>outlays,   deficits,   public debt,   debt held by the public, and   the major functional<br>categories of spending.   Recommends levels and amounts for FY2019-FY2028 in the Senate<br>for Social Security and Postal Service discretionary admin..."],["To provide protections for certain sports medicine professionals who provide certain<br>medical services in a secondary State.","HR302","Sports Medicine Licensure Clarity Act of 2017 (Sec. 2) This bill extends the liability<br>insurance coverage of a state-licensed medical professional to another state when the<br>professional provides medical services to an athlete, athletic team, or team staff member<br>pursuant to a written agreement. Prior to providing such services, the medical<br>professional must disclose to the insurer the nature and extent of the services. This<br>extension of coverage does not apply at a health care facility or whi..."],["To amend the State Department Basic Authorities Act of 1956 to monitor and combat anti-<br>Semitism globally, and for other purposes.","HR221","Special Envoy to Monitor and Combat Anti-Semitism Act This bill establishes the Special<br>Envoy for Monitoring and Combating anti-Semitism as an ambassador-rank official, appointed<br>by the President, by and with the advice and consent of the Senate, who leads the Office<br>to Monitor and Combat anti-Semitism within the Department of State. (Under current law,<br>the special envoy is appointed by the Secretary of State.) The President may nominate the<br>special envoy from among State Department officers ..."],["To amend the Small Business Act to eliminate the inclusion of option years in the award<br>price for sole source contracts, and for other purposes.","HR190","Expanding Contracting Opportunities for Small Businesses Act of 2019 This bill eliminates<br>the inclusion of option years in the award price for certain sole source contracts (i.e.,<br>contracts awarded without a competitive process). Under current law, option years in the<br>award price for such contracts limit their dollar award threshold. Specifically, the bill<br>revises requirements for the award of these contracts to (1) qualified Historically<br>Underutilized Business Zone (HUBZone) small businesses..."],["To modernize Federal grant reporting, and for other purposes.","HR150","Grant Reporting Efficiency and Agreements Transparency Act of 2019 or the GREAT Act This<br>bill requires the establishment and use of data standards for information reported by<br>recipients of federal grants. The bill requires the Office of Management and Budget,<br>jointly with\u00a0the executive department that issues the most federal grant awards, to<br>(1)\u00a0establish government-wide data standards for information reported by grant recipients,<br>(2) issue guidance directing federal agencies to apply those s..."],["To amend the Homeland Security Act of 2002 to establish in the Department of Homeland<br>Security a board to coordinate and integrate departmental intelligence, activities, and<br>policy related to counterterrorism, and for other purposes.","HR769","Counterterrorism Advisory Board Act of 2019 This bill establishes in the Department of<br>Homeland Security (DHS) a board to coordinate and integrate DHS's intelligence,<br>activities, and policy related to its counterterrorism mission and functions. The board<br>shall (1) advise the Secretary of DHS on the issuance of terrorism alerts, and (2) meet on<br>a regular basis to discuss intelligence and coordinate ongoing threat mitigation efforts<br>and departmental activities.  The board's charter shall direct..."],["To establish the Route 66 Centennial Commission, to direct the Secretary of Transportation<br>to prepare a plan on the preservation needs of Route 66, and for other purposes.","HR66","Route 66 Centennial Commission Act This bill establishes the Route 66 Centennial<br>Commission to honor Route 66 on the occasion of its centennial anniversary. The Department<br>of Transportation shall prepare a plan on the preservation needs of Route 66."],["To require the Director of the Office of Management and Budget to issue guidance on<br>electronic consent forms, and for other purposes.","HR1079","Creating Advanced Streamlined Electronic Services for Constituents Act of 2019 or the<br>CASES Act This bill directs the Office of Management and Budget (OMB) to require each<br>federal agency to accept electronic identity proofing and authentication processes that<br>allow an individual, under the Privacy Act, to access the individual's records or to<br>provide prior written consent for the disclosure of the individual's records. The OMB must<br>(1) create a template for electronic consent and access forms..."],["To amend chapter 3 of title 5, United States Code, to require the publication of<br>settlement agreements, and for other purposes.","HR995","Settlement Agreement Information Database Act of 2019 (Sec. 2) This bill requires<br>executive agencies to submit information regarding settlement agreements to a public<br>database. Specifically, an agency must submit information regarding any settlement<br>agreement (including a consent decree) entered into by the agency related to an alleged<br>violation of federal law. If an agency determines that information regarding an agreement<br>must remain confidential to protect the public interest, the agency m..."],["A bill to provide for the management of the natural resources of the United States, and<br>for other purposes.","S47","Natural Resources Management Act This bill sets forth provisions regarding\u00a0various<br>programs, projects, activities, and studies for the management and conservation of natural<br>resources on federal lands. Specifically, the bill addresses, among other matters  land<br>conveyances, exchanges, acquisitions, withdrawals, and transfers;  national parks,<br>monuments, memorials, wilderness areas, wild and scenic rivers, historic and heritage<br>sites, and other conservation and recreation areas;  wildlife cons..."],["A bill to designate the outstation of the Department of Veterans Affairs in North Ogden,<br>Utah, as the Major Brent Taylor Vet Center Outstation.","S49","This bill designates the outstation of the Department of Veterans Affairs in North Ogden,<br>Utah, as the \"Major Brent Taylor Vet Center Outstation.\""],["To provide a safe harbor for financial institutions that maintain a customer account or<br>customer transaction at the request of a Federal or State law enforcement agency.","HR758","Cooperate with Law Enforcement Agencies and Watch Act of 2019  This bill limits a<br>financial institution's liability for maintaining a customer account or a customer<br>transaction in compliance with a written request by a federal, state, tribal, or local law<br>enforcement agency. A federal or state agency may not take an adverse supervisory action<br>against a financial institution with respect to maintaining an account or a transaction<br>consistent with such a request."],["To amend title 44, United States Code, to modernize the Federal Register, and for other<br>purposes.","HR1654","Federal Register Modernization Act This bill revises provisions regarding the Federal<br>Register or the Code of Federal Regulations, including to replace requirements that the<br>documents be printed with requirements that the documents be published."],["To prioritize the efforts of and enhance coordination among United States agencies to<br>encourage countries in Central and Eastern Europe to diversify their energy sources and<br>supply routes, increase Europe's energy security, and help the United States reach its<br>global energy security goals, and for other purposes.","HR1616","European Energy Security and Diversification Act of 2019 This bill directs the Department<br>of State to prioritize assistance to develop energy infrastructure in Europe and Eurasia,<br>in particular for projects involving the European Commission and countries in the region.<br>Assistance shall include political and diplomatic support and funding assistance. Projects<br>eligible for such assistance include infrastructure for natural gas, electricity<br>transmission, and renewable energy. The State Departmen..."],["To extend the Federal recognition to the Little Shell Tribe of Chippewa Indians of<br>Montana, and for other purposes.","HR297","Little Shell Tribe of Chippewa Indians Restoration Act of 2019  This bill extends federal<br>recognition to the Little Shell Tribe of Chippewa Indians of Montana. The bill makes the<br>tribe and its members eligible for services and benefits provided to federally recognized<br>tribes and their members, without regard to the existence of a reservation or the location<br>of the residence of any member. The service area of the tribe is considered to be the area<br>comprised of Blaine, Cascade, Glacier, and Hil..."],["To require an exercise related to terrorist and foreign fighter travel, and for other<br>purposes.","HR1590","Terrorist and Foreign Fighter Travel Exercise Act of 2019 This bill requires the<br>Department of Homeland Security to develop and conduct an exercise related to the<br>detection and prevention of terrorist and foreign fighter travel.  The bill requires the<br>national exercise program (a program to test and evaluate the national preparedness goal,<br>National Incident Management System, National Response Plan, and other related plans and<br>strategies) to include emerging threats."],["To designate the facility of the United States Postal Service located at 1450 Montauk<br>Highway in Mastic, New York, as the \"Army Specialist Thomas J. Wilwerth Post Office<br>Building\".","HR829","Designates the facility of the United States Postal Service located at 1450 Montauk<br>Highway in Mastic, New York, as the \"Army Specialist Thomas J. Wilwerth Post Office<br>Building.\""],["Raising a question of the privileges of the House.","HRES304","This resolution directs the House Oversight and Reform Committee to submit to the<br>Department of Justice an official copy of the transcript of the February 27, 2019, hearing<br>during which Michael Cohen, former attorney of Donald Trump, testified under oath."],["To foster commercial relations with foreign countries and support United States economic<br>and business interests abroad in the conduct of foreign policy, and for other purposes.","HR1704","Championing American Business Through Diplomacy Act of 2019 This bill establishes within<br>the Department of State an Assistant Secretary of State for Economic and Business Matters,<br>and establishes that a principal duty of a diplomatic mission to a foreign country is the<br>promotion of U.S. economic and commercial interests in that country.  The Assistant<br>Secretary shall be responsible for matters relating to international economics and<br>business matters in foreign policy. The State Department sha..."],["To amend the Act of June 18, 1934, to reaffirm the authority of the Secretary of the<br>Interior to take land into trust for Indian Tribes, and for other purposes.","HR375","This bill applies the Indian Reorganization Act to all federally recognized Indian tribes,<br>regardless of when a tribe became recognized. The amendments made by this bill are<br>retroactively effective as if included in the Indian Reorganization Act. This effectively<br>overrules the Supreme Court's decision in Carcieri v. Salazar, which held that the<br>Department of the Interior could not take land into trust for a specified tribe because<br>that tribe had not been under federal jurisdiction when the In..."],["To amend the Intercountry Adoption Act of 2000 to require the Secretary of State to report<br>on intercountry adoptions from countries which have significantly reduced adoption rates<br>involving immigration to the United States, and for other purposes.","HR1952","Intercountry Adoption Information Act of 2019 This bill directs the Department of State to<br>include additional information in its annual report to Congress on intercountry adoptions.<br>The reports shall contain (1) a list of countries that have laws that prevent or prohibit<br>adoptions by American parents; (2) various information related to such prohibitions; (3)<br>what steps the State Department has\u00a0taken to help such countries reopen intercountry<br>adoptions; and (4) an assessment of the impact that..."],["To require a Department of Homeland Security overseas personnel enhancement plan, and for<br>other purposes.","HR2590","DHS Overseas Personnel Enhancement Act of 2019 This bill directs the Department of<br>Homeland Security (DHS) to annually brief the congressional homeland security committees<br>regarding DHS personnel with primary duties that take place outside of the United States.<br>DHS must submit to such committees a plan to enhance the effectiveness of\u00a0 DHS personnel<br>at foreign locations."],["To amend the Homeland Security Act of 2002 to establish the Acquisition Review Board in<br>the Department of Homeland Security, and for other purposes.","HR2609","DHS Acquisition Review Board Act of 2019 This bill requires the Department of Homeland<br>Security (DHS) to establish an Acquisition Review Board to (1) strengthen accountability<br>and uniformity within the DHS acquisition review process, (2) review major acquisition<br>programs (programs estimated to require a total expenditure of at least $300 million over<br>their life cycle cost), and (3) review the use of best practices."],["To require the Securities and Exchange Commission to carry out a study of the 10 per<br>centum threshold limitation applicable to the definition of a diversified company under<br>the Investment Company Act of 1940, and for other purposes.","HR3050","Expanding Investment in Small Businesses Act of 2019 This bill directs the Securities and<br>Exchange Commission to report on (1)\u00a0the limitiation on shares of an individual company<br>that a diversified investment company may own, and (2) the limitation's impact on capital<br>formation."],["To authorize the Administrator of the United States Agency for International Development<br>to prescribe the manner in which programs of the agency are identified overseas, and for<br>other purposes.","HR2744","USAID Branding Modernization Act This bill authorizes the U.S.\u00a0Agency for International<br>Development (USAID) to use various markings, including USAID logos and the U.S. flag, to<br>identify overseas USAID programs. The USAID Inspector General shall submit to Congress an<br>audit of compliance with USAID branding requirements by partner entities implementing<br>USAID programs.  Current law requires overseas USAID programs to be identified as American<br>Aid. USAID guidelines authorize the use of the U.S. f..."],["To amend the Gulf of Mexico Energy Security Act of 2006 to permanently extend the<br>moratorium on leasing in certain areas of the Gulf of Mexico.","HR205","Protecting and Securing Florida's Coastline Act of 2019 This bill permanently extends the<br>moratorium on oil and gas leasing, preleasing, and related activities in certain areas of<br>the Gulf of Mexico."],["Raising a question of the privileges of the House.","HRES590","This resolution disapproves the actions of the Speaker of the House, Representative Nancy<br>Pelosi, to initiate an impeachment inquiry against President Trump without any debate or<br>vote by the full House on an impeachment inquiry resolution."],["Raising a question of the privileges of the House.","HRES647","This resolution censures and condemns Representative Adam Schiff of California for certain<br>misleading conduct."],["To amend the Small Business Act to reauthorize the SCORE program, and for other purposes.","HR4407","SCORE for Small Business Act of 2019 This bill reauthorizes through FY2022 the Service<br>Corps of Retired Executives (SCORE) program, outlines the duties of the SCORE Association,<br>and requires the Small Business Administration (SBA) to cooperate with the association to<br>carry out the program. Specifically, the bill requires the association to manage<br>nationwide chapters of the program to enable volunteers participating in the program to<br>provide personal, cost-free business expertise and facilitat..."],["To amend the Small Business Act to clarify the treatment of certain surviving spouses<br>under the definition of small business concern owned and controlled by service-disabled<br>veterans.","HR499","Service-Disabled Veterans Small Business Continuation Act This bill enables the surviving<br>spouse of a service-disabled veteran who owned a small business to retain priority of the<br>business for a period of time upon the death of the veteran spouse, regardless of the<br>severity of the veteran's disability."],["A bill to amend the Hong Kong Policy Act of 1992, and for other purposes.","S1838","Hong Kong Human Rights and Democracy Act of 2019 This bill directs various departments to<br>assess whether political developments in Hong Kong justify changing Hong Kong's unique<br>treatment under U.S. law. (Hong Kong is part of China but has a largely separate legal and<br>economic system.) The Department of State shall report and certify annually to Congress as<br>to whether Hong Kong is sufficiently autonomous from China to justify its unique<br>treatment. The report shall address issues including (1) ..."],["A bill to condemn gross human rights violations of ethnic Turkic Muslims in Xinjiang, and<br>calling for an end to arbitrary detention, torture, and harassment of these communities<br>inside and outside China.","S178","Uighur Intervention and Global Humanitarian Unified Response Act of 2019 or the UIGHUR Act<br>of 2019 This bill directs the President to impose sanctions and export restrictions<br>related to China's treatment of the Uyghurs, a predominantly Muslim Turkic ethnic group.<br>The President shall report to Congress a list of senior Chinese government officials who<br>are engaged in or responsible for serious human rights abuses, including mass<br>incarceration and political indoctrination, against Turkic Muslims..."],["A bill to deter criminal robocall violations and improve enforcement of section 227(b) of<br>the Communications Act of 1934, and for other purposes.","S151","Telephone Robocall Abuse Criminal Enforcement and Deterrence Act or the TRACED Act This<br>bill implements a forfeiture penalty for violations (with or without intent) of the<br>prohibition on certain robocalls. The bill also removes an annual reporting requirement<br>for enforcement relating to unsolicited facsimile advertisements. The bill requires voice<br>service providers to develop call authentication technologies.  The Federal Communications<br>Commission (FCC) shall promulgate rules establishing whe..."],["To ensure U.S. Customs and Border Protection officers, agents, and other personnel have<br>adequate synthetic opioid detection equipment, that the Department of Homeland Security<br>has a process to update synthetic opioid detection capability, and for other purposes.","HR4761","DHS Opioid Detection Resilience Act of 2019 This bill establishes new requirements related<br>to the detection of illicit narcotics at ports of entry. Specifically, U.S. Customs and<br>Border Protection (CBP) must implement a strategy to ensure chemical screening devices are<br>able to identify narcotics at purity levels equal to or less than 10%, or provide an<br>alternate method for identifying narcotics at lower purity levels. The CBP must also test<br>new chemical screening devices at various purity lev..."],["To amend title 38, United States Code, to direct the Secretary of Veterans Affairs to<br>enforce the licensure requirement for medical providers of the Department of Veterans<br>Affairs.","HR3530","Improving Confidence in Veterans' Care Act This bill addresses licensure and employment<br>requirements for medical providers of the Department of Veterans Affairs (VA).<br>Specifically, for VA medical provider positions that require a person to prescribe<br>controlled substances, the bill prohibits a person from being employed if their Drug<br>Enforcement Administration (DEA) registration has been terminated, revoked, or<br>surrendered, and they have not received a waiver from the DEA. The bill also requir..."],["To designate a mountain in the State of Utah as \"Miracle Mountain\".","HR722","Miracle Mountain Designation Act This bill designates a specified mountain near Elk<br>Ridge\u00a0City\u00a0in Utah as Miracle Mountain."],["To authorize cyber incident response teams at the Department of Homeland Security, and for<br>other purposes.","HR1158","Consolidated Appropriations Act, 2020 This bill provides FY2020 appropriations for several<br>federal departments and agencies.  It includes 4 of the 12 regular FY2020 appropriations<br>bills:    the Department of Defense Appropriations Act, 2020;   the Commerce, Justice,<br>Science, and Related Agencies Appropriations Act, 2020;   the Financial Services and<br>General Government Appropriations Act, 2020; and   the Department of Homeland Security<br>Appropriations Act, 2020.  The departments and agencies fu..."],["Disapproving the manner in which Chairman Adam B. Schiff of the Permanent Select Committee<br>on Intelligence and Chairman Jerrold Lewis Nadler of the Committee on the Judiciary have<br>conducted committee action during the impeachment inquiry of President Donald John Trump.","HRES770","This resolution condemns (1) Chairman Schiff of the Permanent Select Committee on<br>Intelligence for abuse of power, and (2) the manner in which Chairman Nadler of the<br>Committee on the Judiciary has failed to respond to the minority's request for an<br>additional day of hearings to consider the impeachment of President Trump."],["A bill to extend the temporary scheduling order for fentanyl-related substances, and for<br>other purposes.","S3201","Temporary Reauthorization and Study of the Emergency Scheduling of Fentanyl Analogues Act<br>This bill extends until May 6, 2021, the temporary scheduling order issued by the Drug<br>Enforcement Administration to place fentanyl-related substances in schedule I of the<br>Controlled Substances Act. The temporary order expires on February 6, 2020. Additionally,<br>the bill directs the Government Accountability Office to study and report on the<br>classification of fentanyl-related substances as schedule I cont..."],["To amend the Federal Water Pollution Control Act to reauthorize the Great Lakes<br>Restoration Initiative, and for other purposes.","HR4031","Great Lakes Restoration Initiative Act of 2019 or the GLRI Act of 2019 This bill<br>reauthorizes through FY2026 the Great Lakes Restoration Initiative."],["Raising a question of the privileges of the House.","HRES832","This resolution disapproves of certain behavior of Speaker Pelosi during the joint session<br>of Congress held on February 4, 2020."],["To amend the Homeland Security Act of 2002 to provide for certain acquisition authorities<br>for the Under Secretary of Management of the Department of Homeland Security, and for<br>other purposes.","HR3413","DHS Acquisition Reform Act of 2019 This bill revises acquisition and procurement programs<br>and activities of the Department of Homeland Security (DHS). The bill (1) designates the<br>DHS Under Secretary for Management as\u00a0the DHS\u00a0Chief Acquisition Officer and sets forth the<br>Under Secretary's acquisition-related duties, (2) sets forth new acquisition<br>responsibilities of the DHS Chief Financial Officer and the DHS Chief Information Officer,<br>and (3) establishes within the Management Directorate of DH..."],["To amend the National Trails System Act to direct the Secretary of the Interior to conduct<br>a study on the feasibility of designating the Chief Standing Bear National Historic Trail,<br>and for other purposes.","HR2490"," This bill directs the Department of the Interior to conduct a study on feasibility of<br>designating as a national historic trail the Chief Standing Bear Trail extending 550 miles<br>from Niobrara, Nebraska, to Ponca City, Oklahoma, which follows the route taken by Chief<br>Standing Bear and the Ponca people during federal Indian removal, and 550 miles from Ponca<br>City through Omaha to Niobrara, Nebraska, which follows the return route taken by Chief<br>Standing Bear and the Ponca people."],["To ensure greater transparency about the terms and conditions of financing provided by<br>China to member states of the international financial institutions.","HR5932","Ensuring Chinese Debt Transparency Act of 2020 This bill states that it is U.S. policy to<br>push for greater transparency with respect to financing provided by China to another<br>country through international financial institutions such as the International Monetary<br>Fund. The National Advisory Council on International Monetary and Financial Policies<br>within the Department of the Treasury shall report annually on progress made toward<br>advancing this policy."],["A bill to express United States support for Taiwan's diplomatic alliances around the<br>world.","S1678","Taiwan Allies International Protection and Enhancement Initiative (TAIPEI) Act of 2019<br>This bill requires the Department of State to annually report to Congress on steps the<br>State Department has taken to help strengthen Taiwan's diplomatic relationships and<br>partnerships around the world. (Taiwan is self-governing, but China considers it a<br>renegade province and has taken actions to encourage countries and international<br>organizations to limit or cut off relations with Taiwan.)"],["A bill to condemn gross human rights violations of ethnic Turkic Muslims in Xinjiang, and<br>calling for an end to arbitrary detention, torture, and harassment of these communities<br>inside and outside China.","S3744","Uyghur Human Rights Policy Act of 2020 This bill imposes sanctions on foreign individuals<br>and entities responsible for human rights abuses in China's Xinjiang Uyghur Autonomous<br>region and requires various reports on the topic. The President shall periodically report<br>to Congress a list identifying foreign individuals and entities responsible for such human<br>rights abuses. The President shall impose (1) property-blocking sanctions on the<br>identified individuals and entities, and (2) visa-blocking..."],["A bill to establish the Commission on the Social Status of Black Men and Boys, to study<br>and make recommendations to address social problems affecting Black men and boys, and for<br>other purposes.","S2163","Commission on the Social Status of Black Men and Boys Act This bill establishes the<br>Commission on the Social Status of Black Men and Boys within the U.S. Commission on Civil<br>Rights Office of the Staff Director to conduct a systematic study of the conditions<br>affecting Black men and boys."],["To amend the Trafficking Victims Protection Act of 2000 to ensure adequate time for the<br>preparation of the annual Trafficking in Persons Report, require the timely provision of<br>information to the Office to Monitor and Combat Trafficking in Persons and the Bureau of<br>Diplomatic Security of the Department of State regarding the number and location of visa<br>denials based, in whole or in part, on grounds related to human trafficking, and for other<br>purposes.","HR5664","Leveraging Information on Foreign Traffickers Act or the LIFT Act This bill requires the<br>Department of State to ensure that the Office to Monitor and Combat Trafficking in Persons<br>and the Bureau of Diplomatic Security receive timely and regular information regarding<br>visa denials based on grounds related to human trafficking. The bill also extends (1) to<br>June 30 the deadline for submission of the annual Trafficking in Persons Report, and (2)<br>through FY2025 the survivor-led Advisory Council on ..."],["Raising a question of the privileges of the House.","HRES1148","This resolution directs the Speaker of the House of Representatives to (1) remove any item<br>that names, symbolizes, or mentions any political organization or party that has ever held<br>a public position that supported slavery or the Confederacy, from any area within the<br>House wing of the Capitol or any House office building; and (2) donate any such item or<br>symbol to the Library of Congress."],["To amend title 31, United States Code, to save Federal funds by authorizing changes to the<br>composition of circulating coins, and for other purposes.","HR7995","Coin Metal Modification Authorization and Cost Savings Act of 2020 This bill authorizes<br>the United States Mint to modify the metallic composition of circulating coins (including<br>by prescribing reasonable manufacturing tolerances with respect to those coins) if a study<br>and analysis conducted by the Mint indicates that the modification will   reduce costs<br>incurred by the taxpayers;  be seamless, which shall be determined by verifying that the<br>coins will work interchangeably in most coin accepto..."],["A bill to reauthorize and amend the National Oceanic and Atmospheric Administration<br>Commissioned Officer Corps Act of 2002, and for other purposes.","S2981","National Oceanic and Atmospheric Administration Commissioned Officer Corps Amendments Act<br>of 2020 This bill revises provisions related to the National Oceanic and Atmospheric<br>Administration Commissioned Officer Corps. Among other provisions, the bill sets forth new<br>requirements for the corps concerning   commissioned grades and operational strength<br>numbers, obligated service requirements,  training and physical fitness,  education loan<br>assistance,  recruitment,  hiring and promotions,  separa..."],["A bill to strengthen the capacity and competitiveness of historically Black colleges and<br>universities through robust public-sector, private-sector, and community partnerships and<br>engagement, and for other purposes.","S461","HBCU Propelling Agency Relationships Towards a New Era of Results for Students Act or the<br>HBCU PARTNERS Act This bill addresses the capacity of historically Black colleges and<br>universities (HBCUs) to participate in federal programs. Specifically, the bill requires<br>certain agencies to submit annual plans for strengthening the capacity of HBCUs to<br>participate in federal programs. Among other things, the plans must establish how the<br>agencies intend to increase the capacity of HBCUs to compete ef..."],["To amend the Energy Policy and Conservation Act to make technical corrections to the<br>energy conservation standard for ceiling fans, and for other purposes.","HR5758","Ceiling Fan Improvement Act of 2020 This bill revises the energy conservation standard for<br>ceiling fans. Specifically, it sets forth energy efficiency standards for electricity used<br>by large-diameter ceiling fans manufactured on or after January 21, 2020. It also exempts<br>such fans from certain requirements under the rule titled Energy Conservation Program:<br>Energy Conservation Standards for Ceiling Fans."],["To direct the Director of the Bureau of Land Management to study the effects of drone<br>incursions on wildfire suppression, and for other purposes.","HR5040","Aerial Incursion Repercussion Safety Act of 2020 or the AIR Safety Act of 2020 This bill<br>directs the Bureau of Land Management to study the effects of drone incursions on the<br>suppression of wildfires concerning lands managed by the Department of the Interior or the<br>Department of Agriculture."],["A bill to amend the Post-Katrina Emergency Management Reform Act of 2006 to incorporate<br>the recommendations made by the Government Accountability Office relating to advance<br>contracts, and for other purposes.","S979","Federal Advance Contracts Enhancement Act or the FACE Act This bill directs the Federal<br>Emergency Management Agency (FEMA) to report to Congress on advance contracts. Advance<br>contracts are established prior to disasters to provide life-sustaining goods and services<br>in the immediate aftermath of a disaster. The report must include (1) information required<br>in the initial report on recurring disaster response requirements; and (2) an updated<br>strategy that defines the objectives of advance contra..."],["A bill to make improvements to certain defense and security assistance provisions and to<br>authorize the appropriation of funds to Israel, to reauthorize the United States-Jordan<br>Defense Cooperation Act of 2015, and to halt the wholesale slaughter of the Syrian people,<br>and for other purposes.","S1","Strengthening America's Security in the Middle East Act of 2019 This bill authorizes<br>assistance and weapons transfers to Israel, extends defense cooperation with Jordan,<br>establishes additional sanctions related to the conflict in Syria, and allows states to<br>divest from entities boycotting Israel. Ileana Ros-Lehtinen United States-Israel Security<br>Assistance Authorization Act of 2019 The bill reauthorizes through\u00a0FY2028 Foreign Military<br>Financing to Israel. It extends loan guarantees to Israel ..."],["A bill to prohibit taxpayer funded abortions.","S109","No Taxpayer Funding for Abortion and Abortion Insurance Full Disclosure Act of 2019 This<br>bill modifies provisions relating to federal funding for, and health insurance coverage<br>of, abortions. Specifically, the bill prohibits the use of federal funds for abortions or<br>for health coverage that includes abortions. Such restrictions extend to the use of funds<br>in the budget of the District of Columbia. Additionally, abortions may not be provided in<br>a federal health care facility or by a federal emp..."],["A bill to amend title 18, United States Code, to prohibit a health care practitioner from<br>failing to exercise the proper degree of care in the case of a child who survives an<br>abortion or attempted abortion.","S311","Born-Alive Abortion Survivors Protection Act This bill establishes requirements for the<br>degree of care a health care practitioner must exercise in the event a child is born alive<br>following an abortion or attempted abortion.  A health care practitioner who is present<br>must (1) exercise the same degree of care as reasonably provided to another child born<br>alive at the same gestational age, and (2) immediately admit the child to a hospital. The<br>bill also requires a health care practitioner or othe..."],["A joint resolution recognizing the duty of the Federal Government to create a Green New<br>Deal.","SJRES8","This joint resolution declares that the government has a duty to create a Green New Deal<br>with the goals of   achieving net-zero greenhouse gas emissions;  establishing millions of<br>high-wage jobs and ensuring economic security for all;  investing in infrastructure and<br>industry;  securing clean air and water, climate and community resiliency, healthy food,<br>access to nature, and a sustainable environment for all; and  promoting justice and<br>equality.   The joint resolution calls for accomplishmen..."],["A resolution improving procedures for the consideration of nominations in the Senate.","SRES50","This resolution limits Senate post-cloture consideration to two hours for certain<br>nominations. This limitation applies to a nomination to U.S. district courts, to the U.S.<br>Court of Federal Claims, or to an executive branch position that is not    at level I of<br>the Executive Schedule; or as a member of the Equal Employment Opportunity Commission, the<br>Securities and Exchange Commission, the Federal Election Commission, the Federal Energy<br>Regulatory Commission, the Federal Trade Commission, the ..."],["A bill to set forth the congressional budget for the United States Government for fiscal<br>year 2020 and setting forth the appropriate budgetary levels for fiscal years 2021 through<br>2029.","S1332","This bill establishes the congressional budget for the federal government for FY2020 and<br>sets forth budgetary levels for FY2021-FY2029.  The bill recommends levels and amounts for<br>FY2020-FY2029 for    federal revenues,   new budget authority,   budget outlays,<br>deficits,   public debt,   debt held by the public, and   the major functional categories<br>of spending.   It also recommends levels and amounts for FY2020-FY2029 in the Senate for<br>Social Security and Postal Service discretionary admini..."],["A resolution celebrating the 100th anniversary of the passage and ratification of the 19th<br>Amendment, providing for women's suffrage, to the Constitution of the United States.","SRES212","This resolution celebrates the 100th anniversary of the passage and ratification of the<br>Nineteenth Amendment to the Constitution, providing for women's suffrage. The resolution<br>also reaffirms the desire of Congress to continue strengthening democratic participation."],["A joint resolution relating to the disapproval of the proposed sale to the Government of<br>Bahrain of certain defense articles and services.","SJRES20","This joint resolution prohibits the proposed sale of various weapons, ammunition, and<br>related support services to the government of Bahrain, as described in Transmittal No.<br>18-20 sent to Congress on May 6, 2019."],["A joint resolution relating to the disapproval of the proposed sale to the Government of<br>Qatar of certain defense articles and services.","SJRES26","This joint resolution prohibits the proposed sale of various weapons, ammunition, and<br>related support services to the government of Qatar, as described in Transmittal No. 19-14<br>sent to Congress on May 13, 2019."],["A resolution instructing the managers on the part of the Senate on the bill S. 1790 (116th<br>Congress) to insist upon the inclusion of the provisions of S. 2118 (116th Congress)<br>(relating to the prohibition of United States persons from dealing in certain information<br>and communications technology or services from foreign adversaries and requiring the<br>approval of Congress to terminate certain export controls in effect with respect to Huawei<br>Technologies Co. Ltd.).","SRES331","This resolution instructs Senate conferees on the conference committee for S. 1790<br>(National Defense Authorization Act for Fiscal Year 2020) to insist upon inclusion of the<br>provisions of S. 2118 (Defending America's 5G Future Act), which relates to Huawei<br>Technologies Co. Ltd. and technology from foreign adversaries."],["A resolution instructing the managers on the part of the Senate on the bill S. 1790 (116th<br>Congress) to insist upon the members of the conference to include the provisions contained<br>in section 2906 of the Senate bill (relating to replenishment of certain military<br>construction funds).","SRES335","This resolution instructs Senate conferees on the conference committee for S. 1790<br>(National Defense Authorization Act for Fiscal Year 2020) to insist upon provisions that<br>make amounts available for replenishment of military construction funds that were used for<br>certain projects along the southern border."],["A resolution instructing the managers on the part of the Senate on the bill S. 1790 (116th<br>Congress) to insist upon the members of the conference to consider potential commonsense<br>solutions regarding family and medical leave, including voluntary compensatory time<br>programs and incentives through the tax code.","SRES336","This resolution instructs Senate conferees on the conference committee for S. 1790<br>(National Defense Authorization Act for Fiscal Year 2020) to insist that members of the<br>conference consider potential commonsense solutions regarding family and medical leave,<br>including voluntary compensatory time programs and incentives through the tax code."],["A resolution to provide for related procedures concerning the articles of impeachment<br>against Donald John Trump, President of the United States.","SRES483","This resolution sets forth related procedures for consideration of the articles of<br>impeachment against the President that include   filing of certain records of the articles<br>of impeachment by the House of Representatives; establishing deadlines by which the<br>President and the House must file certain motions related to the articles and any<br>responses to the motions; providing guidelines for arguments on such motions and<br>presentations by the House and the President;  authorizing Senators to quest..."],["A resolution to provide for related procedures concerning the articles of impeachment<br>against Donald John Trump, President of the United States.","SRES488","This resolution sets forth the rules governing the final arguments and vote regarding the<br>articles of impeachment against President Trump."],["A bill to amend title 18, United States Code, to protect pain-capable unborn children, and<br>for other purposes.","S3275","Pain-Capable Unborn Child Protection Act This bill establishes a new criminal offense for<br>performing or attempting to perform an abortion if the probable post-fertilization age of<br>the fetus is 20 weeks or more. A violator is subject to criminal penalties\u2014a fine, a<br>prison term of up to five years, or both. The bill provides exceptions for an abortion (1)<br>that is necessary to save the life of the pregnant woman, or (2) when the pregnancy is the<br>result of rape or incest. A physician who performs..."],["A bill to support innovation in advanced geothermal research and development, and for<br>other purposes.","S2657","Advanced Geothermal Innovation Leadership Act of 2019 or the AGILE Act of 2019 This bill<br>provides support for research and development of geothermal energy, including enhanced<br>(i.e., engineered) geothermal systems. The bill reauthorizes through FY2024 funding to the<br>Department of Energy (DOE) for (1) a research and development program for geothermal<br>energy, and (2) a grant program for geothermal development in places with high utility<br>prices. In addition, the bill directs DOE to  support an i..."],["An original bill to authorize appropriations for fiscal year 2021 for military activities<br>of the Department of Defense, for military construction, and for defense activities of the<br>Department of Energy, to prescribe military personnel strengths for such fiscal year, and<br>for other purposes.","S4049","National Defense Authorization Act for Fiscal Year 2021 This bill authorizes FY2021<br>appropriations and sets forth policies for Department of Defense (DOD) programs and<br>activities, including military personnel strengths. It does not provide budget authority,<br>which is provided in subsequent appropriations legislation. The bill authorizes<br>appropriations to DOD for  Procurement, including aircraft, weapons and tracked combat<br>vehicles, shipbuilding and conversion, and missiles; Research, Developme..."],["A bill to amend the Health Insurance Portability and Accountability Act.","S4675","Protect Act  This bill adds, among other provisions, requirements to the Health Insurance<br>Portability and Accountability Act of 1996 for private health insurance plans with respect<br>to preexisting conditions, guaranteed enrollment, and discrimination based on health-<br>related factors.  Specifically, the bill prohibits private health insurance plans from (1)<br>limiting or excluding benefits covering preexisting conditions; (2) denying enrollment to<br>employers or individual applicants, subject to spe..."],["To designate the facility of the United States Postal Service located at 500 West Main<br>Street, Suite 102 in Tupelo, Mississippi, as the \"Colonel Carlyle 'Smitty' Harris Post<br>Office\".","HR208","Designates the facility of the United States Postal Service located at 500 West Main<br>Street, Suite 102 in Tupelo, Mississippi, as the Colonel Carlyle \"Smitty\" Harris Post<br>Office."],["Removing a certain Member from a certain committee of the House of Representatives.","HRES243","This resolution removes Representative Eric Swalwell from the House Permanent Select<br>Committee on Intelligence."],["A bill to improve the health and safety of Americans living with food allergies and<br>related disorders, including potentially life-threatening anaphylaxis, food protein-<br>induced enterocolitis syndrome, and eosinophilic gastrointestinal diseases, and for other<br>purposes.","S578","Food Allergy Safety, Treatment, Education, and Research Act of 2021 or the FASTER Act of<br>2021 This bill expands\u00a0the definition of major food allergen for purposes of certain food-<br>labeling requirements\u00a0to specifically include sesame. In addition, the Department of<br>Health and Human Services must report on certain information related to food allergy<br>research and data collection activities."],["To direct the Federal Trade Commission to submit to Congress a report on unfair or<br>deceptive acts or practices targeted at Indian Tribes or members of Indian Tribes, and for<br>other purposes.","HR1762","Protecting Indian Tribes from Scams Act This bill requires the Federal Trade Commission<br>(FTC), after consultation with Indian tribes, to report on unfair or deceptive practices<br>that target tribes or tribal members. The FTC must submit the report to Congress and make<br>it publicly available. Further, the FTC must update its website to include information for<br>consumers and businesses on identifying and avoiding unfair or deceptive practices that<br>target tribes or tribal members."],["To amend the Controlled Substances Act to authorize the debarment of certain registrants,<br>and for other purposes.","HR1002","Debarment Enforcement of Bad Actor Registrants Act of 2021 or the DEBAR Act of 2021  This<br>bill authorizes the Drug Enforcement Administration (DEA) to bar an entity from<br>registering to manufacture, distribute, or dispense controlled substances under certain<br>circumstances.  Specifically, the DEA may bar\u2014temporarily or permanently\u2014the registration<br>of an entity that (1) meets or has met any condition for suspension or revocation of the<br>registration, and (2) has a history of prior suspensions or ..."],["To amend the Controlled Substances Act to provide for the modification, transfer, and<br>termination of a registration to manufacture, distribute, or dispense controlled<br>substances or list I chemicals, and for other purposes.","HR1899","Ensuring Compliance Against Drug Diversion Act of 2021 This bill provides statutory<br>authority for certain regulations governing the modification, transfer, and termination of<br>a registration to manufacture, distribute, or dispense controlled substances.  It<br>terminates the registration of individuals and entities when they die, cease legal<br>existence, discontinue business, or surrender such registration. It sets forth<br>notification requirements, as well as conditions for transferring or assigning..."],["To amend the Small Business Act to increase transparency, and for other purposes.","HR1487","Microloan Transparency and Accountability Act of 2021 This bill modifies reporting<br>requirements related to the Small Business Administration's (SBA) disbursement of certain<br>financial assistance. Specifically, the bill requires the SBA to report certain metrics<br>related to the disbursement of microloans to small businesses, including (1) the number,<br>amount, and percentage of such loans that went into default in the previous year; (2) the<br>extent to which microloans are provided to small business..."],["To amend the Small Business Act to enhance the Office of Credit Risk Management, to<br>require the Administrator of the Small Business Administration to issue rules relating to<br>environmental obligations of certified development companies, and for other purposes.","HR1482","504 Credit Risk Management Improvement Act of 2021 This bill revises the duties of the<br>Office of Credit Risk Management to include oversight of a certified development company<br>(CDC) that participates in the 504 Loan Program of the Small Business Administration<br>(SBA), and it requires the SBA to issue rules related to certain environmental<br>requirements. The 504 Loan Program provides a small business with SBA financing\u2014through a<br>CDC intermediary\u2014for expansion or modernization. Specifically, the ..."],["Raising a question of the privileges of the House.","HRES331","This resolution censures Representative Maxine Waters for her comments related to the<br>trial of Derek Chauvin."],["To amend the Public Health Service Act to direct the Secretary of Health and Human<br>Services to develop best practices for the establishment and use of behavioral<br>intervention teams at schools, and for other purposes.","HR2877","Behavioral Intervention Guidelines Act of 2021 This bill requires the Department of Health<br>and Human Services (HHS) to develop best practices for establishing behavioral<br>intervention teams in educational settings. These teams, comprised of experts, are<br>responsible for identifying individuals who exhibit concerning behaviors and addressing<br>associated behavioral health issues to prevent harm to the individual or others. HHS must<br>also provide technical assistance on implementing these teams to e..."],["To direct the Secretary of Veterans Affairs to submit to Congress a plan for obligating<br>and expending Coronavirus pandemic funding made available to the Department of Veterans<br>Affairs, and for other purposes.","HR2911","VA Transparency &amp; Trust Act of 2021 This bill requires the Department of Veterans<br>Affairs (VA) to submit a plan for obligating and expending covered funds, which are funds<br>made available to the VA for response to the COVID-19 pandemic. The bill requires the VA<br>to submit biweekly reports regarding obligations, expenditures, and planned uses of the<br>funds until seven days after the VA has expended all covered funds. The Inspector General<br>of the VA must submit reports examining the obligation..."],["Directing the Attending Physician to take timely action to provide updated mask wearing<br>guidance applicable to the Hall of the House of Representatives and committee meeting<br>spaces for Members and staff who are vaccinated against Covid-19, consistent with the<br>public guidance released by the Centers for Disease Control and Prevention on May 13,<br>2021.","HRES414","This resolution directs the Office of the Attending Physician to update the mask-wearing<br>guidance (consistent with public guidance released by the Centers for Disease Control and<br>Prevention) applicable to the Hall of the House of Representatives and committee meeting<br>spaces for Members and staff who are vaccinated against COVID-19."],["To establish an interagency program to assist countries in North and West Africa to<br>improve immediate and long-term capabilities to counter terrorist threats, and for other<br>purposes.","HR567","Trans-Sahara Counterterrorism Partnership Program Act of 2021 This bill provides statutory<br>authority for the Trans-Sahara Counterterrorism Partnership Program, an interagency<br>program launched in 2005 to partner with countries in the Sahel and Maghreb regions of<br>Africa to counter terrorism and violent extremism. The Department of State, in<br>consultation with the Department of Defense and the U.S. Agency for International<br>Development,\u00a0shall establish the partnership program, which must coordinat..."],["A bill to direct the Secretary of Veterans Affairs to ensure that certain medical<br>facilities of the Department of Veterans Affairs have physical locations for the disposal<br>of controlled substances medications.","S957","This bill requires the Department of Veterans Affairs (VA) to designate periods during<br>which any individual may dispose of controlled substances medications at VA medical<br>facilities with an on-site pharmacy or a physical location dedicated for law enforcement<br>purposes. The bill also authorizes the VA to carry out public information campaigns<br>regarding the designated disposal periods."],["To direct the Secretary of the Interior to make free National Parks and Federal<br>Recreational Lands Passes available to members of the Armed Forces, and for other<br>purposes.","HR4300","Alexander Lofgren Veterans in Parks (VIP) Act This bill makes the America the Beautiful-<br>National Parks and Federal Recreational Lands Pass available, without charge, to members<br>of the Armed Forces, veterans, and Gold Star Families. The pass covers the entrance fee<br>and standard amenity recreation fee for all federal recreational lands and waters."],["A bill to amend the Alyce Spotted Bear and Walter Soboleff Commission on Native Children<br>Act to extend the deadline for a report by the Alyce Spotted Bear and Walter Soboleff<br>Commission on Native Children, and for other purposes.","S325","This bill extends the deadline, from three years to five years, for the Alyce Spotted Bear<br>and Walter Soboleff Commission on Native Children to submit its report to the President<br>and Congress. The commission was established to conduct a comprehensive study of federal,<br>state, local, and tribal programs that serve Native children and to develop plans for<br>federal policy related to Native children."],["A bill to amend title 38, United States Code, to provide for annual cost-of-living<br>adjustments to be made automatically by law each year in the rates of disability<br>compensation for veterans with service-connected disabilities and the rates of dependency<br>and indemnity compensation for survivors of certain service-connected disabled veterans,<br>and for other purposes.","S189","Veterans' Compensation Cost-of-Living Adjustment Act of 2021 This bill requires the<br>Department of Veterans Affairs (VA) to increase the amounts payable for wartime disability<br>compensation, additional compensation for dependents, the clothing allowance for certain<br>disabled veterans, and dependency and indemnity compensation for surviving spouses and<br>children. Specifically, the VA must increase the amounts by the same percentage as the<br>cost-of-living increase in benefits for Social Security rec..."],["A bill to amend the Central Intelligence Agency Act of 1949 to authorize the provision of<br>payment to personnel of the Central Intelligence Agency who incur qualifying injuries to<br>the brain, to authorize the provision of payment to personnel of the Department of State<br>who incur similar injuries, and for other purposes.","S1828","Helping American Victims Afflicted by Neurological Attacks Act of 2021 or the HAVANA Act<br>of 2021 This bill specifically authorizes the Central Intelligence Agency, the Department<br>of State, and other agencies to provide payments to agency personnel who incur brain<br>injuries from hostilities while on assignment. Specifically, the bill allows agency<br>personnel and their families to receive payments for brain injuries that are incurred (1)<br>during a period of assignment to a foreign or domestic duty..."],["To amend the State Department Basic Authorities Act of 1956 to provide for rewards for the<br>arrest or conviction of certain foreign nationals who have committed genocide or war<br>crimes, and for other purposes.","HR4250","War Crimes Rewards Expansion Act This bill expands the Department of State's rewards<br>program to authorize rewards for providing information leading to the arrest, conviction,<br>or transfer of a foreign national accused of war crimes, crimes against humanity, or<br>genocide as such crimes are defined under the law of an international criminal tribunal,<br>the applicable country, or the United States. Currently, rewards are authorized for<br>information leading to the arrest, conviction, or transfer of a ..."],["To promote free and fair elections, political freedoms, and human rights in Cambodia, and<br>for other purposes.","HR4686","Cambodia Democracy Act of 2021  This bill directs the President to impose sanctions on<br>individuals responsible for acts to undermine democracy in Cambodia, including acts that<br>constituted serious human rights violations. The sanctions shall be directed at senior<br>Cambodian government, military, or security forces officials responsible for such actions,<br>as well as entities controlled or owned by such individuals. The sanctions shall include<br>blocking assets and restricting the entry of sanctione..."],["A bill to amend the Higher Education Act of 1965 in order to improve the service<br>obligation verification process for TEACH Grant recipients, and for other purposes.","S848","Consider Teachers Act of 2021 This bill revises the service obligation verification<br>process for the Teacher Education Assistance for College and Higher Education (TEACH)<br>grant program.  For example, the bill provides a process for the Department of Education<br>to reconsider and reverse the conversion of a TEACH grant to a loan. The bill also<br>establishes certain program flexibilities with respect to the service obligations of<br>teachers affected by the COVID-19 (i.e., coronavirus disease 2019) pan..."],["To establish occupational series for Federal positions in software development, software<br>engineering, data science, and data management, and for other purposes.","HR3533","This bill requires the Office of Personnel Management to establish or update existing<br>occupational series for positions in the federal government in the fields of software<br>development, software engineering, data science, and data management."],["To Waive the application fee for any special use permit for veterans' special events at<br>war memorials on land administered by the National Park Service in the District of<br>Columbia and its environs, and for other purposes.","HR1029","Free Veterans from Fees Act This bill waives the application fee for any special use<br>permit solely for a veterans special event at war memorials on land administered by the<br>National Park Service in the District of Columbia and its environs."],["To provide the Administrator of the Drug-Free Communities Support Program the authority to<br>waive the Federal fund limitation for the Drug-Free Communities Support Program.","HR654","Drug-Free Communities Pandemic Relief Act This bill authorizes the Drug-Free Communities<br>Support Program, subject to certain limitations, to waive matching funds requirements<br>applicable to certain grants for reducing substance use among youth. Before waiving these<br>requirements, the program must determine that a grantee is unable to raise funds because<br>of the COVID-19 emergency. Currently, the Office of National Drug Control Policy<br>administers this program, and community coalitions that receiv..."],["To ensure that the Federal Communications Commission does not approve radio frequency<br>devices that pose a national security risk.","HR3919","Secure Equipment Act of 2021 This bill requires the Federal Communications Commission<br>(FCC) to establish rules stating that it will no longer review or approve any<br>authorization application for equipment that is on the list of covered communications<br>equipment or services. (Listed communications equipment or services are those that the FCC<br>determines pose an unacceptable risk to national security or the security and safety of<br>U.S. persons.)"],["To require the Secretary of Commerce to report on and develop a whole-of-Government<br>strategy with respect to the economic competitiveness of the information and communication<br>technology supply chain, and for other purposes.","HR4028","Information and Communication Technology Strategy Act This bill requires the National<br>Telecommunications and Information Administration to report on the information and<br>communication technology supply chain and to develop a strategy to ensure the economic<br>competitiveness of trusted information and communication technology vendors. The report<br>must include (1) an identification of technology that is critical to U.S. economic<br>competitiveness and the industrial capacity of U.S. vendors and other ..."],["To take certain land located in San Diego County, California, into trust for the benefit<br>of the Pala Band of Mission Indians, and for other purposes.","HR1975","Pala Band of Mission Indians Land Transfer Act of 2021 This bill directs the Department of<br>the Interior to take approximately 721.12 acres of land in San Diego County, California,<br>into trust for the benefit of the Pala Band of Mission Indians, if the tribe transfers<br>title to that land to the United States. The land is made part of the Pala Indian<br>Reservation. The bill generally prohibits gaming on any of the land taken into trust."],["To authorize the Secretary of the Interior to conduct a study to assess the suitability<br>and feasibility of designating certain land as the Bear River National Heritage Area, and<br>for other purposes.","HR3616","Bear River National Heritage Area Study Act This bill directs the Department of the<br>Interior to conduct a study to assess the suitability and feasibility of designating the<br>study area, including areas in Utah and Idaho that are within the main drainage area of<br>the Bear River, as a National Heritage Area, to be known as the Bear River National<br>Heritage Area."],["A bill to authorize the Seminole Tribe of Florida to lease or transfer certain land, and<br>for other purposes.","S108","This bill allows the Seminole Tribe of Florida to lease, sell, convey, warrant, or<br>transfer its real property that is not held in trust by the United States."],["To take certain Federal lands in Tennessee into trust for the benefit of the Eastern Band<br>of Cherokee Indians, and for other purposes.","HR2088","Eastern Band of Cherokee Historic Lands Reacquisition Act This bill takes specified lands<br>and easements in Monroe County, Tennessee, into trust for the use and benefit of the<br>Eastern Band of Cherokee Indians. These lands include the Sequoyah Museum, the Chota<br>Memorial, the Tanasi Memorial, and land to provide support for these properties and<br>cultural programs. The Tennessee Valley Authority (TVA) maintains its right to carry out<br>river control and development on these lands, including temporar..."],["To amend the Small Business Act to require a report on 7(a) agents, and for other<br>purposes.","HR4531","7(a) Loan Agent Oversight Act This bill requires the Small Business Administration (SBA)<br>to submit an annual report containing specified information related to 7(a) loan agents.<br>These agents provide fee-based referral and loan application services related to the SBA's<br>7(a) Program. Under the 7(a) Program, the SBA guarantees up to 80% of a private lender's<br>loan to a small business borrower who cannot obtain credit elsewhere on reasonable terms<br>and conditions. The required report must include (..."],["To amend the Small Business Act to require cyber certification for small business<br>development center counselors, and for other purposes.","HR4515","Small Business Development Center Cyber Training Act of 2021 This bill requires the Small<br>Business Administration to establish a program for certifying at least 5 or 10% of the<br>total number of employees of a small business development center to provide cybersecurity<br>planning assistance to small businesses."],["To amend the Public Works and Economic Development Act of 1965 to provide for a high-speed<br>broadband deployment initiative.","HR3193","Eliminating Barriers to Rural Internet Development Grant Eligibility Act or the E-BRIDGE<br>Act This bill authorizes the Department of Commerce to award economic development grants<br>for public-private partnerships and certain consortiums to carry out specified broadband<br>projects. Such projects shall be to provide, extend, expand, or improve high-speed<br>broadband service through (1) planning, technical assistance, or training; (2) land<br>acquisition or development; or (3) acquisition, construction, o..."],["To direct the Administrator of the Federal Emergency Management Agency to submit to<br>Congress a report on preliminary damage assessments and make necessary improvements to<br>processes in the Federal Emergency Management Agency, and for other purposes.","HR3709","Preliminary Damage Assessment Improvement Act of 2021 This bill directs the Federal<br>Emergency Management Agency (FEMA) to (1) submit to Congress a report describing the<br>preliminary damage assessment process, as carried out by FEMA in the five years before<br>this bill's enactment; and (2) convene an advisory panel to assist FEMA in improving<br>critical components of that process."],["To amend title 40, United States Code, to modify the treatment of certain bargain-price<br>options to purchase at less than fair market value, and for other purposes.","HR2220","This bill specifies that a bargain-price purchase option (i.e., the option to purchase<br>property at less than fair market value) in a lease agreement for a federal building may<br>be exercised only to the extent the option is specifically provided for in subsequent Acts<br>of Congress. The bill applies to lease agreements that are entered into on or after<br>January 1, 2021."],["To designate the Federal Building and United States Courthouse located at 1125 Chapline<br>Street in Wheeling, West Virginia, as the \"Frederick P. Stamp, Jr. Federal Building and<br>United States Courthouse\".","HR4660","This bill designates the federal building and U.S. courthouse located at 1125 Chapline<br>Street in Wheeling, West Virginia, as the Frederick P. Stamp, Jr. Federal Building and<br>United States Courthouse."],["A bill to amend title 38, United States Code, to provide for the disapproval by the<br>Secretary of Veterans Affairs of courses of education offered by public institutions of<br>higher learning that do not charge veterans the in-State tuition rate for purposes of<br>Survivors' and Dependents' Educational Assistance Program, and for other purposes.","S1095","Colonel John M. McHugh Tuition Fairness for Survivors Act of 2021 This bill requires the<br>Department of Veterans Affairs to disapprove courses of education provided by public<br>institutions of higher learning if such institutions charge a higher rate for tuition and<br>fees than in-state tuition for individuals who are entitled to educational assistance<br>under the Survivors' and Dependents' Educational Assistance program."],["To amend title 38, United States Code, to furnish Vet Center readjustment counseling and<br>related mental health services to veterans and members of the Armed Forces using certain<br>educational assistance benefits.","HR4233","Student Veterans Counseling Centers Eligibility Act This bill requires the Department of<br>Veterans Affairs (VA) to furnish counseling, including counseling through a Vet Center, to<br>veterans or members of the Armed Forces who are pursuing a course of education using<br>specified Department of Defense or VA educational assistance benefits. Specifically, such<br>counseling must be provided to veterans or members of the Armed Forces who are utilizing<br>educational assistance benefits under the   Montgomer..."],["To require the Comptroller General of the United States to submit to Congress a report on<br>actions taken by the Secretary of Health and Human Services to address social determinants<br>of health.","HR4026","Social Determinants of Health Data Analysis Act of 2021 This bill requires the Government<br>Accountability Office to report on actions taken by the Department of Health and Human<br>Services to address social determinants of health, including how data collection about<br>social determinants of health complies with relevant privacy laws. Social determinants of<br>health are nonmedical factors that influence health outcomes, such as income, educational<br>attainment, and place of residence."],["To establish a cybersecurity literacy campaign, and for other purposes.","HR4055","American Cybersecurity Literacy Act This bill requires the National Telecommunications and<br>Information Administration to develop and conduct a cybersecurity literacy campaign to<br>increase knowledge and awareness of best practices to reduce cybersecurity risks."],["A bill to authorize the Secretary of Agriculture to develop a program to reduce barriers<br>to entry for farmers, ranchers, and private forest landowners in certain voluntary<br>markets, and for other purposes.","S1251","Growing Climate Solutions Act of 2021 This bill authorizes the Department of Agriculture<br>(USDA) to establish a voluntary Greenhouse Gas Technical Assistance Provider and Third-<br>Party Verifier Certification Program to help reduce entry barriers into voluntary<br>environmental credit markets for farmers, ranchers, and private forest landowners. A<br>voluntary environmental credit market is a market through which agriculture and forestry<br>credits may be bought or sold.  Entities eligible to participate ..."]],"hovertemplate":"sponsor_party=R<br>x=%{x}<br>y=%{y}<br>title=%{customdata[0]}<br>bill_number=%{customdata[1]}<br>summary_short=%{customdata[2]}<extra></extra>","legendgroup":"R","marker":{"color":"#EF553B","symbol":"circle"},"mode":"markers","name":"R","showlegend":true,"x":[2.212155342102051,0.953837633132935,9.857094764709473,1.023309469223022,2.76852822303772,8.271489143371582,5.400755405426025,7.378227233886719,6.472409725189209,10.214427947998047,8.397994041442871,5.61652135848999,9.444992065429688,9.126571655273438,2.711590528488159,6.205272197723389,3.354660749435425,6.690328598022461,7.337710857391357,8.59345531463623,-2.670771598815918,9.24251937866211,0.866020560264587,0.888863384723663,5.564833164215088,7.336837291717529,10.20836067199707,2.498001575469971,10.636490821838379,-2.844516038894653,10.338032722473145,8.289517402648926,10.697104454040527,5.537171363830566,8.055910110473633,9.212855339050293,-3.085980653762817,5.514273166656494,3.366416692733765,7.470977783203125,5.782112121582031,2.606328248977661,7.877171039581299,8.217872619628906,8.715161323547363,8.71462631225586,10.932579040527344,3.539056539535522,4.42986536026001,1.757179856300354,9.000015258789062,7.259621620178223,2.948824167251587,1.769712567329407,1.833843469619751,5.515431880950928,2.73200798034668,5.595803260803223,5.542702198028564,2.568458080291748,2.199691772460938,2.996583223342896,6.451566696166992,8.333854675292969,-1.602942943572998,3.757909536361694,6.713805198669434,3.138520002365112,2.377889633178711,-3.032534837722778,2.986310482025146,2.143503904342651,3.46101450920105,-1.95996367931366,5.437863349914551,3.345030307769775,11.280434608459473,6.627048969268799,3.172783374786377,4.340395927429199,2.801308631896973,3.46331524848938,3.511531114578247,0.922520756721497,2.037564277648926,2.386705636978149,6.966780662536621,5.356835842132568,-2.362194776535034,-2.921663284301758,6.862169742584229,5.940250396728516,6.322373390197754,5.782101154327393,-2.911391496658325,-3.024515867233276,0.884166777133942,9.921921730041504,8.214192390441895,6.932304382324219,1.807881832122803,1.76176381111145,9.224578857421875,-2.875062465667725,4.387186527252197,1.724640130996704,-2.538074016571045,6.249654769897461,5.491793155670166,10.309693336486816,2.27238917350769,2.066322565078735,2.365451335906982,5.550188064575195,5.460605621337891,7.547086238861084,8.376152038574219,3.474157333374023,2.788658142089844,2.319243669509888,2.767858266830444,3.512396812438965,9.365446090698242,6.628120899200439,2.838180780410767,6.038177013397217,5.534883975982666,3.674506187438965,2.883795022964478,3.329548358917236,2.271002769470215,2.664840221405029,8.230920791625977,8.277588844299316,5.761856079101562,-2.037171840667725,3.15243673324585,-3.078341484069824,10.65986442565918,-1.617792248725891,8.255000114440918,7.287574291229248,6.802051067352295,5.109573364257812,3.915460109710693,10.746206283569336,9.209046363830566,6.372467517852783,9.272834777832031,12.802772521972656,9.034494400024414,2.787744760513306,9.950372695922852,0.951614499092102,2.569492340087891,1.098516225814819,8.205151557922363,2.907064437866211,6.517495155334473,7.327327728271484,2.694732189178467,8.08754825592041,4.412335395812988,6.242758274078369,2.81419849395752,2.941726207733154,2.095545530319214,7.992710590362549,2.826858997344971,5.663227081298828,7.953092575073242,3.444544553756714,5.769333362579346,-3.181110143661499,9.18398380279541,8.0241060256958,3.285080432891846,7.988358020782471,7.96186637878418,8.856940269470215,5.125680923461914,10.155058860778809,7.990933418273926,7.540823936462402,9.151995658874512,2.696644067764282,-2.96281886100769,11.00877571105957,3.518925666809082,2.547136306762695,3.297787189483643,2.535322189331055,2.72858452796936,3.345978021621704,2.751300573348999,2.858474016189575,2.347249031066895,2.742828607559204,-3.128434896469116,0.84528785943985,2.08677077293396,2.277116775512695,-2.73490309715271,9.152528762817383,10.48046875,7.332018852233887,5.260447025299072,2.079055309295654,-1.65970516204834,6.685391426086426,6.242512702941895,6.521774291992188,3.160318851470947,7.917913436889648,2.751887559890747,2.47210955619812,7.992175579071045,-3.134028673171997,6.316596031188965,11.065958976745605,7.636701107025146,0.926786661148071,8.178833961486816,3.353248596191406,7.542920589447021,2.935224771499634,9.917174339294434,6.128565788269043,-3.055992841720581,2.852689981460571,2.148051500320435,7.576143741607666,2.710755586624146,8.261366844177246,4.85194730758667,2.502906799316406,8.453301429748535,-2.622486352920532,2.560725927352905,2.840287446975708,5.00309419631958,5.477324485778809,2.228920698165894,2.861517190933228,3.283903837203979,2.454602718353271,2.344135046005249,10.806215286254883,3.492535352706909,5.710783004760742,2.074602365493774,3.266422986984253,3.097719430923462,2.401064157485962,2.525089263916016,-3.056249141693115,9.634600639343262,10.712690353393555,3.675119400024414,-2.860531568527222,2.162272930145264,3.606203556060791,-2.711835145950317,2.910632371902466,2.556267261505127,3.532532691955566,3.597724199295044,3.154525518417358,6.997159004211426,-2.990148544311523,6.368135452270508,2.138655662536621,9.073862075805664,2.689635276794434,0.831167578697205,6.812372207641602,1.234957814216614,2.809529304504395,3.504963874816895,1.606135964393616,2.802213430404663,3.581618070602417,0.907931089401245,2.707122325897217,8.261927604675293,3.371142625808716,1.041753053665161,2.736920833587646,-3.00502347946167,5.553127765655518,-2.687615156173706,7.918228149414062,8.307476043701172,5.699981212615967,5.54868221282959,6.305834293365479,2.013392448425293,-3.145656108856201,3.389438390731812,2.742457389831543,11.010701179504395,7.925938606262207,-1.656141400337219,1.7804856300354,8.3367919921875,2.269056558609009,2.25032377243042,3.031625747680664,2.185453414916992,2.66550612449646,2.175084590911865,2.470367670059204,0.850195169448853,0.945133328437805,0.804219782352448,10.565516471862793,10.795512199401855,1.877297520637512,2.852561712265015,5.25731086730957,2.142963409423828,2.497662544250488,2.098081111907959,2.869676828384399,2.534754514694214,2.466264247894287,2.484676122665405,2.691193819046021,3.64007830619812,2.278954267501831,-2.594599485397339,10.186297416687012,3.586360216140747,6.501523971557617,5.798075199127197,4.586694717407227,6.692794799804688,7.002094745635986,2.18797492980957,0.855823934078217,2.637211322784424,8.712533950805664,6.219125747680664,2.788862705230713,-3.135945558547974,10.121048927307129,9.125123023986816,10.329095840454102,9.05228042602539,1.438754796981812,9.336831092834473,2.483962774276733,2.168337106704712,5.505552291870117,8.2177152633667,-2.659577608108521,2.827338695526123,1.099560737609863,9.415699005126953,11.907941818237305,8.190987586975098,8.68751335144043,8.814534187316895,10.011931419372559,10.135547637939453,10.23803424835205,9.746213912963867,9.480210304260254,10.146119117736816,8.680326461791992,10.4934720993042,9.515324592590332,5.073227882385254,10.124491691589355,10.222346305847168,8.648204803466797,-2.090800523757935,11.69710922241211,10.24923324584961,10.0341796875,9.99728775024414,10.964558601379395,8.026657104492188,10.220660209655762,9.481974601745605,9.289483070373535,10.565033912658691,12.805907249450684,10.086958885192871,10.293834686279297,12.001409530639648,11.942537307739258,9.231796264648438,10.141678810119629,10.595494270324707,10.998406410217285,5.148071765899658,10.551004409790039,13.294189453125,8.07711410522461,10.821549415588379,11.49938678741455,9.8831148147583,9.36174201965332,11.747889518737793,9.85302448272705,9.822754859924316,10.569585800170898,8.067974090576172,11.856982231140137,10.8714017868042,12.063508987426758,9.584358215332031,10.163290023803711,9.537352561950684,8.110285758972168,11.059896469116211,13.306638717651367,8.414155006408691,8.959004402160645,9.918673515319824,11.332685470581055,10.182236671447754,10.438543319702148,13.319501876831055,8.096150398254395,10.542738914489746,10.507364273071289,13.61754035949707,-3.00290846824646,10.086164474487305,10.126696586608887,9.939868927001953,9.993204116821289,10.213397979736328,9.591753005981445,7.15385913848877,7.135315418243408,9.564824104309082,7.030714511871338,8.068923950195312,10.901679039001465,13.571069717407227,10.781244277954102,11.046010971069336,10.386059761047363,11.330048561096191,9.722160339355469,9.858993530273438,3.786307811737061,9.361883163452148,11.406852722167969,13.402081489562988,10.084137916564941,6.463733673095703,13.311326026916504,11.378348350524902,13.784768104553223,-2.941562414169312,9.958237648010254,10.7990083694458,7.842922687530518,11.453374862670898,9.497977256774902,10.452600479125977,6.535293579101562,13.309926986694336,5.813607215881348,10.462663650512695,12.854963302612305,11.33989429473877,8.015340805053711,9.578513145446777,7.971146583557129,11.021915435791016,10.144956588745117,12.175304412841797,10.718753814697266,11.450936317443848,10.713422775268555,11.358063697814941,9.427149772644043,13.672101020812988,11.521581649780273,13.096528053283691,9.564249038696289,7.347961902618408,10.175921440124512,10.22436237335205,7.174857616424561,-2.913644790649414,8.645419120788574,-3.076334238052368,10.309760093688965,8.499105453491211,9.891216278076172,9.803488731384277,10.412272453308105,10.91952896118164,13.56238842010498,9.04800033569336,9.428321838378906,9.994670867919922,9.183412551879883,9.727027893066406,10.825027465820312,9.251205444335938,13.418635368347168,10.623074531555176,10.168780326843262,-2.056717157363892,13.4500093460083,9.140271186828613,10.222379684448242,9.745380401611328,7.887381076812744,6.707310199737549,6.811776161193848,9.466160774230957,7.845860004425049,7.915802001953125,10.407447814941406,7.312694072723389,7.298720359802246,7.299289703369141,11.34577751159668,10.767684936523438,9.988432884216309,10.471245765686035,9.462940216064453,8.047592163085938,5.444300174713135,9.409710884094238,6.190528392791748,10.807337760925293,5.559933185577393,11.707622528076172,10.985967636108398,2.406278610229492,8.920426368713379,10.377105712890625,10.935437202453613,10.538694381713867,11.01535415649414,10.958507537841797,11.60544490814209,7.730930805206299,12.665592193603516,-2.770986318588257,-2.994788885116577,9.61623477935791,8.782299995422363,9.813522338867188,11.296442985534668,12.14778995513916,9.790472030639648,11.751173973083496,8.872589111328125,10.460450172424316,9.655794143676758,10.903166770935059,8.289249420166016,8.693302154541016,10.173027992248535,9.350475311279297,9.047648429870605,9.54233455657959,8.21336555480957,10.469642639160156,-3.013819694519043,9.777120590209961,11.43217658996582,11.513222694396973,7.089496612548828,7.218454360961914,5.103366374969482,5.642366409301758,5.475790500640869,6.247291088104248,6.33685302734375,11.260257720947266,11.184996604919434,13.19867992401123,10.378571510314941,9.672361373901367,9.767425537109375,7.063273429870605,8.181235313415527,5.238100051879883,9.936864852905273,10.20766830444336,12.106034278869629,9.88791275024414,10.678793907165527,12.886529922485352,13.168148040771484,10.188931465148926,8.335481643676758,10.434293746948242,11.782405853271484,10.440494537353516,12.118999481201172,10.07778263092041,-3.052630662918091,7.434816837310791,9.8666353225708,9.884931564331055,9.286521911621094,7.721969604492188,5.666104793548584,-2.713617563247681,8.731627464294434,9.55202579498291,8.043058395385742,9.845930099487305,10.69263744354248,9.143526077270508,7.529332637786865,6.67802095413208,10.59084415435791,10.54127025604248,10.745706558227539,10.703877449035645,10.285445213317871,8.667562484741211,10.47990894317627,13.535635948181152,10.121231079101562,12.024787902832031,9.169805526733398,6.758402824401855,10.152554512023926,12.009033203125,5.542747497558594,10.543036460876465,11.957731246948242,6.441299438476562,10.651548385620117,6.591421604156494,10.64055061340332,8.237051010131836,9.338175773620605,11.285284996032715,4.893152713775635,11.017927169799805,13.200103759765625,12.04404067993164,6.667113780975342,11.088101387023926,11.736726760864258,8.751151084899902,6.266105175018311,11.555950164794922,9.374008178710938,9.952927589416504,5.789074897766113,10.610550880432129,3.730973482131958,11.024665832519531,10.588010787963867,9.990342140197754,10.2221097946167,13.508260726928711,13.147534370422363,12.850918769836426,13.070140838623047,11.265499114990234,11.843433380126953,13.721214294433594,6.657127857208252,9.037007331848145,6.994875431060791,6.596813678741455,9.538130760192871,7.081710338592529,11.328855514526367,13.438647270202637,8.980222702026367,8.296306610107422,8.867226600646973,9.042109489440918,10.180360794067383,10.131044387817383,10.199496269226074,7.911564350128174,10.090418815612793,10.15965461730957,9.618402481079102,7.432009696960449,13.671693801879883,12.4652738571167,13.250499725341797,6.781085968017578,7.981044769287109,-2.672987222671509,9.660577774047852,7.096436023712158,7.019332885742188,10.325968742370605,10.027334213256836,8.47004508972168,10.27269172668457,10.27467155456543,10.917193412780762,12.011722564697266,8.95606803894043,10.543708801269531,11.01396369934082,11.464061737060547,12.338287353515625,5.334512710571289,9.28783130645752,5.498861312866211,9.10704231262207,11.412932395935059,6.340333461761475,9.021787643432617,9.95895004272461,11.109597206115723,10.47549057006836,9.732131004333496,12.788728713989258,13.501358985900879,8.84972858428955,11.23173713684082,10.019670486450195,9.943022727966309,9.183472633361816,8.811226844787598,6.404673099517822,8.310081481933594,9.814668655395508,7.567345142364502,7.456962585449219,9.473459243774414,10.111207008361816,8.011664390563965,5.370933055877686,8.48343276977539,9.765554428100586,8.215667724609375,6.692093849182129,10.494696617126465,6.917397499084473,9.521374702453613,10.75034236907959,6.839829921722412,10.32422161102295,10.462925910949707,11.546744346618652,11.856852531433105,-1.610871911048889,9.657548904418945,10.463750839233398,-1.809887647628784,5.644412994384766,12.060982704162598,7.401852130889893,4.243101119995117,7.076192378997803,13.49288558959961,13.581449508666992,13.61767292022705,11.958101272583008,10.28836727142334,11.90591812133789,8.266618728637695,11.811606407165527,12.523387908935547,8.73381519317627,13.533624649047852,13.525678634643555,13.554597854614258,13.580771446228027,8.170064926147461,7.288307189941406,5.898192405700684,9.989908218383789,9.657937049865723,8.648356437683105,11.248675346374512,12.542182922363281,8.840744972229004,11.461448669433594,11.97812271118164,9.759279251098633,11.145279884338379,12.798684120178223,10.942793846130371,8.179462432861328,10.126768112182617,8.0469970703125,12.029685974121094,5.988278865814209,-1.588691592216492,6.528310775756836,9.804651260375977,9.824898719787598,11.520812034606934,13.767955780029297,10.05562686920166,10.366423606872559,9.686728477478027,11.172445297241211,5.010464668273926,10.457653045654297,13.644169807434082,13.508501052856445,7.828071594238281,9.417421340942383,8.167301177978516,10.203039169311523,9.163737297058105,9.393793106079102,10.089375495910645,10.28818416595459,8.494831085205078,8.737658500671387,9.12809944152832,9.963737487792969,8.266942977905273,8.52734375,9.038908958435059,10.578807830810547,9.765555381774902,11.903413772583008,7.414028644561768,5.957441329956055,6.565067291259766,9.784819602966309,10.643356323242188,10.191282272338867,11.725960731506348,8.733808517456055,5.785594463348389,7.745777606964111,10.851983070373535,10.08615493774414,10.225753784179688,10.533904075622559,8.368891716003418,9.833109855651855,9.297019004821777,10.921226501464844,5.208444118499756,9.664376258850098,7.295998096466064,10.773374557495117,11.323616981506348,8.321537017822266,11.405104637145996,13.24073600769043,13.016923904418945,6.570905685424805,6.290711402893066,10.996580123901367,10.804990768432617,10.575334548950195,10.743349075317383,8.14934253692627,9.977266311645508,3.75575852394104,6.935755729675293,6.360877513885498,10.251730918884277,7.04638671875,10.272021293640137,9.768826484680176,9.344791412353516,12.376718521118164,-1.814628481864929,9.781557083129883,7.088570594787598,9.43490982055664,7.121405601501465,10.348791122436523,10.335124015808105,10.07435417175293,11.42369556427002,12.850110054016113,11.048794746398926,12.290648460388184,8.912081718444824,9.26486873626709,10.26958179473877,10.060665130615234,10.28880500793457,10.168426513671875,10.615649223327637,7.986601829528809,11.395644187927246,13.249990463256836,9.587329864501953,8.175008773803711,13.466198921203613,7.234438419342041,8.322868347167969,9.755867004394531,7.154184341430664,10.819461822509766,8.63260269165039,9.884278297424316,7.425527095794678,8.386561393737793,9.678240776062012,9.771873474121094,6.745959281921387,6.657825469970703,10.522958755493164,13.41368293762207,9.741263389587402,8.607094764709473,9.579230308532715,7.227424144744873,7.413223266601562,10.607522964477539,9.578042984008789,10.327005386352539,12.757412910461426,6.772548675537109,8.660269737243652,9.01887035369873,8.768899917602539,6.106684684753418,10.039730072021484,10.981306076049805,12.257149696350098,13.032285690307617,10.783487319946289,10.00459098815918,12.579573631286621,13.155695915222168,13.219676971435547,9.743791580200195,13.212157249450684,10.785664558410645,10.906916618347168,13.203895568847656,13.309346199035645,10.99351978302002,13.321516990661621,13.261420249938965,11.178281784057617,11.779740333557129,12.026558876037598,13.167877197265625,13.22825813293457,13.224715232849121,9.785249710083008,9.97602653503418,9.755876541137695,13.220450401306152,-2.044083595275879,11.660367012023926,9.344049453735352,7.593120098114014,10.315629959106445,10.710902214050293,10.11745834350586,10.724884033203125,9.187551498413086,7.725049495697021,8.533227920532227,10.461345672607422,9.894584655761719,9.62971305847168,10.545905113220215,10.191919326782227,8.302106857299805,9.702934265136719,9.621415138244629,7.044213771820068,7.187386035919189,8.184513092041016,12.459162712097168,8.372041702270508,6.898336410522461,9.693218231201172,10.661674499511719,10.234777450561523,9.361546516418457,10.147147178649902,10.895808219909668,10.160204887390137,6.147226810455322,10.01929759979248,7.673237800598145,6.799656391143799,10.711212158203125,9.014203071594238,8.876100540161133,9.380230903625488,11.92880630493164,9.813122749328613,10.170385360717773,9.664312362670898,6.413490772247314,5.526232242584229,10.884997367858887,10.913881301879883,9.923283576965332,10.702388763427734,9.138227462768555,6.711650371551514,9.98687744140625,10.425178527832031,9.493102073669434,10.861695289611816,9.196615219116211,9.153106689453125,6.985099315643311,7.744573593139648,6.259082794189453,8.922378540039062,10.740289688110352,12.13508415222168,10.8407564163208,8.582596778869629,9.353533744812012,10.843017578125,9.411530494689941,9.870185852050781,8.881265640258789,9.883138656616211,11.022741317749023,8.665318489074707,11.36085319519043,5.661466121673584,10.315845489501953,6.648781299591064,9.893056869506836,7.86374044418335,9.82927131652832,8.04311752319336,7.651786804199219,7.702233791351318,10.395989418029785,10.768150329589844,5.703153610229492,10.077922821044922,9.613046646118164,10.640303611755371,9.548074722290039,8.39425277709961,11.54390811920166,-2.01105260848999,7.668086528778076,9.459308624267578,-3.106045722961426,7.027003288269043,6.746606826782227,8.454788208007812,10.546548843383789,10.230095863342285,10.71608829498291,12.929226875305176,12.241009712219238,13.188960075378418,10.45792293548584,13.539603233337402,8.479554176330566,10.511035919189453,5.52578592300415,11.406383514404297,13.187865257263184,13.67661190032959,9.167413711547852,10.234209060668945,8.915486335754395,10.626542091369629,8.900139808654785,7.925709247589111,10.616284370422363,9.614027976989746,7.432446002960205,8.152502059936523,11.771685600280762,9.965497970581055,5.282088756561279,5.129430294036865,9.079461097717285,9.42929458618164,3.763906717300415,10.079547882080078,10.698701858520508,8.796937942504883,5.572055816650391,5.956874847412109,12.229321479797363,13.548486709594727,12.040718078613281,13.3526029586792,10.74422550201416,11.115509033203125,13.794291496276855,11.602473258972168,11.510310173034668,-1.688225388526917,11.460232734680176,10.734256744384766,13.119027137756348,5.416543960571289,9.70789623260498,10.657106399536133,8.174302101135254,10.149240493774414,8.14453125,7.105931758880615,8.271257400512695,12.750333786010742,11.18264389038086,11.401159286499023,9.304028511047363,10.217211723327637,11.827652931213379,11.969459533691406,10.617963790893555,11.700300216674805,9.888240814208984,7.171874523162842,10.098960876464844,9.64877700805664,10.788215637207031,10.66520881652832,11.913326263427734,11.860549926757812,8.112421989440918,9.580999374389648,7.632485866546631,10.309734344482422,10.450681686401367,9.467619895935059,10.406617164611816,10.135847091674805,11.085050582885742,12.429844856262207,9.065328598022461,-2.70499587059021,7.115241050720215,10.20263957977295,7.271476745605469,7.954140663146973,10.573746681213379,10.4462251663208,8.994571685791016,10.582173347473145,10.781664848327637,10.677342414855957,10.042987823486328,9.033714294433594,11.843549728393555,9.679105758666992,10.771978378295898,7.49733304977417,12.270208358764648,9.518176078796387,7.458127498626709,7.271062850952148,9.644627571105957,9.696782112121582,9.016651153564453,8.314107894897461,7.956716060638428,6.802785396575928,6.78729248046875,9.676582336425781,10.16528606414795,5.46840763092041,10.78485107421875,12.089232444763184,12.01053524017334,10.998676300048828,10.753152847290039,5.758198738098145,9.189495086669922,7.4505295753479,10.605608940124512,9.81418514251709,11.625039100646973,12.793642044067383,8.627789497375488,6.702558040618896,11.55709171295166,9.229923248291016,9.803672790527344,9.436136245727539,11.741460800170898,7.450997829437256,9.993505477905273,11.914945602416992,12.023319244384766,10.672708511352539,9.140449523925781,8.580608367919922,10.223715782165527,7.506266117095947,9.924762725830078,10.814414978027344,8.504638671875,11.777429580688477,9.705872535705566,8.111977577209473,9.877243041992188,10.482380867004395,9.618005752563477,8.212606430053711,9.381096839904785,8.239731788635254,10.103571891784668,10.752776145935059,10.159232139587402,8.416292190551758,8.391057968139648,10.956584930419922,8.455622673034668,9.611479759216309,7.568225860595703,10.773026466369629,9.544898986816406,11.796884536743164,8.13292407989502,8.568391799926758,10.50496768951416,9.521882057189941,10.658740043640137,8.656508445739746,10.762370109558105,10.550897598266602,9.570989608764648,10.752999305725098,11.219610214233398,9.780545234680176,9.72043514251709,9.798134803771973,8.152114868164062,9.789693832397461,8.930248260498047,10.541293144226074,8.737259864807129,7.773399353027344,10.464491844177246,13.56039810180664,10.669365882873535,11.631097793579102,9.133234024047852,9.523516654968262,9.723727226257324,10.657085418701172,10.593770027160645,10.70517349243164,13.570164680480957,10.872476577758789,10.122783660888672,10.335058212280273,9.91142749786377,11.24130630493164,5.016413688659668,10.205324172973633,9.404105186462402,8.183601379394531,8.0097074508667,6.735837936401367,11.302290916442871,11.757624626159668,10.483582496643066,9.345586776733398,11.112257957458496,10.454865455627441,8.021977424621582,10.817564964294434,9.838677406311035,10.270781517028809,8.844001770019531,10.064859390258789,7.549191474914551,12.138300895690918,10.52895450592041,9.847172737121582,9.509223937988281,9.681305885314941,11.956643104553223,10.815467834472656,8.067761421203613,11.825209617614746,8.227940559387207,9.040921211242676,7.417156219482422,11.362770080566406,11.87606143951416,10.816104888916016,11.856998443603516,10.776636123657227,11.46893310546875,8.091449737548828,11.943666458129883,10.993244171142578,10.796027183532715,10.945728302001953,-1.601921319961548,10.881959915161133,13.556497573852539,10.731317520141602,10.58029556274414,9.980639457702637,10.228931427001953,9.153390884399414,8.26619815826416,10.16955280303955,8.01229476928711,10.113320350646973,8.465843200683594,8.31480884552002,8.796728134155273,11.667620658874512,6.933675765991211,9.663326263427734,9.272438049316406,10.828343391418457,11.045394897460938,9.901571273803711,10.025385856628418,12.003744125366211,7.603177070617676,10.352967262268066,9.520365715026855,7.958089351654053,9.29998779296875,9.698735237121582,9.189129829406738,9.90032958984375,9.137048721313477,10.522917747497559,11.151998519897461,8.714693069458008,10.180673599243164,8.44184398651123,11.973264694213867,10.495353698730469,9.149093627929688,10.34506607055664,8.727325439453125,7.285947799682617,7.277469158172607,6.625773429870605,10.21461296081543,9.580869674682617,9.920583724975586,10.195897102355957,10.333516120910645,-2.068550586700439,7.81051778793335,10.432103157043457,9.965168952941895,10.378894805908203,10.795571327209473,10.977823257446289,9.687311172485352,11.156210899353027,7.288417339324951,10.017358779907227,10.971026420593262,10.456755638122559,9.740814208984375,9.73875904083252,9.545598030090332,7.42610502243042,7.75299072265625,8.08544635772705,10.342584609985352,9.595491409301758,11.530081748962402,9.675643920898438,7.338079452514648,10.90981674194336,10.77838134765625,8.529940605163574,10.527865409851074,10.461323738098145,11.780401229858398,10.767651557922363,7.040389537811279,8.501829147338867,7.855761051177979,11.937565803527832,6.963240623474121,10.458038330078125,10.52963924407959,10.116077423095703,9.53465747833252,9.672672271728516,10.826433181762695,10.009324073791504,9.744361877441406,10.093433380126953,8.185306549072266,7.105157852172852,9.54430103302002,13.28431510925293,8.171453475952148,8.088257789611816,8.88534164428711,9.46903133392334,10.720723152160645,10.088890075683594,8.130599021911621,9.269902229309082,9.35558795928955,6.458943843841553,8.448526382446289,11.213154792785645,9.802536010742188,8.737634658813477,7.847148418426514,11.40971851348877,10.342047691345215,10.147359848022461,9.468198776245117,8.576180458068848,10.151019096374512,9.503196716308594,8.909768104553223,9.648269653320312,8.729593276977539,7.257030010223389,8.111918449401855,10.952739715576172,10.027997016906738,9.8688383102417,11.051106452941895,7.676571369171143,10.827718734741211,10.771612167358398,9.718706130981445,5.637841701507568,10.729610443115234,8.354045867919922,11.101706504821777,10.559536933898926,9.916857719421387,7.971815586090088,7.84000825881958,9.991843223571777,9.835186958312988,9.270012855529785,7.252236366271973,-2.061693906784058,10.293657302856445,9.59852409362793,-2.012807846069336,8.262203216552734,7.174439430236816,6.476247787475586,5.910468578338623,9.554176330566406,7.925883769989014,8.020805358886719,9.888520240783691,9.221198081970215,8.078133583068848,8.141839981079102,9.456949234008789,9.150959968566895,8.144097328186035,10.471102714538574,8.677245140075684,10.286478042602539,9.44641399383545,5.340644359588623,7.85598087310791,9.626016616821289,10.149230003356934,10.79330062866211,11.513276100158691,9.944522857666016,9.544020652770996,10.909021377563477,10.939736366271973,10.167577743530273,9.74679183959961,9.752460479736328,10.080060005187988,8.147068977355957,9.834864616394043,8.825895309448242,10.343400955200195,10.8825044631958,9.46352767944336,10.596631050109863,10.655671119689941,9.705421447753906,10.71519947052002,9.927908897399902,9.424827575683594,10.1271333694458,9.0562744140625,8.914562225341797,9.118485450744629,9.9631986618042,9.513065338134766,9.940776824951172,8.397956848144531,11.554943084716797,8.050314903259277,10.128530502319336,11.316466331481934,12.074197769165039,11.636255264282227,11.785019874572754,9.135183334350586,11.33646297454834,9.637417793273926,13.35580062866211,10.794775009155273,11.658660888671875,10.315635681152344,9.674409866333008,9.835908889770508,5.163442611694336,6.713849544525146,9.911518096923828,6.7026686668396,9.595404624938965,11.304667472839355,9.862977027893066,10.824211120605469,11.80216121673584,8.564644813537598,8.637555122375488,8.790864944458008,11.367484092712402,9.326313972473145,10.188809394836426,10.36380672454834,11.688368797302246,8.243636131286621,9.919798851013184,8.117205619812012,8.506221771240234,11.191960334777832,10.581212043762207,10.77013111114502,11.411840438842773,10.449729919433594,10.778448104858398,10.781164169311523,10.033299446105957,10.604547500610352,11.735371589660645,9.122641563415527,10.027201652526855,12.058956146240234,7.771101951599121,7.842798709869385,11.35151195526123,10.713842391967773,8.366643905639648,9.64307689666748,11.623199462890625,10.865368843078613,8.899099349975586,10.055191040039062,8.882842063903809,7.372261047363281,7.627018928527832,7.004848480224609,9.978084564208984,9.51341724395752,8.301729202270508,5.997198581695557,10.935100555419922,10.840137481689453,7.438209533691406,7.752715110778809,9.636699676513672,10.716809272766113,10.304871559143066,9.807501792907715,6.333202838897705,9.76611042022705,8.688727378845215,10.674271583557129,7.188760280609131,10.458463668823242,10.070892333984375,9.299583435058594,9.801566123962402,8.536722183227539,9.775659561157227,10.61670970916748,10.823650360107422,10.410223007202148,9.151479721069336,7.474816799163818,9.317157745361328,8.647260665893555,9.119043350219727,10.623966217041016,10.497053146362305,9.579385757446289,10.525714874267578,9.732669830322266,8.412345886230469,11.432576179504395,7.40058422088623,8.437957763671875,9.860773086547852,10.69131088256836,10.82983684539795,10.218761444091797,10.050994873046875,9.656362533569336,-1.493713617324829,11.252828598022461,9.822818756103516,8.516069412231445,8.992523193359375,6.407967090606689,10.738991737365723,9.105781555175781,7.388376235961914,9.48619556427002,10.234002113342285,10.759430885314941,10.372129440307617,13.289369583129883,9.885946273803711,11.535917282104492,10.425124168395996,10.566126823425293,10.238174438476562,8.500068664550781,10.591346740722656,9.006040573120117,10.63553237915039,6.602302074432373,8.526331901550293,10.316983222961426,8.371560096740723,9.381732940673828,9.904096603393555,9.386549949645996,7.938169479370117,9.511011123657227,7.808539390563965,6.710909843444824,8.744462013244629,9.340631484985352,10.274319648742676,9.171581268310547,8.202414512634277,7.942708015441895,10.131197929382324,2.077555656433105,7.226912021636963,8.670373916625977,9.497230529785156,8.095046997070312,10.892271995544434,9.20026969909668,9.12460708618164,7.892529487609863,11.052085876464844,7.178586006164551,10.126607894897461,7.125629901885986,8.986767768859863,9.998395919799805,8.951615333557129,10.106051445007324,5.990237712860107,8.606649398803711,9.739300727844238,10.10640811920166,10.225146293640137,10.93078327178955,10.796099662780762,8.265559196472168,8.720245361328125,10.85574722290039,9.562621116638184,10.612914085388184,11.087543487548828,10.046929359436035,8.858325004577637,10.639731407165527,7.800927639007568,10.343603134155273,10.024112701416016,9.93181037902832,8.143501281738281,10.308134078979492,8.343935012817383,9.455772399902344,8.090617179870605,6.535449981689453,9.752904891967773,8.109208106994629,9.833928108215332,9.754356384277344,11.829578399658203,9.433749198913574,10.156251907348633,6.600423336029053,9.654582023620605,9.738105773925781,9.650818824768066,8.687255859375,7.872973918914795,9.500983238220215,6.647409915924072,9.34859561920166,8.743671417236328,10.039334297180176,8.505438804626465,8.524992942810059,8.631229400634766,-1.4998939037323,9.967076301574707,11.491724014282227,9.840920448303223,10.306868553161621,9.57530689239502,9.703634262084961,9.49459457397461,6.595193862915039,6.98854398727417,9.735045433044434,10.58681869506836,9.873976707458496,10.429951667785645,8.600411415100098,8.140820503234863,8.496170043945312,10.178536415100098,10.573829650878906,9.614544868469238,10.191527366638184,8.102137565612793,10.034924507141113,11.060661315917969,8.844490051269531,9.621870040893555,8.947393417358398,9.920125007629395,9.687262535095215,8.973841667175293,9.849794387817383,5.849715709686279,7.111600399017334,10.591965675354004,10.778986930847168,10.132222175598145,10.565380096435547,10.29315185546875,10.425700187683105,8.397482872009277,10.011157035827637,10.225343704223633,10.772300720214844,10.379927635192871,10.539896011352539,11.429792404174805,10.873278617858887,10.176331520080566,9.58619499206543,9.787294387817383,9.032951354980469,10.350067138671875,11.491996765136719,9.10931396484375,10.991443634033203,10.0905122756958,10.761645317077637,7.232208728790283,8.173587799072266,9.82492446899414,6.70392370223999,9.641966819763184,9.5504150390625,9.581576347351074,10.104707717895508,9.560120582580566,9.496050834655762,10.655753135681152,10.718106269836426,9.135321617126465,10.434391021728516,8.097683906555176,9.415359497070312,9.903252601623535,6.537942409515381,9.728431701660156,10.7878999710083,9.533424377441406,10.550272941589355,8.02627944946289,8.08591079711914,10.750718116760254,11.268929481506348,10.704962730407715,10.418020248413086,10.2588472366333,8.840171813964844,9.317996978759766,6.796741008758545,10.103221893310547,6.871943950653076,10.651589393615723,10.25925350189209,10.599153518676758,5.745572566986084,6.300516605377197,7.403307437896729,9.82748794555664,10.75558090209961,10.070213317871094,8.966650009155273,9.541337966918945,6.402338027954102,11.588817596435547,9.720454216003418,7.599791526794434,11.582530975341797,12.1365385055542,-1.638859272003174,8.779275894165039,9.60507583618164,8.57434368133545,9.703399658203125,9.647764205932617,7.910506725311279,7.67871618270874,8.811991691589355,6.442532539367676,13.206552505493164,10.61088752746582,11.994940757751465,8.859184265136719,9.564618110656738,7.222562789916992,11.54863452911377,11.808562278747559,10.91148567199707,10.997025489807129,9.666898727416992,9.008235931396484,10.957188606262207,11.864177703857422,9.764486312866211,6.474159240722656,9.970876693725586,8.610793113708496,7.954731464385986,11.837227821350098,7.492591857910156,10.370736122131348,10.613231658935547,10.728569984436035,9.323668479919434,6.720839023590088,9.850921630859375,10.291125297546387,9.383460998535156,10.49649715423584,11.061882019042969,-3.021159887313843,10.488377571105957,-3.103526592254639,9.05854320526123,9.587906837463379,8.42299747467041,10.178476333618164,9.739994049072266,7.287361145019531,10.466473579406738,9.228543281555176,7.25758695602417,7.679190635681152,8.78420639038086,6.978955268859863,10.818863868713379,10.047143936157227,9.868660926818848,10.25130844116211,10.725921630859375,10.559769630432129,10.036040306091309,9.584044456481934,9.854659080505371,10.511199951171875,9.282217025756836,9.376913070678711,10.533910751342773,8.97062873840332,9.906341552734375,11.521764755249023,10.97424030303955,-2.857300043106079,11.353898048400879,-1.385100841522217,9.454522132873535,6.951118469238281,10.585001945495605,8.179693222045898,10.342290878295898,10.239535331726074,9.350449562072754,9.58767318725586,10.262646675109863,9.332469940185547,10.83913803100586,5.660500049591064,10.741153717041016,11.361601829528809,10.156911849975586,9.864421844482422,10.42814826965332,10.704927444458008,10.687829971313477,7.405666351318359,10.483467102050781,7.647822380065918,8.782190322875977,10.842308044433594,8.947440147399902,8.801339149475098,10.431733131408691,11.02066421508789,10.758183479309082,9.773813247680664,10.271475791931152,11.805292129516602,11.245593070983887,9.50055980682373,5.736640453338623,8.013607025146484,8.27548599243164,10.058866500854492,9.282726287841797,6.343731880187988,8.29248332977295,9.612265586853027,11.03272533416748,-1.358473658561707,10.600930213928223,7.440372467041016,10.88106632232666,10.854060173034668,9.917404174804688,10.546536445617676,9.540411949157715,10.21987247467041,10.0022611618042,9.61291790008545,9.920877456665039,10.45855712890625,10.406197547912598,9.893267631530762,9.95130729675293,9.6342134475708,8.990374565124512,10.187627792358398,10.358579635620117,9.655701637268066,-1.616536617279053,9.927525520324707,9.724409103393555,7.179770469665527,7.533142566680908,10.385528564453125,9.950200080871582,9.466018676757812,9.507575035095215,9.910469055175781,10.70981216430664,10.483392715454102,9.551319122314453,-2.632772207260132,10.688382148742676,9.503429412841797,8.346131324768066,8.32470989227295,7.585411548614502,10.872536659240723,9.18997573852539,10.395161628723145,10.215049743652344,10.633275985717773,10.880340576171875,6.789831161499023,10.936864852905273,10.372172355651855,10.836337089538574,8.176237106323242,7.853887557983398,8.681962966918945,10.420111656188965,9.408860206604004,10.718206405639648,10.500753402709961,10.341287612915039,11.128166198730469,10.45606803894043,6.108109474182129,5.511202335357666,9.559798240661621,10.914809226989746,9.346712112426758,10.337689399719238,9.459528923034668,1.845428824424744,10.8934965133667,7.667062759399414,7.219007968902588,6.30816650390625,9.644869804382324,8.860645294189453,9.838385581970215,9.382837295532227,9.508419036865234,9.40491771697998,9.650376319885254,2.907660961151123,10.422149658203125,6.412864685058594,9.493271827697754,8.810413360595703,11.403363227844238,10.674448013305664,10.896378517150879,10.574097633361816,11.26301383972168,10.408271789550781,9.474916458129883,10.724714279174805,11.539722442626953,12.106367111206055,6.211300373077393,5.816631317138672,10.522590637207031,8.065631866455078,9.152144432067871,11.039342880249023,11.920405387878418,9.386113166809082,9.973746299743652,9.681228637695312,8.986920356750488,10.464473724365234,9.737775802612305,8.816810607910156,10.269701957702637,10.502555847167969,10.41197681427002,10.244770050048828,9.757119178771973,9.732115745544434,9.704111099243164,10.381953239440918,10.518765449523926,9.57384967803955,11.545707702636719,10.475228309631348,7.110310077667236,8.576691627502441,11.006393432617188,11.878724098205566,9.008291244506836,8.832447052001953,10.364020347595215,10.487853050231934,9.094320297241211,9.87092399597168,7.382416248321533,10.899320602416992,7.545706748962402,8.478498458862305,-3.071900129318237,11.440568923950195,10.080181121826172,7.6532301902771,2.886950016021729,10.083762168884277,11.983952522277832,8.615044593811035,9.737327575683594,8.111141204833984,10.65284538269043,10.679193496704102,9.817440032958984,9.00802230834961,10.31375789642334,10.141605377197266,11.537382125854492,8.406302452087402,10.383234024047852,9.96135425567627,9.907454490661621,7.937244415283203,6.486605167388916,10.992527961730957,7.388908863067627,11.02424144744873,8.799519538879395,9.080984115600586,7.92682409286499,9.971800804138184,11.867865562438965,8.959672927856445,6.437556743621826,9.560506820678711,7.649875640869141,8.934537887573242,9.081852912902832,6.128301620483398,10.375540733337402,7.095789909362793,10.171114921569824,5.553494930267334,10.283390998840332,9.830927848815918,9.584023475646973,8.570329666137695,9.232391357421875,7.622704982757568,8.575011253356934,5.221078872680664,8.908063888549805,-1.60993504524231,10.117231369018555,6.289041519165039,6.274306774139404,-2.303991794586182,9.693294525146484,10.539133071899414,8.550405502319336,5.194032669067383,9.757075309753418,9.33144474029541,7.958122253417969,7.80357027053833,9.54083251953125,8.398667335510254,5.357110500335693,9.1107759475708,9.379366874694824,5.835118770599365,7.163097858428955,7.221164226531982,10.820606231689453,10.196131706237793,11.54859447479248,10.008743286132812,7.395204067230225,9.835646629333496,10.335262298583984,8.452778816223145,5.670035839080811,9.60724925994873,9.504216194152832,11.33779525756836,-1.657954454421997,9.515772819519043,9.19366455078125,8.097695350646973,6.351351737976074,8.304801940917969,-2.882683038711548,8.221863746643066,8.572168350219727,7.223243236541748,7.841368675231934,8.873028755187988,8.744784355163574,10.20759105682373,10.401728630065918,7.50193452835083,8.366830825805664,8.314319610595703,9.60853099822998,10.743220329284668,6.970280647277832,7.004030227661133,9.263745307922363,8.60200309753418,10.123814582824707,-1.463745594024658,11.876667976379395,8.851258277893066,8.664081573486328,8.53243637084961,8.332911491394043,8.475237846374512,6.588685989379883,7.540809154510498,6.697493553161621,6.910744667053223,8.405411720275879,8.13412094116211,8.042420387268066,5.681685447692871,11.681425094604492,9.308653831481934,8.476371765136719,7.357054233551025,9.291008949279785,6.66621732711792,10.565990447998047,10.336252212524414,8.162957191467285,9.11148738861084,11.777883529663086,7.533962726593018,7.228921413421631,7.229709148406982,9.901747703552246,9.979325294494629,9.929543495178223,9.558584213256836,9.077396392822266,10.280607223510742,9.231330871582031,12.100242614746094,10.089130401611328,-3.063299417495728,8.378023147583008,10.404216766357422,9.343080520629883,9.31497859954834,9.21650505065918,9.674354553222656,9.6986083984375,8.338964462280273,9.02280044555664,9.87140941619873,9.495674133300781,7.945277214050293,9.761610984802246,6.204729080200195,7.858687877655029,11.113354682922363,10.359758377075195,9.045122146606445,7.187348365783691,9.965126991271973,9.012604713439941,5.664185523986816,9.679840087890625,8.936724662780762,8.426231384277344,6.646933555603027,6.893861770629883,6.874706745147705,6.151695728302002,9.693851470947266,9.02646255493164,9.530080795288086,8.826793670654297,9.263052940368652,-2.117450714111328,10.865381240844727,10.63721752166748,9.552674293518066,8.729002952575684,8.232012748718262],"xaxis":"x","y":[12.564448356628418,13.714554786682129,7.279390335083008,13.605748176574707,12.775287628173828,3.69928503036499,12.051583290100098,7.460540294647217,7.44064998626709,7.585587024688721,10.952351570129395,8.327200889587402,10.18295955657959,10.601539611816406,11.13175106048584,11.566269874572754,12.42370319366455,8.195220947265625,7.925191402435303,8.853014945983887,6.895565986633301,10.881139755249023,13.756732940673828,13.737879753112793,12.244039535522461,8.033038139343262,8.052237510681152,11.30685043334961,7.918275356292725,6.974344730377197,9.609999656677246,3.681323051452637,9.7244234085083,12.357841491699219,3.881803274154663,10.33045768737793,6.865789413452148,12.200383186340332,12.45348834991455,7.78667163848877,11.39593505859375,12.756237983703613,9.445331573486328,3.815028667449951,3.58855152130127,8.506458282470703,8.83961009979248,12.428943634033203,12.485848426818848,11.22158432006836,10.755304336547852,11.218537330627441,10.716612815856934,11.218040466308594,11.366522789001465,12.229484558105469,11.100664138793945,12.254379272460938,12.267195701599121,10.948230743408203,11.135181427001953,12.609041213989258,7.589396953582764,3.647136211395264,7.022967338562012,11.693076133728027,8.412027359008789,12.193684577941895,11.749943733215332,6.684524059295654,11.747973442077637,12.764911651611328,12.452679634094238,6.564798831939697,8.456090927124023,12.11902141571045,8.158830642700195,7.298168659210205,12.20949649810791,12.365216255187988,12.441266059875488,11.472785949707031,11.85517406463623,13.696914672851562,12.854286193847656,12.384584426879883,8.616072654724121,8.452465057373047,6.687197208404541,6.678884983062744,7.542911052703857,8.182486534118652,11.451613426208496,11.962763786315918,7.067781925201416,6.785412788391113,13.74113941192627,3.144481182098389,3.783768892288208,8.571175575256348,11.210307121276855,11.182374000549316,10.465359687805176,6.828224182128906,12.376832008361816,11.219442367553711,7.136953353881836,7.565927505493164,12.120637893676758,9.443474769592285,11.371891021728516,11.603825569152832,11.218589782714844,9.049703598022461,9.018418312072754,7.889145374298096,3.765748023986816,11.766571998596191,12.656487464904785,11.452073097229004,12.528186798095703,11.719873428344727,10.899116516113281,7.508777141571045,12.843082427978516,8.148323059082031,9.036049842834473,11.746949195861816,12.077682495117188,11.555063247680664,11.306453704833984,11.327435493469238,10.83231258392334,3.696863412857056,11.948613166809082,6.505471229553223,11.398449897766113,6.926399707794189,10.232684135437012,7.112038612365723,3.709548950195312,9.091919898986816,8.185471534729004,12.061258316040039,11.870319366455078,10.722259521484375,7.409671306610107,10.448179244995117,10.318163871765137,11.876472473144531,9.009825706481934,11.742613792419434,7.191193580627441,13.67357063293457,10.795784950256348,13.573197364807129,3.762655019760132,12.76319408416748,7.381672859191895,7.880340576171875,11.475143432617188,3.893017530441284,12.37712287902832,8.206565856933594,12.826505661010742,12.090633392333984,11.205222129821777,3.957143306732178,12.464761734008789,8.61491870880127,3.992718935012817,12.2825927734375,12.213176727294922,7.001036643981934,10.498137474060059,3.935940265655518,12.506093978881836,3.964960813522339,3.999274015426636,8.833499908447266,11.932218551635742,11.080421447753906,3.964192152023315,7.896522998809814,10.47841739654541,11.489893913269043,6.732730388641357,9.734103202819824,12.333775520324707,11.533147811889648,12.478519439697266,11.478771209716797,11.04088020324707,11.645466804504395,12.710895538330078,11.735615730285645,10.84616470336914,12.599431037902832,6.818367481231689,13.7772855758667,11.670367240905762,11.519669532775879,6.948492527008057,10.454428672790527,10.068995475769043,8.020590782165527,8.479450225830078,12.751350402832031,7.096027851104736,7.430322647094727,7.490799427032471,7.267934322357178,12.31362247467041,9.965804100036621,10.706899642944336,12.411294937133789,3.96683406829834,6.986564159393311,7.548331737518311,9.953607559204102,7.91187572479248,13.696843147277832,3.636497259140015,12.461283683776855,8.157308578491211,10.77824878692627,7.900018692016602,8.670933723449707,6.821268558502197,12.801610946655273,11.188151359558105,9.535841941833496,12.785507202148438,3.712099313735962,9.042800903320312,12.03797435760498,7.270367622375488,6.979484558105469,11.031611442565918,12.777867317199707,8.567652702331543,11.89676284790039,11.092000007629395,12.79622745513916,12.250320434570312,11.838593482971191,11.557371139526367,10.353289604187012,11.88271713256836,11.881656646728516,12.257088661193848,12.502755165100098,12.362447738647461,11.167814254760742,11.280915260314941,6.785274028778076,10.870623588562012,8.798408508300781,11.733011245727539,6.91707706451416,11.128355979919434,12.471052169799805,6.808599472045898,11.700882911682129,11.595393180847168,11.695454597473145,11.733465194702148,11.815999984741211,11.162261009216309,6.897009372711182,7.681818962097168,11.204741477966309,10.055008888244629,11.803104400634766,13.792457580566406,7.48231840133667,13.446547508239746,12.733100891113281,11.890393257141113,11.101014137268066,12.736879348754883,11.684563636779785,13.626472473144531,12.504612922668457,3.894748687744141,12.359150886535645,13.601184844970703,12.803813934326172,6.709298610687256,12.340466499328613,7.073807716369629,4.02170991897583,3.70239782333374,8.768875122070312,8.479313850402832,7.647194862365723,11.395027160644531,6.596484184265137,11.575533866882324,12.431066513061523,9.40949821472168,4.012696266174316,7.102357387542725,11.124902725219727,3.8244948387146,11.116705894470215,12.59116268157959,11.654868125915527,12.616689682006836,11.519962310791016,12.624715805053711,10.818550109863281,13.773765563964844,13.733110427856445,13.824274063110352,10.338743209838867,10.412923812866211,12.790054321289062,12.77869987487793,11.95784854888916,12.574179649353027,11.356827735900879,12.72375774383545,12.58071517944336,10.919910430908203,11.473087310791016,11.030186653137207,11.372215270996094,12.459162712097168,11.261812210083008,6.891260623931885,9.372501373291016,11.800637245178223,7.372111797332764,12.159058570861816,12.392696380615234,7.231247425079346,8.752324104309082,11.24018383026123,13.765969276428223,11.2611083984375,9.504020690917969,7.378452777862549,12.783578872680664,6.830575942993164,11.004343032836914,10.43178653717041,10.076704025268555,8.727153778076172,13.342010498046875,7.416787147521973,11.024372100830078,11.329625129699707,12.383671760559082,11.058561325073242,6.885451316833496,12.517559051513672,13.54809284210205,7.0370192527771,9.033890724182129,6.511119365692139,6.221199035644531,6.235391139984131,3.191439390182495,3.685422897338867,-2.213101387023926,3.316444873809814,3.134840726852417,8.025111198425293,1.819655418395996,0.814478099346161,6.922036170959473,8.732184410095215,-1.448975563049316,7.407906055450439,7.891662120819092,6.43789529800415,9.52072525024414,-0.936129152774811,-1.061305403709412,3.546667337417603,0.11153007298708,-8.749635696411133,-0.828968822956085,8.746374130249023,8.95788860321045,0.822362840175629,10.428325653076172,-1.019188165664673,-1.788270950317383,10.58950138092041,8.274453163146973,10.033614158630371,-1.767958402633667,8.703510284423828,8.490285873413086,8.802165985107422,0.793268978595734,11.639131546020508,-8.804974555969238,-1.364725828170776,8.973509788513184,-1.896379590034485,9.979372024536133,8.87789535522461,-2.092870235443115,10.38110637664795,-1.248025298118591,8.948201179504395,10.911964416503906,1.024148106575012,9.825621604919434,7.143370151519775,0.598927080631256,-1.655329585075378,9.055438041687012,0.17973330616951,11.72398567199707,6.55319881439209,7.656638145446777,-1.953422546386719,0.170043811202049,6.398970127105713,0.818177461624146,11.655083656311035,-8.824540138244629,1.582600951194763,1.631948232650757,10.028656959533691,6.904930114746094,-2.316463947296143,8.21220874786377,-2.12169623374939,8.215746879577637,11.510058403015137,-0.989548623561859,8.86948013305664,8.817525863647461,-0.847540855407715,8.90513801574707,-8.79611873626709,0.210457652807236,12.789212226867676,10.626994132995605,9.91929817199707,9.617101669311523,-0.074843473732471,7.829875946044922,1.292953968048096,6.599926948547363,6.694653511047363,0.684634625911713,10.892690658569336,1.689891576766968,10.64690113067627,11.606369018554688,0.909858524799347,12.040915489196777,7.202481269836426,-1.885714173316956,10.598699569702148,9.001995086669922,0.611614346504211,8.513636589050293,1.476006031036377,10.52452278137207,11.664046287536621,11.690691947937012,-1.479243397712708,12.261422157287598,8.919979095458984,9.200974464416504,-1.611998438835144,8.7813081741333,7.4098219871521,-2.036791324615479,9.853584289550781,-1.437210202217102,10.67645263671875,-1.45849084854126,0.685604393482208,7.972955226898193,10.711174011230469,0.646946489810944,12.14830493927002,-1.222643971443176,8.784242630004883,-1.677728056907654,2.867990970611572,10.99952220916748,6.671107769012451,0.964459419250488,6.782369136810303,11.535082817077637,9.373279571533203,11.685320854187012,-1.988656401634216,6.450380325317383,0.106611602008343,12.736711502075195,9.776644706726074,8.736512184143066,10.488487243652344,6.019192695617676,-1.833435893058777,10.724329948425293,8.970057487487793,11.029302597045898,9.031499862670898,-1.775026082992554,6.499340057373047,10.946894645690918,10.639261245727539,2.88774299621582,-1.528505206108093,9.312654495239258,7.292142391204834,7.581591606140137,-1.34002411365509,9.12221622467041,9.240184783935547,-0.646968424320221,12.002655982971191,12.038982391357422,12.018050193786621,8.477046966552734,10.233342170715332,-2.280936717987061,11.75092887878418,-1.41795289516449,9.244828224182129,8.47282600402832,-1.159059405326843,7.535854339599609,-1.959714770317078,9.072015762329102,8.064064979553223,8.593719482421875,11.44583511352539,10.240910530090332,9.703526496887207,7.296112060546875,-1.611824512481689,7.216745853424072,7.201585292816162,0.39057332277298,9.119630813598633,12.312522888183594,7.042213916778564,6.688596725463867,-2.002780675888062,8.952839851379395,2.678481340408325,0.848227620124817,9.875161170959473,-1.868314743041992,8.834615707397461,10.074064254760742,10.86817741394043,0.341972500085831,11.204598426818848,9.001704216003418,9.3197660446167,-1.487097859382629,8.593435287475586,8.3854341506958,-1.525370955467224,9.01988697052002,6.340136528015137,6.817544460296631,-1.930599093437195,8.793416976928711,0.128944292664528,11.004905700683594,11.089786529541016,8.904390335083008,8.243009567260742,9.106470108032227,7.892688751220703,7.360514163970947,0.166763991117477,1.372982740402222,11.629081726074219,-1.889826416969299,10.788016319274902,2.847491502761841,8.206981658935547,3.919229030609131,8.500931739807129,-1.955690264701843,8.125144958496094,9.761910438537598,8.67636489868164,-1.790437579154968,9.798246383666992,9.899231910705566,-1.546598315238953,9.901596069335938,-1.765357732772827,9.41774845123291,-1.877423405647278,9.808204650878906,-0.656641483306885,6.879501819610596,8.613892555236816,-1.77428412437439,10.154273986816406,-1.284493684768677,8.818181991577148,12.162808418273926,6.99435567855835,8.932489395141602,-1.271609663963318,8.680975914001465,-1.243508458137512,7.422398567199707,-1.100976943969727,9.285333633422852,7.099509716033936,-2.309189081192017,11.07041072845459,7.478343486785889,7.54182767868042,-1.788747787475586,9.1063232421875,0.806766867637634,10.08281135559082,-1.039495587348938,10.661611557006836,-1.393818378448486,8.15384292602539,-1.011591076850891,10.659533500671387,9.029601097106934,-1.915911674499512,8.378937721252441,7.502751350402832,7.658600807189941,7.283844470977783,-0.973339557647705,11.007059097290039,10.806209564208984,8.495633125305176,8.790441513061523,0.020754769444466,12.41456413269043,9.268360137939453,10.856162071228027,0.766189336776733,8.943967819213867,10.86124324798584,7.449935436248779,0.189352497458458,10.926831245422363,1.280038356781006,11.887333869934082,8.551362991333008,6.549238681793213,9.335369110107422,9.898438453674316,0.142762035131454,12.061420440673828,12.761241912841797,11.75163745880127,12.257969856262207,12.135319709777832,0.713644862174988,8.225377082824707,10.724773406982422,7.342981338500977,-1.179042339324951,8.00168514251709,7.184884548187256,-0.878937840461731,8.877799034118652,0.436435848474503,12.188810348510742,3.593011617660522,9.722107887268066,3.727596521377563,3.657128810882568,0.126223027706146,9.17912483215332,8.216554641723633,8.562908172607422,-2.283477544784546,8.053382873535156,-1.099176168441772,9.010247230529785,12.096271514892578,9.66799545288086,11.659856796264648,8.519612312316895,8.488202095031738,6.830507278442383,-0.399295151233673,8.879559516906738,8.88688850402832,7.633309841156006,8.961338996887207,0.810517966747284,9.18613052368164,11.921143531799316,-0.101063407957554,8.210147857666016,1.576105952262878,7.971018314361572,0.454391688108444,8.790793418884277,9.198534965515137,10.835057258605957,7.836572170257568,8.98534870147705,-0.728220343589783,9.067792892456055,7.734999656677246,7.525463104248047,10.073973655700684,0.50197422504425,-1.680699229240417,8.891426086425781,9.7960205078125,11.143721580505371,8.578450202941895,8.41177749633789,7.522097110748291,0.051204819232225,5.975645542144775,10.492871284484863,8.165740013122559,9.055377006530762,7.926965713500977,11.983394622802734,11.848723411560059,9.909451484680176,-1.250568032264709,9.0444917678833,10.80841064453125,7.451443195343018,2.819459915161133,9.165719032287598,7.704222202301025,7.544100284576416,10.935853958129883,8.464377403259277,9.13157844543457,7.106685638427734,8.954560279846191,0.174435377120972,0.127455353736877,9.094096183776855,7.100029468536377,10.668877601623535,10.346598625183105,6.724699020385742,8.720930099487305,9.8659029006958,11.47677993774414,12.212005615234375,8.750535011291504,10.004504203796387,10.040231704711914,10.002937316894531,10.697293281555176,7.893987655639648,10.676952362060547,6.540032863616943,8.875664710998535,9.789102554321289,6.298597812652588,10.023551940917969,10.072870254516602,10.091120719909668,10.04473876953125,6.612466812133789,10.83537483215332,11.867361068725586,3.019629716873169,7.720180988311768,9.805289268493652,0.82013076543808,10.784423828125,10.197493553161621,0.566620469093323,9.814608573913574,7.92387580871582,0.766205251216888,9.775420188903809,8.847224235534668,8.506636619567871,-1.914705038070679,-8.766831398010254,9.963064193725586,11.876340866088867,6.775846004486084,9.55931568145752,-2.05023455619812,7.645405769348145,0.567261874675751,11.966657638549805,-1.707536220550537,8.877504348754883,-1.223543882369995,9.147077560424805,8.709997177124023,0.770691215991974,10.809183120727539,10.086807250976562,8.377427101135254,-1.194705843925476,8.609359741210938,2.404909372329712,7.929285526275635,8.605079650878906,8.94954776763916,9.27471923828125,10.29464340209961,10.668096542358398,10.837811470031738,-1.266125321388245,10.580041885375977,7.472013473510742,7.188435077667236,-2.384712696075439,2.384835004806519,9.722105979919434,9.210299491882324,8.703229904174805,7.669101238250732,-1.825516939163208,10.994972229003906,-1.441112399101257,9.383808135986328,10.90117359161377,10.825827598571777,7.111572265625,7.289439678192139,-2.282735824584961,8.183457374572754,-1.650265336036682,9.54870891571045,8.95518970489502,9.062673568725586,10.220930099487305,8.980327606201172,-1.172900557518005,8.314092636108398,-1.659782886505127,8.539645195007324,8.299883842468262,0.315632969141006,11.78371524810791,12.006150245666504,7.608344078063965,7.945651054382324,-1.209662795066833,7.484038829803467,7.465156078338623,7.570168018341064,8.465356826782227,1.303482532501221,6.573345184326172,7.443488597869873,7.540850639343262,-1.7550448179245,11.304139137268066,11.941682815551758,9.06463623046875,1.320947408676147,9.161943435668945,6.647030830383301,0.168229550123215,8.789193153381348,8.836627960205078,8.847501754760742,7.676974296569824,7.727772235870361,9.01644515991211,0.874908804893494,12.253035545349121,0.668188750743866,9.24272632598877,8.360759735107422,10.980191230773926,-2.195516586303711,8.014836311340332,8.241555213928223,-1.59130597114563,9.481910705566406,10.387694358825684,0.43928274512291,11.682955741882324,-1.137865543365479,9.015600204467773,12.258601188659668,11.112614631652832,9.179217338562012,0.327256232500076,11.088107109069824,10.734720230102539,9.036966323852539,7.690193176269531,10.496740341186523,9.869457244873047,9.608670234680176,7.971396923065186,7.449748039245605,7.329909324645996,-2.309326648712158,10.935147285461426,10.10090446472168,7.039559364318848,-1.002311587333679,10.928508758544922,8.917562484741211,0.662738680839539,0.209570229053497,10.417677879333496,9.785406112670898,7.891710758209229,8.309727668762207,1.673651576042175,8.630845069885254,7.607353687286377,2.308488607406616,0.550381600856781,9.978373527526855,11.442245483398438,0.325101584196091,2.093483924865723,10.315583229064941,10.708759307861328,10.698781967163086,0.469305992126465,10.72641658782959,9.576008796691895,0.140081912279129,10.708572387695312,10.778742790222168,9.69023609161377,10.786172866821289,10.767910957336426,0.117255814373493,9.93830394744873,10.037349700927734,10.685407638549805,10.73483657836914,10.750349044799805,7.103738307952881,1.922320604324341,2.297953605651855,10.736141204833984,6.54881763458252,9.265457153320312,-1.230906248092651,9.20956039428711,10.537991523742676,-1.38628888130188,7.784143447875977,7.680936336517334,6.098508358001709,7.322535037994385,7.546188831329346,-1.486202955245972,8.991618156433105,8.585159301757812,-2.310794115066528,8.200201034545898,9.784960746765137,-0.774953484535217,-1.259736657142639,8.825798034667969,8.828958511352539,8.703932762145996,9.642557144165039,8.287571907043457,7.276157379150391,10.698131561279297,-1.567245721817017,7.573394775390625,8.950186729431152,10.182625770568848,9.237129211425781,9.910833358764648,8.237716674804688,9.27582836151123,11.222692489624023,11.00859546661377,0.458178162574768,1.667235612869263,8.122645378112793,9.978266716003418,10.729057312011719,-0.045211091637611,8.775832176208496,8.120962142944336,7.57575798034668,8.357855796813965,7.258575916290283,7.282052040100098,7.780628204345703,-0.793067872524261,10.391582489013672,8.162663459777832,-1.937104940414429,11.837332725524902,9.769672393798828,9.882081985473633,-1.475653648376465,-1.160700082778931,8.3670015335083,8.59453296661377,7.383077144622803,10.445843696594238,-1.17651355266571,9.48958683013916,7.298541069030762,9.641636848449707,9.320905685424805,-1.21182656288147,8.511636734008789,8.146772384643555,8.829888343811035,-1.822885632514954,11.284745216369629,9.637299537658691,8.86487865447998,12.24722957611084,-2.111767053604126,11.042824745178223,7.913533687591553,9.543888092041016,-0.747805893421173,8.836812973022461,8.815751075744629,10.993395805358887,8.26403522491455,9.192741394042969,12.298280715942383,-1.835536956787109,8.597880363464355,-0.71370404958725,8.655638694763184,8.938725471496582,9.458518981933594,6.660031318664551,9.174629211425781,-1.5187748670578,6.78117561340332,8.41571044921875,11.835453033447266,10.582354545593262,-2.088301181793213,8.199592590332031,-1.746305346488953,9.818126678466797,9.553120613098145,9.91364860534668,0.819381654262543,10.069987297058105,7.36251163482666,-2.366655111312866,9.03287124633789,0.343620389699936,11.684410095214844,10.696542739868164,9.082470893859863,8.373964309692383,3.768864154815674,-1.964104294776917,3.878513097763062,4.159524917602539,-1.725016951560974,1.666977405548096,10.498373031616211,10.642690658569336,8.174796104431152,10.46524715423584,8.778302192687988,8.89952278137207,10.783689498901367,8.690226554870605,6.578540325164795,1.306612491607666,10.143301010131836,8.473686218261719,12.299726486206055,8.709418296813965,13.328282356262207,12.746806144714355,11.056922912597656,12.274621963500977,10.033315658569336,-0.34939169883728,12.020398139953613,7.905903816223145,7.828369617462158,6.794071674346924,0.405831307172775,-1.494253158569336,11.879741668701172,8.533437728881836,-0.82797759771347,7.601946830749512,8.921603202819824,-0.427793920040131,9.08642292022705,8.90766429901123,10.431974411010742,12.390302658081055,0.467280656099319,8.39587688446045,8.251163482666016,-1.067616581916809,13.175339698791504,10.645500183105469,-1.882721304893494,8.120046615600586,10.470836639404297,10.933080673217773,-1.92132306098938,10.300010681152344,-1.831836581230164,8.7418212890625,8.352620124816895,8.159547805786133,8.795027732849121,-1.593698143959045,8.508810997009277,9.1639986038208,-0.765917479991913,8.623998641967773,-0.40933758020401,2.808613538742065,0.04824822768569,11.852582931518555,9.586669921875,6.836636543273926,7.304661273956299,-0.818968176841736,11.412020683288574,8.732093811035156,-2.302574157714844,8.345599174499512,8.474696159362793,0.814767062664032,7.564522743225098,7.773506641387939,7.628593921661377,7.717426300048828,12.304315567016602,0.125708922743797,8.454354286193848,8.820350646972656,11.973824501037598,-1.581732749938965,8.34986686706543,7.162269592285156,0.362306177616119,10.492114067077637,8.696245193481445,9.042098045349121,10.064010620117188,7.341533660888672,7.330914974212646,9.269046783447266,7.50681734085083,8.957042694091797,-1.946395516395569,12.7527437210083,8.240506172180176,9.49191951751709,-0.898113250732422,12.342467308044434,9.583845138549805,8.286757469177246,-0.861177921295166,-0.763920962810516,8.273454666137695,9.844534873962402,8.88231372833252,11.067118644714355,8.572083473205566,5.983936786651611,10.520808219909668,7.065373420715332,9.593605041503906,8.350981712341309,3.472138404846191,10.569503784179688,9.379379272460938,7.544519424438477,10.150496482849121,0.473677217960358,6.551460266113281,8.345412254333496,7.809924125671387,-1.19922137260437,9.396449089050293,12.583187103271484,-1.226373672485352,8.58663558959961,-2.042468070983887,11.790277481079102,-1.51181173324585,8.852996826171875,9.889434814453125,10.39289665222168,-2.29218053817749,8.833698272705078,-1.390084624290466,9.73858642578125,9.02017879486084,11.74777889251709,10.542559623718262,-1.191628813743591,8.309989929199219,-1.908113360404968,9.795740127563477,12.712763786315918,9.02210807800293,9.807466506958008,-1.803228616714478,10.4628324508667,8.468531608581543,0.524667084217072,9.363929748535156,0.81005334854126,7.182351112365723,10.17142391204834,12.936975479125977,8.11686897277832,9.549118041992188,-1.415458679199219,10.414311408996582,10.722966194152832,8.593740463256836,0.143281251192093,6.31525993347168,8.437087059020996,0.785842001438141,10.192244529724121,-2.260580778121948,9.814093589782715,8.236236572265625,7.652818202972412,7.707013130187988,-1.434463143348694,8.024073600769043,8.06119155883789,10.25543212890625,-1.608538389205933,9.023473739624023,9.142376899719238,7.500893592834473,8.280994415283203,8.76427936553955,-1.364128112792969,9.876020431518555,10.287361145019531,10.474608421325684,8.292407035827637,0.112933486700058,13.155747413635254,0.5345339179039,7.980835437774658,11.773447036743164,8.362992286682129,8.881097793579102,11.710680961608887,0.146396800875664,11.945968627929688,8.42639446258545,1.384546995162964,10.996437072753906,12.889842987060547,10.53813362121582,0.11493743956089,10.959169387817383,7.357600212097168,10.576822280883789,-0.807025909423828,10.440145492553711,8.372902870178223,9.984177589416504,-1.163292288780212,8.518604278564453,0.454933077096939,12.97067928314209,-1.549083590507507,13.441707611083984,7.458559513092041,0.637022256851196,7.367380142211914,12.966828346252441,8.945377349853516,-2.023644924163818,11.739408493041992,6.572387218475342,0.225532069802284,12.811324119567871,-2.073547601699829,-2.011571645736694,7.24744987487793,8.210711479187012,9.326743125915527,9.428738594055176,-0.097959354519844,8.5222806930542,-1.493461728096008,9.964235305786133,10.474944114685059,0.336560040712357,12.795400619506836,7.690054416656494,-1.812444686889648,9.88098430633545,9.96638298034668,9.70064640045166,7.758053302764893,-0.974667429924011,10.601879119873047,8.326598167419434,9.982001304626465,-1.492889165878296,8.899419784545898,9.979252815246582,-1.966021299362183,9.48122787475586,9.795354843139648,9.447288513183594,-0.863154470920563,10.54560661315918,8.871062278747559,-1.282858729362488,11.001235961914062,10.62667465209961,9.582159042358398,8.588616371154785,-0.049115005880594,6.995016574859619,5.137566089630127,10.99982738494873,7.561200141906738,-1.107864260673523,8.49282455444336,-2.130471706390381,11.572513580322266,11.872257232666016,6.681795120239258,8.939826011657715,9.329498291015625,-2.048575401306152,11.513093948364258,-0.463361382484436,11.504993438720703,8.186614990234375,-0.138911604881287,11.061546325683594,7.693404674530029,7.286365032196045,-1.427310705184937,10.266777992248535,8.005846977233887,-0.944272339344025,8.298738479614258,8.959365844726562,10.485575675964355,-1.848670959472656,-1.03985321521759,9.781784057617188,9.77171516418457,8.88579273223877,0.063791863620281,11.70942497253418,0.893718779087067,-1.729447245597839,7.832057476043701,9.345478057861328,-2.140732526779175,11.348428726196289,0.973268330097198,11.38722038269043,12.676188468933105,7.129277229309082,10.12403678894043,-1.223155975341797,9.030563354492188,7.478092670440674,0.319894880056381,7.90259313583374,7.88035249710083,-1.700550198554993,7.739441394805908,10.284979820251465,7.287332534790039,0.308811336755753,12.968047142028809,6.654436111450195,6.742239475250244,0.355719387531281,11.656659126281738,11.673516273498535,-1.144570350646973,11.108916282653809,11.43871784210205,-1.449317574501038,7.847275257110596,11.064962387084961,0.55426412820816,9.593326568603516,9.80231761932373,11.030550003051758,0.343920975923538,1.845227360725403,-1.326252698898315,9.31662654876709,9.26109790802002,-1.891803741455078,9.117290496826172,9.699591636657715,0.34218168258667,9.020862579345703,11.149321556091309,6.674560546875,7.252099514007568,7.695150852203369,-1.715739488601685,10.31134033203125,11.034582138061523,-1.337619781494141,7.357736587524414,8.381869316101074,8.453644752502441,-1.674517869949341,10.237110137939453,12.846808433532715,-1.317302584648132,11.007709503173828,10.44250202178955,11.150128364562988,-1.932437062263489,9.173250198364258,-1.434900164604187,8.4036226272583,6.799876689910889,11.430261611938477,-1.297000765800476,6.637669563293457,7.526005268096924,11.246464729309082,11.743514060974121,12.275927543640137,-1.221954226493835,7.596803188323975,7.812863826751709,11.650979042053223,9.632122039794922,7.781742095947266,7.780543804168701,1.423638224601746,3.615678071975708,11.097020149230957,-1.271324157714844,10.698381423950195,9.874799728393555,8.4878568649292,12.264548301696777,11.219950675964355,9.107948303222656,-1.998756885528564,-1.41806435585022,12.449543952941895,7.63079833984375,8.169332504272461,-1.736175537109375,-1.760964751243591,9.194706916809082,7.466019153594971,9.737442970275879,6.805384159088135,11.050357818603516,8.783249855041504,9.129358291625977,-1.773878216743469,7.202597618103027,8.768234252929688,-0.362175554037094,7.404123783111572,7.868484497070312,8.57062816619873,10.32852554321289,10.333309173583984,-1.093661069869995,10.601161003112793,10.390875816345215,11.14271354675293,9.440759658813477,10.386157035827637,-1.351624965667725,10.83636474609375,0.094994761049747,8.849167823791504,1.312301993370056,0.000690409913659,12.86378002166748,12.885522842407227,13.011488914489746,9.069846153259277,0.757379114627838,-1.502018690109253,12.937341690063477,-0.329645484685898,13.003479957580566,8.76838207244873,11.928733825683594,1.729009747505188,12.068814277648926,7.858935832977295,-0.817958533763885,7.813486576080322,11.621583938598633,0.742639660835266,-1.694739580154419,11.658592224121094,13.005523681640625,6.856854915618896,6.926573753356934,11.248712539672852,0.416180342435837,11.063122749328613,8.5404691696167,1.348390102386475,13.095120429992676,10.70745849609375,10.240488052368164,10.423993110656738,10.500229835510254,0.09645738452673,-0.875125467777252,-2.095868825912476,0.706133365631104,7.632991313934326,7.418763637542725,11.65392017364502,-1.617598176002502,11.65333080291748,13.101521492004395,9.170136451721191,-1.087867140769958,12.881961822509766,11.190763473510742,10.877741813659668,0.644066214561462,-0.408464998006821,10.147808074951172,8.478158950805664,13.449994087219238,-0.139839172363281,7.576329231262207,11.176097869873047,8.286685943603516,11.065070152282715,10.945549964904785,7.578500270843506,-1.775362968444824,9.30378246307373,0.814694344997406,11.83354663848877,7.219355583190918,7.31091833114624,10.345610618591309,10.41801929473877,-2.036600351333618,-1.94975221157074,6.872919082641602,11.982756614685059,11.301788330078125,-1.448677778244019,9.295196533203125,10.11734676361084,10.169547080993652,8.781258583068848,8.390724182128906,8.479028701782227,2.39125919342041,0.744004666805267,7.58034610748291,6.908870220184326,6.61794376373291,6.41046142578125,8.262589454650879,11.125476837158203,11.53365707397461,8.493644714355469,8.25749397277832,-0.030213579535484,8.236632347106934,7.768323421478271,7.40069055557251,8.809309005737305,10.061367988586426,12.90979290008545,10.989818572998047,8.847821235656738,9.983128547668457,-2.324242115020752,-0.239448592066765,8.054054260253906,11.602335929870605,0.449664622545242,6.837174892425537,13.18009090423584,7.977194786071777,9.84649658203125,7.222087860107422,12.023552894592285,-0.306560873985291,7.503285884857178,10.712008476257324,7.644701957702637,9.919580459594727,-1.427213072776794,9.853259086608887,12.948980331420898,3.915133237838745,0.136082470417023,7.571072101593018,9.463091850280762,7.764296054840088,10.16215705871582,9.710787773132324,3.853646278381348,-0.886119544506073,7.454989433288574,9.232625007629395,10.73876953125,9.578678131103516,9.319700241088867,1.163196325302124,10.57848834991455,8.422073364257812,9.237646102905273,10.428400039672852,11.273446083068848,8.230093002319336,7.152042388916016,6.936136722564697,9.853260040283203,10.711820602416992,8.87746524810791,7.527212619781494,12.708291053771973,5.172383785247803,5.969810009002686,10.687023162841797,6.767669200897217,11.699372291564941,9.778514862060547,9.545135498046875,8.457060813903809,11.555621147155762,5.123339653015137,9.207219123840332,8.652111053466797,10.28499698638916,3.256630420684814,7.457108497619629,-1.348741888999939,11.690322875976562,9.121356010437012,10.699146270751953,11.445037841796875,-1.444211363792419,7.171184539794922,-1.252679824829102,10.1520414352417,9.29963207244873,6.578950881958008,11.34304428100586,0.711816191673279,11.806434631347656,9.005352020263672,8.385581970214844,11.840587615966797,7.12705659866333,0.674780488014221,0.306974500417709,6.577826023101807,6.653854846954346,0.119060695171356,6.564496040344238,7.910780429840088,6.686758041381836,7.773650646209717,0.39697077870369,6.670442581176758,6.463541984558105,6.507586479187012,13.39843463897705,-1.595662117004395,0.435314357280731,7.820571422576904,0.394193291664124,7.753915786743164,7.652225017547607,6.540180683135986,6.84196138381958,7.671703815460205,7.680655479431152,0.649308085441589,9.211221694946289,-1.554330468177795,9.239521980285645,6.530518531799316,9.284058570861816,6.829659461975098,-1.865540027618408,0.680154323577881,7.300694942474365,-1.452808141708374,9.318723678588867,9.031686782836914,8.585525512695312,7.818935871124268,7.936431884765625,0.225185006856918,10.572441101074219,9.038115501403809,9.953516006469727,9.860213279724121,10.33795166015625,10.663692474365234,-1.873421907424927,-2.262092351913452,8.563323974609375,11.335875511169434,10.283075332641602,2.794312000274658,0.774592220783234,10.034344673156738,-1.624243378639221,0.944154977798462,6.431501388549805,-1.710554003715515,8.457917213439941,10.40397834777832,12.008630752563477,11.114996910095215,-2.263330221176147,-1.768165588378906,7.060294628143311,-1.799822568893433,8.233016014099121,6.629915714263916,10.622097969055176,-1.973004698753357,10.664008140563965,-0.33201065659523,8.038399696350098,0.803295731544495,11.472491264343262,6.995529174804688,7.703044891357422,8.416913986206055,-1.706092119216919,10.063499450683594,8.810943603515625,-0.125719666481018,7.726445198059082,0.260633051395416,8.160340309143066,11.686731338500977,11.084577560424805,10.406332015991211,-2.081569671630859,7.173547744750977,-1.838078022003174,8.510639190673828,8.522150993347168,11.457574844360352,9.796707153320312,-1.613526582717896,10.370408058166504,-0.827730476856232,8.852532386779785,11.086647987365723,8.823854446411133,9.023564338684082,11.933929443359375,11.617538452148438,-1.847886562347412,-1.338167905807495,9.181286811828613,6.211977005004883,7.829411029815674,7.806028366088867,-1.914350748062134,9.889619827270508,11.224050521850586,8.37774658203125,8.316803932189941,10.32563591003418,-0.741394102573395,8.412405967712402,-1.733062982559204,8.275318145751953,6.321248054504395,9.630024909973145,-2.30835223197937,11.196240425109863,7.358108043670654,7.418303489685059,-1.749822020530701,6.518562793731689,-1.640681862831116,9.531800270080566,9.204448699951172,8.000398635864258,0.191291779279709,9.706737518310547,8.459142684936523,0.154150143265724,12.813360214233398,6.776267051696777,7.1932053565979,-1.615390062332153,8.364961624145508,11.66074275970459,0.236780509352684,8.952835083007812,8.767763137817383,10.604032516479492,7.732561588287354,12.942347526550293,9.331888198852539,13.32798957824707,0.993186056613922,7.821431159973145,11.560227394104004,0.585755228996277,13.372567176818848,1.052604198455811,-0.037680961191654,7.91929817199707,1.680108666419983,-0.042009066790342,13.281485557556152,1.165997624397278,7.633474349975586,-1.336358428001404,9.82225513458252,10.341296195983887,12.210948944091797,10.896846771240234,-1.948696970939636,6.225333690643311,-1.603022336959839,9.021261215209961,7.182027816772461,-2.050003290176392,11.858011245727539,7.628589153289795,0.767069816589355,11.830001831054688,6.725424766540527,-0.760898649692535,6.949436664581299,1.723147034645081,8.87399959564209,10.907394409179688,-1.475723505020142,9.182500839233398,11.160310745239258,0.803922653198242,9.276329040527344,11.451269149780273,7.431838989257812,0.295121759176254,8.416478157043457,6.690132141113281,-2.246009349822998,-1.775696635246277,6.539496898651123,6.429027557373047,10.04236888885498,-1.852560520172119,7.878884792327881,7.413937091827393,-1.647503972053528,10.31839370727539,11.673294067382812,6.328802585601807,9.664600372314453,-0.095198281109333,9.767233848571777,0.820125341415405,6.489264011383057,10.458935737609863,6.586580276489258,-0.961343824863434,7.52392053604126,-1.459959268569946,8.793810844421387,6.738800048828125,9.159870147705078,8.67796802520752,-1.917608380317688,10.160293579101562,9.351554870605469,-1.024610877037048,12.211809158325195,6.622483253479004,11.319707870483398,7.367504596710205,11.715543746948242,8.02808952331543,-0.324656039476395,-1.415159463882446,11.13111400604248,6.316911697387695,11.195555686950684,10.66177749633789,-1.135994553565979,10.848467826843262,11.019298553466797,7.589297294616699,0.750119686126709,6.596428394317627,0.27880671620369,9.64722728729248,12.739264488220215,12.939841270446777,9.017216682434082,12.323646545410156,10.714715003967285,10.81590747833252,8.59305477142334,-1.203454732894897,7.371096134185791,10.987265586853027,9.44443130493164,8.49620532989502,6.524539947509766,-1.398149609565735,10.673002243041992,7.270193099975586,-0.201800748705864,-2.235149145126343,6.272787094116211,8.005611419677734,11.9929838180542,2.859490633010864,8.629755020141602,-1.905715703964233,6.297001838684082,6.829768180847168,-0.105581544339657,10.816813468933105,-1.984694957733154,9.30357837677002,6.577662467956543,6.314951419830322,-2.052767753601074,6.911891460418701,8.825165748596191,0.114152073860168,11.12545394897461,11.112586975097656,6.769094944000244,7.877785682678223,9.492923736572266,10.167743682861328,-1.844941139221191,-1.408716440200806,6.469396114349365,9.121326446533203,6.710685729980469,6.570666313171387,-1.366789937019348,8.029790878295898,7.903256416320801,8.021280288696289,-1.210436463356018,8.343093872070312,6.616203308105469,7.336703300476074,6.39281702041626,-1.447872042655945,7.213084697723389,-1.206069469451904,6.530445575714111,-0.482869356870651,10.630488395690918,10.829330444335938,10.636239051818848,6.358320713043213,8.456742286682129,-1.444409370422363,6.305506706237793,7.544709205627441,11.647845268249512,7.579200267791748,7.778392791748047,8.443754196166992,8.189483642578125,-1.653173208236694,12.028117179870605,12.614331245422363,8.86522102355957,11.932574272155762,-0.700952887535095,8.489785194396973,11.233065605163574,8.442394256591797,0.362138330936432,6.349172592163086,-2.100956439971924,9.801539421081543,11.342344284057617,8.60324478149414,9.747845649719238,11.048065185546875,-0.725415349006653,7.876397609710693,8.687838554382324,0.751698315143585,13.375524520874023,9.904603004455566,10.085041999816895,10.169402122497559,-0.114383928477764,6.386685371398926,10.607826232910156,6.695289134979248,0.120843969285488,12.826749801635742,8.02298355102539,8.098974227905273,-0.268180280923843,8.56324291229248,8.092201232910156,11.72298812866211,13.444107055664062,10.82434368133545,9.691256523132324,0.222030982375145,10.883596420288086,6.333575248718262,11.835951805114746,8.935894966125488,7.730474472045898,-1.227458477020264,11.502744674682617,11.557995796203613,-1.923999547958374,12.09614086151123,-1.784104943275452,11.507416725158691,9.433478355407715,8.348186492919922,0.584989666938782,6.255640029907227,7.636456966400146,11.310025215148926,1.015593290328979,13.420587539672852,3.267830371856689,3.645865917205811,6.235097885131836,6.28919792175293,-1.205617547035217,-1.272007465362549,8.735517501831055,0.194533959031105,8.17737102508545,9.69221305847168,6.835674285888672,0.691786706447601,7.076437473297119,11.390434265136719,11.470178604125977,-0.496491402387619,13.695938110351562,6.833895206451416,10.227293968200684,10.500053405761719,-1.951294302940369,-2.13877534866333,7.442010402679443,7.357420921325684,10.04375171661377,8.084068298339844,0.105040565133095,10.993203163146973,-1.777886986732483,11.971479415893555,-1.921899557113647,7.327311515808105,7.566990375518799,-0.213912665843964,10.941607475280762,0.002368855522946,6.726916790008545,1.634123206138611,10.778029441833496,-0.080003552138805,13.555765151977539,1.504529237747192,7.764669895172119,-1.102299928665161,8.22846794128418,-0.602251648902893,7.304605007171631,8.095266342163086,11.567036628723145,7.906304836273193,1.849228501319885,12.27763557434082,6.71297025680542,9.862996101379395,11.545552253723145,10.882344245910645,-0.548154890537262,9.963859558105469,10.59994125366211,8.544204711914062,11.31541633605957,6.988158226013184,-2.090909004211426,7.756798267364502,7.498271465301514,6.68047046661377,7.59637451171875,6.269721031188965,10.3966646194458,8.498602867126465,12.000898361206055,11.329610824584961,11.333209991455078,11.120203018188477,11.773612976074219,8.224928855895996,8.893925666809082,7.342909812927246,8.56175422668457,11.739439010620117,11.181683540344238,5.169750690460205,11.681870460510254,11.878828048706055,13.183783531188965,11.214204788208008,11.128533363342285,11.242969512939453,6.553696155548096,10.87330150604248,8.619443893432617,9.152853965759277,9.510712623596191,13.223199844360352,6.87903881072998,8.458436012268066,8.130937576293945,11.405280113220215,7.567862987518311,10.512408256530762,6.642740726470947,3.800182104110718,11.66763973236084,7.088764667510986,10.705235481262207,9.312565803527832,9.80090045928955,7.111485481262207,6.490745544433594,7.595758438110352,3.682426929473877,3.734311819076538,11.454202651977539,9.750312805175781,11.259964942932129,11.493396759033203,9.56950569152832,11.038420677185059,11.405717849731445,6.535841464996338,13.524812698364258,3.831348180770874,10.788222312927246,7.42962646484375,3.681632280349731,10.651824951171875,7.45978307723999,10.857444763183594,11.270017623901367,11.421287536621094,8.91087532043457,11.047308921813965,3.83856463432312,9.095601081848145,13.470870018005371,11.895523071289062,8.254356384277344,7.46818208694458,10.594878196716309,11.142897605895996,11.882420539855957,11.885064125061035,11.468870162963867,6.340939044952393,13.414498329162598,6.784333229064941,5.133265495300293,5.167318820953369,1.922160029411316,1.786078453063965,1.891209602355957,2.886970996856689,4.060855388641357,11.931541442871094,11.497758865356445,12.868279457092285,11.622133255004883,6.903197288513184,3.654696226119995,6.629588603973389,9.313186645507812,9.012899398803711,8.890165328979492,11.099916458129883,11.597251892089844,3.726113080978394,10.28041934967041,10.160686492919922,10.542288780212402,11.641468048095703,9.557814598083496,8.652413368225098,7.697922229766846,10.016749382019043,10.681877136230469,9.306809425354004,11.574156761169434,10.549840927124023,9.233502388000488,8.53214168548584,10.661419868469238,8.530637741088867,10.756941795349121,7.148548126220703,7.493643760681152,7.131175518035889,7.72798490524292,11.08054256439209,8.986404418945312,11.323834419250488,9.76778507232666,7.769023895263672,6.437408447265625,9.858763694763184,10.057550430297852,10.956632614135742,9.489952087402344,9.73323917388916],"yaxis":"y","type":"scattergl"},{"customdata":[["A bill to provide the District of Columbia a voting seat and the State of Utah an<br>additional seat in the House of Representatives.","S1257","District of Columbia House Voting Rights Act of 2007 - (Sec. 2) Considers the District of<br>Columbia a congressional district for purposes of representation in the House of<br>Representatives. Declares that the District shall not be considered a state for purposes<br>of representation in the Senate. Applies to the District in the same manner as it applies<br>to a state the federal law providing for the fifteenth and subsequent decennial censuses<br>and for apportionment of Representatives in Congress. Limi..."],["A bill to provide the District of Columbia a voting seat and the State of Utah an<br>additional seat in the House of Representatives.","S160","Title I: District of Columbia House Voting Rights Act of 2009 - District of Columbia House<br>Voting Rights Act of 2009 - (Sec. 2) Considers the District of Columbia a congressional<br>district for purposes of representation in the House of Representatives. Declares that the<br>District shall not be considered a state for purposes of representation in the Senate.<br>Applies to the District in the same manner as it applies to a state the federal law<br>providing for the 15th and subsequent decennial censuses..."],["An original bill to prohibit Members of Congress and employees of Congress from using<br>nonpublic information derived from their official positions for personal benefit, and for<br>other purposes.","S2038","Stop Trading on Congressional Knowledge Act of 2012 or STOCK Act - (Sec. 3) Requires the<br>congressional ethics committees to issue interpretive guidance of the rules of each<br>chamber, including rules on conflicts of interest and gifts, with respect to the<br>prohibition against the use by Members of Congress and congressional employees (including<br>legislative branch officers and employees), as a means for making a private profit, of any<br>nonpublic information derived from their positions as Members ..."],["A bill to extend the Public Interest Declassification Act of 2000 until 2018 and for other<br>purposes.","S3564","Public Interest Declassification Board Reauthorization Act of 2012 - Amends the Public<br>Interest Declassification Act of 2000 to: (1) require any appointment to the Public<br>Interest Declassification Board to be for three years from the date of the appointment,<br>(2) remove the requirement that a Board member appointed to fill a vacancy before the<br>expiration of a term serve for the remainder of such term, and (3) extend Board authority<br>through 2014."],["A bill to improve, sustain, and transform the United States Postal Service.","S1789","21st Century Postal Service Act of 2012 - Title I: Postal Workforce Matters - (Sec. 101)<br>Requires the Office of Personnel Management (OPM) to determine, on an annual basis, the<br>amount of any surplus contributions by the U.S. Postal Service (USPS) to the Federal<br>Employees' Retirement System (FERS) and to transfer any such amount to USPS in<br>FY2011-FY2014 to be used to pay the cost of voluntary separation incentive payments for<br>postal employees who voluntarily separate from service before Octobe..."],["A bill to enhance the security and resiliency of the cyber and communications<br>infrastructure of the United States.","S3414","Cybersecurity Act of 2012 or the CSA2012 - Establishes a National Cybersecurity Council,<br>to be chaired by the Secretary of Homeland Security (DHS) (the Secretary), to: (1) conduct<br>sector-by-sector risk assessments; (2) identify categories of critical cyber<br>infrastructure (CCI categories); (3) coordinate the adoption of private-sector recommended<br>voluntary outcome-based cybersecurity practices; (4) establish an incentives-based<br>voluntary cybersecurity program for critical infrastructure to enc..."]],"hovertemplate":"sponsor_party=ID<br>x=%{x}<br>y=%{y}<br>title=%{customdata[0]}<br>bill_number=%{customdata[1]}<br>summary_short=%{customdata[2]}<extra></extra>","legendgroup":"ID","marker":{"color":"#00cc96","symbol":"circle"},"mode":"markers","name":"ID","showlegend":true,"x":[11.725442886352539,11.702947616577148,9.786172866821289,8.968936920166016,11.257264137268066,7.952998161315918],"xaxis":"x","y":[9.78563117980957,9.808292388916016,8.873682975769043,7.672048091888428,9.010026931762695,10.232624053955078],"yaxis":"y","type":"scattergl"},{"customdata":[["A bill to provide funding for the Low-Income Home Energy Assistance Program.","S3186","Warm in Winter and Cool in Summer Act - Makes appropriations for FY2008 for payments under<br>the Low-Income Home Energy Assistance Act of 1981 (LIHEAP Program)."],["A bill to amend the Internal Revenue Code of 1986 to extend certain expiring provisions,<br>and for other purposes.","S3985","Emergency Senior Citizens Relief Act of 2010 - Amends the Assistance for Unemployed<br>Workers and Struggling Families Act, title II of the American Recovery and Reinvestment<br>Tax Act of 2009, to extend: (1) through 2011 the $250 economic recovery payments to<br>recipients of Social Security, Supplemental Security Income (SSI) (title XVI of the Social<br>Security Act), railroad retirement benefits, and veterans disability compensation or<br>pension benefits; and (2) through 2011 the special tax credit for..."],["A bill to improve the provision of medical services and benefits to veterans, and for<br>other purposes.","S1982","Comprehensive Veterans Health and Benefits and Military Retirement Pay Restoration Act of<br>2014 - Amends federal veterans provisions to revise or add provisions concerning medical<br>services and other benefits provided to veterans and/or their dependents through the<br>Department of Veterans Affairs (VA) relating to the following areas:  survivor and<br>dependent matters, including benefits for children of certain veterans born with spina<br>bifida; education matters, including the approval of courses fo..."],["A joint resolution to direct the removal of United States Armed Forces from hostilities in<br>the Republic of Yemen that have not been authorized by Congress.","SJRES54","This joint resolution directs the President to remove U.S. Armed Forces from hostilities<br>in or affecting Yemen within 30 days unless Congress authorizes a later withdrawal date,<br>issues a declaration of war, or specifically authorizes the use of the Armed Forces.<br>Prohibited activites include providing in-flight fueling for non-U.S. aircraft conducting<br>missions as part of the conflict in Yemen. This joint resolution shall not affect any<br>military operations\u00a0directed at Al Qaeda. The President mu..."],["A joint resolution to direct the removal of United States Armed Forces from hostilities in<br>the Republic of Yemen that have not been authorized by Congress.","SJRES7","This joint resolution directs the President to remove U.S. Armed Forces from hostilities<br>in or affecting Yemen within 30 days unless Congress authorizes a later withdrawal date,<br>issues a declaration of war, or specifically authorizes the use of the Armed Forces.<br>Prohibited activities include providing in-flight fueling for non-U.S. aircraft conducting<br>missions as part of the conflict in Yemen. This joint resolution shall not affect any<br>military operations\u00a0directed at Al Qaeda. The President m..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2021 and setting forth the appropriate budgetary levels for<br>fiscal years 2022 through 2030.","SCONRES5","This concurrent resolution establishes the congressional budget for the federal government<br>for FY2021, sets forth budgetary levels for FY2022-FY2030, and provides reconciliation<br>instructions for legislation that increases the deficit.  The resolution recommends levels<br>and amounts for FY2021-FY2030 for    federal revenues,   new budget authority,   budget<br>outlays,   deficits,   public debt,   debt held by the public, and   the major functional<br>categories of spending.   It also recommends level..."],["A concurrent resolution setting forth the congressional budget for the United States<br>Government for fiscal year 2022 and setting forth the appropriate budgetary levels for<br>fiscal years 2023 through 2031.","SCONRES14","This concurrent resolution establishes the congressional budget for the federal government<br>for FY2022, sets forth budgetary levels for FY2023-FY2031, and provides reconciliation<br>instructions for legislation that increases the deficit. The resolution recommends levels<br>and amounts for FY2022-FY2031 for    federal revenues,   new budget authority,   budget<br>outlays,   deficits,   public debt,   debt held by the public, and   the major functional<br>categories of spending.   It also recommends levels..."]],"hovertemplate":"sponsor_party=I<br>x=%{x}<br>y=%{y}<br>title=%{customdata[0]}<br>bill_number=%{customdata[1]}<br>summary_short=%{customdata[2]}<extra></extra>","legendgroup":"I","marker":{"color":"#ab63fa","symbol":"circle"},"mode":"markers","name":"I","showlegend":true,"x":[8.284552574157715,11.889208793640137,11.767133712768555,6.235650539398193,6.213013648986816,11.506739616394043,11.531929016113281],"xaxis":"x","y":[1.234042167663574,8.625323295593262,12.676159858703613,10.752225875854492,10.7125244140625,13.244305610656738,13.226619720458984],"yaxis":"y","type":"scattergl"}],                        {"template":{"data":{"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"barpolar":[{"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"type":"carpet"}],"choropleth":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"choropleth"}],"contour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"contour"}],"contourcarpet":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"contourcarpet"}],"heatmap":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmap"}],"heatmapgl":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmapgl"}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"histogram2d":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2d"}],"histogram2dcontour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2dcontour"}],"mesh3d":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"mesh3d"}],"parcoords":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"parcoords"}],"pie":[{"automargin":true,"type":"pie"}],"scatter":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter"}],"scatter3d":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter3d"}],"scattercarpet":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattercarpet"}],"scattergeo":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergeo"}],"scattergl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergl"}],"scattermapbox":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermapbox"}],"scatterpolar":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolar"}],"scatterpolargl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolargl"}],"scatterternary":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterternary"}],"surface":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"surface"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}]},"layout":{"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"autotypenumbers":"strict","coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]],"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]},"colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"geo":{"bgcolor":"white","lakecolor":"white","landcolor":"#E5ECF6","showlakes":true,"showland":true,"subunitcolor":"white"},"hoverlabel":{"align":"left"},"hovermode":"closest","mapbox":{"style":"light"},"paper_bgcolor":"white","plot_bgcolor":"#E5ECF6","polar":{"angularaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"bgcolor":"#E5ECF6","radialaxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"scene":{"xaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"ternary":{"aaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"baxis":{"gridcolor":"white","linecolor":"white","ticks":""},"bgcolor":"#E5ECF6","caxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"title":{"x":0.05},"xaxis":{"automargin":true,"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","zerolinewidth":2},"yaxis":{"automargin":true,"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","zerolinewidth":2}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"x"}},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"y"}},"legend":{"title":{"text":"sponsor_party"},"tracegroupgap":0},"title":{"text":"Bill embeddings"}},                        {"responsive": true}                    ).then(function(){
                            
var gd = document.getElementById('622aa11b-3fe2-4b87-9eaf-63e56cb80b9b');
var x = new MutationObserver(function (mutations, observer) {{
        var display = window.getComputedStyle(gd).display;
        if (!display || display === 'none') {{
            console.log([gd, 'removed!']);
            Plotly.purge(gd);
            observer.disconnect();
        }}
}});

// Listen for the removal of the full notebook cells
var notebookContainer = gd.closest('#notebook-container');
if (notebookContainer) {{
    x.observe(notebookContainer, {childList: true});
}}

// Listen for the clearing of the current output cell
var outputEl = gd.closest('.output');
if (outputEl) {{
    x.observe(outputEl, {childList: true});
}}

                        })                };                });            </script>        </div>
</div>

</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<h2 id="Legislators">Legislators<a class="anchor-link" href="#Legislators">&#182;</a></h2>
</div>
</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>Legislators are stored in a custom utility container, <code>LegislatorsDataset</code>, that supports object-oriented syntax. The dataset can be indexed with integers/integer arrays or with the legislator's name.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs  ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[8]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">utils</span>
<span class="n">Legislators</span> <span class="o">=</span> <span class="n">utils</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="s1">&#39;Legislators.lds&#39;</span><span class="p">)</span>
</pre></div>

     </div>
</div>
</div>
</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[9]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1">#data for the 98th legislator in the dataset</span>
<span class="n">legislator</span> <span class="o">=</span> <span class="n">Legislators</span><span class="p">[</span><span class="mi">98</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="n">legislator</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">,</span> <span class="s1">&#39;,&#39;</span><span class="p">,</span> <span class="n">legislator</span><span class="o">.</span><span class="n">party</span><span class="p">,</span> <span class="s1">&#39;,&#39;</span><span class="p">,</span> <span class="s1">&#39;born&#39;</span><span class="p">,</span> <span class="nb">int</span><span class="p">(</span><span class="n">legislator</span><span class="o">.</span><span class="n">born</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;LEGFIN:&#39;</span><span class="p">,</span> <span class="n">legislator</span><span class="o">.</span><span class="n">PCAEmbed</span><span class="p">[:</span><span class="mi">25</span><span class="p">],</span> <span class="s1">&#39;</span><span class="se">\n\n</span><span class="s1">&#39;</span><span class="p">)</span>

<span class="c1">#data for Bernie Sanders</span>
<span class="n">legislator</span> <span class="o">=</span> <span class="n">Legislators</span><span class="p">[</span><span class="s1">&#39;Bernard Sanders&#39;</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="n">legislator</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">,</span> <span class="s1">&#39;,&#39;</span><span class="p">,</span> <span class="n">legislator</span><span class="o">.</span><span class="n">party</span><span class="p">,</span> <span class="s1">&#39;,&#39;</span><span class="p">,</span> <span class="s1">&#39;born&#39;</span><span class="p">,</span> <span class="nb">int</span><span class="p">(</span><span class="n">legislator</span><span class="o">.</span><span class="n">born</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;LEGFIN:&#39;</span><span class="p">,</span> <span class="n">legislator</span><span class="o">.</span><span class="n">PCAEmbed</span><span class="p">[:</span><span class="mi">25</span><span class="p">])</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>Bob Inglis , Republican , born 1959
LEGFIN: [-3.27235356 -6.02375187 -0.50332908 -2.4723337  -3.65208537  7.9564796
  0.13529143  1.63491337  4.30714908 -0.98585503 -0.05007575  0.73510133
  2.01849733 -0.82526612 -2.93319879 -0.26462454  1.0521009  -3.81069215
 -0.945935    1.76494526 -0.04935998 -2.80108031  1.26204541 -0.29245341
  0.22608475] 


Bernard Sanders , Independent , born 1941
LEGFIN: [-3.28931644 -6.02876524 -0.44734814 -2.35345017 -3.60984423  7.35313671
  2.92153433 -0.08715194  1.5027997   0.64404002  0.22049996 -0.41534232
  0.62138564 -0.34166728 -1.34331321  0.05483356  2.88611685 -4.80098081
 -1.12650044  0.27490721 -0.86000591 -1.50360436  1.14000214 -0.82206773
 -0.76723711]
</pre>
</div>
</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>Up to 100 PCA components are provided for each legislator, though only 25 components were used in the analyses (NB: we did not do hyperparameter searches). To get the <code>LEGFIN</code> vectors used in the paper, do:</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[10]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">legfin</span> <span class="o">=</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">PCAEmbed</span><span class="p">[:,:</span><span class="mi">25</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="n">legfin</span><span class="o">.</span><span class="n">shape</span><span class="p">)</span>

<span class="n">legislator2legfin</span> <span class="o">=</span> <span class="p">{</span> <span class="n">name</span><span class="p">:</span> <span class="n">vec</span> <span class="k">for</span> <span class="n">name</span><span class="p">,</span> <span class="n">vec</span> <span class="ow">in</span> <span class="nb">zip</span><span class="p">(</span><span class="n">Legislators</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">,</span> <span class="n">legfin</span><span class="p">)</span> <span class="p">}</span>
<span class="nb">print</span><span class="p">(</span><span class="n">legislator2legfin</span><span class="p">[</span><span class="s1">&#39;Joe Manchin&#39;</span><span class="p">])</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>(1025, 25)
[  3.70549172   8.90434185   0.51375574   4.55064225   8.19373823
 -17.07134377   9.12794892 -14.51685634 -16.84367339   2.69735876
  -1.40491085  -4.9628768   -3.23066361  -0.25645947   1.38758228
   2.95889201  10.4260434  -11.99700783  -2.56075763  -6.12155485
   0.13207417   6.90518821   2.86119826  -2.07734282  -3.57560696]
</pre>
</div>
</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>2d UMAP embeddings are also available, and these can be used for visualization.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[11]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">legislators_as_df</span> <span class="o">=</span> <span class="p">{</span> <span class="s1">&#39;name&#39;</span><span class="p">:</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">,</span> 
                      <span class="s1">&#39;party&#39;</span><span class="p">:</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">party</span><span class="p">,</span> 
                      <span class="s1">&#39;state&#39;</span><span class="p">:</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">state_abbrev</span><span class="p">,</span> 
                      <span class="s1">&#39;x&#39;</span><span class="p">:</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">UMAPVizEmbed</span><span class="p">[:,</span><span class="mi">0</span><span class="p">],</span> 
                      <span class="s1">&#39;y&#39;</span><span class="p">:</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">UMAPVizEmbed</span><span class="p">[:,</span><span class="mi">1</span><span class="p">]</span>
                    <span class="p">}</span>

<span class="n">legislators_as_df</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">(</span><span class="n">legislators_as_df</span><span class="p">)</span>
<span class="n">scatter</span> <span class="o">=</span> <span class="n">px</span><span class="o">.</span><span class="n">scatter</span><span class="p">(</span><span class="n">legislators_as_df</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="s1">&#39;x&#39;</span><span class="p">,</span> <span class="n">y</span><span class="o">=</span><span class="s1">&#39;y&#39;</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="s1">&#39;party&#39;</span><span class="p">,</span> 
                                        <span class="n">hover_data</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;name&#39;</span><span class="p">,</span> <span class="s1">&#39;party&#39;</span><span class="p">,</span> <span class="s1">&#39;state&#39;</span><span class="p">],</span> 
                                        <span class="n">title</span><span class="o">=</span><span class="s1">&#39;Legislator embeddings&#39;</span>
                    <span class="p">)</span>
<span class="n">scatter</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>



<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output " data-mime-type="text/html">
<div>                            <div id="6c67bdcd-d4e2-49ec-ac99-a8cf3b1e531b" class="plotly-graph-div" style="height:525px; width:100%;"></div>            <script type="text/javascript">                require(["plotly"], function(Plotly) {                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById("6c67bdcd-d4e2-49ec-ac99-a8cf3b1e531b")) {                    Plotly.newPlot(                        "6c67bdcd-d4e2-49ec-ac99-a8cf3b1e531b",                        [{"customdata":[["A. Donald McEachin","Democrat","VA"],["Abby Finkenauer","Democrat","IA"],["Abigail Davis Spanberger","Democrat","VA"],["Adam B. Schiff","Democrat","CA"],["Adam Smith","Democrat","WA"],["Adriano Espaillat","Democrat","NY"],["Al Green","Democrat","TX"],["Al Lawson","Democrat","FL"],["Alan B. Mollohan","Democrat","WV"],["Alan Grayson","Democrat","FL"],["Alan S. Lowenthal","Democrat","CA"],["Alan Stuart Franken","Democrat","MN"],["Albio Sires","Democrat","NJ"],["Alcee L. Hastings","Democrat","FL"],["Alexandria Ocasio-Cortez","Democrat","NY"],["Allen Boyd","Democrat","FL"],["Allyson Y. Schwartz","Democrat","PA"],["Alma S. Adams","Democrat","NC"],["Ami Bera","Democrat","CA"],["Amy Jean Klobuchar","Democrat","MN"],["Andr\u00e9 Carson","Democrat","IN"],["Andy Kim","Democrat","NJ"],["Andy Levin","Democrat","MI"],["Angie Craig","Democrat","MN"],["Ann Kirkpatrick","Democrat","AZ"],["Ann M. Kuster","Democrat","NH"],["Anna G. Eshoo","Democrat","CA"],["Anthony Brindisi","Democrat","NY"],["Anthony David Weiner","Democrat","NY"],["Anthony G. Brown","Democrat","MD"],["Antonio Delgado","Democrat","NY"],["Arlen Specter","Democrat","PA"],["Ayanna Pressley","Democrat","MA"],["Barbara A. Mikulski","Democrat","MD"],["Barbara Boxer","Democrat","CA"],["Barbara Lee","Democrat","CA"],["Barney Frank","Democrat","MA"],["Baron P. Hill","Democrat","IN"],["Bart T. Stupak","Democrat","MI"],["Barton Jennings Gordon","Democrat","TN"],["Ben Chandler","Democrat","KY"],["Ben E. Nelson","Democrat","NE"],["Ben McAdams","Democrat","UT"],["Ben Ray Luj\u00e1n","Democrat","NM"],["Benjamin L. Cardin","Democrat","MD"],["Bennie G. Thompson","Democrat","MS"],["Beto O\u2019Rourke","Democrat","TX"],["Betsy Markey","Democrat","CO"],["Betty Louise McCollum","Democrat","MN"],["Betty Sutton","Democrat","OH"],["Bill Foster","Democrat","IL"],["Bill J. Pascrell","Democrat","NJ"],["Bill Nelson","Democrat","FL"],["Blanche Lambert Lincoln","Democrat","AR"],["Bob Filner","Democrat","CA"],["Bob R. Etheridge","Democrat","NC"],["Bobby Bright","Democrat","AL"],["Bobby L. Rush","Democrat","IL"],["Bonnie Watson Coleman","Democrat","NJ"],["Brad Ashford","Democrat","NE"],["Brad J. Sherman","Democrat","CA"],["Bradley Scott Schneider","Democrat","IL"],["Brenda L. Lawrence","Democrat","MI"],["Brendan F. Boyle","Democrat","PA"],["Brian Emanuel Schatz","Democrat","HI"],["Brian M. Higgins","Democrat","NY"],["Bruce L. Braley","Democrat","IA"],["Byron L. Dorgan","Democrat","ND"],["C. A. Dutch Ruppersberger","Democrat","MD"],["Carol Shea-Porter","Democrat","NH"],["Carolyn B. Maloney","Democrat","NY"],["Carolyn Bourdeaux","Democrat","GA"],["Carolyn Cheeks Kilpatrick","Democrat","MI"],["Carolyn McCarthy","Democrat","NY"],["Catherine Cortez Masto","Democrat","NV"],["Cedric L. Richmond","Democrat","LA"],["Chaka Fattah","Democrat","PA"],["Charles A. Gonzalez","Democrat","TX"],["Charles A. Wilson","Democrat","OH"],["Charles B. Rangel","Democrat","NY"],["Charles E. Schumer","Democrat","NY"],["Charlie Crist","Democrat","FL"],["Chellie Pingree","Democrat","ME"],["Cheri Bustos","Democrat","IL"],["Chris Pappas","Democrat","NH"],["Chris Van Hollen","Democrat","MD"],["Chrissy Houlahan","Democrat","PA"],["Christopher Andrew Coons","Democrat","DE"],["Christopher J. Dodd","Democrat","CT"],["Christopher P. Carney","Democrat","PA"],["Christopher S. Murphy","Democrat","CT"],["Ciro D. Rodriguez","Democrat","TX"],["Claire McCaskill","Democrat","MO"],["Colin Z. Allred","Democrat","TX"],["Colleen W. Hanabusa","Democrat","HI"],["Collin Clark Peterson","Democrat","MN"],["Conor Lamb","Democrat","PA"],["Corrine Brown","Democrat","FL"],["Cory Anthony Booker","Democrat","NJ"],["Cynthia Axne","Democrat","IA"],["Dale E. Kildee","Democrat","MI"],["Dan Boren","Democrat","OK"],["Daniel B. Maffei","Democrat","NY"],["Daniel K. Inouye","Democrat","HI"],["Daniel T. Kildee","Democrat","MI"],["Daniel William Lipinski","Democrat","IL"],["Danny K. Davis","Democrat","IL"],["Darren Soto","Democrat","FL"],["David E. Price","Democrat","NC"],["David J. Trone","Democrat","MD"],["David Loebsack","Democrat","IA"],["David N. Cicilline","Democrat","RI"],["David Ross Obey","Democrat","WI"],["David Scott","Democrat","GA"],["David Wu","Democrat","OR"],["Dean Phillips","Democrat","MN"],["Debbie Ann Stabenow","Democrat","MI"],["Debbie Dingell","Democrat","MI"],["Debbie Mucarsel-Powell","Democrat","FL"],["Debbie Wasserman Schultz","Democrat","FL"],["Deborah Koff Ross","Democrat","NC"],["Deborah L. Halvorson","Democrat","IL"],["Debra A. Haaland","Democrat","NM"],["Dennis A. Cardoza","Democrat","CA"],["Dennis J. Kucinich","Democrat","OH"],["Dennis Moore","Democrat","KS"],["Denny Heck","Democrat","WA"],["Derek Kilmer","Democrat","WA"],["Diana L. DeGette","Democrat","CO"],["Dianne Feinstein","Democrat","CA"],["Dina Titus","Democrat","NV"],["Donald M. Payne","Democrat","NJ"],["Donald S. Beyer","Democrat","VA"],["Donald W. Norcross","Democrat","NJ"],["Donna E. Shalala","Democrat","FL"],["Donna F. Edwards","Democrat","MD"],["Donna M. Christensen","Democrat","VI"],["Doris O. Matsui","Democrat","CA"],["Doug Jones","Democrat","AL"],["Dwight Evans","Democrat","PA"],["Earl Blumenauer","Democrat","OR"],["Earl Ralph Pomeroy","Democrat","ND"],["Ed Case","Democrat","HI"],["Ed Pastor","Democrat","AZ"],["Ed Perlmutter","Democrat","CO"],["Eddie Bernice Johnson","Democrat","TX"],["Edolphus Towns","Democrat","NY"],["Edward J. Markey","Democrat","MA"],["Elaine G. Luria","Democrat","VA"],["Eleanor Holmes Norton","Democrat","DC"],["Elijah E. Cummings","Democrat","MD"],["Eliot L. Engel","Democrat","NY"],["Elissa Slotkin","Democrat","MI"],["Elizabeth H. Esty","Democrat","CT"],["Elizabeth Warren","Democrat","MA"],["Emanuel Cleaver","Democrat","MO"],["Eric J. J. Massa","Democrat","NY"],["Eric Swalwell","Democrat","CA"],["Evan Bayh","Democrat","IN"],["Filemon Vela","Democrat","TX"],["Fortney H. Stark","Democrat","CA"],["Frank J. Pallone","Democrat","NJ"],["Frank John Mrvan","Democrat","IN"],["Frank Kratovil","Democrat","MD"],["Frank R. Lautenberg","Democrat","NJ"],["Frederica S. Wilson","Democrat","FL"],["Frederick C. Boucher","Democrat","VA"],["Gabrielle Giffords","Democrat","AZ"],["Gary C. Peters","Democrat","MI"],["Gary L. Ackerman","Democrat","NY"],["Gene Eugene Green","Democrat","TX"],["Gene Taylor","Democrat","MS"],["George Kenneth Butterfield","Democrat","NC"],["George Miller","Democrat","CA"],["Gerald E. Connolly","Democrat","VA"],["Gilbert Ray Cisneros","Democrat","CA"],["Glenn C. Nye","Democrat","VA"],["Gloria Negrete McLeod","Democrat","CA"],["Grace F. Napolitano","Democrat","CA"],["Grace Meng","Democrat","NY"],["Greg Stanton","Democrat","AZ"],["Gregorio Kilili Camacho Sablan","Democrat","MP"],["Gregory W. Meeks","Democrat","NY"],["Gwen Graham","Democrat","FL"],["Gwen Moore","Democrat","WI"],["Hakeem S. Jeffries","Democrat","NY"],["Haley M. Stevens","Democrat","MI"],["Hansen Clarke","Democrat","MI"],["Harley Rouda","Democrat","CA"],["Harry E. Mitchell","Democrat","AZ"],["Harry M. Reid","Democrat","NV"],["Harry Teague","Democrat","NM"],["Heath Shuler","Democrat","NC"],["Heidi Heitkamp","Democrat","ND"],["Henry A. Waxman","Democrat","CA"],["Henry C. Johnson","Democrat","GA"],["Henry Cuellar","Democrat","TX"],["Howard L. Berman","Democrat","CA"],["Ike Skelton","Democrat","MO"],["Ilhan Omar","Democrat","MN"],["J. Luis Correa","Democrat","CA"],["Jackie Speier","Democrat","CA"],["Jacky Rosen","Democrat","NV"],["Jahana Hayes","Democrat","CT"],["Jake Daniel Auchincloss","Democrat","MA"],["Jamaal Bowman","Democrat","NY"],["James A. Himes","Democrat","CT"],["James E. Clyburn","Democrat","SC"],["James L. Oberstar","Democrat","MN"],["James Marshall","Democrat","GA"],["James P. McGovern","Democrat","MA"],["James P. Moran","Democrat","VA"],["James R. Langevin","Democrat","RI"],["Jamie Raskin","Democrat","MD"],["Jane Harman","Democrat","CA"],["Janice D. Schakowsky","Democrat","IL"],["Janice Hahn","Democrat","CA"],["Jared Forrest Golden","Democrat","ME"],["Jared Huffman","Democrat","CA"],["Jared Polis","Democrat","CO"],["Jason Altmire","Democrat","PA"],["Jason Crow","Democrat","CO"],["Jay Inslee","Democrat","WA"],["Jeanne Shaheen","Democrat","NH"],["Jeff Bingaman","Democrat","NM"],["Jeff Merkley","Democrat","OR"],["Jennifer Wexton","Democrat","VA"],["Jerrold L. Nadler","Democrat","NY"],["Jerry F. Costello","Democrat","IL"],["Jerry McNerney","Democrat","CA"],["Jesse Louis Jackson","Democrat","IL"],["Jes\u00fas G. Garc\u00eda","Democrat","IL"],["Jim A. McDermott","Democrat","WA"],["Jim Cooper","Democrat","TN"],["Jim Costa","Democrat","CA"],["Jim Matheson","Democrat","UT"],["Jim Webb","Democrat","VA"],["Jimmy Gomez","Democrat","CA"],["Jimmy Panetta","Democrat","CA"],["Joaquin Castro","Democrat","TX"],["Joe Baca","Democrat","CA"],["Joe Courtney","Democrat","CT"],["Joe Cunningham","Democrat","SC"],["Joe Donnelly","Democrat","IN"],["Joe Garcia","Democrat","FL"],["Joe Manchin","Democrat","WV"],["Joe Neguse","Democrat","CO"],["Joe Sestak","Democrat","PA"],["John A. Boccieri","Democrat","OH"],["John A. Yarmuth","Democrat","KY"],["John B. Larson","Democrat","CT"],["John Barrow","Democrat","GA"],["John C. Carney","Democrat","DE"],["John Conyers","Democrat","MI"],["John D. Dingell","Democrat","MI"],["John D. Rockefeller","Democrat","WV"],["John E. Walsh","Democrat","MT"],["John F. Reed","Democrat","RI"],["John F. Tierney","Democrat","MA"],["John Forbes Kerry","Democrat","MA"],["John Garamendi","Democrat","CA"],["John H. Adler","Democrat","NJ"],["John J. Hall","Democrat","NY"],["John K. Delaney","Democrat","MD"],["John McKee Spratt","Democrat","SC"],["John P. Murtha","Democrat","PA"],["John P. Sarbanes","Democrat","MD"],["John R. Lewis","Democrat","GA"],["John S. Tanner","Democrat","TN"],["John Tony Salazar","Democrat","CO"],["John W. Olver","Democrat","MA"],["John Wright Hickenlooper","Democrat","CO"],["Jon Ossoff","Democrat","GA"],["Jon Tester","Democrat","MT"],["Joseph Crowley","Democrat","NY"],["Joseph D. Morelle","Democrat","NY"],["Joseph P. Kennedy","Democrat","MA"],["Josh Gottheimer","Democrat","NJ"],["Josh Harder","Democrat","CA"],["Jos\u00e9 E. Serrano","Democrat","NY"],["Joyce Beatty","Democrat","OH"],["Juan Vargas","Democrat","CA"],["Judy M. Chu","Democrat","CA"],["Julia Brownley","Democrat","CA"],["Kaiali\u02bbi Kahele","Democrat","HI"],["Kamala Harris","Democrat","CA"],["Karen Bass","Democrat","CA"],["Katherine M. Clark","Democrat","MA"],["Kathleen A. Dahlkemper","Democrat","PA"],["Kathleen C. Hochul","Democrat","NY"],["Kathleen M. Rice","Democrat","NY"],["Kathy Castor","Democrat","FL"],["Kathy Ellen Manning","Democrat","NC"],["Katie Hill","Democrat","CA"],["Katie Porter","Democrat","CA"],["Kay Hagan","Democrat","NC"],["Keith Maurice Ellison","Democrat","MN"],["Kendra S. Horn","Democrat","OK"],["Kendrick Brett Meek","Democrat","FL"],["Kent Kent Conrad","Democrat","ND"],["Kim Schrier","Democrat","WA"],["Kirsten E. Gillibrand","Democrat","NY"],["Kurt Schrader","Democrat","OR"],["Kweisi Mfume","Democrat","MD"],["Kyrsten Sinema","Democrat","AZ"],["Larry Kissell","Democrat","NC"],["Laura Richardson","Democrat","CA"],["Lauren Underwood","Democrat","IL"],["Leonard L. Boswell","Democrat","IA"],["Lincoln Davis","Democrat","TN"],["Linda T. S\u00e1nchez","Democrat","CA"],["Lisa Blunt Rochester","Democrat","DE"],["Lizzie Fletcher","Democrat","TX"],["Lloyd A. Doggett","Democrat","TX"],["Lois Capps","Democrat","CA"],["Lois Frankel","Democrat","FL"],["Loretta B. Sanchez","Democrat","CA"],["Lori Trahan","Democrat","MA"],["Louise McIntosh Slaughter","Democrat","NY"],["Lucille Roybal-Allard","Democrat","CA"],["Lucy McBath","Democrat","GA"],["Luis V. Guti\u00e9rrez","Democrat","IL"],["Lynn C. Woolsey","Democrat","CA"],["Madeleine Dean","Democrat","PA"],["Madeleine Z. Bordallo","Democrat","GU"],["Marc A. Veasey","Democrat","TX"],["Marcia L. Fudge","Democrat","OH"],["Marcy Kaptur","Democrat","OH"],["Margaret Wood Hassan","Democrat","NH"],["Maria Cantwell","Democrat","WA"],["Marie Newman","Democrat","IL"],["Marilyn Strickland","Democrat","WA"],["Mark Begich","Democrat","AK"],["Mark DeSaulnier","Democrat","CA"],["Mark E. Udall","Democrat","CO"],["Mark H. Schauer","Democrat","MI"],["Mark Kelly","Democrat","AZ"],["Mark Pocan","Democrat","WI"],["Mark Pryor","Democrat","AR"],["Mark R. Warner","Democrat","VA"],["Mark S. Critz","Democrat","PA"],["Mark Takai","Democrat","HI"],["Mark Takano","Democrat","CA"],["Martin Heinrich","Democrat","NM"],["Mary Gay Scanlon","Democrat","PA"],["Mary Jo Kilroy","Democrat","OH"],["Mary L. Landrieu","Democrat","LA"],["Matthew A. Cartwright","Democrat","PA"],["Maurice D. Hinchey","Democrat","NY"],["Max Rose","Democrat","NY"],["Max S. Baucus","Democrat","MT"],["Maxine Waters","Democrat","CA"],["Mazie K. Hirono","Democrat","HI"],["Melissa L. Bean","Democrat","IL"],["Melvin L. Watt","Democrat","NC"],["Michael A. Arcuri","Democrat","NY"],["Michael E. Capuano","Democrat","MA"],["Michael E. McMahon","Democrat","NY"],["Michael F. Bennet","Democrat","CO"],["Michael F. Doyle","Democrat","PA"],["Michael H. Michaud","Democrat","ME"],["Michael M. Honda","Democrat","CA"],["Michelle Lujan Grisham","Democrat","NM"],["Mike Levin","Democrat","CA"],["Mike McIntyre","Democrat","NC"],["Mike Michael Thompson","Democrat","CA"],["Mike Quigley","Democrat","IL"],["Mike Ross","Democrat","AR"],["Mikie Sherrill","Democrat","NJ"],["Mondaire Jones","Democrat","NY"],["Nancy Pelosi","Democrat","CA"],["Nanette Diaz Barrag\u00e1n","Democrat","CA"],["Nicholas V. Lampson","Democrat","TX"],["Nick J. Rahall","Democrat","WV"],["Nikema Natassha Williams","Democrat","GA"],["Niki S. Tsongas","Democrat","MA"],["Nita M. Lowey","Democrat","NY"],["Norma J. Torres","Democrat","CA"],["Norman D. Dicks","Democrat","WA"],["Nydia M. Vel\u00e1zquez","Democrat","NY"],["Patrick J. Leahy","Democrat","VT"],["Patrick J. Murphy","Democrat","PA"],["Patrick Joseph Kennedy","Democrat","RI"],["Patrick Murphy","Democrat","FL"],["Patty Murray","Democrat","WA"],["Paul E. Kanjorski","Democrat","PA"],["Paul Tonko","Democrat","NY"],["Paul W. Hodes","Democrat","NH"],["Pedro R. Pierluisi","Democrat","PR"],["Pete Aguilar","Democrat","CA"],["Pete P. Gallego","Democrat","TX"],["Peter A. DeFazio","Democrat","OR"],["Peter J. Visclosky","Democrat","IN"],["Peter Welch","Democrat","VT"],["Phil Hare","Democrat","IL"],["Pramila Jayapal","Democrat","WA"],["R. Bradley Miller","Democrat","NC"],["Raja Krishnamoorthi","Democrat","IL"],["Raphael Gamaliel Warnock","Democrat","GA"],["Rashida Tlaib","Democrat","MI"],["Raul Ruiz","Democrat","CA"],["Ra\u00fal M. Grijalva","Democrat","AZ"],["Richard Blumenthal","Democrat","CT"],["Richard E. Neal","Democrat","MA"],["Richard J. Durbin","Democrat","IL"],["Richard M. Nolan","Democrat","MN"],["Rick Larsen","Democrat","WA"],["Ritchie John Torres","Democrat","NY"],["Robert Alan Brady","Democrat","PA"],["Robert C. Scott","Democrat","VA"],["Robert E. Andrews","Democrat","NJ"],["Robert Marion Berry","Democrat","AR"],["Robert Menendez","Democrat","NJ"],["Robert P. Casey","Democrat","PA"],["Robin L. Kelly","Democrat","IL"],["Ron Barber","Democrat","AZ"],["Ron James Kind","Democrat","WI"],["Ron Klein","Democrat","FL"],["Ron Wyden","Democrat","OR"],["Rosa L. DeLauro","Democrat","CT"],["Ruben Gallego","Democrat","AZ"],["Ruben Kihuen","Democrat","NV"],["Rub\u00e9n E. Hinojosa","Democrat","TX"],["Rush D. Holt","Democrat","NJ"],["Russ Carnahan","Democrat","MO"],["Russell D. Feingold","Democrat","WI"],["Salud O. Carbajal","Democrat","CA"],["Sam Farr","Democrat","CA"],["Sander M. Levin","Democrat","MI"],["Sanford D. Bishop","Democrat","GA"],["Sara Jacobs","Democrat","CA"],["Scott H. Peters","Democrat","CA"],["Scott Murphy","Democrat","NY"],["Sean Casten","Democrat","IL"],["Sean Patrick Maloney","Democrat","NY"],["Seth Moulton","Democrat","MA"],["Sharice Davids","Democrat","KS"],["Sheila Jackson Lee","Democrat","TX"],["Sheldon Whitehouse","Democrat","RI"],["Shelley Berkley","Democrat","NV"],["Sherrod Brown","Democrat","OH"],["Silvestre Reyes","Democrat","TX"],["Solomon P. Ortiz","Democrat","TX"],["Stacey E. Plaskett","Democrat","VI"],["Steny H. Hoyer","Democrat","MD"],["Stephanie Herseth Sandlin","Democrat","SD"],["Stephanie N. Murphy","Democrat","FL"],["Stephen F. Lynch","Democrat","MA"],["Steve Cohen","Democrat","TN"],["Steve Driehaus","Democrat","OH"],["Steve J. Israel","Democrat","NY"],["Steve Kagen","Democrat","WI"],["Steven A. Horsford","Democrat","NV"],["Steven R. Rothman","Democrat","NJ"],["Susan A. Davis","Democrat","CA"],["Susan Ellis Wild","Democrat","PA"],["Susie Lee","Democrat","NV"],["Suzan K. DelBene","Democrat","WA"],["Suzanne Bonamici","Democrat","OR"],["Suzanne M. Kosmas","Democrat","FL"],["Sylvia R. Garcia","Democrat","TX"],["TJ Cox","Democrat","CA"],["Tammy Baldwin","Democrat","WI"],["Tammy Duckworth","Democrat","IL"],["Ted Lieu","Democrat","CA"],["Teresa Leger Fernandez","Democrat","NM"],["Terri A. Sewell","Democrat","AL"],["Theodore E. Deutch","Democrat","FL"],["Thomas Edwards","Democrat","TX"],["Thomas Harkin","Democrat","IA"],["Thomas R. Suozzi","Democrat","NY"],["Thomas Richard Carper","Democrat","DE"],["Thomas S. P. Perriello","Democrat","VA"],["Tim Holden","Democrat","PA"],["Tim J. Ryan","Democrat","OH"],["Tim P. Johnson","Democrat","SD"],["Timothy H. Bishop","Democrat","NY"],["Timothy James Walz","Democrat","MN"],["Timothy Kaine","Democrat","VA"],["Tina Flint Smith","Democrat","MN"],["Tom Malinowski","Democrat","NJ"],["Tom O\u2019Halleran","Democrat","AZ"],["Tom S. Udall","Democrat","NM"],["Tony C\u00e1rdenas","Democrat","CA"],["Travis W. Childers","Democrat","MS"],["Tulsi Gabbard","Democrat","HI"],["Val Butler Demings","Democrat","FL"],["Veronica Escobar","Democrat","TX"],["Vicente Gonzalez","Democrat","TX"],["Walter Minnick","Democrat","ID"],["William L. Enyart","Democrat","IL"],["William L. Owens","Democrat","NY"],["William R. Keating","Democrat","MA"],["Wm. Lacy Clay","Democrat","MO"],["Xavier Becerra","Democrat","CA"],["Xochitl Torres Small","Democrat","NM"],["Yvette D. Clarke","Democrat","NY"],["Zachary T. Space","Democrat","OH"],["Zoe Lofgren","Democrat","CA"]],"hovertemplate":"party=%{customdata[1]}<br>x=%{x}<br>y=%{y}<br>name=%{customdata[0]}<br>state=%{customdata[2]}<extra></extra>","legendgroup":"Democrat","marker":{"color":"#636efa","symbol":"circle"},"mode":"markers","name":"Democrat","showlegend":true,"x":[15.419782638549805,17.51024627685547,17.80603790283203,15.464234352111816,12.612635612487793,15.963615417480469,15.604347229003906,16.497421264648438,14.139763832092285,15.496182441711426,15.813302040100098,17.683353424072266,15.09420108795166,15.326362609863281,16.125839233398438,17.355789184570312,15.664826393127441,15.9032621383667,16.949909210205078,17.616336822509766,15.099791526794434,17.633068084716797,16.077457427978516,17.778608322143555,17.418441772460938,17.108016967773438,15.599924087524414,17.605396270751953,15.376287460327148,15.145692825317383,17.7529354095459,17.059612274169922,16.707422256469727,16.155811309814453,17.679275512695312,15.534689903259277,16.127609252929688,17.990516662597656,15.54919147491455,14.313634872436523,17.58503532409668,17.503477096557617,17.75320053100586,15.865897178649902,16.10373306274414,14.537821769714355,16.017332077026367,17.955364227294922,15.604618072509766,17.948837280273438,16.477811813354492,15.794249534606934,17.269878387451172,16.593599319458008,15.240194320678711,17.53152084350586,17.41495704650879,15.572996139526367,15.77375602722168,17.288921356201172,16.54509925842285,16.983144760131836,15.8101224899292,16.151914596557617,17.41054344177246,15.637116432189941,17.697998046875,17.657588958740234,12.706961631774902,17.617944717407227,16.127010345458984,17.67985725402832,14.794118881225586,16.129894256591797,17.974611282348633,15.593274116516113,15.522375106811523,15.2416410446167,17.5006046295166,16.563810348510742,16.054176330566406,16.964609146118164,15.053976058959961,17.03952407836914,17.750272750854492,15.816561698913574,16.858009338378906,16.871366500854492,17.117387771606445,17.844844818115234,16.884925842285156,18.119461059570312,17.532962799072266,17.803308486938477,15.658486366271973,14.838987350463867,17.172489166259766,14.27364444732666,17.389789581298828,17.865217208862305,15.353215217590332,13.479605674743652,17.534578323364258,12.419899940490723,16.3607120513916,13.775740623474121,15.250539779663086,16.806581497192383,14.669941902160645,15.6041898727417,17.754728317260742,15.03475570678711,14.412607192993164,16.076679229736328,17.23848533630371,15.932384490966797,17.268831253051758,15.564001083374023,17.64575958251953,16.021690368652344,17.721813201904297,17.823915481567383,17.057220458984375,16.60274314880371,15.580084800720215,16.104394912719727,16.637327194213867,16.139589309692383,15.343035697937012,16.693382263183594,15.810497283935547,15.405402183532715,15.62533187866211,14.880636215209961,17.635560989379883,15.238790512084961,14.91866683959961,15.734676361083984,17.72101402282715,16.253267288208008,15.643426895141602,15.771262168884277,16.178916931152344,14.317667007446289,16.377031326293945,14.300736427307129,15.162957191467285,17.389101028442383,17.641958236694336,14.987603187561035,14.730612754821777,15.18332576751709,17.830902099609375,17.26692771911621,15.664688110351562,16.46477508544922,17.76534080505371,15.813117980957031,17.896541595458984,16.315044403076172,15.403570175170898,15.580288887023926,16.39203643798828,17.80995750427246,14.086769104003906,15.61644458770752,14.658628463745117,17.559173583984375,16.93002700805664,15.000572204589844,15.453574180603027,12.483694076538086,15.300698280334473,15.761954307556152,14.901494979858398,17.824748992919922,17.838520050048828,15.11217975616455,15.297089576721191,16.105358123779297,16.833215713500977,16.930349349975586,15.753745079040527,17.22472381591797,16.463623046875,15.910013198852539,17.432043075561523,15.366455078125,17.791257858276367,17.749284744262695,17.37352752685547,18.138206481933594,17.77786636352539,17.509906768798828,15.384766578674316,15.817695617675781,13.209741592407227,15.147886276245117,12.89190673828125,16.617338180541992,16.21377944946289,15.808694839477539,18.053646087646484,17.746492385864258,16.337345123291016,16.579509735107422,16.24226188659668,15.748618125915527,14.063597679138184,17.406570434570312,14.959379196166992,12.398490905761719,14.743227005004883,15.305240631103516,14.679279327392578,15.517289161682129,15.718639373779297,17.960304260253906,15.421849250793457,14.974892616271973,15.025684356689453,17.255996704101562,14.779634475708008,17.44269561767578,15.74992847442627,17.31761932373047,17.681655883789062,15.351336479187012,13.97469425201416,15.870527267456055,15.344948768615723,15.875755310058594,15.539273262023926,16.562782287597656,14.861579895019531,14.62402057647705,12.885762214660645,15.964219093322754,16.14718246459961,16.113113403320312,15.66498851776123,14.858323097229004,17.739456176757812,17.522314071655273,17.35305404663086,17.070446014404297,16.468963623046875,14.374730110168457,17.998918533325195,15.404922485351562,15.969021797180176,14.71181869506836,16.163196563720703,15.425928115844727,15.39992618560791,13.607087135314941,17.997114181518555,17.278459548950195,17.75428581237793,16.193546295166016,15.559016227722168,17.26549530029297,17.952621459960938,16.593326568603516,17.43407440185547,12.47672176361084,15.553375244140625,15.863773345947266,15.042657852172852,18.16667366027832,14.195927619934082,18.055034637451172,18.269948959350586,17.117124557495117,15.832897186279297,16.363853454589844,14.618958473205566,16.92742919921875,17.50288200378418,15.048986434936523,16.228736877441406,16.43177032470703,15.476593971252441,16.929519653320312,16.123640060424805,15.519965171813965,15.80788803100586,15.092743873596191,18.025880813598633,17.42766571044922,16.56153106689453,15.630803108215332,17.71605682373047,17.735612869262695,17.6192626953125,17.238258361816406,15.715728759765625,17.49889373779297,15.118242263793945,15.671041488647461,17.835365295410156,16.73996353149414,15.091111183166504,16.300655364990234,17.10036277770996,17.953271865844727,15.19404411315918,17.44139862060547,17.896127700805664,17.626619338989258,15.945981979370117,16.26299476623535,17.499300003051758,15.673115730285645,16.993261337280273,15.625462532043457,15.198260307312012,16.182231903076172,16.394786834716797,15.386592864990234,17.553695678710938,15.697083473205566,15.479205131530762,16.611120223999023,11.950584411621094,15.518924713134766,15.325250625610352,14.800921440124512,18.065954208374023,17.187175750732422,16.817291259765625,16.784955978393555,17.312257766723633,15.45823860168457,17.06877326965332,18.1325740814209,18.19951629638672,15.518653869628906,17.234458923339844,16.818649291992188,18.06252098083496,16.879711151123047,15.639984130859375,17.50419807434082,16.517141342163086,17.88566780090332,17.347436904907227,16.118955612182617,14.765563011169434,17.842422485351562,15.525293350219727,16.284954071044922,17.524131774902344,16.0201416015625,16.16354751586914,17.829421997070312,15.027017593383789,17.299936294555664,16.995450973510742,15.258346557617188,15.871851921081543,15.674436569213867,16.910127639770508,17.832834243774414,17.48939323425293,15.629219055175781,15.909965515136719,14.377776145935059,17.677356719970703,16.92877960205078,15.70269775390625,16.01871681213379,17.709386825561523,13.95739459991455,16.414098739624023,14.744128227233887,14.773161888122559,16.173351287841797,12.847012519836426,16.40068244934082,17.381511688232422,17.586225509643555,14.777497291564941,17.26719856262207,16.77530860900879,16.13817596435547,15.307938575744629,15.620455741882324,14.45166015625,16.760534286499023,17.33777618408203,13.766982078552246,12.761920928955078,15.179108619689941,18.01375961303711,15.810221672058105,15.423115730285645,16.68272590637207,18.107160568237305,16.380279541015625,16.84762191772461,15.547646522521973,17.33265495300293,15.54499340057373,16.880815505981445,17.58451271057129,13.841641426086426,17.193954467773438,15.921597480773926,15.28017807006836,14.630617141723633,14.614386558532715,16.870765686035156,16.8516902923584,15.546485900878906,17.463911056518555,15.655472755432129,17.42538833618164,15.90440845489502,15.439048767089844,16.32826042175293,17.353086471557617,15.915203094482422,15.130168914794922,17.132808685302734,18.041828155517578,16.34568214416504,15.850503921508789,15.936863899230957,16.32967185974121,17.954378128051758,16.710283279418945,17.841020584106445,17.373281478881836,17.014575958251953,16.48949432373047,17.371835708618164,15.908750534057617,17.501449584960938,15.905009269714355,17.213577270507812,12.640498161315918,15.5673246383667,16.39316177368164,15.597884178161621,17.62850570678711,16.874652862548828,15.019360542297363,15.252727508544922,17.95311164855957,15.842658042907715,18.10105323791504,17.167604446411133,14.527448654174805,14.334070205688477,17.400056838989258,17.50156021118164,16.89259147644043,15.519649505615234,17.465150833129883,16.138757705688477,17.900074005126953,17.776222229003906,17.87984275817871,15.781776428222656,17.071134567260742,15.823540687561035,15.940070152282715,16.982858657836914,15.819089889526367,16.787208557128906,16.153484344482422,18.1727237701416,17.720151901245117,14.965280532836914,15.274154663085938,17.792783737182617,17.62739372253418,17.446666717529297,17.697059631347656,17.496816635131836,17.108734130859375,17.431795120239258,16.085979461669922,17.55936050415039,15.467132568359375,17.058517456054688,16.43914794921875,16.408796310424805,17.758331298828125,17.94513511657715,17.783267974853516,15.178542137145996,16.500823974609375,15.925824165344238,17.9197998046875,15.682967185974121,17.879077911376953,15.851635932922363],"xaxis":"x","y":[4.192176818847656,8.100946426391602,8.003304481506348,4.85914421081543,3.27200984954834,5.802126407623291,5.359222412109375,4.412752628326416,5.466328144073486,5.88999080657959,5.697906017303467,1.2681849002838135,5.034409046173096,4.95950174331665,6.823619842529297,3.6823952198028564,2.0077412128448486,5.096898555755615,4.976370811462402,0.7055841684341431,5.243226051330566,8.213058471679688,6.09877347946167,7.642480850219727,5.56756591796875,5.124370098114014,3.1746819019317627,8.372589111328125,4.608950614929199,4.738832950592041,8.341384887695312,0.5550400018692017,7.347259998321533,1.5313966274261475,1.00565505027771,5.935507297515869,1.8250958919525146,4.906716346740723,3.763518810272217,1.6455276012420654,4.8081955909729,0.5638822317123413,7.381810665130615,3.620084285736084,1.4041494131088257,4.377470016479492,5.2188401222229,5.53366756439209,5.8797383308410645,5.278582572937012,2.4433555603027344,2.752556324005127,0.9038053154945374,0.5010576248168945,5.739949703216553,4.105016708374023,3.672487735748291,4.020228385925293,5.741280555725098,5.438604354858398,2.692958354949951,4.993250370025635,4.658554553985596,4.996783256530762,1.3922984600067139,4.681027412414551,1.9142694473266602,0.6542982459068298,3.4044628143310547,5.564175605773926,2.1055328845977783,8.318170547485352,5.034873962402344,2.219986915588379,1.4143149852752686,3.977120876312256,5.7680487632751465,3.3664112091064453,4.909813404083252,4.574361801147461,1.1639026403427124,5.357115745544434,5.90686559677124,4.8621954917907715,8.2924222946167,2.7786483764648438,5.797603607177734,1.120948076248169,1.1125439405441284,5.0931596755981445,1.863634705543518,4.924214839935303,0.9841492772102356,8.073862075805664,5.696861267089844,2.1921257972717285,7.123059272766113,4.524245262145996,1.2356605529785156,8.40846061706543,6.191027641296387,1.3934860229492188,5.440061569213867,3.4075863361358643,2.682319164276123,4.0297627449035645,3.8576819896698,4.913217067718506,4.675538539886475,-1.3652187585830688,5.15148401260376,6.184763431549072,4.908873081207275,1.9888343811035156,5.535227298736572,6.627484321594238,0.5444421768188477,3.998197317123413,8.179251670837402,4.004631996154785,7.972851276397705,5.018407821655273,6.842160701751709,3.3019189834594727,6.210521697998047,1.6246219873428345,2.768308401107788,3.4752190113067627,3.48097825050354,0.9999650716781616,5.725644111633301,4.98713493347168,2.9980807304382324,5.584573268890381,6.730101585388184,5.77166748046875,3.252643585205078,3.289262056350708,0.9100203514099121,5.200145721435547,2.60160231590271,1.9028594493865967,3.808393716812134,4.5503973960876465,2.1283326148986816,4.34568452835083,3.454394578933716,1.3383396863937378,8.14289379119873,5.763060092926025,5.016963005065918,4.576569080352783,8.343859672546387,5.4837799072265625,6.263186454772949,2.4640111923217773,4.859306812286377,3.9620981216430664,0.9086849689483643,4.298185348510742,3.203744411468506,3.269376039505005,6.05930757522583,4.666456699371338,4.491928577423096,5.116825103759766,2.3585939407348633,5.074254035949707,1.9544141292572021,4.374160289764404,3.5491929054260254,2.7077765464782715,3.7549118995666504,5.7361602783203125,4.178582668304443,8.27241039276123,4.391658782958984,6.083730220794678,5.356776714324951,4.750215530395508,5.362354278564453,6.6423516273498535,-0.02073291875422001,5.530712604522705,2.1038219928741455,4.41276741027832,7.832058429718018,6.221121311187744,8.410050392150879,5.344160079956055,0.5742398500442505,5.391105651855469,4.118699073791504,0.7074484825134277,3.274622917175293,4.332773208618164,1.6066855192184448,4.049971103668213,3.4891345500946045,7.241393566131592,4.084631443023682,3.577956438064575,1.8069915771484375,8.114890098571777,6.581727504730225,7.2203450202941895,1.6455121040344238,2.454596996307373,4.46286678314209,4.126214504241943,5.748607635498047,2.960177183151245,5.344194412231445,5.9405364990234375,4.720161437988281,6.250402927398682,5.639246940612793,8.239706993103027,5.870548725128174,6.2597551345825195,1.6935195922851562,8.472676277160645,4.046959400177002,0.7357415556907654,0.7296574115753174,1.0712947845458984,7.512125492095947,4.5894365310668945,4.321255207061768,5.485219478607178,5.77634334564209,5.9050188064575195,5.847873687744141,3.902498960494995,2.2814254760742188,1.234583854675293,2.4193530082702637,2.9807944297790527,3.7890095710754395,4.386007308959961,4.910012245178223,5.18626070022583,8.316545486450195,0.653152346611023,5.505870819091797,0.4707889258861542,5.278792381286621,5.480974197387695,5.396756649017334,5.080441951751709,2.230232000350952,1.8253426551818848,1.8393139839172363,4.348333358764648,3.4006612300872803,3.146838903427124,1.2500263452529907,0.7648715972900391,5.579586029052734,1.3231655359268188,5.898960590362549,4.870128631591797,5.5209126472473145,2.4553401470184326,4.490476131439209,3.0515990257263184,6.247044563293457,3.027566909790039,0.5152028799057007,4.9219651222229,4.73654842376709,1.1671603918075562,1.4950376749038696,1.071985125541687,1.792295217514038,5.438233375549316,5.702320575714111,4.693026065826416,8.551721572875977,5.529392242431641,2.193129539489746,2.380815029144287,5.630430698394775,5.237819671630859,6.4352240562438965,6.091547966003418,4.511123180389404,5.58559513092041,5.183658123016357,5.359323024749756,4.5324811935424805,3.6664373874664307,7.934248447418213,8.360711097717285,8.218562126159668,0.6692538261413574,6.194154262542725,8.279197692871094,6.237624645233154,1.1004754304885864,8.256912231445312,1.233085036277771,1.8398985862731934,6.047672748565674,3.7533459663391113,4.815037250518799,5.564026355743408,8.0239839553833,5.323215007781982,4.085434913635254,2.7235116958618164,2.0659236907958984,8.179506301879883,5.508071422576904,4.805087089538574,5.177166938781738,5.152310848236084,6.114197254180908,5.64558744430542,5.661609649658203,8.10096263885498,4.42913293838501,6.123172283172607,5.393215179443359,2.7204020023345947,4.212043285369873,4.525542259216309,5.293581008911133,1.436537265777588,2.5882632732391357,7.472169399261475,6.013213634490967,0.9590717554092407,5.882266998291016,0.6650390028953552,5.435631275177002,1.4711570739746094,6.346724033355713,0.5375445485115051,1.113836646080017,5.086322784423828,5.580544948577881,6.07056999206543,1.1095685958862305,5.666012287139893,5.495461940765381,0.7649363875389099,5.49651575088501,5.152730464935303,8.107452392578125,1.0350475311279297,2.328362226486206,1.5483007431030273,1.654026985168457,2.5329504013061523,5.05408239364624,5.100398540496826,4.763474941253662,0.9076102375984192,4.078763008117676,5.9447407722473145,5.9190239906311035,5.148477077484131,8.50400447845459,4.077364921569824,2.018670082092285,4.055602073669434,1.4248112440109253,8.049175262451172,7.701988697052002,3.0623114109039307,5.43248176574707,5.700684070587158,4.108451843261719,6.690108776092529,5.528165817260742,5.075387477874756,5.402801036834717,3.5199053287506104,2.667973518371582,1.2380510568618774,5.069300651550293,5.67488431930542,5.386528015136719,0.8462736010551453,1.9277397394180298,3.9483561515808105,4.970442295074463,3.3986151218414307,4.997859954833984,5.381499290466309,4.000693321228027,3.497422695159912,3.6813507080078125,5.473690032958984,6.262595176696777,5.359044551849365,4.766841888427734,1.2909387350082397,7.075079441070557,5.099654674530029,5.90412712097168,1.2891994714736938,1.2913938760757446,1.280182123184204,5.603837490081787,4.089993476867676,8.208420753479004,5.532344341278076,5.336124897003174,5.49871301651001,1.9789929389953613,1.032339096069336,0.6187798380851746,4.171384334564209,5.490304470062256,1.1678234338760376,5.145251750946045,0.9935880303382874,5.822131156921387,4.986457347869873,5.690927028656006,4.615585803985596,4.5323567390441895,4.699459075927734,1.3863977193832397,5.032940864562988,5.801060676574707,2.56276798248291,3.6031153202056885,7.979004383087158,3.9555342197418213,5.237727642059326,7.87552547454834,4.808725357055664,4.79564094543457,8.322988510131836,5.129220485687256,1.1847769021987915,2.8449697494506836,0.5612842440605164,3.2050070762634277,4.50308084487915,5.080593585968018,1.657662034034729,4.176610946655273,4.752508163452148,5.625694751739502,5.0214691162109375,5.434164524078369,2.9472973346710205,5.431323051452637,5.241119861602783,5.0503997802734375,4.74365234375,8.027541160583496,7.710405349731445,4.706888675689697,5.438968658447266,5.134670734405518,4.807668209075928,8.521570205688477,1.558488368988037,1.8990801572799683,4.941744327545166,7.631251811981201,1.8435614109039307,4.855142593383789,4.165751934051514,1.3695068359375,4.819125175476074,1.151890754699707,5.584333419799805,4.4068708419799805,5.389052867889404,-0.8521174788475037,5.52539587020874,5.329546928405762,0.7099747061729431,0.985769510269165,8.505086898803711,5.198243618011475,1.1252607107162476,3.62388277053833,3.8908603191375732,5.605204105377197,5.041525363922119,4.918302536010742,4.016618728637695,3.6128439903259277,5.360304832458496,5.168623447418213,5.6189985275268555,3.267714500427246,2.6441097259521484,8.193254470825195,4.68567419052124,4.888649940490723,4.213753700256348],"yaxis":"y","type":"scattergl"},{"customdata":[["A. Drew Ferguson","Republican","GA"],["Aaron Schock","Republican","IL"],["Adam Kinzinger","Republican","IL"],["Adrian Smith","Republican","NE"],["Alan Nunnelee","Republican","MS"],["Alexander X. Mooney","Republican","WV"],["Allen West","Republican","FL"],["Ander Crenshaw","Republican","FL"],["Andrew R. Garbarino","Republican","NY"],["Andrew S. Clyde","Republican","GA"],["Andy Biggs","Republican","AZ"],["Andy Harris","Republican","MD"],["Anh Cao","Republican","LA"],["Ann Marie Buerkle","Republican","NY"],["Ann Wagner","Republican","MO"],["Anthony Gonzalez","Republican","OH"],["Ashley Hinson","Republican","IA"],["August Lee Pfluger","Republican","TX"],["Aumua Amata Coleman Radewagen","Republican","AS"],["Austin Scott","Republican","GA"],["Barbara Comstock","Republican","VA"],["Barry Loudermilk","Republican","GA"],["Barry Moore","Republican","AL"],["Ben Cline","Republican","VA"],["Ben Quayle","Republican","AZ"],["Benjamin Eric Sasse","Republican","NE"],["Beth Ann Van Duyne","Republican","TX"],["Bill Cassidy","Republican","LA"],["Bill Flores","Republican","TX"],["Bill Francis Hagerty","Republican","TN"],["Bill Huizenga","Republican","MI"],["Bill Johnson","Republican","OH"],["Bill Posey","Republican","FL"],["Bill Shuster","Republican","PA"],["Billy Long","Republican","MO"],["Blaine Luetkemeyer","Republican","MO"],["Blake David Moore","Republican","UT"],["Blake Farenthold","Republican","TX"],["Bob Corker","Republican","TN"],["Bob Dold","Republican","IL"],["Bob Gibbs","Republican","OH"],["Bob Inglis","Republican","SC"],["Bob W. Goodlatte","Republican","VA"],["Brad R. Wenstrup","Republican","OH"],["Bradley Byrne","Republican","AL"],["Brett Guthrie","Republican","KY"],["Brian Babin","Republican","TX"],["Brian J. Mast","Republican","FL"],["Brian K. Fitzpatrick","Republican","PA"],["Brian P. Bilbray","Republican","CA"],["Bruce Poliquin","Republican","ME"],["Bruce Westerman","Republican","AR"],["Bryan Steil","Republican","WI"],["Byron Lowell Donalds","Republican","FL"],["C. Scott Franklin","Republican","FL"],["C. W. Bill Young","Republican","FL"],["Candice S. Miller","Republican","MI"],["Carlos A. Gimenez","Republican","FL"],["Carlos Curbelo","Republican","FL"],["Carol D. Miller","Republican","WV"],["Cathy McMorris Rodgers","Republican","WA"],["Charles Djou","Republican","HI"],["Charles E. Grassley","Republican","IA"],["Charles F. Bass","Republican","NH"],["Charles J. Fleischmann","Republican","TN"],["Charles W. Boustany","Republican","LA"],["Charles W. Dent","Republican","PA"],["Chip Cravaack","Republican","MN"],["Chip Roy","Republican","TX"],["Chris Collins","Republican","NY"],["Chris Jacobs","Republican","NY"],["Chris Stewart","Republican","UT"],["Christopher H. Smith","Republican","NJ"],["Christopher John Lee","Republican","NY"],["Christopher P. Gibson","Republican","NY"],["Cindy Hyde-Smith","Republican","MS"],["Clarence Owens","Republican","UT"],["Claudia Tenney","Republican","NY"],["Clay Higgins","Republican","LA"],["Cliff Stewart Bentz","Republican","OR"],["Clifford B. Stearns","Republican","FL"],["Connie Mack","Republican","FL"],["Cory Gardner","Republican","CO"],["Cresent Hardy","Republican","NV"],["Curtis Clawson","Republican","FL"],["Cynthia M. Lummis","Republican","WY"],["Dan Benishek","Republican","MI"],["Dan Bishop","Republican","NC"],["Dan Crenshaw","Republican","TX"],["Dan L. Burton","Republican","IN"],["Dan Newhouse","Republican","WA"],["Dan Sullivan","Republican","AK"],["Dana T. Rohrabacher","Republican","CA"],["Daniel E. Lungren","Republican","CA"],["Daniel M. Donovan","Republican","NY"],["Daniel Meuser","Republican","PA"],["Daniel Ray Coats","Republican","IN"],["Daniel Webster","Republican","FL"],["Darin LaHood","Republican","IL"],["Darrell E. Issa","Republican","CA"],["Dave Lee Camp","Republican","MI"],["Dave Trott","Republican","MI"],["David Alan Brat","Republican","VA"],["David B. McKinley","Republican","WV"],["David Cawthorn","Republican","NC"],["David G. Reichert","Republican","WA"],["David G. Valadao","Republican","CA"],["David Kustoff","Republican","TN"],["David P. Joyce","Republican","OH"],["David Perdue","Republican","GA"],["David Rivera","Republican","FL"],["David Rouzer","Republican","NC"],["David Schweikert","Republican","AZ"],["David T. Dreier","Republican","CA"],["David Vitter","Republican","LA"],["David W. Jolly","Republican","FL"],["David Young","Republican","IA"],["Dean Heller","Republican","NV"],["Deb Fischer","Republican","NE"],["Debbie Lesko","Republican","AZ"],["Dennis A. Ross","Republican","FL"],["Dennis Rehberg","Republican","MT"],["Denver Riggleman","Republican","VA"],["Devin G. Nunes","Republican","CA"],["Diana Harshbarger","Republican","TN"],["Diane Black","Republican","TN"],["Doc Hastings","Republican","WA"],["Don Bacon","Republican","NE"],["Don E. Young","Republican","AK"],["Donald A. Manzullo","Republican","IL"],["Doug Collins","Republican","GA"],["Doug LaMalfa","Republican","CA"],["Doug Lamborn","Republican","CO"],["Duncan D. Hunter","Republican","CA"],["Dusty Johnson","Republican","SD"],["Earl L. Carter","Republican","GA"],["Ed Whitfield","Republican","KY"],["Edward R. Royce","Republican","CA"],["Edward Scott Rigell","Republican","VA"],["Elise M. Stefanik","Republican","NY"],["Elton W. Gallegly","Republican","CA"],["Eric A. Crawford","Republican","AR"],["Eric I. Cantor","Republican","VA"],["Erik Paulsen","Republican","MN"],["Ernest Anthony Gonzales","Republican","TX"],["Evan Jenkins","Republican","WV"],["F. James Sensenbrenner","Republican","WI"],["Francis Rooney","Republican","FL"],["Francisco Canseco","Republican","TX"],["Frank A. LoBiondo","Republican","NJ"],["Frank D. Lucas","Republican","OK"],["Frank Guinta","Republican","NH"],["Frank R. Wolf","Republican","VA"],["Fred Stephen Upton","Republican","MI"],["Garland Barr","Republican","KY"],["Garret Graves","Republican","LA"],["Gary G. Miller","Republican","CA"],["Gary J. Palmer","Republican","AL"],["Geoff Davis","Republican","KY"],["George Holding","Republican","NC"],["George P. Radanovich","Republican","CA"],["George S. LeMieux","Republican","FL"],["Glenn Grothman","Republican","WI"],["Glenn Thompson","Republican","PA"],["Greg Gianforte","Republican","MT"],["Greg P. Walden","Republican","OR"],["Greg Pence","Republican","IN"],["Gregg Harper","Republican","MS"],["Gregory Francis Murphy","Republican","NC"],["Gus M. Bilirakis","Republican","FL"],["Guy Reschenthaler","Republican","PA"],["H. Morgan Griffith","Republican","VA"],["Harold Rogers","Republican","KY"],["Henry E. Brown","Republican","SC"],["Howard Coble","Republican","NC"],["Howard P. McKeon","Republican","CA"],["Ileana Ros-Lehtinen","Republican","FL"],["J. French Hill","Republican","AR"],["J. Randy Forbes","Republican","VA"],["Jack Bergman","Republican","MI"],["Jack Kingston","Republican","GA"],["Jackie Walorski","Republican","IN"],["Jacob LaTurner","Republican","KS"],["Jaime Herrera Beutler","Republican","WA"],["James B. Renacci","Republican","OH"],["James Comer","Republican","KY"],["James E. Risch","Republican","ID"],["James Lankford","Republican","OK"],["James M. Inhofe","Republican","OK"],["James R. Baird","Republican","IN"],["Jason Chaffetz","Republican","UT"],["Jason Lewis","Republican","MN"],["Jason T. Smith","Republican","MO"],["Jay Phillip Obernolte","Republican","CA"],["Jean Schmidt","Republican","OH"],["Jeb Hensarling","Republican","TX"],["Jeff Denham","Republican","CA"],["Jeff Duncan","Republican","SC"],["Jeff Flake","Republican","AZ"],["Jeff Lane Fortenberry","Republican","NE"],["Jeff M. Landry","Republican","LA"],["Jeff Miller","Republican","FL"],["Jefferson B. Sessions","Republican","AL"],["Jefferson Van Drew","Republican","NJ"],["Jenniffer Gonz\u00e1lez-Col\u00f3n","Republican","PR"],["Jerry Lee Carl","Republican","AL"],["Jerry Lewis","Republican","CA"],["Jerry Moran","Republican","KS"],["Jim Banks","Republican","IN"],["Jim Bridenstine","Republican","OK"],["Jim Bunning","Republican","KY"],["Jim Gerlach","Republican","PA"],["Jim Hagedorn","Republican","MN"],["Jim Jordan","Republican","OH"],["Jim W. DeMint","Republican","SC"],["Jo Ann H. Emerson","Republican","MO"],["Jo Bonner","Republican","AL"],["Jodey C. Arrington","Republican","TX"],["Jody B. Hice","Republican","GA"],["Joe G. Wilson","Republican","SC"],["Joe Linus Barton","Republican","TX"],["Joe Walsh","Republican","IL"],["John A. Barrasso","Republican","WY"],["John A. Boehner","Republican","OH"],["John A. Sullivan","Republican","OK"],["John Abney Culberson","Republican","TX"],["John B. Shadegg","Republican","AZ"],["John Bayard Taylor Campbell","Republican","CA"],["John Boozman","Republican","AR"],["John Cornyn","Republican","TX"],["John Eric Ensign","Republican","NV"],["John Faso","Republican","NY"],["John Fleming","Republican","LA"],["John H. Isakson","Republican","GA"],["John H. Rutherford","Republican","FL"],["John Hoeven","Republican","ND"],["John J. Duncan","Republican","TN"],["John Joyce","Republican","PA"],["John Katko","Republican","NY"],["John L. Mica","Republican","FL"],["John M. Shimkus","Republican","IL"],["John Neely Kennedy","Republican","LA"],["John Paul Kline","Republican","MN"],["John R. Carter","Republican","TX"],["John R. Curtis","Republican","UT"],["John R. Moolenaar","Republican","MI"],["John Ratcliffe","Republican","TX"],["John S. McCain","Republican","AZ"],["John Thune","Republican","SD"],["John W. Rose","Republican","TN"],["Jon Kyl","Republican","AZ"],["Jon Runyan","Republican","NJ"],["Joni Ernst","Republican","IA"],["Joseph J. Heck","Republican","NV"],["Joseph R. Pitts","Republican","PA"],["Joshua Hawley","Republican","MO"],["Judy Biggert","Republican","IL"],["K. Michael Conaway","Republican","TX"],["Karen Handel","Republican","GA"],["Katherine Cammack","Republican","FL"],["Kay Granger","Republican","TX"],["Keith J. Rothfus","Republican","PA"],["Kelly Armstrong","Republican","ND"],["Kelly Ayotte","Republican","NH"],["Kelly Loeffler","Republican","GA"],["Ken Buck","Republican","CO"],["Ken S. Calvert","Republican","CA"],["Kenny Ewell Marchant","Republican","TX"],["Kerry L. Bentivolio","Republican","MI"],["Kevin Cramer","Republican","ND"],["Kevin McCarthy","Republican","CA"],["Kevin P. Brady","Republican","TX"],["Kevin R. Hern","Republican","OK"],["Kevin Yoder","Republican","KS"],["Kristi L. Noem","Republican","SD"],["Lamar Alexander","Republican","TN"],["Lamar S. Smith","Republican","TX"],["Lance Gooden","Republican","TX"],["Larry Bucshon","Republican","IN"],["Lauren Opal Boebert","Republican","CO"],["Lee M. Zeldin","Republican","NY"],["Lee R. Terry","Republican","NE"],["Leonard Lance","Republican","NJ"],["Lincoln Diaz-Balart","Republican","FL"],["Lindsey O. Graham","Republican","SC"],["Lisa A. Murkowski","Republican","AK"],["Lisa C. McClain","Republican","MI"],["Liz Cheney","Republican","WY"],["Lloyd Smucker","Republican","PA"],["Lou Barletta","Republican","PA"],["Louie B. Gohmert","Republican","TX"],["Luke Messer","Republican","IN"],["Luther Strange","Republican","AL"],["Lynn A. Westmoreland","Republican","GA"],["Lynn Jenkins","Republican","KS"],["Mac M. Thornberry","Republican","TX"],["Marco Rubio","Republican","FL"],["Maria Elvira Salazar","Republican","FL"],["Mariannette Jane Miller-Meeks","Republican","IA"],["Mario Diaz-Balart","Republican","FL"],["Marjorie Taylor Greene","Republican","GA"],["Mark E. Amodei","Republican","NV"],["Mark E. Green","Republican","TN"],["Mark Edward Souder","Republican","IN"],["Mark Meadows","Republican","NC"],["Mark Steven Kirk","Republican","IL"],["Mark Walker","Republican","NC"],["Markwayne Mullin","Republican","OK"],["Marlin A. Stutzman","Republican","IN"],["Marsha W. Blackburn","Republican","TN"],["Marshall Sanford","Republican","SC"],["Martha McSally","Republican","AZ"],["Martha Roby","Republican","AL"],["Mary E. Miller","Republican","IL"],["Mary Whitaker Bono Mack","Republican","CA"],["Matt Gaetz","Republican","FL"],["Matt Salmon","Republican","AZ"],["Matthew Martin Rosendale","Republican","MT"],["Mia Love","Republican","UT"],["Michael B. Enzi","Republican","WY"],["Michael C. Burgess","Republican","TX"],["Michael Cloud","Republican","TX"],["Michael D. Crapo","Republican","ID"],["Michael G. Fitzpatrick","Republican","PA"],["Michael G. Grimm","Republican","NY"],["Michael Guest","Republican","MS"],["Michael K. Simpson","Republican","ID"],["Michael R. Turner","Republican","OH"],["Michael T. McCaul","Republican","TX"],["Michael Waltz","Republican","FL"],["Michele Marie Bachmann","Republican","MN"],["Michelle Eunjoo Steel","Republican","CA"],["Michelle Louise Helene Fischbach","Republican","MN"],["Mick Mulvaney","Republican","SC"],["Mike Bishop","Republican","MI"],["Mike Bost","Republican","IL"],["Mike Braun","Republican","IN"],["Mike Coffman","Republican","CO"],["Mike Gallagher","Republican","WI"],["Mike Garcia","Republican","CA"],["Mike Johanns","Republican","NE"],["Mike Johnson","Republican","LA"],["Mike Kelly","Republican","PA"],["Mike Lee","Republican","UT"],["Mike Pence","Republican","IN"],["Mike Pompeo","Republican","KS"],["Mike Rogers","Republican","AL"],["Mike Rounds","Republican","SD"],["Mimi Walters","Republican","CA"],["Mitch McConnell","Republican","KY"],["Mitt Romney","Republican","UT"],["Mo Brooks","Republican","AL"],["Nan Hayworth","Republican","NY"],["Nancy Ruth Mace","Republican","SC"],["Neal P. Dunn","Republican","FL"],["Nicole Malliotakis","Republican","NY"],["Olympia J. Snowe","Republican","ME"],["Orrin G. Hatch","Republican","UT"],["Parker Griffith","Republican","AL"],["Pat Roberts","Republican","KS"],["Patrick Edward Fallon","Republican","TX"],["Patrick J. Tiberi","Republican","OH"],["Patrick J. Toomey","Republican","PA"],["Patrick Meehan","Republican","PA"],["Patrick T. McHenry","Republican","NC"],["Paul A. Gosar","Republican","AZ"],["Paul C. Broun","Republican","GA"],["Paul Cook","Republican","CA"],["Paul D. Ryan","Republican","WI"],["Pete A. Sessions","Republican","TX"],["Pete Olson","Republican","TX"],["Pete Stauber","Republican","MN"],["Peter J. Roskam","Republican","IL"],["Peter James Meijer","Republican","MI"],["Peter T. King","Republican","NY"],["Phil Gingrey","Republican","GA"],["Ralph Abraham","Republican","LA"],["Ralph M. Hall","Republican","TX"],["Ralph Norman","Republican","SC"],["Rand Paul","Republican","KY"],["Randy Hultgren","Republican","IL"],["Randy K. Weber","Republican","TX"],["Randy L. Feenstra","Republican","IA"],["Randy Neugebauer","Republican","TX"],["Ra\u00fal R. Labrador","Republican","ID"],["Reid J. Ribble","Republican","WI"],["Renee L. Ellmers","Republican","NC"],["Richard B. Nugent","Republican","FL"],["Richard C. Shelby","Republican","AL"],["Richard G. Lugar","Republican","IN"],["Richard Hudson","Republican","NC"],["Richard L. Hanna","Republican","NY"],["Richard M. Burr","Republican","NC"],["Rick Berg","Republican","ND"],["Rick Scott","Republican","FL"],["Rick W. Allen","Republican","GA"],["Rob Bishop","Republican","UT"],["Rob Woodall","Republican","GA"],["Robert B. Aderholt","Republican","AL"],["Robert E. Latta","Republican","OH"],["Robert F. Bennett","Republican","UT"],["Robert G. Good","Republican","VA"],["Robert Hurt","Republican","VA"],["Robert J. Portman","Republican","OH"],["Robert J. Wittman","Republican","VA"],["Robert L. Turner","Republican","NY"],["Robert Pittenger","Republican","NC"],["Robert T. Schilling","Republican","IL"],["Robin C. Hayes","Republican","NC"],["Rod Blum","Republican","IA"],["Rodney Davis","Republican","IL"],["Rodney M. Alexander","Republican","LA"],["Rodney P. Frelinghuysen","Republican","NJ"],["Roger F. Wicker","Republican","MS"],["Roger Marshall","Republican","KS"],["Roger Williams","Republican","TX"],["Ron DeSantis","Republican","FL"],["Ron Estes","Republican","KS"],["Ron Johnson","Republican","WI"],["Ron Wright","Republican","TX"],["Ronny Lynn Jackson","Republican","TX"],["Roscoe G. Bartlett","Republican","MD"],["Ross Spano","Republican","FL"],["Roy Blunt","Republican","MO"],["Russ Fulcher","Republican","ID"],["Ryan Costello","Republican","PA"],["Ryan Zinke","Republican","MT"],["Sam B. Graves","Republican","MO"],["Sam Robert Johnson","Republican","TX"],["Sandy Adams","Republican","FL"],["Saxby Chambliss","Republican","GA"],["Scott Brown","Republican","MA"],["Scott DesJarlais","Republican","TN"],["Scott Garrett","Republican","NJ"],["Scott L. Fitzgerald","Republican","WI"],["Scott Perry","Republican","PA"],["Scott R. Tipton","Republican","CO"],["Scott Taylor","Republican","VA"],["Sean P. Duffy","Republican","WI"],["Shelley Moore Capito","Republican","WV"],["Spencer Thomas Bachus","Republican","AL"],["Stephanie I. Bice","Republican","OK"],["Stephen E. Buyer","Republican","IN"],["Stephen Lee Fincher","Republican","TN"],["Stevan E. Pearce","Republican","NM"],["Steve A. King","Republican","IA"],["Steve Austria","Republican","OH"],["Steve Daines","Republican","MT"],["Steve J. Chabot","Republican","OH"],["Steve Joseph Scalise","Republican","LA"],["Steve Knight","Republican","CA"],["Steve Russell","Republican","OK"],["Steve Southerland","Republican","FL"],["Steve Stivers","Republican","OH"],["Steve Stockman","Republican","TX"],["Steve Womack","Republican","AR"],["Steven C. LaTourette","Republican","OH"],["Steven C. Watkins","Republican","KS"],["Steven M. Palazzo","Republican","MS"],["Sue W. Myrick","Republican","NC"],["Susan M. Collins","Republican","ME"],["Susan W. Brooks","Republican","IN"],["Ted Budd","Republican","NC"],["Ted Cruz","Republican","TX"],["Ted Poe","Republican","TX"],["Ted S. Yoho","Republican","FL"],["Thad Cochran","Republican","MS"],["Thaddeus G. McCotter","Republican","MI"],["Thom Tillis","Republican","NC"],["Thomas A. Coburn","Republican","OK"],["Thomas E. Petri","Republican","WI"],["Thomas Garrett","Republican","VA"],["Thomas J. Rooney","Republican","FL"],["Thomas Massie","Republican","KY"],["Thomas P. Tiffany","Republican","WI"],["Tim Burchett","Republican","TN"],["Tim Griffin","Republican","AR"],["Tim Huelskamp","Republican","KS"],["Tim Murphy","Republican","PA"],["Tim Scott","Republican","SC"],["Tim Walberg","Republican","MI"],["Timothy V. Johnson","Republican","IL"],["Todd C. Young","Republican","IN"],["Todd Rokita","Republican","IN"],["Todd Tiahrt","Republican","KS"],["Tom Cole","Republican","OK"],["Tom Cotton","Republican","AR"],["Tom Emmer","Republican","MN"],["Tom Graves","Republican","GA"],["Tom MacArthur","Republican","NJ"],["Tom Marino","Republican","PA"],["Tom McClintock","Republican","CA"],["Tom P. Latham","Republican","IA"],["Tom Price","Republican","GA"],["Tom Rice","Republican","SC"],["Tom W. Reed","Republican","NY"],["Tommy Hawley Tuberville","Republican","AL"],["Tracey Robert Mann","Republican","KS"],["Trent Franks","Republican","AZ"],["Trent Kelly","Republican","MS"],["Trey Gowdy","Republican","SC"],["Trey Hollingsworth","Republican","IN"],["Trey Radel","Republican","FL"],["Troy Balderson","Republican","OH"],["Troy E. Nehls","Republican","TX"],["Van Taylor","Republican","TX"],["Vance McAllister","Republican","LA"],["Vern Buchanan","Republican","FL"],["Vicky Hartzler","Republican","MO"],["Victoria Spartz","Republican","IN"],["Virginia Brown-Waite","Republican","FL"],["Virginia Foxx","Republican","NC"],["W. Gregory Steube","Republican","FL"],["W. Todd Akin","Republican","MO"],["Walter B. Jones","Republican","NC"],["Walter Herger","Republican","CA"],["Warren Davidson","Republican","OH"],["Will Hurd","Republican","TX"],["William R. Timmons","Republican","SC"],["Young Oak Kim","Republican","CA"],["Yvette Herrell","Republican","NM"]],"hovertemplate":"party=%{customdata[1]}<br>x=%{x}<br>y=%{y}<br>name=%{customdata[0]}<br>state=%{customdata[2]}<extra></extra>","legendgroup":"Republican","marker":{"color":"#EF553B","symbol":"circle"},"mode":"markers","name":"Republican","showlegend":true,"x":[13.574300765991211,14.736144065856934,14.11970043182373,14.401362419128418,11.270486831665039,14.148990631103516,12.883638381958008,11.965359687805176,12.984704971313477,11.320747375488281,11.063365936279297,13.703207015991211,13.633828163146973,12.960721015930176,14.922090530395508,14.576024055480957,11.950441360473633,11.688578605651855,11.543818473815918,12.893457412719727,13.60350227355957,13.998991966247559,10.794808387756348,11.562110900878906,12.651532173156738,9.796666145324707,12.118002891540527,9.404520988464355,13.709392547607422,9.070233345031738,15.03533935546875,13.872798919677734,14.41578483581543,13.228111267089844,13.700740814208984,14.824371337890625,11.60693359375,12.923062324523926,10.094860076904297,14.11786937713623,12.677712440490723,12.07430648803711,13.382238388061523,13.879690170288086,11.801918029785156,14.222065925598145,12.209078788757324,13.475159645080566,13.79172420501709,13.338258743286133,14.787409782409668,12.248165130615234,14.706744194030762,11.300002098083496,11.801603317260742,12.30382251739502,13.73339557647705,11.523574829101562,13.685972213745117,12.552578926086426,14.36225700378418,13.0001220703125,9.602338790893555,13.087706565856934,11.736527442932129,15.056532859802246,14.029867172241211,13.119850158691406,10.943986892700195,14.059890747070312,12.79529094696045,11.73459529876709,14.012325286865234,14.38074016571045,13.786786079406738,9.626996040344238,11.436189651489258,13.438122749328613,11.306815147399902,11.855941772460938,13.573954582214355,13.02216625213623,9.778386116027832,13.381579399108887,12.586979866027832,10.29810905456543,13.246118545532227,10.932236671447754,12.664473533630371,12.174409866333008,13.127238273620605,9.310154914855957,11.583702087402344,13.110231399536133,13.615716934204102,13.244392395019531,8.93057632446289,12.502132415771484,14.609517097473145,13.36410140991211,15.021623611450195,13.393798828125,11.640385627746582,13.722725868225098,12.046687126159668,14.39016342163086,13.462674140930176,14.803133964538574,13.632552146911621,9.385567665100098,12.503705024719238,13.21653938293457,14.799412727355957,13.484399795532227,9.190921783447266,11.59632396697998,13.43568229675293,9.447649955749512,9.442300796508789,11.273551940917969,14.971613883972168,13.423151969909668,14.424899101257324,14.789366722106934,12.082834243774414,14.807130813598633,12.075823783874512,13.187183380126953,13.485153198242188,14.260523796081543,13.119156837463379,12.281594276428223,12.114404678344727,12.179343223571777,12.290855407714844,13.457180976867676,13.797811508178711,15.00888729095459,12.003573417663574,13.629558563232422,13.189382553100586,12.614447593688965,14.975420951843262,14.860238075256348,11.910783767700195,13.411629676818848,13.183573722839355,null,13.717007637023926,13.700034141540527,13.108418464660645,13.529069900512695,12.337018013000488,14.266629219055176,14.781682968139648,12.936264038085938,14.15807819366455,11.59599494934082,14.916607856750488,14.621771812438965,14.11341667175293,9.482385635375977,12.738062858581543,13.095237731933594,12.044447898864746,14.447968482971191,12.707297325134277,11.399869918823242,11.145211219787598,14.078436851501465,13.74156379699707,13.495110511779785,12.1669921875,12.495525360107422,12.574481964111328,12.328941345214844,14.01327896118164,14.78447151184082,12.103866577148438,13.129593849182129,12.073086738586426,14.094435691833496,11.85067081451416,13.533493041992188,14.371482849121094,12.403406143188477,9.633345603942871,10.897418975830078,10.114738464355469,11.889762878417969,13.513334274291992,13.50362777709961,14.235071182250977,11.375948905944824,12.671599388122559,14.952394485473633,13.519999504089355,13.102466583251953,9.292866706848145,12.213197708129883,11.847245216369629,12.018823623657227,10.745744705200195,16.591083526611328,13.17663860321045,11.317771911621094,12.169018745422363,9.829608917236328,11.781414031982422,11.871045112609863,14.849821090698242,14.415138244628906,12.943081855773926,13.100102424621582,9.779492378234863,13.753382682800293,11.479862213134766,13.348992347717285,12.849477767944336,12.179559707641602,13.73546314239502,13.371011734008789,10.007680892944336,14.88883113861084,13.716882705688477,12.301653861999512,14.075117111206055,15.040600776672363,9.339972496032715,9.696937561035156,10.78038501739502,13.397706985473633,11.603679656982422,9.233868598937988,11.972172737121582,9.009724617004395,13.334643363952637,13.81234073638916,13.667234420776367,12.806273460388184,14.068266868591309,9.577189445495605,14.75705623626709,12.053446769714355,12.225751876831055,12.67628288269043,12.94576358795166,9.537580490112305,9.823437690734863,14.40246868133545,9.616329193115234,13.602810859680176,9.491765975952148,13.31955337524414,14.300813674926758,9.098052978515625,14.787934303283691,12.914875984191895,13.24588394165039,11.480937957763672,11.86337661743164,14.382396697998047,12.440346717834473,9.36356258392334,9.186553001403809,10.976929664611816,12.214823722839355,15.007981300354004,12.840103149414062,10.2160062789917,14.722199440002441,14.770319938659668,12.34425163269043,14.375678062438965,14.243568420410156,9.8100004196167,13.347493171691895,14.641034126281738,13.928632736206055,11.476240158081055,13.916315078735352,13.859724998474121,14.14315128326416,14.137320518493652,9.563152313232422,10.084248542785645,12.122621536254883,13.733938217163086,13.467514038085938,13.343707084655762,11.30958080291748,14.3831148147583,9.306098937988281,13.166733741760254,14.4082670211792,12.243849754333496,9.266223907470703,12.011677742004395,12.01331901550293,13.304717063903809,11.050705909729004,12.987215995788574,11.420793533325195,11.730361938476562,12.40951919555664,9.316258430480957,13.165438652038574,13.555267333984375,14.427369117736816,13.981865882873535,12.558234214782715,9.297053337097168,11.663493156433105,10.966214179992676,14.11021614074707,11.747172355651855,12.073142051696777,8.733821868896484,14.258511543273926,9.862417221069336,14.164311408996582,11.311720848083496,10.01794719696045,14.049997329711914,14.039946556091309,11.357117652893066,11.90613842010498,12.315329551696777,12.604879379272461,12.964622497558594,12.092055320739746,11.768501281738281,11.916831970214844,14.500877380371094,13.396105766296387,13.768962860107422,8.733027458190918,13.376409530639648,13.163627624511719,12.513900756835938,14.329811096191406,11.384072303771973,14.811003684997559,9.682247161865234,13.653338432312012,13.699613571166992,11.906274795532227,9.574142456054688,14.019163131713867,9.950825691223145,15.941459655761719,11.708337783813477,13.922741889953613,11.877334594726562,13.420660972595215,11.849817276000977,15.654536247253418,9.674980163574219,11.75869083404541,9.589115142822266,11.488239288330078,15.128044128417969,9.332626342773438,14.229857444763184,14.935072898864746,10.878875732421875,13.01871109008789,13.715585708618164,15.020212173461914,14.882729530334473,13.47302532196045,13.501502990722656,14.942173957824707,12.056135177612305,13.987568855285645,14.194243431091309,11.855451583862305,12.687480926513672,11.155279159545898,9.015454292297363,14.55051326751709,12.007753372192383,12.25779914855957,15.231163024902344,11.829126358032227,13.085386276245117,14.216375350952148,12.877017974853516,10.154086112976074,8.958523750305176,13.874610900878906,13.770009994506836,9.67503833770752,13.144993782043457,8.31179141998291,12.906452178955078,12.07060432434082,13.130788803100586,11.779500007629395,13.580902099609375,8.989806175231934,11.600557327270508,14.933077812194824,9.49396800994873,12.126310348510742,11.184188842773438,14.68433952331543,13.097185134887695,null,11.31592082977295,13.959155082702637,11.55617904663086,12.062959671020508,9.904657363891602,13.929067611694336,14.990838050842285,11.884783744812012,14.104853630065918,9.177701950073242,11.33770751953125,11.241138458251953,12.219062805175781,11.708595275878906,9.581603050231934,11.298263549804688,13.821758270263672,12.831311225891113,13.322867393493652,14.683260917663574,12.874640464782715,9.2421293258667,9.183137893676758,11.377553939819336,15.164043426513672,11.509150505065918,11.104676246643066,14.310831069946289,13.147403717041016,14.685993194580078,10.03963851928711,15.11758804321289,11.493666648864746,14.236095428466797,14.705774307250977,13.357993125915527,12.168689727783203,12.75670051574707,9.607513427734375,13.128922462463379,14.446945190429688,13.20144271850586,11.619770050048828,13.01065444946289,14.958402633666992,11.982067108154297,12.172139167785645,13.643269538879395,13.021581649780273,11.36639404296875,14.067791938781738,9.702781677246094,13.769099235534668,10.990489959716797,9.89696979522705,12.673303604125977,12.247904777526855,9.866641998291016,14.700486183166504,9.57558822631836,8.939079284667969,13.646414756774902,12.321569442749023,12.03526782989502,12.204710960388184,10.875016212463379,11.895824432373047,12.353930473327637,11.396239280700684,14.342936515808105,10.068840026855469,13.005972862243652,14.273674964904785,10.128334045410156,13.880837440490723,12.069384574890137,11.971139907836914,9.48964786529541,14.868821144104004,13.436570167541504,13.868731498718262,12.882800102233887,11.794445991516113,13.914993286132812,14.862516403198242,14.127616882324219,14.95145034790039,9.315350532531738,11.812399864196777,12.002145767211914,11.4179048538208,12.713546752929688,14.793635368347168,13.350536346435547,13.494132041931152,11.809247016906738,14.390273094177246,12.631184577941895,14.80050277709961,12.286943435668945,11.705778121948242,14.838000297546387,13.736722946166992,11.511890411376953,12.100418090820312,12.356857299804688,15.09918212890625,14.542145729064941,13.41651725769043,14.261330604553223,12.278849601745605,10.914012908935547],"xaxis":"x","y":[0.11755199730396271,0.4342687129974365,0.7460565567016602,0.12032444030046463,1.3201217651367188,-1.490602970123291,-0.824741542339325,2.3509020805358887,-2.083693742752075,-1.4768574237823486,-0.8512513637542725,0.41681429743766785,-0.7815067172050476,-1.091872215270996,-0.756498396396637,-1.320226788520813,-1.9897552728652954,-1.2848577499389648,-1.6666780710220337,0.26098501682281494,-1.6256122589111328,-0.6143863797187805,-0.6993957757949829,-0.941779375076294,0.6614288091659546,2.3713252544403076,-1.9961881637573242,1.9617711305618286,1.0626544952392578,2.6903817653656006,-0.9964181184768677,0.5521464347839355,-0.5217479467391968,2.6064236164093018,1.2515002489089966,-1.0638395547866821,-1.6179611682891846,1.1200060844421387,1.9549446105957031,-1.0956532955169678,0.09927184134721756,1.87290358543396,0.8664303421974182,0.10975935310125351,1.4971777200698853,0.9082176089286804,1.2916088104248047,-1.8367457389831543,-1.225532054901123,-0.4971069097518921,-1.374221682548523,0.7241384983062744,-1.1777191162109375,-1.9019049406051636,-1.7362157106399536,2.6825859546661377,3.4821887016296387,-2.297640085220337,-1.6882658004760742,-1.3051226139068604,0.544208288192749,-0.9883303642272949,2.719167947769165,-0.9736587405204773,1.507453203201294,0.7004804611206055,0.21749278903007507,-1.3365617990493774,-0.8725234866142273,0.4159594178199768,-1.9401555061340332,1.23235023021698,4.463412761688232,-0.6206438541412354,-1.3334873914718628,2.3985698223114014,-1.9938749074935913,-1.8858637809753418,-0.30410340428352356,-1.2620009183883667,1.1137291193008423,1.1004481315612793,2.5024001598358154,-0.9900075197219849,-1.4931782484054565,1.5779911279678345,-0.7769431471824646,-1.0030288696289062,0.9532473087310791,-0.2283533215522766,-0.45513999462127686,2.7707135677337646,0.1928071826696396,-0.7562628388404846,-1.6208322048187256,-1.6537795066833496,2.2803447246551514,-0.2447139173746109,0.012600022368133068,0.8362733125686646,0.8927245140075684,-0.6872340440750122,-0.71452397108078,-0.0019558840431272984,-2.3499536514282227,0.04866385459899902,-1.1231040954589844,-1.2572133541107178,-1.0362048149108887,2.6928954124450684,-0.7395497560501099,-0.12079239636659622,-0.369731605052948,0.8315621614456177,2.237541675567627,2.222872257232666,-1.7325085401535034,2.1365814208984375,2.7509844303131104,-0.8675603270530701,-1.0039912462234497,1.82572340965271,-1.4561710357666016,0.37873920798301697,-1.9913314580917358,0.3458217680454254,0.729665994644165,-1.8533531427383423,3.8669536113739014,-0.17097704112529755,0.288262277841568,-0.6732310652732849,1.828474760055542,2.4747297763824463,-1.2253966331481934,0.4714028835296631,0.9152335524559021,-0.9123716354370117,0.2850889563560486,-1.5494070053100586,1.1586990356445312,0.5365904569625854,0.9462391138076782,0.24741898477077484,-2.4521701335906982,-0.47652003169059753,0.9245693683624268,null,-1.047587513923645,3.7915797233581543,0.49820438027381897,-0.9689109325408936,2.642869472503662,0.902122974395752,-0.8868091702461243,1.2228914499282837,-0.9768842458724976,1.545650839805603,0.5391738414764404,-0.037521593272686005,1.256718635559082,1.97246515750885,-1.3161215782165527,0.18944764137268066,-1.414355993270874,0.9253058433532715,-0.42050060629844666,1.5365514755249023,-0.9828904867172241,0.9144946932792664,-1.0862971544265747,0.725304365158081,2.142632246017456,1.3612322807312012,1.4620418548583984,2.8473401069641113,3.5686419010162354,-0.9268700480461121,2.570490837097168,-1.510785460472107,1.5931912660598755,-0.26995405554771423,-1.5660446882247925,-0.6944310665130615,-0.3086691200733185,-0.17695245146751404,2.136394500732422,1.5023247003555298,2.29573655128479,-0.9856012463569641,1.0149986743927002,-1.9619331359863281,-0.031380511820316315,-1.2570571899414062,0.45908623933792114,-0.9557195901870728,-1.1992268562316895,0.6956781148910522,2.0459210872650146,1.4286941289901733,-0.08757583051919937,2.240168809890747,1.99202299118042,4.854819297790527,2.0952773094177246,1.336491584777832,2.5350160598754883,2.540506601333618,0.6416271328926086,1.061677098274231,-0.3888896703720093,0.11840901523828506,-2.0953619480133057,0.6101770997047424,1.5749980211257935,1.7719807624816895,1.8569282293319702,0.09540741890668869,0.07940398901700974,1.6873637437820435,1.0612744092941284,-1.249659776687622,2.018463373184204,0.9331393837928772,1.0096923112869263,1.5599502325057983,0.8569838404655457,-0.8587477803230286,2.269578456878662,2.1567304134368896,1.7746436595916748,-1.6999174356460571,1.6103448867797852,2.0820631980895996,1.99140202999115,2.7473933696746826,3.029609441757202,-0.10630635917186737,-1.6993764638900757,2.2481417655944824,0.9840657114982605,1.782102346420288,0.04920554533600807,1.7780667543411255,-0.7615550756454468,-0.08376525342464447,0.546754002571106,2.517244577407837,2.2246522903442383,-1.4998397827148438,1.5119231939315796,-0.7396605014801025,2.8635544776916504,-0.36406221985816956,0.854276716709137,2.7073607444763184,-1.018518328666687,0.40736672282218933,-1.964020013809204,-1.869105577468872,2.3595094680786133,-1.3215148448944092,-0.5784302949905396,2.203218698501587,2.7966856956481934,-0.06070106849074364,2.2843992710113525,-0.4428127408027649,-1.0451323986053467,1.885522723197937,1.0659129619598389,0.7588566541671753,-0.8686251640319824,-0.3129788637161255,-0.19994154572486877,1.8451069593429565,0.968585729598999,-1.2167013883590698,0.48218604922294617,-1.9219592809677124,-1.6063759326934814,0.720963180065155,0.34036576747894287,2.6943867206573486,2.5893406867980957,2.090175151824951,-1.7308999300003052,0.7118837237358093,-1.1693511009216309,-0.4092194139957428,-0.4971376657485962,-0.5298890471458435,2.5683274269104004,0.31599441170692444,0.06149023398756981,2.441664218902588,2.5515546798706055,-2.200773239135742,-2.156031370162964,3.0289804935455322,-0.9412556886672974,-0.20533742010593414,-1.006640911102295,2.5373995304107666,0.05732200667262077,2.116547107696533,-0.1347452700138092,1.0027719736099243,-0.6089560985565186,1.0503716468811035,0.7976890802383423,1.3406754732131958,1.6097906827926636,-0.9697279334068298,0.458562970161438,0.988274335861206,0.010940656065940857,2.3359718322753906,-1.1708399057388306,2.1089892387390137,0.9324747323989868,-0.8708837032318115,1.7085031270980835,-1.0628159046173096,-1.317702054977417,1.1206824779510498,1.2103723287582397,2.814589023590088,1.6814571619033813,-1.8604251146316528,-0.33437788486480713,-2.3471620082855225,-2.00173020362854,-0.8013215065002441,-1.492702841758728,-1.4217925071716309,2.508563756942749,-1.3468884229660034,-1.6120460033416748,-2.103886842727661,-0.25554078817367554,-0.6820330023765564,0.025261113420128822,1.9366014003753662,0.21313327550888062,0.975872814655304,1.8592884540557861,2.5229456424713135,0.09140582382678986,1.6209337711334229,0.8251572251319885,1.918489933013916,-0.9145230054855347,-2.3865504264831543,0.14125141501426697,-2.1809029579162598,1.3919799327850342,1.9616203308105469,1.4960746765136719,2.383159875869751,-1.3713045120239258,0.4863640069961548,1.9919154644012451,-0.38300999999046326,-0.7529670000076294,-1.0047645568847656,0.15536436438560486,4.092559814453125,0.7744215726852417,-0.1559751182794571,1.1414669752120972,-1.8519608974456787,0.4312131702899933,-1.704409122467041,3.570420265197754,0.9117048978805542,0.8197051882743835,1.4509105682373047,-0.5812944769859314,2.2433276176452637,-0.7476930618286133,0.9018056988716125,-1.7919986248016357,-0.8303318023681641,-0.25757846236228943,-0.646208643913269,0.813399076461792,0.3025889992713928,1.4615299701690674,2.4483802318573,0.07219383120536804,-0.6282110214233398,2.111513137817383,-1.016637921333313,1.3674651384353638,0.24820612370967865,1.249886393547058,0.1323307603597641,1.9207916259765625,0.7291902303695679,2.6391470432281494,-2.0105526447296143,-0.9852214455604553,2.181706190109253,2.538578510284424,-1.830632209777832,-1.1027066707611084,-0.986971914768219,null,-0.8461633920669556,-0.7766236066818237,1.1054563522338867,2.3715293407440186,2.2096517086029053,-0.1727246791124344,-1.0888277292251587,-0.24958857893943787,-0.036144405603408813,2.0474512577056885,-0.9997283816337585,-1.1243396997451782,2.580141067504883,-1.3215817213058472,2.4871325492858887,-0.7461870312690735,-0.9589497447013855,-1.4656035900115967,2.284099578857422,0.3437454402446747,-0.7264788150787354,2.554495334625244,2.2566282749176025,-1.0679988861083984,-0.8049499988555908,-1.492329716682434,-0.8552893996238708,-0.8746018409729004,-1.757429599761963,-0.7873439788818359,2.0475845336914062,-0.9494521617889404,-2.1499481201171875,1.2426084280014038,-1.2986880540847778,-0.38513636589050293,-0.14804065227508545,1.1685500144958496,2.701263666152954,0.00440029613673687,0.8939188122749329,-1.5755513906478882,0.37850791215896606,-0.6620683670043945,-0.6645907759666443,-0.5435459613800049,1.349791407585144,3.8134584426879883,-1.9716655015945435,1.5636569261550903,1.047613263130188,2.5282704830169678,0.06778822839260101,-0.8882284760475159,2.2891457080841064,1.2345033884048462,-0.34685656428337097,2.4726555347442627,-0.613304615020752,2.5587315559387207,2.632347583770752,3.6574604511260986,-1.318737268447876,1.3681929111480713,0.16832248866558075,-1.102130651473999,-1.0692930221557617,0.2631966769695282,-0.5274302959442139,0.6719042658805847,2.012864828109741,-0.784182608127594,-0.41042712330818176,2.2015209197998047,-0.3661872148513794,2.0135810375213623,1.5819865465164185,2.449795722961426,-0.7204872369766235,0.16311706602573395,-1.7616387605667114,0.47884422540664673,-0.7738282680511475,0.1564149707555771,0.6398133039474487,0.20474426448345184,0.1705421656370163,2.7300188541412354,-1.3456296920776367,2.234715461730957,1.450104832649231,0.6139545440673828,-0.814535915851593,0.16061772406101227,-1.9503669738769531,-1.8452560901641846,-1.3998849391937256,-0.8062865138053894,0.3103888928890228,2.0188934803009033,-2.3542966842651367,0.24008865654468536,0.03980724513530731,-0.777499258518219,2.3121914863586426,1.7614448070526123,0.7850313782691956,-1.4810887575149536,-1.6497305631637573,-1.3547585010528564,-2.0893657207489014,-0.9604915380477905],"yaxis":"y","type":"scattergl"},{"customdata":[["Angus S. King","Independent","ME"],["Bernard Sanders","Independent","VT"],["Joseph I. Lieberman","Independent","CT"],["Paul Mitchell","Independent","MI"]],"hovertemplate":"party=%{customdata[1]}<br>x=%{x}<br>y=%{y}<br>name=%{customdata[0]}<br>state=%{customdata[2]}<extra></extra>","legendgroup":"Independent","marker":{"color":"#00cc96","symbol":"circle"},"mode":"markers","name":"Independent","showlegend":true,"x":[16.87938117980957,15.655952453613281,15.257357597351074,11.898941040039062],"xaxis":"x","y":[1.8241521120071411,6.277009963989258,1.459922194480896,0.4520019292831421],"yaxis":"y","type":"scattergl"},{"customdata":[["Justin Amash","Libertarian","MI"]],"hovertemplate":"party=%{customdata[1]}<br>x=%{x}<br>y=%{y}<br>name=%{customdata[0]}<br>state=%{customdata[2]}<extra></extra>","legendgroup":"Libertarian","marker":{"color":"#ab63fa","symbol":"circle"},"mode":"markers","name":"Libertarian","showlegend":true,"x":[11.704621315002441],"xaxis":"x","y":[-0.41263288259506226],"yaxis":"y","type":"scattergl"}],                        {"template":{"data":{"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"barpolar":[{"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"type":"carpet"}],"choropleth":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"choropleth"}],"contour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"contour"}],"contourcarpet":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"contourcarpet"}],"heatmap":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmap"}],"heatmapgl":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmapgl"}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"histogram2d":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2d"}],"histogram2dcontour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2dcontour"}],"mesh3d":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"mesh3d"}],"parcoords":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"parcoords"}],"pie":[{"automargin":true,"type":"pie"}],"scatter":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter"}],"scatter3d":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter3d"}],"scattercarpet":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattercarpet"}],"scattergeo":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergeo"}],"scattergl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergl"}],"scattermapbox":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermapbox"}],"scatterpolar":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolar"}],"scatterpolargl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolargl"}],"scatterternary":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterternary"}],"surface":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"surface"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}]},"layout":{"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"autotypenumbers":"strict","coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]],"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]},"colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"geo":{"bgcolor":"white","lakecolor":"white","landcolor":"#E5ECF6","showlakes":true,"showland":true,"subunitcolor":"white"},"hoverlabel":{"align":"left"},"hovermode":"closest","mapbox":{"style":"light"},"paper_bgcolor":"white","plot_bgcolor":"#E5ECF6","polar":{"angularaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"bgcolor":"#E5ECF6","radialaxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"scene":{"xaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","gridwidth":2,"linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white"}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"ternary":{"aaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"baxis":{"gridcolor":"white","linecolor":"white","ticks":""},"bgcolor":"#E5ECF6","caxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"title":{"x":0.05},"xaxis":{"automargin":true,"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","zerolinewidth":2},"yaxis":{"automargin":true,"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","zerolinewidth":2}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"x"}},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"y"}},"legend":{"title":{"text":"party"},"tracegroupgap":0},"title":{"text":"Legislator embeddings"}},                        {"responsive": true}                    ).then(function(){
                            
var gd = document.getElementById('6c67bdcd-d4e2-49ec-ac99-a8cf3b1e531b');
var x = new MutationObserver(function (mutations, observer) {{
        var display = window.getComputedStyle(gd).display;
        if (!display || display === 'none') {{
            console.log([gd, 'removed!']);
            Plotly.purge(gd);
            observer.disconnect();
        }}
}});

// Listen for the removal of the full notebook cells
var notebookContainer = gd.closest('#notebook-container');
if (notebookContainer) {{
    x.observe(notebookContainer, {childList: true});
}}

// Listen for the clearing of the current output cell
var outputEl = gd.closest('.output');
if (outputEl) {{
    x.observe(outputEl, {childList: true});
}}

                        })                };                });            </script>        </div>
</div>

</div>

</div>

</div>

</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[12]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="p">[</span> <span class="n">attr</span> <span class="k">for</span> <span class="n">attr</span> <span class="ow">in</span> <span class="nb">dir</span><span class="p">(</span><span class="n">Legislators</span><span class="p">[</span><span class="mi">10</span><span class="p">])</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">attr</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s1">&#39;_&#39;</span><span class="p">)</span> <span class="p">]</span> <span class="c1">#show available attributes</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt">Out[12]:</div>




<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>[&#39;DonorIndicator&#39;,
 &#39;Name&#39;,
 &#39;Name_merged&#39;,
 &#39;PCAEmbed&#39;,
 &#39;TSNEVizVector&#39;,
 &#39;UMAPEmbedNormed&#39;,
 &#39;UMAPVizEmbed&#39;,
 &#39;all_attrs&#39;,
 &#39;bioguide_id&#39;,
 &#39;bioname&#39;,
 &#39;born&#39;,
 &#39;chamber&#39;,
 &#39;conditional&#39;,
 &#39;congress&#39;,
 &#39;died&#39;,
 &#39;district_code&#39;,
 &#39;icpsr&#39;,
 &#39;last_means&#39;,
 &#39;name_normalized&#39;,
 &#39;nokken_poole_dim1&#39;,
 &#39;nokken_poole_dim2&#39;,
 &#39;nominate_dim1&#39;,
 &#39;nominate_dim2&#39;,
 &#39;nominate_geo_mean_probability&#39;,
 &#39;nominate_log_likelihood&#39;,
 &#39;nominate_number_of_errors&#39;,
 &#39;nominate_number_of_votes&#39;,
 &#39;occupancy&#39;,
 &#39;party&#39;,
 &#39;party_code&#39;,
 &#39;state_abbrev&#39;,
 &#39;state_icpsr&#39;]</pre>
</div>

</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>The original legislator-by-donor indicators are stored as <code>scipy.sparse</code> arrays in the <code>DonorIndicator</code> attribute. You can also retrieve the entire legislator-by-donor matrix for all legislators—which (after z-scoring) is the input to the PCA that was used to generate the <code>LEGFIN</code> vectors. That array is stored as a <code>pandas.SparseDataFrame</code> as <code>donor_indicator.sdf</code>. The row labels (legislators) are in the <code>LegislatorName</code> column.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[13]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">pickle</span> <span class="k">as</span> <span class="nn">pkl</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="s1">&#39;donor_indicator.sdf&#39;</span><span class="p">,</span> <span class="s1">&#39;rb&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">donorfile</span><span class="p">:</span>
    <span class="n">donor_indicator</span> <span class="o">=</span> <span class="n">pkl</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="n">donorfile</span><span class="p">)</span>

<span class="n">donor_indicator</span> <span class="o">=</span> <span class="n">donor_indicator</span><span class="o">.</span><span class="n">set_index</span><span class="p">(</span><span class="n">donor_indicator</span><span class="o">.</span><span class="n">LegislatorName</span><span class="p">)</span>
<span class="n">donor_indicator</span> <span class="o">=</span> <span class="n">donor_indicator</span><span class="o">.</span><span class="n">drop</span><span class="p">(</span><span class="n">columns</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;LegislatorName&#39;</span><span class="p">])</span>
<span class="n">donor_indicator</span><span class="o">.</span><span class="n">head</span><span class="p">()</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt">Out[13]:</div>



<div class="jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/html">
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }

    .dataframe tbody tr th {
        vertical-align: top;
    }

    .dataframe thead th {
        text-align: right;
    }
</style>
<table border="1" class="dataframe">
  <thead>
    <tr style="text-align: right;">
      <th></th>
      <th>Scott, Rick Gov.</th>
      <th>NATIONAL ASSOCIATION OF REALTORS POLITICAL ACTION COMMITTEE</th>
      <th>NATIONAL BEER WHOLESALERS ASSOCIATION POLITICAL ACTION COMMITTEE</th>
      <th>Cisneros, Gil</th>
      <th>Loeffler, Kelly</th>
      <th>HONEYWELL INTERNATIONAL POLITICAL ACTION COMMITTEE</th>
      <th>AT&amp;T INC. FEDERAL POLITICAL ACTION COMMITTEE (AT&amp;T FEDERAL PAC)</th>
      <th>Trone, David</th>
      <th>DEALERS ELECTION ACTION COMMITTEE OF THE NATIONAL AUTOMOTIVE DEALERS ASSOCIATION</th>
      <th>AMERICAN BANKERS ASSOCIATION PAC (BANKPAC)</th>
      <th>...</th>
      <th>Comcast Corporation Pac</th>
      <th>Raytheon Pac</th>
      <th>Pricewaterhousecoopers Pac</th>
      <th>NATIONAL LEADERSHIP PAC</th>
      <th>Glacier Pac</th>
      <th>Majority Committee Pac</th>
      <th>DEMOCRACY ENGINE, INC., PAC</th>
      <th>American Chemistry Council Pac</th>
      <th>M-pac</th>
      <th>Impact</th>
    </tr>
    <tr>
      <th>LegislatorName</th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>A. Donald McEachin</th>
      <td>0.0</td>
      <td>17000.0</td>
      <td>22500.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>24883.0</td>
      <td>12000.0</td>
      <td>0.0</td>
      <td>25000.0</td>
      <td>3000.0</td>
      <td>...</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>2.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
    </tr>
    <tr>
      <th>A. Drew Ferguson</th>
      <td>0.0</td>
      <td>20000.0</td>
      <td>27500.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>16999.0</td>
      <td>19000.0</td>
      <td>0.0</td>
      <td>30000.0</td>
      <td>22500.0</td>
      <td>...</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
    </tr>
    <tr>
      <th>Aaron Schock</th>
      <td>0.0</td>
      <td>25000.0</td>
      <td>31000.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>30055.0</td>
      <td>31000.0</td>
      <td>0.0</td>
      <td>27500.0</td>
      <td>27000.0</td>
      <td>...</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
    </tr>
    <tr>
      <th>Abby Finkenauer</th>
      <td>0.0</td>
      <td>12500.0</td>
      <td>7500.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>1000.0</td>
      <td>6000.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>...</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>2.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
    </tr>
    <tr>
      <th>Abigail Davis Spanberger</th>
      <td>0.0</td>
      <td>6000.0</td>
      <td>7500.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>...</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>22.0</td>
      <td>0.0</td>
      <td>0.0</td>
      <td>0.0</td>
    </tr>
  </tbody>
</table>
<p>5 rows × 17002 columns</p>
</div>
</div>

</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<h2 id="Vote-records">Vote records<a class="anchor-link" href="#Vote-records">&#182;</a></h2><p>Vote records for each Congress were obtained from the <a href="https://voteview.com/data">VoteView</a> database and are stored in <code>.csv</code> files. The main input to the vote prediction analyses is the following dataframe, which records each member's vote on each bill in the 110th to 117th congresses, and stores the bill embeddings.</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[15]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">df_votes</span> <span class="o">=</span> <span class="n">load_csv</span><span class="p">(</span><span class="s1">&#39;110th_to_117th_congress-vote_by_member_procced.csv&#39;</span><span class="p">)</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="application/vnd.jupyter.stderr">
<pre>/home/matthias/projects/legpred_repo_data/data_congresses_110_to_117/utils.py:27: DtypeWarning:

Columns (19,21,22,23,24,31) have mixed types. Specify dtype option on import or set low_memory=False.

</pre>
</div>
</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>This dataframe will have to be unzipped from the data repository prior to use. Be aware that it is a large file (~18GB) and will take a while and a lot of memory to load. PCA-reduced embeddings are stored in the <code>embedding_LongFormer_PCA</code> field. To get the 25d bill embeddings used in the main analysis, do:</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[16]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">df_votes</span> <span class="o">=</span> <span class="n">df_votes</span><span class="o">.</span><span class="n">dropna</span><span class="p">(</span><span class="n">subset</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;embedding_LongFormer_PCA&#39;</span><span class="p">])</span>
<span class="n">df_votes</span> <span class="o">=</span> <span class="n">df_votes</span><span class="p">[</span><span class="n">np</span><span class="o">.</span><span class="n">isin</span><span class="p">(</span><span class="n">df_votes</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">,</span> <span class="n">Legislators</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">)]</span>
<span class="n">X_billvec</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">vstack</span><span class="p">(</span><span class="n">df_votes</span><span class="o">.</span><span class="n">embedding_LongFormer_PCA</span><span class="p">)[:,:</span><span class="mi">25</span><span class="p">]</span>
<span class="nb">print</span><span class="p">(</span><span class="n">X_billvec</span><span class="p">)</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>[[ 22.91684954  -0.15622053   1.20754846 ...   0.04827247  -1.00263732
    0.46439807]
 [ 22.91684954  -0.15622053   1.20754846 ...   0.04827247  -1.00263732
    0.46439807]
 [ 22.91684954  -0.15622053   1.20754846 ...   0.04827247  -1.00263732
    0.46439807]
 ...
 [  5.23971091   4.07554472 -12.57392024 ...   2.58705302  -0.17647456
    1.4155007 ]
 [  5.23971091   4.07554472 -12.57392024 ...   2.58705302  -0.17647456
    1.4155007 ]
 [  5.23971091   4.07554472 -12.57392024 ...   2.58705302  -0.17647456
    1.4155007 ]]
</pre>
</div>
</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<p>To build a classification task, do e.g.:</p>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell   ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[17]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">X_legfin</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">vstack</span><span class="p">([</span><span class="n">Legislators</span><span class="p">[</span><span class="n">name</span><span class="p">]</span><span class="o">.</span><span class="n">PCAEmbed</span><span class="p">[:</span><span class="mi">25</span><span class="p">]</span> <span class="k">for</span> <span class="n">name</span> <span class="ow">in</span> <span class="n">df_votes</span><span class="o">.</span><span class="n">Name_merged</span><span class="p">])</span>
<span class="n">X</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">hstack</span><span class="p">([</span><span class="n">X_legfin</span><span class="p">,</span> <span class="n">X_billvec</span><span class="p">])</span> <span class="c1"># LEGFIN + BILLVEC model</span>

<span class="n">y</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">(</span><span class="n">df_votes</span><span class="o">.</span><span class="n">cast_description</span><span class="p">)</span> <span class="c1"># the DV: votes</span>

<span class="nb">print</span><span class="p">(</span><span class="n">X</span><span class="o">.</span><span class="n">shape</span><span class="p">,</span> <span class="n">y</span><span class="o">.</span><span class="n">shape</span><span class="p">)</span>
</pre></div>

     </div>
</div>
</div>
</div>

<div class="jp-Cell-outputWrapper">


<div class="jp-OutputArea jp-Cell-outputArea">

<div class="jp-OutputArea-child">

    
    <div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>(4329627, 50) (4329627,)
</pre>
</div>
</div>

</div>

</div>

</div>
<div class="jp-Cell-inputWrapper"><div class="jp-InputPrompt jp-InputArea-prompt">
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput " data-mime-type="text/markdown">
<h2 id="Running-the-main-analyses">Running the main analyses<a class="anchor-link" href="#Running-the-main-analyses">&#182;</a></h2><p>To replicate the analyses from the paper, extract this repository into a directory, making sure to unzip <code>110th_to_117th_congress-vote_by_member_procced.tar.xz</code> (around 18GB when unzipped). The analysis scripts are <code>Analysis1-vote_prediction.py</code> and <code>Analysis2-RSA.py</code>.</p>
<ul>
<li><code>Analysis1-vote_prediction.py</code>: Iterates through the cross product of model specifications (input features) and cross-validation regimes (cross validation by bill, by congress, by legislator), producing the cross-validated accuracy statistic for each. Outputs results across chambers (<code>RESULTS_TABLE.csv</code>) and split between House and Senate (<code>RESULTS_TABLE-BY_CHAMBER.csv</code>).</li>
<li><code>Analysis2-RSA.py</code>: Gathers the Spearman and partial Spearman correlations for each chamber/session, with controls for state and party. Outputs correlation tables and plots for the Representational Dissimilarity Matrices (RDMs). Results of analytic significance tests ($p$-values and confidence intervals) are provided in the main output (<code>RSA_correlations.csv</code>), but these should not be used for inference, as RSA distributions generically do not satisfy the assumptions of OLS hypothesis testing, and must be evaluated nonparametrically. The script optionally will produce a permutation distribution for the correlation statistics by running the RSA for each congress/chamber 100,000 times with a permuted RDM (equivalent to premuting the rows of the $\text{legislator}\times\text{vote}$ and $\text{legislators}\times\text{financials}$ matrices). To do the permutation test, set <code>run_permutation = True</code> towards the top of the script. </li>
</ul>

</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs  ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[&nbsp;]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
     <div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span> 
</pre></div>

     </div>
</div>
</div>
</div>

</div>
</body>







</html>
